@wildix/xbees-users-client 4.0.8 → 4.0.11

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";
@@ -821,8 +821,8 @@ exports.GetAccountInput$ = [3, n3, _GAI,
821
821
  ];
822
822
  exports.GetAccountOutput$ = [3, n3, _GAO,
823
823
  0,
824
- [_ac, _w, _id],
825
- [() => exports.Account$, () => WorkspaceList, () => IdentityList], 3
824
+ [_ac],
825
+ [() => exports.Account$], 1
826
826
  ];
827
827
  exports.GetAppVersionInput$ = [3, n3, _GAVI,
828
828
  0,
@@ -906,7 +906,7 @@ exports.GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
906
906
  ];
907
907
  exports.Identity$ = [3, n3, _I,
908
908
  0,
909
- [_ide, _ac, _ver],
909
+ [_id, _ac, _ver],
910
910
  [0, 0, 2], 2
911
911
  ];
912
912
  exports.IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -931,12 +931,12 @@ exports.InviteOutput$ = [3, n3, _IO,
931
931
  ];
932
932
  exports.LinkIdentityInput$ = [3, n3, _LII,
933
933
  0,
934
- [_aIc, _ide],
934
+ [_aIc, _id],
935
935
  [[0, 1], 0], 2
936
936
  ];
937
937
  exports.LinkIdentityOutput$ = [3, n3, _LIO,
938
938
  0,
939
- [_ide],
939
+ [_id],
940
940
  [() => exports.Identity$], 1
941
941
  ];
942
942
  exports.ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -966,7 +966,7 @@ exports.ListIdentitiesInput$ = [3, n3, _LIIi,
966
966
  ];
967
967
  exports.ListIdentitiesOutput$ = [3, n3, _LIOi,
968
968
  0,
969
- [_id],
969
+ [_ide],
970
970
  [() => IdentityList], 1
971
971
  ];
972
972
  exports.ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1061,7 +1061,7 @@ exports.ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1061
1061
  ];
1062
1062
  exports.UnlinkIdentityInput$ = [3, n3, _UII,
1063
1063
  0,
1064
- [_aIc, _ide],
1064
+ [_aIc, _id],
1065
1065
  [[0, 1], [0, 1]], 2
1066
1066
  ];
1067
1067
  exports.UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1216,12 +1216,12 @@ exports.VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1216
1216
  ];
1217
1217
  exports.VerifyIdentityInput$ = [3, n3, _VII,
1218
1218
  0,
1219
- [_aIc, _ide, _o],
1219
+ [_aIc, _id, _o],
1220
1220
  [[0, 1], 0, 0], 3
1221
1221
  ];
1222
1222
  exports.VerifyIdentityOutput$ = [3, n3, _VIO,
1223
1223
  0,
1224
- [_ide],
1224
+ [_id],
1225
1225
  [() => exports.Identity$], 1
1226
1226
  ];
1227
1227
  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";
@@ -814,8 +814,8 @@ export var GetAccountInput$ = [3, n3, _GAI,
814
814
  ];
815
815
  export var GetAccountOutput$ = [3, n3, _GAO,
816
816
  0,
817
- [_ac, _w, _id],
818
- [() => Account$, () => WorkspaceList, () => IdentityList], 3
817
+ [_ac],
818
+ [() => Account$], 1
819
819
  ];
