@randock/nameshift-api-client 0.0.458 → 0.0.460

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 (69) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +3 -3
  3. package/dist/apis/DomainsApi.d.ts +43 -9
  4. package/dist/apis/DomainsApi.js +156 -10
  5. package/dist/apis/JobsApi.d.ts +51 -0
  6. package/dist/apis/JobsApi.js +222 -0
  7. package/dist/apis/UsersApi.d.ts +27 -1
  8. package/dist/apis/UsersApi.js +108 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/models/ApplyDomainEditInput.d.ts +40 -0
  12. package/dist/models/ApplyDomainEditInput.js +53 -0
  13. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  14. package/dist/models/BuyerNotificationDto.js +1 -0
  15. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  16. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  17. package/dist/models/DomainEditPreviewDto.d.ts +83 -0
  18. package/dist/models/DomainEditPreviewDto.js +84 -0
  19. package/dist/models/DomainEditPreviewRowDto.d.ts +60 -0
  20. package/dist/models/DomainEditPreviewRowDto.js +67 -0
  21. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  22. package/dist/models/FeatureFlagListItemDto.js +2 -1
  23. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  24. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  25. package/dist/models/JobDto.d.ts +101 -0
  26. package/dist/models/JobDto.js +98 -0
  27. package/dist/models/JobFailureDto.d.ts +38 -0
  28. package/dist/models/JobFailureDto.js +55 -0
  29. package/dist/models/JobStatus.d.ts +27 -0
  30. package/dist/models/JobStatus.js +53 -0
  31. package/dist/models/JobType.d.ts +24 -0
  32. package/dist/models/JobType.js +50 -0
  33. package/dist/models/ListJobs200Response.d.ts +47 -0
  34. package/dist/models/ListJobs200Response.js +62 -0
  35. package/dist/models/PreviewDomainEditInput.d.ts +38 -0
  36. package/dist/models/PreviewDomainEditInput.js +53 -0
  37. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  38. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  39. package/dist/models/RegisterUserPushTokenInput.d.ts +46 -0
  40. package/dist/models/RegisterUserPushTokenInput.js +63 -0
  41. package/dist/models/UserNotificationDto.d.ts +1 -0
  42. package/dist/models/UserNotificationDto.js +1 -0
  43. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  44. package/dist/models/UserNotificationListItemDto.js +1 -0
  45. package/dist/models/index.d.ts +10 -0
  46. package/dist/models/index.js +10 -0
  47. package/package.json +1 -1
  48. package/src/apis/DomainsApi.ts +154 -12
  49. package/src/apis/JobsApi.ts +163 -0
  50. package/src/apis/UsersApi.ts +98 -0
  51. package/src/apis/index.ts +1 -0
  52. package/src/models/ApplyDomainEditInput.ts +74 -0
  53. package/src/models/BuyerNotificationDto.ts +1 -0
  54. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  55. package/src/models/DomainEditPreviewDto.ts +146 -0
  56. package/src/models/DomainEditPreviewRowDto.ts +102 -0
  57. package/src/models/FeatureFlagListItemDto.ts +2 -1
  58. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  59. package/src/models/JobDto.ts +189 -0
  60. package/src/models/JobFailureDto.ts +75 -0
  61. package/src/models/JobStatus.ts +55 -0
  62. package/src/models/JobType.ts +52 -0
  63. package/src/models/ListJobs200Response.ts +106 -0
  64. package/src/models/PreviewDomainEditInput.ts +74 -0
  65. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  66. package/src/models/RegisterUserPushTokenInput.ts +86 -0
  67. package/src/models/UserNotificationDto.ts +1 -0
  68. package/src/models/UserNotificationListItemDto.ts +1 -0
  69. package/src/models/index.ts +10 -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 { PaginateResponseLinks } from './PaginateResponseLinks';
