@randock/nameshift-api-client 0.0.95 → 0.0.96
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/CreateOrderInput.d.ts +0 -12
- package/dist/models/CreateOrderInput.js +0 -8
- package/dist/models/UpdateOrderInput.d.ts +0 -12
- package/dist/models/UpdateOrderInput.js +0 -8
- package/package.json +1 -1
- package/src/models/CreateOrderInput.ts +0 -18
- package/src/models/UpdateOrderInput.ts +0 -18
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.96
|
|
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.96 --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
|
+
2f97265201b4e7c71765cedf4c38792244e5f472a421a39926a0d93ab4cd7e0227b406d8f5987b08fb342de2cbe30b50
|
|
@@ -15,18 +15,6 @@
|
|
|
15
15
|
* @interface CreateOrderInput
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateOrderInput {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateOrderInput
|
|
22
|
-
*/
|
|
23
|
-
companyName: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateOrderInput
|
|
28
|
-
*/
|
|
29
|
-
companyVatNumber: string | null;
|
|
30
18
|
/**
|
|
31
19
|
*
|
|
32
20
|
* @type {string}
|
|
@@ -21,10 +21,6 @@ exports.CreateOrderInputToJSON = CreateOrderInputToJSON;
|
|
|
21
21
|
* Check if a given object implements the CreateOrderInput interface.
|
|
22
22
|
*/
|
|
23
23
|
function instanceOfCreateOrderInput(value) {
|
|
24
|
-
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined)
|
|
27
|
-
return false;
|
|
28
24
|
if (!('leadId' in value) || value['leadId'] === undefined)
|
|
29
25
|
return false;
|
|
30
26
|
if (!('locale' in value) || value['locale'] === undefined)
|
|
@@ -47,8 +43,6 @@ function CreateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
43
|
return json;
|
|
48
44
|
}
|
|
49
45
|
return {
|
|
50
|
-
'companyName': json['companyName'],
|
|
51
|
-
'companyVatNumber': json['companyVatNumber'],
|
|
52
46
|
'leadId': json['leadId'],
|
|
53
47
|
'locale': json['locale'],
|
|
54
48
|
'domainName': json['domainName'],
|
|
@@ -62,8 +56,6 @@ function CreateOrderInputToJSON(value) {
|
|
|
62
56
|
return value;
|
|
63
57
|
}
|
|
64
58
|
return {
|
|
65
|
-
'companyName': value['companyName'],
|
|
66
|
-
'companyVatNumber': value['companyVatNumber'],
|
|
67
59
|
'leadId': value['leadId'],
|
|
68
60
|
'locale': value['locale'],
|
|
69
61
|
'domainName': value['domainName'],
|
|
@@ -15,18 +15,6 @@
|
|
|
15
15
|
* @interface UpdateOrderInput
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateOrderInput {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateOrderInput
|
|
22
|
-
*/
|
|
23
|
-
companyName: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateOrderInput
|
|
28
|
-
*/
|
|
29
|
-
companyVatNumber: string | null;
|
|
30
18
|
/**
|
|
31
19
|
*
|
|
32
20
|
* @type {string}
|
|
@@ -21,10 +21,6 @@ exports.UpdateOrderInputToJSON = UpdateOrderInputToJSON;
|
|
|
21
21
|
* Check if a given object implements the UpdateOrderInput interface.
|
|
22
22
|
*/
|
|
23
23
|
function instanceOfUpdateOrderInput(value) {
|
|
24
|
-
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined)
|
|
27
|
-
return false;
|
|
28
24
|
if (!('firstname' in value) || value['firstname'] === undefined)
|
|
29
25
|
return false;
|
|
30
26
|
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
@@ -41,8 +37,6 @@ function UpdateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
37
|
return json;
|
|
42
38
|
}
|
|
43
39
|
return {
|
|
44
|
-
'companyName': json['companyName'],
|
|
45
|
-
'companyVatNumber': json['companyVatNumber'],
|
|
46
40
|
'firstname': json['firstname'],
|
|
47
41
|
'lastname': json['lastname'],
|
|
48
42
|
'email': json['email'],
|
|
@@ -53,8 +47,6 @@ function UpdateOrderInputToJSON(value) {
|
|
|
53
47
|
return value;
|
|
54
48
|
}
|
|
55
49
|
return {
|
|
56
|
-
'companyName': value['companyName'],
|
|
57
|
-
'companyVatNumber': value['companyVatNumber'],
|
|
58
50
|
'firstname': value['firstname'],
|
|
59
51
|
'lastname': value['lastname'],
|
|
60
52
|
'email': value['email'],
|
package/package.json
CHANGED
|
@@ -19,18 +19,6 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface CreateOrderInput
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateOrderInput {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateOrderInput
|
|
26
|
-
*/
|
|
27
|
-
companyName: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CreateOrderInput
|
|
32
|
-
*/
|
|
33
|
-
companyVatNumber: string | null;
|
|
34
22
|
/**
|
|
35
23
|
*
|
|
36
24
|
* @type {string}
|
|
@@ -73,8 +61,6 @@ export interface CreateOrderInput {
|
|
|
73
61
|
* Check if a given object implements the CreateOrderInput interface.
|
|
74
62
|
*/
|
|
75
63
|
export function instanceOfCreateOrderInput(value: object): value is CreateOrderInput {
|
|
76
|
-
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
77
|
-
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
|
|
78
64
|
if (!('leadId' in value) || value['leadId'] === undefined) return false;
|
|
79
65
|
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
80
66
|
if (!('domainName' in value) || value['domainName'] === undefined) return false;
|
|
@@ -94,8 +80,6 @@ export function CreateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
94
80
|
}
|
|
95
81
|
return {
|
|
96
82
|
|
|
97
|
-
'companyName': json['companyName'],
|
|
98
|
-
'companyVatNumber': json['companyVatNumber'],
|
|
99
83
|
'leadId': json['leadId'],
|
|
100
84
|
'locale': json['locale'],
|
|
101
85
|
'domainName': json['domainName'],
|
|
@@ -111,8 +95,6 @@ export function CreateOrderInputToJSON(value?: CreateOrderInput | null): any {
|
|
|
111
95
|
}
|
|
112
96
|
return {
|
|
113
97
|
|
|
114
|
-
'companyName': value['companyName'],
|
|
115
|
-
'companyVatNumber': value['companyVatNumber'],
|
|
116
98
|
'leadId': value['leadId'],
|
|
117
99
|
'locale': value['locale'],
|
|
118
100
|
'domainName': value['domainName'],
|
|
@@ -19,18 +19,6 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface UpdateOrderInput
|
|
20
20
|
*/
|
|
21
21
|
export interface UpdateOrderInput {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UpdateOrderInput
|
|
26
|
-
*/
|
|
27
|
-
companyName: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UpdateOrderInput
|
|
32
|
-
*/
|
|
33
|
-
companyVatNumber: string | null;
|
|
34
22
|
/**
|
|
35
23
|
*
|
|
36
24
|
* @type {string}
|
|
@@ -55,8 +43,6 @@ export interface UpdateOrderInput {
|
|
|
55
43
|
* Check if a given object implements the UpdateOrderInput interface.
|
|
56
44
|
*/
|
|
57
45
|
export function instanceOfUpdateOrderInput(value: object): value is UpdateOrderInput {
|
|
58
|
-
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
59
|
-
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
|
|
60
46
|
if (!('firstname' in value) || value['firstname'] === undefined) return false;
|
|
61
47
|
if (!('lastname' in value) || value['lastname'] === undefined) return false;
|
|
62
48
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
@@ -73,8 +59,6 @@ export function UpdateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
73
59
|
}
|
|
74
60
|
return {
|
|
75
61
|
|
|
76
|
-
'companyName': json['companyName'],
|
|
77
|
-
'companyVatNumber': json['companyVatNumber'],
|
|
78
62
|
'firstname': json['firstname'],
|
|
79
63
|
'lastname': json['lastname'],
|
|
80
64
|
'email': json['email'],
|
|
@@ -87,8 +71,6 @@ export function UpdateOrderInputToJSON(value?: UpdateOrderInput | null): any {
|
|
|
87
71
|
}
|
|
88
72
|
return {
|
|
89
73
|
|
|
90
|
-
'companyName': value['companyName'],
|
|
91
|
-
'companyVatNumber': value['companyVatNumber'],
|
|
92
74
|
'firstname': value['firstname'],
|
|
93
75
|
'lastname': value['lastname'],
|
|
94
76
|
'email': value['email'],
|