@wildix/xbees-kite-client 1.4.1 → 3.1.1

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 (128) hide show
  1. package/dist-cjs/Kite.js +3 -3
  2. package/dist-cjs/KiteClient.js +34 -28
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +40 -0
  5. package/dist-cjs/commands/CancelCalendarEventCommand.js +10 -11
  6. package/dist-cjs/commands/CreateOrUpdateWidgetPreviewCommand.js +10 -11
  7. package/dist-cjs/commands/CreateWidgetCommand.js +10 -11
  8. package/dist-cjs/commands/DeleteWidgetCommand.js +10 -11
  9. package/dist-cjs/commands/GetCalendarSlotsCommand.js +10 -11
  10. package/dist-cjs/commands/GetConfigCommand.js +10 -11
  11. package/dist-cjs/commands/GetSmsNumberConfigurationCommand.js +10 -11
  12. package/dist-cjs/commands/GetWhatsAppNumberConfigurationCommand.js +10 -11
  13. package/dist-cjs/commands/GetWidgetCommand.js +10 -11
  14. package/dist-cjs/commands/ListAgentsCommand.js +10 -11
  15. package/dist-cjs/commands/ListServicesCommand.js +10 -11
  16. package/dist-cjs/commands/ListSmsConfigurationsCommand.js +10 -11
  17. package/dist-cjs/commands/ListSmsNumbersCommand.js +10 -11
  18. package/dist-cjs/commands/ListWhatsAppConfigurationsCommand.js +10 -11
  19. package/dist-cjs/commands/ListWhatsAppNumbersCommand.js +10 -11
  20. package/dist-cjs/commands/ListWhatsAppTemplatesCommand.js +10 -11
  21. package/dist-cjs/commands/ListWidgetsCommand.js +10 -11
  22. package/dist-cjs/commands/PutSmsNumberConfigurationCommand.js +10 -11
  23. package/dist-cjs/commands/PutWhatsAppNumberConfigurationCommand.js +10 -11
  24. package/dist-cjs/commands/RescheduleCalendarEventCommand.js +10 -11
  25. package/dist-cjs/commands/ScheduleCalendarEventCommand.js +10 -11
  26. package/dist-cjs/commands/UpdateWidgetCommand.js +10 -11
  27. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  28. package/dist-cjs/endpoint/bdd.js +28 -0
  29. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  30. package/dist-cjs/index.js +7 -4
  31. package/dist-cjs/models/KiteSyntheticServiceException.js +12 -0
  32. package/dist-cjs/models/enums.js +80 -0
  33. package/dist-cjs/models/errors.js +116 -0
  34. package/dist-cjs/models/models_0.js +0 -303
  35. package/dist-cjs/runtimeConfig.browser.js +11 -11
  36. package/dist-cjs/runtimeConfig.js +22 -18
  37. package/dist-cjs/runtimeConfig.shared.js +30 -10
  38. package/dist-cjs/runtimeExtensions.js +6 -5
  39. package/dist-cjs/schemas/schemas_0.js +1160 -0
  40. package/dist-es/Kite.js +4 -4
  41. package/dist-es/KiteClient.js +30 -24
  42. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  43. package/dist-es/auth/httpAuthSchemeProvider.js +34 -0
  44. package/dist-es/commands/CancelCalendarEventCommand.js +9 -10
  45. package/dist-es/commands/CreateOrUpdateWidgetPreviewCommand.js +9 -10
  46. package/dist-es/commands/CreateWidgetCommand.js +9 -10
  47. package/dist-es/commands/DeleteWidgetCommand.js +9 -10
  48. package/dist-es/commands/GetCalendarSlotsCommand.js +9 -10
  49. package/dist-es/commands/GetConfigCommand.js +9 -10
  50. package/dist-es/commands/GetSmsNumberConfigurationCommand.js +9 -10
  51. package/dist-es/commands/GetWhatsAppNumberConfigurationCommand.js +9 -10
  52. package/dist-es/commands/GetWidgetCommand.js +9 -10
  53. package/dist-es/commands/ListAgentsCommand.js +9 -10
  54. package/dist-es/commands/ListServicesCommand.js +9 -10
  55. package/dist-es/commands/ListSmsConfigurationsCommand.js +9 -10
  56. package/dist-es/commands/ListSmsNumbersCommand.js +9 -10
  57. package/dist-es/commands/ListWhatsAppConfigurationsCommand.js +9 -10
  58. package/dist-es/commands/ListWhatsAppNumbersCommand.js +9 -10
  59. package/dist-es/commands/ListWhatsAppTemplatesCommand.js +9 -10
  60. package/dist-es/commands/ListWidgetsCommand.js +9 -10
  61. package/dist-es/commands/PutSmsNumberConfigurationCommand.js +9 -10
  62. package/dist-es/commands/PutWhatsAppNumberConfigurationCommand.js +9 -10
  63. package/dist-es/commands/RescheduleCalendarEventCommand.js +9 -10
  64. package/dist-es/commands/ScheduleCalendarEventCommand.js +9 -10
  65. package/dist-es/commands/UpdateWidgetCommand.js +9 -10
  66. package/dist-es/endpoint/EndpointParameters.js +12 -0
  67. package/dist-es/endpoint/bdd.js +25 -0
  68. package/dist-es/endpoint/endpointResolver.js +12 -0
  69. package/dist-es/index.js +5 -2
  70. package/dist-es/models/KiteSyntheticServiceException.js +8 -0
  71. package/dist-es/models/enums.js +77 -0
  72. package/dist-es/models/errors.js +105 -0
  73. package/dist-es/models/models_0.js +1 -294
  74. package/dist-es/runtimeConfig.browser.js +7 -7
  75. package/dist-es/runtimeConfig.js +17 -13
  76. package/dist-es/runtimeConfig.shared.js +24 -4
  77. package/dist-es/runtimeExtensions.js +6 -5
  78. package/dist-es/schemas/schemas_0.js +1155 -0
  79. package/dist-types/Kite.d.ts +23 -23
  80. package/dist-types/KiteClient.d.ts +52 -34
  81. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  82. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  83. package/dist-types/commands/CancelCalendarEventCommand.d.ts +12 -8
  84. package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +12 -8
  85. package/dist-types/commands/CreateWidgetCommand.d.ts +12 -8
  86. package/dist-types/commands/DeleteWidgetCommand.d.ts +12 -8
  87. package/dist-types/commands/GetCalendarSlotsCommand.d.ts +12 -8
  88. package/dist-types/commands/GetConfigCommand.d.ts +12 -8
  89. package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +12 -8
  90. package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +12 -8
  91. package/dist-types/commands/GetWidgetCommand.d.ts +12 -8
  92. package/dist-types/commands/ListAgentsCommand.d.ts +12 -8
  93. package/dist-types/commands/ListServicesCommand.d.ts +12 -8
  94. package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +12 -8
  95. package/dist-types/commands/ListSmsNumbersCommand.d.ts +12 -8
  96. package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +12 -8
  97. package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +12 -8
  98. package/dist-types/commands/ListWhatsAppTemplatesCommand.d.ts +12 -8
  99. package/dist-types/commands/ListWidgetsCommand.d.ts +12 -8
  100. package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +12 -8
  101. package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +12 -8
  102. package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +12 -8
  103. package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +12 -8
  104. package/dist-types/commands/UpdateWidgetCommand.d.ts +12 -8
  105. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  106. package/dist-types/endpoint/bdd.d.ts +2 -0
  107. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  108. package/dist-types/extensionConfiguration.d.ts +4 -3
  109. package/dist-types/index.d.ts +6 -2
  110. package/dist-types/models/{KiteServiceException.d.ts → KiteSyntheticServiceException.d.ts} +2 -2
  111. package/dist-types/models/enums.d.ts +197 -0
  112. package/dist-types/models/errors.d.ts +110 -0
  113. package/dist-types/models/models_0.d.ts +105 -381
  114. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  115. package/dist-types/runtimeConfig.d.ts +34 -15
  116. package/dist-types/runtimeConfig.native.d.ts +36 -17
  117. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  118. package/dist-types/runtimeExtensions.d.ts +1 -1
  119. package/dist-types/schemas/schemas_0.d.ts +153 -0
  120. package/package.json +14 -40
  121. package/dist-cjs/models/KiteServiceException.js +0 -12
  122. package/dist-cjs/models/index.js +0 -4
  123. package/dist-cjs/protocols/Aws_restJson1.js +0 -963
  124. package/dist-es/models/KiteServiceException.js +0 -8
  125. package/dist-es/models/index.js +0 -1
  126. package/dist-es/protocols/Aws_restJson1.js +0 -916
  127. package/dist-types/models/index.d.ts +0 -1
  128. package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
