@indigina/dcm-api 0.0.70 → 0.0.72
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 +2 -2
- package/fesm2022/indigina-dcm-api.mjs +69 -2
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/index.d.ts +30 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/dcm-api@0.0.
|
|
1
|
+
# @indigina/dcm-api@0.0.72
|
|
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.72 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1389,6 +1389,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1389
1389
|
type: Optional
|
|
1390
1390
|
}] }] });
|
|
1391
1391
|
|
|
1392
|
+
/**
|
|
1393
|
+
* Dcm.API.Client
|
|
1394
|
+
*
|
|
1395
|
+
*
|
|
1396
|
+
*
|
|
1397
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1398
|
+
* https://openapi-generator.tech
|
|
1399
|
+
* Do not edit the class manually.
|
|
1400
|
+
*/
|
|
1401
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1402
|
+
class PendoService extends BaseService {
|
|
1403
|
+
httpClient;
|
|
1404
|
+
constructor(httpClient, basePath, configuration) {
|
|
1405
|
+
super(basePath, configuration);
|
|
1406
|
+
this.httpClient = httpClient;
|
|
1407
|
+
}
|
|
1408
|
+
getPendoApiKey(observe = 'body', reportProgress = false, options) {
|
|
1409
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1410
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1411
|
+
'application/json'
|
|
1412
|
+
]);
|
|
1413
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1414
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1415
|
+
}
|
|
1416
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1417
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1418
|
+
let responseType_ = 'json';
|
|
1419
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1420
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1421
|
+
responseType_ = 'text';
|
|
1422
|
+
}
|
|
1423
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1424
|
+
responseType_ = 'json';
|
|
1425
|
+
}
|
|
1426
|
+
else {
|
|
1427
|
+
responseType_ = 'blob';
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
let localVarPath = `/pendo/api-key`;
|
|
1431
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1432
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1433
|
+
context: localVarHttpContext,
|
|
1434
|
+
responseType: responseType_,
|
|
1435
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1436
|
+
headers: localVarHeaders,
|
|
1437
|
+
observe: observe,
|
|
1438
|
+
transferCache: localVarTransferCache,
|
|
1439
|
+
reportProgress: reportProgress
|
|
1440
|
+
});
|
|
1441
|
+
}
|
|
1442
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PendoService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1443
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PendoService, providedIn: 'root' });
|
|
1444
|
+
}
|
|
1445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PendoService, decorators: [{
|
|
1446
|
+
type: Injectable,
|
|
1447
|
+
args: [{
|
|
1448
|
+
providedIn: 'root'
|
|
1449
|
+
}]
|
|
1450
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1451
|
+
type: Optional
|
|
1452
|
+
}, {
|
|
1453
|
+
type: Inject,
|
|
1454
|
+
args: [BASE_PATH]
|
|
1455
|
+
}] }, { type: Configuration, decorators: [{
|
|
1456
|
+
type: Optional
|
|
1457
|
+
}] }] });
|
|
1458
|
+
|
|
1392
1459
|
/**
|
|
1393
1460
|
* Dcm.API.Client
|
|
1394
1461
|
*
|
|
@@ -3101,7 +3168,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
3101
3168
|
type: Optional
|
|
3102
3169
|
}] }] });
|
|
3103
3170
|
|
|
3104
|
-
const APIS = [AuditLogsService, BookingsService, CompaniesService, ContainersService, DocumentsService, HealthService, NotesService, PermissionsService, PoItemsService, PurchaseOrdersService, ReportsService, SettingsService, ShipmentsService, SipmetItemsService, UserService];
|
|
3171
|
+
const APIS = [AuditLogsService, BookingsService, CompaniesService, ContainersService, DocumentsService, HealthService, NotesService, PendoService, PermissionsService, PoItemsService, PurchaseOrdersService, ReportsService, SettingsService, ShipmentsService, SipmetItemsService, UserService];
|
|
3105
3172
|
|
|
3106
3173
|
/**
|
|
3107
3174
|
* Dcm.API.Client
|
|
@@ -3900,5 +3967,5 @@ function provideApi(configOrBasePath) {
|
|
|
3900
3967
|
* Generated bundle index. Do not edit.
|
|
3901
3968
|
*/
|
|
3902
3969
|
|
|
3903
|
-
export { APIS, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
|
|
3970
|
+
export { APIS, ApiModule, ApprovalTypes, AuditLogsService, BASE_PATH, BookingsService, COLLECTION_FORMATS, CompaniesService, Configuration, ContainerBookedState, ContainerSize, ContainerType, ContainersService, DocumentType, DocumentsService, EntityState, HealthService, JourneySegmentType, NoteSourceTypes, NotesService, PendoService, PermissionsService, PoItemState, PoItemsService, PowerBiTenant, PurchaseOrderState, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, ShipmentApprovalType, ShipmentState, ShipmentTerm, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TransportMode, UserCompanyType, UserService, WorkflowArtifacts, provideApi };
|
|
3904
3971
|
//# sourceMappingURL=indigina-dcm-api.mjs.map
|