@wildix/wms-api-client 1.1.20 → 1.1.21

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.
@@ -64,6 +64,7 @@ const se_CreatePbxOAuth2ClientCommand = async (input, context) => {
64
64
  b.bp("/api/v1/pbx/applications/oauth2");
65
65
  let body;
66
66
  body = JSON.stringify((0, smithy_client_1.take)(input, {
67
+ 'expireTime': [],
67
68
  'name': [],
68
69
  'redirectUri': _ => (0, smithy_client_1._json)(_),
69
70
  }));
@@ -59,6 +59,7 @@ export const se_CreatePbxOAuth2ClientCommand = async (input, context) => {
59
59
  b.bp("/api/v1/pbx/applications/oauth2");
60
60
  let body;
61
61
  body = JSON.stringify(take(input, {
62
+ 'expireTime': [],
62
63
  'name': [],
63
64
  'redirectUri': _ => _json(_),
64
65
  }));
@@ -39,6 +39,7 @@ declare const CreatePbxOAuth2ClientCommand_base: {
39
39
  * redirectUri: [ // PbxOAuth2RedirectUrls // required
40
40
  * "STRING_VALUE",
41
41
  * ],
42
+ * expireTime: Number("int"), // required
42
43
  * };
43
44
  * const command = new CreatePbxOAuth2ClientCommand(input);
44
45
  * const response = await client.send(command);
@@ -202,6 +202,11 @@ export interface CreatePbxOAuth2ClientInput {
202
202
  * @public
203
203
  */
204
204
  redirectUri: (string)[];
205
+ /**
206
+ * Timestamp for expiration of the OAuth2 application. Should not exceed 1 year.
207
+ * @public
208
+ */
209
+ expireTime: number;
205
210
  }
206
211
  /**
207
212
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wms-api-client",
3
3
  "description": "@wildix/wms-api-client client",
4
- "version": "1.1.20",
4
+ "version": "1.1.21",
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",