@composio/client 0.1.0-alpha.36 → 0.1.0-alpha.38

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 (236) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/client.d.mts +11 -14
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -14
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -6
  7. package/client.js.map +1 -1
  8. package/client.mjs +5 -8
  9. package/client.mjs.map +1 -1
  10. package/internal/to-file.d.mts +1 -1
  11. package/internal/to-file.d.ts +1 -1
  12. package/internal/to-file.js +1 -1
  13. package/internal/to-file.mjs +1 -1
  14. package/internal/utils/values.js +3 -3
  15. package/internal/utils/values.js.map +1 -1
  16. package/internal/utils/values.mjs +3 -3
  17. package/internal/utils/values.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/resources/auth-configs.d.mts +10 -4
  20. package/resources/auth-configs.d.mts.map +1 -1
  21. package/resources/auth-configs.d.ts +10 -4
  22. package/resources/auth-configs.d.ts.map +1 -1
  23. package/resources/cli.d.mts +1 -76
  24. package/resources/cli.d.mts.map +1 -1
  25. package/resources/cli.d.ts +1 -76
  26. package/resources/cli.d.ts.map +1 -1
  27. package/resources/cli.js +0 -28
  28. package/resources/cli.js.map +1 -1
  29. package/resources/cli.mjs +0 -28
  30. package/resources/cli.mjs.map +1 -1
  31. package/resources/connected-accounts.d.mts +478 -4
  32. package/resources/connected-accounts.d.mts.map +1 -1
  33. package/resources/connected-accounts.d.ts +478 -4
  34. package/resources/connected-accounts.d.ts.map +1 -1
  35. package/resources/files.d.mts +1 -1
  36. package/resources/files.d.ts +1 -1
  37. package/resources/index.d.mts +5 -6
  38. package/resources/index.d.mts.map +1 -1
  39. package/resources/index.d.ts +5 -6
  40. package/resources/index.d.ts.map +1 -1
  41. package/resources/index.js +3 -5
  42. package/resources/index.js.map +1 -1
  43. package/resources/index.mjs +2 -3
  44. package/resources/index.mjs.map +1 -1
  45. package/resources/link.d.mts +1562 -81
  46. package/resources/link.d.mts.map +1 -1
  47. package/resources/link.d.ts +1562 -81
  48. package/resources/link.d.ts.map +1 -1
  49. package/resources/link.js +0 -13
  50. package/resources/link.js.map +1 -1
  51. package/resources/link.mjs +0 -13
  52. package/resources/link.mjs.map +1 -1
  53. package/resources/mcp/index.d.mts +1 -1
  54. package/resources/mcp/index.d.mts.map +1 -1
  55. package/resources/mcp/index.d.ts +1 -1
  56. package/resources/mcp/index.d.ts.map +1 -1
  57. package/resources/mcp/index.js.map +1 -1
  58. package/resources/mcp/index.mjs.map +1 -1
  59. package/resources/mcp/mcp.d.mts +1 -95
  60. package/resources/mcp/mcp.d.mts.map +1 -1
  61. package/resources/mcp/mcp.d.ts +1 -95
  62. package/resources/mcp/mcp.d.ts.map +1 -1
  63. package/resources/mcp/mcp.js +0 -22
  64. package/resources/mcp/mcp.js.map +1 -1
  65. package/resources/mcp/mcp.mjs +0 -22
  66. package/resources/mcp/mcp.mjs.map +1 -1
  67. package/resources/tool-router.d.mts +87 -0
  68. package/resources/tool-router.d.mts.map +1 -0
  69. package/resources/tool-router.d.ts +87 -0
  70. package/resources/tool-router.d.ts.map +1 -0
  71. package/resources/tool-router.js +38 -0
  72. package/resources/tool-router.js.map +1 -0
  73. package/resources/tool-router.mjs +34 -0
  74. package/resources/tool-router.mjs.map +1 -0
  75. package/resources/toolkits.d.mts +21 -3
  76. package/resources/toolkits.d.mts.map +1 -1
  77. package/resources/toolkits.d.ts +21 -3
  78. package/resources/toolkits.d.ts.map +1 -1
  79. package/resources/toolkits.js +2 -2
  80. package/resources/toolkits.js.map +1 -1
  81. package/resources/toolkits.mjs +2 -2
  82. package/resources/toolkits.mjs.map +1 -1
  83. package/resources/tools.d.mts +87 -7
  84. package/resources/tools.d.mts.map +1 -1
  85. package/resources/tools.d.ts +87 -7
  86. package/resources/tools.d.ts.map +1 -1
  87. package/resources/trigger-instances/index.d.mts +0 -1
  88. package/resources/trigger-instances/index.d.mts.map +1 -1
  89. package/resources/trigger-instances/index.d.ts +0 -1
  90. package/resources/trigger-instances/index.d.ts.map +1 -1
  91. package/resources/trigger-instances/index.js +1 -3
  92. package/resources/trigger-instances/index.js.map +1 -1
  93. package/resources/trigger-instances/index.mjs +0 -1
  94. package/resources/trigger-instances/index.mjs.map +1 -1
  95. package/resources/trigger-instances/trigger-instances.d.mts +1 -5
  96. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  97. package/resources/trigger-instances/trigger-instances.d.ts +1 -5
  98. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  99. package/resources/trigger-instances/trigger-instances.js +0 -4
  100. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  101. package/resources/trigger-instances/trigger-instances.mjs +0 -4
  102. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  103. package/resources/triggers-types.d.mts +11 -2
  104. package/resources/triggers-types.d.mts.map +1 -1
  105. package/resources/triggers-types.d.ts +11 -2
  106. package/resources/triggers-types.d.ts.map +1 -1
  107. package/src/client.ts +16 -46
  108. package/src/internal/to-file.ts +1 -1
  109. package/src/internal/utils/values.ts +3 -3
  110. package/src/resources/auth-configs.ts +11 -4
  111. package/src/resources/cli.ts +0 -89
  112. package/src/resources/connected-accounts.ts +975 -63
  113. package/src/resources/files.ts +1 -1
  114. package/src/resources/index.ts +6 -19
  115. package/src/resources/link.ts +3001 -112
  116. package/src/resources/mcp/index.ts +0 -2
  117. package/src/resources/mcp/mcp.ts +0 -123
  118. package/src/resources/tool-router.ts +107 -0
  119. package/src/resources/toolkits.ts +30 -3
  120. package/src/resources/tools.ts +149 -7
  121. package/src/resources/trigger-instances/index.ts +0 -7
  122. package/src/resources/trigger-instances/trigger-instances.ts +1 -19
  123. package/src/resources/triggers-types.ts +13 -2
  124. package/src/version.ts +1 -1
  125. package/version.d.mts +1 -1
  126. package/version.d.ts +1 -1
  127. package/version.js +1 -1
  128. package/version.mjs +1 -1
  129. package/resources/org/api-key.d.mts +0 -44
  130. package/resources/org/api-key.d.mts.map +0 -1
  131. package/resources/org/api-key.d.ts +0 -44
  132. package/resources/org/api-key.d.ts.map +0 -1
  133. package/resources/org/api-key.js +0 -34
  134. package/resources/org/api-key.js.map +0 -1
  135. package/resources/org/api-key.mjs +0 -30
  136. package/resources/org/api-key.mjs.map +0 -1
  137. package/resources/org/index.d.mts +0 -4
  138. package/resources/org/index.d.mts.map +0 -1
  139. package/resources/org/index.d.ts +0 -4
  140. package/resources/org/index.d.ts.map +0 -1
  141. package/resources/org/index.js +0 -11
  142. package/resources/org/index.js.map +0 -1
  143. package/resources/org/index.mjs +0 -5
  144. package/resources/org/index.mjs.map +0 -1
  145. package/resources/org/org.d.mts +0 -14
  146. package/resources/org/org.d.mts.map +0 -1
  147. package/resources/org/org.d.ts +0 -14
  148. package/resources/org/org.d.ts.map +0 -1
  149. package/resources/org/org.js +0 -21
  150. package/resources/org/org.js.map +0 -1
  151. package/resources/org/org.mjs +0 -16
  152. package/resources/org/org.mjs.map +0 -1
  153. package/resources/org/project/api-keys.d.mts +0 -142
  154. package/resources/org/project/api-keys.d.mts.map +0 -1
  155. package/resources/org/project/api-keys.d.ts +0 -142
  156. package/resources/org/project/api-keys.d.ts.map +0 -1
  157. package/resources/org/project/api-keys.js +0 -62
  158. package/resources/org/project/api-keys.js.map +0 -1
  159. package/resources/org/project/api-keys.mjs +0 -58
  160. package/resources/org/project/api-keys.mjs.map +0 -1
  161. package/resources/org/project/index.d.mts +0 -5
  162. package/resources/org/project/index.d.mts.map +0 -1
  163. package/resources/org/project/index.d.ts +0 -5
  164. package/resources/org/project/index.d.ts.map +0 -1
  165. package/resources/org/project/index.js +0 -13
  166. package/resources/org/project/index.js.map +0 -1
  167. package/resources/org/project/index.mjs +0 -6
  168. package/resources/org/project/index.mjs.map +0 -1
  169. package/resources/org/project/project.d.mts +0 -268
  170. package/resources/org/project/project.d.mts.map +0 -1
  171. package/resources/org/project/project.d.ts +0 -268
  172. package/resources/org/project/project.d.ts.map +0 -1
  173. package/resources/org/project/project.js +0 -90
  174. package/resources/org/project/project.js.map +0 -1
  175. package/resources/org/project/project.mjs +0 -85
  176. package/resources/org/project/project.mjs.map +0 -1
  177. package/resources/org/project/trigger.d.mts +0 -145
  178. package/resources/org/project/trigger.d.mts.map +0 -1
  179. package/resources/org/project/trigger.d.ts +0 -145
  180. package/resources/org/project/trigger.d.ts.map +0 -1
  181. package/resources/org/project/trigger.js +0 -35
  182. package/resources/org/project/trigger.js.map +0 -1
  183. package/resources/org/project/trigger.mjs +0 -31
  184. package/resources/org/project/trigger.mjs.map +0 -1
  185. package/resources/org/project/webhook.d.mts +0 -166
  186. package/resources/org/project/webhook.d.mts.map +0 -1
  187. package/resources/org/project/webhook.d.ts +0 -166
  188. package/resources/org/project/webhook.d.ts.map +0 -1
  189. package/resources/org/project/webhook.js +0 -74
  190. package/resources/org/project/webhook.js.map +0 -1
  191. package/resources/org/project/webhook.mjs +0 -70
  192. package/resources/org/project/webhook.mjs.map +0 -1
  193. package/resources/org/project.d.mts +0 -2
  194. package/resources/org/project.d.mts.map +0 -1
  195. package/resources/org/project.d.ts +0 -2
  196. package/resources/org/project.d.ts.map +0 -1
  197. package/resources/org/project.js +0 -6
  198. package/resources/org/project.js.map +0 -1
  199. package/resources/org/project.mjs +0 -3
  200. package/resources/org/project.mjs.map +0 -1
  201. package/resources/org.d.mts +0 -2
  202. package/resources/org.d.mts.map +0 -1
  203. package/resources/org.d.ts +0 -2
  204. package/resources/org.d.ts.map +0 -1
  205. package/resources/org.js +0 -6
  206. package/resources/org.js.map +0 -1
  207. package/resources/org.mjs +0 -3
  208. package/resources/org.mjs.map +0 -1
  209. package/resources/team-members.d.mts +0 -55
  210. package/resources/team-members.d.mts.map +0 -1
  211. package/resources/team-members.d.ts +0 -55
  212. package/resources/team-members.d.ts.map +0 -1
  213. package/resources/team-members.js +0 -38
  214. package/resources/team-members.js.map +0 -1
  215. package/resources/team-members.mjs +0 -34
  216. package/resources/team-members.mjs.map +0 -1
  217. package/resources/trigger-instances/handle.d.mts +0 -25
  218. package/resources/trigger-instances/handle.d.mts.map +0 -1
  219. package/resources/trigger-instances/handle.d.ts +0 -25
  220. package/resources/trigger-instances/handle.d.ts.map +0 -1
  221. package/resources/trigger-instances/handle.js +0 -18
  222. package/resources/trigger-instances/handle.js.map +0 -1
  223. package/resources/trigger-instances/handle.mjs +0 -14
  224. package/resources/trigger-instances/handle.mjs.map +0 -1
  225. package/src/resources/org/api-key.ts +0 -57
  226. package/src/resources/org/index.ts +0 -13
  227. package/src/resources/org/org.ts +0 -41
  228. package/src/resources/org/project/api-keys.ts +0 -180
  229. package/src/resources/org/project/index.ts +0 -35
  230. package/src/resources/org/project/project.ts +0 -381
  231. package/src/resources/org/project/trigger.ts +0 -188
  232. package/src/resources/org/project/webhook.ts +0 -205
  233. package/src/resources/org/project.ts +0 -3
  234. package/src/resources/org.ts +0 -3
  235. package/src/resources/team-members.ts +0 -101
  236. package/src/resources/trigger-instances/handle.ts +0 -53
