@experteam-mx/ngx-services 18.7.15 → 18.7.17

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 (42) hide show
  1. package/esm2022/lib/apis/api-billing-do.service.mjs +1 -1
  2. package/esm2022/lib/apis/api-billing-gt.service.mjs +61 -0
  3. package/esm2022/lib/apis/api-billing-mx.service.mjs +1 -1
  4. package/esm2022/lib/apis/api-billing-sv.service.mjs +83 -0
  5. package/esm2022/lib/apis/api-discounts.service.mjs +23 -2
  6. package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +2 -0
  7. package/esm2022/lib/apis/models/api-billing-do.types.mjs +2 -0
  8. package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +2 -0
  9. package/esm2022/lib/apis/models/api-billing-mx.types.mjs +2 -0
  10. package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +2 -0
  11. package/esm2022/lib/apis/models/api-billing-sv.types.mjs +2 -0
  12. package/esm2022/lib/apis/models/api-billing.models.mjs +2 -0
  13. package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +1 -1
  14. package/esm2022/lib/apis/models/api-discounts.types.mjs +1 -1
  15. package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +1 -1
  16. package/esm2022/lib/apis/models/api-invoices.types.mjs +1 -1
  17. package/esm2022/lib/ngx-services.models.mjs +1 -1
  18. package/esm2022/public-api.mjs +7 -2
  19. package/fesm2022/experteam-mx-ngx-services.mjs +80 -2
  20. package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
  21. package/lib/apis/api-billing-do.service.d.ts +1 -1
  22. package/lib/apis/api-billing-gt.service.d.ts +38 -0
  23. package/lib/apis/api-billing-mx.service.d.ts +1 -1
  24. package/lib/apis/api-billing-sv.service.d.ts +55 -0
  25. package/lib/apis/api-discounts.service.d.ts +16 -1
  26. package/lib/apis/models/api-billing-do.interfaces.d.ts +6 -0
  27. package/lib/apis/models/api-billing-do.types.d.ts +5 -0
  28. package/lib/apis/models/api-billing-mx.interfaces.d.ts +21 -0
  29. package/lib/apis/models/{api-billing.types.d.ts → api-billing-mx.types.d.ts} +1 -5
  30. package/lib/apis/models/api-billing-sv.interfaces.d.ts +22 -0
  31. package/lib/apis/models/api-billing-sv.types.d.ts +21 -0
  32. package/lib/apis/models/api-billing.models.d.ts +21 -0
  33. package/lib/apis/models/api-discounts.interfaces.d.ts +7 -3
  34. package/lib/apis/models/api-discounts.types.d.ts +8 -2
  35. package/lib/apis/models/api-invoices.interfaces.d.ts +15 -0
  36. package/lib/apis/models/api-invoices.types.d.ts +1 -2
  37. package/lib/ngx-services.models.d.ts +2 -1
  38. package/package.json +1 -1
  39. package/public-api.d.ts +6 -1
  40. package/esm2022/lib/apis/models/api-billing.interfaces.mjs +0 -2
  41. package/esm2022/lib/apis/models/api-billing.types.mjs +0 -2
  42. package/lib/apis/models/api-billing.interfaces.d.ts +0 -41
@@ -1,7 +1,7 @@
1
1
  import { Environment } from '../ngx-services.models';
2
2
  import { HttpClient } from '@angular/common/http';
3
3
  import { Observable } from 'rxjs';
