@zapier/zapier-sdk 0.69.2 → 0.69.3

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.69.3
4
+
5
+ ### Patch Changes
6
+
7
+ - c4df375: Restore `connections`, `app_versions`, and `trigger` input fields on the
8
+ experimental `publishWorkflowVersion` plugin. The fields were dropped
9
+ during the port from `@zapier/zapier-sdk-code-substrate`, leaving
10
+ workflows published via the in-tree plugin unable to bind connection
11
+ aliases or wire a trigger. Shape matches the durableworkflowzaps
12
+ backend: connections as `{alias: {connection_id: ...}}`, app_versions as
13
+ `{alias: {implementation_name, version?}}`, and trigger as a nested
14
+ object with `selected_api` + `action` required.
15
+
3
16
  ## 0.69.2
4
17
 
5
18
  ### Patch Changes
package/README.md CHANGED
@@ -1130,23 +1130,26 @@ Create a durable workflow container. Starts disabled with no version; publish a
1130
1130
 
1131
1131
  **Parameters:**
1132
1132
 
1133
- | Name | Type | Required | Default | Possible Values | Description |
1134
- | ----------------- | -------- | -------- | ------- | --------------- | ------------------------------------- |
1135
- | `options` | `object` | ✅ | — | — | |
1136
- | ​ ↳ `name` | `string` | ✅ | — | — | Workflow name |
1137
- | ​ ↳ `description` | `string` | ❌ | — | — | Optional description for the workflow |
1133
+ | Name | Type | Required | Default | Possible Values | Description |
1134
+ | ----------------- | --------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------------------------------- |
1135
+ | `options` | `object` | ✅ | — | — | |
1136
+ | ​ ↳ `name` | `string` | ✅ | — | — | Workflow name |
1137
+ | ​ ↳ `description` | `string` | ❌ | — | — | Optional description for the workflow |
1138
+ | ​ ↳ `is_private` | `boolean` | ❌ | — | — | If true, only the creating user can see or manage this workflow. Defaults to false (account-visible). |
1138
1139
 
1139
1140
  **Returns:** `Promise<WorkflowItem>`
1140
1141
 
1141
- | Name | Type | Required | Possible Values | Description |
1142
- | ----------------- | --------- | -------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
1143
- | `data` | `object` | ✅ | — | |
1144
- | ​ ↳ `id` | `string` | ✅ | — | Workflow ID (UUID) |
1145
- | ​ ↳ `name` | `string` | ✅ | — | Workflow name |
1146
- | ​ ↳ `description` | `string` | ✅ | — | Workflow description (null if unset) |
1147
- | ​ ↳ `trigger_url` | `string` | ✅ | — | Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path — treat as sensitive. |
1148
- | ​ ↳ `enabled` | `boolean` | ✅ | — | Whether the workflow currently accepts triggers. Always false on a new workflow until enabled. |
1149
- | ​ ↳ `created_at` | `string` | ✅ | — | When the workflow was created (ISO-8601) |
1142
+ | Name | Type | Required | Possible Values | Description |
1143
+ | ------------------------ | --------- | -------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
1144
+ | `data` | `object` | ✅ | — | |
1145
+ | ​ ↳ `id` | `string` | ✅ | — | Workflow ID (UUID) |
1146
+ | ​ ↳ `name` | `string` | ✅ | — | Workflow name |
1147
+ | ​ ↳ `description` | `string` | ✅ | — | Workflow description (null if unset) |
1148
+ | ​ ↳ `trigger_url` | `string` | ✅ | — | Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path — treat as sensitive. |
1149
+ | ​ ↳ `enabled` | `boolean` | ✅ | — | Whether the workflow currently accepts triggers. Always false on a new workflow until enabled. |
1150
+ | ​ ↳ `is_private` | `boolean` | ✅ | — | Whether the workflow is private to the creating user. False means account-visible. |
1151
+ | ​ ↳ `created_by_user_id` | `string` | ✅ | — | User ID of the workflow creator (null in legacy data) |
1152
+ | ​ ↳ `created_at` | `string` | ✅ | — | When the workflow was created (ISO-8601) |
1150
1153
 
1151
1154
  **Example:**
1152
1155
 
@@ -1615,14 +1618,21 @@ Publish a new version of a durable workflow. Enables the workflow by default.
1615
1618
 
1616
1619
  **Parameters:**
1617
1620
 