@@ -139,7 +139,8 @@ export interface ConnectedAccountCreateResponse {
139
139
  | ConnectedAccountCreateResponse.UnionMember6
140
140
  | ConnectedAccountCreateResponse.UnionMember7
141
141
  | ConnectedAccountCreateResponse.UnionMember8
142
- | ConnectedAccountCreateResponse.UnionMember9;
142
+ | ConnectedAccountCreateResponse.UnionMember9
143
+ | ConnectedAccountCreateResponse.UnionMember10;
143
144
 
144
145
  deprecated: ConnectedAccountCreateResponse.Deprecated;
145
146
  }
@@ -3139,6 +3140,230 @@ export namespace ConnectedAccountCreateResponse {
3139
3140
  }
3140
3141
  }
3141
3142
 
3143
+ export interface UnionMember10 {
3144
+ authScheme: 'SERVICE_ACCOUNT';
3145
+
3146
+ val:
3147
+ | UnionMember10.UnionMember0
3148
+ | UnionMember10.UnionMember1
3149
+ | UnionMember10.UnionMember2
3150
+ | UnionMember10.UnionMember3;
3151
+ }
3152
+
3153
+ export namespace UnionMember10 {
3154
+ export interface UnionMember0 {
3155
+ status: 'INITIALIZING';
3156
+
3157
+ account_id?: string;
3158
+
3159
+ account_url?: string;
3160
+
3161
+ api_url?: string;
3162
+
3163
+ base_url?: string;
3164
+
3165
+ borneo_dashboard_url?: string;
3166
+
3167
+ COMPANYDOMAIN?: string;
3168
+
3169
+ dc?: string;
3170
+
3171
+ domain?: string;
3172
+
3173
+ extension?: string;
3174
+
3175
+ form_api_base_url?: string;
3176
+
3177
+ instanceEndpoint?: string;
3178
+
3179
+ instanceName?: string;
3180
+
3181
+ proxy_password?: string;
3182
+
3183
+ proxy_username?: string;
3184
+
3185
+ region?: string;
3186
+
3187
+ server_location?: string;
3188
+
3189
+ shop?: string;
3190
+
3191
+ site_name?: string;
3192
+
3193
+ subdomain?: string;
3194
+
3195
+ version?: string;
3196
+
3197
+ your_server?: string;
3198
+
3199
+ 'your-domain'?: string;
3200
+
3201
+ [k: string]: unknown;
3202
+ }
3203
+
3204
+ export interface UnionMember1 {
3205
+ status: 'INITIATED';
3206
+
3207
+ account_id?: string;
3208
+
3209
+ account_url?: string;
3210
+
3211
+ api_url?: string;
3212
+
3213
+ base_url?: string;
3214
+
3215
+ borneo_dashboard_url?: string;
3216
+
3217
+ COMPANYDOMAIN?: string;
3218
+
3219
+ dc?: string;
3220
+
3221
+ domain?: string;
3222
+
3223
+ extension?: string;
3224
+
3225
+ form_api_base_url?: string;
3226
+
3227
+ instanceEndpoint?: string;
3228
+
3229
+ instanceName?: string;
3230
+
3231
+ proxy_password?: string;
3232
+
3233
+ proxy_username?: string;
3234
+
3235
+ region?: string;
3236
+
3237
+ server_location?: string;
3238
+
3239
+ shop?: string;
3240
+
3241
+ site_name?: string;
3242
+
3243
+ subdomain?: string;
3244
+
3245
+ version?: string;
3246
+
3247
+ your_server?: string;
3248
+
3249
+ 'your-domain'?: string;
3250
+
3251
+ [k: string]: unknown;
3252
+ }
3253
+
3254
+ export interface UnionMember2 {
3255
+ application_id: string;
3256
+
3257
+ installation_id: string;
3258
+
3259
+ private_key: string;
3260
+
3261
+ status: 'ACTIVE';
3262
+
3263
+ account_id?: string;
3264
+
3265
+ account_url?: string;
3266
+
3267
+ api_url?: string;
3268
+
3269
+ base_url?: string;
3270
+
3271
+ borneo_dashboard_url?: string;
3272
+
3273
+ COMPANYDOMAIN?: string;
3274
+
3275
+ dc?: string;
3276
+
3277
+ domain?: string;
3278
+
3279
+ extension?: string;
3280
+
3281
+ form_api_base_url?: string;
3282
+
3283
+ instanceEndpoint?: string;
3284
+
3285
+ instanceName?: string;
3286
+
3287
+ proxy_password?: string;
3288
+
3289
+ proxy_username?: string;
3290
+
3291
+ region?: string;
3292
+
3293
+ server_location?: string;
3294
+
3295
+ shop?: string;
3296
+
3297
+ site_name?: string;
3298
+
3299
+ subdomain?: string;
3300
+
3301
+ version?: string;
3302
+
3303
+ your_server?: string;
3304
+
3305
+ 'your-domain'?: string;
3306
+
3307
+ [k: string]: unknown;
3308
+ }
3309
+
3310
+ export interface UnionMember3 {
3311
+ application_id: string;
3312
+
3313
+ installation_id: string;
3314
+
3315
+ private_key: string;
3316
+
3317
+ status: 'INACTIVE';
3318
+
3319
+ account_id?: string;
3320
+
3321
+ account_url?: string;
3322
+
3323
+ api_url?: string;
3324
+
3325
+ base_url?: string;
3326
+
3327
+ borneo_dashboard_url?: string;
3328
+
3329
+ COMPANYDOMAIN?: string;
3330
+
3331
+ dc?: string;
3332
+
3333
+ domain?: string;
3334
+
3335
+ extension?: string;
3336
+
3337
+ form_api_base_url?: string;
3338
+
3339
+ instanceEndpoint?: string;
3340
+
3341
+ instanceName?: string;
3342
+
3343
+ proxy_password?: string;
3344
+
3345
+ proxy_username?: string;
3346
+
3347
+ region?: string;
3348
+
3349
+ server_location?: string;
3350
+
3351
+ shop?: string;
3352
+
3353
+ site_name?: string;
3354
+
3355
+ subdomain?: string;
3356
+
3357
+ version?: string;
3358
+
3359
+ your_server?: string;
3360
+
3361
+ 'your-domain'?: string;
3362
+
3363
+ [k: string]: unknown;
3364
+ }
3365
+ }
3366
+
3142
3367
  export interface Deprecated {
3143
3368
  /**
3144
3369
  * The uuid of the auth config
@@ -3183,7 +3408,8 @@ export interface ConnectedAccountRetrieveResponse {
3183
3408
  | ConnectedAccountRetrieveResponse.UnionMember6
3184
3409
  | ConnectedAccountRetrieveResponse.UnionMember7
3185
3410
  | ConnectedAccountRetrieveResponse.UnionMember8
3186
- | ConnectedAccountRetrieveResponse.UnionMember9;
3411
+ | ConnectedAccountRetrieveResponse.UnionMember9
3412
+ | ConnectedAccountRetrieveResponse.UnionMember10;
3187
3413
 
3188
3414
  /**
3189
3415
  * The status of the connection
@@ -6233,51 +6459,275 @@ export namespace ConnectedAccountRetrieveResponse {
6233
6459
  }
6234
6460
  }
6235
6461
 
6236
- export interface Toolkit {
6237
- /**
6238
- * The slug of the toolkit
6239
- */
6240
- slug: string;
6241
- }
6242
-
6243
- export interface Deprecated {
6244
- /**
6245
- * The labels of the connection
6246
- */
6247
- labels: Array<string>;
6462
+ export interface UnionMember10 {
6463
+ authScheme: 'SERVICE_ACCOUNT';
6248
6464
 
6249
- /**
6250
- * The uuid of the connection
6251
- */
6252
- uuid: string;
6465
+ val:
6466
+ | UnionMember10.UnionMember0
6467
+ | UnionMember10.UnionMember1
6468
+ | UnionMember10.UnionMember2
6469
+ | UnionMember10.UnionMember3;
6253
6470
  }
6254
- }
6255
6471
 
