@randock/nameshift-api-client 0.0.562 → 0.0.564

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 (81) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +28 -1
  4. package/dist/apis/AdminApi.js +113 -0
  5. package/dist/apis/BuyersApi.d.ts +14 -1
  6. package/dist/apis/BuyersApi.js +57 -0
  7. package/dist/apis/BuyersPublicApi.d.ts +100 -1
  8. package/dist/apis/BuyersPublicApi.js +426 -0
  9. package/dist/apis/LeadsApi.d.ts +28 -1
  10. package/dist/apis/LeadsApi.js +129 -0
  11. package/dist/apis/LeadsPublicApi.d.ts +5 -5
  12. package/dist/apis/LeadsPublicApi.js +6 -4
  13. package/dist/models/AcceptHighestBuyerLeadOfferInput.d.ts +32 -0
  14. package/dist/models/AcceptHighestBuyerLeadOfferInput.js +51 -0
  15. package/dist/models/BuyerCheckoutProfileDto.d.ts +116 -0
  16. package/dist/models/BuyerCheckoutProfileDto.js +107 -0
  17. package/dist/models/BuyerCheckoutProfileSummaryDto.d.ts +74 -0
  18. package/dist/models/BuyerCheckoutProfileSummaryDto.js +79 -0
  19. package/dist/models/BuyerLandingSessionOutput.d.ts +68 -0
  20. package/dist/models/BuyerLandingSessionOutput.js +75 -0
  21. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  22. package/dist/models/BuyerNotificationDto.js +1 -0
  23. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  24. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  25. package/dist/models/BuyerSessionEstablishTicketOutput.d.ts +32 -0
  26. package/dist/models/BuyerSessionEstablishTicketOutput.js +51 -0
  27. package/dist/models/BuyerSessionPurchaseTypeEnum.d.ts +26 -0
  28. package/dist/models/BuyerSessionPurchaseTypeEnum.js +52 -0
  29. package/dist/models/CreateBuyerSessionEstablishTicketInput.d.ts +38 -0
  30. package/dist/models/CreateBuyerSessionEstablishTicketInput.js +55 -0
  31. package/dist/models/CreateBuyerSessionFromPurchaseInput.d.ts +39 -0
  32. package/dist/models/CreateBuyerSessionFromPurchaseInput.js +56 -0
  33. package/dist/models/CreateDashboardBuyerSessionInput.d.ts +32 -0
  34. package/dist/models/CreateDashboardBuyerSessionInput.js +51 -0
  35. package/dist/models/ExchangeBuyerSessionCodeInput.d.ts +38 -0
  36. package/dist/models/ExchangeBuyerSessionCodeInput.js +55 -0
  37. package/dist/models/LeadEmailVerificationResultOutput.d.ts +33 -0
  38. package/dist/models/LeadEmailVerificationResultOutput.js +52 -0
  39. package/dist/models/LeadOfferSummaryCannotAcceptReason.d.ts +29 -0
  40. package/dist/models/LeadOfferSummaryCannotAcceptReason.js +55 -0
  41. package/dist/models/LeadOfferSummaryDto.d.ts +52 -0
  42. package/dist/models/LeadOfferSummaryDto.js +65 -0
  43. package/dist/models/LeadOfferSummaryItemDto.d.ts +61 -0
  44. package/dist/models/LeadOfferSummaryItemDto.js +74 -0
  45. package/dist/models/LeadPhoneVerificationResultOutput.d.ts +47 -0
  46. package/dist/models/LeadPhoneVerificationResultOutput.js +62 -0
  47. package/dist/models/UserNotificationDto.d.ts +1 -0
  48. package/dist/models/UserNotificationDto.js +1 -0
  49. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  50. package/dist/models/UserNotificationListItemDto.js +1 -0
  51. package/dist/models/VerifyBuyerSessionEmailOtpInput.d.ts +32 -0
  52. package/dist/models/VerifyBuyerSessionEmailOtpInput.js +51 -0
  53. package/dist/models/index.d.ts +16 -0
  54. package/dist/models/index.js +16 -0
  55. package/package.json +1 -1
  56. package/src/apis/AdminApi.ts +110 -0
  57. package/src/apis/BuyersApi.ts +56 -0
  58. package/src/apis/BuyersPublicApi.ts +378 -0
  59. package/src/apis/LeadsApi.ts +118 -0
  60. package/src/apis/LeadsPublicApi.ts +14 -7
  61. package/src/models/AcceptHighestBuyerLeadOfferInput.ts +66 -0
  62. package/src/models/BuyerCheckoutProfileDto.ts +192 -0
  63. package/src/models/BuyerCheckoutProfileSummaryDto.ts +129 -0
  64. package/src/models/BuyerLandingSessionOutput.ts +120 -0
  65. package/src/models/BuyerNotificationDto.ts +1 -0
  66. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  67. package/src/models/BuyerSessionEstablishTicketOutput.ts +66 -0
  68. package/src/models/BuyerSessionPurchaseTypeEnum.ts +54 -0
  69. package/src/models/CreateBuyerSessionEstablishTicketInput.ts +75 -0
  70. package/src/models/CreateBuyerSessionFromPurchaseInput.ts +85 -0
  71. package/src/models/CreateDashboardBuyerSessionInput.ts +66 -0
  72. package/src/models/ExchangeBuyerSessionCodeInput.ts +75 -0
  73. package/src/models/LeadEmailVerificationResultOutput.ts +74 -0
  74. package/src/models/LeadOfferSummaryCannotAcceptReason.ts +57 -0
  75. package/src/models/LeadOfferSummaryDto.ts +110 -0
  76. package/src/models/LeadOfferSummaryItemDto.ts +114 -0
  77. package/src/models/LeadPhoneVerificationResultOutput.ts +106 -0
  78. package/src/models/UserNotificationDto.ts +1 -0
  79. package/src/models/UserNotificationListItemDto.ts +1 -0
  80. package/src/models/VerifyBuyerSessionEmailOtpInput.ts +66 -0
  81. package/src/models/index.ts +16 -0
