@randock/nameshift-api-client 0.0.323 → 0.0.325

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/.openapi-generator/FILES +3 -1
  2. package/README.md +3 -3
  3. package/dist/apis/PartnerDomainsApi.d.ts +31 -0
  4. package/dist/apis/PartnerDomainsApi.js +133 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/DomainPricesChangeDto.d.ts +69 -0
  8. package/dist/models/DomainPricesChangeDto.js +76 -0
  9. package/dist/models/ListDomainsWithUpdatedPricing200Response.d.ts +59 -0
  10. package/dist/models/ListDomainsWithUpdatedPricing200Response.js +70 -0
  11. package/dist/models/index.d.ts +2 -1
  12. package/dist/models/index.js +2 -1
  13. package/package.json +1 -1
  14. package/src/apis/AccountsApi.ts +0 -3
  15. package/src/apis/AccountsPublicApi.ts +0 -3
  16. package/src/apis/AdminApi.ts +0 -3
  17. package/src/apis/BankAccountsApi.ts +0 -3
  18. package/src/apis/BuyersApi.ts +0 -3
  19. package/src/apis/BuyersPublicApi.ts +0 -3
  20. package/src/apis/DomainTransfersApi.ts +0 -3
  21. package/src/apis/DomainsApi.ts +0 -3
  22. package/src/apis/DomainsPublicApi.ts +0 -3
  23. package/src/apis/EppApi.ts +0 -3
  24. package/src/apis/InvoicesApi.ts +0 -3
  25. package/src/apis/LeadsApi.ts +0 -3
  26. package/src/apis/LeadsPublicApi.ts +0 -3
  27. package/src/apis/NotificationsApi.ts +0 -3
  28. package/src/apis/OrdersPublicApi.ts +0 -3
  29. package/src/apis/PartnerDomainsApi.ts +84 -0
  30. package/src/apis/StatsApi.ts +0 -3
  31. package/src/apis/StripePublicApi.ts +0 -3
  32. package/src/apis/SubscriptionsApi.ts +0 -3
  33. package/src/apis/SubscriptionsPublicApi.ts +0 -3
  34. package/src/apis/TasksApi.ts +0 -3
  35. package/src/apis/TaxPublicApi.ts +0 -3
  36. package/src/apis/UsersApi.ts +0 -3
  37. package/src/apis/UsersPublicApi.ts +0 -3
  38. package/src/apis/index.ts +1 -0
  39. package/src/models/DomainPricesChangeDto.ts +128 -0
  40. package/src/models/ListDomainsWithUpdatedPricing200Response.ts +117 -0
  41. package/src/models/index.ts +2 -1
  42. package/dist/models/ThrottlerException.d.ts +0 -44
  43. package/dist/models/ThrottlerException.js +0 -59
  44. package/src/models/ThrottlerException.ts +0 -84
@@ -18,6 +18,7 @@ src/apis/LeadsApi.ts
18
18
  src/apis/LeadsPublicApi.ts
19
19
  src/apis/NotificationsApi.ts
20
20
  src/apis/OrdersPublicApi.ts
21
+ src/apis/PartnerDomainsApi.ts
21
22
  src/apis/SalesPublicApi.ts
22
23
  src/apis/StatsApi.ts
23
24
  src/apis/StripePublicApi.ts
@@ -112,6 +113,7 @@ src/models/DeleteDomainsInput.ts
112
113
  src/models/DomainExchangeRateDto.ts
113
114
  src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts
114
115
  src/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.ts
116
+ src/models/DomainPricesChangeDto.ts
115
117
  src/models/DomainSalesInformationDto.ts
116
118
  src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts
117
119
  src/models/DomainSalesInformationRentConfigurationDto.ts
@@ -199,6 +201,7 @@ src/models/ListAccountUserDto.ts
199
201
  src/models/ListAccounts200Response.ts
200
202
  src/models/ListBankAccounts200Response.ts
201
203
  src/models/ListDomains200Response.ts
204
+ src/models/ListDomainsWithUpdatedPricing200Response.ts
202
205
  src/models/ListLeadMessagesDto.ts
203
206
  src/models/ListNotifications200Response.ts
204
207
  src/models/LoginDto.ts
@@ -299,7 +302,6 @@ src/models/SubscriptionListItemDtoSellerAccount.ts
299
302
  src/models/TaskListDomainDto.ts
300
303
  src/models/TaskListDomainTransferDto.ts
