@zapier/zapier-sdk-cli 0.39.0 → 0.39.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @zapier/zapier-sdk-cli
2
2
 
3
+ ## 0.39.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 5391c65: Fix ordering problem with tables CLI commands.
8
+ - Updated dependencies [5391c65]
9
+ - @zapier/zapier-sdk@0.40.1
10
+ - @zapier/zapier-sdk-mcp@0.10.7
11
+
3
12
  ## 0.39.0
4
13
 
5
14
  ### Minor Changes
package/README.md CHANGED
@@ -558,13 +558,13 @@ Create one or more fields in a table
558
558
 
559
559
  | Option | Type | Required | Default | Possible Values | Description |
560
560
  | ---------- | -------- | -------- | ------- | --------------- | ------------------------------------ |
561
- | `<fields>` | `array` | ✅ | — | — | Array of field definitions to create |
562
561
  | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
562
+ | `<fields>` | `array` | ✅ | — | — | Array of field definitions to create |
563
563
 
564
564
  **Usage:**
565
565
 
566
566
  ```bash
567
- npx zapier-sdk create-table-fields <fields> <table>
567
+ npx zapier-sdk create-table-fields <table> <fields>
568
568
  ```
569
569
 
570
570
  #### `create-table-records`
@@ -575,14 +575,14 @@ Create one or more records in a table
575
575
 
576
576
  | Option | Type | Required | Default | Possible Values | Description |
577
577
  | ------------ | -------- | -------- | --------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------- |
578
+ | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
578
579
  | `<records>` | `array` | ✅ | — | — | Array of records to create (max 100) |
579
580
  | `--key-mode` | `string` | ❌ | `"names"` | — | How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2). |
580
- | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
581
581
 
582
582
  **Usage:**
583
583
 
584
584
  ```bash
585
- npx zapier-sdk create-table-records <records> <table> [--key-mode]
585
+ npx zapier-sdk create-table-records <table> <records> [--key-mode]
586
586
  ```
587
587
 
588
588
  #### `delete-table`
@@ -659,9 +659,9 @@ Get a single record from a table by ID
659
659
 
660
660
  | Option | Type | Required | Default | Possible Values | Description |
661
661
  | ------------ | -------- | -------- | --------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------- |
662
- | `--key-mode` | `string` | ❌ | `"names"` | — | How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2). |
663
662
  | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
664
663
  | `<record>` | `string` | ✅ | — | — | The unique identifier of the record |
664
+ | `--key-mode` | `string` | ❌ | `"names"` | — | How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2). |
665
665
 
666
666
  **Usage:**
667
667
 
@@ -677,8 +677,8 @@ List fields for a table
677
677
 
678
678
  | Option | Type | Required | Default | Possible Values | Description |
679
679
  | ---------- | -------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------------------- |
680
- | `--fields` | `array` | ❌ | — | — | Fields to operate on. Accepts field names (e.g., "Email") or IDs (e.g., "f6", "6", or 6). |
681
680
  | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
681
+ | `--fields` | `array` | ❌ | — | — | Fields to operate on. Accepts field names (e.g., "Email") or IDs (e.g., "f6", "6", or 6). |
682
682
 
683
683
  **Usage:**
684
684
 
@@ -694,6 +694,7 @@ List records in a table with optional filtering and sorting
694
694
 
695
695
  | Option | Type | Required | Default | Possible Values | Description |
696
696
  | --------------- | -------- | -------- | --------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------- |
697
+ | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
697
698
  | `--filters` | `array` | ❌ | — | — | Filter conditions for the query |
698
699
  | `--sort` | `object` | ❌ | — | — | Sort records by a field |
699
700
  | ↳ `<field-key>` | `string` | ✅ | — | — | The field key to sort by |
@@ -702,12 +703,11 @@ List records in a table with optional filtering and sorting
702
703
  | `--max-items` | `number` | ❌ | — | — | Maximum total items to return across all pages |
703
704
  | `--cursor` | `string` | ❌ | — | — | Cursor to start from |
704
705
  | `--key-mode` | `string` | ❌ | `"names"` | — | How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2). |
705
- | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
706
706
 
707
707
  **Usage:**
708
708
 
