@randock/nameshift-api-client 0.0.322 → 0.0.324

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 (56) 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 +63 -0
  8. package/dist/models/DomainPricesChangeDto.js +72 -0
  9. package/dist/models/ListDomainsWithUpdatedPricing200Response.d.ts +59 -0
  10. package/dist/models/ListDomainsWithUpdatedPricing200Response.js +70 -0
  11. package/dist/models/UpdateUserNotificationSettingsInput.d.ts +6 -0
  12. package/dist/models/UpdateUserNotificationSettingsInput.js +2 -0
  13. package/dist/models/UserNotificationDto.d.ts +2 -1
  14. package/dist/models/UserNotificationDto.js +2 -1
  15. package/dist/models/UserNotificationListItemDto.d.ts +2 -1
  16. package/dist/models/UserNotificationListItemDto.js +2 -1
  17. package/dist/models/UserNotificationSettingsDto.d.ts +6 -0
  18. package/dist/models/UserNotificationSettingsDto.js +4 -0
  19. package/dist/models/index.d.ts +2 -1
  20. package/dist/models/index.js +2 -1
  21. package/package.json +1 -1
  22. package/src/apis/AccountsApi.ts +0 -3
  23. package/src/apis/AccountsPublicApi.ts +0 -3
  24. package/src/apis/AdminApi.ts +0 -3
  25. package/src/apis/BankAccountsApi.ts +0 -3
  26. package/src/apis/BuyersApi.ts +0 -3
  27. package/src/apis/BuyersPublicApi.ts +0 -3
  28. package/src/apis/DomainTransfersApi.ts +0 -3
  29. package/src/apis/DomainsApi.ts +0 -3
  30. package/src/apis/DomainsPublicApi.ts +0 -3
  31. package/src/apis/EppApi.ts +0 -3
  32. package/src/apis/InvoicesApi.ts +0 -3
  33. package/src/apis/LeadsApi.ts +0 -3
  34. package/src/apis/LeadsPublicApi.ts +0 -3
  35. package/src/apis/NotificationsApi.ts +0 -3
  36. package/src/apis/OrdersPublicApi.ts +0 -3
  37. package/src/apis/PartnerDomainsApi.ts +84 -0
  38. package/src/apis/StatsApi.ts +0 -3
  39. package/src/apis/StripePublicApi.ts +0 -3
  40. package/src/apis/SubscriptionsApi.ts +0 -3
  41. package/src/apis/SubscriptionsPublicApi.ts +0 -3
  42. package/src/apis/TasksApi.ts +0 -3
  43. package/src/apis/TaxPublicApi.ts +0 -3
  44. package/src/apis/UsersApi.ts +0 -3
  45. package/src/apis/UsersPublicApi.ts +0 -3
  46. package/src/apis/index.ts +1 -0
  47. package/src/models/DomainPricesChangeDto.ts +119 -0
  48. package/src/models/ListDomainsWithUpdatedPricing200Response.ts +117 -0
  49. package/src/models/UpdateUserNotificationSettingsInput.ts +8 -0
  50. package/src/models/UserNotificationDto.ts +2 -1
  51. package/src/models/UserNotificationListItemDto.ts +2 -1
  52. package/src/models/UserNotificationSettingsDto.ts +9 -0
  53. package/src/models/index.ts +2 -1
  54. package/dist/models/ThrottlerException.d.ts +0 -44
  55. package/dist/models/ThrottlerException.js +0 -59
  56. 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.322