301
304
  src/models/TaskListLeadDto.ts
302
- src/models/ThrottlerException.ts
303
305
  src/models/TimeTableConfigurationDto.ts
304
306
  src/models/TimeTableConfigurationInput.ts
305
307
  src/models/UkBankAccountDetails.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.323
1
+ ## @randock/nameshift-api-client@0.0.325
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.323 --save
39
+ npm install @randock/nameshift-api-client@0.0.325 --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
- 265d391b03f6472fcc1cb82f878e2a8e70aef5ee54cd63c8339f75447295d20ea817ee959149c24be48d4601f3c725a4
47
+ 92d0433fe775b868419db76a5b02f043e22a8bb930f089afcca96028d4569a867ee49b3627acf9f6c57b844914fedfa5
@@ -0,0 +1,31 @@
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 { ListDomainsWithUpdatedPricing200Response } from '../models/index';
14
+ export interface PartnerDomainsApiListDomainsWithUpdatedPricingRequest {
15
+ dateFrom: string;
16
+ limit?: number;
17
+ cursor?: string;
18
+ }
19
+ /**
20
+ *
21
+ */
22
+ export declare class PartnerDomainsApi extends runtime.BaseAPI {
23
+ /**
24
+ *
25
+ */
26
+ listDomainsWithUpdatedPricingRaw(requestParameters: PartnerDomainsApiListDomainsWithUpdatedPricingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListDomainsWithUpdatedPricing200Response>>;
27
+ /**
28
+ *
29
+ */
30
+ listDomainsWithUpdatedPricing(requestParameters: PartnerDomainsApiListDomainsWithUpdatedPricingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListDomainsWithUpdatedPricing200Response>;
31
+ }
@@ -0,0 +1,133 @@
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.PartnerDomainsApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var PartnerDomainsApi = /** @class */ (function (_super) {
74
+ __extends(PartnerDomainsApi, _super);
75
+ function PartnerDomainsApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ *
80
+ */
81
+ PartnerDomainsApi.prototype.listDomainsWithUpdatedPricingRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ if (requestParameters['dateFrom'] == null) {
88
+ throw new runtime.RequiredError('dateFrom', 'Required parameter "dateFrom" was null or undefined when calling listDomainsWithUpdatedPricing().');
89
+ }
90
+ queryParameters = {};
91
+ if (requestParameters['dateFrom'] != null) {
92
+ queryParameters['dateFrom'] = requestParameters['dateFrom'];
93
+ }
94
+ if (requestParameters['limit'] != null) {
95
+ queryParameters['limit'] = requestParameters['limit'];
96
+ }
97
+ if (requestParameters['cursor'] != null) {
98
+ queryParameters['cursor'] = requestParameters['cursor'];
99
+ }
100
+ headerParameters = {};
101
+ return [4 /*yield*/, this.request({
102
+ path: "/partner/domains/updated-prices",
103
+ method: 'GET',
104
+ headers: headerParameters,
105
+ query: queryParameters,
106
+ }, initOverrides)];
107
+ case 1:
108
+ response = _a.sent();
109
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ListDomainsWithUpdatedPricing200ResponseFromJSON)(jsonValue); })];
110
+ }
111
+ });
112
+ });
113
+ };
114
+ /**
115
+ *
116
+ */
117
+ PartnerDomainsApi.prototype.listDomainsWithUpdatedPricing = function (requestParameters, initOverrides) {
118
+ return __awaiter(this, void 0, void 0, function () {
119
+ var response;
120
+ return __generator(this, function (_a) {
121
+ switch (_a.label) {
122
+ case 0: return [4 /*yield*/, this.listDomainsWithUpdatedPricingRaw(requestParameters, initOverrides)];
123
+ case 1:
124
+ response = _a.sent();
125
+ return [4 /*yield*/, response.value()];
126
+ case 2: return [2 /*return*/, _a.sent()];
127
+ }
128
+ });
129
+ });
130
+ };
131
+ return PartnerDomainsApi;
132
+ }(runtime.BaseAPI));
133
+ exports.PartnerDomainsApi = PartnerDomainsApi;
@@ -13,6 +13,7 @@ export * from './LeadsApi';
13
13
  export * from './LeadsPublicApi';
14
14
  export * from './NotificationsApi';
15
15
  export * from './OrdersPublicApi';
16
+ export * from './PartnerDomainsApi';
16
17
  export * from './SalesPublicApi';
