@wildix/xbees-users-client 4.0.5 → 4.0.7

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.
@@ -304,8 +304,8 @@ const _ht = "http";
304
304
  const _i = "id";
305
305
  const _iAKC = "integrationApiKeysCount";
306
306
  const _iT = "integrationType";
307
- const _id = "identities";
308
- const _ide = "identity";
307
+ const _id = "identity";
308
+ const _ide = "identities";
309
309
  const _in = "instructions";
310
310
  const _inf = "info";
311
311
  const _int = "integration";
@@ -820,8 +820,8 @@ exports.GetAccountInput$ = [3, n3, _GAI,
820
820
  ];
821
821
  exports.GetAccountOutput$ = [3, n3, _GAO,
822
822
  0,
823
- [_ac, _w, _id],
824
- [() => exports.Account$, () => WorkspaceList, () => IdentityList], 3
823
+ [_ac],
824
+ [() => exports.Account$], 1
825
825
  ];
826
826
  exports.GetAppVersionInput$ = [3, n3, _GAVI,
827
827
  0,
@@ -905,7 +905,7 @@ exports.GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
905
905
  ];
906
906
  exports.Identity$ = [3, n3, _I,
907
907
  0,
908
- [_ide, _ac, _ver],
908
+ [_id, _ac, _ver],
909
909
  [0, 0, 2], 2
910
910
  ];
911
911
  exports.IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -930,12 +930,12 @@ exports.InviteOutput$ = [3, n3, _IO,
930
930
  ];
931
931
  exports.LinkIdentityInput$ = [3, n3, _LII,
932
932
  0,
933
- [_aIc, _ide],
933
+ [_aIc, _id],
934
934
  [[0, 1], 0], 2
935
935
  ];
936
936
  exports.LinkIdentityOutput$ = [3, n3, _LIO,
937
937
  0,
938
- [_ide],
938
+ [_id],
939
939
  [() => exports.Identity$], 1
940
940
  ];
941
941
  exports.ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -965,7 +965,7 @@ exports.ListIdentitiesInput$ = [3, n3, _LIIi,
965
965
  ];
966
966
  exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
967
967
  0,
968
- [_id],
968
+ [_ide],
969
969
  [() => IdentityList], 1
970
970
  ];
971
971
  exports.ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1060,7 +1060,7 @@ exports.ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1060
1060
  ];
1061
1061
  exports.UnlinkIdentityInput$ = [3, n3, _UII,
1062
1062
  0,
1063
- [_aIc, _ide],
1063
+ [_aIc, _id],
1064
1064
  [[0, 1], [0, 1]], 2
1065
1065
  ];
1066
1066
  exports.UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1215,12 +1215,12 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1215
1215
  ];
1216
1216
  exports.VerifyIdentityInput$ = [3, n3, _VII,
1217
1217
  0,
1218
- [_aIc, _ide, _o],
1218
+ [_aIc, _id, _o],
1219
1219
  [[0, 1], 0, 0], 3
1220
1220
  ];
1221
1221
  exports.VerifyIdentityOutput$ = [3, n3, _VIO,
1222
1222
  0,
1223
- [_ide],
1223
+ [_id],
1224
1224
  [() => exports.Identity$], 1
1225
1225
  ];
1226
1226
  exports.Workspace$ = [3, n3, _W,
@@ -297,8 +297,8 @@ const _ht = "http";
297
297
  const _i = "id";
298
298
  const _iAKC = "integrationApiKeysCount";
299
299
  const _iT = "integrationType";
300
- const _id = "identities";
301
- const _ide = "identity";
300
+ const _id = "identity";
301
+ const _ide = "identities";
302
302
  const _in = "instructions";
303
303
  const _inf = "info";
304
304
  const _int = "integration";
@@ -813,8 +813,8 @@ export var GetAccountInput$ = [3, n3, _GAI,
813
813
  ];
814
814
  export var GetAccountOutput$ = [3, n3, _GAO,
815
815
  0,
816
- [_ac, _w, _id],
817
- [() => Account$, () => WorkspaceList, () => IdentityList], 3
816
+ [_ac],
817
+ [() => Account$], 1
818
818
  ];
819
819
  export var GetAppVersionInput$ = [3, n3, _GAVI,
820
820
  0,
@@ -898,7 +898,7 @@ export var GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
898
898
  ];
899
899
  export var Identity$ = [3, n3, _I,
900
900
  0,
901
- [_ide, _ac, _ver],
901
+ [_id, _ac, _ver],
902
902
  [0, 0, 2], 2
903
903
  ];
904
904
  export var IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -923,12 +923,12 @@ export var InviteOutput$ = [3, n3, _IO,
923
923
  ];
924
924
  export var LinkIdentityInput$ = [3, n3, _LII,
925
925
  0,
926
- [_aIc, _ide],
926
+ [_aIc, _id],
927
927
  [[0, 1], 0], 2
928
928
  ];
929
929
  export var LinkIdentityOutput$ = [3, n3, _LIO,
930
930
  0,
931
- [_ide],
931
+ [_id],
932
932
  [() => Identity$], 1
933
933
  ];
934
934
  export var ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -958,7 +958,7 @@ export var ListIdentitiesInput$ = [3, n3, _LIIi,
958
958
  ];
959
959
  export var ListIdentitiesOutput$ = [3, n3, _LIOi,
960
960
  0,
961
- [_id],
961
+ [_ide],
962
962
  [() => IdentityList], 1
963
963
  ];
964
964
  export var ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1053,7 +1053,7 @@ export var ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1053
1053
  ];
