@randock/nameshift-api-client 0.0.518 → 0.0.519
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 +7 -0
- package/README.md +3 -3
- package/dist/apis/LeadsApi.d.ts +14 -1
- package/dist/apis/LeadsApi.js +63 -0
- package/dist/apis/QuickRepliesApi.d.ts +76 -0
- package/dist/apis/QuickRepliesApi.js +347 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/GetQuickReplies200Response.d.ts +47 -0
- package/dist/models/GetQuickReplies200Response.js +62 -0
- package/dist/models/LeadQuickReplyDto.d.ts +51 -0
- package/dist/models/LeadQuickReplyDto.js +64 -0
- package/dist/models/LeadQuickReplyListDto.d.ts +33 -0
- package/dist/models/LeadQuickReplyListDto.js +52 -0
- package/dist/models/QuickReplyDto.d.ts +63 -0
- package/dist/models/QuickReplyDto.js +72 -0
- package/dist/models/QuickReplyInput.d.ts +38 -0
- package/dist/models/QuickReplyInput.js +55 -0
- package/dist/models/QuickReplyVariableEnum.d.ts +27 -0
- package/dist/models/QuickReplyVariableEnum.js +53 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +54 -0
- package/src/apis/QuickRepliesApi.ts +268 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetQuickReplies200Response.ts +106 -0
- package/src/models/LeadQuickReplyDto.ts +101 -0
- package/src/models/LeadQuickReplyListDto.ts +74 -0
- package/src/models/QuickReplyDto.ts +119 -0
- package/src/models/QuickReplyInput.ts +75 -0
- package/src/models/QuickReplyVariableEnum.ts +55 -0
- package/src/models/index.ts +6 -0
|
@@ -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.instanceOfGetQuickReplies200Response = instanceOfGetQuickReplies200Response;
|
|
17
|
+
exports.GetQuickReplies200ResponseFromJSON = GetQuickReplies200ResponseFromJSON;
|
|
18
|
+
exports.GetQuickReplies200ResponseFromJSONTyped = GetQuickReplies200ResponseFromJSONTyped;
|
|
19
|
+
exports.GetQuickReplies200ResponseToJSON = GetQuickReplies200ResponseToJSON;
|
|
20
|
+
exports.GetQuickReplies200ResponseToJSONTyped = GetQuickReplies200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var QuickReplyDto_1 = require("./QuickReplyDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetQuickReplies200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetQuickReplies200Response(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 GetQuickReplies200ResponseFromJSON(json) {
|
|
37
|
+
return GetQuickReplies200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetQuickReplies200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(QuickReplyDto_1.QuickReplyDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetQuickReplies200ResponseToJSON(json) {
|
|
50
|
+
return GetQuickReplies200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetQuickReplies200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(QuickReplyDto_1.QuickReplyDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { QuickReplyVariableEnum } from './QuickReplyVariableEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LeadQuickReplyDto
|
|
17
|
+
*/
|
|
18
|
+
export interface LeadQuickReplyDto {
|
|
19
|
+
/**
|
|
20
|
+
* Quick reply id.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LeadQuickReplyDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* Name the seller recognises the reply by.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof LeadQuickReplyDto
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* Message with the variables replaced by the values of the lead.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LeadQuickReplyDto
|
|
35
|
+
*/
|
|
36
|
+
message: string;
|
|
37
|
+
/**
|
|
38
|
+
* Variables that have no value for the lead.
|
|
39
|
+
* @type {Array<QuickReplyVariableEnum>}
|
|
40
|
+
* @memberof LeadQuickReplyDto
|
|
41
|
+
*/
|
|
42
|
+
missingVariables: Array<QuickReplyVariableEnum>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the LeadQuickReplyDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfLeadQuickReplyDto(value: object): value is LeadQuickReplyDto;
|
|
48
|
+
export declare function LeadQuickReplyDtoFromJSON(json: any): LeadQuickReplyDto;
|
|
49
|
+
export declare function LeadQuickReplyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadQuickReplyDto;
|
|
50
|
+
export declare function LeadQuickReplyDtoToJSON(json: any): LeadQuickReplyDto;
|
|
51
|
+
export declare function LeadQuickReplyDtoToJSONTyped(value?: LeadQuickReplyDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfLeadQuickReplyDto = instanceOfLeadQuickReplyDto;
|
|
17
|
+
exports.LeadQuickReplyDtoFromJSON = LeadQuickReplyDtoFromJSON;
|
|
18
|
+
exports.LeadQuickReplyDtoFromJSONTyped = LeadQuickReplyDtoFromJSONTyped;
|
|
19
|
+
exports.LeadQuickReplyDtoToJSON = LeadQuickReplyDtoToJSON;
|
|
20
|
+
exports.LeadQuickReplyDtoToJSONTyped = LeadQuickReplyDtoToJSONTyped;
|
|
21
|
+
var QuickReplyVariableEnum_1 = require("./QuickReplyVariableEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LeadQuickReplyDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLeadQuickReplyDto(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 (!('message' in value) || value['message'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('missingVariables' in value) || value['missingVariables'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function LeadQuickReplyDtoFromJSON(json) {
|
|
37
|
+
return LeadQuickReplyDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function LeadQuickReplyDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'message': json['message'],
|
|
47
|
+
'missingVariables': (json['missingVariables'].map(QuickReplyVariableEnum_1.QuickReplyVariableEnumFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function LeadQuickReplyDtoToJSON(json) {
|
|
51
|
+
return LeadQuickReplyDtoToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function LeadQuickReplyDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'message': value['message'],
|
|
62
|
+
'missingVariables': (value['missingVariables'].map(QuickReplyVariableEnum_1.QuickReplyVariableEnumToJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { LeadQuickReplyDto } from './LeadQuickReplyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LeadQuickReplyListDto
|
|
17
|
+
*/
|
|
18
|
+
export interface LeadQuickReplyListDto {
|
|
19
|
+
/**
|
|
20
|
+
* Quick replies of the account, sorted by name.
|
|
21
|
+
* @type {Array<LeadQuickReplyDto>}
|
|
22
|
+
* @memberof LeadQuickReplyListDto
|
|
23
|
+
*/
|
|
24
|
+
data: Array<LeadQuickReplyDto>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the LeadQuickReplyListDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfLeadQuickReplyListDto(value: object): value is LeadQuickReplyListDto;
|
|
30
|
+
export declare function LeadQuickReplyListDtoFromJSON(json: any): LeadQuickReplyListDto;
|
|
31
|
+
export declare function LeadQuickReplyListDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadQuickReplyListDto;
|
|
32
|
+
export declare function LeadQuickReplyListDtoToJSON(json: any): LeadQuickReplyListDto;
|
|
33
|
+
export declare function LeadQuickReplyListDtoToJSONTyped(value?: LeadQuickReplyListDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfLeadQuickReplyListDto = instanceOfLeadQuickReplyListDto;
|
|
17
|
+
exports.LeadQuickReplyListDtoFromJSON = LeadQuickReplyListDtoFromJSON;
|
|
18
|
+
exports.LeadQuickReplyListDtoFromJSONTyped = LeadQuickReplyListDtoFromJSONTyped;
|
|
19
|
+
exports.LeadQuickReplyListDtoToJSON = LeadQuickReplyListDtoToJSON;
|
|
20
|
+
exports.LeadQuickReplyListDtoToJSONTyped = LeadQuickReplyListDtoToJSONTyped;
|
|
21
|
+
var LeadQuickReplyDto_1 = require("./LeadQuickReplyDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LeadQuickReplyListDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLeadQuickReplyListDto(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function LeadQuickReplyListDtoFromJSON(json) {
|
|
31
|
+
return LeadQuickReplyListDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function LeadQuickReplyListDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': (json['data'].map(LeadQuickReplyDto_1.LeadQuickReplyDtoFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function LeadQuickReplyListDtoToJSON(json) {
|
|
42
|
+
return LeadQuickReplyListDtoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function LeadQuickReplyListDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'data': (value['data'].map(LeadQuickReplyDto_1.LeadQuickReplyDtoToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { QuickReplyVariableEnum } from './QuickReplyVariableEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface QuickReplyDto
|
|
17
|
+
*/
|
|
18
|
+
export interface QuickReplyDto {
|
|
19
|
+
/**
|
|
20
|
+
* Quick reply id.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof QuickReplyDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* Name the seller recognises the reply by.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof QuickReplyDto
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* Message template, plain text with {{variable}} tokens.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof QuickReplyDto
|
|
35
|
+
*/
|
|
36
|
+
message: string;
|
|
37
|
+
/**
|
|
38
|
+
* Variables used in the message.
|
|
39
|
+
* @type {Array<QuickReplyVariableEnum>}
|
|
40
|
+
* @memberof QuickReplyDto
|
|
41
|
+
*/
|
|
42
|
+
variables: Array<QuickReplyVariableEnum>;
|
|
43
|
+
/**
|
|
44
|
+
* When the quick reply was created.
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof QuickReplyDto
|
|
47
|
+
*/
|
|
48
|
+
createdAt: Date;
|
|
49
|
+
/**
|
|
50
|
+
* When the quick reply was last updated.
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof QuickReplyDto
|
|
53
|
+
*/
|
|
54
|
+
updatedAt: Date;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the QuickReplyDto interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfQuickReplyDto(value: object): value is QuickReplyDto;
|
|
60
|
+
export declare function QuickReplyDtoFromJSON(json: any): QuickReplyDto;
|
|
61
|
+
export declare function QuickReplyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuickReplyDto;
|
|
62
|
+
export declare function QuickReplyDtoToJSON(json: any): QuickReplyDto;
|
|
63
|
+
export declare function QuickReplyDtoToJSONTyped(value?: QuickReplyDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.instanceOfQuickReplyDto = instanceOfQuickReplyDto;
|
|
17
|
+
exports.QuickReplyDtoFromJSON = QuickReplyDtoFromJSON;
|
|
18
|
+
exports.QuickReplyDtoFromJSONTyped = QuickReplyDtoFromJSONTyped;
|
|
19
|
+
exports.QuickReplyDtoToJSON = QuickReplyDtoToJSON;
|
|
20
|
+
exports.QuickReplyDtoToJSONTyped = QuickReplyDtoToJSONTyped;
|
|
21
|
+
var QuickReplyVariableEnum_1 = require("./QuickReplyVariableEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the QuickReplyDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfQuickReplyDto(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 (!('message' in value) || value['message'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('variables' in value) || value['variables'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function QuickReplyDtoFromJSON(json) {
|
|
41
|
+
return QuickReplyDtoFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function QuickReplyDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'name': json['name'],
|
|
50
|
+
'message': json['message'],
|
|
51
|
+
'variables': (json['variables'].map(QuickReplyVariableEnum_1.QuickReplyVariableEnumFromJSON)),
|
|
52
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
53
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function QuickReplyDtoToJSON(json) {
|
|
57
|
+
return QuickReplyDtoToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function QuickReplyDtoToJSONTyped(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
|
+
'message': value['message'],
|
|
68
|
+
'variables': (value['variables'].map(QuickReplyVariableEnum_1.QuickReplyVariableEnumToJSON)),
|
|
69
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
70
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -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 QuickReplyInput
|
|
16
|
+
*/
|
|
17
|
+
export interface QuickReplyInput {
|
|
18
|
+
/**
|
|
19
|
+
* Name the seller recognises the reply by.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof QuickReplyInput
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Message template, plain text with {{variable}} tokens.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QuickReplyInput
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the QuickReplyInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfQuickReplyInput(value: object): value is QuickReplyInput;
|
|
35
|
+
export declare function QuickReplyInputFromJSON(json: any): QuickReplyInput;
|
|
36
|
+
export declare function QuickReplyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuickReplyInput;
|
|
37
|
+
export declare function QuickReplyInputToJSON(json: any): QuickReplyInput;
|
|
38
|
+
export declare function QuickReplyInputToJSONTyped(value?: QuickReplyInput | 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.instanceOfQuickReplyInput = instanceOfQuickReplyInput;
|
|
17
|
+
exports.QuickReplyInputFromJSON = QuickReplyInputFromJSON;
|
|
18
|
+
exports.QuickReplyInputFromJSONTyped = QuickReplyInputFromJSONTyped;
|
|
19
|
+
exports.QuickReplyInputToJSON = QuickReplyInputToJSON;
|
|
20
|
+
exports.QuickReplyInputToJSONTyped = QuickReplyInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the QuickReplyInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfQuickReplyInput(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function QuickReplyInputFromJSON(json) {
|
|
32
|
+
return QuickReplyInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function QuickReplyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'message': json['message'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function QuickReplyInputToJSON(json) {
|
|
44
|
+
return QuickReplyInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function QuickReplyInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'message': value['message'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* Variables that have no value for the lead.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const QuickReplyVariableEnum: {
|
|
17
|
+
readonly DOMAIN_NAME: "domain_name";
|
|
18
|
+
readonly BUYER_NAME: "buyer_name";
|
|
19
|
+
readonly LAST_BUYER_OFFER: "last_buyer_offer";
|
|
20
|
+
readonly LAST_SELLER_OFFER: "last_seller_offer";
|
|
21
|
+
};
|
|
22
|
+
export type QuickReplyVariableEnum = typeof QuickReplyVariableEnum[keyof typeof QuickReplyVariableEnum];
|
|
23
|
+
export declare function instanceOfQuickReplyVariableEnum(value: any): boolean;
|
|
24
|
+
export declare function QuickReplyVariableEnumFromJSON(json: any): QuickReplyVariableEnum;
|
|
25
|
+
export declare function QuickReplyVariableEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuickReplyVariableEnum;
|
|
26
|
+
export declare function QuickReplyVariableEnumToJSON(value?: QuickReplyVariableEnum | null): any;
|
|
27
|
+
export declare function QuickReplyVariableEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): QuickReplyVariableEnum;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.QuickReplyVariableEnum = void 0;
|
|
17
|
+
exports.instanceOfQuickReplyVariableEnum = instanceOfQuickReplyVariableEnum;
|
|
18
|
+
exports.QuickReplyVariableEnumFromJSON = QuickReplyVariableEnumFromJSON;
|
|
19
|
+
exports.QuickReplyVariableEnumFromJSONTyped = QuickReplyVariableEnumFromJSONTyped;
|
|
20
|
+
exports.QuickReplyVariableEnumToJSON = QuickReplyVariableEnumToJSON;
|
|
21
|
+
exports.QuickReplyVariableEnumToJSONTyped = QuickReplyVariableEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Variables that have no value for the lead.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.QuickReplyVariableEnum = {
|
|
27
|
+
DOMAIN_NAME: 'domain_name',
|
|
28
|
+
BUYER_NAME: 'buyer_name',
|
|
29
|
+
LAST_BUYER_OFFER: 'last_buyer_offer',
|
|
30
|
+
LAST_SELLER_OFFER: 'last_seller_offer'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfQuickReplyVariableEnum(value) {
|
|
33
|
+
for (var key in exports.QuickReplyVariableEnum) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.QuickReplyVariableEnum, key)) {
|
|
35
|
+
if (exports.QuickReplyVariableEnum[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function QuickReplyVariableEnumFromJSON(json) {
|
|
43
|
+
return QuickReplyVariableEnumFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function QuickReplyVariableEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function QuickReplyVariableEnumToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function QuickReplyVariableEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -298,6 +298,7 @@ export * from './GetBuyerSubscriptions200Response';
|
|
|
298
298
|
export * from './GetBuyerTransfers200Response';
|
|
299
299
|
export * from './GetInvoices200Response';
|
|
300
300
|
export * from './GetMarketingSales200Response';
|
|
301
|
+
export * from './GetQuickReplies200Response';
|
|
301
302
|
export * from './GetSellerChallengesListDto';
|
|
302
303
|
export * from './GetSellerChallengesListDtoChallengesInner';
|
|
303
304
|
export * from './HistoricalMetrics';
|
|
@@ -361,6 +362,8 @@ export * from './LeadOfferExpirationConfigurationInput';
|
|
|
361
362
|
export * from './LeadOfferExpirationDurationInput';
|
|
362
363
|
export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
|
|
363
364
|
export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
|
|
365
|
+
export * from './LeadQuickReplyDto';
|
|
366
|
+
export * from './LeadQuickReplyListDto';
|
|
364
367
|
export * from './LeadRentConfigurationDto';
|
|
365
368
|
export * from './LeadStatusDto';
|
|
366
369
|
export * from './LeadVerificationInput';
|
|
@@ -476,6 +479,9 @@ export * from './PublicSaleDto';
|
|
|
476
479
|
export * from './PublicSalesDto';
|
|
477
480
|
export * from './PutBuyerLeadOfferInput';
|
|
478
481
|
export * from './PutLeadOfferInput';
|
|
482
|
+
export * from './QuickReplyDto';
|
|
483
|
+
export * from './QuickReplyInput';
|
|
484
|
+
export * from './QuickReplyVariableEnum';
|
|
479
485
|
export * from './ReauthenticateWithPasskeyInput';
|
|
480
486
|
export * from './ReauthenticationDto';
|
|
481
487
|
export * from './RecoveryCodesDto';
|
package/dist/models/index.js
CHANGED
|
@@ -316,6 +316,7 @@ __exportStar(require("./GetBuyerSubscriptions200Response"), exports);
|
|
|
316
316
|
__exportStar(require("./GetBuyerTransfers200Response"), exports);
|
|
317
317
|
__exportStar(require("./GetInvoices200Response"), exports);
|
|
318
318
|
__exportStar(require("./GetMarketingSales200Response"), exports);
|
|
319
|
+
__exportStar(require("./GetQuickReplies200Response"), exports);
|
|
319
320
|
__exportStar(require("./GetSellerChallengesListDto"), exports);
|
|
320
321
|
__exportStar(require("./GetSellerChallengesListDtoChallengesInner"), exports);
|
|
321
322
|
__exportStar(require("./HistoricalMetrics"), exports);
|
|
@@ -379,6 +380,8 @@ __exportStar(require("./LeadOfferExpirationConfigurationInput"), exports);
|
|
|
379
380
|
__exportStar(require("./LeadOfferExpirationDurationInput"), exports);
|
|
380
381
|
__exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
381
382
|
__exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
383
|
+
__exportStar(require("./LeadQuickReplyDto"), exports);
|
|
384
|
+
__exportStar(require("./LeadQuickReplyListDto"), exports);
|
|
382
385
|
__exportStar(require("./LeadRentConfigurationDto"), exports);
|
|
383
386
|
__exportStar(require("./LeadStatusDto"), exports);
|
|
384
387
|
__exportStar(require("./LeadVerificationInput"), exports);
|
|
@@ -494,6 +497,9 @@ __exportStar(require("./PublicSaleDto"), exports);
|
|
|
494
497
|
__exportStar(require("./PublicSalesDto"), exports);
|
|
495
498
|
__exportStar(require("./PutBuyerLeadOfferInput"), exports);
|
|
496
499
|
__exportStar(require("./PutLeadOfferInput"), exports);
|
|
500
|
+
__exportStar(require("./QuickReplyDto"), exports);
|
|
501
|
+
__exportStar(require("./QuickReplyInput"), exports);
|
|
502
|
+
__exportStar(require("./QuickReplyVariableEnum"), exports);
|
|
497
503
|
__exportStar(require("./ReauthenticateWithPasskeyInput"), exports);
|
|
498
504
|
__exportStar(require("./ReauthenticationDto"), exports);
|
|
499
505
|
__exportStar(require("./RecoveryCodesDto"), exports);
|