@zapier/zapier-sdk 0.17.0 → 0.18.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.
Files changed (70) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +92 -92
  3. package/dist/api/schemas.d.ts +1 -1
  4. package/dist/api/schemas.js +1 -1
  5. package/dist/index.cjs +132 -93
  6. package/dist/index.d.mts +58 -100
  7. package/dist/index.mjs +132 -93
  8. package/dist/plugins/apps/index.js +2 -2
  9. package/dist/plugins/apps/schemas.d.ts +4 -3
  10. package/dist/plugins/apps/schemas.d.ts.map +1 -1
  11. package/dist/plugins/apps/schemas.js +3 -2
  12. package/dist/plugins/eventEmission/transport.d.ts +8 -18
  13. package/dist/plugins/eventEmission/transport.d.ts.map +1 -1
  14. package/dist/plugins/eventEmission/transport.js +47 -44
  15. package/dist/plugins/eventEmission/transport.test.js +36 -25
  16. package/dist/plugins/fetch/index.d.ts +2 -2
  17. package/dist/plugins/fetch/index.d.ts.map +1 -1
  18. package/dist/plugins/fetch/schemas.d.ts +1 -1
  19. package/dist/plugins/fetch/schemas.d.ts.map +1 -1
  20. package/dist/plugins/fetch/schemas.js +2 -4
  21. package/dist/plugins/findFirstAuthentication/index.test.js +4 -4
  22. package/dist/plugins/findUniqueAuthentication/index.test.js +4 -4
  23. package/dist/plugins/getAuthentication/index.js +1 -1
  24. package/dist/plugins/getAuthentication/index.test.js +9 -4
  25. package/dist/plugins/getInputFieldsSchema/schemas.d.ts +1 -1
  26. package/dist/plugins/getProfile/index.d.ts.map +1 -1
  27. package/dist/plugins/getProfile/index.js +7 -4
  28. package/dist/plugins/listAuthentications/index.test.js +9 -9
  29. package/dist/plugins/listInputFieldChoices/schemas.d.ts +1 -1
  30. package/dist/plugins/listInputFields/schemas.d.ts +1 -1
  31. package/dist/plugins/manifest/schemas.d.ts +2 -2
  32. package/dist/plugins/manifest/schemas.d.ts.map +1 -1
  33. package/dist/plugins/manifest/schemas.js +2 -5
  34. package/dist/plugins/request/index.d.ts.map +1 -1
  35. package/dist/plugins/request/index.js +2 -1
  36. package/dist/plugins/request/schemas.d.ts +2 -2
  37. package/dist/plugins/request/schemas.d.ts.map +1 -1
  38. package/dist/plugins/request/schemas.js +2 -5
  39. package/dist/plugins/runAction/schemas.d.ts +1 -1
  40. package/dist/resolvers/inputFieldKey.d.ts +1 -1
  41. package/dist/resolvers/inputFieldKey.d.ts.map +1 -1
  42. package/dist/resolvers/inputs.d.ts +1 -1
  43. package/dist/resolvers/inputs.d.ts.map +1 -1
  44. package/dist/schemas/Auth.d.ts +6 -6
  45. package/dist/schemas/Auth.d.ts.map +1 -1
  46. package/dist/schemas/Auth.js +3 -1
  47. package/dist/schemas/UserProfile.d.ts +2 -44
  48. package/dist/schemas/UserProfile.d.ts.map +1 -1
  49. package/dist/schemas/UserProfile.js +10 -21
  50. package/dist/services/implementations.d.ts +2 -2
  51. package/dist/services/implementations.d.ts.map +1 -1
  52. package/dist/services/implementations.js +3 -2
  53. package/dist/temporary-internal-core/handlers/getAuthentication.test.js +6 -6
  54. package/dist/temporary-internal-core/schemas/authentications/index.d.ts +7 -7
  55. package/dist/temporary-internal-core/schemas/authentications/index.d.ts.map +1 -1
  56. package/dist/temporary-internal-core/schemas/authentications/index.js +5 -4
  57. package/dist/temporary-internal-core/utils/transformations.d.ts.map +1 -1
  58. package/dist/temporary-internal-core/utils/transformations.js +4 -2
  59. package/dist/types/properties.d.ts +1 -1
  60. package/dist/types/properties.d.ts.map +1 -1
  61. package/dist/types/properties.js +1 -2
  62. package/dist/utils/domain-utils.d.ts.map +1 -1
  63. package/dist/utils/domain-utils.js +4 -2
  64. package/dist/utils/id-utils.d.ts +13 -0
  65. package/dist/utils/id-utils.d.ts.map +1 -0
  66. package/dist/utils/id-utils.js +22 -0
  67. package/dist/utils/id-utils.test.d.ts +2 -0
  68. package/dist/utils/id-utils.test.d.ts.map +1 -0
  69. package/dist/utils/id-utils.test.js +22 -0
  70. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -765,7 +765,7 @@ declare const ActionEntrySchema: z.ZodObject<{
765
765
  appKey: z.ZodString;
766
766
  actionKey: z.ZodString;
767
767
  actionType: z.ZodString;
768
- authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
768
+ authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
769
769
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
770
770
  schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
771
771
  createdAt: z.ZodString;
@@ -1050,7 +1050,7 @@ declare const ListInputFieldsSchema: z.ZodObject<{
1050
1050
  write: "write";
1051
1051
  }>;
1052
1052
  actionKey: z.ZodString;
1053
- authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1053
+ authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1054
1054
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1055
1055
  pageSize: z.ZodOptional<z.ZodNumber>;
1056
1056
  maxItems: z.ZodOptional<z.ZodNumber>;
@@ -1153,7 +1153,7 @@ type AppItem$1 = z.infer<typeof AppItemSchema$1>;
1153
1153
  * This is the user-facing schema that the SDK plugin accepts.
1154
1154
  */
1155
1155
  declare const GetAuthenticationOptionsSchema: z.ZodObject<{
1156
- authenticationId: z.ZodNumber;
1156
+ authenticationId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1157
1157
  }, z.core.$strip>;
1158
1158
  type GetAuthenticationOptions = z.infer<typeof GetAuthenticationOptionsSchema>;
1159
1159
  /**
@@ -1162,10 +1162,8 @@ type GetAuthenticationOptions = z.infer<typeof GetAuthenticationOptionsSchema>;
1162
1162
  declare const GetAuthenticationResponseSchema: z.ZodObject<{
1163
1163
  data: z.ZodLazy<z.ZodObject<{
1164
1164
  url: z.ZodOptional<z.ZodString>;
1165
- account_id: z.ZodNumber;
1166
1165
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1167
1166
  date: z.ZodString;
1168
- id: z.ZodNumber;
1169
1167
  lastchanged: z.ZodOptional<z.ZodString>;
1170
1168
  destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
1169
  is_invite_only: z.ZodBoolean;
@@ -1179,8 +1177,10 @@ declare const GetAuthenticationResponseSchema: z.ZodObject<{
1179
1177
  groups: z.ZodOptional<z.ZodString>;
1180
1178
  members: z.ZodOptional<z.ZodString>;
1181
1179
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1180
+ id: z.ZodString;
1181
+ account_id: z.ZodString;
1182
1182
  implementation_id: z.ZodOptional<z.ZodString>;
1183
- profile_id: z.ZodOptional<z.ZodNumber>;
1183
+ profile_id: z.ZodOptional<z.ZodString>;
1184
1184
  is_expired: z.ZodOptional<z.ZodString>;
1185
1185
  expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1186
1186
  app_key: z.ZodOptional<z.ZodString>;
@@ -1223,7 +1223,7 @@ declare const RelayRequestSchema: z.ZodObject<{
1223
1223
  OPTIONS: "OPTIONS";
1224
1224
  }>>;
1225
1225
  body: z.ZodOptional<z.ZodAny>;
1226
- authenticationId: z.ZodOptional<z.ZodNumber>;
1226
+ authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1227
1227
  callbackUrl: z.ZodOptional<z.ZodString>;
1228
1228
  authenticationTemplate: z.ZodOptional<z.ZodString>;
1229
1229
  headers: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodCustom<Headers, Headers>, z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>]>>;
@@ -1245,7 +1245,7 @@ declare const RelayFetchSchema: z.ZodObject<{
1245
1245
  OPTIONS: "OPTIONS";
1246
1246
  }>>;
1247
1247
  body: z.ZodOptional<z.ZodAny>;
1248
- authenticationId: z.ZodOptional<z.ZodNumber>;
1248
+ authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1249
1249
  callbackUrl: z.ZodOptional<z.ZodString>;
1250
1250
  authenticationTemplate: z.ZodOptional<z.ZodString>;
1251
1251
  headers: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodCustom<Headers, Headers>, z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>]>>;
@@ -1303,13 +1303,45 @@ interface ApiPluginProvides {
1303
1303
  }
1304
1304
  declare const apiPlugin: Plugin<{}, {}, ApiPluginProvides>;
1305
1305
 
1306
+ declare const AppKeyPropertySchema: z.ZodString & {
1307
+ _def: z.core.$ZodStringDef & PositionalMetadata;
1308
+ };
1309
+ declare const ActionTypePropertySchema: z.ZodEnum<{
1310
+ search: "search";
1311
+ filter: "filter";
1312
+ read: "read";
1313
+ read_bulk: "read_bulk";
1314
+ run: "run";
1315
+ search_and_write: "search_and_write";
1316
+ search_or_write: "search_or_write";
1317
+ write: "write";
1318
+ }>;
1319
+ declare const ActionKeyPropertySchema: z.ZodString;
1320
+ declare const AuthenticationIdPropertySchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1321
+ declare const InputsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1322
+ declare const LimitPropertySchema: z.ZodDefault<z.ZodNumber>;
1323
+ declare const OffsetPropertySchema: z.ZodDefault<z.ZodNumber>;
1324
+ declare const OutputPropertySchema: z.ZodString;
1325
+ declare const DebugPropertySchema: z.ZodDefault<z.ZodBoolean>;
1326
+ declare const ParamsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1327
+ type AppKeyProperty = z.infer<typeof AppKeyPropertySchema>;
1328
+ type ActionTypeProperty = z.infer<typeof ActionTypePropertySchema>;
1329
+ type ActionKeyProperty = z.infer<typeof ActionKeyPropertySchema>;
1330
+ type AuthenticationIdProperty = z.infer<typeof AuthenticationIdPropertySchema>;
1331
+ type InputsProperty = z.infer<typeof InputsPropertySchema>;
1332
+ type LimitProperty = z.infer<typeof LimitPropertySchema>;
1333
+ type OffsetProperty = z.infer<typeof OffsetPropertySchema>;
1334
+ type OutputProperty = z.infer<typeof OutputPropertySchema>;
1335
+ type DebugProperty = z.infer<typeof DebugPropertySchema>;
1336
+ type ParamsProperty = z.infer<typeof ParamsPropertySchema>;
1337
+
1306
1338
  declare const ActionExecutionInputSchema: z.ZodObject<{
1307
1339
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1308
- authenticationId: z.ZodOptional<z.ZodNumber>;
1340
+ authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1309
1341
  }, z.core.$strip>;
1310
1342
  type ActionExecutionOptions = z.infer<typeof ActionExecutionInputSchema>;
1311
1343
  declare const AppFactoryInputSchema: z.ZodObject<{
1312
- authenticationId: z.ZodNumber;
1344
+ authenticationId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1313
1345
  }, z.core.$strip>;
1314
1346
  type AppFactoryInput = z.infer<typeof AppFactoryInputSchema>;
1315
1347
  interface BaseActionTypeProxy {
@@ -1325,7 +1357,7 @@ interface BaseActionTypeProxy {
1325
1357
  }
1326
1358
  interface FetchActionType {
1327
1359
  fetch: (url: string | URL, init?: RequestInit & {
1328
- authenticationId?: number;
1360
+ authenticationId?: AuthenticationIdProperty;
1329
1361
  callbackUrl?: string;
1330
1362
  authenticationTemplate?: string;
1331
1363
  }) => Promise<Response>;
@@ -1361,7 +1393,7 @@ RequestPluginProvides>;
1361
1393
 
1362
1394
  interface FetchPluginProvides {
1363
1395
  fetch: (url: string | URL, init?: RequestInit & {
1364
- authenticationId?: number;
1396
+ authenticationId?: string | number;
1365
1397
  callbackUrl?: string;
1366
1398
  authenticationTemplate?: string;
1367
1399
  }) => Promise<Response>;
@@ -1386,7 +1418,7 @@ declare const fetchPlugin: Plugin<GetSdkType<RequestPluginProvides>, // requires
1386
1418
  EventEmissionContext, // requires eventEmission context for telemetry
1387
1419
  FetchPluginProvides>;
1388
1420
  type ZapierFetchInitOptions = RequestInit & {
1389
- authenticationId?: number;
1421
+ authenticationId?: string | number;
1390
1422
  callbackUrl?: string;
1391
1423
  authenticationTemplate?: string;
1392
1424
  };
@@ -1406,7 +1438,7 @@ declare const RunActionSchema: z.ZodObject<{
1406
1438
  write: "write";
1407
1439
  }>;
1408
1440
  actionKey: z.ZodString;
1409
- authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1441
+ authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1410
1442
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1411
1443
  pageSize: z.ZodOptional<z.ZodNumber>;
1412
1444
  maxItems: z.ZodOptional<z.ZodNumber>;
@@ -1708,7 +1740,7 @@ declare const GetInputFieldsSchemaSchema: z.ZodObject<{
1708
1740
  write: "write";
1709
1741
  }>;
1710
1742
  actionKey: z.ZodString;
1711
- authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1743
+ authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1712
1744
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1713
1745
  }, z.core.$strip>;
1714
1746
  type GetInputFieldsSchemaOptions = z.infer<typeof GetInputFieldsSchemaSchema>;
@@ -1749,7 +1781,7 @@ declare const ListInputFieldChoicesSchema: z.ZodObject<{
1749
1781
  }>;
1750
1782
  actionKey: z.ZodString;
1751
1783
  inputFieldKey: z.ZodString;
1752
- authenticationId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1784
+ authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1753
1785
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1754
1786
  page: z.ZodOptional<z.ZodNumber>;
1755
1787
  pageSize: z.ZodOptional<z.ZodNumber>;
@@ -1968,10 +2000,8 @@ declare const AppItemSchema: z.ZodObject<{
1968
2000
 
1969
2001
  declare const AuthenticationItemSchema: z.ZodObject<{
1970
2002
  url: z.ZodOptional<z.ZodString>;
1971
- account_id: z.ZodNumber;
1972
2003
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1973
2004
  date: z.ZodString;
1974
- id: z.ZodNumber;
1975
2005
  lastchanged: z.ZodOptional<z.ZodString>;
1976
2006
  destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
2007
  is_invite_only: z.ZodBoolean;
@@ -1985,19 +2015,19 @@ declare const AuthenticationItemSchema: z.ZodObject<{
1985
2015
  groups: z.ZodOptional<z.ZodString>;
1986
2016
  members: z.ZodOptional<z.ZodString>;
1987
2017
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2018
+ id: z.ZodString;
2019
+ account_id: z.ZodString;
1988
2020
  implementation_id: z.ZodOptional<z.ZodString>;
1989
2021
  is_expired: z.ZodOptional<z.ZodString>;
1990
2022
  expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1991
2023
  app_key: z.ZodOptional<z.ZodString>;
1992
2024
  app_version: z.ZodOptional<z.ZodString>;
1993
- profile_id: z.ZodOptional<z.ZodNumber>;
2025
+ profile_id: z.ZodOptional<z.ZodString>;
1994
2026
  }, z.core.$strip>;
1995
2027
  declare const AuthItemSchema: z.ZodObject<{
1996
2028
  url: z.ZodOptional<z.ZodString>;
1997
- account_id: z.ZodNumber;
1998
2029
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1999
2030
  date: z.ZodString;
2000
- id: z.ZodNumber;
2001
2031
  lastchanged: z.ZodOptional<z.ZodString>;
2002
2032
  destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2003
2033
  is_invite_only: z.ZodBoolean;
@@ -2011,12 +2041,14 @@ declare const AuthItemSchema: z.ZodObject<{
2011
2041
  groups: z.ZodOptional<z.ZodString>;
2012
2042
  members: z.ZodOptional<z.ZodString>;
2013
2043
  permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2044
+ id: z.ZodString;
2045
+ account_id: z.ZodString;
2014
2046
  implementation_id: z.ZodOptional<z.ZodString>;
2015
2047
  is_expired: z.ZodOptional<z.ZodString>;
2016
2048
  expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2017
2049
  app_key: z.ZodOptional<z.ZodString>;
2018
2050
  app_version: z.ZodOptional<z.ZodString>;
2019
- profile_id: z.ZodOptional<z.ZodNumber>;
2051
+ profile_id: z.ZodOptional<z.ZodString>;
2020
2052
  }, z.core.$strip>;
2021
2053
  type AuthItem = z.infer<typeof AuthItemSchema>;
2022
2054
 
@@ -2043,55 +2075,13 @@ declare const ActionItemSchema: z.ZodObject<{
2043
2075
  }, z.core.$strip>;
2044
2076
 
2045
2077
  declare const UserProfileItemSchema: z.ZodObject<{
2046
- code: z.ZodString;
2047
- id: z.ZodNumber;
2048
- auto_provisioned: z.ZodBoolean;
2078
+ id: z.ZodString;
2049
2079
  first_name: z.ZodString;
2050
2080
  last_name: z.ZodString;
2051
- username: z.ZodString;
2052
- personas: z.ZodString;
2053
- user_generated_personas: z.ZodString;
2054
- last_login: z.ZodString;
2081
+ full_name: z.ZodString;
2055
2082
  email: z.ZodString;
2056
- email_hash: z.ZodString;
2057
2083
  email_confirmed: z.ZodBoolean;
2058
2084
  timezone: z.ZodString;
2059
- photo_url: z.ZodString;
2060
- has_seen_notifications: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodBoolean>>;
2061
- signup: z.ZodString;
2062
- since_signup: z.ZodString;
2063
- has_activated: z.ZodBoolean;
2064
- enable_gz_creator: z.ZodBoolean;
2065
- should_see_nps_survey: z.ZodBoolean;
2066
- is_developer: z.ZodBoolean;
2067
- is_expert: z.ZodBoolean;
2068
- tos_agreement: z.ZodBoolean;
2069
- should_renew_tos: z.ZodBoolean;
2070
- is_gdpr_consented: z.ZodBoolean;
2071
- disable_ssl_check: z.ZodBoolean;
2072
- identity: z.ZodNumber;
2073
- summary_schedule: z.ZodString;
2074
- alert_triggers: z.ZodString;
2075
- alert_actions: z.ZodString;
2076
- is_staff: z.ZodBoolean;
2077
- is_zt_reviewer: z.ZodBoolean;
2078
- is_high_value: z.ZodBoolean;
2079
- is_temporary: z.ZodBoolean;
2080
- banner_message: z.ZodString;
2081
- enable_totp_2fa: z.ZodBoolean;
2082
- viewed_help: z.ZodRecord<z.ZodString, z.ZodBoolean>;
2083
- show_editor_migration_mesaging: z.ZodBoolean;
2084
- switches: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2085
- organizations: z.ZodArray<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2086
- primary_organization: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2087
- has_active_zaps: z.ZodBoolean;
2088
- has_google_sso: z.ZodBoolean;
2089
- auth_realm: z.ZodString;
2090
- roles: z.ZodArray<z.ZodObject<{
2091
- account_id: z.ZodNumber;
2092
- role: z.ZodString;
2093
- }, z.core.$strip>>;
2094
- full_name: z.ZodString;
2095
2085
  }, z.core.$strip>;
2096
2086
 
2097
2087
  /**
@@ -2131,38 +2121,6 @@ type RootFieldItem = z.infer<typeof RootFieldItemSchema>;
2131
2121
  */
2132
2122
  type UserProfileItem = z.infer<typeof UserProfileItemSchema>;
2133
2123
 
2134
- declare const AppKeyPropertySchema: z.ZodString & {
2135
- _def: z.core.$ZodStringDef & PositionalMetadata;
2136
- };
2137
- declare const ActionTypePropertySchema: z.ZodEnum<{
2138
- search: "search";
2139
- filter: "filter";
2140
- read: "read";
2141
- read_bulk: "read_bulk";
2142
- run: "run";
2143
- search_and_write: "search_and_write";
2144
- search_or_write: "search_or_write";
2145
- write: "write";
2146
- }>;
2147
- declare const ActionKeyPropertySchema: z.ZodString;
2148
- declare const AuthenticationIdPropertySchema: z.ZodNumber;
2149
- declare const InputsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2150
- declare const LimitPropertySchema: z.ZodDefault<z.ZodNumber>;
2151
- declare const OffsetPropertySchema: z.ZodDefault<z.ZodNumber>;
2152
- declare const OutputPropertySchema: z.ZodString;
2153
- declare const DebugPropertySchema: z.ZodDefault<z.ZodBoolean>;
2154
- declare const ParamsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2155
- type AppKeyProperty = z.infer<typeof AppKeyPropertySchema>;
2156
- type ActionTypeProperty = z.infer<typeof ActionTypePropertySchema>;
2157
- type ActionKeyProperty = z.infer<typeof ActionKeyPropertySchema>;
2158
- type AuthenticationIdProperty = z.infer<typeof AuthenticationIdPropertySchema>;
2159
- type InputsProperty = z.infer<typeof InputsPropertySchema>;
2160
- type LimitProperty = z.infer<typeof LimitPropertySchema>;
2161
- type OffsetProperty = z.infer<typeof OffsetPropertySchema>;
2162
- type OutputProperty = z.infer<typeof OutputPropertySchema>;
2163
- type DebugProperty = z.infer<typeof DebugPropertySchema>;
2164
- type ParamsProperty = z.infer<typeof ParamsPropertySchema>;
2165
-
2166
2124
  /**
2167
2125
  * Generic utility functions for creating paginated SDK functions
2168
2126
  */
@@ -2318,7 +2276,7 @@ type InputsResolver = {
2318
2276
  appKey: string;
2319
2277
  actionKey: string;
2320
2278
  actionType: ActionTypeProperty;
2321
- authenticationId: number;
2279
+ authenticationId: string | number;
2322
2280
  inputs?: Record<string, unknown>;
2323
2281
  }) => Promise<RootFieldItem[]>;
2324
2282
  };
@@ -2329,7 +2287,7 @@ declare const inputFieldKeyResolver: DynamicResolver<InputFieldItem$1, {
2329
2287
  appKey: string;
2330
2288
  actionKey: string;
2331
2289
  actionType: ActionTypeProperty;
2332
- authenticationId: number;
2290
+ authenticationId: string | number;
2333
2291
  inputs?: Record<string, unknown>;
2334
2292
  }>;
2335
2293