samva 0.47.0 → 0.49.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.
- package/dist/agent/index.d.ts +1 -0
- package/dist/agent/index.js +2 -1
- package/dist/agent/runtime.js +26 -5
- package/dist/agent/types.d.ts +27 -0
- package/dist/client/sdk.gen.d.ts +234 -34
- package/dist/client/sdk.gen.js +574 -60
- package/dist/client/types.gen.d.ts +1363 -164
- package/dist/effect/accounts.d.ts +6 -6
- package/dist/effect/agents.d.ts +13 -13
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/api-keys.d.ts +13 -11
- package/dist/effect/approval-requests.d.ts +4 -4
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/campaigns.d.ts +15 -15
- package/dist/effect/contact-groups.d.ts +10 -10
- package/dist/effect/contacts.d.ts +25 -25
- package/dist/effect/conversations.d.ts +13 -13
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/descriptors/integrations-catalog.d.ts +134 -0
- package/dist/effect/descriptors/integrations-catalog.js +122 -0
- package/dist/effect/descriptors/mailboxes.d.ts +32 -12
- package/dist/effect/descriptors/mailboxes.js +32 -12
- package/dist/effect/email.d.ts +61 -61
- package/dist/effect/events.d.ts +2 -2
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/generated/accounts.d.ts +1 -3
- package/dist/effect/generated/accounts.js +2 -7
- package/dist/effect/generated/api-keys.d.ts +30 -15
- package/dist/effect/generated/api-keys.js +2 -0
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/integrations-catalog.d.ts +2702 -1
- package/dist/effect/generated/integrations-catalog.js +578 -3
- package/dist/effect/generated/journeys.d.ts +105 -107
- package/dist/effect/generated/journeys.js +6 -12
- package/dist/effect/generated/mailboxes.d.ts +752 -463
- package/dist/effect/generated/mailboxes.js +163 -98
- package/dist/effect/generated/messages.d.ts +109 -4
- package/dist/effect/generated/messages.js +41 -8
- package/dist/effect/generated/shared.d.ts +255 -59
- package/dist/effect/generated/shared.js +64 -18
- package/dist/effect/generated/template-registrations.d.ts +53 -4
- package/dist/effect/generated/template-registrations.js +13 -5
- package/dist/effect/generated/templates.d.ts +77 -15
- package/dist/effect/generated/templates.js +26 -17
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/effect/generated/webhooks.js +8 -8
- package/dist/effect/generated/whoami.d.ts +4 -4
- package/dist/effect/generated-metadata.d.ts +114 -18
- package/dist/effect/generated-metadata.js +362 -340
- package/dist/effect/integrations-catalog.d.ts +228 -3
- package/dist/effect/integrations-catalog.js +29 -1
- package/dist/effect/integrations.d.ts +7 -7
- package/dist/effect/internal/client.d.ts +7 -3
- package/dist/effect/internal/operation.d.ts +10 -6
- package/dist/effect/internal/operation.js +3 -3
- package/dist/effect/journeys.d.ts +14 -14
- package/dist/effect/mailboxes.d.ts +117 -91
- package/dist/effect/mailboxes.js +11 -7
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/messages.d.ts +9 -9
- package/dist/effect/namespaces.d.ts +11 -11
- package/dist/effect/newsletter-domains.d.ts +4 -4
- package/dist/effect/newsletter-issues.d.ts +11 -11
- package/dist/effect/newsletters.d.ts +5 -5
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/organizations.d.ts +12 -12
- package/dist/effect/policies.d.ts +3 -3
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +5 -5
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/template-registrations.d.ts +9 -3
- package/dist/effect/template-share-links.d.ts +5 -5
- package/dist/effect/templates.d.ts +46 -37
- package/dist/effect/topic-forms.d.ts +5 -5
- package/dist/effect/topics.d.ts +9 -9
- package/dist/effect/webhooks.d.ts +15 -15
- package/dist/effect/whatsapp-flows.d.ts +10 -10
- package/dist/effect/whatsapp-setup-links.d.ts +4 -4
- package/dist/effect/whatsapp.d.ts +12 -12
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/inline-attachments.d.ts +0 -5
- package/dist/mailbox-events.d.ts +1 -5
- package/dist/mailbox-events.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +4 -4
- package/dist/promises/client.js +8 -4
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +83 -9
- package/package.json +2 -2
|
@@ -9,7 +9,7 @@ export declare const list: ((input?: {
|
|
|
9
9
|
readonly customFieldValue?: string | undefined;
|
|
10
10
|
readonly after?: string | undefined;
|
|
11
11
|
readonly before?: string | undefined;
|
|
12
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
12
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsList">) & {
|
|
13
13
|
readonly pages: (input?: {
|
|
14
14
|
readonly limit?: number | null | undefined;
|
|
15
15
|
readonly cursor?: string | undefined;
|
|
@@ -147,13 +147,13 @@ export declare const create: (input: {
|
|
|
147
147
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
148
148
|
} | null | undefined;
|
|
149
149
|
} | null | undefined;
|
|
150
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
150
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsCreate">;
|
|
151
151
|
export declare const find: (input?: {
|
|
152
152
|
readonly namespaceId?: string | null | undefined;
|
|
153
153
|
readonly email?: string | null | undefined;
|
|
154
154
|
readonly phone?: string | null | undefined;
|
|
155
155
|
readonly externalId?: string | null | undefined;
|
|
156
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
156
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsFind">;
|
|
157
157
|
export declare const findOrCreate: (input: {
|
|
158
158
|
readonly namespaceId?: string | null | undefined;
|
|
159
159
|
readonly lookup: {
|
|
@@ -193,10 +193,10 @@ export declare const findOrCreate: (input: {
|
|
|
193
193
|
} | null | undefined;
|
|
194
194
|
readonly externalId?: string | null | undefined;
|
|
195
195
|
} | null | undefined;
|
|
196
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
196
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsFindOrCreate">;
|
|
197
197
|
export declare const get: (input: {
|
|
198
198
|
readonly id: string;
|
|
199
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
199
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsGet">;
|
|
200
200
|
export declare const update: (input: {
|
|
201
201
|
readonly id: string;
|
|
202
202
|
readonly name?: string | null | undefined;
|
|
@@ -261,28 +261,28 @@ export declare const update: (input: {
|
|
|
261
261
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
262
262
|
} | null | undefined;
|
|
263
263
|
} | null | undefined;
|
|
264
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
264
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsUpdate">;
|
|
265
265
|
export declare const remove: (input: {
|
|
266
266
|
readonly id: string;
|
|
267
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
267
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsRemove">;
|
|
268
268
|
export declare const merge: (input: {
|
|
269
269
|
readonly id: string;
|
|
270
270
|
readonly from: string;
|
|
271
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
271
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsMerge">;
|
|
272
272
|
export declare const mergeByConnection: (input: {
|
|
273
273
|
readonly id: string;
|
|
274
274
|
readonly connection: string;
|
|
275
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
275
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsMergeByConnection">;
|
|
276
276
|
export declare const addIdentity: (input: {
|
|
277
277
|
readonly id: string;
|
|
278
278
|
readonly type: "email" | "phone";
|
|
279
279
|
readonly identifier: string;
|
|
280
280
|
readonly verified?: boolean | null | undefined;
|
|
281
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
281
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsAddIdentity">;
|
|
282
282
|
export declare const removeIdentity: (input: {
|
|
283
283
|
readonly id: string;
|
|
284
284
|
readonly identityId: string;
|
|
285
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
285
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsRemoveIdentity">;
|
|
286
286
|
export declare const setConsent: (input: {
|
|
287
287
|
readonly id: string;
|
|
288
288
|
readonly identityId: string;
|
|
@@ -317,18 +317,18 @@ export declare const setConsent: (input: {
|
|
|
317
317
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
318
318
|
} | null | undefined;
|
|
319
319
|
} | null | undefined;
|
|
320
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
320
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsSetConsent">;
|
|
321
321
|
export declare const addTags: (input: {
|
|
322
322
|
readonly id: string;
|
|
323
323
|
readonly tags: readonly string[];
|
|
324
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
324
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsAddTags">;
|
|
325
325
|
export declare const removeTags: (input: {
|
|
326
326
|
readonly id: string;
|
|
327
327
|
readonly tags: readonly string[];
|
|
328
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
328
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsRemoveTags">;
|
|
329
329
|
export declare const getEngagement: (input: {
|
|
330
330
|
readonly id: string;
|
|
331
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
331
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsGetEngagement">;
|
|
332
332
|
export declare const planImport: (input: {
|
|
333
333
|
readonly preset: "beehiiv" | "kit" | "mailchimp" | "substack";
|
|
334
334
|
readonly topicId: string;
|
|
@@ -352,7 +352,7 @@ export declare const planImport: (input: {
|
|
|
352
352
|
readonly scope: "cleaned/bounced" | "subscribed" | "suppressed" | "unsubscribed";
|
|
353
353
|
} | null | undefined;
|
|
354
354
|
})[];
|
|
355
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
355
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsPlanImport">;
|
|
356
356
|
export declare const startImport: (input: {
|
|
357
357
|
readonly mode: "new";
|
|
358
358
|
readonly input: {
|
|
@@ -384,22 +384,22 @@ export declare const startImport: (input: {
|
|
|
384
384
|
readonly mode: "resume";
|
|
385
385
|
readonly jobId: string;
|
|
386
386
|
readonly expectedGeneration: number;
|
|
387
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
387
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsStartImport">;
|
|
388
388
|
export declare const getImportJob: (input: {
|
|
389
389
|
readonly id: string;
|
|
390
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
390
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsGetImportJob">;
|
|
391
391
|
export declare const bulkDelete: (input: {
|
|
392
392
|
readonly ids: readonly string[];
|
|
393
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
393
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsBulkDelete">;
|
|
394
394
|
export declare const bulkUpdateTags: (input: {
|
|
395
395
|
readonly ids: readonly string[];
|
|
396
396
|
readonly operation: "add" | "remove" | "set";
|
|
397
397
|
readonly tags: readonly string[];
|
|
398
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
398
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsBulkUpdateTags">;
|
|
399
399
|
export declare const bulkUpdateStatus: (input: {
|
|
400
400
|
readonly ids: readonly string[];
|
|
401
401
|
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
402
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
402
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsBulkUpdateStatus">;
|
|
403
403
|
declare const exportContacts: (input?: {
|
|
404
404
|
readonly ids?: readonly string[] | null | undefined;
|
|
405
405
|
readonly format?: "csv" | "json" | null | undefined;
|
|
@@ -408,14 +408,14 @@ declare const exportContacts: (input?: {
|
|
|
408
408
|
readonly tags?: readonly string[] | null | undefined;
|
|
409
409
|
} | null | undefined;
|
|
410
410
|
readonly fields?: readonly string[] | null | undefined;
|
|
411
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
411
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsExport">;
|
|
412
412
|
export { exportContacts as export };
|
|
413
413
|
export declare const getActivityTimeline: ((input: {
|
|
414
414
|
readonly id: string;
|
|
415
415
|
readonly limit?: number | null | undefined;
|
|
416
416
|
readonly cursor?: string | undefined;
|
|
417
417
|
readonly channel?: "email" | "sms" | "whatsapp" | undefined;
|
|
418
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
418
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsGetActivityTimeline">) & {
|
|
419
419
|
readonly pages: (input: {
|
|
420
420
|
readonly id: string;
|
|
421
421
|
readonly limit?: number | null | undefined;
|
|
@@ -454,7 +454,7 @@ export declare const getGroupMemberships: ((input: {
|
|
|
454
454
|
readonly id: string;
|
|
455
455
|
readonly limit?: number | null | undefined;
|
|
456
456
|
readonly cursor?: string | undefined;
|
|
457
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
457
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactsGetGroupMemberships">) & {
|
|
458
458
|
readonly pages: (input: {
|
|
459
459
|
readonly id: string;
|
|
460
460
|
readonly limit?: number | null | undefined;
|
|
@@ -487,7 +487,7 @@ export declare const listEvents: ((input: {
|
|
|
487
487
|
readonly id: string;
|
|
488
488
|
readonly limit?: number | null | undefined;
|
|
489
489
|
readonly cursor?: string | undefined;
|
|
490
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
490
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"contactEventsListEvents">) & {
|
|
491
491
|
readonly pages: (input: {
|
|
492
492
|
readonly id: string;
|
|
493
493
|
readonly limit?: number | null | undefined;
|
|
@@ -8,7 +8,7 @@ export declare const list: ((input?: {
|
|
|
8
8
|
readonly mailboxId?: string | undefined;
|
|
9
9
|
readonly after?: string | undefined;
|
|
10
10
|
readonly before?: string | undefined;
|
|
11
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
11
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsList">) & {
|
|
12
12
|
readonly pages: (input?: {
|
|
13
13
|
readonly limit?: number | null | undefined;
|
|
14
14
|
readonly cursor?: string | undefined;
|
|
@@ -199,10 +199,10 @@ export declare const create: (input: {
|
|
|
199
199
|
readonly isTest?: boolean | null | undefined;
|
|
200
200
|
readonly isInternal?: boolean | null | undefined;
|
|
201
201
|
readonly isPrivate?: boolean | null | undefined;
|
|
202
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
202
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsCreate">;
|
|
203
203
|
export declare const getById: (input: {
|
|
204
204
|
readonly id: string;
|
|
205
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
205
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsGetById">;
|
|
206
206
|
export declare const update: (input: {
|
|
207
207
|
readonly id: string;
|
|
208
208
|
readonly title?: string | null | undefined;
|
|
@@ -334,14 +334,14 @@ export declare const update: (input: {
|
|
|
334
334
|
readonly isTest?: boolean | null | undefined;
|
|
335
335
|
readonly isInternal?: boolean | null | undefined;
|
|
336
336
|
readonly isPrivate?: boolean | null | undefined;
|
|
337
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
337
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsUpdate">;
|
|
338
338
|
export declare const listMessages: ((input: {
|
|
339
339
|
readonly id: string;
|
|
340
340
|
readonly limit?: number | null | undefined;
|
|
341
341
|
readonly cursor?: string | undefined;
|
|
342
342
|
readonly after?: string | undefined;
|
|
343
343
|
readonly before?: string | undefined;
|
|
344
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
344
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsListMessages">) & {
|
|
345
345
|
readonly pages: (input: {
|
|
346
346
|
readonly id: string;
|
|
347
347
|
readonly limit?: number | null | undefined;
|
|
@@ -391,32 +391,32 @@ export declare const listMessages: ((input: {
|
|
|
391
391
|
export declare const addTags: (input: {
|
|
392
392
|
readonly id: string;
|
|
393
393
|
readonly tags: readonly string[];
|
|
394
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
394
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsAddTags">;
|
|
395
395
|
export declare const removeTags: (input: {
|
|
396
396
|
readonly id: string;
|
|
397
397
|
readonly tags: readonly string[];
|
|
398
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
398
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsRemoveTags">;
|
|
399
399
|
export declare const addCategories: (input: {
|
|
400
400
|
readonly id: string;
|
|
401
401
|
readonly categories: readonly string[];
|
|
402
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
402
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsAddCategories">;
|
|
403
403
|
export declare const removeCategories: (input: {
|
|
404
404
|
readonly id: string;
|
|
405
405
|
readonly categories: readonly string[];
|
|
406
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
406
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsRemoveCategories">;
|
|
407
407
|
export declare const addChannels: (input: {
|
|
408
408
|
readonly id: string;
|
|
409
409
|
readonly channels: readonly ("email" | "sms" | "whatsapp")[];
|
|
410
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
410
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsAddChannels">;
|
|
411
411
|
export declare const removeChannels: (input: {
|
|
412
412
|
readonly id: string;
|
|
413
413
|
readonly channels: readonly ("email" | "sms" | "whatsapp")[];
|
|
414
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
414
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsRemoveChannels">;
|
|
415
415
|
export declare const addContacts: (input: {
|
|
416
416
|
readonly id: string;
|
|
417
417
|
readonly contactIds: readonly string[];
|
|
418
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
418
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsAddContacts">;
|
|
419
419
|
export declare const removeContacts: (input: {
|
|
420
420
|
readonly id: string;
|
|
421
421
|
readonly contactIds: readonly string[];
|
|
422
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
422
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"conversationsRemoveContacts">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const list: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
1
|
+
export declare const list: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"customFieldsList">;
|
|
2
2
|
export declare const create: (input: {
|
|
3
3
|
readonly key: string;
|
|
4
4
|
readonly label: string;
|
|
@@ -7,7 +7,7 @@ export declare const create: (input: {
|
|
|
7
7
|
readonly defaultValue?: string | null | undefined;
|
|
8
8
|
readonly isRequired?: boolean | null | undefined;
|
|
9
9
|
readonly sortOrder?: number | null | undefined;
|
|
10
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
10
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"customFieldsCreate">;
|
|
11
11
|
export declare const update: (input: {
|
|
12
12
|
readonly id: string;
|
|
13
13
|
readonly label?: string | null | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const update: (input: {
|
|
|
15
15
|
readonly defaultValue?: string | null | undefined;
|
|
16
16
|
readonly isRequired?: boolean | null | undefined;
|
|
17
17
|
readonly sortOrder?: number | null | undefined;
|
|
18
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
18
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"customFieldsUpdate">;
|
|
19
19
|
export declare const remove: (input: {
|
|
20
20
|
readonly id: string;
|
|
21
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
21
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"customFieldsRemove">;
|
|
@@ -1,4 +1,138 @@
|
|
|
1
1
|
export declare const integrationCatalogOperations: {
|
|
2
|
+
readonly integrationCatalogRecipeConnectionHandoff: {
|
|
3
|
+
readonly group: "Integrations catalog";
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly idempotent: false;
|
|
6
|
+
readonly paginated: false;
|
|
7
|
+
readonly call: {
|
|
8
|
+
readonly kind: "pathParams";
|
|
9
|
+
readonly paths: readonly ["provider"];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
readonly integrationCatalogRecipeTestHandoff: {
|
|
13
|
+
readonly group: "Integrations catalog";
|
|
14
|
+
readonly method: "GET";
|
|
15
|
+
readonly idempotent: false;
|
|
16
|
+
readonly paginated: false;
|
|
17
|
+
readonly call: {
|
|
18
|
+
readonly kind: "params";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
readonly integrationCatalogRecipeSetupsList: {
|
|
22
|
+
readonly group: "Integrations catalog";
|
|
23
|
+
readonly method: "GET";
|
|
24
|
+
readonly idempotent: false;
|
|
25
|
+
readonly paginated: false;
|
|
26
|
+
readonly call: {
|
|
27
|
+
readonly kind: "none";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
readonly integrationCatalogRecipeSetupGet: {
|
|
31
|
+
readonly group: "Integrations catalog";
|
|
32
|
+
readonly method: "GET";
|
|
33
|
+
readonly idempotent: false;
|
|
34
|
+
readonly paginated: false;
|
|
35
|
+
readonly call: {
|
|
36
|
+
readonly kind: "path";
|
|
37
|
+
readonly paths: readonly ["id"];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
readonly integrationCatalogRecipeSetupReplace: {
|
|
41
|
+
readonly group: "Integrations catalog";
|
|
42
|
+
readonly method: "PUT";
|
|
43
|
+
readonly idempotent: false;
|
|
44
|
+
readonly paginated: false;
|
|
45
|
+
readonly call: {
|
|
46
|
+
readonly kind: "pathPayload";
|
|
47
|
+
readonly paths: readonly ["id"];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
readonly integrationCatalogRecipeSetupActivate: {
|
|
51
|
+
readonly group: "Integrations catalog";
|
|
52
|
+
readonly method: "POST";
|
|
53
|
+
readonly idempotent: false;
|
|
54
|
+
readonly paginated: false;
|
|
55
|
+
readonly call: {
|
|
56
|
+
readonly kind: "pathPayload";
|
|
57
|
+
readonly paths: readonly ["id"];
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
readonly integrationCatalogRecipePreview: {
|
|
61
|
+
readonly group: "Integrations catalog";
|
|
62
|
+
readonly method: "POST";
|
|
63
|
+
readonly idempotent: false;
|
|
64
|
+
readonly paginated: false;
|
|
65
|
+
readonly call: {
|
|
66
|
+
readonly kind: "payload";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
readonly integrationCatalogRecipeWhatsAppChallengeBegin: {
|
|
70
|
+
readonly group: "Integrations catalog";
|
|
71
|
+
readonly method: "POST";
|
|
72
|
+
readonly idempotent: false;
|
|
73
|
+
readonly paginated: false;
|
|
74
|
+
readonly call: {
|
|
75
|
+
readonly kind: "path";
|
|
76
|
+
readonly paths: readonly ["accountId"];
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly integrationCatalogRecipeWhatsAppChallengeGet: {
|
|
80
|
+
readonly group: "Integrations catalog";
|
|
81
|
+
readonly method: "GET";
|
|
82
|
+
readonly idempotent: false;
|
|
83
|
+
readonly paginated: false;
|
|
84
|
+
readonly call: {
|
|
85
|
+
readonly kind: "path";
|
|
86
|
+
readonly paths: readonly ["accountId", "id"];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly integrationCatalogRecipeWhatsAppChallengeConfirm: {
|
|
90
|
+
readonly group: "Integrations catalog";
|
|
91
|
+
readonly method: "POST";
|
|
92
|
+
readonly idempotent: false;
|
|
93
|
+
readonly paginated: false;
|
|
94
|
+
readonly call: {
|
|
95
|
+
readonly kind: "pathPayload";
|
|
96
|
+
readonly paths: readonly ["accountId", "id"];
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
readonly integrationCatalogRecipeTest: {
|
|
100
|
+
readonly group: "Integrations catalog";
|
|
101
|
+
readonly method: "POST";
|
|
102
|
+
readonly idempotent: false;
|
|
103
|
+
readonly paginated: false;
|
|
104
|
+
readonly call: {
|
|
105
|
+
readonly kind: "payload";
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
readonly integrationCatalogRecipeTestReceipt: {
|
|
109
|
+
readonly group: "Integrations catalog";
|
|
110
|
+
readonly method: "GET";
|
|
111
|
+
readonly idempotent: false;
|
|
112
|
+
readonly paginated: false;
|
|
113
|
+
readonly call: {
|
|
114
|
+
readonly kind: "path";
|
|
115
|
+
readonly paths: readonly ["requestId"];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
readonly integrationCatalogRecipeCatalog: {
|
|
119
|
+
readonly group: "Integrations catalog";
|
|
120
|
+
readonly method: "GET";
|
|
121
|
+
readonly idempotent: false;
|
|
122
|
+
readonly paginated: false;
|
|
123
|
+
readonly call: {
|
|
124
|
+
readonly kind: "none";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
readonly integrationCatalogRecipeReadiness: {
|
|
128
|
+
readonly group: "Integrations catalog";
|
|
129
|
+
readonly method: "GET";
|
|
130
|
+
readonly idempotent: false;
|
|
131
|
+
readonly paginated: false;
|
|
132
|
+
readonly call: {
|
|
133
|
+
readonly kind: "params";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
2
136
|
readonly integrationCatalogPrepare: {
|
|
3
137
|
readonly group: "Integrations catalog";
|
|
4
138
|
readonly method: "POST";
|
|
@@ -1,5 +1,127 @@
|
|
|
1
1
|
// src/effect/descriptors/integrations-catalog.ts
|
|
2
2
|
const integrationCatalogOperations = {
|
|
3
|
+
integrationCatalogRecipeConnectionHandoff: {
|
|
4
|
+
group: "Integrations catalog",
|
|
5
|
+
method: "GET",
|
|
6
|
+
idempotent: false,
|
|
7
|
+
paginated: false,
|
|
8
|
+
call: {
|
|
9
|
+
kind: "pathParams",
|
|
10
|
+
paths: ["provider"]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
integrationCatalogRecipeTestHandoff: {
|
|
14
|
+
group: "Integrations catalog",
|
|
15
|
+
method: "GET",
|
|
16
|
+
idempotent: false,
|
|
17
|
+
paginated: false,
|
|
18
|
+
call: { kind: "params" }
|
|
19
|
+
},
|
|
20
|
+
integrationCatalogRecipeSetupsList: {
|
|
21
|
+
group: "Integrations catalog",
|
|
22
|
+
method: "GET",
|
|
23
|
+
idempotent: false,
|
|
24
|
+
paginated: false,
|
|
25
|
+
call: { kind: "none" }
|
|
26
|
+
},
|
|
27
|
+
integrationCatalogRecipeSetupGet: {
|
|
28
|
+
group: "Integrations catalog",
|
|
29
|
+
method: "GET",
|
|
30
|
+
idempotent: false,
|
|
31
|
+
paginated: false,
|
|
32
|
+
call: {
|
|
33
|
+
kind: "path",
|
|
34
|
+
paths: ["id"]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
integrationCatalogRecipeSetupReplace: {
|
|
38
|
+
group: "Integrations catalog",
|
|
39
|
+
method: "PUT",
|
|
40
|
+
idempotent: false,
|
|
41
|
+
paginated: false,
|
|
42
|
+
call: {
|
|
43
|
+
kind: "pathPayload",
|
|
44
|
+
paths: ["id"]
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
integrationCatalogRecipeSetupActivate: {
|
|
48
|
+
group: "Integrations catalog",
|
|
49
|
+
method: "POST",
|
|
50
|
+
idempotent: false,
|
|
51
|
+
paginated: false,
|
|
52
|
+
call: {
|
|
53
|
+
kind: "pathPayload",
|
|
54
|
+
paths: ["id"]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
integrationCatalogRecipePreview: {
|
|
58
|
+
group: "Integrations catalog",
|
|
59
|
+
method: "POST",
|
|
60
|
+
idempotent: false,
|
|
61
|
+
paginated: false,
|
|
62
|
+
call: { kind: "payload" }
|
|
63
|
+
},
|
|
64
|
+
integrationCatalogRecipeWhatsAppChallengeBegin: {
|
|
65
|
+
group: "Integrations catalog",
|
|
66
|
+
method: "POST",
|
|
67
|
+
idempotent: false,
|
|
68
|
+
paginated: false,
|
|
69
|
+
call: {
|
|
70
|
+
kind: "path",
|
|
71
|
+
paths: ["accountId"]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
integrationCatalogRecipeWhatsAppChallengeGet: {
|
|
75
|
+
group: "Integrations catalog",
|
|
76
|
+
method: "GET",
|
|
77
|
+
idempotent: false,
|
|
78
|
+
paginated: false,
|
|
79
|
+
call: {
|
|
80
|
+
kind: "path",
|
|
81
|
+
paths: ["accountId", "id"]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
integrationCatalogRecipeWhatsAppChallengeConfirm: {
|
|
85
|
+
group: "Integrations catalog",
|
|
86
|
+
method: "POST",
|
|
87
|
+
idempotent: false,
|
|
88
|
+
paginated: false,
|
|
89
|
+
call: {
|
|
90
|
+
kind: "pathPayload",
|
|
91
|
+
paths: ["accountId", "id"]
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
integrationCatalogRecipeTest: {
|
|
95
|
+
group: "Integrations catalog",
|
|
96
|
+
method: "POST",
|
|
97
|
+
idempotent: false,
|
|
98
|
+
paginated: false,
|
|
99
|
+
call: { kind: "payload" }
|
|
100
|
+
},
|
|
101
|
+
integrationCatalogRecipeTestReceipt: {
|
|
102
|
+
group: "Integrations catalog",
|
|
103
|
+
method: "GET",
|
|
104
|
+
idempotent: false,
|
|
105
|
+
paginated: false,
|
|
106
|
+
call: {
|
|
107
|
+
kind: "path",
|
|
108
|
+
paths: ["requestId"]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
integrationCatalogRecipeCatalog: {
|
|
112
|
+
group: "Integrations catalog",
|
|
113
|
+
method: "GET",
|
|
114
|
+
idempotent: false,
|
|
115
|
+
paginated: false,
|
|
116
|
+
call: { kind: "none" }
|
|
117
|
+
},
|
|
118
|
+
integrationCatalogRecipeReadiness: {
|
|
119
|
+
group: "Integrations catalog",
|
|
120
|
+
method: "GET",
|
|
121
|
+
idempotent: false,
|
|
122
|
+
paginated: false,
|
|
123
|
+
call: { kind: "params" }
|
|
124
|
+
},
|
|
3
125
|
integrationCatalogPrepare: {
|
|
4
126
|
group: "Integrations catalog",
|
|
5
127
|
method: "POST",
|
|
@@ -294,6 +294,36 @@ export declare const mailboxesOperations: {
|
|
|
294
294
|
readonly paths: readonly ["id", "threadId"];
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
|
+
readonly mailboxesDeleteThread: {
|
|
298
|
+
readonly group: "Mailboxes";
|
|
299
|
+
readonly method: "DELETE";
|
|
300
|
+
readonly idempotent: false;
|
|
301
|
+
readonly paginated: false;
|
|
302
|
+
readonly call: {
|
|
303
|
+
readonly kind: "path";
|
|
304
|
+
readonly paths: readonly ["id", "threadId"];
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
readonly mailboxesEmptyTrash: {
|
|
308
|
+
readonly group: "Mailboxes";
|
|
309
|
+
readonly method: "POST";
|
|
310
|
+
readonly idempotent: false;
|
|
311
|
+
readonly paginated: false;
|
|
312
|
+
readonly call: {
|
|
313
|
+
readonly kind: "path";
|
|
314
|
+
readonly paths: readonly ["id"];
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
readonly mailboxesEmptySpam: {
|
|
318
|
+
readonly group: "Mailboxes";
|
|
319
|
+
readonly method: "POST";
|
|
320
|
+
readonly idempotent: false;
|
|
321
|
+
readonly paginated: false;
|
|
322
|
+
readonly call: {
|
|
323
|
+
readonly kind: "path";
|
|
324
|
+
readonly paths: readonly ["id"];
|
|
325
|
+
};
|
|
326
|
+
};
|
|
297
327
|
readonly mailboxesAddThreadLabels: {
|
|
298
328
|
readonly group: "Mailboxes";
|
|
299
329
|
readonly method: "POST";
|
|
@@ -454,7 +484,7 @@ export declare const mailboxesOperations: {
|
|
|
454
484
|
readonly paths: readonly ["id", "messageId"];
|
|
455
485
|
};
|
|
456
486
|
};
|
|
457
|
-
readonly
|
|
487
|
+
readonly mailboxesListSpamHeld: {
|
|
458
488
|
readonly group: "Mailboxes";
|
|
459
489
|
readonly method: "GET";
|
|
460
490
|
readonly idempotent: false;
|
|
@@ -464,17 +494,7 @@ export declare const mailboxesOperations: {
|
|
|
464
494
|
readonly paths: readonly ["id"];
|
|
465
495
|
};
|
|
466
496
|
};
|
|
467
|
-
readonly
|
|
468
|
-
readonly group: "Mailboxes";
|
|
469
|
-
readonly method: "POST";
|
|
470
|
-
readonly idempotent: false;
|
|
471
|
-
readonly paginated: false;
|
|
472
|
-
readonly call: {
|
|
473
|
-
readonly kind: "path";
|
|
474
|
-
readonly paths: readonly ["id", "messageId"];
|
|
475
|
-
};
|
|
476
|
-
};
|
|
477
|
-
readonly mailboxesDiscardMessage: {
|
|
497
|
+
readonly mailboxesDiscardSpamHeld: {
|
|
478
498
|
readonly group: "Mailboxes";
|
|
479
499
|
readonly method: "POST";
|
|
480
500
|
readonly idempotent: false;
|