17
18
  export * from './StatsApi';
18
19
  export * from './StripePublicApi';
@@ -31,6 +31,7 @@ __exportStar(require("./LeadsApi"), exports);
31
31
  __exportStar(require("./LeadsPublicApi"), exports);
32
32
  __exportStar(require("./NotificationsApi"), exports);
33
33
  __exportStar(require("./OrdersPublicApi"), exports);
34
+ __exportStar(require("./PartnerDomainsApi"), exports);
34
35
  __exportStar(require("./SalesPublicApi"), exports);
35
36
  __exportStar(require("./StatsApi"), exports);
36
37
  __exportStar(require("./StripePublicApi"), exports);
@@ -0,0 +1,69 @@
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 { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DomainPricesChangeDto
17
+ */
18
+ export interface DomainPricesChangeDto {
19
+ /**
20
+ * The uuid for this domain.
21
+ * @type {string}
22
+ * @memberof DomainPricesChangeDto
23
+ */
24
+ id: string;
25
+ /**
26
+ * The ASCII domain name (example.com, xn--maana-pta.com)
27
+ * @type {string}
28
+ * @memberof DomainPricesChangeDto
29
+ */
30
+ name: string;
31
+ /**
32
+ * The unicode domain name (example.com, mañana.com)
33
+ * @type {string}
34
+ * @memberof DomainPricesChangeDto
35
+ */
36
+ displayName: string;
37
+ /**
38
+ * The buy now price
39
+ * @type {MoneyDto}
40
+ * @memberof DomainPricesChangeDto
41
+ */
42
+ buyNow: MoneyDto | null;
43
+ /**
44
+ * The minimum offer price
45
+ * @type {MoneyDto}
46
+ * @memberof DomainPricesChangeDto
47
+ */
48
+ minOffer: MoneyDto | null;
49
+ /**
50
+ * The updated date
51
+ * @type {Date}
52
+ * @memberof DomainPricesChangeDto
53
+ */
54
+ updatedAt: Date;
55
+ /**
56
+ * Whether the domain is available for purchase
57
+ * @type {boolean}
58
+ * @memberof DomainPricesChangeDto
59
+ */
60
+ available: boolean;
61
+ }
62
+ /**
63
+ * Check if a given object implements the DomainPricesChangeDto interface.
64
+ */
65
+ export declare function instanceOfDomainPricesChangeDto(value: object): value is DomainPricesChangeDto;
66
+ export declare function DomainPricesChangeDtoFromJSON(json: any): DomainPricesChangeDto;
67
+ export declare function DomainPricesChangeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainPricesChangeDto;
68
+ export declare function DomainPricesChangeDtoToJSON(json: any): DomainPricesChangeDto;
69
+ export declare function DomainPricesChangeDtoToJSONTyped(value?: DomainPricesChangeDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,76 @@
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.instanceOfDomainPricesChangeDto = instanceOfDomainPricesChangeDto;
17
+ exports.DomainPricesChangeDtoFromJSON = DomainPricesChangeDtoFromJSON;
18
+ exports.DomainPricesChangeDtoFromJSONTyped = DomainPricesChangeDtoFromJSONTyped;
19
+ exports.DomainPricesChangeDtoToJSON = DomainPricesChangeDtoToJSON;
20
+ exports.DomainPricesChangeDtoToJSONTyped = DomainPricesChangeDtoToJSONTyped;
21
+ var MoneyDto_1 = require("./MoneyDto");
22
+ /**
23
+ * Check if a given object implements the DomainPricesChangeDto interface.
24
+ */
25
+ function instanceOfDomainPricesChangeDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('name' in value) || value['name'] === undefined)
29
+ return false;
30
+ if (!('displayName' in value) || value['displayName'] === undefined)
31
+ return false;
32
+ if (!('buyNow' in value) || value['buyNow'] === undefined)
33
+ return false;
34
+ if (!('minOffer' in value) || value['minOffer'] === undefined)
35
+ return false;
36
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
37
+ return false;
38
+ if (!('available' in value) || value['available'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function DomainPricesChangeDtoFromJSON(json) {
43
+ return DomainPricesChangeDtoFromJSONTyped(json, false);
44
+ }
45
+ function DomainPricesChangeDtoFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'id': json['id'],
51
+ 'name': json['name'],
52
+ 'displayName': json['displayName'],
53
+ 'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
54
+ 'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
55
+ 'updatedAt': (new Date(json['updatedAt'])),
56
+ 'available': json['available'],
57
+ };
58
+ }
59
+ function DomainPricesChangeDtoToJSON(json) {
60
+ return DomainPricesChangeDtoToJSONTyped(json, false);
61
+ }
62
+ function DomainPricesChangeDtoToJSONTyped(value, ignoreDiscriminator) {
63
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'id': value['id'],
69
+ 'name': value['name'],
70
+ 'displayName': value['displayName'],
71
+ 'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
72
+ 'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
73
+ 'updatedAt': ((value['updatedAt']).toISOString()),
74
+ 'available': value['available'],
75
+ };
76
+ }
@@ -0,0 +1,59 @@
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 { CursorBasedPageInfo } from './CursorBasedPageInfo';
13
+ import type { DomainPricesChangeDto } from './DomainPricesChangeDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ListDomainsWithUpdatedPricing200Response
18
+ */
19
+ export interface ListDomainsWithUpdatedPricing200Response {
20
+ /**
21
+ *
22
+ * @type {number}
23
+ * @memberof ListDomainsWithUpdatedPricing200Response
24
+ */
25
+ limit: number;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ListDomainsWithUpdatedPricing200Response
30
+ */
31
+ type: ListDomainsWithUpdatedPricing200ResponseTypeEnum;
32
+ /**
33
+ *
34
+ * @type {CursorBasedPageInfo}
35
+ * @memberof ListDomainsWithUpdatedPricing200Response
36
+ */
37
+ pagination: CursorBasedPageInfo;
38
+ /**
39
+ *
40
+ * @type {Array<DomainPricesChangeDto>}
41
+ * @memberof ListDomainsWithUpdatedPricing200Response
42
+ */
43
+ data?: Array<DomainPricesChangeDto>;
44
+ }
45
+ /**
46
+ * @export
47
+ */
48
+ export declare const ListDomainsWithUpdatedPricing200ResponseTypeEnum: {
49
+ readonly CURSOR: "cursor";
50
+ };
51
+ export type ListDomainsWithUpdatedPricing200ResponseTypeEnum = typeof ListDomainsWithUpdatedPricing200ResponseTypeEnum[keyof typeof ListDomainsWithUpdatedPricing200ResponseTypeEnum];
52
+ /**
53
+ * Check if a given object implements the ListDomainsWithUpdatedPricing200Response interface.
54
+ */
55
+ export declare function instanceOfListDomainsWithUpdatedPricing200Response(value: object): value is ListDomainsWithUpdatedPricing200Response;
56
+ export declare function ListDomainsWithUpdatedPricing200ResponseFromJSON(json: any): ListDomainsWithUpdatedPricing200Response;
57
+ export declare function ListDomainsWithUpdatedPricing200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDomainsWithUpdatedPricing200Response;
58
+ export declare function ListDomainsWithUpdatedPricing200ResponseToJSON(json: any): ListDomainsWithUpdatedPricing200Response;
59
+ export declare function ListDomainsWithUpdatedPricing200ResponseToJSONTyped(value?: ListDomainsWithUpdatedPricing200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
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.ListDomainsWithUpdatedPricing200ResponseTypeEnum = void 0;
17
+ exports.instanceOfListDomainsWithUpdatedPricing200Response = instanceOfListDomainsWithUpdatedPricing200Response;
18
+ exports.ListDomainsWithUpdatedPricing200ResponseFromJSON = ListDomainsWithUpdatedPricing200ResponseFromJSON;
19
+ exports.ListDomainsWithUpdatedPricing200ResponseFromJSONTyped = ListDomainsWithUpdatedPricing200ResponseFromJSONTyped;
20
+ exports.ListDomainsWithUpdatedPricing200ResponseToJSON = ListDomainsWithUpdatedPricing200ResponseToJSON;
21
+ exports.ListDomainsWithUpdatedPricing200ResponseToJSONTyped = ListDomainsWithUpdatedPricing200ResponseToJSONTyped;
22
+ var CursorBasedPageInfo_1 = require("./CursorBasedPageInfo");
23
+ var DomainPricesChangeDto_1 = require("./DomainPricesChangeDto");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.ListDomainsWithUpdatedPricing200ResponseTypeEnum = {
28
+ CURSOR: 'cursor'
29
+ };
30
+ /**
31
+ * Check if a given object implements the ListDomainsWithUpdatedPricing200Response interface.
32
+ */
33
+ function instanceOfListDomainsWithUpdatedPricing200Response(value) {
34
+ if (!('limit' in value) || value['limit'] === undefined)
35
+ return false;
36
+ if (!('type' in value) || value['type'] === undefined)
37
+ return false;
38
+ if (!('pagination' in value) || value['pagination'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function ListDomainsWithUpdatedPricing200ResponseFromJSON(json) {
43
+ return ListDomainsWithUpdatedPricing200ResponseFromJSONTyped(json, false);
44
+ }
45
+ function ListDomainsWithUpdatedPricing200ResponseFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'limit': json['limit'],
51
+ 'type': json['type'],
52
+ 'pagination': (0, CursorBasedPageInfo_1.CursorBasedPageInfoFromJSON)(json['pagination']),
53
+ 'data': json['data'] == null ? undefined : (json['data'].map(DomainPricesChangeDto_1.DomainPricesChangeDtoFromJSON)),
54
+ };
55
+ }
56
+ function ListDomainsWithUpdatedPricing200ResponseToJSON(json) {
57
+ return ListDomainsWithUpdatedPricing200ResponseToJSONTyped(json, false);
58
+ }
59
+ function ListDomainsWithUpdatedPricing200ResponseToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'limit': value['limit'],
66
+ 'type': value['type'],
67
+ 'pagination': (0, CursorBasedPageInfo_1.CursorBasedPageInfoToJSON)(value['pagination']),
68
+ 'data': value['data'] == null ? undefined : (value['data'].map(DomainPricesChangeDto_1.DomainPricesChangeDtoToJSON)),
69
+ };
70
+ }
@@ -81,6 +81,7 @@ export * from './DeleteDomainsInput';
81
81
  export * from './DomainExchangeRateDto';
