@indigina/wms-api 0.0.93 → 0.0.95

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
- # @indigina/wms-api@0.0.93
1
+ # @indigina/wms-api@0.0.95
2
2
 
3
3
  WMS API Client for Angular applications
4
4
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @indigina/wms-api@0.0.93 --save
27
+ npm install @indigina/wms-api@0.0.95 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -1137,6 +1137,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
1137
1137
  type: Optional
1138
1138
  }] }] });
1139
1139
 
1140
+ /**
1141
+ * Wms.API.Client
1142
+ *
1143
+ *
1144
+ *
1145
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1146
+ * https://openapi-generator.tech
1147
+ * Do not edit the class manually.
1148
+ */
1149
+ /* tslint:disable:no-unused-variable member-ordering */
1150
+ class DcUnitOfMeasurementService extends BaseService {
1151
+ httpClient;
1152
+ constructor(httpClient, basePath, configuration) {
1153
+ super(basePath, configuration);
1154
+ this.httpClient = httpClient;
1155
+ }
1156
+ getDcUnitOfMeasurement(observe = 'body', reportProgress = false, options) {
1157
+ let localVarHeaders = this.defaultHeaders;
1158
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1159
+ 'application/json'
1160
+ ]);
1161
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1162
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1163
+ }
1164
+ const localVarHttpContext = options?.context ?? new HttpContext();
1165
+ const localVarTransferCache = options?.transferCache ?? true;
1166
+ let responseType_ = 'json';
1167
+ if (localVarHttpHeaderAcceptSelected) {
1168
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1169
+ responseType_ = 'text';
1170
+ }
1171
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1172
+ responseType_ = 'json';
1173
+ }
1174
+ else {
1175
+ responseType_ = 'blob';
1176
+ }
1177
+ }
1178
+ let localVarPath = `/dcUnitOfMeasurements/me`;
1179
+ const { basePath, withCredentials } = this.configuration;
1180
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1181
+ context: localVarHttpContext,
1182
+ responseType: responseType_,
1183
+ ...(withCredentials ? { withCredentials } : {}),
1184
+ headers: localVarHeaders,
1185
+ observe: observe,
1186
+ transferCache: localVarTransferCache,
1187
+ reportProgress: reportProgress
1188
+ });
1189
+ }
1190
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DcUnitOfMeasurementService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1191
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DcUnitOfMeasurementService, providedIn: 'root' });
1192
+ }
1193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DcUnitOfMeasurementService, decorators: [{
1194
+ type: Injectable,
1195
+ args: [{
1196
+ providedIn: 'root'
1197
+ }]
1198
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1199
+ type: Optional
1200
+ }, {
1201
+ type: Inject,
1202
+ args: [BASE_PATH]
1203
+ }] }, { type: Configuration, decorators: [{
1204
+ type: Optional
1205
+ }] }] });
1206
+
1140
1207
  /**
1141
1208
  * Wms.API.Client
1142
1209
  *
@@ -1576,9 +1643,9 @@ class DeliveriesService extends BaseService {
1576
1643
  reportProgress: reportProgress
1577
1644
  });
1578
1645
  }
1579
- createDelivery(delivery, observe = 'body', reportProgress = false, options) {
1580
- if (delivery === null || delivery === undefined) {
1581
- throw new Error('Required parameter delivery was null or undefined when calling createDelivery.');
1646
+ createDelivery(deliveryDataModel, observe = 'body', reportProgress = false, options) {
1647
+ if (deliveryDataModel === null || deliveryDataModel === undefined) {
1648
+ throw new Error('Required parameter deliveryDataModel was null or undefined when calling createDelivery.');
1582
1649
  }
1583
1650
  let localVarHeaders = this.defaultHeaders;
1584
1651
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
@@ -1613,7 +1680,7 @@ class DeliveriesService extends BaseService {
1613
1680
  const { basePath, withCredentials } = this.configuration;
1614
1681
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1615
1682
  context: localVarHttpContext,
1616
- body: delivery,
1683
+ body: deliveryDataModel,
1617
1684
  responseType: responseType_,
1618
1685
  ...(withCredentials ? { withCredentials } : {}),
1619
1686
  headers: localVarHeaders,
@@ -2216,6 +2283,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
2216
2283
  type: Optional
2217
2284
  }] }] });
2218
2285
 
2286
+ /**
2287
+ * Wms.API.Client
2288
+ *
2289
+ *
2290
+ *
2291
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2292
+ * https://openapi-generator.tech
2293
+ * Do not edit the class manually.
2294
+ */
2295
+ /* tslint:disable:no-unused-variable member-ordering */
2296
+ class DispatchBoxesService extends BaseService {
2297
+ httpClient;
2298
+ constructor(httpClient, basePath, configuration) {
2299
+ super(basePath, configuration);
2300
+ this.httpClient = httpClient;
2301
+ }
2302
+ getDispatchBoxes($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2303
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2304
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
2305
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
2306
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
2307
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
2308
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
2309
+ let localVarHeaders = this.defaultHeaders;
2310
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2311
+ 'application/json'
2312
+ ]);
2313
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2314
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2315
+ }
2316
+ const localVarHttpContext = options?.context ?? new HttpContext();
2317
+ const localVarTransferCache = options?.transferCache ?? true;
2318
+ let responseType_ = 'json';
2319
+ if (localVarHttpHeaderAcceptSelected) {
2320
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2321
+ responseType_ = 'text';
2322
+ }
2323
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2324
+ responseType_ = 'json';
2325
+ }
2326
+ else {
2327
+ responseType_ = 'blob';
2328
+ }
2329
+ }
2330
+ let localVarPath = `/dispatchBoxes`;
2331
+ const { basePath, withCredentials } = this.configuration;
2332
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2333
+ context: localVarHttpContext,
2334
+ params: localVarQueryParameters,
2335
+ responseType: responseType_,
2336
+ ...(withCredentials ? { withCredentials } : {}),
2337
+ headers: localVarHeaders,
2338
+ observe: observe,
2339
+ transferCache: localVarTransferCache,
2340
+ reportProgress: reportProgress
2341
+ });
2342
+ }
2343
+ getDispatchBoxesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
2344
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2345
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
2346
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
2347
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
2348
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
2349
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
2350
+ let localVarHeaders = this.defaultHeaders;
2351
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2352
+ 'application/json'
2353
+ ]);
2354
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2355
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2356
+ }
2357
+ const localVarHttpContext = options?.context ?? new HttpContext();
2358
+ const localVarTransferCache = options?.transferCache ?? true;
2359
+ let responseType_ = 'json';
2360
+ if (localVarHttpHeaderAcceptSelected) {
2361
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2362
+ responseType_ = 'text';
2363
+ }
2364
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2365
+ responseType_ = 'json';
2366
+ }
2367
+ else {
2368
+ responseType_ = 'blob';
2369
+ }
2370
+ }
2371
+ let localVarPath = `/dispatchBoxes/search`;
2372
+ const { basePath, withCredentials } = this.configuration;
2373
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2374
+ context: localVarHttpContext,
2375
+ params: localVarQueryParameters,
2376
+ responseType: responseType_,
2377
+ ...(withCredentials ? { withCredentials } : {}),
2378
+ headers: localVarHeaders,
2379
+ observe: observe,
2380
+ transferCache: localVarTransferCache,
2381
+ reportProgress: reportProgress
2382
+ });
2383
+ }
2384
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DispatchBoxesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2385
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DispatchBoxesService, providedIn: 'root' });
2386
+ }
2387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DispatchBoxesService, decorators: [{
2388
+ type: Injectable,
2389
+ args: [{
2390
+ providedIn: 'root'
2391
+ }]
2392
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
2393
+ type: Optional
2394
+ }, {
2395
+ type: Inject,
2396
+ args: [BASE_PATH]
2397
+ }] }, { type: Configuration, decorators: [{
2398
+ type: Optional
2399
+ }] }] });
2400
+
2219
2401
  /**
2220
2402
  * Wms.API.Client
2221
2403
  *
@@ -4955,7 +5137,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
4955
5137
  type: Optional
4956
5138
  }] }] });
4957
5139
 
4958
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
5140
+ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
4959
5141
 
4960
5142
  /**
4961
5143
  * Wms.API.Client
@@ -5037,6 +5219,21 @@ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDelive
5037
5219
  * Do not edit the class manually.
5038
5220
  */
