@randock/nameshift-api-client 0.0.323 → 0.0.324
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/PartnerDomainsApi.d.ts +31 -0
- package/dist/apis/PartnerDomainsApi.js +133 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/DomainPricesChangeDto.d.ts +63 -0
- package/dist/models/DomainPricesChangeDto.js +72 -0
- package/dist/models/ListDomainsWithUpdatedPricing200Response.d.ts +59 -0
- package/dist/models/ListDomainsWithUpdatedPricing200Response.js +70 -0
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -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/BankAccountsApi.ts +0 -3
- package/src/apis/BuyersApi.ts +0 -3
- package/src/apis/BuyersPublicApi.ts +0 -3
- package/src/apis/DomainTransfersApi.ts +0 -3
- package/src/apis/DomainsApi.ts +0 -3
- package/src/apis/DomainsPublicApi.ts +0 -3
- package/src/apis/EppApi.ts +0 -3
- package/src/apis/InvoicesApi.ts +0 -3
- package/src/apis/LeadsApi.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/PartnerDomainsApi.ts +84 -0
- package/src/apis/StatsApi.ts +0 -3
- package/src/apis/StripePublicApi.ts +0 -3
- package/src/apis/SubscriptionsApi.ts +0 -3
- package/src/apis/SubscriptionsPublicApi.ts +0 -3
- package/src/apis/TasksApi.ts +0 -3
- package/src/apis/TaxPublicApi.ts +0 -3
- package/src/apis/UsersApi.ts +0 -3
- package/src/apis/UsersPublicApi.ts +0 -3
- package/src/apis/index.ts +1 -0
- package/src/models/DomainPricesChangeDto.ts +119 -0
- package/src/models/ListDomainsWithUpdatedPricing200Response.ts +117 -0
- package/src/models/index.ts +2 -1
- package/dist/models/ThrottlerException.d.ts +0 -44
- package/dist/models/ThrottlerException.js +0 -59
- package/src/models/ThrottlerException.ts +0 -84
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Nameshift
|
|
6
|
-
* Nameshift API
|
|
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.instanceOfThrottlerException = instanceOfThrottlerException;
|
|
17
|
-
exports.ThrottlerExceptionFromJSON = ThrottlerExceptionFromJSON;
|
|
18
|
-
exports.ThrottlerExceptionFromJSONTyped = ThrottlerExceptionFromJSONTyped;
|
|
19
|
-
exports.ThrottlerExceptionToJSON = ThrottlerExceptionToJSON;
|
|
20
|
-
exports.ThrottlerExceptionToJSONTyped = ThrottlerExceptionToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ThrottlerException interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfThrottlerException(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 ThrottlerExceptionFromJSON(json) {
|
|
34
|
-
return ThrottlerExceptionFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function ThrottlerExceptionFromJSONTyped(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 ThrottlerExceptionToJSON(json) {
|
|
47
|
-
return ThrottlerExceptionToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function ThrottlerExceptionToJSONTyped(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 API
|
|
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 ThrottlerException
|
|
20
|
-
*/
|
|
21
|
-
export interface ThrottlerException {
|
|
22
|
-
/**
|
|
23
|
-
* Exception name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ThrottlerException
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* http status code
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof ThrottlerException
|
|
32
|
-
*/
|
|
33
|
-
statusCode: number;
|
|
34
|
-
/**
|
|
35
|
-
* error message
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ThrottlerException
|
|
38
|
-
*/
|
|
39
|
-
message: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the ThrottlerException interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfThrottlerException(value: object): value is ThrottlerException {
|
|
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 ThrottlerExceptionFromJSON(json: any): ThrottlerException {
|
|
53
|
-
return ThrottlerExceptionFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ThrottlerExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThrottlerException {
|
|
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 ThrottlerExceptionToJSON(json: any): ThrottlerException {
|
|
69
|
-
return ThrottlerExceptionToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function ThrottlerExceptionToJSONTyped(value?: ThrottlerException | 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
|
-
|