@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/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from "./plugins/api";
21
21
  export type { Action, App, Need, Field, Choice, ActionExecutionResult, ActionField, ActionFieldChoice, NeedsRequest, NeedsResponse, Authentication, AuthenticationsResponse, UserProfile, } from "./api/types";
22
22
  export { isPositional, PositionalMetadata } from "./utils/schema-utils";
23
23
  export { createFunction } from "./utils/function-utils";
24
+ export type { FormattedItem, FormatMetadata } from "./utils/schema-utils";
24
25
  export * from "./resolvers";
25
26
  export * from "./auth";
26
27
  export { RelayRequestSchema, RelayFetchSchema, } from "./plugins/request/schemas";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;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AAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
package/dist/index.mjs CHANGED
@@ -35,7 +35,7 @@ var MAX_PAGE_LIMIT = 1e4;
35
35
 
36
36
  // src/types/properties.ts
37
37
  var AppKeyPropertySchema = withPositional(
38
- z.string().min(1).describe("App key (e.g., 'SlackCLIAPI')")
38
+ z.string().min(1).describe("App key (e.g., 'SlackCLIAPI' or slug like 'github')")
39
39
  );
40
40
  var ActionTypePropertySchema = z.enum([
41
41
  "read",
@@ -692,7 +692,8 @@ var ListAppsSchema = z.object({
692
692
  ),
693
693
  search: z.string().optional().describe("Search for apps by name"),
694
694
  pageSize: z.number().min(1).optional().describe("Number of apps per page"),
695
- maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages")
695
+ maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
696
+ cursor: z.string().optional().describe("Cursor to start from")
696
697
  }).describe("List all available apps with optional filtering");
697
698
  var NeedChoicesSchema = z.object({
698
699
  key: z.string().optional(),
@@ -741,10 +742,10 @@ var NeedSchema = z.object({
741
742
  ]).optional(),
742
743
  list: z.boolean().optional()
743
744
  });
744
- var ActionLinksSchema = z.object({
745
+ z.object({
745
746
  action_url: z.string().optional()
746
747
  });
747
- var ActionPermissionsSchema = z.object({
748
+ z.object({
748
749
  can_use: z.boolean().optional()
749
750
  });
750
751
  var ActionSchema = z.object({
@@ -761,16 +762,10 @@ var ActionSchema = z.object({
761
762
  ]),
762
763
  key: z.string(),
763
764
  name: z.string(),
764
- noun: z.string().optional(),
765
765
  description: z.string(),
766
- description_html: z.string().optional(),
767
766
  is_important: z.boolean().optional(),
768
767
  is_hidden: z.boolean().optional(),
769
- needs: z.array(NeedSchema).optional(),
770
- meta: z.string().optional(),
771
- selected_api: z.string().optional(),
772
- links: ActionLinksSchema.optional(),
773
- permissions: ActionPermissionsSchema.optional()
768
+ selected_api: z.string().optional()
774
769
  });
775
770
  var ChoiceSchema = z.object({
776
771
  value: z.union([z.string(), z.number()]),
@@ -1100,6 +1095,7 @@ var AppItemSchema = withFormatter(
1100
1095
  return {
1101
1096
  title: item.title,
1102
1097
  key: item.key,
1098
+ keys: [item.slug, item.key].filter(Boolean),
1103
1099
  description: item.description,
1104
1100
  details: []
1105
1101
  };
@@ -1134,7 +1130,7 @@ function normalizeImplementationMetaToAppItem(implementationMeta) {
1134
1130
  }
1135
1131
  function normalizeAuthenticationItem(auth, options = {}) {
1136
1132
  let appKey = options.app_key;
1137
- let version = options.version;
1133
+ let appVersion = options.app_version;
1138
1134
  if (auth.selected_api) {
1139
1135
  const [extractedAppKey, extractedVersion] = splitVersionedKey(
1140
1136
  auth.selected_api
@@ -1142,8 +1138,8 @@ function normalizeAuthenticationItem(auth, options = {}) {
1142
1138
  if (!appKey) {
1143
1139
  appKey = extractedAppKey;
1144
1140
  }
1145
- if (!version) {
1146
- version = extractedVersion;
1141
+ if (!appVersion) {
1142
+ appVersion = extractedVersion;
1147
1143
  }
1148
1144
  }
1149
1145
  const {
@@ -1164,17 +1160,25 @@ function normalizeAuthenticationItem(auth, options = {}) {
1164
1160
  // Map marked_stale_at to expired_at
1165
1161
  app_key: appKey,
1166
1162
  // App key from implementations endpoint or parsed from selected_api
1167
- version,
1163
+ app_version: appVersion,
1168
1164
  // Version from selected_api or provided
1169
1165
  user_id: userId
1170
1166
  // Map customuser_id to user_id
1171
1167
  };
1172
1168
  }
1173
1169
  function normalizeActionItem(action) {
1174
- const { name, type, selected_api: appKey, ...restOfAction } = action;
1170
+ const { name, type, selected_api: selectedApi } = action;
1171
+ const [appKey, appVersion] = selectedApi ? splitVersionedKey(selectedApi) : ["", void 0];
1175
1172
  return {
1176
- ...restOfAction,
1177
- app_key: appKey || "",
1173
+ // Only include the fields we want - explicitly list them
1174
+ id: action.id,
1175
+ key: action.key,
1176
+ description: action.description,
1177
+ is_important: action.is_important,
1178
+ is_hidden: action.is_hidden,
1179
+ // Transformed fields
1180
+ app_key: appKey,
1181
+ app_version: appVersion,
1178
1182
  action_type: type,
1179
1183
  title: name,
1180
1184
  // Map name to title
@@ -1314,18 +1318,21 @@ var listAppsPlugin = ({ context }) => {
1314
1318
  };
1315
1319
  var ListActionsSchema = z.object({
1316
1320
  appKey: AppKeyPropertySchema.describe(
1317
- "App key of actions to list (e.g., 'SlackCLIAPI')"
1321
+ "App key of actions to list (e.g., 'SlackCLIAPI' or slug like 'github')"
1318
1322
  ),
1319
1323
  actionType: ActionTypePropertySchema.optional().describe(
1320
1324
  "Filter actions by type"
1321
1325
  ),
1322
1326
  pageSize: z.number().min(1).optional().describe("Number of actions per page"),
1323
- maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages")
1327
+ maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
1328
+ cursor: z.string().optional().describe("Cursor to start from")
1324
1329
  }).describe("List all actions for a specific app");
1325
1330
  var ActionItemSchema = withFormatter(
1326
- ActionSchema.omit({ type: true, name: true }).extend({
1331
+ ActionSchema.omit({ type: true, name: true, selected_api: true }).extend({
1327
1332
  app_key: z.string(),
1328
- // Mapped from selected_api
1333
+ // App key without version (extracted from selected_api)
1334
+ app_version: z.string().optional(),
1335
+ // Version extracted from selected_api
1329
1336
  action_type: ActionSchema.shape.type,
1330
1337
  // Mapped from original 'type' field
1331
1338
  title: z.string(),
@@ -1637,7 +1644,8 @@ var ListInputFieldsSchema = z.object({
1637
1644
  "Current input values that may affect available fields"
1638
1645
  ),
1639
1646
  pageSize: z.number().min(1).optional().describe("Number of input fields per page"),
1640
- maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages")
1647
+ maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
1648
+ cursor: z.string().optional().describe("Cursor to start from")
1641
1649
  }).describe("Get the input fields required for a specific action");
1642
1650
  var BaseFieldItemSchema = z.object({
1643
1651
  type: z.string(),
@@ -1924,7 +1932,7 @@ var listInputFieldsPlugin = ({ context }) => {
1924
1932
  };
1925
1933
  var ListAuthenticationsSchema = z.object({
1926
1934
  appKey: AppKeyPropertySchema.optional().describe(
1927
- "App key of authentications to list (e.g., 'SlackCLIAPI')"
1935
+ "App key of authentications to list (e.g., 'SlackCLIAPI' or slug like 'github')"
1928
1936
  ),
1929
1937
  authenticationIds: z.array(z.string()).optional().describe("List of authentication IDs to filter by"),
1930
1938
  search: z.string().optional().describe("Search term to filter authentications by title"),
@@ -1934,7 +1942,8 @@ var ListAuthenticationsSchema = z.object({
1934
1942
  "Filter by owner, 'me' for your own authentications or a specific user ID"
1935
1943
  ),
1936
1944
  pageSize: z.number().min(1).optional().describe("Number of authentications per page"),
1937
- maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages")
1945
+ maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
1946
+ cursor: z.string().optional().describe("Cursor to start from")
1938
1947
  }).describe("List available authentications with optional filtering");
1939
1948
  var AuthenticationItemSchema = withFormatter(
1940
1949
  AuthenticationSchema.omit({ selected_api: true, customuser_id: true }).extend(
@@ -1947,7 +1956,7 @@ var AuthenticationItemSchema = withFormatter(
1947
1956
  // Mapped from marked_stale_at
1948
1957
  app_key: z.string().optional(),
1949
1958
  // App key from implementations endpoint
1950
- version: z.string().optional(),
1959
+ app_version: z.string().optional(),
1951
1960
  // Version extracted from implementation_id
1952
1961
  user_id: z.number().optional()
1953
1962
  }
@@ -2068,7 +2077,7 @@ var listAuthenticationsPlugin = ({ context }) => {
2068
2077
  };
2069
2078
  var GetAppSchema = z.object({
2070
2079
  appKey: AppKeyPropertySchema.describe(
2071
- "App key of app to fetch (e.g., 'SlackCLIAPI')"
2080
+ "App key of app to fetch (e.g., 'SlackCLIAPI' or slug like 'github')"
2072
2081
  )
2073
2082
  }).describe("Get detailed information about a specific app");
2074
2083
 
@@ -2207,7 +2216,7 @@ var getAuthenticationPlugin = ({ context }) => {
2207
2216
  };
2208
2217
  var FindFirstAuthenticationSchema = z.object({
2209
2218
  appKey: AppKeyPropertySchema.optional().describe(
2210
- "App key of authentication to find (e.g., 'SlackCLIAPI')"
2219
+ "App key of authentication to find (e.g., 'SlackCLIAPI' or slug like 'github')"
2211
2220
  ),
2212
2221
  search: z.string().optional().describe("Search term to filter authentications by title"),
2213
2222
  title: z.string().optional().describe("Filter authentications by exact title match"),
@@ -2252,7 +2261,7 @@ var findFirstAuthenticationPlugin = ({ sdk }) => {
2252
2261
  };
2253
2262
  var FindUniqueAuthenticationSchema = z.object({
2254
2263
  appKey: AppKeyPropertySchema.optional().describe(
2255
- "App key of authentication to find (e.g., 'SlackCLIAPI')"
2264
+ "App key of authentication to find (e.g., 'SlackCLIAPI' or slug like 'github')"
2256
2265
  ),
2257
2266
  search: z.string().optional().describe("Search term to filter authentications by title"),
2258
2267
  title: z.string().optional().describe("Filter authentications by exact title match"),
@@ -2310,7 +2319,8 @@ var RunActionSchema = z.object({
2310
2319
  "Input parameters for the action"
2311
2320
  ),
2312
2321
  pageSize: z.number().min(1).optional().describe("Number of results per page"),
2313
- maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages")
2322
+ maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
2323
+ cursor: z.string().optional().describe("Cursor to start from")
2314
2324
  }).describe("Execute an action with the given inputs");
2315
2325
 
2316
2326
  // src/plugins/runAction/index.ts
@@ -3649,7 +3659,8 @@ var ListInputFieldChoicesSchema = z.object({
3649
3659
  page: z.number().int().min(0).optional().describe("Page number for paginated results"),
3650
3660
  // Pagination options (SDK-level)
3651
3661
  pageSize: z.number().min(1).optional().describe("Number of choices per page"),
3652
- maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages")
3662
+ maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
3663
+ cursor: z.string().optional().describe("Cursor to start from")
3653
3664
  }).describe("Get the available choices for a dynamic dropdown input field");
3654
3665
 
3655
3666
  // src/plugins/listInputFieldChoices/index.ts
@@ -19,7 +19,15 @@ export declare const AppFactoryInputSchema: z.ZodObject<{
19
19
  }>;
20
20
  export type AppFactoryInput = z.infer<typeof AppFactoryInputSchema>;
21
21
  interface BaseActionTypeProxy {
22
- [action: string]: (options?: ActionExecutionOptions) => unknown;
22
+ [action: string]: (options?: ActionExecutionOptions) => Promise<{
23
+ data: any[];
24
+ nextCursor?: string;
25
+ }> & AsyncIterable<{
26
+ data: any[];
27
+ nextCursor?: string;
28
+ }> & {
29
+ items(): AsyncIterable<any>;
30
+ };
23
31
  }
24
32
  interface FetchActionType {
25
33
  fetch: (url: string | URL, init?: RequestInit & {
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/apps/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;EAOpC,CAAC;AAGJ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEhF,eAAO,MAAM,qBAAqB;;;;;;EAIgB,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAGpE,UAAU,mBAAmB;IAC3B,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,sBAAsB,KAAK,OAAO,CAAC;CACjE;AAGD,UAAU,eAAe;IACvB,KAAK,EAAE,CACL,GAAG,EAAE,MAAM,GAAG,GAAG,EACjB,IAAI,CAAC,EAAE,WAAW,GAAG;QACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;KACjC,KACE,OAAO,CAAC,QAAQ,CAAC,CAAC;CACxB;AAGD,KAAK,eAAe,GAAG,mBAAmB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAEtE,UAAU,QAAQ;IAChB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAAC;CACjC;AAED,UAAU,UAAU;IAClB,CAAC,O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mBAAmB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAEtE,UAAU,QAAQ;IAChB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAAC;CACjC;AAED,UAAU,UAAU;IAClB,CAAC,OAAO,EAAE,eAAe,GAAG,QAAQ,CAAC;CACtC;AAGD,KAAK,mBAAmB,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEjD,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAAC;CACpC"}
@@ -3,7 +3,7 @@ import { AppKeyPropertySchema } from "../../types/properties";
3
3
  // Pure Zod schema - no resolver metadata!
4
4
  export const FindFirstAuthenticationSchema = z
5
5
  .object({
6
- appKey: AppKeyPropertySchema.optional().describe("App key of authentication to find (e.g., 'SlackCLIAPI')"),
6
+ appKey: AppKeyPropertySchema.optional().describe("App key of authentication to find (e.g., 'SlackCLIAPI' or slug like 'github')"),
7
7
  search: z
8
8
  .string()
9
9
  .optional()
@@ -3,7 +3,7 @@ import { AppKeyPropertySchema } from "../../types/properties";
3
3
  // Pure Zod schema - no resolver metadata!
4
4
  export const FindUniqueAuthenticationSchema = z
5
5
  .object({
6
- appKey: AppKeyPropertySchema.optional().describe("App key of authentication to find (e.g., 'SlackCLIAPI')"),
6
+ appKey: AppKeyPropertySchema.optional().describe("App key of authentication to find (e.g., 'SlackCLIAPI' or slug like 'github')"),
7
7
  search: z
8
8
  .string()
9
9
  .optional()
@@ -3,6 +3,6 @@ import { AppKeyPropertySchema } from "../../types/properties";
3
3
  // Pure Zod schema - no resolver metadata!
4
4
  export const GetAppSchema = z
5
5
  .object({
6
- appKey: AppKeyPropertySchema.describe("App key of app to fetch (e.g., 'SlackCLIAPI')"),
6
+ appKey: AppKeyPropertySchema.describe("App key of app to fetch (e.g., 'SlackCLIAPI' or slug like 'github')"),
7
7
  })
8
8
  .describe("Get detailed information about a specific app");
@@ -93,7 +93,7 @@ describe("getAuthentication plugin", () => {
93
93
  label: "My Slack Workspace",
94
94
  title: "My Slack Workspace",
95
95
  app_key: "SlackCLIAPI",
96
- version: "1.21.1",
96
+ app_version: "1.21.1",
97
97
  user_id: undefined, // customuser_id wasn't in mock data
98
98
  is_stale: "false", // Original field preserved
99
99
  marked_stale_at: null, // Original field preserved
@@ -7,6 +7,7 @@ import type { GetVersionedImplementationId } from "../manifest/schemas";
7
7
  export interface ListActionsPluginProvides {
8
8
  listActions: (options?: ListActionsOptions) => Promise<{
9
9
  data: ActionItem[];
10
+ nextCursor?: string;
10
11
  }> & AsyncIterable<{
11
12
  data: ActionItem[];
12
13
  nextCursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAkB,MAAM,WAAW,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EACL,iBAAiB,EACjB,KAAK,kBAAkB,EAExB,MAAM,WAAW,CAAC;AAOnB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAGxE,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,CAAC,OAAO,CAAC,EAAE,kBAAkB,KAAK,OAAO,CAAC;QACrD,IAAI,EAAE,UAAU,EAAE,CAAC;KACpB,CAAC,GACA,aAAa,CAAC;QAAE,IAAI,EAAE,UAAU,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QAC3D,KAAK,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC;KACpC,CAAC;IACJ,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,WAAW,EAAE,OAA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;IACE,GAAG,EAAE,SAAS,CAAC;IACf,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D,EACD,yBAAyB,CAyF1B,CAAC"}
@@ -9,16 +9,19 @@ export declare const ListActionsSchema: z.ZodObject<{
9
9
  actionType: z.ZodOptional<z.ZodEnum<["read", "read_bulk", "write", "run", "search", "search_or_write", "search_and_write", "filter"]>>;
10
10
  pageSize: z.ZodOptional<z.ZodNumber>;
11
11
  maxItems: z.ZodOptional<z.ZodNumber>;
12
+ cursor: z.ZodOptional<z.ZodString>;
12
13
  }, "strip", z.ZodTypeAny, {
13
14
  appKey: string;
14
15
  actionType?: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write" | undefined;
15
16
  pageSize?: number | undefined;
16
17
  maxItems?: number | undefined;
18
+ cursor?: string | undefined;
17
19
  }, {
18
20
  appKey: string;
19
21
  actionType?: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write" | undefined;
20
22
  pageSize?: number | undefined;
21
23
  maxItems?: number | undefined;
24
+ cursor?: string | undefined;
22
25
  }>;
23
26
  export type ListActionsOptions = z.infer<typeof ListActionsSchema>;
24
27
  export interface ListActionsPage {
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActions/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;EAmBoB,CAAC;AAGnD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAGnE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,gBAAgB,GACxB,yBAAyB,GACzB,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,oBAAoB,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;CACnE"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActions/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;EAoBoB,CAAC;AAGnD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAGnE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,gBAAgB,GACxB,yBAAyB,GACzB,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,oBAAoB,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;CACnE"}
@@ -3,7 +3,7 @@ import { AppKeyPropertySchema, ActionTypePropertySchema, } from "../../types/pro
3
3
  // Pure Zod schema - no resolver metadata!
4
4
  export const ListActionsSchema = z
5
5
  .object({
6
- appKey: AppKeyPropertySchema.describe("App key of actions to list (e.g., 'SlackCLIAPI')"),
6
+ appKey: AppKeyPropertySchema.describe("App key of actions to list (e.g., 'SlackCLIAPI' or slug like 'github')"),
7
7
  actionType: ActionTypePropertySchema.optional().describe("Filter actions by type"),
8
8
  pageSize: z
9
9
  .number()
@@ -15,5 +15,6 @@ export const ListActionsSchema = z
15
15
  .min(1)
16
16
  .optional()
17
17
  .describe("Maximum total items to return across all pages"),
18
+ cursor: z.string().optional().describe("Cursor to start from"),
18
19
  })
19
20
  .describe("List all actions for a specific app");
@@ -7,6 +7,7 @@ import type { ApiPluginProvides } from "../api";
7
7
  export interface ListAppsPluginProvides {
8
8
  listApps: (options?: ListAppsOptions) => Promise<{
9
9
  data: AppItem[];
10
+ nextCursor?: string;
10
11
  }> & AsyncIterable<{
11
12
  data: AppItem[];
12
13
  nextCursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listApps/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,WAAW,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAWlD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEhD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,eAAe,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC,GACnE,aAAa,CAAC;QAAE,IAAI,EAAE,OAAO,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QACxD,KAAK,IAAI,aAAa,CAAC,OAAO,CAAC,CAAC;KACj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AiB,GAAG,sBAAsB,CAAC,EAC1D,sBAAsB,CA+GvB,CAAC"}
@@ -12,15 +12,18 @@ export declare const ListAppsSchema: z.ZodObject<{
12
12
  search: z.ZodOptional<z.ZodString>;
13
13
  pageSize: z.ZodOptional<z.ZodNumber>;
14
14
  maxItems: z.ZodOptional<z.ZodNumber>;
15
+ cursor: z.ZodOptional<z.ZodString>;
15
16
  }, "strip", z.ZodTypeAny, {
16
17
  search?: string | undefined;
17
18
  pageSize?: number | undefined;
18
19
  maxItems?: number | undefined;
20
+ cursor?: string | undefined;
19
21
  appKeys?: string[] | undefined;
20
22
  }, {
21
23
  search?: string | undefined;
22
24
  pageSize?: number | undefined;
23
25
  maxItems?: number | undefined;
26
+ cursor?: string | undefined;
24
27
  appKeys?: string[] | undefined;
25
28
  }>;
26
29
  export type ListAppsOptions = z.infer<typeof ListAppsSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listApps/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAGhF,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,qBAAqB,CAAC;AAGnE,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAgBmC,CAAC;AAG/D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAG7D,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,oBAAoB,CAAC,eAAe,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC;CACtE"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listApps/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAGhF,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,qBAAqB,CAAC;AAGnE,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;EAiBmC,CAAC;AAG/D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAG7D,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,oBAAoB,CAAC,eAAe,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC;CACtE"}
@@ -13,5 +13,6 @@ export const ListAppsSchema = z
13
13
  .min(1)
14
14
  .optional()
15
15
  .describe("Maximum total items to return across all pages"),
16
+ cursor: z.string().optional().describe("Cursor to start from"),
16
17
  })
17
18
  .describe("List all available apps with optional filtering");
@@ -7,6 +7,7 @@ import type { ManifestPluginProvides } from "../manifest";
7
7
  export interface ListAuthenticationsPluginProvides {
8
8
  listAuthentications: (options?: ListAuthenticationsOptions) => Promise<{
9
9
  data: AuthenticationItem[];
10
+ nextCursor?: string;
10
11
  }> & AsyncIterable<{
11
12
  data: AuthenticationItem[];
12
13
  nextCursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listAuthentications/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EACL,yBAAyB,EACzB,KAAK,0BAA0B,EAEhC,MAAM,WAAW,CAAC;AAUnB,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAI1D,MAAM,WAAW,iCAAiC;IAChD,mBAAmB,EAAE,CAAC,OAAO,CAAC,EAAE,0BAA0B,KAAK,OAAO,CAAC;QACrE,IAAI,EAAE,kBAAkB,EAAE,CAAC;KAC5B,CAAC,GACA,aAAa,CAAC;QAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QACnE,KAAK,IAAI,aAAa,CAAC,kBAAkB,CAAC,CAAC;KAC5C,CAAC;IACJ,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,mBAAmB,EAAE;gBACnB,WAAW,EAAE,OAAO,yBAAyB,CAAC;aAC/C,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAC5C,UAAU,CAAC,sBAAsB,CAAC,EAClC;IACE,GAAG,EAAE,SAAS,CAAC;IACf,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D,EACD,iCAAiC,CAyGlC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listAuthentications/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EACL,yBAAyB,EACzB,KAAK,0BAA0B,EAEhC,MAAM,WAAW,CAAC;AAUnB,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAI1D,MAAM,WAAW,iCAAiC;IAChD,mBAAmB,EAAE,CAAC,OAAO,CAAC,EAAE,0BAA0B,KAAK,OAAO,CAAC;QACrE,IAAI,EAAE,kBAAkB,EAAE,CAAC;QAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC,GACA,aAAa,CAAC;QAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QACnE,KAAK,IAAI,aAAa,CAAC,kBAAkB,CAAC,CAAC;KAC5C,CAAC;IACJ,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,mBAAmB,EAAE;gBACnB,WAAW,EAAE,OAAO,yBAAyB,CAAC;aAC/C,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAC5C,UAAU,CAAC,sBAAsB,CAAC,EAClC;IACE,GAAG,EAAE,SAAS,CAAC;IACf,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D,EACD,iCAAiC,CAyGlC,CAAC"}
@@ -13,12 +13,14 @@ export declare const ListAuthenticationsSchema: z.ZodObject<{
13
13
  owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"me">]>>;
14
14
  pageSize: z.ZodOptional<z.ZodNumber>;
15
15
  maxItems: z.ZodOptional<z.ZodNumber>;
16
+ cursor: z.ZodOptional<z.ZodString>;
16
17
  }, "strip", z.ZodTypeAny, {
17
18
  search?: string | undefined;
18
19
  title?: string | undefined;
19
20
  appKey?: string | undefined;
20
21
  pageSize?: number | undefined;
21
22
  maxItems?: number | undefined;
23
+ cursor?: string | undefined;
22
24
  accountId?: string | undefined;
23
25
  owner?: string | undefined;
24
26
  authenticationIds?: string[] | undefined;
@@ -28,6 +30,7 @@ export declare const ListAuthenticationsSchema: z.ZodObject<{
28
30
  appKey?: string | undefined;
29
31
  pageSize?: number | undefined;
30
32
  maxItems?: number | undefined;
33
+ cursor?: string | undefined;
31
34
  accountId?: string | undefined;
32
35
  owner?: string | undefined;
33
36
  authenticationIds?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listAuthentications/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EACV,yBAAyB,EACzB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC+B,CAAC;AAGtE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,yBAAyB,CACjC,CAAC;AAGF,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,wBAAwB,GAChC,yBAAyB,GACzB,cAAc,GACd,sBAAsB,GACtB,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,8BAA8B;IAC7C,mBAAmB,EAAE,oBAAoB,CACvC,0BAA0B,EAC1B,kBAAkB,CACnB,CAAC;CACH"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listAuthentications/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EACV,yBAAyB,EACzB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoC+B,CAAC;AAGtE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,yBAAyB,CACjC,CAAC;AAGF,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,MAAM,wBAAwB,GAChC,yBAAyB,GACzB,cAAc,GACd,sBAAsB,GACtB,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,8BAA8B;IAC7C,mBAAmB,EAAE,oBAAoB,CACvC,0BAA0B,EAC1B,kBAAkB,CACnB,CAAC;CACH"}
@@ -3,7 +3,7 @@ import { AppKeyPropertySchema } from "../../types/properties";
3
3
  // Pure Zod schema - no resolver metadata!
4
4
  export const ListAuthenticationsSchema = z
5
5
  .object({
6
- appKey: AppKeyPropertySchema.optional().describe("App key of authentications to list (e.g., 'SlackCLIAPI')"),
6
+ appKey: AppKeyPropertySchema.optional().describe("App key of authentications to list (e.g., 'SlackCLIAPI' or slug like 'github')"),
7
7
  authenticationIds: z
8
8
  .array(z.string())
9
9
  .optional()
@@ -31,5 +31,6 @@ export const ListAuthenticationsSchema = z
31
31
  .min(1)
32
32
  .optional()
33
33
  .describe("Maximum total items to return across all pages"),
34
+ cursor: z.string().optional().describe("Cursor to start from"),
34
35
  })
35
36
  .describe("List available authentications with optional filtering");
@@ -6,6 +6,7 @@ import type { GetActionPluginProvides } from "../getAction";
6
6
  export interface ListInputFieldChoicesPluginProvides {
7
7
  listInputFieldChoices: (options: ListInputFieldChoicesOptions) => Promise<{
8
8
  data: InputFieldChoiceItem[];
9
+ nextCursor?: string;
9
10
  }> & AsyncIterable<{
10
11
  data: InputFieldChoiceItem[];
11
12
  nextCursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listInputFieldChoices/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAM3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EACL,2BAA2B,EAC3B,KAAK,4BAA4B,EAGlC,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAsB5D,MAAM,WAAW,mCAAmC;IAClD,qBAAqB,EAAE,CAAC,OAAO,EAAE,4BAA4B,KAAK,OAAO,CAAC;QACxE,IAAI,EAAE,oBAAoB,EAAE,CAAC;KAC9B,CAAC,GACA,aAAa,CAAC;QAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QACrE,KAAK,IAAI,aAAa,CAAC,oBAAoB,CAAC,CAAC;KAC9C,CAAC;IACJ,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,qBAAqB,EAAE;gBACrB,WAAW,EAAE,OAAO,2BAA2B,CAAC;aACjD,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAC9C,UAAU,CAAC,uBAAuB,CAAC,EAAE,4BAA4B;AACjE;IAAE,GAAG,EAAE,SAAS,CAAA;CAAE,EAAE,0BAA0B;AAC9C,mCAAmC,CAkHpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listInputFieldChoices/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAM3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EACL,2BAA2B,EAC3B,KAAK,4BAA4B,EAGlC,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAsB5D,MAAM,WAAW,mCAAmC;IAClD,qBAAqB,EAAE,CAAC,OAAO,EAAE,4BAA4B,KAAK,OAAO,CAAC;QACxE,IAAI,EAAE,oBAAoB,EAAE,CAAC;QAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC,GACA,aAAa,CAAC;QAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QACrE,KAAK,IAAI,aAAa,CAAC,oBAAoB,CAAC,CAAC;KAC9C,CAAC;IACJ,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,qBAAqB,EAAE;gBACrB,WAAW,EAAE,OAAO,2BAA2B,CAAC;aACjD,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAC9C,UAAU,CAAC,uBAAuB,CAAC,EAAE,4BAA4B;AACjE;IAAE,GAAG,EAAE,SAAS,CAAA;CAAE,EAAE,0BAA0B;AAC9C,mCAAmC,CAkHpC,CAAC"}
@@ -30,6 +30,7 @@ export declare const ListInputFieldChoicesSchema: z.ZodObject<{
30
30
  page: z.ZodOptional<z.ZodNumber>;
31
31
  pageSize: z.ZodOptional<z.ZodNumber>;
32
32
  maxItems: z.ZodOptional<z.ZodNumber>;
33
+ cursor: z.ZodOptional<z.ZodString>;
33
34
  }, "strip", z.ZodTypeAny, {
34
35
  appKey: string;
35
36
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -40,6 +41,7 @@ export declare const ListInputFieldChoicesSchema: z.ZodObject<{
40
41
  inputs?: Record<string, unknown> | undefined;
41
42
  pageSize?: number | undefined;
42
43
  maxItems?: number | undefined;
44
+ cursor?: string | undefined;
43
45
  }, {
44
46
  appKey: string;
45
47
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -50,6 +52,7 @@ export declare const ListInputFieldChoicesSchema: z.ZodObject<{
50
52
  inputs?: Record<string, unknown> | undefined;
51
53
  pageSize?: number | undefined;
52
54
  maxItems?: number | undefined;
55
+ cursor?: string | undefined;
53
56
  }>;
54
57
  export type ListInputFieldChoicesOptions = z.infer<typeof ListInputFieldChoicesSchema>;
55
58
  export type ListInputFieldChoicesError = ZapierConfigurationError | ZapierApiError | ZapierAuthenticationError | ZapierAppNotFoundError | ZapierValidationError | ZapierUnknownError;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listInputFieldChoices/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EACV,wBAAwB,EACxB,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAM5B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EA0BrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAM9E,eAAO,MAAM,2BAA2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AAW,yBAAyB;IACxC,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,WAAW,gCAAgC;IAC/C,qBAAqB,EAAE,oBAAoB,CACzC,4BAA4B,EAC5B,oBAAoB,CACrB,CAAC;CACH"}
@@ -60,5 +60,6 @@ export const ListInputFieldChoicesSchema = z
60
60
  .min(1)
61
61
  .optional()
62
62
  .describe("Maximum total items to return across all pages"),
63
+ cursor: z.string().optional().describe("Cursor to start from"),
63
64
  })
64
65
  .describe("Get the available choices for a dynamic dropdown input field");
@@ -7,6 +7,7 @@ import type { GetVersionedImplementationId } from "../manifest/schemas";
7
7
  export interface ListInputFieldsPluginProvides {
8
8
  listInputFields: (options?: ListInputFieldsOptions) => Promise<{
9
9
  data: RootFieldItem[];
10
+ nextCursor?: string;
10
11
  }> & AsyncIterable<{
11
12
  data: RootFieldItem[];
12
13
  nextCursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listInputFields/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,YAAY,EACZ,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qBAAqB,EACrB,KAAK,sBAAsB,EAE5B,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAmKxE,MAAM,WAAW,6BAA6B;IAC5C,eAAe,EAAE,CAAC,OAAO,CAAC,EAAE,sBAAsB,KAAK,OAAO,CAAC;QAC7D,IAAI,EAAE,aAAa,EAAE,CAAC;KACvB,CA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AE,aAAa,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QAC9D,KAAK,IAAI,aAAa,CAAC,cAAc,GAAG,aAAa,GAAG,YAAY,CAAC,CAAC;KACvE,CAAC;IACJ,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,eAAe,EAAE;gBACf,WAAW,EAAE,OAAO,qBAAqB,CAAC;aAC3C,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CACxC,UAAU,CAAC,oBAAoB,CAAC,EAAE,yBAAyB;AAC3D;IACE,GAAG,EAAE,SAAS,CAAC;IACf,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D,EAAE,2DAA2D;AAC9D,6BAA6B,CAmF9B,CAAC"}
@@ -12,6 +12,7 @@ export declare const ListInputFieldsSchema: z.ZodObject<{
12
12
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13
13
  pageSize: z.ZodOptional<z.ZodNumber>;
14
14
  maxItems: z.ZodOptional<z.ZodNumber>;
15
+ cursor: z.ZodOptional<z.ZodString>;
15
16
  }, "strip", z.ZodTypeAny, {
16
17
  appKey: string;
17
18
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -20,6 +21,7 @@ export declare const ListInputFieldsSchema: z.ZodObject<{
20
21
  inputs?: Record<string, unknown> | undefined;
21
22
  pageSize?: number | undefined;
22
23
  maxItems?: number | undefined;
24
+ cursor?: string | undefined;
23
25
  }, {
24
26
  appKey: string;
25
27
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -28,6 +30,7 @@ export declare const ListInputFieldsSchema: z.ZodObject<{
28
30
  inputs?: Record<string, unknown> | undefined;
29
31
  pageSize?: number | undefined;
30
32
  maxItems?: number | undefined;
33
+ cursor?: string | undefined;
31
34
  }>;
32
35
  export type ListInputFieldsOptions = z.infer<typeof ListInputFieldsSchema>;
33
36
  export type ListInputFieldsError = ZapierConfigurationError | ZapierApiError | ZapierAuthenticationError | ZapierAppNotFoundError | ZapierValidationError | ZapierUnknownError;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listInputFields/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EACV,wBAAwB,EACxB,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBgC,CAAC;AAGnE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAG3E,MAAM,MAAM,oBAAoB,GAC5B,wBAAwB,GACxB,cAAc,GACd,yBAAyB,GACzB,sBAAsB,GACtB,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,oBAAoB,CACnC,sBAAsB,EACtB,aAAa,EAAE,CAChB,CAAC;CACH"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listInputFields/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EACV,wBAAwB,EACxB,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBgC,CAAC;AAGnE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAG3E,MAAM,MAAM,oBAAoB,GAC5B,wBAAwB,GACxB,cAAc,GACd,yBAAyB,GACzB,sBAAsB,GACtB,qBAAqB,GACrB,kBAAkB,CAAC;AAGvB,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,oBAAoB,CACnC,sBAAsB,EACtB,aAAa,EAAE,CAChB,CAAC;CACH"}
@@ -18,5 +18,6 @@ export const ListInputFieldsSchema = z
18
18
  .min(1)
19
19
  .optional()
20
20
  .describe("Maximum total items to return across all pages"),
21
+ cursor: z.string().optional().describe("Cursor to start from"),
21
22
  })
22
23
  .describe("Get the input fields required for a specific action");
@@ -7,6 +7,7 @@ import type { GetVersionedImplementationId } from "../manifest/schemas";
7
7
  export interface RunActionPluginProvides {
8
8
  runAction: (options?: RunActionOptions) => Promise<{
9
9
  data: any[];
10
+ nextCursor?: string;
10
11
  }> & AsyncIterable<{
11
12
  data: any[];
12
13
  nextCursor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/runAction/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EACL,eAAe,EACf,KAAK,g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