sequenzy 2.1.12 → 2.1.16
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/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivity.d.ts +1 -1
- package/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +3 -1
- package/dist/cjs/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +3 -1
- package/dist/cjs/api/resources/emailSends/client/requests/ListEmailSendsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +2 -0
- package/dist/cjs/api/resources/emailSends/types/ListEmailSendsRequestBounceType.js +2 -0
- package/dist/cjs/api/resources/integrations/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/integrations/client/Client.js +5 -2
- package/dist/cjs/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +4 -4
- package/dist/cjs/api/resources/integrations/client/requests/DisconnectIntegrationsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +3 -1
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponse.d.ts +3 -1
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +7 -0
- package/dist/cjs/api/resources/integrations/types/ConnectIntegrationsResponsePublication.js +3 -0
- package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -0
- package/dist/cjs/api/resources/integrations/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/types/index.js +1 -0
- package/dist/cjs/api/resources/websites/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/websites/client/Client.js +1 -1
- package/dist/cjs/api/types/BadRequestErrorBody.d.ts +3 -5
- package/dist/cjs/api/types/BadRequestErrorBodyPublicationsItem.d.ts +4 -0
- package/dist/cjs/api/types/BadRequestErrorBodyPublicationsItem.js +3 -0
- package/dist/cjs/api/types/TransactionalMetricsResponseBounceBreakdown.d.ts +3 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +1 -1
- package/dist/cjs/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +1 -1
- package/dist/cjs/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +1 -1
- package/dist/cjs/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.js +1 -1
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -1
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +1 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.js +1 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponse.js +2 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +10 -0
- package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.js +32 -0
- package/dist/cjs/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -1
- package/dist/cjs/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -1
- package/dist/cjs/serialization/resources/integrations/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/integrations/types/index.js +1 -0
- package/dist/cjs/serialization/types/BadRequestErrorBody.d.ts +4 -6
- package/dist/cjs/serialization/types/BadRequestErrorBody.js +7 -7
- package/dist/cjs/serialization/types/BadRequestErrorBodyPublicationsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/BadRequestErrorBodyPublicationsItem.js +32 -0
- package/dist/cjs/serialization/types/TransactionalMetricsResponseBounceBreakdown.d.ts +1 -0
- package/dist/cjs/serialization/types/TransactionalMetricsResponseBounceBreakdown.js +1 -0
- package/dist/cjs/serialization/types/index.d.ts +1 -0
- package/dist/cjs/serialization/types/index.js +1 -0
- package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivity.d.ts +1 -1
- package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +3 -1
- package/dist/esm/api/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +3 -1
- package/dist/esm/api/resources/emailSends/client/requests/ListEmailSendsRequest.d.ts +1 -0
- package/dist/esm/api/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +2 -0
- package/dist/esm/api/resources/emailSends/types/ListEmailSendsRequestBounceType.js +2 -0
- package/dist/esm/api/resources/integrations/client/Client.d.ts +3 -2
- package/dist/esm/api/resources/integrations/client/Client.js +5 -2
- package/dist/esm/api/resources/integrations/client/requests/ConnectIntegrationsRequest.d.ts +4 -4
- package/dist/esm/api/resources/integrations/client/requests/DisconnectIntegrationsRequest.d.ts +1 -1
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -0
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +3 -1
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponse.d.ts +3 -1
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +7 -0
- package/dist/esm/api/resources/integrations/types/ConnectIntegrationsResponsePublication.js +2 -0
- package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponse.d.ts +1 -1
- package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -0
- package/dist/esm/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -0
- package/dist/esm/api/resources/integrations/types/index.d.ts +1 -0
- package/dist/esm/api/resources/integrations/types/index.js +1 -0
- package/dist/esm/api/resources/websites/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/websites/client/Client.js +1 -1
- package/dist/esm/api/types/BadRequestErrorBody.d.ts +3 -5
- package/dist/esm/api/types/BadRequestErrorBodyPublicationsItem.d.ts +4 -0
- package/dist/esm/api/types/BadRequestErrorBodyPublicationsItem.js +2 -0
- package/dist/esm/api/types/TransactionalMetricsResponseBounceBreakdown.d.ts +3 -0
- package/dist/esm/api/types/index.d.ts +1 -0
- package/dist/esm/api/types/index.js +1 -0
- package/dist/esm/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.d.ts +1 -1
- package/dist/esm/serialization/resources/campaigns/types/CreateForAudienceCampaignsRequestSelectionActivityBounceType.js +1 -1
- package/dist/esm/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts +1 -1
- package/dist/esm/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.js +1 -1
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts +1 -1
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.js +1 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts +1 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.js +1 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponse.d.ts +2 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponse.js +2 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.d.ts +10 -0
- package/dist/esm/serialization/resources/integrations/types/ConnectIntegrationsResponsePublication.js +6 -0
- package/dist/esm/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts +1 -1
- package/dist/esm/serialization/resources/integrations/types/DisconnectIntegrationsResponseProvider.js +1 -1
- package/dist/esm/serialization/resources/integrations/types/index.d.ts +1 -0
- package/dist/esm/serialization/resources/integrations/types/index.js +1 -0
- package/dist/esm/serialization/types/BadRequestErrorBody.d.ts +4 -6
- package/dist/esm/serialization/types/BadRequestErrorBody.js +7 -7
- package/dist/esm/serialization/types/BadRequestErrorBodyPublicationsItem.d.ts +10 -0
- package/dist/esm/serialization/types/BadRequestErrorBodyPublicationsItem.js +6 -0
- package/dist/esm/serialization/types/TransactionalMetricsResponseBounceBreakdown.d.ts +1 -0
- package/dist/esm/serialization/types/TransactionalMetricsResponseBounceBreakdown.js +1 -0
- package/dist/esm/serialization/types/index.d.ts +1 -0
- package/dist/esm/serialization/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export interface CreateForAudienceCampaignsRequestSelectionActivity {
|
|
|
8
8
|
automationNodeId?: string;
|
|
9
9
|
/** Only for bounce activity. */
|
|
10
10
|
bounceSubType?: string;
|
|
11
|
-
/** Only for bounce activity. */
|
|
11
|
+
/** Only for bounce activity. Transient is every temporary bounce; Blocked is the part the receiver refused over content, policy or reputation, and Soft is the rest. */
|
|
12
12
|
bounceType?: Sequenzy.CreateForAudienceCampaignsRequestSelectionActivityBounceType;
|
|
13
13
|
campaignId?: string;
|
|
14
14
|
eventType: Sequenzy.CreateForAudienceCampaignsRequestSelectionActivityEventType;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
/** Only for bounce activity. */
|
|
1
|
+
/** Only for bounce activity. Transient is every temporary bounce; Blocked is the part the receiver refused over content, policy or reputation, and Soft is the rest. */
|
|
2
2
|
export declare const CreateForAudienceCampaignsRequestSelectionActivityBounceType: {
|
|
3
3
|
readonly Permanent: "Permanent";
|
|
4
4
|
readonly Transient: "Transient";
|
|
5
|
+
readonly Soft: "Soft";
|
|
6
|
+
readonly Blocked: "Blocked";
|
|
5
7
|
};
|
|
6
8
|
export type CreateForAudienceCampaignsRequestSelectionActivityBounceType = (typeof CreateForAudienceCampaignsRequestSelectionActivityBounceType)[keyof typeof CreateForAudienceCampaignsRequestSelectionActivityBounceType];
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.CreateForAudienceCampaignsRequestSelectionActivityBounceType = void 0;
|
|
5
|
-
/** Only for bounce activity. */
|
|
5
|
+
/** Only for bounce activity. Transient is every temporary bounce; Blocked is the part the receiver refused over content, policy or reputation, and Soft is the rest. */
|
|
6
6
|
exports.CreateForAudienceCampaignsRequestSelectionActivityBounceType = {
|
|
7
7
|
Permanent: "Permanent",
|
|
8
8
|
Transient: "Transient",
|
|
9
|
+
Soft: "Soft",
|
|
10
|
+
Blocked: "Blocked",
|
|
9
11
|
};
|
|
@@ -7,6 +7,7 @@ export interface ListEmailSendsRequest {
|
|
|
7
7
|
automationId?: string;
|
|
8
8
|
/** Filter to one email step of a sequence. Take the node ID from the `steps` array of the sequence metrics endpoint. Combined with `automationId` the two intersect. */
|
|
9
9
|
automationNodeId?: string;
|
|
10
|
+
/** Transient is every temporary bounce. Blocked is the part the receiving server refused over content, policy or reputation, and Soft is the rest. */
|
|
10
11
|
bounceType?: Sequenzy.ListEmailSendsRequestBounceType;
|
|
11
12
|
campaignId?: string;
|
|
12
13
|
days?: number;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const ListEmailSendsRequestBounceType: {
|
|
2
2
|
readonly Permanent: "Permanent";
|
|
3
3
|
readonly Transient: "Transient";
|
|
4
|
+
readonly Soft: "Soft";
|
|
5
|
+
readonly Blocked: "Blocked";
|
|
4
6
|
};
|
|
5
7
|
export type ListEmailSendsRequestBounceType = (typeof ListEmailSendsRequestBounceType)[keyof typeof ListEmailSendsRequestBounceType];
|
|
@@ -30,7 +30,7 @@ export declare class IntegrationsClient {
|
|
|
30
30
|
activatePixel(request: Sequenzy.ActivatePixelIntegrationsRequest, requestOptions?: IntegrationsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ActivatePixelIntegrationsResponse>;
|
|
31
31
|
private __activatePixel;
|
|
32
32
|
/**
|
|
33
|
-
* Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, or
|
|
33
|
+
* Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, attio, or sparkloop. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat and Superwall, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio registers its own webhook when inbound mappings are saved, so it takes no webhookSecret. SparkLoop registers its webhook in SparkLoop during connect and receives partner referrals for one publication (providerAccountId, required only when the account has several). Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
|
|
34
34
|
*
|
|
35
35
|
* @param {Sequenzy.ConnectIntegrationsRequest} request
|
|
36
36
|
* @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -39,6 +39,7 @@ export declare class IntegrationsClient {
|
|
|
39
39
|
* @throws {@link Sequenzy.UnauthorizedError}
|
|
40
40
|
* @throws {@link Sequenzy.ForbiddenError}
|
|
41
41
|
* @throws {@link Sequenzy.ConflictError}
|
|
42
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
42
43
|
* @throws {@link errors.SequenzyError}
|
|
43
44
|
* @throws {@link errors.SequenzyTimeoutError}
|
|
44
45
|
*
|
|
@@ -50,7 +51,7 @@ export declare class IntegrationsClient {
|
|
|
50
51
|
connect(request: Sequenzy.ConnectIntegrationsRequest, requestOptions?: IntegrationsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ConnectIntegrationsResponse>;
|
|
51
52
|
private __connect;
|
|
52
53
|
/**
|
|
53
|
-
* Disconnects Lemon Squeezy locally before removing its managed webhook. Manual webhooks remain under your control. Requires integrations:manage; personal keys require owner or admin access. A cleanupWarning means ingestion is stopped but provider cleanup failed
|
|
54
|
+
* Disconnects Lemon Squeezy or SparkLoop locally before removing its managed webhook. Manual webhooks remain under your control. Requires integrations:manage; personal keys require owner or admin access. A cleanupWarning means ingestion is stopped but provider cleanup failed. For Lemon Squeezy, repeat this request to retry cleanup, including when the integration is already inactive. SparkLoop clears its stored credentials, so delete a leftover webhook in SparkLoop. Other providers require the dashboard. Existing subscribers and history are retained. No request body is required.
|
|
54
55
|
*
|
|
55
56
|
* @param {Sequenzy.DisconnectIntegrationsRequest} request
|
|
56
57
|
* @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -106,7 +106,7 @@ class IntegrationsClient {
|
|
|
106
106
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/integrations/{id}/pixel");
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, or
|
|
109
|
+
* Connects an API-key / webhook-secret integration: polar, paddle, dodo, lemon_squeezy, whop, revenuecat, superwall, creem, chargebee, clerk, posthog, segment, affonso, attio, or sparkloop. Credentials are validated, stored encrypted, and never returned. Lemon Squeezy creates a managed signed webhook when webhookSecret is omitted, or uses a caller-managed secret as fallback. Payment providers queue their initial revenue backfill, except RevenueCat and Superwall, which are webhook-only; Affonso queues its affiliate backfill; PostHog and Segment can optionally import event history. Attio registers its own webhook when inbound mappings are saved, so it takes no webhookSecret. SparkLoop registers its webhook in SparkLoop during connect and receives partner referrals for one publication (providerAccountId, required only when the account has several). Reconnecting replaces stored credentials. OAuth and app-install providers require the dashboard. Requires the integrations:manage scope.
|
|
110
110
|
*
|
|
111
111
|
* @param {Sequenzy.ConnectIntegrationsRequest} request
|
|
112
112
|
* @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,6 +115,7 @@ class IntegrationsClient {
|
|
|
115
115
|
* @throws {@link Sequenzy.UnauthorizedError}
|
|
116
116
|
* @throws {@link Sequenzy.ForbiddenError}
|
|
117
117
|
* @throws {@link Sequenzy.ConflictError}
|
|
118
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
118
119
|
* @throws {@link errors.SequenzyError}
|
|
119
120
|
* @throws {@link errors.SequenzyTimeoutError}
|
|
120
121
|
*
|
|
@@ -170,6 +171,8 @@ class IntegrationsClient {
|
|
|
170
171
|
throw new Sequenzy.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
171
172
|
case 409:
|
|
172
173
|
throw new Sequenzy.ConflictError(_response.error.body, _response.rawResponse);
|
|
174
|
+
case 503:
|
|
175
|
+
throw new Sequenzy.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
173
176
|
default:
|
|
174
177
|
throw new errors.SequenzyError({
|
|
175
178
|
statusCode: _response.error.statusCode,
|
|
@@ -181,7 +184,7 @@ class IntegrationsClient {
|
|
|
181
184
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/integrations/connect");
|
|
182
185
|
}
|
|
183
186
|
/**
|
|
184
|
-
* Disconnects Lemon Squeezy locally before removing its managed webhook. Manual webhooks remain under your control. Requires integrations:manage; personal keys require owner or admin access. A cleanupWarning means ingestion is stopped but provider cleanup failed
|
|
187
|
+
* Disconnects Lemon Squeezy or SparkLoop locally before removing its managed webhook. Manual webhooks remain under your control. Requires integrations:manage; personal keys require owner or admin access. A cleanupWarning means ingestion is stopped but provider cleanup failed. For Lemon Squeezy, repeat this request to retry cleanup, including when the integration is already inactive. SparkLoop clears its stored credentials, so delete a leftover webhook in SparkLoop. Other providers require the dashboard. Existing subscribers and history are retained. No request body is required.
|
|
185
188
|
*
|
|
186
189
|
* @param {Sequenzy.DisconnectIntegrationsRequest} request
|
|
187
190
|
* @param {IntegrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -6,16 +6,16 @@ import type * as Sequenzy from "../../../../index.js";
|
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
8
|
export interface ConnectIntegrationsRequest {
|
|
9
|
-
/** Provider API key. Required for polar, paddle, dodo, lemon_squeezy, whop, revenuecat, creem, chargebee, affonso, and
|
|
9
|
+
/** Provider API key. Required for polar, paddle, dodo, lemon_squeezy, whop, revenuecat, creem, chargebee, affonso, attio, and sparkloop. RevenueCat uses a secret REST API v2 key with Projects read and Customers read permissions. Attio uses the workspace access token. SparkLoop uses the API key from Settings → Integrations. */
|
|
10
10
|
apiKey?: string;
|
|
11
11
|
/** PostHog and Segment only. Imports event history after connecting: PostHog reads the project archive (projectId + personalApiKey); Segment walks your existing contacts' Unify profiles (spaceId + profileApiToken) and covers at most the last 14 days the Profile API serves, because Segment has no bulk event export. */
|
|
12
12
|
historyImport?: Sequenzy.ConnectIntegrationsRequestHistoryImport;
|
|
13
13
|
/** Provider to connect. */
|
|
14
14
|
provider: Sequenzy.ConnectIntegrationsRequestProvider;
|
|
15
|
-
/** Provider account id: Paddle seller ID, Dodo business ID, Lemon Squeezy numeric store ID, Whop company ID, Creem store ID, or Chargebee site name. Polar resolves it from the API key. RevenueCat resolves its project ID from the API key; pass it only when the key can access several projects. Superwall does not use one. */
|
|
15
|
+
/** Provider account id: Paddle seller ID, Dodo business ID, Lemon Squeezy numeric store ID, Whop company ID, Creem store ID, or Chargebee site name. Polar resolves it from the API key. RevenueCat resolves its project ID from the API key; pass it only when the key can access several projects. Superwall does not use one. SparkLoop: the publication ID (pub_...), required only when the account has several publications. */
|
|
16
16
|
providerAccountId?: string;
|
|
17
|
-
/** PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain. */
|
|
17
|
+
/** PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain. SparkLoop: listIds for new referrals. */
|
|
18
18
|
settings?: Sequenzy.ConnectIntegrationsRequestSettings;
|
|
19
|
-
/** Signing secret of the provider webhook. Optional for lemon_squeezy managed provisioning and not used by attio; required for other providers. Lemon Squeezy manual secrets use 16-40 characters. For Chargebee, pass username:password. For RevenueCat, pass at least 16 characters: the authorization header value set on the RevenueCat webhook, or its HMAC signing secret. For Superwall, pass the webhook's whsec_ signing secret, the only credential it needs. For Segment, use 16-153 UTF-8 bytes. */
|
|
19
|
+
/** Signing secret of the provider webhook. Optional for lemon_squeezy managed provisioning and not used by attio; required for other providers. Lemon Squeezy manual secrets use 16-40 characters. For Chargebee, pass username:password. For RevenueCat, pass at least 16 characters: the authorization header value set on the RevenueCat webhook, or its HMAC signing secret. For Superwall, pass the webhook's whsec_ signing secret, the only credential it needs. For Segment, use 16-153 UTF-8 bytes. For SparkLoop, pass the webhook authentication token from SparkLoop Settings → Integrations (sent as the SparkLoop-Token header). */
|
|
20
20
|
webhookSecret?: string;
|
|
21
21
|
}
|
|
@@ -14,5 +14,6 @@ export declare const ConnectIntegrationsRequestProvider: {
|
|
|
14
14
|
readonly Segment: "segment";
|
|
15
15
|
readonly Affonso: "affonso";
|
|
16
16
|
readonly Attio: "attio";
|
|
17
|
+
readonly Sparkloop: "sparkloop";
|
|
17
18
|
};
|
|
18
19
|
export type ConnectIntegrationsRequestProvider = (typeof ConnectIntegrationsRequestProvider)[keyof typeof ConnectIntegrationsRequestProvider];
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain.
|
|
2
|
+
* PostHog and Segment: event delivery scope. Attio: listMap (Sequenzy list id to Attio list id or slug) and syncCompanyFromDomain. SparkLoop: listIds for new referrals.
|
|
3
3
|
*/
|
|
4
4
|
export interface ConnectIntegrationsRequestSettings {
|
|
5
5
|
eventAllowlist?: string[];
|
|
6
|
+
/** SparkLoop only. Lists new referrals join. Omit to keep the current choice (the workspace default lists on a first connect), null to reset to the workspace default lists, or an empty array for none. */
|
|
7
|
+
listIds?: string[] | null;
|
|
6
8
|
/** Attio only. Sequenzy list id to Attio list UUID or slug. */
|
|
7
9
|
listMap?: Record<string, string>;
|
|
8
10
|
syncAllEvents?: boolean;
|
|
@@ -5,6 +5,8 @@ export interface ConnectIntegrationsResponse {
|
|
|
5
5
|
/** PostHog and Segment only. Outcome of the optional history import request. */
|
|
6
6
|
history?: Sequenzy.ConnectIntegrationsResponseHistory;
|
|
7
7
|
integration?: Sequenzy.IntegrationSummary;
|
|
8
|
+
/** SparkLoop only. The publication whose partner referrals this workspace receives. */
|
|
9
|
+
publication?: Sequenzy.ConnectIntegrationsResponsePublication;
|
|
8
10
|
/** Payment providers only. Whether the initial revenue backfill was queued. */
|
|
9
11
|
revenueSyncQueued?: boolean;
|
|
10
12
|
success?: boolean;
|
|
@@ -12,6 +14,6 @@ export interface ConnectIntegrationsResponse {
|
|
|
12
14
|
testMode?: boolean;
|
|
13
15
|
/** Lemon Squeezy only. Whether Sequenzy manages the provider webhook. */
|
|
14
16
|
webhookProvisioning?: Sequenzy.ConnectIntegrationsResponseWebhookProvisioning;
|
|
15
|
-
/** Provider webhook URL. Lemon Squeezy managed mode installs it automatically; manual mode uses the supplied secret. Empty for Attio. */
|
|
17
|
+
/** Provider webhook URL. Lemon Squeezy managed mode installs it automatically; manual mode uses the supplied secret. SparkLoop's is already registered in SparkLoop. Empty for Attio. */
|
|
16
18
|
webhookUrl?: string;
|
|
17
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Sequenzy from "../../../index.js";
|
|
2
2
|
export interface DisconnectIntegrationsResponse {
|
|
3
|
-
/** Null when cleanup succeeded or no managed webhook exists. Otherwise repeat disconnect to retry
|
|
3
|
+
/** Null when cleanup succeeded or no managed webhook exists. Otherwise repeat disconnect to retry Lemon Squeezy cleanup, or delete the SparkLoop webhook in SparkLoop. */
|
|
4
4
|
cleanupWarning: string | null;
|
|
5
5
|
integrationId: string;
|
|
6
6
|
message: string;
|
package/dist/cjs/api/resources/integrations/types/DisconnectIntegrationsResponseProvider.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const DisconnectIntegrationsResponseProvider: {
|
|
2
2
|
readonly LemonSqueezy: "lemon_squeezy";
|
|
3
|
+
readonly Sparkloop: "sparkloop";
|
|
3
4
|
};
|
|
4
5
|
export type DisconnectIntegrationsResponseProvider = (typeof DisconnectIntegrationsResponseProvider)[keyof typeof DisconnectIntegrationsResponseProvider];
|
|
@@ -5,6 +5,7 @@ export * from "./ConnectIntegrationsRequestProvider.js";
|
|
|
5
5
|
export * from "./ConnectIntegrationsRequestSettings.js";
|
|
6
6
|
export * from "./ConnectIntegrationsResponse.js";
|
|
7
7
|
export * from "./ConnectIntegrationsResponseHistory.js";
|
|
8
|
+
export * from "./ConnectIntegrationsResponsePublication.js";
|
|
8
9
|
export * from "./ConnectIntegrationsResponseWebhookProvisioning.js";
|
|
9
10
|
export * from "./DisconnectIntegrationsResponse.js";
|
|
10
11
|
export * from "./DisconnectIntegrationsResponseProvider.js";
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./ConnectIntegrationsRequestProvider.js"), exports);
|
|
|
21
21
|
__exportStar(require("./ConnectIntegrationsRequestSettings.js"), exports);
|
|
22
22
|
__exportStar(require("./ConnectIntegrationsResponse.js"), exports);
|
|
23
23
|
__exportStar(require("./ConnectIntegrationsResponseHistory.js"), exports);
|
|
24
|
+
__exportStar(require("./ConnectIntegrationsResponsePublication.js"), exports);
|
|
24
25
|
__exportStar(require("./ConnectIntegrationsResponseWebhookProvisioning.js"), exports);
|
|
25
26
|
__exportStar(require("./DisconnectIntegrationsResponse.js"), exports);
|
|
26
27
|
__exportStar(require("./DisconnectIntegrationsResponseProvider.js"), exports);
|
|
@@ -93,7 +93,7 @@ export declare class WebsitesClient {
|
|
|
93
93
|
list(requestOptions?: WebsitesClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ListWebsitesResponse>;
|
|
94
94
|
private __list;
|
|
95
95
|
/**
|
|
96
|
-
* Starts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out.
|
|
96
|
+
* Starts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out. The domain also gets a new 2048-bit DKIM key; you still publish the same four CNAMEs. An older SES-only domain needs a working DMARC record first, otherwise the request returns 400. Call POST /websites/{domain}/verify after publishing to check now; it does not skip the wait. After the switch, website.dnsUpgrade lists the old records to delete after deleteOldRecordsAfter; for an older SES-only domain these include the old return path records (MX and TXT at send.<domain>) and the DKIM TXT, and DMARC stays. Requires websites:write.
|
|
97
97
|
*
|
|
98
98
|
* @param {Sequenzy.StartSendingDomainDnsUpgradeRequest} request
|
|
99
99
|
* @param {WebsitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -335,7 +335,7 @@ class WebsitesClient {
|
|
|
335
335
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/websites");
|
|
336
336
|
}
|
|
337
337
|
/**
|
|
338
|
-
* Starts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out.
|
|
338
|
+
* Starts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out. The domain also gets a new 2048-bit DKIM key; you still publish the same four CNAMEs. An older SES-only domain needs a working DMARC record first, otherwise the request returns 400. Call POST /websites/{domain}/verify after publishing to check now; it does not skip the wait. After the switch, website.dnsUpgrade lists the old records to delete after deleteOldRecordsAfter; for an older SES-only domain these include the old return path records (MX and TXT at send.<domain>) and the DKIM TXT, and DMARC stays. Requires websites:write.
|
|
339
339
|
*
|
|
340
340
|
* @param {Sequenzy.StartSendingDomainDnsUpgradeRequest} request
|
|
341
341
|
* @param {WebsitesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type * as Sequenzy from "../index.js";
|
|
2
|
-
export interface BadRequestErrorBody {
|
|
3
|
-
code
|
|
4
|
-
|
|
5
|
-
issues?: Sequenzy.DesignMdIssue[];
|
|
6
|
-
success?: boolean;
|
|
2
|
+
export interface BadRequestErrorBody extends Sequenzy.Error_ {
|
|
3
|
+
/** SparkLoop only, with code sparkloop_publication_required. The publications to pass as providerAccountId. */
|
|
4
|
+
publications?: Sequenzy.BadRequestErrorBodyPublicationsItem[];
|
|
7
5
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type * as Sequenzy from "../index.js";
|
|
2
2
|
export interface TransactionalMetricsResponseBounceBreakdown {
|
|
3
|
+
/** Temporary bounces the receiving server refused over content, policy, reputation or sender authentication (subtypes ContentRejected, AttachmentRejected, ReputationBlocked, NonRecipientFailure and AppleRelayUnregistered). A subset of transient; soft bounces are transient minus blocked. Blocked bounces never suppress the address. */
|
|
4
|
+
blocked?: number;
|
|
3
5
|
permanent?: number;
|
|
4
6
|
subtypes?: Sequenzy.TransactionalMetricsResponseBounceBreakdownSubtypesItem[];
|
|
7
|
+
/** Every temporary bounce, including blocked ones. */
|
|
5
8
|
transient?: number;
|
|
6
9
|
undetermined?: number;
|
|
7
10
|
}
|
|
@@ -68,6 +68,7 @@ export * from "./BadRequestErrorBodyCode.js";
|
|
|
68
68
|
export * from "./BadRequestErrorBodyDetails.js";
|
|
69
69
|
export * from "./BadRequestErrorBodyDetailsLimit.js";
|
|
70
70
|
export * from "./BadRequestErrorBodyError.js";
|
|
71
|
+
export * from "./BadRequestErrorBodyPublicationsItem.js";
|
|
71
72
|
export * from "./BlockFieldWarnings.js";
|
|
72
73
|
export * from "./BulkSubscriberTagRequest.js";
|
|
73
74
|
export * from "./BulkSubscriberTagResponse.js";
|
|
@@ -84,6 +84,7 @@ __exportStar(require("./BadRequestErrorBodyCode.js"), exports);
|
|
|
84
84
|
__exportStar(require("./BadRequestErrorBodyDetails.js"), exports);
|
|
85
85
|
__exportStar(require("./BadRequestErrorBodyDetailsLimit.js"), exports);
|
|
86
86
|
__exportStar(require("./BadRequestErrorBodyError.js"), exports);
|
|
87
|
+
__exportStar(require("./BadRequestErrorBodyPublicationsItem.js"), exports);
|
|
87
88
|
__exportStar(require("./BlockFieldWarnings.js"), exports);
|
|
88
89
|
__exportStar(require("./BulkSubscriberTagRequest.js"), exports);
|
|
89
90
|
__exportStar(require("./BulkSubscriberTagResponse.js"), exports);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const CreateForAudienceCampaignsRequestSelectionActivityBounceType: core.serialization.Schema<serializers.CreateForAudienceCampaignsRequestSelectionActivityBounceType.Raw, Sequenzy.CreateForAudienceCampaignsRequestSelectionActivityBounceType>;
|
|
5
5
|
export declare namespace CreateForAudienceCampaignsRequestSelectionActivityBounceType {
|
|
6
|
-
type Raw = "Permanent" | "Transient";
|
|
6
|
+
type Raw = "Permanent" | "Transient" | "Soft" | "Blocked";
|
|
7
7
|
}
|
|
@@ -26,4 +26,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.CreateForAudienceCampaignsRequestSelectionActivityBounceType = void 0;
|
|
28
28
|
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
-
exports.CreateForAudienceCampaignsRequestSelectionActivityBounceType = core.serialization.enum_(["Permanent", "Transient"]);
|
|
29
|
+
exports.CreateForAudienceCampaignsRequestSelectionActivityBounceType = core.serialization.enum_(["Permanent", "Transient", "Soft", "Blocked"]);
|
package/dist/cjs/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const ListEmailSendsRequestBounceType: core.serialization.Schema<serializers.ListEmailSendsRequestBounceType.Raw, Sequenzy.ListEmailSendsRequestBounceType>;
|
|
5
5
|
export declare namespace ListEmailSendsRequestBounceType {
|
|
6
|
-
type Raw = "Permanent" | "Transient";
|
|
6
|
+
type Raw = "Permanent" | "Transient" | "Soft" | "Blocked";
|
|
7
7
|
}
|
package/dist/cjs/serialization/resources/emailSends/types/ListEmailSendsRequestBounceType.js
CHANGED
|
@@ -26,4 +26,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.ListEmailSendsRequestBounceType = void 0;
|
|
28
28
|
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
-
exports.ListEmailSendsRequestBounceType = core.serialization.enum_(["Permanent", "Transient"]);
|
|
29
|
+
exports.ListEmailSendsRequestBounceType = core.serialization.enum_(["Permanent", "Transient", "Soft", "Blocked"]);
|
package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestProvider.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const ConnectIntegrationsRequestProvider: core.serialization.Schema<serializers.ConnectIntegrationsRequestProvider.Raw, Sequenzy.ConnectIntegrationsRequestProvider>;
|
|
5
5
|
export declare namespace ConnectIntegrationsRequestProvider {
|
|
6
|
-
type Raw = "polar" | "paddle" | "dodo" | "lemon_squeezy" | "whop" | "revenuecat" | "superwall" | "creem" | "chargebee" | "clerk" | "posthog" | "segment" | "affonso" | "attio";
|
|
6
|
+
type Raw = "polar" | "paddle" | "dodo" | "lemon_squeezy" | "whop" | "revenuecat" | "superwall" | "creem" | "chargebee" | "clerk" | "posthog" | "segment" | "affonso" | "attio" | "sparkloop";
|
|
7
7
|
}
|
package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const ConnectIntegrationsRequestSettings: core.serialization.Obje
|
|
|
5
5
|
export declare namespace ConnectIntegrationsRequestSettings {
|
|
6
6
|
interface Raw {
|
|
7
7
|
eventAllowlist?: string[] | null;
|
|
8
|
+
listIds?: (string[] | null | undefined) | null;
|
|
8
9
|
listMap?: Record<string, string> | null;
|
|
9
10
|
syncAllEvents?: boolean | null;
|
|
10
11
|
syncCompanyFromDomain?: boolean | null;
|
package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsRequestSettings.js
CHANGED
|
@@ -28,6 +28,7 @@ exports.ConnectIntegrationsRequestSettings = void 0;
|
|
|
28
28
|
const core = __importStar(require("../../../../core/index.js"));
|
|
29
29
|
exports.ConnectIntegrationsRequestSettings = core.serialization.object({
|
|
30
30
|
eventAllowlist: core.serialization.list(core.serialization.string()).optional(),
|
|
31
|
+
listIds: core.serialization.list(core.serialization.string()).optionalNullable(),
|
|
31
32
|
listMap: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
32
33
|
syncAllEvents: core.serialization.boolean().optional(),
|
|
33
34
|
syncCompanyFromDomain: core.serialization.boolean().optional(),
|
package/dist/cjs/serialization/resources/integrations/types/ConnectIntegrationsResponse.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { IntegrationSummary } from "../../../types/IntegrationSummary.js";
|
|
5
5
|
import { ConnectIntegrationsResponseHistory } from "./ConnectIntegrationsResponseHistory.js";
|
|
6
|
+
import { ConnectIntegrationsResponsePublication } from "./ConnectIntegrationsResponsePublication.js";
|
|
6
7
|
import { ConnectIntegrationsResponseWebhookProvisioning } from "./ConnectIntegrationsResponseWebhookProvisioning.js";
|
|
7
8
|
export declare const ConnectIntegrationsResponse: core.serialization.ObjectSchema<serializers.ConnectIntegrationsResponse.Raw, Sequenzy.ConnectIntegrationsResponse>;
|
|
8
9
|
export declare namespace ConnectIntegrationsResponse {
|
|
@@ -10,6 +11,7 @@ export declare namespace ConnectIntegrationsResponse {
|
|
|
10
11
|
backfillQueued?: boolean | null;
|
|
11
12
|
history?: ConnectIntegrationsResponseHistory.Raw | null;
|
|
12
13
|
integration?: IntegrationSummary.Raw | null;
|
|
14
|
+
publication?: ConnectIntegrationsResponsePublication.Raw | null;
|
|
13
15
|
revenueSyncQueued?: boolean | null;
|
|
14
16
|
success?: boolean | null;
|
|
15
17
|
testMode?: boolean | null;
|
|
@@ -28,11 +28,13 @@ exports.ConnectIntegrationsResponse = void 0;
|
|
|
28
28
|
const core = __importStar(require("../../../../core/index.js"));
|
|
29
29
|
const IntegrationSummary_js_1 = require("../../../types/IntegrationSummary.js");
|
|
30
30
|
const ConnectIntegrationsResponseHistory_js_1 = require("./ConnectIntegrationsResponseHistory.js");
|
|
31
|
+
const ConnectIntegrationsResponsePublication_js_1 = require("./ConnectIntegrationsResponsePublication.js");
|
|
31
32
|
const ConnectIntegrationsResponseWebhookProvisioning_js_1 = require("./ConnectIntegrationsResponseWebhookProvisioning.js");
|
|
32
33
|
exports.ConnectIntegrationsResponse = core.serialization.object({
|
|
33
34
|
backfillQueued: core.serialization.boolean().optional(),
|
|
34
35
|
history: ConnectIntegrationsResponseHistory_js_1.ConnectIntegrationsResponseHistory.optional(),
|
|
35
36
|
integration: IntegrationSummary_js_1.IntegrationSummary.optional(),
|
|
37
|
+
publication: ConnectIntegrationsResponsePublication_js_1.ConnectIntegrationsResponsePublication.optional(),
|
|
36
38
|
revenueSyncQueued: core.serialization.boolean().optional(),
|
|
37
39
|
success: core.serialization.boolean().optional(),
|
|
38
40
|
testMode: core.serialization.boolean().optional(),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const ConnectIntegrationsResponsePublication: core.serialization.ObjectSchema<serializers.ConnectIntegrationsResponsePublication.Raw, Sequenzy.ConnectIntegrationsResponsePublication>;
|
|
5
|
+
export declare namespace ConnectIntegrationsResponsePublication {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.ConnectIntegrationsResponsePublication = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
exports.ConnectIntegrationsResponsePublication = core.serialization.object({
|
|
30
|
+
id: core.serialization.string().optional(),
|
|
31
|
+
name: core.serialization.string().optional(),
|
|
32
|
+
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const DisconnectIntegrationsResponseProvider: core.serialization.Schema<serializers.DisconnectIntegrationsResponseProvider.Raw, Sequenzy.DisconnectIntegrationsResponseProvider>;
|
|
5
5
|
export declare namespace DisconnectIntegrationsResponseProvider {
|
|
6
|
-
type Raw = "lemon_squeezy";
|
|
6
|
+
type Raw = "lemon_squeezy" | "sparkloop";
|
|
7
7
|
}
|
|
@@ -26,4 +26,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.DisconnectIntegrationsResponseProvider = void 0;
|
|
28
28
|
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
-
exports.DisconnectIntegrationsResponseProvider = core.serialization.enum_(["lemon_squeezy"]);
|
|
29
|
+
exports.DisconnectIntegrationsResponseProvider = core.serialization.enum_(["lemon_squeezy", "sparkloop"]);
|
|
@@ -5,6 +5,7 @@ export * from "./ConnectIntegrationsRequestProvider.js";
|
|
|
5
5
|
export * from "./ConnectIntegrationsRequestSettings.js";
|
|
6
6
|
export * from "./ConnectIntegrationsResponse.js";
|
|
7
7
|
export * from "./ConnectIntegrationsResponseHistory.js";
|
|
8
|
+
export * from "./ConnectIntegrationsResponsePublication.js";
|
|
8
9
|
export * from "./ConnectIntegrationsResponseWebhookProvisioning.js";
|
|
9
10
|
export * from "./DisconnectIntegrationsResponse.js";
|
|
10
11
|
export * from "./DisconnectIntegrationsResponseProvider.js";
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./ConnectIntegrationsRequestProvider.js"), exports);
|
|
|
21
21
|
__exportStar(require("./ConnectIntegrationsRequestSettings.js"), exports);
|
|
22
22
|
__exportStar(require("./ConnectIntegrationsResponse.js"), exports);
|
|
23
23
|
__exportStar(require("./ConnectIntegrationsResponseHistory.js"), exports);
|
|
24
|
+
__exportStar(require("./ConnectIntegrationsResponsePublication.js"), exports);
|
|
24
25
|
__exportStar(require("./ConnectIntegrationsResponseWebhookProvisioning.js"), exports);
|
|
25
26
|
__exportStar(require("./DisconnectIntegrationsResponse.js"), exports);
|
|
26
27
|
__exportStar(require("./DisconnectIntegrationsResponseProvider.js"), exports);
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type * as Sequenzy from "../../api/index.js";
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { BadRequestErrorBodyPublicationsItem } from "./BadRequestErrorBodyPublicationsItem.js";
|
|
5
|
+
import { Error_ } from "./Error_.js";
|
|
5
6
|
export declare const BadRequestErrorBody: core.serialization.ObjectSchema<serializers.BadRequestErrorBody.Raw, Sequenzy.BadRequestErrorBody>;
|
|
6
7
|
export declare namespace BadRequestErrorBody {
|
|
7
|
-
interface Raw {
|
|
8
|
-
|
|
9
|
-
error?: string | null;
|
|
10
|
-
issues?: DesignMdIssue.Raw[] | null;
|
|
11
|
-
success?: boolean | null;
|
|
8
|
+
interface Raw extends Error_.Raw {
|
|
9
|
+
publications?: BadRequestErrorBodyPublicationsItem.Raw[] | null;
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -26,10 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.BadRequestErrorBody = void 0;
|
|
28
28
|
const core = __importStar(require("../../core/index.js"));
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
const BadRequestErrorBodyPublicationsItem_js_1 = require("./BadRequestErrorBodyPublicationsItem.js");
|
|
30
|
+
const Error__js_1 = require("./Error_.js");
|
|
31
|
+
exports.BadRequestErrorBody = core.serialization
|
|
32
|
+
.object({
|
|
33
|
+
publications: core.serialization.list(BadRequestErrorBodyPublicationsItem_js_1.BadRequestErrorBodyPublicationsItem).optional(),
|
|
34
|
+
})
|
|
35
|
+
.extend(Error__js_1.Error_);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const BadRequestErrorBodyPublicationsItem: core.serialization.ObjectSchema<serializers.BadRequestErrorBodyPublicationsItem.Raw, Sequenzy.BadRequestErrorBodyPublicationsItem>;
|
|
5
|
+
export declare namespace BadRequestErrorBodyPublicationsItem {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|