82
82
  export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
83
83
  export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
84
+ export * from './DomainPricesChangeDto';
84
85
  export * from './DomainSalesInformationDto';
85
86
  export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
86
87
  export * from './DomainSalesInformationRentConfigurationDto';
@@ -168,6 +169,7 @@ export * from './ListAccountUserDto';
168
169
  export * from './ListAccounts200Response';
169
170
  export * from './ListBankAccounts200Response';
170
171
  export * from './ListDomains200Response';
172
+ export * from './ListDomainsWithUpdatedPricing200Response';
171
173
  export * from './ListLeadMessagesDto';
172
174
  export * from './ListNotifications200Response';
173
175
  export * from './LoginDto';
@@ -268,7 +270,6 @@ export * from './SubscriptionListItemDtoSellerAccount';
268
270
  export * from './TaskListDomainDto';
269
271
  export * from './TaskListDomainTransferDto';
270
272
  export * from './TaskListLeadDto';
271
- export * from './ThrottlerException';
272
273
  export * from './TimeTableConfigurationDto';
273
274
  export * from './TimeTableConfigurationInput';
274
275
  export * from './UkBankAccountDetails';
@@ -99,6 +99,7 @@ __exportStar(require("./DeleteDomainsInput"), exports);
99
99
  __exportStar(require("./DomainExchangeRateDto"), exports);
