@randock/nameshift-api-client 0.0.450 → 0.0.452
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/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +1 -0
- package/dist/apis/DomainsApi.js +3 -0
- package/dist/models/AccountNameshiftCommissionBySubtypePercentagesDto.d.ts +6 -0
- package/dist/models/AccountNameshiftCommissionBySubtypePercentagesDto.js +4 -0
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +5 -0
- package/src/models/AccountNameshiftCommissionBySubtypePercentagesDto.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.452
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.452 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
11d8717da0f6d0c75e15c65370bbdb2d8696728235ffa9b97d1324422789ce0d01d6e433369ddc3a8ce1cb49a7852d83
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -1224,6 +1224,9 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
1224
1224
|
if (requestParameters['filterPointingDnsStatus'] != null) {
|
|
1225
1225
|
queryParameters['filter[pointingDnsStatus]'] = requestParameters['filterPointingDnsStatus'];
|
|
1226
1226
|
}
|
|
1227
|
+
if (requestParameters['filterMarketplace'] != null) {
|
|
1228
|
+
queryParameters['filter[marketplace]'] = requestParameters['filterMarketplace'];
|
|
1229
|
+
}
|
|
1227
1230
|
if (requestParameters['filterCurrencyCode'] != null) {
|
|
1228
1231
|
queryParameters['filter[currencyCode]'] = requestParameters['filterCurrencyCode'];
|
|
1229
1232
|
}
|
|
@@ -28,6 +28,12 @@ export interface AccountNameshiftCommissionBySubtypePercentagesDto {
|
|
|
28
28
|
* @memberof AccountNameshiftCommissionBySubtypePercentagesDto
|
|
29
29
|
*/
|
|
30
30
|
notPointing: AccountNameshiftCommissionSubtypeCurrentDto;
|
|
31
|
+
/**
|
|
32
|
+
* Current commission for routed subtype
|
|
33
|
+
* @type {AccountNameshiftCommissionSubtypeCurrentDto}
|
|
34
|
+
* @memberof AccountNameshiftCommissionBySubtypePercentagesDto
|
|
35
|
+
*/
|
|
36
|
+
routed: AccountNameshiftCommissionSubtypeCurrentDto;
|
|
31
37
|
/**
|
|
32
38
|
* Current commission for manual_lead subtype
|
|
33
39
|
* @type {AccountNameshiftCommissionSubtypeCurrentDto}
|
|
@@ -27,6 +27,8 @@ function instanceOfAccountNameshiftCommissionBySubtypePercentagesDto(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('notPointing' in value) || value['notPointing'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('routed' in value) || value['routed'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
if (!('manualLead' in value) || value['manualLead'] === undefined)
|
|
31
33
|
return false;
|
|
32
34
|
if (!('auction' in value) || value['auction'] === undefined)
|
|
@@ -43,6 +45,7 @@ function AccountNameshiftCommissionBySubtypePercentagesDtoFromJSONTyped(json, ig
|
|
|
43
45
|
return {
|
|
44
46
|
'pointing': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoFromJSON)(json['pointing']),
|
|
45
47
|
'notPointing': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoFromJSON)(json['notPointing']),
|
|
48
|
+
'routed': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoFromJSON)(json['routed']),
|
|
46
49
|
'manualLead': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoFromJSON)(json['manualLead']),
|
|
47
50
|
'auction': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoFromJSON)(json['auction']),
|
|
48
51
|
};
|
|
@@ -58,6 +61,7 @@ function AccountNameshiftCommissionBySubtypePercentagesDtoToJSONTyped(value, ign
|
|
|
58
61
|
return {
|
|
59
62
|
'pointing': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoToJSON)(value['pointing']),
|
|
60
63
|
'notPointing': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoToJSON)(value['notPointing']),
|
|
64
|
+
'routed': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoToJSON)(value['routed']),
|
|
61
65
|
'manualLead': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoToJSON)(value['manualLead']),
|
|
62
66
|
'auction': (0, AccountNameshiftCommissionSubtypeCurrentDto_1.AccountNameshiftCommissionSubtypeCurrentDtoToJSON)(value['auction']),
|
|
63
67
|
};
|
package/package.json
CHANGED
package/src/apis/DomainsApi.ts
CHANGED
|
@@ -157,6 +157,7 @@ export interface DomainsApiListRequest {
|
|
|
157
157
|
filterSold?: string;
|
|
158
158
|
filterHijacked?: string;
|
|
159
159
|
filterPointingDnsStatus?: string;
|
|
160
|
+
filterMarketplace?: string;
|
|
160
161
|
filterCurrencyCode?: string;
|
|
161
162
|
filterVerified?: string;
|
|
162
163
|
filterName?: string;
|
|
@@ -1066,6 +1067,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1066
1067
|
queryParameters['filter[pointingDnsStatus]'] = requestParameters['filterPointingDnsStatus'];
|
|
1067
1068
|
}
|
|
1068
1069
|
|
|
1070
|
+
if (requestParameters['filterMarketplace'] != null) {
|
|
1071
|
+
queryParameters['filter[marketplace]'] = requestParameters['filterMarketplace'];
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1069
1074
|
if (requestParameters['filterCurrencyCode'] != null) {
|
|
1070
1075
|
queryParameters['filter[currencyCode]'] = requestParameters['filterCurrencyCode'];
|
|
1071
1076
|
}
|
|
@@ -39,6 +39,12 @@ export interface AccountNameshiftCommissionBySubtypePercentagesDto {
|
|
|
39
39
|
* @memberof AccountNameshiftCommissionBySubtypePercentagesDto
|
|
40
40
|
*/
|
|
41
41
|
notPointing: AccountNameshiftCommissionSubtypeCurrentDto;
|
|
42
|
+
/**
|
|
43
|
+
* Current commission for routed subtype
|
|
44
|
+
* @type {AccountNameshiftCommissionSubtypeCurrentDto}
|
|
45
|
+
* @memberof AccountNameshiftCommissionBySubtypePercentagesDto
|
|
46
|
+
*/
|
|
47
|
+
routed: AccountNameshiftCommissionSubtypeCurrentDto;
|
|
42
48
|
/**
|
|
43
49
|
* Current commission for manual_lead subtype
|
|
44
50
|
* @type {AccountNameshiftCommissionSubtypeCurrentDto}
|
|
@@ -59,6 +65,7 @@ export interface AccountNameshiftCommissionBySubtypePercentagesDto {
|
|
|
59
65
|
export function instanceOfAccountNameshiftCommissionBySubtypePercentagesDto(value: object): value is AccountNameshiftCommissionBySubtypePercentagesDto {
|
|
60
66
|
if (!('pointing' in value) || value['pointing'] === undefined) return false;
|
|
61
67
|
if (!('notPointing' in value) || value['notPointing'] === undefined) return false;
|
|
68
|
+
if (!('routed' in value) || value['routed'] === undefined) return false;
|
|
62
69
|
if (!('manualLead' in value) || value['manualLead'] === undefined) return false;
|
|
63
70
|
if (!('auction' in value) || value['auction'] === undefined) return false;
|
|
64
71
|
return true;
|
|
@@ -76,6 +83,7 @@ export function AccountNameshiftCommissionBySubtypePercentagesDtoFromJSONTyped(j
|
|
|
76
83
|
|
|
77
84
|
'pointing': AccountNameshiftCommissionSubtypeCurrentDtoFromJSON(json['pointing']),
|
|
78
85
|
'notPointing': AccountNameshiftCommissionSubtypeCurrentDtoFromJSON(json['notPointing']),
|
|
86
|
+
'routed': AccountNameshiftCommissionSubtypeCurrentDtoFromJSON(json['routed']),
|
|
79
87
|
'manualLead': AccountNameshiftCommissionSubtypeCurrentDtoFromJSON(json['manualLead']),
|
|
80
88
|
'auction': AccountNameshiftCommissionSubtypeCurrentDtoFromJSON(json['auction']),
|
|
81
89
|
};
|
|
@@ -94,6 +102,7 @@ export function AccountNameshiftCommissionBySubtypePercentagesDtoToJSONTyped(val
|
|
|
94
102
|
|
|
95
103
|
'pointing': AccountNameshiftCommissionSubtypeCurrentDtoToJSON(value['pointing']),
|
|
96
104
|
'notPointing': AccountNameshiftCommissionSubtypeCurrentDtoToJSON(value['notPointing']),
|
|
105
|
+
'routed': AccountNameshiftCommissionSubtypeCurrentDtoToJSON(value['routed']),
|
|
97
106
|
'manualLead': AccountNameshiftCommissionSubtypeCurrentDtoToJSON(value['manualLead']),
|
|
98
107
|
'auction': AccountNameshiftCommissionSubtypeCurrentDtoToJSON(value['auction']),
|
|
99
108
|
};
|