@randock/nameshift-api-client 0.0.196 → 0.0.198
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 +5 -1
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +3 -3
- package/dist/apis/AccountsApi.js +1 -1
- package/dist/apis/SubscriptionsApi.d.ts +32 -0
- package/dist/apis/SubscriptionsApi.js +143 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountSettingsLandingDto.d.ts +6 -0
- package/dist/models/AccountSettingsLandingDto.js +4 -0
- package/dist/models/GetAllSubscriptions200Response1.d.ts +47 -0
- package/dist/models/GetAllSubscriptions200Response1.js +62 -0
- package/dist/models/{IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.d.ts → IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts} +30 -16
- package/dist/models/{IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.js → IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js} +25 -13
- package/dist/models/LandingPageInput.d.ts +6 -0
- package/dist/models/LandingPageInput.js +2 -0
- package/dist/models/SellerSubscriptionListItemDto.d.ts +89 -0
- package/dist/models/SellerSubscriptionListItemDto.js +95 -0
- package/dist/models/SellerSubscriptionListItemDtoDomainInformation.d.ts +44 -0
- package/dist/models/SellerSubscriptionListItemDtoDomainInformation.js +59 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +6 -6
- package/src/apis/SubscriptionsApi.ts +93 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AccountSettingsLandingDto.ts +9 -0
- package/src/models/GetAllSubscriptions200Response1.ts +106 -0
- package/src/models/{IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts → IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts} +38 -18
- package/src/models/LandingPageInput.ts +8 -0
- package/src/models/SellerSubscriptionListItemDto.ts +158 -0
- package/src/models/SellerSubscriptionListItemDtoDomainInformation.ts +84 -0
- package/src/models/index.ts +4 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -16,6 +16,7 @@ src/apis/LeadsApi.ts
|
|
|
16
16
|
src/apis/LeadsPublicApi.ts
|
|
17
17
|
src/apis/OrdersPublicApi.ts
|
|
18
18
|
src/apis/StripePublicApi.ts
|
|
19
|
+
src/apis/SubscriptionsApi.ts
|
|
19
20
|
src/apis/SubscriptionsPublicApi.ts
|
|
20
21
|
src/apis/TasksApi.ts
|
|
21
22
|
src/apis/UsersApi.ts
|
|
@@ -97,10 +98,11 @@ src/models/GetAllInvoices200Response.ts
|
|
|
97
98
|
src/models/GetAllOrders200Response.ts
|
|
98
99
|
src/models/GetAllOwnedDomains200Response.ts
|
|
99
100
|
src/models/GetAllSubscriptions200Response.ts
|
|
101
|
+
src/models/GetAllSubscriptions200Response1.ts
|
|
100
102
|
src/models/GetBuyerLeads200Response.ts
|
|
101
103
|
src/models/GetBuyerTransfers200Response.ts
|
|
102
104
|
src/models/HttpException.ts
|
|
103
|
-
src/models/
|
|
105
|
+
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
104
106
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
105
107
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
106
108
|
src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts
|
|
@@ -166,6 +168,8 @@ src/models/SellerDomainTransferListItemDomainDto.ts
|
|
|
166
168
|
src/models/SellerDomainTransferListItemDto.ts
|
|
167
169
|
src/models/SellerSecurityUserAccountDto.ts
|
|
168
170
|
src/models/SellerSecurityUserDto.ts
|
|
171
|
+
src/models/SellerSubscriptionListItemDto.ts
|
|
172
|
+
src/models/SellerSubscriptionListItemDtoDomainInformation.ts
|
|
169
173
|
src/models/SetDomainTransferConfirmationInput.ts
|
|
170
174
|
src/models/SetNewPasswordInput.ts
|
|
171
175
|
src/models/StoreBuyerLocaleInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.198
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.198 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
968e463282777dad51e838bac66fc8929a4207ecc6ea1111896c6b4db68f4ee75cca7fad82fedc24e6d1f728c024af2c
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccountPaymentProviderSessionDto, AccountSettingsDto, AccountSettingsInput,
|
|
13
|
+
import type { AccountPaymentProviderSessionDto, AccountSettingsDto, AccountSettingsInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, UpdateAccountBillingInformationInput } from '../models/index';
|
|
14
14
|
export interface AccountsApiGetAccountPaymentProviderSessionRequest {
|
|
15
15
|
accountId: string;
|
|
16
16
|
}
|
|
@@ -53,11 +53,11 @@ export declare class AccountsApi extends runtime.BaseAPI {
|
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
|
-
meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
56
|
+
meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto>>;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
*/
|
|
60
|
-
me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
60
|
+
me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
*/
|
package/dist/apis/AccountsApi.js
CHANGED
|
@@ -206,7 +206,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
206
206
|
}, initOverrides)];
|
|
207
207
|
case 3:
|
|
208
208
|
response = _a.sent();
|
|
209
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
209
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON)(jsonValue); })];
|
|
210
210
|
}
|
|
211
211
|
});
|
|
212
212
|
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { GetAllSubscriptions200Response1 } from '../models/index';
|
|
14
|
+
export interface SubscriptionsApiGetAllSubscriptionsRequest {
|
|
15
|
+
filter?: object;
|
|
16
|
+
page?: number;
|
|
17
|
+
limit?: number;
|
|
18
|
+
sortBy?: Array<string>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare class SubscriptionsApi extends runtime.BaseAPI {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
getAllSubscriptionsRaw(requestParameters: SubscriptionsApiGetAllSubscriptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllSubscriptions200Response1>>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
getAllSubscriptions(requestParameters?: SubscriptionsApiGetAllSubscriptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllSubscriptions200Response1>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.SubscriptionsApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var SubscriptionsApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(SubscriptionsApi, _super);
|
|
75
|
+
function SubscriptionsApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
SubscriptionsApi.prototype.getAllSubscriptionsRaw = function (requestParameters, initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
queryParameters = {};
|
|
88
|
+
if (requestParameters['filter'] != null) {
|
|
89
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
90
|
+
}
|
|
91
|
+
if (requestParameters['page'] != null) {
|
|
92
|
+
queryParameters['page'] = requestParameters['page'];
|
|
93
|
+
}
|
|
94
|
+
if (requestParameters['limit'] != null) {
|
|
95
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
96
|
+
}
|
|
97
|
+
if (requestParameters['sortBy'] != null) {
|
|
98
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
99
|
+
}
|
|
100
|
+
headerParameters = {};
|
|
101
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
102
|
+
token = this.configuration.accessToken;
|
|
103
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
104
|
+
case 1:
|
|
105
|
+
tokenString = _a.sent();
|
|
106
|
+
if (tokenString) {
|
|
107
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
108
|
+
}
|
|
109
|
+
_a.label = 2;
|
|
110
|
+
case 2: return [4 /*yield*/, this.request({
|
|
111
|
+
path: "/private/subscriptions",
|
|
112
|
+
method: 'GET',
|
|
113
|
+
headers: headerParameters,
|
|
114
|
+
query: queryParameters,
|
|
115
|
+
}, initOverrides)];
|
|
116
|
+
case 3:
|
|
117
|
+
response = _a.sent();
|
|
118
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetAllSubscriptions200Response1FromJSON)(jsonValue); })];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
SubscriptionsApi.prototype.getAllSubscriptions = function () {
|
|
127
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
128
|
+
var response;
|
|
129
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
130
|
+
return __generator(this, function (_a) {
|
|
131
|
+
switch (_a.label) {
|
|
132
|
+
case 0: return [4 /*yield*/, this.getAllSubscriptionsRaw(requestParameters, initOverrides)];
|
|
133
|
+
case 1:
|
|
134
|
+
response = _a.sent();
|
|
135
|
+
return [4 /*yield*/, response.value()];
|
|
136
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
return SubscriptionsApi;
|
|
142
|
+
}(runtime.BaseAPI));
|
|
143
|
+
exports.SubscriptionsApi = SubscriptionsApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './LeadsApi';
|
|
|
11
11
|
export * from './LeadsPublicApi';
|
|
12
12
|
export * from './OrdersPublicApi';
|
|
13
13
|
export * from './StripePublicApi';
|
|
14
|
+
export * from './SubscriptionsApi';
|
|
14
15
|
export * from './SubscriptionsPublicApi';
|
|
15
16
|
export * from './TasksApi';
|
|
16
17
|
export * from './UsersApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./LeadsApi"), exports);
|
|
|
29
29
|
__exportStar(require("./LeadsPublicApi"), exports);
|
|
30
30
|
__exportStar(require("./OrdersPublicApi"), exports);
|
|
31
31
|
__exportStar(require("./StripePublicApi"), exports);
|
|
32
|
+
__exportStar(require("./SubscriptionsApi"), exports);
|
|
32
33
|
__exportStar(require("./SubscriptionsPublicApi"), exports);
|
|
33
34
|
__exportStar(require("./TasksApi"), exports);
|
|
34
35
|
__exportStar(require("./UsersApi"), exports);
|
|
@@ -27,6 +27,12 @@ export interface AccountSettingsLandingDto {
|
|
|
27
27
|
* @memberof AccountSettingsLandingDto
|
|
28
28
|
*/
|
|
29
29
|
showRelatedDomains: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof AccountSettingsLandingDto
|
|
34
|
+
*/
|
|
35
|
+
seoMetrics: boolean;
|
|
30
36
|
/**
|
|
31
37
|
*
|
|
32
38
|
* @type {string}
|
|
@@ -26,6 +26,8 @@ function instanceOfAccountSettingsLandingDto(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('description' in value) || value['description'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('avatar' in value) || value['avatar'] === undefined)
|
|
@@ -42,6 +44,7 @@ function AccountSettingsLandingDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
44
|
return {
|
|
43
45
|
'anonymous': json['anonymous'],
|
|
44
46
|
'showRelatedDomains': json['showRelatedDomains'],
|
|
47
|
+
'seoMetrics': json['seoMetrics'],
|
|
45
48
|
'description': json['description'],
|
|
46
49
|
'avatar': json['avatar'],
|
|
47
50
|
};
|
|
@@ -57,6 +60,7 @@ function AccountSettingsLandingDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
57
60
|
return {
|
|
58
61
|
'anonymous': value['anonymous'],
|
|
59
62
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
63
|
+
'seoMetrics': value['seoMetrics'],
|
|
60
64
|
'description': value['description'],
|
|
61
65
|
'avatar': value['avatar'],
|
|
62
66
|
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { SellerSubscriptionListItemDto } from './SellerSubscriptionListItemDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetAllSubscriptions200Response1
|
|
19
|
+
*/
|
|
20
|
+
export interface GetAllSubscriptions200Response1 {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<SellerSubscriptionListItemDto>}
|
|
24
|
+
* @memberof GetAllSubscriptions200Response1
|
|
25
|
+
*/
|
|
26
|
+
data: Array<SellerSubscriptionListItemDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof GetAllSubscriptions200Response1
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof GetAllSubscriptions200Response1
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetAllSubscriptions200Response1 interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetAllSubscriptions200Response1(value: object): value is GetAllSubscriptions200Response1;
|
|
44
|
+
export declare function GetAllSubscriptions200Response1FromJSON(json: any): GetAllSubscriptions200Response1;
|
|
45
|
+
export declare function GetAllSubscriptions200Response1FromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllSubscriptions200Response1;
|
|
46
|
+
export declare function GetAllSubscriptions200Response1ToJSON(json: any): GetAllSubscriptions200Response1;
|
|
47
|
+
export declare function GetAllSubscriptions200Response1ToJSONTyped(value?: GetAllSubscriptions200Response1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfGetAllSubscriptions200Response1 = instanceOfGetAllSubscriptions200Response1;
|
|
17
|
+
exports.GetAllSubscriptions200Response1FromJSON = GetAllSubscriptions200Response1FromJSON;
|
|
18
|
+
exports.GetAllSubscriptions200Response1FromJSONTyped = GetAllSubscriptions200Response1FromJSONTyped;
|
|
19
|
+
exports.GetAllSubscriptions200Response1ToJSON = GetAllSubscriptions200Response1ToJSON;
|
|
20
|
+
exports.GetAllSubscriptions200Response1ToJSONTyped = GetAllSubscriptions200Response1ToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var SellerSubscriptionListItemDto_1 = require("./SellerSubscriptionListItemDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetAllSubscriptions200Response1 interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetAllSubscriptions200Response1(value) {
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function GetAllSubscriptions200Response1FromJSON(json) {
|
|
37
|
+
return GetAllSubscriptions200Response1FromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetAllSubscriptions200Response1FromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(SellerSubscriptionListItemDto_1.SellerSubscriptionListItemDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetAllSubscriptions200Response1ToJSON(json) {
|
|
50
|
+
return GetAllSubscriptions200Response1ToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetAllSubscriptions200Response1ToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(SellerSubscriptionListItemDto_1.SellerSubscriptionListItemDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -17,63 +17,77 @@ import type { BillingInformationDto } from './BillingInformationDto';
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
27
27
|
*/
|
|
28
28
|
id: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
33
33
|
*/
|
|
34
34
|
identifier: string;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
39
39
|
*/
|
|
40
40
|
name: string;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {AccountMetricsDto}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
45
45
|
*/
|
|
46
46
|
metrics: AccountMetricsDto;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {PaymentProviderDto}
|
|
50
|
-
* @memberof
|
|
50
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
51
51
|
*/
|
|
52
52
|
paymentProvider: PaymentProviderDto | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {BillingInformationDto}
|
|
56
|
-
* @memberof
|
|
56
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
57
57
|
*/
|
|
58
58
|
billingInformation: BillingInformationDto | null;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {WithSettingsInner}
|
|
62
|
-
* @memberof
|
|
62
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
63
63
|
*/
|
|
64
64
|
settings: WithSettingsInner;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {Array<AccountNotificationDto>}
|
|
68
|
-
* @memberof
|
|
68
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
69
69
|
*/
|
|
70
70
|
notifications: Array<AccountNotificationDto>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
75
|
+
*/
|
|
76
|
+
enabledFeatures: Array<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum>;
|
|
71
77
|
}
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
79
|
+
* @export
|
|
80
|
+
*/
|
|
81
|
+
export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum: {
|
|
82
|
+
readonly LEASE_TO_OWN: "LEASE_TO_OWN";
|
|
83
|
+
readonly SEO_METRICS: "SEO_METRICS";
|
|
84
|
+
};
|
|
85
|
+
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
86
|
+
/**
|
|
87
|
+
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
74
88
|
*/
|
|
75
|
-
export declare function
|
|
76
|
-
export declare function
|
|
77
|
-
export declare function
|
|
78
|
-
export declare function
|
|
79
|
-
export declare function
|
|
89
|
+
export declare function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto(value: object): value is IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
|
|
90
|
+
export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
|
|
91
|
+
export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
|
|
92
|
+
export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
|
|
93
|
+
export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(value?: IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,20 +13,28 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = void 0;
|
|
17
|
+
exports.instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto = instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
|
|
18
|
+
exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON;
|
|
19
|
+
exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped;
|
|
20
|
+
exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON;
|
|
21
|
+
exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped;
|
|
21
22
|
var PaymentProviderDto_1 = require("./PaymentProviderDto");
|
|
22
23
|
var WithSettingsInner_1 = require("./WithSettingsInner");
|
|
23
24
|
var AccountMetricsDto_1 = require("./AccountMetricsDto");
|
|
24
25
|
var AccountNotificationDto_1 = require("./AccountNotificationDto");
|
|
25
26
|
var BillingInformationDto_1 = require("./BillingInformationDto");
|
|
26
27
|
/**
|
|
27
|
-
*
|
|
28
|
+
* @export
|
|
28
29
|
*/
|
|
29
|
-
|
|
30
|
+
exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = {
|
|
31
|
+
LEASE_TO_OWN: 'LEASE_TO_OWN',
|
|
32
|
+
SEO_METRICS: 'SEO_METRICS'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto(value) {
|
|
30
38
|
if (!('id' in value) || value['id'] === undefined)
|
|
31
39
|
return false;
|
|
32
40
|
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
@@ -43,12 +51,14 @@ function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDto(val
|
|
|
43
51
|
return false;
|
|
44
52
|
if (!('notifications' in value) || value['notifications'] === undefined)
|
|
45
53
|
return false;
|
|
54
|
+
if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined)
|
|
55
|
+
return false;
|
|
46
56
|
return true;
|
|
47
57
|
}
|
|
48
|
-
function
|
|
49
|
-
return
|
|
58
|
+
function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON(json) {
|
|
59
|
+
return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json, false);
|
|
50
60
|
}
|
|
51
|
-
function
|
|
61
|
+
function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
62
|
if (json == null) {
|
|
53
63
|
return json;
|
|
54
64
|
}
|
|
@@ -61,12 +71,13 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped(
|
|
|
61
71
|
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
|
|
62
72
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
63
73
|
'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
|
|
74
|
+
'enabledFeatures': json['enabledFeatures'],
|
|
64
75
|
};
|
|
65
76
|
}
|
|
66
|
-
function
|
|
67
|
-
return
|
|
77
|
+
function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON(json) {
|
|
78
|
+
return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(json, false);
|
|
68
79
|
}
|
|
69
|
-
function
|
|
80
|
+
function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
70
81
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
71
82
|
if (value == null) {
|
|
72
83
|
return value;
|
|
@@ -80,5 +91,6 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped(va
|
|
|
80
91
|
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
|
|
81
92
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
|
|
82
93
|
'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
|
|
94
|
+
'enabledFeatures': value['enabledFeatures'],
|
|
83
95
|
};
|
|
84
96
|
}
|
|
@@ -34,6 +34,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return {
|
|
35
35
|
'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
|
|
36
36
|
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
37
|
+
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
37
38
|
'description': json['description'] == null ? undefined : json['description'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
@@ -48,6 +49,7 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
48
49
|
return {
|
|
49
50
|
'anonymous': value['anonymous'],
|
|
50
51
|
'showRelatedDomains': value['showRelatedDomains'],
|
|
52
|
+
'seoMetrics': value['seoMetrics'],
|
|
51
53
|
'description': value['description'],
|
|
52
54
|
};
|
|
53
55
|
}
|