@randock/nameshift-api-client 0.0.380 → 0.0.382
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 +8 -0
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +60 -1
- package/dist/apis/BuyersApi.js +277 -0
- package/dist/models/AddSubscriptionDomainRecordInput.d.ts +56 -0
- package/dist/models/AddSubscriptionDomainRecordInput.js +65 -0
- package/dist/models/BuyerDomainNameserverItemDto.d.ts +32 -0
- package/dist/models/BuyerDomainNameserverItemDto.js +51 -0
- package/dist/models/BuyerDomainRecordItemDto.d.ts +56 -0
- package/dist/models/BuyerDomainRecordItemDto.js +67 -0
- package/dist/models/BuyerDomainRecordsDto.d.ts +46 -0
- package/dist/models/BuyerDomainRecordsDto.js +61 -0
- package/dist/models/BuyerSubscriptionListItemDto.d.ts +6 -0
- package/dist/models/BuyerSubscriptionListItemDto.js +4 -0
- package/dist/models/DomainSellerDto.d.ts +6 -0
- package/dist/models/DomainSellerDto.js +4 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/LandingPageInput.d.ts +6 -0
- package/dist/models/LandingPageInput.js +2 -0
- package/dist/models/LandingPageSettingsDto.d.ts +6 -0
- package/dist/models/LandingPageSettingsDto.js +4 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/RemoveSubscriptionDomainRecordInput.d.ts +56 -0
- package/dist/models/RemoveSubscriptionDomainRecordInput.js +65 -0
- package/dist/models/SubscriptionDomainRecordInput.d.ts +56 -0
- package/dist/models/SubscriptionDomainRecordInput.js +65 -0
- package/dist/models/UpdateSubscriptionDomainNameserversInput.d.ts +32 -0
- package/dist/models/UpdateSubscriptionDomainNameserversInput.js +51 -0
- package/dist/models/UpdateSubscriptionDomainRecordInput.d.ts +39 -0
- package/dist/models/UpdateSubscriptionDomainRecordInput.js +56 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +280 -0
- package/src/models/AddSubscriptionDomainRecordInput.ts +101 -0
- package/src/models/BuyerDomainNameserverItemDto.ts +66 -0
- package/src/models/BuyerDomainRecordItemDto.ts +102 -0
- package/src/models/BuyerDomainRecordsDto.ts +99 -0
- package/src/models/BuyerSubscriptionListItemDto.ts +9 -0
- package/src/models/DomainSellerDto.ts +9 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/LandingPageInput.ts +8 -0
- package/src/models/LandingPageSettingsDto.ts +9 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/RemoveSubscriptionDomainRecordInput.ts +101 -0
- package/src/models/SubscriptionDomainRecordInput.ts +101 -0
- package/src/models/UpdateSubscriptionDomainNameserversInput.ts +66 -0
- package/src/models/UpdateSubscriptionDomainRecordInput.ts +83 -0
- package/src/models/index.ts +8 -0
|
@@ -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.instanceOfBuyerDomainNameserverItemDto = instanceOfBuyerDomainNameserverItemDto;
|
|
17
|
+
exports.BuyerDomainNameserverItemDtoFromJSON = BuyerDomainNameserverItemDtoFromJSON;
|
|
18
|
+
exports.BuyerDomainNameserverItemDtoFromJSONTyped = BuyerDomainNameserverItemDtoFromJSONTyped;
|
|
19
|
+
exports.BuyerDomainNameserverItemDtoToJSON = BuyerDomainNameserverItemDtoToJSON;
|
|
20
|
+
exports.BuyerDomainNameserverItemDtoToJSONTyped = BuyerDomainNameserverItemDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BuyerDomainNameserverItemDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBuyerDomainNameserverItemDto(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function BuyerDomainNameserverItemDtoFromJSON(json) {
|
|
30
|
+
return BuyerDomainNameserverItemDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function BuyerDomainNameserverItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function BuyerDomainNameserverItemDtoToJSON(json) {
|
|
41
|
+
return BuyerDomainNameserverItemDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function BuyerDomainNameserverItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'name': value['name'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 BuyerDomainRecordItemDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerDomainRecordItemDto {
|
|
18
|
+
/**
|
|
19
|
+
* Record name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BuyerDomainRecordItemDto
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Record type (e.g. A, AAAA, CNAME, TXT)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuyerDomainRecordItemDto
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
/**
|
|
31
|
+
* Record value
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerDomainRecordItemDto
|
|
34
|
+
*/
|
|
35
|
+
value: string;
|
|
36
|
+
/**
|
|
37
|
+
* TTL in seconds
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof BuyerDomainRecordItemDto
|
|
40
|
+
*/
|
|
41
|
+
ttl: number;
|
|
42
|
+
/**
|
|
43
|
+
* Priority (for MX records)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof BuyerDomainRecordItemDto
|
|
46
|
+
*/
|
|
47
|
+
priority: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the BuyerDomainRecordItemDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfBuyerDomainRecordItemDto(value: object): value is BuyerDomainRecordItemDto;
|
|
53
|
+
export declare function BuyerDomainRecordItemDtoFromJSON(json: any): BuyerDomainRecordItemDto;
|
|
54
|
+
export declare function BuyerDomainRecordItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerDomainRecordItemDto;
|
|
55
|
+
export declare function BuyerDomainRecordItemDtoToJSON(json: any): BuyerDomainRecordItemDto;
|
|
56
|
+
export declare function BuyerDomainRecordItemDtoToJSONTyped(value?: BuyerDomainRecordItemDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfBuyerDomainRecordItemDto = instanceOfBuyerDomainRecordItemDto;
|
|
17
|
+
exports.BuyerDomainRecordItemDtoFromJSON = BuyerDomainRecordItemDtoFromJSON;
|
|
18
|
+
exports.BuyerDomainRecordItemDtoFromJSONTyped = BuyerDomainRecordItemDtoFromJSONTyped;
|
|
19
|
+
exports.BuyerDomainRecordItemDtoToJSON = BuyerDomainRecordItemDtoToJSON;
|
|
20
|
+
exports.BuyerDomainRecordItemDtoToJSONTyped = BuyerDomainRecordItemDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BuyerDomainRecordItemDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBuyerDomainRecordItemDto(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('ttl' in value) || value['ttl'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('priority' in value) || value['priority'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function BuyerDomainRecordItemDtoFromJSON(json) {
|
|
38
|
+
return BuyerDomainRecordItemDtoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function BuyerDomainRecordItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'value': json['value'],
|
|
48
|
+
'ttl': json['ttl'],
|
|
49
|
+
'priority': json['priority'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function BuyerDomainRecordItemDtoToJSON(json) {
|
|
53
|
+
return BuyerDomainRecordItemDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function BuyerDomainRecordItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'name': value['name'],
|
|
62
|
+
'type': value['type'],
|
|
63
|
+
'value': value['value'],
|
|
64
|
+
'ttl': value['ttl'],
|
|
65
|
+
'priority': value['priority'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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 { BuyerDomainNameserverItemDto } from './BuyerDomainNameserverItemDto';
|
|
13
|
+
import type { BuyerDomainRecordItemDto } from './BuyerDomainRecordItemDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BuyerDomainRecordsDto
|
|
18
|
+
*/
|
|
19
|
+
export interface BuyerDomainRecordsDto {
|
|
20
|
+
/**
|
|
21
|
+
* Domain nameservers
|
|
22
|
+
* @type {Array<BuyerDomainNameserverItemDto>}
|
|
23
|
+
* @memberof BuyerDomainRecordsDto
|
|
24
|
+
*/
|
|
25
|
+
nameservers: Array<BuyerDomainNameserverItemDto>;
|
|
26
|
+
/**
|
|
27
|
+
* DNS records (excluding NS and SOA)
|
|
28
|
+
* @type {Array<BuyerDomainRecordItemDto>}
|
|
29
|
+
* @memberof BuyerDomainRecordsDto
|
|
30
|
+
*/
|
|
31
|
+
records: Array<BuyerDomainRecordItemDto>;
|
|
32
|
+
/**
|
|
33
|
+
* Authority nameservers
|
|
34
|
+
* @type {Array<BuyerDomainNameserverItemDto>}
|
|
35
|
+
* @memberof BuyerDomainRecordsDto
|
|
36
|
+
*/
|
|
37
|
+
authorityNs: Array<BuyerDomainNameserverItemDto>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the BuyerDomainRecordsDto interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfBuyerDomainRecordsDto(value: object): value is BuyerDomainRecordsDto;
|
|
43
|
+
export declare function BuyerDomainRecordsDtoFromJSON(json: any): BuyerDomainRecordsDto;
|
|
44
|
+
export declare function BuyerDomainRecordsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerDomainRecordsDto;
|
|
45
|
+
export declare function BuyerDomainRecordsDtoToJSON(json: any): BuyerDomainRecordsDto;
|
|
46
|
+
export declare function BuyerDomainRecordsDtoToJSONTyped(value?: BuyerDomainRecordsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.instanceOfBuyerDomainRecordsDto = instanceOfBuyerDomainRecordsDto;
|
|
17
|
+
exports.BuyerDomainRecordsDtoFromJSON = BuyerDomainRecordsDtoFromJSON;
|
|
18
|
+
exports.BuyerDomainRecordsDtoFromJSONTyped = BuyerDomainRecordsDtoFromJSONTyped;
|
|
19
|
+
exports.BuyerDomainRecordsDtoToJSON = BuyerDomainRecordsDtoToJSON;
|
|
20
|
+
exports.BuyerDomainRecordsDtoToJSONTyped = BuyerDomainRecordsDtoToJSONTyped;
|
|
21
|
+
var BuyerDomainNameserverItemDto_1 = require("./BuyerDomainNameserverItemDto");
|
|
22
|
+
var BuyerDomainRecordItemDto_1 = require("./BuyerDomainRecordItemDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the BuyerDomainRecordsDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfBuyerDomainRecordsDto(value) {
|
|
27
|
+
if (!('nameservers' in value) || value['nameservers'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('records' in value) || value['records'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('authorityNs' in value) || value['authorityNs'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function BuyerDomainRecordsDtoFromJSON(json) {
|
|
36
|
+
return BuyerDomainRecordsDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function BuyerDomainRecordsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'nameservers': (json['nameservers'].map(BuyerDomainNameserverItemDto_1.BuyerDomainNameserverItemDtoFromJSON)),
|
|
44
|
+
'records': (json['records'].map(BuyerDomainRecordItemDto_1.BuyerDomainRecordItemDtoFromJSON)),
|
|
45
|
+
'authorityNs': (json['authorityNs'].map(BuyerDomainNameserverItemDto_1.BuyerDomainNameserverItemDtoFromJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function BuyerDomainRecordsDtoToJSON(json) {
|
|
49
|
+
return BuyerDomainRecordsDtoToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function BuyerDomainRecordsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'nameservers': (value['nameservers'].map(BuyerDomainNameserverItemDto_1.BuyerDomainNameserverItemDtoToJSON)),
|
|
58
|
+
'records': (value['records'].map(BuyerDomainRecordItemDto_1.BuyerDomainRecordItemDtoToJSON)),
|
|
59
|
+
'authorityNs': (value['authorityNs'].map(BuyerDomainNameserverItemDto_1.BuyerDomainNameserverItemDtoToJSON)),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -101,6 +101,12 @@ export interface BuyerSubscriptionListItemDto {
|
|
|
101
101
|
* @memberof BuyerSubscriptionListItemDto
|
|
102
102
|
*/
|
|
103
103
|
paymentUrl: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Whether the user can manage domain DNSs (subscription active, owned domain has externalId and status finished)
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof BuyerSubscriptionListItemDto
|
|
108
|
+
*/
|
|
109
|
+
canManageDomainDns: boolean;
|
|
104
110
|
}
|
|
105
111
|
/**
|
|
106
112
|
* @export
|
|
@@ -77,6 +77,8 @@ function instanceOfBuyerSubscriptionListItemDto(value) {
|
|
|
77
77
|
return false;
|
|
78
78
|
if (!('paymentUrl' in value) || value['paymentUrl'] === undefined)
|
|
79
79
|
return false;
|
|
80
|
+
if (!('canManageDomainDns' in value) || value['canManageDomainDns'] === undefined)
|
|
81
|
+
return false;
|
|
80
82
|
return true;
|
|
81
83
|
}
|
|
82
84
|
function BuyerSubscriptionListItemDtoFromJSON(json) {
|
|
@@ -101,6 +103,7 @@ function BuyerSubscriptionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
101
103
|
'paidInstallmentsNumber': json['paidInstallmentsNumber'],
|
|
102
104
|
'renewAt': (new Date(json['renewAt'])),
|
|
103
105
|
'paymentUrl': json['paymentUrl'],
|
|
106
|
+
'canManageDomainDns': json['canManageDomainDns'],
|
|
104
107
|
};
|
|
105
108
|
}
|
|
106
109
|
function BuyerSubscriptionListItemDtoToJSON(json) {
|
|
@@ -126,5 +129,6 @@ function BuyerSubscriptionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
126
129
|
'paidInstallmentsNumber': value['paidInstallmentsNumber'],
|
|
127
130
|
'renewAt': ((value['renewAt']).toISOString()),
|
|
128
131
|
'paymentUrl': value['paymentUrl'],
|
|
132
|
+
'canManageDomainDns': value['canManageDomainDns'],
|
|
129
133
|
};
|
|
130
134
|
}
|
|
@@ -21,6 +21,12 @@ export interface DomainSellerDto {
|
|
|
21
21
|
* @memberof DomainSellerDto
|
|
22
22
|
*/
|
|
23
23
|
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The seller landing page external link
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainSellerDto
|
|
28
|
+
*/
|
|
29
|
+
externalLink: string | null;
|
|
24
30
|
/**
|
|
25
31
|
* The domain seller account creation date
|
|
26
32
|
* @type {Date}
|
|
@@ -24,6 +24,8 @@ exports.DomainSellerDtoToJSONTyped = DomainSellerDtoToJSONTyped;
|
|
|
24
24
|
function instanceOfDomainSellerDto(value) {
|
|
25
25
|
if (!('id' in value) || value['id'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('externalLink' in value) || value['externalLink'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('anonymous' in value) || value['anonymous'] === undefined)
|
|
@@ -49,6 +51,7 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
}
|
|
50
52
|
return {
|
|
51
53
|
'id': json['id'],
|
|
54
|
+
'externalLink': json['externalLink'],
|
|
52
55
|
'createdAt': (new Date(json['createdAt'])),
|
|
53
56
|
'anonymous': json['anonymous'],
|
|
54
57
|
'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
|
|
@@ -68,6 +71,7 @@ function DomainSellerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
71
|
}
|
|
69
72
|
return {
|
|
70
73
|
'id': value['id'],
|
|
74
|
+
'externalLink': value['externalLink'],
|
|
71
75
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
72
76
|
'anonymous': value['anonymous'],
|
|
73
77
|
'lastOnline': (value['lastOnline'] == null ? null : value['lastOnline'].toISOString()),
|
|
@@ -113,6 +113,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
|
|
|
113
113
|
readonly DOMAIN_AUCTIONS: "DOMAIN_AUCTIONS";
|
|
114
114
|
readonly CRYPTO_PAYMENT_METHOD: "CRYPTO_PAYMENT_METHOD";
|
|
115
115
|
readonly QUADERNO_TAXES: "QUADERNO_TAXES";
|
|
116
|
+
readonly ACCOUNT_ALIAS_LINK: "ACCOUNT_ALIAS_LINK";
|
|
116
117
|
};
|
|
117
118
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
118
119
|
/**
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -43,7 +43,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
|
|
|
43
43
|
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
44
44
|
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
|
|
45
45
|
CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD',
|
|
46
|
-
QUADERNO_TAXES: 'QUADERNO_TAXES'
|
|
46
|
+
QUADERNO_TAXES: 'QUADERNO_TAXES',
|
|
47
|
+
ACCOUNT_ALIAS_LINK: 'ACCOUNT_ALIAS_LINK'
|
|
47
48
|
};
|
|
48
49
|
/**
|
|
49
50
|
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
@@ -81,6 +81,12 @@ export interface LandingPageInput {
|
|
|
81
81
|
* @memberof LandingPageInput
|
|
82
82
|
*/
|
|
83
83
|
requestLeadBuyerPhoneNumber?: LandingPageInputRequestLeadBuyerPhoneNumberEnum | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof LandingPageInput
|
|
88
|
+
*/
|
|
89
|
+
externalLink?: string | null;
|
|
84
90
|
}
|
|
85
91
|
/**
|
|
86
92
|
* @export
|
|
@@ -52,6 +52,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
|
|
53
53
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'] == null ? undefined : json['requestLeadBuyerCompanyName'],
|
|
54
54
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'] == null ? undefined : json['requestLeadBuyerPhoneNumber'],
|
|
55
|
+
'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
function LandingPageInputToJSON(json) {
|
|
@@ -74,5 +75,6 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
74
75
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
75
76
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
76
77
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
78
|
+
'externalLink': value['externalLink'],
|
|
77
79
|
};
|
|
78
80
|
}
|
|
@@ -81,6 +81,12 @@ export interface LandingPageSettingsDto {
|
|
|
81
81
|
* @memberof LandingPageSettingsDto
|
|
82
82
|
*/
|
|
83
83
|
requestLeadBuyerPhoneNumber: LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof LandingPageSettingsDto
|
|
88
|
+
*/
|
|
89
|
+
externalLink: string | null;
|
|
84
90
|
}
|
|
85
91
|
/**
|
|
86
92
|
* @export
|
|
@@ -53,6 +53,8 @@ function instanceOfLandingPageSettingsDto(value) {
|
|
|
53
53
|
return false;
|
|
54
54
|
if (!('requestLeadBuyerPhoneNumber' in value) || value['requestLeadBuyerPhoneNumber'] === undefined)
|
|
55
55
|
return false;
|
|
56
|
+
if (!('externalLink' in value) || value['externalLink'] === undefined)
|
|
57
|
+
return false;
|
|
56
58
|
return true;
|
|
57
59
|
}
|
|
58
60
|
function LandingPageSettingsDtoFromJSON(json) {
|
|
@@ -74,6 +76,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
74
76
|
'dnssec': json['dnssec'],
|
|
75
77
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
|
|
76
78
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
|
|
79
|
+
'externalLink': json['externalLink'],
|
|
77
80
|
};
|
|
78
81
|
}
|
|
79
82
|
function LandingPageSettingsDtoToJSON(json) {
|
|
@@ -96,5 +99,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
96
99
|
'dnssec': value['dnssec'],
|
|
97
100
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
98
101
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
102
|
+
'externalLink': value['externalLink'],
|
|
99
103
|
};
|
|
100
104
|
}
|
|
@@ -119,6 +119,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
|
|
|
119
119
|
readonly DOMAIN_AUCTIONS: "DOMAIN_AUCTIONS";
|
|
120
120
|
readonly CRYPTO_PAYMENT_METHOD: "CRYPTO_PAYMENT_METHOD";
|
|
121
121
|
readonly QUADERNO_TAXES: "QUADERNO_TAXES";
|
|
122
|
+
readonly ACCOUNT_ALIAS_LINK: "ACCOUNT_ALIAS_LINK";
|
|
122
123
|
};
|
|
123
124
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
124
125
|
/**
|
|
@@ -43,7 +43,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
43
43
|
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
44
44
|
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
|
|
45
45
|
CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD',
|
|
46
|
-
QUADERNO_TAXES: 'QUADERNO_TAXES'
|
|
46
|
+
QUADERNO_TAXES: 'QUADERNO_TAXES',
|
|
47
|
+
ACCOUNT_ALIAS_LINK: 'ACCOUNT_ALIAS_LINK'
|
|
47
48
|
};
|
|
48
49
|
/**
|
|
49
50
|
* Check if a given object implements the PrivateAccountGetMeResponse interface.
|
|
@@ -0,0 +1,56 @@
|
|
|
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 RemoveSubscriptionDomainRecordInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RemoveSubscriptionDomainRecordInput {
|
|
18
|
+
/**
|
|
19
|
+
* Record name (e.g. subdomain or @ for apex)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RemoveSubscriptionDomainRecordInput
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Record type (e.g. A, AAAA, CNAME, MX, TXT)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RemoveSubscriptionDomainRecordInput
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
/**
|
|
31
|
+
* Record value
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RemoveSubscriptionDomainRecordInput
|
|
34
|
+
*/
|
|
35
|
+
value: string;
|
|
36
|
+
/**
|
|
37
|
+
* TTL in seconds
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof RemoveSubscriptionDomainRecordInput
|
|
40
|
+
*/
|
|
41
|
+
ttl: number;
|
|
42
|
+
/**
|
|
43
|
+
* Priority (for MX records)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof RemoveSubscriptionDomainRecordInput
|
|
46
|
+
*/
|
|
47
|
+
priority?: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the RemoveSubscriptionDomainRecordInput interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfRemoveSubscriptionDomainRecordInput(value: object): value is RemoveSubscriptionDomainRecordInput;
|
|
53
|
+
export declare function RemoveSubscriptionDomainRecordInputFromJSON(json: any): RemoveSubscriptionDomainRecordInput;
|
|
54
|
+
export declare function RemoveSubscriptionDomainRecordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoveSubscriptionDomainRecordInput;
|
|
55
|
+
export declare function RemoveSubscriptionDomainRecordInputToJSON(json: any): RemoveSubscriptionDomainRecordInput;
|
|
56
|
+
export declare function RemoveSubscriptionDomainRecordInputToJSONTyped(value?: RemoveSubscriptionDomainRecordInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.instanceOfRemoveSubscriptionDomainRecordInput = instanceOfRemoveSubscriptionDomainRecordInput;
|
|
17
|
+
exports.RemoveSubscriptionDomainRecordInputFromJSON = RemoveSubscriptionDomainRecordInputFromJSON;
|
|
18
|
+
exports.RemoveSubscriptionDomainRecordInputFromJSONTyped = RemoveSubscriptionDomainRecordInputFromJSONTyped;
|
|
19
|
+
exports.RemoveSubscriptionDomainRecordInputToJSON = RemoveSubscriptionDomainRecordInputToJSON;
|
|
20
|
+
exports.RemoveSubscriptionDomainRecordInputToJSONTyped = RemoveSubscriptionDomainRecordInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RemoveSubscriptionDomainRecordInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRemoveSubscriptionDomainRecordInput(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('ttl' in value) || value['ttl'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function RemoveSubscriptionDomainRecordInputFromJSON(json) {
|
|
36
|
+
return RemoveSubscriptionDomainRecordInputFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function RemoveSubscriptionDomainRecordInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'type': json['type'],
|
|
45
|
+
'value': json['value'],
|
|
46
|
+
'ttl': json['ttl'],
|
|
47
|
+
'priority': json['priority'] == null ? undefined : json['priority'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function RemoveSubscriptionDomainRecordInputToJSON(json) {
|
|
51
|
+
return RemoveSubscriptionDomainRecordInputToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function RemoveSubscriptionDomainRecordInputToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'type': value['type'],
|
|
61
|
+
'value': value['value'],
|
|
62
|
+
'ttl': value['ttl'],
|
|
63
|
+
'priority': value['priority'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 SubscriptionDomainRecordInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SubscriptionDomainRecordInput {
|
|
18
|
+
/**
|
|
19
|
+
* Record name (e.g. subdomain or @ for apex)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SubscriptionDomainRecordInput
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Record type (e.g. A, AAAA, CNAME, MX, TXT)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SubscriptionDomainRecordInput
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
/**
|
|
31
|
+
* Record value
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SubscriptionDomainRecordInput
|
|
34
|
+
*/
|
|
35
|
+
value: string;
|
|
36
|
+
/**
|
|
37
|
+
* TTL in seconds
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SubscriptionDomainRecordInput
|
|
40
|
+
*/
|
|
41
|
+
ttl: number;
|
|
42
|
+
/**
|
|
43
|
+
* Priority (for MX records)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SubscriptionDomainRecordInput
|
|
46
|
+
*/
|
|
47
|
+
priority?: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SubscriptionDomainRecordInput interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSubscriptionDomainRecordInput(value: object): value is SubscriptionDomainRecordInput;
|
|
53
|
+
export declare function SubscriptionDomainRecordInputFromJSON(json: any): SubscriptionDomainRecordInput;
|
|
54
|
+
export declare function SubscriptionDomainRecordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionDomainRecordInput;
|
|
55
|
+
export declare function SubscriptionDomainRecordInputToJSON(json: any): SubscriptionDomainRecordInput;
|
|
56
|
+
export declare function SubscriptionDomainRecordInputToJSONTyped(value?: SubscriptionDomainRecordInput | null, ignoreDiscriminator?: boolean): any;
|