@randock/nameshift-api-client 0.0.35 → 0.0.37
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 +9 -2
- 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 +7 -7
- package/dist/apis/AdminApi.js +10 -10
- package/dist/models/AccountDto.d.ts +2 -2
- package/dist/models/DomainTransferAgentDto.d.ts +37 -0
- package/dist/models/DomainTransferAgentDto.js +51 -0
- package/dist/models/DomainTransferDomainDto.d.ts +43 -0
- package/dist/models/DomainTransferDomainDto.js +55 -0
- package/dist/models/DomainTransferDto.d.ts +75 -0
- package/dist/models/DomainTransferDto.js +80 -0
- package/dist/models/DomainTransferDtoAgent.d.ts +37 -0
- package/dist/models/DomainTransferDtoAgent.js +51 -0
- package/dist/models/DomainTransferOrderDto.d.ts +43 -0
- package/dist/models/DomainTransferOrderDto.js +55 -0
- package/dist/models/ForgotPasswordRequestInput.d.ts +31 -0
- package/dist/models/ForgotPasswordRequestInput.js +47 -0
- package/dist/models/GetAllDomainTransfers200Response.d.ts +46 -0
- package/dist/models/GetAllDomainTransfers200Response.js +58 -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 +9 -2
- package/dist/models/index.js +9 -2
- package/package.json +1 -1
- package/src/apis/AccountsPublicApi.ts +135 -0
- package/src/apis/AdminApi.ts +15 -15
- package/src/models/AccountDto.ts +2 -2
- package/src/models/DomainTransferAgentDto.ts +70 -0
- package/src/models/DomainTransferDomainDto.ts +79 -0
- package/src/models/DomainTransferDto.ts +139 -0
- package/src/models/DomainTransferDtoAgent.ts +70 -0
- package/src/models/DomainTransferOrderDto.ts +79 -0
- package/src/models/ForgotPasswordRequestInput.ts +61 -0
- package/src/models/{ListTransfers200Response.ts → GetAllDomainTransfers200Response.ts} +20 -20
- 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 +9 -2
- package/dist/models/ListTransferDto.d.ts +0 -66
- package/dist/models/ListTransferDto.js +0 -73
- package/dist/models/ListTransfers200Response.d.ts +0 -46
- package/dist/models/ListTransfers200Response.js +0 -58
- package/src/models/ListTransferDto.ts +0 -111
|
@@ -0,0 +1,80 @@
|
|
|
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.DomainTransferDtoToJSON = exports.DomainTransferDtoFromJSONTyped = exports.DomainTransferDtoFromJSON = exports.instanceOfDomainTransferDto = exports.DomainTransferDtoStatusEnum = void 0;
|
|
17
|
+
var DomainTransferDomainDto_1 = require("./DomainTransferDomainDto");
|
|
18
|
+
var DomainTransferOrderDto_1 = require("./DomainTransferOrderDto");
|
|
19
|
+
var DomainTransferDtoAgent_1 = require("./DomainTransferDtoAgent");
|
|
20
|
+
/**
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
exports.DomainTransferDtoStatusEnum = {
|
|
24
|
+
CREATED: 'created',
|
|
25
|
+
STARTED: 'started',
|
|
26
|
+
PENDING_MANUAL_ACTION: 'pending_manual_action',
|
|
27
|
+
ERROR: 'error',
|
|
28
|
+
COMPLETED: 'completed'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the DomainTransferDto interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfDomainTransferDto(value) {
|
|
34
|
+
if (!('id' in value))
|
|
35
|
+
return false;
|
|
36
|
+
if (!('domain' in value))
|
|
37
|
+
return false;
|
|
38
|
+
if (!('status' in value))
|
|
39
|
+
return false;
|
|
40
|
+
if (!('order' in value))
|
|
41
|
+
return false;
|
|
42
|
+
if (!('agent' in value))
|
|
43
|
+
return false;
|
|
44
|
+
if (!('createdAt' in value))
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
exports.instanceOfDomainTransferDto = instanceOfDomainTransferDto;
|
|
49
|
+
function DomainTransferDtoFromJSON(json) {
|
|
50
|
+
return DomainTransferDtoFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
exports.DomainTransferDtoFromJSON = DomainTransferDtoFromJSON;
|
|
53
|
+
function DomainTransferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': json['id'],
|
|
59
|
+
'domain': (0, DomainTransferDomainDto_1.DomainTransferDomainDtoFromJSON)(json['domain']),
|
|
60
|
+
'status': json['status'],
|
|
61
|
+
'order': (0, DomainTransferOrderDto_1.DomainTransferOrderDtoFromJSON)(json['order']),
|
|
62
|
+
'agent': (0, DomainTransferDtoAgent_1.DomainTransferDtoAgentFromJSON)(json['agent']),
|
|
63
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
exports.DomainTransferDtoFromJSONTyped = DomainTransferDtoFromJSONTyped;
|
|
67
|
+
function DomainTransferDtoToJSON(value) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': value['id'],
|
|
73
|
+
'domain': (0, DomainTransferDomainDto_1.DomainTransferDomainDtoToJSON)(value['domain']),
|
|
74
|
+
'status': value['status'],
|
|
75
|
+
'order': (0, DomainTransferOrderDto_1.DomainTransferOrderDtoToJSON)(value['order']),
|
|
76
|
+
'agent': (0, DomainTransferDtoAgent_1.DomainTransferDtoAgentToJSON)(value['agent']),
|
|
77
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
exports.DomainTransferDtoToJSON = DomainTransferDtoToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* The domain transfer order
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainTransferDtoAgent
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainTransferDtoAgent {
|
|
18
|
+
/**
|
|
19
|
+
* The order domain transfer agent ID
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof DomainTransferDtoAgent
|
|
22
|
+
*/
|
|
23
|
+
id: object;
|
|
24
|
+
/**
|
|
25
|
+
* The order email address
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainTransferDtoAgent
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DomainTransferDtoAgent interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDomainTransferDtoAgent(value: object): boolean;
|
|
35
|
+
export declare function DomainTransferDtoAgentFromJSON(json: any): DomainTransferDtoAgent;
|
|
36
|
+
export declare function DomainTransferDtoAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDtoAgent;
|
|
37
|
+
export declare function DomainTransferDtoAgentToJSON(value?: DomainTransferDtoAgent | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.DomainTransferDtoAgentToJSON = exports.DomainTransferDtoAgentFromJSONTyped = exports.DomainTransferDtoAgentFromJSON = exports.instanceOfDomainTransferDtoAgent = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainTransferDtoAgent interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDomainTransferDtoAgent(value) {
|
|
21
|
+
if (!('id' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('name' in value))
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfDomainTransferDtoAgent = instanceOfDomainTransferDtoAgent;
|
|
28
|
+
function DomainTransferDtoAgentFromJSON(json) {
|
|
29
|
+
return DomainTransferDtoAgentFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.DomainTransferDtoAgentFromJSON = DomainTransferDtoAgentFromJSON;
|
|
32
|
+
function DomainTransferDtoAgentFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.DomainTransferDtoAgentFromJSONTyped = DomainTransferDtoAgentFromJSONTyped;
|
|
42
|
+
function DomainTransferDtoAgentToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': value['id'],
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.DomainTransferDtoAgentToJSON = DomainTransferDtoAgentToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 DomainTransferOrderDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainTransferOrderDto {
|
|
18
|
+
/**
|
|
19
|
+
* The order ID
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof DomainTransferOrderDto
|
|
22
|
+
*/
|
|
23
|
+
id: object;
|
|
24
|
+
/**
|
|
25
|
+
* The order email address
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainTransferOrderDto
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
* The order seller account ID
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof DomainTransferOrderDto
|
|
34
|
+
*/
|
|
35
|
+
sellerAccountId: object;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the DomainTransferOrderDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfDomainTransferOrderDto(value: object): boolean;
|
|
41
|
+
export declare function DomainTransferOrderDtoFromJSON(json: any): DomainTransferOrderDto;
|
|
42
|
+
export declare function DomainTransferOrderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferOrderDto;
|
|
43
|
+
export declare function DomainTransferOrderDtoToJSON(value?: DomainTransferOrderDto | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.DomainTransferOrderDtoToJSON = exports.DomainTransferOrderDtoFromJSONTyped = exports.DomainTransferOrderDtoFromJSON = exports.instanceOfDomainTransferOrderDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainTransferOrderDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfDomainTransferOrderDto(value) {
|
|
21
|
+
if (!('id' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('email' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('sellerAccountId' in value))
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfDomainTransferOrderDto = instanceOfDomainTransferOrderDto;
|
|
30
|
+
function DomainTransferOrderDtoFromJSON(json) {
|
|
31
|
+
return DomainTransferOrderDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.DomainTransferOrderDtoFromJSON = DomainTransferOrderDtoFromJSON;
|
|
34
|
+
function DomainTransferOrderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'email': json['email'],
|
|
41
|
+
'sellerAccountId': json['sellerAccountId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.DomainTransferOrderDtoFromJSONTyped = DomainTransferOrderDtoFromJSONTyped;
|
|
45
|
+
function DomainTransferOrderDtoToJSON(value) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'email': value['email'],
|
|
52
|
+
'sellerAccountId': value['sellerAccountId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.DomainTransferOrderDtoToJSON = DomainTransferOrderDtoToJSON;
|
|
@@ -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;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { DomainTransferDto } from './DomainTransferDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetAllDomainTransfers200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface GetAllDomainTransfers200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<DomainTransferDto>}
|
|
24
|
+
* @memberof GetAllDomainTransfers200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<DomainTransferDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof GetAllDomainTransfers200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof GetAllDomainTransfers200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetAllDomainTransfers200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetAllDomainTransfers200Response(value: object): boolean;
|
|
44
|
+
export declare function GetAllDomainTransfers200ResponseFromJSON(json: any): GetAllDomainTransfers200Response;
|
|
45
|
+
export declare function GetAllDomainTransfers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllDomainTransfers200Response;
|
|
46
|
+
export declare function GetAllDomainTransfers200ResponseToJSON(value?: GetAllDomainTransfers200Response | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.GetAllDomainTransfers200ResponseToJSON = exports.GetAllDomainTransfers200ResponseFromJSONTyped = exports.GetAllDomainTransfers200ResponseFromJSON = exports.instanceOfGetAllDomainTransfers200Response = void 0;
|
|
17
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
18
|
+
var DomainTransferDto_1 = require("./DomainTransferDto");
|
|
19
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the GetAllDomainTransfers200Response interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfGetAllDomainTransfers200Response(value) {
|
|
24
|
+
if (!('data' in value))
|
|
25
|
+
return false;
|
|
26
|
+
if (!('meta' in value))
|
|
27
|
+
return false;
|
|
28
|
+
if (!('links' in value))
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfGetAllDomainTransfers200Response = instanceOfGetAllDomainTransfers200Response;
|
|
33
|
+
function GetAllDomainTransfers200ResponseFromJSON(json) {
|
|
34
|
+
return GetAllDomainTransfers200ResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.GetAllDomainTransfers200ResponseFromJSON = GetAllDomainTransfers200ResponseFromJSON;
|
|
37
|
+
function GetAllDomainTransfers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'data': (json['data'].map(DomainTransferDto_1.DomainTransferDtoFromJSON)),
|
|
43
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
44
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.GetAllDomainTransfers200ResponseFromJSONTyped = GetAllDomainTransfers200ResponseFromJSONTyped;
|
|
48
|
+
function GetAllDomainTransfers200ResponseToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'data': (value['data'].map(DomainTransferDto_1.DomainTransferDtoToJSON)),
|
|
54
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
55
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.GetAllDomainTransfers200ResponseToJSON = GetAllDomainTransfers200ResponseToJSON;
|
package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts
CHANGED
|
@@ -26,10 +26,10 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
|
|
|
26
26
|
id: string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
|
-
* @type {
|
|
29
|
+
* @type {string}
|
|
30
30
|
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
31
31
|
*/
|
|
32
|
-
identifier:
|
|
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;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.UserPasswordResetDtoToJSON = exports.UserPasswordResetDtoFromJSONTyped = exports.UserPasswordResetDtoFromJSON = exports.instanceOfUserPasswordResetDto = exports.UserPasswordResetDtoStatusEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
exports.UserPasswordResetDtoStatusEnum = {
|
|
21
|
+
ACTIVE: 'active',
|
|
22
|
+
EXPIRED: 'expired'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the UserPasswordResetDto interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfUserPasswordResetDto(value) {
|
|
28
|
+
if (!('id' in value))
|
|
29
|
+
return false;
|
|
30
|
+
if (!('status' in value))
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
exports.instanceOfUserPasswordResetDto = instanceOfUserPasswordResetDto;
|
|
35
|
+
function UserPasswordResetDtoFromJSON(json) {
|
|
36
|
+
return UserPasswordResetDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
exports.UserPasswordResetDtoFromJSON = UserPasswordResetDtoFromJSON;
|
|
39
|
+
function UserPasswordResetDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'status': json['status'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.UserPasswordResetDtoFromJSONTyped = UserPasswordResetDtoFromJSONTyped;
|
|
49
|
+
function UserPasswordResetDtoToJSON(value) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'status': value['status'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.UserPasswordResetDtoToJSON = UserPasswordResetDtoToJSON;
|