@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.
- package/.openapi-generator/FILES +11 -0
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +43 -9
- package/dist/apis/DomainsApi.js +156 -10
- package/dist/apis/JobsApi.d.ts +51 -0
- package/dist/apis/JobsApi.js +222 -0
- package/dist/apis/UsersApi.d.ts +27 -1
- package/dist/apis/UsersApi.js +108 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ApplyDomainEditInput.d.ts +40 -0
- package/dist/models/ApplyDomainEditInput.js +53 -0
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/DomainEditPreviewDto.d.ts +83 -0
- package/dist/models/DomainEditPreviewDto.js +84 -0
- package/dist/models/DomainEditPreviewRowDto.d.ts +60 -0
- package/dist/models/DomainEditPreviewRowDto.js +67 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/JobDto.d.ts +101 -0
- package/dist/models/JobDto.js +98 -0
- package/dist/models/JobFailureDto.d.ts +38 -0
- package/dist/models/JobFailureDto.js +55 -0
- package/dist/models/JobStatus.d.ts +27 -0
- package/dist/models/JobStatus.js +53 -0
- package/dist/models/JobType.d.ts +24 -0
- package/dist/models/JobType.js +50 -0
- package/dist/models/ListJobs200Response.d.ts +47 -0
- package/dist/models/ListJobs200Response.js +62 -0
- package/dist/models/PreviewDomainEditInput.d.ts +38 -0
- package/dist/models/PreviewDomainEditInput.js +53 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/RegisterUserPushTokenInput.d.ts +46 -0
- package/dist/models/RegisterUserPushTokenInput.js +63 -0
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +154 -12
- package/src/apis/JobsApi.ts +163 -0
- package/src/apis/UsersApi.ts +98 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ApplyDomainEditInput.ts +74 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/DomainEditPreviewDto.ts +146 -0
- package/src/models/DomainEditPreviewRowDto.ts +102 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/JobDto.ts +189 -0
- package/src/models/JobFailureDto.ts +75 -0
- package/src/models/JobStatus.ts +55 -0
- package/src/models/JobType.ts +52 -0
- package/src/models/ListJobs200Response.ts +106 -0
- package/src/models/PreviewDomainEditInput.ts +74 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/RegisterUserPushTokenInput.ts +86 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/index.ts +10 -0
|
@@ -0,0 +1,50 @@
|
|
|
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.JobType = void 0;
|
|
17
|
+
exports.instanceOfJobType = instanceOfJobType;
|
|
18
|
+
exports.JobTypeFromJSON = JobTypeFromJSON;
|
|
19
|
+
exports.JobTypeFromJSONTyped = JobTypeFromJSONTyped;
|
|
20
|
+
exports.JobTypeToJSON = JobTypeToJSON;
|
|
21
|
+
exports.JobTypeToJSONTyped = JobTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.JobType = {
|
|
27
|
+
BULK_EDIT_DOMAINS: 'bulk_edit_domains'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfJobType(value) {
|
|
30
|
+
for (var key in exports.JobType) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.JobType, key)) {
|
|
32
|
+
if (exports.JobType[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function JobTypeFromJSON(json) {
|
|
40
|
+
return JobTypeFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function JobTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function JobTypeToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function JobTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
@@ -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 { JobDto } from './JobDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ListJobs200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface ListJobs200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<JobDto>}
|
|
24
|
+
* @memberof ListJobs200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<JobDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof ListJobs200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof ListJobs200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ListJobs200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfListJobs200Response(value: object): value is ListJobs200Response;
|
|
44
|
+
export declare function ListJobs200ResponseFromJSON(json: any): ListJobs200Response;
|
|
45
|
+
export declare function ListJobs200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListJobs200Response;
|
|
46
|
+
export declare function ListJobs200ResponseToJSON(json: any): ListJobs200Response;
|
|
47
|
+
export declare function ListJobs200ResponseToJSONTyped(value?: ListJobs200Response | 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.instanceOfListJobs200Response = instanceOfListJobs200Response;
|
|
17
|
+
exports.ListJobs200ResponseFromJSON = ListJobs200ResponseFromJSON;
|
|
18
|
+
exports.ListJobs200ResponseFromJSONTyped = ListJobs200ResponseFromJSONTyped;
|
|
19
|
+
exports.ListJobs200ResponseToJSON = ListJobs200ResponseToJSON;
|
|
20
|
+
exports.ListJobs200ResponseToJSONTyped = ListJobs200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var JobDto_1 = require("./JobDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ListJobs200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfListJobs200Response(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 ListJobs200ResponseFromJSON(json) {
|
|
37
|
+
return ListJobs200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ListJobs200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(JobDto_1.JobDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ListJobs200ResponseToJSON(json) {
|
|
50
|
+
return ListJobs200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ListJobs200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(JobDto_1.JobDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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 PreviewDomainEditInput
|
|
16
|
+
*/
|
|
17
|
+
export interface PreviewDomainEditInput {
|
|
18
|
+
/**
|
|
19
|
+
* The selected domains. Omit to apply to everything the filter and searchFilter match.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof PreviewDomainEditInput
|
|
22
|
+
*/
|
|
23
|
+
domainIds?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The change the seller wants, in their own words.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PreviewDomainEditInput
|
|
28
|
+
*/
|
|
29
|
+
request: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PreviewDomainEditInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPreviewDomainEditInput(value: object): value is PreviewDomainEditInput;
|
|
35
|
+
export declare function PreviewDomainEditInputFromJSON(json: any): PreviewDomainEditInput;
|
|
36
|
+
export declare function PreviewDomainEditInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewDomainEditInput;
|
|
37
|
+
export declare function PreviewDomainEditInputToJSON(json: any): PreviewDomainEditInput;
|
|
38
|
+
export declare function PreviewDomainEditInputToJSONTyped(value?: PreviewDomainEditInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfPreviewDomainEditInput = instanceOfPreviewDomainEditInput;
|
|
17
|
+
exports.PreviewDomainEditInputFromJSON = PreviewDomainEditInputFromJSON;
|
|
18
|
+
exports.PreviewDomainEditInputFromJSONTyped = PreviewDomainEditInputFromJSONTyped;
|
|
19
|
+
exports.PreviewDomainEditInputToJSON = PreviewDomainEditInputToJSON;
|
|
20
|
+
exports.PreviewDomainEditInputToJSONTyped = PreviewDomainEditInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PreviewDomainEditInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPreviewDomainEditInput(value) {
|
|
25
|
+
if (!('request' in value) || value['request'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PreviewDomainEditInputFromJSON(json) {
|
|
30
|
+
return PreviewDomainEditInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PreviewDomainEditInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'domainIds': json['domainIds'] == null ? undefined : json['domainIds'],
|
|
38
|
+
'request': json['request'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function PreviewDomainEditInputToJSON(json) {
|
|
42
|
+
return PreviewDomainEditInputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PreviewDomainEditInputToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'domainIds': value['domainIds'],
|
|
51
|
+
'request': value['request'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -138,6 +138,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
|
|
|
138
138
|
readonly USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: "USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST";
|
|
139
139
|
readonly AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: "AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD";
|
|
140
140
|
readonly MARKETPLACE_ROUTING: "MARKETPLACE_ROUTING";
|
|
141
|
+
readonly AI_DOMAIN_EDIT: "AI_DOMAIN_EDIT";
|
|
141
142
|
};
|
|
142
143
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
143
144
|
/**
|
|
@@ -56,7 +56,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
56
56
|
USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
|
|
57
57
|
USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
|
|
58
58
|
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
|
|
59
|
-
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING'
|
|
59
|
+
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
|
|
60
|
+
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT'
|
|
60
61
|
};
|
|
61
62
|
/**
|
|
62
63
|
* Check if a given object implements the PrivateAccountGetMeResponse interface.
|
|
@@ -0,0 +1,46 @@
|
|
|
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 RegisterUserPushTokenInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterUserPushTokenInput {
|
|
18
|
+
/**
|
|
19
|
+
* Expo push token identifying this device
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegisterUserPushTokenInput
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
/**
|
|
25
|
+
* Platform of the device the token belongs to
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegisterUserPushTokenInput
|
|
28
|
+
*/
|
|
29
|
+
platform: RegisterUserPushTokenInputPlatformEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const RegisterUserPushTokenInputPlatformEnum: {
|
|
35
|
+
readonly IOS: "ios";
|
|
36
|
+
readonly ANDROID: "android";
|
|
37
|
+
};
|
|
38
|
+
export type RegisterUserPushTokenInputPlatformEnum = typeof RegisterUserPushTokenInputPlatformEnum[keyof typeof RegisterUserPushTokenInputPlatformEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the RegisterUserPushTokenInput interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfRegisterUserPushTokenInput(value: object): value is RegisterUserPushTokenInput;
|
|
43
|
+
export declare function RegisterUserPushTokenInputFromJSON(json: any): RegisterUserPushTokenInput;
|
|
44
|
+
export declare function RegisterUserPushTokenInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterUserPushTokenInput;
|
|
45
|
+
export declare function RegisterUserPushTokenInputToJSON(json: any): RegisterUserPushTokenInput;
|
|
46
|
+
export declare function RegisterUserPushTokenInputToJSONTyped(value?: RegisterUserPushTokenInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.RegisterUserPushTokenInputPlatformEnum = void 0;
|
|
17
|
+
exports.instanceOfRegisterUserPushTokenInput = instanceOfRegisterUserPushTokenInput;
|
|
18
|
+
exports.RegisterUserPushTokenInputFromJSON = RegisterUserPushTokenInputFromJSON;
|
|
19
|
+
exports.RegisterUserPushTokenInputFromJSONTyped = RegisterUserPushTokenInputFromJSONTyped;
|
|
20
|
+
exports.RegisterUserPushTokenInputToJSON = RegisterUserPushTokenInputToJSON;
|
|
21
|
+
exports.RegisterUserPushTokenInputToJSONTyped = RegisterUserPushTokenInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.RegisterUserPushTokenInputPlatformEnum = {
|
|
26
|
+
IOS: 'ios',
|
|
27
|
+
ANDROID: 'android'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the RegisterUserPushTokenInput interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfRegisterUserPushTokenInput(value) {
|
|
33
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('platform' in value) || value['platform'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function RegisterUserPushTokenInputFromJSON(json) {
|
|
40
|
+
return RegisterUserPushTokenInputFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function RegisterUserPushTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'token': json['token'],
|
|
48
|
+
'platform': json['platform'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function RegisterUserPushTokenInputToJSON(json) {
|
|
52
|
+
return RegisterUserPushTokenInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function RegisterUserPushTokenInputToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'token': value['token'],
|
|
61
|
+
'platform': value['platform'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -120,6 +120,7 @@ export declare const UserNotificationDtoTypeEnum: {
|
|
|
120
120
|
readonly SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: "seller_bulk_download_invoices_completed";
|
|
121
121
|
readonly SELLER_BULK_DOWNLOAD_INVOICES_FAILED: "seller_bulk_download_invoices_failed";
|
|
122
122
|
readonly EPP_BATCH_UPDATE_DOMAINS_RESULTS: "epp.batch.update.domains.results";
|
|
123
|
+
readonly BULK_EDIT_DOMAINS_FINISHED: "bulk_edit_domains_finished";
|
|
123
124
|
readonly ORDER_HAS_BEEN_PAID: "order_has_been_paid";
|
|
124
125
|
readonly PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: "purchases_are_closed_due_domains_is_sold_or_deleted";
|
|
125
126
|
readonly DOMAIN_OWNER_CHANGED: "domain_owner_changed";
|
|
@@ -81,6 +81,7 @@ exports.UserNotificationDtoTypeEnum = {
|
|
|
81
81
|
SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
|
|
82
82
|
SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
|
|
83
83
|
EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
|
|
84
|
+
BULK_EDIT_DOMAINS_FINISHED: 'bulk_edit_domains_finished',
|
|
84
85
|
ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
|
|
85
86
|
PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
|
|
86
87
|
DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
|
|
@@ -113,6 +113,7 @@ export declare const UserNotificationListItemDtoTypeEnum: {
|
|
|
113
113
|
readonly SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: "seller_bulk_download_invoices_completed";
|
|
114
114
|
readonly SELLER_BULK_DOWNLOAD_INVOICES_FAILED: "seller_bulk_download_invoices_failed";
|
|
115
115
|
readonly EPP_BATCH_UPDATE_DOMAINS_RESULTS: "epp.batch.update.domains.results";
|
|
116
|
+
readonly BULK_EDIT_DOMAINS_FINISHED: "bulk_edit_domains_finished";
|
|
116
117
|
readonly ORDER_HAS_BEEN_PAID: "order_has_been_paid";
|
|
117
118
|
readonly PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: "purchases_are_closed_due_domains_is_sold_or_deleted";
|
|
118
119
|
readonly DOMAIN_OWNER_CHANGED: "domain_owner_changed";
|
|
@@ -80,6 +80,7 @@ exports.UserNotificationListItemDtoTypeEnum = {
|
|
|
80
80
|
SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
|
|
81
81
|
SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
|
|
82
82
|
EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
|
|
83
|
+
BULK_EDIT_DOMAINS_FINISHED: 'bulk_edit_domains_finished',
|
|
83
84
|
ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
|
|
84
85
|
PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
|
|
85
86
|
DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
|
package/dist/models/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export * from './AirwallexDepositDto';
|
|
|
73
73
|
export * from './AirwallexDepositDtoFee';
|
|
74
74
|
export * from './ApiKeyDto';
|
|
75
75
|
export * from './ApiKeyScopeDto';
|
|
76
|
+
export * from './ApplyDomainEditInput';
|
|
76
77
|
export * from './AuBankAccountDetails';
|
|
77
78
|
export * from './AuctionBidDto';
|
|
78
79
|
export * from './AuctionBidInput';
|
|
@@ -181,6 +182,8 @@ export * from './CursorBasedPaginationResponse';
|
|
|
181
182
|
export * from './DeleteDomainsInput';
|
|
182
183
|
export * from './DomainAuctionDto';
|
|
183
184
|
export * from './DomainCategoryItemDto';
|
|
185
|
+
export * from './DomainEditPreviewDto';
|
|
186
|
+
export * from './DomainEditPreviewRowDto';
|
|
184
187
|
export * from './DomainExchangeRateDto';
|
|
185
188
|
export * from './DomainFiltersDto';
|
|
186
189
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
@@ -268,6 +271,10 @@ export * from './InvoiceItemDto';
|
|
|
268
271
|
export * from './InvoiceItemTaxDto';
|
|
269
272
|
export * from './InvoiceSellerAccountDto';
|
|
270
273
|
export * from './InvoiceTransactionDto';
|
|
274
|
+
export * from './JobDto';
|
|
275
|
+
export * from './JobFailureDto';
|
|
276
|
+
export * from './JobStatus';
|
|
277
|
+
export * from './JobType';
|
|
271
278
|
export * from './LandingPageDesignSettingsDto';
|
|
272
279
|
export * from './LandingPageDesignSettingsInput';
|
|
273
280
|
export * from './LandingPageInput';
|
|
@@ -318,6 +325,7 @@ export * from './ListBankDeposits200Response';
|
|
|
318
325
|
export * from './ListBuyerNotifications200Response';
|
|
319
326
|
export * from './ListDomains200Response';
|
|
320
327
|
export * from './ListDomainsWithUpdatedPricing200Response';
|
|
328
|
+
export * from './ListJobs200Response';
|
|
321
329
|
export * from './ListLeadMessagesDto';
|
|
322
330
|
export * from './ListLeads200Response';
|
|
323
331
|
export * from './ListLeadsResultItem';
|
|
@@ -363,6 +371,7 @@ export * from './PartnerDomainFindDto';
|
|
|
363
371
|
export * from './PayAccountPaymentInput';
|
|
364
372
|
export * from './PaymentMethodsStatsDto';
|
|
365
373
|
export * from './PopularCategoryDto';
|
|
374
|
+
export * from './PreviewDomainEditInput';
|
|
366
375
|
export * from './PrivateAccountGetMeResponse';
|
|
367
376
|
export * from './PublicAccountInformationDto';
|
|
368
377
|
export * from './PublicAuctionListItemDto';
|
|
@@ -383,6 +392,7 @@ export * from './RegisterAccountInput';
|
|
|
383
392
|
export * from './RegisterAccountPortfolioSizeInput';
|
|
384
393
|
export * from './RegisterAuctionBuyerPhoneInput';
|
|
385
394
|
export * from './RegisterInput';
|
|
395
|
+
export * from './RegisterUserPushTokenInput';
|
|
386
396
|
export * from './RelatedDomainsDto';
|
|
387
397
|
export * from './RelatedLeadDto';
|
|
388
398
|
export * from './RelatedSellerDomain';
|
package/dist/models/index.js
CHANGED
|
@@ -91,6 +91,7 @@ __exportStar(require("./AirwallexDepositDto"), exports);
|
|
|
91
91
|
__exportStar(require("./AirwallexDepositDtoFee"), exports);
|
|
92
92
|
__exportStar(require("./ApiKeyDto"), exports);
|
|
93
93
|
__exportStar(require("./ApiKeyScopeDto"), exports);
|
|
94
|
+
__exportStar(require("./ApplyDomainEditInput"), exports);
|
|
94
95
|
__exportStar(require("./AuBankAccountDetails"), exports);
|
|
95
96
|
__exportStar(require("./AuctionBidDto"), exports);
|
|
96
97
|
__exportStar(require("./AuctionBidInput"), exports);
|
|
@@ -199,6 +200,8 @@ __exportStar(require("./CursorBasedPaginationResponse"), exports);
|
|
|
199
200
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
200
201
|
__exportStar(require("./DomainAuctionDto"), exports);
|
|
201
202
|
__exportStar(require("./DomainCategoryItemDto"), exports);
|
|
203
|
+
__exportStar(require("./DomainEditPreviewDto"), exports);
|
|
204
|
+
__exportStar(require("./DomainEditPreviewRowDto"), exports);
|
|
202
205
|
__exportStar(require("./DomainExchangeRateDto"), exports);
|
|
203
206
|
__exportStar(require("./DomainFiltersDto"), exports);
|
|
204
207
|
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
@@ -286,6 +289,10 @@ __exportStar(require("./InvoiceItemDto"), exports);
|
|
|
286
289
|
__exportStar(require("./InvoiceItemTaxDto"), exports);
|
|
287
290
|
__exportStar(require("./InvoiceSellerAccountDto"), exports);
|
|
288
291
|
__exportStar(require("./InvoiceTransactionDto"), exports);
|
|
292
|
+
__exportStar(require("./JobDto"), exports);
|
|
293
|
+
__exportStar(require("./JobFailureDto"), exports);
|
|
294
|
+
__exportStar(require("./JobStatus"), exports);
|
|
295
|
+
__exportStar(require("./JobType"), exports);
|
|
289
296
|
__exportStar(require("./LandingPageDesignSettingsDto"), exports);
|
|
290
297
|
__exportStar(require("./LandingPageDesignSettingsInput"), exports);
|
|
291
298
|
__exportStar(require("./LandingPageInput"), exports);
|
|
@@ -336,6 +343,7 @@ __exportStar(require("./ListBankDeposits200Response"), exports);
|
|
|
336
343
|
__exportStar(require("./ListBuyerNotifications200Response"), exports);
|
|
337
344
|
__exportStar(require("./ListDomains200Response"), exports);
|
|
338
345
|
__exportStar(require("./ListDomainsWithUpdatedPricing200Response"), exports);
|
|
346
|
+
__exportStar(require("./ListJobs200Response"), exports);
|
|
339
347
|
__exportStar(require("./ListLeadMessagesDto"), exports);
|
|
340
348
|
__exportStar(require("./ListLeads200Response"), exports);
|
|
341
349
|
__exportStar(require("./ListLeadsResultItem"), exports);
|
|
@@ -381,6 +389,7 @@ __exportStar(require("./PartnerDomainFindDto"), exports);
|
|
|
381
389
|
__exportStar(require("./PayAccountPaymentInput"), exports);
|
|
382
390
|
__exportStar(require("./PaymentMethodsStatsDto"), exports);
|
|
383
391
|
__exportStar(require("./PopularCategoryDto"), exports);
|
|
392
|
+
__exportStar(require("./PreviewDomainEditInput"), exports);
|
|
384
393
|
__exportStar(require("./PrivateAccountGetMeResponse"), exports);
|
|
385
394
|
__exportStar(require("./PublicAccountInformationDto"), exports);
|
|
386
395
|
__exportStar(require("./PublicAuctionListItemDto"), exports);
|
|
@@ -401,6 +410,7 @@ __exportStar(require("./RegisterAccountInput"), exports);
|
|
|
401
410
|
__exportStar(require("./RegisterAccountPortfolioSizeInput"), exports);
|
|
402
411
|
__exportStar(require("./RegisterAuctionBuyerPhoneInput"), exports);
|
|
403
412
|
__exportStar(require("./RegisterInput"), exports);
|
|
413
|
+
__exportStar(require("./RegisterUserPushTokenInput"), exports);
|
|
404
414
|
__exportStar(require("./RelatedDomainsDto"), exports);
|
|
405
415
|
__exportStar(require("./RelatedLeadDto"), exports);
|
|
406
416
|
__exportStar(require("./RelatedSellerDomain"), exports);
|