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 projectId?: string | undefined;
|
|
10
10
|
readonly namespaceId?: string | undefined;
|
|
11
11
|
readonly shared?: boolean | null | undefined;
|
|
12
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
12
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesList">) & {
|
|
13
13
|
readonly pages: (input?: {
|
|
14
14
|
readonly limit?: number | null | undefined;
|
|
15
15
|
readonly cursor?: string | undefined;
|
|
@@ -95,18 +95,21 @@ export declare const create: (input?: {
|
|
|
95
95
|
readonly category?: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null | undefined;
|
|
96
96
|
readonly namespaceId?: string | null | undefined;
|
|
97
97
|
readonly shared?: boolean | null | undefined;
|
|
98
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
98
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesCreate">;
|
|
99
99
|
export declare const listFamilies: ((input?: {
|
|
100
100
|
readonly limit?: number | null | undefined;
|
|
101
101
|
readonly cursor?: string | undefined;
|
|
102
|
-
|
|
102
|
+
readonly namespaceId?: string | undefined;
|
|
103
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesListFamilies">) & {
|
|
103
104
|
readonly pages: (input?: {
|
|
104
105
|
readonly limit?: number | null | undefined;
|
|
105
106
|
readonly cursor?: string | undefined;
|
|
107
|
+
readonly namespaceId?: string | undefined;
|
|
106
108
|
} | undefined) => import("effect/Stream").Stream<{
|
|
107
109
|
readonly items: readonly {
|
|
108
110
|
readonly id: string & import("effect/Brand").Brand<"TemplateFamilyId">;
|
|
109
111
|
readonly name: string;
|
|
112
|
+
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
110
113
|
readonly members: readonly {
|
|
111
114
|
readonly id: string & import("effect/Brand").Brand<"TemplateId">;
|
|
112
115
|
readonly name: string;
|
|
@@ -124,9 +127,11 @@ export declare const listFamilies: ((input?: {
|
|
|
124
127
|
readonly items: (input?: {
|
|
125
128
|
readonly limit?: number | null | undefined;
|
|
126
129
|
readonly cursor?: string | undefined;
|
|
130
|
+
readonly namespaceId?: string | undefined;
|
|
127
131
|
} | undefined) => import("effect/Stream").Stream<{
|
|
128
132
|
readonly id: string & import("effect/Brand").Brand<"TemplateFamilyId">;
|
|
129
133
|
readonly name: string;
|
|
134
|
+
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
130
135
|
readonly members: readonly {
|
|
131
136
|
readonly id: string & import("effect/Brand").Brand<"TemplateId">;
|
|
132
137
|
readonly name: string;
|
|
@@ -142,32 +147,33 @@ export declare const listFamilies: ((input?: {
|
|
|
142
147
|
};
|
|
143
148
|
export declare const createFamily: (input: {
|
|
144
149
|
readonly name: string;
|
|
145
|
-
|
|
150
|
+
readonly namespaceId?: string | null | undefined;
|
|
151
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesCreateFamily">;
|
|
146
152
|
export declare const getFamily: (input: {
|
|
147
153
|
readonly id: string;
|
|
148
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
154
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesGetFamily">;
|
|
149
155
|
export declare const renameFamily: (input: {
|
|
150
156
|
readonly id: string;
|
|
151
157
|
readonly name: string;
|
|
152
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
158
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesRenameFamily">;
|
|
153
159
|
export declare const deleteFamily: (input: {
|
|
154
160
|
readonly id: string;
|
|
155
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
161
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesDeleteFamily">;
|
|
156
162
|
export declare const createFamilyFromTemplate: (input: {
|
|
157
163
|
readonly templateId: string;
|
|
158
164
|
readonly name: string;
|
|
159
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
165
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesCreateFamilyFromTemplate">;
|
|
160
166
|
export declare const attachFamilyMember: (input: {
|
|
161
167
|
readonly id: string;
|
|
162
168
|
readonly templateId: string;
|
|
163
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
169
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesAttachFamilyMember">;
|
|
164
170
|
export declare const detachFamilyMember: (input: {
|
|
165
171
|
readonly id: string;
|
|
166
172
|
readonly templateId: string;
|
|
167
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
173
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesDetachFamilyMember">;
|
|
168
174
|
export declare const getById: (input: {
|
|
169
175
|
readonly id: string;
|
|
170
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
176
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesGetById">;
|
|
171
177
|
export declare const update: (input: {
|
|
172
178
|
readonly id: string;
|
|
173
179
|
readonly data: {
|
|
@@ -187,26 +193,29 @@ export declare const update: (input: {
|
|
|
187
193
|
} | null | undefined;
|
|
188
194
|
readonly shared?: boolean | null | undefined;
|
|
189
195
|
};
|
|
190
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
196
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesUpdate">;
|
|
191
197
|
declare const deleteTemplate: (input: {
|
|
192
198
|
readonly id: string;
|
|
193
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
199
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesDelete">;
|
|
194
200
|
export { deleteTemplate as delete };
|
|
195
201
|
export declare const suggestStarters: (input: {
|
|
196
202
|
readonly brief: string;
|
|
197
|
-
|
|
203
|
+
readonly channel?: "email" | "whatsapp" | null | undefined;
|
|
204
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesSuggestStarters">;
|
|
198
205
|
export declare const createFromBrief: (input: {
|
|
199
206
|
readonly brief: string;
|
|
207
|
+
readonly channel?: "email" | "whatsapp" | null | undefined;
|
|
200
208
|
readonly name?: string | null | undefined;
|
|
201
209
|
readonly galleryTemplateId?: string | null | undefined;
|
|
202
210
|
readonly useBrand?: boolean | null | undefined;
|
|
203
211
|
readonly namespaceId?: string | null | undefined;
|
|
204
|
-
|
|
212
|
+
readonly variantOf?: string | null | undefined;
|
|
213
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesCreateFromBrief">;
|
|
205
214
|
export declare const createFromWebsite: (input: {
|
|
206
215
|
readonly url: string;
|
|
207
216
|
readonly name?: string | null | undefined;
|
|
208
217
|
readonly namespaceId?: string | null | undefined;
|
|
209
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
218
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesCreateFromWebsite">;
|
|
210
219
|
export declare const addEntry: (input: {
|
|
211
220
|
readonly id: string;
|
|
212
221
|
readonly entryPath: string;
|
|
@@ -214,13 +223,13 @@ export declare const addEntry: (input: {
|
|
|
214
223
|
readonly slug: string;
|
|
215
224
|
readonly description?: string | null | undefined;
|
|
216
225
|
readonly category?: "alert" | "marketing" | "notification" | "reminder" | "support" | "transactional" | "verification" | null | undefined;
|
|
217
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
226
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesAddEntry">;
|
|
218
227
|
export declare const deleteProject: (input: {
|
|
219
228
|
readonly id: string;
|
|
220
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
229
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesDeleteProject">;
|
|
221
230
|
export declare const openWorkspace: (input: {
|
|
222
231
|
readonly id: string;
|
|
223
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
232
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesOpenWorkspace">;
|
|
224
233
|
export declare const patchWorkspace: (input: {
|
|
225
234
|
readonly id: string;
|
|
226
235
|
readonly expectedRevision: string;
|
|
@@ -228,18 +237,18 @@ export declare const patchWorkspace: (input: {
|
|
|
228
237
|
readonly path: string;
|
|
229
238
|
readonly content: string | null;
|
|
230
239
|
}[];
|
|
231
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
240
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesPatchWorkspace">;
|
|
232
241
|
export declare const diffWorkspace: (input: {
|
|
233
242
|
readonly id: string;
|
|
234
243
|
readonly expectedRevision: string;
|
|
235
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
244
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesDiffWorkspace">;
|
|
236
245
|
export declare const putWorkspaceAsset: (input: {
|
|
237
246
|
readonly id: string;
|
|
238
247
|
readonly expectedRevision: string;
|
|
239
248
|
readonly path: string;
|
|
240
249
|
readonly contentBase64: string;
|
|
241
250
|
readonly replace: boolean;
|
|
242
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
251
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesPutWorkspaceAsset">;
|
|
243
252
|
export declare const resolveWorkspaceConflict: (input: {
|
|
244
253
|
readonly id: string;
|
|
245
254
|
readonly expectedRevision: string;
|
|
@@ -247,31 +256,31 @@ export declare const resolveWorkspaceConflict: (input: {
|
|
|
247
256
|
readonly resolution: "draft" | "main" | {
|
|
248
257
|
readonly content: string | null;
|
|
249
258
|
};
|
|
250
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
259
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesResolveWorkspaceConflict">;
|
|
251
260
|
export declare const saveWorkspace: (input: {
|
|
252
261
|
readonly id: string;
|
|
253
262
|
readonly expectedRevision: string;
|
|
254
263
|
readonly expectedHead: string;
|
|
255
264
|
readonly message: string;
|
|
256
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
265
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesSaveWorkspace">;
|
|
257
266
|
export declare const restoreWorkspace: (input: {
|
|
258
267
|
readonly id: string;
|
|
259
268
|
readonly expectedRevision: string;
|
|
260
269
|
readonly commit: string;
|
|
261
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
270
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesRestoreWorkspace">;
|
|
262
271
|
export declare const workspaceHistory: (input: {
|
|
263
272
|
readonly id: string;
|
|
264
273
|
readonly limit?: number | null | undefined;
|
|
265
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
274
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesWorkspaceHistory">;
|
|
266
275
|
export declare const checkWorkspace: (input: {
|
|
267
276
|
readonly id: string;
|
|
268
277
|
readonly expectedRevision: string;
|
|
269
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
278
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesCheckWorkspace">;
|
|
270
279
|
export declare const renderWorkspaceFixture: (input: {
|
|
271
280
|
readonly id: string;
|
|
272
281
|
readonly expectedRevision: string;
|
|
273
282
|
readonly fixture: string;
|
|
274
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
283
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesRenderWorkspaceFixture">;
|
|
275
284
|
export declare const publish: (input: {
|
|
276
285
|
readonly id: string;
|
|
277
286
|
readonly projectId: string;
|
|
@@ -279,11 +288,11 @@ export declare const publish: (input: {
|
|
|
279
288
|
readonly entryPath: string;
|
|
280
289
|
readonly expectedWorkspaceRevision: string;
|
|
281
290
|
readonly ifCurrentPublicationId?: string | null | undefined;
|
|
282
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
291
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesPublish">;
|
|
283
292
|
export declare const getPublication: (input: {
|
|
284
293
|
readonly id: string;
|
|
285
294
|
readonly publicationId: string;
|
|
286
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
295
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesGetPublication">;
|
|
287
296
|
export declare const renderPublication: (input: {
|
|
288
297
|
readonly id: string;
|
|
289
298
|
readonly publicationId: string;
|
|
@@ -316,12 +325,12 @@ export declare const renderPublication: (input: {
|
|
|
316
325
|
};
|
|
317
326
|
readonly locale?: string | undefined;
|
|
318
327
|
readonly timeZone?: string | undefined;
|
|
319
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
328
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesRenderPublication">;
|
|
320
329
|
export declare const listInputContracts: ((input: {
|
|
321
330
|
readonly id: string;
|
|
322
331
|
readonly limit?: number | null | undefined;
|
|
323
332
|
readonly cursor?: string | undefined;
|
|
324
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
333
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesListInputContracts">) & {
|
|
325
334
|
readonly pages: (input: {
|
|
326
335
|
readonly id: string;
|
|
327
336
|
readonly limit?: number | null | undefined;
|
|
@@ -359,14 +368,14 @@ export declare const listInputContracts: ((input: {
|
|
|
359
368
|
export declare const getInputContract: (input: {
|
|
360
369
|
readonly id: string;
|
|
361
370
|
readonly inputContractId: string;
|
|
362
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
371
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesGetInputContract">;
|
|
363
372
|
export declare const getGitRepository: (input: {
|
|
364
373
|
readonly id: string;
|
|
365
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
374
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesGetGitRepository">;
|
|
366
375
|
export declare const issueGitCredential: (input: {
|
|
367
376
|
readonly id: string;
|
|
368
377
|
readonly scope: "read" | "write";
|
|
369
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
378
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesIssueGitCredential">;
|
|
370
379
|
export declare const attachWorkspaceResource: (input: {
|
|
371
380
|
readonly id: string;
|
|
372
381
|
readonly expectedRevision: string;
|
|
@@ -379,9 +388,9 @@ export declare const attachWorkspaceResource: (input: {
|
|
|
379
388
|
readonly contentBase64: string;
|
|
380
389
|
}[];
|
|
381
390
|
};
|
|
382
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
391
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesAttachWorkspaceResource">;
|
|
383
392
|
export declare const removeWorkspaceResource: (input: {
|
|
384
393
|
readonly id: string;
|
|
385
394
|
readonly resourceId: string;
|
|
386
395
|
readonly expectedRevision: string;
|
|
387
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
396
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"templatesRemoveWorkspaceResource">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const list: (input: {
|
|
2
2
|
readonly id: string;
|
|
3
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
3
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicFormsList">;
|
|
4
4
|
export declare const create: (input: {
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly allowedOrigins: readonly string[];
|
|
@@ -9,11 +9,11 @@ export declare const create: (input: {
|
|
|
9
9
|
readonly successTitle: string;
|
|
10
10
|
readonly successMessage: string;
|
|
11
11
|
readonly redirectUrl: string | null;
|
|
12
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
12
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicFormsCreate">;
|
|
13
13
|
export declare const get: (input: {
|
|
14
14
|
readonly id: string;
|
|
15
15
|
readonly formId: string;
|
|
16
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
16
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicFormsGet">;
|
|
17
17
|
export declare const update: (input: {
|
|
18
18
|
readonly id: string;
|
|
19
19
|
readonly formId: string;
|
|
@@ -23,8 +23,8 @@ export declare const update: (input: {
|
|
|
23
23
|
readonly successTitle?: string | null | undefined;
|
|
24
24
|
readonly successMessage?: string | null | undefined;
|
|
25
25
|
readonly redirectUrl?: string | null | undefined;
|
|
26
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
26
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicFormsUpdate">;
|
|
27
27
|
export declare const remove: (input: {
|
|
28
28
|
readonly id: string;
|
|
29
29
|
readonly formId: string;
|
|
30
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
30
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicFormsRemove">;
|
package/dist/effect/topics.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const list: (input?: {
|
|
2
2
|
readonly namespaceId?: string | undefined;
|
|
3
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
3
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsList">;
|
|
4
4
|
export declare const create: (input: {
|
|
5
5
|
readonly name: string;
|
|
6
6
|
readonly description?: string | null | undefined;
|
|
@@ -9,7 +9,7 @@ export declare const create: (input: {
|
|
|
9
9
|
readonly defaultSenderId?: string | null | undefined;
|
|
10
10
|
readonly replyMailboxId?: string | null | undefined;
|
|
11
11
|
readonly templateId?: string | null | undefined;
|
|
12
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
12
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsCreate">;
|
|
13
13
|
export declare const checkSubscription: (input: {
|
|
14
14
|
readonly contactId?: string | undefined;
|
|
15
15
|
readonly email?: string | undefined;
|
|
@@ -17,10 +17,10 @@ export declare const checkSubscription: (input: {
|
|
|
17
17
|
readonly namespaceId?: string | undefined;
|
|
18
18
|
readonly channel: "email" | "sms" | "whatsapp";
|
|
19
19
|
readonly topicIds?: string | undefined;
|
|
20
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
20
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsCheckSubscription">;
|
|
21
21
|
export declare const get: (input: {
|
|
22
22
|
readonly id: string;
|
|
23
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
23
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsGet">;
|
|
24
24
|
export declare const update: (input: {
|
|
25
25
|
readonly id: string;
|
|
26
26
|
readonly name?: string | null | undefined;
|
|
@@ -29,20 +29,20 @@ export declare const update: (input: {
|
|
|
29
29
|
readonly defaultSenderId?: string | null | undefined;
|
|
30
30
|
readonly replyMailboxId?: string | null | undefined;
|
|
31
31
|
readonly templateId?: string | null | undefined;
|
|
32
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
32
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsUpdate">;
|
|
33
33
|
export declare const remove: (input: {
|
|
34
34
|
readonly id: string;
|
|
35
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
35
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsRemove">;
|
|
36
36
|
export declare const setDefault: (input: {
|
|
37
37
|
readonly id: string;
|
|
38
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
38
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsSetDefault">;
|
|
39
39
|
export declare const listSubscriptions: ((input: {
|
|
40
40
|
readonly id: string;
|
|
41
41
|
readonly limit?: number | null | undefined;
|
|
42
42
|
readonly cursor?: string | undefined;
|
|
43
43
|
readonly channel?: "email" | "sms" | "whatsapp" | undefined;
|
|
44
44
|
readonly status?: "subscribed" | "unsubscribed" | undefined;
|
|
45
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
45
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsListSubscriptions">) & {
|
|
46
46
|
readonly pages: (input: {
|
|
47
47
|
readonly id: string;
|
|
48
48
|
readonly limit?: number | null | undefined;
|
|
@@ -91,4 +91,4 @@ export declare const setSubscriptions: (input: {
|
|
|
91
91
|
readonly channel: "email" | "sms" | "whatsapp";
|
|
92
92
|
readonly status: "subscribed" | "unsubscribed";
|
|
93
93
|
readonly source?: string | null | undefined;
|
|
94
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
94
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"topicsSetSubscriptions">;
|
|
@@ -2,7 +2,7 @@ export { CreateWebhookPayload as CreatePayload, TestWebhookPayload as TestPayloa
|
|
|
2
2
|
export declare const create: (input: {
|
|
3
3
|
readonly name: string;
|
|
4
4
|
readonly url: string;
|
|
5
|
-
readonly eventTypes: readonly ("contact.consent_changed" | "contact.created" | "contact.deleted" | "contact.resubscribed" | "contact.subscribed" | "contact.unsubscribed" | "contact.updated" | "conversation.archived" | "conversation.created" | "conversation.updated" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "flow.registration.updated" | "journey.webhook" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.delivered" | "mailbox.message.discarded" | "mailbox.message.failed" | "mailbox.message.
|
|
5
|
+
readonly eventTypes: readonly ("contact.consent_changed" | "contact.created" | "contact.deleted" | "contact.resubscribed" | "contact.subscribed" | "contact.unsubscribed" | "contact.updated" | "conversation.archived" | "conversation.created" | "conversation.updated" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "flow.registration.updated" | "journey.webhook" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.delivered" | "mailbox.message.discarded" | "mailbox.message.failed" | "mailbox.message.read" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.message.spam" | "mailbox.thread.deleted" | "message.bounced" | "message.clicked" | "message.complained" | "message.delivered" | "message.failed" | "message.opened" | "message.read" | "message.received" | "message.sent" | "template.registration.updated" | "webhook.created" | "webhook.deleted" | "webhook.test" | "webhook.updated" | "whatsapp.number.connected")[];
|
|
6
6
|
readonly channels?: readonly ("email" | "sms" | "whatsapp")[] | null | undefined;
|
|
7
7
|
readonly mailboxIds?: readonly string[] | null | undefined;
|
|
8
8
|
readonly namespaceId?: string | null | undefined;
|
|
@@ -10,14 +10,14 @@ export declare const create: (input: {
|
|
|
10
10
|
readonly [x: string]: string | undefined;
|
|
11
11
|
} | null | undefined;
|
|
12
12
|
readonly status?: "active" | "disabled" | null | undefined;
|
|
13
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
13
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksCreate">;
|
|
14
14
|
export declare const list: ((input?: {
|
|
15
15
|
readonly limit?: number | null | undefined;
|
|
16
16
|
readonly cursor?: string | undefined;
|
|
17
17
|
readonly namespaceId?: string | undefined;
|
|
18
18
|
readonly search?: string | undefined;
|
|
19
19
|
readonly status?: "active" | "disabled" | undefined;
|
|
20
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
20
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksList">) & {
|
|
21
21
|
readonly pages: (input?: {
|
|
22
22
|
readonly limit?: number | null | undefined;
|
|
23
23
|
readonly cursor?: string | undefined;
|
|
@@ -29,7 +29,7 @@ export declare const list: ((input?: {
|
|
|
29
29
|
readonly id: string & import("effect/Brand").Brand<"WebhookEndpointId">;
|
|
30
30
|
readonly name: string;
|
|
31
31
|
readonly url: string;
|
|
32
|
-
readonly eventTypes: readonly ("contact.consent_changed" | "contact.created" | "contact.deleted" | "contact.resubscribed" | "contact.subscribed" | "contact.unsubscribed" | "contact.updated" | "conversation.archived" | "conversation.created" | "conversation.updated" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "flow.registration.updated" | "journey.webhook" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.delivered" | "mailbox.message.discarded" | "mailbox.message.failed" | "mailbox.message.
|
|
32
|
+
readonly eventTypes: readonly ("contact.consent_changed" | "contact.created" | "contact.deleted" | "contact.resubscribed" | "contact.subscribed" | "contact.unsubscribed" | "contact.updated" | "conversation.archived" | "conversation.created" | "conversation.updated" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "flow.registration.updated" | "journey.webhook" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.delivered" | "mailbox.message.discarded" | "mailbox.message.failed" | "mailbox.message.read" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.message.spam" | "mailbox.thread.deleted" | "message.bounced" | "message.clicked" | "message.complained" | "message.delivered" | "message.failed" | "message.opened" | "message.read" | "message.received" | "message.sent" | "template.registration.updated" | "webhook.created" | "webhook.deleted" | "webhook.test" | "webhook.updated" | "whatsapp.number.connected")[];
|
|
33
33
|
readonly channels: readonly ("email" | "sms" | "whatsapp")[] | null;
|
|
34
34
|
readonly mailboxIds: readonly (string & import("effect/Brand").Brand<"MailboxId">)[] | null;
|
|
35
35
|
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
@@ -59,7 +59,7 @@ export declare const list: ((input?: {
|
|
|
59
59
|
readonly id: string & import("effect/Brand").Brand<"WebhookEndpointId">;
|
|
60
60
|
readonly name: string;
|
|
61
61
|
readonly url: string;
|
|
62
|
-
readonly eventTypes: readonly ("contact.consent_changed" | "contact.created" | "contact.deleted" | "contact.resubscribed" | "contact.subscribed" | "contact.unsubscribed" | "contact.updated" | "conversation.archived" | "conversation.created" | "conversation.updated" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "flow.registration.updated" | "journey.webhook" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.delivered" | "mailbox.message.discarded" | "mailbox.message.failed" | "mailbox.message.
|
|
62
|
+
readonly eventTypes: readonly ("contact.consent_changed" | "contact.created" | "contact.deleted" | "contact.resubscribed" | "contact.subscribed" | "contact.unsubscribed" | "contact.updated" | "conversation.archived" | "conversation.created" | "conversation.updated" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "flow.registration.updated" | "journey.webhook" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.delivered" | "mailbox.message.discarded" | "mailbox.message.failed" | "mailbox.message.read" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.message.spam" | "mailbox.thread.deleted" | "message.bounced" | "message.clicked" | "message.complained" | "message.delivered" | "message.failed" | "message.opened" | "message.read" | "message.received" | "message.sent" | "template.registration.updated" | "webhook.created" | "webhook.deleted" | "webhook.test" | "webhook.updated" | "whatsapp.number.connected")[];
|
|
63
63
|
readonly channels: readonly ("email" | "sms" | "whatsapp")[] | null;
|
|
64
64
|
readonly mailboxIds: readonly (string & import("effect/Brand").Brand<"MailboxId">)[] | null;
|
|
65
65
|
readonly namespaceId: (string & import("effect/Brand").Brand<"NamespaceId">) | null;
|
|
@@ -80,12 +80,12 @@ export declare const list: ((input?: {
|
|
|
80
80
|
};
|
|
81
81
|
export declare const get: (input: {
|
|
82
82
|
readonly id: string;
|
|
83
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
83
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksGet">;
|
|
84
84
|
export declare const update: (input: {
|
|
85
85
|
readonly id: string;
|
|
86
86
|
readonly name?: string | null | undefined;
|
|
87
87
|
readonly url?: string | null | undefined;
|
|
88
|
-
readonly eventTypes?: readonly ("contact.consent_changed" | "contact.created" | "contact.deleted" | "contact.resubscribed" | "contact.subscribed" | "contact.unsubscribed" | "contact.updated" | "conversation.archived" | "conversation.created" | "conversation.updated" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "flow.registration.updated" | "journey.webhook" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.delivered" | "mailbox.message.discarded" | "mailbox.message.failed" | "mailbox.message.
|
|
88
|
+
readonly eventTypes?: readonly ("contact.consent_changed" | "contact.created" | "contact.deleted" | "contact.resubscribed" | "contact.subscribed" | "contact.unsubscribed" | "contact.updated" | "conversation.archived" | "conversation.created" | "conversation.updated" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "flow.registration.updated" | "journey.webhook" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.delivered" | "mailbox.message.discarded" | "mailbox.message.failed" | "mailbox.message.read" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.message.spam" | "mailbox.thread.deleted" | "message.bounced" | "message.clicked" | "message.complained" | "message.delivered" | "message.failed" | "message.opened" | "message.read" | "message.received" | "message.sent" | "template.registration.updated" | "webhook.created" | "webhook.deleted" | "webhook.test" | "webhook.updated" | "whatsapp.number.connected")[] | null | undefined;
|
|
89
89
|
readonly channels?: readonly ("email" | "sms" | "whatsapp")[] | null | undefined;
|
|
90
90
|
readonly mailboxIds?: readonly string[] | null | undefined;
|
|
91
91
|
readonly namespaceId?: string | null | undefined;
|
|
@@ -93,10 +93,10 @@ export declare const update: (input: {
|
|
|
93
93
|
readonly [x: string]: string | undefined;
|
|
94
94
|
} | null | undefined;
|
|
95
95
|
readonly status?: "active" | "disabled" | null | undefined;
|
|
96
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
96
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksUpdate">;
|
|
97
97
|
export declare const remove: (input: {
|
|
98
98
|
readonly id: string;
|
|
99
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
99
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksRemove">;
|
|
100
100
|
export declare const test: (input: {
|
|
101
101
|
readonly id: string;
|
|
102
102
|
readonly data?: {
|
|
@@ -126,12 +126,12 @@ export declare const test: (input: {
|
|
|
126
126
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
127
127
|
} | null | undefined;
|
|
128
128
|
} | null | undefined;
|
|
129
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
129
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksTest">;
|
|
130
130
|
export declare const getLogs: ((input: {
|
|
131
131
|
readonly id: string;
|
|
132
132
|
readonly limit?: number | null | undefined;
|
|
133
133
|
readonly cursor?: string | undefined;
|
|
134
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
134
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksGetLogs">) & {
|
|
135
135
|
readonly pages: (input: {
|
|
136
136
|
readonly id: string;
|
|
137
137
|
readonly limit?: number | null | undefined;
|
|
@@ -208,14 +208,14 @@ export declare const getStats: (input: {
|
|
|
208
208
|
readonly id: string;
|
|
209
209
|
readonly after?: string | undefined;
|
|
210
210
|
readonly before?: string | undefined;
|
|
211
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
211
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksGetStats">;
|
|
212
212
|
export declare const retryDelivery: (input: {
|
|
213
213
|
readonly id: string;
|
|
214
214
|
readonly deliveryId: string;
|
|
215
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
215
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksRetryDelivery">;
|
|
216
216
|
export declare const regenerateSecret: (input: {
|
|
217
217
|
readonly id: string;
|
|
218
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
218
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksRegenerateSecret">;
|
|
219
219
|
export declare const getSecret: (input: {
|
|
220
220
|
readonly id: string;
|
|
221
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
221
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"webhooksGetSecret">;
|
|
@@ -2,33 +2,33 @@ export declare const create: (input: {
|
|
|
2
2
|
readonly projectId: string;
|
|
3
3
|
readonly handle: string;
|
|
4
4
|
readonly categories: readonly ("APPOINTMENT_BOOKING" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "LEAD_GENERATION" | "OTHER" | "SIGN_IN" | "SIGN_UP" | "SURVEY")[];
|
|
5
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
6
|
-
export declare const list: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
5
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsCreate">;
|
|
6
|
+
export declare const list: (input?: never, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsList">;
|
|
7
7
|
export declare const get: (input: {
|
|
8
8
|
readonly id: string;
|
|
9
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
9
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsGet">;
|
|
10
10
|
export declare const recordVersion: (input: {
|
|
11
11
|
readonly id: string;
|
|
12
12
|
readonly commitSha: string;
|
|
13
13
|
readonly expectedWorkspaceRevision: string;
|
|
14
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
14
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsRecordVersion">;
|
|
15
15
|
export declare const listVersions: (input: {
|
|
16
16
|
readonly id: string;
|
|
17
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
17
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsListVersions">;
|
|
18
18
|
export declare const register: (input: {
|
|
19
19
|
readonly id: string;
|
|
20
20
|
readonly businessAccountId?: string | undefined;
|
|
21
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
21
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsRegister">;
|
|
22
22
|
export declare const listRegistrations: (input: {
|
|
23
23
|
readonly id: string;
|
|
24
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
24
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsListRegistrations">;
|
|
25
25
|
export declare const rotateEncryptionKey: (input?: {
|
|
26
26
|
readonly businessAccountId?: string | undefined;
|
|
27
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
27
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsRotateEncryptionKey">;
|
|
28
28
|
export declare const setEndpoint: (input: {
|
|
29
29
|
readonly id: string;
|
|
30
30
|
readonly url: string;
|
|
31
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
31
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsSetEndpoint">;
|
|
32
32
|
export declare const rotateEndpointSecret: (input: {
|
|
33
33
|
readonly id: string;
|
|
34
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
34
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappFlowsRotateEndpointSecret">;
|
|
@@ -5,13 +5,13 @@ export declare const create: (input: {
|
|
|
5
5
|
readonly [x: string]: string | undefined;
|
|
6
6
|
} | null | undefined;
|
|
7
7
|
readonly expiresAt?: string | null | undefined;
|
|
8
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
8
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappSetupLinksCreate">;
|
|
9
9
|
export declare const list: ((input?: {
|
|
10
10
|
readonly limit?: number | null | undefined;
|
|
11
11
|
readonly cursor?: string | undefined;
|
|
12
12
|
readonly namespaceId?: string | undefined;
|
|
13
13
|
readonly status?: "completed" | "expired" | "pending" | "revoked" | undefined;
|
|
14
|
-
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
14
|
+
} | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappSetupLinksList">) & {
|
|
15
15
|
readonly pages: (input?: {
|
|
16
16
|
readonly limit?: number | null | undefined;
|
|
17
17
|
readonly cursor?: string | undefined;
|
|
@@ -60,7 +60,7 @@ export declare const list: ((input?: {
|
|
|
60
60
|
};
|
|
61
61
|
export declare const get: (input: {
|
|
62
62
|
readonly linkId: string;
|
|
63
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
63
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappSetupLinksGet">;
|
|
64
64
|
export declare const revoke: (input: {
|
|
65
65
|
readonly linkId: string;
|
|
66
|
-
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/
|
|
66
|
+
}, options?: import("./internal/operation.js").OperationOptions) => import("./internal/client.js").OperationResult<"whatsappSetupLinksRevoke">;
|