@wildix/xbees-users-client 1.2.2 → 1.2.4

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.
@@ -12,7 +12,7 @@ const se_AddIdentityCommand = async (input, context) => {
12
12
  const headers = {
13
13
  'content-type': 'application/json',
14
14
  };
15
- b.bp("/v2/accounts/{accountId}/identities");
15
+ b.bp("/v2/users/accounts/{accountId}/identities");
16
16
  b.p('accountId', () => input.accountId, '{accountId}', false);
17
17
  let body;
18
18
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -208,7 +208,7 @@ exports.se_DeleteBotApiKeyCommand = se_DeleteBotApiKeyCommand;
208
208
  const se_GetAccountCommand = async (input, context) => {
209
209
  const b = (0, core_2.requestBuilder)(input, context);
210
210
  const headers = {};
211
- b.bp("/v2/accounts/{accountId}");
211
+ b.bp("/v2/users/accounts/{accountId}");
212
212
  b.p('accountId', () => input.accountId, '{accountId}', false);
213
213
  let body;
214
214
  b.m("GET")
@@ -370,7 +370,7 @@ exports.se_InviteCommand = se_InviteCommand;
370
370
  const se_ListAccountIdentitiesCommand = async (input, context) => {
371
371
  const b = (0, core_2.requestBuilder)(input, context);
372
372
  const headers = {};
373
- b.bp("/v2/accounts/{accountId}/identities");
373
+ b.bp("/v2/users/accounts/{accountId}/identities");
374
374
  b.p('accountId', () => input.accountId, '{accountId}', false);
375
375
  let body;
376
376
  b.m("GET")
@@ -413,7 +413,7 @@ exports.se_ListBotsCommand = se_ListBotsCommand;
413
413
  const se_ListWorkspacesCommand = async (input, context) => {
414
414
  const b = (0, core_2.requestBuilder)(input, context);
415
415
  const headers = {};
416
- b.bp("/v2/accounts/{accountId}/workspaces");
416
+ b.bp("/v2/users/accounts/{accountId}/workspaces");
417
417
  b.p('accountId', () => input.accountId, '{accountId}', false);
418
418
  let body;
419
419
  b.m("GET")
@@ -498,7 +498,7 @@ exports.se_QueryUsersCommand = se_QueryUsersCommand;
498
498
  const se_RemoveIdentityCommand = async (input, context) => {
499
499
  const b = (0, core_2.requestBuilder)(input, context);
500
500
  const headers = {};
501
- b.bp("/v2/accounts/{accountId}/identities/{identity}");
501
+ b.bp("/v2/users/accounts/{accountId}/identities/{identity}");
502
502
  b.p('accountId', () => input.accountId, '{accountId}', false);
503
503
  b.p('identity', () => input.identity, '{identity}', false);
504
504
  let body;
@@ -545,7 +545,7 @@ exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = se_ToggleUnreadEm
545
545
  const se_UnbindWorkspaceCommand = async (input, context) => {
546
546
  const b = (0, core_2.requestBuilder)(input, context);
547
547
  const headers = {};
548
- b.bp("/v2/accounts/{accountId}/workspaces/{workspaceId}");
548
+ b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
549
549
  b.p('workspaceId', () => input.workspaceId, '{workspaceId}', false);
550
550
  b.p('accountId', () => input.accountId, '{accountId}', false);
551
551
  let body;
@@ -560,7 +560,7 @@ const se_UpdateAccountCommand = async (input, context) => {
560
560
  const headers = {
561
561
  'content-type': 'application/json',
562
562
  };
563
- b.bp("/v2/accounts/{accountId}");
563
+ b.bp("/v2/users/accounts/{accountId}");
564
564
  b.p('accountId', () => input.accountId, '{accountId}', false);
565
565
  let body;
566
566
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -642,7 +642,7 @@ const se_UpdateWorkspaceCommand = async (input, context) => {
642
642
  const headers = {
643
643
  'content-type': 'application/json',
644
644
  };
645
- b.bp("/v2/accounts/{accountId}/workspaces/{workspaceId}");
645
+ b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
646
646
  b.p('accountId', () => input.accountId, '{accountId}', false);
647
647
  b.p('workspaceId', () => input.workspaceId, '{workspaceId}', false);
648
648
  let body;
@@ -693,7 +693,7 @@ const se_VerifyAddIdentityCommand = async (input, context) => {
693
693
  const headers = {
694
694
  'content-type': 'application/json',
695
695
  };
696
- b.bp("/v2/accounts/{accountId}/identities/verify");
696
+ b.bp("/v2/users/accounts/{accountId}/identities/verify");
697
697
  b.p('accountId', () => input.accountId, '{accountId}', false);
698
698
  let body;
699
699
  body = JSON.stringify((0, smithy_client_1.take)(input, {
@@ -8,7 +8,7 @@ export const se_AddIdentityCommand = async (input, context) => {
8
8
  const headers = {
9
9
  'content-type': 'application/json',
10
10
  };
11
- b.bp("/v2/accounts/{accountId}/identities");
11
+ b.bp("/v2/users/accounts/{accountId}/identities");
12
12
  b.p('accountId', () => input.accountId, '{accountId}', false);
13
13
  let body;
14
14
  body = JSON.stringify(take(input, {
@@ -193,7 +193,7 @@ export const se_DeleteBotApiKeyCommand = async (input, context) => {
193
193
  export const se_GetAccountCommand = async (input, context) => {
194
194
  const b = rb(input, context);
195
195
  const headers = {};
196
- b.bp("/v2/accounts/{accountId}");
196
+ b.bp("/v2/users/accounts/{accountId}");
197
197
  b.p('accountId', () => input.accountId, '{accountId}', false);
198
198
  let body;
199
199
  b.m("GET")
@@ -344,7 +344,7 @@ export const se_InviteCommand = async (input, context) => {
344
344
  export const se_ListAccountIdentitiesCommand = async (input, context) => {
345
345
  const b = rb(input, context);
346
346
  const headers = {};
347
- b.bp("/v2/accounts/{accountId}/identities");
347
+ b.bp("/v2/users/accounts/{accountId}/identities");
348
348
  b.p('accountId', () => input.accountId, '{accountId}', false);
349
349
  let body;
350
350
  b.m("GET")
@@ -384,7 +384,7 @@ export const se_ListBotsCommand = async (input, context) => {
384
384
  export const se_ListWorkspacesCommand = async (input, context) => {
385
385
  const b = rb(input, context);
386
386
  const headers = {};
387
- b.bp("/v2/accounts/{accountId}/workspaces");
387
+ b.bp("/v2/users/accounts/{accountId}/workspaces");
388
388
  b.p('accountId', () => input.accountId, '{accountId}', false);
389
389
  let body;
390
390
  b.m("GET")
@@ -464,7 +464,7 @@ export const se_QueryUsersCommand = async (input, context) => {
464
464
  export const se_RemoveIdentityCommand = async (input, context) => {
465
465
  const b = rb(input, context);
466
466
  const headers = {};
467
- b.bp("/v2/accounts/{accountId}/identities/{identity}");
467
+ b.bp("/v2/users/accounts/{accountId}/identities/{identity}");
468
468
  b.p('accountId', () => input.accountId, '{accountId}', false);
469
469
  b.p('identity', () => input.identity, '{identity}', false);
470
470
  let body;
@@ -508,7 +508,7 @@ export const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input
508
508
  export const se_UnbindWorkspaceCommand = async (input, context) => {
509
509
  const b = rb(input, context);
510
510
  const headers = {};
511
- b.bp("/v2/accounts/{accountId}/workspaces/{workspaceId}");
511
+ b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
512
512
  b.p('workspaceId', () => input.workspaceId, '{workspaceId}', false);
513
513
  b.p('accountId', () => input.accountId, '{accountId}', false);
514
514
  let body;
@@ -522,7 +522,7 @@ export const se_UpdateAccountCommand = async (input, context) => {
522
522
  const headers = {
523
523
  'content-type': 'application/json',
524
524
  };
525
- b.bp("/v2/accounts/{accountId}");
525
+ b.bp("/v2/users/accounts/{accountId}");
526
526
  b.p('accountId', () => input.accountId, '{accountId}', false);
527
527
  let body;
528
528
  body = JSON.stringify(take(input, {
@@ -600,7 +600,7 @@ export const se_UpdateWorkspaceCommand = async (input, context) => {
600
600
  const headers = {
601
601
  'content-type': 'application/json',
602
602
  };
603
- b.bp("/v2/accounts/{accountId}/workspaces/{workspaceId}");
603
+ b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
604
604
  b.p('accountId', () => input.accountId, '{accountId}', false);
605
605
  b.p('workspaceId', () => input.workspaceId, '{workspaceId}', false);
606
606
  let body;
@@ -648,7 +648,7 @@ export const se_VerifyAddIdentityCommand = async (input, context) => {
648
648
  const headers = {
649
649
  'content-type': 'application/json',
650
650
  };
651
- b.bp("/v2/accounts/{accountId}/identities/verify");
651
+ b.bp("/v2/users/accounts/{accountId}/identities/verify");
652
652
  b.p('accountId', () => input.accountId, '{accountId}', false);
653
653
  let body;
654
654
  body = JSON.stringify(take(input, {
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": "1.2.2",
4
+ "version": "1.2.4",
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",