1
+ ## @randock/nameshift-api-client@0.0.324
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.322 --save
39
+ npm install @randock/nameshift-api-client@0.0.324 --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
- 2bd903ac14c90d2888f8006cb3ead3c9605789590f006405ef0d860b1ea87f2b3585895738c3f56dc3bdd751de55526f
47
+ ba140f7c4c19879574e7885ff7429911fcf5e3cf184f2a2d139ee8ae3caee0e092ca8e460a16efb7b2f2bfed7b80c27b
@@ -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,63 @@
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
+ /**
57
+ * Check if a given object implements the DomainPricesChangeDto interface.
58
+ */
59
+ export declare function instanceOfDomainPricesChangeDto(value: object): value is DomainPricesChangeDto;
60
+ export declare function DomainPricesChangeDtoFromJSON(json: any): DomainPricesChangeDto;
61
+ export declare function DomainPricesChangeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainPricesChangeDto;
62
+ export declare function DomainPricesChangeDtoToJSON(json: any): DomainPricesChangeDto;
63
+ export declare function DomainPricesChangeDtoToJSONTyped(value?: DomainPricesChangeDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
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
+ return true;
39
+ }
40
+ function DomainPricesChangeDtoFromJSON(json) {
41
+ return DomainPricesChangeDtoFromJSONTyped(json, false);
42
+ }
43
+ function DomainPricesChangeDtoFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'id': json['id'],
49
+ 'name': json['name'],
50
+ 'displayName': json['displayName'],
51
+ 'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
52
+ 'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
53
+ 'updatedAt': (new Date(json['updatedAt'])),
54
+ };
55
+ }
56
+ function DomainPricesChangeDtoToJSON(json) {
57
+ return DomainPricesChangeDtoToJSONTyped(json, false);
58
+ }
59
+ function DomainPricesChangeDtoToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'id': value['id'],
66
+ 'name': value['name'],
67
+ 'displayName': value['displayName'],
68
+ 'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
69
+ 'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
70
+ 'updatedAt': ((value['updatedAt']).toISOString()),
71
+ };
72
+ }
@@ -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
+ }
@@ -57,6 +57,12 @@ export interface UpdateUserNotificationSettingsInput {
57
57
  * @memberof UpdateUserNotificationSettingsInput
58
58
  */
59
59
  tasksFrequency?: UpdateUserNotificationSettingsInputTasksFrequencyEnum;
60
+ /**
61
+ * Time of day for DAILY task reminder notifications
62
+ * @type {string}
63
+ * @memberof UpdateUserNotificationSettingsInput
64
+ */
65
+ taskDailyTime?: string;
60
66
  }
