@aws-sdk/client-socialmessaging 3.1060.0 → 3.1062.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.
Files changed (67) hide show
  1. package/README.md +77 -7
  2. package/dist-cjs/index.js +160 -0
  3. package/dist-cjs/schemas/schemas_0.js +262 -14
  4. package/dist-es/SocialMessaging.js +24 -0
  5. package/dist-es/commands/CreateWhatsAppFlowCommand.js +16 -0
  6. package/dist-es/commands/DeleteWhatsAppFlowCommand.js +16 -0
  7. package/dist-es/commands/DeprecateWhatsAppFlowCommand.js +16 -0
  8. package/dist-es/commands/GetWhatsAppFlowCommand.js +16 -0
  9. package/dist-es/commands/GetWhatsAppFlowPreviewCommand.js +16 -0
  10. package/dist-es/commands/ListWhatsAppFlowAssetsCommand.js +16 -0
  11. package/dist-es/commands/ListWhatsAppFlowsCommand.js +16 -0
  12. package/dist-es/commands/PublishWhatsAppFlowCommand.js +16 -0
  13. package/dist-es/commands/UpdateWhatsAppFlowAssetsCommand.js +16 -0
  14. package/dist-es/commands/UpdateWhatsAppFlowCommand.js +16 -0
  15. package/dist-es/commands/index.js +10 -0
  16. package/dist-es/models/enums.js +11 -0
  17. package/dist-es/pagination/ListWhatsAppFlowAssetsPaginator.js +4 -0
  18. package/dist-es/pagination/ListWhatsAppFlowsPaginator.js +4 -0
  19. package/dist-es/pagination/index.js +2 -0
  20. package/dist-es/schemas/schemas_0.js +259 -12
  21. package/dist-types/SocialMessaging.d.ts +84 -0
  22. package/dist-types/SocialMessagingClient.d.ts +12 -2
  23. package/dist-types/commands/CreateWhatsAppFlowCommand.d.ts +113 -0
  24. package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +3 -0
  25. package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +3 -0
  26. package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +3 -0
  27. package/dist-types/commands/DeleteWhatsAppFlowCommand.d.ts +100 -0
  28. package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +3 -0
  29. package/dist-types/commands/DeprecateWhatsAppFlowCommand.d.ts +100 -0
  30. package/dist-types/commands/GetWhatsAppFlowCommand.d.ts +139 -0
  31. package/dist-types/commands/GetWhatsAppFlowPreviewCommand.d.ts +107 -0
  32. package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +3 -0
  33. package/dist-types/commands/ListWhatsAppFlowAssetsCommand.d.ts +111 -0
  34. package/dist-types/commands/ListWhatsAppFlowsCommand.d.ts +116 -0
  35. package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +3 -0
  36. package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +3 -0
  37. package/dist-types/commands/PublishWhatsAppFlowCommand.d.ts +100 -0
  38. package/dist-types/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +105 -0
  39. package/dist-types/commands/UpdateWhatsAppFlowCommand.d.ts +104 -0
  40. package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +3 -0
  41. package/dist-types/commands/index.d.ts +10 -0
  42. package/dist-types/models/enums.d.ts +19 -0
  43. package/dist-types/models/models_0.d.ts +518 -1
  44. package/dist-types/pagination/ListWhatsAppFlowAssetsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListWhatsAppFlowsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/schemas/schemas_0.d.ts +37 -0
  48. package/dist-types/ts3.4/SocialMessaging.d.ts +184 -0
  49. package/dist-types/ts3.4/SocialMessagingClient.d.ts +60 -0
  50. package/dist-types/ts3.4/commands/CreateWhatsAppFlowCommand.d.ts +53 -0
  51. package/dist-types/ts3.4/commands/DeleteWhatsAppFlowCommand.d.ts +53 -0
  52. package/dist-types/ts3.4/commands/DeprecateWhatsAppFlowCommand.d.ts +53 -0
  53. package/dist-types/ts3.4/commands/GetWhatsAppFlowCommand.d.ts +52 -0
  54. package/dist-types/ts3.4/commands/GetWhatsAppFlowPreviewCommand.d.ts +53 -0
  55. package/dist-types/ts3.4/commands/ListWhatsAppFlowAssetsCommand.d.ts +53 -0
  56. package/dist-types/ts3.4/commands/ListWhatsAppFlowsCommand.d.ts +52 -0
  57. package/dist-types/ts3.4/commands/PublishWhatsAppFlowCommand.d.ts +53 -0
  58. package/dist-types/ts3.4/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +53 -0
  59. package/dist-types/ts3.4/commands/UpdateWhatsAppFlowCommand.d.ts +53 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +126 -1
  63. package/dist-types/ts3.4/pagination/ListWhatsAppFlowAssetsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/ListWhatsAppFlowsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
  67. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import type { RegistrationStatus } from "./enums";
