@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.
- package/.openapi-generator/FILES +9 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +63 -1
- package/dist/apis/AdminApi.js +246 -0
- package/dist/apis/LeadsApi.d.ts +28 -1
- package/dist/apis/LeadsApi.js +129 -0
- package/dist/apis/SettingsSearchApi.d.ts +31 -0
- package/dist/apis/SettingsSearchApi.js +135 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AcceptHighestBuyerLeadOfferInput.d.ts +32 -0
- package/dist/models/AcceptHighestBuyerLeadOfferInput.js +51 -0
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/GetSettingsSearchMisses200Response.d.ts +47 -0
- package/dist/models/GetSettingsSearchMisses200Response.js +62 -0
- package/dist/models/LeadOfferSummaryCannotAcceptReason.d.ts +29 -0
- package/dist/models/LeadOfferSummaryCannotAcceptReason.js +55 -0
- package/dist/models/LeadOfferSummaryDto.d.ts +52 -0
- package/dist/models/LeadOfferSummaryDto.js +65 -0
- package/dist/models/LeadOfferSummaryItemDto.d.ts +61 -0
- package/dist/models/LeadOfferSummaryItemDto.js +74 -0
- package/dist/models/RecordSettingsSearchMissInput.d.ts +38 -0
- package/dist/models/RecordSettingsSearchMissInput.js +55 -0
- package/dist/models/SettingsSearchMissCountDto.d.ts +50 -0
- package/dist/models/SettingsSearchMissCountDto.js +63 -0
- package/dist/models/SettingsSearchMissDto.d.ts +56 -0
- package/dist/models/SettingsSearchMissDto.js +67 -0
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +239 -0
- package/src/apis/LeadsApi.ts +118 -0
- package/src/apis/SettingsSearchApi.ts +82 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AcceptHighestBuyerLeadOfferInput.ts +66 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/GetSettingsSearchMisses200Response.ts +106 -0
- package/src/models/LeadOfferSummaryCannotAcceptReason.ts +57 -0
- package/src/models/LeadOfferSummaryDto.ts +110 -0
- package/src/models/LeadOfferSummaryItemDto.ts +114 -0
- package/src/models/RecordSettingsSearchMissInput.ts +75 -0
- package/src/models/SettingsSearchMissCountDto.ts +93 -0
- package/src/models/SettingsSearchMissDto.ts +102 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,61 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LeadOfferSummaryItemDto
|
|
17
|
+
*/
|
|
18
|
+
export interface LeadOfferSummaryItemDto {
|
|
19
|
+
/**
|
|
20
|
+
* The id of the offer message in the lead conversation.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LeadOfferSummaryItemDto
|
|
23
|
+
*/
|
|
24
|
+
leadMessageId: string;
|
|
25
|
+
/**
|
|
26
|
+
* The amount offered.
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof LeadOfferSummaryItemDto
|
|
29
|
+
*/
|
|
30
|
+
price: MoneyDto;
|
|
31
|
+
/**
|
|
32
|
+
* Who made the offer.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LeadOfferSummaryItemDto
|
|
35
|
+
*/
|
|
36
|
+
origin: LeadOfferSummaryItemDtoOriginEnum;
|
|
37
|
+
/**
|
|
38
|
+
* When the offer was made.
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof LeadOfferSummaryItemDto
|
|
41
|
+
*/
|
|
42
|
+
createdAt: Date;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const LeadOfferSummaryItemDtoOriginEnum: {
|
|
48
|
+
readonly BUYER: "buyer";
|
|
49
|
+
readonly SELLER: "seller";
|
|
50
|
+
readonly AI: "ai";
|
|
51
|
+
readonly ADMIN: "admin";
|
|
52
|
+
};
|
|
53
|
+
export type LeadOfferSummaryItemDtoOriginEnum = typeof LeadOfferSummaryItemDtoOriginEnum[keyof typeof LeadOfferSummaryItemDtoOriginEnum];
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the LeadOfferSummaryItemDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instanceOfLeadOfferSummaryItemDto(value: object): value is LeadOfferSummaryItemDto;
|
|
58
|
+
export declare function LeadOfferSummaryItemDtoFromJSON(json: any): LeadOfferSummaryItemDto;
|
|
59
|
+
export declare function LeadOfferSummaryItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferSummaryItemDto;
|
|
60
|
+
export declare function LeadOfferSummaryItemDtoToJSON(json: any): LeadOfferSummaryItemDto;
|
|
61
|
+
export declare function LeadOfferSummaryItemDtoToJSONTyped(value?: LeadOfferSummaryItemDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.LeadOfferSummaryItemDtoOriginEnum = void 0;
|
|
17
|
+
exports.instanceOfLeadOfferSummaryItemDto = instanceOfLeadOfferSummaryItemDto;
|
|
18
|
+
exports.LeadOfferSummaryItemDtoFromJSON = LeadOfferSummaryItemDtoFromJSON;
|
|
19
|
+
exports.LeadOfferSummaryItemDtoFromJSONTyped = LeadOfferSummaryItemDtoFromJSONTyped;
|
|
20
|
+
exports.LeadOfferSummaryItemDtoToJSON = LeadOfferSummaryItemDtoToJSON;
|
|
21
|
+
exports.LeadOfferSummaryItemDtoToJSONTyped = LeadOfferSummaryItemDtoToJSONTyped;
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.LeadOfferSummaryItemDtoOriginEnum = {
|
|
27
|
+
BUYER: 'buyer',
|
|
28
|
+
SELLER: 'seller',
|
|
29
|
+
AI: 'ai',
|
|
30
|
+
ADMIN: 'admin'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LeadOfferSummaryItemDto interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfLeadOfferSummaryItemDto(value) {
|
|
36
|
+
if (!('leadMessageId' in value) || value['leadMessageId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('origin' in value) || value['origin'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function LeadOfferSummaryItemDtoFromJSON(json) {
|
|
47
|
+
return LeadOfferSummaryItemDtoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function LeadOfferSummaryItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'leadMessageId': json['leadMessageId'],
|
|
55
|
+
'price': (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
|
|
56
|
+
'origin': json['origin'],
|
|
57
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function LeadOfferSummaryItemDtoToJSON(json) {
|
|
61
|
+
return LeadOfferSummaryItemDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function LeadOfferSummaryItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'leadMessageId': value['leadMessageId'],
|
|
70
|
+
'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
|
|
71
|
+
'origin': value['origin'],
|
|
72
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 RecordSettingsSearchMissInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RecordSettingsSearchMissInput {
|
|
18
|
+
/**
|
|
19
|
+
* What the user searched for. Trimmed; 3 to 64 characters after trimming. Longer input is rejected, not truncated.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RecordSettingsSearchMissInput
|
|
22
|
+
*/
|
|
23
|
+
query: string;
|
|
24
|
+
/**
|
|
25
|
+
* Locale of the interface the search was made in.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RecordSettingsSearchMissInput
|
|
28
|
+
*/
|
|
29
|
+
locale: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the RecordSettingsSearchMissInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfRecordSettingsSearchMissInput(value: object): value is RecordSettingsSearchMissInput;
|
|
35
|
+
export declare function RecordSettingsSearchMissInputFromJSON(json: any): RecordSettingsSearchMissInput;
|
|
36
|
+
export declare function RecordSettingsSearchMissInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordSettingsSearchMissInput;
|
|
37
|
+
export declare function RecordSettingsSearchMissInputToJSON(json: any): RecordSettingsSearchMissInput;
|
|
38
|
+
export declare function RecordSettingsSearchMissInputToJSONTyped(value?: RecordSettingsSearchMissInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfRecordSettingsSearchMissInput = instanceOfRecordSettingsSearchMissInput;
|
|
17
|
+
exports.RecordSettingsSearchMissInputFromJSON = RecordSettingsSearchMissInputFromJSON;
|
|
18
|
+
exports.RecordSettingsSearchMissInputFromJSONTyped = RecordSettingsSearchMissInputFromJSONTyped;
|
|
19
|
+
exports.RecordSettingsSearchMissInputToJSON = RecordSettingsSearchMissInputToJSON;
|
|
20
|
+
exports.RecordSettingsSearchMissInputToJSONTyped = RecordSettingsSearchMissInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RecordSettingsSearchMissInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRecordSettingsSearchMissInput(value) {
|
|
25
|
+
if (!('query' in value) || value['query'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function RecordSettingsSearchMissInputFromJSON(json) {
|
|
32
|
+
return RecordSettingsSearchMissInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function RecordSettingsSearchMissInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'query': json['query'],
|
|
40
|
+
'locale': json['locale'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function RecordSettingsSearchMissInputToJSON(json) {
|
|
44
|
+
return RecordSettingsSearchMissInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function RecordSettingsSearchMissInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'query': value['query'],
|
|
53
|
+
'locale': value['locale'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 SettingsSearchMissCountDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SettingsSearchMissCountDto {
|
|
18
|
+
/**
|
|
19
|
+
* Trimmed, lower-cased query.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SettingsSearchMissCountDto
|
|
22
|
+
*/
|
|
23
|
+
query: string;
|
|
24
|
+
/**
|
|
25
|
+
* Number of times it came back empty.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SettingsSearchMissCountDto
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of distinct accounts that searched it.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SettingsSearchMissCountDto
|
|
34
|
+
*/
|
|
35
|
+
accounts: number;
|
|
36
|
+
/**
|
|
37
|
+
* Most recent time it came back empty.
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof SettingsSearchMissCountDto
|
|
40
|
+
*/
|
|
41
|
+
lastSeenAt: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SettingsSearchMissCountDto interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfSettingsSearchMissCountDto(value: object): value is SettingsSearchMissCountDto;
|
|
47
|
+
export declare function SettingsSearchMissCountDtoFromJSON(json: any): SettingsSearchMissCountDto;
|
|
48
|
+
export declare function SettingsSearchMissCountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsSearchMissCountDto;
|
|
49
|
+
export declare function SettingsSearchMissCountDtoToJSON(json: any): SettingsSearchMissCountDto;
|
|
50
|
+
export declare function SettingsSearchMissCountDtoToJSONTyped(value?: SettingsSearchMissCountDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfSettingsSearchMissCountDto = instanceOfSettingsSearchMissCountDto;
|
|
17
|
+
exports.SettingsSearchMissCountDtoFromJSON = SettingsSearchMissCountDtoFromJSON;
|
|
18
|
+
exports.SettingsSearchMissCountDtoFromJSONTyped = SettingsSearchMissCountDtoFromJSONTyped;
|
|
19
|
+
exports.SettingsSearchMissCountDtoToJSON = SettingsSearchMissCountDtoToJSON;
|
|
20
|
+
exports.SettingsSearchMissCountDtoToJSONTyped = SettingsSearchMissCountDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SettingsSearchMissCountDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSettingsSearchMissCountDto(value) {
|
|
25
|
+
if (!('query' in value) || value['query'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('accounts' in value) || value['accounts'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('lastSeenAt' in value) || value['lastSeenAt'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function SettingsSearchMissCountDtoFromJSON(json) {
|
|
36
|
+
return SettingsSearchMissCountDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SettingsSearchMissCountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'query': json['query'],
|
|
44
|
+
'count': json['count'],
|
|
45
|
+
'accounts': json['accounts'],
|
|
46
|
+
'lastSeenAt': (new Date(json['lastSeenAt'])),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function SettingsSearchMissCountDtoToJSON(json) {
|
|
50
|
+
return SettingsSearchMissCountDtoToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function SettingsSearchMissCountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'query': value['query'],
|
|
59
|
+
'count': value['count'],
|
|
60
|
+
'accounts': value['accounts'],
|
|
61
|
+
'lastSeenAt': ((value['lastSeenAt']).toISOString()),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 SettingsSearchMissDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SettingsSearchMissDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SettingsSearchMissDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* What was searched for: trimmed and lower-cased user input.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SettingsSearchMissDto
|
|
28
|
+
*/
|
|
29
|
+
query: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SettingsSearchMissDto
|
|
34
|
+
*/
|
|
35
|
+
locale: string;
|
|
36
|
+
/**
|
|
37
|
+
* Account the search came from; null once it was deleted.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SettingsSearchMissDto
|
|
40
|
+
*/
|
|
41
|
+
accountId: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof SettingsSearchMissDto
|
|
46
|
+
*/
|
|
47
|
+
createdAt: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SettingsSearchMissDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSettingsSearchMissDto(value: object): value is SettingsSearchMissDto;
|
|
53
|
+
export declare function SettingsSearchMissDtoFromJSON(json: any): SettingsSearchMissDto;
|
|
54
|
+
export declare function SettingsSearchMissDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsSearchMissDto;
|
|
55
|
+
export declare function SettingsSearchMissDtoToJSON(json: any): SettingsSearchMissDto;
|
|
56
|
+
export declare function SettingsSearchMissDtoToJSONTyped(value?: SettingsSearchMissDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfSettingsSearchMissDto = instanceOfSettingsSearchMissDto;
|
|
17
|
+
exports.SettingsSearchMissDtoFromJSON = SettingsSearchMissDtoFromJSON;
|
|
18
|
+
exports.SettingsSearchMissDtoFromJSONTyped = SettingsSearchMissDtoFromJSONTyped;
|
|
19
|
+
exports.SettingsSearchMissDtoToJSON = SettingsSearchMissDtoToJSON;
|
|
20
|
+
exports.SettingsSearchMissDtoToJSONTyped = SettingsSearchMissDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SettingsSearchMissDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSettingsSearchMissDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('query' in value) || value['query'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function SettingsSearchMissDtoFromJSON(json) {
|
|
38
|
+
return SettingsSearchMissDtoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function SettingsSearchMissDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'],
|
|
46
|
+
'query': json['query'],
|
|
47
|
+
'locale': json['locale'],
|
|
48
|
+
'accountId': json['accountId'],
|
|
49
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function SettingsSearchMissDtoToJSON(json) {
|
|
53
|
+
return SettingsSearchMissDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function SettingsSearchMissDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': value['id'],
|
|
62
|
+
'query': value['query'],
|
|
63
|
+
'locale': value['locale'],
|
|
64
|
+
'accountId': value['accountId'],
|
|
65
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -102,6 +102,7 @@ export declare const UserNotificationDtoTypeEnum: {
|
|
|
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.UserNotificationDtoTypeEnum = {
|
|
|
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 UserNotificationListItemDtoTypeEnum: {
|
|
|
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.UserNotificationListItemDtoTypeEnum = {
|
|
|
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',
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './AcceptHighestBuyerLeadOfferInput';
|
|
1
2
|
export * from './AccountAliasDto';
|
|
2
3
|
export * from './AccountAliasInput';
|
|
3
4
|
export * from './AccountBankAccountDetailsDto';
|
|
@@ -373,6 +374,7 @@ export * from './GetMarketingSales200Response';
|
|
|
373
374
|
export * from './GetQuickReplies200Response';
|
|
374
375
|
export * from './GetSellerChallengesListDto';
|
|
375
376
|
export * from './GetSellerChallengesListDtoChallengesInner';
|
|
377
|
+
export * from './GetSettingsSearchMisses200Response';
|
|
376
378
|
export * from './HistoricalMetrics';
|
|
377
379
|
export * from './HttpException';
|
|
378
380
|
export * from './ImportDomainsResponseDto';
|
|
@@ -436,6 +438,9 @@ export * from './LeadOfferDto';
|
|
|
436
438
|
export * from './LeadOfferExpirationConfigurationDto';
|
|
437
439
|
export * from './LeadOfferExpirationConfigurationInput';
|
|
438
440
|
export * from './LeadOfferExpirationDurationInput';
|
|
441
|
+
export * from './LeadOfferSummaryCannotAcceptReason';
|
|
442
|
+
export * from './LeadOfferSummaryDto';
|
|
443
|
+
export * from './LeadOfferSummaryItemDto';
|
|
439
444
|
export * from './LeadPhoneVerificationDeliveryDto';
|
|
440
445
|
export * from './LeadPhoneVerificationDto';
|
|
441
446
|
export * from './LeadPhoneVerificationReason';
|
|
@@ -581,6 +586,7 @@ export * from './QuickReplyInput';
|
|
|
581
586
|
export * from './QuickReplyVariableEnum';
|
|
582
587
|
export * from './ReauthenticateWithPasskeyInput';
|
|
583
588
|
export * from './ReauthenticationDto';
|
|
589
|
+
export * from './RecordSettingsSearchMissInput';
|
|
584
590
|
export * from './RecoveryCodesDto';
|
|
585
591
|
export * from './RegisterAccountInput';
|
|
586
592
|
export * from './RegisterAccountPortfolioSizeInput';
|
|
@@ -653,6 +659,8 @@ export * from './SetDomainTransferConfirmationInput';
|
|
|
653
659
|
export * from './SetNewPasswordInput';
|
|
654
660
|
export * from './SetPayoutFrequencyInput';
|
|
655
661
|
export * from './SetPayoutProviderInput';
|
|
662
|
+
export * from './SettingsSearchMissCountDto';
|
|
663
|
+
export * from './SettingsSearchMissDto';
|
|
656
664
|
export * from './SimulateAutomationsInput';
|
|
657
665
|
export * from './SimulateCommissionInput';
|
|
658
666
|
export * from './StartAuctionInput';
|
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AcceptHighestBuyerLeadOfferInput"), exports);
|
|
19
20
|
__exportStar(require("./AccountAliasDto"), exports);
|
|
20
21
|
__exportStar(require("./AccountAliasInput"), exports);
|
|
21
22
|
__exportStar(require("./AccountBankAccountDetailsDto"), exports);
|
|
@@ -391,6 +392,7 @@ __exportStar(require("./GetMarketingSales200Response"), exports);
|
|
|
391
392
|
__exportStar(require("./GetQuickReplies200Response"), exports);
|
|
392
393
|
__exportStar(require("./GetSellerChallengesListDto"), exports);
|
|
393
394
|
__exportStar(require("./GetSellerChallengesListDtoChallengesInner"), exports);
|
|
395
|
+
__exportStar(require("./GetSettingsSearchMisses200Response"), exports);
|
|
394
396
|
__exportStar(require("./HistoricalMetrics"), exports);
|
|
395
397
|
__exportStar(require("./HttpException"), exports);
|
|
396
398
|
__exportStar(require("./ImportDomainsResponseDto"), exports);
|
|
@@ -454,6 +456,9 @@ __exportStar(require("./LeadOfferDto"), exports);
|
|
|
454
456
|
__exportStar(require("./LeadOfferExpirationConfigurationDto"), exports);
|
|
455
457
|
__exportStar(require("./LeadOfferExpirationConfigurationInput"), exports);
|
|
456
458
|
__exportStar(require("./LeadOfferExpirationDurationInput"), exports);
|
|
459
|
+
__exportStar(require("./LeadOfferSummaryCannotAcceptReason"), exports);
|
|
460
|
+
__exportStar(require("./LeadOfferSummaryDto"), exports);
|
|
461
|
+
__exportStar(require("./LeadOfferSummaryItemDto"), exports);
|
|
457
462
|
__exportStar(require("./LeadPhoneVerificationDeliveryDto"), exports);
|
|
458
463
|
__exportStar(require("./LeadPhoneVerificationDto"), exports);
|
|
459
464
|
__exportStar(require("./LeadPhoneVerificationReason"), exports);
|
|
@@ -599,6 +604,7 @@ __exportStar(require("./QuickReplyInput"), exports);
|
|
|
599
604
|
__exportStar(require("./QuickReplyVariableEnum"), exports);
|
|
600
605
|
__exportStar(require("./ReauthenticateWithPasskeyInput"), exports);
|
|
601
606
|
__exportStar(require("./ReauthenticationDto"), exports);
|
|
607
|
+
__exportStar(require("./RecordSettingsSearchMissInput"), exports);
|
|
602
608
|
__exportStar(require("./RecoveryCodesDto"), exports);
|
|
603
609
|
__exportStar(require("./RegisterAccountInput"), exports);
|
|
604
610
|
__exportStar(require("./RegisterAccountPortfolioSizeInput"), exports);
|
|
@@ -671,6 +677,8 @@ __exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
|
671
677
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
672
678
|
__exportStar(require("./SetPayoutFrequencyInput"), exports);
|
|
673
679
|
__exportStar(require("./SetPayoutProviderInput"), exports);
|
|
680
|
+
__exportStar(require("./SettingsSearchMissCountDto"), exports);
|
|
681
|
+
__exportStar(require("./SettingsSearchMissDto"), exports);
|
|
674
682
|
__exportStar(require("./SimulateAutomationsInput"), exports);
|
|
675
683
|
__exportStar(require("./SimulateCommissionInput"), exports);
|
|
676
684
|
__exportStar(require("./StartAuctionInput"), exports);
|