@randock/nameshift-api-client 0.0.384 → 0.0.386
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 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +27 -1
- package/dist/apis/AdminApi.js +119 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +93 -0
- package/dist/models/FeatureFlagListItemDto.js +100 -0
- package/dist/models/GetAllFeatureFlags200Response.d.ts +47 -0
- package/dist/models/GetAllFeatureFlags200Response.js +62 -0
- package/dist/models/ListAccountMetricsDto.d.ts +6 -0
- package/dist/models/ListAccountMetricsDto.js +4 -0
- package/dist/models/OrderListItemDto.d.ts +6 -0
- package/dist/models/OrderListItemDto.js +4 -0
- package/dist/models/UpdateFeatureFlagInput.d.ts +44 -0
- package/dist/models/UpdateFeatureFlagInput.js +53 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +118 -0
- package/src/models/FeatureFlagListItemDto.ts +148 -0
- package/src/models/GetAllFeatureFlags200Response.ts +106 -0
- package/src/models/ListAccountMetricsDto.ts +9 -0
- package/src/models/OrderListItemDto.ts +9 -0
- package/src/models/UpdateFeatureFlagInput.ts +81 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,81 @@
|
|
|
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 UpdateFeatureFlagInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateFeatureFlagInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof UpdateFeatureFlagInput
|
|
26
|
+
*/
|
|
27
|
+
enabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof UpdateFeatureFlagInput
|
|
32
|
+
*/
|
|
33
|
+
whitelistedAccounts?: Array<string> | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof UpdateFeatureFlagInput
|
|
38
|
+
*/
|
|
39
|
+
blacklistedAccounts?: Array<string> | null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the UpdateFeatureFlagInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfUpdateFeatureFlagInput(value: object): value is UpdateFeatureFlagInput {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function UpdateFeatureFlagInputFromJSON(json: any): UpdateFeatureFlagInput {
|
|
50
|
+
return UpdateFeatureFlagInputFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UpdateFeatureFlagInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFeatureFlagInput {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
60
|
+
'whitelistedAccounts': json['whitelistedAccounts'] == null ? undefined : json['whitelistedAccounts'],
|
|
61
|
+
'blacklistedAccounts': json['blacklistedAccounts'] == null ? undefined : json['blacklistedAccounts'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function UpdateFeatureFlagInputToJSON(json: any): UpdateFeatureFlagInput {
|
|
66
|
+
return UpdateFeatureFlagInputToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function UpdateFeatureFlagInputToJSONTyped(value?: UpdateFeatureFlagInput | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'enabled': value['enabled'],
|
|
77
|
+
'whitelistedAccounts': value['whitelistedAccounts'],
|
|
78
|
+
'blacklistedAccounts': value['blacklistedAccounts'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -199,6 +199,7 @@ export * from './DomainTransferWorkflowDto';
|
|
|
199
199
|
export * from './DomainUrlDto';
|
|
200
200
|
export * from './DomainVerificationStatusDto';
|
|
201
201
|
export * from './EppBatchUpdateInput';
|
|
202
|
+
export * from './FeatureFlagListItemDto';
|
|
202
203
|
export * from './FixedCommissionPayloadDto';
|
|
203
204
|
export * from './FixedCommissionPayloadInput';
|
|
204
205
|
export * from './FixedCommissionReasonPayloadDto';
|
|
@@ -209,6 +210,7 @@ export * from './GetAllAffiliateCommissions200Response';
|
|
|
209
210
|
export * from './GetAllAuctions200Response';
|
|
210
211
|
export * from './GetAllAuctions200Response1';
|
|
211
212
|
export * from './GetAllDomainTransfers200Response';
|
|
213
|
+
export * from './GetAllFeatureFlags200Response';
|
|
212
214
|
export * from './GetAllInvoices200Response';
|
|
213
215
|
export * from './GetAllOrders200Response';
|
|
214
216
|
export * from './GetAllOwnedDomains200Response';
|
|
@@ -423,6 +425,7 @@ export * from './UpdateChallengeInput';
|
|
|
423
425
|
export * from './UpdateDomainInput';
|
|
424
426
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
425
427
|
export * from './UpdateDomainTransferIpsTagInput';
|
|
428
|
+
export * from './UpdateFeatureFlagInput';
|
|
426
429
|
export * from './UpdateLeadInput';
|
|
427
430
|
export * from './UpdateLeadMuteStatusForBuyerInput';
|
|
428
431
|
export * from './UpdateLeadMuteStatusInput';
|