@indigina/dcm-api 0.0.114 → 0.0.115
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/dcm-api@0.0.
|
|
1
|
+
# @indigina/dcm-api@0.0.115
|
|
2
2
|
|
|
3
3
|
DCM 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/dcm-api@0.0.
|
|
27
|
+
npm install @indigina/dcm-api@0.0.115 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -4120,7 +4120,81 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
4120
4120
|
type: Optional
|
|
4121
4121
|
}] }] });
|
|
4122
4122
|
|
|
4123
|
-
|
|
4123
|
+
/**
|
|
4124
|
+
* Dcm.API.Client
|
|
4125
|
+
*
|
|
4126
|
+
*
|
|
4127
|
+
*
|
|
4128
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4129
|
+
* https://openapi-generator.tech
|
|
4130
|
+
* Do not edit the class manually.
|
|
4131
|
+
*/
|
|
4132
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
4133
|
+
class VendorBookingsService extends BaseService {
|
|
4134
|
+
httpClient;
|
|
4135
|
+
constructor(httpClient, basePath, configuration) {
|
|
4136
|
+
super(basePath, configuration);
|
|
4137
|
+
this.httpClient = httpClient;
|
|
4138
|
+
}
|
|
4139
|
+
getVendorBookingsFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
4140
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4141
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
4142
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
4143
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
4144
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
4145
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
4146
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4147
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4148
|
+
'application/json'
|
|
4149
|
+
]);
|
|
4150
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4151
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4152
|
+
}
|
|
4153
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4154
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4155
|
+
let responseType_ = 'json';
|
|
4156
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4157
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4158
|
+
responseType_ = 'text';
|
|
4159
|
+
}
|
|
4160
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4161
|
+
responseType_ = 'json';
|
|
4162
|
+
}
|
|
4163
|
+
else {
|
|
4164
|
+
responseType_ = 'blob';
|
|
4165
|
+
}
|
|
4166
|
+
}
|
|
4167
|
+
let localVarPath = `/vendorBookings/search`;
|
|
4168
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4169
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4170
|
+
context: localVarHttpContext,
|
|
4171
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
4172
|
+
responseType: responseType_,
|
|
4173
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4174
|
+
headers: localVarHeaders,
|
|
4175
|
+
observe: observe,
|
|
4176
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4177
|
+
reportProgress: reportProgress
|
|
4178
|
+
});
|
|
4179
|
+
}
|
|
4180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: VendorBookingsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4181
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: VendorBookingsService, providedIn: 'root' });
|
|
4182
|
+
}
|
|
4183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: VendorBookingsService, decorators: [{
|
|
4184
|
+
type: Injectable,
|
|
4185
|
+
args: [{
|
|
4186
|
+
providedIn: 'root'
|
|
4187
|
+
}]
|
|
4188
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
4189
|
+
type: Optional
|
|
4190
|
+
}, {
|
|
4191
|
+
type: Inject,
|
|
4192
|
+
args: [BASE_PATH]
|
|
4193
|
+
}] }, { type: Configuration, decorators: [{
|
|
4194
|
+
type: Optional
|
|
4195
|
+
}] }] });
|
|
4196
|
+
|
|
4197
|
+
const APIS = [AuditLogsService, BookingsService, CompaniesService, ConfigService, ContainersService, DcsService, DeliveryBookingDcsService, DeliveryBookingsService, DocumentsService, HealthService, NotesService, PendoService, PermissionsService, PoItemsService, PurchaseOrdersService, ReportsService, SettingsService, ShipmentsService, SipmetItemsService, UserService, VendorBookingsService];
|
|
4124
4198
|
|
|
4125
4199
|
/**
|
|
4126
4200
|
* Dcm.API.Client
|
|
@@ -4210,6 +4284,20 @@ const BookingStates = {
|
|
|
4210
4284
|
ConfirmedSi: 'ConfirmedSI'
|
|
4211
4285
|
};
|
|
4212
4286
|
|
|
4287
|
+
/**
|
|
4288
|
+
* Dcm.API.Client
|
|
4289
|
+
*
|
|
4290
|
+
*
|
|
4291
|
+
*
|
|
4292
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4293
|
+
* https://openapi-generator.tech
|
|
4294
|
+
* Do not edit the class manually.
|
|
4295
|
+
*/
|
|
4296
|
+
const BookingTypes = {
|
|
4297
|
+
CfsLoad: 'CFSLoad',
|
|
4298
|
+
VendorLoad: 'VendorLoad'
|
|
4299
|
+
};
|
|
4300
|
+
|
|
4213
4301
|
/**
|
|
4214
4302
|
* Dcm.API.Client
|
|
4215
4303
|
*
|
|
@@ -5067,5 +5155,5 @@ function provideApi(configOrBasePath) {
|
|
|
5067
5155
|
* Generated bundle index. Do not edit.
|
|
5068
5156
|
*/
|
|
5069
5157
|
|
|
5070
|
-
export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingStates, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, CwStates, DcsService, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteCategory, NoteSourceType, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
|
|
5158
|
+
export { APIS, AmendConfirmationTypes, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, CwStates, DcsService, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteCategory, NoteSourceType, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, VendorBookingsService, WorkflowArtifacts, provideApi };
|
|
5071
5159
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|