@@ -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 { BuyerLandingSessionOutput } from './BuyerLandingSessionOutput';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LeadEmailVerificationResultOutput
17
+ */
18
+ export interface LeadEmailVerificationResultOutput {
19
+ /**
20
+ * Buyer session for the landing that sent the request.
21
+ * @type {BuyerLandingSessionOutput}
22
+ * @memberof LeadEmailVerificationResultOutput
23
+ */
24
+ session: BuyerLandingSessionOutput | null;
25
+ }
26
+ /**
27
+ * Check if a given object implements the LeadEmailVerificationResultOutput interface.
28
+ */
29
+ export declare function instanceOfLeadEmailVerificationResultOutput(value: object): value is LeadEmailVerificationResultOutput;
30
+ export declare function LeadEmailVerificationResultOutputFromJSON(json: any): LeadEmailVerificationResultOutput;
31
+ export declare function LeadEmailVerificationResultOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEmailVerificationResultOutput;
32
+ export declare function LeadEmailVerificationResultOutputToJSON(json: any): LeadEmailVerificationResultOutput;
33
+ export declare function LeadEmailVerificationResultOutputToJSONTyped(value?: LeadEmailVerificationResultOutput | 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.instanceOfLeadEmailVerificationResultOutput = instanceOfLeadEmailVerificationResultOutput;
17
+ exports.LeadEmailVerificationResultOutputFromJSON = LeadEmailVerificationResultOutputFromJSON;
18
+ exports.LeadEmailVerificationResultOutputFromJSONTyped = LeadEmailVerificationResultOutputFromJSONTyped;
19
+ exports.LeadEmailVerificationResultOutputToJSON = LeadEmailVerificationResultOutputToJSON;
20
+ exports.LeadEmailVerificationResultOutputToJSONTyped = LeadEmailVerificationResultOutputToJSONTyped;
21
+ var BuyerLandingSessionOutput_1 = require("./BuyerLandingSessionOutput");
22
+ /**
23
+ * Check if a given object implements the LeadEmailVerificationResultOutput interface.
24
+ */
25
+ function instanceOfLeadEmailVerificationResultOutput(value) {
26
+ if (!('session' in value) || value['session'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function LeadEmailVerificationResultOutputFromJSON(json) {
31
+ return LeadEmailVerificationResultOutputFromJSONTyped(json, false);
32
+ }
33
+ function LeadEmailVerificationResultOutputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'session': (0, BuyerLandingSessionOutput_1.BuyerLandingSessionOutputFromJSON)(json['session']),
39
+ };
40
+ }
41
+ function LeadEmailVerificationResultOutputToJSON(json) {
42
+ return LeadEmailVerificationResultOutputToJSONTyped(json, false);
43
+ }
44
+ function LeadEmailVerificationResultOutputToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'session': (0, BuyerLandingSessionOutput_1.BuyerLandingSessionOutputToJSON)(value['session']),
51
+ };
52
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Why the highest buyer offer cannot be accepted, if so.
14
+ * @export
15
+ */
16
+ export declare const LeadOfferSummaryCannotAcceptReason: {
17
+ readonly NO_BUYER_OFFER: "no_buyer_offer";
18
+ readonly LEAD_NOT_NEGOTIABLE: "lead_not_negotiable";
19
+ readonly MANUAL_LEAD: "manual_lead";
20
+ readonly DOMAIN_IS_LOCKED: "domain_is_locked";
21
+ readonly DOMAIN_HAS_AN_AUCTION: "domain_has_an_auction";
22
+ readonly DOMAIN_NOT_PURCHASABLE: "domain_not_purchasable";
23
+ };
24
+ export type LeadOfferSummaryCannotAcceptReason = typeof LeadOfferSummaryCannotAcceptReason[keyof typeof LeadOfferSummaryCannotAcceptReason];
25
+ export declare function instanceOfLeadOfferSummaryCannotAcceptReason(value: any): boolean;
26
+ export declare function LeadOfferSummaryCannotAcceptReasonFromJSON(json: any): LeadOfferSummaryCannotAcceptReason;
27
+ export declare function LeadOfferSummaryCannotAcceptReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferSummaryCannotAcceptReason;
28
+ export declare function LeadOfferSummaryCannotAcceptReasonToJSON(value?: LeadOfferSummaryCannotAcceptReason | null): any;
29
+ export declare function LeadOfferSummaryCannotAcceptReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): LeadOfferSummaryCannotAcceptReason;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LeadOfferSummaryCannotAcceptReason = void 0;
17
+ exports.instanceOfLeadOfferSummaryCannotAcceptReason = instanceOfLeadOfferSummaryCannotAcceptReason;
18
+ exports.LeadOfferSummaryCannotAcceptReasonFromJSON = LeadOfferSummaryCannotAcceptReasonFromJSON;
19
+ exports.LeadOfferSummaryCannotAcceptReasonFromJSONTyped = LeadOfferSummaryCannotAcceptReasonFromJSONTyped;
20
+ exports.LeadOfferSummaryCannotAcceptReasonToJSON = LeadOfferSummaryCannotAcceptReasonToJSON;
21
+ exports.LeadOfferSummaryCannotAcceptReasonToJSONTyped = LeadOfferSummaryCannotAcceptReasonToJSONTyped;
22
+ /**
23
+ * Why the highest buyer offer cannot be accepted, if so.
24
+ * @export
25
+ */
26
+ exports.LeadOfferSummaryCannotAcceptReason = {
27
+ NO_BUYER_OFFER: 'no_buyer_offer',
28
+ LEAD_NOT_NEGOTIABLE: 'lead_not_negotiable',
29
+ MANUAL_LEAD: 'manual_lead',
30
+ DOMAIN_IS_LOCKED: 'domain_is_locked',
31
+ DOMAIN_HAS_AN_AUCTION: 'domain_has_an_auction',
32
+ DOMAIN_NOT_PURCHASABLE: 'domain_not_purchasable'
33
+ };
34
+ function instanceOfLeadOfferSummaryCannotAcceptReason(value) {
35
+ for (var key in exports.LeadOfferSummaryCannotAcceptReason) {
36
+ if (Object.prototype.hasOwnProperty.call(exports.LeadOfferSummaryCannotAcceptReason, key)) {
37
+ if (exports.LeadOfferSummaryCannotAcceptReason[key] === value) {
38
+ return true;
39
+ }
40
+ }
41
+ }
42
+ return false;
43
+ }
44
+ function LeadOfferSummaryCannotAcceptReasonFromJSON(json) {
45
+ return LeadOfferSummaryCannotAcceptReasonFromJSONTyped(json, false);
46
+ }
47
+ function LeadOfferSummaryCannotAcceptReasonFromJSONTyped(json, ignoreDiscriminator) {
48
+ return json;
49
+ }
50
+ function LeadOfferSummaryCannotAcceptReasonToJSON(value) {
51
+ return value;
52
+ }
53
+ function LeadOfferSummaryCannotAcceptReasonToJSONTyped(value, ignoreDiscriminator) {
54
+ return value;
55
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { LeadOfferSummaryCannotAcceptReason } from './LeadOfferSummaryCannotAcceptReason';
13
+ import type { LeadOfferSummaryItemDto } from './LeadOfferSummaryItemDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface LeadOfferSummaryDto
18
+ */
19
+ export interface LeadOfferSummaryDto {
20
+ /**
21
+ * The highest plain purchase offer the buyer made and did not withdraw, in the domain currency. Null when there is none.
22
+ * @type {LeadOfferSummaryItemDto}
23
+ * @memberof LeadOfferSummaryDto
24
+ */
25
+ highestBuyerOffer: LeadOfferSummaryItemDto | null;
26
+ /**
27
+ * The lowest plain purchase offer the seller side (seller or price negotiator) made and did not withdraw, in the domain currency. Null when there is none.
28
+ * @type {LeadOfferSummaryItemDto}
29
+ * @memberof LeadOfferSummaryDto
30
+ */
31
+ lowestSellerOffer: LeadOfferSummaryItemDto | null;
32
+ /**
33
+ * Whether the highest buyer offer can be accepted right now with the accept-highest-buyer-offer endpoint.
34
+ * @type {boolean}
35
+ * @memberof LeadOfferSummaryDto
36
+ */
37
+ canAcceptHighestBuyerOffer: boolean;
38
+ /**
39
+ * Why the highest buyer offer cannot be accepted, if so.
40
+ * @type {LeadOfferSummaryCannotAcceptReason}
41
+ * @memberof LeadOfferSummaryDto
42
+ */
43
+ cannotAcceptReason: LeadOfferSummaryCannotAcceptReason | null;
44
+ }
45
+ /**
46
+ * Check if a given object implements the LeadOfferSummaryDto interface.
47
+ */
48
+ export declare function instanceOfLeadOfferSummaryDto(value: object): value is LeadOfferSummaryDto;
49
+ export declare function LeadOfferSummaryDtoFromJSON(json: any): LeadOfferSummaryDto;
50
+ export declare function LeadOfferSummaryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferSummaryDto;
51
+ export declare function LeadOfferSummaryDtoToJSON(json: any): LeadOfferSummaryDto;
52
+ export declare function LeadOfferSummaryDtoToJSONTyped(value?: LeadOfferSummaryDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLeadOfferSummaryDto = instanceOfLeadOfferSummaryDto;
17
+ exports.LeadOfferSummaryDtoFromJSON = LeadOfferSummaryDtoFromJSON;
18
+ exports.LeadOfferSummaryDtoFromJSONTyped = LeadOfferSummaryDtoFromJSONTyped;
19
+ exports.LeadOfferSummaryDtoToJSON = LeadOfferSummaryDtoToJSON;
20
+ exports.LeadOfferSummaryDtoToJSONTyped = LeadOfferSummaryDtoToJSONTyped;
21
+ var LeadOfferSummaryCannotAcceptReason_1 = require("./LeadOfferSummaryCannotAcceptReason");
22
+ var LeadOfferSummaryItemDto_1 = require("./LeadOfferSummaryItemDto");
23
+ /**
24
+ * Check if a given object implements the LeadOfferSummaryDto interface.
25
+ */
26
+ function instanceOfLeadOfferSummaryDto(value) {
27
+ if (!('highestBuyerOffer' in value) || value['highestBuyerOffer'] === undefined)
28
+ return false;
29
+ if (!('lowestSellerOffer' in value) || value['lowestSellerOffer'] === undefined)
30
+ return false;
31
+ if (!('canAcceptHighestBuyerOffer' in value) || value['canAcceptHighestBuyerOffer'] === undefined)
32
+ return false;
33
+ if (!('cannotAcceptReason' in value) || value['cannotAcceptReason'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function LeadOfferSummaryDtoFromJSON(json) {
38
+ return LeadOfferSummaryDtoFromJSONTyped(json, false);
39
+ }
40
+ function LeadOfferSummaryDtoFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'highestBuyerOffer': (0, LeadOfferSummaryItemDto_1.LeadOfferSummaryItemDtoFromJSON)(json['highestBuyerOffer']),
46
+ 'lowestSellerOffer': (0, LeadOfferSummaryItemDto_1.LeadOfferSummaryItemDtoFromJSON)(json['lowestSellerOffer']),
47
+ 'canAcceptHighestBuyerOffer': json['canAcceptHighestBuyerOffer'],
48
+ 'cannotAcceptReason': (0, LeadOfferSummaryCannotAcceptReason_1.LeadOfferSummaryCannotAcceptReasonFromJSON)(json['cannotAcceptReason']),
49
+ };
50
+ }
51
+ function LeadOfferSummaryDtoToJSON(json) {
52
+ return LeadOfferSummaryDtoToJSONTyped(json, false);
53
+ }
54
+ function LeadOfferSummaryDtoToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'highestBuyerOffer': (0, LeadOfferSummaryItemDto_1.LeadOfferSummaryItemDtoToJSON)(value['highestBuyerOffer']),
61
+ 'lowestSellerOffer': (0, LeadOfferSummaryItemDto_1.LeadOfferSummaryItemDtoToJSON)(value['lowestSellerOffer']),
62
+ 'canAcceptHighestBuyerOffer': value['canAcceptHighestBuyerOffer'],
63
+ 'cannotAcceptReason': (0, LeadOfferSummaryCannotAcceptReason_1.LeadOfferSummaryCannotAcceptReasonToJSON)(value['cannotAcceptReason']),
64
+ };
65
+ }
@@ -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,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 { LeadEmailVerificationDto } from './LeadEmailVerificationDto';
13
+ import type { BuyerLandingSessionOutput } from './BuyerLandingSessionOutput';
14
+ import type { LeadPhoneVerificationDto } from './LeadPhoneVerificationDto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface LeadPhoneVerificationResultOutput
19
+ */
20
+ export interface LeadPhoneVerificationResultOutput {
21
+ /**
22
+ *
23
+ * @type {LeadEmailVerificationDto}
24
+ * @memberof LeadPhoneVerificationResultOutput
25
+ */
26
+ email: LeadEmailVerificationDto;
27
+ /**
28
+ *
29
+ * @type {LeadPhoneVerificationDto}
30
+ * @memberof LeadPhoneVerificationResultOutput
31
+ */
32
+ phone: LeadPhoneVerificationDto;
33
+ /**
34
+ * Buyer session for the landing that sent the request.
35
+ * @type {BuyerLandingSessionOutput}
36
+ * @memberof LeadPhoneVerificationResultOutput
37
+ */
38
+ session: BuyerLandingSessionOutput | null;
39
+ }
40
+ /**
41
+ * Check if a given object implements the LeadPhoneVerificationResultOutput interface.
42
+ */
43
+ export declare function instanceOfLeadPhoneVerificationResultOutput(value: object): value is LeadPhoneVerificationResultOutput;
44
+ export declare function LeadPhoneVerificationResultOutputFromJSON(json: any): LeadPhoneVerificationResultOutput;
45
+ export declare function LeadPhoneVerificationResultOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadPhoneVerificationResultOutput;
46
+ export declare function LeadPhoneVerificationResultOutputToJSON(json: any): LeadPhoneVerificationResultOutput;
47
+ export declare function LeadPhoneVerificationResultOutputToJSONTyped(value?: LeadPhoneVerificationResultOutput | 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.instanceOfLeadPhoneVerificationResultOutput = instanceOfLeadPhoneVerificationResultOutput;
17
+ exports.LeadPhoneVerificationResultOutputFromJSON = LeadPhoneVerificationResultOutputFromJSON;
18
+ exports.LeadPhoneVerificationResultOutputFromJSONTyped = LeadPhoneVerificationResultOutputFromJSONTyped;
19
+ exports.LeadPhoneVerificationResultOutputToJSON = LeadPhoneVerificationResultOutputToJSON;
20
+ exports.LeadPhoneVerificationResultOutputToJSONTyped = LeadPhoneVerificationResultOutputToJSONTyped;
21
+ var LeadEmailVerificationDto_1 = require("./LeadEmailVerificationDto");
22
+ var BuyerLandingSessionOutput_1 = require("./BuyerLandingSessionOutput");
23
+ var LeadPhoneVerificationDto_1 = require("./LeadPhoneVerificationDto");
24
+ /**
25
+ * Check if a given object implements the LeadPhoneVerificationResultOutput interface.
26
+ */
27
+ function instanceOfLeadPhoneVerificationResultOutput(value) {
28
+ if (!('email' in value) || value['email'] === undefined)
29
+ return false;
30
+ if (!('phone' in value) || value['phone'] === undefined)
31
+ return false;
32
+ if (!('session' in value) || value['session'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function LeadPhoneVerificationResultOutputFromJSON(json) {
37
+ return LeadPhoneVerificationResultOutputFromJSONTyped(json, false);
38
+ }
39
+ function LeadPhoneVerificationResultOutputFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'email': (0, LeadEmailVerificationDto_1.LeadEmailVerificationDtoFromJSON)(json['email']),
45
+ 'phone': (0, LeadPhoneVerificationDto_1.LeadPhoneVerificationDtoFromJSON)(json['phone']),
46
+ 'session': (0, BuyerLandingSessionOutput_1.BuyerLandingSessionOutputFromJSON)(json['session']),
47
+ };
48
+ }
49
+ function LeadPhoneVerificationResultOutputToJSON(json) {
50
+ return LeadPhoneVerificationResultOutputToJSONTyped(json, false);
51
+ }
52
+ function LeadPhoneVerificationResultOutputToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'email': (0, LeadEmailVerificationDto_1.LeadEmailVerificationDtoToJSON)(value['email']),
59
+ 'phone': (0, LeadPhoneVerificationDto_1.LeadPhoneVerificationDtoToJSON)(value['phone']),
60
+ 'session': (0, BuyerLandingSessionOutput_1.BuyerLandingSessionOutputToJSON)(value['session']),
61
+ };
62
+ }
@@ -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',
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface VerifyBuyerSessionEmailOtpInput
16
+ */
17
+ export interface VerifyBuyerSessionEmailOtpInput {
18
+ /**
19
+ * Code emailed to the buyer.
20
+ * @type {string}
21
+ * @memberof VerifyBuyerSessionEmailOtpInput
22
+ */
23
+ code: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the VerifyBuyerSessionEmailOtpInput interface.
27
+ */
28
+ export declare function instanceOfVerifyBuyerSessionEmailOtpInput(value: object): value is VerifyBuyerSessionEmailOtpInput;
29
+ export declare function VerifyBuyerSessionEmailOtpInputFromJSON(json: any): VerifyBuyerSessionEmailOtpInput;
30
+ export declare function VerifyBuyerSessionEmailOtpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyBuyerSessionEmailOtpInput;
31
+ export declare function VerifyBuyerSessionEmailOtpInputToJSON(json: any): VerifyBuyerSessionEmailOtpInput;
32
+ export declare function VerifyBuyerSessionEmailOtpInputToJSONTyped(value?: VerifyBuyerSessionEmailOtpInput | null, ignoreDiscriminator?: boolean): any;