1
+ import type { MetaFlowCategory, RegistrationStatus } from "./enums";
2
2
  /**
3
3
  * <p>The tag for a resource.</p>
4
4
  * @public
@@ -332,6 +332,56 @@ export interface AssociateWhatsAppBusinessAccountOutput {
332
332
  */
333
333
  linkedWhatsAppBusinessAccountId?: string | undefined;
334
334
  }
335
+ /**
336
+ * @public
337
+ */
338
+ export interface CreateWhatsAppFlowInput {
339
+ /**
340
+ * <p>The ID of the WhatsApp Business Account to associate with this Flow.</p>
341
+ * @public
342
+ */
343
+ id: string | undefined;
344
+ /**
345
+ * <p>The name of the Flow. Must be unique within the WhatsApp Business Account.</p>
346
+ * @public
347
+ */
348
+ flowName: string | undefined;
349
+ /**
350
+ * <p>The categories that classify the business purpose of the Flow. At least one category is required.</p>
351
+ * @public
352
+ */
353
+ categories: MetaFlowCategory[] | undefined;
354
+ /**
355
+ * <p>The Flow JSON definition that describes the screens, components, and logic of the Flow. Maximum size is 10 MB.</p>
356
+ * @public
357
+ */
358
+ flowJson?: Uint8Array | undefined;
359
+ /**
360
+ * <p>Set to <code>true</code> to publish the Flow immediately after creation. Requires a valid <code>flowJson</code> that passes Meta's validation.</p>
361
+ * @public
362
+ */
363
+ publish?: boolean | undefined;
364
+ /**
365
+ * <p>The ID of an existing Flow within the same WhatsApp Business Account to clone.</p>
366
+ * @public
367
+ */
368
+ cloneFlowId?: string | undefined;
369
+ }
370
+ /**
371
+ * @public
372
+ */
373
+ export interface CreateWhatsAppFlowOutput {
374
+ /**
375
+ * <p>The unique identifier assigned to the Flow by Meta.</p>
376
+ * @public
377
+ */
378
+ flowId?: string | undefined;
379
+ /**
380
+ * <p>A list of validation errors returned by Meta, if any. Validation errors must be resolved before the Flow can be published.</p>
381
+ * @public
382
+ */
383
+ validationErrors?: string[] | undefined;
384
+ }
335
385
  /**
336
386
  * @public
337
387
  */
@@ -550,6 +600,26 @@ export interface CreateWhatsAppMessageTemplateMediaOutput {
550
600
  */
551
601
  metaHeaderHandle?: string | undefined;
552
602
  }
603
+ /**
604
+ * @public
605
+ */
606
+ export interface DeleteWhatsAppFlowInput {
607
+ /**
608
+ * <p>The ID of the WhatsApp Business Account associated with this Flow.</p>
609
+ * @public
610
+ */
611
+ id: string | undefined;
612
+ /**
613
+ * <p>The unique identifier of the Flow to delete.</p>
614
+ * @public
615
+ */
616
+ flowId: string | undefined;
617
+ }
618
+ /**
619
+ * @public
620
+ */
621
+ export interface DeleteWhatsAppFlowOutput {
622
+ }
553
623
  /**
554
624
  * @public
555
625
  */
