@managespace/sdk 0.1.118 → 0.1.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.
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ProductType } from './product-type';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -135,6 +136,12 @@ export interface ScheduleLine {
|
|
|
135
136
|
* @memberof ScheduleLine
|
|
136
137
|
*/
|
|
137
138
|
description: string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {ProductType}
|
|
142
|
+
* @memberof ScheduleLine
|
|
143
|
+
*/
|
|
144
|
+
productType: ProductType;
|
|
138
145
|
}
|
|
139
146
|
/**
|
|
140
147
|
* Check if a given object implements the ScheduleLine interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-line.d.ts","sourceRoot":"","sources":["../../../src/generated/models/schedule-line.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"schedule-line.d.ts","sourceRoot":"","sources":["../../../src/generated/models/schedule-line.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;CAC5B;AAID;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAuB3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CA4B/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA6B9G"}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ScheduleLineToJSONTyped = exports.ScheduleLineToJSON = exports.ScheduleLineFromJSONTyped = exports.ScheduleLineFromJSON = exports.instanceOfScheduleLine = void 0;
|
|
17
|
+
const product_type_1 = require("./product-type");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the ScheduleLine interface.
|
|
19
20
|
*/
|
|
@@ -58,6 +59,8 @@ function instanceOfScheduleLine(value) {
|
|
|
58
59
|
return false;
|
|
59
60
|
if (!('description' in value) || value['description'] === undefined)
|
|
60
61
|
return false;
|
|
62
|
+
if (!('productType' in value) || value['productType'] === undefined)
|
|
63
|
+
return false;
|
|
61
64
|
return true;
|
|
62
65
|
}
|
|
63
66
|
exports.instanceOfScheduleLine = instanceOfScheduleLine;
|
|
@@ -90,6 +93,7 @@ function ScheduleLineFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
90
93
|
'createdBy': json['createdBy'],
|
|
91
94
|
'updatedBy': json['updatedBy'],
|
|
92
95
|
'description': json['description'],
|
|
96
|
+
'productType': (0, product_type_1.ProductTypeFromJSON)(json['productType']),
|
|
93
97
|
};
|
|
94
98
|
}
|
|
95
99
|
exports.ScheduleLineFromJSONTyped = ScheduleLineFromJSONTyped;
|
|
@@ -122,6 +126,7 @@ function ScheduleLineToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
122
126
|
'createdBy': value['createdBy'],
|
|
123
127
|
'updatedBy': value['updatedBy'],
|
|
124
128
|
'description': value['description'],
|
|
129
|
+
'productType': (0, product_type_1.ProductTypeToJSON)(value['productType']),
|
|
125
130
|
};
|
|
126
131
|
}
|
|
127
132
|
exports.ScheduleLineToJSONTyped = ScheduleLineToJSONTyped;
|
package/package.json
CHANGED
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ProductType } from './product-type';
|
|
17
|
+
import {
|
|
18
|
+
ProductTypeFromJSON,
|
|
19
|
+
ProductTypeFromJSONTyped,
|
|
20
|
+
ProductTypeToJSON,
|
|
21
|
+
ProductTypeToJSONTyped,
|
|
22
|
+
} from './product-type';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -139,8 +147,16 @@ export interface ScheduleLine {
|
|
|
139
147
|
* @memberof ScheduleLine
|
|
140
148
|
*/
|
|
141
149
|
description: string;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {ProductType}
|
|
153
|
+
* @memberof ScheduleLine
|
|
154
|
+
*/
|
|
155
|
+
productType: ProductType;
|
|
142
156
|
}
|
|
143
157
|
|
|
158
|
+
|
|
159
|
+
|
|
144
160
|
/**
|
|
145
161
|
* Check if a given object implements the ScheduleLine interface.
|
|
146
162
|
*/
|
|
@@ -165,6 +181,7 @@ export function instanceOfScheduleLine(value: object): value is ScheduleLine {
|
|
|
165
181
|
if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
|
|
166
182
|
if (!('updatedBy' in value) || value['updatedBy'] === undefined) return false;
|
|
167
183
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
184
|
+
if (!('productType' in value) || value['productType'] === undefined) return false;
|
|
168
185
|
return true;
|
|
169
186
|
}
|
|
170
187
|
|
|
@@ -198,6 +215,7 @@ export function ScheduleLineFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
198
215
|
'createdBy': json['createdBy'],
|
|
199
216
|
'updatedBy': json['updatedBy'],
|
|
200
217
|
'description': json['description'],
|
|
218
|
+
'productType': ProductTypeFromJSON(json['productType']),
|
|
201
219
|
};
|
|
202
220
|
}
|
|
203
221
|
|
|
@@ -232,6 +250,7 @@ export function ScheduleLineToJSONTyped(value?: ScheduleLine | null, ignoreDiscr
|
|
|
232
250
|
'createdBy': value['createdBy'],
|
|
233
251
|
'updatedBy': value['updatedBy'],
|
|
234
252
|
'description': value['description'],
|
|
253
|
+
'productType': ProductTypeToJSON(value['productType']),
|
|
235
254
|
};
|
|
236
255
|
}
|
|
237
256
|
|