@indigina/dcm-api 0.0.127 → 0.0.128

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.
@@ -12,14 +12,18 @@ import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angu
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- declare const EntityState: {
16
- readonly Detached: "Detached";
17
- readonly Unchanged: "Unchanged";
18
- readonly Added: "Added";
19
- readonly Deleted: "Deleted";
20
- readonly Modified: "Modified";
15
+ declare const ApprovalRuleType: {
16
+ readonly NoApprovalRequired: "NoApprovalRequired";
17
+ readonly AutoApproval: "AutoApproval";
18
+ readonly ManualApproval: "ManualApproval";
19
+ readonly QuantityToleranceOver: "QuantityToleranceOver";
20
+ readonly QuantityToleranceUnder: "QuantityToleranceUnder";
21
+ readonly ValidateUnbookedPoLines: "ValidateUnbookedPOLines";
22
+ readonly RequiredByDateMet: "RequiredByDateMet";
23
+ readonly ContainerUtilisation: "ContainerUtilisation";
24
+ readonly ValidateUnmatchedPoLinesDcConsigneeCountry: "ValidateUnmatchedPOLinesDCConsigneeCountry";
21
25
  };
22
- type EntityState = typeof EntityState[keyof typeof EntityState];
26
+ type ApprovalRuleType = typeof ApprovalRuleType[keyof typeof ApprovalRuleType];
23
27
 
24
28
  /**
25
29
  * Dcm.API.Client
@@ -31,19 +35,15 @@ type EntityState = typeof EntityState[keyof typeof EntityState];
31
35
  * Do not edit the class manually.
32
36
  */
33
37
 
34
- interface AuditLog {
38
+ interface ApprovalProcess {
39
+ approvalType: ApprovalRuleType;
40
+ air?: number | null;
41
+ sea?: number | null;
42
+ road?: number | null;
35
43
  id: string;
36
- auditSetLogId: string;
37
- userId: string;
38
- columnName: string;
39
- eventDateUtc: string;
40
- eventType: EntityState;
41
- originalValue: string | null;
42
- newValue: string | null;
43
- tableName: string;
44
- userName: string;
44
+ clientId?: string | null;
45
45
  }
46
- declare namespace AuditLog {
46
+ declare namespace ApprovalProcess {
47
47
  }
48
48
 
49
49
  /**
@@ -56,9 +56,24 @@ declare namespace AuditLog {
56
56
  * Do not edit the class manually.
57
57
  */
58
58
 
59
- interface AuditLogs {
60
- total: number;
61
- data: Array<AuditLog>;
59
+ interface ApprovalProcessConsignee {
60
+ consigneeId: string;
61
+ airEnable: boolean;
62
+ air?: number | null;
63
+ roadEnable: boolean;
64
+ road?: number | null;
65
+ seaLclEnable: boolean;
66
+ seaLcl?: number | null;
67
+ seaBcnEnable: boolean;
68
+ seaBcn?: number | null;
69
+ seaFclEnable: boolean;
70
+ seaFcl?: number | null;
71
+ id: number;
72
+ consigneeName: string;
73
+ clientId: string;
74
+ approvalType: ApprovalRuleType;
75
+ }
76
+ declare namespace ApprovalProcessConsignee {
62
77
  }
63
78
 
64
79
  /**
@@ -70,11 +85,131 @@ interface AuditLogs {
70
85
  * https://openapi-generator.tech
71
86
  * Do not edit the class manually.
72
87
  */
73
- declare const RecordTypes: {
74
- readonly Shipment: "Shipment";
75
- readonly PurchaseOrder: "PurchaseOrder";
88
+ interface ApprovalProcessConsigneeData {
89
+ consigneeId: string;
90
+ airEnable: boolean;
91
+ air?: number | null;
92
+ roadEnable: boolean;
93
+ road?: number | null;
94
+ seaLclEnable: boolean;
95
+ seaLcl?: number | null;
96
+ seaBcnEnable: boolean;
97
+ seaBcn?: number | null;
98
+ seaFclEnable: boolean;
99
+ seaFcl?: number | null;
100
+ }
101
+
102
+ /**
103
+ * Dcm.API.Client
104
+ *
105
+ *
106
+ *
107
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
108
+ * https://openapi-generator.tech
109
+ * Do not edit the class manually.
110
+ */
111
+ declare const ContainerSize: {
112
+ readonly Lcl: "Lcl";
113
+ readonly Twenty: "Twenty";
114
+ readonly Forty: "Forty";
115
+ readonly FortyHc: "FortyHc";
116
+ readonly FortyFive: "FortyFive";
117
+ readonly Ld2: "Ld2";
118
+ readonly Ld3: "Ld3";
119
+ readonly Ld4: "Ld4";
120
+ readonly Ld7: "Ld7";
121
+ readonly Ld8: "Ld8";
122
+ readonly Ld11: "Ld11";
123
+ readonly MainDeckPallet: "MainDeckPallet";
124
+ readonly P9ALowerDeckPallet: "P9ALowerDeckPallet";
125
+ readonly SharedUnknown: "SharedUnknown";
126
+ readonly BoxedTrailer: "BoxedTrailer";
127
+ readonly TiltTrailer: "TiltTrailer";
128
+ readonly RoadTrainBoxed: "RoadTrainBoxed";
129
+ readonly RoadTrainTilt: "RoadTrainTilt";
130
+ readonly StepFrameBoxed: "StepFrameBoxed";
131
+ readonly StepFrameTilt: "StepFrameTilt";
132
+ readonly Road1: "Road1";
133
+ readonly Road2: "Road2";
134
+ readonly TwentyNor: "TwentyNor";
135
+ readonly FortyNor: "FortyNor";
136
+ readonly FortyHcnor: "FortyHcnor";
137
+ readonly OtherAir: "OtherAir";
138
+ readonly OtherSea: "OtherSea";
139
+ readonly OtherRoad: "OtherRoad";
76
140
  };
77
- type RecordTypes = typeof RecordTypes[keyof typeof RecordTypes];
141
+ type ContainerSize = typeof ContainerSize[keyof typeof ContainerSize];
142
+
143
+ /**
144
+ * Dcm.API.Client
145
+ *
146
+ *
147
+ *
148
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
149
+ * https://openapi-generator.tech
150
+ * Do not edit the class manually.
151
+ */
152
+
153
+ interface ApprovalProcessContainer {
154
+ containerSize?: ContainerSize | null;
155
+ allow: boolean;
156
+ minCbm?: number | null;
157
+ id: number;
158
+ clientId: string;
159
+ }
160
+ declare namespace ApprovalProcessContainer {
161
+ }
162
+
163
+ /**
164
+ * Dcm.API.Client
165
+ *
166
+ *
167
+ *
168
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
169
+ * https://openapi-generator.tech
170
+ * Do not edit the class manually.
171
+ */
172
+
173
+ interface ApprovalProcessContainerData {
174
+ containerSize?: ContainerSize | null;
175
+ allow: boolean;
176
+ minCbm?: number | null;
177
+ }
178
+ declare namespace ApprovalProcessContainerData {
179
+ }
180
+
181
+ /**
182
+ * Dcm.API.Client
183
+ *
184
+ *
185
+ *
186
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
187
+ * https://openapi-generator.tech
188
+ * Do not edit the class manually.
189
+ */
190
+
191
+ interface ApprovalProcessData {
192
+ approvalType: ApprovalRuleType;
193
+ air?: number | null;
194
+ sea?: number | null;
195
+ road?: number | null;
196
+ }
197
+ declare namespace ApprovalProcessData {
198
+ }
199
+
200
+ /**
201
+ * Dcm.API.Client
202
+ *
203
+ *
204
+ *
205
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
206
+ * https://openapi-generator.tech
207
+ * Do not edit the class manually.
208
+ */
209
+ interface Consignee {
210
+ id: string;
211
+ name: string;
212
+ }
78
213
 
79
214
  /**
80
215
  * Standard parameter styles defined by OpenAPI spec
@@ -297,6 +432,406 @@ declare class BaseService {
297
432
  protected addToHttpParams(httpParams: OpenApiHttpParams, key: string, value: any | null | undefined, paramStyle: QueryParamStyle, explode: boolean): OpenApiHttpParams;
298
433
  }
299
434
 
435
+ declare class ApprovalRulesService extends BaseService {
436
+ protected httpClient: HttpClient;
437
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
438
+ /**
439
+ * Create an approval process for the current client
440
+ * @endpoint post /approvalProcesses
441
+ * @param approvalProcessData
442
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
443
+ * @param reportProgress flag to report request and response progress.
444
+ * @param options additional options
445
+ */
446
+ createApprovalProcess(approvalProcessData: ApprovalProcessData, observe?: 'body', reportProgress?: boolean, options?: {
447
+ httpHeaderAccept?: 'application/json';
448
+ context?: HttpContext;
449
+ transferCache?: boolean;
450
+ }): Observable<ApprovalProcess>;
451
+ createApprovalProcess(approvalProcessData: ApprovalProcessData, observe?: 'response', reportProgress?: boolean, options?: {
452
+ httpHeaderAccept?: 'application/json';
453
+ context?: HttpContext;
454
+ transferCache?: boolean;
455
+ }): Observable<HttpResponse<ApprovalProcess>>;
456
+ createApprovalProcess(approvalProcessData: ApprovalProcessData, observe?: 'events', reportProgress?: boolean, options?: {
457
+ httpHeaderAccept?: 'application/json';
458
+ context?: HttpContext;
459
+ transferCache?: boolean;
460
+ }): Observable<HttpEvent<ApprovalProcess>>;
461
+ /**
462
+ * Create a target dwell time rule for a consignee of the current client
463
+ * @endpoint post /approvalProcessConsignees
464
+ * @param approvalProcessConsigneeData
465
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
466
+ * @param reportProgress flag to report request and response progress.
467
+ * @param options additional options
468
+ */
469
+ createApprovalProcessConsignee(approvalProcessConsigneeData: ApprovalProcessConsigneeData, observe?: 'body', reportProgress?: boolean, options?: {
470
+ httpHeaderAccept?: 'application/json';
471
+ context?: HttpContext;
472
+ transferCache?: boolean;
473
+ }): Observable<ApprovalProcessConsignee>;
474
+ createApprovalProcessConsignee(approvalProcessConsigneeData: ApprovalProcessConsigneeData, observe?: 'response', reportProgress?: boolean, options?: {
475
+ httpHeaderAccept?: 'application/json';
476
+ context?: HttpContext;
477
+ transferCache?: boolean;
478
+ }): Observable<HttpResponse<ApprovalProcessConsignee>>;
479
+ createApprovalProcessConsignee(approvalProcessConsigneeData: ApprovalProcessConsigneeData, observe?: 'events', reportProgress?: boolean, options?: {
480
+ httpHeaderAccept?: 'application/json';
481
+ context?: HttpContext;
482
+ transferCache?: boolean;
483
+ }): Observable<HttpEvent<ApprovalProcessConsignee>>;
484
+ /**
485
+ * Create a container utilisation rule for the current client
486
+ * @endpoint post /approvalProcessContainers
487
+ * @param approvalProcessContainerData
488
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
489
+ * @param reportProgress flag to report request and response progress.
490
+ * @param options additional options
491
+ */
492
+ createApprovalProcessContainer(approvalProcessContainerData: ApprovalProcessContainerData, observe?: 'body', reportProgress?: boolean, options?: {
493
+ httpHeaderAccept?: 'application/json';
494
+ context?: HttpContext;
495
+ transferCache?: boolean;
496
+ }): Observable<ApprovalProcessContainer>;
497
+ createApprovalProcessContainer(approvalProcessContainerData: ApprovalProcessContainerData, observe?: 'response', reportProgress?: boolean, options?: {
498
+ httpHeaderAccept?: 'application/json';
499
+ context?: HttpContext;
500
+ transferCache?: boolean;
501
+ }): Observable<HttpResponse<ApprovalProcessContainer>>;
502
+ createApprovalProcessContainer(approvalProcessContainerData: ApprovalProcessContainerData, observe?: 'events', reportProgress?: boolean, options?: {
503
+ httpHeaderAccept?: 'application/json';
504
+ context?: HttpContext;
505
+ transferCache?: boolean;
506
+ }): Observable<HttpEvent<ApprovalProcessContainer>>;
507
+ /**
508
+ * Delete an approval process
509
+ * @endpoint delete /approvalProcesses/{id}
510
+ * @param id
511
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
512
+ * @param reportProgress flag to report request and response progress.
513
+ * @param options additional options
514
+ */
515
+ deleteApprovalProcess(id: string, observe?: 'body', reportProgress?: boolean, options?: {
516
+ httpHeaderAccept?: undefined;
517
+ context?: HttpContext;
518
+ transferCache?: boolean;
519
+ }): Observable<any>;
520
+ deleteApprovalProcess(id: string, observe?: 'response', reportProgress?: boolean, options?: {
521
+ httpHeaderAccept?: undefined;
522
+ context?: HttpContext;
523
+ transferCache?: boolean;
524
+ }): Observable<HttpResponse<any>>;
525
+ deleteApprovalProcess(id: string, observe?: 'events', reportProgress?: boolean, options?: {
526
+ httpHeaderAccept?: undefined;
527
+ context?: HttpContext;
528
+ transferCache?: boolean;
529
+ }): Observable<HttpEvent<any>>;
530
+ /**
531
+ * Delete a target dwell time rule
532
+ * @endpoint delete /approvalProcessConsignees/{id}
533
+ * @param id
534
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
535
+ * @param reportProgress flag to report request and response progress.
536
+ * @param options additional options
537
+ */
538
+ deleteApprovalProcessConsignee(id: number, observe?: 'body', reportProgress?: boolean, options?: {
539
+ httpHeaderAccept?: undefined;
540
+ context?: HttpContext;
541
+ transferCache?: boolean;
542
+ }): Observable<any>;
543
+ deleteApprovalProcessConsignee(id: number, observe?: 'response', reportProgress?: boolean, options?: {
544
+ httpHeaderAccept?: undefined;
545
+ context?: HttpContext;
546
+ transferCache?: boolean;
547
+ }): Observable<HttpResponse<any>>;
548
+ deleteApprovalProcessConsignee(id: number, observe?: 'events', reportProgress?: boolean, options?: {
549
+ httpHeaderAccept?: undefined;
550
+ context?: HttpContext;
551
+ transferCache?: boolean;
552
+ }): Observable<HttpEvent<any>>;
553
+ /**
554
+ * Delete a container utilisation rule
555
+ * @endpoint delete /approvalProcessContainers/{id}
556
+ * @param id
557
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
558
+ * @param reportProgress flag to report request and response progress.
559
+ * @param options additional options
560
+ */
561
+ deleteApprovalProcessContainer(id: number, observe?: 'body', reportProgress?: boolean, options?: {
562
+ httpHeaderAccept?: undefined;
563
+ context?: HttpContext;
564
+ transferCache?: boolean;
565
+ }): Observable<any>;
566
+ deleteApprovalProcessContainer(id: number, observe?: 'response', reportProgress?: boolean, options?: {
567
+ httpHeaderAccept?: undefined;
568
+ context?: HttpContext;
569
+ transferCache?: boolean;
570
+ }): Observable<HttpResponse<any>>;
571
+ deleteApprovalProcessContainer(id: number, observe?: 'events', reportProgress?: boolean, options?: {
572
+ httpHeaderAccept?: undefined;
573
+ context?: HttpContext;
574
+ transferCache?: boolean;
575
+ }): Observable<HttpEvent<any>>;
576
+ /**
577
+ * Get target dwell time rules of the current client
578
+ * @endpoint get /approvalProcessConsignees
579
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
580
+ * @param reportProgress flag to report request and response progress.
581
+ * @param options additional options
582
+ */
583
+ getApprovalProcessConsignees(observe?: 'body', reportProgress?: boolean, options?: {
584
+ httpHeaderAccept?: 'application/json';
585
+ context?: HttpContext;
586
+ transferCache?: boolean;
587
+ }): Observable<Array<ApprovalProcessConsignee>>;
588
+ getApprovalProcessConsignees(observe?: 'response', reportProgress?: boolean, options?: {
589
+ httpHeaderAccept?: 'application/json';
590
+ context?: HttpContext;
591
+ transferCache?: boolean;
592
+ }): Observable<HttpResponse<Array<ApprovalProcessConsignee>>>;
593
+ getApprovalProcessConsignees(observe?: 'events', reportProgress?: boolean, options?: {
594
+ httpHeaderAccept?: 'application/json';
595
+ context?: HttpContext;
596
+ transferCache?: boolean;
597
+ }): Observable<HttpEvent<Array<ApprovalProcessConsignee>>>;
598
+ /**
599
+ * Get container utilisation rules of the current client
600
+ * @endpoint get /approvalProcessContainers
601
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
602
+ * @param reportProgress flag to report request and response progress.
603
+ * @param options additional options
604
+ */
605
+ getApprovalProcessContainers(observe?: 'body', reportProgress?: boolean, options?: {
606
+ httpHeaderAccept?: 'application/json';
607
+ context?: HttpContext;
608
+ transferCache?: boolean;
609
+ }): Observable<Array<ApprovalProcessContainer>>;
610
+ getApprovalProcessContainers(observe?: 'response', reportProgress?: boolean, options?: {
611
+ httpHeaderAccept?: 'application/json';
612
+ context?: HttpContext;
613
+ transferCache?: boolean;
614
+ }): Observable<HttpResponse<Array<ApprovalProcessContainer>>>;
615
+ getApprovalProcessContainers(observe?: 'events', reportProgress?: boolean, options?: {
616
+ httpHeaderAccept?: 'application/json';
617
+ context?: HttpContext;
618
+ transferCache?: boolean;
619
+ }): Observable<HttpEvent<Array<ApprovalProcessContainer>>>;
620
+ /**
621
+ * Get approval processes of the current client
622
+ * @endpoint get /approvalProcesses
623
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
624
+ * @param reportProgress flag to report request and response progress.
625
+ * @param options additional options
626
+ */
627
+ getApprovalProcesses(observe?: 'body', reportProgress?: boolean, options?: {
628
+ httpHeaderAccept?: 'application/json';
629
+ context?: HttpContext;
630
+ transferCache?: boolean;
631
+ }): Observable<Array<ApprovalProcess>>;
632
+ getApprovalProcesses(observe?: 'response', reportProgress?: boolean, options?: {
633
+ httpHeaderAccept?: 'application/json';
634
+ context?: HttpContext;
635
+ transferCache?: boolean;
636
+ }): Observable<HttpResponse<Array<ApprovalProcess>>>;
637
+ getApprovalProcesses(observe?: 'events', reportProgress?: boolean, options?: {
638
+ httpHeaderAccept?: 'application/json';
639
+ context?: HttpContext;
640
+ transferCache?: boolean;
641
+ }): Observable<HttpEvent<Array<ApprovalProcess>>>;
642
+ /**
643
+ * Get consignees of the current client
644
+ * @endpoint get /approvalRules/consignees
645
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
646
+ * @param reportProgress flag to report request and response progress.
647
+ * @param options additional options
648
+ */
649
+ getApprovalRuleConsignees(observe?: 'body', reportProgress?: boolean, options?: {
650
+ httpHeaderAccept?: 'application/json';
651
+ context?: HttpContext;
652
+ transferCache?: boolean;
653
+ }): Observable<Array<Consignee>>;
654
+ getApprovalRuleConsignees(observe?: 'response', reportProgress?: boolean, options?: {
655
+ httpHeaderAccept?: 'application/json';
656
+ context?: HttpContext;
657
+ transferCache?: boolean;
658
+ }): Observable<HttpResponse<Array<Consignee>>>;
659
+ getApprovalRuleConsignees(observe?: 'events', reportProgress?: boolean, options?: {
660
+ httpHeaderAccept?: 'application/json';
661
+ context?: HttpContext;
662
+ transferCache?: boolean;
663
+ }): Observable<HttpEvent<Array<Consignee>>>;
664
+ /**
665
+ * Get sea container sizes
666
+ * @endpoint get /approvalRules/containerSizes
667
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
668
+ * @param reportProgress flag to report request and response progress.
669
+ * @param options additional options
670
+ */
671
+ getApprovalRuleContainerSizes(observe?: 'body', reportProgress?: boolean, options?: {
672
+ httpHeaderAccept?: 'application/json';
673
+ context?: HttpContext;
674
+ transferCache?: boolean;
675
+ }): Observable<Array<ContainerSize>>;
676
+ getApprovalRuleContainerSizes(observe?: 'response', reportProgress?: boolean, options?: {
677
+ httpHeaderAccept?: 'application/json';
678
+ context?: HttpContext;
679
+ transferCache?: boolean;
680
+ }): Observable<HttpResponse<Array<ContainerSize>>>;
681
+ getApprovalRuleContainerSizes(observe?: 'events', reportProgress?: boolean, options?: {
682
+ httpHeaderAccept?: 'application/json';
683
+ context?: HttpContext;
684
+ transferCache?: boolean;
685
+ }): Observable<HttpEvent<Array<ContainerSize>>>;
686
+ /**
687
+ * Update quantity tolerances of an approval process
688
+ * @endpoint put /approvalProcesses/{id}
689
+ * @param id
690
+ * @param approvalProcessData
691
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
692
+ * @param reportProgress flag to report request and response progress.
693
+ * @param options additional options
694
+ */
695
+ updateApprovalProcess(id: string, approvalProcessData: ApprovalProcessData, observe?: 'body', reportProgress?: boolean, options?: {
696
+ httpHeaderAccept?: 'application/json';
697
+ context?: HttpContext;
698
+ transferCache?: boolean;
699
+ }): Observable<ApprovalProcess>;
700
+ updateApprovalProcess(id: string, approvalProcessData: ApprovalProcessData, observe?: 'response', reportProgress?: boolean, options?: {
701
+ httpHeaderAccept?: 'application/json';
702
+ context?: HttpContext;
703
+ transferCache?: boolean;
704
+ }): Observable<HttpResponse<ApprovalProcess>>;
705
+ updateApprovalProcess(id: string, approvalProcessData: ApprovalProcessData, observe?: 'events', reportProgress?: boolean, options?: {
706
+ httpHeaderAccept?: 'application/json';
707
+ context?: HttpContext;
708
+ transferCache?: boolean;
709
+ }): Observable<HttpEvent<ApprovalProcess>>;
710
+ /**
711
+ * Update a target dwell time rule
712
+ * @endpoint put /approvalProcessConsignees/{id}
713
+ * @param id
714
+ * @param approvalProcessConsigneeData
715
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
716
+ * @param reportProgress flag to report request and response progress.
717
+ * @param options additional options
718
+ */
719
+ updateApprovalProcessConsignee(id: number, approvalProcessConsigneeData: ApprovalProcessConsigneeData, observe?: 'body', reportProgress?: boolean, options?: {
720
+ httpHeaderAccept?: 'application/json';
721
+ context?: HttpContext;
722
+ transferCache?: boolean;
723
+ }): Observable<ApprovalProcessConsignee>;
724
+ updateApprovalProcessConsignee(id: number, approvalProcessConsigneeData: ApprovalProcessConsigneeData, observe?: 'response', reportProgress?: boolean, options?: {
725
+ httpHeaderAccept?: 'application/json';
726
+ context?: HttpContext;
727
+ transferCache?: boolean;
728
+ }): Observable<HttpResponse<ApprovalProcessConsignee>>;
729
+ updateApprovalProcessConsignee(id: number, approvalProcessConsigneeData: ApprovalProcessConsigneeData, observe?: 'events', reportProgress?: boolean, options?: {
730
+ httpHeaderAccept?: 'application/json';
731
+ context?: HttpContext;
732
+ transferCache?: boolean;
733
+ }): Observable<HttpEvent<ApprovalProcessConsignee>>;
734
+ /**
735
+ * Update a container utilisation rule
736
+ * @endpoint put /approvalProcessContainers/{id}
737
+ * @param id
738
+ * @param approvalProcessContainerData
739
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
740
+ * @param reportProgress flag to report request and response progress.
741
+ * @param options additional options
742
+ */
743
+ updateApprovalProcessContainer(id: number, approvalProcessContainerData: ApprovalProcessContainerData, observe?: 'body', reportProgress?: boolean, options?: {
744
+ httpHeaderAccept?: 'application/json';
745
+ context?: HttpContext;
746
+ transferCache?: boolean;
747
+ }): Observable<ApprovalProcessContainer>;
748
+ updateApprovalProcessContainer(id: number, approvalProcessContainerData: ApprovalProcessContainerData, observe?: 'response', reportProgress?: boolean, options?: {
749
+ httpHeaderAccept?: 'application/json';
750
+ context?: HttpContext;
751
+ transferCache?: boolean;
752
+ }): Observable<HttpResponse<ApprovalProcessContainer>>;
753
+ updateApprovalProcessContainer(id: number, approvalProcessContainerData: ApprovalProcessContainerData, observe?: 'events', reportProgress?: boolean, options?: {
754
+ httpHeaderAccept?: 'application/json';
755
+ context?: HttpContext;
756
+ transferCache?: boolean;
757
+ }): Observable<HttpEvent<ApprovalProcessContainer>>;
758
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalRulesService, [null, { optional: true; }, { optional: true; }]>;
759
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalRulesService>;
760
+ }
761
+
762
+ /**
763
+ * Dcm.API.Client
764
+ *
765
+ *
766
+ *
767
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
768
+ * https://openapi-generator.tech
769
+ * Do not edit the class manually.
770
+ */
771
+ declare const EntityState: {
772
+ readonly Detached: "Detached";
773
+ readonly Unchanged: "Unchanged";
774
+ readonly Added: "Added";
775
+ readonly Deleted: "Deleted";
776
+ readonly Modified: "Modified";
777
+ };
778
+ type EntityState = typeof EntityState[keyof typeof EntityState];
779
+
780
+ /**
781
+ * Dcm.API.Client
782
+ *
783
+ *
784
+ *
785
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
786
+ * https://openapi-generator.tech
787
+ * Do not edit the class manually.
788
+ */
789
+
790
+ interface AuditLog {
791
+ id: string;
792
+ auditSetLogId: string;
793
+ userId: string;
794
+ columnName: string;
795
+ eventDateUtc: string;
796
+ eventType: EntityState;
797
+ originalValue: string | null;
798
+ newValue: string | null;
799
+ tableName: string;
800
+ userName: string;
801
+ }
802
+ declare namespace AuditLog {
803
+ }
804
+
805
+ /**
806
+ * Dcm.API.Client
807
+ *
808
+ *
809
+ *
810
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
811
+ * https://openapi-generator.tech
812
+ * Do not edit the class manually.
813
+ */
814
+
815
+ interface AuditLogs {
816
+ total: number;
817
+ data: Array<AuditLog>;
818
+ }
819
+
820
+ /**
821
+ * Dcm.API.Client
822
+ *
823
+ *
824
+ *
825
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
826
+ * https://openapi-generator.tech
827
+ * Do not edit the class manually.
828
+ */
829
+ declare const RecordTypes: {
830
+ readonly Shipment: "Shipment";
831
+ readonly PurchaseOrder: "PurchaseOrder";
832
+ };
833
+ type RecordTypes = typeof RecordTypes[keyof typeof RecordTypes];
834
+
300
835
  declare class AuditLogsService extends BaseService {
301
836
  protected httpClient: HttpClient;
302
837
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
@@ -633,47 +1168,6 @@ interface ContainerDeliveryShipmentView {
633
1168
  declare namespace ContainerDeliveryShipmentView {
634
1169
  }
635
1170
 
636
- /**
637
- * Dcm.API.Client
638
- *
639
- *
640
- *
641
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
642
- * https://openapi-generator.tech
643
- * Do not edit the class manually.
644
- */
645
- declare const ContainerSize: {
646
- readonly Lcl: "Lcl";
647
- readonly Twenty: "Twenty";
648
- readonly Forty: "Forty";
649
- readonly FortyHc: "FortyHc";
650
- readonly FortyFive: "FortyFive";
651
- readonly Ld2: "Ld2";
652
- readonly Ld3: "Ld3";
653
- readonly Ld4: "Ld4";
654
- readonly Ld7: "Ld7";
655
- readonly Ld8: "Ld8";
656
- readonly Ld11: "Ld11";
657
- readonly MainDeckPallet: "MainDeckPallet";
658
- readonly P9ALowerDeckPallet: "P9ALowerDeckPallet";
659
- readonly SharedUnknown: "SharedUnknown";
660
- readonly BoxedTrailer: "BoxedTrailer";
661
- readonly TiltTrailer: "TiltTrailer";
662
- readonly RoadTrainBoxed: "RoadTrainBoxed";
663
- readonly RoadTrainTilt: "RoadTrainTilt";
664
- readonly StepFrameBoxed: "StepFrameBoxed";
665
- readonly StepFrameTilt: "StepFrameTilt";
666
- readonly Road1: "Road1";
667
- readonly Road2: "Road2";
668
- readonly TwentyNor: "TwentyNor";
669
- readonly FortyNor: "FortyNor";
670
- readonly FortyHcnor: "FortyHcnor";
671
- readonly OtherAir: "OtherAir";
672
- readonly OtherSea: "OtherSea";
673
- readonly OtherRoad: "OtherRoad";
674
- };
675
- type ContainerSize = typeof ContainerSize[keyof typeof ContainerSize];
676
-
677
1171
  /**
678
1172
  * Dcm.API.Client
679
1173
  *
@@ -3867,20 +4361,6 @@ declare class SettingsService extends BaseService {
3867
4361
  static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
3868
4362
  }
3869
4363
 
3870
- /**
3871
- * Dcm.API.Client
3872
- *
3873
- *
3874
- *
3875
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3876
- * https://openapi-generator.tech
3877
- * Do not edit the class manually.
3878
- */
3879
- interface Consignee {
3880
- id: string;
3881
- name: string;
3882
- }
3883
-
3884
4364
  /**
3885
4365
  * Dcm.API.Client
3886
4366
  *
@@ -5648,7 +6128,7 @@ declare class VendorBookingsService extends BaseService {
5648
6128
  static ɵprov: i0.ɵɵInjectableDeclaration<VendorBookingsService>;
5649
6129
  }
5650
6130
 
5651
- declare const APIS: (typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ConfigService | typeof ContainersService | typeof DcsService | typeof DeliveryBookingDcsService | typeof DeliveryBookingsService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PackingRulesService | typeof PendoService | typeof PermissionsService | typeof PoItemsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService | typeof VendorBookingsService)[];
6131
+ declare const APIS: (typeof ApprovalRulesService | typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ConfigService | typeof ContainersService | typeof DcsService | typeof DeliveryBookingDcsService | typeof DeliveryBookingsService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PackingRulesService | typeof PendoService | typeof PermissionsService | typeof PoItemsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService | typeof VendorBookingsService)[];
5652
6132
 
5653
6133
  /**
5654
6134
  * Dcm.API.Client
@@ -5737,5 +6217,5 @@ declare class ApiModule {
5737
6217
 
5738
6218
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
5739
6219
 
5740
- export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerDeliveryGridView, ContainerDeliveryItemGridView, ContainerDeliveryShipmentView, ContainerDeliverySummary, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, CwStates, DcClientDeliveryBooking, DcsService, DeliveryBookingContainerView, DeliveryBookingDcClientDeliveryBooking, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, LocationType, Note, NoteCategory, NoteSourceType, NotesService, PackingRulesService, PendoService, PermissionsService, PoItemDetails, PoItemShippingDetail, PoItemState, PoItemsService, PowerBiTenant, Product, ProductsShippingDetail, PurchaseOrderGridView, PurchaseOrderItem, PurchaseOrderProduct, PurchaseOrderState, PurchaseOrderSummary, PurchaseOrderView, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, Shipment, ShipmentAirRouting, ShipmentApproval, ShipmentApprovalType, ShipmentContainer, ShipmentItemSummary, ShipmentLocation, ShipmentRoadRouting, ShipmentRouting, ShipmentRoutingSummary, ShipmentRoutingSummaryLeg, ShipmentSeaRouting, ShipmentState, ShipmentSummary, ShipmentTerm, ShipmentTimelineItem, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TrackedVehicle, TransportMode, TransportationShipmentTimelineItem, UserCompanyType, UserService, VendorBooking, VendorBookingShipment, VendorBookingsService, WorkflowArtifacts, provideApi };
5741
- export type { AppConfig, ApprovalContainerRules, ApprovalItemRules, ApprovalRules, AuditLogs, BookingsCount, Column, CommandStatusResult, Companies, Company, ConfigurationParameters, Consignee, ContainerDeliveries, ContainerDeliveryItems, ContainerDeliverySummaries, ContainerItemView, ContainerItems, ContainerPoGridView, ContainerPos, Containers, ContainersCount, ContainersToDeliverCount, Country, CreateDcClientDeliveryBooking, DashboardReportGroup, DashboardReports, DataFormat, DataType, Dc, Dcs, DeliveryBookingDc, DeliveryBookingGridView, DeliveryBookingShipmentView, DeliveryBookings, DepartmentShipment, Documents, EmbedReport, EmbedTokenDto, EntityList, GeoCoordinate, ModelError, NoteView, Notes, PackingRule, PackingRuleData, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemDc, PoItemShippingDetails, PoItemSummary, PoItemTotals, Port, Products, ProductsShippingDetails, PurchaseOrderItems, PurchaseOrders, SetNewFeaturesVisibilityCommand, SettingValue, SettingView, ShipmentApprovals, ShipmentContainers, ShipmentGeoTracking, ShipmentItem, ShipmentItemSummaries, ShipmentItems, ShipmentProduct, ShipmentProductTotals, ShipmentProducts, ShipmentRoutingsInner, ShipmentTimelineInner, Shipments, ShipmentsApprovalCount, ShipmentsCount, ShipmentsInTransitCount, StandardDataFormat, StandardDataType, StandardParamStyle, SummaryDashboardReports, Supplier, TransportCarrier, TransportLocation, TransportPosition, UnbookedProductCount, User, UserApplication, UserApplications, UserCapabilitiesModel, UserPermissions, VendorBookings };
6220
+ export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalProcess, ApprovalProcessConsignee, ApprovalProcessContainer, ApprovalProcessContainerData, ApprovalProcessData, ApprovalRuleType, ApprovalRulesService, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerDeliveryGridView, ContainerDeliveryItemGridView, ContainerDeliveryShipmentView, ContainerDeliverySummary, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, CwStates, DcClientDeliveryBooking, DcsService, DeliveryBookingContainerView, DeliveryBookingDcClientDeliveryBooking, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, LocationType, Note, NoteCategory, NoteSourceType, NotesService, PackingRulesService, PendoService, PermissionsService, PoItemDetails, PoItemShippingDetail, PoItemState, PoItemsService, PowerBiTenant, Product, ProductsShippingDetail, PurchaseOrderGridView, PurchaseOrderItem, PurchaseOrderProduct, PurchaseOrderState, PurchaseOrderSummary, PurchaseOrderView, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, Shipment, ShipmentAirRouting, ShipmentApproval, ShipmentApprovalType, ShipmentContainer, ShipmentItemSummary, ShipmentLocation, ShipmentRoadRouting, ShipmentRouting, ShipmentRoutingSummary, ShipmentRoutingSummaryLeg, ShipmentSeaRouting, ShipmentState, ShipmentSummary, ShipmentTerm, ShipmentTimelineItem, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TrackedVehicle, TransportMode, TransportationShipmentTimelineItem, UserCompanyType, UserService, VendorBooking, VendorBookingShipment, VendorBookingsService, WorkflowArtifacts, provideApi };
6221
+ export type { AppConfig, ApprovalContainerRules, ApprovalItemRules, ApprovalProcessConsigneeData, ApprovalRules, AuditLogs, BookingsCount, Column, CommandStatusResult, Companies, Company, ConfigurationParameters, Consignee, ContainerDeliveries, ContainerDeliveryItems, ContainerDeliverySummaries, ContainerItemView, ContainerItems, ContainerPoGridView, ContainerPos, Containers, ContainersCount, ContainersToDeliverCount, Country, CreateDcClientDeliveryBooking, DashboardReportGroup, DashboardReports, DataFormat, DataType, Dc, Dcs, DeliveryBookingDc, DeliveryBookingGridView, DeliveryBookingShipmentView, DeliveryBookings, DepartmentShipment, Documents, EmbedReport, EmbedTokenDto, EntityList, GeoCoordinate, ModelError, NoteView, Notes, PackingRule, PackingRuleData, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemDc, PoItemShippingDetails, PoItemSummary, PoItemTotals, Port, Products, ProductsShippingDetails, PurchaseOrderItems, PurchaseOrders, SetNewFeaturesVisibilityCommand, SettingValue, SettingView, ShipmentApprovals, ShipmentContainers, ShipmentGeoTracking, ShipmentItem, ShipmentItemSummaries, ShipmentItems, ShipmentProduct, ShipmentProductTotals, ShipmentProducts, ShipmentRoutingsInner, ShipmentTimelineInner, Shipments, ShipmentsApprovalCount, ShipmentsCount, ShipmentsInTransitCount, StandardDataFormat, StandardDataType, StandardParamStyle, SummaryDashboardReports, Supplier, TransportCarrier, TransportLocation, TransportPosition, UnbookedProductCount, User, UserApplication, UserApplications, UserCapabilitiesModel, UserPermissions, VendorBookings };