6256
- export interface ConnectedAccountListResponse {
6257
- current_page: number;
6472
+ export namespace UnionMember10 {
6473
+ export interface UnionMember0 {
6474
+ status: 'INITIALIZING';
6258
6475
 
6259
- items: Array<ConnectedAccountListResponse.Item>;
6476
+ account_id?: string;
6260
6477
 
6261
- total_items: number;
6478
+ account_url?: string;
6262
6479
 
6263
- total_pages: number;
6480
+ api_url?: string;
6264
6481
 
6265
- next_cursor?: string | null;
6266
- }
6482
+ base_url?: string;
6267
6483
 
6268
- export namespace ConnectedAccountListResponse {
6269
- export interface Item {
6270
- /**
6271
- * The id of the connection
6272
- */
6273
- id: string;
6484
+ borneo_dashboard_url?: string;
6274
6485
 
6275
- auth_config: Item.AuthConfig;
6486
+ COMPANYDOMAIN?: string;
6276
6487
 
6277
- /**
6278
- * The created at of the connection
6279
- */
6280
- created_at: string;
6488
+ dc?: string;
6489
+
6490
+ domain?: string;
6491
+
6492
+ extension?: string;
6493
+
6494
+ form_api_base_url?: string;
6495
+
6496
+ instanceEndpoint?: string;
6497
+
6498
+ instanceName?: string;
6499
+
6500
+ proxy_password?: string;
6501
+
6502
+ proxy_username?: string;
6503
+
6504
+ region?: string;
6505
+
6506
+ server_location?: string;
6507
+
6508
+ shop?: string;
6509
+
6510
+ site_name?: string;
6511
+
6512
+ subdomain?: string;
6513
+
6514
+ version?: string;
6515
+
6516
+ your_server?: string;
6517
+
6518
+ 'your-domain'?: string;
6519
+
6520
+ [k: string]: unknown;
6521
+ }
6522
+
6523
+ export interface UnionMember1 {
6524
+ status: 'INITIATED';
6525
+
6526
+ account_id?: string;
6527
+
6528
+ account_url?: string;
6529
+
6530
+ api_url?: string;
6531
+
6532
+ base_url?: string;
6533
+
6534
+ borneo_dashboard_url?: string;
6535
+
6536
+ COMPANYDOMAIN?: string;
6537
+
6538
+ dc?: string;
6539
+
6540
+ domain?: string;
6541
+
6542
+ extension?: string;
6543
+
6544
+ form_api_base_url?: string;
6545
+
6546
+ instanceEndpoint?: string;
6547
+
6548
+ instanceName?: string;
6549
+
6550
+ proxy_password?: string;
6551
+
6552
+ proxy_username?: string;
6553
+
6554
+ region?: string;
6555
+
6556
+ server_location?: string;
6557
+
6558
+ shop?: string;
6559
+
6560
+ site_name?: string;
6561
+
6562
+ subdomain?: string;
6563
+
6564
+ version?: string;
6565
+
6566
+ your_server?: string;
6567
+
6568
+ 'your-domain'?: string;
6569
+
6570
+ [k: string]: unknown;
6571
+ }
6572
+
6573
+ export interface UnionMember2 {
6574
+ application_id: string;
6575
+
6576
+ installation_id: string;
6577
+
6578
+ private_key: string;
6579
+
6580
+ status: 'ACTIVE';
6581
+
6582
+ account_id?: string;
6583
+
6584
+ account_url?: string;
6585
+
6586
+ api_url?: string;
6587
+
6588
+ base_url?: string;
6589
+
6590
+ borneo_dashboard_url?: string;
6591
+
6592
+ COMPANYDOMAIN?: string;
6593
+
6594
+ dc?: string;
6595
+
6596
+ domain?: string;
6597
+
6598
+ extension?: string;
6599
+
6600
+ form_api_base_url?: string;
6601
+
6602
+ instanceEndpoint?: string;
6603
+
6604
+ instanceName?: string;
6605
+
6606
+ proxy_password?: string;
6607
+
6608
+ proxy_username?: string;
6609
+
6610
+ region?: string;
6611
+
6612
+ server_location?: string;
6613
+
6614
+ shop?: string;
6615
+
6616
+ site_name?: string;
6617
+
6618
+ subdomain?: string;
6619
+
6620
+ version?: string;
6621
+
6622
+ your_server?: string;
6623
+
6624
+ 'your-domain'?: string;
6625
+
6626
+ [k: string]: unknown;
6627
+ }
6628
+
6629
+ export interface UnionMember3 {
6630
+ application_id: string;
6631
+
6632
+ installation_id: string;
6633
+
6634
+ private_key: string;
6635
+
6636
+ status: 'INACTIVE';
6637
+
6638
+ account_id?: string;
6639
+
6640
+ account_url?: string;
6641
+
6642
+ api_url?: string;
6643
+
6644
+ base_url?: string;
6645
+
6646
+ borneo_dashboard_url?: string;
6647
+
6648
+ COMPANYDOMAIN?: string;
6649
+
6650
+ dc?: string;
6651
+
6652
+ domain?: string;
6653
+
6654
+ extension?: string;
6655
+
6656
+ form_api_base_url?: string;
6657
+
6658
+ instanceEndpoint?: string;
6659
+
6660
+ instanceName?: string;
6661
+
6662
+ proxy_password?: string;
6663
+
6664
+ proxy_username?: string;
6665
+
6666
+ region?: string;
6667
+
6668
+ server_location?: string;
6669
+
6670
+ shop?: string;
6671
+
6672
+ site_name?: string;
6673
+
6674
+ subdomain?: string;
6675
+
6676
+ version?: string;
6677
+
6678
+ your_server?: string;
6679
+
6680
+ 'your-domain'?: string;
6681
+
6682
+ [k: string]: unknown;
6683
+ }
6684
+ }
6685
+
6686
+ export interface Toolkit {
6687
+ /**
6688
+ * The slug of the toolkit
6689
+ */
6690
+ slug: string;
6691
+ }
6692
+
6693
+ export interface Deprecated {
6694
+ /**
6695
+ * The labels of the connection
6696
+ */
6697
+ labels: Array<string>;
6698
+
6699
+ /**
6700
+ * The uuid of the connection
6701
+ */
6702
+ uuid: string;
6703
+ }
6704
+ }
6705
+
6706
+ export interface ConnectedAccountListResponse {
6707
+ current_page: number;
6708
+
6709
+ items: Array<ConnectedAccountListResponse.Item>;
6710
+
6711
+ total_items: number;
6712
+
6713
+ total_pages: number;
6714
+
6715
+ next_cursor?: string | null;
6716
+ }
6717
+
6718
+ export namespace ConnectedAccountListResponse {
6719
+ export interface Item {
6720
+ /**
6721
+ * The id of the connection
6722
+ */
6723
+ id: string;
6724
+
6725
+ auth_config: Item.AuthConfig;
6726
+
6727
+ /**
6728
+ * The created at of the connection
6729
+ */
6730
+ created_at: string;
6281
6731
 
6282
6732
  /**
6283
6733
  * Whether the connection is disabled
@@ -6297,7 +6747,8 @@ export namespace ConnectedAccountListResponse {
6297
6747
  | Item.UnionMember6
6298
6748
  | Item.UnionMember7
6299
6749
  | Item.UnionMember8
6300
- | Item.UnionMember9;
6750
+ | Item.UnionMember9
6751
+ | Item.UnionMember10;
6301
6752
 
6302
6753
  /**
6303
6754
  * The status of the connection
@@ -9124,12 +9575,242 @@ export namespace ConnectedAccountListResponse {
9124
9575
  [k: string]: unknown;
9125
9576
  }
9126
9577
 
9127
- export interface UnionMember2 {
9128
- password: string;
9578
+ export interface UnionMember2 {
9579
+ password: string;
9580
+
9581
+ status: 'ACTIVE';
9582
+
9583
+ username: string;
9584
+
9585
+ account_id?: string;
9586
+
9587
+ account_url?: string;
9588
+
9589
+ api_url?: string;
9590
+
9591
+ base_url?: string;
9592
+
9593
+ borneo_dashboard_url?: string;
9594
+
9595
+ COMPANYDOMAIN?: string;
9596
+
9597
+ dc?: string;
9598
+
9599
+ domain?: string;
9600
+
9601
+ extension?: string;
9602
+
9603
+ form_api_base_url?: string;
9604
+
9605
+ instanceEndpoint?: string;
9606
+
9607
+ instanceName?: string;
9608
+
9609
+ proxy_password?: string;
9610
+
9611
+ proxy_username?: string;
9612
+
9613
+ region?: string;
9614
+
9615
+ server_location?: string;
9616
+
9617
+ shop?: string;
9618
+
9619
+ site_name?: string;
9620
+
9621
+ subdomain?: string;
9622
+
9623
+ version?: string;
9624
+
9625
+ your_server?: string;
9626
+
9627
+ 'your-domain'?: string;
9628
+
9629
+ [k: string]: unknown;
9630
+ }
9631
+
9632
+ export interface UnionMember3 {
9633
+ password: string;
9634
+
9635
+ status: 'INACTIVE';
9636
+
9637
+ username: string;
9638
+
9639
+ account_id?: string;
9640
+
9641
+ account_url?: string;
9642
+
9643
+ api_url?: string;
9644
+
9645
+ base_url?: string;
9646
+
9647
+ borneo_dashboard_url?: string;
9648
+
9649
+ COMPANYDOMAIN?: string;
9650
+
9651
+ dc?: string;
9652
+
9653
+ domain?: string;
9654
+
9655
+ extension?: string;
9656
+
9657
+ form_api_base_url?: string;
9658
+
9659
+ instanceEndpoint?: string;
9660
+
9661
+ instanceName?: string;
9662
+
9663
+ proxy_password?: string;
9664
+
9665
+ proxy_username?: string;
9666
+
9667
+ region?: string;
9668
+
9669
+ server_location?: string;
9670
+
9671
+ shop?: string;
9672
+
9673
+ site_name?: string;
9674
+
9675
+ subdomain?: string;
9676
+
9677
+ version?: string;
9678
+
9679
+ your_server?: string;
9680
+
9681
+ 'your-domain'?: string;
9682
+
9683
+ [k: string]: unknown;
9684
+ }
9685
+
9686
+ export interface UnionMember4 {
9687
+ password: string;
9688
+
9689
+ status: 'FAILED';
9690
+
9691
+ username: string;
9692
+
9693
+ account_id?: string;
9694
+
9695
+ account_url?: string;
9696
+
9697
+ api_url?: string;
9698
+
9699
+ base_url?: string;
9700
+
9701
+ borneo_dashboard_url?: string;
9702
+
9703
+ COMPANYDOMAIN?: string;
9704
+
9705
+ dc?: string;
9706
+
9707
+ domain?: string;
9708
+
9709
+ error?: string;
9710
+
9711
+ error_description?: string;
9712
+
9713
+ extension?: string;
9714
+
9715
+ form_api_base_url?: string;
9716
+
9717
+ instanceEndpoint?: string;
9718
+
9719
+ instanceName?: string;
9720
+
9721
+ proxy_password?: string;
9722
+
9723
+ proxy_username?: string;
9724
+
9725
+ region?: string;
9726
+
9727
+ server_location?: string;
9728
+
9729
+ shop?: string;
9730
+
9731
+ site_name?: string;
9732
+
9733
+ subdomain?: string;
9734
+
9735
+ version?: string;
9736
+
9737
+ your_server?: string;
9738
+
9739
+ 'your-domain'?: string;
9740
+
9741
+ [k: string]: unknown;
9742
+ }
9743
+
9744
+ export interface UnionMember5 {
9745
+ password: string;
9746
+
9747
+ status: 'EXPIRED';
9748
+
9749
+ username: string;
9750
+
9751
+ account_id?: string;
9752
+
9753
+ account_url?: string;
9754
+
9755
+ api_url?: string;
9756
+
9757
+ base_url?: string;
9758
+
9759
+ borneo_dashboard_url?: string;
9760
+
9761
+ COMPANYDOMAIN?: string;
9762
+
9763
+ dc?: string;
9764
+
9765
+ domain?: string;
9766
+
9767
+ expired_at?: string;
9768
+
9769
+ extension?: string;
9770
+
9771
+ form_api_base_url?: string;
9772
+
9773
+ instanceEndpoint?: string;
9774
+
9775
+ instanceName?: string;
9776
+
9777
+ proxy_password?: string;
9778
+
9779
+ proxy_username?: string;
9780
+
9781
+ region?: string;
9782
+
9783
+ server_location?: string;
9784
+
9785
+ shop?: string;
9786
+
9787
+ site_name?: string;
9788
+
9789
+ subdomain?: string;
9790
+
9791
+ version?: string;
9792
+
9793
+ your_server?: string;
9794
+
9795
+ 'your-domain'?: string;
9796
+
9797
+ [k: string]: unknown;
9798
+ }
9799
+ }
9800
+
9801
+ export interface UnionMember10 {
9802
+ authScheme: 'SERVICE_ACCOUNT';
9129
9803
 
9130
- status: 'ACTIVE';
9804
+ val:
9805
+ | UnionMember10.UnionMember0
9806
+ | UnionMember10.UnionMember1
9807
+ | UnionMember10.UnionMember2
9808
+ | UnionMember10.UnionMember3;
9809
+ }
9131
9810
 
9132
- username: string;
9811
+ export namespace UnionMember10 {
9812
+ export interface UnionMember0 {
9813
+ status: 'INITIALIZING';
9133
9814
 
9134
9815
  account_id?: string;
9135
9816
 
@@ -9178,12 +9859,8 @@ export namespace ConnectedAccountListResponse {
9178
9859
  [k: string]: unknown;
9179
9860
  }
9180
9861
 
9181
- export interface UnionMember3 {
9182
- password: string;
9183
-
9184
- status: 'INACTIVE';
9185
-
9186
- username: string;
9862
+ export interface UnionMember1 {
9863
+ status: 'INITIATED';
9187
9864
 
9188
9865
  account_id?: string;
9189
9866
 
@@ -9232,12 +9909,14 @@ export namespace ConnectedAccountListResponse {
9232
9909
  [k: string]: unknown;
9233
9910
  }
9234
9911
 
9235
- export interface UnionMember4 {
9236
- password: string;
9912
+ export interface UnionMember2 {
9913
+ application_id: string;
9237
9914
 
9238
- status: 'FAILED';
9915
+ installation_id: string;
9239
9916
 
9240
- username: string;
9917
+ private_key: string;
9918
+
9919
+ status: 'ACTIVE';
9241
9920
 
9242
9921
  account_id?: string;
9243
9922
 
@@ -9255,10 +9934,6 @@ export namespace ConnectedAccountListResponse {
9255
9934
 
9256
9935
  domain?: string;
9257
9936
 
9258
- error?: string;
9259
-
9260
- error_description?: string;
9261
-
9262
9937
  extension?: string;
9263
9938
 
9264
9939
  form_api_base_url?: string;
@@ -9290,12 +9965,14 @@ export namespace ConnectedAccountListResponse {
9290
9965
  [k: string]: unknown;
9291
9966
  }
9292
9967
 
9293
- export interface UnionMember5 {
9294
- password: string;
9968
+ export interface UnionMember3 {
9969
+ application_id: string;
9295
9970
 
9296
- status: 'EXPIRED';
9971
+ installation_id: string;
9297
9972
 
9298
- username: string;
9973
+ private_key: string;
9974
+
9975
+ status: 'INACTIVE';
9299
9976
 
9300
9977
  account_id?: string;
9301
9978
 
@@ -9313,8 +9990,6 @@ export namespace ConnectedAccountListResponse {
9313
9990
 
9314
9991
  domain?: string;
9315
9992
 
9316
- expired_at?: string;
9317
-
9318
9993
  extension?: string;
9319
9994
 
9320
9995
  form_api_base_url?: string;
@@ -9413,6 +10088,12 @@ export interface ConnectedAccountCreateParams {
9413
10088
  auth_config: ConnectedAccountCreateParams.AuthConfig;
9414
10089
 
9415
10090
  connection: ConnectedAccountCreateParams.Connection;
10091
+
10092
+ /**
10093
+ * [EXPERIMENTAL] Whether to validate the provided credentials, validates only for
10094
+ * API Key Auth scheme
10095
+ */
10096
+ validate_credentials?: boolean;
9416
10097
  }
9417
10098
 
9418
10099
  export namespace ConnectedAccountCreateParams {
@@ -9442,7 +10123,8 @@ export namespace ConnectedAccountCreateParams {
9442
10123
  | Connection.UnionMember6
9443
10124
  | Connection.UnionMember7
9444
10125
  | Connection.UnionMember8
9445
- | Connection.UnionMember9;
10126
+ | Connection.UnionMember9
10127
+ | Connection.UnionMember10;
9446
10128
 
9447
10129
  /**
9448
10130
  * The user id of the connected account
@@ -12444,6 +13126,230 @@ export namespace ConnectedAccountCreateParams {
12444
13126
  [k: string]: unknown;
12445
13127
  }
12446
13128
  }
13129
+
13130
+ export interface UnionMember10 {
13131
+ authScheme: 'SERVICE_ACCOUNT';
13132
+
13133
+ val:
13134
+ | UnionMember10.UnionMember0
13135
+ | UnionMember10.UnionMember1
13136
+ | UnionMember10.UnionMember2
13137
+ | UnionMember10.UnionMember3;
13138
+ }
13139
+
13140
+ export namespace UnionMember10 {
13141
+ export interface UnionMember0 {
13142
+ status: 'INITIALIZING';
13143
+
13144
+ account_id?: string;
13145
+
13146
+ account_url?: string;
13147
+
13148
+ api_url?: string;
13149
+
13150
+ base_url?: string;
13151
+
13152
+ borneo_dashboard_url?: string;
13153
+
13154
+ COMPANYDOMAIN?: string;
13155
+
13156
+ dc?: string;
13157
+
13158
+ domain?: string;
13159
+
13160
+ extension?: string;
13161
+
13162
+ form_api_base_url?: string;
13163
+
13164
+ instanceEndpoint?: string;
13165
+
13166
+ instanceName?: string;
13167
+
13168
+ proxy_password?: string;
13169
+
13170
+ proxy_username?: string;
13171
+
13172
+ region?: string;
13173
+
13174
+ server_location?: string;
13175
+
13176
+ shop?: string;
13177
+
13178
+ site_name?: string;
13179
+
13180
+ subdomain?: string;
13181
+
13182
+ version?: string;
13183
+
13184
+ your_server?: string;
13185
+
13186
+ 'your-domain'?: string;
13187
+
13188
+ [k: string]: unknown;
13189
+ }
13190
+
13191
+ export interface UnionMember1 {
13192
+ status: 'INITIATED';
13193
+
13194
+ account_id?: string;
13195
+
13196
+ account_url?: string;
13197
+
13198
+ api_url?: string;
13199
+
13200
+ base_url?: string;
13201
+
13202
+ borneo_dashboard_url?: string;
13203
+
13204
+ COMPANYDOMAIN?: string;
13205
+
13206
+ dc?: string;
13207
+
13208
+ domain?: string;
13209
+
13210
+ extension?: string;
13211
+
13212
+ form_api_base_url?: string;
13213
+
13214
+ instanceEndpoint?: string;
13215
+
13216
+ instanceName?: string;
13217
+
13218
+ proxy_password?: string;
13219
+
13220
+ proxy_username?: string;
13221
+
13222
+ region?: string;
13223
+
13224
+ server_location?: string;
13225
+
13226
+ shop?: string;
13227
+
13228
+ site_name?: string;
13229
+
13230
+ subdomain?: string;
13231
+
13232
+ version?: string;
13233
+
13234
+ your_server?: string;
13235
+
13236
+ 'your-domain'?: string;
13237
+
13238
+ [k: string]: unknown;
13239
+ }
13240
+
13241
+ export interface UnionMember2 {
13242
+ application_id: string;
13243
+
13244
+ installation_id: string;
13245
+
13246
+ private_key: string;
13247
+
13248
+ status: 'ACTIVE';
13249
+
13250
+ account_id?: string;
13251
+
13252
+ account_url?: string;
13253
+
13254
+ api_url?: string;
13255
+
13256
+ base_url?: string;
13257
+
13258
+ borneo_dashboard_url?: string;
13259
+
13260
+ COMPANYDOMAIN?: string;
13261
+
13262
+ dc?: string;
13263
+
13264
+ domain?: string;
13265
+
13266
+ extension?: string;
13267
+
13268
+ form_api_base_url?: string;
13269
+
13270
+ instanceEndpoint?: string;
13271
+
13272
+ instanceName?: string;
13273
+
13274
+ proxy_password?: string;
13275
+
13276
+ proxy_username?: string;
13277
+
13278
+ region?: string;
13279
+
13280
+ server_location?: string;
13281
+
13282
+ shop?: string;
13283
+
13284
+ site_name?: string;
13285
+
13286
+ subdomain?: string;
13287
+
13288
+ version?: string;
13289
+
13290
+ your_server?: string;
13291
+
13292
+ 'your-domain'?: string;
13293
+
13294
+ [k: string]: unknown;
13295
+ }
13296
+
13297
+ export interface UnionMember3 {
13298
+ application_id: string;
13299
+
13300
+ installation_id: string;
13301
+
13302
+ private_key: string;
13303
+
13304
+ status: 'INACTIVE';
13305
+
13306
+ account_id?: string;
13307
+
13308
+ account_url?: string;
13309
+
13310
+ api_url?: string;
13311
+
13312
+ base_url?: string;
13313
+
13314
+ borneo_dashboard_url?: string;
13315
+
13316
+ COMPANYDOMAIN?: string;
13317
+
13318
+ dc?: string;
13319
+
13320
+ domain?: string;
13321
+
13322
+ extension?: string;
13323
+
13324
+ form_api_base_url?: string;
13325
+
13326
+ instanceEndpoint?: string;
13327
+
13328
+ instanceName?: string;
13329
+
13330
+ proxy_password?: string;
13331
+
13332
+ proxy_username?: string;
13333
+
13334
+ region?: string;
13335
+
13336
+ server_location?: string;
13337
+
13338
+ shop?: string;
13339
+
13340
+ site_name?: string;
13341
+
13342
+ subdomain?: string;
13343
+
13344
+ version?: string;
13345
+
13346
+ your_server?: string;
13347
+
13348
+ 'your-domain'?: string;
13349
+
13350
+ [k: string]: unknown;
13351
+ }
13352
+ }
12447
13353
  }
12448
13354
  }
12449
13355
 
@@ -12509,6 +13415,12 @@ export interface ConnectedAccountRefreshParams {
12509
13415
  * Body param:
12510
13416
  */
12511
13417
  body_redirect_url?: string;
13418
+
13419
+ /**
13420
+ * Body param: [EXPERIMENTAL] Whether to validate the provided credentials,
13421
+ * validates only for API Key Auth scheme
13422
+ */
13423
+ validate_credentials?: boolean;
12512
13424
  }
12513
13425
 
12514
13426
  export interface ConnectedAccountUpdateStatusParams {