4
- import { IncomeTypesOut } from './models/api-billing.types';
4
+ import { IncomeTypesOut } from './models/api-billing-do.types';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ApiBillingDOService {
7
7
  private environments;
@@ -0,0 +1,38 @@
1
+ import { Environment } from '../ngx-services.models';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { Observable } from 'rxjs';
4
+ import { ApiBillingConfigurable, BillingConfigIn, BillingConfigOut, BillingConfigsOut } from './models/api-billing.models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ApiBillingGtService implements ApiBillingConfigurable {
7
+ private environments;
8
+ private http;
9
+ constructor(environments: Environment, http: HttpClient);
10
+ /**
11
+ * Retrieves the URL for the billing GT API from the environment configurations.
12
+ *
13
+ * @return {string} The URL of the shipments API.
14
+ */
15
+ get url(): string;
16
+ /**
17
+ * RRetrieves the list of billing configurations to locations
18
+ *
19
+ * @return {Observable<BillingConfigsOut>} An observable that emits an array of billing configurations to locations
20
+ */
21
+ getConfigs(): Observable<BillingConfigsOut>;
22
+ /**
23
+ * Retrieves the details of a location in billing configurations
24
+ *
25
+ * @param {number} id - The id of the location to fetch.
26
+ * @return {Observable<BillingConfigOut>} An observable that emits the location billing configuration data.
27
+ */
28
+ getConfig(id: number): Observable<BillingConfigOut>;
29
+ /**
30
+ * Sends a POST request to create a new billing configuration location.
31
+ *
32
+ * @param {BillingConfigIn} body - The billing configuration to location data to be sent in the request body.
33
+ * @return {Observable<BillingConfigOut>} An observable emitting the created billing configuration to location data.
34
+ */
35
+ postConfigs(body: BillingConfigIn): Observable<BillingConfigOut>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingGtService, never>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingGtService>;
38
+ }
@@ -2,7 +2,7 @@ import { Environment } from '../ngx-services.models';
2
2
  import { HttpClient } from '@angular/common/http';
3
3
  import { Observable } from 'rxjs';
4
4
  import { QueryParams } from './models/api.models';
5
- import { FiscalRegimensAcceptedOut, FiscalRegimensOut, PostalCodesOut } from './models/api-billing.types';
5
+ import { FiscalRegimensAcceptedOut, FiscalRegimensOut, PostalCodesOut } from './models/api-billing-mx.types';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ApiBillingMxService {
8
8
  private environments;
@@ -0,0 +1,55 @@
1
+ import { Environment } from '../ngx-services.models';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { QueryParams } from './models/api.models';
4
+ import { Observable } from 'rxjs';
5
+ import { DepartmentsOut, EconomicActivitiesOut, EstablishmentTypesOut, MunicipalitiesOut, PersonTypesOut } from './models/api-billing-sv.types';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ApiBillingSvService {
8
+ private environments;
9
+ private http;
10
+ constructor(environments: Environment, http: HttpClient);
11
+ /**
12
+ * Retrieves the URL for the billing API.
13
+ * If the URL is not defined in the environments configuration, returns an empty string.
14
+ *
15
+ * @return {string} The billing API URL or an empty string if not set.
16
+ */
17
+ get url(): string;
18
+ /**
19
+ * Fetches the list of economic activities based on the provided query parameters.
20
+ *
21
+ * @param {QueryParams} params - The query parameters used to filter the economic activities.
22
+ * @return {Observable<EconomicActivitiesOut>} An observable that emits the list of economic activities.
23
+ */
24
+ getEconomicActivities(params: QueryParams): Observable<EconomicActivitiesOut>;
25
+ /**
26
+ * Retrieves the list of person types based on given query parameters.
27
+ *
28
+ * @param {QueryParams} params - The query parameters used to filter the person types.
29
+ * @return {Observable<PersonTypesOut>} An observable that emits a list of person types.
30
+ */
31
+ getPersonTypes(params: QueryParams): Observable<PersonTypesOut>;
32
+ /**
33
+ * Fetches the list of establishment types.
34
+ *
35
+ * @param {QueryParams} params The query parameters to be sent with the HTTP request.
36
+ * @return {Observable<EstablishmentTypesOut>} An observable that emits the establishment types data.
37
+ */
38
+ getEstablishmentTypes(params: QueryParams): Observable<EstablishmentTypesOut>;
39
+ /**
40
+ * Fetches the list of departments based on the provided query parameters.
41
+ *
42
+ * @param {QueryParams} params - The query parameters to filter or modify the departments fetch request.
43
+ * @return {Observable<DepartmentsOut>} An observable emitting the list of departments.
44
+ */
45
+ getDepartments(params: QueryParams): Observable<DepartmentsOut>;
46
+ /**
47
+ * Retrieves a list of municipalities based on the provided query parameters.
48
+ *
49
+ * @param {QueryParams} params - The query parameters used to filter the municipalities.
50
+ * @return {Observable<MunicipalitiesOut>} An observable that emits the retrieved municipalities data.
51
+ */
52
+ getMunicipalities(params: QueryParams): Observable<MunicipalitiesOut>;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingSvService, never>;
54
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingSvService>;
55
+ }
@@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Environment } from '../ngx-services.models';
3
3
  import { Observable } from 'rxjs';
