@zapier/zapier-sdk 0.73.1 → 0.74.1
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 +12 -0
- package/README.md +33 -29
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/client.js +5 -0
- package/dist/experimental.cjs +71 -16
- package/dist/experimental.d.mts +10 -2
- package/dist/experimental.d.ts +8 -0
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.mjs +70 -17
- package/dist/{index-D1O7Pcex.d.mts → index-B_Fr4RAt.d.mts} +32 -1
- package/dist/{index-D1O7Pcex.d.ts → index-B_Fr4RAt.d.ts} +32 -1
- package/dist/index.cjs +53 -16
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.mjs +52 -17
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +4 -0
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts +4 -0
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.js +7 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts +8 -0
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.js +6 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts +4 -0
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/shared-schemas.js +14 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +2 -0
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +1 -1
- package/dist/utils/caller-context.d.ts +21 -0
- package/dist/utils/caller-context.d.ts.map +1 -0
- package/dist/utils/caller-context.js +35 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.74.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f56bfdb: Surface trigger claim failure reason and workflow disable reason on the experimental `getWorkflow` / `listWorkflows` responses (and therefore the `get-workflow` / `list-workflows` CLI commands). Each `triggers[]` entry gains `error` (the latest claim's failure reason, present when `status` is `failed`), and the workflow gains a top-level `disabled_reason` (`trigger_claim_failed` when system-disabled, otherwise null). The two signals stay independent so an enabled workflow with a failed trigger is representable. Both fields are optional until the CSW API ships them server-side (COSUB-630).
|
|
8
|
+
|
|
9
|
+
## 0.74.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 571f90d: Add zapier-sdk-package-operation header to identify the caller operation
|
|
14
|
+
|
|
3
15
|
## 0.73.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1330,35 +1330,37 @@ Get a durable workflow with its current version details and trigger claim status
|
|
|
1330
1330
|
|
|
1331
1331
|
**Returns:** `Promise<WorkflowItem>`
|
|
1332
1332
|
|
|
1333
|
-
| Name | Type | Required | Possible Values | Description
|
|
1334
|
-
| ------------------------------ | ---------- | -------- | ------------------------------------------------------------------- |
|
|
1335
|
-
| `data` | `object` | ✅ | — |
|
|
1336
|
-
| ↳ `id` | `string` | ✅ | — | Workflow ID (UUID)
|
|
1337
|
-
| ↳ `name` | `string` | ✅ | — | Workflow name
|
|
1338
|
-
| ↳ `description` | `string` | ✅ | — | Optional workflow description (null if unset)
|
|
1339
|
-
| ↳ `trigger_url` | `string` | ✅ | — | Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path — treat as sensitive.
|
|
1340
|
-
| ↳ `enabled` | `boolean` | ✅ | — | Whether the workflow currently accepts triggers
|
|
1341
|
-
| ↳ `
|
|
1342
|
-
| ↳ `
|
|
1343
|
-
| ↳ `
|
|
1344
|
-
|
|
|
1345
|
-
| ↳ `
|
|
1346
|
-
| ↳ `
|
|
1347
|
-
| ↳ `
|
|
1348
|
-
| ↳ `
|
|
1349
|
-
| ↳ `
|
|
1350
|
-
| ↳ `
|
|
1351
|
-
| ↳ `
|
|
1352
|
-
| ↳ `
|
|
1353
|
-
| ↳ `
|
|
1354
|
-
|
|
|
1355
|
-
|
|
|
1356
|
-
| ↳ `
|
|
1357
|
-
| ↳ `
|
|
1358
|
-
| ↳ `
|
|
1359
|
-
| ↳ `
|
|
1360
|
-
|
|
|
1361
|
-
|
|
|
1333
|
+
| Name | Type | Required | Possible Values | Description |
|
|
1334
|
+
| ------------------------------ | ---------- | -------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1335
|
+
| `data` | `object` | ✅ | — | |
|
|
1336
|
+
| ↳ `id` | `string` | ✅ | — | Workflow ID (UUID) |
|
|
1337
|
+
| ↳ `name` | `string` | ✅ | — | Workflow name |
|
|
1338
|
+
| ↳ `description` | `string` | ✅ | — | Optional workflow description (null if unset) |
|
|
1339
|
+
| ↳ `trigger_url` | `string` | ✅ | — | Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path — treat as sensitive. |
|
|
1340
|
+
| ↳ `enabled` | `boolean` | ✅ | — | Whether the workflow currently accepts triggers |
|
|
1341
|
+
| ↳ `disabled_reason` | `string` | ❌ | `trigger_claim_failed` | Why the workflow is off, when system-disabled. Null when not system-disabled. Independent of per-trigger claim status: an enabled workflow can still have a failed trigger. |
|
|
1342
|
+
| ↳ `is_private` | `boolean` | ✅ | — | Whether the workflow is private to the creating user. False means account-visible. |
|
|
1343
|
+
| ↳ `created_by_user_id` | `string` | ✅ | — | User ID of the workflow creator (null in legacy data) |
|
|
1344
|
+
| ↳ `current_version` | `object` | ❌ | — | The currently published version, if any. Absent for workflows with no version published yet. |
|
|
1345
|
+
| ↳ `id` | `string` | ✅ | — | Workflow version ID (UUID) |
|
|
1346
|
+
| ↳ `workflow_id` | `string` | ✅ | — | Parent workflow ID |
|
|
1347
|
+
| ↳ `source_files` | `object` | ✅ | — | Source files keyed by filename → contents |
|
|
1348
|
+
| ↳ `zapier_durable_version` | `string` | ✅ | — | Pinned semver of @zapier/zapier-durable used by this version's runs |
|
|
1349
|
+
| ↳ `dependencies` | `object` | ✅ | — | Additional npm dependencies pinned for this version (or null) |
|
|
1350
|
+
| ↳ `created_by_user_id` | `string` | ✅ | — | ID of the user who published this version |
|
|
1351
|
+
| ↳ `created_at` | `string` | ✅ | — | When the version was published (ISO-8601) |
|
|
1352
|
+
| ↳ `trigger` | `object` | ✅ | — | Trigger configuration persisted on this version, or null for webhook-only workflows. |
|
|
1353
|
+
| ↳ `connections` | `object` | ✅ | — | Connection aliases bound on this version (or null). |
|
|
1354
|
+
| ↳ `app_versions` | `object` | ✅ | — | App-version pins bound on this version (or null). |
|
|
1355
|
+
| ↳ `triggers[]` | `object[]` | ✅ | — | Trigger configurations from the current version, with live claim status. Empty array when the workflow has no triggers. |
|
|
1356
|
+
| ↳ `selected_api` | `string` | ✅ | — | Zapier app/API identifier (e.g. 'GoogleSheetsAPI') |
|
|
1357
|
+
| ↳ `action` | `string` | ✅ | — | Trigger action key (e.g. 'new_row') |
|
|
1358
|
+
| ↳ `authentication_id` | `string` | ❌ | — | Connection ID for the trigger source. Null for no-auth triggers. |
|
|
1359
|
+
| ↳ `params` | `object` | ❌ | — | Trigger parameters as a JSON object |
|
|
1360
|
+
| ↳ `status` | `string` | ✅ | `unclaimed`, `pending`, `active`, `releasing`, `released`, `failed` | Live trigger claim status — whether the trigger is currently subscribed to its source. |
|
|
1361
|
+
| ↳ `error` | `string` | ❌ | — | Failure reason for the latest claim. Present (non-null) only when status is 'failed'. |
|
|
1362
|
+
| ↳ `created_at` | `string` | ✅ | — | When the workflow was created (ISO-8601) |
|
|
1363
|
+
| ↳ `updated_at` | `string` | ✅ | — | When the workflow was last modified (ISO-8601) |
|
|
1362
1364
|
|
|
1363
1365
|
**Example:**
|
|
1364
1366
|
|
|
@@ -1622,6 +1624,7 @@ List all active durable workflows for the authenticated account
|
|
|
1622
1624
|
| ↳ `description` | `string` | ✅ | — | Optional workflow description (null if unset) |
|
|
1623
1625
|
| ↳ `trigger_url` | `string` | ✅ | — | Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path — treat as sensitive. |
|
|
1624
1626
|
| ↳ `enabled` | `boolean` | ✅ | — | Whether the workflow currently accepts triggers |
|
|
1627
|
+
| ↳ `disabled_reason` | `string` | ❌ | `trigger_claim_failed` | Why the workflow is off, when system-disabled. Null when not system-disabled. |
|
|
1625
1628
|
| ↳ `is_private` | `boolean` | ✅ | — | Whether the workflow is private to the creating user. False means account-visible. |
|
|
1626
1629
|
| ↳ `created_by_user_id` | `string` | ✅ | — | User ID of the workflow creator (null in legacy data) |
|
|
1627
1630
|
| ↳ `current_version_id` | `string` | ✅ | — | ID of the workflow version that runs handle. Null until a version is published. |
|
|
@@ -1631,6 +1634,7 @@ List all active durable workflows for the authenticated account
|
|
|
1631
1634
|
| ↳ `authentication_id` | `string` | ❌ | — | Connection ID for the trigger source. Null for no-auth triggers. |
|
|
1632
1635
|
| ↳ `params` | `object` | ❌ | — | Trigger parameters as a JSON object |
|
|
1633
1636
|
| ↳ `status` | `string` | ✅ | `unclaimed`, `pending`, `active`, `releasing`, `released`, `failed` | Live trigger claim status — whether the trigger is currently subscribed to its source. |
|
|
1637
|
+
| ↳ `error` | `string` | ❌ | — | Failure reason for the latest claim. Present (non-null) only when status is 'failed'. |
|
|
1634
1638
|
| ↳ `created_at` | `string` | ✅ | — | When the workflow was created (ISO-8601) |
|
|
1635
1639
|
| ↳ `updated_at` | `string` | ✅ | — | When the workflow was last modified (ISO-8601) |
|
|
1636
1640
|
| `nextCursor` | `string` | ❌ | — | Cursor for the next page; omitted when there are no more pages |
|
package/dist/api/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAIjB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAIjB,MAAM,SAAS,CAAC;AA0kDjB,eAAO,MAAM,eAAe,GAAI,SAAS,gBAAgB,KAAG,SAW3D,CAAC"}
|
package/dist/api/client.js
CHANGED
|
@@ -13,6 +13,7 @@ import { getZapierBaseUrl, isLocalhostBaseUrl } from "../utils/url-utils";
|
|
|
13
13
|
import { sleep, calculateExponentialBackoffMs } from "../utils/retry-utils";
|
|
14
14
|
import { isPlainObject } from "../utils/type-guard-utils";
|
|
15
15
|
import { isAbortError } from "../utils/abort-utils";
|
|
16
|
+
import { getCallerContext } from "../utils/caller-context";
|
|
16
17
|
import { createSseParserStream, jsonFrames, } from "./sse-parser";
|
|
17
18
|
import { consumeApprovalReviewStream } from "./approval-review-stream";
|
|
18
19
|
import { ZapierApiError, ZapierApprovalError, ZapierAuthenticationError, ZapierConfigurationError, ZapierTimeoutError, ZapierValidationError, ZapierResourceNotFoundError, ZapierRateLimitError, } from "../types/errors";
|
|
@@ -771,6 +772,10 @@ class ZapierApiClient {
|
|
|
771
772
|
headers.set("x-zapier-sdk-package", callerPackage.name);
|
|
772
773
|
headers.set("zapier-sdk-package-version", callerPackage.version);
|
|
773
774
|
headers.set("x-zapier-sdk-package-version", callerPackage.version);
|
|
775
|
+
const { packageOperation } = getCallerContext();
|
|
776
|
+
if (packageOperation) {
|
|
777
|
+
headers.set("zapier-sdk-package-operation", packageOperation);
|
|
778
|
+
}
|
|
774
779
|
}
|
|
775
780
|
}
|
|
776
781
|
// Helper to perform HTTP requests with JSON handling
|
package/dist/experimental.cjs
CHANGED
|
@@ -475,22 +475,34 @@ function createValidator(schema, { adaptError } = {}) {
|
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
477
|
var validateOptions = (schema, options, { adaptError } = {}) => parseOrThrow(schema, options, { adaptError });
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
478
|
+
function createAsyncContext() {
|
|
479
|
+
let store = null;
|
|
480
|
+
try {
|
|
481
|
+
store = new async_hooks.AsyncLocalStorage();
|
|
482
|
+
} catch {
|
|
483
|
+
store = null;
|
|
484
|
+
}
|
|
485
|
+
return {
|
|
486
|
+
available: store !== null,
|
|
487
|
+
run(value, fn) {
|
|
488
|
+
return store ? store.run(value, fn) : fn();
|
|
489
|
+
},
|
|
490
|
+
get() {
|
|
491
|
+
return store?.getStore();
|
|
492
|
+
}
|
|
493
|
+
};
|
|
482
494
|
}
|
|
495
|
+
var scope = createAsyncContext();
|
|
483
496
|
function getCurrentScope() {
|
|
484
|
-
|
|
485
|
-
return scopeStore.getStore();
|
|
497
|
+
return scope.get();
|
|
486
498
|
}
|
|
487
499
|
function getCurrentDepth() {
|
|
488
500
|
return getCurrentScope()?.depth ?? 0;
|
|
489
501
|
}
|
|
490
502
|
function runInMethodScope(fn) {
|
|
491
|
-
if (!
|
|
492
|
-
const currentDepth =
|
|
493
|
-
return
|
|
503
|
+
if (!scope.available) return fn();
|
|
504
|
+
const currentDepth = scope.get()?.depth ?? -1;
|
|
505
|
+
return scope.run({ depth: currentDepth + 1 }, fn);
|
|
494
506
|
}
|
|
495
507
|
var runWithTelemetryContext = runInMethodScope;
|
|
496
508
|
function normalizeError(error, adaptError) {
|
|
@@ -2868,10 +2880,10 @@ function mergeScopes(credentialsScope, requiredScopes) {
|
|
|
2868
2880
|
return [...scopeSet].sort();
|
|
2869
2881
|
}
|
|
2870
2882
|
async function exchangeClientCredentials(options) {
|
|
2871
|
-
const { clientId, clientSecret, baseUrl, scope, requiredScopes, onEvent } = options;
|
|
2883
|
+
const { clientId, clientSecret, baseUrl, scope: scope2, requiredScopes, onEvent } = options;
|
|
2872
2884
|
const fetchFn = options.fetch || globalThis.fetch;
|
|
2873
2885
|
const tokenUrl = getTokenEndpointUrl(baseUrl);
|
|
2874
|
-
const mergedScopes = mergeScopes(
|
|
2886
|
+
const mergedScopes = mergeScopes(scope2, requiredScopes);
|
|
2875
2887
|
const scopeString = mergedScopes.join(" ");
|
|
2876
2888
|
onEvent?.({
|
|
2877
2889
|
type: "auth_exchanging",
|
|
@@ -3136,6 +3148,25 @@ async function invalidateCredentialsToken(options) {
|
|
|
3136
3148
|
}
|
|
3137
3149
|
}
|
|
3138
3150
|
|
|
3151
|
+
// src/utils/caller-context.ts
|
|
3152
|
+
var callerContext = createAsyncContext();
|
|
3153
|
+
function runWithCallerContext(context, fn) {
|
|
3154
|
+
let parent;
|
|
3155
|
+
try {
|
|
3156
|
+
parent = callerContext.get() ?? {};
|
|
3157
|
+
} catch {
|
|
3158
|
+
return fn();
|
|
3159
|
+
}
|
|
3160
|
+
return callerContext.run({ ...parent, ...context }, fn);
|
|
3161
|
+
}
|
|
3162
|
+
function getCallerContext() {
|
|
3163
|
+
try {
|
|
3164
|
+
return callerContext.get() ?? {};
|
|
3165
|
+
} catch {
|
|
3166
|
+
return {};
|
|
3167
|
+
}
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3139
3170
|
// src/api/sse-parser.ts
|
|
3140
3171
|
async function* jsonFrames(source) {
|
|
3141
3172
|
for await (const { data } of source) {
|
|
@@ -3287,7 +3318,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
3287
3318
|
}
|
|
3288
3319
|
|
|
3289
3320
|
// src/sdk-version.ts
|
|
3290
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.
|
|
3321
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.74.1" : void 0) || "unknown";
|
|
3291
3322
|
|
|
3292
3323
|
// src/utils/open-url.ts
|
|
3293
3324
|
var nodePrefix = "node:";
|
|
@@ -4011,6 +4042,10 @@ var ZapierApiClient = class {
|
|
|
4011
4042
|
headers.set("x-zapier-sdk-package", callerPackage.name);
|
|
4012
4043
|
headers.set("zapier-sdk-package-version", callerPackage.version);
|
|
4013
4044
|
headers.set("x-zapier-sdk-package-version", callerPackage.version);
|
|
4045
|
+
const { packageOperation } = getCallerContext();
|
|
4046
|
+
if (packageOperation) {
|
|
4047
|
+
headers.set("zapier-sdk-package-operation", packageOperation);
|
|
4048
|
+
}
|
|
4014
4049
|
}
|
|
4015
4050
|
}
|
|
4016
4051
|
// Helper to perform HTTP requests with JSON handling
|
|
@@ -6086,10 +6121,10 @@ var actionItemFormatter = {
|
|
|
6086
6121
|
// src/plugins/eventEmission/method-metadata.ts
|
|
6087
6122
|
var SCOPE_KEY = "methodMetadata";
|
|
6088
6123
|
function setMethodMetadata(metadata) {
|
|
6089
|
-
const
|
|
6090
|
-
if (!
|
|
6091
|
-
const existing =
|
|
6092
|
-
|
|
6124
|
+
const scope2 = getCurrentScope();
|
|
6125
|
+
if (!scope2) return;
|
|
6126
|
+
const existing = scope2[SCOPE_KEY];
|
|
6127
|
+
scope2[SCOPE_KEY] = { ...existing, ...metadata };
|
|
6093
6128
|
}
|
|
6094
6129
|
function getMethodMetadata() {
|
|
6095
6130
|
return getCurrentScope()?.[SCOPE_KEY];
|
|
@@ -11842,6 +11877,7 @@ var WorkflowTriggerStatusSchema = zod.z.enum([
|
|
|
11842
11877
|
"released",
|
|
11843
11878
|
"failed"
|
|
11844
11879
|
]);
|
|
11880
|
+
var WorkflowDisabledReasonSchema = zod.z.enum(["trigger_claim_failed"]);
|
|
11845
11881
|
var WorkflowTriggerSchema = zod.z.object({
|
|
11846
11882
|
selected_api: zod.z.string().describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
|
|
11847
11883
|
action: zod.z.string().describe("Trigger action key (e.g. 'new_row')"),
|
|
@@ -11851,6 +11887,12 @@ var WorkflowTriggerSchema = zod.z.object({
|
|
|
11851
11887
|
params: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Trigger parameters as a JSON object"),
|
|
11852
11888
|
status: WorkflowTriggerStatusSchema.describe(
|
|
11853
11889
|
"Live trigger claim status \u2014 whether the trigger is currently subscribed to its source."
|
|
11890
|
+
),
|
|
11891
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
11892
|
+
// always sends it (null unless status=failed). Already sanitized at write
|
|
11893
|
+
// time — surface verbatim.
|
|
11894
|
+
error: zod.z.string().nullable().optional().describe(
|
|
11895
|
+
"Failure reason for the latest claim. Present (non-null) only when status is 'failed'."
|
|
11854
11896
|
)
|
|
11855
11897
|
}).describe(
|
|
11856
11898
|
"Trigger from a workflow's current version, combined with the live claim status."
|
|
@@ -11865,6 +11907,11 @@ var WorkflowItemSchema = zod.z.object({
|
|
|
11865
11907
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11866
11908
|
),
|
|
11867
11909
|
enabled: zod.z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
11910
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
11911
|
+
// always sends it (null unless the workflow was system-disabled).
|
|
11912
|
+
disabled_reason: WorkflowDisabledReasonSchema.nullable().optional().describe(
|
|
11913
|
+
"Why the workflow is off, when system-disabled. Null when not system-disabled."
|
|
11914
|
+
),
|
|
11868
11915
|
is_private: zod.z.boolean().describe(
|
|
11869
11916
|
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11870
11917
|
),
|
|
@@ -11956,6 +12003,12 @@ var GetWorkflowResponseSchema = zod.z.object({
|
|
|
11956
12003
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11957
12004
|
),
|
|
11958
12005
|
enabled: zod.z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
12006
|
+
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
12007
|
+
// always sends it (null unless the workflow was system-disabled). Kept
|
|
12008
|
+
// independent of per-trigger status+error — see WorkflowDisabledReasonSchema.
|
|
12009
|
+
disabled_reason: WorkflowDisabledReasonSchema.nullable().optional().describe(
|
|
12010
|
+
"Why the workflow is off, when system-disabled. Null when not system-disabled. Independent of per-trigger claim status: an enabled workflow can still have a failed trigger."
|
|
12011
|
+
),
|
|
11959
12012
|
is_private: zod.z.boolean().describe(
|
|
11960
12013
|
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11961
12014
|
),
|
|
@@ -13327,6 +13380,7 @@ exports.getActionPlugin = getActionPlugin;
|
|
|
13327
13380
|
exports.getAgent = getAgent;
|
|
13328
13381
|
exports.getAppPlugin = getAppPlugin;
|
|
13329
13382
|
exports.getBaseUrlFromCredentials = getBaseUrlFromCredentials;
|
|
13383
|
+
exports.getCallerContext = getCallerContext;
|
|
13330
13384
|
exports.getCiPlatform = getCiPlatform;
|
|
13331
13385
|
exports.getClientIdFromCredentials = getClientIdFromCredentials;
|
|
13332
13386
|
exports.getConnectionPlugin = getConnectionPlugin;
|
|
@@ -13385,6 +13439,7 @@ exports.resolveCredentials = resolveCredentials;
|
|
|
13385
13439
|
exports.resolveCredentialsFromEnv = resolveCredentialsFromEnv;
|
|
13386
13440
|
exports.runActionPlugin = runActionPlugin;
|
|
13387
13441
|
exports.runInMethodScope = runInMethodScope;
|
|
13442
|
+
exports.runWithCallerContext = runWithCallerContext;
|
|
13388
13443
|
exports.runWithTelemetryContext = runWithTelemetryContext;
|
|
13389
13444
|
exports.tableFieldIdsResolver = tableFieldIdsResolver;
|
|
13390
13445
|
exports.tableFieldsResolver = tableFieldsResolver;
|
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-
|
|
2
|
-
export { H as Action,
|
|
1
|
+
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-B_Fr4RAt.mjs';
|
|
2
|
+
export { H as Action, ci as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aW as ActionItem, bw as ActionKeyProperty, b4 as ActionKeyPropertySchema, bx as ActionProperty, b5 as ActionPropertySchema, aK as ActionResolverItem, bI as ActionTimeoutMsProperty, bg as ActionTimeoutMsPropertySchema, aL as ActionTypeItem, bv as ActionTypeProperty, b3 as ActionTypePropertySchema, ce as ApiError, dI as ApiEvent, d0 as ApiPluginOptions, d2 as ApiPluginProvides, I as App, cj as AppFactoryInput, aU as AppItem, bt as AppKeyProperty, b1 as AppKeyPropertySchema, bu as AppProperty, b2 as AppPropertySchema, eS as ApplicationLifecycleEventData, ca as ApprovalStatus, ch as AppsPluginProvides, bN as AppsProperty, bl as AppsPropertySchema, a8 as ArrayResolver, dH as AuthEvent, bB as AuthenticationIdProperty, b8 as AuthenticationIdPropertySchema, e_ as BaseEvent, ay as BaseSdkOptionsSchema, am as BatchOptions, cP as CONTEXT_CACHE_MAX_SIZE, cO as CONTEXT_CACHE_TTL_MS, aC as CORE_ERROR_SYMBOL, ai as CallerContext, K as Choice, dO as ClientCredentialsObject, dZ as ClientCredentialsObjectSchema, _ as Connection, e5 as ConnectionEntry, e4 as ConnectionEntrySchema, bz as ConnectionIdProperty, b7 as ConnectionIdPropertySchema, aV as ConnectionItem, bA as ConnectionProperty, b9 as ConnectionPropertySchema, e7 as ConnectionsMap, e6 as ConnectionsMapSchema, e9 as ConnectionsPluginProvides, bP as ConnectionsProperty, bn as ConnectionsPropertySchema, $ as ConnectionsResponse, aD as CoreErrorCode, cB as CreateClientCredentialsPluginProvides, eA as CreateTableFieldsPluginProvides, eu as CreateTablePluginProvides, eI as CreateTableRecordsPluginProvides, dL as Credentials, e2 as CredentialsFunction, e1 as CredentialsFunctionSchema, dN as CredentialsObject, d$ as CredentialsObjectSchema, e3 as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MS, en as DEFAULT_APPROVAL_TIMEOUT_MS, cY as DEFAULT_CONFIG_PATH, eo as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, bG as DebugProperty, be as DebugPropertySchema, cD as DeleteClientCredentialsPluginProvides, eC as DeleteTableFieldsPluginProvides, ew as DeleteTablePluginProvides, eK as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ab as DynamicListResolver, ac as DynamicSearchResolver, eT as EnhancedErrorEventData, bV as ErrorOptions, dK as EventCallback, eR as EventContext, eO as EventEmissionConfig, eQ as EventEmissionProvides, cl as FetchPluginProvides, J as Field, bM as FieldsProperty, bk as FieldsPropertySchema, ad as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cL as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cN as FindUniqueConnectionPluginProvides, a6 as FormattedItem, ax as FunctionDeprecation, aw as FunctionRegistryEntry, cv as GetActionInputFieldsSchemaPluginProvides, cH as GetActionPluginProvides, cF as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cJ as GetConnectionPluginProvides, c$ as GetProfilePluginProvides, es as GetTablePluginProvides, eE as GetTableRecordPluginProvides, aY as InfoFieldItem, aX as InputFieldItem, by as InputFieldProperty, b6 as InputFieldPropertySchema, bC as InputsProperty, ba as InputsPropertySchema, aT as JsonSseMessage, bU as LeaseLimitProperty, bs as LeaseLimitPropertySchema, bS as LeaseProperty, bq as LeasePropertySchema, bT as LeaseSecondsProperty, br as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bD as LimitProperty, bb as LimitPropertySchema, ct as ListActionInputFieldChoicesPluginProvides, cr as ListActionInputFieldsPluginProvides, cp as ListActionsPluginProvides, cn as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cz as ListClientCredentialsPluginProvides, cx as ListConnectionsPluginProvides, ey as ListTableFieldsPluginProvides, eG as ListTableRecordsPluginProvides, eq as ListTablesPluginProvides, dJ as LoadingEvent, eh as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, cZ as ManifestEntry, cU as ManifestPluginOptions, cX as ManifestPluginProvides, e$ as MethodCalledEvent, eU as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bE as OffsetProperty, bc as OffsetPropertySchema, bF as OutputProperty, bd as OutputPropertySchema, b0 as PaginatedSdkFunction, bH as ParamsProperty, bf as ParamsPropertySchema, dP as PkceCredentialsObject, d_ as PkceCredentialsObjectSchema, aE as Plugin, aF as PluginProvides, aO as PollOptions, c8 as RateLimitInfo, bK as RecordProperty, bi as RecordPropertySchema, bL as RecordsProperty, bj as RecordsPropertySchema, ar as RelayFetchSchema, aq as RelayRequestSchema, aN as RequestOptions, cT as RequestPluginProvides, du as ResolveAuthTokenOptions, dU as ResolveCredentialsOptions, dM as ResolvedCredentials, e0 as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, aZ as RootFieldItem, cR as RunActionPluginProvides, dG as SdkEvent, a$ as SdkPage, aS as SseMessage, aa as StaticResolver, bJ as TableProperty, bh as TablePropertySchema, bO as TablesProperty, bm as TablesPropertySchema, bR as TriggerInboxNameProperty, bp as TriggerInboxNamePropertySchema, bQ as TriggerInboxProperty, bo as TriggerInboxPropertySchema, T as TriggerMessageStatus, eM as UpdateTableRecordsPluginProvides, a0 as UserProfile, a_ as UserProfileItem, ea as ZAPIER_BASE_URL, ej as ZAPIER_MAX_CONCURRENT_REQUESTS, ef as ZAPIER_MAX_NETWORK_RETRIES, eg as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c6 as ZapierActionError, b$ as ZapierApiError, c0 as ZapierAppNotFoundError, cb as ZapierApprovalError, bZ as ZapierAuthenticationError, c4 as ZapierBundleError, dC as ZapierCache, dD as ZapierCacheEntry, dE as ZapierCacheSetOptions, c3 as ZapierConfigurationError, c7 as ZapierConflictError, bW as ZapierError, c1 as ZapierNotFoundError, c9 as ZapierRateLimitError, cc as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, c2 as ZapierResourceNotFoundError, cf as ZapierSignal, c5 as ZapierTimeoutError, bY as ZapierUnknownError, bX as ZapierValidationError, d5 as actionKeyResolver, d4 as actionTypeResolver, a5 as addPlugin, d1 as apiPlugin, d3 as appKeyResolver, cg as appsPlugin, d7 as authenticationIdGenericResolver, d6 as authenticationIdResolver, al as batch, eV as buildApplicationLifecycleEvent, an as buildCapabilityMessage, eX as buildErrorEvent, eW as buildErrorEventWithContext, eZ as buildMethodCalledEvent, eN as cleanupEventListeners, dv as clearTokenCache, db as clientCredentialsNameResolver, dc as clientIdResolver, aJ as composePlugins, d7 as connectionIdGenericResolver, d6 as connectionIdResolver, e8 as connectionsPlugin, eY as createBaseEvent, cA as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dF as createMemoryCache, au as createOptionsPlugin, aI as createPaginatedPluginMethod, aH as createPluginMethod, a3 as createPluginStack, at as createSdk, ez as createTableFieldsPlugin, et as createTablePlugin, eH as createTableRecordsPlugin, aP as createZapierApi, av as createZapierCoreStack, as as createZapierSdkWithoutRegistry, aG as definePlugin, cC as deleteClientCredentialsPlugin, eB as deleteTableFieldsPlugin, ev as deleteTablePlugin, eJ as deleteTableRecordsPlugin, dg as durableRunIdResolver, eP as eventEmissionPlugin, ck as fetchPlugin, cK as findFirstConnectionPlugin, cM as findUniqueConnectionPlugin, cd as formatErrorMessage, f0 as generateEventId, cu as getActionInputFieldsSchemaPlugin, cG as getActionPlugin, fa as getAgent, cE as getAppPlugin, dX as getBaseUrlFromCredentials, ag as getCallerContext, f6 as getCiPlatform, dY as getClientIdFromCredentials, cI as getConnectionPlugin, aB as getCoreErrorCause, aA as getCoreErrorCode, f8 as getCpuTime, f1 as getCurrentTimestamp, f7 as getMemoryUsage, aQ as getOrCreateApiClient, f3 as getOsInfo, f4 as getPlatformVersions, cV as getPreferredManifestEntryKey, c_ as getProfilePlugin, f2 as getReleaseId, er as getTablePlugin, eD as getTableRecordPlugin, dz as getTokenFromCliLogin, f9 as getTtyContext, ek as getZapierApprovalMode, em as getZapierDefaultApprovalMode, el as getZapierOpenAutoModeApprovalsInBrowser, eb as getZapierSdkService, dx as injectCliLogin, da as inputFieldKeyResolver, d9 as inputsAllOptionalResolver, d8 as inputsResolver, dw as invalidateCachedToken, dB as invalidateCredentialsToken, f5 as isCi, dy as isCliLoginAvailable, dQ as isClientCredentials, az as isCoreError, dT as isCredentialsFunction, dS as isCredentialsObject, aR as isPermanentHttpError, dR as isPkceCredentials, a1 as isPositional, cs as listActionInputFieldChoicesPlugin, cq as listActionInputFieldsPlugin, co as listActionsPlugin, cm as listAppsPlugin, cy as listClientCredentialsPlugin, cw as listConnectionsPlugin, ex as listTableFieldsPlugin, eF as listTableRecordsPlugin, ep as listTablesPlugin, ao as logDeprecation, cW as manifestPlugin, ei as parseConcurrencyEnvVar, aM as registryPlugin, cS as requestPlugin, ap as resetDeprecationWarnings, dA as resolveAuthToken, dW as resolveCredentials, dV as resolveCredentialsFromEnv, cQ as runActionPlugin, ae as runInMethodScope, ah as runWithCallerContext, af as runWithTelemetryContext, dm as tableFieldIdsResolver, dp as tableFieldsResolver, ds as tableFiltersResolver, dd as tableIdResolver, dn as tableNameResolver, dk as tableRecordIdResolver, dl as tableRecordIdsResolver, dq as tableRecordsResolver, dt as tableSortResolver, dr as tableUpdateRecordsResolver, aj as toSnakeCase, ak as toTitleCase, de as triggerInboxResolver, dj as triggerMessagesResolver, eL as updateTableRecordsPlugin, df as workflowIdResolver, di as workflowRunIdResolver, dh as workflowVersionIdResolver, b_ as zapierAdaptError } from './index-B_Fr4RAt.mjs';
|
|
3
3
|
import * as zod_v4_core from 'zod/v4/core';
|
|
4
4
|
import * as zod from 'zod';
|
|
5
5
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
@@ -2588,9 +2588,11 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
2588
2588
|
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
2589
2589
|
authentication_id?: string | null | undefined;
|
|
2590
2590
|
params?: Record<string, unknown> | undefined;
|
|
2591
|
+
error?: string | null | undefined;
|
|
2591
2592
|
}[];
|
|
2592
2593
|
created_at: string;
|
|
2593
2594
|
updated_at: string;
|
|
2595
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
2594
2596
|
}>;
|
|
2595
2597
|
} & {
|
|
2596
2598
|
context: {
|
|
@@ -2616,9 +2618,11 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
2616
2618
|
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
2617
2619
|
authentication_id?: string | null | undefined;
|
|
2618
2620
|
params?: Record<string, unknown> | undefined;
|
|
2621
|
+
error?: string | null | undefined;
|
|
2619
2622
|
}[];
|
|
2620
2623
|
created_at: string;
|
|
2621
2624
|
updated_at: string;
|
|
2625
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
2622
2626
|
current_version?: {
|
|
2623
2627
|
id: string;
|
|
2624
2628
|
workflow_id: string;
|
|
@@ -5788,9 +5792,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
5788
5792
|
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
5789
5793
|
authentication_id?: string | null | undefined;
|
|
5790
5794
|
params?: Record<string, unknown> | undefined;
|
|
5795
|
+
error?: string | null | undefined;
|
|
5791
5796
|
}[];
|
|
5792
5797
|
created_at: string;
|
|
5793
5798
|
updated_at: string;
|
|
5799
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
5794
5800
|
}>;
|
|
5795
5801
|
} & {
|
|
5796
5802
|
context: {
|
|
@@ -5816,9 +5822,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
5816
5822
|
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
5817
5823
|
authentication_id?: string | null | undefined;
|
|
5818
5824
|
params?: Record<string, unknown> | undefined;
|
|
5825
|
+
error?: string | null | undefined;
|
|
5819
5826
|
}[];
|
|
5820
5827
|
created_at: string;
|
|
5821
5828
|
updated_at: string;
|
|
5829
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
5822
5830
|
current_version?: {
|
|
5823
5831
|
id: string;
|
|
5824
5832
|
workflow_id: string;
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2603,9 +2603,11 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2603
2603
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
2604
2604
|
authentication_id?: string | null | undefined;
|
|
2605
2605
|
params?: Record<string, unknown> | undefined;
|
|
2606
|
+
error?: string | null | undefined;
|
|
2606
2607
|
}[];
|
|
2607
2608
|
created_at: string;
|
|
2608
2609
|
updated_at: string;
|
|
2610
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
2609
2611
|
}>;
|
|
2610
2612
|
} & {
|
|
2611
2613
|
context: {
|
|
@@ -2631,9 +2633,11 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2631
2633
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
2632
2634
|
authentication_id?: string | null | undefined;
|
|
2633
2635
|
params?: Record<string, unknown> | undefined;
|
|
2636
|
+
error?: string | null | undefined;
|
|
2634
2637
|
}[];
|
|
2635
2638
|
created_at: string;
|
|
2636
2639
|
updated_at: string;
|
|
2640
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
2637
2641
|
current_version?: {
|
|
2638
2642
|
id: string;
|
|
2639
2643
|
workflow_id: string;
|
|
@@ -5803,9 +5807,11 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
5803
5807
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
5804
5808
|
authentication_id?: string | null | undefined;
|
|
5805
5809
|
params?: Record<string, unknown> | undefined;
|
|
5810
|
+
error?: string | null | undefined;
|
|
5806
5811
|
}[];
|
|
5807
5812
|
created_at: string;
|
|
5808
5813
|
updated_at: string;
|
|
5814
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
5809
5815
|
}>;
|
|
5810
5816
|
} & {
|
|
5811
5817
|
context: {
|
|
@@ -5831,9 +5837,11 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
5831
5837
|
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
5832
5838
|
authentication_id?: string | null | undefined;
|
|
5833
5839
|
params?: Record<string, unknown> | undefined;
|
|
5840
|
+
error?: string | null | undefined;
|
|
5834
5841
|
}[];
|
|
5835
5842
|
created_at: string;
|
|
5836
5843
|
updated_at: string;
|
|
5844
|
+
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
5837
5845
|
current_version?: {
|
|
5838
5846
|
id: string;
|
|
5839
5847
|
workflow_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../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