@experteam-mx/ngx-services 20.3.1-dev3.0 → 20.3.1
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/fesm2022/experteam-mx-ngx-services.mjs +184 -196
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +178 -204
- package/package.json +1 -1
|
@@ -48,127 +48,17 @@ class NgxServicesModule {
|
|
|
48
48
|
providers: [provideNgxServices(environment)]
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
52
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
53
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NgxServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
52
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: NgxServicesModule });
|
|
53
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NgxServicesModule, providers: [provideHttpClient()] });
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NgxServicesModule, decorators: [{
|
|
56
56
|
type: NgModule,
|
|
57
57
|
args: [{
|
|
58
58
|
providers: [provideHttpClient()]
|
|
59
59
|
}]
|
|
60
60
|
}] });
|
|
61
61
|
|
|
62
|
-
class ApiBillingCOService {
|
|
63
|
-
environments = inject(ENVIRONMENT_TOKEN);
|
|
64
|
-
http = inject(HttpClient);
|
|
65
|
-
/**
|
|
66
|
-
* Retrieves the URL for the billing API.
|
|
67
|
-
* If the URL is not defined in the environments configuration, returns an empty string.
|
|
68
|
-
*
|
|
69
|
-
* @returns {string} The billing API URL or an empty string if not set.
|
|
70
|
-
*/
|
|
71
|
-
get url() {
|
|
72
|
-
return this.environments.apiBillingCO ?? '';
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Retrieves the information of a customer by its identifier.
|
|
76
|
-
*
|
|
77
|
-
* @param {number} id - Unique customer identifier.
|
|
78
|
-
* @returns {Observable<BillingCoCustomerOut>}
|
|
79
|
-
* Observable emitting the customer information.
|
|
80
|
-
*/
|
|
81
|
-
getCustomer(id) {
|
|
82
|
-
return this.http.get(`${this.url}/customer/${id}`)
|
|
83
|
-
.pipe(map(({ data }) => data));
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Creates a new customer.
|
|
87
|
-
*
|
|
88
|
-
* @param {BillingCOCustomerIn} body - Customer data to be created.
|
|
89
|
-
* @returns {Observable<BillingCoCustomerOut>}
|
|
90
|
-
* Observable emitting the created customer information.
|
|
91
|
-
*/
|
|
92
|
-
postCustomer(body) {
|
|
93
|
-
return this.http.post(`${this.url}/customer`, body)
|
|
94
|
-
.pipe(map(({ data }) => data));
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Retrieves the list of departments based on the provided query parameters.
|
|
98
|
-
*
|
|
99
|
-
* @param {QueryParams} params - Query parameters used to filter or paginate the request.
|
|
100
|
-
* @returns {Observable<DepartmentCoOut>}
|
|
101
|
-
* Observable emitting the departments list.
|
|
102
|
-
*/
|
|
103
|
-
getDepartments(params) {
|
|
104
|
-
return this.http.get(`${this.url}/departments`, { params })
|
|
105
|
-
.pipe(map(({ data }) => data));
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Retrieves the list of municipalities based on the provided query parameters.
|
|
109
|
-
*
|
|
110
|
-
* @param {QueryParams} params - Query parameters used to filter or paginate the request.
|
|
111
|
-
* @returns {Observable<MunicipalityCoOut>}
|
|
112
|
-
* Observable emitting the municipalities list.
|
|
113
|
-
*/
|
|
114
|
-
getMunicipalities(params) {
|
|
115
|
-
return this.http.get(`${this.url}/municipalities`, { params })
|
|
116
|
-
.pipe(map(({ data }) => data));
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Retrieves the list of postal codes based on the provided query parameters.
|
|
120
|
-
*
|
|
121
|
-
* @param {QueryParams} params - Query parameters used to filter or paginate the request.
|
|
122
|
-
* @returns {Observable<PostalCodeCoOut>}
|
|
123
|
-
* Observable emitting the postal codes list.
|
|
124
|
-
*/
|
|
125
|
-
getPostalCodes(params) {
|
|
126
|
-
return this.http.get(`${this.url}/postal-codes`, { params })
|
|
127
|
-
.pipe(map(({ data }) => data));
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Retrieves the list of fiscal regimes based on the provided query parameters.
|
|
131
|
-
*
|
|
132
|
-
* @param {QueryParams} params - Query parameters used to filter or paginate the request.
|
|
133
|
-
* @returns {Observable<FiscalRegimeCoOut>}
|
|
134
|
-
* Observable emitting the fiscal regimes list.
|
|
135
|
-
*/
|
|
136
|
-
getFiscalRegimes(params) {
|
|
137
|
-
return this.http.get(`${this.url}/fiscal-regimes`, { params })
|
|
138
|
-
.pipe(map(({ data }) => data));
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Retrieves the list of fiscal responsibilities based on the provided query parameters.
|
|
142
|
-
*
|
|
143
|
-
* @param {QueryParams} params - Query parameters used to filter or paginate the request.
|
|
144
|
-
* @returns {Observable<FiscalResponsibilityCoOut>}
|
|
145
|
-
* Observable emitting the fiscal responsibilities list.
|
|
146
|
-
*/
|
|
147
|
-
getFiscalResponsibilities(params) {
|
|
148
|
-
return this.http.get(`${this.url}/fiscal-responsibilities`, { params })
|
|
149
|
-
.pipe(map(({ data }) => data));
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Retrieves the list of tributes based on the provided query parameters.
|
|
153
|
-
*
|
|
154
|
-
* @param {QueryParams} params - Query parameters used to filter or paginate the request.
|
|
155
|
-
* @returns {Observable<TributeCoOut>}
|
|
156
|
-
* Observable emitting the tributes list.
|
|
157
|
-
*/
|
|
158
|
-
getTributes(params) {
|
|
159
|
-
return this.http.get(`${this.url}/tributes`, { params })
|
|
160
|
-
.pipe(map(({ data }) => data));
|
|
161
|
-
}
|
|
162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingCOService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
163
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingCOService, providedIn: 'root' });
|
|
164
|
-
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingCOService, decorators: [{
|
|
166
|
-
type: Injectable,
|
|
167
|
-
args: [{
|
|
168
|
-
providedIn: 'root'
|
|
169
|
-
}]
|
|
170
|
-
}] });
|
|
171
|
-
|
|
172
62
|
class ApiBillingDOService {
|
|
173
63
|
environments = inject(ENVIRONMENT_TOKEN);
|
|
174
64
|
http = inject(HttpClient);
|
|
@@ -189,10 +79,10 @@ class ApiBillingDOService {
|
|
|
189
79
|
return this.http.get(`${this.url}/income-types`)
|
|
190
80
|
.pipe(map(({ data }) => data));
|
|
191
81
|
}
|
|
192
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
193
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingDOService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
83
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingDOService, providedIn: 'root' });
|
|
194
84
|
}
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingDOService, decorators: [{
|
|
196
86
|
type: Injectable,
|
|
197
87
|
args: [{
|
|
198
88
|
providedIn: 'root'
|
|
@@ -239,10 +129,10 @@ class ApiBillingGtService {
|
|
|
239
129
|
return this.http.post(`${this.url}/locations`, body)
|
|
240
130
|
.pipe(map(({ data }) => data));
|
|
241
131
|
}
|
|
242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
243
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingGtService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
133
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingGtService, providedIn: 'root' });
|
|
244
134
|
}
|
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingGtService, decorators: [{
|
|
246
136
|
type: Injectable,
|
|
247
137
|
args: [{
|
|
248
138
|
providedIn: 'root'
|
|
@@ -290,10 +180,10 @@ class ApiBillingMxService {
|
|
|
290
180
|
return this.http.get(`${this.url}/postal-codes`, { params })
|
|
291
181
|
.pipe(map(({ data }) => data));
|
|
292
182
|
}
|
|
293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
294
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingMxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
184
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingMxService, providedIn: 'root' });
|
|
295
185
|
}
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingMxService, decorators: [{
|
|
297
187
|
type: Injectable,
|
|
298
188
|
args: [{
|
|
299
189
|
providedIn: 'root'
|
|
@@ -384,10 +274,10 @@ class ApiBillingPaService {
|
|
|
384
274
|
return this.http.post(`${this.url}/locations`, body)
|
|
385
275
|
.pipe(map(({ data }) => data));
|
|
386
276
|
}
|
|
387
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
388
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
277
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingPaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
278
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingPaService, providedIn: 'root' });
|
|
389
279
|
}
|
|
390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingPaService, decorators: [{
|
|
391
281
|
type: Injectable,
|
|
392
282
|
args: [{
|
|
393
283
|
providedIn: 'root'
|
|
@@ -456,10 +346,10 @@ class ApiBillingSvService {
|
|
|
456
346
|
return this.http.get(`${this.url}/municipalities`, { params })
|
|
457
347
|
.pipe(map(({ data }) => data));
|
|
458
348
|
}
|
|
459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
460
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingSvService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
350
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingSvService, providedIn: 'root' });
|
|
461
351
|
}
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiBillingSvService, decorators: [{
|
|
463
353
|
type: Injectable,
|
|
464
354
|
args: [{
|
|
465
355
|
providedIn: 'root'
|
|
@@ -547,10 +437,10 @@ class ApiCashOperationsService {
|
|
|
547
437
|
return this.http.get(`${this.url}/deposits/${id}/slip`)
|
|
548
438
|
.pipe(map(({ data }) => data));
|
|
549
439
|
}
|
|
550
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
551
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
440
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCashOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
441
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCashOperationsService, providedIn: 'root' });
|
|
552
442
|
}
|
|
553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCashOperationsService, decorators: [{
|
|
554
444
|
type: Injectable,
|
|
555
445
|
args: [{
|
|
556
446
|
providedIn: 'root'
|
|
@@ -1170,10 +1060,10 @@ class ApiCatalogsService {
|
|
|
1170
1060
|
return this.http.get(`${this.url}/package-locations`, { params })
|
|
1171
1061
|
.pipe(map(({ data }) => data));
|
|
1172
1062
|
}
|
|
1173
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1174
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1063
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCatalogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1064
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCatalogsService, providedIn: 'root' });
|
|
1175
1065
|
}
|
|
1176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCatalogsService, decorators: [{
|
|
1177
1067
|
type: Injectable,
|
|
1178
1068
|
args: [{
|
|
1179
1069
|
providedIn: 'root'
|
|
@@ -2247,10 +2137,10 @@ class ApiCompaniesService {
|
|
|
2247
2137
|
}
|
|
2248
2138
|
}).pipe(map(({ data }) => data));
|
|
2249
2139
|
}
|
|
2250
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2251
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2140
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCompaniesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2141
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCompaniesService, providedIn: 'root' });
|
|
2252
2142
|
}
|
|
2253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCompaniesService, decorators: [{
|
|
2254
2144
|
type: Injectable,
|
|
2255
2145
|
args: [{
|
|
2256
2146
|
providedIn: 'root'
|
|
@@ -2288,10 +2178,10 @@ class ApiCompositionService {
|
|
|
2288
2178
|
return this.http.get(`${this.url}/country-references`, { params })
|
|
2289
2179
|
.pipe(map(({ data }) => data));
|
|
2290
2180
|
}
|
|
2291
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2292
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2181
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCompositionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2182
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCompositionService, providedIn: 'root' });
|
|
2293
2183
|
}
|
|
2294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCompositionService, decorators: [{
|
|
2295
2185
|
type: Injectable,
|
|
2296
2186
|
args: [{
|
|
2297
2187
|
providedIn: 'root'
|
|
@@ -2434,10 +2324,10 @@ class ApiCustomsService {
|
|
|
2434
2324
|
params
|
|
2435
2325
|
}).pipe(map(({ data }) => data));
|
|
2436
2326
|
}
|
|
2437
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2438
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2327
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCustomsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2328
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCustomsService, providedIn: 'root' });
|
|
2439
2329
|
}
|
|
2440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiCustomsService, decorators: [{
|
|
2441
2331
|
type: Injectable,
|
|
2442
2332
|
args: [{
|
|
2443
2333
|
providedIn: 'root'
|
|
@@ -2665,10 +2555,10 @@ class ApiDiscountsService {
|
|
|
2665
2555
|
return this.http.put(`${this.url}/customer-restrictions/V2/${id}`, body)
|
|
2666
2556
|
.pipe(map(({ data }) => data));
|
|
2667
2557
|
}
|
|
2668
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2669
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2558
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiDiscountsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2559
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiDiscountsService, providedIn: 'root' });
|
|
2670
2560
|
}
|
|
2671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiDiscountsService, decorators: [{
|
|
2672
2562
|
type: Injectable,
|
|
2673
2563
|
args: [{
|
|
2674
2564
|
providedIn: 'root'
|
|
@@ -2760,10 +2650,10 @@ class ApiEToolsAutoBillingService {
|
|
|
2760
2650
|
return this.http.post(`${this.url}/external-shipments/${id}/re-billing`, body)
|
|
2761
2651
|
.pipe(map(({ data }) => data));
|
|
2762
2652
|
}
|
|
2763
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2764
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2653
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiEToolsAutoBillingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2654
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiEToolsAutoBillingService, providedIn: 'root' });
|
|
2765
2655
|
}
|
|
2766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiEToolsAutoBillingService, decorators: [{
|
|
2767
2657
|
type: Injectable,
|
|
2768
2658
|
args: [{
|
|
2769
2659
|
providedIn: 'root'
|
|
@@ -2802,10 +2692,10 @@ class ApiEventsService {
|
|
|
2802
2692
|
return this.http.put(`${this.url}/operation-modules/${id}/end`, body)
|
|
2803
2693
|
.pipe(map(({ data }) => data));
|
|
2804
2694
|
}
|
|
2805
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2806
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2695
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2696
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiEventsService, providedIn: 'root' });
|
|
2807
2697
|
}
|
|
2808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiEventsService, decorators: [{
|
|
2809
2699
|
type: Injectable,
|
|
2810
2700
|
args: [{
|
|
2811
2701
|
providedIn: 'root'
|
|
@@ -2877,10 +2767,10 @@ class ApiExternalOperationsService {
|
|
|
2877
2767
|
getAppKeyHeader() {
|
|
2878
2768
|
return { ...(this.appKey && { AppKey: this.appKey }) };
|
|
2879
2769
|
}
|
|
2880
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2881
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2770
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiExternalOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2771
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiExternalOperationsService, providedIn: 'root' });
|
|
2882
2772
|
}
|
|
2883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiExternalOperationsService, decorators: [{
|
|
2884
2774
|
type: Injectable,
|
|
2885
2775
|
args: [{
|
|
2886
2776
|
providedIn: 'root'
|
|
@@ -3094,10 +2984,63 @@ class ApiInventoriesService {
|
|
|
3094
2984
|
putReEntryOfMissingPackages(body) {
|
|
3095
2985
|
return this.http.put(`${this.url}/re-entry-of-missing-packages`, body).pipe(map(({ data }) => data));
|
|
3096
2986
|
}
|
|
3097
|
-
|
|
3098
|
-
|
|
2987
|
+
/**
|
|
2988
|
+
* Fetches the packages details based on the provided operation check out ID.
|
|
2989
|
+
*
|
|
2990
|
+
* @param {number} id - The operation check out id
|
|
2991
|
+
* @return {Observable<CourierCheckOutPackesOut>} An observable that emits the packages data.
|
|
2992
|
+
*/
|
|
2993
|
+
getCourierCheckOutPackages(id) {
|
|
2994
|
+
return this.http.get(`${this.url}/courier-check-out/packages/${id}`)
|
|
2995
|
+
.pipe(map(({ data }) => data));
|
|
2996
|
+
}
|
|
2997
|
+
/**
|
|
2998
|
+
* Fetches the statuses based on query parameters.
|
|
2999
|
+
*
|
|
3000
|
+
* @param {QueryParams} params - The query parameters for filtering the statuses.
|
|
3001
|
+
* @return {Observable<StatusesOut>} An observable that emits the statuses.
|
|
3002
|
+
*/
|
|
3003
|
+
getStatuses(params) {
|
|
3004
|
+
return this.http.get(`${this.url}/statuses`, {
|
|
3005
|
+
params
|
|
3006
|
+
}).pipe(map(({ data }) => data));
|
|
3007
|
+
}
|
|
3008
|
+
/**
|
|
3009
|
+
* Fetches the operation types based on query parameters.
|
|
3010
|
+
*
|
|
3011
|
+
* @param {QueryParams} params - The query parameters for filtering the operation types.
|
|
3012
|
+
* @return {Observable<OperationTypesInventoryOut>} An observable that emits the operation types.
|
|
3013
|
+
*/
|
|
3014
|
+
getOperationTypes(params) {
|
|
3015
|
+
return this.http.get(`${this.url}/operation-types`, {
|
|
3016
|
+
params
|
|
3017
|
+
}).pipe(map(({ data }) => data));
|
|
3018
|
+
}
|
|
3019
|
+
/**
|
|
3020
|
+
* Fetches the package in stock details based on query parameters.
|
|
3021
|
+
*
|
|
3022
|
+
* @param {QueryParams} params - The query parameters for get the package in stock.
|
|
3023
|
+
* @return {Observable<PackageInStockDetailOut>} An observable that emits the package detail in stock.
|
|
3024
|
+
*/
|
|
3025
|
+
getPackageInStockDetail(params) {
|
|
3026
|
+
return this.http.get(`${this.url}/packages/in-stock-detail`, {
|
|
3027
|
+
params
|
|
3028
|
+
}).pipe(map(({ data }) => data));
|
|
3029
|
+
}
|
|
3030
|
+
/**
|
|
3031
|
+
* Fetches the packages details based on the provided operation stock update ID.
|
|
3032
|
+
*
|
|
3033
|
+
* @param {number} id - The operation stock update id
|
|
3034
|
+
* @return {Observable<StockUpdatePackagesOut>} An observable that emits the packages data.
|
|
3035
|
+
*/
|
|
3036
|
+
getStockUpdatePackages(id) {
|
|
3037
|
+
return this.http.get(`${this.url}/stock-update/packages/${id}`)
|
|
3038
|
+
.pipe(map(({ data }) => data));
|
|
3039
|
+
}
|
|
3040
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3041
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
|
|
3099
3042
|
}
|
|
3100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiInventoriesService, decorators: [{
|
|
3101
3044
|
type: Injectable,
|
|
3102
3045
|
args: [{
|
|
3103
3046
|
providedIn: 'root'
|
|
@@ -3545,10 +3488,10 @@ class ApiInvoicesService {
|
|
|
3545
3488
|
return this.http.get(`${this.url}/country-document-types`, { params })
|
|
3546
3489
|
.pipe(map(({ data }) => data));
|
|
3547
3490
|
}
|
|
3548
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3549
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3491
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiInvoicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3492
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiInvoicesService, providedIn: 'root' });
|
|
3550
3493
|
}
|
|
3551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiInvoicesService, decorators: [{
|
|
3552
3495
|
type: Injectable,
|
|
3553
3496
|
args: [{
|
|
3554
3497
|
providedIn: 'root'
|
|
@@ -3638,10 +3581,10 @@ class ApiNotificationsService {
|
|
|
3638
3581
|
return this.http.get(`${this.url}/notification-types`, { params })
|
|
3639
3582
|
.pipe(map(({ data }) => data));
|
|
3640
3583
|
}
|
|
3641
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3642
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3584
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiNotificationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3585
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiNotificationsService, providedIn: 'root' });
|
|
3643
3586
|
}
|
|
3644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiNotificationsService, decorators: [{
|
|
3645
3588
|
type: Injectable,
|
|
3646
3589
|
args: [{
|
|
3647
3590
|
providedIn: 'root'
|
|
@@ -3689,10 +3632,10 @@ class ApiOpenItemsService {
|
|
|
3689
3632
|
return this.http.post(`${this.url}/other-invoices`, body)
|
|
3690
3633
|
.pipe(map(({ data }) => data));
|
|
3691
3634
|
}
|
|
3692
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3693
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3635
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiOpenItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3636
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiOpenItemsService, providedIn: 'root' });
|
|
3694
3637
|
}
|
|
3695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiOpenItemsService, decorators: [{
|
|
3696
3639
|
type: Injectable,
|
|
3697
3640
|
args: [{
|
|
3698
3641
|
providedIn: 'root'
|
|
@@ -3759,10 +3702,10 @@ class ApiQuoteService {
|
|
|
3759
3702
|
return this.http.get(`${this.url}/quote-event-types`, { params })
|
|
3760
3703
|
.pipe(map(({ data }) => data));
|
|
3761
3704
|
}
|
|
3762
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3763
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3705
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiQuoteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3706
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiQuoteService, providedIn: 'root' });
|
|
3764
3707
|
}
|
|
3765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiQuoteService, decorators: [{
|
|
3766
3709
|
type: Injectable,
|
|
3767
3710
|
args: [{
|
|
3768
3711
|
providedIn: 'root'
|
|
@@ -3970,10 +3913,10 @@ class ApiReportsService {
|
|
|
3970
3913
|
return this.http.get(`${this.url}/inventories-report`, { params })
|
|
3971
3914
|
.pipe(map(({ data }) => data));
|
|
3972
3915
|
}
|
|
3973
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3974
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3916
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiReportsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3917
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiReportsService, providedIn: 'root' });
|
|
3975
3918
|
}
|
|
3976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiReportsService, decorators: [{
|
|
3977
3920
|
type: Injectable,
|
|
3978
3921
|
args: [{
|
|
3979
3922
|
providedIn: 'root'
|
|
@@ -4209,10 +4152,10 @@ class ApiSecurityService {
|
|
|
4209
4152
|
}
|
|
4210
4153
|
}).pipe(map(({ data }) => data));
|
|
4211
4154
|
}
|
|
4212
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4213
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4155
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSecurityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4156
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSecurityService, providedIn: 'root' });
|
|
4214
4157
|
}
|
|
4215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSecurityService, decorators: [{
|
|
4216
4159
|
type: Injectable,
|
|
4217
4160
|
args: [{
|
|
4218
4161
|
providedIn: 'root'
|
|
@@ -4321,10 +4264,10 @@ class ApiServicesService {
|
|
|
4321
4264
|
params: queryParams
|
|
4322
4265
|
}).pipe(map(({ data }) => data));
|
|
4323
4266
|
}
|
|
4324
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4325
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiServicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4268
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiServicesService, providedIn: 'root' });
|
|
4326
4269
|
}
|
|
4327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiServicesService, decorators: [{
|
|
4328
4271
|
type: Injectable,
|
|
4329
4272
|
args: [{
|
|
4330
4273
|
providedIn: 'root'
|
|
@@ -4473,10 +4416,10 @@ class ApiShipmentsService {
|
|
|
4473
4416
|
return this.http.put(`${this.url}/signature-page-settings/${id}`, body)
|
|
4474
4417
|
.pipe(map(({ data }) => data));
|
|
4475
4418
|
}
|
|
4476
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4477
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4419
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiShipmentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4420
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiShipmentsService, providedIn: 'root' });
|
|
4478
4421
|
}
|
|
4479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiShipmentsService, decorators: [{
|
|
4480
4423
|
type: Injectable,
|
|
4481
4424
|
args: [{
|
|
4482
4425
|
providedIn: 'root'
|
|
@@ -4595,10 +4538,10 @@ class ApiSuppliesService {
|
|
|
4595
4538
|
return this.http.get(`${this.url}/supply-locations/export/excel`, { params })
|
|
4596
4539
|
.pipe(map(({ data }) => data));
|
|
4597
4540
|
}
|
|
4598
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4599
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4541
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSuppliesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4542
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSuppliesService, providedIn: 'root' });
|
|
4600
4543
|
}
|
|
4601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSuppliesService, decorators: [{
|
|
4602
4545
|
type: Injectable,
|
|
4603
4546
|
args: [{
|
|
4604
4547
|
providedIn: 'root'
|
|
@@ -4608,6 +4551,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
4608
4551
|
class ApiSurveysService {
|
|
4609
4552
|
environments = inject(ENVIRONMENT_TOKEN);
|
|
4610
4553
|
http = inject(HttpClient);
|
|
4554
|
+
appKey = this.environments.apiSurveysKey ?? '';
|
|
4611
4555
|
/**
|
|
4612
4556
|
* Base URL for surveys API endpoints.
|
|
4613
4557
|
* @returns The configured surveys API URL or an empty string.
|
|
@@ -4615,6 +4559,9 @@ class ApiSurveysService {
|
|
|
4615
4559
|
get url() {
|
|
4616
4560
|
return this.environments.apiSurveysUrl ?? '';
|
|
4617
4561
|
}
|
|
4562
|
+
appKeyHeader() {
|
|
4563
|
+
return { ...(this.appKey && { AppKey: this.appKey }) };
|
|
4564
|
+
}
|
|
4618
4565
|
/**
|
|
4619
4566
|
* Retrieves surveys list based on query parameters.
|
|
4620
4567
|
* @param params Query parameters used to filter, paginate, or sort surveys.
|
|
@@ -4702,10 +4649,42 @@ class ApiSurveysService {
|
|
|
4702
4649
|
return this.http.get(`${this.url}/question-types`, { params })
|
|
4703
4650
|
.pipe(map(({ data }) => data));
|
|
4704
4651
|
}
|
|
4705
|
-
|
|
4706
|
-
|
|
4652
|
+
/**
|
|
4653
|
+
* Retrieves a customer survey by UUID.
|
|
4654
|
+
* @param uuid Customer survey identifier.
|
|
4655
|
+
* @returns Observable stream with customer survey data.
|
|
4656
|
+
*/
|
|
4657
|
+
getCustomerSurvey(uuid) {
|
|
4658
|
+
return this.http.get(`${this.url}/customer-surveys/${uuid}`, {
|
|
4659
|
+
headers: this.appKeyHeader(),
|
|
4660
|
+
}).pipe(map(({ data }) => data));
|
|
4661
|
+
}
|
|
4662
|
+
/**
|
|
4663
|
+
* Updates an existing customer survey by UUID.
|
|
4664
|
+
* @param uuid Customer survey identifier.
|
|
4665
|
+
* @param body Customer survey payload used to update the resource.
|
|
4666
|
+
* @returns Observable stream with updated customer survey data.
|
|
4667
|
+
*/
|
|
4668
|
+
putCustomerSurvey(uuid, body) {
|
|
4669
|
+
return this.http.put(`${this.url}/customer-surveys/${uuid}`, body, {
|
|
4670
|
+
headers: this.appKeyHeader(),
|
|
4671
|
+
}).pipe(map(({ data }) => data));
|
|
4672
|
+
}
|
|
4673
|
+
/**
|
|
4674
|
+
* Marks a customer survey as finished by UUID.
|
|
4675
|
+
* @param uuid Customer survey identifier.
|
|
4676
|
+
* @param body Customer survey finish payload.
|
|
4677
|
+
* @returns Observable stream with updated customer survey data.
|
|
4678
|
+
*/
|
|
4679
|
+
postCustomerSurveyFinish(uuid, body) {
|
|
4680
|
+
return this.http.post(`${this.url}/customer-surveys/${uuid}/finish`, body, {
|
|
4681
|
+
headers: this.appKeyHeader(),
|
|
4682
|
+
}).pipe(map(({ data }) => data));
|
|
4683
|
+
}
|
|
4684
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSurveysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4685
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSurveysService, providedIn: 'root' });
|
|
4707
4686
|
}
|
|
4708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiSurveysService, decorators: [{
|
|
4709
4688
|
type: Injectable,
|
|
4710
4689
|
args: [{
|
|
4711
4690
|
providedIn: 'root'
|
|
@@ -4749,6 +4728,15 @@ var AlphaNumeric;
|
|
|
4749
4728
|
AlphaNumeric["alphabetic"] = "alphabetic";
|
|
4750
4729
|
AlphaNumeric["amount"] = "amount";
|
|
4751
4730
|
})(AlphaNumeric || (AlphaNumeric = {}));
|
|
4731
|
+
var Group;
|
|
4732
|
+
(function (Group) {
|
|
4733
|
+
Group["check_in"] = "check_in";
|
|
4734
|
+
Group["check_out"] = "check_out";
|
|
4735
|
+
Group["movement"] = "movement";
|
|
4736
|
+
Group["incident"] = "incident";
|
|
4737
|
+
Group["expiration"] = "expiration";
|
|
4738
|
+
Group["verification"] = "verification";
|
|
4739
|
+
})(Group || (Group = {}));
|
|
4752
4740
|
|
|
4753
4741
|
class WebSocketsService {
|
|
4754
4742
|
pusher;
|
|
@@ -4847,10 +4835,10 @@ class WebSocketsService {
|
|
|
4847
4835
|
const waitTime = 3 * 1000;
|
|
4848
4836
|
return new Promise((resolve) => setTimeout(resolve, waitTime));
|
|
4849
4837
|
}
|
|
4850
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4851
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4838
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: WebSocketsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4839
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: WebSocketsService, providedIn: 'root' });
|
|
4852
4840
|
}
|
|
4853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: WebSocketsService, decorators: [{
|
|
4854
4842
|
type: Injectable,
|
|
4855
4843
|
args: [{
|
|
4856
4844
|
providedIn: 'root',
|
|
@@ -4936,10 +4924,10 @@ class CryptoService {
|
|
|
4936
4924
|
}
|
|
4937
4925
|
return bytes.buffer;
|
|
4938
4926
|
}
|
|
4939
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4940
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4927
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: CryptoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4928
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: CryptoService, providedIn: 'root' });
|
|
4941
4929
|
}
|
|
4942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: CryptoService, decorators: [{
|
|
4943
4931
|
type: Injectable,
|
|
4944
4932
|
args: [{
|
|
4945
4933
|
providedIn: 'root'
|
|
@@ -5165,5 +5153,5 @@ const xmlHeaders = (format = 'object') => {
|
|
|
5165
5153
|
* Generated bundle index. Do not edit.
|
|
5166
5154
|
*/
|
|
5167
5155
|
|
|
5168
|
-
export { AlphaNumeric,
|
|
5156
|
+
export { AlphaNumeric, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, ENVIRONMENT_TOKEN, Event, Group, NgxServicesModule, OperationModuleStatus, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiKeyInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5169
5157
|
//# sourceMappingURL=experteam-mx-ngx-services.mjs.map
|