@randock/nameshift-api-client 0.0.294 → 0.0.296
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 +5 -1
- package/README.md +3 -3
- package/dist/models/AccountSettingsAffiliateCommissionDto.d.ts +56 -0
- package/dist/models/AccountSettingsAffiliateCommissionDto.js +67 -0
- package/dist/models/AccountSettingsAffiliateDto.d.ts +51 -0
- package/dist/models/AccountSettingsAffiliateDto.js +64 -0
- package/dist/models/AdminAccountSettingsAffiliateCommissionInput.d.ts +56 -0
- package/dist/models/AdminAccountSettingsAffiliateCommissionInput.js +65 -0
- package/dist/models/AdminAccountSettingsAffiliateInput.d.ts +51 -0
- package/dist/models/AdminAccountSettingsAffiliateInput.js +56 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +7 -0
- package/dist/models/AdminAccountSettingsInput.js +3 -0
- package/dist/models/{DomainDto.d.ts → IntersectionDomainDtoWithSeoMetricsDto.d.ts} +34 -27
- package/dist/models/{DomainDto.js → IntersectionDomainDtoWithSeoMetricsDto.js} +18 -13
- package/dist/models/List200Response2.d.ts +3 -3
- package/dist/models/List200Response2.js +3 -3
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +5 -1
- package/dist/models/index.js +5 -1
- package/package.json +1 -1
- package/src/models/AccountSettingsAffiliateCommissionDto.ts +102 -0
- package/src/models/AccountSettingsAffiliateDto.ts +101 -0
- package/src/models/AdminAccountSettingsAffiliateCommissionInput.ts +101 -0
- package/src/models/AdminAccountSettingsAffiliateInput.ts +97 -0
- package/src/models/AdminAccountSettingsInput.ts +16 -0
- package/src/models/{DomainDto.ts → IntersectionDomainDtoWithSeoMetricsDto.ts} +45 -29
- package/src/models/List200Response2.ts +10 -10
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +5 -1
|
@@ -13,134 +13,141 @@ import type { MoneyDto } from './MoneyDto';
|
|
|
13
13
|
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
14
14
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
15
15
|
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
16
|
+
import type { SeoMetricsDto } from './SeoMetricsDto';
|
|
16
17
|
import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
20
|
-
* @interface
|
|
21
|
+
* @interface IntersectionDomainDtoWithSeoMetricsDto
|
|
21
22
|
*/
|
|
22
|
-
export interface
|
|
23
|
+
export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
23
24
|
/**
|
|
24
25
|
* The uuid for this domain.
|
|
25
26
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
27
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
27
28
|
*/
|
|
28
29
|
id: string;
|
|
29
30
|
/**
|
|
30
31
|
* The current owner for the domain
|
|
31
32
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
33
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
33
34
|
*/
|
|
34
35
|
accountId: string;
|
|
35
36
|
/**
|
|
36
37
|
* The hijacker for the domain
|
|
37
38
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
39
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
39
40
|
*/
|
|
40
41
|
hijackerId: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The SEO metrics for this domain
|
|
44
|
+
* @type {SeoMetricsDto}
|
|
45
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
46
|
+
*/
|
|
47
|
+
seoMetrics: SeoMetricsDto | null;
|
|
41
48
|
/**
|
|
42
49
|
* The TLD for this domain.
|
|
43
50
|
* @type {string}
|
|
44
|
-
* @memberof
|
|
51
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
45
52
|
*/
|
|
46
53
|
tld: string;
|
|
47
54
|
/**
|
|
48
55
|
* Whether this domain is verified by the owner (ns3, txt) or not.
|
|
49
56
|
* @type {boolean}
|
|
50
|
-
* @memberof
|
|
57
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
51
58
|
*/
|
|
52
59
|
verified: boolean;
|
|
53
60
|
/**
|
|
54
61
|
* Whether the nameservers (ns1,ns2) are set or not.
|
|
55
62
|
* @type {boolean}
|
|
56
|
-
* @memberof
|
|
63
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
57
64
|
*/
|
|
58
65
|
nameservers: boolean;
|
|
59
66
|
/**
|
|
60
67
|
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
61
68
|
* @type {string}
|
|
62
|
-
* @memberof
|
|
69
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
63
70
|
*/
|
|
64
71
|
name: string;
|
|
65
72
|
/**
|
|
66
73
|
* The unicode domain name (example.com, mañana.com)
|
|
67
74
|
* @type {string}
|
|
68
|
-
* @memberof
|
|
75
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
69
76
|
*/
|
|
70
77
|
displayName: string;
|
|
71
78
|
/**
|
|
72
79
|
* /**
|
|
73
80
|
* The domain's currency code (ISO 4217)
|
|
74
81
|
* @type {string}
|
|
75
|
-
* @memberof
|
|
82
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
76
83
|
*/
|
|
77
84
|
currencyCode: string;
|
|
78
85
|
/**
|
|
79
86
|
* The BIN
|
|
80
87
|
* @type {MoneyDto}
|
|
81
|
-
* @memberof
|
|
88
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
82
89
|
*/
|
|
83
90
|
buyNow: MoneyDto;
|
|
84
91
|
/**
|
|
85
92
|
* The lease to own configuration
|
|
86
93
|
* @type {LeaseToOwnConfigurationDto}
|
|
87
|
-
* @memberof
|
|
94
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
88
95
|
*/
|
|
89
96
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
90
97
|
/**
|
|
91
98
|
* The rent configuration
|
|
92
99
|
* @type {RentConfigurationDto}
|
|
93
|
-
* @memberof
|
|
100
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
94
101
|
*/
|
|
95
102
|
rent: RentConfigurationDto;
|
|
96
103
|
/**
|
|
97
104
|
* The lease to own configuration
|
|
98
105
|
* @type {LandingPageSettingsDto}
|
|
99
|
-
* @memberof
|
|
106
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
100
107
|
*/
|
|
101
108
|
landingPageSettings: LandingPageSettingsDto;
|
|
102
109
|
/**
|
|
103
110
|
* The minimum offer
|
|
104
111
|
* @type {MoneyDto}
|
|
105
|
-
* @memberof
|
|
112
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
106
113
|
*/
|
|
107
114
|
minOffer: MoneyDto;
|
|
108
115
|
/**
|
|
109
116
|
* The creation date
|
|
110
117
|
* @type {Date}
|
|
111
|
-
* @memberof
|
|
118
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
112
119
|
*/
|
|
113
120
|
createdAt: Date;
|
|
114
121
|
/**
|
|
115
122
|
* The deletion date
|
|
116
123
|
* @type {Date}
|
|
117
|
-
* @memberof
|
|
124
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
118
125
|
*/
|
|
119
126
|
deletedAt: Date | null;
|
|
120
127
|
/**
|
|
121
128
|
* The amount of pageviews for this domain, or null if none are tracked.
|
|
122
129
|
* @type {number}
|
|
123
|
-
* @memberof
|
|
130
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
124
131
|
*/
|
|
125
132
|
pageviews: number;
|
|
126
133
|
/**
|
|
127
134
|
* Whether the third party sales data sharing is enabled.
|
|
128
135
|
* @type {boolean}
|
|
129
|
-
* @memberof
|
|
136
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
130
137
|
*/
|
|
131
138
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
132
139
|
/**
|
|
133
140
|
* The lead price negotiator configuration (AI Agent)
|
|
134
141
|
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
135
|
-
* @memberof
|
|
142
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
136
143
|
*/
|
|
137
144
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
138
145
|
}
|
|
139
146
|
/**
|
|
140
|
-
* Check if a given object implements the
|
|
147
|
+
* Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDto interface.
|
|
141
148
|
*/
|
|
142
|
-
export declare function
|
|
143
|
-
export declare function
|
|
144
|
-
export declare function
|
|
145
|
-
export declare function
|
|
146
|
-
export declare function
|
|
149
|
+
export declare function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object): value is IntersectionDomainDtoWithSeoMetricsDto;
|
|
150
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoFromJSON(json: any): IntersectionDomainDtoWithSeoMetricsDto;
|
|
151
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithSeoMetricsDto;
|
|
152
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoToJSON(json: any): IntersectionDomainDtoWithSeoMetricsDto;
|
|
153
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: IntersectionDomainDtoWithSeoMetricsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,26 +13,29 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfIntersectionDomainDtoWithSeoMetricsDto = instanceOfIntersectionDomainDtoWithSeoMetricsDto;
|
|
17
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoFromJSON = IntersectionDomainDtoWithSeoMetricsDtoFromJSON;
|
|
18
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped;
|
|
19
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoToJSON = IntersectionDomainDtoWithSeoMetricsDtoToJSON;
|
|
20
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
22
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
23
23
|
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
24
24
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
25
|
+
var SeoMetricsDto_1 = require("./SeoMetricsDto");
|
|
25
26
|
var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto");
|
|
26
27
|
/**
|
|
27
|
-
* Check if a given object implements the
|
|
28
|
+
* Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDto interface.
|
|
28
29
|
*/
|
|
29
|
-
function
|
|
30
|
+
function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
|
|
30
31
|
if (!('id' in value) || value['id'] === undefined)
|
|
31
32
|
return false;
|
|
32
33
|
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
33
34
|
return false;
|
|
34
35
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
35
36
|
return false;
|
|
37
|
+
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
38
|
+
return false;
|
|
36
39
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
37
40
|
return false;
|
|
38
41
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -67,10 +70,10 @@ function instanceOfDomainDto(value) {
|
|
|
67
70
|
return false;
|
|
68
71
|
return true;
|
|
69
72
|
}
|
|
70
|
-
function
|
|
71
|
-
return
|
|
73
|
+
function IntersectionDomainDtoWithSeoMetricsDtoFromJSON(json) {
|
|
74
|
+
return IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, false);
|
|
72
75
|
}
|
|
73
|
-
function
|
|
76
|
+
function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
74
77
|
if (json == null) {
|
|
75
78
|
return json;
|
|
76
79
|
}
|
|
@@ -78,6 +81,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
81
|
'id': json['id'],
|
|
79
82
|
'accountId': json['accountId'],
|
|
80
83
|
'hijackerId': json['hijackerId'],
|
|
84
|
+
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
|
|
81
85
|
'tld': json['tld'],
|
|
82
86
|
'verified': json['verified'],
|
|
83
87
|
'nameservers': json['nameservers'],
|
|
@@ -96,10 +100,10 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
96
100
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
|
|
97
101
|
};
|
|
98
102
|
}
|
|
99
|
-
function
|
|
100
|
-
return
|
|
103
|
+
function IntersectionDomainDtoWithSeoMetricsDtoToJSON(json) {
|
|
104
|
+
return IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(json, false);
|
|
101
105
|
}
|
|
102
|
-
function
|
|
106
|
+
function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
103
107
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
104
108
|
if (value == null) {
|
|
105
109
|
return value;
|
|
@@ -108,6 +112,7 @@ function DomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
108
112
|
'id': value['id'],
|
|
109
113
|
'accountId': value['accountId'],
|
|
110
114
|
'hijackerId': value['hijackerId'],
|
|
115
|
+
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
|
|
111
116
|
'tld': value['tld'],
|
|
112
117
|
'verified': value['verified'],
|
|
113
118
|
'nameservers': value['nameservers'],
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
-
import type {
|
|
13
|
+
import type { IntersectionDomainDtoWithSeoMetricsDto } from './IntersectionDomainDtoWithSeoMetricsDto';
|
|
14
14
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
|
20
20
|
export interface List200Response2 {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {Array<
|
|
23
|
+
* @type {Array<IntersectionDomainDtoWithSeoMetricsDto>}
|
|
24
24
|
* @memberof List200Response2
|
|
25
25
|
*/
|
|
26
|
-
data: Array<
|
|
26
|
+
data: Array<IntersectionDomainDtoWithSeoMetricsDto>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {PaginateResponseMeta}
|
|
@@ -19,7 +19,7 @@ exports.List200Response2FromJSONTyped = List200Response2FromJSONTyped;
|
|
|
19
19
|
exports.List200Response2ToJSON = List200Response2ToJSON;
|
|
20
20
|
exports.List200Response2ToJSONTyped = List200Response2ToJSONTyped;
|
|
21
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
-
var
|
|
22
|
+
var IntersectionDomainDtoWithSeoMetricsDto_1 = require("./IntersectionDomainDtoWithSeoMetricsDto");
|
|
23
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the List200Response2 interface.
|
|
@@ -41,7 +41,7 @@ function List200Response2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'data': (json['data'].map(
|
|
44
|
+
'data': (json['data'].map(IntersectionDomainDtoWithSeoMetricsDto_1.IntersectionDomainDtoWithSeoMetricsDtoFromJSON)),
|
|
45
45
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@ function List200Response2ToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'data': (value['data'].map(
|
|
58
|
+
'data': (value['data'].map(IntersectionDomainDtoWithSeoMetricsDto_1.IntersectionDomainDtoWithSeoMetricsDtoToJSON)),
|
|
59
59
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
60
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
61
|
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { LeadPriceNegotiatorAiAgentConfigurationDto } from './LeadPriceNegotiatorAiAgentConfigurationDto';
|
|
13
|
+
import type { AccountSettingsAffiliateDto } from './AccountSettingsAffiliateDto';
|
|
13
14
|
import type { MoneyDto } from './MoneyDto';
|
|
14
15
|
import type { AccountAliasDto } from './AccountAliasDto';
|
|
15
16
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
@@ -117,6 +118,12 @@ export interface WithSettingsInner {
|
|
|
117
118
|
* @memberof WithSettingsInner
|
|
118
119
|
*/
|
|
119
120
|
leadPriceNegotiatorAiAgent: LeadPriceNegotiatorAiAgentConfigurationDto;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {AccountSettingsAffiliateDto}
|
|
124
|
+
* @memberof WithSettingsInner
|
|
125
|
+
*/
|
|
126
|
+
affiliate: AccountSettingsAffiliateDto;
|
|
120
127
|
}
|
|
121
128
|
/**
|
|
122
129
|
* Check if a given object implements the WithSettingsInner interface.
|
|
@@ -19,6 +19,7 @@ exports.WithSettingsInnerFromJSONTyped = WithSettingsInnerFromJSONTyped;
|
|
|
19
19
|
exports.WithSettingsInnerToJSON = WithSettingsInnerToJSON;
|
|
20
20
|
exports.WithSettingsInnerToJSONTyped = WithSettingsInnerToJSONTyped;
|
|
21
21
|
var LeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./LeadPriceNegotiatorAiAgentConfigurationDto");
|
|
22
|
+
var AccountSettingsAffiliateDto_1 = require("./AccountSettingsAffiliateDto");
|
|
22
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
24
|
var AccountAliasDto_1 = require("./AccountAliasDto");
|
|
24
25
|
var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
|
|
@@ -60,6 +61,8 @@ function instanceOfWithSettingsInner(value) {
|
|
|
60
61
|
return false;
|
|
61
62
|
if (!('leadPriceNegotiatorAiAgent' in value) || value['leadPriceNegotiatorAiAgent'] === undefined)
|
|
62
63
|
return false;
|
|
64
|
+
if (!('affiliate' in value) || value['affiliate'] === undefined)
|
|
65
|
+
return false;
|
|
63
66
|
return true;
|
|
64
67
|
}
|
|
65
68
|
function WithSettingsInnerFromJSON(json) {
|
|
@@ -86,6 +89,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
89
|
'timezone': json['timezone'],
|
|
87
90
|
'alias': (0, AccountAliasDto_1.AccountAliasDtoFromJSON)(json['alias']),
|
|
88
91
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiatorAiAgent']),
|
|
92
|
+
'affiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoFromJSON)(json['affiliate']),
|
|
89
93
|
};
|
|
90
94
|
}
|
|
91
95
|
function WithSettingsInnerToJSON(json) {
|
|
@@ -113,5 +117,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
113
117
|
'timezone': value['timezone'],
|
|
114
118
|
'alias': (0, AccountAliasDto_1.AccountAliasDtoToJSON)(value['alias']),
|
|
115
119
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationDto_1.LeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiatorAiAgent']),
|
|
120
|
+
'affiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoToJSON)(value['affiliate']),
|
|
116
121
|
};
|
|
117
122
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export * from './AccountNotificationReadStatusDto';
|
|
|
9
9
|
export * from './AccountOnboardingDto';
|
|
10
10
|
export * from './AccountOnboardingSessionDto';
|
|
11
11
|
export * from './AccountPayoutDto';
|
|
12
|
+
export * from './AccountSettingsAffiliateCommissionDto';
|
|
13
|
+
export * from './AccountSettingsAffiliateDto';
|
|
12
14
|
export * from './AccountSettingsAliasDto';
|
|
13
15
|
export * from './AccountSettingsDto';
|
|
14
16
|
export * from './AccountSettingsInput';
|
|
@@ -17,6 +19,8 @@ export * from './AccountSettingsRentConfigurationDto';
|
|
|
17
19
|
export * from './AccountSettingsSidnDto';
|
|
18
20
|
export * from './AddressDto';
|
|
19
21
|
export * from './AdminAccountLoginDto';
|
|
22
|
+
export * from './AdminAccountSettingsAffiliateCommissionInput';
|
|
23
|
+
export * from './AdminAccountSettingsAffiliateInput';
|
|
20
24
|
export * from './AdminAccountSettingsInput';
|
|
21
25
|
export * from './AdminBankAccountDto';
|
|
22
26
|
export * from './AdminCompanyStatsDto';
|
|
@@ -68,7 +72,6 @@ export * from './CreateSubscriptionInput';
|
|
|
68
72
|
export * from './CursorBasedPageInfo';
|
|
69
73
|
export * from './CursorBasedPaginationResponse';
|
|
70
74
|
export * from './DeleteDomainsInput';
|
|
71
|
-
export * from './DomainDto';
|
|
72
75
|
export * from './DomainExchangeRateDto';
|
|
73
76
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
74
77
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
@@ -117,6 +120,7 @@ export * from './HttpException';
|
|
|
117
120
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
118
121
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
119
122
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
123
|
+
export * from './IntersectionDomainDtoWithSeoMetricsDto';
|
|
120
124
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
121
125
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
122
126
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
package/dist/models/index.js
CHANGED
|
@@ -27,6 +27,8 @@ __exportStar(require("./AccountNotificationReadStatusDto"), exports);
|
|
|
27
27
|
__exportStar(require("./AccountOnboardingDto"), exports);
|
|
28
28
|
__exportStar(require("./AccountOnboardingSessionDto"), exports);
|
|
29
29
|
__exportStar(require("./AccountPayoutDto"), exports);
|
|
30
|
+
__exportStar(require("./AccountSettingsAffiliateCommissionDto"), exports);
|
|
31
|
+
__exportStar(require("./AccountSettingsAffiliateDto"), exports);
|
|
30
32
|
__exportStar(require("./AccountSettingsAliasDto"), exports);
|
|
31
33
|
__exportStar(require("./AccountSettingsDto"), exports);
|
|
32
34
|
__exportStar(require("./AccountSettingsInput"), exports);
|
|
@@ -35,6 +37,8 @@ __exportStar(require("./AccountSettingsRentConfigurationDto"), exports);
|
|
|
35
37
|
__exportStar(require("./AccountSettingsSidnDto"), exports);
|
|
36
38
|
__exportStar(require("./AddressDto"), exports);
|
|
37
39
|
__exportStar(require("./AdminAccountLoginDto"), exports);
|
|
40
|
+
__exportStar(require("./AdminAccountSettingsAffiliateCommissionInput"), exports);
|
|
41
|
+
__exportStar(require("./AdminAccountSettingsAffiliateInput"), exports);
|
|
38
42
|
__exportStar(require("./AdminAccountSettingsInput"), exports);
|
|
39
43
|
__exportStar(require("./AdminBankAccountDto"), exports);
|
|
40
44
|
__exportStar(require("./AdminCompanyStatsDto"), exports);
|
|
@@ -86,7 +90,6 @@ __exportStar(require("./CreateSubscriptionInput"), exports);
|
|
|
86
90
|
__exportStar(require("./CursorBasedPageInfo"), exports);
|
|
87
91
|
__exportStar(require("./CursorBasedPaginationResponse"), exports);
|
|
88
92
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
89
|
-
__exportStar(require("./DomainDto"), exports);
|
|
90
93
|
__exportStar(require("./DomainExchangeRateDto"), exports);
|
|
91
94
|
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
92
95
|
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
@@ -135,6 +138,7 @@ __exportStar(require("./HttpException"), exports);
|
|
|
135
138
|
__exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
|
|
136
139
|
__exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
|
|
137
140
|
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
141
|
+
__exportStar(require("./IntersectionDomainDtoWithSeoMetricsDto"), exports);
|
|
138
142
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto"), exports);
|
|
139
143
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto"), exports);
|
|
140
144
|
__exportStar(require("./IntersectionLeadDtoWithListFieldsDto"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,102 @@
|
|
|
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 AccountSettingsAffiliateCommissionDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AccountSettingsAffiliateCommissionDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Date}
|
|
25
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
26
|
+
*/
|
|
27
|
+
start: Date;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
32
|
+
*/
|
|
33
|
+
end: Date | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
38
|
+
*/
|
|
39
|
+
leaseToOwnPercentage: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
44
|
+
*/
|
|
45
|
+
rentPercentage: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof AccountSettingsAffiliateCommissionDto
|
|
50
|
+
*/
|
|
51
|
+
orderPercentage: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the AccountSettingsAffiliateCommissionDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfAccountSettingsAffiliateCommissionDto(value: object): value is AccountSettingsAffiliateCommissionDto {
|
|
58
|
+
if (!('start' in value) || value['start'] === undefined) return false;
|
|
59
|
+
if (!('end' in value) || value['end'] === undefined) return false;
|
|
60
|
+
if (!('leaseToOwnPercentage' in value) || value['leaseToOwnPercentage'] === undefined) return false;
|
|
61
|
+
if (!('rentPercentage' in value) || value['rentPercentage'] === undefined) return false;
|
|
62
|
+
if (!('orderPercentage' in value) || value['orderPercentage'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function AccountSettingsAffiliateCommissionDtoFromJSON(json: any): AccountSettingsAffiliateCommissionDto {
|
|
67
|
+
return AccountSettingsAffiliateCommissionDtoFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function AccountSettingsAffiliateCommissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsAffiliateCommissionDto {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'start': (new Date(json['start'])),
|
|
77
|
+
'end': (json['end'] == null ? null : new Date(json['end'])),
|
|
78
|
+
'leaseToOwnPercentage': json['leaseToOwnPercentage'],
|
|
79
|
+
'rentPercentage': json['rentPercentage'],
|
|
80
|
+
'orderPercentage': json['orderPercentage'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function AccountSettingsAffiliateCommissionDtoToJSON(json: any): AccountSettingsAffiliateCommissionDto {
|
|
85
|
+
return AccountSettingsAffiliateCommissionDtoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function AccountSettingsAffiliateCommissionDtoToJSONTyped(value?: AccountSettingsAffiliateCommissionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'start': ((value['start']).toISOString()),
|
|
96
|
+
'end': (value['end'] == null ? null : (value['end'] as any).toISOString()),
|
|
97
|
+
'leaseToOwnPercentage': value['leaseToOwnPercentage'],
|
|
98
|
+
'rentPercentage': value['rentPercentage'],
|
|
99
|
+
'orderPercentage': value['orderPercentage'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
import type { AccountSettingsAffiliateCommissionDto } from './AccountSettingsAffiliateCommissionDto';
|
|
17
|
+
import {
|
|
18
|
+
AccountSettingsAffiliateCommissionDtoFromJSON,
|
|
19
|
+
AccountSettingsAffiliateCommissionDtoFromJSONTyped,
|
|
20
|
+
AccountSettingsAffiliateCommissionDtoToJSON,
|
|
21
|
+
AccountSettingsAffiliateCommissionDtoToJSONTyped,
|
|
22
|
+
} from './AccountSettingsAffiliateCommissionDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AccountSettingsAffiliateDto
|
|
28
|
+
*/
|
|
29
|
+
export interface AccountSettingsAffiliateDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AccountSettingsAffiliateDto
|
|
34
|
+
*/
|
|
35
|
+
defaultCommissionLeaseToOwn: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AccountSettingsAffiliateDto
|
|
40
|
+
*/
|
|
41
|
+
defaultCommissionRent: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AccountSettingsAffiliateDto
|
|
46
|
+
*/
|
|
47
|
+
defaultCommissionOrder: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<AccountSettingsAffiliateCommissionDto>}
|
|
51
|
+
* @memberof AccountSettingsAffiliateDto
|
|
52
|
+
*/
|
|
53
|
+
commissions: Array<AccountSettingsAffiliateCommissionDto>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the AccountSettingsAffiliateDto interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfAccountSettingsAffiliateDto(value: object): value is AccountSettingsAffiliateDto {
|
|
60
|
+
if (!('defaultCommissionLeaseToOwn' in value) || value['defaultCommissionLeaseToOwn'] === undefined) return false;
|
|
61
|
+
if (!('defaultCommissionRent' in value) || value['defaultCommissionRent'] === undefined) return false;
|
|
62
|
+
if (!('defaultCommissionOrder' in value) || value['defaultCommissionOrder'] === undefined) return false;
|
|
63
|
+
if (!('commissions' in value) || value['commissions'] === undefined) return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function AccountSettingsAffiliateDtoFromJSON(json: any): AccountSettingsAffiliateDto {
|
|
68
|
+
return AccountSettingsAffiliateDtoFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function AccountSettingsAffiliateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsAffiliateDto {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'defaultCommissionLeaseToOwn': json['defaultCommissionLeaseToOwn'],
|
|
78
|
+
'defaultCommissionRent': json['defaultCommissionRent'],
|
|
79
|
+
'defaultCommissionOrder': json['defaultCommissionOrder'],
|
|
80
|
+
'commissions': ((json['commissions'] as Array<any>).map(AccountSettingsAffiliateCommissionDtoFromJSON)),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function AccountSettingsAffiliateDtoToJSON(json: any): AccountSettingsAffiliateDto {
|
|
85
|
+
return AccountSettingsAffiliateDtoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function AccountSettingsAffiliateDtoToJSONTyped(value?: AccountSettingsAffiliateDto | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'defaultCommissionLeaseToOwn': value['defaultCommissionLeaseToOwn'],
|
|
96
|
+
'defaultCommissionRent': value['defaultCommissionRent'],
|
|
97
|
+
'defaultCommissionOrder': value['defaultCommissionOrder'],
|
|
98
|
+
'commissions': ((value['commissions'] as Array<any>).map(AccountSettingsAffiliateCommissionDtoToJSON)),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|