820
820
  export var GetAppVersionInput$ = [3, n3, _GAVI,
821
821
  0,
@@ -899,7 +899,7 @@ export var GetUserPbxLinkSuggestionV1Output$ = [3, n3, _GUPLSVO,
899
899
  ];
900
900
  export var Identity$ = [3, n3, _I,
901
901
  0,
902
- [_ide, _ac, _ver],
902
+ [_id, _ac, _ver],
903
903
  [0, 0, 2], 2
904
904
  ];
905
905
  export var IntelligenceSearchInput$ = [3, n3, _ISI,
@@ -924,12 +924,12 @@ export var InviteOutput$ = [3, n3, _IO,
924
924
  ];
925
925
  export var LinkIdentityInput$ = [3, n3, _LII,
926
926
  0,
927
- [_aIc, _ide],
927
+ [_aIc, _id],
928
928
  [[0, 1], 0], 2
929
929
  ];
930
930
  export var LinkIdentityOutput$ = [3, n3, _LIO,
931
931
  0,
932
- [_ide],
932
+ [_id],
933
933
  [() => Identity$], 1
934
934
  ];
935
935
  export var ListBotApiKeysInput$ = [3, n3, _LBAKI,
@@ -959,7 +959,7 @@ export var ListIdentitiesInput$ = [3, n3, _LIIi,
959
959
  ];
960
960
  export var ListIdentitiesOutput$ = [3, n3, _LIOi,
961
961
  0,
962
- [_id],
962
+ [_ide],
963
963
  [() => IdentityList], 1
964
964
  ];
965
965
  export var ListWorkspacesInput$ = [3, n3, _LWI,
@@ -1054,7 +1054,7 @@ export var ToggleUnreadEmailNotificationsSubscriptionOutput$ = [3, n3, _TUENSO,
1054
1054
  ];
1055
1055
  export var UnlinkIdentityInput$ = [3, n3, _UII,
1056
1056
  0,
1057
- [_aIc, _ide],
1057
+ [_aIc, _id],
1058
1058
  [[0, 1], [0, 1]], 2
1059
1059
  ];
1060
1060
  export var UnlinkIdentityOutput$ = [3, n3, _UIO,
@@ -1209,12 +1209,12 @@ export var VerifyBotSecretKeyV1Output$ = [3, n3, _VBSKVO,
1209
1209
  ];
1210
1210
  export var VerifyIdentityInput$ = [3, n3, _VII,
1211
1211
  0,
1212
- [_aIc, _ide, _o],
1212
+ [_aIc, _id, _o],
1213
1213
  [[0, 1], 0, 0], 3
1214
1214
  ];
1215
1215
  export var VerifyIdentityOutput$ = [3, n3, _VIO,
1216
1216
  0,
1217
- [_ide],
1217
+ [_id],
1218
1218
  [() => Identity$], 1
1219
1219
  ];
1220
1220
  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
  * ```
@@ -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.
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 Facebook Messenger it is not a phone number at all: the caller passes the Page Scoped ID, 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.
109
109
  * @public
110
110
  */
111
111
  phone?: string | undefined;
@@ -1306,73 +1306,11 @@ export interface GetAccountInput {
1306
1306
  */
1307
1307
  accountId: string;
1308
1308
  }
1309
- /**
1310
- * @public
1311
- */
1312
- export interface Identity {
1313
- /**
1314
- * The identity value (email address or phone number in E.164)
1315
- * @public
1316
- */
1317
- identity: string;
1318
- /**
1319
- * The unique identifier of the account.
1320
- * @public
1321
- */
1322
- account: string;
1323
- /**
1324
- * Indicates if the identity is verified.
1325
- * @public
1326
- */
1327
- verified?: boolean | undefined;
1328
- }
1329
- /**
1330
- * @public
1331
- */
1332
- export interface Workspace {
1333
- /**
1334
- * The unique identifier of the tenant (company).
1335
- * @public
1336
- */
1337
- companyId?: string | undefined;
1338
- /**
1339
- * PBX information where user connected to.
1340
- * @public
1341
- */
1342
- pbxUser?: UserPbxLinkData | undefined;
1343
- /**
1344
- * Personal information of the user. If user is not logged in yet, this field will might be empty.
1345
- * @public
1346
- */
1347
- streamUser?: User | undefined;
1348
- /**
1349
- * The type of workspace.
1350
- * @public
1351
- */
1352
- type?: WorkspaceType | undefined;
1353
- /**
1354
- * The unique identifier
1355
- * @public
1356
- */
1357
- id: string;
1358
- /**
1359
- * The unique identifier of the account.
1360
- * @public
1361
- */
1362
- accountId: string;
1363
- /**
1364
- * Indicates if the workspace is active.
1365
- * @public
1366
- */
1367
- active: boolean;
1368
- }
1369
1309
  /**
1370
1310
  * @public
1371
1311
  */
1372
1312
  export interface GetAccountOutput {
1373
1313
  account: Account;
1374
- workspaces: Workspace[];
1375
- identities: Identity[];
1376
1314
  }
1377
1315
  /**
1378
1316
  * @public
@@ -1515,6 +1453,26 @@ export interface GetUserPbxLinkSuggestionV1Output {
1515
1453
  */
1516
1454
  suggestion?: UserPbxLinkSuggestion | undefined;
1517
1455
  }
1456
+ /**
1457
+ * @public
1458
+ */
1459
+ export interface Identity {
1460
+ /**
1461
+ * The identity value (email address or phone number in E.164)
1462
+ * @public
1463
+ */
1464
+ identity: string;
1465
+ /**
1466
+ * The unique identifier of the account.
1467
+ * @public
1468
+ */
1469
+ account: string;
1470
+ /**
1471
+ * Indicates if the identity is verified.
1472
+ * @public
1473
+ */
1474
+ verified?: boolean | undefined;
1475
+ }
1518
1476
  /**
1519
1477
  * @public
1520
1478
  */
@@ -1643,6 +1601,46 @@ export interface ListWorkspacesInput {
1643
1601
  */
1644
1602
  accountId: string;
1645
1603
  }
1604
+ /**
1605
+ * @public
1606
+ */
1607
+ export interface Workspace {
1608
+ /**
1609
+ * The unique identifier of the tenant (company).
1610
+ * @public
1611
+ */
1612
+ companyId?: string | undefined;
1613
+ /**
1614
+ * PBX information where user connected to.
1615
+ * @public
1616
+ */
1617
+ pbxUser?: UserPbxLinkData | undefined;
1618
+ /**
1619
+ * Personal information of the user. If user is not logged in yet, this field will might be empty.
1620
+ * @public
1621
+ */
1622
+ streamUser?: User | undefined;
1623
+ /**
1624
+ * The type of workspace.
1625
+ * @public
1626
+ */
1627
+ type?: WorkspaceType | undefined;
1628
+ /**
1629
+ * The unique identifier
1630
+ * @public
1631
+ */
1632
+ id: string;
1633
+ /**
1634
+ * The unique identifier of the account.
1635
+ * @public
1636
+ */
1637
+ accountId: string;
1638
+ /**
1639
+ * Indicates if the workspace is active.
1640
+ * @public
1641
+ */
1642
+ active: boolean;
1643
+ }
1646
1644
  /**
1647
1645
  * @public
1648
1646
  */
@@ -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.8",
4
+ "version": "4.0.11",
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",