@randock/nameshift-api-client 0.0.494 → 0.0.496
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/AdminApi.d.ts +1 -0
- package/dist/apis/AdminApi.js +3 -0
- package/dist/apis/CustomerSuccessApi.d.ts +1 -0
- package/dist/apis/CustomerSuccessApi.js +3 -0
- package/dist/models/LandingDesignAccountDto.d.ts +6 -0
- package/dist/models/LandingDesignAccountDto.js +4 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +5 -0
- package/src/apis/CustomerSuccessApi.ts +5 -0
- package/src/models/LandingDesignAccountDto.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.496
|
|
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.496 --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
|
+
6a062f1bb625b18f744c455d625551ff856beffa5951225a3c80e060c8a07d2c7f49e4d997086c94a483f772ad56ae9e
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -216,6 +216,7 @@ export interface AdminApiListAccountsRequest {
|
|
|
216
216
|
limit?: number;
|
|
217
217
|
sortBy?: Array<string>;
|
|
218
218
|
filterSearchTerm?: string;
|
|
219
|
+
filterHasNotes?: string;
|
|
219
220
|
}
|
|
220
221
|
export interface AdminApiListAdminLandingDesignAccountsRequest {
|
|
221
222
|
design: ListAdminLandingDesignAccountsDesignEnum;
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -2630,6 +2630,9 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
2630
2630
|
if (requestParameters['filterSearchTerm'] != null) {
|
|
2631
2631
|
queryParameters['filter[search_term]'] = requestParameters['filterSearchTerm'];
|
|
2632
2632
|
}
|
|
2633
|
+
if (requestParameters['filterHasNotes'] != null) {
|
|
2634
|
+
queryParameters['filter[has_notes]'] = requestParameters['filterHasNotes'];
|
|
2635
|
+
}
|
|
2633
2636
|
headerParameters = {};
|
|
2634
2637
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
2635
2638
|
token = this.configuration.accessToken;
|
|
@@ -43,6 +43,7 @@ export interface CustomerSuccessApiListCustomerSuccessAccountsRequest {
|
|
|
43
43
|
filterSearchTerm?: string;
|
|
44
44
|
filterOnboardingStatus?: string;
|
|
45
45
|
filterAffiliateIdentifier?: string;
|
|
46
|
+
filterHasNotes?: string;
|
|
46
47
|
}
|
|
47
48
|
export interface CustomerSuccessApiUpdateCustomerSuccessAccountNoteRequest {
|
|
48
49
|
accountId: string;
|
|
@@ -349,6 +349,9 @@ var CustomerSuccessApi = /** @class */ (function (_super) {
|
|
|
349
349
|
if (requestParameters['filterAffiliateIdentifier'] != null) {
|
|
350
350
|
queryParameters['filter[affiliate.identifier]'] = requestParameters['filterAffiliateIdentifier'];
|
|
351
351
|
}
|
|
352
|
+
if (requestParameters['filterHasNotes'] != null) {
|
|
353
|
+
queryParameters['filter[has_notes]'] = requestParameters['filterHasNotes'];
|
|
354
|
+
}
|
|
352
355
|
headerParameters = {};
|
|
353
356
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
354
357
|
token = this.configuration.accessToken;
|
|
@@ -33,6 +33,12 @@ export interface LandingDesignAccountDto {
|
|
|
33
33
|
* @memberof LandingDesignAccountDto
|
|
34
34
|
*/
|
|
35
35
|
name: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Number of the account's live domains whose effective design is this design
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof LandingDesignAccountDto
|
|
40
|
+
*/
|
|
41
|
+
domains: number;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the LandingDesignAccountDto interface.
|
|
@@ -28,6 +28,8 @@ function instanceOfLandingDesignAccountDto(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('name' in value) || value['name'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('domains' in value) || value['domains'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
function LandingDesignAccountDtoFromJSON(json) {
|
|
@@ -41,6 +43,7 @@ function LandingDesignAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
43
|
'id': json['id'],
|
|
42
44
|
'identifier': json['identifier'],
|
|
43
45
|
'name': json['name'],
|
|
46
|
+
'domains': json['domains'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
function LandingDesignAccountDtoToJSON(json) {
|
|
@@ -55,5 +58,6 @@ function LandingDesignAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
58
|
'id': value['id'],
|
|
56
59
|
'identifier': value['identifier'],
|
|
57
60
|
'name': value['name'],
|
|
61
|
+
'domains': value['domains'],
|
|
58
62
|
};
|
|
59
63
|
}
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -452,6 +452,7 @@ export interface AdminApiListAccountsRequest {
|
|
|
452
452
|
limit?: number;
|
|
453
453
|
sortBy?: Array<string>;
|
|
454
454
|
filterSearchTerm?: string;
|
|
455
|
+
filterHasNotes?: string;
|
|
455
456
|
}
|
|
456
457
|
|
|
457
458
|
export interface AdminApiListAdminLandingDesignAccountsRequest {
|
|
@@ -2753,6 +2754,10 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
2753
2754
|
queryParameters['filter[search_term]'] = requestParameters['filterSearchTerm'];
|
|
2754
2755
|
}
|
|
2755
2756
|
|
|
2757
|
+
if (requestParameters['filterHasNotes'] != null) {
|
|
2758
|
+
queryParameters['filter[has_notes]'] = requestParameters['filterHasNotes'];
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2756
2761
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
2757
2762
|
|
|
2758
2763
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -75,6 +75,7 @@ export interface CustomerSuccessApiListCustomerSuccessAccountsRequest {
|
|
|
75
75
|
filterSearchTerm?: string;
|
|
76
76
|
filterOnboardingStatus?: string;
|
|
77
77
|
filterAffiliateIdentifier?: string;
|
|
78
|
+
filterHasNotes?: string;
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
export interface CustomerSuccessApiUpdateCustomerSuccessAccountNoteRequest {
|
|
@@ -334,6 +335,10 @@ export class CustomerSuccessApi extends runtime.BaseAPI {
|
|
|
334
335
|
queryParameters['filter[affiliate.identifier]'] = requestParameters['filterAffiliateIdentifier'];
|
|
335
336
|
}
|
|
336
337
|
|
|
338
|
+
if (requestParameters['filterHasNotes'] != null) {
|
|
339
|
+
queryParameters['filter[has_notes]'] = requestParameters['filterHasNotes'];
|
|
340
|
+
}
|
|
341
|
+
|
|
337
342
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
338
343
|
|
|
339
344
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -37,6 +37,12 @@ export interface LandingDesignAccountDto {
|
|
|
37
37
|
* @memberof LandingDesignAccountDto
|
|
38
38
|
*/
|
|
39
39
|
name: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Number of the account's live domains whose effective design is this design
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof LandingDesignAccountDto
|
|
44
|
+
*/
|
|
45
|
+
domains: number;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -46,6 +52,7 @@ export function instanceOfLandingDesignAccountDto(value: object): value is Landi
|
|
|
46
52
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
53
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
48
54
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
55
|
+
if (!('domains' in value) || value['domains'] === undefined) return false;
|
|
49
56
|
return true;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -62,6 +69,7 @@ export function LandingDesignAccountDtoFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
62
69
|
'id': json['id'],
|
|
63
70
|
'identifier': json['identifier'],
|
|
64
71
|
'name': json['name'],
|
|
72
|
+
'domains': json['domains'],
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
@@ -79,6 +87,7 @@ export function LandingDesignAccountDtoToJSONTyped(value?: LandingDesignAccountD
|
|
|
79
87
|
'id': value['id'],
|
|
80
88
|
'identifier': value['identifier'],
|
|
81
89
|
'name': value['name'],
|
|
90
|
+
'domains': value['domains'],
|
|
82
91
|
};
|
|
83
92
|
}
|
|
84
93
|
|