@randock/nameshift-api-client 0.0.34 → 0.0.36

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.
@@ -20,6 +20,7 @@ src/models/AccountFinancialInput.ts
20
20
  src/models/AccountSettingsInput.ts
21
21
  src/models/BatchUpdateDomainsInput.ts
22
22
  src/models/BuyDomainInput.ts
23
+ src/models/ChangeOrderStatusInput.ts
23
24
  src/models/ConflictException.ts
24
25
  src/models/CreateLeadInput.ts
25
26
  src/models/CreateLeadMessageInput.ts
@@ -28,6 +29,7 @@ src/models/DeleteDomainsInput.ts
28
29
  src/models/DomainDto.ts
29
30
  src/models/DomainSalesInformationDto.ts
30
31
  src/models/DomainSellerDto.ts
32
+ src/models/ForgotPasswordRequestInput.ts
31
33
  src/models/HttpException.ts
32
34
  src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts
33
35
  src/models/IntersectionDomainDtoWithAccountDto.ts
@@ -58,10 +60,12 @@ src/models/PutLeadInput.ts
58
60
  src/models/RegisterAccountInput.ts
59
61
  src/models/RelatedSellerDomain.ts
60
62
  src/models/SecurityUserDto.ts
63
+ src/models/SetNewPasswordInput.ts
61
64
  src/models/ThrottlerException.ts
62
65
  src/models/TokenDto.ts
63
66
  src/models/UnauthorizedException.ts
64
67
  src/models/UpdateDomainInput.ts
68
+ src/models/UserPasswordResetDto.ts
65
69
  src/models/ValidationError.ts
66
70
  src/models/ValidationException.ts
67
71
  src/models/VerifyLeadInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.34
1
+ ## @randock/nameshift-api-client@0.0.36
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.34 --save
39
+ npm install @randock/nameshift-api-client@0.0.36 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 2526e805737a6059e48bd06fb5bc437c2a13a92d2e75c0b90e1a85552ce6ac0c2cc0cf7e7422590bb1ef588320a0f2b1
47
+ 6931c40c2b4c955adc6671d9a86ff5565b748c490b669a90a0b1e4fc68dbf7374994c80b5d065f2bfe57ad33cbc722a4
@@ -10,10 +10,20 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { LoginInput, RegisterAccountInput, TokenDto } from '../models/index';
13
+ import type { ForgotPasswordRequestInput, LoginInput, RegisterAccountInput, SetNewPasswordInput, TokenDto, UserPasswordResetDto } from '../models/index';
14
+ export interface AccountsPublicApiForgotPasswordRequestRequest {
15
+ forgotPasswordRequestInput: ForgotPasswordRequestInput;
16
+ }
17
+ export interface AccountsPublicApiGetForgotPasswordRequestRequest {
18
+ passwordRequestId: string;
19
+ }
14
20
  export interface AccountsPublicApiLoginRequest {
15
21
  loginInput: LoginInput;
16
22
  }
23
+ export interface AccountsPublicApiPostNewPasswordRequest {
24
+ passwordRequestId: string;
25
+ setNewPasswordInput: SetNewPasswordInput;
26
+ }
17
27
  export interface AccountsPublicApiRegisterRequest {
18
28
  registerAccountInput: RegisterAccountInput;
19
29
  }
