@trycourier/courier 7.3.0 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +136 -0
- package/LICENSE +1 -1
- package/README.md +34 -345
- package/client.d.mts +53 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +53 -8
- package/client.d.ts.map +1 -1
- package/client.js +26 -9
- package/client.js.map +1 -1
- package/client.mjs +27 -10
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/resources/audiences.d.mts +11 -33
- package/resources/audiences.d.mts.map +1 -1
- package/resources/audiences.d.ts +11 -33
- package/resources/audiences.d.ts.map +1 -1
- package/resources/automations/automations.d.mts +54 -1
- package/resources/automations/automations.d.mts.map +1 -1
- package/resources/automations/automations.d.ts +54 -1
- package/resources/automations/automations.d.ts.map +1 -1
- package/resources/automations/automations.js +12 -0
- package/resources/automations/automations.js.map +1 -1
- package/resources/automations/automations.mjs +12 -0
- package/resources/automations/automations.mjs.map +1 -1
- package/resources/automations/index.d.mts +1 -1
- package/resources/automations/index.d.mts.map +1 -1
- package/resources/automations/index.d.ts +1 -1
- package/resources/automations/index.d.ts.map +1 -1
- package/resources/automations/index.js.map +1 -1
- package/resources/automations/index.mjs +1 -1
- package/resources/automations/index.mjs.map +1 -1
- package/resources/bulk.d.mts +80 -39
- package/resources/bulk.d.mts.map +1 -1
- package/resources/bulk.d.ts +80 -39
- package/resources/bulk.d.ts.map +1 -1
- package/resources/bulk.js +12 -2
- package/resources/bulk.js.map +1 -1
- package/resources/bulk.mjs +12 -2
- package/resources/bulk.mjs.map +1 -1
- package/resources/inbound.d.mts +1 -1
- package/resources/inbound.d.ts +1 -1
- package/resources/index.d.mts +4 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/journeys.d.mts +143 -0
- package/resources/journeys.d.mts.map +1 -0
- package/resources/journeys.d.ts +143 -0
- package/resources/journeys.d.ts.map +1 -0
- package/resources/journeys.js +38 -0
- package/resources/journeys.js.map +1 -0
- package/resources/journeys.mjs +34 -0
- package/resources/journeys.mjs.map +1 -0
- package/resources/lists/subscriptions.d.mts +1 -1
- package/resources/lists/subscriptions.d.ts +1 -1
- package/resources/messages.d.mts +20 -20
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +20 -20
- package/resources/messages.d.ts.map +1 -1
- package/resources/notifications/checks.d.mts +2 -2
- package/resources/notifications/checks.d.ts +2 -2
- package/resources/send.d.mts +8 -2
- package/resources/send.d.mts.map +1 -1
- package/resources/send.d.ts +8 -2
- package/resources/send.d.ts.map +1 -1
- package/resources/send.js +1 -1
- package/resources/send.mjs +1 -1
- package/resources/shared.d.mts +290 -52
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +290 -52
- package/resources/shared.d.ts.map +1 -1
- package/resources/tenants/index.d.mts +2 -2
- package/resources/tenants/index.d.mts.map +1 -1
- package/resources/tenants/index.d.ts +2 -2
- package/resources/tenants/index.d.ts.map +1 -1
- package/resources/tenants/index.js +2 -2
- package/resources/tenants/index.js.map +1 -1
- package/resources/tenants/index.mjs +1 -1
- package/resources/tenants/index.mjs.map +1 -1
- package/resources/tenants/preferences/items.d.mts +2 -2
- package/resources/tenants/preferences/items.d.ts +2 -2
- package/resources/tenants/templates/index.d.mts +3 -0
- package/resources/tenants/templates/index.d.mts.map +1 -0
- package/resources/tenants/templates/index.d.ts +3 -0
- package/resources/tenants/templates/index.d.ts.map +1 -0
- package/resources/tenants/templates/index.js +9 -0
- package/resources/tenants/templates/index.js.map +1 -0
- package/resources/tenants/templates/index.mjs +4 -0
- package/resources/tenants/templates/index.mjs.map +1 -0
- package/resources/tenants/templates/templates.d.mts +159 -0
- package/resources/tenants/templates/templates.d.mts.map +1 -0
- package/resources/tenants/templates/templates.d.ts +159 -0
- package/resources/tenants/templates/templates.d.ts.map +1 -0
- package/resources/tenants/templates/templates.js +91 -0
- package/resources/tenants/templates/templates.js.map +1 -0
- package/resources/tenants/templates/templates.mjs +86 -0
- package/resources/tenants/templates/templates.mjs.map +1 -0
- package/resources/tenants/templates/versions.d.mts +39 -0
- package/resources/tenants/templates/versions.d.mts.map +1 -0
- package/resources/tenants/templates/versions.d.ts +39 -0
- package/resources/tenants/templates/versions.d.ts.map +1 -0
- package/resources/tenants/templates/versions.js +32 -0
- package/resources/tenants/templates/versions.js.map +1 -0
- package/resources/tenants/templates/versions.mjs +28 -0
- package/resources/tenants/templates/versions.mjs.map +1 -0
- package/resources/tenants/templates.d.mts +1 -90
- package/resources/tenants/templates.d.mts.map +1 -1
- package/resources/tenants/templates.d.ts +1 -90
- package/resources/tenants/templates.d.ts.map +1 -1
- package/resources/tenants/templates.js +2 -34
- package/resources/tenants/templates.js.map +1 -1
- package/resources/tenants/templates.mjs +1 -32
- package/resources/tenants/templates.mjs.map +1 -1
- package/resources/tenants/tenants.d.mts +147 -5
- package/resources/tenants/tenants.d.mts.map +1 -1
- package/resources/tenants/tenants.d.ts +147 -5
- package/resources/tenants/tenants.d.ts.map +1 -1
- package/resources/tenants/tenants.js +2 -2
- package/resources/tenants/tenants.js.map +1 -1
- package/resources/tenants/tenants.mjs +2 -2
- package/resources/tenants/tenants.mjs.map +1 -1
- package/resources/translations.d.mts +1 -1
- package/resources/translations.d.ts +1 -1
- package/resources/users/preferences.d.mts +1 -1
- package/resources/users/preferences.d.ts +1 -1
- package/resources/users/tenants.d.mts +1 -1
- package/resources/users/tenants.d.ts +1 -1
- package/resources/users/tokens.d.mts +3 -8
- package/resources/users/tokens.d.mts.map +1 -1
- package/resources/users/tokens.d.ts +3 -8
- package/resources/users/tokens.d.ts.map +1 -1
- package/resources/users/tokens.js +2 -3
- package/resources/users/tokens.js.map +1 -1
- package/resources/users/tokens.mjs +2 -3
- package/resources/users/tokens.mjs.map +1 -1
- package/src/client.ts +115 -19
- package/src/internal/parse.ts +6 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/audiences.ts +11 -69
- package/src/resources/automations/automations.ts +74 -1
- package/src/resources/automations/index.ts +7 -1
- package/src/resources/bulk.ts +71 -32
- package/src/resources/inbound.ts +1 -1
- package/src/resources/index.ts +21 -3
- package/src/resources/journeys.ts +174 -0
- package/src/resources/lists/subscriptions.ts +1 -1
- package/src/resources/messages.ts +24 -24
- package/src/resources/notifications/checks.ts +2 -2
- package/src/resources/send.ts +28 -2
- package/src/resources/shared.ts +391 -49
- package/src/resources/tenants/index.ts +8 -1
- package/src/resources/tenants/preferences/items.ts +2 -2
- package/src/resources/tenants/templates/index.ts +11 -0
- package/src/resources/tenants/templates/templates.ts +222 -0
- package/src/resources/tenants/templates/versions.ts +55 -0
- package/src/resources/tenants/templates.ts +1 -122
- package/src/resources/tenants/tenants.ts +179 -3
- package/src/resources/translations.ts +1 -1
- package/src/resources/users/preferences.ts +1 -1
- package/src/resources/users/tenants.ts +1 -1
- package/src/resources/users/tokens.ts +4 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,GAC/B;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B;OACM,EAAE,IAAI,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OAChE,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,GAC1B;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,KAAK,EACV,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;O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uBAAuB,GAC7B;OACM,EAAE,KAAK,EAAE"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
export * from "./shared.js";
|
|
2
|
-
export { Audiences, type Audience, type
|
|
2
|
+
export { Audiences, type Audience, type AudienceUpdateResponse, type AudienceListResponse, type AudienceListMembersResponse, type AudienceUpdateParams, type AudienceListParams, type AudienceListMembersParams, } from "./audiences.js";
|
|
3
3
|
export { AuditEvents, type AuditEvent, type AuditEventListResponse, type AuditEventListParams, } from "./audit-events.js";
|
|
4
4
|
export { Auth, type AuthIssueTokenResponse, type AuthIssueTokenParams } from "./auth.js";
|
|
5
|
-
export { Automations, type AutomationInvokeResponse } from "./automations/automations.js";
|
|
5
|
+
export { Automations, type AutomationInvokeResponse, type AutomationTemplate, type AutomationTemplateListResponse, type AutomationListParams, } from "./automations/automations.js";
|
|
6
6
|
export { Brands, type Brand, type BrandColors, type BrandSettings, type BrandSettingsEmail, type BrandSettingsInApp, type BrandSnippet, type BrandSnippets, type BrandTemplate, type EmailFooter, type EmailHead, type EmailHeader, type Icons, type Logo, type WidgetBackground, type BrandListResponse, type BrandCreateParams, type BrandUpdateParams, type BrandListParams, } from "./brands.js";
|
|
7
7
|
export { Bulk, type InboundBulkMessage, type InboundBulkMessageUser, type BulkCreateJobResponse, type BulkListUsersResponse, type BulkRetrieveJobResponse, type BulkAddUsersParams, type BulkCreateJobParams, type BulkListUsersParams, } from "./bulk.js";
|
|
8
8
|
export { Inbound, type InboundTrackEventResponse, type InboundTrackEventParams } from "./inbound.js";
|
|
9
|
+
export { Journeys, type Journey, type JourneysInvokeRequest, type JourneysInvokeResponse, type JourneysListResponse, type JourneyListParams, type JourneyInvokeParams, } from "./journeys.js";
|
|
9
10
|
export { Lists, type PutSubscriptionsRecipient, type SubscriptionList, type ListListResponse, type ListUpdateParams, type ListListParams, type ListRestoreParams, } from "./lists/lists.js";
|
|
10
11
|
export { Messages, type MessageDetails, type MessageRetrieveResponse, type MessageListResponse, type MessageContentResponse, type MessageHistoryResponse, type MessageListParams, type MessageHistoryParams, } from "./messages.js";
|
|
11
12
|
export { Notifications, type BaseCheck, type Check, type NotificationGetContent, type NotificationListResponse, type NotificationListParams, } from "./notifications/notifications.js";
|
|
12
13
|
export { Profiles, type SubscribeToListsRequestItem, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileReplaceResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileReplaceParams, } from "./profiles/profiles.js";
|
|
13
14
|
export { Requests } from "./requests.js";
|
|
14
15
|
export { Send, type SendMessageResponse, type SendMessageParams } from "./send.js";
|
|
15
|
-
export { Tenants, type BaseTemplateTenantAssociation, type DefaultPreferences, type SubscriptionTopicNew, type Tenant, type TenantAssociation, type TenantListResponse, type TenantListUsersResponse, type TenantUpdateParams, type TenantListParams, type TenantListUsersParams, } from "./tenants/tenants.js";
|
|
16
|
+
export { Tenants, type BaseTemplateTenantAssociation, type DefaultPreferences, type PostTenantTemplatePublishRequest, type PostTenantTemplatePublishResponse, type PutTenantTemplateRequest, type PutTenantTemplateResponse, type SubscriptionTopicNew, type Tenant, type TenantAssociation, type TenantTemplateInput, type TenantListResponse, type TenantListUsersResponse, type TenantUpdateParams, type TenantListParams, type TenantListUsersParams, } from "./tenants/tenants.js";
|
|
16
17
|
export { Translations, type TranslationRetrieveResponse, type TranslationRetrieveParams, type TranslationUpdateParams, } from "./translations.js";
|
|
17
18
|
export { Users } from "./users/users.js";
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK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K,cAAc,EACnB,KAAK,iBAAiB,GACvB;OACM,EACL,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,GAC1B;OACM,EACL,aAAa,EACb,KAAK,SAAS,EACd,KAAK,KAAK,EACV,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EACL,QAAQ,EACR,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC1D,EACL,OAAO,EACP,KAAK,6BAA6B,EAClC,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACX,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B;OACM,EACL,YAAY,EACZ,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B;OACM,EAAE,KAAK,EAAE"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Users = exports.Translations = exports.Tenants = exports.Send = exports.Requests = exports.Profiles = exports.Notifications = exports.Messages = exports.Lists = exports.Inbound = exports.Bulk = exports.Brands = exports.Automations = exports.Auth = exports.AuditEvents = exports.Audiences = void 0;
|
|
4
|
+
exports.Users = exports.Translations = exports.Tenants = exports.Send = exports.Requests = exports.Profiles = exports.Notifications = exports.Messages = exports.Lists = exports.Journeys = exports.Inbound = exports.Bulk = exports.Brands = exports.Automations = exports.Auth = exports.AuditEvents = exports.Audiences = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
7
|
var audiences_1 = require("./audiences.js");
|
|
@@ -18,6 +18,8 @@ var bulk_1 = require("./bulk.js");
|
|
|
18
18
|
Object.defineProperty(exports, "Bulk", { enumerable: true, get: function () { return bulk_1.Bulk; } });
|
|
19
19
|
var inbound_1 = require("./inbound.js");
|
|
20
20
|
Object.defineProperty(exports, "Inbound", { enumerable: true, get: function () { return inbound_1.Inbound; } });
|
|
21
|
+
var journeys_1 = require("./journeys.js");
|
|
22
|
+
Object.defineProperty(exports, "Journeys", { enumerable: true, get: function () { return journeys_1.Journeys; } });
|
|
21
23
|
var lists_1 = require("./lists/lists.js");
|
|
22
24
|
Object.defineProperty(exports, "Lists", { enumerable: true, get: function () { return lists_1.Lists; } });
|
|
23
25
|
var messages_1 = require("./messages.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,kDAKwB;AAJtB,2GAAA,WAAW,OAAA;AAKb,kCAAsF;AAA7E,4FAAA,IAAI,OAAA;AACb,4DAMmC;AALjC,0GAAA,WAAW,OAAA;AAMb,sCAoBkB;AAnBhB,gGAAA,MAAM,OAAA;AAoBR,kCAUgB;AATd,4FAAA,IAAI,OAAA;AAUN,wCAAkG;AAAzF,kGAAA,OAAO,OAAA;AAChB,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,0CAQuB;AAPrB,8FAAA,KAAK,OAAA;AAQP,0CASoB;AARlB,oGAAA,QAAQ,OAAA;AASV,kEAOuC;AANrC,8GAAA,aAAa,OAAA;AAOf,mDAS6B;AAR3B,oGAAA,QAAQ,OAAA;AASV,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,kCAAgF;AAAvE,4FAAA,IAAI,OAAA;AACb,gDAiB2B;AAhBzB,kGAAA,OAAO,OAAA;AAiBT,kDAKwB;AAJtB,4GAAA,YAAY,OAAA;AAKd,0CAAsC;AAA7B,8FAAA,KAAK,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -3,10 +3,11 @@ export * from "./shared.mjs";
|
|
|
3
3
|
export { Audiences, } from "./audiences.mjs";
|
|
4
4
|
export { AuditEvents, } from "./audit-events.mjs";
|
|
5
5
|
export { Auth } from "./auth.mjs";
|
|
6
|
-
export { Automations } from "./automations/automations.mjs";
|
|
6
|
+
export { Automations, } from "./automations/automations.mjs";
|
|
7
7
|
export { Brands, } from "./brands.mjs";
|
|
8
8
|
export { Bulk, } from "./bulk.mjs";
|
|
9
9
|
export { Inbound } from "./inbound.mjs";
|
|
10
|
+
export { Journeys, } from "./journeys.mjs";
|
|
10
11
|
export { Lists, } from "./lists/lists.mjs";
|
|
11
12
|
export { Messages, } from "./messages.mjs";
|
|
12
13
|
export { Notifications, } from "./notifications/notifications.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,SAAS,GAQV;OACM,EACL,WAAW,GAIZ;OACM,EAAE,IAAI,EAA0D;OAChE,EACL,WAAW,GAKZ;OACM,EACL,MAAM,GAmBP;OACM,EACL,IAAI,GASL;OACM,EAAE,OAAO,EAAgE;OACzE,EACL,QAAQ,GAOT;OACM,EACL,KAAK,GAON;OACM,EACL,QAAQ,GAQT;OACM,EACL,aAAa,GAMd;OACM,EACL,QAAQ,GAQT;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,IAAI,EAAoD;OAC1D,EACL,OAAO,GAgBR;OACM,EACL,YAAY,GAIb;OACM,EAAE,KAAK,EAAE"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Journeys extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get the list of journeys.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const journeysListResponse = await client.journeys.list();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
list(query?: JourneyListParams | null | undefined, options?: RequestOptions): APIPromise<JourneysListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Invoke a journey run from a journey template.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const journeysInvokeResponse = await client.journeys.invoke(
|
|
20
|
+
* 'templateId',
|
|
21
|
+
* {
|
|
22
|
+
* data: { order_id: 'order-456', amount: 99.99 },
|
|
23
|
+
* user_id: 'user-123',
|
|
24
|
+
* },
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
invoke(templateID: string, body: JourneyInvokeParams, options?: RequestOptions): APIPromise<JourneysInvokeResponse>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A journey template representing an automation workflow.
|
|
32
|
+
*/
|
|
33
|
+
export interface Journey {
|
|
34
|
+
/**
|
|
35
|
+
* The unique identifier of the journey.
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the journey.
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
* The version of the journey (published or draft).
|
|
44
|
+
*/
|
|
45
|
+
version: 'published' | 'draft';
|
|
46
|
+
/**
|
|
47
|
+
* ISO 8601 timestamp when the journey was created.
|
|
48
|
+
*/
|
|
49
|
+
createdAt?: string;
|
|
50
|
+
/**
|
|
51
|
+
* ISO 8601 timestamp when the journey was last updated.
|
|
52
|
+
*/
|
|
53
|
+
updatedAt?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Request body for invoking a journey. Requires either a user identifier or a
|
|
57
|
+
* profile with contact information. User identifiers can be provided via user_id
|
|
58
|
+
* field, or resolved from profile/data objects (user_id, userId, or anonymousId
|
|
59
|
+
* fields).
|
|
60
|
+
*/
|
|
61
|
+
export interface JourneysInvokeRequest {
|
|
62
|
+
/**
|
|
63
|
+
* Data payload passed to the journey. The expected shape can be predefined using
|
|
64
|
+
* the schema builder in the journey editor. This data is available in journey
|
|
65
|
+
* steps for condition evaluation and template variable interpolation. Can also
|
|
66
|
+
* contain user identifiers (user_id, userId, anonymousId) if not provided
|
|
67
|
+
* elsewhere.
|
|
68
|
+
*/
|
|
69
|
+
data?: {
|
|
70
|
+
[key: string]: unknown;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Profile data for the user. Can contain contact information (email,
|
|
74
|
+
* phone_number), user identifiers (user_id, userId, anonymousId), or any custom
|
|
75
|
+
* profile fields. Profile fields are merged with any existing stored profile for
|
|
76
|
+
* the user. Include context.tenant_id to load a tenant-scoped profile for
|
|
77
|
+
* multi-tenant scenarios.
|
|
78
|
+
*/
|
|
79
|
+
profile?: {
|
|
80
|
+
[key: string]: unknown;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* A unique identifier for the user. If not provided, the system will attempt to
|
|
84
|
+
* resolve the user identifier from profile or data objects.
|
|
85
|
+
*/
|
|
86
|
+
user_id?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface JourneysInvokeResponse {
|
|
89
|
+
/**
|
|
90
|
+
* A unique identifier for the journey run that was created.
|
|
91
|
+
*/
|
|
92
|
+
runId: string;
|
|
93
|
+
}
|
|
94
|
+
export interface JourneysListResponse {
|
|
95
|
+
/**
|
|
96
|
+
* A cursor token for pagination. Present when there are more results available.
|
|
97
|
+
*/
|
|
98
|
+
cursor?: string;
|
|
99
|
+
templates?: Array<Journey>;
|
|
100
|
+
}
|
|
101
|
+
export interface JourneyListParams {
|
|
102
|
+
/**
|
|
103
|
+
* A cursor token for pagination. Use the cursor from the previous response to
|
|
104
|
+
* fetch the next page of results.
|
|
105
|
+
*/
|
|
106
|
+
cursor?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The version of journeys to retrieve. Accepted values are published (for
|
|
109
|
+
* published journeys) or draft (for draft journeys). Defaults to published.
|
|
110
|
+
*/
|
|
111
|
+
version?: 'published' | 'draft';
|
|
112
|
+
}
|
|
113
|
+
export interface JourneyInvokeParams {
|
|
114
|
+
/**
|
|
115
|
+
* Data payload passed to the journey. The expected shape can be predefined using
|
|
116
|
+
* the schema builder in the journey editor. This data is available in journey
|
|
117
|
+
* steps for condition evaluation and template variable interpolation. Can also
|
|
118
|
+
* contain user identifiers (user_id, userId, anonymousId) if not provided
|
|
119
|
+
* elsewhere.
|
|
120
|
+
*/
|
|
121
|
+
data?: {
|
|
122
|
+
[key: string]: unknown;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Profile data for the user. Can contain contact information (email,
|
|
126
|
+
* phone_number), user identifiers (user_id, userId, anonymousId), or any custom
|
|
127
|
+
* profile fields. Profile fields are merged with any existing stored profile for
|
|
128
|
+
* the user. Include context.tenant_id to load a tenant-scoped profile for
|
|
129
|
+
* multi-tenant scenarios.
|
|
130
|
+
*/
|
|
131
|
+
profile?: {
|
|
132
|
+
[key: string]: unknown;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* A unique identifier for the user. If not provided, the system will attempt to
|
|
136
|
+
* resolve the user identifier from profile or data objects.
|
|
137
|
+
*/
|
|
138
|
+
user_id?: string;
|
|
139
|
+
}
|
|
140
|
+
export declare namespace Journeys {
|
|
141
|
+
export { type Journey as Journey, type JourneysInvokeRequest as JourneysInvokeRequest, type JourneysInvokeResponse as JourneysInvokeResponse, type JourneysListResponse as JourneysListResponse, type JourneyListParams as JourneyListParams, type JourneyInvokeParams as JourneyInvokeParams, };
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=journeys.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journeys.d.mts","sourceRoot":"","sources":["../src/resources/journeys.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,mBAAmB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,WAAW,GAAG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AAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Journeys extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get the list of journeys.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const journeysListResponse = await client.journeys.list();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
list(query?: JourneyListParams | null | undefined, options?: RequestOptions): APIPromise<JourneysListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Invoke a journey run from a journey template.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const journeysInvokeResponse = await client.journeys.invoke(
|
|
20
|
+
* 'templateId',
|
|
21
|
+
* {
|
|
22
|
+
* data: { order_id: 'order-456', amount: 99.99 },
|
|
23
|
+
* user_id: 'user-123',
|
|
24
|
+
* },
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
invoke(templateID: string, body: JourneyInvokeParams, options?: RequestOptions): APIPromise<JourneysInvokeResponse>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A journey template representing an automation workflow.
|
|
32
|
+
*/
|
|
33
|
+
export interface Journey {
|
|
34
|
+
/**
|
|
35
|
+
* The unique identifier of the journey.
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the journey.
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
* The version of the journey (published or draft).
|
|
44
|
+
*/
|
|
45
|
+
version: 'published' | 'draft';
|
|
46
|
+
/**
|
|
47
|
+
* ISO 8601 timestamp when the journey was created.
|
|
48
|
+
*/
|
|
49
|
+
createdAt?: string;
|
|
50
|
+
/**
|
|
51
|
+
* ISO 8601 timestamp when the journey was last updated.
|
|
52
|
+
*/
|
|
53
|
+
updatedAt?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Request body for invoking a journey. Requires either a user identifier or a
|
|
57
|
+
* profile with contact information. User identifiers can be provided via user_id
|
|
58
|
+
* field, or resolved from profile/data objects (user_id, userId, or anonymousId
|
|
59
|
+
* fields).
|
|
60
|
+
*/
|
|
61
|
+
export interface JourneysInvokeRequest {
|
|
62
|
+
/**
|
|
63
|
+
* Data payload passed to the journey. The expected shape can be predefined using
|
|
64
|
+
* the schema builder in the journey editor. This data is available in journey
|
|
65
|
+
* steps for condition evaluation and template variable interpolation. Can also
|
|
66
|
+
* contain user identifiers (user_id, userId, anonymousId) if not provided
|
|
67
|
+
* elsewhere.
|
|
68
|
+
*/
|
|
69
|
+
data?: {
|
|
70
|
+
[key: string]: unknown;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Profile data for the user. Can contain contact information (email,
|
|
74
|
+
* phone_number), user identifiers (user_id, userId, anonymousId), or any custom
|
|
75
|
+
* profile fields. Profile fields are merged with any existing stored profile for
|
|
76
|
+
* the user. Include context.tenant_id to load a tenant-scoped profile for
|
|
77
|
+
* multi-tenant scenarios.
|
|
78
|
+
*/
|
|
79
|
+
profile?: {
|
|
80
|
+
[key: string]: unknown;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* A unique identifier for the user. If not provided, the system will attempt to
|
|
84
|
+
* resolve the user identifier from profile or data objects.
|
|
85
|
+
*/
|
|
86
|
+
user_id?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface JourneysInvokeResponse {
|
|
89
|
+
/**
|
|
90
|
+
* A unique identifier for the journey run that was created.
|
|
91
|
+
*/
|
|
92
|
+
runId: string;
|
|
93
|
+
}
|
|
94
|
+
export interface JourneysListResponse {
|
|
95
|
+
/**
|
|
96
|
+
* A cursor token for pagination. Present when there are more results available.
|
|
97
|
+
*/
|
|
98
|
+
cursor?: string;
|
|
99
|
+
templates?: Array<Journey>;
|
|
100
|
+
}
|
|
101
|
+
export interface JourneyListParams {
|
|
102
|
+
/**
|
|
103
|
+
* A cursor token for pagination. Use the cursor from the previous response to
|
|
104
|
+
* fetch the next page of results.
|
|
105
|
+
*/
|
|
106
|
+
cursor?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The version of journeys to retrieve. Accepted values are published (for
|
|
109
|
+
* published journeys) or draft (for draft journeys). Defaults to published.
|
|
110
|
+
*/
|
|
111
|
+
version?: 'published' | 'draft';
|
|
112
|
+
}
|
|
113
|
+
export interface JourneyInvokeParams {
|
|
114
|
+
/**
|
|
115
|
+
* Data payload passed to the journey. The expected shape can be predefined using
|
|
116
|
+
* the schema builder in the journey editor. This data is available in journey
|
|
117
|
+
* steps for condition evaluation and template variable interpolation. Can also
|
|
118
|
+
* contain user identifiers (user_id, userId, anonymousId) if not provided
|
|
119
|
+
* elsewhere.
|
|
120
|
+
*/
|
|
121
|
+
data?: {
|
|
122
|
+
[key: string]: unknown;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Profile data for the user. Can contain contact information (email,
|
|
126
|
+
* phone_number), user identifiers (user_id, userId, anonymousId), or any custom
|
|
127
|
+
* profile fields. Profile fields are merged with any existing stored profile for
|
|
128
|
+
* the user. Include context.tenant_id to load a tenant-scoped profile for
|
|
129
|
+
* multi-tenant scenarios.
|
|
130
|
+
*/
|
|
131
|
+
profile?: {
|
|
132
|
+
[key: string]: unknown;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* A unique identifier for the user. If not provided, the system will attempt to
|
|
136
|
+
* resolve the user identifier from profile or data objects.
|
|
137
|
+
*/
|
|
138
|
+
user_id?: string;
|
|
139
|
+
}
|
|
140
|
+
export declare namespace Journeys {
|
|
141
|
+
export { type Journey as Journey, type JourneysInvokeRequest as JourneysInvokeRequest, type JourneysInvokeResponse as JourneysInvokeResponse, type JourneysListResponse as JourneysListResponse, type JourneyListParams as JourneyListParams, type JourneyInvokeParams as JourneyInvokeParams, };
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=journeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journeys.d.ts","sourceRoot":"","sources":["../src/resources/journeys.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,mBAAmB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAElC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAErC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,SAAS,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAElC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAErC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Journeys = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const path_1 = require("../internal/utils/path.js");
|
|
7
|
+
class Journeys extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get the list of journeys.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const journeysListResponse = await client.journeys.list();
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
list(query = {}, options) {
|
|
17
|
+
return this._client.get('/journeys', { query, ...options });
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Invoke a journey run from a journey template.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const journeysInvokeResponse = await client.journeys.invoke(
|
|
25
|
+
* 'templateId',
|
|
26
|
+
* {
|
|
27
|
+
* data: { order_id: 'order-456', amount: 99.99 },
|
|
28
|
+
* user_id: 'user-123',
|
|
29
|
+
* },
|
|
30
|
+
* );
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
invoke(templateID, body, options) {
|
|
34
|
+
return this._client.post((0, path_1.path) `/journeys/${templateID}/invoke`, { body, ...options });
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Journeys = Journeys;
|
|
38
|
+
//# sourceMappingURL=journeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journeys.js","sourceRoot":"","sources":["../src/resources/journeys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;OAOG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,aAAa,UAAU,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF;AArCD,4BAqCC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { path } from "../internal/utils/path.mjs";
|
|
4
|
+
export class Journeys extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get the list of journeys.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const journeysListResponse = await client.journeys.list();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
list(query = {}, options) {
|
|
14
|
+
return this._client.get('/journeys', { query, ...options });
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Invoke a journey run from a journey template.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const journeysInvokeResponse = await client.journeys.invoke(
|
|
22
|
+
* 'templateId',
|
|
23
|
+
* {
|
|
24
|
+
* data: { order_id: 'order-456', amount: 99.99 },
|
|
25
|
+
* user_id: 'user-123',
|
|
26
|
+
* },
|
|
27
|
+
* );
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
invoke(templateID, body, options) {
|
|
31
|
+
return this._client.post(path `/journeys/${templateID}/invoke`, { body, ...options });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=journeys.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journeys.mjs","sourceRoot":"","sources":["../src/resources/journeys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,aAAa,UAAU,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF"}
|
package/resources/messages.d.mts
CHANGED
|
@@ -34,16 +34,6 @@ export interface MessageDetails {
|
|
|
34
34
|
* from a send).
|
|
35
35
|
*/
|
|
36
36
|
id: string;
|
|
37
|
-
/**
|
|
38
|
-
* A UTC timestamp at which the recipient clicked on a tracked link for the first
|
|
39
|
-
* time. Stored as a millisecond representation of the Unix epoch.
|
|
40
|
-
*/
|
|
41
|
-
clicked: number;
|
|
42
|
-
/**
|
|
43
|
-
* A UTC timestamp at which the Integration provider delivered the message. Stored
|
|
44
|
-
* as a millisecond representation of the Unix epoch.
|
|
45
|
-
*/
|
|
46
|
-
delivered: number;
|
|
47
37
|
/**
|
|
48
38
|
* A UTC timestamp at which Courier received the message request. Stored as a
|
|
49
39
|
* millisecond representation of the Unix epoch.
|
|
@@ -57,32 +47,42 @@ export interface MessageDetails {
|
|
|
57
47
|
* A unique identifier associated with the notification of the delivered message.
|
|
58
48
|
*/
|
|
59
49
|
notification: string;
|
|
60
|
-
/**
|
|
61
|
-
* A UTC timestamp at which the recipient opened a message for the first time.
|
|
62
|
-
* Stored as a millisecond representation of the Unix epoch.
|
|
63
|
-
*/
|
|
64
|
-
opened: number;
|
|
65
50
|
/**
|
|
66
51
|
* A unique identifier associated with the recipient of the delivered message.
|
|
67
52
|
*/
|
|
68
53
|
recipient: string;
|
|
69
|
-
/**
|
|
70
|
-
* A UTC timestamp at which Courier passed the message to the Integration provider.
|
|
71
|
-
* Stored as a millisecond representation of the Unix epoch.
|
|
72
|
-
*/
|
|
73
|
-
sent: number;
|
|
74
54
|
/**
|
|
75
55
|
* The current status of the message.
|
|
76
56
|
*/
|
|
77
57
|
status: 'CANCELED' | 'CLICKED' | 'DELAYED' | 'DELIVERED' | 'DIGESTED' | 'ENQUEUED' | 'FILTERED' | 'OPENED' | 'ROUTED' | 'SENT' | 'SIMULATED' | 'THROTTLED' | 'UNDELIVERABLE' | 'UNMAPPED' | 'UNROUTABLE';
|
|
58
|
+
/**
|
|
59
|
+
* A UTC timestamp at which the recipient clicked on a tracked link for the first
|
|
60
|
+
* time. Stored as a millisecond representation of the Unix epoch.
|
|
61
|
+
*/
|
|
62
|
+
clicked?: number;
|
|
63
|
+
/**
|
|
64
|
+
* A UTC timestamp at which the Integration provider delivered the message. Stored
|
|
65
|
+
* as a millisecond representation of the Unix epoch.
|
|
66
|
+
*/
|
|
67
|
+
delivered?: number;
|
|
78
68
|
/**
|
|
79
69
|
* A message describing the error that occurred.
|
|
80
70
|
*/
|
|
81
71
|
error?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* A UTC timestamp at which the recipient opened a message for the first time.
|
|
74
|
+
* Stored as a millisecond representation of the Unix epoch.
|
|
75
|
+
*/
|
|
76
|
+
opened?: number;
|
|
82
77
|
/**
|
|
83
78
|
* The reason for the current status of the message.
|
|
84
79
|
*/
|
|
85
80
|
reason?: 'BOUNCED' | 'FAILED' | 'FILTERED' | 'NO_CHANNELS' | 'NO_PROVIDERS' | 'OPT_IN_REQUIRED' | 'PROVIDER_ERROR' | 'UNPUBLISHED' | 'UNSUBSCRIBED' | null;
|
|
81
|
+
/**
|
|
82
|
+
* A UTC timestamp at which Courier passed the message to the Integration provider.
|
|
83
|
+
* Stored as a millisecond representation of the Unix epoch.
|
|
84
|
+
*/
|
|
85
|
+
sent?: number;
|
|
86
86
|
}
|
|
87
87
|
export interface MessageRetrieveResponse extends MessageDetails {
|
|
88
88
|
providers?: Array<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../src/resources/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAI1F;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;;;;;OAMG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAI/E;;OAEG;IACH,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIxF;;OAEG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../src/resources/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,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