@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.
- package/.openapi-generator/FILES +4 -0
- package/README.md +3 -3
- package/dist/apis/AccountsPublicApi.d.ts +35 -1
- package/dist/apis/AccountsPublicApi.js +135 -0
- package/dist/apis/AdminApi.d.ts +13 -1
- package/dist/apis/AdminApi.js +56 -0
- package/dist/models/AccountDto.d.ts +2 -2
- package/dist/models/ChangeOrderStatusInput.d.ts +39 -0
- package/dist/models/ChangeOrderStatusInput.js +54 -0
- package/dist/models/ForgotPasswordRequestInput.d.ts +31 -0
- package/dist/models/ForgotPasswordRequestInput.js +47 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts +2 -2
- package/dist/models/SetNewPasswordInput.d.ts +31 -0
- package/dist/models/SetNewPasswordInput.js +47 -0
- package/dist/models/UserPasswordResetDto.d.ts +45 -0
- package/dist/models/UserPasswordResetDto.js +58 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/AccountsPublicApi.ts +135 -0
- package/src/apis/AdminApi.ts +61 -0
- package/src/models/AccountDto.ts +2 -2
- package/src/models/ChangeOrderStatusInput.ts +72 -0
- package/src/models/ForgotPasswordRequestInput.ts +61 -0
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +2 -2
- package/src/models/SetNewPasswordInput.ts +61 -0
- package/src/models/UserPasswordResetDto.ts +81 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UserPasswordResetDto
|
|
20
|
+
*/
|
|
21
|
+
export interface UserPasswordResetDto {
|
|
22
|
+
/**
|
|
23
|
+
* user uuid
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UserPasswordResetDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserPasswordResetDto
|
|
32
|
+
*/
|
|
33
|
+
status: UserPasswordResetDtoStatusEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const UserPasswordResetDtoStatusEnum = {
|
|
41
|
+
ACTIVE: 'active',
|
|
42
|
+
EXPIRED: 'expired'
|
|
43
|
+
} as const;
|
|
44
|
+
export type UserPasswordResetDtoStatusEnum = typeof UserPasswordResetDtoStatusEnum[keyof typeof UserPasswordResetDtoStatusEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the UserPasswordResetDto interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfUserPasswordResetDto(value: object): boolean {
|
|
51
|
+
if (!('id' in value)) return false;
|
|
52
|
+
if (!('status' in value)) return false;
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UserPasswordResetDtoFromJSON(json: any): UserPasswordResetDto {
|
|
57
|
+
return UserPasswordResetDtoFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UserPasswordResetDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPasswordResetDto {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'id': json['id'],
|
|
67
|
+
'status': json['status'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function UserPasswordResetDtoToJSON(value?: UserPasswordResetDto | null): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'id': value['id'],
|
|
78
|
+
'status': value['status'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './AccountFinancialInput';
|
|
|
7
7
|
export * from './AccountSettingsInput';
|
|
8
8
|
export * from './BatchUpdateDomainsInput';
|
|
9
9
|
export * from './BuyDomainInput';
|
|
10
|
+
export * from './ChangeOrderStatusInput';
|
|
10
11
|
export * from './ConflictException';
|
|
11
12
|
export * from './CreateLeadInput';
|
|
12
13
|
export * from './CreateLeadMessageInput';
|
|
@@ -15,6 +16,7 @@ export * from './DeleteDomainsInput';
|
|
|
15
16
|
export * from './DomainDto';
|
|
16
17
|
export * from './DomainSalesInformationDto';
|
|
17
18
|
export * from './DomainSellerDto';
|
|
19
|
+
export * from './ForgotPasswordRequestInput';
|
|
18
20
|
export * from './HttpException';
|
|
19
21
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|
|
20
22
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
@@ -45,10 +47,12 @@ export * from './PutLeadInput';
|
|
|
45
47
|
export * from './RegisterAccountInput';
|
|
46
48
|
export * from './RelatedSellerDomain';
|
|
47
49
|
export * from './SecurityUserDto';
|
|
50
|
+
export * from './SetNewPasswordInput';
|
|
48
51
|
export * from './ThrottlerException';
|
|
49
52
|
export * from './TokenDto';
|
|
50
53
|
export * from './UnauthorizedException';
|
|
51
54
|
export * from './UpdateDomainInput';
|
|
55
|
+
export * from './UserPasswordResetDto';
|
|
52
56
|
export * from './ValidationError';
|
|
53
57
|
export * from './ValidationException';
|
|
54
58
|
export * from './VerifyLeadInput';
|