@randock/nameshift-api-client 0.0.448 → 0.0.450
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 +12 -0
- package/README.md +3 -3
- package/dist/apis/APIKeysApi.d.ts +78 -0
- package/dist/apis/APIKeysApi.js +354 -0
- package/dist/apis/AccountsApi.d.ts +36 -36
- package/dist/apis/AccountsApi.js +360 -216
- package/dist/apis/AdminApi.d.ts +37 -1
- package/dist/apis/AdminApi.js +122 -1
- package/dist/apis/AuctionsApi.d.ts +4 -4
- package/dist/apis/AuctionsApi.js +40 -24
- package/dist/apis/BankAccountsApi.d.ts +10 -10
- package/dist/apis/BankAccountsApi.js +100 -60
- package/dist/apis/ChallengesApi.d.ts +6 -6
- package/dist/apis/ChallengesApi.js +60 -36
- package/dist/apis/DomainTransfersApi.d.ts +2 -2
- package/dist/apis/DomainTransfersApi.js +20 -12
- package/dist/apis/DomainsApi.d.ts +44 -44
- package/dist/apis/DomainsApi.js +440 -264
- package/dist/apis/EppApi.d.ts +2 -2
- package/dist/apis/EppApi.js +20 -12
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +60 -36
- package/dist/apis/LeadsApi.d.ts +38 -38
- package/dist/apis/LeadsApi.js +380 -228
- package/dist/apis/MarketplacesApi.d.ts +89 -0
- package/dist/apis/MarketplacesApi.js +332 -0
- package/dist/apis/NotificationsApi.d.ts +8 -8
- package/dist/apis/NotificationsApi.js +80 -48
- package/dist/apis/StatsApi.d.ts +14 -14
- package/dist/apis/StatsApi.js +140 -84
- package/dist/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/apis/SubscriptionsApi.js +20 -12
- package/dist/apis/TasksApi.d.ts +6 -6
- package/dist/apis/TasksApi.js +60 -36
- package/dist/apis/UsersApi.d.ts +10 -10
- package/dist/apis/UsersApi.js +100 -60
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AccountMarketplaceDto.d.ts +56 -0
- package/dist/models/AccountMarketplaceDto.js +71 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.js +1 -0
- package/dist/models/AccountNameshiftCommissionItemDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionItemDto.js +1 -0
- package/dist/models/AccountNameshiftCommissionReasonDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionReasonDto.js +1 -0
- package/dist/models/AccountSettingsDto.d.ts +18 -0
- package/dist/models/AccountSettingsDto.js +16 -0
- package/dist/models/AccountSettingsInput.d.ts +18 -0
- package/dist/models/AccountSettingsInput.js +14 -0
- package/dist/models/AdminDomainListItemDto.d.ts +19 -0
- package/dist/models/AdminDomainListItemDto.js +17 -1
- package/dist/models/AdminMarketplaceDto.d.ts +86 -0
- package/dist/models/AdminMarketplaceDto.js +91 -0
- package/dist/models/ApiKeyDto.d.ts +107 -0
- package/dist/models/ApiKeyDto.js +114 -0
- package/dist/models/ApiKeyScopeDto.d.ts +83 -0
- package/dist/models/ApiKeyScopeDto.js +98 -0
- package/dist/models/CommissionDto.d.ts +1 -0
- package/dist/models/CommissionDto.js +1 -0
- package/dist/models/CommissionPayloadInput.d.ts +1 -0
- package/dist/models/CommissionPayloadInput.js +1 -0
- package/dist/models/CommissionReasonDto.d.ts +1 -0
- package/dist/models/CommissionReasonDto.js +1 -0
- package/dist/models/CommissionSimulationItemInput.d.ts +1 -0
- package/dist/models/CommissionSimulationItemInput.js +1 -0
- package/dist/models/CreateApiKeyInput.d.ts +83 -0
- package/dist/models/CreateApiKeyInput.js +96 -0
- package/dist/models/CreateOrderInput.d.ts +6 -0
- package/dist/models/CreateOrderInput.js +2 -0
- package/dist/models/CreateSubscriptionInput.d.ts +6 -0
- package/dist/models/CreateSubscriptionInput.js +2 -0
- package/dist/models/CreatedApiKeyDto.d.ts +113 -0
- package/dist/models/CreatedApiKeyDto.js +118 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +16 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +16 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +16 -0
- package/dist/models/MarketplaceDto.d.ts +74 -0
- package/dist/models/MarketplaceDto.js +83 -0
- package/dist/models/OrderDto.d.ts +7 -1
- package/dist/models/OrderDto.js +4 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/SetAccountMarketplaceInput.d.ts +32 -0
- package/dist/models/SetAccountMarketplaceInput.js +51 -0
- package/dist/models/SimulateCommissionInput.d.ts +1 -0
- package/dist/models/SimulateCommissionInput.js +1 -0
- package/dist/models/SubscriptionDto.d.ts +7 -1
- package/dist/models/SubscriptionDto.js +4 -0
- package/dist/models/UpdateApiKeyInput.d.ts +77 -0
- package/dist/models/UpdateApiKeyInput.js +90 -0
- package/dist/models/UpdateDomainInput.d.ts +18 -0
- package/dist/models/UpdateDomainInput.js +14 -0
- package/dist/models/UpdateMarketplaceInput.d.ts +44 -0
- package/dist/models/UpdateMarketplaceInput.js +53 -0
- package/dist/models/UpdateOrderInput.d.ts +6 -0
- package/dist/models/UpdateOrderInput.js +2 -0
- package/dist/models/UpdateSubscriptionInput.d.ts +6 -0
- package/dist/models/UpdateSubscriptionInput.js +2 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- package/src/apis/APIKeysApi.ts +271 -0
- package/src/apis/AccountsApi.ts +108 -36
- package/src/apis/AdminApi.ts +112 -0
- package/src/apis/AuctionsApi.ts +12 -4
- package/src/apis/BankAccountsApi.ts +30 -10
- package/src/apis/ChallengesApi.ts +18 -6
- package/src/apis/DomainTransfersApi.ts +6 -2
- package/src/apis/DomainsApi.ts +132 -44
- package/src/apis/EppApi.ts +6 -2
- package/src/apis/InvoicesApi.ts +18 -6
- package/src/apis/LeadsApi.ts +114 -38
- package/src/apis/MarketplacesApi.ts +240 -0
- package/src/apis/NotificationsApi.ts +24 -8
- package/src/apis/StatsApi.ts +42 -14
- package/src/apis/SubscriptionsApi.ts +6 -2
- package/src/apis/TasksApi.ts +18 -6
- package/src/apis/UsersApi.ts +30 -10
- package/src/apis/index.ts +2 -0
- package/src/models/AccountMarketplaceDto.ts +99 -0
- package/src/models/AccountNameshiftCommissionBySubtypeDto.ts +1 -0
- package/src/models/AccountNameshiftCommissionItemDto.ts +1 -0
- package/src/models/AccountNameshiftCommissionReasonDto.ts +1 -0
- package/src/models/AccountSettingsDto.ts +24 -0
- package/src/models/AccountSettingsInput.ts +23 -0
- package/src/models/AdminDomainListItemDto.ts +23 -0
- package/src/models/AdminMarketplaceDto.ts +144 -0
- package/src/models/ApiKeyDto.ts +162 -0
- package/src/models/ApiKeyScopeDto.ts +126 -0
- package/src/models/CommissionDto.ts +1 -0
- package/src/models/CommissionPayloadInput.ts +1 -0
- package/src/models/CommissionReasonDto.ts +1 -0
- package/src/models/CommissionSimulationItemInput.ts +1 -0
- package/src/models/CreateApiKeyInput.ts +125 -0
- package/src/models/CreateOrderInput.ts +8 -0
- package/src/models/CreateSubscriptionInput.ts +8 -0
- package/src/models/CreatedApiKeyDto.ts +171 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +24 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +24 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +24 -0
- package/src/models/MarketplaceDto.ts +126 -0
- package/src/models/OrderDto.ts +10 -1
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/SetAccountMarketplaceInput.ts +66 -0
- package/src/models/SimulateCommissionInput.ts +1 -0
- package/src/models/SubscriptionDto.ts +10 -1
- package/src/models/UpdateApiKeyInput.ts +115 -0
- package/src/models/UpdateDomainInput.ts +23 -0
- package/src/models/UpdateMarketplaceInput.ts +81 -0
- package/src/models/UpdateOrderInput.ts +8 -0
- package/src/models/UpdateSubscriptionInput.ts +8 -0
- package/src/models/index.ts +10 -0
|
@@ -47,6 +47,7 @@ function CreateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'addressCity': json['addressCity'] == null ? undefined : json['addressCity'],
|
|
48
48
|
'companyInfo': json['companyInfo'] == null ? undefined : (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoFromJSON)(json['companyInfo']),
|
|
49
49
|
'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
|
|
50
|
+
'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
|
|
50
51
|
'domainName': json['domainName'],
|
|
51
52
|
'leadId': json['leadId'] == null ? undefined : json['leadId'],
|
|
52
53
|
'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
|
|
@@ -73,6 +74,7 @@ function CreateOrderInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
74
|
'addressCity': value['addressCity'],
|
|
74
75
|
'companyInfo': (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoToJSON)(value['companyInfo']),
|
|
75
76
|
'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
|
|
77
|
+
'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
|
|
76
78
|
'domainName': value['domainName'],
|
|
77
79
|
'leadId': value['leadId'],
|
|
78
80
|
'affiliateId': value['affiliateId'],
|
|
@@ -101,6 +101,12 @@ export interface CreateSubscriptionInput {
|
|
|
101
101
|
* @memberof CreateSubscriptionInput
|
|
102
102
|
*/
|
|
103
103
|
selfDeclaredTaxCountry?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Controls payment methods cache refresh. true: force recalculation even if the fingerprint is still valid. false: never refresh payment methods on this update. omit/undefined: refresh only when the cache is missing or the fingerprint changed.
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof CreateSubscriptionInput
|
|
108
|
+
*/
|
|
109
|
+
forceUpdatePaymentMethods?: boolean;
|
|
104
110
|
/**
|
|
105
111
|
* Full domain name for the subscription
|
|
106
112
|
* @type {string}
|
|
@@ -60,6 +60,7 @@ function CreateSubscriptionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'addressCity': json['addressCity'] == null ? undefined : json['addressCity'],
|
|
61
61
|
'companyInfo': json['companyInfo'] == null ? undefined : (0, SubscriptionCompanyInfoDto_1.SubscriptionCompanyInfoDtoFromJSON)(json['companyInfo']),
|
|
62
62
|
'selfDeclaredTaxCountry': json['selfDeclaredTaxCountry'] == null ? undefined : json['selfDeclaredTaxCountry'],
|
|
63
|
+
'forceUpdatePaymentMethods': json['forceUpdatePaymentMethods'] == null ? undefined : json['forceUpdatePaymentMethods'],
|
|
63
64
|
'domainName': json['domainName'],
|
|
64
65
|
'subscriptionType': json['subscriptionType'],
|
|
65
66
|
'affiliateId': json['affiliateId'] == null ? undefined : json['affiliateId'],
|
|
@@ -88,6 +89,7 @@ function CreateSubscriptionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
88
89
|
'addressCity': value['addressCity'],
|
|
89
90
|
'companyInfo': (0, SubscriptionCompanyInfoDto_1.SubscriptionCompanyInfoDtoToJSON)(value['companyInfo']),
|
|
90
91
|
'selfDeclaredTaxCountry': value['selfDeclaredTaxCountry'],
|
|
92
|
+
'forceUpdatePaymentMethods': value['forceUpdatePaymentMethods'],
|
|
91
93
|
'domainName': value['domainName'],
|
|
92
94
|
'subscriptionType': value['subscriptionType'],
|
|
93
95
|
'affiliateId': value['affiliateId'],
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreatedApiKeyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatedApiKeyDto {
|
|
18
|
+
/**
|
|
19
|
+
* API key identifier.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatedApiKeyDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Human readable name given to the key on creation.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatedApiKeyDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Authorization scopes granted to this API key.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof CreatedApiKeyDto
|
|
34
|
+
*/
|
|
35
|
+
scope: Array<CreatedApiKeyDtoScopeEnum>;
|
|
36
|
+
/**
|
|
37
|
+
* Masked fragment of the token, for recognising the key in a list. The full token is only returned once, at creation.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatedApiKeyDto
|
|
40
|
+
*/
|
|
41
|
+
displayPrefix: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* When the key was last used to authenticate. Accurate to within 15 minutes; null if never used.
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof CreatedApiKeyDto
|
|
46
|
+
*/
|
|
47
|
+
lastUsedAt: Date | null;
|
|
48
|
+
/**
|
|
49
|
+
* When the key stops being accepted. Null if it never expires.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof CreatedApiKeyDto
|
|
52
|
+
*/
|
|
53
|
+
expiresAt: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
* When the key was created.
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof CreatedApiKeyDto
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
/**
|
|
61
|
+
* The API key token. Shown only once, on creation, and unrecoverable afterwards. Send it in the `apikey` request header.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreatedApiKeyDto
|
|
64
|
+
*/
|
|
65
|
+
token: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const CreatedApiKeyDtoScopeEnum: {
|
|
71
|
+
readonly DOMAIN_BUY_NOW_PRICES_UPDATES: "DOMAIN_BUY_NOW_PRICES_UPDATES";
|
|
72
|
+
readonly DOMAINS_FIND: "DOMAINS_FIND";
|
|
73
|
+
readonly AUCTION_LIST: "AUCTION_LIST";
|
|
74
|
+
readonly MARKET_DATA: "MARKET_DATA";
|
|
75
|
+
readonly DOMAINS_READ: "DOMAINS_READ";
|
|
76
|
+
readonly DOMAINS_WRITE: "DOMAINS_WRITE";
|
|
77
|
+
readonly EPP_WRITE: "EPP_WRITE";
|
|
78
|
+
readonly TRANSFERS_READ: "TRANSFERS_READ";
|
|
79
|
+
readonly TRANSFERS_WRITE: "TRANSFERS_WRITE";
|
|
80
|
+
readonly LEADS_READ: "LEADS_READ";
|
|
81
|
+
readonly LEADS_WRITE: "LEADS_WRITE";
|
|
82
|
+
readonly AUCTIONS_READ: "AUCTIONS_READ";
|
|
83
|
+
readonly AUCTIONS_WRITE: "AUCTIONS_WRITE";
|
|
84
|
+
readonly STATS_READ: "STATS_READ";
|
|
85
|
+
readonly INVOICES_READ: "INVOICES_READ";
|
|
86
|
+
readonly SUBSCRIPTIONS_READ: "SUBSCRIPTIONS_READ";
|
|
87
|
+
readonly COMMISSIONS_READ: "COMMISSIONS_READ";
|
|
88
|
+
readonly TASKS_READ: "TASKS_READ";
|
|
89
|
+
readonly TASKS_WRITE: "TASKS_WRITE";
|
|
90
|
+
readonly NOTIFICATIONS_READ: "NOTIFICATIONS_READ";
|
|
91
|
+
readonly NOTIFICATIONS_WRITE: "NOTIFICATIONS_WRITE";
|
|
92
|
+
readonly CHALLENGES_READ: "CHALLENGES_READ";
|
|
93
|
+
readonly CHALLENGES_WRITE: "CHALLENGES_WRITE";
|
|
94
|
+
readonly ACCOUNT_READ: "ACCOUNT_READ";
|
|
95
|
+
readonly ACCOUNT_WRITE: "ACCOUNT_WRITE";
|
|
96
|
+
readonly ACCOUNT_DELETE: "ACCOUNT_DELETE";
|
|
97
|
+
readonly PAYOUTS_READ: "PAYOUTS_READ";
|
|
98
|
+
readonly PAYOUTS_WRITE: "PAYOUTS_WRITE";
|
|
99
|
+
readonly PAYMENTS_READ: "PAYMENTS_READ";
|
|
100
|
+
readonly PAYMENTS_WRITE: "PAYMENTS_WRITE";
|
|
101
|
+
readonly USERS_READ: "USERS_READ";
|
|
102
|
+
readonly USERS_WRITE: "USERS_WRITE";
|
|
103
|
+
readonly USER_EMAIL_WRITE: "USER_EMAIL_WRITE";
|
|
104
|
+
};
|
|
105
|
+
export type CreatedApiKeyDtoScopeEnum = typeof CreatedApiKeyDtoScopeEnum[keyof typeof CreatedApiKeyDtoScopeEnum];
|
|
106
|
+
/**
|
|
107
|
+
* Check if a given object implements the CreatedApiKeyDto interface.
|
|
108
|
+
*/
|
|
109
|
+
export declare function instanceOfCreatedApiKeyDto(value: object): value is CreatedApiKeyDto;
|
|
110
|
+
export declare function CreatedApiKeyDtoFromJSON(json: any): CreatedApiKeyDto;
|
|
111
|
+
export declare function CreatedApiKeyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatedApiKeyDto;
|
|
112
|
+
export declare function CreatedApiKeyDtoToJSON(json: any): CreatedApiKeyDto;
|
|
113
|
+
export declare function CreatedApiKeyDtoToJSONTyped(value?: CreatedApiKeyDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreatedApiKeyDtoScopeEnum = void 0;
|
|
17
|
+
exports.instanceOfCreatedApiKeyDto = instanceOfCreatedApiKeyDto;
|
|
18
|
+
exports.CreatedApiKeyDtoFromJSON = CreatedApiKeyDtoFromJSON;
|
|
19
|
+
exports.CreatedApiKeyDtoFromJSONTyped = CreatedApiKeyDtoFromJSONTyped;
|
|
20
|
+
exports.CreatedApiKeyDtoToJSON = CreatedApiKeyDtoToJSON;
|
|
21
|
+
exports.CreatedApiKeyDtoToJSONTyped = CreatedApiKeyDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CreatedApiKeyDtoScopeEnum = {
|
|
26
|
+
DOMAIN_BUY_NOW_PRICES_UPDATES: 'DOMAIN_BUY_NOW_PRICES_UPDATES',
|
|
27
|
+
DOMAINS_FIND: 'DOMAINS_FIND',
|
|
28
|
+
AUCTION_LIST: 'AUCTION_LIST',
|
|
29
|
+
MARKET_DATA: 'MARKET_DATA',
|
|
30
|
+
DOMAINS_READ: 'DOMAINS_READ',
|
|
31
|
+
DOMAINS_WRITE: 'DOMAINS_WRITE',
|
|
32
|
+
EPP_WRITE: 'EPP_WRITE',
|
|
33
|
+
TRANSFERS_READ: 'TRANSFERS_READ',
|
|
34
|
+
TRANSFERS_WRITE: 'TRANSFERS_WRITE',
|
|
35
|
+
LEADS_READ: 'LEADS_READ',
|
|
36
|
+
LEADS_WRITE: 'LEADS_WRITE',
|
|
37
|
+
AUCTIONS_READ: 'AUCTIONS_READ',
|
|
38
|
+
AUCTIONS_WRITE: 'AUCTIONS_WRITE',
|
|
39
|
+
STATS_READ: 'STATS_READ',
|
|
40
|
+
INVOICES_READ: 'INVOICES_READ',
|
|
41
|
+
SUBSCRIPTIONS_READ: 'SUBSCRIPTIONS_READ',
|
|
42
|
+
COMMISSIONS_READ: 'COMMISSIONS_READ',
|
|
43
|
+
TASKS_READ: 'TASKS_READ',
|
|
44
|
+
TASKS_WRITE: 'TASKS_WRITE',
|
|
45
|
+
NOTIFICATIONS_READ: 'NOTIFICATIONS_READ',
|
|
46
|
+
NOTIFICATIONS_WRITE: 'NOTIFICATIONS_WRITE',
|
|
47
|
+
CHALLENGES_READ: 'CHALLENGES_READ',
|
|
48
|
+
CHALLENGES_WRITE: 'CHALLENGES_WRITE',
|
|
49
|
+
ACCOUNT_READ: 'ACCOUNT_READ',
|
|
50
|
+
ACCOUNT_WRITE: 'ACCOUNT_WRITE',
|
|
51
|
+
ACCOUNT_DELETE: 'ACCOUNT_DELETE',
|
|
52
|
+
PAYOUTS_READ: 'PAYOUTS_READ',
|
|
53
|
+
PAYOUTS_WRITE: 'PAYOUTS_WRITE',
|
|
54
|
+
PAYMENTS_READ: 'PAYMENTS_READ',
|
|
55
|
+
PAYMENTS_WRITE: 'PAYMENTS_WRITE',
|
|
56
|
+
USERS_READ: 'USERS_READ',
|
|
57
|
+
USERS_WRITE: 'USERS_WRITE',
|
|
58
|
+
USER_EMAIL_WRITE: 'USER_EMAIL_WRITE'
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the CreatedApiKeyDto interface.
|
|
62
|
+
*/
|
|
63
|
+
function instanceOfCreatedApiKeyDto(value) {
|
|
64
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
if (!('scope' in value) || value['scope'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
if (!('displayPrefix' in value) || value['displayPrefix'] === undefined)
|
|
71
|
+
return false;
|
|
72
|
+
if (!('lastUsedAt' in value) || value['lastUsedAt'] === undefined)
|
|
73
|
+
return false;
|
|
74
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
75
|
+
return false;
|
|
76
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
77
|
+
return false;
|
|
78
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
79
|
+
return false;
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
function CreatedApiKeyDtoFromJSON(json) {
|
|
83
|
+
return CreatedApiKeyDtoFromJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
function CreatedApiKeyDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
86
|
+
if (json == null) {
|
|
87
|
+
return json;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
'id': json['id'],
|
|
91
|
+
'name': json['name'],
|
|
92
|
+
'scope': json['scope'],
|
|
93
|
+
'displayPrefix': json['displayPrefix'],
|
|
94
|
+
'lastUsedAt': (json['lastUsedAt'] == null ? null : new Date(json['lastUsedAt'])),
|
|
95
|
+
'expiresAt': (json['expiresAt'] == null ? null : new Date(json['expiresAt'])),
|
|
96
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
97
|
+
'token': json['token'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function CreatedApiKeyDtoToJSON(json) {
|
|
101
|
+
return CreatedApiKeyDtoToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
function CreatedApiKeyDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
104
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
return {
|
|
109
|
+
'id': value['id'],
|
|
110
|
+
'name': value['name'],
|
|
111
|
+
'scope': value['scope'],
|
|
112
|
+
'displayPrefix': value['displayPrefix'],
|
|
113
|
+
'lastUsedAt': (value['lastUsedAt'] == null ? null : value['lastUsedAt'].toISOString()),
|
|
114
|
+
'expiresAt': (value['expiresAt'] == null ? null : value['expiresAt'].toISOString()),
|
|
115
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
116
|
+
'token': value['token'],
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -88,6 +88,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
|
|
|
88
88
|
readonly USE_MAILER_FALLBACK_URL: "USE_MAILER_FALLBACK_URL";
|
|
89
89
|
readonly USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: "USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST";
|
|
90
90
|
readonly AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: "AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD";
|
|
91
|
+
readonly MARKETPLACE_ROUTING: "MARKETPLACE_ROUTING";
|
|
91
92
|
};
|
|
92
93
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
93
94
|
/**
|
|
@@ -48,7 +48,8 @@ exports.FeatureFlagListItemDtoNameEnum = {
|
|
|
48
48
|
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
|
|
49
49
|
USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
|
|
50
50
|
USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
|
|
51
|
-
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
|
|
51
|
+
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
|
|
52
|
+
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING'
|
|
52
53
|
};
|
|
53
54
|
/**
|
|
54
55
|
* Check if a given object implements the FeatureFlagListItemDto interface.
|
|
@@ -131,6 +131,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
|
|
|
131
131
|
readonly USE_MAILER_FALLBACK_URL: "USE_MAILER_FALLBACK_URL";
|
|
132
132
|
readonly USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: "USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST";
|
|
133
133
|
readonly AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: "AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD";
|
|
134
|
+
readonly MARKETPLACE_ROUTING: "MARKETPLACE_ROUTING";
|
|
134
135
|
};
|
|
135
136
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
136
137
|
/**
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -55,7 +55,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
|
|
|
55
55
|
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE',
|
|
56
56
|
USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
|
|
57
57
|
USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
|
|
58
|
-
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD'
|
|
58
|
+
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
|
|
59
|
+
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING'
|
|
59
60
|
};
|
|
60
61
|
/**
|
|
61
62
|
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
@@ -202,6 +202,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
202
202
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
203
203
|
*/
|
|
204
204
|
showcased: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
209
|
+
*/
|
|
210
|
+
marketplace: IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum | null;
|
|
205
211
|
/**
|
|
206
212
|
* Account that owns the domain.
|
|
207
213
|
* @type {AccountDto}
|
|
@@ -215,6 +221,18 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
215
221
|
*/
|
|
216
222
|
hasAuction: boolean;
|
|
217
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* @export
|
|
226
|
+
*/
|
|
227
|
+
export declare const IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum: {
|
|
228
|
+
readonly NAMESHIFT: "nameshift";
|
|
229
|
+
readonly SEDO: "sedo";
|
|
230
|
+
readonly AFTERNIC: "afternic";
|
|
231
|
+
readonly ATOM: "atom";
|
|
232
|
+
readonly SPACESHIP: "spaceship";
|
|
233
|
+
readonly NAMECLUB: "nameclub";
|
|
234
|
+
};
|
|
235
|
+
export type IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum = typeof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum];
|
|
218
236
|
/**
|
|
219
237
|
* Check if a given object implements the IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto interface.
|
|
220
238
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum = void 0;
|
|
16
17
|
exports.instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto = instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto;
|
|
17
18
|
exports.IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSON = IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSON;
|
|
18
19
|
exports.IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped = IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped;
|
|
@@ -25,6 +26,17 @@ var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
|
25
26
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
26
27
|
var AccountDto_1 = require("./AccountDto");
|
|
27
28
|
var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto");
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum = {
|
|
33
|
+
NAMESHIFT: 'nameshift',
|
|
34
|
+
SEDO: 'sedo',
|
|
35
|
+
AFTERNIC: 'afternic',
|
|
36
|
+
ATOM: 'atom',
|
|
37
|
+
SPACESHIP: 'spaceship',
|
|
38
|
+
NAMECLUB: 'nameclub'
|
|
39
|
+
};
|
|
28
40
|
/**
|
|
29
41
|
* Check if a given object implements the IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto interface.
|
|
30
42
|
*/
|
|
@@ -89,6 +101,8 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
|
|
|
89
101
|
return false;
|
|
90
102
|
if (!('showcased' in value) || value['showcased'] === undefined)
|
|
91
103
|
return false;
|
|
104
|
+
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
105
|
+
return false;
|
|
92
106
|
if (!('account' in value) || value['account'] === undefined)
|
|
93
107
|
return false;
|
|
94
108
|
if (!('hasAuction' in value) || value['hasAuction'] === undefined)
|
|
@@ -133,6 +147,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
|
|
|
133
147
|
'isLocked': json['isLocked'],
|
|
134
148
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
135
149
|
'showcased': json['showcased'],
|
|
150
|
+
'marketplace': json['marketplace'],
|
|
136
151
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
137
152
|
'hasAuction': json['hasAuction'],
|
|
138
153
|
};
|
|
@@ -176,6 +191,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
|
|
|
176
191
|
'isLocked': value['isLocked'],
|
|
177
192
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
178
193
|
'showcased': value['showcased'],
|
|
194
|
+
'marketplace': value['marketplace'],
|
|
179
195
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
180
196
|
'hasAuction': value['hasAuction'],
|
|
181
197
|
};
|
|
@@ -202,6 +202,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
202
202
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
203
203
|
*/
|
|
204
204
|
showcased: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
209
|
+
*/
|
|
210
|
+
marketplace: IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum | null;
|
|
205
211
|
/**
|
|
206
212
|
* Account managing the domain on behalf of the owner, when a hijacker is assigned.
|
|
207
213
|
* @type {AccountDto}
|
|
@@ -215,6 +221,18 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
215
221
|
*/
|
|
216
222
|
account: AccountDto;
|
|
217
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* @export
|
|
226
|
+
*/
|
|
227
|
+
export declare const IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum: {
|
|
228
|
+
readonly NAMESHIFT: "nameshift";
|
|
229
|
+
readonly SEDO: "sedo";
|
|
230
|
+
readonly AFTERNIC: "afternic";
|
|
231
|
+
readonly ATOM: "atom";
|
|
232
|
+
readonly SPACESHIP: "spaceship";
|
|
233
|
+
readonly NAMECLUB: "nameclub";
|
|
234
|
+
};
|
|
235
|
+
export type IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum = typeof IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum];
|
|
218
236
|
/**
|
|
219
237
|
* Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
|
|
220
238
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum = void 0;
|
|
16
17
|
exports.instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto = instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto;
|
|
17
18
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON;
|
|
18
19
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped;
|
|
@@ -25,6 +26,17 @@ var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
|
25
26
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
26
27
|
var AccountDto_1 = require("./AccountDto");
|
|
27
28
|
var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto");
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum = {
|
|
33
|
+
NAMESHIFT: 'nameshift',
|
|
34
|
+
SEDO: 'sedo',
|
|
35
|
+
AFTERNIC: 'afternic',
|
|
36
|
+
ATOM: 'atom',
|
|
37
|
+
SPACESHIP: 'spaceship',
|
|
38
|
+
NAMECLUB: 'nameclub'
|
|
39
|
+
};
|
|
28
40
|
/**
|
|
29
41
|
* Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
|
|
30
42
|
*/
|
|
@@ -89,6 +101,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
89
101
|
return false;
|
|
90
102
|
if (!('showcased' in value) || value['showcased'] === undefined)
|
|
91
103
|
return false;
|
|
104
|
+
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
105
|
+
return false;
|
|
92
106
|
if (!('hijacker' in value) || value['hijacker'] === undefined)
|
|
93
107
|
return false;
|
|
94
108
|
if (!('account' in value) || value['account'] === undefined)
|
|
@@ -133,6 +147,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
133
147
|
'isLocked': json['isLocked'],
|
|
134
148
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
135
149
|
'showcased': json['showcased'],
|
|
150
|
+
'marketplace': json['marketplace'],
|
|
136
151
|
'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
|
|
137
152
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
138
153
|
};
|
|
@@ -176,6 +191,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
176
191
|
'isLocked': value['isLocked'],
|
|
177
192
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
178
193
|
'showcased': value['showcased'],
|
|
194
|
+
'marketplace': value['marketplace'],
|
|
179
195
|
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
|
|
180
196
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
181
197
|
};
|
|
@@ -202,6 +202,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
202
202
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
203
203
|
*/
|
|
204
204
|
showcased: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
209
|
+
*/
|
|
210
|
+
marketplace: IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum | null;
|
|
205
211
|
/**
|
|
206
212
|
* SEO metrics for the domain from Moz, Majestic, and historical sources.
|
|
207
213
|
* @type {SeoMetricsDto}
|
|
@@ -209,6 +215,18 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
209
215
|
*/
|
|
210
216
|
seoMetrics: SeoMetricsDto | null;
|
|
211
217
|
}
|
|
218
|
+
/**
|
|
219
|
+
* @export
|
|
220
|
+
*/
|
|
221
|
+
export declare const IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum: {
|
|
222
|
+
readonly NAMESHIFT: "nameshift";
|
|
223
|
+
readonly SEDO: "sedo";
|
|
224
|
+
readonly AFTERNIC: "afternic";
|
|
225
|
+
readonly ATOM: "atom";
|
|
226
|
+
readonly SPACESHIP: "spaceship";
|
|
227
|
+
readonly NAMECLUB: "nameclub";
|
|
228
|
+
};
|
|
229
|
+
export type IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum];
|
|
212
230
|
/**
|
|
213
231
|
* Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDto interface.
|
|
214
232
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = void 0;
|
|
16
17
|
exports.instanceOfIntersectionDomainDtoWithSeoMetricsDto = instanceOfIntersectionDomainDtoWithSeoMetricsDto;
|
|
17
18
|
exports.IntersectionDomainDtoWithSeoMetricsDtoFromJSON = IntersectionDomainDtoWithSeoMetricsDtoFromJSON;
|
|
18
19
|
exports.IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped;
|
|
@@ -25,6 +26,17 @@ var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
|
25
26
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
26
27
|
var SeoMetricsDto_1 = require("./SeoMetricsDto");
|
|
27
28
|
var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto");
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum = {
|
|
33
|
+
NAMESHIFT: 'nameshift',
|
|
34
|
+
SEDO: 'sedo',
|
|
35
|
+
AFTERNIC: 'afternic',
|
|
36
|
+
ATOM: 'atom',
|
|
37
|
+
SPACESHIP: 'spaceship',
|
|
38
|
+
NAMECLUB: 'nameclub'
|
|
39
|
+
};
|
|
28
40
|
/**
|
|
29
41
|
* Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDto interface.
|
|
30
42
|
*/
|
|
@@ -89,6 +101,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
|
|
|
89
101
|
return false;
|
|
90
102
|
if (!('showcased' in value) || value['showcased'] === undefined)
|
|
91
103
|
return false;
|
|
104
|
+
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
105
|
+
return false;
|
|
92
106
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
93
107
|
return false;
|
|
94
108
|
return true;
|
|
@@ -131,6 +145,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
|
|
|
131
145
|
'isLocked': json['isLocked'],
|
|
132
146
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
133
147
|
'showcased': json['showcased'],
|
|
148
|
+
'marketplace': json['marketplace'],
|
|
134
149
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
|
|
135
150
|
};
|
|
136
151
|
}
|
|
@@ -173,6 +188,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
|
|
|
173
188
|
'isLocked': value['isLocked'],
|
|
174
189
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
175
190
|
'showcased': value['showcased'],
|
|
191
|
+
'marketplace': value['marketplace'],
|
|
176
192
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
|
|
177
193
|
};
|
|
178
194
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MarketplaceDto
|
|
16
|
+
*/
|
|
17
|
+
export interface MarketplaceDto {
|
|
18
|
+
/**
|
|
19
|
+
* Stable code used to select this marketplace.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MarketplaceDto
|
|
22
|
+
*/
|
|
23
|
+
code: MarketplaceDtoCodeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Display name of the marketplace.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MarketplaceDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether domains may currently be routed to this marketplace. A marketplace without nameservers cannot be routed to.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof MarketplaceDto
|
|
34
|
+
*/
|
|
35
|
+
routable: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Record type the verification code is published as.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MarketplaceDto
|
|
40
|
+
*/
|
|
41
|
+
verificationRecordType: string;
|
|
42
|
+
/**
|
|
43
|
+
* Record name the verification code is published at, relative to the domain.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof MarketplaceDto
|
|
46
|
+
*/
|
|
47
|
+
verificationRecordName: string;
|
|
48
|
+
/**
|
|
49
|
+
* An example of the value this marketplace issues, shown so a seller recognises it.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof MarketplaceDto
|
|
52
|
+
*/
|
|
53
|
+
verificationExample: string | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const MarketplaceDtoCodeEnum: {
|
|
59
|
+
readonly NAMESHIFT: "nameshift";
|
|
60
|
+
readonly SEDO: "sedo";
|
|
61
|
+
readonly AFTERNIC: "afternic";
|
|
62
|
+
readonly ATOM: "atom";
|
|
63
|
+
readonly SPACESHIP: "spaceship";
|
|
64
|
+
readonly NAMECLUB: "nameclub";
|
|
65
|
+
};
|
|
66
|
+
export type MarketplaceDtoCodeEnum = typeof MarketplaceDtoCodeEnum[keyof typeof MarketplaceDtoCodeEnum];
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the MarketplaceDto interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfMarketplaceDto(value: object): value is MarketplaceDto;
|
|
71
|
+
export declare function MarketplaceDtoFromJSON(json: any): MarketplaceDto;
|
|
72
|
+
export declare function MarketplaceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketplaceDto;
|
|
73
|
+
export declare function MarketplaceDtoToJSON(json: any): MarketplaceDto;
|
|
74
|
+
export declare function MarketplaceDtoToJSONTyped(value?: MarketplaceDto | null, ignoreDiscriminator?: boolean): any;
|