1054
1054
  export var UnlinkIdentityInput$ = [3, n3, _UII,
1055
1055
  0,
1056
- [_aIc, _ide],
1056
+ [_aIc, _id],
1057
1057
  [[0, 1], [0, 1]], 2
1058
1058
  ];
1059
1059
  export var UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1208,12 +1208,12 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1208
1208
  ];
1209
1209
  export var VerifyIdentityInput$ = [3, n3, _VII,
1210
1210
  0,
1211
- [_aIc, _ide, _o],
1211
+ [_aIc, _id, _o],
1212
1212
  [[0, 1], 0, 0], 3
1213
1213
  ];
1214
1214
  export var VerifyIdentityOutput$ = [3, n3, _VIO,
1215
1215
  0,
1216
- [_ide],
1216
+ [_id],
1217
1217
  [() => Identity$], 1
1218
1218
  ];
1219
1219
  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 current account with identities and workspaces.
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
  * ```
@@ -1296,73 +1296,11 @@ export interface GetAccountInput {
1296
1296
  */
1297
1297
  accountId: string;
1298
1298
  }
1299
- /**
1300
- * @public
1301
- */
1302
- export interface Identity {
1303
- /**
1304
- * The identity value (email address or phone number in E.164)
1305
- * @public
1306
- */
1307
- identity: string;
1308
- /**
1309
- * The unique identifier of the account.
1310
- * @public
1311
- */
1312
- account: string;
1313
- /**
1314
- * Indicates if the identity is verified.
1315
- * @public
1316
- */
1317
- verified?: boolean | undefined;
1318
- }
1319
- /**
1320
- * @public
1321
- */
1322
- export interface Workspace {
1323
- /**
1324
- * The unique identifier of the tenant (company).
1325
- * @public
1326
- */
1327
- companyId?: string | undefined;
1328
- /**
1329
- * PBX information where user connected to.
1330
- * @public
1331
- */
1332
- pbxUser?: UserPbxLinkData | undefined;
1333
- /**
1334
- * Personal information of the user. If user is not logged in yet, this field will might be empty.
1335
- * @public
1336
- */
1337
- streamUser?: User | undefined;
1338
- /**
1339
- * The type of workspace.
1340
- * @public
1341
- */
1342
- type?: WorkspaceType | undefined;
1343
- /**
1344
- * The unique identifier
1345
- * @public
1346
- */
1347
- id: string;
1348
- /**
1349
- * The unique identifier of the account.
1350
- * @public
1351
- */
1352
- accountId: string;
1353
- /**
1354
- * Indicates if the workspace is active.
1355
- * @public
1356
- */
1357
- active: boolean;
1358
- }
1359
1299
  /**
1360
1300
  * @public
1361
1301
  */
1362
1302
  export interface GetAccountOutput {
1363
1303
  account: Account;
1364
- workspaces: Workspace[];
1365
- identities: Identity[];
1366
1304
  }
1367
1305
  /**
1368
1306
  * @public
@@ -1505,6 +1443,26 @@ export interface GetUserPbxLinkSuggestionV1Output {
1505
1443
  */
1506
1444
  suggestion?: UserPbxLinkSuggestion | undefined;
1507
1445
  }
1446
+ /**
1447
+ * @public
1448
+ */
1449
+ export interface Identity {
1450
+ /**
1451
+ * The identity value (email address or phone number in E.164)
1452
+ * @public
1453
+ */
1454
+ identity: string;
1455
+ /**
1456
+ * The unique identifier of the account.
1457
+ * @public
1458
+ */
1459
+ account: string;
1460
+ /**
1461
+ * Indicates if the identity is verified.
1462
+ * @public
1463
+ */
1464
+ verified?: boolean | undefined;
1465
+ }
1508
1466
  /**
1509
1467
  * @public
1510
1468
  */
@@ -1633,6 +1591,46 @@ export interface ListWorkspacesInput {
1633
1591
  */
1634
1592
  accountId: string;
1635
1593
  }
1594
+ /**
1595
+ * @public
1596
+ */
1597
+ export interface Workspace {
1598
+ /**
1599
+ * The unique identifier of the tenant (company).
1600
+ * @public
1601
+ */
1602
+ companyId?: string | undefined;
1603
+ /**
1604
+ * PBX information where user connected to.
1605
+ * @public
1606
+ */
1607
+ pbxUser?: UserPbxLinkData | undefined;
1608
+ /**
1609
+ * Personal information of the user. If user is not logged in yet, this field will might be empty.
1610
+ * @public
1611
+ */
1612
+ streamUser?: User | undefined;
1613
+ /**
1614
+ * The type of workspace.
1615
+ * @public
1616
+ */
1617
+ type?: WorkspaceType | undefined;
1618
+ /**
1619
+ * The unique identifier
1620
+ * @public
1621
+ */
1622
+ id: string;
1623
+ /**
1624
+ * The unique identifier of the account.
1625
+ * @public
1626
+ */
1627
+ accountId: string;
1628
+ /**
1629
+ * Indicates if the workspace is active.
1630
+ * @public
1631
+ */
1632
+ active: boolean;
1633
+ }
1636
1634
  /**
1637
1635
  * @public
1638
1636
  */
@@ -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.0.5",
4
+ "version": "4.0.7",
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",