17
+ import {
18
+ PaginateResponseLinksFromJSON,
19
+ PaginateResponseLinksFromJSONTyped,
20
+ PaginateResponseLinksToJSON,
21
+ PaginateResponseLinksToJSONTyped,
22
+ } from './PaginateResponseLinks';
23
+ import type { JobDto } from './JobDto';
24
+ import {
25
+ JobDtoFromJSON,
26
+ JobDtoFromJSONTyped,
27
+ JobDtoToJSON,
28
+ JobDtoToJSONTyped,
29
+ } from './JobDto';
30
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
+ import {
32
+ PaginateResponseMetaFromJSON,
33
+ PaginateResponseMetaFromJSONTyped,
34
+ PaginateResponseMetaToJSON,
35
+ PaginateResponseMetaToJSONTyped,
36
+ } from './PaginateResponseMeta';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface ListJobs200Response
42
+ */
43
+ export interface ListJobs200Response {
44
+ /**
45
+ *
46
+ * @type {Array<JobDto>}
47
+ * @memberof ListJobs200Response
48
+ */
49
+ data: Array<JobDto>;
50
+ /**
51
+ *
52
+ * @type {PaginateResponseMeta}
53
+ * @memberof ListJobs200Response
54
+ */
55
+ meta: PaginateResponseMeta;
56
+ /**
57
+ *
58
+ * @type {PaginateResponseLinks}
59
+ * @memberof ListJobs200Response
60
+ */
61
+ links: PaginateResponseLinks;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the ListJobs200Response interface.
66
+ */
67
+ export function instanceOfListJobs200Response(value: object): value is ListJobs200Response {
68
+ if (!('data' in value) || value['data'] === undefined) return false;
69
+ if (!('meta' in value) || value['meta'] === undefined) return false;
70
+ if (!('links' in value) || value['links'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function ListJobs200ResponseFromJSON(json: any): ListJobs200Response {
75
+ return ListJobs200ResponseFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function ListJobs200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListJobs200Response {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'data': ((json['data'] as Array<any>).map(JobDtoFromJSON)),
85
+ 'meta': PaginateResponseMetaFromJSON(json['meta']),
86
+ 'links': PaginateResponseLinksFromJSON(json['links']),
87
+ };
88
+ }
89
+
90
+ export function ListJobs200ResponseToJSON(json: any): ListJobs200Response {
91
+ return ListJobs200ResponseToJSONTyped(json, false);
92
+ }
93
+
94
+ export function ListJobs200ResponseToJSONTyped(value?: ListJobs200Response | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'data': ((value['data'] as Array<any>).map(JobDtoToJSON)),
102
+ 'meta': PaginateResponseMetaToJSON(value['meta']),
103
+ 'links': PaginateResponseLinksToJSON(value['links']),
104
+ };
105
+ }
106
+
@@ -0,0 +1,74 @@
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 PreviewDomainEditInput
20
+ */
21
+ export interface PreviewDomainEditInput {
22
+ /**
23
+ * The selected domains. Omit to apply to everything the filter and searchFilter match.
24
+ * @type {Array<string>}
25
+ * @memberof PreviewDomainEditInput
26
+ */
27
+ domainIds?: Array<string>;
28
+ /**
29
+ * The change the seller wants, in their own words.
30
+ * @type {string}
31
+ * @memberof PreviewDomainEditInput
32
+ */
33
+ request: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the PreviewDomainEditInput interface.
38
+ */
39
+ export function instanceOfPreviewDomainEditInput(value: object): value is PreviewDomainEditInput {
40
+ if (!('request' in value) || value['request'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function PreviewDomainEditInputFromJSON(json: any): PreviewDomainEditInput {
45
+ return PreviewDomainEditInputFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function PreviewDomainEditInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewDomainEditInput {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'domainIds': json['domainIds'] == null ? undefined : json['domainIds'],
55
+ 'request': json['request'],
56
+ };
57
+ }
58
+
59
+ export function PreviewDomainEditInputToJSON(json: any): PreviewDomainEditInput {
60
+ return PreviewDomainEditInputToJSONTyped(json, false);
61
+ }
62
+
63
+ export function PreviewDomainEditInputToJSONTyped(value?: PreviewDomainEditInput | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'domainIds': value['domainIds'],
71
+ 'request': value['request'],
72
+ };
73
+ }
74
+
@@ -186,7 +186,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
186
186
  USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
187
187
  USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
188
188
  AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
189
- MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING'
189
+ MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
190
+ AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT'
190
191
  } as const;
191
192
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
192
193
 
@@ -0,0 +1,86 @@
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 RegisterUserPushTokenInput
20
+ */
21
+ export interface RegisterUserPushTokenInput {
22
+ /**
23
+ * Expo push token identifying this device
24
+ * @type {string}
25
+ * @memberof RegisterUserPushTokenInput
26
+ */
27
+ token: string;
28
+ /**
29
+ * Platform of the device the token belongs to
30
+ * @type {string}
31
+ * @memberof RegisterUserPushTokenInput
32
+ */
33
+ platform: RegisterUserPushTokenInputPlatformEnum;
34
+ }
35
+
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const RegisterUserPushTokenInputPlatformEnum = {
41
+ IOS: 'ios',
42
+ ANDROID: 'android'
43
+ } as const;
44
+ export type RegisterUserPushTokenInputPlatformEnum = typeof RegisterUserPushTokenInputPlatformEnum[keyof typeof RegisterUserPushTokenInputPlatformEnum];
45
+
46
+
47
+ /**
48
+ * Check if a given object implements the RegisterUserPushTokenInput interface.
49
+ */
50
+ export function instanceOfRegisterUserPushTokenInput(value: object): value is RegisterUserPushTokenInput {
51
+ if (!('token' in value) || value['token'] === undefined) return false;
52
+ if (!('platform' in value) || value['platform'] === undefined) return false;
53
+ return true;
54
+ }
55
+
56
+ export function RegisterUserPushTokenInputFromJSON(json: any): RegisterUserPushTokenInput {
57
+ return RegisterUserPushTokenInputFromJSONTyped(json, false);
58
+ }
59
+
60
+ export function RegisterUserPushTokenInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterUserPushTokenInput {
61
+ if (json == null) {
62
+ return json;
63
+ }
64
+ return {
65
+
66
+ 'token': json['token'],
67
+ 'platform': json['platform'],
68
+ };
69
+ }
70
+
71
+ export function RegisterUserPushTokenInputToJSON(json: any): RegisterUserPushTokenInput {
72
+ return RegisterUserPushTokenInputToJSONTyped(json, false);
73
+ }
74
+
75
+ export function RegisterUserPushTokenInputToJSONTyped(value?: RegisterUserPushTokenInput | null, ignoreDiscriminator: boolean = false): any {
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+
80
+ return {
81
+
82
+ 'token': value['token'],
83
+ 'platform': value['platform'],
84
+ };
85
+ }
86
+
@@ -133,6 +133,7 @@ export const UserNotificationDtoTypeEnum = {
133
133
  SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
134
134
  SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
135
135
  EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
136
+ BULK_EDIT_DOMAINS_FINISHED: 'bulk_edit_domains_finished',
136
137
  ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
137
138
  PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
138
139
  DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
@@ -119,6 +119,7 @@ export const UserNotificationListItemDtoTypeEnum = {
119
119
  SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
120
120
  SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
121
121
  EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
122
+ BULK_EDIT_DOMAINS_FINISHED: 'bulk_edit_domains_finished',
122
123
  ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
123
124
  PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
124
125
  DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
@@ -75,6 +75,7 @@ export * from './AirwallexDepositDto';
75
75
  export * from './AirwallexDepositDtoFee';
76
76
  export * from './ApiKeyDto';
77
77
  export * from './ApiKeyScopeDto';
78
+ export * from './ApplyDomainEditInput';
78
79
  export * from './AuBankAccountDetails';
79
80
  export * from './AuctionBidDto';
80
81
  export * from './AuctionBidInput';
@@ -183,6 +184,8 @@ export * from './CursorBasedPaginationResponse';
183
184
  export * from './DeleteDomainsInput';
184
185
  export * from './DomainAuctionDto';
185
186
  export * from './DomainCategoryItemDto';
187
+ export * from './DomainEditPreviewDto';
188
+ export * from './DomainEditPreviewRowDto';
186
189
  export * from './DomainExchangeRateDto';
187
190
  export * from './DomainFiltersDto';
188
191
  export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
@@ -270,6 +273,10 @@ export * from './InvoiceItemDto';
270
273
  export * from './InvoiceItemTaxDto';
271
274
  export * from './InvoiceSellerAccountDto';
272
275
  export * from './InvoiceTransactionDto';
276
+ export * from './JobDto';
277
+ export * from './JobFailureDto';
278
+ export * from './JobStatus';
279
+ export * from './JobType';
273
280
  export * from './LandingPageDesignSettingsDto';
274
281
  export * from './LandingPageDesignSettingsInput';
275
282
  export * from './LandingPageInput';
@@ -320,6 +327,7 @@ export * from './ListBankDeposits200Response';
320
327
  export * from './ListBuyerNotifications200Response';
321
328
  export * from './ListDomains200Response';
322
329
  export * from './ListDomainsWithUpdatedPricing200Response';
330
+ export * from './ListJobs200Response';
323
331
  export * from './ListLeadMessagesDto';
324
332
  export * from './ListLeads200Response';
325
333
  export * from './ListLeadsResultItem';
@@ -365,6 +373,7 @@ export * from './PartnerDomainFindDto';
365
373
  export * from './PayAccountPaymentInput';
366
374
  export * from './PaymentMethodsStatsDto';
367
375
  export * from './PopularCategoryDto';
376
+ export * from './PreviewDomainEditInput';
368
377
  export * from './PrivateAccountGetMeResponse';
369
378
  export * from './PublicAccountInformationDto';
370
379
  export * from './PublicAuctionListItemDto';
@@ -385,6 +394,7 @@ export * from './RegisterAccountInput';
385
394
  export * from './RegisterAccountPortfolioSizeInput';
386
395
  export * from './RegisterAuctionBuyerPhoneInput';
387
396
  export * from './RegisterInput';
397
+ export * from './RegisterUserPushTokenInput';
388
398
  export * from './RelatedDomainsDto';
389
399
  export * from './RelatedLeadDto';
390
400
  export * from './RelatedSellerDomain';