@@ -1,7 +1,7 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { ScheduleCalendarEventInput, ScheduleCalendarEventOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { ScheduleCalendarEventInput, ScheduleCalendarEventOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface ScheduleCalendarEventCommandInput extends ScheduleCalendarEvent
22
22
  export interface ScheduleCalendarEventCommandOutput extends ScheduleCalendarEventOutput, __MetadataBearer {
23
23
  }
24
24
  declare const ScheduleCalendarEventCommand_base: {
25
- new (input: ScheduleCalendarEventCommandInput): import("@smithy/smithy-client").CommandImpl<ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ScheduleCalendarEventCommandInput): import("@smithy/smithy-client").CommandImpl<ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ScheduleCalendarEventCommandInput): import("@smithy/core/client").CommandImpl<ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ScheduleCalendarEventCommandInput): import("@smithy/core/client").CommandImpl<ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Schedules a new calendar event for a specific Kite widget or agent, creating a conversation channel.
@@ -33,6 +35,8 @@ declare const ScheduleCalendarEventCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, ScheduleCalendarEventCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, ScheduleCalendarEventCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // ScheduleCalendarEventInput
38
42
  * targetId: "STRING_VALUE", // required
@@ -156,7 +160,7 @@ declare const ScheduleCalendarEventCommand_base: {
156
160
  *
157
161
  * @throws {@link RateLimitExceededException} (client fault)
158
162
  *
159
- * @throws {@link KiteServiceException}
163
+ * @throws {@link KiteSyntheticServiceException}
160
164
  * <p>Base exception class for all service exceptions from Kite service.</p>
161
165
  *
162
166
  *
@@ -1,7 +1,7 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { UpdateWidgetInput, UpdateWidgetOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
4
+ import type { UpdateWidgetInput, UpdateWidgetOutput } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -22,9 +22,11 @@ export interface UpdateWidgetCommandInput extends UpdateWidgetInput {
22
22
  export interface UpdateWidgetCommandOutput extends UpdateWidgetOutput, __MetadataBearer {
23
23
  }
24
24
  declare const UpdateWidgetCommand_base: {
25
- new (input: UpdateWidgetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWidgetCommandInput, UpdateWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UpdateWidgetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWidgetCommandInput, UpdateWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UpdateWidgetCommandInput): import("@smithy/core/client").CommandImpl<UpdateWidgetCommandInput, UpdateWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateWidgetCommandInput): import("@smithy/core/client").CommandImpl<UpdateWidgetCommandInput, UpdateWidgetCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * Updates the configuration of an existing widget.
@@ -33,6 +35,8 @@ declare const UpdateWidgetCommand_base: {
33
35
  * ```javascript
34
36
  * import { KiteClient, UpdateWidgetCommand } from "@wildix/xbees-kite-client"; // ES Modules import
35
37
  * // const { KiteClient, UpdateWidgetCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
38
+ * // import type { KiteClientConfig } from "@wildix/xbees-kite-client";
39
+ * const config = {}; // type is KiteClientConfig
36
40
  * const client = new KiteClient(config);
37
41
  * const input = { // UpdateWidgetInput
38
42
  * appearance: { // WidgetAppearance
@@ -571,7 +575,7 @@ declare const UpdateWidgetCommand_base: {
571
575
  *
572
576
  * @throws {@link RateLimitExceededException} (client fault)
573
577
  *
574
- * @throws {@link KiteServiceException}
578
+ * @throws {@link KiteSyntheticServiceException}
575
579
  * <p>Base exception class for all service exceptions from Kite service.</p>
576
580
  *
577
581
  *
@@ -0,0 +1,41 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ clientContextParams?: {
7
+ env?: string | undefined | Provider<string | undefined>;
8
+ };
9
+ env?: string | undefined | Provider<string | undefined>;
10
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
11
+ }
12
+ /**
13
+ * @public
14
+ */
15
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
16
+ defaultSigningName: string;
17
+ };
18
+ /**
19
+ * @internal
20
+ */
21
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const commonParams: {
26
+ readonly env: {
27
+ readonly type: "clientContextParams";
28
+ readonly name: "env";
29
+ };
30
+ readonly endpoint: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "endpoint";
33
+ };
34
+ };
35
+ /**
36
+ * @internal
37
+ */
38
+ export interface EndpointParameters extends __EndpointParameters {
39
+ env?: string | undefined;
40
+ endpoint?: string | undefined;
41
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -1,7 +1,8 @@
1
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
- import { DefaultExtensionConfiguration } from "@smithy/types";
1
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
2
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
3
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface KiteExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface KiteExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, HttpAuthExtensionConfiguration {
7
8
  }
@@ -1,7 +1,11 @@
1
1
  export * from "./KiteClient";
2
2
  export * from "./Kite";
3
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
3
4
  export type { RuntimeExtension } from "./runtimeExtensions";
4
5
  export type { KiteExtensionConfiguration } from "./extensionConfiguration";
5
6
  export * from "./commands";
6
- export * from "./models";
7
- export { KiteServiceException } from "./models/KiteServiceException";
7
+ export * from "./schemas/schemas_0";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
11
+ export { KiteSyntheticServiceException } from "./models/KiteSyntheticServiceException";
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -6,7 +6,7 @@ export { __ServiceException };
6
6
  *
7
7
  * Base exception class for all service exceptions from Kite service.
8
8
  */
9
- export declare class KiteServiceException extends __ServiceException {
9
+ export declare class KiteSyntheticServiceException extends __ServiceException {
10
10
  /**
11
11
  * @internal
12
12
  */
@@ -0,0 +1,197 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ButtonType: {
6
+ readonly APP: "APP";
7
+ readonly CATALOG: "CATALOG";
8
+ readonly FLOW: "FLOW";
9
+ readonly MPM: "MPM";
10
+ readonly OTP: "OTP";
11
+ readonly PHONE_NUMBER: "PHONE_NUMBER";
12
+ readonly QUICK_REPLY: "QUICK_REPLY";
13
+ readonly URL: "URL";
14
+ readonly VOICE_CALL: "VOICE_CALL";
15
+ };
16
+ /**
17
+ * @public
18
+ */
19
+ export type ButtonType = (typeof ButtonType)[keyof typeof ButtonType];
20
+ /**
21
+ * @public
22
+ * @enum
23
+ */
24
+ export declare const TemplateCategory: {
25
+ readonly AUTHENTICATION: "AUTHENTICATION";
26
+ readonly MARKETING: "MARKETING";
27
+ readonly UTILITY: "UTILITY";
28
+ };
29
+ /**
30
+ * @public
31
+ */
32
+ export type TemplateCategory = (typeof TemplateCategory)[keyof typeof TemplateCategory];
33
+ /**
34
+ * @public
35
+ * @enum
36
+ */
37
+ export declare const ComponentFormat: {
38
+ readonly IMAGE: "IMAGE";
39
+ readonly TEXT: "TEXT";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type ComponentFormat = (typeof ComponentFormat)[keyof typeof ComponentFormat];
45
+ /**
46
+ * @public
47
+ * @enum
48
+ */
49
+ export declare const ComponentType: {
50
+ readonly BODY: "BODY";
51
+ readonly BUTTONS: "BUTTONS";
52
+ readonly FOOTER: "FOOTER";
53
+ readonly HEADER: "HEADER";
54
+ };
55
+ /**
56
+ * @public
57
+ */
58
+ export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType];
59
+ /**
60
+ * @public
61
+ * @enum
62
+ */
63
+ export declare const ParameterFormat: {
64
+ readonly NAMED: "NAMED";
65
+ };
66
+ /**
67
+ * @public
68
+ */
69
+ export type ParameterFormat = (typeof ParameterFormat)[keyof typeof ParameterFormat];
70
+ /**
71
+ * @public
72
+ * @enum
73
+ */
74
+ export declare const TemplateStatus: {
75
+ readonly APPROVED: "APPROVED";
76
+ readonly PAUSED: "PAUSED";
77
+ readonly REJECTED: "REJECTED";
78
+ };
79
+ /**
80
+ * @public
81
+ */
82
+ export type TemplateStatus = (typeof TemplateStatus)[keyof typeof TemplateStatus];
83
+ /**
84
+ * @public
85
+ * @enum
86
+ */
87
+ export declare const ChannelAccess: {
88
+ readonly PRIVATE: "private";
89
+ readonly PUBLIC: "public";
90
+ };
91
+ /**
92
+ * @public
93
+ */
94
+ export type ChannelAccess = (typeof ChannelAccess)[keyof typeof ChannelAccess];
95
+ /**
96
+ * @public
97
+ * @enum
98
+ */
99
+ export declare const ChannelType: {
100
+ readonly DIRECT: "direct";
101
+ readonly GROUP: "group";
102
+ };
103
+ /**
104
+ * @public
105
+ */
106
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
107
+ /**
108
+ * @public
109
+ * @enum
110
+ */
111
+ export declare const ChannelContextEventAttendeeStatus: {
112
+ readonly ACCEPTED: "accepted";
113
+ readonly DECLINED: "declined";
114
+ readonly NONE: "none";
115
+ readonly TENTATIVE: "tentative";
116
+ };
117
+ /**
118
+ * @public
119
+ */
120
+ export type ChannelContextEventAttendeeStatus = (typeof ChannelContextEventAttendeeStatus)[keyof typeof ChannelContextEventAttendeeStatus];
121
+ /**
122
+ * @public
123
+ * @enum
124
+ */
125
+ export declare const ChannelContextSource: {
126
+ readonly KITE: "kite";
127
+ };
128
+ /**
129
+ * @public
130
+ */
131
+ export type ChannelContextSource = (typeof ChannelContextSource)[keyof typeof ChannelContextSource];
132
+ /**
133
+ * @public
134
+ * @enum
135
+ */
136
+ export declare const ChannelWhatsAppStatus: {
137
+ readonly CHANNEL_CLOSED: "24h_channel_closed";
138
+ };
139
+ /**
140
+ * @public
141
+ */
142
+ export type ChannelWhatsAppStatus = (typeof ChannelWhatsAppStatus)[keyof typeof ChannelWhatsAppStatus];
143
+ /**
144
+ * @public
145
+ * @enum
146
+ */
147
+ export declare const ButtonVariant: {
148
+ readonly CONTAINED: "contained";
149
+ readonly OUTLINED: "outlined";
150
+ };
151
+ /**
152
+ * @public
153
+ */
154
+ export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
155
+ /**
156
+ * @public
157
+ * @enum
158
+ */
159
+ export declare const RouteTimeFrameDay: {
160
+ readonly EVERY_DAY: "EVERY_DAY";
161
+ readonly FRIDAY: "FRIDAY";
162
+ readonly MONDAY: "MONDAY";
163
+ readonly SATURDAY: "SATURDAY";
164
+ readonly SUNDAY: "SUNDAY";
165
+ readonly THURSDAY: "THURSDAY";
166
+ readonly TUESDAY: "TUESDAY";
167
+ readonly WEDNESDAY: "WEDNESDAY";
168
+ readonly WEEKDAYS: "WEEKDAYS";
169
+ readonly WEEKENDS: "WEEKENDS";
170
+ };
171
+ /**
172
+ * @public
173
+ */
174
+ export type RouteTimeFrameDay = (typeof RouteTimeFrameDay)[keyof typeof RouteTimeFrameDay];
175
+ /**
176
+ * @public
177
+ * @enum
178
+ */
179
+ export declare const KiteFeatures: {
180
+ readonly SCHEDULING: "scheduling";
181
+ };
182
+ /**
183
+ * @public
184
+ */
185
+ export type KiteFeatures = (typeof KiteFeatures)[keyof typeof KiteFeatures];
186
+ /**
187
+ * @public
188
+ * @enum
189
+ */
190
+ export declare const KiteVariant: {
191
+ readonly DIRECT: "direct";
192
+ readonly GROUP: "group";
193
+ };
194
+ /**
195
+ * @public
196
+ */
197
+ export type KiteVariant = (typeof KiteVariant)[keyof typeof KiteVariant];
@@ -0,0 +1,110 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { KiteSyntheticServiceException as __BaseException } from "./KiteSyntheticServiceException";
3
+ /**
4
+ * @public
5
+ */
6
+ export declare class ForbiddenException extends __BaseException {
7
+ readonly name: "ForbiddenException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
13
+ }
14
+ /**
15
+ * @public
16
+ */
17
+ export declare class NotFoundException extends __BaseException {
18
+ readonly name: "NotFoundException";
19
+ readonly $fault: "client";
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
24
+ }
25
+ /**
26
+ * @public
27
+ */
28
+ export declare class RateLimitExceededException extends __BaseException {
29
+ readonly name: "RateLimitExceededException";
30
+ readonly $fault: "client";
31
+ /**
32
+ * Displays the applicable rate limits for the current request.
33
+ * @public
34
+ */
35
+ rateLimit?: string | undefined;
36
+ /**
37
+ * Indicates how many requests a user can still make within the current time window.
38
+ * @public
39
+ */
40
+ rateLimitRemaining?: number | undefined;
41
+ /**
42
+ * Shows the time in seconds until the rate limit resets.
43
+ * @public
44
+ */
45
+ rateLimitReset?: number | undefined;
46
+ /**
47
+ * Displays how many seconds the user agent should wait before making a follow-up request.
48
+ * @public
49
+ */
50
+ retryAfter?: number | undefined;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
55
+ }
56
+ /**
57
+ * @public
58
+ */
59
+ export declare class ValidationException extends __BaseException {
60
+ readonly name: "ValidationException";
61
+ readonly $fault: "client";
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
66
+ }
67
+ /**
68
+ * @public
69
+ */
70
+ export declare class TargetNotFoundException extends __BaseException {
71
+ readonly name: "TargetNotFoundException";
72
+ readonly $fault: "client";
73
+ /**
74
+ * @internal
75
+ */
76
+ constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
77
+ }
78
+ /**
79
+ * @public
80
+ */
81
+ export declare class ChannelNotFoundException extends __BaseException {
82
+ readonly name: "ChannelNotFoundException";
83
+ readonly $fault: "client";
84
+ /**
85
+ * @internal
86
+ */
87
+ constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
88
+ }
89
+ /**
90
+ * @public
91
+ */
92
+ export declare class EventNotFoundException extends __BaseException {
93
+ readonly name: "EventNotFoundException";
94
+ readonly $fault: "client";
95
+ /**
96
+ * @internal
97
+ */
98
+ constructor(opts: __ExceptionOptionType<EventNotFoundException, __BaseException>);
99
+ }
100
+ /**
101
+ * @public
102
+ */
103
+ export declare class WidgetNotFoundException extends __BaseException {
104
+ readonly name: "WidgetNotFoundException";
105
+ readonly $fault: "client";
106
+ /**
107
+ * @internal
108
+ */
109
+ constructor(opts: __ExceptionOptionType<WidgetNotFoundException, __BaseException>);
110
+ }