@randock/nameshift-api-client 0.0.380 → 0.0.381
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/README.md +3 -3
- 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/package.json +1 -1
- 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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.381
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.381 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
aacf7088fae8e98b1aebc120b0863e16ca5ae1d146923131a370fd4c834c2e8afbf59408af5fbb397f88402601194314
|
|
@@ -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.
|
package/package.json
CHANGED
|
@@ -25,6 +25,12 @@ export interface DomainSellerDto {
|
|
|
25
25
|
* @memberof DomainSellerDto
|
|
26
26
|
*/
|
|
27
27
|
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* The seller landing page external link
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DomainSellerDto
|
|
32
|
+
*/
|
|
33
|
+
externalLink: string | null;
|
|
28
34
|
/**
|
|
29
35
|
* The domain seller account creation date
|
|
30
36
|
* @type {Date}
|
|
@@ -74,6 +80,7 @@ export interface DomainSellerDto {
|
|
|
74
80
|
*/
|
|
75
81
|
export function instanceOfDomainSellerDto(value: object): value is DomainSellerDto {
|
|
76
82
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
83
|
+
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
77
84
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
78
85
|
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
79
86
|
if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
|
|
@@ -95,6 +102,7 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
95
102
|
return {
|
|
96
103
|
|
|
97
104
|
'id': json['id'],
|
|
105
|
+
'externalLink': json['externalLink'],
|
|
98
106
|
'createdAt': (new Date(json['createdAt'])),
|
|
99
107
|
'anonymous': json['anonymous'],
|
|
100
108
|
'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
|
|
@@ -117,6 +125,7 @@ export function DomainSellerDtoToJSONTyped(value?: DomainSellerDto | null, ignor
|
|
|
117
125
|
return {
|
|
118
126
|
|
|
119
127
|
'id': value['id'],
|
|
128
|
+
'externalLink': value['externalLink'],
|
|
120
129
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
121
130
|
'anonymous': value['anonymous'],
|
|
122
131
|
'lastOnline': (value['lastOnline'] == null ? null : (value['lastOnline'] as any).toISOString()),
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -155,7 +155,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
155
155
|
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
156
156
|
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
|
|
157
157
|
CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD',
|
|
158
|
-
QUADERNO_TAXES: 'QUADERNO_TAXES'
|
|
158
|
+
QUADERNO_TAXES: 'QUADERNO_TAXES',
|
|
159
|
+
ACCOUNT_ALIAS_LINK: 'ACCOUNT_ALIAS_LINK'
|
|
159
160
|
} as const;
|
|
160
161
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
161
162
|
|
|
@@ -85,6 +85,12 @@ export interface LandingPageInput {
|
|
|
85
85
|
* @memberof LandingPageInput
|
|
86
86
|
*/
|
|
87
87
|
requestLeadBuyerPhoneNumber?: LandingPageInputRequestLeadBuyerPhoneNumberEnum | null;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof LandingPageInput
|
|
92
|
+
*/
|
|
93
|
+
externalLink?: string | null;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
96
|
|
|
@@ -127,6 +133,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
127
133
|
'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
|
|
128
134
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'] == null ? undefined : json['requestLeadBuyerCompanyName'],
|
|
129
135
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'] == null ? undefined : json['requestLeadBuyerPhoneNumber'],
|
|
136
|
+
'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
|
|
130
137
|
};
|
|
131
138
|
}
|
|
132
139
|
|
|
@@ -152,6 +159,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
152
159
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
153
160
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
154
161
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
162
|
+
'externalLink': value['externalLink'],
|
|
155
163
|
};
|
|
156
164
|
}
|
|
157
165
|
|
|
@@ -85,6 +85,12 @@ export interface LandingPageSettingsDto {
|
|
|
85
85
|
* @memberof LandingPageSettingsDto
|
|
86
86
|
*/
|
|
87
87
|
requestLeadBuyerPhoneNumber: LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum | null;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof LandingPageSettingsDto
|
|
92
|
+
*/
|
|
93
|
+
externalLink: string | null;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
96
|
|
|
@@ -114,6 +120,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
|
|
|
114
120
|
if (!('dnssec' in value) || value['dnssec'] === undefined) return false;
|
|
115
121
|
if (!('requestLeadBuyerCompanyName' in value) || value['requestLeadBuyerCompanyName'] === undefined) return false;
|
|
116
122
|
if (!('requestLeadBuyerPhoneNumber' in value) || value['requestLeadBuyerPhoneNumber'] === undefined) return false;
|
|
123
|
+
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
117
124
|
return true;
|
|
118
125
|
}
|
|
119
126
|
|
|
@@ -138,6 +145,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
138
145
|
'dnssec': json['dnssec'],
|
|
139
146
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
|
|
140
147
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
|
|
148
|
+
'externalLink': json['externalLink'],
|
|
141
149
|
};
|
|
142
150
|
}
|
|
143
151
|
|
|
@@ -163,6 +171,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
163
171
|
'dnssec': value['dnssec'],
|
|
164
172
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
165
173
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
174
|
+
'externalLink': value['externalLink'],
|
|
166
175
|
};
|
|
167
176
|
}
|
|
168
177
|
|
|
@@ -161,7 +161,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
161
161
|
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
162
162
|
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
|
|
163
163
|
CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD',
|
|
164
|
-
QUADERNO_TAXES: 'QUADERNO_TAXES'
|
|
164
|
+
QUADERNO_TAXES: 'QUADERNO_TAXES',
|
|
165
|
+
ACCOUNT_ALIAS_LINK: 'ACCOUNT_ALIAS_LINK'
|
|
165
166
|
} as const;
|
|
166
167
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
167
168
|
|