4
4
  import { QueryParams } from './models/api.models';
5
- import { CustomerRestrictionIn, CustomerRestrictionOut, CustomerRestrictionsOut, DiscountIn, DiscountOut, DiscountsOut, LoyaltyPeriodIn, LoyaltyPeriodOut, LoyaltyPeriodsOut, LoyaltyRuleIn, LoyaltyRuleOut, LoyaltyRulesOut, OperationsLoadTopCustomerV2In, TopCustomersOut } from './models/api-discounts.types';
5
+ import { CustomerRestrictionIn, CustomerRestrictionInV2, CustomerRestrictionOut, CustomerRestrictionsOut, DiscountIn, DiscountOut, DiscountsOut, LoyaltyPeriodIn, LoyaltyPeriodOut, LoyaltyPeriodsOut, LoyaltyRuleIn, LoyaltyRuleOut, LoyaltyRulesOut, OperationsLoadTopCustomerV2In, TopCustomersOut } from './models/api-discounts.types';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ApiDiscountsService {
8
8
  private environments;
@@ -147,6 +147,21 @@ export declare class ApiDiscountsService {
147
147
  * @return {Observable<{}>} An Observable that emits the result of the deletion operation.
148
148
  */
149
149
  deleteCustomerRestriction(id: number): Observable<{}>;
150
+ /**
151
+ * Sends a request to apply a restriction to a customer (Version 2).
152
+ *
153
+ * @param {CustomerRestrictionInV2} body - The restriction details to be applied to the customer.
154
+ * @return {Observable<CustomerRestrictionOut>} An observable containing the response with the applied customer restriction.
155
+ */
156
+ postCustomerRestrictionV2(body: CustomerRestrictionInV2): Observable<CustomerRestrictionOut>;
157
+ /**
158
+ * Updates customer restrictions using the provided ID and data (Version 2).
159
+ *
160
+ * @param {number} id - The unique identifier of the customer restriction to be updated.
161
+ * @param {CustomerRestrictionInV2} body - The data object containing the customer restriction details to be updated.
162
+ * @return {Observable<CustomerRestrictionOut>} An observable emitting the updated customer restriction details.
163
+ */
164
+ putCustomerRestrictionV2(id: number, body: CustomerRestrictionInV2): Observable<CustomerRestrictionOut>;
150
165
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiDiscountsService, never>;
151
166
  static ɵprov: i0.ɵɵInjectableDeclaration<ApiDiscountsService>;
152
167
  }
@@ -0,0 +1,6 @@
1
+ import { LaravelModel } from './api.models';
2
+ export interface IncomeType extends LaravelModel {
3
+ code: string;
4
+ name: string;
5
+ billing_code: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ import { IncomeType } from './api-billing-do.interfaces';
2
+ export type IncomeTypesOut = {
3
+ income_types: IncomeType[];
4
+ total: number;
5
+ };
@@ -0,0 +1,21 @@
1
+ import { LaravelModel } from './api.models';
2
+ export interface CFDI extends LaravelModel {
3
+ code: string;
4
+ description: string;
5
+ fiscal_regimen_receptor: string;
6
+ moral_person: string;
7
+ physical_person: string;
8
+ }
9
+ export interface FiscalRegimen extends LaravelModel {
10
+ code: string;
11
+ description: string;
12
+ moral_person: string;
13
+ physical_person: string;
14
+ }
15
+ export interface PostalCodeBillings extends LaravelModel {
16
+ city: string;
17
+ municipality: string;
18
+ state: string;
19
+ suburb: string;
20
+ postal_code_number: string;
21
+ }
@@ -1,12 +1,8 @@
1
- import { CFDI, FiscalRegimen, IncomeType, PostalCodeBillings } from './api-billing.interfaces';
1
+ import { CFDI, FiscalRegimen, PostalCodeBillings } from './api-billing-mx.interfaces';
2
2
  export type FiscalRegimensAcceptedOut = {
3
3
  total: number;
4
4
  cfdi_use: CFDI[];
5
5
  };
6
- export type IncomeTypesOut = {
7
- income_types: IncomeType[];
8
- total: number;
9
- };
10
6
  export type FiscalRegimensOut = {
11
7
  total: number;
12
8
  fiscal_regimen: FiscalRegimen[];
@@ -0,0 +1,22 @@
1
+ import { LaravelModel } from './api.models';
2
+ export interface PersonType extends LaravelModel {
3
+ code: string;
4
+ name: string;
5
+ }
6
+ export interface EconomicActivity extends LaravelModel {
7
+ code: string;
8
+ name: string;
9
+ }
10
+ export interface EstablishmentType extends LaravelModel {
11
+ code: string;
12
+ name: string;
13
+ }
14
+ export interface Department extends LaravelModel {
15
+ code: string;
16
+ name: string;
17
+ }
18
+ export interface Municipality extends LaravelModel {
19
+ code: string;
20
+ name: string;
21
+ department_code: string;
22
+ }
@@ -0,0 +1,21 @@
1
+ import { Department, EconomicActivity, EstablishmentType, Municipality, PersonType } from './api-billing-sv.interfaces';
2
+ export type EconomicActivitiesOut = {
3
+ economic_activities: EconomicActivity[];
4
+ total: number;
5
+ };
6
+ export type PersonTypesOut = {
7
+ person_types: PersonType[];
8
+ total: number;
9
+ };
10
+ export type EstablishmentTypesOut = {
11
+ establishment_types: EstablishmentType[];
12
+ total: number;
13
+ };
14
+ export type DepartmentsOut = {
15
+ departments: Department[];
16
+ total: number;
17
+ };
18
+ export type MunicipalitiesOut = {
19
+ municipalities: Municipality[];
20
+ total: number;
21
+ };
@@ -0,0 +1,21 @@
1
+ import { Observable } from 'rxjs';
2
+ export interface ApiBillingConfigurable {
3
+ getConfigs(): Observable<BillingConfigsOut>;
4
+ getConfig(id: number): Observable<BillingConfigOut>;
5
+ postConfigs(body: BillingConfigIn): Observable<BillingConfigOut>;
6
+ }
7
+ export type BillingConfig = {
8
+ label: string;
9
+ field: string;
10
+ is_required: boolean;
11
+ };
12
+ export type BillingConfigsOut = {
13
+ configurations: BillingConfig[];
14
+ total: number;
15
+ };
16
+ export type BillingConfigIn = {
17
+ [key: string]: string | number;
18
+ };
19
+ export type BillingConfigOut = {
20
+ [key: string]: [key: string | number][];
21
+ };
@@ -67,8 +67,12 @@ export interface LoyaltyRule extends LaravelModel {
67
67
  valid_until: string;
68
68
  }
69
69
  export interface CustomerRestriction extends ActiveLessLaravelModel {
70
- identification_type_id: number;
71
- identification_number: string;
70
+ identification_type_id?: number;
71
+ identification_number?: string;
72
72
  company_country_id: number;
73
- identificationType: IdentificationType;
73
+ identificationType?: IdentificationType;
74
+ email?: string;
75
+ phone_number?: string;
76
+ phone_code?: string;
77
+ phone_country_code?: string;
74
78
  }
@@ -74,10 +74,16 @@ export type CustomerRestrictionsOut = {
74
74
  total: number;
75
75
  };
76
76
  export type CustomerRestrictionIn = {
77
- identification_type_id: number;
78
- identification_number: string;
77
+ identification_type_id?: number;
78
+ identification_number?: string;
79
79
  company_country_id: number;
80
80
  };
81
+ export type CustomerRestrictionInV2 = CustomerRestrictionIn & {
82
+ email?: string;
83
+ phone_number?: string;
84
+ phone_code?: string;
85
+ phone_country_code?: string;
86
+ };
81
87
  export type CustomerRestrictionOut = {
82
88
  customer_restriction: CustomerRestriction;
83
89
  };
@@ -1,5 +1,6 @@
1
1
  import { LaravelModel, Translations } from './api.models';
2
2
  import { Currency, IdentificationType } from './api-catalog.interfaces';
3
+ import { DocumentCategory } from './api-reports.interfaces';
3
4
  export interface Document extends LaravelModel {
4
5
  document_type_range_id: number;
5
6
  document_number: number;
@@ -215,3 +216,17 @@ export interface Tolerance extends LaravelModel {
215
216
  max_amount: number;
216
217
  tolerance: number;
217
218
  }
219
+ export interface CustomerCountryDocumentType extends LaravelModel {
220
+ identification_type_customer_type_id: number;
221
+ country_document_type_id: number;
222
+ country_document_type: CountryDocumentType;
223
+ }
224
+ export interface CountryDocumentType extends LaravelModel {
225
+ document_type_id: number;
226
+ document_category_id: number;
227
+ country_id: number;
228
+ associated_payment: boolean;
229
+ name: string;
230
+ document_type: DocumentType;
231
+ document_category: DocumentCategory;
232
+ }
@@ -1,5 +1,4 @@
1
- import { CountryPaymentType, CountryPaymentTypeField, Customer, CustomerType, Document, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldCardType, Tolerance } from './api-invoices.interfaces';
2
- import { CustomerCountryDocumentType } from './api-billing.interfaces';
1
+ import { CountryPaymentType, CountryPaymentTypeField, Customer, CustomerCountryDocumentType, CustomerType, Document, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldCardType, Tolerance } from './api-invoices.interfaces';
3
2
  export interface OperationAccountPaymentIn {
4
3
  document_type_range_id: number | null;
5
4
  document_number: string | null;
@@ -16,13 +16,14 @@ import { InjectionToken } from '@angular/core';
16
16
  */
17
17
  export type Environment = {
18
18
  apiBillingDO?: string;
19
+ apiBillingGT?: string;
19
20
  apiBillingMX?: string;
20
21
  apiBillingPA?: string;
21
22
  apiCashOperationsUrl?: string;
22
23
  apiCatalogsUrl?: string;
23
24
  apiCompaniesUrl?: string;
24
25
  apiCompositionUrl?: string;
25
- apiDiscounts?: string;
26
+ apiDiscountsUrl?: string;
26
27
  apiEToolsAutoBilling?: string;
27
28
  apiExternalOperationsKey?: string;
28
29
  apiExternalOperationsUrl?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experteam-mx/ngx-services",
3
- "version": "18.7.15",
3
+ "version": "18.7.17",
4
4
  "description": "Angular common services for Experteam apps",
5
5
  "author": "Experteam Cía. Ltda.",
6
6
  "keywords": [
package/public-api.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './lib/ngx-services.models';
2
2
  export * from './lib/ngx-services.module';
3
3
  export * from './lib/apis/api-billing-do.service';
4
+ export * from './lib/apis/api-billing-gt.service';
4
5
  export * from './lib/apis/api-billing-mx.service';
5
6
  export * from './lib/apis/api-billing-pa.service';
6
7
  export * from './lib/apis/api-cash-operations.service';
@@ -19,9 +20,13 @@ export * from './lib/apis/api-security.service';
19
20
  export * from './lib/apis/api-services.service';
20
21
  export * from './lib/apis/api-shipments.service';
21
22
  export * from './lib/apis/api-supplies.service';
23
+ export * from './lib/apis/models/api-billing.models';
24
+ export * from './lib/apis/models/api-billing-do.interfaces';
25
+ export * from './lib/apis/models/api-billing-do.types';
26
+ export * from './lib/apis/models/api-billing-mx.interfaces';
27
+ export * from './lib/apis/models/api-billing-mx.types';
22
28
  export * from './lib/apis/models/api-billing-pa.interfaces';
23
29
  export * from './lib/apis/models/api-billing-pa.types';
24
- export * from './lib/apis/models/api-billing.types';
25
30
  export * from './lib/apis/models/api-cash-operations.interfaces';
26
31
  export * from './lib/apis/models/api-cash-operations.types';
27
32
  export * from './lib/apis/models/api-catalog.interfaces';
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLWJpbGxpbmcuaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4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cudHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENGREksIEZpc2NhbFJlZ2ltZW4sIEluY29tZVR5cGUsIFBvc3RhbENvZGVCaWxsaW5ncyB9IGZyb20gJy4vYXBpLWJpbGxpbmcuaW50ZXJmYWNlcydcclxuXHJcbmV4cG9ydCB0eXBlIEZpc2NhbFJlZ2ltZW5zQWNjZXB0ZWRPdXQgPSB7XHJcbiAgdG90YWw6IG51bWJlclxyXG4gIGNmZGlfdXNlOiBDRkRJW11cclxufVxyXG5cclxuZXhwb3J0IHR5cGUgSW5jb21lVHlwZXNPdXQgPSB7XHJcbiAgaW5jb21lX3R5cGVzOiBJbmNvbWVUeXBlW11cclxuICB0b3RhbDogbnVtYmVyXHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIEZpc2NhbFJlZ2ltZW5zT3V0ID0ge1xyXG4gIHRvdGFsOiBudW1iZXJcclxuICBmaXNjYWxfcmVnaW1lbjogRmlzY2FsUmVnaW1lbltdXHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIFBvc3RhbENvZGVzT3V0ID0ge1xyXG4gIHBvc3RhbF9jb2RlOiBQb3N0YWxDb2RlQmlsbGluZ3NbXVxyXG4gIHRvdGFsOiBudW1iZXJcclxufVxyXG4iXX0=
@@ -1,41 +0,0 @@
1
- import { LaravelModel } from './api.models';
2
- import { DocumentCategory } from './api-reports.interfaces';
3
- export interface CFDI extends LaravelModel {
4
- code: string;
5
- description: string;
6
- fiscal_regimen_receptor: string;
7
- moral_person: string;
8
- physical_person: string;
9
- }
10
- export interface IncomeType extends LaravelModel {
11
- code: string;
12
- name: string;
13
- billing_code: string;
14
- }
15
- export interface FiscalRegimen extends LaravelModel {
16
- code: string;
17
- description: string;
18
- moral_person: string;
19
- physical_person: string;
20
- }
21
- export interface PostalCodeBillings extends LaravelModel {
22
- city: string;
23
- municipality: string;
24
- state: string;
25
- suburb: string;
26
- postal_code_number: string;
27
- }
28
- export interface CustomerCountryDocumentType extends LaravelModel {
29
- identification_type_customer_type_id: number;
30
- country_document_type_id: number;
31
- country_document_type: CountryDocumentType;
32
- }
33
- export interface CountryDocumentType extends LaravelModel {
34
- document_type_id: number;
35
- document_category_id: number;
36
- country_id: number;
37
- associated_payment: boolean;
38
- name: string;
39
- document_type: DocumentType;
40
- document_category: DocumentCategory;
41
- }