@unified-api/typescript-sdk 2.83.33 → 2.83.35

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 (36) hide show
  1. package/dist/commonjs/lib/config.d.ts +3 -3
  2. package/dist/commonjs/lib/config.js +3 -3
  3. package/dist/commonjs/lib/config.js.map +1 -1
  4. package/dist/commonjs/lib/encodings.d.ts +1 -0
  5. package/dist/commonjs/lib/encodings.d.ts.map +1 -1
  6. package/dist/commonjs/lib/encodings.js +7 -0
  7. package/dist/commonjs/lib/encodings.js.map +1 -1
  8. package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +9 -0
  9. package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  10. package/dist/commonjs/sdk/models/shared/integrationsupport.js +15 -6
  11. package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
  12. package/dist/commonjs/sdk/models/shared/webhook.d.ts +2 -0
  13. package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
  14. package/dist/commonjs/sdk/models/shared/webhook.js +4 -0
  15. package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
  16. package/dist/esm/lib/config.d.ts +3 -3
  17. package/dist/esm/lib/config.js +3 -3
  18. package/dist/esm/lib/config.js.map +1 -1
  19. package/dist/esm/lib/encodings.d.ts +1 -0
  20. package/dist/esm/lib/encodings.d.ts.map +1 -1
  21. package/dist/esm/lib/encodings.js +6 -0
  22. package/dist/esm/lib/encodings.js.map +1 -1
  23. package/dist/esm/sdk/models/shared/integrationsupport.d.ts +9 -0
  24. package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  25. package/dist/esm/sdk/models/shared/integrationsupport.js +9 -0
  26. package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
  27. package/dist/esm/sdk/models/shared/webhook.d.ts +2 -0
  28. package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
  29. package/dist/esm/sdk/models/shared/webhook.js +4 -0
  30. package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
  31. package/jsr.json +1 -1
  32. package/package.json +1 -1
  33. package/src/lib/config.ts +3 -3
  34. package/src/lib/encodings.ts +9 -0
  35. package/src/sdk/models/shared/integrationsupport.ts +17 -0
  36. package/src/sdk/models/shared/webhook.ts +6 -0
@@ -602,6 +602,13 @@ export const NativeWebhookLabelId = {
602
602
  } as const;
603
603
  export type NativeWebhookLabelId = OpenEnum<typeof NativeWebhookLabelId>;
604
604
 
