@randock/nameshift-api-client 0.0.86 → 0.0.87
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/models/AccountDto.d.ts +12 -0
- package/dist/models/AccountDto.js +8 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts +12 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js +8 -0
- package/package.json +1 -1
- package/src/models/AccountDto.ts +18 -0
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +18 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.87
|
|
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.87 --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
|
+
9506af6ec231030af7554cb8cb66c7a9b1c6e4321b5ae0eba0846547df6e58bb95254998991ce9349d3dea56411ac8fa
|
|
@@ -33,6 +33,18 @@ export interface AccountDto {
|
|
|
33
33
|
* @memberof AccountDto
|
|
34
34
|
*/
|
|
35
35
|
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AccountDto
|
|
40
|
+
*/
|
|
41
|
+
activeDomainTransfersNumber: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AccountDto
|
|
46
|
+
*/
|
|
47
|
+
activeLeadsNumber: number;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the AccountDto interface.
|
|
@@ -27,6 +27,10 @@ function instanceOfAccountDto(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('name' in value) || value['name'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined)
|
|
33
|
+
return false;
|
|
30
34
|
return true;
|
|
31
35
|
}
|
|
32
36
|
function AccountDtoFromJSON(json) {
|
|
@@ -40,6 +44,8 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
44
|
'id': json['id'],
|
|
41
45
|
'identifier': json['identifier'],
|
|
42
46
|
'name': json['name'],
|
|
47
|
+
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
48
|
+
'activeLeadsNumber': json['activeLeadsNumber'],
|
|
43
49
|
};
|
|
44
50
|
}
|
|
45
51
|
function AccountDtoToJSON(value) {
|
|
@@ -50,5 +56,7 @@ function AccountDtoToJSON(value) {
|
|
|
50
56
|
'id': value['id'],
|
|
51
57
|
'identifier': value['identifier'],
|
|
52
58
|
'name': value['name'],
|
|
59
|
+
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
60
|
+
'activeLeadsNumber': value['activeLeadsNumber'],
|
|
53
61
|
};
|
|
54
62
|
}
|
package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts
CHANGED
|
@@ -36,6 +36,18 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
|
|
|
36
36
|
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
37
37
|
*/
|
|
38
38
|
name: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
43
|
+
*/
|
|
44
|
+
activeDomainTransfersNumber: number;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
49
|
+
*/
|
|
50
|
+
activeLeadsNumber: number;
|
|
39
51
|
/**
|
|
40
52
|
*
|
|
41
53
|
* @type {WithFinancialDtoInner}
|
|
@@ -30,6 +30,10 @@ function instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddr
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('name' in value) || value['name'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
+
if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined)
|
|
36
|
+
return false;
|
|
33
37
|
if (!('financial' in value) || value['financial'] === undefined)
|
|
34
38
|
return false;
|
|
35
39
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
@@ -49,6 +53,8 @@ function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFrom
|
|
|
49
53
|
'id': json['id'],
|
|
50
54
|
'identifier': json['identifier'],
|
|
51
55
|
'name': json['name'],
|
|
56
|
+
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
57
|
+
'activeLeadsNumber': json['activeLeadsNumber'],
|
|
52
58
|
'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerFromJSON)(json['financial']),
|
|
53
59
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
54
60
|
'addresses': (json['addresses'].map(AccountAddressDto_1.AccountAddressDtoFromJSON)),
|
|
@@ -62,6 +68,8 @@ function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJS
|
|
|
62
68
|
'id': value['id'],
|
|
63
69
|
'identifier': value['identifier'],
|
|
64
70
|
'name': value['name'],
|
|
71
|
+
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
72
|
+
'activeLeadsNumber': value['activeLeadsNumber'],
|
|
65
73
|
'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerToJSON)(value['financial']),
|
|
66
74
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
|
|
67
75
|
'addresses': (value['addresses'].map(AccountAddressDto_1.AccountAddressDtoToJSON)),
|
package/package.json
CHANGED
package/src/models/AccountDto.ts
CHANGED
|
@@ -37,6 +37,18 @@ export interface AccountDto {
|
|
|
37
37
|
* @memberof AccountDto
|
|
38
38
|
*/
|
|
39
39
|
name: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof AccountDto
|
|
44
|
+
*/
|
|
45
|
+
activeDomainTransfersNumber: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof AccountDto
|
|
50
|
+
*/
|
|
51
|
+
activeLeadsNumber: number;
|
|
40
52
|
}
|
|
41
53
|
|
|
42
54
|
/**
|
|
@@ -46,6 +58,8 @@ export function instanceOfAccountDto(value: object): value is AccountDto {
|
|
|
46
58
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
59
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
48
60
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
61
|
+
if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined) return false;
|
|
62
|
+
if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined) return false;
|
|
49
63
|
return true;
|
|
50
64
|
}
|
|
51
65
|
|
|
@@ -62,6 +76,8 @@ export function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
62
76
|
'id': json['id'],
|
|
63
77
|
'identifier': json['identifier'],
|
|
64
78
|
'name': json['name'],
|
|
79
|
+
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
80
|
+
'activeLeadsNumber': json['activeLeadsNumber'],
|
|
65
81
|
};
|
|
66
82
|
}
|
|
67
83
|
|
|
@@ -74,6 +90,8 @@ export function AccountDtoToJSON(value?: AccountDto | null): any {
|
|
|
74
90
|
'id': value['id'],
|
|
75
91
|
'identifier': value['identifier'],
|
|
76
92
|
'name': value['name'],
|
|
93
|
+
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
94
|
+
'activeLeadsNumber': value['activeLeadsNumber'],
|
|
77
95
|
};
|
|
78
96
|
}
|
|
79
97
|
|
|
@@ -56,6 +56,18 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
|
|
|
56
56
|
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
57
57
|
*/
|
|
58
58
|
name: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
63
|
+
*/
|
|
64
|
+
activeDomainTransfersNumber: number;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
|
|
69
|
+
*/
|
|
70
|
+
activeLeadsNumber: number;
|
|
59
71
|
/**
|
|
60
72
|
*
|
|
61
73
|
* @type {WithFinancialDtoInner}
|
|
@@ -83,6 +95,8 @@ export function instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoW
|
|
|
83
95
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
84
96
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
85
97
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
98
|
+
if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined) return false;
|
|
99
|
+
if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined) return false;
|
|
86
100
|
if (!('financial' in value) || value['financial'] === undefined) return false;
|
|
87
101
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
88
102
|
if (!('addresses' in value) || value['addresses'] === undefined) return false;
|
|
@@ -102,6 +116,8 @@ export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddress
|
|
|
102
116
|
'id': json['id'],
|
|
103
117
|
'identifier': json['identifier'],
|
|
104
118
|
'name': json['name'],
|
|
119
|
+
'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
|
|
120
|
+
'activeLeadsNumber': json['activeLeadsNumber'],
|
|
105
121
|
'financial': WithFinancialDtoInnerFromJSON(json['financial']),
|
|
106
122
|
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
107
123
|
'addresses': ((json['addresses'] as Array<any>).map(AccountAddressDtoFromJSON)),
|
|
@@ -117,6 +133,8 @@ export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddress
|
|
|
117
133
|
'id': value['id'],
|
|
118
134
|
'identifier': value['identifier'],
|
|
119
135
|
'name': value['name'],
|
|
136
|
+
'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
|
|
137
|
+
'activeLeadsNumber': value['activeLeadsNumber'],
|
|
120
138
|
'financial': WithFinancialDtoInnerToJSON(value['financial']),
|
|
121
139
|
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
122
140
|
'addresses': ((value['addresses'] as Array<any>).map(AccountAddressDtoToJSON)),
|