@indigina/dcm-api 0.0.66 → 0.0.67

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.
Files changed (138) hide show
  1. package/README.md +75 -126
  2. package/fesm2022/indigina-dcm-api.mjs +748 -2249
  3. package/fesm2022/indigina-dcm-api.mjs.map +1 -1
  4. package/index.d.ts +3846 -6
  5. package/package.json +2 -2
  6. package/api/api.d.ts +0 -31
  7. package/api/auditLogs.service.d.ts +0 -45
  8. package/api/bookings.service.d.ts +0 -37
  9. package/api/companies.service.d.ts +0 -42
  10. package/api/containers.service.d.ts +0 -314
  11. package/api/documents.service.d.ts +0 -45
  12. package/api/health.service.d.ts +0 -36
  13. package/api/notes.service.d.ts +0 -67
  14. package/api/permissions.service.d.ts +0 -37
  15. package/api/poItems.service.d.ts +0 -38
  16. package/api/purchaseOrders.service.d.ts +0 -164
  17. package/api/reports.service.d.ts +0 -58
  18. package/api/settings.service.d.ts +0 -147
  19. package/api/shipments.service.d.ts +0 -384
  20. package/api/sipmetItems.service.d.ts +0 -43
  21. package/api/user.service.d.ts +0 -122
  22. package/api.module.d.ts +0 -11
  23. package/configuration.d.ts +0 -104
  24. package/encoder.d.ts +0 -11
  25. package/model/approvalContainerInfo.d.ts +0 -13
  26. package/model/approvalContainerRules.d.ts +0 -13
  27. package/model/approvalItemRules.d.ts +0 -15
  28. package/model/approvalRules.d.ts +0 -16
  29. package/model/approvalShipmentTimelineItem.d.ts +0 -23
  30. package/model/approvalTypes.d.ts +0 -16
  31. package/model/auditLog.d.ts +0 -24
  32. package/model/auditLogs.d.ts +0 -14
  33. package/model/bookingsCount.d.ts +0 -12
  34. package/model/column.d.ts +0 -14
  35. package/model/commandStatusResult.d.ts +0 -12
  36. package/model/companies.d.ts +0 -14
  37. package/model/company.d.ts +0 -14
  38. package/model/consignee.d.ts +0 -13
  39. package/model/containerBookedState.d.ts +0 -18
  40. package/model/containerGridView.d.ts +0 -41
  41. package/model/containerItemView.d.ts +0 -25
  42. package/model/containerItems.d.ts +0 -14
  43. package/model/containerPoGridView.d.ts +0 -27
  44. package/model/containerPos.d.ts +0 -14
  45. package/model/containerShipmentView.d.ts +0 -38
  46. package/model/containerSize.d.ts +0 -40
  47. package/model/containerType.d.ts +0 -15
  48. package/model/containerView.d.ts +0 -37
  49. package/model/containers.d.ts +0 -14
  50. package/model/containersCount.d.ts +0 -12
  51. package/model/containersToDeliverCount.d.ts +0 -14
  52. package/model/country.d.ts +0 -13
  53. package/model/currentUser.d.ts +0 -22
  54. package/model/dashboardReportGroup.d.ts +0 -19
  55. package/model/dashboardReports.d.ts +0 -13
  56. package/model/dc.d.ts +0 -16
  57. package/model/deliveryShipmentTimelineItem.d.ts +0 -20
  58. package/model/departmentShipment.d.ts +0 -14
  59. package/model/document.d.ts +0 -20
  60. package/model/documentType.d.ts +0 -25
  61. package/model/documents.d.ts +0 -14
  62. package/model/embedReport.d.ts +0 -18
  63. package/model/embedReportInfoModel.d.ts +0 -28
  64. package/model/embedTokenDto.d.ts +0 -13
  65. package/model/entityList.d.ts +0 -13
  66. package/model/entityState.d.ts +0 -17
  67. package/model/failures.d.ts +0 -16
  68. package/model/journeySegmentType.d.ts +0 -14
  69. package/model/modelError.d.ts +0 -15
  70. package/model/models.d.ts +0 -111
  71. package/model/note.d.ts +0 -14
  72. package/model/noteSourceTypes.d.ts +0 -13
  73. package/model/noteView.d.ts +0 -16
  74. package/model/notes.d.ts +0 -14
  75. package/model/paymentTerm.d.ts +0 -13
  76. package/model/pendingMessagesCount.d.ts +0 -12
  77. package/model/poItemState.d.ts +0 -16
  78. package/model/poItemSummary.d.ts +0 -20
  79. package/model/poItemTotals.d.ts +0 -13
  80. package/model/port.d.ts +0 -16
  81. package/model/powerBiTenant.d.ts +0 -14
  82. package/model/purchaseOrderGridView.d.ts +0 -45
  83. package/model/purchaseOrderItem.d.ts +0 -45
  84. package/model/purchaseOrderItems.d.ts +0 -14
  85. package/model/purchaseOrderState.d.ts +0 -19
  86. package/model/purchaseOrderSummary.d.ts +0 -44
  87. package/model/purchaseOrderView.d.ts +0 -39
  88. package/model/purchaseOrders.d.ts +0 -14
  89. package/model/recordTypes.d.ts +0 -14
  90. package/model/routingLegType.d.ts +0 -20
  91. package/model/setNewFeaturesVisibilityCommand.d.ts +0 -12
  92. package/model/settingValue.d.ts +0 -13
  93. package/model/settingView.d.ts +0 -14
  94. package/model/shipment.d.ts +0 -64
  95. package/model/shipmentAirRouting.d.ts +0 -34
  96. package/model/shipmentApproval.d.ts +0 -63
  97. package/model/shipmentApprovalType.d.ts +0 -14
  98. package/model/shipmentApprovals.d.ts +0 -14
  99. package/model/shipmentContainer.d.ts +0 -30
  100. package/model/shipmentContainers.d.ts +0 -14
  101. package/model/shipmentItem.d.ts +0 -22
  102. package/model/shipmentItemSummaries.d.ts +0 -14
  103. package/model/shipmentItemSummary.d.ts +0 -24
  104. package/model/shipmentItems.d.ts +0 -14
  105. package/model/shipmentProduct.d.ts +0 -39
  106. package/model/shipmentProductTotals.d.ts +0 -16
  107. package/model/shipmentProducts.d.ts +0 -14
  108. package/model/shipmentRoadRouting.d.ts +0 -33
  109. package/model/shipmentRouting.d.ts +0 -32
  110. package/model/shipmentRoutingsInner.d.ts +0 -9
  111. package/model/shipmentSeaRouting.d.ts +0 -33
  112. package/model/shipmentState.d.ts +0 -21
  113. package/model/shipmentSummary.d.ts +0 -42
  114. package/model/shipmentTerm.d.ts +0 -26
  115. package/model/shipmentTimelineInner.d.ts +0 -9
  116. package/model/shipmentTimelineItem.d.ts +0 -18
  117. package/model/shipments.d.ts +0 -14
  118. package/model/shipmentsApprovalCount.d.ts +0 -13
  119. package/model/shipmentsCount.d.ts +0 -12
  120. package/model/shipmentsInTransitCount.d.ts +0 -12
  121. package/model/summaryDashboardReports.d.ts +0 -15
  122. package/model/supplier.d.ts +0 -13
  123. package/model/timelineEventStates.d.ts +0 -16
  124. package/model/timelineEventTypes.d.ts +0 -21
  125. package/model/transportCarrier.d.ts +0 -13
  126. package/model/transportLocation.d.ts +0 -13
  127. package/model/transportMode.d.ts +0 -16
  128. package/model/transportationShipmentTimelineItem.d.ts +0 -27
  129. package/model/unbookedPoLineItem.d.ts +0 -55
  130. package/model/unbookedPoLineItems.d.ts +0 -14
  131. package/model/user.d.ts +0 -13
  132. package/model/userApplication.d.ts +0 -13
  133. package/model/userApplications.d.ts +0 -13
  134. package/model/userCompanyType.d.ts +0 -22
  135. package/model/userPermissions.d.ts +0 -12
  136. package/model/workflowArtifacts.d.ts +0 -18
  137. package/param.d.ts +0 -37
  138. package/variables.d.ts +0 -8
