@randock/nameshift-api-client 0.0.323 → 0.0.325
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 +3 -1
- package/README.md +3 -3
- package/dist/apis/PartnerDomainsApi.d.ts +31 -0
- package/dist/apis/PartnerDomainsApi.js +133 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/DomainPricesChangeDto.d.ts +69 -0
- package/dist/models/DomainPricesChangeDto.js +76 -0
- package/dist/models/ListDomainsWithUpdatedPricing200Response.d.ts +59 -0
- package/dist/models/ListDomainsWithUpdatedPricing200Response.js +70 -0
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +0 -3
- package/src/apis/AccountsPublicApi.ts +0 -3
- package/src/apis/AdminApi.ts +0 -3
- package/src/apis/BankAccountsApi.ts +0 -3
- package/src/apis/BuyersApi.ts +0 -3
- package/src/apis/BuyersPublicApi.ts +0 -3
- package/src/apis/DomainTransfersApi.ts +0 -3
- package/src/apis/DomainsApi.ts +0 -3
- package/src/apis/DomainsPublicApi.ts +0 -3
- package/src/apis/EppApi.ts +0 -3
- package/src/apis/InvoicesApi.ts +0 -3
- package/src/apis/LeadsApi.ts +0 -3
- package/src/apis/LeadsPublicApi.ts +0 -3
- package/src/apis/NotificationsApi.ts +0 -3
- package/src/apis/OrdersPublicApi.ts +0 -3
- package/src/apis/PartnerDomainsApi.ts +84 -0
- package/src/apis/StatsApi.ts +0 -3
- package/src/apis/StripePublicApi.ts +0 -3
- package/src/apis/SubscriptionsApi.ts +0 -3
- package/src/apis/SubscriptionsPublicApi.ts +0 -3
- package/src/apis/TasksApi.ts +0 -3
- package/src/apis/TaxPublicApi.ts +0 -3
- package/src/apis/UsersApi.ts +0 -3
- package/src/apis/UsersPublicApi.ts +0 -3
- package/src/apis/index.ts +1 -0
- package/src/models/DomainPricesChangeDto.ts +128 -0
- package/src/models/ListDomainsWithUpdatedPricing200Response.ts +117 -0
- package/src/models/index.ts +2 -1
- package/dist/models/ThrottlerException.d.ts +0 -44
- package/dist/models/ThrottlerException.js +0 -59
- package/src/models/ThrottlerException.ts +0 -84
|
@@ -18,7 +18,6 @@ import type {
|
|
|
18
18
|
LoginDto,
|
|
19
19
|
LoginInput,
|
|
20
20
|
RequestAccessTokenInput,
|
|
21
|
-
ThrottlerException,
|
|
22
21
|
ValidationException,
|
|
23
22
|
} from '../models/index';
|
|
24
23
|
import {
|
|
@@ -28,8 +27,6 @@ import {
|
|
|
28
27
|
LoginInputToJSON,
|
|
29
28
|
RequestAccessTokenInputFromJSON,
|
|
30
29
|
RequestAccessTokenInputToJSON,
|
|
31
|
-
ThrottlerExceptionFromJSON,
|
|
32
|
-
ThrottlerExceptionToJSON,
|
|
33
30
|
ValidationExceptionFromJSON,
|
|
34
31
|
ValidationExceptionToJSON,
|
|
35
32
|
} from '../models/index';
|
|
@@ -16,14 +16,11 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
DomainTransferTldInformationDto,
|
|
19
|
-
ThrottlerException,
|
|
20
19
|
ValidationException,
|
|
21
20
|
} from '../models/index';
|
|
22
21
|
import {
|
|
23
22
|
DomainTransferTldInformationDtoFromJSON,
|
|
24
23
|
DomainTransferTldInformationDtoToJSON,
|
|
25
|
-
ThrottlerExceptionFromJSON,
|
|
26
|
-
ThrottlerExceptionToJSON,
|
|
27
24
|
ValidationExceptionFromJSON,
|
|
28
25
|
ValidationExceptionToJSON,
|
|
29
26
|
} from '../models/index';
|
package/src/apis/DomainsApi.ts
CHANGED
|
@@ -27,7 +27,6 @@ import type {
|
|
|
27
27
|
NotFoundException,
|
|
28
28
|
SellerDomainAffiliateCommissionDto,
|
|
29
29
|
SellerDomainTransferDto,
|
|
30
|
-
ThrottlerException,
|
|
31
30
|
UpdateDomainInput,
|
|
32
31
|
UpdateDomainTransferAuthCodeInput,
|
|
33
32
|
UpdateDomainTransferIpsTagInput,
|
|
@@ -58,8 +57,6 @@ import {
|
|
|
58
57
|
SellerDomainAffiliateCommissionDtoToJSON,
|
|
59
58
|
SellerDomainTransferDtoFromJSON,
|
|
60
59
|
SellerDomainTransferDtoToJSON,
|
|
61
|
-
ThrottlerExceptionFromJSON,
|
|
62
|
-
ThrottlerExceptionToJSON,
|
|
63
60
|
UpdateDomainInputFromJSON,
|
|
64
61
|
UpdateDomainInputToJSON,
|
|
65
62
|
UpdateDomainTransferAuthCodeInputFromJSON,
|
|
@@ -22,7 +22,6 @@ import type {
|
|
|
22
22
|
NotFoundException,
|
|
23
23
|
RelatedDomainsDto,
|
|
24
24
|
SortDto,
|
|
25
|
-
ThrottlerException,
|
|
26
25
|
ValidationException,
|
|
27
26
|
} from '../models/index';
|
|
28
27
|
import {
|
|
@@ -40,8 +39,6 @@ import {
|
|
|
40
39
|
RelatedDomainsDtoToJSON,
|
|
41
40
|
SortDtoFromJSON,
|
|
42
41
|
SortDtoToJSON,
|
|
43
|
-
ThrottlerExceptionFromJSON,
|
|
44
|
-
ThrottlerExceptionToJSON,
|
|
45
42
|
ValidationExceptionFromJSON,
|
|
46
43
|
ValidationExceptionToJSON,
|
|
47
44
|
} from '../models/index';
|
package/src/apis/EppApi.ts
CHANGED
|
@@ -16,13 +16,10 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
EppBatchUpdateInput,
|
|
19
|
-
ThrottlerException,
|
|
20
19
|
} from '../models/index';
|
|
21
20
|
import {
|
|
22
21
|
EppBatchUpdateInputFromJSON,
|
|
23
22
|
EppBatchUpdateInputToJSON,
|
|
24
|
-
ThrottlerExceptionFromJSON,
|
|
25
|
-
ThrottlerExceptionToJSON,
|
|
26
23
|
} from '../models/index';
|
|
27
24
|
|
|
28
25
|
export interface EppApiEppBatchUpdateDomainsRequest {
|
package/src/apis/InvoicesApi.ts
CHANGED
|
@@ -17,7 +17,6 @@ import * as runtime from '../runtime';
|
|
|
17
17
|
import type {
|
|
18
18
|
GetInvoices200Response,
|
|
19
19
|
NotFoundException,
|
|
20
|
-
ThrottlerException,
|
|
21
20
|
ValidationException,
|
|
22
21
|
} from '../models/index';
|
|
23
22
|
import {
|
|
@@ -25,8 +24,6 @@ import {
|
|
|
25
24
|
GetInvoices200ResponseToJSON,
|
|
26
25
|
NotFoundExceptionFromJSON,
|
|
27
26
|
NotFoundExceptionToJSON,
|
|
28
|
-
ThrottlerExceptionFromJSON,
|
|
29
|
-
ThrottlerExceptionToJSON,
|
|
30
27
|
ValidationExceptionFromJSON,
|
|
31
28
|
ValidationExceptionToJSON,
|
|
32
29
|
} from '../models/index';
|
package/src/apis/LeadsApi.ts
CHANGED
|
@@ -26,7 +26,6 @@ import type {
|
|
|
26
26
|
ListLeadMessagesDto,
|
|
27
27
|
ObjectId,
|
|
28
28
|
PutLeadOfferInput,
|
|
29
|
-
ThrottlerException,
|
|
30
29
|
ValidationException,
|
|
31
30
|
} from '../models/index';
|
|
32
31
|
import {
|
|
@@ -52,8 +51,6 @@ import {
|
|
|
52
51
|
ObjectIdToJSON,
|
|
53
52
|
PutLeadOfferInputFromJSON,
|
|
54
53
|
PutLeadOfferInputToJSON,
|
|
55
|
-
ThrottlerExceptionFromJSON,
|
|
56
|
-
ThrottlerExceptionToJSON,
|
|
57
54
|
ValidationExceptionFromJSON,
|
|
58
55
|
ValidationExceptionToJSON,
|
|
59
56
|
} from '../models/index';
|
|
@@ -21,7 +21,6 @@ import type {
|
|
|
21
21
|
NotFoundException,
|
|
22
22
|
ObjectId,
|
|
23
23
|
PublicLeadDto,
|
|
24
|
-
ThrottlerException,
|
|
25
24
|
UpdateLeadInput,
|
|
26
25
|
ValidationException,
|
|
27
26
|
VerifyLeadInput,
|
|
@@ -39,8 +38,6 @@ import {
|
|
|
39
38
|
ObjectIdToJSON,
|
|
40
39
|
PublicLeadDtoFromJSON,
|
|
41
40
|
PublicLeadDtoToJSON,
|
|
42
|
-
ThrottlerExceptionFromJSON,
|
|
43
|
-
ThrottlerExceptionToJSON,
|
|
44
41
|
UpdateLeadInputFromJSON,
|
|
45
42
|
UpdateLeadInputToJSON,
|
|
46
43
|
ValidationExceptionFromJSON,
|
|
@@ -18,7 +18,6 @@ import type {
|
|
|
18
18
|
BulkMarkNotificationsAsReadInputDto,
|
|
19
19
|
ListNotifications200Response,
|
|
20
20
|
NotFoundException,
|
|
21
|
-
ThrottlerException,
|
|
22
21
|
UserNotificationDto,
|
|
23
22
|
ValidationException,
|
|
24
23
|
} from '../models/index';
|
|
@@ -29,8 +28,6 @@ import {
|
|
|
29
28
|
ListNotifications200ResponseToJSON,
|
|
30
29
|
NotFoundExceptionFromJSON,
|
|
31
30
|
NotFoundExceptionToJSON,
|
|
32
|
-
ThrottlerExceptionFromJSON,
|
|
33
|
-
ThrottlerExceptionToJSON,
|
|
34
31
|
UserNotificationDtoFromJSON,
|
|
35
32
|
UserNotificationDtoToJSON,
|
|
36
33
|
ValidationExceptionFromJSON,
|
|
@@ -20,7 +20,6 @@ import type {
|
|
|
20
20
|
NotFoundException,
|
|
21
21
|
ObjectId,
|
|
22
22
|
OrderDto,
|
|
23
|
-
ThrottlerException,
|
|
24
23
|
UpdateOrderInput,
|
|
25
24
|
ValidationException,
|
|
26
25
|
} from '../models/index';
|
|
@@ -35,8 +34,6 @@ import {
|
|
|
35
34
|
ObjectIdToJSON,
|
|
36
35
|
OrderDtoFromJSON,
|
|
37
36
|
OrderDtoToJSON,
|
|
38
|
-
ThrottlerExceptionFromJSON,
|
|
39
|
-
ThrottlerExceptionToJSON,
|
|
40
37
|
UpdateOrderInputFromJSON,
|
|
41
38
|
UpdateOrderInputToJSON,
|
|
42
39
|
ValidationExceptionFromJSON,
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
ListDomainsWithUpdatedPricing200Response,
|
|
19
|
+
ValidationException,
|
|
20
|
+
} from '../models/index';
|
|
21
|
+
import {
|
|
22
|
+
ListDomainsWithUpdatedPricing200ResponseFromJSON,
|
|
23
|
+
ListDomainsWithUpdatedPricing200ResponseToJSON,
|
|
24
|
+
ValidationExceptionFromJSON,
|
|
25
|
+
ValidationExceptionToJSON,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface PartnerDomainsApiListDomainsWithUpdatedPricingRequest {
|
|
29
|
+
dateFrom: string;
|
|
30
|
+
limit?: number;
|
|
31
|
+
cursor?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export class PartnerDomainsApi extends runtime.BaseAPI {
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
async listDomainsWithUpdatedPricingRaw(requestParameters: PartnerDomainsApiListDomainsWithUpdatedPricingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListDomainsWithUpdatedPricing200Response>> {
|
|
43
|
+
if (requestParameters['dateFrom'] == null) {
|
|
44
|
+
throw new runtime.RequiredError(
|
|
45
|
+
'dateFrom',
|
|
46
|
+
'Required parameter "dateFrom" was null or undefined when calling listDomainsWithUpdatedPricing().'
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const queryParameters: any = {};
|
|
51
|
+
|
|
52
|
+
if (requestParameters['dateFrom'] != null) {
|
|
53
|
+
queryParameters['dateFrom'] = requestParameters['dateFrom'];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (requestParameters['limit'] != null) {
|
|
57
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (requestParameters['cursor'] != null) {
|
|
61
|
+
queryParameters['cursor'] = requestParameters['cursor'];
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
65
|
+
|
|
66
|
+
const response = await this.request({
|
|
67
|
+
path: `/partner/domains/updated-prices`,
|
|
68
|
+
method: 'GET',
|
|
69
|
+
headers: headerParameters,
|
|
70
|
+
query: queryParameters,
|
|
71
|
+
}, initOverrides);
|
|
72
|
+
|
|
73
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListDomainsWithUpdatedPricing200ResponseFromJSON(jsonValue));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
async listDomainsWithUpdatedPricing(requestParameters: PartnerDomainsApiListDomainsWithUpdatedPricingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListDomainsWithUpdatedPricing200Response> {
|
|
80
|
+
const response = await this.listDomainsWithUpdatedPricingRaw(requestParameters, initOverrides);
|
|
81
|
+
return await response.value();
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
}
|
package/src/apis/StatsApi.ts
CHANGED
|
@@ -21,7 +21,6 @@ import type {
|
|
|
21
21
|
SellerTotalEarningsByCurrencyOverTimeStatsItemDto,
|
|
22
22
|
SellerTotalEarningsByCurrencyStatsItemDto,
|
|
23
23
|
SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto,
|
|
24
|
-
ThrottlerException,
|
|
25
24
|
ValidationException,
|
|
26
25
|
} from '../models/index';
|
|
27
26
|
import {
|
|
@@ -37,8 +36,6 @@ import {
|
|
|
37
36
|
SellerTotalEarningsByCurrencyStatsItemDtoToJSON,
|
|
38
37
|
SellerTotalRentMonthlyIncomeByCurrencyStatsItemDtoFromJSON,
|
|
39
38
|
SellerTotalRentMonthlyIncomeByCurrencyStatsItemDtoToJSON,
|
|
40
|
-
ThrottlerExceptionFromJSON,
|
|
41
|
-
ThrottlerExceptionToJSON,
|
|
42
39
|
ValidationExceptionFromJSON,
|
|
43
40
|
ValidationExceptionToJSON,
|
|
44
41
|
} from '../models/index';
|
|
@@ -15,12 +15,9 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
ThrottlerException,
|
|
19
18
|
ValidationException,
|
|
20
19
|
} from '../models/index';
|
|
21
20
|
import {
|
|
22
|
-
ThrottlerExceptionFromJSON,
|
|
23
|
-
ThrottlerExceptionToJSON,
|
|
24
21
|
ValidationExceptionFromJSON,
|
|
25
22
|
ValidationExceptionToJSON,
|
|
26
23
|
} from '../models/index';
|
|
@@ -16,14 +16,11 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
GetAllSubscriptions200Response1,
|
|
19
|
-
ThrottlerException,
|
|
20
19
|
ValidationException,
|
|
21
20
|
} from '../models/index';
|
|
22
21
|
import {
|
|
23
22
|
GetAllSubscriptions200Response1FromJSON,
|
|
24
23
|
GetAllSubscriptions200Response1ToJSON,
|
|
25
|
-
ThrottlerExceptionFromJSON,
|
|
26
|
-
ThrottlerExceptionToJSON,
|
|
27
24
|
ValidationExceptionFromJSON,
|
|
28
25
|
ValidationExceptionToJSON,
|
|
29
26
|
} from '../models/index';
|
|
@@ -20,7 +20,6 @@ import type {
|
|
|
20
20
|
NotFoundException,
|
|
21
21
|
ObjectId,
|
|
22
22
|
SubscriptionDto,
|
|
23
|
-
ThrottlerException,
|
|
24
23
|
UpdateSubscriptionInput,
|
|
25
24
|
ValidationException,
|
|
26
25
|
} from '../models/index';
|
|
@@ -35,8 +34,6 @@ import {
|
|
|
35
34
|
ObjectIdToJSON,
|
|
36
35
|
SubscriptionDtoFromJSON,
|
|
37
36
|
SubscriptionDtoToJSON,
|
|
38
|
-
ThrottlerExceptionFromJSON,
|
|
39
|
-
ThrottlerExceptionToJSON,
|
|
40
37
|
UpdateSubscriptionInputFromJSON,
|
|
41
38
|
UpdateSubscriptionInputToJSON,
|
|
42
39
|
ValidationExceptionFromJSON,
|
package/src/apis/TasksApi.ts
CHANGED
|
@@ -16,14 +16,11 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
List200Response1,
|
|
19
|
-
ThrottlerException,
|
|
20
19
|
ValidationException,
|
|
21
20
|
} from '../models/index';
|
|
22
21
|
import {
|
|
23
22
|
List200Response1FromJSON,
|
|
24
23
|
List200Response1ToJSON,
|
|
25
|
-
ThrottlerExceptionFromJSON,
|
|
26
|
-
ThrottlerExceptionToJSON,
|
|
27
24
|
ValidationExceptionFromJSON,
|
|
28
25
|
ValidationExceptionToJSON,
|
|
29
26
|
} from '../models/index';
|
package/src/apis/TaxPublicApi.ts
CHANGED
|
@@ -15,13 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
ThrottlerException,
|
|
19
18
|
ValidateTaxNumberDto,
|
|
20
19
|
ValidateTaxNumberInput,
|
|
21
20
|
} from '../models/index';
|
|
22
21
|
import {
|
|
23
|
-
ThrottlerExceptionFromJSON,
|
|
24
|
-
ThrottlerExceptionToJSON,
|
|
25
22
|
ValidateTaxNumberDtoFromJSON,
|
|
26
23
|
ValidateTaxNumberDtoToJSON,
|
|
27
24
|
ValidateTaxNumberInputFromJSON,
|
package/src/apis/UsersApi.ts
CHANGED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
StoreUserLocaleInput,
|
|
19
|
-
ThrottlerException,
|
|
20
19
|
UpdateUserNotificationSettingsInput,
|
|
21
20
|
UserNotificationSettingsDto,
|
|
22
21
|
ValidationException,
|
|
@@ -24,8 +23,6 @@ import type {
|
|
|
24
23
|
import {
|
|
25
24
|
StoreUserLocaleInputFromJSON,
|
|
26
25
|
StoreUserLocaleInputToJSON,
|
|
27
|
-
ThrottlerExceptionFromJSON,
|
|
28
|
-
ThrottlerExceptionToJSON,
|
|
29
26
|
UpdateUserNotificationSettingsInputFromJSON,
|
|
30
27
|
UpdateUserNotificationSettingsInputToJSON,
|
|
31
28
|
UserNotificationSettingsDtoFromJSON,
|
|
@@ -20,7 +20,6 @@ import type {
|
|
|
20
20
|
LoginInput,
|
|
21
21
|
NotFoundException,
|
|
22
22
|
SetNewPasswordInput,
|
|
23
|
-
ThrottlerException,
|
|
24
23
|
UserPasswordResetDto,
|
|
25
24
|
ValidationException,
|
|
26
25
|
} from '../models/index';
|
|
@@ -35,8 +34,6 @@ import {
|
|
|
35
34
|
NotFoundExceptionToJSON,
|
|
36
35
|
SetNewPasswordInputFromJSON,
|
|
37
36
|
SetNewPasswordInputToJSON,
|
|
38
|
-
ThrottlerExceptionFromJSON,
|
|
39
|
-
ThrottlerExceptionToJSON,
|
|
40
37
|
UserPasswordResetDtoFromJSON,
|
|
41
38
|
UserPasswordResetDtoToJSON,
|
|
42
39
|
ValidationExceptionFromJSON,
|
package/src/apis/index.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './LeadsApi';
|
|
|
15
15
|
export * from './LeadsPublicApi';
|
|
16
16
|
export * from './NotificationsApi';
|
|
17
17
|
export * from './OrdersPublicApi';
|
|
18
|
+
export * from './PartnerDomainsApi';
|
|
18
19
|
export * from './SalesPublicApi';
|
|
19
20
|
export * from './StatsApi';
|
|
20
21
|
export * from './StripePublicApi';
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
22
|
+
} from './MoneyDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainPricesChangeDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainPricesChangeDto {
|
|
30
|
+
/**
|
|
31
|
+
* The uuid for this domain.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainPricesChangeDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DomainPricesChangeDto
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
* The unicode domain name (example.com, mañana.com)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DomainPricesChangeDto
|
|
46
|
+
*/
|
|
47
|
+
displayName: string;
|
|
48
|
+
/**
|
|
49
|
+
* The buy now price
|
|
50
|
+
* @type {MoneyDto}
|
|
51
|
+
* @memberof DomainPricesChangeDto
|
|
52
|
+
*/
|
|
53
|
+
buyNow: MoneyDto | null;
|
|
54
|
+
/**
|
|
55
|
+
* The minimum offer price
|
|
56
|
+
* @type {MoneyDto}
|
|
57
|
+
* @memberof DomainPricesChangeDto
|
|
58
|
+
*/
|
|
59
|
+
minOffer: MoneyDto | null;
|
|
60
|
+
/**
|
|
61
|
+
* The updated date
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof DomainPricesChangeDto
|
|
64
|
+
*/
|
|
65
|
+
updatedAt: Date;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the domain is available for purchase
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof DomainPricesChangeDto
|
|
70
|
+
*/
|
|
71
|
+
available: boolean;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the DomainPricesChangeDto interface.
|
|
76
|
+
*/
|
|
77
|
+
export function instanceOfDomainPricesChangeDto(value: object): value is DomainPricesChangeDto {
|
|
78
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
79
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
80
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
81
|
+
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
82
|
+
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
83
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
84
|
+
if (!('available' in value) || value['available'] === undefined) return false;
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function DomainPricesChangeDtoFromJSON(json: any): DomainPricesChangeDto {
|
|
89
|
+
return DomainPricesChangeDtoFromJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function DomainPricesChangeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainPricesChangeDto {
|
|
93
|
+
if (json == null) {
|
|
94
|
+
return json;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'id': json['id'],
|
|
99
|
+
'name': json['name'],
|
|
100
|
+
'displayName': json['displayName'],
|
|
101
|
+
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
102
|
+
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
103
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
104
|
+
'available': json['available'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function DomainPricesChangeDtoToJSON(json: any): DomainPricesChangeDto {
|
|
109
|
+
return DomainPricesChangeDtoToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function DomainPricesChangeDtoToJSONTyped(value?: DomainPricesChangeDto | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'id': value['id'],
|
|
120
|
+
'name': value['name'],
|
|
121
|
+
'displayName': value['displayName'],
|
|
122
|
+
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
123
|
+
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
124
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
125
|
+
'available': value['available'],
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
@@ -0,0 +1,117 @@
|
|
|
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 { CursorBasedPageInfo } from './CursorBasedPageInfo';
|
|
17
|
+
import {
|
|
18
|
+
CursorBasedPageInfoFromJSON,
|
|
19
|
+
CursorBasedPageInfoFromJSONTyped,
|
|
20
|
+
CursorBasedPageInfoToJSON,
|
|
21
|
+
CursorBasedPageInfoToJSONTyped,
|
|
22
|
+
} from './CursorBasedPageInfo';
|
|
23
|
+
import type { DomainPricesChangeDto } from './DomainPricesChangeDto';
|
|
24
|
+
import {
|
|
25
|
+
DomainPricesChangeDtoFromJSON,
|
|
26
|
+
DomainPricesChangeDtoFromJSONTyped,
|
|
27
|
+
DomainPricesChangeDtoToJSON,
|
|
28
|
+
DomainPricesChangeDtoToJSONTyped,
|
|
29
|
+
} from './DomainPricesChangeDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface ListDomainsWithUpdatedPricing200Response
|
|
35
|
+
*/
|
|
36
|
+
export interface ListDomainsWithUpdatedPricing200Response {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListDomainsWithUpdatedPricing200Response
|
|
41
|
+
*/
|
|
42
|
+
limit: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ListDomainsWithUpdatedPricing200Response
|
|
47
|
+
*/
|
|
48
|
+
type: ListDomainsWithUpdatedPricing200ResponseTypeEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {CursorBasedPageInfo}
|
|
52
|
+
* @memberof ListDomainsWithUpdatedPricing200Response
|
|
53
|
+
*/
|
|
54
|
+
pagination: CursorBasedPageInfo;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<DomainPricesChangeDto>}
|
|
58
|
+
* @memberof ListDomainsWithUpdatedPricing200Response
|
|
59
|
+
*/
|
|
60
|
+
data?: Array<DomainPricesChangeDto>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export const ListDomainsWithUpdatedPricing200ResponseTypeEnum = {
|
|
68
|
+
CURSOR: 'cursor'
|
|
69
|
+
} as const;
|
|
70
|
+
export type ListDomainsWithUpdatedPricing200ResponseTypeEnum = typeof ListDomainsWithUpdatedPricing200ResponseTypeEnum[keyof typeof ListDomainsWithUpdatedPricing200ResponseTypeEnum];
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the ListDomainsWithUpdatedPricing200Response interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfListDomainsWithUpdatedPricing200Response(value: object): value is ListDomainsWithUpdatedPricing200Response {
|
|
77
|
+
if (!('limit' in value) || value['limit'] === undefined) return false;
|
|
78
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
79
|
+
if (!('pagination' in value) || value['pagination'] === undefined) return false;
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ListDomainsWithUpdatedPricing200ResponseFromJSON(json: any): ListDomainsWithUpdatedPricing200Response {
|
|
84
|
+
return ListDomainsWithUpdatedPricing200ResponseFromJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ListDomainsWithUpdatedPricing200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDomainsWithUpdatedPricing200Response {
|
|
88
|
+
if (json == null) {
|
|
89
|
+
return json;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'limit': json['limit'],
|
|
94
|
+
'type': json['type'],
|
|
95
|
+
'pagination': CursorBasedPageInfoFromJSON(json['pagination']),
|
|
96
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(DomainPricesChangeDtoFromJSON)),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function ListDomainsWithUpdatedPricing200ResponseToJSON(json: any): ListDomainsWithUpdatedPricing200Response {
|
|
101
|
+
return ListDomainsWithUpdatedPricing200ResponseToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function ListDomainsWithUpdatedPricing200ResponseToJSONTyped(value?: ListDomainsWithUpdatedPricing200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'limit': value['limit'],
|
|
112
|
+
'type': value['type'],
|
|
113
|
+
'pagination': CursorBasedPageInfoToJSON(value['pagination']),
|
|
114
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(DomainPricesChangeDtoToJSON)),
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -83,6 +83,7 @@ export * from './DeleteDomainsInput';
|
|
|
83
83
|
export * from './DomainExchangeRateDto';
|
|
84
84
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
85
85
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
86
|
+
export * from './DomainPricesChangeDto';
|
|
86
87
|
export * from './DomainSalesInformationDto';
|
|
87
88
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
88
89
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
@@ -170,6 +171,7 @@ export * from './ListAccountUserDto';
|
|
|
170
171
|
export * from './ListAccounts200Response';
|
|
171
172
|
export * from './ListBankAccounts200Response';
|
|
172
173
|
export * from './ListDomains200Response';
|
|
174
|
+
export * from './ListDomainsWithUpdatedPricing200Response';
|
|
173
175
|
export * from './ListLeadMessagesDto';
|
|
174
176
|
export * from './ListNotifications200Response';
|
|
175
177
|
export * from './LoginDto';
|
|
@@ -270,7 +272,6 @@ export * from './SubscriptionListItemDtoSellerAccount';
|
|
|
270
272
|
export * from './TaskListDomainDto';
|
|
271
273
|
export * from './TaskListDomainTransferDto';
|
|
272
274
|
export * from './TaskListLeadDto';
|
|
273
|
-
export * from './ThrottlerException';
|
|
274
275
|
export * from './TimeTableConfigurationDto';
|
|
275
276
|
export * from './TimeTableConfigurationInput';
|
|
276
277
|
export * from './UkBankAccountDetails';
|