@@ -609,6 +679,26 @@ export interface DeleteWhatsAppMessageTemplateInput {
609
679
  */
610
680
  export interface DeleteWhatsAppMessageTemplateOutput {
611
681
  }
682
+ /**
683
+ * @public
684
+ */
685
+ export interface DeprecateWhatsAppFlowInput {
686
+ /**
687
+ * <p>The ID of the WhatsApp Business Account associated with this Flow.</p>
688
+ * @public
689
+ */
690
+ id: string | undefined;
691
+ /**
692
+ * <p>The unique identifier of the Flow to deprecate.</p>
693
+ * @public
694
+ */
695
+ flowId: string | undefined;
696
+ }
697
+ /**
698
+ * @public
699
+ */
700
+ export interface DeprecateWhatsAppFlowOutput {
701
+ }
612
702
  /**
613
703
  * @public
614
704
  */
@@ -776,6 +866,226 @@ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberOutput {
776
866
  */
777
867
  linkedWhatsAppBusinessAccountId?: string | undefined;
778
868
  }
869
+ /**
870
+ * @public
871
+ */
872
+ export interface GetWhatsAppFlowInput {
873
+ /**
874
+ * <p>The ID of the WhatsApp Business Account associated with this Flow.</p>
875
+ * @public
876
+ */
877
+ id: string | undefined;
878
+ /**
879
+ * <p>The unique identifier of the Flow to retrieve.</p>
880
+ * @public
881
+ */
882
+ flowId: string | undefined;
883
+ }
884
+ /**
885
+ * <p>Contains the Meta application metadata associated with a WhatsApp Flow.</p>
886
+ * @public
887
+ */
888
+ export interface MetaFlowApplicationInfo {
889
+ /**
890
+ * <p>The URL link for the Meta application.</p>
891
+ * @public
892
+ */
893
+ link?: string | undefined;
894
+ /**
895
+ * <p>The name of the Meta application.</p>
896
+ * @public
897
+ */
898
+ name: string | undefined;
899
+ /**
900
+ * <p>The unique identifier of the Meta application.</p>
901
+ * @public
902
+ */
903
+ id: string | undefined;
904
+ }
905
+ /**
906
+ * <p>Represents a single entity in the health status check for a WhatsApp Flow.</p>
907
+ * @public
908
+ */
909
+ export interface MetaFlowHealthEntity {
910
+ /**
911
+ * <p>The type of entity (for example, FLOW, WABA, BUSINESS, or APP).</p>
912
+ * @public
913
+ */
914
+ entityType: string | undefined;
915
+ /**
916
+ * <p>The unique identifier of the entity.</p>
917
+ * @public
918
+ */
919
+ id: string | undefined;
920
+ /**
921
+ * <p>The messaging availability status for this entity (for example, AVAILABLE, LIMITED, or BLOCKED).</p>
922
+ * @public
923
+ */
924
+ canSendMessage: string | undefined;
925
+ }
926
+ /**
927
+ * <p>Contains the overall health status and per-entity breakdown for a WhatsApp Flow.</p>
928
+ * @public
929
+ */
930
+ export interface MetaFlowHealthStatus {
931
+ /**
932
+ * <p>The overall messaging availability status (for example, AVAILABLE, LIMITED, or BLOCKED).</p>
933
+ * @public
934
+ */
935
+ canSendMessage: string | undefined;
936
+ /**
937
+ * <p>A list of health status entities with per-entity availability information.</p>
938
+ * @public
939
+ */
940
+ entities?: MetaFlowHealthEntity[] | undefined;
941
+ }
942
+ /**
943
+ * <p>Contains the preview URL for testing a WhatsApp Flow and its expiration timestamp.</p>
944
+ * @public
945
+ */
946
+ export interface MetaFlowPreviewInfo {
947
+ /**
948
+ * <p>The web URL for previewing the Flow. Can be shared with stakeholders for review.</p>
949
+ * @public
950
+ */
951
+ previewUrl: string | undefined;
952
+ /**
953
+ * <p>The timestamp when the preview URL expires.</p>
954
+ * @public
955
+ */
956
+ expiresAt: string | undefined;
957
+ }
958
+ /**
959
+ * <p>Contains WhatsApp Business Account metadata associated with a Flow, as returned by Meta.</p>
960
+ * @public
961
+ */
962
+ export interface MetaFlowWhatsAppBusinessAccountInfo {
963
+ /**
964
+ * <p>The WhatsApp Business Account ID from Meta.</p>
965
+ * @public
966
+ */
967
+ id: string | undefined;
968
+ /**
969
+ * <p>The name of the WhatsApp Business Account.</p>
970
+ * @public
971
+ */
972
+ name: string | undefined;
973
+ /**
974
+ * <p>The currency code for the WhatsApp Business Account (for example, USD).</p>
975
+ * @public
976
+ */
977
+ currency?: string | undefined;
978
+ /**
979
+ * <p>The timezone ID for the WhatsApp Business Account.</p>
980
+ * @public
981
+ */
982
+ timezoneId?: string | undefined;
983
+ /**
984
+ * <p>The message template namespace for the WhatsApp Business Account.</p>
985
+ * @public
986
+ */
987
+ messageTemplateNamespace?: string | undefined;
988
+ }
989
+ /**
990
+ * @public
991
+ */
992
+ export interface GetWhatsAppFlowOutput {
993
+ /**
994
+ * <p>The unique identifier of the Flow.</p>
995
+ * @public
996
+ */
997
+ flowId: string | undefined;
998
+ /**
999
+ * <p>The name of the Flow.</p>
1000
+ * @public
1001
+ */
1002
+ flowName: string | undefined;
1003
+ /**
1004
+ * <p>The lifecycle status of the Flow. Valid values are DRAFT, PUBLISHED, DEPRECATED, BLOCKED, and THROTTLED.</p>
1005
+ * @public
1006
+ */
1007
+ flowStatus: string | undefined;
1008
+ /**
1009
+ * <p>The categories that classify the business purpose of the Flow.</p>
1010
+ * @public
1011
+ */
1012
+ categories?: MetaFlowCategory[] | undefined;
1013
+ /**
1014
+ * <p>A list of validation errors from Meta, if any.</p>
1015
+ * @public
1016
+ */
1017
+ validationErrors?: string[] | undefined;
1018
+ /**
1019
+ * <p>The version of the Flow JSON schema used by this Flow (for example, 7.3).</p>
1020
+ * @public
1021
+ */
1022
+ jsonVersion?: string | undefined;
1023
+ /**
1024
+ * <p>The data API version for data exchange endpoint Flows.</p>
1025
+ * @public
1026
+ */
1027
+ dataApiVersion?: string | undefined;
1028
+ /**
1029
+ * <p>The endpoint URI for data exchange Flows, if configured.</p>
1030
+ * @public
1031
+ */
1032
+ endpointUri?: string | undefined;
1033
+ /**
1034
+ * <p>The preview URL and its expiration timestamp for testing the Flow.</p>
1035
+ * @public
1036
+ */
1037
+ preview?: MetaFlowPreviewInfo | undefined;
1038
+ /**
1039
+ * <p>The WhatsApp Business Account information from Meta associated with this Flow.</p>
1040
+ * @public
1041
+ */
1042
+ whatsAppBusinessAccount?: MetaFlowWhatsAppBusinessAccountInfo | undefined;
1043
+ /**
1044
+ * <p>The Meta application information associated with this Flow.</p>
1045
+ * @public
1046
+ */
1047
+ application?: MetaFlowApplicationInfo | undefined;
1048
+ /**
1049
+ * <p>The health status information for this Flow from Meta.</p>
1050
+ * @public
1051
+ */
1052
+ healthStatus?: MetaFlowHealthStatus | undefined;
1053
+ }
1054
+ /**
1055
+ * @public
1056
+ */
1057
+ export interface GetWhatsAppFlowPreviewInput {
1058
+ /**
1059
+ * <p>The ID of the WhatsApp Business Account associated with this Flow.</p>
1060
+ * @public
1061
+ */
1062
+ id: string | undefined;
1063
+ /**
1064
+ * <p>The unique identifier of the Flow to preview.</p>
1065
+ * @public
1066
+ */
1067
+ flowId: string | undefined;
1068
+ /**
1069
+ * <p>Set to <code>true</code> to force generation of a new preview URL. Use this if the previous URL has been compromised or you want a fresh expiration period.</p>
1070
+ * @public
1071
+ */
1072
+ invalidate?: boolean | undefined;
1073
+ }
1074
+ /**
1075
+ * @public
1076
+ */
1077
+ export interface GetWhatsAppFlowPreviewOutput {
1078
+ /**
1079
+ * <p>The unique identifier of the Flow.</p>
1080
+ * @public
1081
+ */
1082
+ flowId: string | undefined;
1083
+ /**
1084
+ * <p>The preview URL and its expiration timestamp.</p>
1085
+ * @public
1086
+ */
1087
+ preview: MetaFlowPreviewInfo | undefined;
1088
+ }
779
1089
  /**
780
1090
  * <p>You can use presigned URLs to grant time-limited access to objects in Amazon S3 without updating your bucket policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-presigned-url.html">Working with presigned URLs</a> in the <i>Amazon S3
781
1091
  * User Guide</i>.</p>
@@ -996,6 +1306,133 @@ export interface ListLinkedWhatsAppBusinessAccountsOutput {
996
1306
  */
997
1307
  nextToken?: string | undefined;
998
1308
  }
