@zapier/zapier-sdk 0.12.1 → 0.13.0

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.
Files changed (87) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +137 -76
  3. package/dist/api/schemas.d.ts +10 -865
  4. package/dist/api/schemas.d.ts.map +1 -1
  5. package/dist/api/schemas.js +0 -6
  6. package/dist/index.cjs +42 -31
  7. package/dist/index.d.mts +69 -427
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.mjs +42 -31
  11. package/dist/plugins/apps/schemas.d.ts +9 -1
  12. package/dist/plugins/apps/schemas.d.ts.map +1 -1
  13. package/dist/plugins/findFirstAuthentication/schemas.js +1 -1
  14. package/dist/plugins/findUniqueAuthentication/schemas.js +1 -1
  15. package/dist/plugins/getApp/schemas.js +1 -1
  16. package/dist/plugins/getAuthentication/index.test.js +1 -1
  17. package/dist/plugins/listActions/index.d.ts +1 -0
  18. package/dist/plugins/listActions/index.d.ts.map +1 -1
  19. package/dist/plugins/listActions/schemas.d.ts +3 -0
  20. package/dist/plugins/listActions/schemas.d.ts.map +1 -1
  21. package/dist/plugins/listActions/schemas.js +2 -1
  22. package/dist/plugins/listApps/index.d.ts +1 -0
  23. package/dist/plugins/listApps/index.d.ts.map +1 -1
  24. package/dist/plugins/listApps/schemas.d.ts +3 -0
  25. package/dist/plugins/listApps/schemas.d.ts.map +1 -1
  26. package/dist/plugins/listApps/schemas.js +1 -0
  27. package/dist/plugins/listAuthentications/index.d.ts +1 -0
  28. package/dist/plugins/listAuthentications/index.d.ts.map +1 -1
  29. package/dist/plugins/listAuthentications/schemas.d.ts +3 -0
  30. package/dist/plugins/listAuthentications/schemas.d.ts.map +1 -1
  31. package/dist/plugins/listAuthentications/schemas.js +2 -1
  32. package/dist/plugins/listInputFieldChoices/index.d.ts +1 -0
  33. package/dist/plugins/listInputFieldChoices/index.d.ts.map +1 -1
  34. package/dist/plugins/listInputFieldChoices/schemas.d.ts +3 -0
  35. package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +1 -1
  36. package/dist/plugins/listInputFieldChoices/schemas.js +1 -0
  37. package/dist/plugins/listInputFields/index.d.ts +1 -0
  38. package/dist/plugins/listInputFields/index.d.ts.map +1 -1
  39. package/dist/plugins/listInputFields/schemas.d.ts +3 -0
  40. package/dist/plugins/listInputFields/schemas.d.ts.map +1 -1
  41. package/dist/plugins/listInputFields/schemas.js +1 -0
  42. package/dist/plugins/runAction/index.d.ts +1 -0
  43. package/dist/plugins/runAction/index.d.ts.map +1 -1
  44. package/dist/plugins/runAction/schemas.d.ts +3 -0
  45. package/dist/plugins/runAction/schemas.d.ts.map +1 -1
  46. package/dist/plugins/runAction/schemas.js +1 -0
  47. package/dist/schemas/Action.d.ts +4 -206
  48. package/dist/schemas/Action.d.ts.map +1 -1
  49. package/dist/schemas/Action.js +3 -2
  50. package/dist/schemas/App.d.ts.map +1 -1
  51. package/dist/schemas/App.js +1 -0
  52. package/dist/schemas/Auth.d.ts +10 -10
  53. package/dist/schemas/Auth.js +1 -1
  54. package/dist/types/properties.d.ts.map +1 -1
  55. package/dist/types/properties.js +4 -1
  56. package/dist/utils/domain-utils.d.ts +2 -2
  57. package/dist/utils/domain-utils.d.ts.map +1 -1
  58. package/dist/utils/domain-utils.js +19 -8
  59. package/dist/utils/schema-utils.d.ts +1 -0
  60. package/dist/utils/schema-utils.d.ts.map +1 -1
  61. package/package.json +1 -1
  62. package/src/api/schemas.ts +0 -6
  63. package/src/index.ts +1 -0
  64. package/src/plugins/apps/schemas.ts +7 -1
  65. package/src/plugins/findFirstAuthentication/schemas.ts +1 -1
  66. package/src/plugins/findUniqueAuthentication/schemas.ts +1 -1
  67. package/src/plugins/getApp/schemas.ts +1 -1
  68. package/src/plugins/getAuthentication/index.test.ts +1 -1
  69. package/src/plugins/listActions/index.ts +1 -0
  70. package/src/plugins/listActions/schemas.ts +2 -1
  71. package/src/plugins/listApps/index.ts +4 -1
  72. package/src/plugins/listApps/schemas.ts +1 -0
  73. package/src/plugins/listAuthentications/index.ts +1 -0
  74. package/src/plugins/listAuthentications/schemas.ts +2 -1
  75. package/src/plugins/listInputFieldChoices/index.ts +1 -0
  76. package/src/plugins/listInputFieldChoices/schemas.ts +1 -0
  77. package/src/plugins/listInputFields/index.ts +1 -0
  78. package/src/plugins/listInputFields/schemas.ts +1 -0
  79. package/src/plugins/runAction/index.ts +4 -1
  80. package/src/plugins/runAction/schemas.ts +1 -0
  81. package/src/schemas/Action.ts +3 -2
  82. package/src/schemas/App.ts +1 -0
  83. package/src/schemas/Auth.ts +1 -1
  84. package/src/types/properties.ts +4 -1
  85. package/src/utils/domain-utils.ts +22 -9
  86. package/src/utils/schema-utils.ts +1 -0
  87. package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 53ad336: Tweak list-apps output. Hint at slug for appKey parameters. Fix type gen for new field format. Fix action normalization.