100
100
  __exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), exports);
101
101
  __exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput"), exports);
102
+ __exportStar(require("./DomainPricesChangeDto"), exports);
102
103
  __exportStar(require("./DomainSalesInformationDto"), exports);
103
104
  __exportStar(require("./DomainSalesInformationLeaseToOwnConfigurationDto"), exports);
104
105
  __exportStar(require("./DomainSalesInformationRentConfigurationDto"), exports);
@@ -186,6 +187,7 @@ __exportStar(require("./ListAccountUserDto"), exports);
186
187
  __exportStar(require("./ListAccounts200Response"), exports);
187
188
  __exportStar(require("./ListBankAccounts200Response"), exports);
188
189
  __exportStar(require("./ListDomains200Response"), exports);
190
+ __exportStar(require("./ListDomainsWithUpdatedPricing200Response"), exports);
189
191
  __exportStar(require("./ListLeadMessagesDto"), exports);
190
192
  __exportStar(require("./ListNotifications200Response"), exports);
191
193
  __exportStar(require("./LoginDto"), exports);
@@ -286,7 +288,6 @@ __exportStar(require("./SubscriptionListItemDtoSellerAccount"), exports);
286
288
  __exportStar(require("./TaskListDomainDto"), exports);
287
289
  __exportStar(require("./TaskListDomainTransferDto"), exports);
288
290
  __exportStar(require("./TaskListLeadDto"), exports);