1309
+ /**
1310
+ * @public
1311
+ */
1312
+ export interface ListWhatsAppFlowAssetsInput {
1313
+ /**
1314
+ * <p>The ID of the WhatsApp Business Account associated with this Flow.</p>
1315
+ * @public
1316
+ */
1317
+ id: string | undefined;
1318
+ /**
1319
+ * <p>The unique identifier of the Flow whose assets to list.</p>
1320
+ * @public
1321
+ */
1322
+ flowId: string | undefined;
1323
+ /**
1324
+ * <p>The token for the next page of results.</p>
1325
+ * @public
1326
+ */
1327
+ nextToken?: string | undefined;
1328
+ /**
1329
+ * <p>The maximum number of results to return per page.</p>
1330
+ * @public
1331
+ */
1332
+ maxResults?: number | undefined;
1333
+ }
1334
+ /**
1335
+ * <p>Represents a single asset file associated with a WhatsApp Flow, including a presigned download URL.</p>
1336
+ * @public
1337
+ */
1338
+ export interface MetaFlowAsset {
1339
+ /**
1340
+ * <p>The filename of the asset (for example, flow.json).</p>
1341
+ * @public
1342
+ */
1343
+ name: string | undefined;
1344
+ /**
1345
+ * <p>The type of asset. Currently the only supported value is FLOW_JSON.</p>
1346
+ * @public
1347
+ */
1348
+ assetType: string | undefined;
1349
+ /**
1350
+ * <p>A presigned URL from Meta for downloading the asset. The URL expires after a short period.</p>
1351
+ * @public
1352
+ */
1353
+ downloadUrl: string | undefined;
1354
+ }
1355
+ /**
1356
+ * @public
1357
+ */
1358
+ export interface ListWhatsAppFlowAssetsOutput {
1359
+ /**
1360
+ * <p>A list of Flow assets with download URLs.</p>
1361
+ * @public
1362
+ */
1363
+ flowAssets: MetaFlowAsset[] | undefined;
1364
+ /**
1365
+ * <p>The token to retrieve the next page of results, if any.</p>
1366
+ * @public
1367
+ */
1368
+ nextToken?: string | undefined;
1369
+ }
1370
+ /**
1371
+ * @public
1372
+ */
1373
+ export interface ListWhatsAppFlowsInput {
1374
+ /**
1375
+ * <p>The ID of the WhatsApp Business Account to list Flows for.</p>
1376
+ * @public
1377
+ */
1378
+ id: string | undefined;
1379
+ /**
1380
+ * <p>The token for the next page of results.</p>
1381
+ * @public
1382
+ */
1383
+ nextToken?: string | undefined;
1384
+ /**
1385
+ * <p>The maximum number of results to return per page.</p>
1386
+ * @public
1387
+ */
1388
+ maxResults?: number | undefined;
1389
+ }
1390
+ /**
1391
+ * <p>Contains summary information about a WhatsApp Flow, including its ID, name, status, and categories.</p>
1392
+ * @public
1393
+ */
1394
+ export interface MetaFlowSummary {
1395
+ /**
1396
+ * <p>The unique identifier of the Flow assigned by Meta.</p>
1397
+ * @public
1398
+ */
1399
+ flowId: string | undefined;
1400
+ /**
1401
+ * <p>The name of the Flow.</p>
1402
+ * @public
1403
+ */
1404
+ flowName: string | undefined;
1405
+ /**
1406
+ * <p>The lifecycle status of the Flow (DRAFT, PUBLISHED, DEPRECATED, BLOCKED, or THROTTLED).</p>
1407
+ * @public
1408
+ */
1409
+ flowStatus: string | undefined;
1410
+ /**
1411
+ * <p>The categories that classify the business purpose of the Flow.</p>
1412
+ * @public
1413
+ */
1414
+ flowCategories: MetaFlowCategory[] | undefined;
1415
+ /**
1416
+ * <p>A list of validation errors from Meta, if any.</p>
1417
+ * @public
1418
+ */
1419
+ validationErrors: string[] | undefined;
1420
+ }
1421
+ /**
1422
+ * @public
1423
+ */
1424
+ export interface ListWhatsAppFlowsOutput {
1425
+ /**
1426
+ * <p>A list of Flow summaries.</p>
1427
+ * @public
1428
+ */
1429
+ flows: MetaFlowSummary[] | undefined;
1430
+ /**
1431
+ * <p>The token to retrieve the next page of results, if any.</p>
1432
+ * @public
1433
+ */
1434
+ nextToken?: string | undefined;
1435
+ }
999
1436
  /**
1000
1437
  * @public
1001
1438
  */