61
67
  /**
62
68
  * @export
@@ -47,6 +47,7 @@ function UpdateUserNotificationSettingsInputFromJSONTyped(json, ignoreDiscrimina
47
47
  'payouts': json['payouts'] == null ? undefined : json['payouts'],
48
48
  'leadMessagesFrequencyInMinutes': json['leadMessagesFrequencyInMinutes'] == null ? undefined : json['leadMessagesFrequencyInMinutes'],
49
49
  'tasksFrequency': json['tasksFrequency'] == null ? undefined : json['tasksFrequency'],
50
+ 'taskDailyTime': json['taskDailyTime'] == null ? undefined : json['taskDailyTime'],
50
51
  };
51
52
  }
52
53
  function UpdateUserNotificationSettingsInputToJSON(json) {
@@ -65,5 +66,6 @@ function UpdateUserNotificationSettingsInputToJSONTyped(value, ignoreDiscriminat
65
66
  'payouts': value['payouts'],
66
67
  'leadMessagesFrequencyInMinutes': value['leadMessagesFrequencyInMinutes'],
67
68
  'tasksFrequency': value['tasksFrequency'],
69
+ 'taskDailyTime': value['taskDailyTime'],
68
70
  };
69
71
  }
@@ -123,12 +123,13 @@ export declare const UserNotificationDtoTypeEnum: {
123
123
  readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
124
124
  readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
125
125
  readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
126
+ readonly LEAD_MESSAGE_BATCH: "lead_message.batch";
127
+ readonly TASKS_REMINDER_BATCH: "tasks.reminder.batch";
126
128
  readonly LEAD_MESSAGE_OFFER: "lead_message.offer";
127
129
  readonly LEAD_MESSAGE_OFFER_ACCEPTED: "lead_message.offer_accepted";
128
130
  readonly LEAD_MESSAGE_OFFER_WITHDRAWN: "lead_message.offer_withdrawn";
129
131
  readonly LEAD_MESSAGE_OFFER_REJECTED: "lead_message.offer_rejected";
130
132
  readonly LEAD_MESSAGE_MESSAGE: "lead_message.message";
131
- readonly LEAD_MESSAGE_BATCH: "lead_message.batch";
132
133
  readonly TASKS_REMINDER_LEAD: "tasks.reminder.lead";
133
134
  readonly TASKS_REMINDER_DOMAIN_TRANSFER: "tasks.reminder.domain_transfer";
134
135
  readonly TASKS_REMINDER_ORDER: "tasks.reminder.order";
@@ -84,12 +84,13 @@ exports.UserNotificationDtoTypeEnum = {
84
84
  SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
85
85
  SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
86
86
  AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
87
+ LEAD_MESSAGE_BATCH: 'lead_message.batch',
88
+ TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
87
89
  LEAD_MESSAGE_OFFER: 'lead_message.offer',
88
90
  LEAD_MESSAGE_OFFER_ACCEPTED: 'lead_message.offer_accepted',
89
91
  LEAD_MESSAGE_OFFER_WITHDRAWN: 'lead_message.offer_withdrawn',
90
92
  LEAD_MESSAGE_OFFER_REJECTED: 'lead_message.offer_rejected',
91
93
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
92
- LEAD_MESSAGE_BATCH: 'lead_message.batch',
93
94
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
94
95
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
95
96
  TASKS_REMINDER_ORDER: 'tasks.reminder.order'
@@ -116,12 +116,13 @@ export declare const UserNotificationListItemDtoTypeEnum: {
116
116
  readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
117
117
  readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
118
118
  readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
119
+ readonly LEAD_MESSAGE_BATCH: "lead_message.batch";
120
+ readonly TASKS_REMINDER_BATCH: "tasks.reminder.batch";
119
121
  readonly LEAD_MESSAGE_OFFER: "lead_message.offer";
120
122
  readonly LEAD_MESSAGE_OFFER_ACCEPTED: "lead_message.offer_accepted";
121
123
  readonly LEAD_MESSAGE_OFFER_WITHDRAWN: "lead_message.offer_withdrawn";
122
124
  readonly LEAD_MESSAGE_OFFER_REJECTED: "lead_message.offer_rejected";
123
125
  readonly LEAD_MESSAGE_MESSAGE: "lead_message.message";
124
- readonly LEAD_MESSAGE_BATCH: "lead_message.batch";
125
126
  readonly TASKS_REMINDER_LEAD: "tasks.reminder.lead";
126
127
  readonly TASKS_REMINDER_DOMAIN_TRANSFER: "tasks.reminder.domain_transfer";
127
128
  readonly TASKS_REMINDER_ORDER: "tasks.reminder.order";
@@ -83,12 +83,13 @@ exports.UserNotificationListItemDtoTypeEnum = {
83
83
  SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
84
84
  SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
85
85
  AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
86
+ LEAD_MESSAGE_BATCH: 'lead_message.batch',
87
+ TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
86
88
  LEAD_MESSAGE_OFFER: 'lead_message.offer',
87
89
  LEAD_MESSAGE_OFFER_ACCEPTED: 'lead_message.offer_accepted',
88
90
  LEAD_MESSAGE_OFFER_WITHDRAWN: 'lead_message.offer_withdrawn',
89
91
  LEAD_MESSAGE_OFFER_REJECTED: 'lead_message.offer_rejected',
90
92
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
91
- LEAD_MESSAGE_BATCH: 'lead_message.batch',
92
93
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
93
94
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
94
95
  TASKS_REMINDER_ORDER: 'tasks.reminder.order'
@@ -57,6 +57,12 @@ export interface UserNotificationSettingsDto {
57
57
  * @memberof UserNotificationSettingsDto
58
58
  */
59
59
  tasksFrequency: UserNotificationSettingsDtoTasksFrequencyEnum;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof UserNotificationSettingsDto
64
+ */
65
+ taskDailyTime: string | null;
60
66
  }
61
67
  /**
62
68
  * @export
@@ -44,6 +44,8 @@ function instanceOfUserNotificationSettingsDto(value) {
44
44
  return false;
45
45
  if (!('tasksFrequency' in value) || value['tasksFrequency'] === undefined)
46
46
  return false;
47
+ if (!('taskDailyTime' in value) || value['taskDailyTime'] === undefined)
48
+ return false;
47
49
  return true;
48
50
  }
49
51
  function UserNotificationSettingsDtoFromJSON(json) {
@@ -61,6 +63,7 @@ function UserNotificationSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
61
63
  'payouts': json['payouts'],
62
64
  'leadMessagesFrequencyInMinutes': json['leadMessagesFrequencyInMinutes'],
63
65
  'tasksFrequency': json['tasksFrequency'],
66
+ 'taskDailyTime': json['taskDailyTime'],
64
67
  };
65
68
  }
66
69
  function UserNotificationSettingsDtoToJSON(json) {
@@ -79,5 +82,6 @@ function UserNotificationSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
79
82
  'payouts': value['payouts'],
80
83
  'leadMessagesFrequencyInMinutes': value['leadMessagesFrequencyInMinutes'],
81
84
  'tasksFrequency': value['tasksFrequency'],
85
+ 'taskDailyTime': value['taskDailyTime'],
82
86
  };
83
87
  }
@@ -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';