@@ -21,6 +31,22 @@ export interface AccountsPublicApiRegisterRequest {
21
31
  *
22
32
  */
23
33
  export declare class AccountsPublicApi extends runtime.BaseAPI {
34
+ /**
35
+ *
36
+ */
37
+ forgotPasswordRequestRaw(requestParameters: AccountsPublicApiForgotPasswordRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
38
+ /**
39
+ *
40
+ */
41
+ forgotPasswordRequest(requestParameters: AccountsPublicApiForgotPasswordRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
42
+ /**
43
+ *
44
+ */
45
+ getForgotPasswordRequestRaw(requestParameters: AccountsPublicApiGetForgotPasswordRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserPasswordResetDto>>;
46
+ /**
47
+ *
48
+ */
49
+ getForgotPasswordRequest(requestParameters: AccountsPublicApiGetForgotPasswordRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserPasswordResetDto>;
24
50
  /**
25
51
  *
26
52
  */
@@ -29,6 +55,14 @@ export declare class AccountsPublicApi extends runtime.BaseAPI {
29
55
  *
30
56
  */
31
57
  login(requestParameters: AccountsPublicApiLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenDto>;
58
+ /**
59
+ *
60
+ */
61
+ postNewPasswordRaw(requestParameters: AccountsPublicApiPostNewPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
62
+ /**
63
+ *
64
+ */
65
+ postNewPassword(requestParameters: AccountsPublicApiPostNewPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
32
66
  /**
33
67
  *
34
68
  */
@@ -75,6 +75,94 @@ var AccountsPublicApi = /** @class */ (function (_super) {
75
75
  function AccountsPublicApi() {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
+ /**
79
+ *
80
+ */
81
+ AccountsPublicApi.prototype.forgotPasswordRequestRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ if (requestParameters['forgotPasswordRequestInput'] == null) {
88
+ throw new runtime.RequiredError('forgotPasswordRequestInput', 'Required parameter "forgotPasswordRequestInput" was null or undefined when calling forgotPasswordRequest().');
89
+ }
90
+ queryParameters = {};
91
+ headerParameters = {};
92
+ headerParameters['Content-Type'] = 'application/json';
93
+ return [4 /*yield*/, this.request({
94
+ path: "/accounts/forgot-password-request",
95
+ method: 'POST',
96
+ headers: headerParameters,
97
+ query: queryParameters,
98
+ body: (0, index_1.ForgotPasswordRequestInputToJSON)(requestParameters['forgotPasswordRequestInput']),
99
+ }, initOverrides)];
100
+ case 1:
101
+ response = _a.sent();
102
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
103
+ }
104
+ });
105
+ });
106
+ };
107
+ /**
108
+ *
109
+ */
110
+ AccountsPublicApi.prototype.forgotPasswordRequest = function (requestParameters, initOverrides) {
111
+ return __awaiter(this, void 0, void 0, function () {
112
+ return __generator(this, function (_a) {
113
+ switch (_a.label) {
114
+ case 0: return [4 /*yield*/, this.forgotPasswordRequestRaw(requestParameters, initOverrides)];
115
+ case 1:
116
+ _a.sent();
117
+ return [2 /*return*/];
118
+ }
119
+ });
120
+ });
121
+ };
122
+ /**
123
+ *
124
+ */
125
+ AccountsPublicApi.prototype.getForgotPasswordRequestRaw = function (requestParameters, initOverrides) {
126
+ return __awaiter(this, void 0, void 0, function () {
127
+ var queryParameters, headerParameters, response;
128
+ return __generator(this, function (_a) {
129
+ switch (_a.label) {
130
+ case 0:
131
+ if (requestParameters['passwordRequestId'] == null) {
132
+ throw new runtime.RequiredError('passwordRequestId', 'Required parameter "passwordRequestId" was null or undefined when calling getForgotPasswordRequest().');
133
+ }
134
+ queryParameters = {};
135
+ headerParameters = {};
136
+ return [4 /*yield*/, this.request({
137
+ path: "/accounts/forgot-password-request/{passwordRequestId}".replace("{".concat("passwordRequestId", "}"), encodeURIComponent(String(requestParameters['passwordRequestId']))),
138
+ method: 'GET',
139
+ headers: headerParameters,
140
+ query: queryParameters,
141
+ }, initOverrides)];
142
+ case 1:
143
+ response = _a.sent();
144
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserPasswordResetDtoFromJSON)(jsonValue); })];
145
+ }
146
+ });
147
+ });
148
+ };
149
+ /**
150
+ *
151
+ */
152
+ AccountsPublicApi.prototype.getForgotPasswordRequest = function (requestParameters, initOverrides) {
153
+ return __awaiter(this, void 0, void 0, function () {
154
+ var response;
155
+ return __generator(this, function (_a) {
156
+ switch (_a.label) {
157
+ case 0: return [4 /*yield*/, this.getForgotPasswordRequestRaw(requestParameters, initOverrides)];
158
+ case 1:
159
+ response = _a.sent();
160
+ return [4 /*yield*/, response.value()];
161
+ case 2: return [2 /*return*/, _a.sent()];
162
+ }
163
+ });
164
+ });
165
+ };
78
166
  /**
79
167
  *
80
168
  */
@@ -121,6 +209,53 @@ var AccountsPublicApi = /** @class */ (function (_super) {
121
209
  });
122
210
  });
123
211
  };