@@ -1168,6 +1605,26 @@ export interface ListWhatsAppTemplateLibraryOutput {
1168
1605
  */
1169
1606
  nextToken?: string | undefined;
1170
1607
  }
1608
+ /**
1609
+ * @public
1610
+ */
1611
+ export interface PublishWhatsAppFlowInput {
1612
+ /**
1613
+ * <p>The ID of the WhatsApp Business Account associated with this Flow.</p>
1614
+ * @public
1615
+ */
1616
+ id: string | undefined;
1617
+ /**
1618
+ * <p>The unique identifier of the Flow to publish.</p>
1619
+ * @public
1620
+ */
1621
+ flowId: string | undefined;
1622
+ }
1623
+ /**
1624
+ * @public
1625
+ */
1626
+ export interface PublishWhatsAppFlowOutput {
1627
+ }
1171
1628
  /**
1172
1629
  * @public
1173
1630
  */
@@ -1190,6 +1647,66 @@ export interface PutWhatsAppBusinessAccountEventDestinationsInput {
1190
1647
  */
1191
1648
  export interface PutWhatsAppBusinessAccountEventDestinationsOutput {
1192
1649
  }
1650
+ /**
1651
+ * @public
1652
+ */
1653
+ export interface UpdateWhatsAppFlowInput {
1654
+ /**
1655
+ * <p>The ID of the WhatsApp Business Account associated with this Flow.</p>
1656
+ * @public
1657
+ */
1658
+ id: string | undefined;
1659
+ /**
1660
+ * <p>The unique identifier of the Flow to update.</p>
1661
+ * @public
1662
+ */
1663
+ flowId: string | undefined;
1664
+ /**
1665
+ * <p>The updated name for the Flow.</p>
1666
+ * @public
1667
+ */
1668
+ flowName?: string | undefined;
1669
+ /**
1670
+ * <p>The updated categories for the Flow.</p>
1671
+ * @public
1672
+ */
1673
+ categories?: MetaFlowCategory[] | undefined;
1674
+ }
1675
+ /**
1676
+ * @public
1677
+ */
1678
+ export interface UpdateWhatsAppFlowOutput {
1679
+ }
1680
+ /**
1681
+ * @public
1682
+ */
1683
+ export interface UpdateWhatsAppFlowAssetsInput {
1684
+ /**
1685
+ * <p>The ID of the WhatsApp Business Account associated with this Flow.</p>
1686
+ * @public
1687
+ */
1688
+ id: string | undefined;
1689
+ /**
1690
+ * <p>The unique identifier of the Flow whose assets to update.</p>
1691
+ * @public
1692
+ */
1693
+ flowId: string | undefined;
1694
+ /**
1695
+ * <p>The updated Flow JSON definition. Maximum size is 10 MB.</p>
1696
+ * @public
1697
+ */
1698
+ flowJson: Uint8Array | undefined;
1699
+ }
1700
+ /**
1701
+ * @public
1702
+ */
1703
+ export interface UpdateWhatsAppFlowAssetsOutput {
1704
+ /**
1705
+ * <p>A list of validation errors returned by Meta, if any. Validation errors must be resolved before the Flow can be published.</p>
1706
+ * @public
1707
+ */
1708
+ validationErrors?: string[] | undefined;
1709
+ }
1193
1710
  /**
1194
1711
  * @public
1195
1712
  */
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListWhatsAppFlowAssetsCommandInput, ListWhatsAppFlowAssetsCommandOutput } from "../commands/ListWhatsAppFlowAssetsCommand";
3
+ import type { SocialMessagingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListWhatsAppFlowAssets: (config: SocialMessagingPaginationConfiguration, input: ListWhatsAppFlowAssetsCommandInput, ...rest: any[]) => Paginator<ListWhatsAppFlowAssetsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListWhatsAppFlowsCommandInput, ListWhatsAppFlowsCommandOutput } from "../commands/ListWhatsAppFlowsCommand";
3
+ import type { SocialMessagingPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListWhatsAppFlows: (config: SocialMessagingPaginationConfiguration, input: ListWhatsAppFlowsCommandInput, ...rest: any[]) => Paginator<ListWhatsAppFlowsCommandOutput>;
@@ -1,4 +1,6 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListLinkedWhatsAppBusinessAccountsPaginator";
3
+ export * from "./ListWhatsAppFlowAssetsPaginator";
4
+ export * from "./ListWhatsAppFlowsPaginator";
3
5
  export * from "./ListWhatsAppMessageTemplatesPaginator";
4
6
  export * from "./ListWhatsAppTemplateLibraryPaginator";
@@ -18,22 +18,32 @@ export declare var ValidationException$: StaticErrorSchema;
18
18
  export declare const errorTypeRegistries: TypeRegistry[];
19
19
  export declare var AssociateWhatsAppBusinessAccountInput$: StaticStructureSchema;
20
20
  export declare var AssociateWhatsAppBusinessAccountOutput$: StaticStructureSchema;
21
+ export declare var CreateWhatsAppFlowInput$: StaticStructureSchema;
22
+ export declare var CreateWhatsAppFlowOutput$: StaticStructureSchema;
21
23
  export declare var CreateWhatsAppMessageTemplateFromLibraryInput$: StaticStructureSchema;
22
24
  export declare var CreateWhatsAppMessageTemplateFromLibraryOutput$: StaticStructureSchema;
23
25
  export declare var CreateWhatsAppMessageTemplateInput$: StaticStructureSchema;
24
26
  export declare var CreateWhatsAppMessageTemplateMediaInput$: StaticStructureSchema;
25
27
  export declare var CreateWhatsAppMessageTemplateMediaOutput$: StaticStructureSchema;
26
28
  export declare var CreateWhatsAppMessageTemplateOutput$: StaticStructureSchema;
29
+ export declare var DeleteWhatsAppFlowInput$: StaticStructureSchema;
30
+ export declare var DeleteWhatsAppFlowOutput$: StaticStructureSchema;
27
31
  export declare var DeleteWhatsAppMessageMediaInput$: StaticStructureSchema;
28
32
  export declare var DeleteWhatsAppMessageMediaOutput$: StaticStructureSchema;
29
33
  export declare var DeleteWhatsAppMessageTemplateInput$: StaticStructureSchema;
30
34
  export declare var DeleteWhatsAppMessageTemplateOutput$: StaticStructureSchema;
35
+ export declare var DeprecateWhatsAppFlowInput$: StaticStructureSchema;
36
+ export declare var DeprecateWhatsAppFlowOutput$: StaticStructureSchema;
31
37
  export declare var DisassociateWhatsAppBusinessAccountInput$: StaticStructureSchema;
32
38
  export declare var DisassociateWhatsAppBusinessAccountOutput$: StaticStructureSchema;
33
39
  export declare var GetLinkedWhatsAppBusinessAccountInput$: StaticStructureSchema;
34
40
  export declare var GetLinkedWhatsAppBusinessAccountOutput$: StaticStructureSchema;
35
41
  export declare var GetLinkedWhatsAppBusinessAccountPhoneNumberInput$: StaticStructureSchema;
36
42
  export declare var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$: StaticStructureSchema;
43
+ export declare var GetWhatsAppFlowInput$: StaticStructureSchema;
44
+ export declare var GetWhatsAppFlowOutput$: StaticStructureSchema;
45
+ export declare var GetWhatsAppFlowPreviewInput$: StaticStructureSchema;
46
+ export declare var GetWhatsAppFlowPreviewOutput$: StaticStructureSchema;
37
47
  export declare var GetWhatsAppMessageMediaInput$: StaticStructureSchema;
38
48
  export declare var GetWhatsAppMessageMediaOutput$: StaticStructureSchema;
39
49
  export declare var GetWhatsAppMessageTemplateInput$: StaticStructureSchema;
@@ -48,14 +58,27 @@ export declare var ListLinkedWhatsAppBusinessAccountsInput$: StaticStructureSche
48
58
  export declare var ListLinkedWhatsAppBusinessAccountsOutput$: StaticStructureSchema;
49
59
  export declare var ListTagsForResourceInput$: StaticStructureSchema;
50
60
  export declare var ListTagsForResourceOutput$: StaticStructureSchema;
61
+ export declare var ListWhatsAppFlowAssetsInput$: StaticStructureSchema;
62
+ export declare var ListWhatsAppFlowAssetsOutput$: StaticStructureSchema;
63
+ export declare var ListWhatsAppFlowsInput$: StaticStructureSchema;
64
+ export declare var ListWhatsAppFlowsOutput$: StaticStructureSchema;
51
65
  export declare var ListWhatsAppMessageTemplatesInput$: StaticStructureSchema;
52
66
  export declare var ListWhatsAppMessageTemplatesOutput$: StaticStructureSchema;
53
67
  export declare var ListWhatsAppTemplateLibraryInput$: StaticStructureSchema;
54
68
  export declare var ListWhatsAppTemplateLibraryOutput$: StaticStructureSchema;
69
+ export declare var MetaFlowApplicationInfo$: StaticStructureSchema;
70
+ export declare var MetaFlowAsset$: StaticStructureSchema;
71
+ export declare var MetaFlowHealthEntity$: StaticStructureSchema;
72
+ export declare var MetaFlowHealthStatus$: StaticStructureSchema;
73
+ export declare var MetaFlowPreviewInfo$: StaticStructureSchema;
74
+ export declare var MetaFlowSummary$: StaticStructureSchema;
75
+ export declare var MetaFlowWhatsAppBusinessAccountInfo$: StaticStructureSchema;
55
76
  export declare var MetaLibraryTemplate$: StaticStructureSchema;
56
77
  export declare var MetaLibraryTemplateDefinition$: StaticStructureSchema;
57
78
  export declare var PostWhatsAppMessageMediaInput$: StaticStructureSchema;
58
79
  export declare var PostWhatsAppMessageMediaOutput$: StaticStructureSchema;
80
+ export declare var PublishWhatsAppFlowInput$: StaticStructureSchema;
81
+ export declare var PublishWhatsAppFlowOutput$: StaticStructureSchema;
59
82
  export declare var PutWhatsAppBusinessAccountEventDestinationsInput$: StaticStructureSchema;
60
83
  export declare var PutWhatsAppBusinessAccountEventDestinationsOutput$: StaticStructureSchema;
61
84
  export declare var S3File$: StaticStructureSchema;
@@ -68,6 +91,10 @@ export declare var TagResourceOutput$: StaticStructureSchema;
68
91
  export declare var TemplateSummary$: StaticStructureSchema;
69
92
  export declare var UntagResourceInput$: StaticStructureSchema;
70
93
  export declare var UntagResourceOutput$: StaticStructureSchema;
94
+ export declare var UpdateWhatsAppFlowAssetsInput$: StaticStructureSchema;
95
+ export declare var UpdateWhatsAppFlowAssetsOutput$: StaticStructureSchema;
96
+ export declare var UpdateWhatsAppFlowInput$: StaticStructureSchema;
97
+ export declare var UpdateWhatsAppFlowOutput$: StaticStructureSchema;
71
98
  export declare var UpdateWhatsAppMessageTemplateInput$: StaticStructureSchema;
72
99
  export declare var UpdateWhatsAppMessageTemplateOutput$: StaticStructureSchema;
73
100
  export declare var WabaPhoneNumberSetupFinalization$: StaticStructureSchema;
@@ -79,23 +106,33 @@ export declare var WhatsAppSetupFinalization$: StaticStructureSchema;
79
106
  export declare var WhatsAppSignupCallback$: StaticStructureSchema;
80
107
  export declare var WhatsAppSignupCallbackResult$: StaticStructureSchema;
81
108
  export declare var AssociateWhatsAppBusinessAccount$: StaticOperationSchema;
109
+ export declare var CreateWhatsAppFlow$: StaticOperationSchema;
82
110
  export declare var CreateWhatsAppMessageTemplate$: StaticOperationSchema;
83
111
  export declare var CreateWhatsAppMessageTemplateFromLibrary$: StaticOperationSchema;
84
112
  export declare var CreateWhatsAppMessageTemplateMedia$: StaticOperationSchema;
113
+ export declare var DeleteWhatsAppFlow$: StaticOperationSchema;
85
114
  export declare var DeleteWhatsAppMessageMedia$: StaticOperationSchema;
86
115
  export declare var DeleteWhatsAppMessageTemplate$: StaticOperationSchema;
116
+ export declare var DeprecateWhatsAppFlow$: StaticOperationSchema;
87
117
  export declare var DisassociateWhatsAppBusinessAccount$: StaticOperationSchema;
88
118
  export declare var GetLinkedWhatsAppBusinessAccount$: StaticOperationSchema;
89
119
  export declare var GetLinkedWhatsAppBusinessAccountPhoneNumber$: StaticOperationSchema;
120
+ export declare var GetWhatsAppFlow$: StaticOperationSchema;
121
+ export declare var GetWhatsAppFlowPreview$: StaticOperationSchema;
90
122
  export declare var GetWhatsAppMessageMedia$: StaticOperationSchema;
91
123
  export declare var GetWhatsAppMessageTemplate$: StaticOperationSchema;
92
124
  export declare var ListLinkedWhatsAppBusinessAccounts$: StaticOperationSchema;
93
125
  export declare var ListTagsForResource$: StaticOperationSchema;
126
+ export declare var ListWhatsAppFlowAssets$: StaticOperationSchema;
127
+ export declare var ListWhatsAppFlows$: StaticOperationSchema;
94
128
  export declare var ListWhatsAppMessageTemplates$: StaticOperationSchema;
95
129
  export declare var ListWhatsAppTemplateLibrary$: StaticOperationSchema;
96
130
  export declare var PostWhatsAppMessageMedia$: StaticOperationSchema;
131
+ export declare var PublishWhatsAppFlow$: StaticOperationSchema;
97
132
  export declare var PutWhatsAppBusinessAccountEventDestinations$: StaticOperationSchema;
98
133
  export declare var SendWhatsAppMessage$: StaticOperationSchema;
99
134
  export declare var TagResource$: StaticOperationSchema;
100
135
  export declare var UntagResource$: StaticOperationSchema;
136
+ export declare var UpdateWhatsAppFlow$: StaticOperationSchema;
137
+ export declare var UpdateWhatsAppFlowAssets$: StaticOperationSchema;
101
138
  export declare var UpdateWhatsAppMessageTemplate$: StaticOperationSchema;