@randock/nameshift-api-client 0.0.518 → 0.0.520

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 (36) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +3 -3
  3. package/dist/apis/LeadsApi.d.ts +14 -1
  4. package/dist/apis/LeadsApi.js +63 -0
  5. package/dist/apis/QuickRepliesApi.d.ts +76 -0
  6. package/dist/apis/QuickRepliesApi.js +347 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/DomainSalesInformationDto.d.ts +6 -0
  10. package/dist/models/DomainSalesInformationDto.js +4 -0
  11. package/dist/models/GetQuickReplies200Response.d.ts +47 -0
  12. package/dist/models/GetQuickReplies200Response.js +62 -0
  13. package/dist/models/LeadQuickReplyDto.d.ts +51 -0
  14. package/dist/models/LeadQuickReplyDto.js +64 -0
  15. package/dist/models/LeadQuickReplyListDto.d.ts +33 -0
  16. package/dist/models/LeadQuickReplyListDto.js +52 -0
  17. package/dist/models/QuickReplyDto.d.ts +63 -0
  18. package/dist/models/QuickReplyDto.js +72 -0
  19. package/dist/models/QuickReplyInput.d.ts +38 -0
  20. package/dist/models/QuickReplyInput.js +55 -0
  21. package/dist/models/QuickReplyVariableEnum.d.ts +27 -0
  22. package/dist/models/QuickReplyVariableEnum.js +53 -0
  23. package/dist/models/index.d.ts +6 -0
  24. package/dist/models/index.js +6 -0
  25. package/package.json +1 -1
  26. package/src/apis/LeadsApi.ts +54 -0
  27. package/src/apis/QuickRepliesApi.ts +268 -0
  28. package/src/apis/index.ts +1 -0
  29. package/src/models/DomainSalesInformationDto.ts +9 -0
  30. package/src/models/GetQuickReplies200Response.ts +106 -0
  31. package/src/models/LeadQuickReplyDto.ts +101 -0
  32. package/src/models/LeadQuickReplyListDto.ts +74 -0
  33. package/src/models/QuickReplyDto.ts +119 -0
  34. package/src/models/QuickReplyInput.ts +75 -0
  35. package/src/models/QuickReplyVariableEnum.ts +55 -0
  36. package/src/models/index.ts +6 -0
@@ -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 { QuickReplyDto } from './QuickReplyDto';
14
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface GetQuickReplies200Response
19
+ */
20
+ export interface GetQuickReplies200Response {
21
+ /**
22
+ *
23
+ * @type {Array<QuickReplyDto>}
24
+ * @memberof GetQuickReplies200Response
25
+ */
26
+ data: Array<QuickReplyDto>;
27
+ /**
28
+ *
29
+ * @type {PaginateResponseMeta}
30
+ * @memberof GetQuickReplies200Response
31
+ */
32
+ meta: PaginateResponseMeta;
33
+ /**
34
+ *
35
+ * @type {PaginateResponseLinks}
36
+ * @memberof GetQuickReplies200Response
37
+ */
38
+ links: PaginateResponseLinks;
39
+ }
40
+ /**
41
+ * Check if a given object implements the GetQuickReplies200Response interface.
42
+ */
43
+ export declare function instanceOfGetQuickReplies200Response(value: object): value is GetQuickReplies200Response;
44
+ export declare function GetQuickReplies200ResponseFromJSON(json: any): GetQuickReplies200Response;
45
+ export declare function GetQuickReplies200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetQuickReplies200Response;
46
+ export declare function GetQuickReplies200ResponseToJSON(json: any): GetQuickReplies200Response;
47
+ export declare function GetQuickReplies200ResponseToJSONTyped(value?: GetQuickReplies200Response | 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.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
+ }
@@ -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';