@equisoft/account-service-sdk-typescript 4.2.1-snapshot.20221207193620 → 4.2.1-snapshot.20221214180735

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.
@@ -94,11 +94,11 @@ export declare class UserApi extends runtime.BaseAPI {
94
94
  */
95
95
  activate(requestParameters: ActivateRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
96
96
  /**
97
- * update user account sso.
97
+ * Update user account sso.
98
98
  */
99
99
  addUpdateSsoRaw(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>>;
100
100
  /**
101
- * update user account sso.
101
+ * Update user account sso.
102
102
  */
103
103
  addUpdateSso(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
104
104
  /**
@@ -65,7 +65,7 @@ class UserApi extends runtime.BaseAPI {
65
65
  });
66
66
  }
67
67
  /**
68
- * update user account sso.
68
+ * Update user account sso.
69
69
  */
70
70
  addUpdateSsoRaw(requestParameters, initOverrides) {
71
71
  return __awaiter(this, void 0, void 0, function* () {
@@ -88,7 +88,7 @@ class UserApi extends runtime.BaseAPI {
88
88
  }
89
89
  const response = yield this.request({
90
90
  path: `/users/{uuid}/sso`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
91
- method: 'POST',
91
+ method: 'PUT',
92
92
  headers: headerParameters,
93
93
  query: queryParameters,
94
94
  body: models_1.UpdateUserAccountSsoPayloadToJSON(requestParameters.updateUserAccountSsoPayload),
@@ -97,7 +97,7 @@ class UserApi extends runtime.BaseAPI {
97
97
  });
98
98
  }
99
99
  /**
100
- * update user account sso.
100
+ * Update user account sso.
101
101
  */
102
102
  addUpdateSso(requestParameters, initOverrides) {
103
103
  return __awaiter(this, void 0, void 0, function* () {
@@ -20,13 +20,13 @@ export interface UpdateUserAccountSsoPayload {
20
20
  * @type {string}
21
21
  * @memberof UpdateUserAccountSsoPayload
22
22
  */
23
- ssoClient: string;
23
+ providerCode: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof UpdateUserAccountSsoPayload
28
28
  */
29
- ssoIdentifier: string;
29
+ identifier?: string | null;
30
30
  }
31
31
  export declare function UpdateUserAccountSsoPayloadFromJSON(json: any): UpdateUserAccountSsoPayload;
32
32
  export declare function UpdateUserAccountSsoPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserAccountSsoPayload;
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UpdateUserAccountSsoPayloadToJSON = exports.UpdateUserAccountSsoPayloadFromJSONTyped = exports.UpdateUserAccountSsoPayloadFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
17
18
  function UpdateUserAccountSsoPayloadFromJSON(json) {
18
19
  return UpdateUserAccountSsoPayloadFromJSONTyped(json, false);
19
20
  }
@@ -23,8 +24,8 @@ function UpdateUserAccountSsoPayloadFromJSONTyped(json, ignoreDiscriminator) {
23
24
  return json;
24
25
  }
25
26
  return {
26
- 'ssoClient': json['ssoClient'],
27
- 'ssoIdentifier': json['ssoIdentifier'],
27
+ 'providerCode': json['providerCode'],
28
+ 'identifier': !runtime_1.exists(json, 'identifier') ? undefined : json['identifier'],
28
29
  };
29
30
  }
30
31
  exports.UpdateUserAccountSsoPayloadFromJSONTyped = UpdateUserAccountSsoPayloadFromJSONTyped;
@@ -36,8 +37,8 @@ function UpdateUserAccountSsoPayloadToJSON(value) {
36
37
  return null;
37
38
  }
38
39
  return {
39
- 'ssoClient': value.ssoClient,
40
- 'ssoIdentifier': value.ssoIdentifier,
40
+ 'providerCode': value.providerCode,
41
+ 'identifier': value.identifier,
41
42
  };
42
43
  }
43
44
  exports.UpdateUserAccountSsoPayloadToJSON = UpdateUserAccountSsoPayloadToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/account-service-sdk-typescript",
3
- "version": "4.2.1-snapshot.20221207193620",
3
+ "version": "4.2.1-snapshot.20221214180735",
4
4
  "description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
5
5
  "author": "Equisoft Inc.",
6
6
  "main": "./dist/index.js",
@@ -193,7 +193,7 @@ export class UserApi extends runtime.BaseAPI {
193
193
  }
194
194
 
195
195
  /**
196
- * update user account sso.
196
+ * Update user account sso.
197
197
  */
198
198
  async addUpdateSsoRaw(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<void>> {
199
199
  if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
@@ -222,7 +222,7 @@ export class UserApi extends runtime.BaseAPI {
222
222
 
223
223
  const response = await this.request({
224
224
  path: `/users/{uuid}/sso`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
225
- method: 'POST',
225
+ method: 'PUT',
226
226
  headers: headerParameters,
227
227
  query: queryParameters,
228
228
  body: UpdateUserAccountSsoPayloadToJSON(requestParameters.updateUserAccountSsoPayload),
@@ -232,7 +232,7 @@ export class UserApi extends runtime.BaseAPI {
232
232
  }
233
233
 
234
234
  /**
235
- * update user account sso.
235
+ * Update user account sso.
236
236
  */
237
237
  async addUpdateSso(requestParameters: AddUpdateSsoRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void> {
238
238
  await this.addUpdateSsoRaw(requestParameters, initOverrides);
@@ -24,13 +24,13 @@ export interface UpdateUserAccountSsoPayload {
24
24
  * @type {string}
25
25
  * @memberof UpdateUserAccountSsoPayload
26
26
  */
27
- ssoClient: string;
27
+ providerCode: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof UpdateUserAccountSsoPayload
32
32
  */
33
- ssoIdentifier: string;
33
+ identifier?: string | null;
34
34
  }
35
35
 
36
36
  export function UpdateUserAccountSsoPayloadFromJSON(json: any): UpdateUserAccountSsoPayload {
@@ -43,8 +43,8 @@ export function UpdateUserAccountSsoPayloadFromJSONTyped(json: any, ignoreDiscri
43
43
  }
44
44
  return {
45
45
 
46
- 'ssoClient': json['ssoClient'],
47
- 'ssoIdentifier': json['ssoIdentifier'],
46
+ 'providerCode': json['providerCode'],
47
+ 'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
48
48
  };
49
49
  }
50
50
 
@@ -57,8 +57,8 @@ export function UpdateUserAccountSsoPayloadToJSON(value?: UpdateUserAccountSsoPa
57
57
  }
58
58
  return {
59
59
 
60
- 'ssoClient': value.ssoClient,
61
- 'ssoIdentifier': value.ssoIdentifier,
60
+ 'providerCode': value.providerCode,
61
+ 'identifier': value.identifier,
62
62
  };
63
63
  }
64
64