1618
- | Name | Type | Required | Default | Possible Values | Description |
1619
- | ---------------------------- | --------- | -------- | ------- | --------------- | --------------------------------------------------------------------------------------------------------------- |
1620
- | `options` | `object` | ✅ | — | — | |
1621
- | ​ ↳ `workflow` | `string` | ✅ | — | — | Durable workflow ID |
1622
- | ​ ↳ `source_files` | `object` | ✅ | — | — | Source files keyed by filename → contents |
1623
- | ​ ↳ `dependencies` | `object` | ❌ | — | — | Optional npm package dependencies |
1624
- | ​ ↳ `zapier_durable_version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted. |
1625
- | ​ ↳ `enabled` | `boolean` | ❌ | — | — | Enable the workflow after publishing. Defaults to true; pass false to publish without enabling. |
1621
+ | Name | Type | Required | Default | Possible Values | Description |
1622
+ | ---------------------------- | --------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------------------- |
1623
+ | `options` | `object` | ✅ | — | — | |
1624
+ | ​ ↳ `workflow` | `string` | ✅ | — | — | Durable workflow ID |
1625
+ | ​ ↳ `source_files` | `object` | ✅ | — | — | Source files keyed by filename → contents |
1626
+ | ​ ↳ `dependencies` | `object` | ❌ | — | — | Optional npm package dependencies |
1627
+ | ​ ↳ `zapier_durable_version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted. |
1628
+ | ​ ↳ `enabled` | `boolean` | ❌ | — | — | Enable the workflow after publishing. Defaults to true; pass false to publish without enabling. |
1629
+ | ​ ↳ `connections` | `object` | ❌ | — | — | Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding. |
1630
+ | ​ ↳ `app_versions` | `object` | ❌ | — | — | Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding. |
1631
+ | ​ ↳ `trigger` | `object` | ❌ | — | — | Trigger configuration. When provided, the workflow subscribes to a Zapier trigger; omit for webhook-only workflows. |
1632
+ | ​   ↳ `selected_api` | `string` | ✅ | — | — | Zapier app/API identifier (e.g. 'GoogleSheetsAPI') |
1633
+ | ​   ↳ `action` | `string` | ✅ | — | — | Trigger action key (e.g. 'new_row') |
1634
+ | ​   ↳ `authentication_id` | `string` | ❌ | — | — | Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier). |
1635
+ | ​   ↳ `params` | `object` | ❌ | — | — | Trigger parameters as a JSON object |
1626
1636
 
1627
1637
  **Returns:** `Promise<WorkflowVersionItem>`
1628
1638
 
@@ -3171,7 +3171,7 @@ function createSseParserStream() {
3171
3171
  }
3172
3172
 
3173
3173
  // src/sdk-version.ts
3174
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.69.2" : void 0) || "unknown";
3174
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.69.3" : void 0) || "unknown";
3175
3175
 
3176
3176
  // src/utils/open-url.ts
3177
3177
  var nodePrefix = "node:";
@@ -11177,7 +11177,10 @@ var getWorkflowPlugin = definePlugin(
11177
11177
  );
11178
11178
  var CreateWorkflowOptionsSchema = zod.z.object({
11179
11179
  name: zod.z.string().min(1).describe("Workflow name"),
11180
- description: zod.z.string().optional().describe("Optional description for the workflow")
11180
+ description: zod.z.string().optional().describe("Optional description for the workflow"),
11181
+ is_private: zod.z.boolean().optional().describe(
11182
+ "If true, only the creating user can see or manage this workflow. Defaults to false (account-visible)."
11183
+ )
11181
11184
  }).describe(
11182
11185
  "Create a durable workflow container. Starts disabled with no version; publish a version to add code."
11183
11186
  );
@@ -11191,6 +11194,10 @@ var CreateWorkflowResponseSchema = zod.z.object({
11191
11194
  enabled: zod.z.boolean().describe(
11192
11195
  "Whether the workflow currently accepts triggers. Always false on a new workflow until enabled."
11193
11196
  ),
11197
+ is_private: zod.z.boolean().describe(
11198
+ "Whether the workflow is private to the creating user. False means account-visible."
11199
+ ),
11200
+ created_by_user_id: zod.z.string().nullable().describe("User ID of the workflow creator (null in legacy data)"),
11194
11201
  created_at: zod.z.string().describe("When the workflow was created (ISO-8601)")
11195
11202
  });
11196
11203
 
