@indigina/myseko-api 0.0.25 → 0.0.27
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/package.json
CHANGED
|
@@ -291,6 +291,7 @@ interface ShipmentCalendarItem {
|
|
|
291
291
|
shipReference?: string | null;
|
|
292
292
|
consReference?: string | null;
|
|
293
293
|
isCalculatedScheduledDelivery?: boolean | null;
|
|
294
|
+
containerNumbers?: string | null;
|
|
294
295
|
}
|
|
295
296
|
|
|
296
297
|
/**
|
|
@@ -442,6 +443,269 @@ declare class DashboardService extends BaseService {
|
|
|
442
443
|
static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
|
|
443
444
|
}
|
|
444
445
|
|
|
446
|
+
/**
|
|
447
|
+
* MySeko.API.Client
|
|
448
|
+
*
|
|
449
|
+
*
|
|
450
|
+
*
|
|
451
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
452
|
+
* https://openapi-generator.tech
|
|
453
|
+
* Do not edit the class manually.
|
|
454
|
+
*/
|
|
455
|
+
declare const DocumentCategoryType: {
|
|
456
|
+
readonly None: "None";
|
|
457
|
+
readonly Other: "Other";
|
|
458
|
+
readonly Sli: "SLI";
|
|
459
|
+
readonly TmsQuoteFinal: "TMSQuoteFinal";
|
|
460
|
+
readonly Bol: "BOL";
|
|
461
|
+
readonly Invoice: "Invoice";
|
|
462
|
+
readonly PackingList: "Packing_list";
|
|
463
|
+
readonly CertificateOfOrigin: "Certificate_of_Origin";
|
|
464
|
+
readonly FormA: "Form_A";
|
|
465
|
+
readonly T1: "T1";
|
|
466
|
+
readonly T2: "T2";
|
|
467
|
+
readonly DangerousGoods: "Dangerous_goods";
|
|
468
|
+
readonly ExportLicense: "Export_license";
|
|
469
|
+
readonly ImportLicense: "Import_license";
|
|
470
|
+
readonly ClearanceInvoice: "clearance_invoice";
|
|
471
|
+
readonly ShippingOrder: "Shipping_order";
|
|
472
|
+
readonly LoadingImage: "Loading_image";
|
|
473
|
+
readonly Bc: "BC";
|
|
474
|
+
readonly Lo: "LO";
|
|
475
|
+
readonly Sc: "SC";
|
|
476
|
+
readonly IsfReport: "ISF_report";
|
|
477
|
+
readonly BillingAdvice: "Billing_advice";
|
|
478
|
+
readonly Cph: "CPH";
|
|
479
|
+
readonly Cip: "CIP";
|
|
480
|
+
readonly Civ: "CIV";
|
|
481
|
+
readonly Coo: "COO";
|
|
482
|
+
readonly Dgf: "DGF";
|
|
483
|
+
readonly Fum: "FUM";
|
|
484
|
+
readonly Hbl: "HBL";
|
|
485
|
+
readonly Ins: "INS";
|
|
486
|
+
readonly Mdc: "MDC";
|
|
487
|
+
readonly Mcd: "MCD";
|
|
488
|
+
readonly Mfd: "MFD";
|
|
489
|
+
readonly Naf: "NAF";
|
|
490
|
+
readonly Obl: "OBL";
|
|
491
|
+
readonly Pkd: "PKD";
|
|
492
|
+
readonly Pkl: "PKL";
|
|
493
|
+
readonly Qrc: "QRC";
|
|
494
|
+
readonly Tlx: "TLX";
|
|
495
|
+
readonly Vgm: "VGM";
|
|
496
|
+
readonly Awb: "AWB";
|
|
497
|
+
readonly Ccc: "CCC";
|
|
498
|
+
readonly Cus: "CUS";
|
|
499
|
+
readonly Dor: "DOR";
|
|
500
|
+
readonly Epr: "EPR";
|
|
501
|
+
readonly Man: "MAN";
|
|
502
|
+
readonly Pod: "POD";
|
|
503
|
+
readonly Prl: "PRL";
|
|
504
|
+
readonly Wmr: "WMR";
|
|
505
|
+
readonly Ckl: "CKL";
|
|
506
|
+
readonly Pus: "PUS";
|
|
507
|
+
readonly Exinv: "EXINV";
|
|
508
|
+
readonly DeliveryImage: "Delivery_Image";
|
|
509
|
+
readonly Lbl: "LBL";
|
|
510
|
+
readonly Quote: "QUOTE";
|
|
511
|
+
readonly ProofOfPickup: "Proof_of_Pickup";
|
|
512
|
+
readonly PuSig: "PU_SIG";
|
|
513
|
+
readonly DelSig: "Del_SIG";
|
|
514
|
+
};
|
|
515
|
+
type DocumentCategoryType = typeof DocumentCategoryType[keyof typeof DocumentCategoryType];
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* MySeko.API.Client
|
|
519
|
+
*
|
|
520
|
+
*
|
|
521
|
+
*
|
|
522
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
523
|
+
* https://openapi-generator.tech
|
|
524
|
+
* Do not edit the class manually.
|
|
525
|
+
*/
|
|
526
|
+
|
|
527
|
+
interface AddDocumentRequest {
|
|
528
|
+
fileName?: string | null;
|
|
529
|
+
fileContentType?: string | null;
|
|
530
|
+
description?: string | null;
|
|
531
|
+
fileBytes?: string | null;
|
|
532
|
+
categoryId?: DocumentCategoryType;
|
|
533
|
+
}
|
|
534
|
+
declare namespace AddDocumentRequest {
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* MySeko.API.Client
|
|
539
|
+
*
|
|
540
|
+
*
|
|
541
|
+
*
|
|
542
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
543
|
+
* https://openapi-generator.tech
|
|
544
|
+
* Do not edit the class manually.
|
|
545
|
+
*/
|
|
546
|
+
interface Document {
|
|
547
|
+
documentId: string;
|
|
548
|
+
createdBy?: string | null;
|
|
549
|
+
dateCreated?: string | null;
|
|
550
|
+
fileName?: string | null;
|
|
551
|
+
fileExt?: string | null;
|
|
552
|
+
fileMIMEType?: string | null;
|
|
553
|
+
fileSize: number;
|
|
554
|
+
docContent?: string | null;
|
|
555
|
+
category?: string | null;
|
|
556
|
+
created?: string | null;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* MySeko.API.Client
|
|
561
|
+
*
|
|
562
|
+
*
|
|
563
|
+
*
|
|
564
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
565
|
+
* https://openapi-generator.tech
|
|
566
|
+
* Do not edit the class manually.
|
|
567
|
+
*/
|
|
568
|
+
interface DocumentCategory {
|
|
569
|
+
id: number;
|
|
570
|
+
enumValue?: string | null;
|
|
571
|
+
description?: string | null;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* MySeko.API.Client
|
|
576
|
+
*
|
|
577
|
+
*
|
|
578
|
+
*
|
|
579
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
580
|
+
* https://openapi-generator.tech
|
|
581
|
+
* Do not edit the class manually.
|
|
582
|
+
*/
|
|
583
|
+
interface DocumentInfo {
|
|
584
|
+
documentId: string;
|
|
585
|
+
documentName?: string | null;
|
|
586
|
+
fileName?: string | null;
|
|
587
|
+
contentType?: string | null;
|
|
588
|
+
fileSize?: number | null;
|
|
589
|
+
category?: string | null;
|
|
590
|
+
createdBy?: string | null;
|
|
591
|
+
dateCreated?: string | null;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* MySeko.API.Client
|
|
596
|
+
*
|
|
597
|
+
*
|
|
598
|
+
*
|
|
599
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
600
|
+
* https://openapi-generator.tech
|
|
601
|
+
* Do not edit the class manually.
|
|
602
|
+
*/
|
|
603
|
+
|
|
604
|
+
interface DocumentInfoList {
|
|
605
|
+
total: number;
|
|
606
|
+
data: Array<DocumentInfo> | null;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
declare class DocumentService extends BaseService {
|
|
610
|
+
protected httpClient: HttpClient;
|
|
611
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
612
|
+
/**
|
|
613
|
+
* Upload a document for a shipment
|
|
614
|
+
* @endpoint post /myseko/shipments/{ordOrderID}/documents
|
|
615
|
+
* @param ordOrderID
|
|
616
|
+
* @param addDocumentRequest
|
|
617
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
618
|
+
* @param reportProgress flag to report request and response progress.
|
|
619
|
+
* @param options additional options
|
|
620
|
+
*/
|
|
621
|
+
addShipmentDocument(ordOrderID: string, addDocumentRequest: AddDocumentRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
622
|
+
httpHeaderAccept?: undefined;
|
|
623
|
+
context?: HttpContext;
|
|
624
|
+
transferCache?: boolean;
|
|
625
|
+
}): Observable<any>;
|
|
626
|
+
addShipmentDocument(ordOrderID: string, addDocumentRequest: AddDocumentRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
627
|
+
httpHeaderAccept?: undefined;
|
|
628
|
+
context?: HttpContext;
|
|
629
|
+
transferCache?: boolean;
|
|
630
|
+
}): Observable<HttpResponse<any>>;
|
|
631
|
+
addShipmentDocument(ordOrderID: string, addDocumentRequest: AddDocumentRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
632
|
+
httpHeaderAccept?: undefined;
|
|
633
|
+
context?: HttpContext;
|
|
634
|
+
transferCache?: boolean;
|
|
635
|
+
}): Observable<HttpEvent<any>>;
|
|
636
|
+
/**
|
|
637
|
+
* Get all document categories
|
|
638
|
+
* @endpoint get /myseko/documents/categories
|
|
639
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
640
|
+
* @param reportProgress flag to report request and response progress.
|
|
641
|
+
* @param options additional options
|
|
642
|
+
*/
|
|
643
|
+
getDocumentCategories(observe?: 'body', reportProgress?: boolean, options?: {
|
|
644
|
+
httpHeaderAccept?: 'application/json';
|
|
645
|
+
context?: HttpContext;
|
|
646
|
+
transferCache?: boolean;
|
|
647
|
+
}): Observable<Array<DocumentCategory>>;
|
|
648
|
+
getDocumentCategories(observe?: 'response', reportProgress?: boolean, options?: {
|
|
649
|
+
httpHeaderAccept?: 'application/json';
|
|
650
|
+
context?: HttpContext;
|
|
651
|
+
transferCache?: boolean;
|
|
652
|
+
}): Observable<HttpResponse<Array<DocumentCategory>>>;
|
|
653
|
+
getDocumentCategories(observe?: 'events', reportProgress?: boolean, options?: {
|
|
654
|
+
httpHeaderAccept?: 'application/json';
|
|
655
|
+
context?: HttpContext;
|
|
656
|
+
transferCache?: boolean;
|
|
657
|
+
}): Observable<HttpEvent<Array<DocumentCategory>>>;
|
|
658
|
+
/**
|
|
659
|
+
* Get a specific document by ID
|
|
660
|
+
* @endpoint get /myseko/shipments/{ordOrderID}/documents/{documentID}
|
|
661
|
+
* @param ordOrderID
|
|
662
|
+
* @param documentID
|
|
663
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
664
|
+
* @param reportProgress flag to report request and response progress.
|
|
665
|
+
* @param options additional options
|
|
666
|
+
*/
|
|
667
|
+
getShipmentDocument(ordOrderID: string, documentID: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
668
|
+
httpHeaderAccept?: 'application/json';
|
|
669
|
+
context?: HttpContext;
|
|
670
|
+
transferCache?: boolean;
|
|
671
|
+
}): Observable<Document>;
|
|
672
|
+
getShipmentDocument(ordOrderID: string, documentID: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
673
|
+
httpHeaderAccept?: 'application/json';
|
|
674
|
+
context?: HttpContext;
|
|
675
|
+
transferCache?: boolean;
|
|
676
|
+
}): Observable<HttpResponse<Document>>;
|
|
677
|
+
getShipmentDocument(ordOrderID: string, documentID: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
678
|
+
httpHeaderAccept?: 'application/json';
|
|
679
|
+
context?: HttpContext;
|
|
680
|
+
transferCache?: boolean;
|
|
681
|
+
}): Observable<HttpEvent<Document>>;
|
|
682
|
+
/**
|
|
683
|
+
* Get documents for a shipment
|
|
684
|
+
* @endpoint get /myseko/shipments/{ordOrderID}/documents
|
|
685
|
+
* @param ordOrderID
|
|
686
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
687
|
+
* @param reportProgress flag to report request and response progress.
|
|
688
|
+
* @param options additional options
|
|
689
|
+
*/
|
|
690
|
+
getShipmentDocuments(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
691
|
+
httpHeaderAccept?: 'application/json';
|
|
692
|
+
context?: HttpContext;
|
|
693
|
+
transferCache?: boolean;
|
|
694
|
+
}): Observable<DocumentInfoList>;
|
|
695
|
+
getShipmentDocuments(ordOrderID: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
696
|
+
httpHeaderAccept?: 'application/json';
|
|
697
|
+
context?: HttpContext;
|
|
698
|
+
transferCache?: boolean;
|
|
699
|
+
}): Observable<HttpResponse<DocumentInfoList>>;
|
|
700
|
+
getShipmentDocuments(ordOrderID: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
701
|
+
httpHeaderAccept?: 'application/json';
|
|
702
|
+
context?: HttpContext;
|
|
703
|
+
transferCache?: boolean;
|
|
704
|
+
}): Observable<HttpEvent<DocumentInfoList>>;
|
|
705
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentService, [null, { optional: true; }, { optional: true; }]>;
|
|
706
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentService>;
|
|
707
|
+
}
|
|
708
|
+
|
|
445
709
|
declare class HealthService extends BaseService {
|
|
446
710
|
protected httpClient: HttpClient;
|
|
447
711
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
@@ -1718,7 +1982,7 @@ declare class UsergroupService extends BaseService {
|
|
|
1718
1982
|
static ɵprov: i0.ɵɵInjectableDeclaration<UsergroupService>;
|
|
1719
1983
|
}
|
|
1720
1984
|
|
|
1721
|
-
declare const APIS: (typeof AuthService | typeof CalendarService | typeof DashboardService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
|
|
1985
|
+
declare const APIS: (typeof AuthService | typeof CalendarService | typeof DashboardService | typeof DocumentService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
|
|
1722
1986
|
|
|
1723
1987
|
/**
|
|
1724
1988
|
* MySeko.API.Client
|
|
@@ -1796,5 +2060,5 @@ declare class ApiModule {
|
|
|
1796
2060
|
|
|
1797
2061
|
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
1798
2062
|
|
|
1799
|
-
export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, ShipmentStage, TimelineEvent, UserService, UsergroupService, provideApi };
|
|
1800
|
-
export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, CreateIssueRequest, CreateIssueResponse, DataFormat, DataType, DeliveriesToday, EntityList, IntlInnerPieceDetail, IntlOuterPieceDetail, IntlPackageDetails, IntlShipmentSummary, Issue, IssueLog, IssueLogEntry, Issues, ModelError, PackageDetails, Param, ParamLocation, ParamStyle, RegGroup, SekonaPackageDetails, SekonaPieceDetail, SekonaShipmentSummary, SettingValue, SettingView, Shipment, ShipmentCalendarDateGroup, ShipmentCalendarDates, ShipmentCalendarItem, ShipmentContainer, ShipmentParty, ShipmentPurchaseOrder, ShipmentPurchaseOrderDetails, ShipmentRouting, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateIssueRequest, User, UserAccount };
|
|
2063
|
+
export { APIS, AddDocumentRequest, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, DocumentCategoryType, DocumentService, HealthService, SettingsService, ShipmentService, ShipmentStage, TimelineEvent, UserService, UsergroupService, provideApi };
|
|
2064
|
+
export type { ActiveShipment, Address, BaseShipmentSummary, ConfigurationParameters, Contact, CreateIssueRequest, CreateIssueResponse, DataFormat, DataType, DeliveriesToday, Document, DocumentCategory, DocumentInfo, DocumentInfoList, EntityList, IntlInnerPieceDetail, IntlOuterPieceDetail, IntlPackageDetails, IntlShipmentSummary, Issue, IssueLog, IssueLogEntry, Issues, ModelError, PackageDetails, Param, ParamLocation, ParamStyle, RegGroup, SekonaPackageDetails, SekonaPieceDetail, SekonaShipmentSummary, SettingValue, SettingView, Shipment, ShipmentCalendarDateGroup, ShipmentCalendarDates, ShipmentCalendarItem, ShipmentContainer, ShipmentParty, ShipmentPurchaseOrder, ShipmentPurchaseOrderDetails, ShipmentRouting, ShipmentSummary, ShipmentTimeline, Shipments, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateIssueRequest, User, UserAccount };
|