@aws-sdk/client-socialmessaging 3.1134.0 → 3.1136.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/README.md +21 -0
- package/dist-cjs/index.js +229 -16
- package/dist-es/SocialMessaging.js +6 -0
- package/dist-es/commands/GetWhatsAppCallPermissionCommand.js +4 -0
- package/dist-es/commands/SendWhatsAppCallEventCommand.js +4 -0
- package/dist-es/commands/UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/schemas/schemas_0.js +173 -16
- package/dist-types/SocialMessaging.d.ts +21 -0
- package/dist-types/SocialMessagingClient.d.ts +5 -2
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/GetWhatsAppBusinessPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetWhatsAppCallPermissionCommand.d.ts +115 -0
- package/dist-types/commands/PutWhatsAppBusinessPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/SendWhatsAppCallEventCommand.d.ts +101 -0
- package/dist-types/commands/UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +131 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +17 -0
- package/dist-types/models/errors.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +279 -24
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/SocialMessaging.d.ts +51 -0
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetWhatsAppCallPermissionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SendWhatsAppCallEventCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +10 -0
- package/dist-types/ts3.4/models/errors.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MetaFlowCategory, RegistrationStatus } from "./enums";
|
|
1
|
+
import type { MetaFlowCategory, RegistrationStatus, WhatsAppDayOfWeek } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The tag for a resource.</p>
|
|
4
4
|
* @public
|
|
@@ -387,11 +387,7 @@ export interface CreateWhatsAppFlowInput {
|
|
|
387
387
|
*/
|
|
388
388
|
cloneFlowId?: string | undefined;
|
|
389
389
|
/**
|
|
390
|
-
*
|
|
391
|
-
* Flow's endpoint_uri and called by Meta directly. When omitted, the Flow
|
|
392
|
-
* has no endpoint (static Flow). Meta only calls the endpoint when the
|
|
393
|
-
* Flow JSON also declares data_api_version. To verify that requests
|
|
394
|
-
* originate from Meta, attach your own Meta app via UpdateWhatsAppFlow.
|
|
390
|
+
* <p>The HTTPS endpoint that Meta calls for a data exchange Flow.</p>
|
|
395
391
|
* @public
|
|
396
392
|
*/
|
|
397
393
|
endpointUri?: string | undefined;
|
|
@@ -884,6 +880,116 @@ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberInput {
|
|
|
884
880
|
*/
|
|
885
881
|
id: string | undefined;
|
|
886
882
|
}
|
|
883
|
+
/**
|
|
884
|
+
* <p>A time of day, expressed as an hour and minute.</p>
|
|
885
|
+
* @public
|
|
886
|
+
*/
|
|
887
|
+
export interface WhatsAppTimeOfDay {
|
|
888
|
+
/**
|
|
889
|
+
* <p>The hour of the day, from 0 to 23.</p>
|
|
890
|
+
* @public
|
|
891
|
+
*/
|
|
892
|
+
hours: number | undefined;
|
|
893
|
+
/**
|
|
894
|
+
* <p>The minute of the hour, from 0 to 59.</p>
|
|
895
|
+
* @public
|
|
896
|
+
*/
|
|
897
|
+
minutes: number | undefined;
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* <p>A date-specific override to the weekly operating hours, such as a holiday.</p>
|
|
901
|
+
* @public
|
|
902
|
+
*/
|
|
903
|
+
export interface WhatsAppHolidayScheduleEntry {
|
|
904
|
+
/**
|
|
905
|
+
* <p>The date that the override applies to, in ISO 8601 format (<code>YYYY-MM-DD</code>).</p>
|
|
906
|
+
* @public
|
|
907
|
+
*/
|
|
908
|
+
date: string | undefined;
|
|
909
|
+
/**
|
|
910
|
+
* <p>The time of day when the business begins accepting calls on the override date.</p>
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
913
|
+
startTime: WhatsAppTimeOfDay | undefined;
|
|
914
|
+
/**
|
|
915
|
+
* <p>The time of day when the business stops accepting calls on the override date.</p>
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
endTime: WhatsAppTimeOfDay | undefined;
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* <p>A single entry in a weekly calling schedule, defining the open and close times for one day of the week.</p>
|
|
922
|
+
* @public
|
|
923
|
+
*/
|
|
924
|
+
export interface WhatsAppWeeklyOperatingHoursEntry {
|
|
925
|
+
/**
|
|
926
|
+
* <p>The day of the week that the entry applies to.</p>
|
|
927
|
+
* @public
|
|
928
|
+
*/
|
|
929
|
+
dayOfWeek: WhatsAppDayOfWeek | undefined;
|
|
930
|
+
/**
|
|
931
|
+
* <p>The time of day when the business begins accepting calls.</p>
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
openTime: WhatsAppTimeOfDay | undefined;
|
|
935
|
+
/**
|
|
936
|
+
* <p>The time of day when the business stops accepting calls.</p>
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
closeTime: WhatsAppTimeOfDay | undefined;
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* <p>The operating hours during which a business phone number accepts WhatsApp calls, including the time zone, weekly schedule, and any holiday overrides.</p>
|
|
943
|
+
* @public
|
|
944
|
+
*/
|
|
945
|
+
export interface WhatsAppCallHours {
|
|
946
|
+
/**
|
|
947
|
+
* <p>Specifies whether call hours are enforced. When disabled, the business accepts calls at any time.</p>
|
|
948
|
+
* @public
|
|
949
|
+
*/
|
|
950
|
+
enabled: boolean | undefined;
|
|
951
|
+
/**
|
|
952
|
+
* <p>The IANA time zone in which the operating hours are interpreted, such as <code>America/New_York</code>.</p>
|
|
953
|
+
* @public
|
|
954
|
+
*/
|
|
955
|
+
timezone: string | undefined;
|
|
956
|
+
/**
|
|
957
|
+
* <p>The weekly schedule of hours during which the business accepts calls.</p>
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
weeklyOperatingHours: WhatsAppWeeklyOperatingHoursEntry[] | undefined;
|
|
961
|
+
/**
|
|
962
|
+
* <p>Date-specific overrides to the weekly operating hours, such as holidays.</p>
|
|
963
|
+
* @public
|
|
964
|
+
*/
|
|
965
|
+
holidaySchedule?: WhatsAppHolidayScheduleEntry[] | undefined;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* <p>The calling configuration for a WhatsApp business phone number.</p>
|
|
969
|
+
* @public
|
|
970
|
+
*/
|
|
971
|
+
export interface WhatsAppCallSettings {
|
|
972
|
+
/**
|
|
973
|
+
* <p>Specifies whether calling is enabled for the phone number.</p>
|
|
974
|
+
* @public
|
|
975
|
+
*/
|
|
976
|
+
callEnabled: boolean | undefined;
|
|
977
|
+
/**
|
|
978
|
+
* <p>The hours during which the business accepts calls on the phone number.</p>
|
|
979
|
+
* @public
|
|
980
|
+
*/
|
|
981
|
+
callHours?: WhatsAppCallHours | undefined;
|
|
982
|
+
/**
|
|
983
|
+
* <p>The visibility setting for the call icon shown to end users in WhatsApp.</p>
|
|
984
|
+
* @public
|
|
985
|
+
*/
|
|
986
|
+
callIconVisibility?: string | undefined;
|
|
987
|
+
/**
|
|
988
|
+
* <p>The callback permission status for the phone number.</p>
|
|
989
|
+
* @public
|
|
990
|
+
*/
|
|
991
|
+
callbackPermissionStatus?: string | undefined;
|
|
992
|
+
}
|
|
887
993
|
/**
|
|
888
994
|
* @public
|
|
889
995
|
*/
|
|
@@ -899,13 +1005,18 @@ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberOutput {
|
|
|
899
1005
|
* @public
|
|
900
1006
|
*/
|
|
901
1007
|
linkedWhatsAppBusinessAccountId?: string | undefined;
|
|
1008
|
+
/**
|
|
1009
|
+
* <p>The calling settings configured for the phone number. This value is absent when calling is not configured.</p>
|
|
1010
|
+
* @public
|
|
1011
|
+
*/
|
|
1012
|
+
callSettings?: WhatsAppCallSettings | undefined;
|
|
902
1013
|
}
|
|
903
1014
|
/**
|
|
904
1015
|
* @public
|
|
905
1016
|
*/
|
|
906
1017
|
export interface GetWhatsAppBusinessPublicKeyInput {
|
|
907
1018
|
/**
|
|
908
|
-
* The unique identifier of the phone number whose business public key to retrieve
|
|
1019
|
+
* <p>The unique identifier of the phone number whose business public key to retrieve.</p>
|
|
909
1020
|
* @public
|
|
910
1021
|
*/
|
|
911
1022
|
originationPhoneNumberId: string | undefined;
|
|
@@ -915,16 +1026,114 @@ export interface GetWhatsAppBusinessPublicKeyInput {
|
|
|
915
1026
|
*/
|
|
916
1027
|
export interface GetWhatsAppBusinessPublicKeyOutput {
|
|
917
1028
|
/**
|
|
918
|
-
* The stored RSA
|
|
1029
|
+
* <p>The stored PEM-encoded 2048-bit RSA public key.</p>
|
|
919
1030
|
* @public
|
|
920
1031
|
*/
|
|
921
1032
|
businessPublicKey?: string | undefined;
|
|
922
1033
|
/**
|
|
923
|
-
*
|
|
1034
|
+
* <p>The signature status of the stored business public key. Valid values are VALID and MISMATCH.</p>
|
|
924
1035
|
* @public
|
|
925
1036
|
*/
|
|
926
1037
|
businessPublicKeySignatureStatus?: string | undefined;
|
|
927
1038
|
}
|
|
1039
|
+
/**
|
|
1040
|
+
* @public
|
|
1041
|
+
*/
|
|
1042
|
+
export interface GetWhatsAppCallPermissionInput {
|
|
1043
|
+
/**
|
|
1044
|
+
* <p>The unique identifier of the business phone number for which to retrieve the calling permission. The phone number identifiers are formatted as <code>phone-number-id-01234567890123456789012345678901</code>.</p>
|
|
1045
|
+
* @public
|
|
1046
|
+
*/
|
|
1047
|
+
originationPhoneNumberId: string | undefined;
|
|
1048
|
+
/**
|
|
1049
|
+
* <p>The end user's phone number, in E.164 format, for which to retrieve the calling permission.</p>
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
1052
|
+
destinationPhoneNumber?: string | undefined;
|
|
1053
|
+
/**
|
|
1054
|
+
* <p>The business-scoped user identifier (BSUID) of the end user for which to retrieve the calling permission.</p>
|
|
1055
|
+
* @public
|
|
1056
|
+
*/
|
|
1057
|
+
endUserBsuid?: string | undefined;
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* <p>A time-bound restriction on a calling action, such as the number of calls allowed within a time period.</p>
|
|
1061
|
+
* @public
|
|
1062
|
+
*/
|
|
1063
|
+
export interface WhatsAppCallPermissionLimit {
|
|
1064
|
+
/**
|
|
1065
|
+
* <p>The time period over which the limit applies, as an ISO 8601 duration.</p>
|
|
1066
|
+
* @public
|
|
1067
|
+
*/
|
|
1068
|
+
timePeriod: string | undefined;
|
|
1069
|
+
/**
|
|
1070
|
+
* <p>The maximum number of times the action is allowed within the time period.</p>
|
|
1071
|
+
* @public
|
|
1072
|
+
*/
|
|
1073
|
+
maxAllowed: number | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* <p>The number of times the action has been used within the current time period.</p>
|
|
1076
|
+
* @public
|
|
1077
|
+
*/
|
|
1078
|
+
currentUsage: number | undefined;
|
|
1079
|
+
/**
|
|
1080
|
+
* <p>The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.</p>
|
|
1081
|
+
* @public
|
|
1082
|
+
*/
|
|
1083
|
+
limitExpirationTime?: Date | undefined;
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* <p>Describes a single calling action the business can take with an end user, including whether the action is currently allowed and any limits that apply to it. Returned as an item in the actions list from <code>GetWhatsAppCallPermission</code>.</p>
|
|
1087
|
+
* @public
|
|
1088
|
+
*/
|
|
1089
|
+
export interface WhatsAppCallPermissionAction {
|
|
1090
|
+
/**
|
|
1091
|
+
* <p>The name of the calling action.</p>
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1094
|
+
actionName: string | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* <p>Specifies whether the business can currently perform the action.</p>
|
|
1097
|
+
* @public
|
|
1098
|
+
*/
|
|
1099
|
+
canPerformAction: boolean | undefined;
|
|
1100
|
+
/**
|
|
1101
|
+
* <p>The time-bound limits that apply to the action.</p>
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
1104
|
+
limits: WhatsAppCallPermissionLimit[] | undefined;
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* <p>The current calling permission state for a business phone number and a specific WhatsApp end user.</p>
|
|
1108
|
+
* @public
|
|
1109
|
+
*/
|
|
1110
|
+
export interface WhatsAppCallPermission {
|
|
1111
|
+
/**
|
|
1112
|
+
* <p>The permission status for the end user.</p>
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
status: string | undefined;
|
|
1116
|
+
/**
|
|
1117
|
+
* <p>The time when a temporary permission expires. This value is absent for permanent permissions and when there is no permission.</p>
|
|
1118
|
+
* @public
|
|
1119
|
+
*/
|
|
1120
|
+
expirationTime?: Date | undefined;
|
|
1121
|
+
}
|
|
1122
|
+
/**
|
|
1123
|
+
* @public
|
|
1124
|
+
*/
|
|
1125
|
+
export interface GetWhatsAppCallPermissionOutput {
|
|
1126
|
+
/**
|
|
1127
|
+
* <p>The current calling permission state for the end user.</p>
|
|
1128
|
+
* @public
|
|
1129
|
+
*/
|
|
1130
|
+
permission: WhatsAppCallPermission | undefined;
|
|
1131
|
+
/**
|
|
1132
|
+
* <p>The calling actions the business can take with the end user, and any limits that apply to each action.</p>
|
|
1133
|
+
* @public
|
|
1134
|
+
*/
|
|
1135
|
+
actions: WhatsAppCallPermissionAction[] | undefined;
|
|
1136
|
+
}
|
|
928
1137
|
/**
|
|
929
1138
|
* @public
|
|
930
1139
|
*/
|
|
@@ -1085,7 +1294,7 @@ export interface GetWhatsAppFlowOutput {
|
|
|
1085
1294
|
*/
|
|
1086
1295
|
dataApiVersion?: string | undefined;
|
|
1087
1296
|
/**
|
|
1088
|
-
* <p>The endpoint
|
|
1297
|
+
* <p>The HTTPS endpoint that Meta calls for a data exchange Flow.</p>
|
|
1089
1298
|
* @public
|
|
1090
1299
|
*/
|
|
1091
1300
|
endpointUri?: string | undefined;
|
|
@@ -1766,21 +1975,12 @@ export interface UpdateWhatsAppFlowInput {
|
|
|
1766
1975
|
*/
|
|
1767
1976
|
categories?: MetaFlowCategory[] | undefined;
|
|
1768
1977
|
/**
|
|
1769
|
-
*
|
|
1770
|
-
* Flow's endpoint_uri and called by Meta directly. When omitted, the
|
|
1771
|
-
* Flow's endpoint is unchanged.
|
|
1978
|
+
* <p>The updated HTTPS endpoint for a data exchange Flow.</p>
|
|
1772
1979
|
* @public
|
|
1773
1980
|
*/
|
|
1774
1981
|
endpointUri?: string | undefined;
|
|
1775
1982
|
/**
|
|
1776
|
-
*
|
|
1777
|
-
* requests with the attached app's secret, so attaching your own app is
|
|
1778
|
-
* what enables X-Hub-Signature-256 and flow_token_signature verification
|
|
1779
|
-
* at your endpoint. Meta requires the app to be owned by the same business
|
|
1780
|
-
* that owns the WABA. Attaching your own app is one-way: the service's
|
|
1781
|
-
* app cannot be re-attached afterwards. When omitted, the attached app is
|
|
1782
|
-
* unchanged. (Set via update because Meta ignores application_id at
|
|
1783
|
-
* creation time.)
|
|
1983
|
+
* <p>The ID of the Meta application to attach to the Flow.</p>
|
|
1784
1984
|
* @public
|
|
1785
1985
|
*/
|
|
1786
1986
|
metaAppId?: string | undefined;
|
|
@@ -1908,17 +2108,17 @@ export interface PostWhatsAppMessageMediaOutput {
|
|
|
1908
2108
|
*/
|
|
1909
2109
|
export interface PutWhatsAppBusinessPublicKeyInput {
|
|
1910
2110
|
/**
|
|
1911
|
-
* The unique identifier of the phone number to associate with the business public key
|
|
2111
|
+
* <p>The unique identifier of the phone number to associate with the business public key.</p>
|
|
1912
2112
|
* @public
|
|
1913
2113
|
*/
|
|
1914
2114
|
originationPhoneNumberId: string | undefined;
|
|
1915
2115
|
/**
|
|
1916
|
-
* PEM-encoded RSA public key. Mutually exclusive with kmsKeyArn
|
|
2116
|
+
* <p>The PEM-encoded 2048-bit RSA public key to set. Mutually exclusive with <code>kmsKeyArn</code>.</p>
|
|
1917
2117
|
* @public
|
|
1918
2118
|
*/
|
|
1919
2119
|
businessPublicKey?: string | undefined;
|
|
1920
2120
|
/**
|
|
1921
|
-
*
|
|
2121
|
+
* <p>The ARN of a customer managed asymmetric RSA key in Amazon Web Services KMS. Mutually exclusive with <code>businessPublicKey</code>.</p>
|
|
1922
2122
|
* @public
|
|
1923
2123
|
*/
|
|
1924
2124
|
kmsKeyArn?: string | undefined;
|
|
@@ -1928,6 +2128,36 @@ export interface PutWhatsAppBusinessPublicKeyInput {
|
|
|
1928
2128
|
*/
|
|
1929
2129
|
export interface PutWhatsAppBusinessPublicKeyOutput {
|
|
1930
2130
|
}
|
|
2131
|
+
/**
|
|
2132
|
+
* @public
|
|
2133
|
+
*/
|
|
2134
|
+
export interface SendWhatsAppCallEventInput {
|
|
2135
|
+
/**
|
|
2136
|
+
* <p>The unique identifier of the origination phone number for the call. The phone number identifiers are formatted as <code>phone-number-id-01234567890123456789012345678901</code>. Use <code>GetLinkedWhatsAppBusinessAccount</code> to find a phone number's ID.</p>
|
|
2137
|
+
* @public
|
|
2138
|
+
*/
|
|
2139
|
+
originationPhoneNumberId: string | undefined;
|
|
2140
|
+
/**
|
|
2141
|
+
* <p>The version of the Meta Graph API to use for the request.</p>
|
|
2142
|
+
* @public
|
|
2143
|
+
*/
|
|
2144
|
+
metaApiVersion: string | undefined;
|
|
2145
|
+
/**
|
|
2146
|
+
* <p>The call event payload to send, as a JSON blob in the format defined by the Meta calling API.</p>
|
|
2147
|
+
* @public
|
|
2148
|
+
*/
|
|
2149
|
+
callEvent: Uint8Array | undefined;
|
|
2150
|
+
}
|
|
2151
|
+
/**
|
|
2152
|
+
* @public
|
|
2153
|
+
*/
|
|
2154
|
+
export interface SendWhatsAppCallEventOutput {
|
|
2155
|
+
/**
|
|
2156
|
+
* <p>The unique identifier that Meta assigns to the call.</p>
|
|
2157
|
+
* @public
|
|
2158
|
+
*/
|
|
2159
|
+
callId: string | undefined;
|
|
2160
|
+
}
|
|
1931
2161
|
/**
|
|
1932
2162
|
* @public
|
|
1933
2163
|
*/
|
|
@@ -1966,6 +2196,31 @@ export interface SendWhatsAppMessageOutput {
|
|
|
1966
2196
|
*/
|
|
1967
2197
|
messageId?: string | undefined;
|
|
1968
2198
|
}
|
|
2199
|
+
/**
|
|
2200
|
+
* @public
|
|
2201
|
+
*/
|
|
2202
|
+
export interface UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput {
|
|
2203
|
+
/**
|
|
2204
|
+
* <p>The unique identifier of the phone number to update. The phone number identifiers are formatted as <code>phone-number-id-01234567890123456789012345678901</code>.</p>
|
|
2205
|
+
* @public
|
|
2206
|
+
*/
|
|
2207
|
+
id: string | undefined;
|
|
2208
|
+
/**
|
|
2209
|
+
* <p>The calling settings to apply to the phone number.</p>
|
|
2210
|
+
* @public
|
|
2211
|
+
*/
|
|
2212
|
+
callSettings: WhatsAppCallSettings | undefined;
|
|
2213
|
+
}
|
|
2214
|
+
/**
|
|
2215
|
+
* @public
|
|
2216
|
+
*/
|
|
2217
|
+
export interface UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput {
|
|
2218
|
+
/**
|
|
2219
|
+
* <p>The unique identifier of the phone number that was updated.</p>
|
|
2220
|
+
* @public
|
|
2221
|
+
*/
|
|
2222
|
+
phoneNumberId: string | undefined;
|
|
2223
|
+
}
|
|
1969
2224
|
/**
|
|
1970
2225
|
* @public
|
|
1971
2226
|
*/
|
|
@@ -3,6 +3,7 @@ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema }
|
|
|
3
3
|
export declare var SocialMessagingServiceException$: StaticErrorSchema;
|
|
4
4
|
export declare var AccessDeniedByMetaException$: StaticErrorSchema;
|
|
5
5
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
6
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
6
7
|
export declare var DependencyException$: StaticErrorSchema;
|
|
7
8
|
export declare var InternalServiceException$: StaticErrorSchema;
|
|
8
9
|
export declare var InvalidParametersException$: StaticErrorSchema;
|
|
@@ -44,6 +45,8 @@ export declare var GetLinkedWhatsAppBusinessAccountPhoneNumberInput$: StaticStru
|
|
|
44
45
|
export declare var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput$: StaticStructureSchema;
|
|
45
46
|
export declare var GetWhatsAppBusinessPublicKeyInput$: StaticStructureSchema;
|
|
46
47
|
export declare var GetWhatsAppBusinessPublicKeyOutput$: StaticStructureSchema;
|
|
48
|
+
export declare var GetWhatsAppCallPermissionInput$: StaticStructureSchema;
|
|
49
|
+
export declare var GetWhatsAppCallPermissionOutput$: StaticStructureSchema;
|
|
47
50
|
export declare var GetWhatsAppFlowInput$: StaticStructureSchema;
|
|
48
51
|
export declare var GetWhatsAppFlowOutput$: StaticStructureSchema;
|
|
49
52
|
export declare var GetWhatsAppFlowPreviewInput$: StaticStructureSchema;
|
|
@@ -89,6 +92,8 @@ export declare var PutWhatsAppBusinessPublicKeyInput$: StaticStructureSchema;
|
|
|
89
92
|
export declare var PutWhatsAppBusinessPublicKeyOutput$: StaticStructureSchema;
|
|
90
93
|
export declare var S3File$: StaticStructureSchema;
|
|
91
94
|
export declare var S3PresignedUrl$: StaticStructureSchema;
|
|
95
|
+
export declare var SendWhatsAppCallEventInput$: StaticStructureSchema;
|
|
96
|
+
export declare var SendWhatsAppCallEventOutput$: StaticStructureSchema;
|
|
92
97
|
export declare var SendWhatsAppConversionEventInput$: StaticStructureSchema;
|
|
93
98
|
export declare var SendWhatsAppConversionEventOutput$: StaticStructureSchema;
|
|
94
99
|
export declare var SendWhatsAppMessageInput$: StaticStructureSchema;
|
|
@@ -99,6 +104,8 @@ export declare var TagResourceOutput$: StaticStructureSchema;
|
|
|
99
104
|
export declare var TemplateSummary$: StaticStructureSchema;
|
|
100
105
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
101
106
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
107
|
+
export declare var UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput$: StaticStructureSchema;
|
|
108
|
+
export declare var UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput$: StaticStructureSchema;
|
|
102
109
|
export declare var UpdateWhatsAppFlowAssetsInput$: StaticStructureSchema;
|
|
103
110
|
export declare var UpdateWhatsAppFlowAssetsOutput$: StaticStructureSchema;
|
|
104
111
|
export declare var UpdateWhatsAppFlowInput$: StaticStructureSchema;
|
|
@@ -108,11 +115,19 @@ export declare var UpdateWhatsAppMessageTemplateOutput$: StaticStructureSchema;
|
|
|
108
115
|
export declare var WabaPhoneNumberSetupFinalization$: StaticStructureSchema;
|
|
109
116
|
export declare var WabaSetupFinalization$: StaticStructureSchema;
|
|
110
117
|
export declare var WhatsAppBusinessAccountEventDestination$: StaticStructureSchema;
|
|
118
|
+
export declare var WhatsAppCallHours$: StaticStructureSchema;
|
|
119
|
+
export declare var WhatsAppCallPermission$: StaticStructureSchema;
|
|
120
|
+
export declare var WhatsAppCallPermissionAction$: StaticStructureSchema;
|
|
121
|
+
export declare var WhatsAppCallPermissionLimit$: StaticStructureSchema;
|
|
122
|
+
export declare var WhatsAppCallSettings$: StaticStructureSchema;
|
|
123
|
+
export declare var WhatsAppHolidayScheduleEntry$: StaticStructureSchema;
|
|
111
124
|
export declare var WhatsAppPhoneNumberDetail$: StaticStructureSchema;
|
|
112
125
|
export declare var WhatsAppPhoneNumberSummary$: StaticStructureSchema;
|
|
113
126
|
export declare var WhatsAppSetupFinalization$: StaticStructureSchema;
|
|
114
127
|
export declare var WhatsAppSignupCallback$: StaticStructureSchema;
|
|
115
128
|
export declare var WhatsAppSignupCallbackResult$: StaticStructureSchema;
|
|
129
|
+
export declare var WhatsAppTimeOfDay$: StaticStructureSchema;
|
|
130
|
+
export declare var WhatsAppWeeklyOperatingHoursEntry$: StaticStructureSchema;
|
|
116
131
|
export declare var AssociateWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
117
132
|
export declare var CreateWhatsAppDataset$: StaticOperationSchema;
|
|
118
133
|
export declare var CreateWhatsAppFlow$: StaticOperationSchema;
|
|
@@ -127,6 +142,7 @@ export declare var DisassociateWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
|
127
142
|
export declare var GetLinkedWhatsAppBusinessAccount$: StaticOperationSchema;
|
|
128
143
|
export declare var GetLinkedWhatsAppBusinessAccountPhoneNumber$: StaticOperationSchema;
|
|
129
144
|
export declare var GetWhatsAppBusinessPublicKey$: StaticOperationSchema;
|
|
145
|
+
export declare var GetWhatsAppCallPermission$: StaticOperationSchema;
|
|
130
146
|
export declare var GetWhatsAppFlow$: StaticOperationSchema;
|
|
131
147
|
export declare var GetWhatsAppFlowPreview$: StaticOperationSchema;
|
|
132
148
|
export declare var GetWhatsAppMessageMedia$: StaticOperationSchema;
|
|
@@ -141,10 +157,12 @@ export declare var PostWhatsAppMessageMedia$: StaticOperationSchema;
|
|
|
141
157
|
export declare var PublishWhatsAppFlow$: StaticOperationSchema;
|
|
142
158
|
export declare var PutWhatsAppBusinessAccountEventDestinations$: StaticOperationSchema;
|
|
143
159
|
export declare var PutWhatsAppBusinessPublicKey$: StaticOperationSchema;
|
|
160
|
+
export declare var SendWhatsAppCallEvent$: StaticOperationSchema;
|
|
144
161
|
export declare var SendWhatsAppConversionEvent$: StaticOperationSchema;
|
|
145
162
|
export declare var SendWhatsAppMessage$: StaticOperationSchema;
|
|
146
163
|
export declare var TagResource$: StaticOperationSchema;
|
|
147
164
|
export declare var UntagResource$: StaticOperationSchema;
|
|
165
|
+
export declare var UpdateLinkedWhatsAppBusinessAccountPhoneNumber$: StaticOperationSchema;
|
|
148
166
|
export declare var UpdateWhatsAppFlow$: StaticOperationSchema;
|
|
149
167
|
export declare var UpdateWhatsAppFlowAssets$: StaticOperationSchema;
|
|
150
168
|
export declare var UpdateWhatsAppMessageTemplate$: StaticOperationSchema;
|
|
@@ -59,6 +59,10 @@ import {
|
|
|
59
59
|
GetWhatsAppBusinessPublicKeyCommandInput,
|
|
60
60
|
GetWhatsAppBusinessPublicKeyCommandOutput,
|
|
61
61
|
} from "./commands/GetWhatsAppBusinessPublicKeyCommand";
|
|
62
|
+
import {
|
|
63
|
+
GetWhatsAppCallPermissionCommandInput,
|
|
64
|
+
GetWhatsAppCallPermissionCommandOutput,
|
|
65
|
+
} from "./commands/GetWhatsAppCallPermissionCommand";
|
|
62
66
|
import {
|
|
63
67
|
GetWhatsAppFlowCommandInput,
|
|
64
68
|
GetWhatsAppFlowCommandOutput,
|
|
@@ -115,6 +119,10 @@ import {
|
|
|
115
119
|
PutWhatsAppBusinessPublicKeyCommandInput,
|
|
116
120
|
PutWhatsAppBusinessPublicKeyCommandOutput,
|
|
117
121
|
} from "./commands/PutWhatsAppBusinessPublicKeyCommand";
|
|
122
|
+
import {
|
|
123
|
+
SendWhatsAppCallEventCommandInput,
|
|
124
|
+
SendWhatsAppCallEventCommandOutput,
|
|
125
|
+
} from "./commands/SendWhatsAppCallEventCommand";
|
|
118
126
|
import {
|
|
119
127
|
SendWhatsAppConversionEventCommandInput,
|
|
120
128
|
SendWhatsAppConversionEventCommandOutput,
|
|
@@ -128,6 +136,10 @@ import {
|
|
|
128
136
|
UntagResourceCommandInput,
|
|
129
137
|
UntagResourceCommandOutput,
|
|
130
138
|
} from "./commands/UntagResourceCommand";
|
|
139
|
+
import {
|
|
140
|
+
UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
|
|
141
|
+
UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
|
|
142
|
+
} from "./commands/UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
131
143
|
import {
|
|
132
144
|
UpdateWhatsAppFlowAssetsCommandInput,
|
|
133
145
|
UpdateWhatsAppFlowAssetsCommandOutput,
|
|
@@ -325,6 +337,19 @@ export interface SocialMessaging {
|
|
|
325
337
|
options: __HttpHandlerOptions,
|
|
326
338
|
cb: (err: any, data?: GetWhatsAppBusinessPublicKeyCommandOutput) => void,
|
|
327
339
|
): void;
|
|
340
|
+
getWhatsAppCallPermission(
|
|
341
|
+
args: GetWhatsAppCallPermissionCommandInput,
|
|
342
|
+
options?: __HttpHandlerOptions,
|
|
343
|
+
): Promise<GetWhatsAppCallPermissionCommandOutput>;
|
|
344
|
+
getWhatsAppCallPermission(
|
|
345
|
+
args: GetWhatsAppCallPermissionCommandInput,
|
|
346
|
+
cb: (err: any, data?: GetWhatsAppCallPermissionCommandOutput) => void,
|
|
347
|
+
): void;
|
|
348
|
+
getWhatsAppCallPermission(
|
|
349
|
+
args: GetWhatsAppCallPermissionCommandInput,
|
|
350
|
+
options: __HttpHandlerOptions,
|
|
351
|
+
cb: (err: any, data?: GetWhatsAppCallPermissionCommandOutput) => void,
|
|
352
|
+
): void;
|
|
328
353
|
getWhatsAppFlow(
|
|
329
354
|
args: GetWhatsAppFlowCommandInput,
|
|
330
355
|
options?: __HttpHandlerOptions,
|
|
@@ -508,6 +533,19 @@ export interface SocialMessaging {
|
|
|
508
533
|
options: __HttpHandlerOptions,
|
|
509
534
|
cb: (err: any, data?: PutWhatsAppBusinessPublicKeyCommandOutput) => void,
|
|
510
535
|
): void;
|
|
536
|
+
sendWhatsAppCallEvent(
|
|
537
|
+
args: SendWhatsAppCallEventCommandInput,
|
|
538
|
+
options?: __HttpHandlerOptions,
|
|
539
|
+
): Promise<SendWhatsAppCallEventCommandOutput>;
|
|
540
|
+
sendWhatsAppCallEvent(
|
|
541
|
+
args: SendWhatsAppCallEventCommandInput,
|
|
542
|
+
cb: (err: any, data?: SendWhatsAppCallEventCommandOutput) => void,
|
|
543
|
+
): void;
|
|
544
|
+
sendWhatsAppCallEvent(
|
|
545
|
+
args: SendWhatsAppCallEventCommandInput,
|
|
546
|
+
options: __HttpHandlerOptions,
|
|
547
|
+
cb: (err: any, data?: SendWhatsAppCallEventCommandOutput) => void,
|
|
548
|
+
): void;
|
|
511
549
|
sendWhatsAppConversionEvent(
|
|
512
550
|
args: SendWhatsAppConversionEventCommandInput,
|
|
513
551
|
options?: __HttpHandlerOptions,
|
|
@@ -560,6 +598,19 @@ export interface SocialMessaging {
|
|
|
560
598
|
options: __HttpHandlerOptions,
|
|
561
599
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
562
600
|
): void;
|
|
601
|
+
updateLinkedWhatsAppBusinessAccountPhoneNumber(
|
|
602
|
+
args: UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
|
|
603
|
+
options?: __HttpHandlerOptions,
|
|
604
|
+
): Promise<UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput>;
|
|
605
|
+
updateLinkedWhatsAppBusinessAccountPhoneNumber(
|
|
606
|
+
args: UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
|
|
607
|
+
cb: (err: any, data?: UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput) => void,
|
|
608
|
+
): void;
|
|
609
|
+
updateLinkedWhatsAppBusinessAccountPhoneNumber(
|
|
610
|
+
args: UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
|
|
611
|
+
options: __HttpHandlerOptions,
|
|
612
|
+
cb: (err: any, data?: UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput) => void,
|
|
613
|
+
): void;
|
|
563
614
|
updateWhatsAppFlow(
|
|
564
615
|
args: UpdateWhatsAppFlowCommandInput,
|
|
565
616
|
options?: __HttpHandlerOptions,
|
|
@@ -89,6 +89,10 @@ import {
|
|
|
89
89
|
GetWhatsAppBusinessPublicKeyCommandInput,
|
|
90
90
|
GetWhatsAppBusinessPublicKeyCommandOutput,
|
|
91
91
|
} from "./commands/GetWhatsAppBusinessPublicKeyCommand";
|
|
92
|
+
import {
|
|
93
|
+
GetWhatsAppCallPermissionCommandInput,
|
|
94
|
+
GetWhatsAppCallPermissionCommandOutput,
|
|
95
|
+
} from "./commands/GetWhatsAppCallPermissionCommand";
|
|
92
96
|
import {
|
|
93
97
|
GetWhatsAppFlowCommandInput,
|
|
94
98
|
GetWhatsAppFlowCommandOutput,
|
|
@@ -145,6 +149,10 @@ import {
|
|
|
145
149
|
PutWhatsAppBusinessPublicKeyCommandInput,
|
|
146
150
|
PutWhatsAppBusinessPublicKeyCommandOutput,
|
|
147
151
|
} from "./commands/PutWhatsAppBusinessPublicKeyCommand";
|
|
152
|
+
import {
|
|
153
|
+
SendWhatsAppCallEventCommandInput,
|
|
154
|
+
SendWhatsAppCallEventCommandOutput,
|
|
155
|
+
} from "./commands/SendWhatsAppCallEventCommand";
|
|
148
156
|
import {
|
|
149
157
|
SendWhatsAppConversionEventCommandInput,
|
|
150
158
|
SendWhatsAppConversionEventCommandOutput,
|
|
@@ -158,6 +166,10 @@ import {
|
|
|
158
166
|
UntagResourceCommandInput,
|
|
159
167
|
UntagResourceCommandOutput,
|
|
160
168
|
} from "./commands/UntagResourceCommand";
|
|
169
|
+
import {
|
|
170
|
+
UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandInput,
|
|
171
|
+
UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput,
|
|
172
|
+
} from "./commands/UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
161
173
|
import {
|
|
162
174
|
UpdateWhatsAppFlowAssetsCommandInput,
|
|
163
175
|
UpdateWhatsAppFlowAssetsCommandOutput,
|
|
@@ -192,6 +204,7 @@ export type ServiceInputTypes =
|
|
|
192
204
|
| GetLinkedWhatsAppBusinessAccountCommandInput
|
|
193
205
|
| GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
|
|
194
206
|
| GetWhatsAppBusinessPublicKeyCommandInput
|
|
207
|
+
| GetWhatsAppCallPermissionCommandInput
|
|
195
208
|
| GetWhatsAppFlowCommandInput
|
|
196
209
|
| GetWhatsAppFlowPreviewCommandInput
|
|
197
210
|
| GetWhatsAppMessageMediaCommandInput
|
|
@@ -206,10 +219,12 @@ export type ServiceInputTypes =
|
|
|
206
219
|
| PublishWhatsAppFlowCommandInput
|
|
207
220
|
| PutWhatsAppBusinessAccountEventDestinationsCommandInput
|
|
208
221
|
| PutWhatsAppBusinessPublicKeyCommandInput
|
|
222
|
+
| SendWhatsAppCallEventCommandInput
|
|
209
223
|
| SendWhatsAppConversionEventCommandInput
|
|
210
224
|
| SendWhatsAppMessageCommandInput
|
|
211
225
|
| TagResourceCommandInput
|
|
212
226
|
| UntagResourceCommandInput
|
|
227
|
+
| UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandInput
|
|
213
228
|
| UpdateWhatsAppFlowAssetsCommandInput
|
|
214
229
|
| UpdateWhatsAppFlowCommandInput
|
|
215
230
|
| UpdateWhatsAppMessageTemplateCommandInput;
|
|
@@ -228,6 +243,7 @@ export type ServiceOutputTypes =
|
|
|
228
243
|
| GetLinkedWhatsAppBusinessAccountCommandOutput
|
|
229
244
|
| GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
|
|
230
245
|
| GetWhatsAppBusinessPublicKeyCommandOutput
|
|
246
|
+
| GetWhatsAppCallPermissionCommandOutput
|
|
231
247
|
| GetWhatsAppFlowCommandOutput
|
|
232
248
|
| GetWhatsAppFlowPreviewCommandOutput
|
|
233
249
|
| GetWhatsAppMessageMediaCommandOutput
|
|
@@ -242,10 +258,12 @@ export type ServiceOutputTypes =
|
|
|
242
258
|
| PublishWhatsAppFlowCommandOutput
|
|
243
259
|
| PutWhatsAppBusinessAccountEventDestinationsCommandOutput
|
|
244
260
|
| PutWhatsAppBusinessPublicKeyCommandOutput
|
|
261
|
+
| SendWhatsAppCallEventCommandOutput
|
|
245
262
|
| SendWhatsAppConversionEventCommandOutput
|
|
246
263
|
| SendWhatsAppMessageCommandOutput
|
|
247
264
|
| TagResourceCommandOutput
|
|
248
265
|
| UntagResourceCommandOutput
|
|
266
|
+
| UpdateLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput
|
|
249
267
|
| UpdateWhatsAppFlowAssetsCommandOutput
|
|
250
268
|
| UpdateWhatsAppFlowCommandOutput
|
|
251
269
|
| UpdateWhatsAppMessageTemplateCommandOutput;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetWhatsAppCallPermissionInput,
|
|
4
|
+
GetWhatsAppCallPermissionOutput,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface GetWhatsAppCallPermissionCommandInput extends GetWhatsAppCallPermissionInput {}
|
|
8
|
+
export interface GetWhatsAppCallPermissionCommandOutput
|
|
9
|
+
extends GetWhatsAppCallPermissionOutput, __MetadataBearer {}
|
|
10
|
+
declare const GetWhatsAppCallPermissionCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: GetWhatsAppCallPermissionCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
GetWhatsAppCallPermissionCommandInput,
|
|
15
|
+
GetWhatsAppCallPermissionCommandOutput,
|
|
16
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: GetWhatsAppCallPermissionCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
GetWhatsAppCallPermissionCommandInput,
|
|
24
|
+
GetWhatsAppCallPermissionCommandOutput,
|
|
25
|
+
import("..").SocialMessagingClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class GetWhatsAppCallPermissionCommand extends GetWhatsAppCallPermissionCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: GetWhatsAppCallPermissionInput;
|
|
35
|
+
output: GetWhatsAppCallPermissionOutput;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: GetWhatsAppCallPermissionCommandInput;
|
|
39
|
+
output: GetWhatsAppCallPermissionCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|