@wildix/wms-api-client 1.0.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.
- package/dist-cjs/WmsApi.js +15 -0
- package/dist-cjs/WmsApiClient.js +34 -0
- package/dist-cjs/commands/GetPbxAclGroupsPermissionsCommand.js +41 -0
- package/dist-cjs/commands/GetPbxColleaguesCommand.js +41 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/WmsApiServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +54 -0
- package/dist-cjs/protocols/Aws_restJson1.js +178 -0
- package/dist-cjs/runtimeConfig.browser.js +28 -0
- package/dist-cjs/runtimeConfig.js +32 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +19 -0
- package/dist-cjs/runtimeExtensions.js +19 -0
- package/dist-es/WmsApi.js +11 -0
- package/dist-es/WmsApiClient.js +30 -0
- package/dist-es/commands/GetPbxAclGroupsPermissionsCommand.js +37 -0
- package/dist-es/commands/GetPbxColleaguesCommand.js +37 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/WmsApiServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +51 -0
- package/dist-es/protocols/Aws_restJson1.js +171 -0
- package/dist-es/runtimeConfig.browser.js +24 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +15 -0
- package/dist-es/runtimeExtensions.js +15 -0
- package/dist-types/WmsApi.d.ts +23 -0
- package/dist-types/WmsApiClient.d.ts +139 -0
- package/dist-types/commands/GetPbxAclGroupsPermissionsCommand.d.ts +91 -0
- package/dist-types/commands/GetPbxColleaguesCommand.d.ts +138 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +7 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/WmsApiServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +208 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +20 -0
- package/dist-types/runtimeConfig.browser.d.ts +30 -0
- package/dist-types/runtimeConfig.d.ts +30 -0
- package/dist-types/runtimeConfig.native.d.ts +29 -0
- package/dist-types/runtimeConfig.shared.d.ts +15 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +77 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
|
|
2
|
+
import { GetPbxColleaguesInput, GetPbxColleaguesOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetPbxColleaguesCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetPbxColleaguesCommandInput extends GetPbxColleaguesInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetPbxColleaguesCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetPbxColleaguesCommandOutput extends GetPbxColleaguesOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { WmsApiClient, GetPbxColleaguesCommand } from "@wildix/wms-api-client"; // ES Modules import
|
|
30
|
+
* // const { WmsApiClient, GetPbxColleaguesCommand } = require("@wildix/wms-api-client"); // CommonJS import
|
|
31
|
+
* const client = new WmsApiClient(config);
|
|
32
|
+
* const input = { // GetPbxColleaguesInput
|
|
33
|
+
* extension: [ // ColleaguesFilterList
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* id: [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* officePhone: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* mobilePhone: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* name: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* email: "<ColleaguesFilterList>",
|
|
49
|
+
* role: "<ColleaguesFilterList>",
|
|
50
|
+
* dialplan: "<ColleaguesFilterList>",
|
|
51
|
+
* faxDialplan: "<ColleaguesFilterList>",
|
|
52
|
+
* department: "<ColleaguesFilterList>",
|
|
53
|
+
* login: "<ColleaguesFilterList>",
|
|
54
|
+
* groupDn: "<ColleaguesFilterList>",
|
|
55
|
+
* pbxDn: "<ColleaguesFilterList>",
|
|
56
|
+
* licenseType: [ // ColleaguesFilterLicenseTypeList
|
|
57
|
+
* "basic" || "essential" || "business" || "premium" || "wizyconf",
|
|
58
|
+
* ],
|
|
59
|
+
* fields: [ // PbxColleaguesQueryFieldList
|
|
60
|
+
* "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
|
|
61
|
+
* ],
|
|
62
|
+
* searchFields: [
|
|
63
|
+
* "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
|
|
64
|
+
* ],
|
|
65
|
+
* search: "STRING_VALUE",
|
|
66
|
+
* sort: [
|
|
67
|
+
* "extension" || "officePhone" || "mobilePhone" || "name" || "email" || "role" || "groupDn" || "language" || "dialplan" || "faxDialplan" || "department" || "login" || "id" || "pbxDn" || "picture" || "sourceId" || "licenseType",
|
|
68
|
+
* ],
|
|
69
|
+
* start: Number("int"),
|
|
70
|
+
* count: Number("int"),
|
|
71
|
+
* dir: "asc" || "desc",
|
|
72
|
+
* searchStrategy: "contain" || "startsWith",
|
|
73
|
+
* };
|
|
74
|
+
* const command = new GetPbxColleaguesCommand(input);
|
|
75
|
+
* const response = await client.send(command);
|
|
76
|
+
* // { // GetPbxColleaguesOutput
|
|
77
|
+
* // type: "result" || "error", // required
|
|
78
|
+
* // result: { // GetPbxColleaguesResult
|
|
79
|
+
* // records: [ // PbxColleaguesList // required
|
|
80
|
+
* // { // PbxColleague
|
|
81
|
+
* // id: "STRING_VALUE", // required
|
|
82
|
+
* // name: "STRING_VALUE",
|
|
83
|
+
* // login: "STRING_VALUE",
|
|
84
|
+
* // extension: "STRING_VALUE", // required
|
|
85
|
+
* // officePhone: "STRING_VALUE",
|
|
86
|
+
* // mobilePhone: "STRING_VALUE",
|
|
87
|
+
* // faxNumber: "STRING_VALUE",
|
|
88
|
+
* // email: "STRING_VALUE",
|
|
89
|
+
* // pbxDn: "STRING_VALUE", // required
|
|
90
|
+
* // pbx: "STRING_VALUE", // required
|
|
91
|
+
* // role: "admin" || "user" || "fax" || "park_orbit" || "room", // required
|
|
92
|
+
* // groupName: "STRING_VALUE", // required
|
|
93
|
+
* // groupDn: "STRING_VALUE", // required
|
|
94
|
+
* // language: "STRING_VALUE", // required
|
|
95
|
+
* // dialplan: "STRING_VALUE", // required
|
|
96
|
+
* // faxDialplan: "STRING_VALUE", // required
|
|
97
|
+
* // department: "STRING_VALUE",
|
|
98
|
+
* // picture: "STRING_VALUE", // required
|
|
99
|
+
* // sourceId: "STRING_VALUE",
|
|
100
|
+
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
101
|
+
* // jid: "STRING_VALUE", // required
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // total: Number("int"), // required
|
|
105
|
+
* // },
|
|
106
|
+
* // };
|
|
107
|
+
*
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @param GetPbxColleaguesCommandInput - {@link GetPbxColleaguesCommandInput}
|
|
111
|
+
* @returns {@link GetPbxColleaguesCommandOutput}
|
|
112
|
+
* @see {@link GetPbxColleaguesCommandInput} for command's `input` shape.
|
|
113
|
+
* @see {@link GetPbxColleaguesCommandOutput} for command's `response` shape.
|
|
114
|
+
* @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link WmsApiServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from WmsApi service.</p>
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
export declare class GetPbxColleaguesCommand extends $Command<GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput, WmsApiClientResolvedConfig> {
|
|
121
|
+
readonly input: GetPbxColleaguesCommandInput;
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
constructor(input: GetPbxColleaguesCommandInput);
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WmsApiClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput>;
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
private serialize;
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
private deserialize;
|
|
138
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface WmsApiExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* Base exception class for all service exceptions from WmsApi service.
|
|
7
|
+
*/
|
|
8
|
+
export declare class WmsApiServiceException extends __ServiceException {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(options: __ServiceExceptionOptions);
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AclGroupPermissionAbility: {
|
|
6
|
+
readonly CAN: "can";
|
|
7
|
+
readonly CANNOT: "cannot";
|
|
8
|
+
readonly NO: "no";
|
|
9
|
+
readonly YES: "yes";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type AclGroupPermissionAbility = typeof AclGroupPermissionAbility[keyof typeof AclGroupPermissionAbility];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export interface AclGroupPermissonFlatItem {
|
|
19
|
+
groupDn: string;
|
|
20
|
+
groupName: string;
|
|
21
|
+
access: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface AclGroupPermissonItem {
|
|
27
|
+
groupDn: string;
|
|
28
|
+
groupName: string;
|
|
29
|
+
access: boolean;
|
|
30
|
+
subGroups: (AclGroupPermissonFlatItem)[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface AclGroupPermisson {
|
|
36
|
+
ability: AclGroupPermissionAbility | string;
|
|
37
|
+
key: string;
|
|
38
|
+
name: string;
|
|
39
|
+
containSubGroups: boolean;
|
|
40
|
+
groups: (AclGroupPermissonItem)[];
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const PbxLicenseType: {
|
|
47
|
+
readonly BASIC: "basic";
|
|
48
|
+
readonly BUSINESS: "business";
|
|
49
|
+
readonly ESSENTIAL: "essential";
|
|
50
|
+
readonly PREMIUM: "premium";
|
|
51
|
+
readonly WIZYCONF: "wizyconf";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* @enum
|
|
60
|
+
*/
|
|
61
|
+
export declare const ResponseType: {
|
|
62
|
+
readonly ERROR: "error";
|
|
63
|
+
readonly RESULT: "result";
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type ResponseType = typeof ResponseType[keyof typeof ResponseType];
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export interface GetPbxAclGroupsPermissionsOutput {
|
|
73
|
+
type: ResponseType | string;
|
|
74
|
+
result: (AclGroupPermisson)[];
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* @enum
|
|
79
|
+
*/
|
|
80
|
+
export declare const GetPbxColleaguesDir: {
|
|
81
|
+
readonly ASC: "asc";
|
|
82
|
+
readonly DESC: "desc";
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export type GetPbxColleaguesDir = typeof GetPbxColleaguesDir[keyof typeof GetPbxColleaguesDir];
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* @enum
|
|
91
|
+
*/
|
|
92
|
+
export declare const PbxColleaguesQueryField: {
|
|
93
|
+
readonly DEPARTMENT: "department";
|
|
94
|
+
readonly DIALPLAN: "dialplan";
|
|
95
|
+
readonly EMAIL: "email";
|
|
96
|
+
readonly EXTENSION: "extension";
|
|
97
|
+
readonly FAX_DIALPLAN: "faxDialplan";
|
|
98
|
+
readonly GROUP_DN: "groupDn";
|
|
99
|
+
readonly ID: "id";
|
|
100
|
+
readonly LANGUAGE: "language";
|
|
101
|
+
readonly LICENSE_TYPE: "licenseType";
|
|
102
|
+
readonly LOGIN: "login";
|
|
103
|
+
readonly MOBILE_PHONE: "mobilePhone";
|
|
104
|
+
readonly NAME: "name";
|
|
105
|
+
readonly OFFICE_PHONE: "officePhone";
|
|
106
|
+
readonly PBX_DN: "pbxDn";
|
|
107
|
+
readonly PICTURE: "picture";
|
|
108
|
+
readonly ROLE: "role";
|
|
109
|
+
readonly SOURCE_ID: "sourceId";
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export type PbxColleaguesQueryField = typeof PbxColleaguesQueryField[keyof typeof PbxColleaguesQueryField];
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* @enum
|
|
118
|
+
*/
|
|
119
|
+
export declare const PbxColleaguesSearchStrategy: {
|
|
120
|
+
readonly CONTAIN: "contain";
|
|
121
|
+
readonly STARTS_WITH: "startsWith";
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export type PbxColleaguesSearchStrategy = typeof PbxColleaguesSearchStrategy[keyof typeof PbxColleaguesSearchStrategy];
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export interface GetPbxColleaguesInput {
|
|
131
|
+
extension?: (string)[];
|
|
132
|
+
id?: (string)[];
|
|
133
|
+
officePhone?: (string)[];
|
|
134
|
+
mobilePhone?: (string)[];
|
|
135
|
+
name?: (string)[];
|
|
136
|
+
email?: (string)[];
|
|
137
|
+
role?: (string)[];
|
|
138
|
+
dialplan?: (string)[];
|
|
139
|
+
faxDialplan?: (string)[];
|
|
140
|
+
department?: (string)[];
|
|
141
|
+
login?: (string)[];
|
|
142
|
+
groupDn?: (string)[];
|
|
143
|
+
pbxDn?: (string)[];
|
|
144
|
+
licenseType?: (PbxLicenseType | string)[];
|
|
145
|
+
fields?: (PbxColleaguesQueryField | string)[];
|
|
146
|
+
searchFields?: (PbxColleaguesQueryField | string)[];
|
|
147
|
+
search?: string;
|
|
148
|
+
sort?: (PbxColleaguesQueryField | string)[];
|
|
149
|
+
start?: number;
|
|
150
|
+
count?: number;
|
|
151
|
+
dir?: GetPbxColleaguesDir | string;
|
|
152
|
+
searchStrategy?: PbxColleaguesSearchStrategy | string;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
* @enum
|
|
157
|
+
*/
|
|
158
|
+
export declare const PbxColleagueRole: {
|
|
159
|
+
readonly ADMIN: "admin";
|
|
160
|
+
readonly FAX: "fax";
|
|
161
|
+
readonly PARK_ORBIT: "park_orbit";
|
|
162
|
+
readonly ROOM: "room";
|
|
163
|
+
readonly USER: "user";
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export type PbxColleagueRole = typeof PbxColleagueRole[keyof typeof PbxColleagueRole];
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
export interface PbxColleague {
|
|
173
|
+
id: string;
|
|
174
|
+
name?: string;
|
|
175
|
+
login?: string;
|
|
176
|
+
extension: string;
|
|
177
|
+
officePhone?: string;
|
|
178
|
+
mobilePhone?: string;
|
|
179
|
+
faxNumber?: string;
|
|
180
|
+
email?: string;
|
|
181
|
+
pbxDn: string;
|
|
182
|
+
pbx: string;
|
|
183
|
+
role: PbxColleagueRole | string;
|
|
184
|
+
groupName: string;
|
|
185
|
+
groupDn: string;
|
|
186
|
+
language: string;
|
|
187
|
+
dialplan: string;
|
|
188
|
+
faxDialplan: string;
|
|
189
|
+
department?: string;
|
|
190
|
+
picture: string;
|
|
191
|
+
sourceId?: string;
|
|
192
|
+
licenseType: PbxLicenseType | string;
|
|
193
|
+
jid: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export interface GetPbxColleaguesResult {
|
|
199
|
+
records: (PbxColleague)[];
|
|
200
|
+
total: number;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export interface GetPbxColleaguesOutput {
|
|
206
|
+
type: ResponseType | string;
|
|
207
|
+
result: GetPbxColleaguesResult;
|
|
208
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GetPbxAclGroupsPermissionsCommandInput, GetPbxAclGroupsPermissionsCommandOutput } from "../commands/GetPbxAclGroupsPermissionsCommand";
|
|
2
|
+
import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "../commands/GetPbxColleaguesCommand";
|
|
3
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
4
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* serializeAws_restJson1GetPbxAclGroupsPermissionsCommand
|
|
7
|
+
*/
|
|
8
|
+
export declare const se_GetPbxAclGroupsPermissionsCommand: (input: GetPbxAclGroupsPermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
|
+
/**
|
|
10
|
+
* serializeAws_restJson1GetPbxColleaguesCommand
|
|
11
|
+
*/
|
|
12
|
+
export declare const se_GetPbxColleaguesCommand: (input: GetPbxColleaguesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
/**
|
|
14
|
+
* deserializeAws_restJson1GetPbxAclGroupsPermissionsCommand
|
|
15
|
+
*/
|
|
16
|
+
export declare const de_GetPbxAclGroupsPermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPbxAclGroupsPermissionsCommandOutput>;
|
|
17
|
+
/**
|
|
18
|
+
* deserializeAws_restJson1GetPbxColleaguesCommand
|
|
19
|
+
*/
|
|
20
|
+
export declare const de_GetPbxColleaguesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPbxColleaguesCommandOutput>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { WmsApiClientConfig } from "./WmsApiClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
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> & {
|
|
12
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
+
httpHandlerConfigs(): {};
|
|
14
|
+
}) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
domain: string;
|
|
19
|
+
port?: number | undefined;
|
|
20
|
+
token: import("@wildix/smithy-utils").TokenProvider;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
23
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
25
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
27
|
+
disableHostPrefix: boolean;
|
|
28
|
+
logger: import("@smithy/types").Logger;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { WmsApiClientConfig } from "./WmsApiClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
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> & {
|
|
12
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
+
httpHandlerConfigs(): {};
|
|
14
|
+
}) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
domain: string;
|
|
19
|
+
port?: number | undefined;
|
|
20
|
+
token: import("@wildix/smithy-utils").TokenProvider;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
23
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
25
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
27
|
+
disableHostPrefix: boolean;
|
|
28
|
+
logger: import("@smithy/types").Logger;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { WmsApiClientConfig } from "./WmsApiClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
domain: string;
|
|
9
|
+
port?: number | undefined;
|
|
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> & {
|
|
12
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
+
httpHandlerConfigs(): {};
|
|
14
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
15
|
+
apiVersion: string;
|
|
16
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
17
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
21
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
|
+
logger: import("@smithy/types").Logger;
|
|
27
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
|
+
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
29
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WmsApiClientConfig } from "./WmsApiClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: WmsApiClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
11
|
+
logger: import("@smithy/types").Logger;
|
|
12
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
13
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WmsApiExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: WmsApiExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wildix/wms-api-client",
|
|
3
|
+
"description": "@wildix/wms-api-client client",
|
|
4
|
+
"version": "1.0.1",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
|
+
"prepack": "yarn run clean && yarn run build"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist-cjs/index.js",
|
|
16
|
+
"types": "./dist-types/index.d.ts",
|
|
17
|
+
"module": "./dist-es/index.js",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"tslib": "^2.5.0",
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/types": "latest",
|
|
24
|
+
"@smithy/config-resolver": "^2.0.11",
|
|
25
|
+
"@smithy/fetch-http-handler": "^2.2.1",
|
|
26
|
+
"@smithy/hash-node": "^2.0.10",
|
|
27
|
+
"@smithy/invalid-dependency": "^2.0.10",
|
|
28
|
+
"@smithy/middleware-content-length": "^2.0.12",
|
|
29
|
+
"@smithy/middleware-retry": "^2.0.13",
|
|
30
|
+
"@smithy/middleware-serde": "^2.0.10",
|
|
31
|
+
"@smithy/middleware-stack": "^2.0.4",
|
|
32
|
+
"@smithy/node-config-provider": "^2.0.13",
|
|
33
|
+
"@smithy/node-http-handler": "^2.1.6",
|
|
34
|
+
"@smithy/protocol-http": "^3.0.6",
|
|
35
|
+
"@smithy/smithy-client": "^2.1.9",
|
|
36
|
+
"@smithy/types": "^2.3.4",
|
|
37
|
+
"@smithy/url-parser": "^2.0.10",
|
|
38
|
+
"@smithy/util-base64": "^2.0.0",
|
|
39
|
+
"@smithy/util-body-length-browser": "^2.0.0",
|
|
40
|
+
"@smithy/util-body-length-node": "^2.1.0",
|
|
41
|
+
"@smithy/util-defaults-mode-browser": "^2.0.13",
|
|
42
|
+
"@smithy/util-defaults-mode-node": "^2.0.15",
|
|
43
|
+
"@smithy/util-retry": "^2.0.3",
|
|
44
|
+
"@smithy/util-utf8": "^2.0.0",
|
|
45
|
+
"@wildix/smithy-utils": "latest"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@tsconfig/node14": "1.0.3",
|
|
49
|
+
"concurrently": "7.0.0",
|
|
50
|
+
"downlevel-dts": "0.10.1",
|
|
51
|
+
"rimraf": "^3.0.0",
|
|
52
|
+
"typedoc": "0.23.23",
|
|
53
|
+
"typescript": "~4.9.5",
|
|
54
|
+
"@smithy/service-client-documentation-generator": "^2.0.0",
|
|
55
|
+
"@types/node": "^14.14.31"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=14.0.0"
|
|
59
|
+
},
|
|
60
|
+
"typesVersions": {
|
|
61
|
+
"<4.0": {
|
|
62
|
+
"dist-types/*": [
|
|
63
|
+
"dist-types/ts3.4/*"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"files": [
|
|
68
|
+
"dist-*/**"
|
|
69
|
+
],
|
|
70
|
+
"license": "Apache-2.0",
|
|
71
|
+
"browser": {
|
|
72
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
73
|
+
},
|
|
74
|
+
"react-native": {
|
|
75
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
76
|
+
}
|
|
77
|
+
}
|