5039
5221
 
5222
+ /**
5223
+ * Wms.API.Client
5224
+ *
5225
+ *
5226
+ *
5227
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5228
+ * https://openapi-generator.tech
5229
+ * Do not edit the class manually.
5230
+ */
5231
+ const DcLocationStatus = {
5232
+ Active: 'Active',
5233
+ Suspended: 'Suspended',
5234
+ Closed: 'Closed'
5235
+ };
5236
+
5040
5237
  /**
5041
5238
  * Wms.API.Client
5042
5239
  *
@@ -5119,6 +5316,37 @@ const DeviceType = {
5119
5316
  * Do not edit the class manually.
5120
5317
  */
5121
5318
 
5319
+ /**
5320
+ * Wms.API.Client
5321
+ *
5322
+ *
5323
+ *
5324
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5325
+ * https://openapi-generator.tech
5326
+ * Do not edit the class manually.
5327
+ */
5328
+
5329
+ /**
5330
+ * Wms.API.Client
5331
+ *
5332
+ *
5333
+ *
5334
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5335
+ * https://openapi-generator.tech
5336
+ * Do not edit the class manually.
5337
+ */
5338
+ const LocationType = {
5339
+ AvailableStock: 'AvailableStock',
5340
+ CrossDock: 'CrossDock',
5341
+ Quarantine: 'Quarantine',
5342
+ Returns: 'Returns',
5343
+ WebStock: 'WebStock',
5344
+ BulkStock: 'BulkStock',
5345
+ Qc: 'QC',
5346
+ Query: 'Query',
5347
+ TestCode: 'TestCode'
5348
+ };
5349
+
5122
5350
  /**
5123
5351
  * Wms.API.Client
5124
5352
  *
@@ -5269,6 +5497,16 @@ const PickingProcesses = {
5269
5497
  * Do not edit the class manually.
5270
5498
  */
