@randock/nameshift-api-client 0.0.563 → 0.0.565

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 (54) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +63 -1
  4. package/dist/apis/AdminApi.js +246 -0
  5. package/dist/apis/LeadsApi.d.ts +28 -1
  6. package/dist/apis/LeadsApi.js +129 -0
  7. package/dist/apis/SettingsSearchApi.d.ts +31 -0
  8. package/dist/apis/SettingsSearchApi.js +135 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/models/AcceptHighestBuyerLeadOfferInput.d.ts +32 -0
  12. package/dist/models/AcceptHighestBuyerLeadOfferInput.js +51 -0
  13. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  14. package/dist/models/BuyerNotificationDto.js +1 -0
  15. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  16. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  17. package/dist/models/GetSettingsSearchMisses200Response.d.ts +47 -0
  18. package/dist/models/GetSettingsSearchMisses200Response.js +62 -0
  19. package/dist/models/LeadOfferSummaryCannotAcceptReason.d.ts +29 -0
  20. package/dist/models/LeadOfferSummaryCannotAcceptReason.js +55 -0
  21. package/dist/models/LeadOfferSummaryDto.d.ts +52 -0
  22. package/dist/models/LeadOfferSummaryDto.js +65 -0
  23. package/dist/models/LeadOfferSummaryItemDto.d.ts +61 -0
  24. package/dist/models/LeadOfferSummaryItemDto.js +74 -0
  25. package/dist/models/RecordSettingsSearchMissInput.d.ts +38 -0
  26. package/dist/models/RecordSettingsSearchMissInput.js +55 -0
  27. package/dist/models/SettingsSearchMissCountDto.d.ts +50 -0
  28. package/dist/models/SettingsSearchMissCountDto.js +63 -0
  29. package/dist/models/SettingsSearchMissDto.d.ts +56 -0
  30. package/dist/models/SettingsSearchMissDto.js +67 -0
  31. package/dist/models/UserNotificationDto.d.ts +1 -0
  32. package/dist/models/UserNotificationDto.js +1 -0
  33. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  34. package/dist/models/UserNotificationListItemDto.js +1 -0
  35. package/dist/models/index.d.ts +8 -0
  36. package/dist/models/index.js +8 -0
  37. package/package.json +1 -1
  38. package/src/apis/AdminApi.ts +239 -0
  39. package/src/apis/LeadsApi.ts +118 -0
  40. package/src/apis/SettingsSearchApi.ts +82 -0
  41. package/src/apis/index.ts +1 -0
  42. package/src/models/AcceptHighestBuyerLeadOfferInput.ts +66 -0
  43. package/src/models/BuyerNotificationDto.ts +1 -0
  44. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  45. package/src/models/GetSettingsSearchMisses200Response.ts +106 -0
  46. package/src/models/LeadOfferSummaryCannotAcceptReason.ts +57 -0
  47. package/src/models/LeadOfferSummaryDto.ts +110 -0
  48. package/src/models/LeadOfferSummaryItemDto.ts +114 -0
  49. package/src/models/RecordSettingsSearchMissInput.ts +75 -0
  50. package/src/models/SettingsSearchMissCountDto.ts +93 -0
  51. package/src/models/SettingsSearchMissDto.ts +102 -0
  52. package/src/models/UserNotificationDto.ts +1 -0
  53. package/src/models/UserNotificationListItemDto.ts +1 -0
  54. package/src/models/index.ts +8 -0
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { RecordSettingsSearchMissInput } from '../models/index';
14
+ export interface SettingsSearchApiRecordSettingsSearchMissRequest {
15
+ recordSettingsSearchMissInput: RecordSettingsSearchMissInput;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class SettingsSearchApi extends runtime.BaseAPI {
21
+ /**
22
+ * Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
23
+ * Record a settings search without results
24
+ */
25
+ recordSettingsSearchMissRaw(requestParameters: SettingsSearchApiRecordSettingsSearchMissRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
26
+ /**
27
+ * Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
28
+ * Record a settings search without results
29
+ */
30
+ recordSettingsSearchMiss(requestParameters: SettingsSearchApiRecordSettingsSearchMissRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
31
+ }
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ 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.SettingsSearchApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var SettingsSearchApi = /** @class */ (function (_super) {
74
+ __extends(SettingsSearchApi, _super);
75
+ function SettingsSearchApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ * Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
80
+ * Record a settings search without results
81
+ */
82
+ SettingsSearchApi.prototype.recordSettingsSearchMissRaw = function (requestParameters, initOverrides) {
83
+ return __awaiter(this, void 0, void 0, function () {
84
+ var queryParameters, headerParameters, token, tokenString, response;
85
+ return __generator(this, function (_a) {
86
+ switch (_a.label) {
87
+ case 0:
88
+ if (requestParameters['recordSettingsSearchMissInput'] == null) {
89
+ throw new runtime.RequiredError('recordSettingsSearchMissInput', 'Required parameter "recordSettingsSearchMissInput" was null or undefined when calling recordSettingsSearchMiss().');
90
+ }
91
+ queryParameters = {};
92
+ headerParameters = {};
93
+ headerParameters['Content-Type'] = 'application/json';
94
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
95
+ token = this.configuration.accessToken;
96
+ return [4 /*yield*/, token("bearer", [])];
97
+ case 1:
98
+ tokenString = _a.sent();
99
+ if (tokenString) {
100
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
101
+ }
102
+ _a.label = 2;
103
+ case 2: return [4 /*yield*/, this.request({
104
+ path: "/private/settings-search-misses",
105
+ method: 'POST',
106
+ headers: headerParameters,
107
+ query: queryParameters,
108
+ body: (0, index_1.RecordSettingsSearchMissInputToJSON)(requestParameters['recordSettingsSearchMissInput']),
109
+ }, initOverrides)];
110
+ case 3:
111
+ response = _a.sent();
112
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
113
+ }
114
+ });
115
+ });
116
+ };
117
+ /**
118
+ * Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
119
+ * Record a settings search without results
120
+ */
121
+ SettingsSearchApi.prototype.recordSettingsSearchMiss = function (requestParameters, initOverrides) {
122
+ return __awaiter(this, void 0, void 0, function () {
123
+ return __generator(this, function (_a) {
124
+ switch (_a.label) {
125
+ case 0: return [4 /*yield*/, this.recordSettingsSearchMissRaw(requestParameters, initOverrides)];
126
+ case 1:
127
+ _a.sent();
128
+ return [2 /*return*/];
129
+ }
130
+ });
131
+ });
132
+ };
133
+ return SettingsSearchApi;
134
+ }(runtime.BaseAPI));
135
+ exports.SettingsSearchApi = SettingsSearchApi;
@@ -32,6 +32,7 @@ export * from './OrdersPublicApi';
32
32
  export * from './PartnerApi';
33
33
  export * from './QuickRepliesApi';
34
34
  export * from './SalesPublicApi';
35
+ export * from './SettingsSearchApi';
35
36
  export * from './StatsApi';
36
37
  export * from './SubscriptionsApi';
37
38
  export * from './SubscriptionsPublicApi';
@@ -50,6 +50,7 @@ __exportStar(require("./OrdersPublicApi"), exports);
50
50
  __exportStar(require("./PartnerApi"), exports);
51
51
  __exportStar(require("./QuickRepliesApi"), exports);
52
52
  __exportStar(require("./SalesPublicApi"), exports);
53
+ __exportStar(require("./SettingsSearchApi"), exports);
53
54
  __exportStar(require("./StatsApi"), exports);
54
55
  __exportStar(require("./SubscriptionsApi"), exports);
55
56
  __exportStar(require("./SubscriptionsPublicApi"), exports);
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AcceptHighestBuyerLeadOfferInput
16
+ */
17
+ export interface AcceptHighestBuyerLeadOfferInput {
18
+ /**
19
+ * The offer message the seller confirmed, as given by the offer summary. The request is refused with HIGHEST_BUYER_OFFER_CHANGED when it is no longer the highest buyer offer.
20
+ * @type {string}
21
+ * @memberof AcceptHighestBuyerLeadOfferInput
22
+ */
23
+ leadMessageId: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AcceptHighestBuyerLeadOfferInput interface.
27
+ */
28
+ export declare function instanceOfAcceptHighestBuyerLeadOfferInput(value: object): value is AcceptHighestBuyerLeadOfferInput;
29
+ export declare function AcceptHighestBuyerLeadOfferInputFromJSON(json: any): AcceptHighestBuyerLeadOfferInput;
30
+ export declare function AcceptHighestBuyerLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptHighestBuyerLeadOfferInput;
31
+ export declare function AcceptHighestBuyerLeadOfferInputToJSON(json: any): AcceptHighestBuyerLeadOfferInput;
32
+ export declare function AcceptHighestBuyerLeadOfferInputToJSONTyped(value?: AcceptHighestBuyerLeadOfferInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAcceptHighestBuyerLeadOfferInput = instanceOfAcceptHighestBuyerLeadOfferInput;
17
+ exports.AcceptHighestBuyerLeadOfferInputFromJSON = AcceptHighestBuyerLeadOfferInputFromJSON;
18
+ exports.AcceptHighestBuyerLeadOfferInputFromJSONTyped = AcceptHighestBuyerLeadOfferInputFromJSONTyped;
19
+ exports.AcceptHighestBuyerLeadOfferInputToJSON = AcceptHighestBuyerLeadOfferInputToJSON;
20
+ exports.AcceptHighestBuyerLeadOfferInputToJSONTyped = AcceptHighestBuyerLeadOfferInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AcceptHighestBuyerLeadOfferInput interface.
23
+ */
24
+ function instanceOfAcceptHighestBuyerLeadOfferInput(value) {
25
+ if (!('leadMessageId' in value) || value['leadMessageId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AcceptHighestBuyerLeadOfferInputFromJSON(json) {
30
+ return AcceptHighestBuyerLeadOfferInputFromJSONTyped(json, false);
31
+ }
32
+ function AcceptHighestBuyerLeadOfferInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'leadMessageId': json['leadMessageId'],
38
+ };
39
+ }
40
+ function AcceptHighestBuyerLeadOfferInputToJSON(json) {
41
+ return AcceptHighestBuyerLeadOfferInputToJSONTyped(json, false);
42
+ }
43
+ function AcceptHighestBuyerLeadOfferInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'leadMessageId': value['leadMessageId'],
50
+ };
51
+ }
@@ -102,6 +102,7 @@ export declare const BuyerNotificationDtoTypeEnum: {
102
102
  readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
103
103
  readonly DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_received_buyer_access_link_email";
104
104
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
105
+ readonly DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_earlier_offer_accepted_continue_order_email";
105
106
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
106
107
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
107
108
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: "domain_offer_accepted_continue_rent_email";
@@ -63,6 +63,7 @@ exports.BuyerNotificationDtoTypeEnum = {
63
63
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
64
64
  DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
65
65
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
66
+ DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_earlier_offer_accepted_continue_order_email',
66
67
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
67
68
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
68
69
  DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
@@ -95,6 +95,7 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
95
95
  readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
96
96
  readonly DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_received_buyer_access_link_email";
97
97
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
98
+ readonly DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_earlier_offer_accepted_continue_order_email";
98
99
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
99
100
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
100
101
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: "domain_offer_accepted_continue_rent_email";
@@ -62,6 +62,7 @@ exports.BuyerNotificationListItemDtoTypeEnum = {
62
62
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
63
63
  DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
64
64
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
65
+ DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_earlier_offer_accepted_continue_order_email',
65
66
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
66
67
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
67
68
  DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
14
+ import type { SettingsSearchMissDto } from './SettingsSearchMissDto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface GetSettingsSearchMisses200Response
19
+ */
20
+ export interface GetSettingsSearchMisses200Response {
21
+ /**
22
+ *
23
+ * @type {Array<SettingsSearchMissDto>}
24
+ * @memberof GetSettingsSearchMisses200Response
25
+ */
26
+ data: Array<SettingsSearchMissDto>;
27
+ /**
28
+ *
29
+ * @type {PaginateResponseMeta}
30
+ * @memberof GetSettingsSearchMisses200Response
31
+ */
32
+ meta: PaginateResponseMeta;
33
+ /**
34
+ *
35
+ * @type {PaginateResponseLinks}
36
+ * @memberof GetSettingsSearchMisses200Response
37
+ */
38
+ links: PaginateResponseLinks;
39
+ }
40
+ /**
41
+ * Check if a given object implements the GetSettingsSearchMisses200Response interface.
42
+ */
43
+ export declare function instanceOfGetSettingsSearchMisses200Response(value: object): value is GetSettingsSearchMisses200Response;
44
+ export declare function GetSettingsSearchMisses200ResponseFromJSON(json: any): GetSettingsSearchMisses200Response;
45
+ export declare function GetSettingsSearchMisses200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSettingsSearchMisses200Response;
46
+ export declare function GetSettingsSearchMisses200ResponseToJSON(json: any): GetSettingsSearchMisses200Response;
47
+ export declare function GetSettingsSearchMisses200ResponseToJSONTyped(value?: GetSettingsSearchMisses200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetSettingsSearchMisses200Response = instanceOfGetSettingsSearchMisses200Response;
17
+ exports.GetSettingsSearchMisses200ResponseFromJSON = GetSettingsSearchMisses200ResponseFromJSON;
18
+ exports.GetSettingsSearchMisses200ResponseFromJSONTyped = GetSettingsSearchMisses200ResponseFromJSONTyped;
19
+ exports.GetSettingsSearchMisses200ResponseToJSON = GetSettingsSearchMisses200ResponseToJSON;
20
+ exports.GetSettingsSearchMisses200ResponseToJSONTyped = GetSettingsSearchMisses200ResponseToJSONTyped;
21
+ var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
+ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
23
+ var SettingsSearchMissDto_1 = require("./SettingsSearchMissDto");
24
+ /**
25
+ * Check if a given object implements the GetSettingsSearchMisses200Response interface.
26
+ */
27
+ function instanceOfGetSettingsSearchMisses200Response(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 GetSettingsSearchMisses200ResponseFromJSON(json) {
37
+ return GetSettingsSearchMisses200ResponseFromJSONTyped(json, false);
38
+ }
39
+ function GetSettingsSearchMisses200ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'data': (json['data'].map(SettingsSearchMissDto_1.SettingsSearchMissDtoFromJSON)),
45
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
+ };
48
+ }
49
+ function GetSettingsSearchMisses200ResponseToJSON(json) {
50
+ return GetSettingsSearchMisses200ResponseToJSONTyped(json, false);
51
+ }
52
+ function GetSettingsSearchMisses200ResponseToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'data': (value['data'].map(SettingsSearchMissDto_1.SettingsSearchMissDtoToJSON)),
59
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
+ };
62
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Why the highest buyer offer cannot be accepted, if so.
14
+ * @export
15
+ */
16
+ export declare const LeadOfferSummaryCannotAcceptReason: {
17
+ readonly NO_BUYER_OFFER: "no_buyer_offer";
18
+ readonly LEAD_NOT_NEGOTIABLE: "lead_not_negotiable";
19
+ readonly MANUAL_LEAD: "manual_lead";
20
+ readonly DOMAIN_IS_LOCKED: "domain_is_locked";
21
+ readonly DOMAIN_HAS_AN_AUCTION: "domain_has_an_auction";
22
+ readonly DOMAIN_NOT_PURCHASABLE: "domain_not_purchasable";
23
+ };
24
+ export type LeadOfferSummaryCannotAcceptReason = typeof LeadOfferSummaryCannotAcceptReason[keyof typeof LeadOfferSummaryCannotAcceptReason];
25
+ export declare function instanceOfLeadOfferSummaryCannotAcceptReason(value: any): boolean;
26
+ export declare function LeadOfferSummaryCannotAcceptReasonFromJSON(json: any): LeadOfferSummaryCannotAcceptReason;
27
+ export declare function LeadOfferSummaryCannotAcceptReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferSummaryCannotAcceptReason;
28
+ export declare function LeadOfferSummaryCannotAcceptReasonToJSON(value?: LeadOfferSummaryCannotAcceptReason | null): any;
29
+ export declare function LeadOfferSummaryCannotAcceptReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): LeadOfferSummaryCannotAcceptReason;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LeadOfferSummaryCannotAcceptReason = void 0;
17
+ exports.instanceOfLeadOfferSummaryCannotAcceptReason = instanceOfLeadOfferSummaryCannotAcceptReason;
18
+ exports.LeadOfferSummaryCannotAcceptReasonFromJSON = LeadOfferSummaryCannotAcceptReasonFromJSON;
19
+ exports.LeadOfferSummaryCannotAcceptReasonFromJSONTyped = LeadOfferSummaryCannotAcceptReasonFromJSONTyped;
20
+ exports.LeadOfferSummaryCannotAcceptReasonToJSON = LeadOfferSummaryCannotAcceptReasonToJSON;
21
+ exports.LeadOfferSummaryCannotAcceptReasonToJSONTyped = LeadOfferSummaryCannotAcceptReasonToJSONTyped;
22
+ /**
23
+ * Why the highest buyer offer cannot be accepted, if so.
24
+ * @export
25
+ */
26
+ exports.LeadOfferSummaryCannotAcceptReason = {
27
+ NO_BUYER_OFFER: 'no_buyer_offer',
28
+ LEAD_NOT_NEGOTIABLE: 'lead_not_negotiable',
29
+ MANUAL_LEAD: 'manual_lead',
30
+ DOMAIN_IS_LOCKED: 'domain_is_locked',
31
+ DOMAIN_HAS_AN_AUCTION: 'domain_has_an_auction',
32
+ DOMAIN_NOT_PURCHASABLE: 'domain_not_purchasable'
33
+ };
34
+ function instanceOfLeadOfferSummaryCannotAcceptReason(value) {
35
+ for (var key in exports.LeadOfferSummaryCannotAcceptReason) {
36
+ if (Object.prototype.hasOwnProperty.call(exports.LeadOfferSummaryCannotAcceptReason, key)) {
37
+ if (exports.LeadOfferSummaryCannotAcceptReason[key] === value) {
38
+ return true;
39
+ }
40
+ }
41
+ }
42
+ return false;
43
+ }
44
+ function LeadOfferSummaryCannotAcceptReasonFromJSON(json) {
45
+ return LeadOfferSummaryCannotAcceptReasonFromJSONTyped(json, false);
46
+ }
47
+ function LeadOfferSummaryCannotAcceptReasonFromJSONTyped(json, ignoreDiscriminator) {
48
+ return json;
49
+ }
50
+ function LeadOfferSummaryCannotAcceptReasonToJSON(value) {
51
+ return value;
52
+ }
53
+ function LeadOfferSummaryCannotAcceptReasonToJSONTyped(value, ignoreDiscriminator) {
54
+ return value;
55
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { LeadOfferSummaryCannotAcceptReason } from './LeadOfferSummaryCannotAcceptReason';
13
+ import type { LeadOfferSummaryItemDto } from './LeadOfferSummaryItemDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface LeadOfferSummaryDto
18
+ */
19
+ export interface LeadOfferSummaryDto {
20
+ /**
21
+ * The highest plain purchase offer the buyer made and did not withdraw, in the domain currency. Null when there is none.
22
+ * @type {LeadOfferSummaryItemDto}
23
+ * @memberof LeadOfferSummaryDto
24
+ */
25
+ highestBuyerOffer: LeadOfferSummaryItemDto | null;
26
+ /**
27
+ * The lowest plain purchase offer the seller side (seller or price negotiator) made and did not withdraw, in the domain currency. Null when there is none.
28
+ * @type {LeadOfferSummaryItemDto}
29
+ * @memberof LeadOfferSummaryDto
30
+ */
31
+ lowestSellerOffer: LeadOfferSummaryItemDto | null;
32
+ /**
33
+ * Whether the highest buyer offer can be accepted right now with the accept-highest-buyer-offer endpoint.
34
+ * @type {boolean}
35
+ * @memberof LeadOfferSummaryDto
36
+ */
37
+ canAcceptHighestBuyerOffer: boolean;
38
+ /**
39
+ * Why the highest buyer offer cannot be accepted, if so.
40
+ * @type {LeadOfferSummaryCannotAcceptReason}
41
+ * @memberof LeadOfferSummaryDto
42
+ */
43
+ cannotAcceptReason: LeadOfferSummaryCannotAcceptReason | null;
44
+ }
45
+ /**
46
+ * Check if a given object implements the LeadOfferSummaryDto interface.
47
+ */
48
+ export declare function instanceOfLeadOfferSummaryDto(value: object): value is LeadOfferSummaryDto;
49
+ export declare function LeadOfferSummaryDtoFromJSON(json: any): LeadOfferSummaryDto;
50
+ export declare function LeadOfferSummaryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferSummaryDto;
51
+ export declare function LeadOfferSummaryDtoToJSON(json: any): LeadOfferSummaryDto;
52
+ export declare function LeadOfferSummaryDtoToJSONTyped(value?: LeadOfferSummaryDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLeadOfferSummaryDto = instanceOfLeadOfferSummaryDto;
17
+ exports.LeadOfferSummaryDtoFromJSON = LeadOfferSummaryDtoFromJSON;
18
+ exports.LeadOfferSummaryDtoFromJSONTyped = LeadOfferSummaryDtoFromJSONTyped;
19
+ exports.LeadOfferSummaryDtoToJSON = LeadOfferSummaryDtoToJSON;
20
+ exports.LeadOfferSummaryDtoToJSONTyped = LeadOfferSummaryDtoToJSONTyped;
21
+ var LeadOfferSummaryCannotAcceptReason_1 = require("./LeadOfferSummaryCannotAcceptReason");
22
+ var LeadOfferSummaryItemDto_1 = require("./LeadOfferSummaryItemDto");
23
+ /**
24
+ * Check if a given object implements the LeadOfferSummaryDto interface.
25
+ */
26
+ function instanceOfLeadOfferSummaryDto(value) {
27
+ if (!('highestBuyerOffer' in value) || value['highestBuyerOffer'] === undefined)
28
+ return false;
29
+ if (!('lowestSellerOffer' in value) || value['lowestSellerOffer'] === undefined)
30
+ return false;
31
+ if (!('canAcceptHighestBuyerOffer' in value) || value['canAcceptHighestBuyerOffer'] === undefined)
32
+ return false;
33
+ if (!('cannotAcceptReason' in value) || value['cannotAcceptReason'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function LeadOfferSummaryDtoFromJSON(json) {
38
+ return LeadOfferSummaryDtoFromJSONTyped(json, false);
39
+ }
40
+ function LeadOfferSummaryDtoFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'highestBuyerOffer': (0, LeadOfferSummaryItemDto_1.LeadOfferSummaryItemDtoFromJSON)(json['highestBuyerOffer']),
46
+ 'lowestSellerOffer': (0, LeadOfferSummaryItemDto_1.LeadOfferSummaryItemDtoFromJSON)(json['lowestSellerOffer']),
47
+ 'canAcceptHighestBuyerOffer': json['canAcceptHighestBuyerOffer'],
48
+ 'cannotAcceptReason': (0, LeadOfferSummaryCannotAcceptReason_1.LeadOfferSummaryCannotAcceptReasonFromJSON)(json['cannotAcceptReason']),
49
+ };
50
+ }
51
+ function LeadOfferSummaryDtoToJSON(json) {
52
+ return LeadOfferSummaryDtoToJSONTyped(json, false);
53
+ }
54
+ function LeadOfferSummaryDtoToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'highestBuyerOffer': (0, LeadOfferSummaryItemDto_1.LeadOfferSummaryItemDtoToJSON)(value['highestBuyerOffer']),
61
+ 'lowestSellerOffer': (0, LeadOfferSummaryItemDto_1.LeadOfferSummaryItemDtoToJSON)(value['lowestSellerOffer']),
62
+ 'canAcceptHighestBuyerOffer': value['canAcceptHighestBuyerOffer'],
63
+ 'cannotAcceptReason': (0, LeadOfferSummaryCannotAcceptReason_1.LeadOfferSummaryCannotAcceptReasonToJSON)(value['cannotAcceptReason']),
64
+ };
65
+ }