@wildix/xbees-users-client 4.2.2 → 4.3.2

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.
@@ -53,6 +53,34 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
53
53
  break;
54
54
  }
55
55
  ;
56
+ case "GetAccount":
57
+ {
58
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
59
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
60
+ break;
61
+ }
62
+ ;
63
+ case "LinkIdentity":
64
+ {
65
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
66
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
67
+ break;
68
+ }
69
+ ;
70
+ case "ListIdentities":
71
+ {
72
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
73
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
74
+ break;
75
+ }
76
+ ;
77
+ case "ListWorkspaces":
78
+ {
79
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
80
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
81
+ break;
82
+ }
83
+ ;
56
84
  case "ToggleTranscriptionEmailNotificationsSubscription":
57
85
  {
58
86
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
@@ -77,12 +105,40 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
77
105
  break;
78
106
  }
79
107
  ;
108
+ case "UnlinkIdentity":
109
+ {
110
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
111
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
112
+ break;
113
+ }
114
+ ;
115
+ case "UnlinkWorkspace":
116
+ {
117
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
118
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
119
+ break;
120
+ }
121
+ ;
122
+ case "UpdateAccount":
123
+ {
124
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
125
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
126
+ break;
127
+ }
128
+ ;
80
129
  case "UpdateWorkspace":
81
130
  {
82
131
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
83
132
  break;
84
133
  }
85
134
  ;
135
+ case "VerifyIdentity":
136
+ {
137
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
138
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
139
+ break;
140
+ }
141
+ ;
86
142
  default: {
87
143
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
88
144
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
@@ -49,6 +49,34 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
49
49
  break;
50
50
  }
51
51
  ;
52
+ case "GetAccount":
53
+ {
54
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
55
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
56
+ break;
57
+ }
58
+ ;
59
+ case "LinkIdentity":
60
+ {
61
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
62
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
63
+ break;
64
+ }
65
+ ;
66
+ case "ListIdentities":
67
+ {
68
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
69
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
70
+ break;
71
+ }
72
+ ;
73
+ case "ListWorkspaces":
74
+ {
75
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
76
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
77
+ break;
78
+ }
79
+ ;
52
80
  case "ToggleTranscriptionEmailNotificationsSubscription":
53
81
  {
54
82
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
@@ -73,12 +101,40 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
73
101
  break;
74
102
  }
75
103
  ;
104
+ case "UnlinkIdentity":
105
+ {
106
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
107
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
108
+ break;
109
+ }
110
+ ;
111
+ case "UnlinkWorkspace":
112
+ {
113
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
114
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
115
+ break;
116
+ }
117
+ ;
118
+ case "UpdateAccount":
119
+ {
120
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
121
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
122
+ break;
123
+ }
124
+ ;
76
125
  case "UpdateWorkspace":
77
126
  {
78
127
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
79
128
  break;
80
129
  }
81
130
  ;
131
+ case "VerifyIdentity":
132
+ {
133
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
134
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
135
+ break;
136
+ }
137
+ ;
82
138
  default: {
83
139
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
84
140
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
@@ -27,7 +27,7 @@ declare const GetAccountCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Retrieves the account.
30
+ * Retrieves the account. Available via s2s (service-to-service) or the x-bees token of the account owner; API keys are refused.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const LinkIdentityCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Adds a new identity (email or phone) to the account. Requires OTP verification for the new identity
30
+ * Adds a new identity (email or phone) to the account. Requires OTP verification for the new identity. Available via s2s (service-to-service) or the x-bees token of the account owner; API keys are refused.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const ListIdentitiesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Lists all identities (login methods) for the current account.
30
+ * Lists all identities (login methods) for the current account. Available via s2s (service-to-service) or the x-bees token of the account owner; API keys are refused.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const ListWorkspacesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
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.
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. Available via s2s (service-to-service) or the x-bees token of the account owner; API keys are refused.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const UnlinkIdentityCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Removes a non-primary identity from the account. Requires step-up verification for the primary identity.
30
+ * Removes a non-primary identity from the account. Requires step-up verification for the primary identity. Available via s2s (service-to-service) or the x-bees token of the account owner; API keys are refused.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const UnlinkWorkspaceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Removes the connection between the account and a workspace.
30
+ * Removes the connection between the account and a workspace. Available via s2s (service-to-service) or the x-bees token of the account owner; API keys are refused.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const UpdateAccountCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Updates the account. Allows changing default workspace and primary identity.
30
+ * Updates the account. Allows changing default workspace and primary identity. Available via s2s (service-to-service) or the x-bees token of the account owner; API keys are refused.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const VerifyIdentityCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Completes adding an identity by verifying the OTP sent to the new identity. Call after LinkIdentity.
30
+ * Completes adding an identity by verifying the OTP sent to the new identity. Call after LinkIdentity. Available via s2s (service-to-service) or the x-bees token of the account owner; API keys are refused.
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -256,7 +256,7 @@ export interface BatchGetUsersOutput {
256
256
  */
257
257
  export interface BatchGetUsersEmailNotificationsSettingsInput {
258
258
  /**
259
- * List of the unique identifier of the user
259
+ * The users to read, 1 to 500 ids. A PBX token or an API key gets the stored settings only of the users of its own company; any other id gets the default settings, as an unknown id does.
260
260
  * @public
261
261
  */
262
262
  usersIds: string[];
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.2.2",
4
+ "version": "4.3.2",
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",