@experteam-mx/ngx-services 20.1.16 → 20.1.17-alpha.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/README.md CHANGED
@@ -1,80 +1,80 @@
1
- # @experteam-mx/ngx-services
2
-
3
- Common Angular services used across Experteam applications.
4
-
5
- ## Standalone setup (Angular v20+)
6
-
7
- Use `provideNgxServices(environment)` in your `ApplicationConfig.providers`.
8
-
9
- ```ts
10
- import { provideHttpClient, withInterceptors } from '@angular/common/http'
11
- import type { ApplicationConfig } from '@angular/core'
12
- import { provideRouter } from '@angular/router'
13
- import {
14
- apiHeadersInterceptor,
15
- apiTokenInterceptor,
16
- httpCachingInterceptor,
17
- provideNgxServices,
18
- type Environment
19
- } from '@experteam-mx/ngx-services'
20
- import { environment } from '../environments/environment'
21
- import { routes } from './app.routes'
22
-
23
- const envs = {
24
- ...environment,
25
- authCookie: 'token',
26
- cacheTtl: 3000
27
- } as Environment
28
-
29
- export const appConfig: ApplicationConfig = {
30
- providers: [
31
- provideRouter(routes),
32
- provideNgxServices(envs),
33
- provideHttpClient(withInterceptors([
34
- apiHeadersInterceptor,
35
- apiTokenInterceptor,
36
- httpCachingInterceptor
37
- ]))
38
- ]
39
- }
40
- ```
41
-
42
- `provideNgxServices` registers `ENVIRONMENT_TOKEN`, which is required by the API services and some interceptors in this package.
43
-
44
- ## NgModule compatibility
45
-
46
- `NgxServicesModule.forRoot(environment)` is still available for compatibility, but it is deprecated for new standalone applications and will be removed in `20.2.0`.
47
-
48
- ```ts
49
- import { importProvidersFrom } from '@angular/core'
50
- import { NgxServicesModule } from '@experteam-mx/ngx-services'
51
-
52
- providers: [
53
- importProvidersFrom([NgxServicesModule.forRoot(envs)])
54
- ]
55
- ```
56
-
57
- Prefer `provideNgxServices(envs)` for all new apps.
58
-
59
- ## Build
60
-
61
- ```bash
62
- ng build @experteam-mx/ngx-services
63
- ```
64
-
65
- Build output:
66
-
67
- `dist/experteam-mx/ngx-services`
68
-
69
- ## Publish
70
-
71
- ```bash
72
- cd dist/experteam-mx/ngx-services
73
- npm publish
74
- ```
75
-
76
- ## Test
77
-
78
- ```bash
79
- ng test @experteam-mx/ngx-services
80
- ```
1
+ # @experteam-mx/ngx-services
2
+
3
+ Common Angular services used across Experteam applications.
4
+
5
+ ## Standalone setup (Angular v20+)
6
+
7
+ Use `provideNgxServices(environment)` in your `ApplicationConfig.providers`.
8
+
9
+ ```ts
10
+ import { provideHttpClient, withInterceptors } from '@angular/common/http'
11
+ import type { ApplicationConfig } from '@angular/core'
12
+ import { provideRouter } from '@angular/router'
13
+ import {
14
+ apiHeadersInterceptor,
15
+ apiTokenInterceptor,
16
+ httpCachingInterceptor,
17
+ provideNgxServices,
18
+ type Environment
19
+ } from '@experteam-mx/ngx-services'
20
+ import { environment } from '../environments/environment'
21
+ import { routes } from './app.routes'
22
+
23
+ const envs = {
24
+ ...environment,
25
+ authCookie: 'token',
26
+ cacheTtl: 3000
27
+ } as Environment
28
+
29
+ export const appConfig: ApplicationConfig = {
30
+ providers: [
31
+ provideRouter(routes),
32
+ provideNgxServices(envs),
33
+ provideHttpClient(withInterceptors([
34
+ apiHeadersInterceptor,
35
+ apiTokenInterceptor,
36
+ httpCachingInterceptor
37
+ ]))
38
+ ]
39
+ }
40
+ ```
41
+
42
+ `provideNgxServices` registers `ENVIRONMENT_TOKEN`, which is required by the API services and some interceptors in this package.
43
+
44
+ ## NgModule compatibility
45
+
46
+ `NgxServicesModule.forRoot(environment)` is still available for compatibility, but it is deprecated for new standalone applications and will be removed in `20.2.0`.
47
+
48
+ ```ts
49
+ import { importProvidersFrom } from '@angular/core'
50
+ import { NgxServicesModule } from '@experteam-mx/ngx-services'
51
+
52
+ providers: [
53
+ importProvidersFrom([NgxServicesModule.forRoot(envs)])
54
+ ]
55
+ ```
56
+
57
+ Prefer `provideNgxServices(envs)` for all new apps.
58
+
59
+ ## Build
60
+
61
+ ```bash
62
+ ng build @experteam-mx/ngx-services
63
+ ```
64
+
65
+ Build output:
66
+
67
+ `dist/experteam-mx/ngx-services`
68
+
69
+ ## Publish
70
+
71
+ ```bash
72
+ cd dist/experteam-mx/ngx-services
73
+ npm publish
74
+ ```
75
+
76
+ ## Test
77
+
78
+ ```bash
79
+ ng test @experteam-mx/ngx-services
80
+ ```
@@ -48,11 +48,11 @@ class NgxServicesModule {
48
48
  providers: [provideNgxServices(environment)]
49
49
  };