289
- __exportStar(require("./ThrottlerException"), exports);
290
291
  __exportStar(require("./TimeTableConfigurationDto"), exports);
291
292
  __exportStar(require("./TimeTableConfigurationInput"), exports);
292
293
  __exportStar(require("./UkBankAccountDetails"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.323",
3
+ "version": "0.0.325",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -25,7 +25,6 @@ import type {
25
25
  NotFoundException,
26
26
  PrivateAccountGetMeResponse,
27
27
  SetPayoutProviderInput,
28
- ThrottlerException,
29
28
  UpdateAccountBillingInformationInput,
30
29
  ValidationException,
31
30
  } from '../models/index';
@@ -50,8 +49,6 @@ import {
50
49
  PrivateAccountGetMeResponseToJSON,
51
50
  SetPayoutProviderInputFromJSON,
52
51
  SetPayoutProviderInputToJSON,
53
- ThrottlerExceptionFromJSON,
54
- ThrottlerExceptionToJSON,
55
52
  UpdateAccountBillingInformationInputFromJSON,
56
53
  UpdateAccountBillingInformationInputToJSON,
57
54
  ValidationExceptionFromJSON,
@@ -19,7 +19,6 @@ import type {
19
19
  NotFoundException,
20
20
  PublicAccountInformationDto,
21
21
  RegisterAccountInput,
22
- ThrottlerException,
23
22
  ValidationException,
24
23
  } from '../models/index';
25
24
  import {
@@ -31,8 +30,6 @@ import {
31
30
  PublicAccountInformationDtoToJSON,
32
31
  RegisterAccountInputFromJSON,
33
32
  RegisterAccountInputToJSON,
34
- ThrottlerExceptionFromJSON,
35
- ThrottlerExceptionToJSON,
36
33
  ValidationExceptionFromJSON,
37
34
  ValidationExceptionToJSON,
38
35
  } from '../models/index';
@@ -39,7 +39,6 @@ import type {
39
39
  SellerSalesCountStatsItemDto,
40
40
  SendAdminLeadAiPriceNegotiatorAgentChatMessageInput,
41
41
  SubscriptionDetailsDto,
42
- ThrottlerException,
43
42
  ValidationException,
44
43
  } from '../models/index';
45
44
  import {
@@ -91,8 +90,6 @@ import {
91
90
  SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON,
92
91
  SubscriptionDetailsDtoFromJSON,
93
92
  SubscriptionDetailsDtoToJSON,
94
- ThrottlerExceptionFromJSON,
95
- ThrottlerExceptionToJSON,
96
93
  ValidationExceptionFromJSON,
97
94
  ValidationExceptionToJSON,
98
95
  } from '../models/index';
@@ -18,7 +18,6 @@ import type {
18
18
  AccountBankAccountDto,
19
19
  AirwallexBankAccountDetailsDto,
20
20
  CreateBankAccountInput,
21
- ThrottlerException,
22
21
  ValidationException,
23
22
  } from '../models/index';
24
23
  import {
@@ -28,8 +27,6 @@ import {
28
27
  AirwallexBankAccountDetailsDtoToJSON,
29
28
  CreateBankAccountInputFromJSON,
30
29
  CreateBankAccountInputToJSON,
31
- ThrottlerExceptionFromJSON,
32
- ThrottlerExceptionToJSON,
33
30
  ValidationExceptionFromJSON,
34
31
  ValidationExceptionToJSON,
35
32
  } from '../models/index';
@@ -33,7 +33,6 @@ import type {
33
33
  PutBuyerLeadOfferInput,
34
34
  SetDomainTransferConfirmationInput,
35
35
  StoreBuyerLocaleInput,
36
- ThrottlerException,
37
36
  UpdateBuyerDomainTransferIpsTagInputDto,
38
37
  ValidationException,
39
38
  } from '../models/index';
@@ -74,8 +73,6 @@ import {
74
73
  SetDomainTransferConfirmationInputToJSON,
75
74
  StoreBuyerLocaleInputFromJSON,
76
75
  StoreBuyerLocaleInputToJSON,
77
- ThrottlerExceptionFromJSON,
78
- ThrottlerExceptionToJSON,
79
76
  UpdateBuyerDomainTransferIpsTagInputDtoFromJSON,
80
77
  UpdateBuyerDomainTransferIpsTagInputDtoToJSON,
81
78
  ValidationExceptionFromJSON,