@@ -1,37 +0,0 @@
1
- import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { UserPermissions } from '../model/userPermissions';
4
- import { Configuration } from '../configuration';
5
- import * as i0 from "@angular/core";
6
- export declare class PermissionsService {
7
- protected httpClient: HttpClient;
8
- protected basePath: string;
9
- defaultHeaders: HttpHeaders;
10
- configuration: Configuration;
11
- encoder: HttpParameterCodec;
12
- constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
13
- private addToHttpParams;
14
- private addToHttpParamsRecursive;
15
- /**
16
- * User permissions
17
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
18
- * @param reportProgress flag to report request and response progress.
19
- */
20
- getUserPermissions(observe?: 'body', reportProgress?: boolean, options?: {
21
- httpHeaderAccept?: 'application/json';
22
- context?: HttpContext;
23
- transferCache?: boolean;
24
- }): Observable<UserPermissions>;
25
- getUserPermissions(observe?: 'response', reportProgress?: boolean, options?: {
26
- httpHeaderAccept?: 'application/json';
27
- context?: HttpContext;
28
- transferCache?: boolean;
29
- }): Observable<HttpResponse<UserPermissions>>;
30
- getUserPermissions(observe?: 'events', reportProgress?: boolean, options?: {
31
- httpHeaderAccept?: 'application/json';
32
- context?: HttpContext;
33
- transferCache?: boolean;
34
- }): Observable<HttpEvent<UserPermissions>>;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsService, [null, { optional: true; }, { optional: true; }]>;
36
- static ɵprov: i0.ɵɵInjectableDeclaration<PermissionsService>;
37
- }
@@ -1,38 +0,0 @@
1
- import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { PoItemSummary } from '../model/poItemSummary';
4
- import { Configuration } from '../configuration';
5
- import * as i0 from "@angular/core";
6
- export declare class PoItemsService {
7
- protected httpClient: HttpClient;
8
- protected basePath: string;
9
- defaultHeaders: HttpHeaders;
10
- configuration: Configuration;
11
- encoder: HttpParameterCodec;
12
- constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
13
- private addToHttpParams;
14
- private addToHttpParamsRecursive;
15
- /**
16
- * Getting a po item summary by id
17
- * @param id
18
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
19
- * @param reportProgress flag to report request and response progress.
20
- */
21
- getPoItemSummary(id: string, observe?: 'body', reportProgress?: boolean, options?: {
22
- httpHeaderAccept?: 'application/json';
23
- context?: HttpContext;
24
- transferCache?: boolean;
25
- }): Observable<PoItemSummary>;
26
- getPoItemSummary(id: string, observe?: 'response', reportProgress?: boolean, options?: {
27
- httpHeaderAccept?: 'application/json';
28
- context?: HttpContext;
29
- transferCache?: boolean;
30
- }): Observable<HttpResponse<PoItemSummary>>;
31
- getPoItemSummary(id: string, observe?: 'events', reportProgress?: boolean, options?: {
32
- httpHeaderAccept?: 'application/json';
33
- context?: HttpContext;
34
- transferCache?: boolean;
35
- }): Observable<HttpEvent<PoItemSummary>>;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<PoItemsService, [null, { optional: true; }, { optional: true; }]>;
37
- static ɵprov: i0.ɵɵInjectableDeclaration<PoItemsService>;
38
- }
@@ -1,164 +0,0 @@
1
- import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { PoItemTotals } from '../model/poItemTotals';
4
- import { PurchaseOrderItems } from '../model/purchaseOrderItems';
5
- import { PurchaseOrderSummary } from '../model/purchaseOrderSummary';
6
- import { PurchaseOrders } from '../model/purchaseOrders';
7
- import { UnbookedPoLineItems } from '../model/unbookedPoLineItems';
8
- import { Configuration } from '../configuration';
9
- import * as i0 from "@angular/core";
10
- export declare class PurchaseOrdersService {
11
- protected httpClient: HttpClient;
12
- protected basePath: string;
13
- defaultHeaders: HttpHeaders;
14
- configuration: Configuration;
15
- encoder: HttpParameterCodec;
16
- constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
17
- private addToHttpParams;
18
- private addToHttpParamsRecursive;
19
- /**
20
- * Getting a Po Item totals
21
- * @param purchaseOrderId
22
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
23
- * @param reportProgress flag to report request and response progress.
24
- */
25
- getPoItemTotals(purchaseOrderId: string, observe?: 'body', reportProgress?: boolean, options?: {
26
- httpHeaderAccept?: 'application/json';
27
- context?: HttpContext;
28
- transferCache?: boolean;
29
- }): Observable<PoItemTotals>;
30
- getPoItemTotals(purchaseOrderId: string, observe?: 'response', reportProgress?: boolean, options?: {
31
- httpHeaderAccept?: 'application/json';
32
- context?: HttpContext;
33
- transferCache?: boolean;
34
- }): Observable<HttpResponse<PoItemTotals>>;
35
- getPoItemTotals(purchaseOrderId: string, observe?: 'events', reportProgress?: boolean, options?: {
36
- httpHeaderAccept?: 'application/json';
37
- context?: HttpContext;
38
- transferCache?: boolean;
39
- }): Observable<HttpEvent<PoItemTotals>>;
40
- /**
41
- * Getting purchas order items
42
- * @param id
43
- * @param $skip
44
- * @param $top
45
- * @param $orderby
46
- * @param $filter
47
- * @param $search
48
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
49
- * @param reportProgress flag to report request and response progress.
50
- */
51
- getPurchaseOrderProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
52
- httpHeaderAccept?: 'application/json';
53
- context?: HttpContext;
54
- transferCache?: boolean;
55
- }): Observable<PurchaseOrderItems>;
56
- getPurchaseOrderProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
57
- httpHeaderAccept?: 'application/json';
58
- context?: HttpContext;
59
- transferCache?: boolean;
60
- }): Observable<HttpResponse<PurchaseOrderItems>>;
61
- getPurchaseOrderProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
62
- httpHeaderAccept?: 'application/json';
63
- context?: HttpContext;
64
- transferCache?: boolean;
65
- }): Observable<HttpEvent<PurchaseOrderItems>>;
66
- /**
67
- * Getting a purchas order summary by id
68
- * @param id
69
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
70
- * @param reportProgress flag to report request and response progress.
71
- */
72
- getPurchaseOrderSummary(id: string, observe?: 'body', reportProgress?: boolean, options?: {
73
- httpHeaderAccept?: 'application/json';
74
- context?: HttpContext;
75
- transferCache?: boolean;
76
- }): Observable<PurchaseOrderSummary>;
77
- getPurchaseOrderSummary(id: string, observe?: 'response', reportProgress?: boolean, options?: {
78
- httpHeaderAccept?: 'application/json';
79
- context?: HttpContext;
80
- transferCache?: boolean;
81
- }): Observable<HttpResponse<PurchaseOrderSummary>>;
82
- getPurchaseOrderSummary(id: string, observe?: 'events', reportProgress?: boolean, options?: {
83
- httpHeaderAccept?: 'application/json';
84
- context?: HttpContext;
85
- transferCache?: boolean;
86
- }): Observable<HttpEvent<PurchaseOrderSummary>>;
87
- /**
88
- * Purchase orders list
89
- * @param $skip
90
- * @param $top
91
- * @param $orderby
92
- * @param $filter
93
- * @param $search
94
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
95
- * @param reportProgress flag to report request and response progress.
96
- */
97
- getPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
98
- httpHeaderAccept?: 'application/json';
99
- context?: HttpContext;
100
- transferCache?: boolean;
101
- }): Observable<PurchaseOrders>;
102
- getPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
103
- httpHeaderAccept?: 'application/json';
104
- context?: HttpContext;
105
- transferCache?: boolean;
106
- }): Observable<HttpResponse<PurchaseOrders>>;
107
- getPurchaseOrders($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
108
- httpHeaderAccept?: 'application/json';
109
- context?: HttpContext;
110
- transferCache?: boolean;
111
- }): Observable<HttpEvent<PurchaseOrders>>;
112
- /**
113
- * Purchase orders list
114
- * @param $skip
115
- * @param $top
116
- * @param $orderby
117
- * @param $filter
118
- * @param searchTerm
119
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
120
- * @param reportProgress flag to report request and response progress.
121
- */
122
- getPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
123
- httpHeaderAccept?: 'application/json';
124
- context?: HttpContext;
125
- transferCache?: boolean;
126
- }): Observable<PurchaseOrders>;
127
- getPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
128
- httpHeaderAccept?: 'application/json';
129
- context?: HttpContext;
130
- transferCache?: boolean;
131
- }): Observable<HttpResponse<PurchaseOrders>>;
132
- getPurchaseOrdersFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
133
- httpHeaderAccept?: 'application/json';
134
- context?: HttpContext;
135
- transferCache?: boolean;
136
- }): Observable<HttpEvent<PurchaseOrders>>;
137
- /**
138
- * Get Unbooked Purchase Order Line Items
139
- * @param $skip
140
- * @param $top
141
- * @param $orderby
142
- * @param $filter
143
- * @param $search
144
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
145
- * @param reportProgress flag to report request and response progress.
146
- */
147
- getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
148
- httpHeaderAccept?: 'application/json';
149
- context?: HttpContext;
150
- transferCache?: boolean;
151
- }): Observable<UnbookedPoLineItems>;
152
- getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
153
- httpHeaderAccept?: 'application/json';
154
- context?: HttpContext;
155
- transferCache?: boolean;
156
- }): Observable<HttpResponse<UnbookedPoLineItems>>;
157
- getUnbookedPoLineItems($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
158
- httpHeaderAccept?: 'application/json';
159
- context?: HttpContext;
160
- transferCache?: boolean;
161
- }): Observable<HttpEvent<UnbookedPoLineItems>>;
162
- static ɵfac: i0.ɵɵFactoryDeclaration<PurchaseOrdersService, [null, { optional: true; }, { optional: true; }]>;
163
- static ɵprov: i0.ɵɵInjectableDeclaration<PurchaseOrdersService>;
164
- }
@@ -1,58 +0,0 @@
1
- import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { DashboardReports } from '../model/dashboardReports';
4
- import { SummaryDashboardReports } from '../model/summaryDashboardReports';
5
- import { Configuration } from '../configuration';
6
- import * as i0 from "@angular/core";
7
- export declare class ReportsService {
8
- protected httpClient: HttpClient;
9
- protected basePath: string;
10
- defaultHeaders: HttpHeaders;
11
- configuration: Configuration;
12
- encoder: HttpParameterCodec;
13
- constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
14
- private addToHttpParams;
15
- private addToHttpParamsRecursive;
16
- /**
17
- * Request DCM dashboard reports list
18
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
19
- * @param reportProgress flag to report request and response progress.
20
- */
21
- getDcmReports(observe?: 'body', reportProgress?: boolean, options?: {
22
- httpHeaderAccept?: 'application/json';
23
- context?: HttpContext;
24
- transferCache?: boolean;
25
- }): Observable<DashboardReports>;
26
- getDcmReports(observe?: 'response', reportProgress?: boolean, options?: {
27
- httpHeaderAccept?: 'application/json';
28
- context?: HttpContext;
29
- transferCache?: boolean;
30
- }): Observable<HttpResponse<DashboardReports>>;
31
- getDcmReports(observe?: 'events', reportProgress?: boolean, options?: {
32
- httpHeaderAccept?: 'application/json';
33
- context?: HttpContext;
34
- transferCache?: boolean;
35
- }): Observable<HttpEvent<DashboardReports>>;
36
- /**
37
- * Request DCM summary dashboard report embedding links
38
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
39
- * @param reportProgress flag to report request and response progress.
40
- */
41
- getSummaryDashboardReports(observe?: 'body', reportProgress?: boolean, options?: {
42
- httpHeaderAccept?: 'application/json';
43
- context?: HttpContext;
44
- transferCache?: boolean;
45
- }): Observable<SummaryDashboardReports>;
46
- getSummaryDashboardReports(observe?: 'response', reportProgress?: boolean, options?: {
47
- httpHeaderAccept?: 'application/json';
48
- context?: HttpContext;
49
- transferCache?: boolean;
50
- }): Observable<HttpResponse<SummaryDashboardReports>>;
51
- getSummaryDashboardReports(observe?: 'events', reportProgress?: boolean, options?: {
52
- httpHeaderAccept?: 'application/json';
53
- context?: HttpContext;
54
- transferCache?: boolean;
55
- }): Observable<HttpEvent<SummaryDashboardReports>>;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<ReportsService, [null, { optional: true; }, { optional: true; }]>;
57
- static ɵprov: i0.ɵɵInjectableDeclaration<ReportsService>;
58
- }
@@ -1,147 +0,0 @@
1
- import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { SettingValue } from '../model/settingValue';
4
- import { SettingView } from '../model/settingView';
5
- import { Configuration } from '../configuration';
6
- import * as i0 from "@angular/core";
7
- export declare class SettingsService {
8
- protected httpClient: HttpClient;
9
- protected basePath: string;
10
- defaultHeaders: HttpHeaders;
11
- configuration: Configuration;
12
- encoder: HttpParameterCodec;
13
- constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
14
- private addToHttpParams;
15
- private addToHttpParamsRecursive;
16
- /**
17
- * Delete a specific setting by group and key
18
- * @param key
19
- * @param group
20
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
21
- * @param reportProgress flag to report request and response progress.
22
- */
23
- deleteSettingByGroupAndKey(key: string, group: string, observe?: 'body', reportProgress?: boolean, options?: {
24
- httpHeaderAccept?: undefined;
25
- context?: HttpContext;
26
- transferCache?: boolean;
27
- }): Observable<any>;
28
- deleteSettingByGroupAndKey(key: string, group: string, observe?: 'response', reportProgress?: boolean, options?: {
29
- httpHeaderAccept?: undefined;
30
- context?: HttpContext;
31
- transferCache?: boolean;
32
- }): Observable<HttpResponse<any>>;
33
- deleteSettingByGroupAndKey(key: string, group: string, observe?: 'events', reportProgress?: boolean, options?: {
34
- httpHeaderAccept?: undefined;
35
- context?: HttpContext;
36
- transferCache?: boolean;
37
- }): Observable<HttpEvent<any>>;
38
- /**
39
- * Delete a specific setting by key
40
- * @param key
41
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
42
- * @param reportProgress flag to report request and response progress.
43
- */
44
- deleteSettingByKey(key: string, observe?: 'body', reportProgress?: boolean, options?: {
45
- httpHeaderAccept?: undefined;
46
- context?: HttpContext;
47
- transferCache?: boolean;
48
- }): Observable<any>;
49
- deleteSettingByKey(key: string, observe?: 'response', reportProgress?: boolean, options?: {
50
- httpHeaderAccept?: undefined;
51
- context?: HttpContext;
52
- transferCache?: boolean;
53
- }): Observable<HttpResponse<any>>;
54
- deleteSettingByKey(key: string, observe?: 'events', reportProgress?: boolean, options?: {
55
- httpHeaderAccept?: undefined;
56
- context?: HttpContext;
57
- transferCache?: boolean;
58
- }): Observable<HttpEvent<any>>;
59
- /**
60
- * Get a specific setting by group and key
61
- * @param key
62
- * @param group
63
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
64
- * @param reportProgress flag to report request and response progress.
65
- */
66
- getSettingByGroupAndKey(key: string, group: string, observe?: 'body', reportProgress?: boolean, options?: {
67
- httpHeaderAccept?: 'application/json';
68
- context?: HttpContext;
69
- transferCache?: boolean;
70
- }): Observable<SettingValue>;
71
- getSettingByGroupAndKey(key: string, group: string, observe?: 'response', reportProgress?: boolean, options?: {
72
- httpHeaderAccept?: 'application/json';
73
- context?: HttpContext;
74
- transferCache?: boolean;
75
- }): Observable<HttpResponse<SettingValue>>;
76
- getSettingByGroupAndKey(key: string, group: string, observe?: 'events', reportProgress?: boolean, options?: {
77
- httpHeaderAccept?: 'application/json';
78
- context?: HttpContext;
79
- transferCache?: boolean;
80
- }): Observable<HttpEvent<SettingValue>>;
81
- /**
82
- * Get a specific setting by key
83
- * @param key
84
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
85
- * @param reportProgress flag to report request and response progress.
86
- */
87
- getSettingByKey(key: string, observe?: 'body', reportProgress?: boolean, options?: {
88
- httpHeaderAccept?: 'application/json';
89
- context?: HttpContext;
90
- transferCache?: boolean;
91
- }): Observable<SettingValue>;
92
- getSettingByKey(key: string, observe?: 'response', reportProgress?: boolean, options?: {
93
- httpHeaderAccept?: 'application/json';
94
- context?: HttpContext;
95
- transferCache?: boolean;
96
- }): Observable<HttpResponse<SettingValue>>;
97
- getSettingByKey(key: string, observe?: 'events', reportProgress?: boolean, options?: {
98
- httpHeaderAccept?: 'application/json';
99
- context?: HttpContext;
100
- transferCache?: boolean;
101
- }): Observable<HttpEvent<SettingValue>>;
102
- /**
103
- * Get settings by group
104
- * @param group
105
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
106
- * @param reportProgress flag to report request and response progress.
107
- */
108
- getSettingsByGroup(group: string, observe?: 'body', reportProgress?: boolean, options?: {
109
- httpHeaderAccept?: 'application/json';
110
- context?: HttpContext;
111
- transferCache?: boolean;
112
- }): Observable<Array<SettingView>>;
113
- getSettingsByGroup(group: string, observe?: 'response', reportProgress?: boolean, options?: {
114
- httpHeaderAccept?: 'application/json';
115
- context?: HttpContext;
116
- transferCache?: boolean;
117
- }): Observable<HttpResponse<Array<SettingView>>>;
118
- getSettingsByGroup(group: string, observe?: 'events', reportProgress?: boolean, options?: {
119
- httpHeaderAccept?: 'application/json';
120
- context?: HttpContext;
121
- transferCache?: boolean;
122
- }): Observable<HttpEvent<Array<SettingView>>>;
123
- /**
124
- * Create or update a specific setting by key
125
- * @param key
126
- * @param settingValue
127
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
128
- * @param reportProgress flag to report request and response progress.
129
- */
130
- setSettingByKey(key: string, settingValue: SettingValue, observe?: 'body', reportProgress?: boolean, options?: {
131
- httpHeaderAccept?: 'application/json';
132
- context?: HttpContext;
133
- transferCache?: boolean;
134
- }): Observable<SettingValue>;
135
- setSettingByKey(key: string, settingValue: SettingValue, observe?: 'response', reportProgress?: boolean, options?: {
136
- httpHeaderAccept?: 'application/json';
137
- context?: HttpContext;
138
- transferCache?: boolean;
139
- }): Observable<HttpResponse<SettingValue>>;
140
- setSettingByKey(key: string, settingValue: SettingValue, observe?: 'events', reportProgress?: boolean, options?: {
141
- httpHeaderAccept?: 'application/json';
142
- context?: HttpContext;
143
- transferCache?: boolean;
144
- }): Observable<HttpEvent<SettingValue>>;
145
- static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, [null, { optional: true; }, { optional: true; }]>;
146
- static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
147
- }