@zapier/zapier-sdk-cli 0.56.1 → 0.56.2

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,14 @@
1
1
  # @zapier/zapier-sdk-cli
2
2
 
3
+ ## 0.56.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6c7627c: CamelCase the input params on `runDurable` and `publishWorkflowVersion` (`sourceFiles`, `zapierDurableVersion`, `appVersions`, and the nested connection / app-version / trigger fields), keeping the old snake_case names as deprecated aliases. Handlers map them back to the snake_case wire body; output fields are unchanged.
8
+ - Updated dependencies [6c7627c]
9
+ - @zapier/zapier-sdk@0.73.1
10
+ - @zapier/zapier-sdk-mcp@0.13.37
11
+
3
12
  ## 0.56.1
4
13
 
5
14
  ### Patch Changes
package/README.md CHANGED
@@ -718,22 +718,22 @@ Publish a new version of a durable workflow. Enables the workflow by default.
718
718
  | Option | Type | Required | Default | Possible Values | Description |
719
719
  | -------------------------- | --------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------------------------- |
720
720
  | `<workflow>` | `string` | ✅ | — | — | Durable workflow ID |
721
- | `<source_files>` | `object` | ✅ | — | — | Source files keyed by filename → contents |
721
+ | `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents |
722
722
  | `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies |
723
- | `--zapier_durable_version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted. |
723
+ | `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted. |
724
724
  | `--enabled` | `boolean` | ❌ | — | — | Enable the workflow after publishing. Defaults to true; pass false to publish without enabling. |
725
725
  | `--connections` | `object` | ❌ | — | — | Map of connection aliases to Zapier connections used by the workflow. Pass `null` to clear an existing binding. |
726
- | `--app_versions` | `object` | ❌ | — | — | Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding. |
726
+ | `--app-versions` | `object` | ❌ | — | — | Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding. |
727
727
  | `--trigger` | `object` | ❌ | — | — | Trigger configuration. When provided, the workflow subscribes to a Zapier trigger; omit for webhook-only workflows. |
728
- | ​ ↳ `selected_api` | `string` | | — | — | Zapier app/API identifier (e.g. 'GoogleSheetsAPI') |
728
+ | ​ ↳ `selectedApi` | `string` | | — | — | Zapier app/API identifier (e.g. 'GoogleSheetsAPI'). Required when a trigger is configured. |
729
729
  | ​ ↳ `action` | `string` | ✅ | — | — | Trigger action key (e.g. 'new_row') |
730
- | ​ ↳ `authentication_id` | `string` | ❌ | — | — | Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier). |
730
+ | ​ ↳ `authenticationId` | `string` | ❌ | — | — | Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier). |
731
731
  | ​ ↳ `params` | `object` | ❌ | — | — | Trigger parameters as a JSON object |
732
732
 
733
733
  **Usage:**
734
734
 
735
735
  ```bash
736
- npx zapier-sdk publish-workflow-version <workflow> <source_files> [--dependencies] [--zapier_durable_version] [--enabled] [--connections] [--app_versions] [--trigger]
736
+ npx zapier-sdk publish-workflow-version <workflow> <source-files> [--dependencies] [--zapier-durable-version] [--enabled] [--connections] [--app-versions] [--trigger]
737
737
  ```
738
738
 
739
739
  #### `run-durable` 🧪 _experimental_
@@ -742,21 +742,21 @@ Run a workflow source file as a run-once durable run on sdkdurableapi (no deploy
742
742
 
743
743
  **Options:**
744
744
 
745
- | Option | Type | Required | Default | Possible Values | Description |
746
- | -------------------------- | --------- | -------- | ------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
747
- | `<source_files>` | `object` | ✅ | — | — | Source files keyed by filename → contents |
748
- | `--input` | `unknown` | ❌ | — | — | Input data passed to the run |
749
- | `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies |
750
- | `--zapier_durable_version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted. |
751
- | `--connections` | `object` | ❌ | — | — | Named connection aliases. Maps each alias to an object holding its Zapier connection ID, e.g. `{ "slack": { "connection_id": "123" } }`. |
752
- | `--app_versions` | `object` | ❌ | — | — | Pinned app versions. Maps app keys (slugs) to implementation names and versions. |
753
- | `--private` | `boolean` | ❌ | — | — | Only the creating user can see the run (default false) |
754
- | `--notifications` | `array` | ❌ | — | — | Webhook subscribers for run lifecycle events. Each entry specifies a URL and the events it subscribes to. |
745
+ | Option | Type | Required | Default | Possible Values | Description |
746
+ | -------------------------- | --------- | -------- | ------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
747
+ | `<source-files>` | `object` | ✅ | — | — | Source files keyed by filename → contents |
748
+ | `--input` | `unknown` | ❌ | — | — | Input data passed to the run |
749
+ | `--dependencies` | `object` | ❌ | — | — | Optional npm package dependencies |
750
+ | `--zapier-durable-version` | `string` | ❌ | — | — | Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted. |
751
+ | `--connections` | `object` | ❌ | — | — | Named connection aliases. Maps each alias to an object holding its Zapier connection ID, e.g. `{ "slack": { "connectionId": "123" } }`. |
752
+ | `--app-versions` | `object` | ❌ | — | — | Pinned app versions. Maps app keys (slugs) to implementation names and versions. |
753
+ | `--private` | `boolean` | ❌ | — | — | Only the creating user can see the run (default false) |
754
+ | `--notifications` | `array` | ❌ | — | — | Webhook subscribers for run lifecycle events. Each entry specifies a URL and the events it subscribes to. |
755
755
 
756
756
  **Usage:**
757
757
 
758
758
  ```bash
759
- npx zapier-sdk run-durable <source_files> [--input] [--dependencies] [--zapier_durable_version] [--connections] [--app_versions] [--private] [--notifications]
759
+ npx zapier-sdk run-durable <source-files> [--input] [--dependencies] [--zapier-durable-version] [--connections] [--app-versions] [--private] [--notifications]
760
760
  ```
761
761
 
762
762
  #### `trigger-workflow` 🧪 _experimental_
package/dist/cli.cjs CHANGED
@@ -1576,7 +1576,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
1576
1576
 
1577
1577
  // package.json
1578
1578
  var package_default = {
1579
- version: "0.56.1"};
1579
+ version: "0.56.2"};
1580
1580
 
