@indigina/wms-api 0.0.180 → 0.0.181

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.
@@ -3796,6 +3796,246 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3796
3796
  type: Optional
3797
3797
  }] }] });
3798
3798
 
3799
+ /**
3800
+ * Wms.API.Client
3801
+ *
3802
+ *
3803
+ *
3804
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3805
+ * https://openapi-generator.tech
3806
+ * Do not edit the class manually.
3807
+ */
3808
+ /* tslint:disable:no-unused-variable member-ordering */
3809
+ class DispatchBoxTypesService extends BaseService {
3810
+ httpClient;
3811
+ constructor(httpClient, basePath, configuration) {
3812
+ super(basePath, configuration);
3813
+ this.httpClient = httpClient;
3814
+ }
3815
+ createDispatchBoxType(dispatchBoxType, observe = 'body', reportProgress = false, options) {
3816
+ if (dispatchBoxType === null || dispatchBoxType === undefined) {
3817
+ throw new Error('Required parameter dispatchBoxType was null or undefined when calling createDispatchBoxType.');
3818
+ }
3819
+ let localVarHeaders = this.defaultHeaders;
3820
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3821
+ 'application/json'
3822
+ ]);
3823
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3824
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3825
+ }
3826
+ const localVarHttpContext = options?.context ?? new HttpContext();
3827
+ const localVarTransferCache = options?.transferCache ?? true;
3828
+ // to determine the Content-Type header
3829
+ const consumes = [
3830
+ 'application/json'
3831
+ ];
3832
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3833
+ if (httpContentTypeSelected !== undefined) {
3834
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3835
+ }
3836
+ let responseType_ = 'json';
3837
+ if (localVarHttpHeaderAcceptSelected) {
3838
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3839
+ responseType_ = 'text';
3840
+ }
3841
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3842
+ responseType_ = 'json';
3843
+ }
3844
+ else {
3845
+ responseType_ = 'blob';
3846
+ }
3847
+ }
3848
+ let localVarPath = `/dispatchBoxTypes`;
3849
+ const { basePath, withCredentials } = this.configuration;
3850
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3851
+ context: localVarHttpContext,
3852
+ body: dispatchBoxType,
3853
+ responseType: responseType_,
3854
+ ...(withCredentials ? { withCredentials } : {}),
3855
+ headers: localVarHeaders,
3856
+ observe: observe,
3857
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3858
+ reportProgress: reportProgress
3859
+ });
3860
+ }
3861
+ deleteDispatchBoxType(id, observe = 'body', reportProgress = false, options) {
3862
+ if (id === null || id === undefined) {
3863
+ throw new Error('Required parameter id was null or undefined when calling deleteDispatchBoxType.');
3864
+ }
3865
+ let localVarHeaders = this.defaultHeaders;
3866
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
3867
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3868
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3869
+ }
3870
+ const localVarHttpContext = options?.context ?? new HttpContext();
3871
+ const localVarTransferCache = options?.transferCache ?? true;
3872
+ let responseType_ = 'json';
3873
+ if (localVarHttpHeaderAcceptSelected) {
3874
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3875
+ responseType_ = 'text';
3876
+ }
3877
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3878
+ responseType_ = 'json';
3879
+ }
3880
+ else {
3881
+ responseType_ = 'blob';
3882
+ }
3883
+ }
3884
+ let localVarPath = `/dispatchBoxTypes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
3885
+ const { basePath, withCredentials } = this.configuration;
3886
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
3887
+ context: localVarHttpContext,
3888
+ responseType: responseType_,
3889
+ ...(withCredentials ? { withCredentials } : {}),
3890
+ headers: localVarHeaders,
3891
+ observe: observe,
3892
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3893
+ reportProgress: reportProgress
3894
+ });
3895
+ }
3896
+ getDispatchBoxType(id, observe = 'body', reportProgress = false, options) {
3897
+ if (id === null || id === undefined) {
3898
+ throw new Error('Required parameter id was null or undefined when calling getDispatchBoxType.');
3899
+ }
3900
+ let localVarHeaders = this.defaultHeaders;
3901
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3902
+ 'application/json'
3903
+ ]);
3904
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3905
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3906
+ }
3907
+ const localVarHttpContext = options?.context ?? new HttpContext();
3908
+ const localVarTransferCache = options?.transferCache ?? true;
3909
+ let responseType_ = 'json';
3910
+ if (localVarHttpHeaderAcceptSelected) {
3911
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3912
+ responseType_ = 'text';
3913
+ }
3914
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3915
+ responseType_ = 'json';
3916
+ }
3917
+ else {
3918
+ responseType_ = 'blob';
3919
+ }
3920
+ }
3921
+ let localVarPath = `/dispatchBoxTypes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
3922
+ const { basePath, withCredentials } = this.configuration;
3923
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3924
+ context: localVarHttpContext,
3925
+ responseType: responseType_,
3926
+ ...(withCredentials ? { withCredentials } : {}),
3927
+ headers: localVarHeaders,
3928
+ observe: observe,
3929
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3930
+ reportProgress: reportProgress
3931
+ });
3932
+ }
3933
+ getDispatchBoxTypes($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
3934
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3935
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3936
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3937
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3938
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3939
+ let localVarHeaders = this.defaultHeaders;
3940
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3941
+ 'application/json'
3942
+ ]);
3943
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3944
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3945
+ }
3946
+ const localVarHttpContext = options?.context ?? new HttpContext();
3947
+ const localVarTransferCache = options?.transferCache ?? true;
3948
+ let responseType_ = 'json';
3949
+ if (localVarHttpHeaderAcceptSelected) {
3950
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3951
+ responseType_ = 'text';
3952
+ }
3953
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3954
+ responseType_ = 'json';
3955
+ }
3956
+ else {
3957
+ responseType_ = 'blob';
3958
+ }
3959
+ }
3960
+ let localVarPath = `/dispatchBoxTypes`;
3961
+ const { basePath, withCredentials } = this.configuration;
3962
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3963
+ context: localVarHttpContext,
3964
+ params: localVarQueryParameters.toHttpParams(),
3965
+ responseType: responseType_,
3966
+ ...(withCredentials ? { withCredentials } : {}),
3967
+ headers: localVarHeaders,
3968
+ observe: observe,
3969
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3970
+ reportProgress: reportProgress
3971
+ });
3972
+ }
3973
+ updateDispatchBoxType(id, dispatchBoxType, observe = 'body', reportProgress = false, options) {
3974
+ if (id === null || id === undefined) {
3975
+ throw new Error('Required parameter id was null or undefined when calling updateDispatchBoxType.');
3976
+ }
3977
+ if (dispatchBoxType === null || dispatchBoxType === undefined) {
3978
+ throw new Error('Required parameter dispatchBoxType was null or undefined when calling updateDispatchBoxType.');
3979
+ }
3980
+ let localVarHeaders = this.defaultHeaders;
3981
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3982
+ 'application/json'
3983
+ ]);
3984
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3985
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3986
+ }
3987
+ const localVarHttpContext = options?.context ?? new HttpContext();
3988
+ const localVarTransferCache = options?.transferCache ?? true;
3989
+ // to determine the Content-Type header
3990
+ const consumes = [
3991
+ 'application/json'
3992
+ ];
3993
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3994
+ if (httpContentTypeSelected !== undefined) {
3995
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
3996
+ }
3997
+ let responseType_ = 'json';
3998
+ if (localVarHttpHeaderAcceptSelected) {
3999
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4000
+ responseType_ = 'text';
4001
+ }
4002
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4003
+ responseType_ = 'json';
4004
+ }
4005
+ else {
4006
+ responseType_ = 'blob';
4007
+ }
4008
+ }
4009
+ let localVarPath = `/dispatchBoxTypes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
4010
+ const { basePath, withCredentials } = this.configuration;
4011
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
4012
+ context: localVarHttpContext,
4013
+ body: dispatchBoxType,
4014
+ responseType: responseType_,
4015
+ ...(withCredentials ? { withCredentials } : {}),
4016
+ headers: localVarHeaders,
4017
+ observe: observe,
4018
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4019
+ reportProgress: reportProgress
4020
+ });
4021
+ }
4022
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxTypesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4023
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxTypesService, providedIn: 'root' });
4024
+ }
4025
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxTypesService, decorators: [{
4026
+ type: Injectable,
4027
+ args: [{
4028
+ providedIn: 'root'
4029
+ }]
4030
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
4031
+ type: Optional
4032
+ }, {
4033
+ type: Inject,
4034
+ args: [BASE_PATH]
4035
+ }] }, { type: Configuration, decorators: [{
4036
+ type: Optional
4037
+ }] }] });
4038
+
3799
4039
  /**
3800
4040
  * Wms.API.Client
3801
4041
  *
@@ -3812,13 +4052,125 @@ class DispatchBoxesService extends BaseService {
3812
4052
  super(basePath, configuration);
3813
4053
  this.httpClient = httpClient;
3814
4054
  }
3815
- getDispatchBoxes($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3816
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3817
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3818
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3819
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3820
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3821
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
4055
+ getDispatchBoxes($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
4056
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4057
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
4058
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
4059
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
4060
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
4061
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
4062
+ let localVarHeaders = this.defaultHeaders;
4063
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4064
+ 'application/json'
4065
+ ]);
4066
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4067
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4068
+ }
4069
+ const localVarHttpContext = options?.context ?? new HttpContext();
4070
+ const localVarTransferCache = options?.transferCache ?? true;
4071
+ let responseType_ = 'json';
4072
+ if (localVarHttpHeaderAcceptSelected) {
4073
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4074
+ responseType_ = 'text';
4075
+ }
4076
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4077
+ responseType_ = 'json';
4078
+ }
4079
+ else {
4080
+ responseType_ = 'blob';
4081
+ }
4082
+ }
4083
+ let localVarPath = `/dispatchBoxes`;
4084
+ const { basePath, withCredentials } = this.configuration;
4085
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4086
+ context: localVarHttpContext,
4087
+ params: localVarQueryParameters.toHttpParams(),
4088
+ responseType: responseType_,
4089
+ ...(withCredentials ? { withCredentials } : {}),
4090
+ headers: localVarHeaders,
4091
+ observe: observe,
4092
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4093
+ reportProgress: reportProgress
4094
+ });
4095
+ }
4096
+ getDispatchBoxesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
4097
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4098
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
4099
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
4100
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
4101
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
4102
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
4103
+ let localVarHeaders = this.defaultHeaders;
4104
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4105
+ 'application/json'
4106
+ ]);
4107
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4108
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4109
+ }
4110
+ const localVarHttpContext = options?.context ?? new HttpContext();
4111
+ const localVarTransferCache = options?.transferCache ?? true;
4112
+ let responseType_ = 'json';
4113
+ if (localVarHttpHeaderAcceptSelected) {
4114
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4115
+ responseType_ = 'text';
4116
+ }
4117
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4118
+ responseType_ = 'json';
4119
+ }
4120
+ else {
4121
+ responseType_ = 'blob';
4122
+ }
4123
+ }
4124
+ let localVarPath = `/dispatchBoxes/search`;
4125
+ const { basePath, withCredentials } = this.configuration;
4126
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4127
+ context: localVarHttpContext,
4128
+ params: localVarQueryParameters.toHttpParams(),
4129
+ responseType: responseType_,
4130
+ ...(withCredentials ? { withCredentials } : {}),
4131
+ headers: localVarHeaders,
4132
+ observe: observe,
4133
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4134
+ reportProgress: reportProgress
4135
+ });
4136
+ }
4137
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4138
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, providedIn: 'root' });
4139
+ }
4140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, decorators: [{
4141
+ type: Injectable,
4142
+ args: [{
4143
+ providedIn: 'root'
4144
+ }]
4145
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
4146
+ type: Optional
4147
+ }, {
4148
+ type: Inject,
4149
+ args: [BASE_PATH]
4150
+ }] }, { type: Configuration, decorators: [{
4151
+ type: Optional
4152
+ }] }] });
4153
+
4154
+ /**
4155
+ * Wms.API.Client
4156
+ *
4157
+ *
4158
+ *
4159
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4160
+ * https://openapi-generator.tech
4161
+ * Do not edit the class manually.
4162
+ */
4163
+ /* tslint:disable:no-unused-variable member-ordering */
4164
+ class DispatchCarriersService extends BaseService {
4165
+ httpClient;
4166
+ constructor(httpClient, basePath, configuration) {
4167
+ super(basePath, configuration);
4168
+ this.httpClient = httpClient;
4169
+ }
4170
+ getDispatchCarriers(dispatchId, observe = 'body', reportProgress = false, options) {
4171
+ if (dispatchId === null || dispatchId === undefined) {
4172
+ throw new Error('Required parameter dispatchId was null or undefined when calling getDispatchCarriers.');
4173
+ }
3822
4174
  let localVarHeaders = this.defaultHeaders;
3823
4175
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3824
4176
  'application/json'
@@ -3840,11 +4192,10 @@ class DispatchBoxesService extends BaseService {
3840
4192
  responseType_ = 'blob';
3841
4193
  }
3842
4194
  }
3843
- let localVarPath = `/dispatchBoxes`;
4195
+ let localVarPath = `/dispatchCarriers/dispatches/${this.configuration.encodeParam({ name: "dispatchId", value: dispatchId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carriers`;
3844
4196
  const { basePath, withCredentials } = this.configuration;
3845
4197
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3846
4198
  context: localVarHttpContext,
3847
- params: localVarQueryParameters.toHttpParams(),
3848
4199
  responseType: responseType_,
3849
4200
  ...(withCredentials ? { withCredentials } : {}),
3850
4201
  headers: localVarHeaders,
@@ -3853,13 +4204,10 @@ class DispatchBoxesService extends BaseService {
3853
4204
  reportProgress: reportProgress
3854
4205
  });
3855
4206
  }
3856
- getDispatchBoxesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
3857
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3858
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3859
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3860
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3861
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3862
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
4207
+ getDispatchCarriersForClient(clientId, observe = 'body', reportProgress = false, options) {
4208
+ if (clientId === null || clientId === undefined) {
4209
+ throw new Error('Required parameter clientId was null or undefined when calling getDispatchCarriersForClient.');
4210
+ }
3863
4211
  let localVarHeaders = this.defaultHeaders;
3864
4212
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3865
4213
  'application/json'
@@ -3881,9 +4229,49 @@ class DispatchBoxesService extends BaseService {
3881
4229
  responseType_ = 'blob';
3882
4230
  }
3883
4231
  }
3884
- let localVarPath = `/dispatchBoxes/search`;
4232
+ let localVarPath = `/dispatchCarriers/clients/${this.configuration.encodeParam({ name: "clientId", value: clientId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carriers`;
3885
4233
  const { basePath, withCredentials } = this.configuration;
3886
4234
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4235
+ context: localVarHttpContext,
4236
+ responseType: responseType_,
4237
+ ...(withCredentials ? { withCredentials } : {}),
4238
+ headers: localVarHeaders,
4239
+ observe: observe,
4240
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4241
+ reportProgress: reportProgress
4242
+ });
4243
+ }
4244
+ setDispatchCarrier(id, carrierId, observe = 'body', reportProgress = false, options) {
4245
+ if (id === null || id === undefined) {
4246
+ throw new Error('Required parameter id was null or undefined when calling setDispatchCarrier.');
4247
+ }
4248
+ if (carrierId === null || carrierId === undefined) {
4249
+ throw new Error('Required parameter carrierId was null or undefined when calling setDispatchCarrier.');
4250
+ }
4251
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4252
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'carrierId', carrierId, QueryParamStyle.Form, true);
4253
+ let localVarHeaders = this.defaultHeaders;
4254
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
4255
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4256
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4257
+ }
4258
+ const localVarHttpContext = options?.context ?? new HttpContext();
4259
+ const localVarTransferCache = options?.transferCache ?? true;
4260
+ let responseType_ = 'json';
4261
+ if (localVarHttpHeaderAcceptSelected) {
4262
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4263
+ responseType_ = 'text';
4264
+ }
4265
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4266
+ responseType_ = 'json';
4267
+ }
4268
+ else {
4269
+ responseType_ = 'blob';
4270
+ }
4271
+ }
4272
+ let localVarPath = `/dispatchCarriers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carrier`;
4273
+ const { basePath, withCredentials } = this.configuration;
4274
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
3887
4275
  context: localVarHttpContext,
3888
4276
  params: localVarQueryParameters.toHttpParams(),
3889
4277
  responseType: responseType_,
@@ -3894,10 +4282,10 @@ class DispatchBoxesService extends BaseService {
3894
4282
  reportProgress: reportProgress
3895
4283
  });
3896
4284
  }
3897
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3898
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, providedIn: 'root' });
4285
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchCarriersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4286
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchCarriersService, providedIn: 'root' });
3899
4287
  }
3900
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchBoxesService, decorators: [{
4288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchCarriersService, decorators: [{
3901
4289
  type: Injectable,
3902
4290
  args: [{
3903
4291
  providedIn: 'root'
@@ -4270,43 +4658,6 @@ class DispatchesService extends BaseService {
4270
4658
  reportProgress: reportProgress
4271
4659
  });
4272
4660
  }
4273
- getDispatchCarriers(id, observe = 'body', reportProgress = false, options) {
4274
- if (id === null || id === undefined) {
4275
- throw new Error('Required parameter id was null or undefined when calling getDispatchCarriers.');
4276
- }
4277
- let localVarHeaders = this.defaultHeaders;
4278
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4279
- 'application/json'
4280
- ]);
4281
- if (localVarHttpHeaderAcceptSelected !== undefined) {
4282
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4283
- }
4284
- const localVarHttpContext = options?.context ?? new HttpContext();
4285
- const localVarTransferCache = options?.transferCache ?? true;
4286
- let responseType_ = 'json';
4287
- if (localVarHttpHeaderAcceptSelected) {
4288
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4289
- responseType_ = 'text';
4290
- }
4291
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4292
- responseType_ = 'json';
4293
- }
4294
- else {
4295
- responseType_ = 'blob';
4296
- }
4297
- }
4298
- let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carriers`;
4299
- const { basePath, withCredentials } = this.configuration;
4300
- return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4301
- context: localVarHttpContext,
4302
- responseType: responseType_,
4303
- ...(withCredentials ? { withCredentials } : {}),
4304
- headers: localVarHeaders,
4305
- observe: observe,
4306
- ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4307
- reportProgress: reportProgress
4308
- });
4309
- }
4310
4661
  getDispatchSummaryView(id, observe = 'body', reportProgress = false, options) {
4311
4662
  if (id === null || id === undefined) {
4312
4663
  throw new Error('Required parameter id was null or undefined when calling getDispatchSummaryView.');
@@ -4503,47 +4854,6 @@ class DispatchesService extends BaseService {
4503
4854
  reportProgress: reportProgress
4504
4855
  });
4505
4856
  }
4506
- setDispatchCarrier(id, carrierId, observe = 'body', reportProgress = false, options) {
4507
- if (id === null || id === undefined) {
4508
- throw new Error('Required parameter id was null or undefined when calling setDispatchCarrier.');
4509
- }
4510
- if (carrierId === null || carrierId === undefined) {
4511
- throw new Error('Required parameter carrierId was null or undefined when calling setDispatchCarrier.');
4512
- }
4513
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4514
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'carrierId', carrierId, QueryParamStyle.Form, true);
4515
- let localVarHeaders = this.defaultHeaders;
4516
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
4517
- if (localVarHttpHeaderAcceptSelected !== undefined) {
4518
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
4519
- }
4520
- const localVarHttpContext = options?.context ?? new HttpContext();
4521
- const localVarTransferCache = options?.transferCache ?? true;
4522
- let responseType_ = 'json';
4523
- if (localVarHttpHeaderAcceptSelected) {
4524
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
4525
- responseType_ = 'text';
4526
- }
4527
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4528
- responseType_ = 'json';
4529
- }
4530
- else {
4531
- responseType_ = 'blob';
4532
- }
4533
- }
4534
- let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carrier`;
4535
- const { basePath, withCredentials } = this.configuration;
4536
- return this.httpClient.request('put', `${basePath}${localVarPath}`, {
4537
- context: localVarHttpContext,
4538
- params: localVarQueryParameters.toHttpParams(),
4539
- responseType: responseType_,
4540
- ...(withCredentials ? { withCredentials } : {}),
4541
- headers: localVarHeaders,
4542
- observe: observe,
4543
- ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
4544
- reportProgress: reportProgress
4545
- });
4546
- }
4547
4857
  setDispatchCarrierReference(id, courierReference, carrierServiceName, observe = 'body', reportProgress = false, options) {
4548
4858
  if (id === null || id === undefined) {
4549
4859
  throw new Error('Required parameter id was null or undefined when calling setDispatchCarrierReference.');
@@ -5026,6 +5336,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
5026
5336
  type: Optional
5027
5337
  }] }] });
5028
5338
 
5339
+ /**
5340
+ * Wms.API.Client
5341
+ *
5342
+ *
5343
+ *
5344
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5345
+ * https://openapi-generator.tech
5346
+ * Do not edit the class manually.
5347
+ */
5348
+ /* tslint:disable:no-unused-variable member-ordering */
5349
+ class PackageTypesService extends BaseService {
5350
+ httpClient;
5351
+ constructor(httpClient, basePath, configuration) {
5352
+ super(basePath, configuration);
5353
+ this.httpClient = httpClient;
5354
+ }
5355
+ getPackageTypes(observe = 'body', reportProgress = false, options) {
5356
+ let localVarHeaders = this.defaultHeaders;
5357
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
5358
+ 'application/json'
5359
+ ]);
5360
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
5361
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
5362
+ }
5363
+ const localVarHttpContext = options?.context ?? new HttpContext();
5364
+ const localVarTransferCache = options?.transferCache ?? true;
5365
+ let responseType_ = 'json';
5366
+ if (localVarHttpHeaderAcceptSelected) {
5367
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
5368
+ responseType_ = 'text';
5369
+ }
5370
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
5371
+ responseType_ = 'json';
5372
+ }
5373
+ else {
5374
+ responseType_ = 'blob';
5375
+ }
5376
+ }
5377
+ let localVarPath = `/packageTypes`;
5378
+ const { basePath, withCredentials } = this.configuration;
5379
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
5380
+ context: localVarHttpContext,
5381
+ responseType: responseType_,
5382
+ ...(withCredentials ? { withCredentials } : {}),
5383
+ headers: localVarHeaders,
5384
+ observe: observe,
5385
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
5386
+ reportProgress: reportProgress
5387
+ });
5388
+ }
5389
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PackageTypesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
5390
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PackageTypesService, providedIn: 'root' });
5391
+ }
5392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PackageTypesService, decorators: [{
5393
+ type: Injectable,
5394
+ args: [{
5395
+ providedIn: 'root'
5396
+ }]
5397
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
5398
+ type: Optional
5399
+ }, {
5400
+ type: Inject,
5401
+ args: [BASE_PATH]
5402
+ }] }, { type: Configuration, decorators: [{
5403
+ type: Optional
5404
+ }] }] });
5405
+
5029
5406
  /**
5030
5407
  * Wms.API.Client
5031
5408
  *
@@ -10219,7 +10596,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
10219
10596
  type: Optional
10220
10597
  }] }] });
10221
10598
 
10222
- const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
10599
+ const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PackageTypesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
10223
10600
 
10224
10601
  /**
10225
10602
  * Wms.API.Client
@@ -10387,6 +10764,26 @@ const AddressType = {
10387
10764
  * Do not edit the class manually.
10388
10765
  */
10389
10766
 
10767
+ /**
10768
+ * Wms.API.Client
10769
+ *
10770
+ *
10771
+ *
10772
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10773
+ * https://openapi-generator.tech
10774
+ * Do not edit the class manually.
10775
+ */
10776
+
10777
+ /**
10778
+ * Wms.API.Client
10779
+ *
10780
+ *
10781
+ *
10782
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10783
+ * https://openapi-generator.tech
10784
+ * Do not edit the class manually.
10785
+ */
10786
+
10390
10787
  /**
10391
10788
  * Wms.API.Client
10392
10789
  *
@@ -10858,6 +11255,26 @@ const OrderType = {
10858
11255
  Retail: 'Retail'
10859
11256
  };
10860
11257
 
11258
+ /**
11259
+ * Wms.API.Client
11260
+ *
11261
+ *
11262
+ *
11263
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11264
+ * https://openapi-generator.tech
11265
+ * Do not edit the class manually.
11266
+ */
11267
+
11268
+ /**
11269
+ * Wms.API.Client
11270
+ *
11271
+ *
11272
+ *
11273
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11274
+ * https://openapi-generator.tech
11275
+ * Do not edit the class manually.
11276
+ */
11277
+
10861
11278
  /**
10862
11279
  * Wms.API.Client
10863
11280
  *
@@ -11561,5 +11978,5 @@ function provideApi(configOrBasePath) {
11561
11978
  * Generated bundle index. Do not edit.
11562
11979
  */
11563
11980
 
11564
- export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, Configuration, ContactsService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, ShipToSubtype, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
11981
+ export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, Configuration, ContactsService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackageTypesService, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, ShipToSubtype, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
11565
11982
  //# sourceMappingURL=indigina-wms-api.mjs.map