@indigina/myseko-api 0.0.26 → 0.0.28

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/myseko-api",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -443,6 +443,268 @@ declare class DashboardService extends BaseService {
443
443
  static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
444
444
  }
445
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
+ fileName?: string | null;
550
+ fileExt?: string | null;
551
+ fileMIMEType?: string | null;
552
+ fileSize: number;
553
+ docContent?: string | null;
554
+ category?: string | null;
555
+ created?: string | null;
556
+ }
557
+
558
+ /**
559
+ * MySeko.API.Client
560
+ *
561
+ *
562
+ *
563
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
564
+ * https://openapi-generator.tech
565
+ * Do not edit the class manually.
566
+ */
567
+ interface DocumentCategory {
568
+ id: number;
569
+ enumValue?: string | null;
570
+ description?: string | null;
571
+ }
572
+
573
+ /**
574
+ * MySeko.API.Client
575
+ *
576
+ *
577
+ *
578
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
579
+ * https://openapi-generator.tech
580
+ * Do not edit the class manually.
581
+ */
582
+ interface DocumentInfo {
583
+ documentID: string;
584
+ documentName?: string | null;
585
+ fileName?: string | null;
586
+ contentType?: string | null;
587
+ fileSize?: number | null;
588
+ category?: string | null;
589
+ createdBy?: string | null;
590
+ dateCreated?: string | null;
591
+ }
592
+
593
+ /**
594
+ * MySeko.API.Client
595
+ *
596
+ *
597
+ *
598
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
599
+ * https://openapi-generator.tech
600
+ * Do not edit the class manually.
601
+ */
602
+
603
+ interface DocumentInfoList {
604
+ total: number;
605
+ data: Array<DocumentInfo> | null;
606
+ }
607
+
608
+ declare class DocumentService extends BaseService {
609
+ protected httpClient: HttpClient;
610
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
611
+ /**
612
+ * Upload a document for a shipment
613
+ * @endpoint post /myseko/shipments/{ordOrderID}/documents
614
+ * @param ordOrderID
615
+ * @param addDocumentRequest
616
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
617
+ * @param reportProgress flag to report request and response progress.
618
+ * @param options additional options
619
+ */
620
+ addShipmentDocument(ordOrderID: string, addDocumentRequest: AddDocumentRequest, observe?: 'body', reportProgress?: boolean, options?: {
621
+ httpHeaderAccept?: undefined;
622
+ context?: HttpContext;
623
+ transferCache?: boolean;
624
+ }): Observable<any>;
625
+ addShipmentDocument(ordOrderID: string, addDocumentRequest: AddDocumentRequest, observe?: 'response', reportProgress?: boolean, options?: {
626
+ httpHeaderAccept?: undefined;
627
+ context?: HttpContext;
628
+ transferCache?: boolean;
629
+ }): Observable<HttpResponse<any>>;
630
+ addShipmentDocument(ordOrderID: string, addDocumentRequest: AddDocumentRequest, observe?: 'events', reportProgress?: boolean, options?: {
631
+ httpHeaderAccept?: undefined;
632
+ context?: HttpContext;
633
+ transferCache?: boolean;
634
+ }): Observable<HttpEvent<any>>;
635
+ /**
636
+ * Get all document categories
637
+ * @endpoint get /myseko/documents/categories
638
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
639
+ * @param reportProgress flag to report request and response progress.
640
+ * @param options additional options
641
+ */
642
+ getDocumentCategories(observe?: 'body', reportProgress?: boolean, options?: {
643
+ httpHeaderAccept?: 'application/json';
644
+ context?: HttpContext;
645
+ transferCache?: boolean;
646
+ }): Observable<Array<DocumentCategory>>;
647
+ getDocumentCategories(observe?: 'response', reportProgress?: boolean, options?: {
648
+ httpHeaderAccept?: 'application/json';
649
+ context?: HttpContext;
650
+ transferCache?: boolean;
651
+ }): Observable<HttpResponse<Array<DocumentCategory>>>;
652
+ getDocumentCategories(observe?: 'events', reportProgress?: boolean, options?: {
653
+ httpHeaderAccept?: 'application/json';
654
+ context?: HttpContext;
655
+ transferCache?: boolean;
656
+ }): Observable<HttpEvent<Array<DocumentCategory>>>;
657
+ /**
658
+ * Get a specific document by ID
659
+ * @endpoint get /myseko/shipments/{ordOrderID}/documents/{documentID}
660
+ * @param ordOrderID
661
+ * @param documentID
662
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
663
+ * @param reportProgress flag to report request and response progress.
664
+ * @param options additional options
665
+ */
666
+ getShipmentDocument(ordOrderID: string, documentID: string, observe?: 'body', reportProgress?: boolean, options?: {
667
+ httpHeaderAccept?: 'application/json';
668
+ context?: HttpContext;
669
+ transferCache?: boolean;
670
+ }): Observable<Document>;
671
+ getShipmentDocument(ordOrderID: string, documentID: string, observe?: 'response', reportProgress?: boolean, options?: {
672
+ httpHeaderAccept?: 'application/json';
673
+ context?: HttpContext;
674
+ transferCache?: boolean;
675
+ }): Observable<HttpResponse<Document>>;
676
+ getShipmentDocument(ordOrderID: string, documentID: string, observe?: 'events', reportProgress?: boolean, options?: {
677
+ httpHeaderAccept?: 'application/json';
678
+ context?: HttpContext;
679
+ transferCache?: boolean;
680
+ }): Observable<HttpEvent<Document>>;
681
+ /**
682
+ * Get documents for a shipment
683
+ * @endpoint get /myseko/shipments/{ordOrderID}/documents
684
+ * @param ordOrderID
685
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
686
+ * @param reportProgress flag to report request and response progress.
687
+ * @param options additional options
688
+ */
689
+ getShipmentDocuments(ordOrderID: string, observe?: 'body', reportProgress?: boolean, options?: {
690
+ httpHeaderAccept?: 'application/json';
691
+ context?: HttpContext;
692
+ transferCache?: boolean;
693
+ }): Observable<DocumentInfoList>;
694
+ getShipmentDocuments(ordOrderID: string, observe?: 'response', reportProgress?: boolean, options?: {
695
+ httpHeaderAccept?: 'application/json';
696
+ context?: HttpContext;
697
+ transferCache?: boolean;
698
+ }): Observable<HttpResponse<DocumentInfoList>>;
699
+ getShipmentDocuments(ordOrderID: string, observe?: 'events', reportProgress?: boolean, options?: {
700
+ httpHeaderAccept?: 'application/json';
701
+ context?: HttpContext;
702
+ transferCache?: boolean;
703
+ }): Observable<HttpEvent<DocumentInfoList>>;
704
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentService, [null, { optional: true; }, { optional: true; }]>;
705
+ static ɵprov: i0.ɵɵInjectableDeclaration<DocumentService>;
706
+ }
707
+
446
708
  declare class HealthService extends BaseService {
447
709
  protected httpClient: HttpClient;
448
710
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
@@ -1719,7 +1981,7 @@ declare class UsergroupService extends BaseService {
1719
1981
  static ɵprov: i0.ɵɵInjectableDeclaration<UsergroupService>;
1720
1982
  }
1721
1983
 
1722
- declare const APIS: (typeof AuthService | typeof CalendarService | typeof DashboardService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
1984
+ declare const APIS: (typeof AuthService | typeof CalendarService | typeof DashboardService | typeof DocumentService | typeof HealthService | typeof SettingsService | typeof ShipmentService | typeof UserService | typeof UsergroupService)[];
1723
1985
 
1724
1986
  /**
1725
1987
  * MySeko.API.Client
@@ -1797,5 +2059,5 @@ declare class ApiModule {
1797
2059
 
1798
2060
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1799
2061
 
1800
- export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, HealthService, SettingsService, ShipmentService, ShipmentStage, TimelineEvent, UserService, UsergroupService, provideApi };
1801
- 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 };
2062
+ export { APIS, AddDocumentRequest, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, CalendarService, CalendarViewBy, Configuration, DashboardService, DocumentCategoryType, DocumentService, HealthService, SettingsService, ShipmentService, ShipmentStage, TimelineEvent, UserService, UsergroupService, provideApi };
2063
+ 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 };