709
709
  ```bash
710
- npx zapier-sdk list-table-records <field-key> <table> [--filters] [--sort] [--direction] [--page-size] [--max-items] [--cursor] [--key-mode]
710
+ npx zapier-sdk list-table-records <table> <field-key> [--filters] [--sort] [--direction] [--page-size] [--max-items] [--cursor] [--key-mode]
711
711
  ```
712
712
 
713
713
  #### `list-tables`
@@ -741,14 +741,14 @@ Update one or more records in a table
741
741
 
742
742
  | Option | Type | Required | Default | Possible Values | Description |
743
743
  | ------------ | -------- | -------- | --------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------- |
744
+ | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
744
745
  | `<records>` | `array` | ✅ | — | — | Array of records to update (max 100) |
745
746
  | `--key-mode` | `string` | ❌ | `"names"` | — | How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2). |
746
- | `<table>` | `string` | ✅ | — | — | The unique identifier of the table |
747
747
 
748
748
  **Usage:**
749
749
 
750
750
  ```bash
751
- npx zapier-sdk update-table-records <records> <table> [--key-mode]
751
+ npx zapier-sdk update-table-records <table> <records> [--key-mode]
752
752
  ```
753
753
 
754
754
  ### Utilities
package/dist/cli.cjs CHANGED
@@ -1103,7 +1103,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
1103
1103
 
1104
1104
  // package.json
1105
1105
  var package_default = {
1106
- version: "0.39.0"};
1106
+ version: "0.39.1"};
1107
1107
 
1108
1108
  // src/telemetry/builders.ts
1109
1109
  function createCliBaseEvent(context = {}) {
@@ -4656,7 +4656,7 @@ function createZapierCliSdk(options = {}) {
4656
4656
  // package.json with { type: 'json' }
4657
4657
  var package_default2 = {
4658
4658
  name: "@zapier/zapier-sdk-cli",
4659
- version: "0.39.0"};
4659
+ version: "0.39.1"};
4660
4660
  var ONE_DAY_MS = 24 * 60 * 60 * 1e3;
4661
4661
  var CACHE_RESET_INTERVAL_MS = (() => {
4662
4662
  const { ZAPIER_SDK_UPDATE_CHECK_INTERVAL_MS = `${ONE_DAY_MS}` } = process.env;
package/dist/cli.mjs CHANGED
@@ -1065,7 +1065,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
1065
1065
 
1066
1066
  // package.json
1067
1067
  var package_default = {
1068
- version: "0.39.0"};
1068
+ version: "0.39.1"};
1069
1069
 
1070
1070
  // src/telemetry/builders.ts
1071
1071
  function createCliBaseEvent(context = {}) {
@@ -4618,7 +4618,7 @@ function createZapierCliSdk(options = {}) {
4618
4618
  // package.json with { type: 'json' }
4619
4619
  var package_default2 = {
4620
4620
  name: "@zapier/zapier-sdk-cli",
4621
- version: "0.39.0"};
4621
+ version: "0.39.1"};
4622
4622
  var ONE_DAY_MS = 24 * 60 * 60 * 1e3;
4623
4623
  var CACHE_RESET_INTERVAL_MS = (() => {
4624
4624
  const { ZAPIER_SDK_UPDATE_CHECK_INTERVAL_MS = `${ONE_DAY_MS}` } = process.env;
package/dist/index.cjs CHANGED
@@ -2512,7 +2512,7 @@ function createZapierCliSdk(options = {}) {
2512
2512
 
2513
2513
  // package.json
2514
2514
  var package_default = {
2515
- version: "0.39.0"};
2515
+ version: "0.39.1"};
2516
2516
 
2517
2517
  // src/telemetry/builders.ts
2518
2518
  function createCliBaseEvent(context = {}) {
package/dist/index.mjs CHANGED
@@ -2479,7 +2479,7 @@ function createZapierCliSdk(options = {}) {
2479
2479
 
2480
2480
  // package.json
2481
2481
  var package_default = {
2482
- version: "0.39.0"};
2482
+ version: "0.39.1"};
2483
2483
 
2484
2484
  // src/telemetry/builders.ts
2485
2485
  function createCliBaseEvent(context = {}) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk-cli",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "description": "Command line interface for Zapier SDK",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",