@wildix/wms-api-client 1.0.3 → 1.0.5

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 (33) hide show
  1. package/dist-cjs/WmsApi.js +8 -0
  2. package/dist-cjs/commands/CreatePbxOAuth2ClientCommand.js +41 -0
  3. package/dist-cjs/commands/DeletePbxOAuth2ClientCommand.js +41 -0
  4. package/dist-cjs/commands/GetPbxOAuth2ClientsCommand.js +41 -0
  5. package/dist-cjs/commands/UpdatePbxOAuth2ClientCommand.js +41 -0
  6. package/dist-cjs/commands/index.js +4 -0
  7. package/dist-cjs/models/models_0.js +48 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +317 -20
  9. package/dist-es/WmsApi.js +8 -0
  10. package/dist-es/commands/CreatePbxOAuth2ClientCommand.js +37 -0
  11. package/dist-es/commands/DeletePbxOAuth2ClientCommand.js +37 -0
  12. package/dist-es/commands/GetPbxOAuth2ClientsCommand.js +37 -0
  13. package/dist-es/commands/UpdatePbxOAuth2ClientCommand.js +37 -0
  14. package/dist-es/commands/index.js +4 -0
  15. package/dist-es/models/models_0.js +44 -0
  16. package/dist-es/protocols/Aws_restJson1.js +309 -20
  17. package/dist-types/WmsApi.d.ts +28 -0
  18. package/dist-types/WmsApiClient.d.ts +6 -2
  19. package/dist-types/commands/CreatePbxOAuth2ClientCommand.d.ts +91 -0
  20. package/dist-types/commands/DeletePbxOAuth2ClientCommand.d.ts +76 -0
  21. package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +8 -3
  22. package/dist-types/commands/GetPbxCallGroupsCommand.d.ts +2 -0
  23. package/dist-types/commands/GetPbxColleaguesCommand.d.ts +2 -0
  24. package/dist-types/commands/GetPbxOAuth2ClientsCommand.d.ts +84 -0
  25. package/dist-types/commands/UpdatePbxOAuth2ClientCommand.d.ts +94 -0
  26. package/dist-types/commands/index.d.ts +4 -0
  27. package/dist-types/models/models_0.d.ts +165 -0
  28. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  29. package/dist-types/runtimeConfig.browser.d.ts +3 -3
  30. package/dist-types/runtimeConfig.d.ts +3 -3
  31. package/dist-types/runtimeConfig.native.d.ts +3 -3
  32. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  33. package/package.json +1 -1
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  maxAttempts: number | import("@smithy/types").Provider<number>;
11
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
11
+ requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/node-http-handler").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
12
12
  updateHttpClientConfig(key: never, value: never): void;
13
13
  httpHandlerConfigs(): {};
14
14
  }) | RequestHandler;
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
21
21
  apiVersion: string;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: import("@smithy/types").Encoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: import("@smithy/types").Encoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
8
8
  domain: string;
9
9
  port?: number | undefined;
10
10
  token: import("@wildix/smithy-utils").TokenProvider;
11
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
11
+ requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
12
12
  updateHttpClientConfig(key: never, value: never): void;
13
13
  httpHandlerConfigs(): {};
14
14
  }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
@@ -17,9 +17,9 @@ export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: import("@smithy/types").StreamCollector;
19
19
  base64Decoder: import("@smithy/types").Decoder;
20
- base64Encoder: import("@smithy/types").Encoder;
20
+ base64Encoder: (_input: string | Uint8Array) => string;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
22
- utf8Encoder: import("@smithy/types").Encoder;
22
+ utf8Encoder: (input: string | Uint8Array) => string;
23
23
  disableHostPrefix: boolean;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -5,11 +5,11 @@ import { WmsApiClientConfig } from "./WmsApiClient";
5
5
  export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  extensions: import("./runtimeExtensions").RuntimeExtension[];
11
11
  logger: import("@smithy/types").Logger;
12
12
  urlParser: import("@smithy/types").UrlParser;
13
13
  utf8Decoder: import("@smithy/types").Decoder;
14
- utf8Encoder: import("@smithy/types").Encoder;
14
+ utf8Encoder: (input: string | Uint8Array) => string;
15
15
  };
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.0.3",
4
+ "version": "1.0.5",
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",