8
+
3
9
  ## 0.12.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -31,7 +31,7 @@
31
31
 
32
32
  ```bash
33
33
  npm install @zapier/zapier-sdk
34
- npm install -D @types/node typescript
34
+ npm install -D @zapier/zapier-sdk-cli @types/node typescript
35
35
  npx tsc --init
36
36
  ```
37
37
 
@@ -65,22 +65,74 @@ const zapier = createZapierSdk();
65
65
  // });
66
66
 
67
67
  // ######## Access Apps ########
68
- const apps = await zapier.listApps();
69
- const singleApp = await zapier.getApp({ appKey: "SlackCLIAPI" });
68
+ // List methods return a promise for a page with {data, nextCursor}.
69
+ const { data: firstPageApps, nextCursor } = await zapier.listApps();
70
+ // Use the cursor to get the next page:
71
+ const { data: secondPageApps } = await zapier.listApps({ cursor: nextCursor });
72
+
73
+ console.log({
74
+ firstPageApps,
75
+ secondPageApps,
76
+ });
77
+
78
+ // List methods also return an iterator for all pages.
79
+ // Be careful with lots of pages, note the `search` to filter.
80
+ for await (const page of zapier.listApps({ search: "slack" })) {
81
+ const { data: apps } = page;
82
+ console.log({
83
+ apps,
84
+ });
85
+ }
86
+
87
+ // Use `.items()` to iterate over all items of all pages:
88
+ // Again, be careful with lots of items. Note the `maxItems` to limit the total items.
89
+ for await (const app of zapier.listApps({ maxItems: 100 }).items()) {
90
+ console.log({
91
+ app,
92
+ });
93
+ }
94
+
95
+ // You can collect all results, but this could take a while for long lists!
96
+ const allApps = await Array.fromAsync(
97
+ zapier.listApps({ maxItems: 1000 }).items(),
98
+ );
99
+
100
+ console.log({
101
+ allApps,
102
+ });
103
+
104
+ // The item methods return a promise for a single item, wrapped with {data}.
105
+ // This is just to give us room to add metadata in the future.
106
+ const { data: app } = await zapier.getApp({ appKey: "slack" });
107
+
108
+ console.log({
109
+ app,
110
+ });
70
111
 
71
112
  // ######## Authentication Usage ########
