@randock/nameshift-api-client 0.0.197 → 0.0.199
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 +4 -1
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +3 -3
- package/dist/apis/AccountsApi.js +1 -1
- package/dist/apis/BuyersApi.d.ts +15 -1
- package/dist/apis/BuyersApi.js +63 -0
- package/dist/models/AccountSettingsLandingDto.d.ts +6 -0
- package/dist/models/AccountSettingsLandingDto.js +4 -0
- package/dist/models/BuyerSubscriptionListItemDto.d.ts +89 -0
- package/dist/models/BuyerSubscriptionListItemDto.js +95 -0
- package/dist/models/BuyerSubscriptionListItemDtoDomainInformation.d.ts +44 -0
- package/dist/models/BuyerSubscriptionListItemDtoDomainInformation.js +59 -0
- package/dist/models/GetBuyerSubscriptions200Response.d.ts +47 -0
- package/dist/models/GetBuyerSubscriptions200Response.js +62 -0
- package/dist/models/{IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.d.ts → IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts} +30 -16
- package/dist/models/{IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.js → IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js} +25 -13
- package/dist/models/LandingPageInput.d.ts +6 -0
- package/dist/models/LandingPageInput.js +2 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +6 -6
- package/src/apis/BuyersApi.ts +60 -0
- package/src/models/AccountSettingsLandingDto.ts +9 -0
- package/src/models/BuyerSubscriptionListItemDto.ts +158 -0
- package/src/models/BuyerSubscriptionListItemDtoDomainInformation.ts +84 -0
- package/src/models/GetBuyerSubscriptions200Response.ts +106 -0
- package/src/models/{IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts → IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts} +38 -18
- package/src/models/LandingPageInput.ts +8 -0
- package/src/models/index.ts +4 -1
|
@@ -0,0 +1,106 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { BuyerSubscriptionListItemDto } from './BuyerSubscriptionListItemDto';
|
|
24
|
+
import {
|
|
25
|
+
BuyerSubscriptionListItemDtoFromJSON,
|
|
26
|
+
BuyerSubscriptionListItemDtoFromJSONTyped,
|
|
27
|
+
BuyerSubscriptionListItemDtoToJSON,
|
|
28
|
+
BuyerSubscriptionListItemDtoToJSONTyped,
|
|
29
|
+
} from './BuyerSubscriptionListItemDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetBuyerSubscriptions200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface GetBuyerSubscriptions200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<BuyerSubscriptionListItemDto>}
|
|
47
|
+
* @memberof GetBuyerSubscriptions200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<BuyerSubscriptionListItemDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof GetBuyerSubscriptions200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof GetBuyerSubscriptions200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the GetBuyerSubscriptions200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfGetBuyerSubscriptions200Response(value: object): value is GetBuyerSubscriptions200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function GetBuyerSubscriptions200ResponseFromJSON(json: any): GetBuyerSubscriptions200Response {
|
|
75
|
+
return GetBuyerSubscriptions200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function GetBuyerSubscriptions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBuyerSubscriptions200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(BuyerSubscriptionListItemDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function GetBuyerSubscriptions200ResponseToJSON(json: any): GetBuyerSubscriptions200Response {
|
|
91
|
+
return GetBuyerSubscriptions200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function GetBuyerSubscriptions200ResponseToJSONTyped(value?: GetBuyerSubscriptions200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(BuyerSubscriptionListItemDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -52,63 +52,80 @@ import {
|
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @export
|
|
55
|
-
* @interface
|
|
55
|
+
* @interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
56
56
|
*/
|
|
57
|
-
export interface
|
|
57
|
+
export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
61
|
-
* @memberof
|
|
61
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
62
62
|
*/
|
|
63
63
|
id: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
67
|
-
* @memberof
|
|
67
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
68
68
|
*/
|
|
69
69
|
identifier: string;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {string}
|
|
73
|
-
* @memberof
|
|
73
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
74
74
|
*/
|
|
75
75
|
name: string;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {AccountMetricsDto}
|
|
79
|
-
* @memberof
|
|
79
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
80
80
|
*/
|
|
81
81
|
metrics: AccountMetricsDto;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {PaymentProviderDto}
|
|
85
|
-
* @memberof
|
|
85
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
86
86
|
*/
|
|
87
87
|
paymentProvider: PaymentProviderDto | null;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @type {BillingInformationDto}
|
|
91
|
-
* @memberof
|
|
91
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
92
92
|
*/
|
|
93
93
|
billingInformation: BillingInformationDto | null;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @type {WithSettingsInner}
|
|
97
|
-
* @memberof
|
|
97
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
98
98
|
*/
|
|
99
99
|
settings: WithSettingsInner;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
102
|
* @type {Array<AccountNotificationDto>}
|
|
103
|
-
* @memberof
|
|
103
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
104
104
|
*/
|
|
105
105
|
notifications: Array<AccountNotificationDto>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
110
|
+
*/
|
|
111
|
+
enabledFeatures: Array<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum>;
|
|
106
112
|
}
|
|
107
113
|
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @export
|
|
117
|
+
*/
|
|
118
|
+
export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = {
|
|
119
|
+
LEASE_TO_OWN: 'LEASE_TO_OWN',
|
|
120
|
+
SEO_METRICS: 'SEO_METRICS'
|
|
121
|
+
} as const;
|
|
122
|
+
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
123
|
+
|
|
124
|
+
|
|
108
125
|
/**
|
|
109
|
-
* Check if a given object implements the
|
|
126
|
+
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
110
127
|
*/
|
|
111
|
-
export function
|
|
128
|
+
export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto(value: object): value is IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
|
|
112
129
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
113
130
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
114
131
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
@@ -117,14 +134,15 @@ export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotifications
|
|
|
117
134
|
if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
|
|
118
135
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
119
136
|
if (!('notifications' in value) || value['notifications'] === undefined) return false;
|
|
137
|
+
if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
|
|
120
138
|
return true;
|
|
121
139
|
}
|
|
122
140
|
|
|
123
|
-
export function
|
|
124
|
-
return
|
|
141
|
+
export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
|
|
142
|
+
return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json, false);
|
|
125
143
|
}
|
|
126
144
|
|
|
127
|
-
export function
|
|
145
|
+
export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
|
|
128
146
|
if (json == null) {
|
|
129
147
|
return json;
|
|
130
148
|
}
|
|
@@ -138,14 +156,15 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSO
|
|
|
138
156
|
'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
|
|
139
157
|
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
140
158
|
'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
|
|
159
|
+
'enabledFeatures': json['enabledFeatures'],
|
|
141
160
|
};
|
|
142
161
|
}
|
|
143
162
|
|
|
144
|
-
export function
|
|
145
|
-
return
|
|
163
|
+
export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
|
|
164
|
+
return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(json, false);
|
|
146
165
|
}
|
|
147
166
|
|
|
148
|
-
export function
|
|
167
|
+
export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(value?: IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
149
168
|
if (value == null) {
|
|
150
169
|
return value;
|
|
151
170
|
}
|
|
@@ -160,6 +179,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONT
|
|
|
160
179
|
'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
|
|
161
180
|
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
162
181
|
'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
|
|
182
|
+
'enabledFeatures': value['enabledFeatures'],
|
|
163
183
|
};
|
|
164
184
|
}
|
|
165
185
|
|
|
@@ -31,6 +31,12 @@ export interface LandingPageInput {
|
|
|
31
31
|
* @memberof LandingPageInput
|
|
32
32
|
*/
|
|
33
33
|
showRelatedDomains?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LandingPageInput
|
|
38
|
+
*/
|
|
39
|
+
seoMetrics?: boolean;
|
|
34
40
|
/**
|
|
35
41
|
*
|
|
36
42
|
* @type {string}
|
|
@@ -58,6 +64,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
58
64
|
|
|
59
65
|
'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
|
|
60
66
|
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
67
|
+
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
61
68
|
'description': json['description'] == null ? undefined : json['description'],
|
|
62
69
|
};
|
|
63
70
|
}
|
|
@@ -75,6 +82,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
75
82
|
|
|
76
83
|
'anonymous': value['anonymous'],
|
|
77
84
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
85
|
+
'seoMetrics': value['seoMetrics'],
|
|
78
86
|
'description': value['description'],
|
|
79
87
|
};
|
|
80
88
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -29,6 +29,8 @@ export * from './BuyerDto';
|
|
|
29
29
|
export * from './BuyerLeadListItemDomainDto';
|
|
30
30
|
export * from './BuyerLeadListItemDto';
|
|
31
31
|
export * from './BuyerSecurityUserDto';
|
|
32
|
+
export * from './BuyerSubscriptionListItemDto';
|
|
33
|
+
export * from './BuyerSubscriptionListItemDtoDomainInformation';
|
|
32
34
|
export * from './ChangeOrderStatusInput';
|
|
33
35
|
export * from './ChangeSubscriptionStatusInput';
|
|
34
36
|
export * from './ChartDataPoint';
|
|
@@ -77,9 +79,10 @@ export * from './GetAllOwnedDomains200Response';
|
|
|
77
79
|
export * from './GetAllSubscriptions200Response';
|
|
78
80
|
export * from './GetAllSubscriptions200Response1';
|
|
79
81
|
export * from './GetBuyerLeads200Response';
|
|
82
|
+
export * from './GetBuyerSubscriptions200Response';
|
|
80
83
|
export * from './GetBuyerTransfers200Response';
|
|
81
84
|
export * from './HttpException';
|
|
82
|
-
export * from './
|
|
85
|
+
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
83
86
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
84
87
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
85
88
|
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
|