212
+ /**
213
+ *
214
+ */
215
+ AccountsPublicApi.prototype.postNewPasswordRaw = function (requestParameters, initOverrides) {
216
+ return __awaiter(this, void 0, void 0, function () {
217
+ var queryParameters, headerParameters, response;
218
+ return __generator(this, function (_a) {
219
+ switch (_a.label) {
220
+ case 0:
221
+ if (requestParameters['passwordRequestId'] == null) {
222
+ throw new runtime.RequiredError('passwordRequestId', 'Required parameter "passwordRequestId" was null or undefined when calling postNewPassword().');
223
+ }
224
+ if (requestParameters['setNewPasswordInput'] == null) {
225
+ throw new runtime.RequiredError('setNewPasswordInput', 'Required parameter "setNewPasswordInput" was null or undefined when calling postNewPassword().');
226
+ }
227
+ queryParameters = {};
228
+ headerParameters = {};
229
+ headerParameters['Content-Type'] = 'application/json';
230
+ return [4 /*yield*/, this.request({
231
+ path: "/accounts/forgot-password-request/{passwordRequestId}".replace("{".concat("passwordRequestId", "}"), encodeURIComponent(String(requestParameters['passwordRequestId']))),
232
+ method: 'POST',
233
+ headers: headerParameters,
234
+ query: queryParameters,
235
+ body: (0, index_1.SetNewPasswordInputToJSON)(requestParameters['setNewPasswordInput']),
236
+ }, initOverrides)];
237
+ case 1:
238
+ response = _a.sent();
239
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
240
+ }
241
+ });
242
+ });
243
+ };
244
+ /**
245
+ *
246
+ */
247
+ AccountsPublicApi.prototype.postNewPassword = function (requestParameters, initOverrides) {
248
+ return __awaiter(this, void 0, void 0, function () {
249
+ return __generator(this, function (_a) {
250
+ switch (_a.label) {
251
+ case 0: return [4 /*yield*/, this.postNewPasswordRaw(requestParameters, initOverrides)];
252
+ case 1:
253
+ _a.sent();
254
+ return [2 /*return*/];
255
+ }
256
+ });
257
+ });
258
+ };
124
259
  /**
125
260
  *
126
261
  */