72
- const myAuths = await zapier.listAuthentications({
73
- appKey: "SlackCLIAPI",
113
+ const { data: myAuths } = await zapier.listAuthentications({
114
+ appKey: "slack",
74
115
  owner: "me",
75
116
  });
76
117
 
77
118
  // ######## Find Actions ########
78
119
  // Option 1: List actions
79
- const actions = await zapier.listActions({ appKey: "SlackCLIAPI" });
120
+ // Remember, this is just the first page which may not include them all!
121
+ // See `.items()` usage above, which can be used to make sure you get all actions.
122
+ const { data: actions } = await zapier.listActions({ appKey: "slack" });
123
+
124
+ console.log({
125
+ actions,
126
+ });
127
+
80
128
  const singleAction = await zapier.getAction({
81
- appKey: "SlackCLIAPI",
82
- actionType: actions.data[0].action_type,
83
- actionKey: actions.data[0].key,
129
+ appKey: "slack",
130
+ actionType: actions[0].action_type,
131
+ actionKey: actions[0].key,
132
+ });
133
+
134
+ console.log({
135
+ singleAction,
84
136
  });
85
137
 
86
138
  // Option 2: Access actions via the `apps` proxy
@@ -91,25 +143,28 @@ const singleAction = await zapier.getAction({
91
143
 
92
144
  // ######## Run Actions ########
93
145
  // Option 1:
94
- const allChannels = await zapier.runAction({
95
- appKey: "SlackCLIAPI",
146
+ const { data: channels } = await zapier.runAction({
147
+ appKey: "slack",
96
148
  actionType: "read",
97
149
  actionKey: "channels",
98
- authenticationId: myAuths.data[0].id,
150
+ authenticationId: myAuths[0].id,
151
+ });
152
+
153
+ console.log({
154
+ channels,
99
155
  });
100
156
 
157
+ const { data: profile } = await zapier.getProfile();
158
+
101
159
  // Option 2:
102
- const allChannelsResult = await zapier.apps.slack.read.channels({
103
- authenticationId: myAuths.data[0].id,
160
+ const { data: users } = await zapier.apps.slack.search.user_by_email({
161
+ inputs: {
162
+ email: profile.email,
163
+ },
104
164
  });
105
165
 
106
166
  console.log({
107
- apps: apps.data[0],
108
- singleApp,
109
- actions: actions.data[0],
110
- singleAction,
111
- allChannels: allChannels.data[0],
112
- allChannelsResult,
167
+ users,
113
168
  });
114
169
  ```
115
170
 
@@ -143,12 +198,12 @@ Get detailed information about a specific action
143
198
 
144
199
  **Parameters:**
145
200
 
146
- | Name | Type | Required | Default | Possible Values | Description |
147
- | -------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------- |
148
- | `options` | `object` | ✅ | — | — | |
149
- | ↳ `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI') |
150
- | ↳ `actionType` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type |
151
- | ↳ `actionKey` | `string` | ✅ | — | — | Action key to execute |
201
+ | Name | Type | Required | Default | Possible Values | Description |
202
+ | -------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------- |
203
+ | `options` | `object` | ✅ | — | — | |
204
+ | ↳ `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') |
205
+ | ↳ `actionType` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type |
206
+ | ↳ `actionKey` | `string` | ✅ | — | — | Action key to execute |
152
207
 
153
208
  **Returns:** `Promise<ActionItem>`
154
209
 
@@ -168,13 +223,14 @@ List all actions for a specific app
168
223
 
169
224
  **Parameters:**
170
225
 
171
- | Name | Type | Required | Default | Possible Values | Description |
172
- | -------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------ |
173
- | `options` | `object` | ✅ | — | — | |
174
- | ↳ `appKey` | `string` | ✅ | — | — | App key of actions to list (e.g., 'SlackCLIAPI') |
175
- | ↳ `actionType` | `string` | ❌ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Filter actions by type |
176
- | ↳ `pageSize` | `number` | ❌ | — | — | Number of actions per page |
177
- | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
226
+ | Name | Type | Required | Default | Possible Values | Description |
227
+ | -------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
228
+ | `options` | `object` | ✅ | — | — | |
229
+ | ↳ `appKey` | `string` | ✅ | — | — | App key of actions to list (e.g., 'SlackCLIAPI' or slug like 'github') |
230
+ | ↳ `actionType` | `string` | ❌ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Filter actions by type |
231
+ | ↳ `pageSize` | `number` | ❌ | — | — | Number of actions per page |
232
+ | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
233
+ | ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
178
234
 
179
235
  **Returns:** `Promise<PaginatedResult<ActionItem>>`
180
236
 
@@ -212,7 +268,7 @@ Get the available choices for a dynamic dropdown input field
212
268
  | Name | Type | Required | Default | Possible Values | Description |
213
269
  | -------------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
214
270
  | `options` | `object` | ✅ | — | — | |
215
- | ↳ `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI') |
271
+ | ↳ `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') |
216
272
  | ↳ `actionType` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type |
217
273
  | ↳ `actionKey` | `string` | ✅ | — | — | Action key to execute |
218
274
  | ↳ `inputFieldKey` | `string` | ✅ | — | — | Input field key to get choices for. |
@@ -221,6 +277,7 @@ Get the available choices for a dynamic dropdown input field
221
277
  | ↳ `page` | `number` | ❌ | — | — | Page number for paginated results |
222
278
  | ↳ `pageSize` | `number` | ❌ | — | — | Number of choices per page |
223
279
  | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
280
+ | ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
224
281
 
225
282
  **Returns:** `Promise<PaginatedResult<InputFieldChoiceItem>>`
226
283
 
@@ -269,13 +326,14 @@ Get the input fields required for a specific action
269
326
  | Name | Type | Required | Default | Possible Values | Description |
270
327
  | -------------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
271
328
  | `options` | `object` | ✅ | — | — | |
272
- | ↳ `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI') |
329
+ | ↳ `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') |
273
330
  | ↳ `actionType` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type |
274
331
  | ↳ `actionKey` | `string` | ✅ | — | — | Action key to execute |
275
332
  | ↳ `authenticationId` | `string` | ❌ | — | — | Authentication ID to use for this action |
276
333
  | ↳ `inputs` | `object` | ❌ | — | — | Current input values that may affect available fields |
277
334
  | ↳ `pageSize` | `number` | ❌ | — | — | Number of input fields per page |
278
335
  | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
336
+ | ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
279
337
 
280
338
  **Returns:** `Promise<PaginatedResult<RootFieldItemItem>>`
281
339
 
@@ -316,16 +374,17 @@ Execute an action with the given inputs
316
374
 
317
375
  **Parameters:**
318
376
 
319
- | Name | Type | Required | Default | Possible Values | Description |
320
- | -------------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------- |
321
- | `options` | `object` | ✅ | — | — | |
322
- | ↳ `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI') |
323
- | ↳ `actionType` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type |
324
- | ↳ `actionKey` | `string` | ✅ | — | — | Action key to execute |
325
- | ↳ `authenticationId` | `string` | ❌ | — | — | Authentication ID to use for this action |
326
- | ↳ `inputs` | `object` | ❌ | — | — | Input parameters for the action |
327
- | ↳ `pageSize` | `number` | ❌ | — | — | Number of results per page |
328
- | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
377
+ | Name | Type | Required | Default | Possible Values | Description |
378
+ | -------------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------- |
379
+ | `options` | `object` | ✅ | — | — | |
380
+ | ↳ `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') |
381
+ | ↳ `actionType` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type |
382
+ | ↳ `actionKey` | `string` | ✅ | — | — | Action key to execute |
383
+ | ↳ `authenticationId` | `string` | ❌ | — | — | Authentication ID to use for this action |
384
+ | ↳ `inputs` | `object` | ❌ | — | — | Input parameters for the action |
385
+ | ↳ `pageSize` | `number` | ❌ | — | — | Number of results per page |
386
+ | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
387
+ | ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
329
388
 
330
389
  **Returns:** `Promise<PaginatedResult<ActionResultItem>>`
331
390
 
@@ -423,10 +482,10 @@ Get detailed information about a specific app
423
482
 
424
483
  **Parameters:**
425
484
 
426
- | Name | Type | Required | Default | Possible Values | Description |
427
- | ---------- | -------- | -------- | ------- | --------------- | --------------------------------------------- |
428
- | `options` | `object` | ✅ | — | — | |
429
- | ↳ `appKey` | `string` | ✅ | — | — | App key of app to fetch (e.g., 'SlackCLIAPI') |
485
+ | Name | Type | Required | Default | Possible Values | Description |
486
+ | ---------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------------------- |
487
+ | `options` | `object` | ✅ | — | — | |
488
+ | ↳ `appKey` | `string` | ✅ | — | — | App key of app to fetch (e.g., 'SlackCLIAPI' or slug like 'github') |
430
489
 
431
490
  **Returns:** `Promise<AppItem>`
432
491
 
@@ -451,6 +510,7 @@ List all available apps with optional filtering
451
510
  | ↳ `search` | `string` | ❌ | — | — | Search for apps by name |
452
511
  | ↳ `pageSize` | `number` | ❌ | — | — | Number of apps per page |
453
512
  | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
513
+ | ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
454
514
 
455
515
  **Returns:** `Promise<PaginatedResult<AppItem>>`
456
516
 
@@ -479,14 +539,14 @@ Find the first authentication matching the criteria
479
539
 
480
540
  **Parameters:**
481
541
 
482
- | Name | Type | Required | Default | Possible Values | Description |
483
- | ------------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------- |
484
- | `options` | `object` | ✅ | — | — | |
485
- | ↳ `appKey` | `string` | ❌ | — | — | App key of authentication to find (e.g., 'SlackCLIAPI') |
486
- | ↳ `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
487
- | ↳ `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
488
- | ↳ `accountId` | `string` | ❌ | — | — | Filter by account ID |
489
- | ↳ `owner` | `string` | ❌ | — | — | Filter by owner |
542
+ | Name | Type | Required | Default | Possible Values | Description |
543
+ | ------------- | -------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------- |
544
+ | `options` | `object` | ✅ | — | — | |
545
+ | ↳ `appKey` | `string` | ❌ | — | — | App key of authentication to find (e.g., 'SlackCLIAPI' or slug like 'github') |
546
+ | ↳ `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
547
+ | ↳ `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
548
+ | ↳ `accountId` | `string` | ❌ | — | — | Filter by account ID |
549
+ | ↳ `owner` | `string` | ❌ | — | — | Filter by owner |
490
550
 
491
551
  **Returns:** `Promise<AuthenticationItem>`
492
552
 
@@ -502,14 +562,14 @@ Find a unique authentication matching the criteria
502
562
 
503
563
  **Parameters:**
504
564
 
505
- | Name | Type | Required | Default | Possible Values | Description |
506
- | ------------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------- |
507
- | `options` | `object` | ✅ | — | — | |
508
- | ↳ `appKey` | `string` | ❌ | — | — | App key of authentication to find (e.g., 'SlackCLIAPI') |
509
- | ↳ `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
510
- | ↳ `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
511
- | ↳ `accountId` | `string` | ❌ | — | — | Filter by account ID |
512
- | ↳ `owner` | `string` | ❌ | — | — | Filter by owner |
565
+ | Name | Type | Required | Default | Possible Values | Description |
566
+ | ------------- | -------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------- |
567
+ | `options` | `object` | ✅ | — | — | |
568
+ | ↳ `appKey` | `string` | ❌ | — | — | App key of authentication to find (e.g., 'SlackCLIAPI' or slug like 'github') |
569
+ | ↳ `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
570
+ | ↳ `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
571
+ | ↳ `accountId` | `string` | ❌ | — | — | Filter by account ID |
572
+ | ↳ `owner` | `string` | ❌ | — | — | Filter by owner |
513
573
 
514
574
  **Returns:** `Promise<AuthenticationItem>`
515
575
 
@@ -546,17 +606,18 @@ List available authentications with optional filtering
546
606
 
547
607
  **Parameters:**
548
608
 
549
- | Name | Type | Required | Default | Possible Values | Description |
550
- | --------------------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------------------------ |
551
- | `options` | `object` | ✅ | — | — | |
552
- | ↳ `appKey` | `string` | ❌ | — | — | App key of authentications to list (e.g., 'SlackCLIAPI') |
553
- | ↳ `authenticationIds` | `array` | ❌ | — | — | List of authentication IDs to filter by |
554
- | ↳ `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
555
- | ↳ `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
556
- | ↳ `accountId` | `string` | ❌ | — | — | Filter by account ID |
557
- | ↳ `owner` | `string` | ❌ | — | — | Filter by owner, 'me' for your own authentications or a specific user ID |
558
- | ↳ `pageSize` | `number` | ❌ | — | — | Number of authentications per page |
559
- | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
609
+ | Name | Type | Required | Default | Possible Values | Description |
610
+ | --------------------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------ |
611
+ | `options` | `object` | ✅ | — | — | |
612
+ | ↳ `appKey` | `string` | ❌ | — | — | App key of authentications to list (e.g., 'SlackCLIAPI' or slug like 'github') |
613
+ | ↳ `authenticationIds` | `array` | ❌ | — | — | List of authentication IDs to filter by |
614
+ | ↳ `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
615
+ | ↳ `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
616
+ | ↳ `accountId` | `string` | ❌ | — | — | Filter by account ID |
617
+ | ↳ `owner` | `string` | ❌ | — | — | Filter by owner, 'me' for your own authentications or a specific user ID |
618
+ | ↳ `pageSize` | `number` | ❌ | — | — | Number of authentications per page |
619
+ | ↳ `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
620
+ | ↳ `cursor` | `string` | ❌ | — | — | Cursor to start from |
560
621
 
561
622
  **Returns:** `Promise<PaginatedResult<AuthenticationItem>>`
562
623