@wildix/xbees-users-client 1.0.8 → 1.0.10

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.
@@ -116,8 +116,8 @@ exports.se_DeleteBotApiKeyCommand = se_DeleteBotApiKeyCommand;
116
116
  const se_GetBotCommand = async (input, context) => {
117
117
  const b = (0, core_1.requestBuilder)(input, context);
118
118
  const headers = {};
119
- b.bp("/v2/users/bots/{id}");
120
- b.p('id', () => input.id, '{id}', false);
119
+ b.bp("/v2/users/bots/{botId}");
120
+ b.p('botId', () => input.botId, '{botId}', false);
121
121
  const query = (0, smithy_client_1.map)({
122
122
  [_c]: [, input[_c]],
123
123
  });
@@ -132,8 +132,8 @@ exports.se_GetBotCommand = se_GetBotCommand;
132
132
  const se_GetBotCallbackCommand = async (input, context) => {
133
133
  const b = (0, core_1.requestBuilder)(input, context);
134
134
  const headers = {};
135
- b.bp("/v2/users/bots/{id}/callback");
136
- b.p('id', () => input.id, '{id}', false);
135
+ b.bp("/v2/users/bots/{botId}/callback");
136
+ b.p('botId', () => input.botId, '{botId}', false);
137
137
  const query = (0, smithy_client_1.map)({
138
138
  [_c]: [, input[_c]],
139
139
  });
@@ -181,8 +181,8 @@ const se_UpdateBotCommand = async (input, context) => {
181
181
  const headers = {
182
182
  'content-type': 'application/json',
183
183
  };
184
- b.bp("/v2/users/bots/{id}");
185
- b.p('id', () => input.id, '{id}', false);
184
+ b.bp("/v2/users/bots/{botId}");
185
+ b.p('botId', () => input.botId, '{botId}', false);
186
186
  const query = (0, smithy_client_1.map)({
187
187
  [_c]: [, input[_c]],
188
188
  });
@@ -204,8 +204,8 @@ const se_UpdateBotCallbackCommand = async (input, context) => {
204
204
  const headers = {
205
205
  'content-type': 'application/json',
206
206
  };
207
- b.bp("/v2/users/bots/{id}/callback");
208
- b.p('id', () => input.id, '{id}', false);
207
+ b.bp("/v2/users/bots/{botId}/callback");
208
+ b.p('botId', () => input.botId, '{botId}', false);
209
209
  const query = (0, smithy_client_1.map)({
210
210
  [_c]: [, input[_c]],
211
211
  });
@@ -107,8 +107,8 @@ export const se_DeleteBotApiKeyCommand = async (input, context) => {
107
107
  export const se_GetBotCommand = async (input, context) => {
108
108
  const b = rb(input, context);
109
109
  const headers = {};
110
- b.bp("/v2/users/bots/{id}");
111
- b.p('id', () => input.id, '{id}', false);
110
+ b.bp("/v2/users/bots/{botId}");
111
+ b.p('botId', () => input.botId, '{botId}', false);
112
112
  const query = map({
113
113
  [_c]: [, input[_c]],
114
114
  });
@@ -122,8 +122,8 @@ export const se_GetBotCommand = async (input, context) => {
122
122
  export const se_GetBotCallbackCommand = async (input, context) => {
123
123
  const b = rb(input, context);
124
124
  const headers = {};
125
- b.bp("/v2/users/bots/{id}/callback");
126
- b.p('id', () => input.id, '{id}', false);
125
+ b.bp("/v2/users/bots/{botId}/callback");
126
+ b.p('botId', () => input.botId, '{botId}', false);
127
127
  const query = map({
128
128
  [_c]: [, input[_c]],
129
129
  });
@@ -168,8 +168,8 @@ export const se_UpdateBotCommand = async (input, context) => {
168
168
  const headers = {
169
169
  'content-type': 'application/json',
170
170
  };
171
- b.bp("/v2/users/bots/{id}");
172
- b.p('id', () => input.id, '{id}', false);
171
+ b.bp("/v2/users/bots/{botId}");
172
+ b.p('botId', () => input.botId, '{botId}', false);
173
173
  const query = map({
174
174
  [_c]: [, input[_c]],
175
175
  });
@@ -190,8 +190,8 @@ export const se_UpdateBotCallbackCommand = async (input, context) => {
190
190
  const headers = {
191
191
  'content-type': 'application/json',
192
192
  };
193
- b.bp("/v2/users/bots/{id}/callback");
194
- b.p('id', () => input.id, '{id}', false);
193
+ b.bp("/v2/users/bots/{botId}/callback");
194
+ b.p('botId', () => input.botId, '{botId}', false);
195
195
  const query = map({
196
196
  [_c]: [, input[_c]],
197
197
  });
@@ -36,7 +36,7 @@ declare const GetBotCallbackCommand_base: {
36
36
  * const client = new UsersClient(config);
37
37
  * const input = { // GetBotCallbackInput
38
38
  * company: "STRING_VALUE",
39
- * id: "STRING_VALUE", // required
39
+ * botId: "STRING_VALUE", // required
40
40
  * };
41
41
  * const command = new GetBotCallbackCommand(input);
42
42
  * const response = await client.send(command);
@@ -36,7 +36,7 @@ declare const GetBotCommand_base: {
36
36
  * const client = new UsersClient(config);
37
37
  * const input = { // GetBotInput
38
38
  * company: "STRING_VALUE",
39
- * id: "STRING_VALUE", // required
39
+ * botId: "STRING_VALUE", // required
40
40
  * };
41
41
  * const command = new GetBotCommand(input);
42
42
  * const response = await client.send(command);
@@ -36,7 +36,7 @@ declare const UpdateBotCallbackCommand_base: {
36
36
  * const client = new UsersClient(config);
37
37
  * const input = { // UpdateBotCallbackInput
38
38
  * company: "STRING_VALUE",
39
- * id: "STRING_VALUE", // required
39
+ * botId: "STRING_VALUE", // required
40
40
  * callback: { // BotCallback
41
41
  * endpoint: { // BotEndpoint Union: only one key present
42
42
  * dialogflowCx: { // BotDialogflowCxEndpoint
@@ -36,7 +36,7 @@ declare const UpdateBotCommand_base: {
36
36
  * const client = new UsersClient(config);
37
37
  * const input = { // UpdateBotInput
38
38
  * company: "STRING_VALUE",
39
- * id: "STRING_VALUE", // required
39
+ * botId: "STRING_VALUE", // required
40
40
  * name: "STRING_VALUE", // required
41
41
  * picture: "STRING_VALUE",
42
42
  * searchable: true || false,
@@ -305,7 +305,7 @@ export interface DeleteBotApiKeyOutput {
305
305
  */
306
306
  export interface GetBotInput {
307
307
  company?: string;
308
- id: string;
308
+ botId: string;
309
309
  }
310
310
  /**
311
311
  * @public
@@ -318,13 +318,13 @@ export interface GetBotOutput {
318
318
  */
319
319
  export interface GetBotCallbackInput {
320
320
  company?: string;
321
- id: string;
321
+ botId: string;
322
322
  }
323
323
  /**
324
324
  * @public
325
325
  */
326
326
  export interface GetBotCallbackOutput {
327
- callback?: BotCallback;
327
+ callback: BotCallback;
328
328
  }
329
329
  /**
330
330
  * @public
@@ -356,7 +356,7 @@ export interface ListBotsOutput {
356
356
  */
357
357
  export interface UpdateBotInput {
358
358
  company?: string;
359
- id: string;
359
+ botId: string;
360
360
  name: string;
361
361
  picture?: string;
362
362
  searchable?: boolean;
@@ -372,7 +372,7 @@ export interface UpdateBotOutput {
372
372
  */
373
373
  export interface UpdateBotCallbackInput {
374
374
  company?: string;
375
- id: string;
375
+ botId: string;
376
376
  callback: BotCallback;
377
377
  }
378
378
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "1.0.8",
4
+ "version": "1.0.10",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",