@@ -10,7 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ListAccounts200Response, ListTransfers200Response } from '../models/index';
13
+ import type { ChangeOrderStatusInput, ListAccounts200Response, ListTransfers200Response } from '../models/index';
14
+ export interface AdminApiChangeOrderStatusRequest {
15
+ orderId: string;
16
+ changeOrderStatusInput: ChangeOrderStatusInput;
17
+ }
14
18
  export interface AdminApiListAccountsRequest {
15
19
  filter?: object;
16
20
  page?: number;
@@ -27,6 +31,14 @@ export interface AdminApiListTransfersRequest {
27
31
  *
28
32
  */
29
33
  export declare class AdminApi extends runtime.BaseAPI {
34
+ /**
35
+ *
36
+ */
37
+ changeOrderStatusRaw(requestParameters: AdminApiChangeOrderStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
38
+ /**
39
+ *
40
+ */
41
+ changeOrderStatus(requestParameters: AdminApiChangeOrderStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
30
42
  /**
31
43
  *
32
44
  */
@@ -75,6 +75,62 @@ var AdminApi = /** @class */ (function (_super) {
75
75
  function AdminApi() {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
+ /**
79
+ *
80
+ */
81
+ AdminApi.prototype.changeOrderStatusRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, token, tokenString, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ if (requestParameters['orderId'] == null) {
88
+ throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling changeOrderStatus().');
89
+ }
90
+ if (requestParameters['changeOrderStatusInput'] == null) {
91
+ throw new runtime.RequiredError('changeOrderStatusInput', 'Required parameter "changeOrderStatusInput" was null or undefined when calling changeOrderStatus().');
92
+ }
93
+ queryParameters = {};
94
+ headerParameters = {};
95
+ headerParameters['Content-Type'] = 'application/json';
96
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
97
+ token = this.configuration.accessToken;
98
+ return [4 /*yield*/, token("bearer", [])];
99
+ case 1:
100
+ tokenString = _a.sent();
101
+ if (tokenString) {
102
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
103
+ }
104
+ _a.label = 2;
105
+ case 2: return [4 /*yield*/, this.request({
106
+ path: "/admin/orders/{orderId}/status".replace("{".concat("orderId", "}"), encodeURIComponent(String(requestParameters['orderId']))),
107
+ method: 'PATCH',
108
+ headers: headerParameters,
109
+ query: queryParameters,
110
+ body: (0, index_1.ChangeOrderStatusInputToJSON)(requestParameters['changeOrderStatusInput']),
111
+ }, initOverrides)];
112
+ case 3:
113
+ response = _a.sent();
114
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
115
+ }
116
+ });
117
+ });
118
+ };
119
+ /**
120
+ *
121
+ */
122
+ AdminApi.prototype.changeOrderStatus = function (requestParameters, initOverrides) {
123
+ return __awaiter(this, void 0, void 0, function () {
124
+ return __generator(this, function (_a) {
125
+ switch (_a.label) {
126
+ case 0: return [4 /*yield*/, this.changeOrderStatusRaw(requestParameters, initOverrides)];
127
+ case 1:
128
+ _a.sent();
129
+ return [2 /*return*/];
130
+ }
131
+ });
132
+ });
133
+ };
78
134
  /**
79
135
  *
80
136
  */
@@ -23,10 +23,10 @@ export interface AccountDto {
23
23
  id: string;
24
24
  /**
25
25
  *
26
- * @type {object}
26
+ * @type {string}
27
27
  * @memberof AccountDto
28
28
  */
29
- identifier: object;
29
+ identifier: string;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the AccountDto interface.
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ChangeOrderStatusInput
16
+ */
17
+ export interface ChangeOrderStatusInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ChangeOrderStatusInput
22
+ */
23
+ status: ChangeOrderStatusInputStatusEnum;
24
+ }
25
+ /**
26
+ * @export
27
+ */
28
+ export declare const ChangeOrderStatusInputStatusEnum: {
29
+ readonly OPEN: "open";
30
+ readonly PAID: "paid";
31
+ };
32
+ export type ChangeOrderStatusInputStatusEnum = typeof ChangeOrderStatusInputStatusEnum[keyof typeof ChangeOrderStatusInputStatusEnum];
33
+ /**
34
+ * Check if a given object implements the ChangeOrderStatusInput interface.
35
+ */
36
+ export declare function instanceOfChangeOrderStatusInput(value: object): boolean;
37
+ export declare function ChangeOrderStatusInputFromJSON(json: any): ChangeOrderStatusInput;
38
+ export declare function ChangeOrderStatusInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeOrderStatusInput;
39
+ export declare function ChangeOrderStatusInputToJSON(value?: ChangeOrderStatusInput | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ChangeOrderStatusInputToJSON = exports.ChangeOrderStatusInputFromJSONTyped = exports.ChangeOrderStatusInputFromJSON = exports.instanceOfChangeOrderStatusInput = exports.ChangeOrderStatusInputStatusEnum = void 0;
17
+ /**
18
+ * @export
19
+ */
20
+ exports.ChangeOrderStatusInputStatusEnum = {
21
+ OPEN: 'open',
22
+ PAID: 'paid'
23
+ };
24
+ /**
25
+ * Check if a given object implements the ChangeOrderStatusInput interface.
26
+ */
27
+ function instanceOfChangeOrderStatusInput(value) {
28
+ if (!('status' in value))
29
+ return false;
30
+ return true;
31
+ }
32
+ exports.instanceOfChangeOrderStatusInput = instanceOfChangeOrderStatusInput;
33
+ function ChangeOrderStatusInputFromJSON(json) {
34
+ return ChangeOrderStatusInputFromJSONTyped(json, false);
35
+ }
36
+ exports.ChangeOrderStatusInputFromJSON = ChangeOrderStatusInputFromJSON;
37
+ function ChangeOrderStatusInputFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'status': json['status'],
43
+ };
44
+ }
45
+ exports.ChangeOrderStatusInputFromJSONTyped = ChangeOrderStatusInputFromJSONTyped;
46
+ function ChangeOrderStatusInputToJSON(value) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'status': value['status'],
52
+ };
53
+ }
54
+ exports.ChangeOrderStatusInputToJSON = ChangeOrderStatusInputToJSON;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ForgotPasswordRequestInput
16
+ */
17
+ export interface ForgotPasswordRequestInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ForgotPasswordRequestInput
22
+ */
23
+ email: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ForgotPasswordRequestInput interface.
27
+ */
28
+ export declare function instanceOfForgotPasswordRequestInput(value: object): boolean;
29
+ export declare function ForgotPasswordRequestInputFromJSON(json: any): ForgotPasswordRequestInput;
30
+ export declare function ForgotPasswordRequestInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordRequestInput;
31
+ export declare function ForgotPasswordRequestInputToJSON(value?: ForgotPasswordRequestInput | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ForgotPasswordRequestInputToJSON = exports.ForgotPasswordRequestInputFromJSONTyped = exports.ForgotPasswordRequestInputFromJSON = exports.instanceOfForgotPasswordRequestInput = void 0;
17
+ /**
18
+ * Check if a given object implements the ForgotPasswordRequestInput interface.
19
+ */
20
+ function instanceOfForgotPasswordRequestInput(value) {
21
+ if (!('email' in value))
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfForgotPasswordRequestInput = instanceOfForgotPasswordRequestInput;
26
+ function ForgotPasswordRequestInputFromJSON(json) {
27
+ return ForgotPasswordRequestInputFromJSONTyped(json, false);
28
+ }
29
+ exports.ForgotPasswordRequestInputFromJSON = ForgotPasswordRequestInputFromJSON;
30
+ function ForgotPasswordRequestInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'email': json['email'],
36
+ };
37
+ }
38
+ exports.ForgotPasswordRequestInputFromJSONTyped = ForgotPasswordRequestInputFromJSONTyped;
39
+ function ForgotPasswordRequestInputToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'email': value['email'],
45
+ };
46
+ }
47
+ exports.ForgotPasswordRequestInputToJSON = ForgotPasswordRequestInputToJSON;
@@ -26,10 +26,10 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
26
26
  id: string;
