@randock/nameshift-api-client 0.0.501 → 0.0.503
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 +3 -1
- package/README.md +3 -3
- package/dist/apis/PartnerApi.d.ts +14 -1
- package/dist/apis/PartnerApi.js +53 -0
- package/dist/models/CustomerSuccessListAccountMetricsDto.d.ts +6 -0
- package/dist/models/CustomerSuccessListAccountMetricsDto.js +4 -0
- package/dist/models/PartnerDomainSeoMetricsDto.d.ts +40 -0
- package/dist/models/PartnerDomainSeoMetricsDto.js +57 -0
- package/dist/models/PartnerMajesticMetricsDto.d.ts +56 -0
- package/dist/models/PartnerMajesticMetricsDto.js +67 -0
- package/dist/models/PartnerMozMetricsDto.d.ts +62 -0
- package/dist/models/PartnerMozMetricsDto.js +71 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +0 -3
- package/src/apis/AccountsPublicApi.ts +0 -3
- package/src/apis/AdminApi.ts +0 -3
- package/src/apis/AuctionsApi.ts +0 -3
- package/src/apis/BuyersApi.ts +0 -3
- package/src/apis/CustomerSuccessApi.ts +0 -3
- package/src/apis/DomainAppraisalRequestsApi.ts +0 -3
- package/src/apis/DomainAppraisalRequestsPublicApi.ts +0 -3
- package/src/apis/DomainsApi.ts +0 -3
- package/src/apis/DomainsPublicApi.ts +0 -3
- package/src/apis/InvoicesApi.ts +0 -3
- package/src/apis/JobsApi.ts +0 -3
- package/src/apis/LeadsPublicApi.ts +0 -3
- package/src/apis/NotificationsApi.ts +0 -3
- package/src/apis/OrdersPublicApi.ts +0 -3
- package/src/apis/PartnerApi.ts +46 -0
- package/src/apis/SubscriptionsPublicApi.ts +0 -3
- package/src/apis/UsersPublicApi.ts +0 -3
- package/src/models/CustomerSuccessListAccountMetricsDto.ts +9 -0
- package/src/models/PartnerDomainSeoMetricsDto.ts +90 -0
- package/src/models/PartnerMajesticMetricsDto.ts +102 -0
- package/src/models/PartnerMozMetricsDto.ts +111 -0
- package/src/models/index.ts +3 -1
- package/dist/models/NotFoundException.d.ts +0 -44
- package/dist/models/NotFoundException.js +0 -59
- package/src/models/NotFoundException.ts +0 -84
|
@@ -1,44 +0,0 @@
|
|
|
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 NotFoundException
|
|
16
|
-
*/
|
|
17
|
-
export interface NotFoundException {
|
|
18
|
-
/**
|
|
19
|
-
* Exception name.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof NotFoundException
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* HTTP status code.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof NotFoundException
|
|
28
|
-
*/
|
|
29
|
-
statusCode: number;
|
|
30
|
-
/**
|
|
31
|
-
* error message
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof NotFoundException
|
|
34
|
-
*/
|
|
35
|
-
message: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the NotFoundException interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfNotFoundException(value: object): value is NotFoundException;
|
|
41
|
-
export declare function NotFoundExceptionFromJSON(json: any): NotFoundException;
|
|
42
|
-
export declare function NotFoundExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundException;
|
|
43
|
-
export declare function NotFoundExceptionToJSON(json: any): NotFoundException;
|
|
44
|
-
export declare function NotFoundExceptionToJSONTyped(value?: NotFoundException | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +0,0 @@
|
|
|
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.instanceOfNotFoundException = instanceOfNotFoundException;
|
|
17
|
-
exports.NotFoundExceptionFromJSON = NotFoundExceptionFromJSON;
|
|
18
|
-
exports.NotFoundExceptionFromJSONTyped = NotFoundExceptionFromJSONTyped;
|
|
19
|
-
exports.NotFoundExceptionToJSON = NotFoundExceptionToJSON;
|
|
20
|
-
exports.NotFoundExceptionToJSONTyped = NotFoundExceptionToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the NotFoundException interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfNotFoundException(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function NotFoundExceptionFromJSON(json) {
|
|
34
|
-
return NotFoundExceptionFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function NotFoundExceptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'name': json['name'],
|
|
42
|
-
'statusCode': json['statusCode'],
|
|
43
|
-
'message': json['message'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function NotFoundExceptionToJSON(json) {
|
|
47
|
-
return NotFoundExceptionToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function NotFoundExceptionToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'name': value['name'],
|
|
56
|
-
'statusCode': value['statusCode'],
|
|
57
|
-
'message': value['message'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
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 NotFoundException
|
|
20
|
-
*/
|
|
21
|
-
export interface NotFoundException {
|
|
22
|
-
/**
|
|
23
|
-
* Exception name.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof NotFoundException
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* HTTP status code.
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof NotFoundException
|
|
32
|
-
*/
|
|
33
|
-
statusCode: number;
|
|
34
|
-
/**
|
|
35
|
-
* error message
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof NotFoundException
|
|
38
|
-
*/
|
|
39
|
-
message: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the NotFoundException interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfNotFoundException(value: object): value is NotFoundException {
|
|
46
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
-
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
48
|
-
if (!('message' in value) || value['message'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function NotFoundExceptionFromJSON(json: any): NotFoundException {
|
|
53
|
-
return NotFoundExceptionFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function NotFoundExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundException {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'statusCode': json['statusCode'],
|
|
64
|
-
'message': json['message'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function NotFoundExceptionToJSON(json: any): NotFoundException {
|
|
69
|
-
return NotFoundExceptionToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function NotFoundExceptionToJSONTyped(value?: NotFoundException | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'name': value['name'],
|
|
80
|
-
'statusCode': value['statusCode'],
|
|
81
|
-
'message': value['message'],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|