@wildix/xbees-users-client 4.0.12 → 4.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.
- package/dist-cjs/schemas/schemas_0.js +21 -18
- package/dist-es/schemas/schemas_0.js +21 -18
- package/dist-types/commands/GetAccountCommand.d.ts +1 -91
- package/dist-types/commands/ListWorkspacesCommand.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +85 -63
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +4 -3
|
@@ -305,8 +305,8 @@ const _ht = "http";
|
|
|
305
305
|
const _i = "id";
|
|
306
306
|
const _iAKC = "integrationApiKeysCount";
|
|
307
307
|
const _iT = "integrationType";
|
|
308
|
-
const _id = "
|
|
309
|
-
const _ide = "
|
|
308
|
+
const _id = "identity";
|
|
309
|
+
const _ide = "identities";
|
|
310
310
|
const _in = "instructions";
|
|
311
311
|
const _inf = "info";
|
|
312
312
|
const _int = "integration";
|
|
@@ -320,7 +320,8 @@ const _kb = "kb";
|
|
|
320
320
|
const _ke = "keys";
|
|
321
321
|
const _l = "language";
|
|
322
322
|
const _lT = "licenseType";
|
|
323
|
-
const _li = "
|
|
323
|
+
const _li = "limit";
|
|
324
|
+
const _lic = "license";
|
|
324
325
|
const _ll = "llm";
|
|
325
326
|
const _lo = "login";
|
|
326
327
|
const _loc = "locale";
|
|
@@ -333,11 +334,12 @@ const _n = "name";
|
|
|
333
334
|
const _nA = "networkAddresses";
|
|
334
335
|
const _nD = "newData";
|
|
335
336
|
const _no = "notifications";
|
|
336
|
-
const _o = "
|
|
337
|
+
const _o = "offset";
|
|
337
338
|
const _oAA = "openAiAssistant";
|
|
338
339
|
const _oD = "oldData";
|
|
339
340
|
const _oP = "officePhone";
|
|
340
341
|
const _oa = "oauth";
|
|
342
|
+
const _ot = "otp";
|
|
341
343
|
const _p = "pbx";
|
|
342
344
|
const _pD = "pbxDn";
|
|
343
345
|
const _pDb = "pbxDomain";
|
|
@@ -394,6 +396,7 @@ const _ti = "timeout";
|
|
|
394
396
|
const _to = "tools";
|
|
395
397
|
const _tok = "token";
|
|
396
398
|
const _too = "tool";
|
|
399
|
+
const _tot = "total";
|
|
397
400
|
const _tr = "transcription";
|
|
398
401
|
const _u = "users";
|
|
399
402
|
const _uA = "updatedAt";
|
|
@@ -828,8 +831,8 @@ exports.GetAccountInput$ = [3, n3, _GAI,
|
|
|
828
831
|
];
|
|
829
832
|
exports.GetAccountOutput$ = [3, n3, _GAO,
|
|
830
833
|
0,
|
|
831
|
-
[_ac
|
|
832
|
-
[() => exports.Account
|
|
834
|
+
[_ac],
|
|
835
|
+
[() => exports.Account$], 1
|
|
833
836
|
];
|
|
834
837
|
exports.GetAppVersionInput$ = [3, n3, _GAVI,
|
|
835
838
|
0,
|
|
@@ -913,7 +916,7 @@ exports.GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
|
|
|
913
916
|
];
|
|
914
917
|
exports.Identity$ = [3, n3, _I,
|
|
915
918
|
0,
|
|
916
|
-
[
|
|
919
|
+
[_id, _ac, _ver],
|
|
917
920
|
[0, 0, 2], 2
|
|
918
921
|
];
|
|
919
922
|
exports.IntelligenceSearchInput$ = [3, n3, _ISI,
|
|
@@ -938,12 +941,12 @@ exports.InviteOutput$ = [3, n3, _IO,
|
|
|
938
941
|
];
|
|
939
942
|
exports.LinkIdentityInput$ = [3, n3, _LII,
|
|
940
943
|
0,
|
|
941
|
-
[_aIc,
|
|
944
|
+
[_aIc, _id],
|
|
942
945
|
[[0, 1], 0], 2
|
|
943
946
|
];
|
|
944
947
|
exports.LinkIdentityOutput$ = [3, n3, _LIO,
|
|
945
948
|
0,
|
|
946
|
-
[
|
|
949
|
+
[_id],
|
|
947
950
|
[() => exports.Identity$], 1
|
|
948
951
|
];
|
|
949
952
|
exports.ListBotApiKeysInput$ = [3, n3, _LBAKI,
|
|
@@ -973,18 +976,18 @@ exports.ListIdentitiesInput$ = [3, n3, _LIIi,
|
|
|
973
976
|
];
|
|
974
977
|
exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
|
|
975
978
|
0,
|
|
976
|
-
[
|
|
979
|
+
[_ide],
|
|
977
980
|
[() => IdentityList], 1
|
|
978
981
|
];
|
|
979
982
|
exports.ListWorkspacesInput$ = [3, n3, _LWI,
|
|
980
983
|
0,
|
|
981
|
-
[_aIc],
|
|
982
|
-
[[0, 1]], 1
|
|
984
|
+
[_aIc, _li, _o, _q],
|
|
985
|
+
[[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _o }], [0, { [_hQ]: _q }]], 1
|
|
983
986
|
];
|
|
984
987
|
exports.ListWorkspacesOutput$ = [3, n3, _LWO,
|
|
985
988
|
0,
|
|
986
|
-
[_w],
|
|
987
|
-
[() => WorkspaceList], 1
|
|
989
|
+
[_w, _tot],
|
|
990
|
+
[() => WorkspaceList, 1], 1
|
|
988
991
|
];
|
|
989
992
|
exports.NewEmailData$ = [3, n3, _NED,
|
|
990
993
|
0,
|
|
@@ -1068,7 +1071,7 @@ exports.ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
|
|
|
1068
1071
|
];
|
|
1069
1072
|
exports.UnlinkIdentityInput$ = [3, n3, _UII,
|
|
1070
1073
|
0,
|
|
1071
|
-
[_aIc,
|
|
1074
|
+
[_aIc, _id],
|
|
1072
1075
|
[[0, 1], [0, 1]], 2
|
|
1073
1076
|
];
|
|
1074
1077
|
exports.UnlinkIdentityOutput$ = [3, n3, _UIO,
|
|
@@ -1198,7 +1201,7 @@ exports.UserPersonalInfo$ = [3, n3, _UPIse,
|
|
|
1198
1201
|
];
|
|
1199
1202
|
exports.UserQueryPredicate$ = [3, n3, _UQP,
|
|
1200
1203
|
0,
|
|
1201
|
-
[
|
|
1204
|
+
[_lic],
|
|
1202
1205
|
[0]
|
|
1203
1206
|
];
|
|
1204
1207
|
exports.VerifyBotSecretKeyInput$ = [3, n3, _VBSKI,
|
|
@@ -1223,12 +1226,12 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
|
|
|
1223
1226
|
];
|
|
1224
1227
|
exports.VerifyIdentityInput$ = [3, n3, _VII,
|
|
1225
1228
|
0,
|
|
1226
|
-
[_aIc,
|
|
1229
|
+
[_aIc, _id, _ot],
|
|
1227
1230
|
[[0, 1], 0, 0], 3
|
|
1228
1231
|
];
|
|
1229
1232
|
exports.VerifyIdentityOutput$ = [3, n3, _VIO,
|
|
1230
1233
|
0,
|
|
1231
|
-
[
|
|
1234
|
+
[_id],
|
|
1232
1235
|
[() => exports.Identity$], 1
|
|
1233
1236
|
];
|
|
1234
1237
|
exports.Workspace$ = [3, n3, _W,
|
|
@@ -298,8 +298,8 @@ const _ht = "http";
|
|
|
298
298
|
const _i = "id";
|
|
299
299
|
const _iAKC = "integrationApiKeysCount";
|
|
300
300
|
const _iT = "integrationType";
|
|
301
|
-
const _id = "
|
|
302
|
-
const _ide = "
|
|
301
|
+
const _id = "identity";
|
|
302
|
+
const _ide = "identities";
|
|
303
303
|
const _in = "instructions";
|
|
304
304
|
const _inf = "info";
|
|
305
305
|
const _int = "integration";
|
|
@@ -313,7 +313,8 @@ const _kb = "kb";
|
|
|
313
313
|
const _ke = "keys";
|
|
314
314
|
const _l = "language";
|
|
315
315
|
const _lT = "licenseType";
|
|
316
|
-
const _li = "
|
|
316
|
+
const _li = "limit";
|
|
317
|
+
const _lic = "license";
|
|
317
318
|
const _ll = "llm";
|
|
318
319
|
const _lo = "login";
|
|
319
320
|
const _loc = "locale";
|
|
@@ -326,11 +327,12 @@ const _n = "name";
|
|
|
326
327
|
const _nA = "networkAddresses";
|
|
327
328
|
const _nD = "newData";
|
|
328
329
|
const _no = "notifications";
|
|
329
|
-
const _o = "
|
|
330
|
+
const _o = "offset";
|
|
330
331
|
const _oAA = "openAiAssistant";
|
|
331
332
|
const _oD = "oldData";
|
|
332
333
|
const _oP = "officePhone";
|
|
333
334
|
const _oa = "oauth";
|
|
335
|
+
const _ot = "otp";
|
|
334
336
|
const _p = "pbx";
|
|
335
337
|
const _pD = "pbxDn";
|
|
336
338
|
const _pDb = "pbxDomain";
|
|
@@ -387,6 +389,7 @@ const _ti = "timeout";
|
|
|
387
389
|
const _to = "tools";
|
|
388
390
|
const _tok = "token";
|
|
389
391
|
const _too = "tool";
|
|
392
|
+
const _tot = "total";
|
|
390
393
|
const _tr = "transcription";
|
|
391
394
|
const _u = "users";
|
|
392
395
|
const _uA = "updatedAt";
|
|
@@ -821,8 +824,8 @@ export var GetAccountInput$ = [3, n3, _GAI,
|
|
|
821
824
|
];
|
|
822
825
|
export var GetAccountOutput$ = [3, n3, _GAO,
|
|
823
826
|
0,
|
|
824
|
-
[_ac
|
|
825
|
-
[() => Account
|
|
827
|
+
[_ac],
|
|
828
|
+
[() => Account$], 1
|
|
826
829
|
];
|
|
827
830
|
export var GetAppVersionInput$ = [3, n3, _GAVI,
|
|
828
831
|
0,
|
|
@@ -906,7 +909,7 @@ export var GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
|
|
|
906
909
|
];
|
|
907
910
|
export var Identity$ = [3, n3, _I,
|
|
908
911
|
0,
|
|
909
|
-
[
|
|
912
|
+
[_id, _ac, _ver],
|
|
910
913
|
[0, 0, 2], 2
|
|
911
914
|
];
|
|
912
915
|
export var IntelligenceSearchInput$ = [3, n3, _ISI,
|
|
@@ -931,12 +934,12 @@ export var InviteOutput$ = [3, n3, _IO,
|
|
|
931
934
|
];
|
|
932
935
|
export var LinkIdentityInput$ = [3, n3, _LII,
|
|
933
936
|
0,
|
|
934
|
-
[_aIc,
|
|
937
|
+
[_aIc, _id],
|
|
935
938
|
[[0, 1], 0], 2
|
|
936
939
|
];
|
|
937
940
|
export var LinkIdentityOutput$ = [3, n3, _LIO,
|
|
938
941
|
0,
|
|
939
|
-
[
|
|
942
|
+
[_id],
|
|
940
943
|
[() => Identity$], 1
|
|
941
944
|
];
|
|
942
945
|
export var ListBotApiKeysInput$ = [3, n3, _LBAKI,
|
|
@@ -966,18 +969,18 @@ export var ListIdentitiesInput$ = [3, n3, _LIIi,
|
|
|
966
969
|
];
|
|
967
970
|
export var ListIdentitiesOutput$ = [3, n3, _LIOi,
|
|
968
971
|
0,
|
|
969
|
-
[
|
|
972
|
+
[_ide],
|
|
970
973
|
[() => IdentityList], 1
|
|
971
974
|
];
|
|
972
975
|
export var ListWorkspacesInput$ = [3, n3, _LWI,
|
|
973
976
|
0,
|
|
974
|
-
[_aIc],
|
|
975
|
-
[[0, 1]], 1
|
|
977
|
+
[_aIc, _li, _o, _q],
|
|
978
|
+
[[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _o }], [0, { [_hQ]: _q }]], 1
|
|
976
979
|
];
|
|
977
980
|
export var ListWorkspacesOutput$ = [3, n3, _LWO,
|
|
978
981
|
0,
|
|
979
|
-
[_w],
|
|
980
|
-
[() => WorkspaceList], 1
|
|
982
|
+
[_w, _tot],
|
|
983
|
+
[() => WorkspaceList, 1], 1
|
|
981
984
|
];
|
|
982
985
|
export var NewEmailData$ = [3, n3, _NED,
|
|
983
986
|
0,
|
|
@@ -1061,7 +1064,7 @@ export var ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
|
|
|
1061
1064
|
];
|
|
1062
1065
|
export var UnlinkIdentityInput$ = [3, n3, _UII,
|
|
1063
1066
|
0,
|
|
1064
|
-
[_aIc,
|
|
1067
|
+
[_aIc, _id],
|
|
1065
1068
|
[[0, 1], [0, 1]], 2
|
|
1066
1069
|
];
|
|
1067
1070
|
export var UnlinkIdentityOutput$ = [3, n3, _UIO,
|
|
@@ -1191,7 +1194,7 @@ export var UserPersonalInfo$ = [3, n3, _UPIse,
|
|
|
1191
1194
|
];
|
|
1192
1195
|
export var UserQueryPredicate$ = [3, n3, _UQP,
|
|
1193
1196
|
0,
|
|
1194
|
-
[
|
|
1197
|
+
[_lic],
|
|
1195
1198
|
[0]
|
|
1196
1199
|
];
|
|
1197
1200
|
export var VerifyBotSecretKeyInput$ = [3, n3, _VBSKI,
|
|
@@ -1216,12 +1219,12 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
|
|
|
1216
1219
|
];
|
|
1217
1220
|
export var VerifyIdentityInput$ = [3, n3, _VII,
|
|
1218
1221
|
0,
|
|
1219
|
-
[_aIc,
|
|
1222
|
+
[_aIc, _id, _ot],
|
|
1220
1223
|
[[0, 1], 0, 0], 3
|
|
1221
1224
|
];
|
|
1222
1225
|
export var VerifyIdentityOutput$ = [3, n3, _VIO,
|
|
1223
1226
|
0,
|
|
1224
|
-
[
|
|
1227
|
+
[_id],
|
|
1225
1228
|
[() => Identity$], 1
|
|
1226
1229
|
];
|
|
1227
1230
|
export var Workspace$ = [3, n3, _W,
|
|
@@ -27,7 +27,7 @@ declare const GetAccountCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Retrieves the
|
|
30
|
+
* Retrieves the account.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -47,96 +47,6 @@ declare const GetAccountCommand_base: {
|
|
|
47
47
|
* // defaultWorkspace: "STRING_VALUE",
|
|
48
48
|
* // primaryIdentity: "STRING_VALUE",
|
|
49
49
|
* // },
|
|
50
|
-
* // workspaces: [ // WorkspaceList // required
|
|
51
|
-
* // { // Workspace
|
|
52
|
-
* // companyId: "STRING_VALUE",
|
|
53
|
-
* // pbxUser: { // UserPbxLinkData
|
|
54
|
-
* // id: "STRING_VALUE", // required
|
|
55
|
-
* // company: "STRING_VALUE", // required
|
|
56
|
-
* // companyName: "STRING_VALUE",
|
|
57
|
-
* // domain: "STRING_VALUE", // required
|
|
58
|
-
* // email: "STRING_VALUE",
|
|
59
|
-
* // info: { // UserPersonalInfo
|
|
60
|
-
* // dn: "STRING_VALUE", // required
|
|
61
|
-
* // id: "STRING_VALUE", // required
|
|
62
|
-
* // name: "STRING_VALUE", // required
|
|
63
|
-
* // extension: "STRING_VALUE", // required
|
|
64
|
-
* // officePhone: "STRING_VALUE",
|
|
65
|
-
* // mobilePhone: "STRING_VALUE",
|
|
66
|
-
* // faxNumber: "STRING_VALUE",
|
|
67
|
-
* // email: "STRING_VALUE",
|
|
68
|
-
* // role: "STRING_VALUE", // required
|
|
69
|
-
* // language: "STRING_VALUE", // required
|
|
70
|
-
* // dialplan: "STRING_VALUE", // required
|
|
71
|
-
* // faxDialplan: "STRING_VALUE", // required
|
|
72
|
-
* // departament: "STRING_VALUE",
|
|
73
|
-
* // picture: "STRING_VALUE", // required
|
|
74
|
-
* // groupDn: "STRING_VALUE", // required
|
|
75
|
-
* // groupName: "STRING_VALUE", // required
|
|
76
|
-
* // jid: "STRING_VALUE", // required
|
|
77
|
-
* // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
|
|
78
|
-
* // login: "STRING_VALUE",
|
|
79
|
-
* // pbx: "STRING_VALUE",
|
|
80
|
-
* // pbxDn: "STRING_VALUE", // required
|
|
81
|
-
* // sourceId: "STRING_VALUE",
|
|
82
|
-
* // sipPassword: "STRING_VALUE",
|
|
83
|
-
* // },
|
|
84
|
-
* // pbx: { // UserPbxInfo
|
|
85
|
-
* // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
|
|
86
|
-
* // "STRING_VALUE",
|
|
87
|
-
* // ],
|
|
88
|
-
* // ports: [ // UserPbxInfoPorts // required
|
|
89
|
-
* // "STRING_VALUE",
|
|
90
|
-
* // ],
|
|
91
|
-
* // externalLinePrefix: "STRING_VALUE",
|
|
92
|
-
* // version: "STRING_VALUE", // required
|
|
93
|
-
* // serial: "STRING_VALUE", // required
|
|
94
|
-
* // },
|
|
95
|
-
* // picture: "STRING_VALUE", // required
|
|
96
|
-
* // pictureDeleted: true || false,
|
|
97
|
-
* // port: "STRING_VALUE", // required
|
|
98
|
-
* // serial: "STRING_VALUE", // required
|
|
99
|
-
* // services: { // UserPbxServices
|
|
100
|
-
* // xcaracal: true || false,
|
|
101
|
-
* // wizyWebinar: true || false,
|
|
102
|
-
* // },
|
|
103
|
-
* // personalSettings: {},
|
|
104
|
-
* // dialplanSettings: {},
|
|
105
|
-
* // awsRegion: "STRING_VALUE",
|
|
106
|
-
* // updatedAt: "STRING_VALUE",
|
|
107
|
-
* // },
|
|
108
|
-
* // streamUser: { // User
|
|
109
|
-
* // id: "STRING_VALUE", // required
|
|
110
|
-
* // name: "STRING_VALUE",
|
|
111
|
-
* // email: "STRING_VALUE",
|
|
112
|
-
* // phone: "STRING_VALUE",
|
|
113
|
-
* // picture: "STRING_VALUE",
|
|
114
|
-
* // locale: "STRING_VALUE",
|
|
115
|
-
* // timeZone: "STRING_VALUE",
|
|
116
|
-
* // company: "STRING_VALUE",
|
|
117
|
-
* // bot: true || false,
|
|
118
|
-
* // pbxDomain: "STRING_VALUE",
|
|
119
|
-
* // pbxPort: "STRING_VALUE",
|
|
120
|
-
* // pbxExtension: "STRING_VALUE",
|
|
121
|
-
* // pbxSerial: "STRING_VALUE",
|
|
122
|
-
* // pbxUserId: "STRING_VALUE",
|
|
123
|
-
* // pbxGroupId: "STRING_VALUE",
|
|
124
|
-
* // createdAt: "STRING_VALUE",
|
|
125
|
-
* // updatedAt: "STRING_VALUE",
|
|
126
|
-
* // },
|
|
127
|
-
* // type: "personal" || "work" || "support",
|
|
128
|
-
* // id: "STRING_VALUE", // required
|
|
129
|
-
* // accountId: "STRING_VALUE", // required
|
|
130
|
-
* // active: true || false, // required
|
|
131
|
-
* // },
|
|
132
|
-
* // ],
|
|
133
|
-
* // identities: [ // IdentityList // required
|
|
134
|
-
* // { // Identity
|
|
135
|
-
* // identity: "STRING_VALUE", // required
|
|
136
|
-
* // account: "STRING_VALUE", // required
|
|
137
|
-
* // verified: true || false,
|
|
138
|
-
* // },
|
|
139
|
-
* // ],
|
|
140
50
|
* // };
|
|
141
51
|
*
|
|
142
52
|
* ```
|
|
@@ -27,7 +27,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Lists
|
|
30
|
+
* Lists workspaces available to the account. Without limit, returns every workspace. With limit, returns one page of active work workspaces: query narrows that set by PBX domain before the page is sliced, offset skips into the filtered set, and each workspace includes pbxUser when a PBX record exists.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -38,6 +38,9 @@ declare const ListWorkspacesCommand_base: {
|
|
|
38
38
|
* const client = new UsersClient(config);
|
|
39
39
|
* const input = { // ListWorkspacesInput
|
|
40
40
|
* accountId: "STRING_VALUE", // required
|
|
41
|
+
* limit: Number("int"),
|
|
42
|
+
* offset: Number("int"),
|
|
43
|
+
* query: "STRING_VALUE",
|
|
41
44
|
* };
|
|
42
45
|
* const command = new ListWorkspacesCommand(input);
|
|
43
46
|
* const response = await client.send(command);
|
|
@@ -125,6 +128,7 @@ declare const ListWorkspacesCommand_base: {
|
|
|
125
128
|
* // active: true || false, // required
|
|
126
129
|
* // },
|
|
127
130
|
* // ],
|
|
131
|
+
* // total: Number("int"),
|
|
128
132
|
* // };
|
|
129
133
|
*
|
|
130
134
|
* ```
|
|
@@ -105,7 +105,7 @@ export interface UserToInvite {
|
|
|
105
105
|
*/
|
|
106
106
|
email?: string | undefined;
|
|
107
107
|
/**
|
|
108
|
-
* The phone number of the invited user. This phone number is used to create or find the user if an email address is not provided. On
|
|
108
|
+
* The phone number of the invited user. This phone number is used to create or find the user if an email address is not provided. On a customer messaging channel (see MessagingChannel) it is not a phone number at all: the caller passes the channel's own customer id, the Page Scoped ID on Messenger, so the identity key stays the one the supplier reports. UserPhone allows up to 17 digits and a Page Scoped ID is 17, so there is no headroom left, and the Instagram scoped id has to be checked against the same limit.
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
111
|
phone?: string | undefined;
|
|
@@ -1315,73 +1315,11 @@ export interface GetAccountInput {
|
|
|
1315
1315
|
*/
|
|
1316
1316
|
accountId: string;
|
|
1317
1317
|
}
|
|
1318
|
-
/**
|
|
1319
|
-
* @public
|
|
1320
|
-
*/
|
|
1321
|
-
export interface Identity {
|
|
1322
|
-
/**
|
|
1323
|
-
* The identity value (email address or phone number in E.164)
|
|
1324
|
-
* @public
|
|
1325
|
-
*/
|
|
1326
|
-
identity: string;
|
|
1327
|
-
/**
|
|
1328
|
-
* The unique identifier of the account.
|
|
1329
|
-
* @public
|
|
1330
|
-
*/
|
|
1331
|
-
account: string;
|
|
1332
|
-
/**
|
|
1333
|
-
* Indicates if the identity is verified.
|
|
1334
|
-
* @public
|
|
1335
|
-
*/
|
|
1336
|
-
verified?: boolean | undefined;
|
|
1337
|
-
}
|
|
1338
|
-
/**
|
|
1339
|
-
* @public
|
|
1340
|
-
*/
|
|
1341
|
-
export interface Workspace {
|
|
1342
|
-
/**
|
|
1343
|
-
* The unique identifier of the tenant (company).
|
|
1344
|
-
* @public
|
|
1345
|
-
*/
|
|
1346
|
-
companyId?: string | undefined;
|
|
1347
|
-
/**
|
|
1348
|
-
* PBX information where user connected to.
|
|
1349
|
-
* @public
|
|
1350
|
-
*/
|
|
1351
|
-
pbxUser?: UserPbxLinkData | undefined;
|
|
1352
|
-
/**
|
|
1353
|
-
* Personal information of the user. If user is not logged in yet, this field will might be empty.
|
|
1354
|
-
* @public
|
|
1355
|
-
*/
|
|
1356
|
-
streamUser?: User | undefined;
|
|
1357
|
-
/**
|
|
1358
|
-
* The type of workspace.
|
|
1359
|
-
* @public
|
|
1360
|
-
*/
|
|
1361
|
-
type?: WorkspaceType | undefined;
|
|
1362
|
-
/**
|
|
1363
|
-
* The unique identifier
|
|
1364
|
-
* @public
|
|
1365
|
-
*/
|
|
1366
|
-
id: string;
|
|
1367
|
-
/**
|
|
1368
|
-
* The unique identifier of the account.
|
|
1369
|
-
* @public
|
|
1370
|
-
*/
|
|
1371
|
-
accountId: string;
|
|
1372
|
-
/**
|
|
1373
|
-
* Indicates if the workspace is active.
|
|
1374
|
-
* @public
|
|
1375
|
-
*/
|
|
1376
|
-
active: boolean;
|
|
1377
|
-
}
|
|
1378
1318
|
/**
|
|
1379
1319
|
* @public
|
|
1380
1320
|
*/
|
|
1381
1321
|
export interface GetAccountOutput {
|
|
1382
1322
|
account: Account;
|
|
1383
|
-
workspaces: Workspace[];
|
|
1384
|
-
identities: Identity[];
|
|
1385
1323
|
}
|
|
1386
1324
|
/**
|
|
1387
1325
|
* @public
|
|
@@ -1524,6 +1462,26 @@ export interface GetUserPbxLinkSuggestionV1Output {
|
|
|
1524
1462
|
*/
|
|
1525
1463
|
suggestion?: UserPbxLinkSuggestion | undefined;
|
|
1526
1464
|
}
|
|
1465
|
+
/**
|
|
1466
|
+
* @public
|
|
1467
|
+
*/
|
|
1468
|
+
export interface Identity {
|
|
1469
|
+
/**
|
|
1470
|
+
* The identity value (email address or phone number in E.164)
|
|
1471
|
+
* @public
|
|
1472
|
+
*/
|
|
1473
|
+
identity: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* The unique identifier of the account.
|
|
1476
|
+
* @public
|
|
1477
|
+
*/
|
|
1478
|
+
account: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* Indicates if the identity is verified.
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
verified?: boolean | undefined;
|
|
1484
|
+
}
|
|
1527
1485
|
/**
|
|
1528
1486
|
* @public
|
|
1529
1487
|
*/
|
|
@@ -1651,12 +1609,76 @@ export interface ListWorkspacesInput {
|
|
|
1651
1609
|
* @public
|
|
1652
1610
|
*/
|
|
1653
1611
|
accountId: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* Maximum number of selectable workspaces to return, from 1 to 100. When omitted, every workspace is returned and offset and query are ignored.
|
|
1614
|
+
* @public
|
|
1615
|
+
*/
|
|
1616
|
+
limit?: number | undefined;
|
|
1617
|
+
/**
|
|
1618
|
+
* Number of selectable workspaces to skip before this page. Applied only when limit is set. Defaults to 0. An offset past the end returns an empty page.
|
|
1619
|
+
* @public
|
|
1620
|
+
*/
|
|
1621
|
+
offset?: number | undefined;
|
|
1622
|
+
/**
|
|
1623
|
+
* Case-insensitive substring matched against the PBX domain. Applied only when limit is set. Blank values are ignored. Does not change total.
|
|
1624
|
+
* @public
|
|
1625
|
+
*/
|
|
1626
|
+
query?: string | undefined;
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* @public
|
|
1630
|
+
*/
|
|
1631
|
+
export interface Workspace {
|
|
1632
|
+
/**
|
|
1633
|
+
* The unique identifier of the tenant (company).
|
|
1634
|
+
* @public
|
|
1635
|
+
*/
|
|
1636
|
+
companyId?: string | undefined;
|
|
1637
|
+
/**
|
|
1638
|
+
* Stored PBX link for this workspace. ListWorkspaces sets it on each returned workspace so the page includes domain and port. Omitted when the workspace has no PBX record.
|
|
1639
|
+
* @public
|
|
1640
|
+
*/
|
|
1641
|
+
pbxUser?: UserPbxLinkData | undefined;
|
|
1642
|
+
/**
|
|
1643
|
+
* Personal information of the user. If user is not logged in yet, this field will might be empty.
|
|
1644
|
+
* @public
|
|
1645
|
+
*/
|
|
1646
|
+
streamUser?: User | undefined;
|
|
1647
|
+
/**
|
|
1648
|
+
* The type of workspace.
|
|
1649
|
+
* @public
|
|
1650
|
+
*/
|
|
1651
|
+
type?: WorkspaceType | undefined;
|
|
1652
|
+
/**
|
|
1653
|
+
* The unique identifier
|
|
1654
|
+
* @public
|
|
1655
|
+
*/
|
|
1656
|
+
id: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* The unique identifier of the account.
|
|
1659
|
+
* @public
|
|
1660
|
+
*/
|
|
1661
|
+
accountId: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* Indicates if the workspace is active.
|
|
1664
|
+
* @public
|
|
1665
|
+
*/
|
|
1666
|
+
active: boolean;
|
|
1654
1667
|
}
|
|
1655
1668
|
/**
|
|
1656
1669
|
* @public
|
|
1657
1670
|
*/
|
|
1658
1671
|
export interface ListWorkspacesOutput {
|
|
1672
|
+
/**
|
|
1673
|
+
* Workspaces for this request. A paged response contains only active work workspaces, ordered with the account default first and the rest by domain.
|
|
1674
|
+
* @public
|
|
1675
|
+
*/
|
|
1659
1676
|
workspaces: Workspace[];
|
|
1677
|
+
/**
|
|
1678
|
+
* Number of selectable workspaces (active and type work), ignoring query and offset. Present when limit is set.
|
|
1679
|
+
* @public
|
|
1680
|
+
*/
|
|
1681
|
+
total?: number | undefined;
|
|
1660
1682
|
}
|
|
1661
1683
|
/**
|
|
1662
1684
|
* @public
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: ({
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: ({
|
|
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
39
39
|
tls?: boolean;
|
|
40
40
|
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
41
41
|
useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
42
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
45
|
httpAuthSchemes: ({
|
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": "4.
|
|
4
|
+
"version": "4.1.1",
|
|
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",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"@smithy/fetch-http-handler": "^5.4.5",
|
|
26
26
|
"@smithy/node-http-handler": "^4.7.5",
|
|
27
27
|
"@smithy/types": "^4.14.2",
|
|
28
|
-
"@wildix/smithy-react-native": "^1.0.0"
|
|
28
|
+
"@wildix/smithy-react-native": "^1.0.0",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.7.2"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@tsconfig/node20": "20.1.8",
|
|
@@ -56,4 +57,4 @@
|
|
|
56
57
|
"browser": {
|
|
57
58
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
58
59
|
}
|
|
59
|
-
}
|
|
60
|
+
}
|