1581
1581
  // src/telemetry/builders.ts
1582
1582
  function createCliBaseEvent(context = {}) {
@@ -7255,7 +7255,7 @@ var watchTriggerInboxCliPlugin = zapierSdk.definePlugin(
7255
7255
  // package.json with { type: 'json' }
7256
7256
  var package_default2 = {
7257
7257
  name: "@zapier/zapier-sdk-cli",
7258
- version: "0.56.1"};
7258
+ version: "0.56.2"};
7259
7259
 
7260
7260
  // src/sdk.ts
7261
7261
  zapierSdk.injectCliLogin(login_exports);
package/dist/cli.mjs CHANGED
@@ -1533,7 +1533,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
1533
1533
 
1534
1534
  // package.json
1535
1535
  var package_default = {
1536
- version: "0.56.1"};
1536
+ version: "0.56.2"};
1537
1537
 
1538
1538
  // src/telemetry/builders.ts
1539
1539
  function createCliBaseEvent(context = {}) {
@@ -7212,7 +7212,7 @@ var watchTriggerInboxCliPlugin = definePlugin(
7212
7212
  // package.json with { type: 'json' }
7213
7213
  var package_default2 = {
7214
7214
  name: "@zapier/zapier-sdk-cli",
7215
- version: "0.56.1"};
7215
+ version: "0.56.2"};
7216
7216
 
7217
7217
  // src/sdk.ts
7218
7218
  injectCliLogin(login_exports);
@@ -4590,7 +4590,7 @@ var watchTriggerInboxCliPlugin = zapierSdk.definePlugin(
4590
4590
  // package.json with { type: 'json' }
4591
4591
  var package_default = {
4592
4592
  name: "@zapier/zapier-sdk-cli",
4593
- version: "0.56.1"};
4593
+ version: "0.56.2"};
4594
4594
 
4595
4595
  // src/experimental.ts
4596
4596
  experimental.injectCliLogin(login_exports);
@@ -4554,7 +4554,7 @@ var watchTriggerInboxCliPlugin = definePlugin(
4554
4554
  // package.json with { type: 'json' }
4555
4555
  var package_default = {
4556
4556
  name: "@zapier/zapier-sdk-cli",
4557
- version: "0.56.1"};
4557
+ version: "0.56.2"};
4558
4558
 
4559
4559
  // src/experimental.ts
4560
4560
  injectCliLogin(login_exports);
package/dist/index.cjs CHANGED
@@ -4589,7 +4589,7 @@ zapierSdk.definePlugin(
4589
4589
  // package.json with { type: 'json' }
4590
4590
  var package_default = {
4591
4591
  name: "@zapier/zapier-sdk-cli",
4592
- version: "0.56.1"};
4592
+ version: "0.56.2"};
4593
4593
 
4594
4594
  // src/sdk.ts
4595
4595
  zapierSdk.injectCliLogin(login_exports);
@@ -4617,7 +4617,7 @@ function createZapierCliSdk(options = {}) {
4617
4617
 
4618
4618
  // package.json
4619
4619
  var package_default2 = {
4620
- version: "0.56.1"};
4620
+ version: "0.56.2"};
4621
4621
 
4622
4622
  // src/telemetry/builders.ts
4623
4623
  function createCliBaseEvent(context = {}) {
package/dist/index.mjs CHANGED
@@ -4553,7 +4553,7 @@ definePlugin(
4553
4553
  // package.json with { type: 'json' }
4554
4554
  var package_default = {
4555
4555
  name: "@zapier/zapier-sdk-cli",
4556
- version: "0.56.1"};
4556
+ version: "0.56.2"};
4557
4557
 
4558
4558
  // src/sdk.ts
4559
4559
  injectCliLogin(login_exports);
@@ -4581,7 +4581,7 @@ function createZapierCliSdk(options = {}) {
4581
4581
 
4582
4582
  // package.json
4583
4583
  var package_default2 = {
4584
- version: "0.56.1"};
4584
+ version: "0.56.2"};
4585
4585
 
4586
4586
  // src/telemetry/builders.ts
4587
4587
  function createCliBaseEvent(context = {}) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk-cli",
3
- "version": "0.56.1",
3
+ "version": "0.56.2",
4
4
  "description": "Command line interface for Zapier SDK",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",