@randock/nameshift-api-client 0.0.118 → 0.0.119
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.119
|
|
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.119 --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
|
+
9fe83905db2e67335b154ba88f16b56e08d4bb5426cc1b23fde9c633303fe144ce9205452fdb609d5d5ce7cf75fd99a2
|
|
@@ -25,8 +25,6 @@ var InvoiceItemTaxDto_1 = require("./InvoiceItemTaxDto");
|
|
|
25
25
|
function instanceOfInvoiceItemDto(value) {
|
|
26
26
|
if (!('id' in value) || value['id'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
-
if (!('orderId' in value) || value['orderId'] === undefined)
|
|
29
|
-
return false;
|
|
30
28
|
if (!('description' in value) || value['description'] === undefined)
|
|
31
29
|
return false;
|
|
32
30
|
if (!('basePrice' in value) || value['basePrice'] === undefined)
|
|
@@ -48,7 +46,6 @@ function InvoiceItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
46
|
}
|
|
49
47
|
return {
|
|
50
48
|
'id': json['id'],
|
|
51
|
-
'orderId': json['orderId'],
|
|
52
49
|
'description': json['description'],
|
|
53
50
|
'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
|
|
54
51
|
'totalPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['totalPrice']),
|
|
@@ -62,7 +59,6 @@ function InvoiceItemDtoToJSON(value) {
|
|
|
62
59
|
}
|
|
63
60
|
return {
|
|
64
61
|
'id': value['id'],
|
|
65
|
-
'orderId': value['orderId'],
|
|
66
62
|
'description': value['description'],
|
|
67
63
|
'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
|
|
68
64
|
'totalPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['totalPrice']),
|
package/package.json
CHANGED
|
@@ -38,12 +38,6 @@ export interface InvoiceItemDto {
|
|
|
38
38
|
* @memberof InvoiceItemDto
|
|
39
39
|
*/
|
|
40
40
|
id: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {object}
|
|
44
|
-
* @memberof InvoiceItemDto
|
|
45
|
-
*/
|
|
46
|
-
orderId: object;
|
|
47
41
|
/**
|
|
48
42
|
*
|
|
49
43
|
* @type {string}
|
|
@@ -81,7 +75,6 @@ export interface InvoiceItemDto {
|
|
|
81
75
|
*/
|
|
82
76
|
export function instanceOfInvoiceItemDto(value: object): value is InvoiceItemDto {
|
|
83
77
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
84
|
-
if (!('orderId' in value) || value['orderId'] === undefined) return false;
|
|
85
78
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
86
79
|
if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
|
|
87
80
|
if (!('totalPrice' in value) || value['totalPrice'] === undefined) return false;
|
|
@@ -101,7 +94,6 @@ export function InvoiceItemDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
101
94
|
return {
|
|
102
95
|
|
|
103
96
|
'id': json['id'],
|
|
104
|
-
'orderId': json['orderId'],
|
|
105
97
|
'description': json['description'],
|
|
106
98
|
'basePrice': MoneyDtoFromJSON(json['basePrice']),
|
|
107
99
|
'totalPrice': MoneyDtoFromJSON(json['totalPrice']),
|
|
@@ -117,7 +109,6 @@ export function InvoiceItemDtoToJSON(value?: InvoiceItemDto | null): any {
|
|
|
117
109
|
return {
|
|
118
110
|
|
|
119
111
|
'id': value['id'],
|
|
120
|
-
'orderId': value['orderId'],
|
|
121
112
|
'description': value['description'],
|
|
122
113
|
'basePrice': MoneyDtoToJSON(value['basePrice']),
|
|
123
114
|
'totalPrice': MoneyDtoToJSON(value['totalPrice']),
|