50
50
  }
51
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NgxServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
52
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: NgxServicesModule });
53
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NgxServicesModule, providers: [provideHttpClient()] });
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NgxServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
52
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: NgxServicesModule });
53
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NgxServicesModule, providers: [provideHttpClient()] });
54
54
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NgxServicesModule, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NgxServicesModule, decorators: [{
56
56
  type: NgModule,
57
57
  args: [{
58
58
  providers: [provideHttpClient()]
@@ -79,10 +79,10 @@ class ApiBillingDOService {
79
79
  return this.http.get(`${this.url}/income-types`)
80
80
  .pipe(map(({ data }) => data));
81
81
  }
82
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingDOService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
83
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingDOService, providedIn: 'root' });
82
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingDOService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
83
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingDOService, providedIn: 'root' });
84
84
  }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingDOService, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingDOService, decorators: [{
86
86
  type: Injectable,
87
87
  args: [{
88
88
  providedIn: 'root'
@@ -129,10 +129,10 @@ class ApiBillingGtService {
129
129
  return this.http.post(`${this.url}/locations`, body)
130
130
  .pipe(map(({ data }) => data));
131
131
  }
132
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingGtService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
133
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingGtService, providedIn: 'root' });
132
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingGtService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
133
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingGtService, providedIn: 'root' });
134
134
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingGtService, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingGtService, decorators: [{
136
136
  type: Injectable,
137
137
  args: [{
138
138
  providedIn: 'root'
@@ -180,10 +180,10 @@ class ApiBillingMxService {
180
180
  return this.http.get(`${this.url}/postal-codes`, { params })
181
181
  .pipe(map(({ data }) => data));
182
182
  }
183
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingMxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
184
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingMxService, providedIn: 'root' });
183
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingMxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
184
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingMxService, providedIn: 'root' });
185
185
  }
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingMxService, decorators: [{
186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingMxService, decorators: [{
187
187
  type: Injectable,
188
188
  args: [{
189
189
  providedIn: 'root'
@@ -274,10 +274,10 @@ class ApiBillingPaService {
274
274
  return this.http.post(`${this.url}/locations`, body)
275
275
  .pipe(map(({ data }) => data));
276
276
  }
277
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingPaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
278
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingPaService, providedIn: 'root' });
277
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingPaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
278
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingPaService, providedIn: 'root' });
279
279
  }
280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingPaService, decorators: [{
280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingPaService, decorators: [{
281
281
  type: Injectable,
282
282
  args: [{
283
283
  providedIn: 'root'
@@ -346,10 +346,10 @@ class ApiBillingSvService {
346
346
  return this.http.get(`${this.url}/municipalities`, { params })
347
347
  .pipe(map(({ data }) => data));
348
348
  }
349
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingSvService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
350
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingSvService, providedIn: 'root' });
349
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingSvService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
350
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingSvService, providedIn: 'root' });
351
351
  }
352
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiBillingSvService, decorators: [{
352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiBillingSvService, decorators: [{
353
353
  type: Injectable,
354
354
  args: [{
355
355
  providedIn: 'root'
@@ -437,10 +437,10 @@ class ApiCashOperationsService {
437
437
  return this.http.get(`${this.url}/deposits/${id}/slip`)
438
438
  .pipe(map(({ data }) => data));
439
439
  }
440
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCashOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
441
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCashOperationsService, providedIn: 'root' });
440
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCashOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
441
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCashOperationsService, providedIn: 'root' });
442
442
  }
443
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCashOperationsService, decorators: [{
443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCashOperationsService, decorators: [{
444
444
  type: Injectable,
445
445
  args: [{
446
446
  providedIn: 'root'
@@ -1060,10 +1060,10 @@ class ApiCatalogsService {
1060
1060
  return this.http.get(`${this.url}/package-locations`, { params })
1061
1061
  .pipe(map(({ data }) => data));
1062
1062
  }
1063
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCatalogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1064
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCatalogsService, providedIn: 'root' });
1063
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCatalogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1064
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCatalogsService, providedIn: 'root' });
1065
1065
  }
1066
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCatalogsService, decorators: [{
1066
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCatalogsService, decorators: [{
1067
1067
  type: Injectable,
1068
1068
  args: [{
1069
1069
  providedIn: 'root'
@@ -2117,10 +2117,10 @@ class ApiCompaniesService {
2117
2117
  }
2118
2118
  }).pipe(map(({ data }) => data));
2119
2119
  }
2120
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCompaniesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2121
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCompaniesService, providedIn: 'root' });
2120
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCompaniesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2121
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCompaniesService, providedIn: 'root' });
2122
2122
  }
2123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCompaniesService, decorators: [{
2123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCompaniesService, decorators: [{
2124
2124
  type: Injectable,
2125
2125
  args: [{
2126
2126
  providedIn: 'root'
@@ -2158,10 +2158,10 @@ class ApiCompositionService {
2158
2158
  return this.http.get(`${this.url}/country-references`, { params })
2159
2159
  .pipe(map(({ data }) => data));
2160
2160
  }
2161
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCompositionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2162
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCompositionService, providedIn: 'root' });
2161
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCompositionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2162
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCompositionService, providedIn: 'root' });
2163
2163
  }
2164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCompositionService, decorators: [{
2164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCompositionService, decorators: [{
2165
2165
  type: Injectable,
2166
2166
  args: [{
2167
2167
  providedIn: 'root'
@@ -2304,10 +2304,10 @@ class ApiCustomsService {
2304
2304
  params
2305
2305
  }).pipe(map(({ data }) => data));
2306
2306
  }
2307
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCustomsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2308
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCustomsService, providedIn: 'root' });
2307
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCustomsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2308
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCustomsService, providedIn: 'root' });
2309
2309
  }
2310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiCustomsService, decorators: [{
2310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiCustomsService, decorators: [{
2311
2311
  type: Injectable,
2312
2312
  args: [{
2313
2313
  providedIn: 'root'
@@ -2535,10 +2535,10 @@ class ApiDiscountsService {
2535
2535
  return this.http.put(`${this.url}/customer-restrictions/V2/${id}`, body)
2536
2536
  .pipe(map(({ data }) => data));
2537
2537
  }
2538
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiDiscountsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2539
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiDiscountsService, providedIn: 'root' });
2538
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiDiscountsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2539
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiDiscountsService, providedIn: 'root' });
2540
2540
  }
2541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiDiscountsService, decorators: [{
2541
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiDiscountsService, decorators: [{
2542
2542
  type: Injectable,
2543
2543
  args: [{
2544
2544
  providedIn: 'root'
@@ -2630,10 +2630,10 @@ class ApiEToolsAutoBillingService {
2630
2630
  return this.http.post(`${this.url}/external-shipments/${id}/re-billing`, body)
2631
2631
  .pipe(map(({ data }) => data));
2632
2632
  }
2633
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiEToolsAutoBillingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2634
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiEToolsAutoBillingService, providedIn: 'root' });
2633
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiEToolsAutoBillingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2634
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiEToolsAutoBillingService, providedIn: 'root' });
2635
2635
  }
2636
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiEToolsAutoBillingService, decorators: [{
2636
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiEToolsAutoBillingService, decorators: [{
2637
2637
  type: Injectable,
2638
2638
  args: [{
2639
2639
  providedIn: 'root'
@@ -2672,10 +2672,10 @@ class ApiEventsService {
2672
2672
  return this.http.put(`${this.url}/operation-modules/${id}/end`, body)
2673
2673
  .pipe(map(({ data }) => data));
2674
2674
  }
2675
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2676
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiEventsService, providedIn: 'root' });
2675
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2676
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiEventsService, providedIn: 'root' });
2677
2677
  }
2678
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiEventsService, decorators: [{
2678
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiEventsService, decorators: [{
2679
2679
  type: Injectable,
2680
2680
  args: [{
2681
2681
  providedIn: 'root'
@@ -2747,10 +2747,10 @@ class ApiExternalOperationsService {
2747
2747
  getAppKeyHeader() {
2748
2748
  return { ...(this.appKey && { AppKey: this.appKey }) };
2749
2749
  }
2750
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiExternalOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2751
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiExternalOperationsService, providedIn: 'root' });
2750
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiExternalOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2751
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiExternalOperationsService, providedIn: 'root' });
2752
2752
  }
2753
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiExternalOperationsService, decorators: [{
2753
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiExternalOperationsService, decorators: [{
2754
2754
  type: Injectable,
2755
2755
  args: [{
2756
2756
  providedIn: 'root'
@@ -2964,10 +2964,10 @@ class ApiInventoriesService {
2964
2964
  putReEntryOfMissingPackages(body) {
2965
2965
  return this.http.put(`${this.url}/re-entry-of-missing-packages`, body).pipe(map(({ data }) => data));
2966
2966
  }
2967
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2968
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
2967
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2968
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
2969
2969
  }
2970
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInventoriesService, decorators: [{
2970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiInventoriesService, decorators: [{
2971
2971
  type: Injectable,
2972
2972
  args: [{
2973
2973
  providedIn: 'root'
@@ -3415,10 +3415,10 @@ class ApiInvoicesService {
3415
3415
  return this.http.get(`${this.url}/country-document-types`, { params })
3416
3416
  .pipe(map(({ data }) => data));
3417
3417
  }
3418
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInvoicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3419
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInvoicesService, providedIn: 'root' });
3418
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiInvoicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3419
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiInvoicesService, providedIn: 'root' });
3420
3420
  }
3421
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiInvoicesService, decorators: [{
3421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiInvoicesService, decorators: [{
3422
3422
  type: Injectable,
3423
3423
  args: [{
3424
3424
  providedIn: 'root'
@@ -3508,10 +3508,10 @@ class ApiNotificationsService {
3508
3508
  return this.http.get(`${this.url}/notification-types`, { params })
3509
3509
  .pipe(map(({ data }) => data));
3510
3510
  }
3511
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiNotificationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3512
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiNotificationsService, providedIn: 'root' });
3511
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiNotificationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3512
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiNotificationsService, providedIn: 'root' });
3513
3513
  }
3514
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiNotificationsService, decorators: [{
3514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiNotificationsService, decorators: [{
3515
3515
  type: Injectable,
3516
3516
  args: [{
3517
3517
  providedIn: 'root'
@@ -3559,10 +3559,10 @@ class ApiOpenItemsService {
3559
3559
  return this.http.post(`${this.url}/other-invoices`, body)
3560
3560
  .pipe(map(({ data }) => data));
3561
3561
  }
3562
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiOpenItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3563
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiOpenItemsService, providedIn: 'root' });
3562
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiOpenItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3563
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiOpenItemsService, providedIn: 'root' });
3564
3564
  }
3565
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiOpenItemsService, decorators: [{
3565
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiOpenItemsService, decorators: [{
3566
3566
  type: Injectable,
3567
3567
  args: [{
3568
3568
  providedIn: 'root'
@@ -3629,10 +3629,10 @@ class ApiQuoteService {
3629
3629
  return this.http.get(`${this.url}/quote-event-types`, { params })
3630
3630
  .pipe(map(({ data }) => data));
3631
3631
  }
3632
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiQuoteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3633
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiQuoteService, providedIn: 'root' });
3632
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiQuoteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3633
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiQuoteService, providedIn: 'root' });
3634
3634
  }
3635
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiQuoteService, decorators: [{
3635
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiQuoteService, decorators: [{
3636
3636
  type: Injectable,
3637
3637
  args: [{
3638
3638
  providedIn: 'root'
@@ -3790,10 +3790,10 @@ class ApiReportsService {
3790
3790
  return this.http.get(`${this.url}/sales-book-report`, { params })
3791
3791
  .pipe(map(({ data }) => data));
3792
3792
  }
3793
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiReportsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3794
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiReportsService, providedIn: 'root' });
3793
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiReportsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3794
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiReportsService, providedIn: 'root' });
3795
3795
  }
3796
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiReportsService, decorators: [{
3796
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiReportsService, decorators: [{
3797
3797
  type: Injectable,
3798
3798
  args: [{
3799
3799
  providedIn: 'root'
@@ -4029,10 +4029,10 @@ class ApiSecurityService {
4029
4029
  }
4030
4030
  }).pipe(map(({ data }) => data));
4031
4031
  }
4032
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSecurityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4033
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSecurityService, providedIn: 'root' });
4032
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSecurityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4033
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSecurityService, providedIn: 'root' });
4034
4034
  }
4035
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSecurityService, decorators: [{
4035
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSecurityService, decorators: [{
4036
4036
  type: Injectable,
4037
4037
  args: [{
4038
4038
  providedIn: 'root'
@@ -4141,10 +4141,10 @@ class ApiServicesService {
4141
4141
  params: queryParams
4142
4142
  }).pipe(map(({ data }) => data));
4143
4143
  }
4144
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiServicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4145
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiServicesService, providedIn: 'root' });
4144
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiServicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4145
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiServicesService, providedIn: 'root' });
4146
4146
  }
4147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiServicesService, decorators: [{
4147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiServicesService, decorators: [{
4148
4148
  type: Injectable,
4149
4149
  args: [{
4150
4150
  providedIn: 'root'
@@ -4293,10 +4293,10 @@ class ApiShipmentsService {
4293
4293
  return this.http.put(`${this.url}/signature-page-settings/${id}`, body)
4294
4294
  .pipe(map(({ data }) => data));
4295
4295
  }
4296
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiShipmentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4297
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiShipmentsService, providedIn: 'root' });
4296
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiShipmentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4297
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiShipmentsService, providedIn: 'root' });
4298
4298
  }
4299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiShipmentsService, decorators: [{
4299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiShipmentsService, decorators: [{
4300
4300
  type: Injectable,
4301
4301
  args: [{
4302
4302
  providedIn: 'root'
@@ -4415,10 +4415,10 @@ class ApiSuppliesService {
4415
4415
  return this.http.get(`${this.url}/supply-locations/export/excel`, { params })
4416
4416
  .pipe(map(({ data }) => data));
4417
4417
  }
4418
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSuppliesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4419
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSuppliesService, providedIn: 'root' });
4418
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSuppliesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4419
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSuppliesService, providedIn: 'root' });
4420
4420
  }
4421
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSuppliesService, decorators: [{
4421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSuppliesService, decorators: [{
4422
4422
  type: Injectable,
4423
4423
  args: [{
4424
4424
  providedIn: 'root'
@@ -4522,10 +4522,10 @@ class ApiSurveysService {
4522
4522
  return this.http.get(`${this.url}/question-types`, { params })
4523
4523
  .pipe(map(({ data }) => data));
4524
4524
  }
4525
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSurveysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4526
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSurveysService, providedIn: 'root' });
4525
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSurveysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4526
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSurveysService, providedIn: 'root' });
4527
4527
  }
4528
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApiSurveysService, decorators: [{
4528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ApiSurveysService, decorators: [{
4529
4529
  type: Injectable,
4530
4530
  args: [{
4531
4531
  providedIn: 'root'
@@ -4667,10 +4667,10 @@ class WebSocketsService {
4667
4667
  const waitTime = 3 * 1000;
4668
4668
  return new Promise((resolve) => setTimeout(resolve, waitTime));
4669
4669
  }
4670
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WebSocketsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4671
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WebSocketsService, providedIn: 'root' });
4670
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: WebSocketsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4671
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: WebSocketsService, providedIn: 'root' });
4672
4672
  }
4673
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WebSocketsService, decorators: [{
4673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: WebSocketsService, decorators: [{
4674
4674
  type: Injectable,
4675
4675
  args: [{
4676
4676
  providedIn: 'root',
@@ -4756,10 +4756,10 @@ class CryptoService {
4756
4756
  }
4757
4757
  return bytes.buffer;
4758
4758
  }
4759
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CryptoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4760
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CryptoService, providedIn: 'root' });
4759
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CryptoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4760
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CryptoService, providedIn: 'root' });
4761
4761
  }
4762
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CryptoService, decorators: [{
4762
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CryptoService, decorators: [{
4763
4763
  type: Injectable,
4764
4764
  args: [{
4765
4765
  providedIn: 'root'