@randock/nameshift-api-client 0.0.469 → 0.0.470
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.470
|
|
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.470 --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
|
+
287898d3b9605649361881037e203767f04330f37f7067fe05c78fd2a0a64737696286fe79c8423d93e22996443060b8
|
|
@@ -39,6 +39,30 @@ export interface LeadEnrichmentCompanyDto {
|
|
|
39
39
|
* @memberof LeadEnrichmentCompanyDto
|
|
40
40
|
*/
|
|
41
41
|
countryCode: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
46
|
+
*/
|
|
47
|
+
industry: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
52
|
+
*/
|
|
53
|
+
employeeRange: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
58
|
+
*/
|
|
59
|
+
revenueRange: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
64
|
+
*/
|
|
65
|
+
foundedYear: number | null;
|
|
42
66
|
/**
|
|
43
67
|
*
|
|
44
68
|
* @type {string}
|
|
@@ -51,6 +75,18 @@ export interface LeadEnrichmentCompanyDto {
|
|
|
51
75
|
* @memberof LeadEnrichmentCompanyDto
|
|
52
76
|
*/
|
|
53
77
|
registryId: string | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
82
|
+
*/
|
|
83
|
+
leiCode: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* When this record was last enriched.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
88
|
+
*/
|
|
89
|
+
enrichedAt: string | null;
|
|
54
90
|
}
|
|
55
91
|
/**
|
|
56
92
|
* Check if a given object implements the LeadEnrichmentCompanyDto interface.
|
|
@@ -30,10 +30,22 @@ function instanceOfLeadEnrichmentCompanyDto(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('countryCode' in value) || value['countryCode'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
+
if (!('industry' in value) || value['industry'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('employeeRange' in value) || value['employeeRange'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('revenueRange' in value) || value['revenueRange'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('foundedYear' in value) || value['foundedYear'] === undefined)
|
|
40
|
+
return false;
|
|
33
41
|
if (!('vatId' in value) || value['vatId'] === undefined)
|
|
34
42
|
return false;
|
|
35
43
|
if (!('registryId' in value) || value['registryId'] === undefined)
|
|
36
44
|
return false;
|
|
45
|
+
if (!('leiCode' in value) || value['leiCode'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined)
|
|
48
|
+
return false;
|
|
37
49
|
return true;
|
|
38
50
|
}
|
|
39
51
|
function LeadEnrichmentCompanyDtoFromJSON(json) {
|
|
@@ -48,8 +60,14 @@ function LeadEnrichmentCompanyDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
60
|
'legalName': json['legalName'],
|
|
49
61
|
'tradeName': json['tradeName'],
|
|
50
62
|
'countryCode': json['countryCode'],
|
|
63
|
+
'industry': json['industry'],
|
|
64
|
+
'employeeRange': json['employeeRange'],
|
|
65
|
+
'revenueRange': json['revenueRange'],
|
|
66
|
+
'foundedYear': json['foundedYear'],
|
|
51
67
|
'vatId': json['vatId'],
|
|
52
68
|
'registryId': json['registryId'],
|
|
69
|
+
'leiCode': json['leiCode'],
|
|
70
|
+
'enrichedAt': json['enrichedAt'],
|
|
53
71
|
};
|
|
54
72
|
}
|
|
55
73
|
function LeadEnrichmentCompanyDtoToJSON(json) {
|
|
@@ -65,7 +83,13 @@ function LeadEnrichmentCompanyDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
65
83
|
'legalName': value['legalName'],
|
|
66
84
|
'tradeName': value['tradeName'],
|
|
67
85
|
'countryCode': value['countryCode'],
|
|
86
|
+
'industry': value['industry'],
|
|
87
|
+
'employeeRange': value['employeeRange'],
|
|
88
|
+
'revenueRange': value['revenueRange'],
|
|
89
|
+
'foundedYear': value['foundedYear'],
|
|
68
90
|
'vatId': value['vatId'],
|
|
69
91
|
'registryId': value['registryId'],
|
|
92
|
+
'leiCode': value['leiCode'],
|
|
93
|
+
'enrichedAt': value['enrichedAt'],
|
|
70
94
|
};
|
|
71
95
|
}
|
package/package.json
CHANGED
|
@@ -43,6 +43,30 @@ export interface LeadEnrichmentCompanyDto {
|
|
|
43
43
|
* @memberof LeadEnrichmentCompanyDto
|
|
44
44
|
*/
|
|
45
45
|
countryCode: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
50
|
+
*/
|
|
51
|
+
industry: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
56
|
+
*/
|
|
57
|
+
employeeRange: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
62
|
+
*/
|
|
63
|
+
revenueRange: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
68
|
+
*/
|
|
69
|
+
foundedYear: number | null;
|
|
46
70
|
/**
|
|
47
71
|
*
|
|
48
72
|
* @type {string}
|
|
@@ -55,6 +79,18 @@ export interface LeadEnrichmentCompanyDto {
|
|
|
55
79
|
* @memberof LeadEnrichmentCompanyDto
|
|
56
80
|
*/
|
|
57
81
|
registryId: string | null;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
86
|
+
*/
|
|
87
|
+
leiCode: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* When this record was last enriched.
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
92
|
+
*/
|
|
93
|
+
enrichedAt: string | null;
|
|
58
94
|
}
|
|
59
95
|
|
|
60
96
|
/**
|
|
@@ -65,8 +101,14 @@ export function instanceOfLeadEnrichmentCompanyDto(value: object): value is Lead
|
|
|
65
101
|
if (!('legalName' in value) || value['legalName'] === undefined) return false;
|
|
66
102
|
if (!('tradeName' in value) || value['tradeName'] === undefined) return false;
|
|
67
103
|
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
104
|
+
if (!('industry' in value) || value['industry'] === undefined) return false;
|
|
105
|
+
if (!('employeeRange' in value) || value['employeeRange'] === undefined) return false;
|
|
106
|
+
if (!('revenueRange' in value) || value['revenueRange'] === undefined) return false;
|
|
107
|
+
if (!('foundedYear' in value) || value['foundedYear'] === undefined) return false;
|
|
68
108
|
if (!('vatId' in value) || value['vatId'] === undefined) return false;
|
|
69
109
|
if (!('registryId' in value) || value['registryId'] === undefined) return false;
|
|
110
|
+
if (!('leiCode' in value) || value['leiCode'] === undefined) return false;
|
|
111
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
|
|
70
112
|
return true;
|
|
71
113
|
}
|
|
72
114
|
|
|
@@ -84,8 +126,14 @@ export function LeadEnrichmentCompanyDtoFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
84
126
|
'legalName': json['legalName'],
|
|
85
127
|
'tradeName': json['tradeName'],
|
|
86
128
|
'countryCode': json['countryCode'],
|
|
129
|
+
'industry': json['industry'],
|
|
130
|
+
'employeeRange': json['employeeRange'],
|
|
131
|
+
'revenueRange': json['revenueRange'],
|
|
132
|
+
'foundedYear': json['foundedYear'],
|
|
87
133
|
'vatId': json['vatId'],
|
|
88
134
|
'registryId': json['registryId'],
|
|
135
|
+
'leiCode': json['leiCode'],
|
|
136
|
+
'enrichedAt': json['enrichedAt'],
|
|
89
137
|
};
|
|
90
138
|
}
|
|
91
139
|
|
|
@@ -104,8 +152,14 @@ export function LeadEnrichmentCompanyDtoToJSONTyped(value?: LeadEnrichmentCompan
|
|
|
104
152
|
'legalName': value['legalName'],
|
|
105
153
|
'tradeName': value['tradeName'],
|
|
106
154
|
'countryCode': value['countryCode'],
|
|
155
|
+
'industry': value['industry'],
|
|
156
|
+
'employeeRange': value['employeeRange'],
|
|
157
|
+
'revenueRange': value['revenueRange'],
|
|
158
|
+
'foundedYear': value['foundedYear'],
|
|
107
159
|
'vatId': value['vatId'],
|
|
108
160
|
'registryId': value['registryId'],
|
|
161
|
+
'leiCode': value['leiCode'],
|
|
162
|
+
'enrichedAt': value['enrichedAt'],
|
|
109
163
|
};
|
|
110
164
|
}
|
|
111
165
|
|