@randock/nameshift-api-client 0.0.442 → 0.0.444
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 +13 -0
- package/README.md +3 -3
- package/dist/apis/MarketingApi.d.ts +14 -1
- package/dist/apis/MarketingApi.js +56 -0
- package/dist/models/DomainMinimalLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainMinimalLandingPageDesignDto.js +63 -0
- package/dist/models/DomainModernLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainModernLandingPageDesignDto.js +63 -0
- package/dist/models/DomainOriginalLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainOriginalLandingPageDesignDto.js +63 -0
- package/dist/models/DomainSalesInformationDto.d.ts +7 -24
- package/dist/models/DomainSalesInformationDto.js +5 -16
- package/dist/models/DomainSalesInformationDtoLandingPageDesign.d.ts +30 -0
- package/dist/models/DomainSalesInformationDtoLandingPageDesign.js +59 -0
- package/dist/models/DomainSellerDto.d.ts +0 -6
- package/dist/models/DomainSellerDto.js +0 -4
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.d.ts +19 -3
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.js +18 -5
- package/dist/models/LandingPageDesignSettingsDto.d.ts +47 -0
- package/dist/models/LandingPageDesignSettingsDto.js +62 -0
- package/dist/models/LandingPageDesignSettingsInput.d.ts +47 -0
- package/dist/models/LandingPageDesignSettingsInput.js +56 -0
- package/dist/models/LandingPageInput.d.ts +6 -47
- package/dist/models/LandingPageInput.js +3 -16
- package/dist/models/LandingPageMinimalDesignSettingsDto.d.ts +32 -0
- package/dist/models/LandingPageMinimalDesignSettingsDto.js +51 -0
- package/dist/models/LandingPageMinimalDesignSettingsInput.d.ts +32 -0
- package/dist/models/LandingPageMinimalDesignSettingsInput.js +49 -0
- package/dist/models/LandingPageModernDesignSettingsDto.d.ts +74 -0
- package/dist/models/LandingPageModernDesignSettingsDto.js +79 -0
- package/dist/models/LandingPageModernDesignSettingsInput.d.ts +74 -0
- package/dist/models/LandingPageModernDesignSettingsInput.js +63 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.d.ts +74 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.js +79 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +74 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.js +63 -0
- package/dist/models/LandingPageSettingsDto.d.ts +6 -47
- package/dist/models/LandingPageSettingsDto.js +5 -32
- package/dist/models/MarketingDashboardStatsDto.d.ts +33 -0
- package/dist/models/MarketingDashboardStatsDto.js +52 -0
- package/dist/models/WithSettingsInner.d.ts +0 -24
- package/dist/models/WithSettingsInner.js +0 -16
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/package.json +1 -1
- package/src/apis/MarketingApi.ts +47 -0
- package/src/models/DomainMinimalLandingPageDesignDto.ts +93 -0
- package/src/models/DomainModernLandingPageDesignDto.ts +93 -0
- package/src/models/DomainOriginalLandingPageDesignDto.ts +93 -0
- package/src/models/DomainSalesInformationDto.ts +16 -36
- package/src/models/DomainSalesInformationDtoLandingPageDesign.ts +84 -0
- package/src/models/DomainSellerDto.ts +0 -9
- package/src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts +26 -6
- package/src/models/LandingPageDesignSettingsDto.ts +106 -0
- package/src/models/LandingPageDesignSettingsInput.ts +103 -0
- package/src/models/LandingPageInput.ts +15 -63
- package/src/models/LandingPageMinimalDesignSettingsDto.ts +66 -0
- package/src/models/LandingPageMinimalDesignSettingsInput.ts +65 -0
- package/src/models/LandingPageModernDesignSettingsDto.ts +129 -0
- package/src/models/LandingPageModernDesignSettingsInput.ts +121 -0
- package/src/models/LandingPageOriginalDesignSettingsDto.ts +129 -0
- package/src/models/LandingPageOriginalDesignSettingsInput.ts +121 -0
- package/src/models/LandingPageSettingsDto.ts +16 -71
- package/src/models/MarketingDashboardStatsDto.ts +74 -0
- package/src/models/WithSettingsInner.ts +0 -36
- package/src/models/index.ts +13 -0
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LandingPageDesignSettingsDto } from './LandingPageDesignSettingsDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -21,48 +22,6 @@ export interface LandingPageSettingsDto {
|
|
|
21
22
|
* @memberof LandingPageSettingsDto
|
|
22
23
|
*/
|
|
23
24
|
anonymous: boolean | null;
|
|
24
|
-
/**
|
|
25
|
-
* Whether related domains are shown on the landing page.
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof LandingPageSettingsDto
|
|
28
|
-
*/
|
|
29
|
-
showRelatedDomains: boolean | null;
|
|
30
|
-
/**
|
|
31
|
-
* Whether SEO metrics are displayed on the landing page.
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof LandingPageSettingsDto
|
|
34
|
-
*/
|
|
35
|
-
seoMetrics: boolean | null;
|
|
36
|
-
/**
|
|
37
|
-
* Whether visitor statistics are displayed on the landing page.
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof LandingPageSettingsDto
|
|
40
|
-
*/
|
|
41
|
-
visitorStats: boolean | null;
|
|
42
|
-
/**
|
|
43
|
-
* Minimum Moz domain authority required to display SEO metrics.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof LandingPageSettingsDto
|
|
46
|
-
*/
|
|
47
|
-
minDomainAuthority: number | null;
|
|
48
|
-
/**
|
|
49
|
-
* Whether the seller last-online indicator is shown.
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof LandingPageSettingsDto
|
|
52
|
-
*/
|
|
53
|
-
showLastOnline: boolean | null;
|
|
54
|
-
/**
|
|
55
|
-
* Whether the estimated delivery time is shown.
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @memberof LandingPageSettingsDto
|
|
58
|
-
*/
|
|
59
|
-
showDeliversIn: boolean | null;
|
|
60
|
-
/**
|
|
61
|
-
* Whether the Trustpilot widget is shown.
|
|
62
|
-
* @type {boolean}
|
|
63
|
-
* @memberof LandingPageSettingsDto
|
|
64
|
-
*/
|
|
65
|
-
showTrustpilot: boolean | null;
|
|
66
25
|
/**
|
|
67
26
|
* Whether DNSSEC status is displayed on the landing page.
|
|
68
27
|
* @type {boolean}
|
|
@@ -82,17 +41,17 @@ export interface LandingPageSettingsDto {
|
|
|
82
41
|
*/
|
|
83
42
|
requestLeadBuyerPhoneNumber: LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum | null;
|
|
84
43
|
/**
|
|
85
|
-
*
|
|
44
|
+
* Landing page UI design variant.
|
|
86
45
|
* @type {string}
|
|
87
46
|
* @memberof LandingPageSettingsDto
|
|
88
47
|
*/
|
|
89
|
-
|
|
48
|
+
design: LandingPageSettingsDtoDesignEnum | null;
|
|
90
49
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {
|
|
50
|
+
* Settings grouped by landing page design.
|
|
51
|
+
* @type {LandingPageDesignSettingsDto}
|
|
93
52
|
* @memberof LandingPageSettingsDto
|
|
94
53
|
*/
|
|
95
|
-
|
|
54
|
+
designSettings: LandingPageDesignSettingsDto;
|
|
96
55
|
}
|
|
97
56
|
/**
|
|
98
57
|
* @export
|
|
@@ -19,6 +19,7 @@ exports.LandingPageSettingsDtoFromJSON = LandingPageSettingsDtoFromJSON;
|
|
|
19
19
|
exports.LandingPageSettingsDtoFromJSONTyped = LandingPageSettingsDtoFromJSONTyped;
|
|
20
20
|
exports.LandingPageSettingsDtoToJSON = LandingPageSettingsDtoToJSON;
|
|
21
21
|
exports.LandingPageSettingsDtoToJSONTyped = LandingPageSettingsDtoToJSONTyped;
|
|
22
|
+
var LandingPageDesignSettingsDto_1 = require("./LandingPageDesignSettingsDto");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
@@ -41,30 +42,16 @@ exports.LandingPageSettingsDtoDesignEnum = {
|
|
|
41
42
|
function instanceOfLandingPageSettingsDto(value) {
|
|
42
43
|
if (!('anonymous' in value) || value['anonymous'] === undefined)
|
|
43
44
|
return false;
|
|
44
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('visitorStats' in value) || value['visitorStats'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined)
|
|
57
|
-
return false;
|
|
58
45
|
if (!('dnssec' in value) || value['dnssec'] === undefined)
|
|
59
46
|
return false;
|
|
60
47
|
if (!('requestLeadBuyerCompanyName' in value) || value['requestLeadBuyerCompanyName'] === undefined)
|
|
61
48
|
return false;
|
|
62
49
|
if (!('requestLeadBuyerPhoneNumber' in value) || value['requestLeadBuyerPhoneNumber'] === undefined)
|
|
63
50
|
return false;
|
|
64
|
-
if (!('externalLink' in value) || value['externalLink'] === undefined)
|
|
65
|
-
return false;
|
|
66
51
|
if (!('design' in value) || value['design'] === undefined)
|
|
67
52
|
return false;
|
|
53
|
+
if (!('designSettings' in value) || value['designSettings'] === undefined)
|
|
54
|
+
return false;
|
|
68
55
|
return true;
|
|
69
56
|
}
|
|
70
57
|
function LandingPageSettingsDtoFromJSON(json) {
|
|
@@ -76,18 +63,11 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
76
63
|
}
|
|
77
64
|
return {
|
|
78
65
|
'anonymous': json['anonymous'],
|
|
79
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
80
|
-
'seoMetrics': json['seoMetrics'],
|
|
81
|
-
'visitorStats': json['visitorStats'],
|
|
82
|
-
'minDomainAuthority': json['minDomainAuthority'],
|
|
83
|
-
'showLastOnline': json['showLastOnline'],
|
|
84
|
-
'showDeliversIn': json['showDeliversIn'],
|
|
85
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
86
66
|
'dnssec': json['dnssec'],
|
|
87
67
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
|
|
88
68
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
|
|
89
|
-
'externalLink': json['externalLink'],
|
|
90
69
|
'design': json['design'],
|
|
70
|
+
'designSettings': (0, LandingPageDesignSettingsDto_1.LandingPageDesignSettingsDtoFromJSON)(json['designSettings']),
|
|
91
71
|
};
|
|
92
72
|
}
|
|
93
73
|
function LandingPageSettingsDtoToJSON(json) {
|
|
@@ -100,17 +80,10 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
100
80
|
}
|
|
101
81
|
return {
|
|
102
82
|
'anonymous': value['anonymous'],
|
|
103
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
104
|
-
'seoMetrics': value['seoMetrics'],
|
|
105
|
-
'visitorStats': value['visitorStats'],
|
|
106
|
-
'minDomainAuthority': value['minDomainAuthority'],
|
|
107
|
-
'showLastOnline': value['showLastOnline'],
|
|
108
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
109
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
110
83
|
'dnssec': value['dnssec'],
|
|
111
84
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
112
85
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
113
|
-
'externalLink': value['externalLink'],
|
|
114
86
|
'design': value['design'],
|
|
87
|
+
'designSettings': (0, LandingPageDesignSettingsDto_1.LandingPageDesignSettingsDtoToJSON)(value['designSettings']),
|
|
115
88
|
};
|
|
116
89
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
import type { PaymentMethodsStatsDto } from './PaymentMethodsStatsDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MarketingDashboardStatsDto
|
|
17
|
+
*/
|
|
18
|
+
export interface MarketingDashboardStatsDto {
|
|
19
|
+
/**
|
|
20
|
+
* Payment methods statistics
|
|
21
|
+
* @type {PaymentMethodsStatsDto}
|
|
22
|
+
* @memberof MarketingDashboardStatsDto
|
|
23
|
+
*/
|
|
24
|
+
paymentMethods: PaymentMethodsStatsDto;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the MarketingDashboardStatsDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfMarketingDashboardStatsDto(value: object): value is MarketingDashboardStatsDto;
|
|
30
|
+
export declare function MarketingDashboardStatsDtoFromJSON(json: any): MarketingDashboardStatsDto;
|
|
31
|
+
export declare function MarketingDashboardStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketingDashboardStatsDto;
|
|
32
|
+
export declare function MarketingDashboardStatsDtoToJSON(json: any): MarketingDashboardStatsDto;
|
|
33
|
+
export declare function MarketingDashboardStatsDtoToJSONTyped(value?: MarketingDashboardStatsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfMarketingDashboardStatsDto = instanceOfMarketingDashboardStatsDto;
|
|
17
|
+
exports.MarketingDashboardStatsDtoFromJSON = MarketingDashboardStatsDtoFromJSON;
|
|
18
|
+
exports.MarketingDashboardStatsDtoFromJSONTyped = MarketingDashboardStatsDtoFromJSONTyped;
|
|
19
|
+
exports.MarketingDashboardStatsDtoToJSON = MarketingDashboardStatsDtoToJSON;
|
|
20
|
+
exports.MarketingDashboardStatsDtoToJSONTyped = MarketingDashboardStatsDtoToJSONTyped;
|
|
21
|
+
var PaymentMethodsStatsDto_1 = require("./PaymentMethodsStatsDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the MarketingDashboardStatsDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfMarketingDashboardStatsDto(value) {
|
|
26
|
+
if (!('paymentMethods' in value) || value['paymentMethods'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function MarketingDashboardStatsDtoFromJSON(json) {
|
|
31
|
+
return MarketingDashboardStatsDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function MarketingDashboardStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'paymentMethods': (0, PaymentMethodsStatsDto_1.PaymentMethodsStatsDtoFromJSON)(json['paymentMethods']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function MarketingDashboardStatsDtoToJSON(json) {
|
|
42
|
+
return MarketingDashboardStatsDtoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function MarketingDashboardStatsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'paymentMethods': (0, PaymentMethodsStatsDto_1.PaymentMethodsStatsDtoToJSON)(value['paymentMethods']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -44,30 +44,6 @@ export interface WithSettingsInner {
|
|
|
44
44
|
* @memberof WithSettingsInner
|
|
45
45
|
*/
|
|
46
46
|
anonymous: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Whether related domains are shown on domain pages.
|
|
49
|
-
* @type {boolean}
|
|
50
|
-
* @memberof WithSettingsInner
|
|
51
|
-
*/
|
|
52
|
-
showRelatedDomains: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Whether last-online status is shown publicly.
|
|
55
|
-
* @type {boolean}
|
|
56
|
-
* @memberof WithSettingsInner
|
|
57
|
-
*/
|
|
58
|
-
showLastOnline: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Whether delivery time is shown on domain pages.
|
|
61
|
-
* @type {boolean}
|
|
62
|
-
* @memberof WithSettingsInner
|
|
63
|
-
*/
|
|
64
|
-
showDeliversIn: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Whether Trustpilot widget is shown on domain pages.
|
|
67
|
-
* @type {boolean}
|
|
68
|
-
* @memberof WithSettingsInner
|
|
69
|
-
*/
|
|
70
|
-
showTrustpilot: boolean;
|
|
71
47
|
/**
|
|
72
48
|
* Whether DNSSEC is enabled for domains.
|
|
73
49
|
* @type {boolean}
|
|
@@ -39,14 +39,6 @@ function instanceOfWithSettingsInner(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('anonymous' in value) || value['anonymous'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined)
|
|
49
|
-
return false;
|
|
50
42
|
if (!('dnssec' in value) || value['dnssec'] === undefined)
|
|
51
43
|
return false;
|
|
52
44
|
if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined)
|
|
@@ -94,10 +86,6 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
94
86
|
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
95
87
|
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
|
|
96
88
|
'anonymous': json['anonymous'],
|
|
97
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
98
|
-
'showLastOnline': json['showLastOnline'],
|
|
99
|
-
'showDeliversIn': json['showDeliversIn'],
|
|
100
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
101
89
|
'dnssec': json['dnssec'],
|
|
102
90
|
'sidnIdcode': json['sidnIdcode'],
|
|
103
91
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
@@ -129,10 +117,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
129
117
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
130
118
|
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['defaultStartingOffer']),
|
|
131
119
|
'anonymous': value['anonymous'],
|
|
132
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
133
|
-
'showLastOnline': value['showLastOnline'],
|
|
134
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
135
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
136
120
|
'dnssec': value['dnssec'],
|
|
137
121
|
'sidnIdcode': value['sidnIdcode'],
|
|
138
122
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
package/dist/models/index.d.ts
CHANGED
|
@@ -176,8 +176,12 @@ export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
|
176
176
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
177
177
|
export * from './DomainLockConfigurationDto';
|
|
178
178
|
export * from './DomainLockDto';
|
|
179
|
+
export * from './DomainMinimalLandingPageDesignDto';
|
|
180
|
+
export * from './DomainModernLandingPageDesignDto';
|
|
181
|
+
export * from './DomainOriginalLandingPageDesignDto';
|
|
179
182
|
export * from './DomainPricesChangeDto';
|
|
180
183
|
export * from './DomainSalesInformationDto';
|
|
184
|
+
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
181
185
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
182
186
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
183
187
|
export * from './DomainSellerDto';
|
|
@@ -251,7 +255,15 @@ export * from './InvoiceItemDto';
|
|
|
251
255
|
export * from './InvoiceItemTaxDto';
|
|
252
256
|
export * from './InvoiceSellerAccountDto';
|
|
253
257
|
export * from './InvoiceTransactionDto';
|
|
258
|
+
export * from './LandingPageDesignSettingsDto';
|
|
259
|
+
export * from './LandingPageDesignSettingsInput';
|
|
254
260
|
export * from './LandingPageInput';
|
|
261
|
+
export * from './LandingPageMinimalDesignSettingsDto';
|
|
262
|
+
export * from './LandingPageMinimalDesignSettingsInput';
|
|
263
|
+
export * from './LandingPageModernDesignSettingsDto';
|
|
264
|
+
export * from './LandingPageModernDesignSettingsInput';
|
|
265
|
+
export * from './LandingPageOriginalDesignSettingsDto';
|
|
266
|
+
export * from './LandingPageOriginalDesignSettingsInput';
|
|
255
267
|
export * from './LandingPageSettingsDto';
|
|
256
268
|
export * from './LeadBuyerConfigDto';
|
|
257
269
|
export * from './LeadDomainDto';
|
|
@@ -307,6 +319,7 @@ export * from './MajesticMetrics';
|
|
|
307
319
|
export * from './MajesticTopicTrustFlow';
|
|
308
320
|
export * from './ManualLeadBuyerDto';
|
|
309
321
|
export * from './ManualLeadLeaseToOwnDto';
|
|
322
|
+
export * from './MarketingDashboardStatsDto';
|
|
310
323
|
export * from './MarketingOrderListItemDto';
|
|
311
324
|
export * from './MarketingSalesFiltersDto';
|
|
312
325
|
export * from './MoneyDecimalDto';
|
package/dist/models/index.js
CHANGED
|
@@ -194,8 +194,12 @@ __exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), expo
|
|
|
194
194
|
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
195
195
|
__exportStar(require("./DomainLockConfigurationDto"), exports);
|
|
196
196
|
__exportStar(require("./DomainLockDto"), exports);
|
|
197
|
+
__exportStar(require("./DomainMinimalLandingPageDesignDto"), exports);
|
|
198
|
+
__exportStar(require("./DomainModernLandingPageDesignDto"), exports);
|
|
199
|
+
__exportStar(require("./DomainOriginalLandingPageDesignDto"), exports);
|
|
197
200
|
__exportStar(require("./DomainPricesChangeDto"), exports);
|
|
198
201
|
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
202
|
+
__exportStar(require("./DomainSalesInformationDtoLandingPageDesign"), exports);
|
|
199
203
|
__exportStar(require("./DomainSalesInformationLeaseToOwnConfigurationDto"), exports);
|
|
200
204
|
__exportStar(require("./DomainSalesInformationRentConfigurationDto"), exports);
|
|
201
205
|
__exportStar(require("./DomainSellerDto"), exports);
|
|
@@ -269,7 +273,15 @@ __exportStar(require("./InvoiceItemDto"), exports);
|
|
|
269
273
|
__exportStar(require("./InvoiceItemTaxDto"), exports);
|
|
270
274
|
__exportStar(require("./InvoiceSellerAccountDto"), exports);
|
|
271
275
|
__exportStar(require("./InvoiceTransactionDto"), exports);
|
|
276
|
+
__exportStar(require("./LandingPageDesignSettingsDto"), exports);
|
|
277
|
+
__exportStar(require("./LandingPageDesignSettingsInput"), exports);
|
|
272
278
|
__exportStar(require("./LandingPageInput"), exports);
|
|
279
|
+
__exportStar(require("./LandingPageMinimalDesignSettingsDto"), exports);
|
|
280
|
+
__exportStar(require("./LandingPageMinimalDesignSettingsInput"), exports);
|
|
281
|
+
__exportStar(require("./LandingPageModernDesignSettingsDto"), exports);
|
|
282
|
+
__exportStar(require("./LandingPageModernDesignSettingsInput"), exports);
|
|
283
|
+
__exportStar(require("./LandingPageOriginalDesignSettingsDto"), exports);
|
|
284
|
+
__exportStar(require("./LandingPageOriginalDesignSettingsInput"), exports);
|
|
273
285
|
__exportStar(require("./LandingPageSettingsDto"), exports);
|
|
274
286
|
__exportStar(require("./LeadBuyerConfigDto"), exports);
|
|
275
287
|
__exportStar(require("./LeadDomainDto"), exports);
|
|
@@ -325,6 +337,7 @@ __exportStar(require("./MajesticMetrics"), exports);
|
|
|
325
337
|
__exportStar(require("./MajesticTopicTrustFlow"), exports);
|
|
326
338
|
__exportStar(require("./ManualLeadBuyerDto"), exports);
|
|
327
339
|
__exportStar(require("./ManualLeadLeaseToOwnDto"), exports);
|
|
340
|
+
__exportStar(require("./MarketingDashboardStatsDto"), exports);
|
|
328
341
|
__exportStar(require("./MarketingOrderListItemDto"), exports);
|
|
329
342
|
__exportStar(require("./MarketingSalesFiltersDto"), exports);
|
|
330
343
|
__exportStar(require("./MoneyDecimalDto"), exports);
|
package/package.json
CHANGED
package/src/apis/MarketingApi.ts
CHANGED
|
@@ -16,18 +16,25 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
GetMarketingSales200Response,
|
|
19
|
+
MarketingDashboardStatsDto,
|
|
19
20
|
MarketingSalesFiltersDto,
|
|
20
21
|
ValidationException,
|
|
21
22
|
} from '../models/index';
|
|
22
23
|
import {
|
|
23
24
|
GetMarketingSales200ResponseFromJSON,
|
|
24
25
|
GetMarketingSales200ResponseToJSON,
|
|
26
|
+
MarketingDashboardStatsDtoFromJSON,
|
|
27
|
+
MarketingDashboardStatsDtoToJSON,
|
|
25
28
|
MarketingSalesFiltersDtoFromJSON,
|
|
26
29
|
MarketingSalesFiltersDtoToJSON,
|
|
27
30
|
ValidationExceptionFromJSON,
|
|
28
31
|
ValidationExceptionToJSON,
|
|
29
32
|
} from '../models/index';
|
|
30
33
|
|
|
34
|
+
export interface MarketingApiGetMarketingDashboardStatsRequest {
|
|
35
|
+
dateRange?: any | null;
|
|
36
|
+
}
|
|
37
|
+
|
|
31
38
|
export interface MarketingApiGetMarketingSalesRequest {
|
|
32
39
|
filter?: { [key: string]: string; };
|
|
33
40
|
page?: number;
|
|
@@ -42,6 +49,46 @@ export interface MarketingApiGetMarketingSalesRequest {
|
|
|
42
49
|
*/
|
|
43
50
|
export class MarketingApi extends runtime.BaseAPI {
|
|
44
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Returns payment methods statistics for the marketing dashboard, optionally filtered by date range.
|
|
54
|
+
* Get marketing dashboard stats
|
|
55
|
+
*/
|
|
56
|
+
async getMarketingDashboardStatsRaw(requestParameters: MarketingApiGetMarketingDashboardStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MarketingDashboardStatsDto>> {
|
|
57
|
+
const queryParameters: any = {};
|
|
58
|
+
|
|
59
|
+
if (requestParameters['dateRange'] != null) {
|
|
60
|
+
queryParameters['dateRange'] = requestParameters['dateRange'];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
64
|
+
|
|
65
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
66
|
+
const token = this.configuration.accessToken;
|
|
67
|
+
const tokenString = await token("bearer", []);
|
|
68
|
+
|
|
69
|
+
if (tokenString) {
|
|
70
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
const response = await this.request({
|
|
74
|
+
path: `/marketing/stats/dashboard`,
|
|
75
|
+
method: 'GET',
|
|
76
|
+
headers: headerParameters,
|
|
77
|
+
query: queryParameters,
|
|
78
|
+
}, initOverrides);
|
|
79
|
+
|
|
80
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MarketingDashboardStatsDtoFromJSON(jsonValue));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Returns payment methods statistics for the marketing dashboard, optionally filtered by date range.
|
|
85
|
+
* Get marketing dashboard stats
|
|
86
|
+
*/
|
|
87
|
+
async getMarketingDashboardStats(requestParameters: MarketingApiGetMarketingDashboardStatsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MarketingDashboardStatsDto> {
|
|
88
|
+
const response = await this.getMarketingDashboardStatsRaw(requestParameters, initOverrides);
|
|
89
|
+
return await response.value();
|
|
90
|
+
}
|
|
91
|
+
|
|
45
92
|
/**
|
|
46
93
|
* Lists completed orders for marketing and analytics.
|
|
47
94
|
* List marketing sales orders
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* 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.
|
|
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 { LandingPageMinimalDesignSettingsDto } from './LandingPageMinimalDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageMinimalDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageMinimalDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageMinimalDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageMinimalDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageMinimalDesignSettingsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainMinimalLandingPageDesignDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainMinimalLandingPageDesignDto {
|
|
30
|
+
/**
|
|
31
|
+
* Active landing page design.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainMinimalLandingPageDesignDto
|
|
34
|
+
*/
|
|
35
|
+
design: DomainMinimalLandingPageDesignDtoDesignEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Resolved settings for the minimal design.
|
|
38
|
+
* @type {LandingPageMinimalDesignSettingsDto}
|
|
39
|
+
* @memberof DomainMinimalLandingPageDesignDto
|
|
40
|
+
*/
|
|
41
|
+
settings: LandingPageMinimalDesignSettingsDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainMinimalLandingPageDesignDtoDesignEnum = {
|
|
49
|
+
MINIMAL: 'minimal'
|
|
50
|
+
} as const;
|
|
51
|
+
export type DomainMinimalLandingPageDesignDtoDesignEnum = typeof DomainMinimalLandingPageDesignDtoDesignEnum[keyof typeof DomainMinimalLandingPageDesignDtoDesignEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the DomainMinimalLandingPageDesignDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfDomainMinimalLandingPageDesignDto(value: object): value is DomainMinimalLandingPageDesignDto {
|
|
58
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
59
|
+
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainMinimalLandingPageDesignDtoFromJSON(json: any): DomainMinimalLandingPageDesignDto {
|
|
64
|
+
return DomainMinimalLandingPageDesignDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainMinimalLandingPageDesignDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainMinimalLandingPageDesignDto {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'design': json['design'],
|
|
74
|
+
'settings': LandingPageMinimalDesignSettingsDtoFromJSON(json['settings']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function DomainMinimalLandingPageDesignDtoToJSON(json: any): DomainMinimalLandingPageDesignDto {
|
|
79
|
+
return DomainMinimalLandingPageDesignDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function DomainMinimalLandingPageDesignDtoToJSONTyped(value?: DomainMinimalLandingPageDesignDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'design': value['design'],
|
|
90
|
+
'settings': LandingPageMinimalDesignSettingsDtoToJSON(value['settings']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* 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.
|
|
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 { LandingPageModernDesignSettingsDto } from './LandingPageModernDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageModernDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageModernDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageModernDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageModernDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageModernDesignSettingsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainModernLandingPageDesignDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainModernLandingPageDesignDto {
|
|
30
|
+
/**
|
|
31
|
+
* Active landing page design.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainModernLandingPageDesignDto
|
|
34
|
+
*/
|
|
35
|
+
design: DomainModernLandingPageDesignDtoDesignEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Resolved settings for the modern design.
|
|
38
|
+
* @type {LandingPageModernDesignSettingsDto}
|
|
39
|
+
* @memberof DomainModernLandingPageDesignDto
|
|
40
|
+
*/
|
|
41
|
+
settings: LandingPageModernDesignSettingsDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainModernLandingPageDesignDtoDesignEnum = {
|
|
49
|
+
MODERN: 'modern'
|
|
50
|
+
} as const;
|
|
51
|
+
export type DomainModernLandingPageDesignDtoDesignEnum = typeof DomainModernLandingPageDesignDtoDesignEnum[keyof typeof DomainModernLandingPageDesignDtoDesignEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the DomainModernLandingPageDesignDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfDomainModernLandingPageDesignDto(value: object): value is DomainModernLandingPageDesignDto {
|
|
58
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
59
|
+
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainModernLandingPageDesignDtoFromJSON(json: any): DomainModernLandingPageDesignDto {
|
|
64
|
+
return DomainModernLandingPageDesignDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainModernLandingPageDesignDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainModernLandingPageDesignDto {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'design': json['design'],
|
|
74
|
+
'settings': LandingPageModernDesignSettingsDtoFromJSON(json['settings']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function DomainModernLandingPageDesignDtoToJSON(json: any): DomainModernLandingPageDesignDto {
|
|
79
|
+
return DomainModernLandingPageDesignDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function DomainModernLandingPageDesignDtoToJSONTyped(value?: DomainModernLandingPageDesignDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'design': value['design'],
|
|
90
|
+
'settings': LandingPageModernDesignSettingsDtoToJSON(value['settings']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|