@randock/nameshift-api-client 0.0.438 → 0.0.440
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/LandingPageInput.d.ts +15 -0
- package/dist/models/LandingPageInput.js +11 -1
- package/dist/models/LandingPageSettingsDto.d.ts +15 -0
- package/dist/models/LandingPageSettingsDto.js +13 -1
- package/dist/models/SubscriptionDetailsDto.d.ts +1 -0
- package/dist/models/SubscriptionDetailsDto.js +2 -1
- package/dist/models/SubscriptionListItemDto.d.ts +1 -0
- package/dist/models/SubscriptionListItemDto.js +2 -1
- package/package.json +1 -1
- package/src/models/LandingPageInput.ts +18 -0
- package/src/models/LandingPageSettingsDto.ts +19 -0
- package/src/models/SubscriptionDetailsDto.ts +2 -1
- package/src/models/SubscriptionListItemDto.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.440
|
|
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.440 --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
|
+
bc72e8af185d57af6239ad3a4a5756a31e60b8a537232efc93ddd2c3c00e8a62e3a304675686ddc34cb3f630b008dc58
|
|
@@ -87,6 +87,12 @@ export interface LandingPageInput {
|
|
|
87
87
|
* @memberof LandingPageInput
|
|
88
88
|
*/
|
|
89
89
|
externalLink?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Landing page UI design variant
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof LandingPageInput
|
|
94
|
+
*/
|
|
95
|
+
design?: LandingPageInputDesignEnum | null;
|
|
90
96
|
}
|
|
91
97
|
/**
|
|
92
98
|
* @export
|
|
@@ -97,6 +103,15 @@ export declare const LandingPageInputRequestLeadBuyerPhoneNumberEnum: {
|
|
|
97
103
|
readonly OPTIONAL: "optional";
|
|
98
104
|
};
|
|
99
105
|
export type LandingPageInputRequestLeadBuyerPhoneNumberEnum = typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum];
|
|
106
|
+
/**
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
export declare const LandingPageInputDesignEnum: {
|
|
110
|
+
readonly ORIGINAL: "original";
|
|
111
|
+
readonly MODERN: "modern";
|
|
112
|
+
readonly MINIMAL: "minimal";
|
|
113
|
+
};
|
|
114
|
+
export type LandingPageInputDesignEnum = typeof LandingPageInputDesignEnum[keyof typeof LandingPageInputDesignEnum];
|
|
100
115
|
/**
|
|
101
116
|
* Check if a given object implements the LandingPageInput interface.
|
|
102
117
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
|
|
16
|
+
exports.LandingPageInputDesignEnum = exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
|
|
17
17
|
exports.instanceOfLandingPageInput = instanceOfLandingPageInput;
|
|
18
18
|
exports.LandingPageInputFromJSON = LandingPageInputFromJSON;
|
|
19
19
|
exports.LandingPageInputFromJSONTyped = LandingPageInputFromJSONTyped;
|
|
@@ -27,6 +27,14 @@ exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = {
|
|
|
27
27
|
REQUIRED: 'required',
|
|
28
28
|
OPTIONAL: 'optional'
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.LandingPageInputDesignEnum = {
|
|
34
|
+
ORIGINAL: 'original',
|
|
35
|
+
MODERN: 'modern',
|
|
36
|
+
MINIMAL: 'minimal'
|
|
37
|
+
};
|
|
30
38
|
/**
|
|
31
39
|
* Check if a given object implements the LandingPageInput interface.
|
|
32
40
|
*/
|
|
@@ -53,6 +61,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
61
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'] == null ? undefined : json['requestLeadBuyerCompanyName'],
|
|
54
62
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'] == null ? undefined : json['requestLeadBuyerPhoneNumber'],
|
|
55
63
|
'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
|
|
64
|
+
'design': json['design'] == null ? undefined : json['design'],
|
|
56
65
|
};
|
|
57
66
|
}
|
|
58
67
|
function LandingPageInputToJSON(json) {
|
|
@@ -76,5 +85,6 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
76
85
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
77
86
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
78
87
|
'externalLink': value['externalLink'],
|
|
88
|
+
'design': value['design'],
|
|
79
89
|
};
|
|
80
90
|
}
|
|
@@ -87,6 +87,12 @@ export interface LandingPageSettingsDto {
|
|
|
87
87
|
* @memberof LandingPageSettingsDto
|
|
88
88
|
*/
|
|
89
89
|
externalLink: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Landing page UI design variant.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof LandingPageSettingsDto
|
|
94
|
+
*/
|
|
95
|
+
design: LandingPageSettingsDtoDesignEnum | null;
|
|
90
96
|
}
|
|
91
97
|
/**
|
|
92
98
|
* @export
|
|
@@ -97,6 +103,15 @@ export declare const LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum: {
|
|
|
97
103
|
readonly OPTIONAL: "optional";
|
|
98
104
|
};
|
|
99
105
|
export type LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum];
|
|
106
|
+
/**
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
export declare const LandingPageSettingsDtoDesignEnum: {
|
|
110
|
+
readonly ORIGINAL: "original";
|
|
111
|
+
readonly MODERN: "modern";
|
|
112
|
+
readonly MINIMAL: "minimal";
|
|
113
|
+
};
|
|
114
|
+
export type LandingPageSettingsDtoDesignEnum = typeof LandingPageSettingsDtoDesignEnum[keyof typeof LandingPageSettingsDtoDesignEnum];
|
|
100
115
|
/**
|
|
101
116
|
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
102
117
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
|
|
16
|
+
exports.LandingPageSettingsDtoDesignEnum = exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
|
|
17
17
|
exports.instanceOfLandingPageSettingsDto = instanceOfLandingPageSettingsDto;
|
|
18
18
|
exports.LandingPageSettingsDtoFromJSON = LandingPageSettingsDtoFromJSON;
|
|
19
19
|
exports.LandingPageSettingsDtoFromJSONTyped = LandingPageSettingsDtoFromJSONTyped;
|
|
@@ -27,6 +27,14 @@ exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = {
|
|
|
27
27
|
REQUIRED: 'required',
|
|
28
28
|
OPTIONAL: 'optional'
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.LandingPageSettingsDtoDesignEnum = {
|
|
34
|
+
ORIGINAL: 'original',
|
|
35
|
+
MODERN: 'modern',
|
|
36
|
+
MINIMAL: 'minimal'
|
|
37
|
+
};
|
|
30
38
|
/**
|
|
31
39
|
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
32
40
|
*/
|
|
@@ -55,6 +63,8 @@ function instanceOfLandingPageSettingsDto(value) {
|
|
|
55
63
|
return false;
|
|
56
64
|
if (!('externalLink' in value) || value['externalLink'] === undefined)
|
|
57
65
|
return false;
|
|
66
|
+
if (!('design' in value) || value['design'] === undefined)
|
|
67
|
+
return false;
|
|
58
68
|
return true;
|
|
59
69
|
}
|
|
60
70
|
function LandingPageSettingsDtoFromJSON(json) {
|
|
@@ -77,6 +87,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
87
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
|
|
78
88
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
|
|
79
89
|
'externalLink': json['externalLink'],
|
|
90
|
+
'design': json['design'],
|
|
80
91
|
};
|
|
81
92
|
}
|
|
82
93
|
function LandingPageSettingsDtoToJSON(json) {
|
|
@@ -100,5 +111,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
100
111
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
101
112
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
102
113
|
'externalLink': value['externalLink'],
|
|
114
|
+
'design': value['design'],
|
|
103
115
|
};
|
|
104
116
|
}
|
|
@@ -287,6 +287,7 @@ export type SubscriptionDetailsDtoRenewStatusEnum = typeof SubscriptionDetailsDt
|
|
|
287
287
|
export declare const SubscriptionDetailsDtoRenewStatusReasonEnum: {
|
|
288
288
|
readonly IMPOSSIBLE_TO_PAY: "impossible_to_pay";
|
|
289
289
|
readonly REQUIRE_RETRY: "require_retry";
|
|
290
|
+
readonly INVALID_VAT_NUMBER: "invalid_vat_number";
|
|
290
291
|
};
|
|
291
292
|
export type SubscriptionDetailsDtoRenewStatusReasonEnum = typeof SubscriptionDetailsDtoRenewStatusReasonEnum[keyof typeof SubscriptionDetailsDtoRenewStatusReasonEnum];
|
|
292
293
|
/**
|
|
@@ -58,7 +58,8 @@ exports.SubscriptionDetailsDtoRenewStatusEnum = {
|
|
|
58
58
|
*/
|
|
59
59
|
exports.SubscriptionDetailsDtoRenewStatusReasonEnum = {
|
|
60
60
|
IMPOSSIBLE_TO_PAY: 'impossible_to_pay',
|
|
61
|
-
REQUIRE_RETRY: 'require_retry'
|
|
61
|
+
REQUIRE_RETRY: 'require_retry',
|
|
62
|
+
INVALID_VAT_NUMBER: 'invalid_vat_number'
|
|
62
63
|
};
|
|
63
64
|
/**
|
|
64
65
|
* @export
|
|
@@ -269,6 +269,7 @@ export type SubscriptionListItemDtoRenewStatusEnum = typeof SubscriptionListItem
|
|
|
269
269
|
export declare const SubscriptionListItemDtoRenewStatusReasonEnum: {
|
|
270
270
|
readonly IMPOSSIBLE_TO_PAY: "impossible_to_pay";
|
|
271
271
|
readonly REQUIRE_RETRY: "require_retry";
|
|
272
|
+
readonly INVALID_VAT_NUMBER: "invalid_vat_number";
|
|
272
273
|
};
|
|
273
274
|
export type SubscriptionListItemDtoRenewStatusReasonEnum = typeof SubscriptionListItemDtoRenewStatusReasonEnum[keyof typeof SubscriptionListItemDtoRenewStatusReasonEnum];
|
|
274
275
|
/**
|
|
@@ -63,7 +63,8 @@ exports.SubscriptionListItemDtoRenewStatusEnum = {
|
|
|
63
63
|
*/
|
|
64
64
|
exports.SubscriptionListItemDtoRenewStatusReasonEnum = {
|
|
65
65
|
IMPOSSIBLE_TO_PAY: 'impossible_to_pay',
|
|
66
|
-
REQUIRE_RETRY: 'require_retry'
|
|
66
|
+
REQUIRE_RETRY: 'require_retry',
|
|
67
|
+
INVALID_VAT_NUMBER: 'invalid_vat_number'
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* @export
|
package/package.json
CHANGED
|
@@ -91,6 +91,12 @@ export interface LandingPageInput {
|
|
|
91
91
|
* @memberof LandingPageInput
|
|
92
92
|
*/
|
|
93
93
|
externalLink?: string | null;
|
|
94
|
+
/**
|
|
95
|
+
* Landing page UI design variant
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof LandingPageInput
|
|
98
|
+
*/
|
|
99
|
+
design?: LandingPageInputDesignEnum | null;
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
|
|
@@ -104,6 +110,16 @@ export const LandingPageInputRequestLeadBuyerPhoneNumberEnum = {
|
|
|
104
110
|
} as const;
|
|
105
111
|
export type LandingPageInputRequestLeadBuyerPhoneNumberEnum = typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum];
|
|
106
112
|
|
|
113
|
+
/**
|
|
114
|
+
* @export
|
|
115
|
+
*/
|
|
116
|
+
export const LandingPageInputDesignEnum = {
|
|
117
|
+
ORIGINAL: 'original',
|
|
118
|
+
MODERN: 'modern',
|
|
119
|
+
MINIMAL: 'minimal'
|
|
120
|
+
} as const;
|
|
121
|
+
export type LandingPageInputDesignEnum = typeof LandingPageInputDesignEnum[keyof typeof LandingPageInputDesignEnum];
|
|
122
|
+
|
|
107
123
|
|
|
108
124
|
/**
|
|
109
125
|
* Check if a given object implements the LandingPageInput interface.
|
|
@@ -134,6 +150,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
134
150
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'] == null ? undefined : json['requestLeadBuyerCompanyName'],
|
|
135
151
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'] == null ? undefined : json['requestLeadBuyerPhoneNumber'],
|
|
136
152
|
'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
|
|
153
|
+
'design': json['design'] == null ? undefined : json['design'],
|
|
137
154
|
};
|
|
138
155
|
}
|
|
139
156
|
|
|
@@ -160,6 +177,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
160
177
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
161
178
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
162
179
|
'externalLink': value['externalLink'],
|
|
180
|
+
'design': value['design'],
|
|
163
181
|
};
|
|
164
182
|
}
|
|
165
183
|
|
|
@@ -91,6 +91,12 @@ export interface LandingPageSettingsDto {
|
|
|
91
91
|
* @memberof LandingPageSettingsDto
|
|
92
92
|
*/
|
|
93
93
|
externalLink: string | null;
|
|
94
|
+
/**
|
|
95
|
+
* Landing page UI design variant.
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof LandingPageSettingsDto
|
|
98
|
+
*/
|
|
99
|
+
design: LandingPageSettingsDtoDesignEnum | null;
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
|
|
@@ -104,6 +110,16 @@ export const LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = {
|
|
|
104
110
|
} as const;
|
|
105
111
|
export type LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum];
|
|
106
112
|
|
|
113
|
+
/**
|
|
114
|
+
* @export
|
|
115
|
+
*/
|
|
116
|
+
export const LandingPageSettingsDtoDesignEnum = {
|
|
117
|
+
ORIGINAL: 'original',
|
|
118
|
+
MODERN: 'modern',
|
|
119
|
+
MINIMAL: 'minimal'
|
|
120
|
+
} as const;
|
|
121
|
+
export type LandingPageSettingsDtoDesignEnum = typeof LandingPageSettingsDtoDesignEnum[keyof typeof LandingPageSettingsDtoDesignEnum];
|
|
122
|
+
|
|
107
123
|
|
|
108
124
|
/**
|
|
109
125
|
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
@@ -121,6 +137,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
|
|
|
121
137
|
if (!('requestLeadBuyerCompanyName' in value) || value['requestLeadBuyerCompanyName'] === undefined) return false;
|
|
122
138
|
if (!('requestLeadBuyerPhoneNumber' in value) || value['requestLeadBuyerPhoneNumber'] === undefined) return false;
|
|
123
139
|
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
140
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
124
141
|
return true;
|
|
125
142
|
}
|
|
126
143
|
|
|
@@ -146,6 +163,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
146
163
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
|
|
147
164
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
|
|
148
165
|
'externalLink': json['externalLink'],
|
|
166
|
+
'design': json['design'],
|
|
149
167
|
};
|
|
150
168
|
}
|
|
151
169
|
|
|
@@ -172,6 +190,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
172
190
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
173
191
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
174
192
|
'externalLink': value['externalLink'],
|
|
193
|
+
'design': value['design'],
|
|
175
194
|
};
|
|
176
195
|
}
|
|
177
196
|
|
|
@@ -350,7 +350,8 @@ export type SubscriptionDetailsDtoRenewStatusEnum = typeof SubscriptionDetailsDt
|
|
|
350
350
|
*/
|
|
351
351
|
export const SubscriptionDetailsDtoRenewStatusReasonEnum = {
|
|
352
352
|
IMPOSSIBLE_TO_PAY: 'impossible_to_pay',
|
|
353
|
-
REQUIRE_RETRY: 'require_retry'
|
|
353
|
+
REQUIRE_RETRY: 'require_retry',
|
|
354
|
+
INVALID_VAT_NUMBER: 'invalid_vat_number'
|
|
354
355
|
} as const;
|
|
355
356
|
export type SubscriptionDetailsDtoRenewStatusReasonEnum = typeof SubscriptionDetailsDtoRenewStatusReasonEnum[keyof typeof SubscriptionDetailsDtoRenewStatusReasonEnum];
|
|
356
357
|
|
|
@@ -321,7 +321,8 @@ export type SubscriptionListItemDtoRenewStatusEnum = typeof SubscriptionListItem
|
|
|
321
321
|
*/
|
|
322
322
|
export const SubscriptionListItemDtoRenewStatusReasonEnum = {
|
|
323
323
|
IMPOSSIBLE_TO_PAY: 'impossible_to_pay',
|
|
324
|
-
REQUIRE_RETRY: 'require_retry'
|
|
324
|
+
REQUIRE_RETRY: 'require_retry',
|
|
325
|
+
INVALID_VAT_NUMBER: 'invalid_vat_number'
|
|
325
326
|
} as const;
|
|
326
327
|
export type SubscriptionListItemDtoRenewStatusReasonEnum = typeof SubscriptionListItemDtoRenewStatusReasonEnum[keyof typeof SubscriptionListItemDtoRenewStatusReasonEnum];
|
|
327
328
|
|