From 7362187d5a31712fcb33e603e2004512e2d6f025 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 21:11:01 +0000 Subject: [PATCH] SDK regeneration --- package.json | 2 +- src/Client.ts | 2 +- src/api/resources/audiences/client/Client.ts | 10 +- .../resources/auditEvents/client/Client.ts | 4 +- src/api/resources/authTokens/client/Client.ts | 2 +- .../resources/automations/client/Client.ts | 19 +- .../automations/types/AccessorType.ts | 7 + .../types/AutomationAddToBatchMaxItemsType.ts | 5 + .../types/AutomationAddToBatchRetain.ts | 36 ++ .../types/AutomationAddToBatchRetainType.ts | 12 + .../types/AutomationAddToBatchScope.ts | 11 + .../types/AutomationAddToBatchStep.ts | 41 +++ .../types/AutomationAddToDigestStep.ts | 18 + .../automations/types/AutomationDelayStep.ts | 3 + .../types/AutomationFetchDataStep.ts | 33 ++ .../types/AutomationFetchDataWebhook.ts | 13 + .../types/AutomationFetchDataWebhookMethod.ts | 10 + .../automations/types/AutomationStepAction.ts | 14 - .../automations/types/AutomationStepOption.ts | 4 + .../types/AutomationThrottleOnThrottle.ts | 8 + .../types/AutomationThrottleScope.ts | 11 + .../types/AutomationThrottleStep.ts | 33 ++ src/api/resources/automations/types/index.ts | 14 +- src/api/resources/brands/client/Client.ts | 10 +- src/api/resources/bulk/client/Client.ts | 10 +- src/api/resources/lists/client/Client.ts | 20 +- src/api/resources/messages/client/Client.ts | 63 +++- .../client/requests/ListMessagesRequest.ts | 26 +- .../resources/messages/types/MessageStatus.ts | 4 + .../resources/notifications/client/Client.ts | 16 +- src/api/resources/profiles/client/Client.ts | 14 +- .../resources/send/types/BaseMessageSendTo.ts | 10 + .../resources/send/types/ContentMessage.ts | 4 +- src/api/resources/send/types/Recipient.ts | 3 +- src/api/resources/send/types/RecipientData.ts | 5 + .../resources/send/types/TemplateMessage.ts | 4 +- src/api/resources/send/types/index.ts | 2 + src/api/resources/templates/client/Client.ts | 2 +- src/api/resources/tenants/client/Client.ts | 10 +- .../resources/translations/client/Client.ts | 4 +- .../resources/preferences/client/Client.ts | 15 +- .../requests/UserPreferencesUpdateParams.ts | 16 +- .../types/TopicPreferenceUpdate.ts | 12 + .../resources/preferences/types/index.ts | 1 + .../users/resources/tenants/client/Client.ts | 10 +- .../users/resources/tokens/client/Client.ts | 10 +- yarn.lock | 338 +++++++++--------- 47 files changed, 645 insertions(+), 276 deletions(-) create mode 100644 src/api/resources/automations/types/AccessorType.ts create mode 100644 src/api/resources/automations/types/AutomationAddToBatchMaxItemsType.ts create mode 100644 src/api/resources/automations/types/AutomationAddToBatchRetain.ts create mode 100644 src/api/resources/automations/types/AutomationAddToBatchRetainType.ts create mode 100644 src/api/resources/automations/types/AutomationAddToBatchScope.ts create mode 100644 src/api/resources/automations/types/AutomationAddToBatchStep.ts create mode 100644 src/api/resources/automations/types/AutomationAddToDigestStep.ts create mode 100644 src/api/resources/automations/types/AutomationFetchDataStep.ts create mode 100644 src/api/resources/automations/types/AutomationFetchDataWebhook.ts create mode 100644 src/api/resources/automations/types/AutomationFetchDataWebhookMethod.ts delete mode 100644 src/api/resources/automations/types/AutomationStepAction.ts create mode 100644 src/api/resources/automations/types/AutomationThrottleOnThrottle.ts create mode 100644 src/api/resources/automations/types/AutomationThrottleScope.ts create mode 100644 src/api/resources/automations/types/AutomationThrottleStep.ts create mode 100644 src/api/resources/send/types/BaseMessageSendTo.ts create mode 100644 src/api/resources/send/types/RecipientData.ts create mode 100644 src/api/resources/users/resources/preferences/types/TopicPreferenceUpdate.ts diff --git a/package.json b/package.json index f810e28..8a391eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/courier", - "version": "v6.1.0", + "version": "v6.1.1", "private": false, "repository": "https://github.com/trycourier/courier-node", "main": "./index.js", diff --git a/src/Client.ts b/src/Client.ts index 80fb7d7..d98f35f 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -60,7 +60,7 @@ export class CourierClient { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null diff --git a/src/api/resources/audiences/client/Client.ts b/src/api/resources/audiences/client/Client.ts index 831c874..f017a98 100644 --- a/src/api/resources/audiences/client/Client.ts +++ b/src/api/resources/audiences/client/Client.ts @@ -38,7 +38,7 @@ export class Audiences { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -88,7 +88,7 @@ export class Audiences { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -135,7 +135,7 @@ export class Audiences { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -192,7 +192,7 @@ export class Audiences { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -254,7 +254,7 @@ export class Audiences { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/auditEvents/client/Client.ts b/src/api/resources/auditEvents/client/Client.ts index e173559..8479ef5 100644 --- a/src/api/resources/auditEvents/client/Client.ts +++ b/src/api/resources/auditEvents/client/Client.ts @@ -47,7 +47,7 @@ export class AuditEvents { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -94,7 +94,7 @@ export class AuditEvents { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/authTokens/client/Client.ts b/src/api/resources/authTokens/client/Client.ts index e154187..eea9240 100644 --- a/src/api/resources/authTokens/client/Client.ts +++ b/src/api/resources/authTokens/client/Client.ts @@ -46,7 +46,7 @@ export class AuthTokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null diff --git a/src/api/resources/automations/client/Client.ts b/src/api/resources/automations/client/Client.ts index c932057..16d3d07 100644 --- a/src/api/resources/automations/client/Client.ts +++ b/src/api/resources/automations/client/Client.ts @@ -47,7 +47,7 @@ export class Automations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -87,6 +87,21 @@ export class Automations { /** * Invoke an ad hoc automation run. This endpoint accepts a JSON payload with a series of automation steps. For information about what steps are available, checkout the ad hoc automation guide [here](https://www.courier.com/docs/automations/steps/). + * + * @example + * await courier.automations.invokeAdHocAutomation({ + * data: { + * "name": "Foo" + * }, + * profile: { + * "tenant_id": "abc-123" + * }, + * recipient: "user-yes", + * automation: { + * cancelation_token: "delay-send--user-yes--abc-123", + * steps: [] + * } + * }) */ public async invokeAdHocAutomation( request: Courier.AutomationAdHocInvokeParams, @@ -102,7 +117,7 @@ export class Automations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null diff --git a/src/api/resources/automations/types/AccessorType.ts b/src/api/resources/automations/types/AccessorType.ts new file mode 100644 index 0000000..2b74779 --- /dev/null +++ b/src/api/resources/automations/types/AccessorType.ts @@ -0,0 +1,7 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface AccessorType { + $ref: string; +} diff --git a/src/api/resources/automations/types/AutomationAddToBatchMaxItemsType.ts b/src/api/resources/automations/types/AutomationAddToBatchMaxItemsType.ts new file mode 100644 index 0000000..eeb0604 --- /dev/null +++ b/src/api/resources/automations/types/AutomationAddToBatchMaxItemsType.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AutomationAddToBatchMaxItemsType = string | number; diff --git a/src/api/resources/automations/types/AutomationAddToBatchRetain.ts b/src/api/resources/automations/types/AutomationAddToBatchRetain.ts new file mode 100644 index 0000000..f4dc1a0 --- /dev/null +++ b/src/api/resources/automations/types/AutomationAddToBatchRetain.ts @@ -0,0 +1,36 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Courier from "../../.."; + +/** + * Defines what items should be retained and passed along to the next steps when the batch is released + * + * @example + * { + * type: Courier.AutomationAddToBatchRetainType.Highest, + * count: 10, + * sort_key: "refs.data.my_custom_scoring" + * } + * + * @example + * { + * type: Courier.AutomationAddToBatchRetainType.Last, + * count: 10 + * } + */ +export interface AutomationAddToBatchRetain { + /** + * Keep N number of notifications based on the type. First/Last N based on notification received. + * highest/lowest based on a scoring key providing in the data accessed by sort_key + */ + type: Courier.AutomationAddToBatchRetainType; + /** + * The number of records to keep in batch. Default is 10 and only configurable by requesting from support. + * When configurable minimum is 2 and maximum is 100. + */ + count: number; + /** Defines the data value data[sort_key] that is used to sort the stored items. Required when type is set to highest or lowest. */ + sort_key?: string; +} diff --git a/src/api/resources/automations/types/AutomationAddToBatchRetainType.ts b/src/api/resources/automations/types/AutomationAddToBatchRetainType.ts new file mode 100644 index 0000000..c5f4642 --- /dev/null +++ b/src/api/resources/automations/types/AutomationAddToBatchRetainType.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AutomationAddToBatchRetainType = "first" | "last" | "highest" | "lowest"; + +export const AutomationAddToBatchRetainType = { + First: "first", + Last: "last", + Highest: "highest", + Lowest: "lowest", +} as const; diff --git a/src/api/resources/automations/types/AutomationAddToBatchScope.ts b/src/api/resources/automations/types/AutomationAddToBatchScope.ts new file mode 100644 index 0000000..58aa8e1 --- /dev/null +++ b/src/api/resources/automations/types/AutomationAddToBatchScope.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AutomationAddToBatchScope = "user" | "global" | "dynamic"; + +export const AutomationAddToBatchScope = { + User: "user", + Global: "global", + Dynamic: "dynamic", +} as const; diff --git a/src/api/resources/automations/types/AutomationAddToBatchStep.ts b/src/api/resources/automations/types/AutomationAddToBatchStep.ts new file mode 100644 index 0000000..0eda169 --- /dev/null +++ b/src/api/resources/automations/types/AutomationAddToBatchStep.ts @@ -0,0 +1,41 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Courier from "../../.."; + +/** + * @example + * { + * action: "add-to-batch", + * wait_period: "PT5M", + * max_wait_period: "PT1H", + * retain: { + * type: Courier.AutomationAddToBatchRetainType.Highest, + * count: 10, + * sort_key: "refs.data.my_custom_scoring" + * }, + * scope: Courier.AutomationAddToBatchScope.User, + * category_key: "refs.data.status" + * } + */ +export interface AutomationAddToBatchStep extends Courier.AutomationStep { + action: "add-to-batch"; + /** Defines the period of inactivity before the batch is released. Specified as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations) */ + wait_period: string; + /** Defines the maximum wait time before the batch should be released. Must be less than wait period. Maximum of 60 days. Specified as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations) */ + max_wait_period: string; + /** If specified, the batch will release as soon as this number is reached */ + max_items?: Courier.AutomationAddToBatchMaxItemsType; + retain: Courier.AutomationAddToBatchRetain; + /** + * Determine the scope of the batching. If user, chosen in this order: recipient, profile.user_id, data.user_id, data.userId. + * If dynamic, then specify where the batch_key or a reference to the batch_key + */ + scope?: Courier.AutomationAddToBatchScope; + /** If using scope=dynamic, provide the key or a reference (e.g., refs.data.batch_key) */ + batch_key?: string; + batch_id?: string; + /** Defines the field of the data object the batch is set to when complete. Defaults to `batch` */ + category_key?: string; +} diff --git a/src/api/resources/automations/types/AutomationAddToDigestStep.ts b/src/api/resources/automations/types/AutomationAddToDigestStep.ts new file mode 100644 index 0000000..fd4733b --- /dev/null +++ b/src/api/resources/automations/types/AutomationAddToDigestStep.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Courier from "../../.."; + +/** + * @example + * { + * action: "add-to-digest", + * subscription_topic_id: "RAJE97CMT04KDJJ88ZDS2TP1690S" + * } + */ +export interface AutomationAddToDigestStep extends Courier.AutomationStep { + action: "add-to-digest"; + /** The subscription topic that has digests enabled */ + subscription_topic_id: string; +} diff --git a/src/api/resources/automations/types/AutomationDelayStep.ts b/src/api/resources/automations/types/AutomationDelayStep.ts index 2034890..77d032b 100644 --- a/src/api/resources/automations/types/AutomationDelayStep.ts +++ b/src/api/resources/automations/types/AutomationDelayStep.ts @@ -6,5 +6,8 @@ import * as Courier from "../../.."; export interface AutomationDelayStep extends Courier.AutomationStep { action: "delay"; + /** The [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations) string for how long to delay for */ + duration?: string; + /** The ISO 8601 timestamp for when the delay should end */ until?: string; } diff --git a/src/api/resources/automations/types/AutomationFetchDataStep.ts b/src/api/resources/automations/types/AutomationFetchDataStep.ts new file mode 100644 index 0000000..6c14d2d --- /dev/null +++ b/src/api/resources/automations/types/AutomationFetchDataStep.ts @@ -0,0 +1,33 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Courier from "../../.."; + +/** + * @example + * { + * action: "fetch-data", + * merge_strategy: Courier.MergeAlgorithm.None, + * webhook: { + * body: { + * "foo": "bar" + * }, + * params: { + * "hello": "world" + * }, + * headers: { + * "content-type": "application/json" + * }, + * method: Courier.AutomationFetchDataWebhookMethod.Post, + * url: "https://bryan-at-courier.free.beeceptor.com" + * } + * } + */ +export interface AutomationFetchDataStep extends Courier.AutomationStep { + action: "fetch-data"; + webhook: Courier.AutomationFetchDataWebhook; + merge_strategy: Courier.MergeAlgorithm; + idempotency_expiry?: string; + idempotency_key?: string; +} diff --git a/src/api/resources/automations/types/AutomationFetchDataWebhook.ts b/src/api/resources/automations/types/AutomationFetchDataWebhook.ts new file mode 100644 index 0000000..47f2e21 --- /dev/null +++ b/src/api/resources/automations/types/AutomationFetchDataWebhook.ts @@ -0,0 +1,13 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Courier from "../../.."; + +export interface AutomationFetchDataWebhook { + body?: Record; + headers?: Record; + params?: Record; + method: Courier.AutomationFetchDataWebhookMethod; + url: string; +} diff --git a/src/api/resources/automations/types/AutomationFetchDataWebhookMethod.ts b/src/api/resources/automations/types/AutomationFetchDataWebhookMethod.ts new file mode 100644 index 0000000..9979c21 --- /dev/null +++ b/src/api/resources/automations/types/AutomationFetchDataWebhookMethod.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AutomationFetchDataWebhookMethod = "GET" | "POST"; + +export const AutomationFetchDataWebhookMethod = { + Get: "GET", + Post: "POST", +} as const; diff --git a/src/api/resources/automations/types/AutomationStepAction.ts b/src/api/resources/automations/types/AutomationStepAction.ts deleted file mode 100644 index fe71177..0000000 --- a/src/api/resources/automations/types/AutomationStepAction.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type AutomationStepAction = "cancel" | "delay" | "invoke" | "send" | "send-list" | "update-profile"; - -export const AutomationStepAction = { - Cancel: "cancel", - Delay: "delay", - Invoke: "invoke", - Send: "send", - SendList: "send-list", - UpdateProfile: "update-profile", -} as const; diff --git a/src/api/resources/automations/types/AutomationStepOption.ts b/src/api/resources/automations/types/AutomationStepOption.ts index 60fc014..054cc42 100644 --- a/src/api/resources/automations/types/AutomationStepOption.ts +++ b/src/api/resources/automations/types/AutomationStepOption.ts @@ -5,8 +5,12 @@ import * as Courier from "../../.."; export type AutomationStepOption = + | Courier.AutomationAddToDigestStep + | Courier.AutomationAddToBatchStep + | Courier.AutomationThrottleStep | Courier.AutomationCancelStep | Courier.AutomationDelayStep + | Courier.AutomationFetchDataStep | Courier.AutomationInvokeStep | Courier.AutomationSendStep | Courier.AutomationV2SendStep diff --git a/src/api/resources/automations/types/AutomationThrottleOnThrottle.ts b/src/api/resources/automations/types/AutomationThrottleOnThrottle.ts new file mode 100644 index 0000000..2f250ad --- /dev/null +++ b/src/api/resources/automations/types/AutomationThrottleOnThrottle.ts @@ -0,0 +1,8 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface AutomationThrottleOnThrottle { + /** The node to go to if the request is throttled */ + $node_id: string; +} diff --git a/src/api/resources/automations/types/AutomationThrottleScope.ts b/src/api/resources/automations/types/AutomationThrottleScope.ts new file mode 100644 index 0000000..a3f3c9e --- /dev/null +++ b/src/api/resources/automations/types/AutomationThrottleScope.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type AutomationThrottleScope = "user" | "global" | "dynamic"; + +export const AutomationThrottleScope = { + User: "user", + Global: "global", + Dynamic: "dynamic", +} as const; diff --git a/src/api/resources/automations/types/AutomationThrottleStep.ts b/src/api/resources/automations/types/AutomationThrottleStep.ts new file mode 100644 index 0000000..11e4e04 --- /dev/null +++ b/src/api/resources/automations/types/AutomationThrottleStep.ts @@ -0,0 +1,33 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Courier from "../../.."; + +/** + * @example + * { + * action: "throttle", + * max_allowed: 1, + * period: "PT5M", + * scope: Courier.AutomationThrottleScope.Dynamic, + * throttle_key: "refs.data.throttle_key", + * should_alert: false, + * on_throttle: { + * $node_id: "on-throttle-node-ref" + * } + * } + */ +export interface AutomationThrottleStep extends Courier.AutomationStep { + action: "throttle"; + /** Maximum number of allowed notifications in that timeframe */ + max_allowed: number; + /** Defines the throttle period which corresponds to the max_allowed. Specified as an ISO 8601 duration, https://en.wikipedia.org/wiki/ISO_8601#Durations */ + period: string; + scope: Courier.AutomationThrottleScope; + /** If using scope=dynamic, provide the reference (e.g., refs.data.throttle_key) to the how the throttle should be identified */ + throttle_key?: string; + /** Value must be true */ + should_alert: false; + on_throttle: Courier.AutomationThrottleOnThrottle; +} diff --git a/src/api/resources/automations/types/index.ts b/src/api/resources/automations/types/index.ts index 9fe41c0..4a4a82c 100644 --- a/src/api/resources/automations/types/index.ts +++ b/src/api/resources/automations/types/index.ts @@ -1,13 +1,25 @@ -export * from "./AutomationStepAction"; +export * from "./AccessorType"; export * from "./MergeAlgorithm"; export * from "./AutomationRunContext"; export * from "./AutomationStep"; +export * from "./AutomationAddToBatchScope"; +export * from "./AutomationAddToBatchStep"; +export * from "./AutomationAddToBatchMaxItemsType"; +export * from "./AutomationAddToBatchRetainType"; +export * from "./AutomationFetchDataWebhookMethod"; +export * from "./AutomationFetchDataWebhook"; +export * from "./AutomationThrottleScope"; +export * from "./AutomationThrottleOnThrottle"; +export * from "./AutomationAddToBatchRetain"; +export * from "./AutomationAddToDigestStep"; export * from "./AutomationCancelStep"; export * from "./AutomationDelayStep"; +export * from "./AutomationFetchDataStep"; export * from "./AutomationInvokeStep"; export * from "./AutomationSendStep"; export * from "./AutomationV2SendStep"; export * from "./AutomationSendListStep"; +export * from "./AutomationThrottleStep"; export * from "./AutomationUpdateProfileStep"; export * from "./AutomationStepOption"; export * from "./Automation"; diff --git a/src/api/resources/brands/client/Client.ts b/src/api/resources/brands/client/Client.ts index c0216d6..4a49073 100644 --- a/src/api/resources/brands/client/Client.ts +++ b/src/api/resources/brands/client/Client.ts @@ -48,7 +48,7 @@ export class Brands { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -109,7 +109,7 @@ export class Brands { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -164,7 +164,7 @@ export class Brands { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -212,7 +212,7 @@ export class Brands { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -267,7 +267,7 @@ export class Brands { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, diff --git a/src/api/resources/bulk/client/Client.ts b/src/api/resources/bulk/client/Client.ts index 35762c3..81de3b4 100644 --- a/src/api/resources/bulk/client/Client.ts +++ b/src/api/resources/bulk/client/Client.ts @@ -46,7 +46,7 @@ export class Bulk { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -107,7 +107,7 @@ export class Bulk { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -160,7 +160,7 @@ export class Bulk { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -217,7 +217,7 @@ export class Bulk { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -272,7 +272,7 @@ export class Bulk { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/lists/client/Client.ts b/src/api/resources/lists/client/Client.ts index b15972a..a4c5f3c 100644 --- a/src/api/resources/lists/client/Client.ts +++ b/src/api/resources/lists/client/Client.ts @@ -57,7 +57,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -110,7 +110,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -165,7 +165,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -212,7 +212,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -258,7 +258,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -315,7 +315,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -372,7 +372,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -429,7 +429,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -491,7 +491,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -539,7 +539,7 @@ export class Lists { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/messages/client/Client.ts b/src/api/resources/messages/client/Client.ts index 7befbeb..c55fde9 100644 --- a/src/api/resources/messages/client/Client.ts +++ b/src/api/resources/messages/client/Client.ts @@ -41,13 +41,18 @@ export class Messages { cursor, event, list, - messageId, + message_id: messageId, + messageId: messageId_, notification, + provider, recipient, status, + tag, tags, + tenant_id: tenantId, enqueued_after: enqueuedAfter, - traceId, + trace_id: traceId, + traceId: traceId_, } = request; const _queryParams: Record = {}; if (archived != null) { @@ -66,32 +71,64 @@ export class Messages { _queryParams["list"] = list; } - if (messageId != null) { - _queryParams["messageId"] = messageId; + if (messageId_ != null) { + _queryParams["message_id"] = messageId_; + } + + if (messageId_ != null) { + _queryParams["messageId"] = messageId_; } if (notification != null) { _queryParams["notification"] = notification; } + if (provider != null) { + if (Array.isArray(provider)) { + _queryParams["provider"] = provider.map((item) => item); + } else { + _queryParams["provider"] = provider; + } + } + if (recipient != null) { _queryParams["recipient"] = recipient; } if (status != null) { - _queryParams["status"] = status; + if (Array.isArray(status)) { + _queryParams["status"] = status.map((item) => item); + } else { + _queryParams["status"] = status; + } + } + + if (tag != null) { + if (Array.isArray(tag)) { + _queryParams["tag"] = tag.map((item) => item); + } else { + _queryParams["tag"] = tag; + } } if (tags != null) { _queryParams["tags"] = tags; } + if (tenantId != null) { + _queryParams["tenant_id"] = tenantId; + } + if (enqueuedAfter != null) { _queryParams["enqueued_after"] = enqueuedAfter; } - if (traceId != null) { - _queryParams["traceId"] = traceId; + if (traceId_ != null) { + _queryParams["trace_id"] = traceId_; + } + + if (traceId_ != null) { + _queryParams["traceId"] = traceId_; } const _response = await (this._options.fetcher ?? core.fetcher)({ @@ -104,7 +141,7 @@ export class Messages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -153,7 +190,7 @@ export class Messages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -209,7 +246,7 @@ export class Messages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -272,7 +309,7 @@ export class Messages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -330,7 +367,7 @@ export class Messages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -380,7 +417,7 @@ export class Messages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/messages/client/requests/ListMessagesRequest.ts b/src/api/resources/messages/client/requests/ListMessagesRequest.ts index a2aa377..78d2d6a 100644 --- a/src/api/resources/messages/client/requests/ListMessagesRequest.ts +++ b/src/api/resources/messages/client/requests/ListMessagesRequest.ts @@ -8,7 +8,7 @@ export interface ListMessagesRequest { */ archived?: boolean; /** - * A unique identifier that allows for fetching the next set of message statuses. + * A unique identifier that allows for fetching the next set of messages. */ cursor?: string; /** @@ -19,6 +19,10 @@ export interface ListMessagesRequest { * A unique identifier representing the list the message was sent to. */ list?: string; + /** + * A unique identifier representing the message_id returned from either /send or /send/list. + */ + message_id?: string; /** * A unique identifier representing the message_id returned from either /send or /send/list. */ @@ -27,22 +31,38 @@ export interface ListMessagesRequest { * A unique identifier representing the notification that was used to send the event. */ notification?: string; + /** + * The key assocated to the provider you want to filter on. E.g., sendgrid, inbox, twilio, slack, msteams, etc. Allows multiple values to be set in query parameters. + */ + provider?: string | string[]; /** * A unique identifier representing the recipient associated with the requested profile. */ recipient?: string; /** - * An indicator of the current status of the message. Multiple status values can be passed in. + * An indicator of the current status of the message. Allows multiple values to be set in query parameters. + */ + status?: string | string[]; + /** + * A tag placed in the metadata.tags during a notification send. Allows multiple values to be set in query parameters. */ - status?: string; + tag?: string | string[]; /** * A comma delimited list of 'tags'. Messages will be returned if they match any of the tags passed in. */ tags?: string; + /** + * Messages sent with the context of a Tenant + */ + tenant_id?: string; /** * The enqueued datetime of a message to filter out messages received before. */ enqueued_after?: string; + /** + * The unique identifier used to trace the requests + */ + trace_id?: string; /** * The unique identifier used to trace the requests */ diff --git a/src/api/resources/messages/types/MessageStatus.ts b/src/api/resources/messages/types/MessageStatus.ts index 6d16151..be47612 100644 --- a/src/api/resources/messages/types/MessageStatus.ts +++ b/src/api/resources/messages/types/MessageStatus.ts @@ -21,6 +21,9 @@ export type MessageStatus = /** * The message has been accepted by the provider. */ | "SENT" + /** + * The message was throttled by Courier. */ + | "THROTTLED" /** * The message could not be delivered to at least one provider, or the provider could not deliver the message to the recipient. This can happen for multiple reasons: an error, insufficient profile data, invalid notification setup, invalid integration configuration, etc. */ | "UNDELIVERABLE" @@ -38,6 +41,7 @@ export const MessageStatus = { Opened: "OPENED", Canceled: "CANCELED", Sent: "SENT", + Throttled: "THROTTLED", Undeliverable: "UNDELIVERABLE", Unmapped: "UNMAPPED", Unroutable: "UNROUTABLE", diff --git a/src/api/resources/notifications/client/Client.ts b/src/api/resources/notifications/client/Client.ts index 3ae1533..fe32086 100644 --- a/src/api/resources/notifications/client/Client.ts +++ b/src/api/resources/notifications/client/Client.ts @@ -44,7 +44,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -91,7 +91,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -137,7 +137,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -184,7 +184,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -232,7 +232,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -280,7 +280,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -328,7 +328,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -376,7 +376,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/profiles/client/Client.ts b/src/api/resources/profiles/client/Client.ts index 5454348..2a1427c 100644 --- a/src/api/resources/profiles/client/Client.ts +++ b/src/api/resources/profiles/client/Client.ts @@ -44,7 +44,7 @@ export class Profiles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -100,7 +100,7 @@ export class Profiles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -165,7 +165,7 @@ export class Profiles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -218,7 +218,7 @@ export class Profiles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -280,7 +280,7 @@ export class Profiles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -337,7 +337,7 @@ export class Profiles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", "Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined, "X-Idempotency-Expiration": requestOptions?.idempotencyExpiry != null @@ -398,7 +398,7 @@ export class Profiles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/send/types/BaseMessageSendTo.ts b/src/api/resources/send/types/BaseMessageSendTo.ts new file mode 100644 index 0000000..3ae14dd --- /dev/null +++ b/src/api/resources/send/types/BaseMessageSendTo.ts @@ -0,0 +1,10 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Courier from "../../.."; + +export interface BaseMessageSendTo { + /** The recipient or a list of recipients of the message */ + to?: Courier.MessageRecipient; +} diff --git a/src/api/resources/send/types/ContentMessage.ts b/src/api/resources/send/types/ContentMessage.ts index 58516b5..4012a2f 100644 --- a/src/api/resources/send/types/ContentMessage.ts +++ b/src/api/resources/send/types/ContentMessage.ts @@ -8,12 +8,10 @@ import * as Courier from "../../.."; * The message property has the following primary top-level properties. They define the destination and content of the message. * Additional advanced configuration fields [are defined below](https://www.courier.com/docs/reference/send/message/#other-message-properties). */ -export interface ContentMessage extends Courier.BaseMessage { +export interface ContentMessage extends Courier.BaseMessage, Courier.BaseMessageSendTo { /** * Describes the content of the message in a way that will work for email, push, * chat, or any channel. Either this or template must be specified. */ content: Courier.Content; - /** The recipient or a list of recipients of the message */ - to: Courier.MessageRecipient; } diff --git a/src/api/resources/send/types/Recipient.ts b/src/api/resources/send/types/Recipient.ts index 5bc29ec..a4eefa8 100644 --- a/src/api/resources/send/types/Recipient.ts +++ b/src/api/resources/send/types/Recipient.ts @@ -10,4 +10,5 @@ export type Recipient = | Courier.ListPatternRecipient | Courier.UserRecipient | Courier.SlackRecipient - | Courier.MsTeamsRecipient; + | Courier.MsTeamsRecipient + | Courier.RecipientData; diff --git a/src/api/resources/send/types/RecipientData.ts b/src/api/resources/send/types/RecipientData.ts new file mode 100644 index 0000000..f44484a --- /dev/null +++ b/src/api/resources/send/types/RecipientData.ts @@ -0,0 +1,5 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type RecipientData = Record; diff --git a/src/api/resources/send/types/TemplateMessage.ts b/src/api/resources/send/types/TemplateMessage.ts index 056bd7f..d281f33 100644 --- a/src/api/resources/send/types/TemplateMessage.ts +++ b/src/api/resources/send/types/TemplateMessage.ts @@ -4,12 +4,10 @@ import * as Courier from "../../.."; -export interface TemplateMessage extends Courier.BaseMessage { +export interface TemplateMessage extends Courier.BaseMessage, Courier.BaseMessageSendTo { /** * The id of the notification template to be rendered and sent to the recipient(s). * This field or the content field must be supplied. */ template: string; - /** The recipient or a list of recipients of the message */ - to: Courier.MessageRecipient; } diff --git a/src/api/resources/send/types/index.ts b/src/api/resources/send/types/index.ts index c05a2e8..fa92aef 100644 --- a/src/api/resources/send/types/index.ts +++ b/src/api/resources/send/types/index.ts @@ -1,6 +1,7 @@ export * from "./Message"; export * from "./TemplateMessage"; export * from "./ContentMessage"; +export * from "./BaseMessageSendTo"; export * from "./BaseMessage"; export * from "./MessageRecipient"; export * from "./Recipient"; @@ -17,6 +18,7 @@ export * from "./InvalidUserRecipient"; export * from "./UserRecipientType"; export * from "./UserRecipient"; export * from "./MessageData"; +export * from "./RecipientData"; export * from "./AudienceFilter"; export * from "./MessageContext"; export * from "./ListFilter"; diff --git a/src/api/resources/templates/client/Client.ts b/src/api/resources/templates/client/Client.ts index 5ee5e78..61a3a45 100644 --- a/src/api/resources/templates/client/Client.ts +++ b/src/api/resources/templates/client/Client.ts @@ -47,7 +47,7 @@ export class Templates { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/tenants/client/Client.ts b/src/api/resources/tenants/client/Client.ts index fce44e8..5ee7668 100644 --- a/src/api/resources/tenants/client/Client.ts +++ b/src/api/resources/tenants/client/Client.ts @@ -42,7 +42,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -94,7 +94,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -155,7 +155,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, @@ -199,7 +199,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -259,7 +259,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/translations/client/Client.ts b/src/api/resources/translations/client/Client.ts index b7972a3..bccc65b 100644 --- a/src/api/resources/translations/client/Client.ts +++ b/src/api/resources/translations/client/Client.ts @@ -39,7 +39,7 @@ export class Translations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -96,7 +96,7 @@ export class Translations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, diff --git a/src/api/resources/users/resources/preferences/client/Client.ts b/src/api/resources/users/resources/preferences/client/Client.ts index afd8a82..18aac54 100644 --- a/src/api/resources/users/resources/preferences/client/Client.ts +++ b/src/api/resources/users/resources/preferences/client/Client.ts @@ -42,7 +42,7 @@ export class Preferences { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -98,7 +98,7 @@ export class Preferences { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -138,6 +138,15 @@ export class Preferences { /** * Update or Create user preferences for a specific subscription topic. * @throws {@link Courier.BadRequestError} + * + * @example + * await courier.users.preferences.update("abc-123", "74Q4QGFBEX481DP6JRPMV751H4XT", { + * topic: { + * status: Courier.PreferenceStatus.OptedIn, + * has_custom_routing: true, + * custom_routing: [Courier.ChannelClassification.Inbox, Courier.ChannelClassification.Email] + * } + * }) */ public async update( userId: string, @@ -155,7 +164,7 @@ export class Preferences { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, diff --git a/src/api/resources/users/resources/preferences/client/requests/UserPreferencesUpdateParams.ts b/src/api/resources/users/resources/preferences/client/requests/UserPreferencesUpdateParams.ts index 115d092..0c43079 100644 --- a/src/api/resources/users/resources/preferences/client/requests/UserPreferencesUpdateParams.ts +++ b/src/api/resources/users/resources/preferences/client/requests/UserPreferencesUpdateParams.ts @@ -4,10 +4,16 @@ import * as Courier from "../../../../../.."; +/** + * @example + * { + * topic: { + * status: Courier.PreferenceStatus.OptedIn, + * has_custom_routing: true, + * custom_routing: [Courier.ChannelClassification.Inbox, Courier.ChannelClassification.Email] + * } + * } + */ export interface UserPreferencesUpdateParams { - status: Courier.PreferenceStatus; - /** The Channels a user has chosen to receive notifications through for this topic */ - custom_routing?: Courier.ChannelClassification[]; - default_status: Courier.PreferenceStatus; - has_custom_routing?: boolean; + topic: Courier.users.TopicPreferenceUpdate; } diff --git a/src/api/resources/users/resources/preferences/types/TopicPreferenceUpdate.ts b/src/api/resources/users/resources/preferences/types/TopicPreferenceUpdate.ts new file mode 100644 index 0000000..c775a8b --- /dev/null +++ b/src/api/resources/users/resources/preferences/types/TopicPreferenceUpdate.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Courier from "../../../../.."; + +export interface TopicPreferenceUpdate { + status: Courier.PreferenceStatus; + /** The Channels a user has chosen to receive notifications through for this topic */ + custom_routing?: Courier.ChannelClassification[]; + has_custom_routing?: boolean; +} diff --git a/src/api/resources/users/resources/preferences/types/index.ts b/src/api/resources/users/resources/preferences/types/index.ts index 55b317b..7379e03 100644 --- a/src/api/resources/users/resources/preferences/types/index.ts +++ b/src/api/resources/users/resources/preferences/types/index.ts @@ -1,4 +1,5 @@ export * from "./UserPreferencesListResponse"; export * from "./UserPreferencesGetResponse"; export * from "./TopicPreference"; +export * from "./TopicPreferenceUpdate"; export * from "./UserPreferencesUpdateResponse"; diff --git a/src/api/resources/users/resources/tenants/client/Client.ts b/src/api/resources/users/resources/tenants/client/Client.ts index a106481..2c6bc49 100644 --- a/src/api/resources/users/resources/tenants/client/Client.ts +++ b/src/api/resources/users/resources/tenants/client/Client.ts @@ -46,7 +46,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -102,7 +102,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -149,7 +149,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -195,7 +195,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -255,7 +255,7 @@ export class Tenants { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/users/resources/tokens/client/Client.ts b/src/api/resources/users/resources/tokens/client/Client.ts index ebd84d7..a258950 100644 --- a/src/api/resources/users/resources/tokens/client/Client.ts +++ b/src/api/resources/users/resources/tokens/client/Client.ts @@ -39,7 +39,7 @@ export class Tokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -96,7 +96,7 @@ export class Tokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -154,7 +154,7 @@ export class Tokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", body: request, @@ -211,7 +211,7 @@ export class Tokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -266,7 +266,7 @@ export class Tokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@trycourier/courier", - "X-Fern-SDK-Version": "v6.1.0", + "X-Fern-SDK-Version": "v6.1.1", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/yarn.lock b/yarn.lock index a7ccb2b..c021849 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3,55 +3,55 @@ "@ampproject/remapping@^2.2.0": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" - integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + version "2.3.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" + integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== dependencies: - "@jridgewell/gen-mapping" "^0.3.0" - "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.24" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244" - integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.23.5", "@babel/code-frame@^7.24.1", "@babel/code-frame@^7.24.2": + version "7.24.2" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.2.tgz#718b4b19841809a58b29b68cde80bc5e1aa6d9ae" + integrity sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ== dependencies: - "@babel/highlight" "^7.23.4" - chalk "^2.4.2" + "@babel/highlight" "^7.24.2" + picocolors "^1.0.0" "@babel/compat-data@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.5.tgz#ffb878728bb6bdcb6f4510aa51b1be9afb8cfd98" - integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== + version "7.24.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.24.4.tgz#6f102372e9094f25d908ca0d34fc74c74606059a" + integrity sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ== -"@babel/core@^7.11.6", "@babel/core@^7.12.3": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.9.tgz#b028820718000f267870822fec434820e9b1e4d1" - integrity sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw== +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": + version "7.24.4" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.4.tgz#1f758428e88e0d8c563874741bc4ffc4f71a4717" + integrity sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.6" + "@babel/code-frame" "^7.24.2" + "@babel/generator" "^7.24.4" "@babel/helper-compilation-targets" "^7.23.6" "@babel/helper-module-transforms" "^7.23.3" - "@babel/helpers" "^7.23.9" - "@babel/parser" "^7.23.9" - "@babel/template" "^7.23.9" - "@babel/traverse" "^7.23.9" - "@babel/types" "^7.23.9" + "@babel/helpers" "^7.24.4" + "@babel/parser" "^7.24.4" + "@babel/template" "^7.24.0" + "@babel/traverse" "^7.24.1" + "@babel/types" "^7.24.0" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.23.6", "@babel/generator@^7.7.2": - version "7.23.6" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e" - integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== +"@babel/generator@^7.24.1", "@babel/generator@^7.24.4", "@babel/generator@^7.7.2": + version "7.24.4" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.24.4.tgz#1fc55532b88adf952025d5d2d1e71f946cb1c498" + integrity sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw== dependencies: - "@babel/types" "^7.23.6" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" + "@babel/types" "^7.24.0" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" jsesc "^2.5.1" "@babel/helper-compilation-targets@^7.23.6": @@ -86,11 +86,11 @@ "@babel/types" "^7.22.5" "@babel/helper-module-imports@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" - integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== + version "7.24.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz#6ac476e6d168c7c23ff3ba3cf4f7841d46ac8128" + integrity sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg== dependencies: - "@babel/types" "^7.22.15" + "@babel/types" "^7.24.0" "@babel/helper-module-transforms@^7.23.3": version "7.23.3" @@ -103,10 +103,10 @@ "@babel/helper-split-export-declaration" "^7.22.6" "@babel/helper-validator-identifier" "^7.22.20" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" - integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.24.0", "@babel/helper-plugin-utils@^7.8.0": + version "7.24.0" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz#945681931a52f15ce879fd5b86ce2dae6d3d7f2a" + integrity sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w== "@babel/helper-simple-access@^7.22.5": version "7.22.5" @@ -123,9 +123,9 @@ "@babel/types" "^7.22.5" "@babel/helper-string-parser@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83" - integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz#f99c36d3593db9540705d0739a1f10b5e20c696e" + integrity sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ== "@babel/helper-validator-identifier@^7.22.20": version "7.22.20" @@ -137,28 +137,29 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz#907a3fbd4523426285365d1206c423c4c5520307" integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== -"@babel/helpers@^7.23.9": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.9.tgz#c3e20bbe7f7a7e10cb9b178384b4affdf5995c7d" - integrity sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ== +"@babel/helpers@^7.24.4": + version "7.24.4" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.4.tgz#dc00907fd0d95da74563c142ef4cd21f2cb856b6" + integrity sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw== dependencies: - "@babel/template" "^7.23.9" - "@babel/traverse" "^7.23.9" - "@babel/types" "^7.23.9" + "@babel/template" "^7.24.0" + "@babel/traverse" "^7.24.1" + "@babel/types" "^7.24.0" -"@babel/highlight@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" - integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== +"@babel/highlight@^7.24.2": + version "7.24.2" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.2.tgz#3f539503efc83d3c59080a10e6634306e0370d26" + integrity sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA== dependencies: "@babel/helper-validator-identifier" "^7.22.20" chalk "^2.4.2" js-tokens "^4.0.0" + picocolors "^1.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.9.tgz#7b903b6149b0f8fa7ad564af646c4c38a77fc44b" - integrity sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.24.0", "@babel/parser@^7.24.1", "@babel/parser@^7.24.4": + version "7.24.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.4.tgz#234487a110d89ad5a3ed4a8a566c36b9453e8c88" + integrity sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg== "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -196,11 +197,11 @@ "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-jsx@^7.7.2": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" - integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.1.tgz#3f6ca04b8c841811dbc3c5c5f837934e0d626c10" + integrity sha512-2eCtxZXf+kbkMIsXS4poTvT4Yu5rXiRa+9xGVT56raghjmBTKMpFNc9R4IDiB4emao9eO22Ox7CxuJG7BgExqA== dependencies: - "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-plugin-utils" "^7.24.0" "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" @@ -252,41 +253,41 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz#24f460c85dbbc983cd2b9c4994178bcc01df958f" - integrity sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz#b3bcc51f396d15f3591683f90239de143c076844" + integrity sha512-Yhnmvy5HZEnHUty6i++gcfH1/l68AHnItFHnaCv6hn9dNh0hQvvQJsxpi4BMBFN5DLeHBuucT/0DgzXif/OyRw== dependencies: - "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-plugin-utils" "^7.24.0" -"@babel/template@^7.22.15", "@babel/template@^7.23.9", "@babel/template@^7.3.3": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.23.9.tgz#f881d0487cba2828d3259dcb9ef5005a9731011a" - integrity sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA== +"@babel/template@^7.22.15", "@babel/template@^7.24.0", "@babel/template@^7.3.3": + version "7.24.0" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.0.tgz#c6a524aa93a4a05d66aaf31654258fae69d87d50" + integrity sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA== dependencies: "@babel/code-frame" "^7.23.5" - "@babel/parser" "^7.23.9" - "@babel/types" "^7.23.9" + "@babel/parser" "^7.24.0" + "@babel/types" "^7.24.0" -"@babel/traverse@^7.23.9": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.9.tgz#2f9d6aead6b564669394c5ce0f9302bb65b9d950" - integrity sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg== +"@babel/traverse@^7.24.1": + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.1.tgz#d65c36ac9dd17282175d1e4a3c49d5b7988f530c" + integrity sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ== dependencies: - "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.6" + "@babel/code-frame" "^7.24.1" + "@babel/generator" "^7.24.1" "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.9" - "@babel/types" "^7.23.9" + "@babel/parser" "^7.24.1" + "@babel/types" "^7.24.0" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.6", "@babel/types@^7.23.9", "@babel/types@^7.3.3": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.9.tgz#1dd7b59a9a2b5c87f8b41e52770b5ecbf492e002" - integrity sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.24.0", "@babel/types@^7.3.3": + version "7.24.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.0.tgz#3b951f435a92e7333eba05b7566fd297960ea1bf" + integrity sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w== dependencies: "@babel/helper-string-parser" "^7.23.4" "@babel/helper-validator-identifier" "^7.22.20" @@ -308,7 +309,7 @@ js-yaml "^3.13.1" resolve-from "^5.0.0" -"@istanbuljs/schema@^0.1.2": +"@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": version "0.1.3" resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== @@ -505,34 +506,34 @@ "@types/yargs" "^17.0.8" chalk "^4.0.0" -"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" - integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== +"@jridgewell/gen-mapping@^0.3.5": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" + integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== dependencies: - "@jridgewell/set-array" "^1.0.1" + "@jridgewell/set-array" "^1.2.1" "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/trace-mapping" "^0.3.24" "@jridgewell/resolve-uri@^3.1.0": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" - integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== + version "3.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== -"@jridgewell/set-array@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" - integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== +"@jridgewell/set-array@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" + integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": version "1.4.15" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.22" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz#72a621e5de59f5f1ef792d0793a82ee20f645e4c" - integrity sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw== +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": + version "0.3.25" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" + integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" @@ -632,9 +633,9 @@ form-data "^4.0.0" "@types/node@*": - version "20.11.17" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.17.tgz#cdd642d0e62ef3a861f88ddbc2b61e32578a9292" - integrity sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw== + version "20.12.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.4.tgz#af5921bd75ccdf3a3d8b3fa75bf3d3359268cd11" + integrity sha512-E+Fa9z3wSQpzgYQdYmme5X3OTuejnnTx88A6p6vkkJosR3KBz+HpE3kqNm98VE6cfLFcISx7zW7MsJkH6KwbTw== dependencies: undici-types "~5.26.4" @@ -802,12 +803,12 @@ braces@^3.0.2: fill-range "^7.0.1" browserslist@^4.22.2: - version "4.22.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.3.tgz#299d11b7e947a6b843981392721169e27d60c5a6" - integrity sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A== + version "4.23.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.0.tgz#8f3acc2bbe73af7213399430890f86c63a5674ab" + integrity sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ== dependencies: - caniuse-lite "^1.0.30001580" - electron-to-chromium "^1.4.648" + caniuse-lite "^1.0.30001587" + electron-to-chromium "^1.4.668" node-releases "^2.0.14" update-browserslist-db "^1.0.13" @@ -830,15 +831,16 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -call-bind@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.6.tgz#6c46675fc7a5e9de82d75a233d586c8b7ac0d931" - integrity sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg== +call-bind@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== dependencies: + es-define-property "^1.0.0" es-errors "^1.3.0" function-bind "^1.1.2" - get-intrinsic "^1.2.3" - set-function-length "^1.2.0" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" callsites@^3.0.0: version "3.1.0" @@ -855,10 +857,10 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001580: - version "1.0.30001585" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001585.tgz#0b4e848d84919c783b2a41c13f7de8ce96744401" - integrity sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q== +caniuse-lite@^1.0.30001587: + version "1.0.30001606" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001606.tgz#b4d5f67ab0746a3b8b5b6d1f06e39c51beb39a9e" + integrity sha512-LPbwnW4vfpJId225pwjZJOgX1m9sGfbw/RKJvw/t0QhYOOaTXHvkjVGFGPpvwEzufrjvTlsULnVTxdy4/6cqkg== chalk@^2.4.2: version "2.4.2" @@ -991,15 +993,14 @@ deepmerge@^4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== -define-data-property@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.2.tgz#f3c33b4f0102360cd7c0f5f28700f5678510b63a" - integrity sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g== +define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== dependencies: + es-define-property "^1.0.0" es-errors "^1.3.0" - get-intrinsic "^1.2.2" gopd "^1.0.1" - has-property-descriptors "^1.0.1" delayed-stream@~1.0.0: version "1.0.0" @@ -1016,10 +1017,10 @@ diff-sequences@^29.6.3: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== -electron-to-chromium@^1.4.648: - version "1.4.665" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.665.tgz#681700bd590b0e5a3be66e3e2874ce62abcf5da5" - integrity sha512-UpyCWObBoD+nSZgOC2ToaIdZB0r9GhqT2WahPKiSki6ckkSuKhQNso8V2PrFcHBMleI/eqbKgVQgVC4Wni4ilw== +electron-to-chromium@^1.4.668: + version "1.4.729" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.729.tgz#8477d21e2a50993781950885b2731d92ad532c00" + integrity sha512-bx7+5Saea/qu14kmPTDHQxkp2UnziG3iajUQu3BxFvCOnpAJdDbMV4rSl+EqFDkkpNNVUFlR1kDfpL59xfy1HA== emittery@^0.13.1: version "0.13.1" @@ -1038,6 +1039,13 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" + es-errors@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" @@ -1155,7 +1163,7 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.1.3, get-intrinsic@^1.2.2, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: +get-intrinsic@^1.1.3, get-intrinsic@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== @@ -1215,17 +1223,17 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-property-descriptors@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" - integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== dependencies: - get-intrinsic "^1.2.2" + es-define-property "^1.0.0" has-proto@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" - integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== has-symbols@^1.0.3: version "1.0.3" @@ -1233,9 +1241,9 @@ has-symbols@^1.0.3: integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== hasown@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.1.tgz#26f48f039de2c0f8d3356c223fb8d50253519faa" - integrity sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA== + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== dependencies: function-bind "^1.1.2" @@ -1329,13 +1337,13 @@ istanbul-lib-instrument@^5.0.4: semver "^6.3.0" istanbul-lib-instrument@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.1.tgz#71e87707e8041428732518c6fb5211761753fbdf" - integrity sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA== + version "6.0.2" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz#91655936cf7380e4e473383081e38478b69993b1" + integrity sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw== dependencies: - "@babel/core" "^7.12.3" - "@babel/parser" "^7.14.7" - "@istanbuljs/schema" "^0.1.2" + "@babel/core" "^7.23.9" + "@babel/parser" "^7.23.9" + "@istanbuljs/schema" "^0.1.3" istanbul-lib-coverage "^3.2.0" semver "^7.5.4" @@ -1358,9 +1366,9 @@ istanbul-lib-source-maps@^4.0.0: source-map "^0.6.1" istanbul-reports@^3.1.3: - version "3.1.6" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a" - integrity sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg== + version "3.1.7" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" + integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" @@ -2012,9 +2020,9 @@ prompts@^2.0.1: sisteransi "^1.0.5" pure-rand@^6.0.0: - version "6.0.4" - resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.0.4.tgz#50b737f6a925468679bff00ad20eade53f37d5c7" - integrity sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA== + version "6.1.0" + resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" + integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== qs@6.11.2: version "6.11.2" @@ -2071,17 +2079,17 @@ semver@^7.5.3, semver@^7.5.4: dependencies: lru-cache "^6.0.0" -set-function-length@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.1.tgz#47cc5945f2c771e2cf261c6737cf9684a2a5e425" - integrity sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g== +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== dependencies: - define-data-property "^1.1.2" + define-data-property "^1.1.4" es-errors "^1.3.0" function-bind "^1.1.2" - get-intrinsic "^1.2.3" + get-intrinsic "^1.2.4" gopd "^1.0.1" - has-property-descriptors "^1.0.1" + has-property-descriptors "^1.0.2" shebang-command@^2.0.0: version "2.0.0" @@ -2096,11 +2104,11 @@ shebang-regex@^3.0.0: integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== side-channel@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.5.tgz#9a84546599b48909fb6af1211708d23b1946221b" - integrity sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ== + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== dependencies: - call-bind "^1.0.6" + call-bind "^1.0.7" es-errors "^1.3.0" get-intrinsic "^1.2.4" object-inspect "^1.13.1"