@@ -11208,6 +11215,9 @@ var createWorkflowPlugin = definePlugin(
11208
11215
  if (options.description !== void 0) {
11209
11216
  body.description = options.description;
11210
11217
  }
11218
+ if (options.is_private !== void 0) {
11219
+ body.is_private = options.is_private;
11220
+ }
11211
11221
  const data = await sdk2.context.api.post(
11212
11222
  "/durableworkflowzaps/api/v0/workflows",
11213
11223
  body,
@@ -11658,6 +11668,34 @@ var cancelDurableRunPlugin = definePlugin(
11658
11668
  }
11659
11669
  })
11660
11670
  );
11671
+ var CONNECTION_ID_PATTERN = /^([1-9][0-9]*|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
11672
+ var ConnectionBindingSchema = zod.z.object({
11673
+ connection_id: zod.z.union([
11674
+ zod.z.number().int().positive(),
11675
+ zod.z.string().regex(
11676
+ CONNECTION_ID_PATTERN,
11677
+ "connection_id must be a positive integer string or UUID"
11678
+ )
11679
+ ]).describe(
11680
+ "Zapier connection ID. Positive integer (legacy) or UUID string (newer)."
11681
+ )
11682
+ }).describe(
11683
+ "Connection binding: maps a single alias to a concrete connection."
11684
+ );
11685
+ var AppVersionBindingSchema = zod.z.object({
11686
+ implementation_name: zod.z.string().describe("App implementation identifier (e.g. 'SlackCLIAPI')"),
11687
+ version: zod.z.string().optional().describe("App implementation version (e.g. '1.27.1')")
11688
+ }).describe("App-version binding: maps a single alias to an app version.");
11689
+ var TriggerConfigSchema = zod.z.object({
11690
+ selected_api: zod.z.string().describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
11691
+ action: zod.z.string().describe("Trigger action key (e.g. 'new_row')"),
11692
+ authentication_id: zod.z.string().nullish().describe(
11693
+ "Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier)."
11694
+ ),
11695
+ params: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Trigger parameters as a JSON object")
11696
+ }).describe(
11697
+ "Zapier trigger configuration. When set, the workflow subscribes to trigger events."
11698
+ );
11661
11699
  var PublishWorkflowVersionOptionsSchema = zod.z.object({
11662
11700
  workflow: zod.z.string().uuid().describe("Durable workflow ID"),
11663
11701
  source_files: zod.z.record(zod.z.string(), zod.z.string()).refine((files) => Object.keys(files).length > 0, {
@@ -11669,6 +11707,15 @@ var PublishWorkflowVersionOptionsSchema = zod.z.object({
11669
11707
  ),
11670
11708
  enabled: zod.z.boolean().optional().describe(
11671
11709
  "Enable the workflow after publishing. Defaults to true; pass false to publish without enabling."
11710
+ ),
11711
+ connections: zod.z.record(zod.z.string(), ConnectionBindingSchema).nullish().describe(
11712
+ "Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding."
11713
+ ),
11714
+ app_versions: zod.z.record(zod.z.string(), AppVersionBindingSchema).nullish().describe(
11715
+ "Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding."
11716
+ ),
11717
+ trigger: TriggerConfigSchema.optional().describe(
11718
+ "Trigger configuration. When provided, the workflow subscribes to a Zapier trigger; omit for webhook-only workflows."
11672
11719
  )
11673
11720
  }).describe(
11674
11721
  "Publish a new version of a durable workflow. Enables the workflow by default."
@@ -11708,6 +11755,15 @@ var publishWorkflowVersionPlugin = definePlugin(
11708
11755
  if (options.enabled !== void 0) {
11709
11756
  body.enabled = options.enabled;
11710
11757
  }
11758
+ if (options.connections !== void 0) {
11759
+ body.connections = options.connections;
11760
+ }
11761
+ if (options.app_versions !== void 0) {
11762
+ body.app_versions = options.app_versions;
11763
+ }
11764
+ if (options.trigger !== void 0) {
11765
+ body.trigger = options.trigger;
11766
+ }
11711
11767
  const raw = await sdk2.context.api.post(
11712
11768
  `/durableworkflowzaps/api/v0/workflows/${encodeURIComponent(options.workflow)}/versions`,
11713
11769
  body,
@@ -2580,6 +2580,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2580
2580
  createWorkflow: (options?: {
2581
2581
  name: string;
2582
2582
  description?: string | undefined;
2583
+ is_private?: boolean | undefined;
2583
2584
  } | undefined) => Promise<{
2584
2585
  data: {
2585
2586
  id: string;
@@ -2587,6 +2588,8 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2587
2588
  description: string | null;
2588
2589
  trigger_url: string;
2589
2590
  enabled: boolean;
2591
+ is_private: boolean;
2592
+ created_by_user_id: string | null;
2590
2593
  created_at: string;
2591
2594
  };
2592
2595
  }>;
@@ -2806,6 +2809,19 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2806
2809
  dependencies?: Record<string, string> | undefined;
2807
2810
  zapier_durable_version?: string | undefined;
2808
2811
  enabled?: boolean | undefined;
2812
+ connections?: Record<string, {
2813
+ connection_id: string | number;
2814
+ }> | null | undefined;
2815
+ app_versions?: Record<string, {
2816
+ implementation_name: string;
2817
+ version?: string | undefined;
2818
+ }> | null | undefined;
2819
+ trigger?: {
2820
+ selected_api: string;
2821
+ action: string;
2822
+ authentication_id?: string | null | undefined;
2823
+ params?: Record<string, unknown> | undefined;
2824
+ } | undefined;
2809
2825
  } | undefined) => Promise<{
2810
2826
  data: {
2811
2827
  id: string;
@@ -5569,6 +5585,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
5569
5585
  createWorkflow: (options?: {
5570
5586
  name: string;
5571
5587
  description?: string | undefined;
5588
+ is_private?: boolean | undefined;
5572
5589
  } | undefined) => Promise<{
5573
5590
  data: {
5574
5591
  id: string;
@@ -5576,6 +5593,8 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
5576
5593
  description: string | null;
5577
5594
  trigger_url: string;
5578
5595
  enabled: boolean;
5596
+ is_private: boolean;
5597
+ created_by_user_id: string | null;
5579
5598
  created_at: string;
5580
5599
  };
5581
5600
  }>;
@@ -5795,6 +5814,19 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
5795
5814
  dependencies?: Record<string, string> | undefined;
5796
5815
  zapier_durable_version?: string | undefined;
5797
5816
  enabled?: boolean | undefined;
5817
+ connections?: Record<string, {
5818
+ connection_id: string | number;
5819
+ }> | null | undefined;
5820
+ app_versions?: Record<string, {
5821
+ implementation_name: string;
5822
+ version?: string | undefined;
5823
+ }> | null | undefined;
5824
+ trigger?: {
5825
+ selected_api: string;
5826
+ action: string;
5827
+ authentication_id?: string | null | undefined;
5828
+ params?: Record<string, unknown> | undefined;
5829
+ } | undefined;
5798
5830
  } | undefined) => Promise<{
5799
5831
  data: {
5800
5832
  id: string;
@@ -2595,6 +2595,7 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
2595
2595
  createWorkflow: (options?: {
2596
2596
  name: string;
2597
2597
  description?: string | undefined;
2598
+ is_private?: boolean | undefined;
2598
2599
  } | undefined) => Promise<{
2599
2600
  data: {
2600
2601
  id: string;
@@ -2602,6 +2603,8 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
2602
2603
  description: string | null;
2603
2604
  trigger_url: string;
2604
2605
  enabled: boolean;
2606
+ is_private: boolean;
2607
+ created_by_user_id: string | null;
2605
2608
  created_at: string;
2606
2609
  };
2607
2610
  }>;
@@ -2821,6 +2824,19 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
2821
2824
  dependencies?: Record<string, string> | undefined;
2822
2825
  zapier_durable_version?: string | undefined;
2823
2826
  enabled?: boolean | undefined;
2827
+ connections?: Record<string, {
2828
+ connection_id: string | number;
2829
+ }> | null | undefined;
2830
+ app_versions?: Record<string, {
2831
+ implementation_name: string;
2832
+ version?: string | undefined;
2833
+ }> | null | undefined;
2834
+ trigger?: {
2835
+ selected_api: string;
2836
+ action: string;
2837
+ authentication_id?: string | null | undefined;
2838
+ params?: Record<string, unknown> | undefined;
2839
+ } | undefined;
2824
2840
  } | undefined) => Promise<{
2825
2841
  data: {
2826
2842
  id: string;
@@ -5584,6 +5600,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
5584
5600
  createWorkflow: (options?: {
5585
5601
  name: string;
5586
5602
  description?: string | undefined;
5603
+ is_private?: boolean | undefined;
5587
5604
  } | undefined) => Promise<{
5588
5605
  data: {
5589
5606
  id: string;
@@ -5591,6 +5608,8 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
5591
5608
  description: string | null;
5592
5609
  trigger_url: string;
5593
5610
  enabled: boolean;
5611
+ is_private: boolean;
5612
+ created_by_user_id: string | null;
5594
5613
  created_at: string;
5595
5614
  };
5596
5615
  }>;
@@ -5810,6 +5829,19 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
5810
5829
  dependencies?: Record<string, string> | undefined;
5811
5830
  zapier_durable_version?: string | undefined;
5812
5831
  enabled?: boolean | undefined;
5832
+ connections?: Record<string, {
5833
+ connection_id: string | number;
5834
+ }> | null | undefined;
5835
+ app_versions?: Record<string, {
5836
+ implementation_name: string;
5837
+ version?: string | undefined;
5838
+ }> | null | undefined;
5839
+ trigger?: {
5840
+ selected_api: string;
5841
+ action: string;
5842
+ authentication_id?: string | null | undefined;
5843
+ params?: Record<string, unknown> | undefined;
5844
+ } | undefined;
5813
5845
  } | undefined) => Promise<{
5814
5846
  data: {
5815
5847
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA4F1C,cAAc,SAAS,CAAC;AAExB,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AAE3D;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA2IqrD,CAAC;;;;sBAAiX,CAAC;qBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAhBpoE;AASD,MAAM,WAAW,SAAU,SAAQ,UAAU,CAAC,OAAO,eAAe,CAAC;CAAG;AAMxE,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -3169,7 +3169,7 @@ function createSseParserStream() {
3169
3169
  }
3170
3170
 
3171
3171
  // src/sdk-version.ts
3172
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.69.2" : void 0) || "unknown";
3172
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.69.3" : void 0) || "unknown";
3173
3173
 
3174
3174
  // src/utils/open-url.ts
3175
3175
  var nodePrefix = "node:";
@@ -11175,7 +11175,10 @@ var getWorkflowPlugin = definePlugin(
11175
11175
  );
11176
11176
  var CreateWorkflowOptionsSchema = z.object({
11177
11177
  name: z.string().min(1).describe("Workflow name"),
11178
- description: z.string().optional().describe("Optional description for the workflow")
11178
+ description: z.string().optional().describe("Optional description for the workflow"),
11179
+ is_private: z.boolean().optional().describe(
11180
+ "If true, only the creating user can see or manage this workflow. Defaults to false (account-visible)."
11181
+ )
11179
11182
  }).describe(
11180
11183
  "Create a durable workflow container. Starts disabled with no version; publish a version to add code."
11181
11184
  );
@@ -11189,6 +11192,10 @@ var CreateWorkflowResponseSchema = z.object({
11189
11192
  enabled: z.boolean().describe(
11190
11193
  "Whether the workflow currently accepts triggers. Always false on a new workflow until enabled."
11191
11194
  ),
11195
+ is_private: z.boolean().describe(
11196
+ "Whether the workflow is private to the creating user. False means account-visible."
11197
+ ),
11198
+ created_by_user_id: z.string().nullable().describe("User ID of the workflow creator (null in legacy data)"),
11192
11199
  created_at: z.string().describe("When the workflow was created (ISO-8601)")
11193
11200
  });
11194
11201
 
@@ -11206,6 +11213,9 @@ var createWorkflowPlugin = definePlugin(
11206
11213
  if (options.description !== void 0) {
11207
11214
  body.description = options.description;
11208
11215
  }
11216
+ if (options.is_private !== void 0) {
11217
+ body.is_private = options.is_private;
11218
+ }
11209
11219
  const data = await sdk2.context.api.post(
11210
11220
  "/durableworkflowzaps/api/v0/workflows",
11211
11221
  body,
@@ -11656,6 +11666,34 @@ var cancelDurableRunPlugin = definePlugin(
11656
11666
  }
11657
11667
  })
11658
11668
  );
11669
+ var CONNECTION_ID_PATTERN = /^([1-9][0-9]*|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
11670
+ var ConnectionBindingSchema = z.object({
11671
+ connection_id: z.union([
11672
+ z.number().int().positive(),
11673
+ z.string().regex(
11674
+ CONNECTION_ID_PATTERN,
11675
+ "connection_id must be a positive integer string or UUID"
11676
+ )
11677
+ ]).describe(
11678
+ "Zapier connection ID. Positive integer (legacy) or UUID string (newer)."
11679
+ )
11680
+ }).describe(
11681
+ "Connection binding: maps a single alias to a concrete connection."
11682
+ );
11683
+ var AppVersionBindingSchema = z.object({
11684
+ implementation_name: z.string().describe("App implementation identifier (e.g. 'SlackCLIAPI')"),
11685
+ version: z.string().optional().describe("App implementation version (e.g. '1.27.1')")
11686
+ }).describe("App-version binding: maps a single alias to an app version.");
11687
+ var TriggerConfigSchema = z.object({
11688
+ selected_api: z.string().describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
11689
+ action: z.string().describe("Trigger action key (e.g. 'new_row')"),
11690
+ authentication_id: z.string().nullish().describe(
11691
+ "Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier)."
11692
+ ),
11693
+ params: z.record(z.string(), z.unknown()).optional().describe("Trigger parameters as a JSON object")
11694
+ }).describe(
11695
+ "Zapier trigger configuration. When set, the workflow subscribes to trigger events."
11696
+ );
11659
11697
  var PublishWorkflowVersionOptionsSchema = z.object({
11660
11698
  workflow: z.string().uuid().describe("Durable workflow ID"),
11661
11699
  source_files: z.record(z.string(), z.string()).refine((files) => Object.keys(files).length > 0, {
@@ -11667,6 +11705,15 @@ var PublishWorkflowVersionOptionsSchema = z.object({
11667
11705
  ),
11668
11706
  enabled: z.boolean().optional().describe(
11669
11707
  "Enable the workflow after publishing. Defaults to true; pass false to publish without enabling."
11708
+ ),
11709
+ connections: z.record(z.string(), ConnectionBindingSchema).nullish().describe(
11710
+ "Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding."
11711
+ ),
11712
+ app_versions: z.record(z.string(), AppVersionBindingSchema).nullish().describe(
11713
+ "Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding."
11714
+ ),
11715
+ trigger: TriggerConfigSchema.optional().describe(
11716
+ "Trigger configuration. When provided, the workflow subscribes to a Zapier trigger; omit for webhook-only workflows."
11670
11717
  )
11671
11718
  }).describe(
11672
11719
  "Publish a new version of a durable workflow. Enables the workflow by default."
@@ -11706,6 +11753,15 @@ var publishWorkflowVersionPlugin = definePlugin(
11706
11753
  if (options.enabled !== void 0) {
11707
11754
  body.enabled = options.enabled;
11708
11755
  }
11756
+ if (options.connections !== void 0) {
11757
+ body.connections = options.connections;
11758
+ }
11759
+ if (options.app_versions !== void 0) {
11760
+ body.app_versions = options.app_versions;
11761
+ }
11762
+ if (options.trigger !== void 0) {
11763
+ body.trigger = options.trigger;
11764
+ }
11709
11765
  const raw = await sdk2.context.api.post(
11710
11766
  `/durableworkflowzaps/api/v0/workflows/${encodeURIComponent(options.workflow)}/versions`,
11711
11767
  body,
package/dist/index.cjs CHANGED
@@ -6764,7 +6764,7 @@ function createSseParserStream() {
6764
6764
  }
6765
6765
 
6766
6766
  // src/sdk-version.ts
6767
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.69.2" : void 0) || "unknown";
6767
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.69.3" : void 0) || "unknown";
6768
6768
 
6769
6769
  // src/utils/open-url.ts
6770
6770
  var nodePrefix = "node:";
package/dist/index.mjs CHANGED
@@ -6762,7 +6762,7 @@ function createSseParserStream() {
6762
6762
  }
6763
6763
 
6764
6764
  // src/sdk-version.ts
6765
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.69.2" : void 0) || "unknown";
6765
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.69.3" : void 0) || "unknown";
6766
6766
 
6767
6767
  // src/utils/open-url.ts
6768
6768
  var nodePrefix = "node:";
@@ -24,6 +24,7 @@ export declare const createWorkflowPlugin: (sdk: {
24
24
  createWorkflow: (options?: {
25
25
  name: string;
26
26
  description?: string | undefined;
27
+ is_private?: boolean | undefined;
27
28
  } | undefined) => Promise<{
28
29
  data: {
29
30
  id: string;
@@ -31,6 +32,8 @@ export declare const createWorkflowPlugin: (sdk: {
31
32
  description: string | null;
32
33
  trigger_url: string;
33
34
  enabled: boolean;
35
+ is_private: boolean;
36
+ created_by_user_id: string | null;
34
37
  created_at: string;
35
38
  };
36
39
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/createWorkflow/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBhC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/createWorkflow/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBhC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
@@ -13,6 +13,9 @@ export const createWorkflowPlugin = definePlugin((sdk) => createPluginMethod(sdk
13
13
  if (options.description !== undefined) {
14
14
  body.description = options.description;
15
15
  }
16
+ if (options.is_private !== undefined) {
17
+ body.is_private = options.is_private;
18
+ }
16
19
  const data = await sdk.context.api.post("/durableworkflowzaps/api/v0/workflows", body, { authRequired: true });
17
20
  return { data };
18
21
  },
@@ -2,6 +2,7 @@ import { z } from "zod";
2
2
  export declare const CreateWorkflowOptionsSchema: z.ZodObject<{
3
3
  name: z.ZodString;
4
4
  description: z.ZodOptional<z.ZodString>;
5
+ is_private: z.ZodOptional<z.ZodBoolean>;
5
6
  }, z.core.$strip>;
6
7
  export type CreateWorkflowOptions = z.infer<typeof CreateWorkflowOptionsSchema>;
7
8
  export declare const CreateWorkflowResponseSchema: z.ZodObject<{
@@ -10,6 +11,8 @@ export declare const CreateWorkflowResponseSchema: z.ZodObject<{
10
11
  description: z.ZodNullable<z.ZodString>;
11
12
  trigger_url: z.ZodString;
12
13
  enabled: z.ZodBoolean;
14
+ is_private: z.ZodBoolean;
15
+ created_by_user_id: z.ZodNullable<z.ZodString>;
13
16
  created_at: z.ZodString;
14
17
  }, z.core.$strip>;
15
18
  export type CreateWorkflowResponse = z.infer<typeof CreateWorkflowResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/createWorkflow/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;;iBAUrC,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,4BAA4B;;;;;;;iBAkBvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/createWorkflow/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;;;iBAgBrC,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,4BAA4B;;;;;;;;;iBA2BvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}
@@ -6,6 +6,10 @@ export const CreateWorkflowOptionsSchema = z
6
6
  .string()
7
7
  .optional()
8
8
  .describe("Optional description for the workflow"),
9
+ is_private: z
10
+ .boolean()
11
+ .optional()
12
+ .describe("If true, only the creating user can see or manage this workflow. Defaults to false (account-visible)."),
9
13
  })
10
14
  .describe("Create a durable workflow container. Starts disabled with no version; publish a version to add code.");
11
15
  export const CreateWorkflowResponseSchema = z.object({
@@ -21,5 +25,12 @@ export const CreateWorkflowResponseSchema = z.object({
21
25
  enabled: z
22
26
  .boolean()
23
27
  .describe("Whether the workflow currently accepts triggers. Always false on a new workflow until enabled."),
28
+ is_private: z
29
+ .boolean()
30
+ .describe("Whether the workflow is private to the creating user. False means account-visible."),
31
+ created_by_user_id: z
32
+ .string()
33
+ .nullable()
34
+ .describe("User ID of the workflow creator (null in legacy data)"),
24
35
  created_at: z.string().describe("When the workflow was created (ISO-8601)"),
25
36
  });
@@ -52,6 +52,19 @@ export declare const publishWorkflowVersionPlugin: (sdk: {
52
52
  dependencies?: Record<string, string> | undefined;
53
53
  zapier_durable_version?: string | undefined;
54
54
  enabled?: boolean | undefined;
55
+ connections?: Record<string, {
56
+ connection_id: string | number;
57
+ }> | null | undefined;
58
+ app_versions?: Record<string, {
59
+ implementation_name: string;
60
+ version?: string | undefined;
61
+ }> | null | undefined;
62
+ trigger?: {
63
+ selected_api: string;
64
+ action: string;
65
+ authentication_id?: string | null | undefined;
66
+ params?: Record<string, unknown> | undefined;
67
+ } | undefined;
55
68
  } | undefined) => Promise<{
56
69
  data: {
57
70
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/publishWorkflowVersion/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCxC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAC3D,OAAO,4BAA4B,CACpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/publishWorkflowVersion/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDxC,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAC3D,OAAO,4BAA4B,CACpC,CAAC"}
@@ -23,6 +23,15 @@ export const publishWorkflowVersionPlugin = definePlugin((sdk) => createPluginMe
23
23
  if (options.enabled !== undefined) {
24
24
  body.enabled = options.enabled;
25
25
  }
26
+ if (options.connections !== undefined) {
27
+ body.connections = options.connections;
28
+ }
29
+ if (options.app_versions !== undefined) {
30
+ body.app_versions = options.app_versions;
31
+ }
32
+ if (options.trigger !== undefined) {
33
+ body.trigger = options.trigger;
34
+ }
26
35
  const raw = await sdk.context.api.post(`/durableworkflowzaps/api/v0/workflows/${encodeURIComponent(options.workflow)}/versions`, body, {
27
36
  authRequired: true,
28
37
  resource: { type: "workflow", id: options.workflow },
@@ -5,6 +5,19 @@ export declare const PublishWorkflowVersionOptionsSchema: z.ZodObject<{
5
5
  dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6
6
  zapier_durable_version: z.ZodOptional<z.ZodString>;
7
7
  enabled: z.ZodOptional<z.ZodBoolean>;
8
+ connections: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
9
+ connection_id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
10
+ }, z.core.$strip>>>>;
11
+ app_versions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
12
+ implementation_name: z.ZodString;
13
+ version: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>>>>;
15
+ trigger: z.ZodOptional<z.ZodObject<{
16
+ selected_api: z.ZodString;
17
+ action: z.ZodString;
18
+ authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
+ }, z.core.$strip>>;
8
21
  }, z.core.$strip>;
9
22
  export type PublishWorkflowVersionOptions = z.infer<typeof PublishWorkflowVersionOptionsSchema>;
10
23
  export declare const PublishWorkflowVersionResponseSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/publishWorkflowVersion/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mCAAmC;;;;;;iBA4B7C,CAAC;AAEJ,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;iBAmB/C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/publishWorkflowVersion/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6DxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;iBA2C7C,CAAC;AAEJ,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;iBAmB/C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC"}
@@ -1,4 +1,47 @@
1
1
  import { z } from "zod";
2
+ // Connection ID accepts the same two forms the backend does:
3
+ // positive integer (legacy) or UUID string (newer). Matches the regex
4
+ // on durableworkflowzaps's CreateWorkflowVersionRequest schema.
5
+ const CONNECTION_ID_PATTERN = /^([1-9][0-9]*|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
6
+ const ConnectionBindingSchema = z
7
+ .object({
8
+ connection_id: z
9
+ .union([
10
+ z.number().int().positive(),
11
+ z
12
+ .string()
13
+ .regex(CONNECTION_ID_PATTERN, "connection_id must be a positive integer string or UUID"),
14
+ ])
15
+ .describe("Zapier connection ID. Positive integer (legacy) or UUID string (newer)."),
16
+ })
17
+ .describe("Connection binding: maps a single alias to a concrete connection.");
18
+ const AppVersionBindingSchema = z
19
+ .object({
20
+ implementation_name: z
21
+ .string()
22
+ .describe("App implementation identifier (e.g. 'SlackCLIAPI')"),
23
+ version: z
24
+ .string()
25
+ .optional()
26
+ .describe("App implementation version (e.g. '1.27.1')"),
27
+ })
28
+ .describe("App-version binding: maps a single alias to an app version.");
29
+ const TriggerConfigSchema = z
30
+ .object({
31
+ selected_api: z
32
+ .string()
33
+ .describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
34
+ action: z.string().describe("Trigger action key (e.g. 'new_row')"),
35
+ authentication_id: z
36
+ .string()
37
+ .nullish()
38
+ .describe("Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier)."),
39
+ params: z
40
+ .record(z.string(), z.unknown())
41
+ .optional()
42
+ .describe("Trigger parameters as a JSON object"),
43
+ })
44
+ .describe("Zapier trigger configuration. When set, the workflow subscribes to trigger events.");
2
45
  export const PublishWorkflowVersionOptionsSchema = z
3
46
  .object({
4
47
  workflow: z.string().uuid().describe("Durable workflow ID"),
@@ -20,6 +63,15 @@ export const PublishWorkflowVersionOptionsSchema = z
20
63
  .boolean()
21
64
  .optional()
22
65
  .describe("Enable the workflow after publishing. Defaults to true; pass false to publish without enabling."),
66
+ connections: z
67
+ .record(z.string(), ConnectionBindingSchema)
68
+ .nullish()
69
+ .describe("Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding."),
70
+ app_versions: z
71
+ .record(z.string(), AppVersionBindingSchema)
72
+ .nullish()
73
+ .describe("Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding."),
74
+ trigger: TriggerConfigSchema.optional().describe("Trigger configuration. When provided, the workflow subscribes to a Zapier trigger; omit for webhook-only workflows."),
23
75
  })
24
76
  .describe("Publish a new version of a durable workflow. Enables the workflow by default.");
25
77
  export const PublishWorkflowVersionResponseSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk",
3
- "version": "0.69.2",
3
+ "version": "0.69.3",
4
4
  "description": "Complete Zapier SDK - combines all Zapier SDK packages",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",