@springtree/eva-services-shelf-management 3.0.0-beta.9 → 9.0.1

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.
@@ -1,107 +1,134 @@
1
- import { SearchIProductSearchItem, PageConfig, ServiceError, ResponseMessageMetadata, PagedResult, OrganizationUnitsDtoOrganizationUnitDto, APIEnumDto } from '@springtree/eva-services-core';
2
- export interface RepositoriesListShelfLocationProductsFilter {
1
+ import { SearchIProductSearchItem, PageConfig, ServiceError, ResponseMessageMetadata, PagedResult, OrganizationUnitsDtoOrganizationUnitDto, EVAFrameworkAPIEnumDto } from '@springtree/eva-services-core';
2
+ export interface RepositoriesListShelfLocationProductsFilter<ID_TYPE = string> {
3
3
  MaximumQuantity?: number;
4
4
  MinimumQuantity?: number;
5
- ProductID?: string;
5
+ /**
6
+ * Entity type: Product
7
+ */
8
+ ProductID?: ID_TYPE;
6
9
  ProductQuery?: string;
7
- ShelfLocationID?: string;
10
+ /**
11
+ * Entity type: ShelfLocation
12
+ */
13
+ ShelfLocationID?: ID_TYPE;
8
14
  }
9
- export interface RepositoriesListShelfProductsDto {
15
+ export interface RepositoriesListShelfProductsDto<ID_TYPE = string> {
10
16
  BackendID?: string;
11
- OrganizationUnitID: string;
12
- ProductID: string;
13
- Properties?: SearchIProductSearchItem;
14
- ShelfID: string;
17
+ /**
18
+ * Entity type: OrganizationUnit
19
+ */
20
+ OrganizationUnitID: ID_TYPE;
21
+ /**
22
+ * Entity type: Product
23
+ */
24
+ ProductID: ID_TYPE;
25
+ Properties?: SearchIProductSearchItem<ID_TYPE>;
26
+ /**
27
+ * Entity type: Shelf
28
+ */
29
+ ShelfID: ID_TYPE;
15
30
  ShelfName?: string;
16
- StockLabelID: string;
31
+ /**
32
+ * Entity type: StockLabel
33
+ */
34
+ StockLabelID: ID_TYPE;
17
35
  StockLabelName?: string;
18
36
  TotalMaximumQuantity: number;
19
37
  TotalMinimumQuantity: number;
20
38
  }
21
- export interface RepositoriesListShelfProductsFilter {
39
+ export interface RepositoriesListShelfProductsFilter<ID_TYPE = string> {
22
40
  BackendID?: string;
23
41
  /**
24
42
  * Entity type: OrganizationUnit
25
43
  */
26
- OrganizationUnitID?: string;
44
+ OrganizationUnitID?: ID_TYPE;
27
45
  /**
28
46
  * Entity type: Product
29
47
  */
30
- ProductID?: string;
48
+ ProductID?: ID_TYPE;
31
49
  /**
32
50
  * Entity type: Product
33
51
  */
34
- ProductIDs?: string[];
52
+ ProductIDs?: ID_TYPE[];
35
53
  /**
36
54
  * Entity type: Shelf
37
55
  */
38
- ShelfID?: string;
56
+ ShelfID?: ID_TYPE;
39
57
  /**
40
58
  * Entity type: StockLabel
41
59
  */
42
- StockLabelID?: string;
60
+ StockLabelID?: ID_TYPE;
43
61
  }
44
- export interface RepositoriesListShelvesFilter {
62
+ export interface RepositoriesListShelvesFilter<ID_TYPE = string> {
45
63
  EndDateTime?: string;
46
64
  Name?: string;
47
- ProductID?: string;
65
+ /**
66
+ * Entity type: Product
67
+ */
68
+ ProductID?: ID_TYPE;
48
69
  StartDateTime?: string;
49
- TypeID?: string;
70
+ /**
71
+ * Entity type: ShelfType
72
+ */
73
+ TypeID?: ID_TYPE;
50
74
  }
51
75
  /**
52
76
  * List an aggregated view on shelf products, summing the min- and maximum quantities per Shelf, Organization Unit, Stock Label and Product.
53
77
  */
54
- export interface ListShelfProducts {
78
+ export interface ListShelfProducts<ID_TYPE = string> {
55
79
  /**
56
80
  * Entity type: ProductPropertyType
57
81
  */
58
82
  IncludedProperties?: string[];
59
- PageConfig?: PageConfig<RepositoriesListShelfProductsFilter>;
83
+ PageConfig?: PageConfig<RepositoriesListShelfProductsFilter<ID_TYPE>, ID_TYPE>;
60
84
  Query?: string;
61
85
  }
62
- export interface ListShelfProductsResponse {
63
- Error?: ServiceError;
64
- Metadata?: ResponseMessageMetadata;
65
- Result?: PagedResult<RepositoriesListShelfProductsDto>;
86
+ export interface ListShelfProductsResponse<ID_TYPE = string> {
87
+ Error?: ServiceError<ID_TYPE>;
88
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
89
+ Result: PagedResult<RepositoriesListShelfProductsDto<ID_TYPE>, ID_TYPE>;
66
90
  }
67
- export interface CreateOrganizationUnitShelf {
91
+ export interface CreateOrganizationUnitShelf<ID_TYPE = string> {
68
92
  /**
69
93
  * Entity type: OrganizationUnit
70
94
  */
71
- OrganizationUnitID?: string;
95
+ OrganizationUnitID?: ID_TYPE;
72
96
  OrganizationUnitTypeID?: number;
73
97
  /**
74
98
  * Entity type: Shelf
75
99
  */
76
- ShelfID: string;
100
+ ShelfID: ID_TYPE;
77
101
  }
78
- export interface CreateOrganizationUnitShelfResponse {
79
- Error?: ServiceError;
80
- ID: string;
81
- Metadata?: ResponseMessageMetadata;
102
+ export interface CreateOrganizationUnitShelfResponse<ID_TYPE = string> {
103
+ Error?: ServiceError<ID_TYPE>;
104
+ ID: ID_TYPE;
105
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
82
106
  }
83
- export interface CreateProductRestriction {
107
+ export interface CreateProductRestriction<ID_TYPE = string> {
84
108
  MaximumReplenismentQuantity?: number;
85
109
  MaximumStockQuantity?: number;
86
110
  /**
87
111
  * Entity type: OrganizationUnit
88
112
  */
89
- OrganizationUnitID?: string;
113
+ OrganizationUnitID?: ID_TYPE;
90
114
  OrganizationUnitTypeID?: number;
91
115
  /**
92
116
  * Entity type: Product
93
117
  */
94
- ProductID: string;
118
+ ProductID: ID_TYPE;
95
119
  }
96
- export interface CreateProductRestrictionResponse {
97
- Error?: ServiceError;
98
- ID: string;
99
- Metadata?: ResponseMessageMetadata;
120
+ export interface CreateProductRestrictionResponse<ID_TYPE = string> {
121
+ Error?: ServiceError<ID_TYPE>;
122
+ /**
123
+ * Entity type: ProductRestriction
124
+ */
125
+ ID: ID_TYPE;
126
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
100
127
  }
101
128
  /**
102
129
  * Create a new Shelf
103
130
  */
104
- export interface CreateShelf {
131
+ export interface CreateShelf<ID_TYPE = string> {
105
132
  Depth?: number;
106
133
  Description?: string;
107
134
  EndDateTime?: string;
@@ -111,89 +138,104 @@ export interface CreateShelf {
111
138
  /**
112
139
  * Entity type: StockLabel
113
140
  */
114
- StockLabelID?: string;
115
- TypeID: string;
141
+ StockLabelID?: ID_TYPE;
142
+ /**
143
+ * Entity type: ShelfType
144
+ */
145
+ TypeID: ID_TYPE;
116
146
  Width?: number;
117
147
  }
118
- export interface CreateShelfBlob {
148
+ export interface CreateShelfBlob<ID_TYPE = string> {
119
149
  BlobID: string;
120
- ShelfID: string;
150
+ /**
151
+ * Entity type: Shelf
152
+ */
153
+ ShelfID: ID_TYPE;
121
154
  }
122
- export interface CreateShelfBlobResponse {
123
- Error?: ServiceError;
124
- ID: string;
125
- Metadata?: ResponseMessageMetadata;
155
+ export interface CreateShelfBlobResponse<ID_TYPE = string> {
156
+ Error?: ServiceError<ID_TYPE>;
157
+ /**
158
+ * Entity type: ShelfBlob
159
+ */
160
+ ID: ID_TYPE;
161
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
126
162
  }
127
- export interface CreateShelfLocation {
163
+ export interface CreateShelfLocation<ID_TYPE = string> {
128
164
  Name: string;
129
165
  /**
130
166
  * Entity type: ShelfLocation
131
167
  */
132
- ParentID?: string;
168
+ ParentID?: ID_TYPE;
133
169
  /**
134
170
  * Entity type: Shelf
135
171
  */
136
- ShelfID: string;
172
+ ShelfID: ID_TYPE;
137
173
  /**
138
174
  * Entity type: ShelfLocationTemplate
139
175
  */
140
- TemplateID: string;
176
+ TemplateID: ID_TYPE;
141
177
  }
142
- export interface CreateShelfLocationBlob {
178
+ export interface CreateShelfLocationBlob<ID_TYPE = string> {
143
179
  BlobID: string;
144
180
  /**
145
181
  * Entity type: ShelfLocation
146
182
  */
147
- ShelfLocationID: string;
183
+ ShelfLocationID: ID_TYPE;
148
184
  }
149
- export interface CreateShelfLocationBlobResponse {
150
- Error?: ServiceError;
151
- ID: string;
152
- Metadata?: ResponseMessageMetadata;
185
+ export interface CreateShelfLocationBlobResponse<ID_TYPE = string> {
186
+ Error?: ServiceError<ID_TYPE>;
187
+ ID: ID_TYPE;
188
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
153
189
  }
154
- export interface CreateShelfLocationProduct {
190
+ export interface CreateShelfLocationProduct<ID_TYPE = string> {
155
191
  MaximumQuantity?: number;
156
192
  MinimumQuantity?: number;
157
193
  /**
158
194
  * Entity type: Product
159
195
  */
160
- ProductID: string;
196
+ ProductID: ID_TYPE;
161
197
  /**
162
198
  * Entity type: ShelfLocation
163
199
  */
164
- ShelfLocationID: string;
200
+ ShelfLocationID: ID_TYPE;
165
201
  }
166
- export interface CreateShelfLocationProductResponse {
167
- Error?: ServiceError;
168
- ID: string;
169
- Metadata?: ResponseMessageMetadata;
202
+ export interface CreateShelfLocationProductResponse<ID_TYPE = string> {
203
+ Error?: ServiceError<ID_TYPE>;
204
+ /**
205
+ * Entity type: ShelfLocationProduct
206
+ */
207
+ ID: ID_TYPE;
208
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
170
209
  }
171
- export interface CreateShelfLocationProducts {
172
- Products?: ServicesCreateShelfLocationProducts_ProductDto[];
210
+ export interface CreateShelfLocationProducts<ID_TYPE = string> {
211
+ Products?: ServicesCreateShelfLocationProducts_ProductDto<ID_TYPE>[];
173
212
  /**
174
213
  * Entity type: ShelfLocation
175
214
  */
176
- ShelfLocationID: string;
215
+ ShelfLocationID: ID_TYPE;
177
216
  }
178
- export interface ServicesCreateShelfLocationProducts_ProductDto {
217
+ export interface ServicesCreateShelfLocationProducts_ProductDto<ID_TYPE = string> {
179
218
  MaximumQuantity?: number;
180
219
  MinimumQuantity?: number;
181
220
  /**
182
221
  * Entity type: Product
183
222
  */
184
- ProductID: string;
223
+ ProductID: ID_TYPE;
185
224
  }
186
- export interface CreateShelfLocationProductsResponse {
187
- Error?: ServiceError;
188
- IDs?: string[];
189
- Metadata?: ResponseMessageMetadata;
225
+ export interface CreateShelfLocationProductsResponse<ID_TYPE = string> {
226
+ Error?: ServiceError<ID_TYPE>;
227
+ IDs?: ID_TYPE[];
228
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
190
229
  }
191
- export interface CreateShelfLocationResponse {
192
- Error?: ServiceError;
193
- ID: string;
194
- Metadata?: ResponseMessageMetadata;
230
+ export interface CreateShelfLocationResponse<ID_TYPE = string> {
231
+ Error?: ServiceError<ID_TYPE>;
232
+ /**
233
+ * Entity type: ShelfLocation
234
+ */
235
+ ID: ID_TYPE;
236
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
195
237
  }
196
- export interface CreateShelfLocationTemplate {
238
+ export interface CreateShelfLocationTemplate<ID_TYPE = string> {
197
239
  Depth?: number;
198
240
  Height?: number;
199
241
  Name: string;
@@ -201,99 +243,117 @@ export interface CreateShelfLocationTemplate {
201
243
  /**
202
244
  * Entity type: ShelfLocationTemplateType
203
245
  */
204
- TypeID: string;
246
+ TypeID: ID_TYPE;
205
247
  Width?: number;
206
248
  }
207
- export interface CreateShelfLocationTemplateResponse {
208
- Error?: ServiceError;
209
- ID: string;
210
- Metadata?: ResponseMessageMetadata;
249
+ export interface CreateShelfLocationTemplateResponse<ID_TYPE = string> {
250
+ Error?: ServiceError<ID_TYPE>;
251
+ /**
252
+ * Entity type: ShelfLocationTemplate
253
+ */
254
+ ID: ID_TYPE;
255
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
211
256
  }
212
- export interface CreateShelfLocationTemplateType {
257
+ export interface CreateShelfLocationTemplateType<ID_TYPE = string> {
213
258
  Description?: string;
214
259
  Name: string;
215
260
  }
216
- export interface CreateShelfLocationTemplateTypeResponse {
217
- Error?: ServiceError;
218
- ID: string;
219
- Metadata?: ResponseMessageMetadata;
261
+ export interface CreateShelfLocationTemplateTypeResponse<ID_TYPE = string> {
262
+ Error?: ServiceError<ID_TYPE>;
263
+ /**
264
+ * Entity type: ShelfLocationTemplateType
265
+ */
266
+ ID: ID_TYPE;
267
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
220
268
  }
221
- export interface CreateShelfResponse {
222
- Error?: ServiceError;
223
- ID: string;
224
- Metadata?: ResponseMessageMetadata;
269
+ export interface CreateShelfResponse<ID_TYPE = string> {
270
+ Error?: ServiceError<ID_TYPE>;
271
+ /**
272
+ * Entity type: Shelf
273
+ */
274
+ ID: ID_TYPE;
275
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
225
276
  }
226
- export interface CreateShelfType {
277
+ export interface CreateShelfType<ID_TYPE = string> {
227
278
  Description?: string;
228
279
  Name: string;
229
280
  }
230
- export interface CreateShelfTypeResponse {
231
- Error?: ServiceError;
281
+ export interface CreateShelfTypeResponse<ID_TYPE = string> {
282
+ Error?: ServiceError<ID_TYPE>;
232
283
  /**
233
284
  * Entity type: ShelfType
234
285
  */
235
- ID: string;
236
- Metadata?: ResponseMessageMetadata;
286
+ ID: ID_TYPE;
287
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
237
288
  }
238
- export interface DeleteOrganizationUnitShelf {
289
+ export interface DeleteOrganizationUnitShelf<ID_TYPE = string> {
239
290
  /**
240
291
  * Entity type: OrganizationUnitShelf
241
292
  */
242
- ID: string;
293
+ ID: ID_TYPE;
243
294
  }
244
- export interface DeleteProductRestriction {
245
- ID: string;
295
+ export interface DeleteProductRestriction<ID_TYPE = string> {
296
+ /**
297
+ * Entity type: ProductRestriction
298
+ */
299
+ ID: ID_TYPE;
246
300
  }
247
301
  /**
248
302
  * Delete a Shelf
249
303
  */
250
- export interface DeleteShelf {
304
+ export interface DeleteShelf<ID_TYPE = string> {
251
305
  /**
252
306
  * Entity type: Shelf
253
307
  */
254
- ID: string;
308
+ ID: ID_TYPE;
255
309
  }
256
- export interface DeleteShelfBlob {
257
- ID: string;
310
+ export interface DeleteShelfBlob<ID_TYPE = string> {
311
+ /**
312
+ * Entity type: ShelfBlob
313
+ */
314
+ ID: ID_TYPE;
258
315
  }
259
- export interface DeleteShelfLocation {
316
+ export interface DeleteShelfLocation<ID_TYPE = string> {
260
317
  /**
261
318
  * Entity type: ShelfLocation
262
319
  */
263
- ID: string;
320
+ ID: ID_TYPE;
264
321
  }
265
- export interface DeleteShelfLocationBlob {
322
+ export interface DeleteShelfLocationBlob<ID_TYPE = string> {
266
323
  /**
267
324
  * Entity type: ShelfLocationBlob
268
325
  */
269
- ID: string;
326
+ ID: ID_TYPE;
270
327
  }
271
- export interface DeleteShelfLocationProduct {
328
+ export interface DeleteShelfLocationProduct<ID_TYPE = string> {
272
329
  /**
273
330
  * Entity type: ShelfLocationProduct
274
331
  */
275
- ID: string;
332
+ ID: ID_TYPE;
276
333
  }
277
- export interface DeleteShelfLocationTemplate {
334
+ export interface DeleteShelfLocationTemplate<ID_TYPE = string> {
278
335
  /**
279
336
  * Entity type: ShelfLocationTemplate
280
337
  */
281
- ID: string;
338
+ ID: ID_TYPE;
282
339
  }
283
- export interface DeleteShelfLocationTemplateType {
340
+ export interface DeleteShelfLocationTemplateType<ID_TYPE = string> {
284
341
  /**
285
342
  * Entity type: ShelfLocationTemplateType
286
343
  */
287
- ID: string;
344
+ ID: ID_TYPE;
288
345
  }
289
- export interface DeleteShelfType {
346
+ export interface DeleteShelfType<ID_TYPE = string> {
290
347
  /**
291
348
  * Entity type: ShelfType
292
349
  */
293
- ID: string;
350
+ ID: ID_TYPE;
294
351
  }
295
- export interface DownloadShelfLocationProducts {
296
- ShelfLocationID: string;
352
+ export interface DownloadShelfLocationProducts<ID_TYPE = string> {
353
+ /**
354
+ * Entity type: ShelfLocation
355
+ */
356
+ ShelfLocationID: ID_TYPE;
297
357
  }
298
358
  /**
299
359
  * Duplicate a Shelf
@@ -301,408 +361,489 @@ export interface DownloadShelfLocationProducts {
301
361
  * All properties will be copied except for the Name, StartDateTime, EndDateTime
302
362
  * The ShelfLocations will also be duplicated
303
363
  */
304
- export interface DuplicateShelf {
364
+ export interface DuplicateShelf<ID_TYPE = string> {
305
365
  EndDateTime?: string;
306
366
  Name: string;
307
367
  /**
308
368
  * Entity type: Shelf
309
369
  */
310
- ShelfID: string;
370
+ ShelfID: ID_TYPE;
311
371
  StartDateTime: string;
312
372
  }
313
- export interface DuplicateShelfResponse {
314
- Error?: ServiceError;
315
- ID: string;
316
- Metadata?: ResponseMessageMetadata;
373
+ export interface DuplicateShelfResponse<ID_TYPE = string> {
374
+ Error?: ServiceError<ID_TYPE>;
375
+ ID: ID_TYPE;
376
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
317
377
  }
318
- export interface ExportShelfTemplate {
319
- ShelfIDs: string[];
378
+ export interface ExportShelfTemplate<ID_TYPE = string> {
379
+ /**
380
+ * Entity type: Shelf
381
+ */
382
+ ShelfIDs: ID_TYPE[];
320
383
  }
321
- export interface GetOrganizationUnitDistributionTree {
384
+ export interface GetOrganizationUnitDistributionTree<ID_TYPE = string> {
322
385
  }
323
- export interface GetOrganizationUnitDistributionTreeResponse {
324
- Error?: ServiceError;
325
- Metadata?: ResponseMessageMetadata;
326
- Tree?: ServicesTreeNode;
386
+ export interface GetOrganizationUnitDistributionTreeResponse<ID_TYPE = string> {
387
+ Error?: ServiceError<ID_TYPE>;
388
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
389
+ Tree?: ServicesTreeNode<ID_TYPE>;
327
390
  }
328
- export interface GetOrganizationUnitShelfByID {
391
+ export interface GetOrganizationUnitShelfByID<ID_TYPE = string> {
329
392
  /**
330
393
  * Entity type: OrganizationUnitShelf
331
394
  */
332
- ID: string;
395
+ ID: ID_TYPE;
333
396
  }
334
- export interface GetOrganizationUnitShelfByIDResponse {
335
- Error?: ServiceError;
336
- ID: string;
337
- Metadata?: ResponseMessageMetadata;
338
- OrganizationUnitID?: string;
339
- OrganizationUnitTypeID?: string;
340
- ShelfID: string;
397
+ export interface GetOrganizationUnitShelfByIDResponse<ID_TYPE = string> {
398
+ Error?: ServiceError<ID_TYPE>;
399
+ ID: ID_TYPE;
400
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
401
+ OrganizationUnitID?: ID_TYPE;
402
+ OrganizationUnitTypeID?: ID_TYPE;
403
+ ShelfID: ID_TYPE;
341
404
  }
342
- export interface GetProductRestrictionByID {
343
- ID: string;
405
+ export interface GetProductRestrictionByID<ID_TYPE = string> {
406
+ /**
407
+ * Entity type: ProductRestriction
408
+ */
409
+ ID: ID_TYPE;
344
410
  }
345
- export interface GetProductRestrictionByIDResponse {
346
- Error?: ServiceError;
347
- ID: string;
411
+ export interface GetProductRestrictionByIDResponse<ID_TYPE = string> {
412
+ Error?: ServiceError<ID_TYPE>;
413
+ /**
414
+ * Entity type: ProductRestriction
415
+ */
416
+ ID: ID_TYPE;
348
417
  MaximumReplenismentQuantity?: number;
349
418
  MaximumStockQuantity?: number;
350
- Metadata?: ResponseMessageMetadata;
351
- OrganizationUnitID?: string;
352
- OrganizationUnitTypeID?: string;
353
- ProductID: string;
419
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
420
+ /**
421
+ * Entity type: OrganizationUnit
422
+ */
423
+ OrganizationUnitID?: ID_TYPE;
424
+ OrganizationUnitTypeID?: number;
425
+ /**
426
+ * Entity type: Product
427
+ */
428
+ ProductID: ID_TYPE;
354
429
  }
355
- export interface GetShelfBlobByID {
356
- ID: string;
430
+ export interface GetShelfBlobByID<ID_TYPE = string> {
431
+ /**
432
+ * Entity type: ShelfBlob
433
+ */
434
+ ID: ID_TYPE;
357
435
  }
358
- export interface GetShelfBlobByIDResponse {
436
+ export interface GetShelfBlobByIDResponse<ID_TYPE = string> {
359
437
  BlobID: string;
360
- Error?: ServiceError;
361
- ID: string;
362
- Metadata?: ResponseMessageMetadata;
363
- ShelfID: string;
438
+ Error?: ServiceError<ID_TYPE>;
439
+ /**
440
+ * Entity type: ShelfBlob
441
+ */
442
+ ID: ID_TYPE;
443
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
444
+ /**
445
+ * Entity type: Shelf
446
+ */
447
+ ShelfID: ID_TYPE;
364
448
  }
365
449
  /**
366
450
  * Get a Shelf by ID
367
451
  */
368
- export interface GetShelfByID {
452
+ export interface GetShelfByID<ID_TYPE = string> {
369
453
  /**
370
454
  * Entity type: Shelf
371
455
  */
372
- ID: string;
456
+ ID: ID_TYPE;
373
457
  }
374
- export interface GetShelfByIDResponse {
458
+ export interface GetShelfByIDResponse<ID_TYPE = string> {
375
459
  Depth?: number;
376
460
  Description?: string;
377
461
  EndDateTime?: string;
378
- Error?: ServiceError;
462
+ Error?: ServiceError<ID_TYPE>;
379
463
  Height?: number;
380
- ID: string;
381
- Metadata?: ResponseMessageMetadata;
464
+ ID: ID_TYPE;
465
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
382
466
  Name?: string;
383
467
  StartDateTime: string;
384
- StockLabelID?: string;
385
- TypeID: string;
468
+ StockLabelID?: ID_TYPE;
469
+ TypeID: ID_TYPE;
386
470
  Width?: number;
387
471
  }
388
- export interface GetShelfLocationBlobByID {
472
+ export interface GetShelfLocationBlobByID<ID_TYPE = string> {
389
473
  /**
390
474
  * Entity type: ShelfLocationBlob
391
475
  */
392
- ID: string;
476
+ ID: ID_TYPE;
393
477
  }
394
- export interface GetShelfLocationBlobByIDResponse {
478
+ export interface GetShelfLocationBlobByIDResponse<ID_TYPE = string> {
395
479
  BlobID: string;
396
- Error?: ServiceError;
397
- ID: string;
398
- Metadata?: ResponseMessageMetadata;
399
- ShelfLocationID: string;
480
+ Error?: ServiceError<ID_TYPE>;
481
+ ID: ID_TYPE;
482
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
483
+ ShelfLocationID: ID_TYPE;
400
484
  }
401
- export interface GetShelfLocationByID {
485
+ export interface GetShelfLocationByID<ID_TYPE = string> {
402
486
  /**
403
487
  * Entity type: ShelfLocation
404
488
  */
405
- ID: string;
489
+ ID: ID_TYPE;
406
490
  }
407
- export interface GetShelfLocationByIDResponse {
408
- Error?: ServiceError;
409
- ID: string;
410
- Metadata?: ResponseMessageMetadata;
491
+ export interface GetShelfLocationByIDResponse<ID_TYPE = string> {
492
+ Error?: ServiceError<ID_TYPE>;
493
+ ID: ID_TYPE;
494
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
411
495
  Name?: string;
412
- ParentID?: string;
413
- ShelfID: string;
414
- TemplateID: string;
496
+ ParentID?: ID_TYPE;
497
+ ShelfID: ID_TYPE;
498
+ TemplateID: ID_TYPE;
415
499
  }
416
- export interface GetShelfLocationProductByID {
500
+ export interface GetShelfLocationProductByID<ID_TYPE = string> {
417
501
  /**
418
502
  * Entity type: ShelfLocationProduct
419
503
  */
420
- ID: string;
504
+ ID: ID_TYPE;
421
505
  }
422
- export interface GetShelfLocationProductByIDResponse {
423
- Error?: ServiceError;
424
- ID: string;
506
+ export interface GetShelfLocationProductByIDResponse<ID_TYPE = string> {
507
+ Error?: ServiceError<ID_TYPE>;
508
+ ID: ID_TYPE;
425
509
  MaximumQuantity: number;
426
- Metadata?: ResponseMessageMetadata;
510
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
427
511
  MinimumQuantity: number;
428
- ProductID: string;
429
- ShelfLocationID: string;
512
+ ProductID: ID_TYPE;
513
+ ShelfLocationID: ID_TYPE;
430
514
  }
431
- export interface GetShelfLocationTemplateByID {
515
+ export interface GetShelfLocationTemplateByID<ID_TYPE = string> {
432
516
  /**
433
517
  * Entity type: ShelfLocationTemplate
434
518
  */
435
- ID: string;
519
+ ID: ID_TYPE;
436
520
  }
437
- export interface GetShelfLocationTemplateByIDResponse {
521
+ export interface GetShelfLocationTemplateByIDResponse<ID_TYPE = string> {
438
522
  Depth?: number;
439
- Error?: ServiceError;
523
+ Error?: ServiceError<ID_TYPE>;
440
524
  Height?: number;
441
- ID: string;
442
- Metadata?: ResponseMessageMetadata;
525
+ ID: ID_TYPE;
526
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
443
527
  Name?: string;
444
528
  ProductLimit?: number;
445
- TypeID: string;
529
+ TypeID: ID_TYPE;
446
530
  Width?: number;
447
531
  }
448
- export interface GetShelfLocationTemplateTypeByID {
532
+ export interface GetShelfLocationTemplateTypeByID<ID_TYPE = string> {
449
533
  /**
450
534
  * Entity type: ShelfLocationTemplateType
451
535
  */
452
- ID: string;
536
+ ID: ID_TYPE;
453
537
  }
454
- export interface GetShelfLocationTemplateTypeByIDResponse {
538
+ export interface GetShelfLocationTemplateTypeByIDResponse<ID_TYPE = string> {
455
539
  Description?: string;
456
- Error?: ServiceError;
457
- ID: string;
458
- Metadata?: ResponseMessageMetadata;
540
+ Error?: ServiceError<ID_TYPE>;
541
+ ID: ID_TYPE;
542
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
459
543
  Name?: string;
460
544
  }
461
- export interface GetShelfLocationTemplateTypes {
545
+ export interface GetShelfLocationTemplateTypes<ID_TYPE = string> {
462
546
  }
463
- export interface GetShelfLocationTemplateTypesResponse {
464
- Error?: ServiceError;
465
- Metadata?: ResponseMessageMetadata;
466
- ShelfLocationTemplateTypes?: ServicesGetShelfLocationTemplateTypesResponse_ShelfLocationTemplateTypeDto[];
547
+ export interface GetShelfLocationTemplateTypesResponse<ID_TYPE = string> {
548
+ Error?: ServiceError<ID_TYPE>;
549
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
550
+ ShelfLocationTemplateTypes?: ServicesGetShelfLocationTemplateTypesResponse_ShelfLocationTemplateTypeDto<ID_TYPE>[];
467
551
  }
468
- export interface ServicesGetShelfLocationTemplateTypesResponse_ShelfLocationTemplateTypeDto {
552
+ export interface ServicesGetShelfLocationTemplateTypesResponse_ShelfLocationTemplateTypeDto<ID_TYPE = string> {
469
553
  Description?: string;
470
- ID: string;
554
+ /**
555
+ * Entity type: ShelfLocationTemplateType
556
+ */
557
+ ID: ID_TYPE;
471
558
  Name?: string;
472
559
  }
473
- export interface GetShelfTypeByID {
560
+ export interface GetShelfTypeByID<ID_TYPE = string> {
474
561
  /**
475
562
  * Entity type: ShelfType
476
563
  */
477
- ID: string;
564
+ ID: ID_TYPE;
478
565
  }
479
- export interface GetShelfTypeByIDResponse {
566
+ export interface GetShelfTypeByIDResponse<ID_TYPE = string> {
480
567
  Description?: string;
481
- Error?: ServiceError;
482
- ID: string;
483
- Metadata?: ResponseMessageMetadata;
568
+ Error?: ServiceError<ID_TYPE>;
569
+ ID: ID_TYPE;
570
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
484
571
  Name?: string;
485
572
  }
486
- export interface GetShelfTypes {
573
+ export interface GetShelfTypes<ID_TYPE = string> {
487
574
  }
488
- export interface GetShelfTypesResponse {
489
- Error?: ServiceError;
490
- Metadata?: ResponseMessageMetadata;
491
- ShelfTypes?: ServicesGetShelfTypesResponse_ShelfTypeDto[];
575
+ export interface GetShelfTypesResponse<ID_TYPE = string> {
576
+ Error?: ServiceError<ID_TYPE>;
577
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
578
+ ShelfTypes?: ServicesGetShelfTypesResponse_ShelfTypeDto<ID_TYPE>[];
492
579
  }
493
- export interface ServicesGetShelfTypesResponse_ShelfTypeDto {
580
+ export interface ServicesGetShelfTypesResponse_ShelfTypeDto<ID_TYPE = string> {
494
581
  Description?: string;
495
- ID: string;
582
+ /**
583
+ * Entity type: ShelfType
584
+ */
585
+ ID: ID_TYPE;
496
586
  Name?: string;
497
587
  }
498
- export interface ImportShelfTemplate {
588
+ export interface ImportShelfTemplate<ID_TYPE = string> {
499
589
  Data: string;
500
590
  }
501
- export interface ListOrganizationUnitShelves {
502
- PageConfig?: PageConfig<Record<string, string | null> | null>;
591
+ export interface ListOrganizationUnitShelves<ID_TYPE = string> {
592
+ PageConfig?: PageConfig<Record<string, string | null> | null, ID_TYPE>;
503
593
  }
504
- export interface ListOrganizationUnitShelvesResponse {
505
- Error?: ServiceError;
506
- Metadata?: ResponseMessageMetadata;
507
- Result?: PagedResult<ServicesListOrganizationUnitShelvesResponse_OrganizationUnitShelfDto>;
594
+ export interface ListOrganizationUnitShelvesResponse<ID_TYPE = string> {
595
+ Error?: ServiceError<ID_TYPE>;
596
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
597
+ Result: PagedResult<ServicesListOrganizationUnitShelvesResponse_OrganizationUnitShelfDto<ID_TYPE>, ID_TYPE>;
508
598
  }
509
- export interface ServicesListOrganizationUnitShelvesResponse_OrganizationUnitShelfDto {
510
- ID: string;
511
- OrganizationUnit?: OrganizationUnitsDtoOrganizationUnitDto;
512
- OrganizationUnitID?: string;
513
- OrganizationUnitTypeID?: string;
514
- Shelf?: ServicesListOrganizationUnitShelvesResponse_ShelfDto;
515
- ShelfID: string;
599
+ export interface ServicesListOrganizationUnitShelvesResponse_OrganizationUnitShelfDto<ID_TYPE = string> {
600
+ ID: ID_TYPE;
601
+ OrganizationUnit?: OrganizationUnitsDtoOrganizationUnitDto<ID_TYPE>;
602
+ OrganizationUnitID?: ID_TYPE;
603
+ OrganizationUnitTypeID?: ID_TYPE;
604
+ Shelf?: ServicesListOrganizationUnitShelvesResponse_ShelfDto<ID_TYPE>;
605
+ ShelfID: ID_TYPE;
516
606
  }
517
- export interface ServicesListOrganizationUnitShelvesResponse_ShelfDto {
607
+ export interface ServicesListOrganizationUnitShelvesResponse_ShelfDto<ID_TYPE = string> {
518
608
  Depth?: number;
519
609
  Description?: string;
520
610
  EndDateTime?: string;
521
611
  Height?: number;
522
- ID: string;
612
+ /**
613
+ * Entity type: Shelf
614
+ */
615
+ ID: ID_TYPE;
523
616
  Name?: string;
524
617
  StartDateTime: string;
525
- Type?: APIEnumDto;
526
- TypeID: string;
618
+ Type?: EVAFrameworkAPIEnumDto<ID_TYPE>;
619
+ /**
620
+ * Entity type: ShelfType
621
+ */
622
+ TypeID: ID_TYPE;
527
623
  Width?: number;
528
624
  }
529
- export interface ListProductRestrictions {
530
- PageConfig?: PageConfig<Record<string, string | null> | null>;
625
+ export interface ListProductRestrictions<ID_TYPE = string> {
626
+ PageConfig?: PageConfig<Record<string, string | null> | null, ID_TYPE>;
531
627
  }
532
- export interface ListProductRestrictionsResponse {
533
- Error?: ServiceError;
534
- Metadata?: ResponseMessageMetadata;
535
- Result?: PagedResult<ServicesListProductRestrictionsResponse_ProductRestrictionDto>;
628
+ export interface ListProductRestrictionsResponse<ID_TYPE = string> {
629
+ Error?: ServiceError<ID_TYPE>;
630
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
631
+ Result: PagedResult<ServicesListProductRestrictionsResponse_ProductRestrictionDto<ID_TYPE>, ID_TYPE>;
536
632
  }
537
- export interface ServicesListProductRestrictionsResponse_ProductDto {
633
+ export interface ServicesListProductRestrictionsResponse_ProductDto<ID_TYPE = string> {
538
634
  BackendID?: string;
539
635
  DisplayValue?: string;
540
636
  }
541
- export interface ServicesListProductRestrictionsResponse_ProductRestrictionDto {
542
- ID: string;
637
+ export interface ServicesListProductRestrictionsResponse_ProductRestrictionDto<ID_TYPE = string> {
638
+ ID: ID_TYPE;
543
639
  MaximumReplenismentQuantity?: number;
544
640
  MaximumStockQuantity?: number;
545
- OrganizationUnitID?: string;
546
- OrganizationUnitTypeID?: string;
547
- Product?: ServicesListProductRestrictionsResponse_ProductDto;
548
- ProductID: string;
641
+ OrganizationUnitID?: ID_TYPE;
642
+ OrganizationUnitTypeID?: ID_TYPE;
643
+ Product?: ServicesListProductRestrictionsResponse_ProductDto<ID_TYPE>;
644
+ ProductID: ID_TYPE;
549
645
  }
550
- export interface ListShelfBlobs {
551
- PageConfig?: PageConfig<Record<string, string | null> | null>;
646
+ export interface ListShelfBlobs<ID_TYPE = string> {
647
+ PageConfig?: PageConfig<Record<string, string | null> | null, ID_TYPE>;
552
648
  }
553
- export interface ListShelfBlobsResponse {
554
- Error?: ServiceError;
555
- Metadata?: ResponseMessageMetadata;
556
- Result?: PagedResult<ServicesListShelfBlobsResponse_ShelfBlobDto>;
649
+ export interface ListShelfBlobsResponse<ID_TYPE = string> {
650
+ Error?: ServiceError<ID_TYPE>;
651
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
652
+ Result: PagedResult<ServicesListShelfBlobsResponse_ShelfBlobDto<ID_TYPE>, ID_TYPE>;
557
653
  }
558
- export interface ServicesListShelfBlobsResponse_ShelfBlobDto {
654
+ export interface ServicesListShelfBlobsResponse_ShelfBlobDto<ID_TYPE = string> {
559
655
  BlobID: string;
560
- ID: string;
561
- ShelfID: string;
656
+ ID: ID_TYPE;
657
+ ShelfID: ID_TYPE;
562
658
  }
563
- export interface ListShelfLocationBlobs {
564
- PageConfig?: PageConfig<Record<string, string | null> | null>;
659
+ export interface ListShelfLocationBlobs<ID_TYPE = string> {
660
+ PageConfig?: PageConfig<Record<string, string | null> | null, ID_TYPE>;
565
661
  }
566
- export interface ListShelfLocationBlobsResponse {
567
- Error?: ServiceError;
568
- Metadata?: ResponseMessageMetadata;
569
- Result?: PagedResult<ServicesListShelfLocationBlobsResponse_ShelfLocationBlobDto>;
662
+ export interface ListShelfLocationBlobsResponse<ID_TYPE = string> {
663
+ Error?: ServiceError<ID_TYPE>;
664
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
665
+ Result: PagedResult<ServicesListShelfLocationBlobsResponse_ShelfLocationBlobDto<ID_TYPE>, ID_TYPE>;
570
666
  }
571
- export interface ServicesListShelfLocationBlobsResponse_ShelfLocationBlobDto {
667
+ export interface ServicesListShelfLocationBlobsResponse_ShelfLocationBlobDto<ID_TYPE = string> {
572
668
  BlobID: string;
573
- ID: string;
574
- ShelfLocationID: string;
669
+ ID: ID_TYPE;
670
+ ShelfLocationID: ID_TYPE;
575
671
  }
576
- export interface ListShelfLocationProducts {
577
- PageConfig?: PageConfig<RepositoriesListShelfLocationProductsFilter>;
672
+ export interface ListShelfLocationProducts<ID_TYPE = string> {
673
+ PageConfig?: PageConfig<RepositoriesListShelfLocationProductsFilter<ID_TYPE>, ID_TYPE>;
578
674
  }
579
- export interface ListShelfLocationProductsResponse {
580
- Error?: ServiceError;
581
- Metadata?: ResponseMessageMetadata;
582
- Result?: PagedResult<ServicesListShelfLocationProductsResponse_ShelfLocationProductDto>;
675
+ export interface ListShelfLocationProductsResponse<ID_TYPE = string> {
676
+ Error?: ServiceError<ID_TYPE>;
677
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
678
+ Result: PagedResult<ServicesListShelfLocationProductsResponse_ShelfLocationProductDto<ID_TYPE>, ID_TYPE>;
583
679
  }
584
- export interface ServicesListShelfLocationProductsResponse_ShelfDto {
680
+ export interface ServicesListShelfLocationProductsResponse_ShelfDto<ID_TYPE = string> {
585
681
  Name?: string;
586
682
  }
587
- export interface ServicesListShelfLocationProductsResponse_ShelfLocationDto {
683
+ export interface ServicesListShelfLocationProductsResponse_ShelfLocationDto<ID_TYPE = string> {
588
684
  Name?: string;
589
- Shelf?: ServicesListShelfLocationProductsResponse_ShelfDto;
590
- ShelfID: string;
685
+ Shelf?: ServicesListShelfLocationProductsResponse_ShelfDto<ID_TYPE>;
686
+ /**
687
+ * Entity type: Shelf
688
+ */
689
+ ShelfID: ID_TYPE;
591
690
  }
592
- export interface ServicesListShelfLocationProductsResponse_ShelfLocationProductDto {
593
- ID: string;
691
+ export interface ServicesListShelfLocationProductsResponse_ShelfLocationProductDto<ID_TYPE = string> {
692
+ /**
693
+ * Entity type: ShelfLocationProduct
694
+ */
695
+ ID: ID_TYPE;
594
696
  MaximumQuantity: number;
595
697
  MinimumQuantity: number;
596
- Product?: ServicesListShelfLocationProductsResponse_ShelfProductDto;
597
- ProductID: string;
598
- ShelfLocation?: ServicesListShelfLocationProductsResponse_ShelfLocationDto;
599
- ShelfLocationID: string;
698
+ Product?: ServicesListShelfLocationProductsResponse_ShelfProductDto<ID_TYPE>;
699
+ /**
700
+ * Entity type: Product
701
+ */
702
+ ProductID: ID_TYPE;
703
+ ShelfLocation?: ServicesListShelfLocationProductsResponse_ShelfLocationDto<ID_TYPE>;
704
+ /**
705
+ * Entity type: ShelfLocation
706
+ */
707
+ ShelfLocationID: ID_TYPE;
600
708
  }
601
- export interface ServicesListShelfLocationProductsResponse_ShelfProductDto {
709
+ export interface ServicesListShelfLocationProductsResponse_ShelfProductDto<ID_TYPE = string> {
602
710
  BackendID?: string;
603
711
  CustomID?: string;
604
712
  DisplayPrice?: number;
605
713
  DisplayValue?: string;
606
714
  }
607
- export interface ListShelfLocationTemplates {
608
- PageConfig?: PageConfig<Record<string, string | null> | null>;
715
+ export interface ListShelfLocationTemplates<ID_TYPE = string> {
716
+ PageConfig?: PageConfig<Record<string, string | null> | null, ID_TYPE>;
609
717
  }
610
- export interface ListShelfLocationTemplatesResponse {
611
- Error?: ServiceError;
612
- Metadata?: ResponseMessageMetadata;
613
- Result?: PagedResult<ServicesListShelfLocationTemplatesResponse_ShelfLocationTemplateDto>;
718
+ export interface ListShelfLocationTemplatesResponse<ID_TYPE = string> {
719
+ Error?: ServiceError<ID_TYPE>;
720
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
721
+ Result: PagedResult<ServicesListShelfLocationTemplatesResponse_ShelfLocationTemplateDto<ID_TYPE>, ID_TYPE>;
614
722
  }
615
- export interface ServicesListShelfLocationTemplatesResponse_ShelfLocationTemplateDto {
723
+ export interface ServicesListShelfLocationTemplatesResponse_ShelfLocationTemplateDto<ID_TYPE = string> {
616
724
  Depth?: number;
617
725
  Height?: number;
618
- ID: string;
726
+ /**
727
+ * Entity type: ShelfLocationTemplate
728
+ */
729
+ ID: ID_TYPE;
619
730
  Name?: string;
620
731
  ProductLimit?: number;
621
- TypeID: string;
732
+ /**
733
+ * Entity type: ShelfLocationTemplateType
734
+ */
735
+ TypeID: ID_TYPE;
622
736
  Width?: number;
623
737
  }
624
- export interface ListShelfLocations {
625
- PageConfig?: PageConfig<Record<string, string | null> | null>;
738
+ export interface ListShelfLocations<ID_TYPE = string> {
739
+ PageConfig?: PageConfig<Record<string, string | null> | null, ID_TYPE>;
626
740
  }
627
- export interface ListShelfLocationsResponse {
628
- Error?: ServiceError;
629
- Metadata?: ResponseMessageMetadata;
630
- Result?: PagedResult<ServicesListShelfLocationsResponse_ShelfLocationDto>;
741
+ export interface ListShelfLocationsResponse<ID_TYPE = string> {
742
+ Error?: ServiceError<ID_TYPE>;
743
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
744
+ Result: PagedResult<ServicesListShelfLocationsResponse_ShelfLocationDto<ID_TYPE>, ID_TYPE>;
631
745
  }
632
- export interface ServicesListShelfLocationsResponse_ShelfLocationDto {
633
- ID: string;
746
+ export interface ServicesListShelfLocationsResponse_ShelfLocationDto<ID_TYPE = string> {
747
+ /**
748
+ * Entity type: ShelfLocation
749
+ */
750
+ ID: ID_TYPE;
634
751
  Name?: string;
635
- ParentID?: string;
636
- ShelfID: string;
637
- TemplateID: string;
752
+ /**
753
+ * Entity type: ShelfLocation
754
+ */
755
+ ParentID?: ID_TYPE;
756
+ /**
757
+ * Entity type: Shelf
758
+ */
759
+ ShelfID: ID_TYPE;
760
+ /**
761
+ * Entity type: ShelfLocationTemplate
762
+ */
763
+ TemplateID: ID_TYPE;
638
764
  }
639
765
  /**
640
766
  * List Shelves
641
767
  */
642
- export interface ListShelves {
643
- PageConfig?: PageConfig<RepositoriesListShelvesFilter>;
768
+ export interface ListShelves<ID_TYPE = string> {
769
+ PageConfig?: PageConfig<RepositoriesListShelvesFilter<ID_TYPE>, ID_TYPE>;
644
770
  }
645
- export interface ListShelvesResponse {
646
- Error?: ServiceError;
647
- Metadata?: ResponseMessageMetadata;
648
- Result?: PagedResult<ServicesListShelvesResponse_ShelfDto>;
771
+ export interface ListShelvesResponse<ID_TYPE = string> {
772
+ Error?: ServiceError<ID_TYPE>;
773
+ Metadata?: ResponseMessageMetadata<ID_TYPE>;
774
+ Result: PagedResult<ServicesListShelvesResponse_ShelfDto<ID_TYPE>, ID_TYPE>;
649
775
  }
650
- export interface ServicesListShelvesResponse_ShelfDto {
776
+ export interface ServicesListShelvesResponse_ShelfDto<ID_TYPE = string> {
651
777
  Depth?: number;
652
778
  Description?: string;
653
779
  EndDateTime?: string;
654
780
  Height?: number;
655
- ID: string;
781
+ /**
782
+ * Entity type: Shelf
783
+ */
784
+ ID: ID_TYPE;
656
785
  Name?: string;
657
786
  StartDateTime: string;
658
- StockLabelID?: string;
659
- Type?: APIEnumDto;
660
- TypeID: string;
787
+ /**
788
+ * Entity type: StockLabel
789
+ */
790
+ StockLabelID?: ID_TYPE;
791
+ Type?: EVAFrameworkAPIEnumDto<ID_TYPE>;
792
+ /**
793
+ * Entity type: ShelfType
794
+ */
795
+ TypeID: ID_TYPE;
661
796
  Width?: number;
662
797
  }
663
- export interface ServicesTreeNode {
798
+ export interface ServicesTreeNode<ID_TYPE = string> {
664
799
  Fraction?: number;
665
- Negation: boolean;
666
- Nodes?: ServicesTreeNode[];
667
- OrganizationUnitIDs?: string[];
668
- OrganizationUnitTypeID?: string;
800
+ Negation?: boolean;
801
+ Nodes?: ServicesTreeNode<ID_TYPE>[];
802
+ /**
803
+ * Entity type: OrganizationUnit
804
+ */
805
+ OrganizationUnitIDs?: ID_TYPE[];
806
+ OrganizationUnitTypeID?: number;
669
807
  }
670
- export interface UpdateOrganizationUnitDistributionTree {
671
- Tree?: ServicesTreeNode;
808
+ export interface UpdateOrganizationUnitDistributionTree<ID_TYPE = string> {
809
+ Tree?: ServicesTreeNode<ID_TYPE>;
672
810
  }
673
- export interface UpdateOrganizationUnitShelf {
811
+ export interface UpdateOrganizationUnitShelf<ID_TYPE = string> {
674
812
  /**
675
813
  * Entity type: OrganizationUnitShelf
676
814
  */
677
- ID: string;
815
+ ID: ID_TYPE;
678
816
  /**
679
817
  * Entity type: OrganizationUnit
680
818
  */
681
- OrganizationUnitID?: string;
819
+ OrganizationUnitID?: ID_TYPE;
682
820
  OrganizationUnitTypeID?: number;
683
821
  /**
684
822
  * Entity type: Shelf
685
823
  */
686
- ShelfID: string;
824
+ ShelfID: ID_TYPE;
687
825
  }
688
- export interface UpdateProductRestriction {
689
- ID: string;
826
+ export interface UpdateProductRestriction<ID_TYPE = string> {
827
+ /**
828
+ * Entity type: ProductRestriction
829
+ */
830
+ ID: ID_TYPE;
690
831
  MaximumReplenismentQuantity?: number;
691
832
  MaximumStockQuantity?: number;
692
833
  /**
693
834
  * Entity type: OrganizationUnit
694
835
  */
695
- OrganizationUnitID?: string;
836
+ OrganizationUnitID?: ID_TYPE;
696
837
  OrganizationUnitTypeID?: number;
697
838
  /**
698
839
  * Entity type: Product
699
840
  */
700
- ProductID: string;
841
+ ProductID: ID_TYPE;
701
842
  }
702
843
  /**
703
844
  * Update a Shelf
704
845
  */
705
- export interface UpdateShelf {
846
+ export interface UpdateShelf<ID_TYPE = string> {
706
847
  Depth?: number;
707
848
  Description?: string;
708
849
  EndDateTime?: string;
@@ -710,86 +851,98 @@ export interface UpdateShelf {
710
851
  /**
711
852
  * Entity type: Shelf
712
853
  */
713
- ID: string;
854
+ ID: ID_TYPE;
714
855
  Name: string;
715
856
  StartDateTime: string;
716
857
  /**
717
858
  * Entity type: StockLabel
718
859
  */
719
- StockLabelID?: string;
720
- TypeID: string;
860
+ StockLabelID?: ID_TYPE;
861
+ /**
862
+ * Entity type: ShelfType
863
+ */
864
+ TypeID: ID_TYPE;
721
865
  Width?: number;
722
866
  }
723
- export interface UpdateShelfBlob {
867
+ export interface UpdateShelfBlob<ID_TYPE = string> {
724
868
  BlobID: string;
725
- ID: string;
726
- ShelfID: string;
869
+ /**
870
+ * Entity type: ShelfBlob
871
+ */
872
+ ID: ID_TYPE;
873
+ /**
874
+ * Entity type: Shelf
875
+ */
876
+ ShelfID: ID_TYPE;
727
877
  }
728
- export interface UpdateShelfLocation {
878
+ export interface UpdateShelfLocation<ID_TYPE = string> {
729
879
  /**
730
880
  * Entity type: ShelfLocation
731
881
  */
732
- ID: string;
882
+ ID: ID_TYPE;
733
883
  Name: string;
734
884
  /**
735
885
  * Entity type: ShelfLocation
736
886
  */
737
- ParentID?: string;
887
+ ParentID?: ID_TYPE;
738
888
  /**
739
889
  * Entity type: ShelfLocationTemplate
740
890
  */
741
- TemplateID: string;
891
+ TemplateID: ID_TYPE;
742
892
  }
743
- export interface UpdateShelfLocationBlob {
893
+ export interface UpdateShelfLocationBlob<ID_TYPE = string> {
744
894
  BlobID: string;
745
895
  /**
746
896
  * Entity type: ShelfLocationBlob
747
897
  */
748
- ID: string;
898
+ ID: ID_TYPE;
749
899
  /**
750
900
  * Entity type: ShelfLocation
751
901
  */
752
- ShelfLocationID: string;
902
+ ShelfLocationID: ID_TYPE;
753
903
  }
754
- export interface UpdateShelfLocationProduct {
904
+ export interface UpdateShelfLocationProduct<ID_TYPE = string> {
755
905
  /**
756
906
  * Entity type: ShelfLocationProduct
757
907
  */
758
- ID: string;
908
+ ID: ID_TYPE;
759
909
  MaximumQuantity?: number;
760
910
  MinimumQuantity?: number;
761
911
  }
762
- export interface UpdateShelfLocationTemplate {
912
+ export interface UpdateShelfLocationTemplate<ID_TYPE = string> {
763
913
  Depth?: number;
764
914
  Height?: number;
765
915
  /**
766
916
  * Entity type: ShelfLocationTemplate
767
917
  */
768
- ID: string;
918
+ ID: ID_TYPE;
769
919
  Name: string;
770
920
  ProductLimit?: number;
771
921
  /**
772
922
  * Entity type: ShelfLocationTemplateType
773
923
  */
774
- TypeID: string;
924
+ TypeID: ID_TYPE;
775
925
  Width?: number;
776
926
  }
777
- export interface UpdateShelfLocationTemplateType {
927
+ export interface UpdateShelfLocationTemplateType<ID_TYPE = string> {
778
928
  Description?: string;
779
929
  /**
780
930
  * Entity type: ShelfLocationTemplateType
781
931
  */
782
- ID: string;
932
+ ID: ID_TYPE;
783
933
  }
784
- export interface UpdateShelfType {
934
+ export interface UpdateShelfType<ID_TYPE = string> {
785
935
  Description?: string;
786
936
  /**
787
937
  * Entity type: ShelfType
788
938
  */
789
- ID: string;
939
+ ID: ID_TYPE;
790
940
  }
791
- export interface UploadShelfLocationProducts {
941
+ export interface UploadShelfLocationProducts<ID_TYPE = string> {
792
942
  Data: string;
793
- ShelfLocationID: string;
943
+ /**
944
+ * Entity type: ShelfLocation
945
+ */
946
+ ShelfLocationID: ID_TYPE;
794
947
  }
795
948
  //# sourceMappingURL=eva-services-shelf-management.d.ts.map