27
27
  /**
28
28
  *
29
- * @type {object}
29
+ * @type {string}
30
30
  * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
31
31
  */
32
- identifier: object;
32
+ identifier: string;
33
33
  /**
34
34
  *
35
35
  * @type {WithFinancialDtoInner}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SetNewPasswordInput
16
+ */
17
+ export interface SetNewPasswordInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SetNewPasswordInput
22
+ */
23
+ password: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SetNewPasswordInput interface.
27
+ */
28
+ export declare function instanceOfSetNewPasswordInput(value: object): boolean;
29
+ export declare function SetNewPasswordInputFromJSON(json: any): SetNewPasswordInput;
30
+ export declare function SetNewPasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetNewPasswordInput;
31
+ export declare function SetNewPasswordInputToJSON(value?: SetNewPasswordInput | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SetNewPasswordInputToJSON = exports.SetNewPasswordInputFromJSONTyped = exports.SetNewPasswordInputFromJSON = exports.instanceOfSetNewPasswordInput = void 0;
17
+ /**
18
+ * Check if a given object implements the SetNewPasswordInput interface.
19
+ */
20
+ function instanceOfSetNewPasswordInput(value) {
21
+ if (!('password' in value))
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfSetNewPasswordInput = instanceOfSetNewPasswordInput;
26
+ function SetNewPasswordInputFromJSON(json) {
27
+ return SetNewPasswordInputFromJSONTyped(json, false);
28
+ }
29
+ exports.SetNewPasswordInputFromJSON = SetNewPasswordInputFromJSON;
30
+ function SetNewPasswordInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'password': json['password'],
36
+ };
37
+ }
38
+ exports.SetNewPasswordInputFromJSONTyped = SetNewPasswordInputFromJSONTyped;
39
+ function SetNewPasswordInputToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'password': value['password'],
45
+ };
46
+ }
47
+ exports.SetNewPasswordInputToJSON = SetNewPasswordInputToJSON;
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UserPasswordResetDto
16
+ */
17
+ export interface UserPasswordResetDto {
18
+ /**
19
+ * user uuid
20
+ * @type {string}
21
+ * @memberof UserPasswordResetDto
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UserPasswordResetDto
28
+ */
29
+ status: UserPasswordResetDtoStatusEnum;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const UserPasswordResetDtoStatusEnum: {
35
+ readonly ACTIVE: "active";
36
+ readonly EXPIRED: "expired";
37
+ };
38
+ export type UserPasswordResetDtoStatusEnum = typeof UserPasswordResetDtoStatusEnum[keyof typeof UserPasswordResetDtoStatusEnum];
39
+ /**
40
+ * Check if a given object implements the UserPasswordResetDto interface.
41
+ */
42
+ export declare function instanceOfUserPasswordResetDto(value: object): boolean;
43
+ export declare function UserPasswordResetDtoFromJSON(json: any): UserPasswordResetDto;
44
+ export declare function UserPasswordResetDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPasswordResetDto;
45
+ export declare function UserPasswordResetDtoToJSON(value?: UserPasswordResetDto | null): any;