5271
5499
 
5500
+ /**
5501
+ * Wms.API.Client
5502
+ *
5503
+ *
5504
+ *
5505
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5506
+ * https://openapi-generator.tech
5507
+ * Do not edit the class manually.
5508
+ */
5509
+
5272
5510
  /**
5273
5511
  * Wms.API.Client
5274
5512
  *
@@ -5409,6 +5647,11 @@ const RecordType = {
5409
5647
  * https://openapi-generator.tech
5410
5648
  * Do not edit the class manually.
5411
5649
  */
5650
+ const StorageType = {
5651
+ PickFace: 'PickFace',
5652
+ Bulk: 'Bulk',
5653
+ CrossDock: 'CrossDock'
5654
+ };
5412
5655
 
5413
5656
  /**
5414
5657
  * Wms.API.Client
@@ -5420,6 +5663,34 @@ const RecordType = {
5420
5663
  * Do not edit the class manually.
5421
5664
  */
5422
5665
 
5666
+ /**
5667
+ * Wms.API.Client
5668
+ *
5669
+ *
5670
+ *
5671
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5672
+ * https://openapi-generator.tech
5673
+ * Do not edit the class manually.
5674
+ */
5675
+
5676
+ /**
5677
+ * Wms.API.Client
5678
+ *
5679
+ *
5680
+ *
5681
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5682
+ * https://openapi-generator.tech
5683
+ * Do not edit the class manually.
5684
+ */
5685
+ const UnitOfMeasurementTypes = {
5686
+ Inches: 'Inches',
5687
+ Kilogram: 'Kilogram',
5688
+ Centimeter: 'Centimeter',
5689
+ Pound: 'Pound',
5690
+ Cbm: 'CBM',
5691
+ Mtq: 'MTQ'
5692
+ };
5693
+
5423
5694
  /**
5424
5695
  * Wms.API.Client
5425
5696
  *
@@ -5524,5 +5795,5 @@ function provideApi(configOrBasePath) {
5524
5795
  * Generated bundle index. Do not edit.
5525
5796
  */
5526
5797
 
5527
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationsService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService, provideApi };
5798
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemsService, DispatchesService, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, provideApi };
5528
5799
  //# sourceMappingURL=indigina-wms-api.mjs.map