@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,106 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { LeadEmailVerificationDto } from './LeadEmailVerificationDto';
17
+ import {
18
+ LeadEmailVerificationDtoFromJSON,
19
+ LeadEmailVerificationDtoFromJSONTyped,
20
+ LeadEmailVerificationDtoToJSON,
21
+ LeadEmailVerificationDtoToJSONTyped,
22
+ } from './LeadEmailVerificationDto';
23
+ import type { BuyerLandingSessionOutput } from './BuyerLandingSessionOutput';
24
+ import {
25
+ BuyerLandingSessionOutputFromJSON,
26
+ BuyerLandingSessionOutputFromJSONTyped,
27
+ BuyerLandingSessionOutputToJSON,
28
+ BuyerLandingSessionOutputToJSONTyped,
29
+ } from './BuyerLandingSessionOutput';
30
+ import type { LeadPhoneVerificationDto } from './LeadPhoneVerificationDto';
31
+ import {
32
+ LeadPhoneVerificationDtoFromJSON,
33
+ LeadPhoneVerificationDtoFromJSONTyped,
34
+ LeadPhoneVerificationDtoToJSON,
35
+ LeadPhoneVerificationDtoToJSONTyped,
36
+ } from './LeadPhoneVerificationDto';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface LeadPhoneVerificationResultOutput
42
+ */
43
+ export interface LeadPhoneVerificationResultOutput {
44
+ /**
45
+ *
46
+ * @type {LeadEmailVerificationDto}
47
+ * @memberof LeadPhoneVerificationResultOutput
48
+ */
49
+ email: LeadEmailVerificationDto;
50
+ /**
51
+ *
52
+ * @type {LeadPhoneVerificationDto}
53
+ * @memberof LeadPhoneVerificationResultOutput
54
+ */
55
+ phone: LeadPhoneVerificationDto;
56
+ /**
57
+ * Buyer session for the landing that sent the request.
58
+ * @type {BuyerLandingSessionOutput}
59
+ * @memberof LeadPhoneVerificationResultOutput
60
+ */
61
+ session: BuyerLandingSessionOutput | null;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the LeadPhoneVerificationResultOutput interface.
66
+ */
67
+ export function instanceOfLeadPhoneVerificationResultOutput(value: object): value is LeadPhoneVerificationResultOutput {
68
+ if (!('email' in value) || value['email'] === undefined) return false;
69
+ if (!('phone' in value) || value['phone'] === undefined) return false;
70
+ if (!('session' in value) || value['session'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function LeadPhoneVerificationResultOutputFromJSON(json: any): LeadPhoneVerificationResultOutput {
75
+ return LeadPhoneVerificationResultOutputFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function LeadPhoneVerificationResultOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadPhoneVerificationResultOutput {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'email': LeadEmailVerificationDtoFromJSON(json['email']),
85
+ 'phone': LeadPhoneVerificationDtoFromJSON(json['phone']),
86
+ 'session': BuyerLandingSessionOutputFromJSON(json['session']),
87
+ };
88
+ }
89
+
90
+ export function LeadPhoneVerificationResultOutputToJSON(json: any): LeadPhoneVerificationResultOutput {
91
+ return LeadPhoneVerificationResultOutputToJSONTyped(json, false);
92
+ }
93
+
94
+ export function LeadPhoneVerificationResultOutputToJSONTyped(value?: LeadPhoneVerificationResultOutput | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'email': LeadEmailVerificationDtoToJSON(value['email']),
102
+ 'phone': LeadPhoneVerificationDtoToJSON(value['phone']),
103
+ 'session': BuyerLandingSessionOutputToJSON(value['session']),
104
+ };
105
+ }
106
+
@@ -115,6 +115,7 @@ export const UserNotificationDtoTypeEnum = {
115
115
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
116
116
  DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
117
117
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
118
+ DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_earlier_offer_accepted_continue_order_email',
118
119
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
119
120
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
120
121
  DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
@@ -101,6 +101,7 @@ export const UserNotificationListItemDtoTypeEnum = {
101
101
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
102
102
  DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
103
103
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
104
+ DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_earlier_offer_accepted_continue_order_email',
104
105
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
105
106
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
106
107
  DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface VerifyBuyerSessionEmailOtpInput
20
+ */
21
+ export interface VerifyBuyerSessionEmailOtpInput {
22
+ /**
23
+ * Code emailed to the buyer.
24
+ * @type {string}
25
+ * @memberof VerifyBuyerSessionEmailOtpInput
26
+ */
27
+ code: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the VerifyBuyerSessionEmailOtpInput interface.
32
+ */
33
+ export function instanceOfVerifyBuyerSessionEmailOtpInput(value: object): value is VerifyBuyerSessionEmailOtpInput {
34
+ if (!('code' in value) || value['code'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function VerifyBuyerSessionEmailOtpInputFromJSON(json: any): VerifyBuyerSessionEmailOtpInput {
39
+ return VerifyBuyerSessionEmailOtpInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function VerifyBuyerSessionEmailOtpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyBuyerSessionEmailOtpInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'code': json['code'],
49
+ };
50
+ }
51
+
52
+ export function VerifyBuyerSessionEmailOtpInputToJSON(json: any): VerifyBuyerSessionEmailOtpInput {
53
+ return VerifyBuyerSessionEmailOtpInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function VerifyBuyerSessionEmailOtpInputToJSONTyped(value?: VerifyBuyerSessionEmailOtpInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'code': value['code'],
64
+ };
65
+ }
66
+
@@ -1,5 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './AcceptHighestBuyerLeadOfferInput';
3
4
  export * from './AccountAliasDto';
4
5
  export * from './AccountAliasInput';
5
6
  export * from './AccountBankAccountDetailsDto';
@@ -183,6 +184,8 @@ export * from './BuyerAuctionDetailDtoDomain';
183
184
  export * from './BuyerAuctionListItemDto';
184
185
  export * from './BuyerAuctionListItemDtoDomainInformation';
185
186
  export * from './BuyerAuctionListItemDtoSellerAccount';
187
+ export * from './BuyerCheckoutProfileDto';
188
+ export * from './BuyerCheckoutProfileSummaryDto';
186
189
  export * from './BuyerDomainAppraisalRequestCheckoutDto';
187
190
  export * from './BuyerDomainNameserverItemDto';
188
191
  export * from './BuyerDomainRecordItemDto';
@@ -195,6 +198,7 @@ export * from './BuyerExperienceEnum';
195
198
  export * from './BuyerInvoiceDomainDto';
196
199
  export * from './BuyerInvoiceDto';
197
200
  export * from './BuyerInvoiceSellerAccountDto';
201
+ export * from './BuyerLandingSessionOutput';
198
202
  export * from './BuyerLeadListItemDomainDto';
199
203
  export * from './BuyerLeadListItemDto';
200
204
  export * from './BuyerLoginDto';
@@ -205,6 +209,8 @@ export * from './BuyerNotificationSettingsDto';
205
209
  export * from './BuyerPaymentEnum';
206
210
  export * from './BuyerSecurityUserDto';
207
211
  export * from './BuyerSessionDto';
212
+ export * from './BuyerSessionEstablishTicketOutput';
213
+ export * from './BuyerSessionPurchaseTypeEnum';
208
214
  export * from './BuyerSubscriptionListItemDto';
209
215
  export * from './BuyerSubscriptionListItemDtoDomainInformation';
210
216
  export * from './BuyerTaskDetailsDto';
@@ -254,7 +260,10 @@ export * from './CreateBankAccountInput';
254
260
  export * from './CreateBrokeredLeadInput';
255
261
  export * from './CreateBuyerDomainAppraisalRequestInput';
256
262
  export * from './CreateBuyerLeadMessageInput';
263
+ export * from './CreateBuyerSessionEstablishTicketInput';
264
+ export * from './CreateBuyerSessionFromPurchaseInput';
257
265
  export * from './CreateChallengeInput';
266
+ export * from './CreateDashboardBuyerSessionInput';
258
267
  export * from './CreateInformationRequestLeadInput';
259
268
  export * from './CreateLeadInput';
260
269
  export * from './CreateLeadMessageInput';
@@ -333,6 +342,7 @@ export * from './DomainTransferWorkflowDto';
333
342
  export * from './DomainUrlDto';
334
343
  export * from './DomainVerificationStatusDto';
335
344
  export * from './EppBatchUpdateInput';
345
+ export * from './ExchangeBuyerSessionCodeInput';
336
346
  export * from './FeatureFlagListItemDto';
337
347
  export * from './FixedCommissionPayloadDto';
338
348
  export * from './FixedCommissionPayloadInput';
@@ -405,6 +415,7 @@ export * from './LeadBuyerConfigDto';
405
415
  export * from './LeadDomainDto';
406
416
  export * from './LeadDto';
407
417
  export * from './LeadEmailVerificationDto';
418
+ export * from './LeadEmailVerificationResultOutput';
408
419
  export * from './LeadEnrichmentActivityDto';
409
420
  export * from './LeadEnrichmentCompanyDto';
410
421
  export * from './LeadEnrichmentDomainDto';
@@ -428,9 +439,13 @@ export * from './LeadOfferDto';
428
439
  export * from './LeadOfferExpirationConfigurationDto';
429
440
  export * from './LeadOfferExpirationConfigurationInput';
430
441
  export * from './LeadOfferExpirationDurationInput';
442
+ export * from './LeadOfferSummaryCannotAcceptReason';
443
+ export * from './LeadOfferSummaryDto';
444
+ export * from './LeadOfferSummaryItemDto';
431
445
  export * from './LeadPhoneVerificationDeliveryDto';
432
446
  export * from './LeadPhoneVerificationDto';
433
447
  export * from './LeadPhoneVerificationReason';
448
+ export * from './LeadPhoneVerificationResultOutput';
434
449
  export * from './LeadPhoneVerificationSummaryDto';
435
450
  export * from './LeadPhoneVerificationTooSoonOutput';
436
451
  export * from './LeadPhoneVerificationUnavailableOutput';
@@ -737,6 +752,7 @@ export * from './ValidateTaxNumberDto';
737
752
  export * from './ValidateTaxNumberInput';
738
753
  export * from './ValidationError';
739
754
  export * from './ValidationException';
755
+ export * from './VerifyBuyerSessionEmailOtpInput';
740
756
  export * from './VerifyEmailOtpInput';
741
757
  export * from './VerifyLeadInput';
742
758
  export * from './VerifyLeadPhoneInput';