@aws-sdk/client-socialmessaging 3.1060.0 → 3.1061.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 +77 -7
- package/dist-cjs/index.js +160 -0
- package/dist-cjs/schemas/schemas_0.js +262 -14
- package/dist-es/SocialMessaging.js +24 -0
- package/dist-es/commands/CreateWhatsAppFlowCommand.js +16 -0
- package/dist-es/commands/DeleteWhatsAppFlowCommand.js +16 -0
- package/dist-es/commands/DeprecateWhatsAppFlowCommand.js +16 -0
- package/dist-es/commands/GetWhatsAppFlowCommand.js +16 -0
- package/dist-es/commands/GetWhatsAppFlowPreviewCommand.js +16 -0
- package/dist-es/commands/ListWhatsAppFlowAssetsCommand.js +16 -0
- package/dist-es/commands/ListWhatsAppFlowsCommand.js +16 -0
- package/dist-es/commands/PublishWhatsAppFlowCommand.js +16 -0
- package/dist-es/commands/UpdateWhatsAppFlowAssetsCommand.js +16 -0
- package/dist-es/commands/UpdateWhatsAppFlowCommand.js +16 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/pagination/ListWhatsAppFlowAssetsPaginator.js +4 -0
- package/dist-es/pagination/ListWhatsAppFlowsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +259 -12
- package/dist-types/SocialMessaging.d.ts +84 -0
- package/dist-types/SocialMessagingClient.d.ts +12 -2
- package/dist-types/commands/CreateWhatsAppFlowCommand.d.ts +113 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +3 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +3 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +3 -0
- package/dist-types/commands/DeleteWhatsAppFlowCommand.d.ts +100 -0
- package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeprecateWhatsAppFlowCommand.d.ts +100 -0
- package/dist-types/commands/GetWhatsAppFlowCommand.d.ts +139 -0
- package/dist-types/commands/GetWhatsAppFlowPreviewCommand.d.ts +107 -0
- package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +3 -0
- package/dist-types/commands/ListWhatsAppFlowAssetsCommand.d.ts +111 -0
- package/dist-types/commands/ListWhatsAppFlowsCommand.d.ts +116 -0
- package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +3 -0
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +3 -0
- package/dist-types/commands/PublishWhatsAppFlowCommand.d.ts +100 -0
- package/dist-types/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +105 -0
- package/dist-types/commands/UpdateWhatsAppFlowCommand.d.ts +104 -0
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/enums.d.ts +19 -0
- package/dist-types/models/models_0.d.ts +518 -1
- package/dist-types/pagination/ListWhatsAppFlowAssetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWhatsAppFlowsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/SocialMessaging.d.ts +184 -0
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateWhatsAppFlowCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteWhatsAppFlowCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeprecateWhatsAppFlowCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetWhatsAppFlowCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/GetWhatsAppFlowPreviewCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListWhatsAppFlowAssetsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListWhatsAppFlowsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/PublishWhatsAppFlowCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateWhatsAppFlowCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +126 -1
- package/dist-types/ts3.4/pagination/ListWhatsAppFlowAssetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWhatsAppFlowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetWhatsAppFlowPreviewInput,
|
|
5
|
+
GetWhatsAppFlowPreviewOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SocialMessagingClientResolvedConfig,
|
|
11
|
+
} from "../SocialMessagingClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetWhatsAppFlowPreviewCommandInput
|
|
15
|
+
extends GetWhatsAppFlowPreviewInput {}
|
|
16
|
+
export interface GetWhatsAppFlowPreviewCommandOutput
|
|
17
|
+
extends GetWhatsAppFlowPreviewOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetWhatsAppFlowPreviewCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetWhatsAppFlowPreviewCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
GetWhatsAppFlowPreviewCommandInput,
|
|
24
|
+
GetWhatsAppFlowPreviewCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetWhatsAppFlowPreviewCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
GetWhatsAppFlowPreviewCommandInput,
|
|
33
|
+
GetWhatsAppFlowPreviewCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class GetWhatsAppFlowPreviewCommand extends GetWhatsAppFlowPreviewCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: GetWhatsAppFlowPreviewInput;
|
|
46
|
+
output: GetWhatsAppFlowPreviewOutput;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: GetWhatsAppFlowPreviewCommandInput;
|
|
50
|
+
output: GetWhatsAppFlowPreviewCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListWhatsAppFlowAssetsInput,
|
|
5
|
+
ListWhatsAppFlowAssetsOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SocialMessagingClientResolvedConfig,
|
|
11
|
+
} from "../SocialMessagingClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListWhatsAppFlowAssetsCommandInput
|
|
15
|
+
extends ListWhatsAppFlowAssetsInput {}
|
|
16
|
+
export interface ListWhatsAppFlowAssetsCommandOutput
|
|
17
|
+
extends ListWhatsAppFlowAssetsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListWhatsAppFlowAssetsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListWhatsAppFlowAssetsCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListWhatsAppFlowAssetsCommandInput,
|
|
24
|
+
ListWhatsAppFlowAssetsCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListWhatsAppFlowAssetsCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
ListWhatsAppFlowAssetsCommandInput,
|
|
33
|
+
ListWhatsAppFlowAssetsCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class ListWhatsAppFlowAssetsCommand extends ListWhatsAppFlowAssetsCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: ListWhatsAppFlowAssetsInput;
|
|
46
|
+
output: ListWhatsAppFlowAssetsOutput;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: ListWhatsAppFlowAssetsCommandInput;
|
|
50
|
+
output: ListWhatsAppFlowAssetsCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListWhatsAppFlowsInput,
|
|
5
|
+
ListWhatsAppFlowsOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SocialMessagingClientResolvedConfig,
|
|
11
|
+
} from "../SocialMessagingClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListWhatsAppFlowsCommandInput extends ListWhatsAppFlowsInput {}
|
|
15
|
+
export interface ListWhatsAppFlowsCommandOutput
|
|
16
|
+
extends ListWhatsAppFlowsOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListWhatsAppFlowsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListWhatsAppFlowsCommandInput
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
|
+
ListWhatsAppFlowsCommandInput,
|
|
23
|
+
ListWhatsAppFlowsCommandOutput,
|
|
24
|
+
SocialMessagingClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: ListWhatsAppFlowsCommandInput
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
|
+
ListWhatsAppFlowsCommandInput,
|
|
32
|
+
ListWhatsAppFlowsCommandOutput,
|
|
33
|
+
SocialMessagingClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare class ListWhatsAppFlowsCommand extends ListWhatsAppFlowsCommand_base {
|
|
42
|
+
protected static __types: {
|
|
43
|
+
api: {
|
|
44
|
+
input: ListWhatsAppFlowsInput;
|
|
45
|
+
output: ListWhatsAppFlowsOutput;
|
|
46
|
+
};
|
|
47
|
+
sdk: {
|
|
48
|
+
input: ListWhatsAppFlowsCommandInput;
|
|
49
|
+
output: ListWhatsAppFlowsCommandOutput;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
PublishWhatsAppFlowInput,
|
|
5
|
+
PublishWhatsAppFlowOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SocialMessagingClientResolvedConfig,
|
|
11
|
+
} from "../SocialMessagingClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PublishWhatsAppFlowCommandInput
|
|
15
|
+
extends PublishWhatsAppFlowInput {}
|
|
16
|
+
export interface PublishWhatsAppFlowCommandOutput
|
|
17
|
+
extends PublishWhatsAppFlowOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PublishWhatsAppFlowCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PublishWhatsAppFlowCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
PublishWhatsAppFlowCommandInput,
|
|
24
|
+
PublishWhatsAppFlowCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: PublishWhatsAppFlowCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
PublishWhatsAppFlowCommandInput,
|
|
33
|
+
PublishWhatsAppFlowCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class PublishWhatsAppFlowCommand extends PublishWhatsAppFlowCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: PublishWhatsAppFlowInput;
|
|
46
|
+
output: {};
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: PublishWhatsAppFlowCommandInput;
|
|
50
|
+
output: PublishWhatsAppFlowCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateWhatsAppFlowAssetsInput,
|
|
5
|
+
UpdateWhatsAppFlowAssetsOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SocialMessagingClientResolvedConfig,
|
|
11
|
+
} from "../SocialMessagingClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateWhatsAppFlowAssetsCommandInput
|
|
15
|
+
extends UpdateWhatsAppFlowAssetsInput {}
|
|
16
|
+
export interface UpdateWhatsAppFlowAssetsCommandOutput
|
|
17
|
+
extends UpdateWhatsAppFlowAssetsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateWhatsAppFlowAssetsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateWhatsAppFlowAssetsCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
UpdateWhatsAppFlowAssetsCommandInput,
|
|
24
|
+
UpdateWhatsAppFlowAssetsCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateWhatsAppFlowAssetsCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
UpdateWhatsAppFlowAssetsCommandInput,
|
|
33
|
+
UpdateWhatsAppFlowAssetsCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class UpdateWhatsAppFlowAssetsCommand extends UpdateWhatsAppFlowAssetsCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: UpdateWhatsAppFlowAssetsInput;
|
|
46
|
+
output: UpdateWhatsAppFlowAssetsOutput;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: UpdateWhatsAppFlowAssetsCommandInput;
|
|
50
|
+
output: UpdateWhatsAppFlowAssetsCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateWhatsAppFlowInput,
|
|
5
|
+
UpdateWhatsAppFlowOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SocialMessagingClientResolvedConfig,
|
|
11
|
+
} from "../SocialMessagingClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateWhatsAppFlowCommandInput
|
|
15
|
+
extends UpdateWhatsAppFlowInput {}
|
|
16
|
+
export interface UpdateWhatsAppFlowCommandOutput
|
|
17
|
+
extends UpdateWhatsAppFlowOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateWhatsAppFlowCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateWhatsAppFlowCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
UpdateWhatsAppFlowCommandInput,
|
|
24
|
+
UpdateWhatsAppFlowCommandOutput,
|
|
25
|
+
SocialMessagingClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateWhatsAppFlowCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
UpdateWhatsAppFlowCommandInput,
|
|
33
|
+
UpdateWhatsAppFlowCommandOutput,
|
|
34
|
+
SocialMessagingClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class UpdateWhatsAppFlowCommand extends UpdateWhatsAppFlowCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: UpdateWhatsAppFlowInput;
|
|
46
|
+
output: {};
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: UpdateWhatsAppFlowCommandInput;
|
|
50
|
+
output: UpdateWhatsAppFlowCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
export * from "./AssociateWhatsAppBusinessAccountCommand";
|
|
2
|
+
export * from "./CreateWhatsAppFlowCommand";
|
|
2
3
|
export * from "./CreateWhatsAppMessageTemplateCommand";
|
|
3
4
|
export * from "./CreateWhatsAppMessageTemplateFromLibraryCommand";
|
|
4
5
|
export * from "./CreateWhatsAppMessageTemplateMediaCommand";
|
|
6
|
+
export * from "./DeleteWhatsAppFlowCommand";
|
|
5
7
|
export * from "./DeleteWhatsAppMessageMediaCommand";
|
|
6
8
|
export * from "./DeleteWhatsAppMessageTemplateCommand";
|
|
9
|
+
export * from "./DeprecateWhatsAppFlowCommand";
|
|
7
10
|
export * from "./DisassociateWhatsAppBusinessAccountCommand";
|
|
8
11
|
export * from "./GetLinkedWhatsAppBusinessAccountCommand";
|
|
9
12
|
export * from "./GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
13
|
+
export * from "./GetWhatsAppFlowCommand";
|
|
14
|
+
export * from "./GetWhatsAppFlowPreviewCommand";
|
|
10
15
|
export * from "./GetWhatsAppMessageMediaCommand";
|
|
11
16
|
export * from "./GetWhatsAppMessageTemplateCommand";
|
|
12
17
|
export * from "./ListLinkedWhatsAppBusinessAccountsCommand";
|
|
13
18
|
export * from "./ListTagsForResourceCommand";
|
|
19
|
+
export * from "./ListWhatsAppFlowAssetsCommand";
|
|
20
|
+
export * from "./ListWhatsAppFlowsCommand";
|
|
14
21
|
export * from "./ListWhatsAppMessageTemplatesCommand";
|
|
15
22
|
export * from "./ListWhatsAppTemplateLibraryCommand";
|
|
16
23
|
export * from "./PostWhatsAppMessageMediaCommand";
|
|
24
|
+
export * from "./PublishWhatsAppFlowCommand";
|
|
17
25
|
export * from "./PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
18
26
|
export * from "./SendWhatsAppMessageCommand";
|
|
19
27
|
export * from "./TagResourceCommand";
|
|
20
28
|
export * from "./UntagResourceCommand";
|
|
29
|
+
export * from "./UpdateWhatsAppFlowAssetsCommand";
|
|
30
|
+
export * from "./UpdateWhatsAppFlowCommand";
|
|
21
31
|
export * from "./UpdateWhatsAppMessageTemplateCommand";
|
|
@@ -4,3 +4,16 @@ export declare const RegistrationStatus: {
|
|
|
4
4
|
};
|
|
5
5
|
export type RegistrationStatus =
|
|
6
6
|
(typeof RegistrationStatus)[keyof typeof RegistrationStatus];
|
|
7
|
+
export declare const MetaFlowCategory: {
|
|
8
|
+
readonly APPOINTMENT_BOOKING: "APPOINTMENT_BOOKING";
|
|
9
|
+
readonly CONTACT_US: "CONTACT_US";
|
|
10
|
+
readonly CUSTOMER_SUPPORT: "CUSTOMER_SUPPORT";
|
|
11
|
+
readonly LEAD_GENERATION: "LEAD_GENERATION";
|
|
12
|
+
readonly OTHER: "OTHER";
|
|
13
|
+
readonly SHOPPING: "SHOPPING";
|
|
14
|
+
readonly SIGN_IN: "SIGN_IN";
|
|
15
|
+
readonly SIGN_UP: "SIGN_UP";
|
|
16
|
+
readonly SURVEY: "SURVEY";
|
|
17
|
+
};
|
|
18
|
+
export type MetaFlowCategory =
|
|
19
|
+
(typeof MetaFlowCategory)[keyof typeof MetaFlowCategory];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RegistrationStatus } from "./enums";
|
|
1
|
+
import { MetaFlowCategory, RegistrationStatus } from "./enums";
|
|
2
2
|
export interface Tag {
|
|
3
3
|
key: string | undefined;
|
|
4
4
|
value?: string | undefined;
|
|
@@ -59,6 +59,18 @@ export interface AssociateWhatsAppBusinessAccountOutput {
|
|
|
59
59
|
statusCode?: number | undefined;
|
|
60
60
|
linkedWhatsAppBusinessAccountId?: string | undefined;
|
|
61
61
|
}
|
|
62
|
+
export interface CreateWhatsAppFlowInput {
|
|
63
|
+
id: string | undefined;
|
|
64
|
+
flowName: string | undefined;
|
|
65
|
+
categories: MetaFlowCategory[] | undefined;
|
|
66
|
+
flowJson?: Uint8Array | undefined;
|
|
67
|
+
publish?: boolean | undefined;
|
|
68
|
+
cloneFlowId?: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface CreateWhatsAppFlowOutput {
|
|
71
|
+
flowId?: string | undefined;
|
|
72
|
+
validationErrors?: string[] | undefined;
|
|
73
|
+
}
|
|
62
74
|
export interface CreateWhatsAppMessageTemplateInput {
|
|
63
75
|
templateDefinition: Uint8Array | undefined;
|
|
64
76
|
id: string | undefined;
|
|
@@ -111,6 +123,11 @@ export interface CreateWhatsAppMessageTemplateMediaInput {
|
|
|
111
123
|
export interface CreateWhatsAppMessageTemplateMediaOutput {
|
|
112
124
|
metaHeaderHandle?: string | undefined;
|
|
113
125
|
}
|
|
126
|
+
export interface DeleteWhatsAppFlowInput {
|
|
127
|
+
id: string | undefined;
|
|
128
|
+
flowId: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
export interface DeleteWhatsAppFlowOutput {}
|
|
114
131
|
export interface DeleteWhatsAppMessageMediaInput {
|
|
115
132
|
mediaId: string | undefined;
|
|
116
133
|
originationPhoneNumberId: string | undefined;
|
|
@@ -125,6 +142,11 @@ export interface DeleteWhatsAppMessageTemplateInput {
|
|
|
125
142
|
templateName: string | undefined;
|
|
126
143
|
}
|
|
127
144
|
export interface DeleteWhatsAppMessageTemplateOutput {}
|
|
145
|
+
export interface DeprecateWhatsAppFlowInput {
|
|
146
|
+
id: string | undefined;
|
|
147
|
+
flowId: string | undefined;
|
|
148
|
+
}
|
|
149
|
+
export interface DeprecateWhatsAppFlowOutput {}
|
|
128
150
|
export interface DisassociateWhatsAppBusinessAccountInput {
|
|
129
151
|
id: string | undefined;
|
|
130
152
|
}
|
|
@@ -163,6 +185,58 @@ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberOutput {
|
|
|
163
185
|
phoneNumber?: WhatsAppPhoneNumberDetail | undefined;
|
|
164
186
|
linkedWhatsAppBusinessAccountId?: string | undefined;
|
|
165
187
|
}
|
|
188
|
+
export interface GetWhatsAppFlowInput {
|
|
189
|
+
id: string | undefined;
|
|
190
|
+
flowId: string | undefined;
|
|
191
|
+
}
|
|
192
|
+
export interface MetaFlowApplicationInfo {
|
|
193
|
+
link?: string | undefined;
|
|
194
|
+
name: string | undefined;
|
|
195
|
+
id: string | undefined;
|
|
196
|
+
}
|
|
197
|
+
export interface MetaFlowHealthEntity {
|
|
198
|
+
entityType: string | undefined;
|
|
199
|
+
id: string | undefined;
|
|
200
|
+
canSendMessage: string | undefined;
|
|
201
|
+
}
|
|
202
|
+
export interface MetaFlowHealthStatus {
|
|
203
|
+
canSendMessage: string | undefined;
|
|
204
|
+
entities?: MetaFlowHealthEntity[] | undefined;
|
|
205
|
+
}
|
|
206
|
+
export interface MetaFlowPreviewInfo {
|
|
207
|
+
previewUrl: string | undefined;
|
|
208
|
+
expiresAt: string | undefined;
|
|
209
|
+
}
|
|
210
|
+
export interface MetaFlowWhatsAppBusinessAccountInfo {
|
|
211
|
+
id: string | undefined;
|
|
212
|
+
name: string | undefined;
|
|
213
|
+
currency?: string | undefined;
|
|
214
|
+
timezoneId?: string | undefined;
|
|
215
|
+
messageTemplateNamespace?: string | undefined;
|
|
216
|
+
}
|
|
217
|
+
export interface GetWhatsAppFlowOutput {
|
|
218
|
+
flowId: string | undefined;
|
|
219
|
+
flowName: string | undefined;
|
|
220
|
+
flowStatus: string | undefined;
|
|
221
|
+
categories?: MetaFlowCategory[] | undefined;
|
|
222
|
+
validationErrors?: string[] | undefined;
|
|
223
|
+
jsonVersion?: string | undefined;
|
|
224
|
+
dataApiVersion?: string | undefined;
|
|
225
|
+
endpointUri?: string | undefined;
|
|
226
|
+
preview?: MetaFlowPreviewInfo | undefined;
|
|
227
|
+
whatsAppBusinessAccount?: MetaFlowWhatsAppBusinessAccountInfo | undefined;
|
|
228
|
+
application?: MetaFlowApplicationInfo | undefined;
|
|
229
|
+
healthStatus?: MetaFlowHealthStatus | undefined;
|
|
230
|
+
}
|
|
231
|
+
export interface GetWhatsAppFlowPreviewInput {
|
|
232
|
+
id: string | undefined;
|
|
233
|
+
flowId: string | undefined;
|
|
234
|
+
invalidate?: boolean | undefined;
|
|
235
|
+
}
|
|
236
|
+
export interface GetWhatsAppFlowPreviewOutput {
|
|
237
|
+
flowId: string | undefined;
|
|
238
|
+
preview: MetaFlowPreviewInfo | undefined;
|
|
239
|
+
}
|
|
166
240
|
export interface S3PresignedUrl {
|
|
167
241
|
url: string | undefined;
|
|
168
242
|
headers: Record<string, string> | undefined;
|
|
@@ -214,6 +288,37 @@ export interface ListLinkedWhatsAppBusinessAccountsOutput {
|
|
|
214
288
|
linkedAccounts?: LinkedWhatsAppBusinessAccountSummary[] | undefined;
|
|
215
289
|
nextToken?: string | undefined;
|
|
216
290
|
}
|
|
291
|
+
export interface ListWhatsAppFlowAssetsInput {
|
|
292
|
+
id: string | undefined;
|
|
293
|
+
flowId: string | undefined;
|
|
294
|
+
nextToken?: string | undefined;
|
|
295
|
+
maxResults?: number | undefined;
|
|
296
|
+
}
|
|
297
|
+
export interface MetaFlowAsset {
|
|
298
|
+
name: string | undefined;
|
|
299
|
+
assetType: string | undefined;
|
|
300
|
+
downloadUrl: string | undefined;
|
|
301
|
+
}
|
|
302
|
+
export interface ListWhatsAppFlowAssetsOutput {
|
|
303
|
+
flowAssets: MetaFlowAsset[] | undefined;
|
|
304
|
+
nextToken?: string | undefined;
|
|
305
|
+
}
|
|
306
|
+
export interface ListWhatsAppFlowsInput {
|
|
307
|
+
id: string | undefined;
|
|
308
|
+
nextToken?: string | undefined;
|
|
309
|
+
maxResults?: number | undefined;
|
|
310
|
+
}
|
|
311
|
+
export interface MetaFlowSummary {
|
|
312
|
+
flowId: string | undefined;
|
|
313
|
+
flowName: string | undefined;
|
|
314
|
+
flowStatus: string | undefined;
|
|
315
|
+
flowCategories: MetaFlowCategory[] | undefined;
|
|
316
|
+
validationErrors: string[] | undefined;
|
|
317
|
+
}
|
|
318
|
+
export interface ListWhatsAppFlowsOutput {
|
|
319
|
+
flows: MetaFlowSummary[] | undefined;
|
|
320
|
+
nextToken?: string | undefined;
|
|
321
|
+
}
|
|
217
322
|
export interface ListWhatsAppMessageTemplatesInput {
|
|
218
323
|
id: string | undefined;
|
|
219
324
|
nextToken?: string | undefined;
|
|
@@ -254,11 +359,31 @@ export interface ListWhatsAppTemplateLibraryOutput {
|
|
|
254
359
|
metaLibraryTemplates?: MetaLibraryTemplateDefinition[] | undefined;
|
|
255
360
|
nextToken?: string | undefined;
|
|
256
361
|
}
|
|
362
|
+
export interface PublishWhatsAppFlowInput {
|
|
363
|
+
id: string | undefined;
|
|
364
|
+
flowId: string | undefined;
|
|
365
|
+
}
|
|
366
|
+
export interface PublishWhatsAppFlowOutput {}
|
|
257
367
|
export interface PutWhatsAppBusinessAccountEventDestinationsInput {
|
|
258
368
|
id: string | undefined;
|
|
259
369
|
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
260
370
|
}
|
|
261
371
|
export interface PutWhatsAppBusinessAccountEventDestinationsOutput {}
|
|
372
|
+
export interface UpdateWhatsAppFlowInput {
|
|
373
|
+
id: string | undefined;
|
|
374
|
+
flowId: string | undefined;
|
|
375
|
+
flowName?: string | undefined;
|
|
376
|
+
categories?: MetaFlowCategory[] | undefined;
|
|
377
|
+
}
|
|
378
|
+
export interface UpdateWhatsAppFlowOutput {}
|
|
379
|
+
export interface UpdateWhatsAppFlowAssetsInput {
|
|
380
|
+
id: string | undefined;
|
|
381
|
+
flowId: string | undefined;
|
|
382
|
+
flowJson: Uint8Array | undefined;
|
|
383
|
+
}
|
|
384
|
+
export interface UpdateWhatsAppFlowAssetsOutput {
|
|
385
|
+
validationErrors?: string[] | undefined;
|
|
386
|
+
}
|
|
262
387
|
export interface UpdateWhatsAppMessageTemplateInput {
|
|
263
388
|
id: string | undefined;
|
|
264
389
|
metaTemplateId?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWhatsAppFlowAssetsCommandInput,
|
|
4
|
+
ListWhatsAppFlowAssetsCommandOutput,
|
|
5
|
+
} from "../commands/ListWhatsAppFlowAssetsCommand";
|
|
6
|
+
import { SocialMessagingPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListWhatsAppFlowAssets: (
|
|
8
|
+
config: SocialMessagingPaginationConfiguration,
|
|
9
|
+
input: ListWhatsAppFlowAssetsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListWhatsAppFlowAssetsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWhatsAppFlowsCommandInput,
|
|
4
|
+
ListWhatsAppFlowsCommandOutput,
|
|
5
|
+
} from "../commands/ListWhatsAppFlowsCommand";
|
|
6
|
+
import { SocialMessagingPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListWhatsAppFlows: (
|
|
8
|
+
config: SocialMessagingPaginationConfiguration,
|
|
9
|
+
input: ListWhatsAppFlowsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => 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";
|