605
+ export const NativeWebhookListId = {
606
+ SupportedRequired: "supported-required",
607
+ Supported: "supported",
608
+ NotSupported: "not-supported",
609
+ } as const;
610
+ export type NativeWebhookListId = OpenEnum<typeof NativeWebhookListId>;
611
+
605
612
  export const NativeWebhookMemberId = {
606
613
  SupportedRequired: "supported-required",
607
614
  Supported: "supported",
@@ -1191,6 +1198,7 @@ export type IntegrationSupport = {
1191
1198
  nativeWebhookFormId?: NativeWebhookFormId | undefined;
1192
1199
  nativeWebhookIoId?: NativeWebhookIoId | undefined;
1193
1200
  nativeWebhookLabelId?: NativeWebhookLabelId | undefined;
1201
+ nativeWebhookListId?: NativeWebhookListId | undefined;
1194
1202
  nativeWebhookMemberId?: NativeWebhookMemberId | undefined;
1195
1203
  nativeWebhookOrderId?: NativeWebhookOrderId | undefined;
1196
1204
  nativeWebhookParentId?: NativeWebhookParentId | undefined;
@@ -1856,6 +1864,13 @@ export const NativeWebhookLabelId$inboundSchema: z.ZodType<
1856
1864
  unknown
1857
1865
  > = openEnums.inboundSchema(NativeWebhookLabelId);
1858
1866
 
1867
+ /** @internal */
1868
+ export const NativeWebhookListId$inboundSchema: z.ZodType<
1869
+ NativeWebhookListId,
1870
+ z.ZodTypeDef,
1871
+ unknown
1872
+ > = openEnums.inboundSchema(NativeWebhookListId);
1873
+
1859
1874
  /** @internal */
1860
1875
  export const NativeWebhookMemberId$inboundSchema: z.ZodType<
1861
1876
  NativeWebhookMemberId,
@@ -2424,6 +2439,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
2424
2439
  native_webhook_form_id: NativeWebhookFormId$inboundSchema.optional(),
2425
2440
  native_webhook_io_id: NativeWebhookIoId$inboundSchema.optional(),
2426
2441
  native_webhook_label_id: NativeWebhookLabelId$inboundSchema.optional(),
2442
+ native_webhook_list_id: NativeWebhookListId$inboundSchema.optional(),
2427
2443
  native_webhook_member_id: NativeWebhookMemberId$inboundSchema.optional(),
2428
2444
  native_webhook_order_id: NativeWebhookOrderId$inboundSchema.optional(),
2429
2445
  native_webhook_parent_id: NativeWebhookParentId$inboundSchema.optional(),
@@ -2597,6 +2613,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
2597
2613
  "native_webhook_form_id": "nativeWebhookFormId",
2598
2614
  "native_webhook_io_id": "nativeWebhookIoId",
2599
2615
  "native_webhook_label_id": "nativeWebhookLabelId",
2616
+ "native_webhook_list_id": "nativeWebhookListId",
2600
2617
  "native_webhook_member_id": "nativeWebhookMemberId",
2601
2618
  "native_webhook_order_id": "nativeWebhookOrderId",
2602
2619
  "native_webhook_parent_id": "nativeWebhookParentId",
@@ -185,6 +185,7 @@ export type Webhook = {
185
185
  id?: string | undefined;
186
186
  integrationType?: string | undefined;
187
187
  interval?: number | undefined;
188
+ isBeta?: boolean | undefined;
188
189
  isHealthy?: boolean | undefined;
189
190
  isPaused?: boolean | undefined;
190
191
  objectType: ObjectType;
@@ -260,6 +261,7 @@ export const Webhook$inboundSchema: z.ZodType<Webhook, z.ZodTypeDef, unknown> =
260
261
  id: z.string().optional(),
261
262
  integration_type: z.string().optional(),
262
263
  interval: z.number().optional(),
264
+ is_beta: z.boolean().optional(),
263
265
  is_healthy: z.boolean().optional(),
264
266
  is_paused: z.boolean().optional(),
265
267
  object_type: ObjectType$inboundSchema,
@@ -281,6 +283,7 @@ export const Webhook$inboundSchema: z.ZodType<Webhook, z.ZodTypeDef, unknown> =
281
283
  "db_url": "dbUrl",
282
284
  "hook_url": "hookUrl",
283
285
  "integration_type": "integrationType",
286
+ "is_beta": "isBeta",
284
287
  "is_healthy": "isHealthy",
285
288
  "is_paused": "isPaused",
286
289
  "object_type": "objectType",
@@ -307,6 +310,7 @@ export type Webhook$Outbound = {
307
310
  id?: string | undefined;
308
311
  integration_type?: string | undefined;
309
312
  interval?: number | undefined;
313
+ is_beta?: boolean | undefined;
310
314
  is_healthy?: boolean | undefined;
311
315
  is_paused?: boolean | undefined;
312
316
  object_type: string;
@@ -338,6 +342,7 @@ export const Webhook$outboundSchema: z.ZodType<
338
342
  id: z.string().optional(),
339
343
  integrationType: z.string().optional(),
340
344
  interval: z.number().optional(),
345
+ isBeta: z.boolean().optional(),
341
346
  isHealthy: z.boolean().optional(),
342
347
  isPaused: z.boolean().optional(),
343
348
  objectType: ObjectType$outboundSchema,
@@ -357,6 +362,7 @@ export const Webhook$outboundSchema: z.ZodType<
357
362
  dbUrl: "db_url",
358
363
  hookUrl: "hook_url",
359
364
  integrationType: "integration_type",
365
+ isBeta: "is_beta",
360
366
  isHealthy: "is_healthy",
361
367
  isPaused: "is_paused",
362
368
  objectType: "object_type",