samva 0.54.0 → 0.55.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/AGENTS.md +1 -1
- package/README.md +1 -0
- package/dist/_virtual/_rolldown/runtime.js +4 -4
- package/dist/agent/index.js +1 -1
- package/dist/client/client/client.gen.js +1 -2
- package/dist/client/client/utils.gen.js +1 -1
- package/dist/client/client.gen.js +1 -1
- package/dist/client/sdk.gen.d.ts +57 -3
- package/dist/client/sdk.gen.js +184 -8
- package/dist/client/types.gen.d.ts +420 -1
- package/dist/client-attribution.js +1 -1
- package/dist/effect/agents.js +1 -1
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/approval-requests.js +1 -1
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +66 -56
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.js +6 -6
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/descriptors/phone-numbers.d.ts +49 -0
- package/dist/effect/descriptors/phone-numbers.js +47 -0
- package/dist/effect/descriptors/topics.d.ts +1 -1
- package/dist/effect/descriptors/topics.js +1 -1
- package/dist/effect/email.js +1 -1
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/events.js +2 -2
- package/dist/effect/feedback.js +2 -2
- package/dist/effect/generated/accounts.d.ts +12 -1
- package/dist/effect/generated/accounts.js +2 -1
- package/dist/effect/generated/agents.js +7 -7
- package/dist/effect/generated/analytics.js +16 -16
- package/dist/effect/generated/api-keys.js +5 -5
- package/dist/effect/generated/approval-requests.js +1 -1
- package/dist/effect/generated/attachments.js +4 -4
- package/dist/effect/generated/brands.js +1 -1
- package/dist/effect/generated/campaigns.d.ts +17 -1
- package/dist/effect/generated/campaigns.js +15 -14
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.js +12 -12
- package/dist/effect/generated/contacts.js +50 -50
- package/dist/effect/generated/conversations.js +7 -7
- package/dist/effect/generated/custom-fields.js +6 -6
- package/dist/effect/generated/email.js +48 -48
- package/dist/effect/generated/events.js +5 -5
- package/dist/effect/generated/feedback.js +1 -1
- package/dist/effect/generated/index.d.ts +3 -1
- package/dist/effect/generated/integrations-catalog.d.ts +16 -0
- package/dist/effect/generated/integrations-catalog.js +10 -6
- package/dist/effect/generated/integrations.js +5 -5
- package/dist/effect/generated/journeys.d.ts +38 -1
- package/dist/effect/generated/journeys.js +16 -14
- package/dist/effect/generated/logs.js +2 -2
- package/dist/effect/generated/mailboxes.d.ts +41 -3
- package/dist/effect/generated/mailboxes.js +48 -50
- package/dist/effect/generated/media.js +1 -1
- package/dist/effect/generated/messages.js +5 -5
- package/dist/effect/generated/namespaces.d.ts +9 -9
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/newsletter-domains.js +1 -1
- package/dist/effect/generated/newsletter-issues.js +69 -69
- package/dist/effect/generated/newsletters.js +1 -1
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +3 -0
- package/dist/effect/generated/organizations.js +2 -1
- package/dist/effect/generated/phone-numbers.d.ts +817 -0
- package/dist/effect/generated/phone-numbers.js +230 -0
- package/dist/effect/generated/policies.js +2 -2
- package/dist/effect/generated/scheduled-messages.js +1 -1
- package/dist/effect/generated/shared.d.ts +31 -10
- package/dist/effect/generated/shared.js +34 -13
- package/dist/effect/generated/subscriptions.js +1 -1
- package/dist/effect/generated/template-registrations.js +1 -1
- package/dist/effect/generated/template-share-links.js +9 -9
- package/dist/effect/generated/templates.js +119 -119
- package/dist/effect/generated/topic-forms.js +1 -1
- package/dist/effect/generated/topics.d.ts +10 -0
- package/dist/effect/generated/topics.js +20 -13
- package/dist/effect/generated/webhooks.js +18 -18
- package/dist/effect/generated/whats-app-flows.js +5 -5
- package/dist/effect/generated/whats-app-setup-links.js +1 -1
- package/dist/effect/generated/whats-app.d.ts +75 -0
- package/dist/effect/generated/whats-app.js +43 -18
- package/dist/effect/generated/whoami.js +1 -1
- package/dist/effect/generated-metadata.d.ts +35 -1
- package/dist/effect/generated-metadata.js +173 -146
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +6 -5
- package/dist/effect/integrations-catalog.js +1 -1
- package/dist/effect/integrations.js +1 -1
- package/dist/effect/internal/client.js +6 -6
- package/dist/effect/internal/email-sender.js +3 -3
- package/dist/effect/internal/log-events.js +2 -2
- package/dist/effect/internal/mailbox-events.js +1 -1
- package/dist/effect/internal/operation.js +2 -2
- package/dist/effect/internal/send.js +4 -4
- package/dist/effect/journeys.d.ts +10 -0
- package/dist/effect/journeys.js +1 -1
- package/dist/effect/logs.js +1 -1
- package/dist/effect/mailboxes.d.ts +191 -191
- package/dist/effect/mailboxes.js +3 -3
- package/dist/effect/media.js +2 -2
- package/dist/effect/messages.js +2 -2
- package/dist/effect/namespaces.d.ts +2 -2
- package/dist/effect/namespaces.js +1 -1
- package/dist/effect/newsletter-domains.js +1 -1
- package/dist/effect/newsletter-issues.js +1 -1
- package/dist/effect/newsletters.js +1 -1
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/phone-numbers.d.ts +22 -0
- package/dist/effect/phone-numbers.js +21 -0
- package/dist/effect/policies.js +1 -1
- package/dist/effect/retry.js +3 -3
- package/dist/effect/scheduled-messages.d.ts +350 -350
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/subscriptions.js +1 -1
- package/dist/effect/template-registrations.js +1 -1
- package/dist/effect/template-share-links.js +1 -1
- package/dist/effect/templates.js +2 -2
- package/dist/effect/topic-forms.js +1 -1
- package/dist/effect/topics.d.ts +70 -2
- package/dist/effect/topics.js +1 -1
- package/dist/effect/webhooks.js +2 -2
- package/dist/effect/whatsapp-flows.js +1 -1
- package/dist/effect/whatsapp-setup-links.js +1 -1
- package/dist/effect/whatsapp.d.ts +10 -0
- package/dist/effect/whatsapp.js +1 -1
- package/dist/effect/whoami.js +1 -1
- package/dist/index.js +2 -2
- package/dist/package.json.js +5 -0
- package/dist/promises/client.d.ts +3 -1
- package/dist/promises/client.js +7 -5
- package/dist/promises/errors.gen.d.ts +16 -2
- package/dist/promises/errors.gen.js +48 -11
- package/dist/promises/index.js +3 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.js +1 -1
- package/dist/service-map.d.ts +25 -0
- package/package.json +9 -5
- package/dist/package.js +0 -5
|
@@ -335,79 +335,138 @@ export declare const create: (input: {
|
|
|
335
335
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
336
336
|
} | null | undefined;
|
|
337
337
|
} | undefined;
|
|
338
|
+
} | {
|
|
339
|
+
readonly location: {
|
|
340
|
+
readonly latitude: number;
|
|
341
|
+
readonly longitude: number;
|
|
342
|
+
readonly name?: string | undefined;
|
|
343
|
+
readonly address?: string | undefined;
|
|
344
|
+
};
|
|
345
|
+
} | {
|
|
346
|
+
readonly contacts: readonly {
|
|
347
|
+
readonly name: {
|
|
348
|
+
readonly formattedName: string;
|
|
349
|
+
readonly firstName?: string | undefined;
|
|
350
|
+
readonly lastName?: string | undefined;
|
|
351
|
+
readonly middleName?: string | undefined;
|
|
352
|
+
readonly prefix?: string | undefined;
|
|
353
|
+
readonly suffix?: string | undefined;
|
|
354
|
+
};
|
|
355
|
+
readonly phones?: readonly {
|
|
356
|
+
readonly phone: string;
|
|
357
|
+
readonly type?: string | undefined;
|
|
358
|
+
readonly waId?: string | undefined;
|
|
359
|
+
}[] | undefined;
|
|
360
|
+
readonly emails?: readonly {
|
|
361
|
+
readonly email: string;
|
|
362
|
+
readonly type?: string | undefined;
|
|
363
|
+
}[] | undefined;
|
|
364
|
+
readonly urls?: readonly {
|
|
365
|
+
readonly url: string;
|
|
366
|
+
readonly type?: string | undefined;
|
|
367
|
+
}[] | undefined;
|
|
368
|
+
readonly org?: {
|
|
369
|
+
readonly company?: string | undefined;
|
|
370
|
+
readonly department?: string | undefined;
|
|
371
|
+
readonly title?: string | undefined;
|
|
372
|
+
} | undefined;
|
|
373
|
+
readonly addresses?: readonly {
|
|
374
|
+
readonly street?: string | undefined;
|
|
375
|
+
readonly city?: string | undefined;
|
|
376
|
+
readonly state?: string | undefined;
|
|
377
|
+
readonly zip?: string | undefined;
|
|
378
|
+
readonly country?: string | undefined;
|
|
379
|
+
readonly countryCode?: string | undefined;
|
|
380
|
+
readonly type?: string | undefined;
|
|
381
|
+
}[] | undefined;
|
|
382
|
+
readonly birthday?: string | undefined;
|
|
383
|
+
}[];
|
|
384
|
+
} | {
|
|
385
|
+
readonly reaction: {
|
|
386
|
+
readonly messageId: string;
|
|
387
|
+
readonly emoji: string;
|
|
388
|
+
};
|
|
338
389
|
} | {
|
|
339
390
|
readonly media: {
|
|
340
391
|
readonly type: "image";
|
|
341
392
|
readonly caption?: string | undefined;
|
|
342
393
|
readonly url: string;
|
|
343
|
-
} | {
|
|
344
|
-
readonly type: "image";
|
|
345
|
-
readonly caption?: string | undefined;
|
|
346
|
-
readonly mediaId: string;
|
|
347
394
|
} | {
|
|
348
395
|
readonly type: "video";
|
|
349
396
|
readonly caption?: string | undefined;
|
|
350
397
|
readonly url: string;
|
|
351
|
-
} | {
|
|
352
|
-
readonly type: "video";
|
|
353
|
-
readonly caption?: string | undefined;
|
|
354
|
-
readonly mediaId: string;
|
|
355
398
|
} | {
|
|
356
399
|
readonly type: "audio";
|
|
357
400
|
readonly url: string;
|
|
358
|
-
} | {
|
|
359
|
-
readonly type: "audio";
|
|
360
|
-
readonly mediaId: string;
|
|
361
401
|
} | {
|
|
362
402
|
readonly type: "document";
|
|
363
403
|
readonly caption?: string | undefined;
|
|
364
404
|
readonly filename?: string | undefined;
|
|
365
405
|
readonly url: string;
|
|
406
|
+
} | {
|
|
407
|
+
readonly type: "sticker";
|
|
408
|
+
readonly url: string;
|
|
409
|
+
} | {
|
|
410
|
+
readonly type: "image";
|
|
411
|
+
readonly caption?: string | undefined;
|
|
412
|
+
readonly mediaId: string;
|
|
413
|
+
} | {
|
|
414
|
+
readonly type: "video";
|
|
415
|
+
readonly caption?: string | undefined;
|
|
416
|
+
readonly mediaId: string;
|
|
417
|
+
} | {
|
|
418
|
+
readonly type: "audio";
|
|
419
|
+
readonly mediaId: string;
|
|
366
420
|
} | {
|
|
367
421
|
readonly type: "document";
|
|
368
422
|
readonly caption?: string | undefined;
|
|
369
423
|
readonly filename?: string | undefined;
|
|
370
424
|
readonly mediaId: string;
|
|
371
|
-
} | {
|
|
372
|
-
readonly type: "sticker";
|
|
373
|
-
readonly url: string;
|
|
374
425
|
} | {
|
|
375
426
|
readonly type: "sticker";
|
|
376
427
|
readonly mediaId: string;
|
|
377
428
|
};
|
|
378
429
|
} | {
|
|
379
430
|
readonly interactive: {
|
|
380
|
-
readonly type: "
|
|
431
|
+
readonly type: "flow";
|
|
381
432
|
readonly header?: {
|
|
382
433
|
readonly type: "text";
|
|
383
434
|
readonly text: string;
|
|
384
|
-
} | {
|
|
385
|
-
readonly type: "image";
|
|
386
|
-
readonly url: string;
|
|
387
|
-
} | {
|
|
388
|
-
readonly type: "image";
|
|
389
|
-
readonly mediaId: string;
|
|
390
|
-
} | {
|
|
391
|
-
readonly type: "video";
|
|
392
|
-
readonly url: string;
|
|
393
|
-
} | {
|
|
394
|
-
readonly type: "video";
|
|
395
|
-
readonly mediaId: string;
|
|
396
|
-
} | {
|
|
397
|
-
readonly type: "document";
|
|
398
|
-
readonly filename?: string | undefined;
|
|
399
|
-
readonly url: string;
|
|
400
|
-
} | {
|
|
401
|
-
readonly type: "document";
|
|
402
|
-
readonly filename?: string | undefined;
|
|
403
|
-
readonly mediaId: string;
|
|
404
435
|
} | undefined;
|
|
405
436
|
readonly body: string;
|
|
406
437
|
readonly footer?: string | undefined;
|
|
407
|
-
readonly
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
438
|
+
readonly flowId: string;
|
|
439
|
+
readonly cta: string;
|
|
440
|
+
readonly token?: string | undefined;
|
|
441
|
+
readonly action?: "data_exchange" | "navigate" | undefined;
|
|
442
|
+
readonly screen?: string | undefined;
|
|
443
|
+
readonly data?: {
|
|
444
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
|
|
445
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
446
|
+
} | null)[] | {
|
|
447
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
448
|
+
} | null)[] | {
|
|
449
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
450
|
+
} | null)[] | {
|
|
451
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
452
|
+
} | null)[] | {
|
|
453
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
454
|
+
} | null)[] | {
|
|
455
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
456
|
+
} | null)[] | {
|
|
457
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
458
|
+
} | null)[] | {
|
|
459
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
460
|
+
} | null)[] | {
|
|
461
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
462
|
+
} | null)[] | {
|
|
463
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
464
|
+
} | null)[] | {
|
|
465
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
466
|
+
} | null)[] | {
|
|
467
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
468
|
+
} | null | undefined;
|
|
469
|
+
} | undefined;
|
|
411
470
|
} | {
|
|
412
471
|
readonly type: "list";
|
|
413
472
|
readonly header?: {
|
|
@@ -426,26 +485,26 @@ export declare const create: (input: {
|
|
|
426
485
|
}[];
|
|
427
486
|
}[];
|
|
428
487
|
} | {
|
|
429
|
-
readonly type: "
|
|
488
|
+
readonly type: "buttons";
|
|
430
489
|
readonly header?: {
|
|
431
490
|
readonly type: "text";
|
|
432
491
|
readonly text: string;
|
|
433
492
|
} | {
|
|
434
493
|
readonly type: "image";
|
|
435
494
|
readonly url: string;
|
|
436
|
-
} | {
|
|
437
|
-
readonly type: "image";
|
|
438
|
-
readonly mediaId: string;
|
|
439
495
|
} | {
|
|
440
496
|
readonly type: "video";
|
|
441
497
|
readonly url: string;
|
|
442
|
-
} | {
|
|
443
|
-
readonly type: "video";
|
|
444
|
-
readonly mediaId: string;
|
|
445
498
|
} | {
|
|
446
499
|
readonly type: "document";
|
|
447
500
|
readonly filename?: string | undefined;
|
|
448
501
|
readonly url: string;
|
|
502
|
+
} | {
|
|
503
|
+
readonly type: "image";
|
|
504
|
+
readonly mediaId: string;
|
|
505
|
+
} | {
|
|
506
|
+
readonly type: "video";
|
|
507
|
+
readonly mediaId: string;
|
|
449
508
|
} | {
|
|
450
509
|
readonly type: "document";
|
|
451
510
|
readonly filename?: string | undefined;
|
|
@@ -453,100 +512,41 @@ export declare const create: (input: {
|
|
|
453
512
|
} | undefined;
|
|
454
513
|
readonly body: string;
|
|
455
514
|
readonly footer?: string | undefined;
|
|
456
|
-
readonly
|
|
457
|
-
|
|
515
|
+
readonly buttons: readonly {
|
|
516
|
+
readonly id: string;
|
|
517
|
+
readonly title: string;
|
|
518
|
+
}[];
|
|
458
519
|
} | {
|
|
459
|
-
readonly type: "
|
|
520
|
+
readonly type: "cta_url";
|
|
460
521
|
readonly header?: {
|
|
461
522
|
readonly type: "text";
|
|
462
523
|
readonly text: string;
|
|
524
|
+
} | {
|
|
525
|
+
readonly type: "image";
|
|
526
|
+
readonly url: string;
|
|
527
|
+
} | {
|
|
528
|
+
readonly type: "video";
|
|
529
|
+
readonly url: string;
|
|
530
|
+
} | {
|
|
531
|
+
readonly type: "document";
|
|
532
|
+
readonly filename?: string | undefined;
|
|
533
|
+
readonly url: string;
|
|
534
|
+
} | {
|
|
535
|
+
readonly type: "image";
|
|
536
|
+
readonly mediaId: string;
|
|
537
|
+
} | {
|
|
538
|
+
readonly type: "video";
|
|
539
|
+
readonly mediaId: string;
|
|
540
|
+
} | {
|
|
541
|
+
readonly type: "document";
|
|
542
|
+
readonly filename?: string | undefined;
|
|
543
|
+
readonly mediaId: string;
|
|
463
544
|
} | undefined;
|
|
464
545
|
readonly body: string;
|
|
465
546
|
readonly footer?: string | undefined;
|
|
466
|
-
readonly
|
|
467
|
-
readonly
|
|
468
|
-
readonly token?: string | undefined;
|
|
469
|
-
readonly action?: "data_exchange" | "navigate" | undefined;
|
|
470
|
-
readonly screen?: string | undefined;
|
|
471
|
-
readonly data?: {
|
|
472
|
-
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
|
|
473
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
474
|
-
} | null)[] | {
|
|
475
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
476
|
-
} | null)[] | {
|
|
477
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
478
|
-
} | null)[] | {
|
|
479
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
480
|
-
} | null)[] | {
|
|
481
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
482
|
-
} | null)[] | {
|
|
483
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
484
|
-
} | null)[] | {
|
|
485
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
486
|
-
} | null)[] | {
|
|
487
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
488
|
-
} | null)[] | {
|
|
489
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
490
|
-
} | null)[] | {
|
|
491
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
492
|
-
} | null)[] | {
|
|
493
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
494
|
-
} | null)[] | {
|
|
495
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
496
|
-
} | null | undefined;
|
|
497
|
-
} | undefined;
|
|
498
|
-
};
|
|
499
|
-
} | {
|
|
500
|
-
readonly reaction: {
|
|
501
|
-
readonly messageId: string;
|
|
502
|
-
readonly emoji: string;
|
|
503
|
-
};
|
|
504
|
-
} | {
|
|
505
|
-
readonly location: {
|
|
506
|
-
readonly latitude: number;
|
|
507
|
-
readonly longitude: number;
|
|
508
|
-
readonly name?: string | undefined;
|
|
509
|
-
readonly address?: string | undefined;
|
|
547
|
+
readonly displayText: string;
|
|
548
|
+
readonly url: string;
|
|
510
549
|
};
|
|
511
|
-
} | {
|
|
512
|
-
readonly contacts: readonly {
|
|
513
|
-
readonly name: {
|
|
514
|
-
readonly formattedName: string;
|
|
515
|
-
readonly firstName?: string | undefined;
|
|
516
|
-
readonly lastName?: string | undefined;
|
|
517
|
-
readonly middleName?: string | undefined;
|
|
518
|
-
readonly prefix?: string | undefined;
|
|
519
|
-
readonly suffix?: string | undefined;
|
|
520
|
-
};
|
|
521
|
-
readonly phones?: readonly {
|
|
522
|
-
readonly phone: string;
|
|
523
|
-
readonly type?: string | undefined;
|
|
524
|
-
readonly waId?: string | undefined;
|
|
525
|
-
}[] | undefined;
|
|
526
|
-
readonly emails?: readonly {
|
|
527
|
-
readonly email: string;
|
|
528
|
-
readonly type?: string | undefined;
|
|
529
|
-
}[] | undefined;
|
|
530
|
-
readonly urls?: readonly {
|
|
531
|
-
readonly url: string;
|
|
532
|
-
readonly type?: string | undefined;
|
|
533
|
-
}[] | undefined;
|
|
534
|
-
readonly org?: {
|
|
535
|
-
readonly company?: string | undefined;
|
|
536
|
-
readonly department?: string | undefined;
|
|
537
|
-
readonly title?: string | undefined;
|
|
538
|
-
} | undefined;
|
|
539
|
-
readonly addresses?: readonly {
|
|
540
|
-
readonly street?: string | undefined;
|
|
541
|
-
readonly city?: string | undefined;
|
|
542
|
-
readonly state?: string | undefined;
|
|
543
|
-
readonly zip?: string | undefined;
|
|
544
|
-
readonly country?: string | undefined;
|
|
545
|
-
readonly countryCode?: string | undefined;
|
|
546
|
-
readonly type?: string | undefined;
|
|
547
|
-
}[] | undefined;
|
|
548
|
-
readonly birthday?: string | undefined;
|
|
549
|
-
}[];
|
|
550
550
|
};
|
|
551
551
|
};
|
|
552
552
|
readonly scheduledFor: Date;
|
|
@@ -690,79 +690,114 @@ export declare const list: ((input?: {
|
|
|
690
690
|
readonly flowActionData?: {
|
|
691
691
|
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
692
692
|
};
|
|
693
|
+
} | {
|
|
694
|
+
readonly location: {
|
|
695
|
+
readonly latitude: number;
|
|
696
|
+
readonly longitude: number;
|
|
697
|
+
readonly name?: string;
|
|
698
|
+
readonly address?: string;
|
|
699
|
+
};
|
|
700
|
+
} | {
|
|
701
|
+
readonly contacts: readonly {
|
|
702
|
+
readonly name: {
|
|
703
|
+
readonly formattedName: string;
|
|
704
|
+
readonly firstName?: string;
|
|
705
|
+
readonly lastName?: string;
|
|
706
|
+
readonly middleName?: string;
|
|
707
|
+
readonly prefix?: string;
|
|
708
|
+
readonly suffix?: string;
|
|
709
|
+
};
|
|
710
|
+
readonly phones?: readonly {
|
|
711
|
+
readonly phone: string;
|
|
712
|
+
readonly type?: string;
|
|
713
|
+
readonly waId?: string;
|
|
714
|
+
}[];
|
|
715
|
+
readonly emails?: readonly {
|
|
716
|
+
readonly email: string;
|
|
717
|
+
readonly type?: string;
|
|
718
|
+
}[];
|
|
719
|
+
readonly urls?: readonly {
|
|
720
|
+
readonly url: string;
|
|
721
|
+
readonly type?: string;
|
|
722
|
+
}[];
|
|
723
|
+
readonly org?: {
|
|
724
|
+
readonly company?: string;
|
|
725
|
+
readonly department?: string;
|
|
726
|
+
readonly title?: string;
|
|
727
|
+
};
|
|
728
|
+
readonly addresses?: readonly {
|
|
729
|
+
readonly street?: string;
|
|
730
|
+
readonly city?: string;
|
|
731
|
+
readonly state?: string;
|
|
732
|
+
readonly zip?: string;
|
|
733
|
+
readonly country?: string;
|
|
734
|
+
readonly countryCode?: string;
|
|
735
|
+
readonly type?: string;
|
|
736
|
+
}[];
|
|
737
|
+
readonly birthday?: string;
|
|
738
|
+
}[];
|
|
739
|
+
} | {
|
|
740
|
+
readonly reaction: {
|
|
741
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
742
|
+
readonly emoji: string;
|
|
743
|
+
};
|
|
693
744
|
} | {
|
|
694
745
|
readonly media: {
|
|
695
746
|
readonly type: "image";
|
|
696
747
|
readonly caption?: string;
|
|
697
748
|
readonly url: string;
|
|
698
|
-
} | {
|
|
699
|
-
readonly type: "image";
|
|
700
|
-
readonly caption?: string;
|
|
701
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
702
749
|
} | {
|
|
703
750
|
readonly type: "video";
|
|
704
751
|
readonly caption?: string;
|
|
705
752
|
readonly url: string;
|
|
706
|
-
} | {
|
|
707
|
-
readonly type: "video";
|
|
708
|
-
readonly caption?: string;
|
|
709
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
710
753
|
} | {
|
|
711
754
|
readonly type: "audio";
|
|
712
755
|
readonly url: string;
|
|
713
|
-
} | {
|
|
714
|
-
readonly type: "audio";
|
|
715
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
716
756
|
} | {
|
|
717
757
|
readonly type: "document";
|
|
718
758
|
readonly caption?: string;
|
|
719
759
|
readonly filename?: string;
|
|
720
760
|
readonly url: string;
|
|
761
|
+
} | {
|
|
762
|
+
readonly type: "sticker";
|
|
763
|
+
readonly url: string;
|
|
764
|
+
} | {
|
|
765
|
+
readonly type: "image";
|
|
766
|
+
readonly caption?: string;
|
|
767
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
768
|
+
} | {
|
|
769
|
+
readonly type: "video";
|
|
770
|
+
readonly caption?: string;
|
|
771
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
772
|
+
} | {
|
|
773
|
+
readonly type: "audio";
|
|
774
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
721
775
|
} | {
|
|
722
776
|
readonly type: "document";
|
|
723
777
|
readonly caption?: string;
|
|
724
778
|
readonly filename?: string;
|
|
725
779
|
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
726
|
-
} | {
|
|
727
|
-
readonly type: "sticker";
|
|
728
|
-
readonly url: string;
|
|
729
780
|
} | {
|
|
730
781
|
readonly type: "sticker";
|
|
731
782
|
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
732
783
|
};
|
|
733
784
|
} | {
|
|
734
785
|
readonly interactive: {
|
|
735
|
-
readonly type: "
|
|
786
|
+
readonly type: "flow";
|
|
736
787
|
readonly header?: {
|
|
737
788
|
readonly type: "text";
|
|
738
789
|
readonly text: string;
|
|
739
|
-
} | {
|
|
740
|
-
readonly type: "image";
|
|
741
|
-
readonly url: string;
|
|
742
|
-
} | {
|
|
743
|
-
readonly type: "image";
|
|
744
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
745
|
-
} | {
|
|
746
|
-
readonly type: "video";
|
|
747
|
-
readonly url: string;
|
|
748
|
-
} | {
|
|
749
|
-
readonly type: "video";
|
|
750
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
751
|
-
} | {
|
|
752
|
-
readonly type: "document";
|
|
753
|
-
readonly filename?: string;
|
|
754
|
-
readonly url: string;
|
|
755
|
-
} | {
|
|
756
|
-
readonly type: "document";
|
|
757
|
-
readonly filename?: string;
|
|
758
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
759
790
|
};
|
|
760
791
|
readonly body: string;
|
|
761
792
|
readonly footer?: string;
|
|
762
|
-
readonly
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
793
|
+
readonly flowId: string & import("effect/Brand").Brand<"WhatsAppFlowId">;
|
|
794
|
+
readonly cta: string;
|
|
795
|
+
readonly token?: string;
|
|
796
|
+
readonly action?: "data_exchange" | "navigate";
|
|
797
|
+
readonly screen?: string;
|
|
798
|
+
readonly data?: {
|
|
799
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
800
|
+
};
|
|
766
801
|
} | {
|
|
767
802
|
readonly type: "list";
|
|
768
803
|
readonly header?: {
|
|
@@ -781,26 +816,26 @@ export declare const list: ((input?: {
|
|
|
781
816
|
}[];
|
|
782
817
|
}[];
|
|
783
818
|
} | {
|
|
784
|
-
readonly type: "
|
|
819
|
+
readonly type: "buttons";
|
|
785
820
|
readonly header?: {
|
|
786
821
|
readonly type: "text";
|
|
787
822
|
readonly text: string;
|
|
788
823
|
} | {
|
|
789
824
|
readonly type: "image";
|
|
790
825
|
readonly url: string;
|
|
791
|
-
} | {
|
|
792
|
-
readonly type: "image";
|
|
793
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
794
826
|
} | {
|
|
795
827
|
readonly type: "video";
|
|
796
828
|
readonly url: string;
|
|
797
|
-
} | {
|
|
798
|
-
readonly type: "video";
|
|
799
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
800
829
|
} | {
|
|
801
830
|
readonly type: "document";
|
|
802
831
|
readonly filename?: string;
|
|
803
832
|
readonly url: string;
|
|
833
|
+
} | {
|
|
834
|
+
readonly type: "image";
|
|
835
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
836
|
+
} | {
|
|
837
|
+
readonly type: "video";
|
|
838
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
804
839
|
} | {
|
|
805
840
|
readonly type: "document";
|
|
806
841
|
readonly filename?: string;
|
|
@@ -808,76 +843,41 @@ export declare const list: ((input?: {
|
|
|
808
843
|
};
|
|
809
844
|
readonly body: string;
|
|
810
845
|
readonly footer?: string;
|
|
811
|
-
readonly
|
|
812
|
-
|
|
846
|
+
readonly buttons: readonly {
|
|
847
|
+
readonly id: string;
|
|
848
|
+
readonly title: string;
|
|
849
|
+
}[];
|
|
813
850
|
} | {
|
|
814
|
-
readonly type: "
|
|
851
|
+
readonly type: "cta_url";
|
|
815
852
|
readonly header?: {
|
|
816
853
|
readonly type: "text";
|
|
817
854
|
readonly text: string;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
readonly footer?: string;
|
|
821
|
-
readonly flowId: string & import("effect/Brand").Brand<"WhatsAppFlowId">;
|
|
822
|
-
readonly cta: string;
|
|
823
|
-
readonly token?: string;
|
|
824
|
-
readonly action?: "data_exchange" | "navigate";
|
|
825
|
-
readonly screen?: string;
|
|
826
|
-
readonly data?: {
|
|
827
|
-
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
828
|
-
};
|
|
829
|
-
};
|
|
830
|
-
} | {
|
|
831
|
-
readonly reaction: {
|
|
832
|
-
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
833
|
-
readonly emoji: string;
|
|
834
|
-
};
|
|
835
|
-
} | {
|
|
836
|
-
readonly location: {
|
|
837
|
-
readonly latitude: number;
|
|
838
|
-
readonly longitude: number;
|
|
839
|
-
readonly name?: string;
|
|
840
|
-
readonly address?: string;
|
|
841
|
-
};
|
|
842
|
-
} | {
|
|
843
|
-
readonly contacts: readonly {
|
|
844
|
-
readonly name: {
|
|
845
|
-
readonly formattedName: string;
|
|
846
|
-
readonly firstName?: string;
|
|
847
|
-
readonly lastName?: string;
|
|
848
|
-
readonly middleName?: string;
|
|
849
|
-
readonly prefix?: string;
|
|
850
|
-
readonly suffix?: string;
|
|
851
|
-
};
|
|
852
|
-
readonly phones?: readonly {
|
|
853
|
-
readonly phone: string;
|
|
854
|
-
readonly type?: string;
|
|
855
|
-
readonly waId?: string;
|
|
856
|
-
}[];
|
|
857
|
-
readonly emails?: readonly {
|
|
858
|
-
readonly email: string;
|
|
859
|
-
readonly type?: string;
|
|
860
|
-
}[];
|
|
861
|
-
readonly urls?: readonly {
|
|
855
|
+
} | {
|
|
856
|
+
readonly type: "image";
|
|
862
857
|
readonly url: string;
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
readonly
|
|
868
|
-
readonly
|
|
858
|
+
} | {
|
|
859
|
+
readonly type: "video";
|
|
860
|
+
readonly url: string;
|
|
861
|
+
} | {
|
|
862
|
+
readonly type: "document";
|
|
863
|
+
readonly filename?: string;
|
|
864
|
+
readonly url: string;
|
|
865
|
+
} | {
|
|
866
|
+
readonly type: "image";
|
|
867
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
868
|
+
} | {
|
|
869
|
+
readonly type: "video";
|
|
870
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
871
|
+
} | {
|
|
872
|
+
readonly type: "document";
|
|
873
|
+
readonly filename?: string;
|
|
874
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
869
875
|
};
|
|
870
|
-
readonly
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
readonly country?: string;
|
|
876
|
-
readonly countryCode?: string;
|
|
877
|
-
readonly type?: string;
|
|
878
|
-
}[];
|
|
879
|
-
readonly birthday?: string;
|
|
880
|
-
}[];
|
|
876
|
+
readonly body: string;
|
|
877
|
+
readonly footer?: string;
|
|
878
|
+
readonly displayText: string;
|
|
879
|
+
readonly url: string;
|
|
880
|
+
};
|
|
881
881
|
};
|
|
882
882
|
};
|
|
883
883
|
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
@@ -1021,79 +1021,114 @@ export declare const list: ((input?: {
|
|
|
1021
1021
|
readonly flowActionData?: {
|
|
1022
1022
|
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
1023
1023
|
};
|
|
1024
|
+
} | {
|
|
1025
|
+
readonly location: {
|
|
1026
|
+
readonly latitude: number;
|
|
1027
|
+
readonly longitude: number;
|
|
1028
|
+
readonly name?: string;
|
|
1029
|
+
readonly address?: string;
|
|
1030
|
+
};
|
|
1031
|
+
} | {
|
|
1032
|
+
readonly contacts: readonly {
|
|
1033
|
+
readonly name: {
|
|
1034
|
+
readonly formattedName: string;
|
|
1035
|
+
readonly firstName?: string;
|
|
1036
|
+
readonly lastName?: string;
|
|
1037
|
+
readonly middleName?: string;
|
|
1038
|
+
readonly prefix?: string;
|
|
1039
|
+
readonly suffix?: string;
|
|
1040
|
+
};
|
|
1041
|
+
readonly phones?: readonly {
|
|
1042
|
+
readonly phone: string;
|
|
1043
|
+
readonly type?: string;
|
|
1044
|
+
readonly waId?: string;
|
|
1045
|
+
}[];
|
|
1046
|
+
readonly emails?: readonly {
|
|
1047
|
+
readonly email: string;
|
|
1048
|
+
readonly type?: string;
|
|
1049
|
+
}[];
|
|
1050
|
+
readonly urls?: readonly {
|
|
1051
|
+
readonly url: string;
|
|
1052
|
+
readonly type?: string;
|
|
1053
|
+
}[];
|
|
1054
|
+
readonly org?: {
|
|
1055
|
+
readonly company?: string;
|
|
1056
|
+
readonly department?: string;
|
|
1057
|
+
readonly title?: string;
|
|
1058
|
+
};
|
|
1059
|
+
readonly addresses?: readonly {
|
|
1060
|
+
readonly street?: string;
|
|
1061
|
+
readonly city?: string;
|
|
1062
|
+
readonly state?: string;
|
|
1063
|
+
readonly zip?: string;
|
|
1064
|
+
readonly country?: string;
|
|
1065
|
+
readonly countryCode?: string;
|
|
1066
|
+
readonly type?: string;
|
|
1067
|
+
}[];
|
|
1068
|
+
readonly birthday?: string;
|
|
1069
|
+
}[];
|
|
1070
|
+
} | {
|
|
1071
|
+
readonly reaction: {
|
|
1072
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
1073
|
+
readonly emoji: string;
|
|
1074
|
+
};
|
|
1024
1075
|
} | {
|
|
1025
1076
|
readonly media: {
|
|
1026
1077
|
readonly type: "image";
|
|
1027
1078
|
readonly caption?: string;
|
|
1028
1079
|
readonly url: string;
|
|
1029
|
-
} | {
|
|
1030
|
-
readonly type: "image";
|
|
1031
|
-
readonly caption?: string;
|
|
1032
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1033
1080
|
} | {
|
|
1034
1081
|
readonly type: "video";
|
|
1035
1082
|
readonly caption?: string;
|
|
1036
1083
|
readonly url: string;
|
|
1037
|
-
} | {
|
|
1038
|
-
readonly type: "video";
|
|
1039
|
-
readonly caption?: string;
|
|
1040
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1041
1084
|
} | {
|
|
1042
1085
|
readonly type: "audio";
|
|
1043
1086
|
readonly url: string;
|
|
1044
|
-
} | {
|
|
1045
|
-
readonly type: "audio";
|
|
1046
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1047
1087
|
} | {
|
|
1048
1088
|
readonly type: "document";
|
|
1049
1089
|
readonly caption?: string;
|
|
1050
1090
|
readonly filename?: string;
|
|
1051
1091
|
readonly url: string;
|
|
1092
|
+
} | {
|
|
1093
|
+
readonly type: "sticker";
|
|
1094
|
+
readonly url: string;
|
|
1095
|
+
} | {
|
|
1096
|
+
readonly type: "image";
|
|
1097
|
+
readonly caption?: string;
|
|
1098
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1099
|
+
} | {
|
|
1100
|
+
readonly type: "video";
|
|
1101
|
+
readonly caption?: string;
|
|
1102
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1103
|
+
} | {
|
|
1104
|
+
readonly type: "audio";
|
|
1105
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1052
1106
|
} | {
|
|
1053
1107
|
readonly type: "document";
|
|
1054
1108
|
readonly caption?: string;
|
|
1055
1109
|
readonly filename?: string;
|
|
1056
1110
|
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1057
|
-
} | {
|
|
1058
|
-
readonly type: "sticker";
|
|
1059
|
-
readonly url: string;
|
|
1060
1111
|
} | {
|
|
1061
1112
|
readonly type: "sticker";
|
|
1062
1113
|
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1063
1114
|
};
|
|
1064
1115
|
} | {
|
|
1065
1116
|
readonly interactive: {
|
|
1066
|
-
readonly type: "
|
|
1117
|
+
readonly type: "flow";
|
|
1067
1118
|
readonly header?: {
|
|
1068
1119
|
readonly type: "text";
|
|
1069
1120
|
readonly text: string;
|
|
1070
|
-
} | {
|
|
1071
|
-
readonly type: "image";
|
|
1072
|
-
readonly url: string;
|
|
1073
|
-
} | {
|
|
1074
|
-
readonly type: "image";
|
|
1075
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1076
|
-
} | {
|
|
1077
|
-
readonly type: "video";
|
|
1078
|
-
readonly url: string;
|
|
1079
|
-
} | {
|
|
1080
|
-
readonly type: "video";
|
|
1081
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1082
|
-
} | {
|
|
1083
|
-
readonly type: "document";
|
|
1084
|
-
readonly filename?: string;
|
|
1085
|
-
readonly url: string;
|
|
1086
|
-
} | {
|
|
1087
|
-
readonly type: "document";
|
|
1088
|
-
readonly filename?: string;
|
|
1089
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1090
1121
|
};
|
|
1091
1122
|
readonly body: string;
|
|
1092
1123
|
readonly footer?: string;
|
|
1093
|
-
readonly
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1124
|
+
readonly flowId: string & import("effect/Brand").Brand<"WhatsAppFlowId">;
|
|
1125
|
+
readonly cta: string;
|
|
1126
|
+
readonly token?: string;
|
|
1127
|
+
readonly action?: "data_exchange" | "navigate";
|
|
1128
|
+
readonly screen?: string;
|
|
1129
|
+
readonly data?: {
|
|
1130
|
+
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
1131
|
+
};
|
|
1097
1132
|
} | {
|
|
1098
1133
|
readonly type: "list";
|
|
1099
1134
|
readonly header?: {
|
|
@@ -1112,26 +1147,26 @@ export declare const list: ((input?: {
|
|
|
1112
1147
|
}[];
|
|
1113
1148
|
}[];
|
|
1114
1149
|
} | {
|
|
1115
|
-
readonly type: "
|
|
1150
|
+
readonly type: "buttons";
|
|
1116
1151
|
readonly header?: {
|
|
1117
1152
|
readonly type: "text";
|
|
1118
1153
|
readonly text: string;
|
|
1119
1154
|
} | {
|
|
1120
1155
|
readonly type: "image";
|
|
1121
1156
|
readonly url: string;
|
|
1122
|
-
} | {
|
|
1123
|
-
readonly type: "image";
|
|
1124
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1125
1157
|
} | {
|
|
1126
1158
|
readonly type: "video";
|
|
1127
1159
|
readonly url: string;
|
|
1128
|
-
} | {
|
|
1129
|
-
readonly type: "video";
|
|
1130
|
-
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1131
1160
|
} | {
|
|
1132
1161
|
readonly type: "document";
|
|
1133
1162
|
readonly filename?: string;
|
|
1134
1163
|
readonly url: string;
|
|
1164
|
+
} | {
|
|
1165
|
+
readonly type: "image";
|
|
1166
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1167
|
+
} | {
|
|
1168
|
+
readonly type: "video";
|
|
1169
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1135
1170
|
} | {
|
|
1136
1171
|
readonly type: "document";
|
|
1137
1172
|
readonly filename?: string;
|
|
@@ -1139,76 +1174,41 @@ export declare const list: ((input?: {
|
|
|
1139
1174
|
};
|
|
1140
1175
|
readonly body: string;
|
|
1141
1176
|
readonly footer?: string;
|
|
1142
|
-
readonly
|
|
1143
|
-
|
|
1177
|
+
readonly buttons: readonly {
|
|
1178
|
+
readonly id: string;
|
|
1179
|
+
readonly title: string;
|
|
1180
|
+
}[];
|
|
1144
1181
|
} | {
|
|
1145
|
-
readonly type: "
|
|
1182
|
+
readonly type: "cta_url";
|
|
1146
1183
|
readonly header?: {
|
|
1147
1184
|
readonly type: "text";
|
|
1148
1185
|
readonly text: string;
|
|
1186
|
+
} | {
|
|
1187
|
+
readonly type: "image";
|
|
1188
|
+
readonly url: string;
|
|
1189
|
+
} | {
|
|
1190
|
+
readonly type: "video";
|
|
1191
|
+
readonly url: string;
|
|
1192
|
+
} | {
|
|
1193
|
+
readonly type: "document";
|
|
1194
|
+
readonly filename?: string;
|
|
1195
|
+
readonly url: string;
|
|
1196
|
+
} | {
|
|
1197
|
+
readonly type: "image";
|
|
1198
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1199
|
+
} | {
|
|
1200
|
+
readonly type: "video";
|
|
1201
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1202
|
+
} | {
|
|
1203
|
+
readonly type: "document";
|
|
1204
|
+
readonly filename?: string;
|
|
1205
|
+
readonly mediaId: string & import("effect/Brand").Brand<"MediaId">;
|
|
1149
1206
|
};
|
|
1150
1207
|
readonly body: string;
|
|
1151
1208
|
readonly footer?: string;
|
|
1152
|
-
readonly
|
|
1153
|
-
readonly
|
|
1154
|
-
readonly token?: string;
|
|
1155
|
-
readonly action?: "data_exchange" | "navigate";
|
|
1156
|
-
readonly screen?: string;
|
|
1157
|
-
readonly data?: {
|
|
1158
|
-
readonly [x: string]: import("./generated/index.js").JsonValue;
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
} | {
|
|
1162
|
-
readonly reaction: {
|
|
1163
|
-
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
1164
|
-
readonly emoji: string;
|
|
1165
|
-
};
|
|
1166
|
-
} | {
|
|
1167
|
-
readonly location: {
|
|
1168
|
-
readonly latitude: number;
|
|
1169
|
-
readonly longitude: number;
|
|
1170
|
-
readonly name?: string;
|
|
1171
|
-
readonly address?: string;
|
|
1209
|
+
readonly displayText: string;
|
|
1210
|
+
readonly url: string;
|
|
1172
1211
|
};
|
|
1173
|
-
} | {
|
|
1174
|
-
readonly contacts: readonly {
|
|
1175
|
-
readonly name: {
|
|
1176
|
-
readonly formattedName: string;
|
|
1177
|
-
readonly firstName?: string;
|
|
1178
|
-
readonly lastName?: string;
|
|
1179
|
-
readonly middleName?: string;
|
|
1180
|
-
readonly prefix?: string;
|
|
1181
|
-
readonly suffix?: string;
|
|
1182
|
-
};
|
|
1183
|
-
readonly phones?: readonly {
|
|
1184
|
-
readonly phone: string;
|
|
1185
|
-
readonly type?: string;
|
|
1186
|
-
readonly waId?: string;
|
|
1187
|
-
}[];
|
|
1188
|
-
readonly emails?: readonly {
|
|
1189
|
-
readonly email: string;
|
|
1190
|
-
readonly type?: string;
|
|
1191
|
-
}[];
|
|
1192
|
-
readonly urls?: readonly {
|
|
1193
|
-
readonly url: string;
|
|
1194
|
-
readonly type?: string;
|
|
1195
|
-
}[];
|
|
1196
|
-
readonly org?: {
|
|
1197
|
-
readonly company?: string;
|
|
1198
|
-
readonly department?: string;
|
|
1199
|
-
readonly title?: string;
|
|
1200
|
-
};
|
|
1201
|
-
readonly addresses?: readonly {
|
|
1202
|
-
readonly street?: string;
|
|
1203
|
-
readonly city?: string;
|
|
1204
|
-
readonly state?: string;
|
|
1205
|
-
readonly zip?: string;
|
|
1206
|
-
readonly country?: string;
|
|
1207
|
-
readonly countryCode?: string;
|
|
1208
|
-
readonly type?: string;
|
|
1209
|
-
}[];
|
|
1210
|
-
readonly birthday?: string;
|
|
1211
|
-
}[];
|
|
1212
1212
|
};
|
|
1213
1213
|
};
|
|
1214
1214
|
readonly messageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|