@openbox/shared-types 0.5.5 → 0.5.7

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 (41) hide show
  1. package/lib/accounting/Entries/accounting.entries.types.d.ts +2 -1
  2. package/lib/index.d.ts +0 -1
  3. package/lib/index.js +0 -1
  4. package/lib/index.js.map +1 -1
  5. package/lib/system/Logs/CreateSingle/Request.d.ts +0 -1
  6. package/package.json +1 -1
  7. package/src/System/Logs/CreateSingle/Request.ts +0 -1
  8. package/src/accounting/Entries/accounting.entries.types.ts +2 -1
  9. package/src/index.ts +0 -1
  10. package/lib/partners/V1/auth/ProcessLogin/Request.d.ts +0 -4
  11. package/lib/partners/V1/auth/ProcessLogin/Request.js +0 -3
  12. package/lib/partners/V1/auth/ProcessLogin/Request.js.map +0 -1
  13. package/lib/partners/V1/auth/ProcessLogin/Response.d.ts +0 -6
  14. package/lib/partners/V1/auth/ProcessLogin/Response.js +0 -3
  15. package/lib/partners/V1/auth/ProcessLogin/Response.js.map +0 -1
  16. package/lib/partners/V1/auth/index.d.ts +0 -2
  17. package/lib/partners/V1/auth/index.js +0 -19
  18. package/lib/partners/V1/auth/index.js.map +0 -1
  19. package/lib/partners/V1/index.d.ts +0 -2
  20. package/lib/partners/V1/index.js +0 -19
  21. package/lib/partners/V1/index.js.map +0 -1
  22. package/lib/partners/V1/invoices/CreateSingle/Request.d.ts +0 -101
  23. package/lib/partners/V1/invoices/CreateSingle/Request.js +0 -44
  24. package/lib/partners/V1/invoices/CreateSingle/Request.js.map +0 -1
  25. package/lib/partners/V1/invoices/CreateSingle/Response.d.ts +0 -22
  26. package/lib/partners/V1/invoices/CreateSingle/Response.js +0 -11
  27. package/lib/partners/V1/invoices/CreateSingle/Response.js.map +0 -1
  28. package/lib/partners/V1/invoices/index.d.ts +0 -2
  29. package/lib/partners/V1/invoices/index.js +0 -19
  30. package/lib/partners/V1/invoices/index.js.map +0 -1
  31. package/lib/partners/index.d.ts +0 -1
  32. package/lib/partners/index.js +0 -18
  33. package/lib/partners/index.js.map +0 -1
  34. package/src/partners/V1/auth/ProcessLogin/Request.ts +0 -4
  35. package/src/partners/V1/auth/ProcessLogin/Response.ts +0 -7
  36. package/src/partners/V1/auth/index.ts +0 -2
  37. package/src/partners/V1/index.ts +0 -2
  38. package/src/partners/V1/invoices/CreateSingle/Request.ts +0 -117
  39. package/src/partners/V1/invoices/CreateSingle/Response.ts +0 -24
  40. package/src/partners/V1/invoices/index.ts +0 -2
  41. package/src/partners/index.ts +0 -1
@@ -3,12 +3,13 @@ import { AccountingEntriesStatuses } from '../EntriesStatuses';
3
3
  import { AccountingEntriesTypes } from '../EntriesTypes';
4
4
  export type AccountingEntries = {
5
5
  id: string;
6
- serie: string;
6
+ serie: number;
7
7
  title: string;
8
8
  date: string;
9
9
  cargo: number;
10
10
  abono: number;
11
11
  origin: string;
12
+ copyFrom?: string;
12
13
  type: AccountingEntriesTypes;
13
14
  status: AccountingEntriesStatuses;
14
15
  details?: AccountingEntriesDetails[];
package/lib/index.d.ts CHANGED
@@ -5,6 +5,5 @@ export * from './inventories';
5
5
  export * from './invoices';
6
6
  export * from './legal';
7
7
  export * from './management';
8
- export * from './partners';
9
8
  export * from './services';
10
9
  export * from './system';
package/lib/index.js CHANGED
@@ -21,7 +21,6 @@ __exportStar(require("./inventories"), exports);
21
21
  __exportStar(require("./invoices"), exports);
22
22
  __exportStar(require("./legal"), exports);
23
23
  __exportStar(require("./management"), exports);
24
- __exportStar(require("./partners"), exports);
25
24
  __exportStar(require("./services"), exports);
26
25
  __exportStar(require("./system"), exports);
27
26
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,gDAA6B;AAC7B,6CAA0B;AAC1B,0CAAuB;AACvB,+CAA4B;AAC5B,6CAA0B;AAC1B,6CAA0B;AAC1B,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,gDAA6B;AAC7B,6CAA0B;AAC1B,0CAAuB;AACvB,+CAA4B;AAC5B,6CAA0B;AAC1B,2CAAwB"}
@@ -1,7 +1,6 @@
1
1
  import { SystemLogs } from '../system.logs.types';
2
2
  export type SystemLogsCreateSingleRequest = Omit<SystemLogs, 'id' | 'user' | 'module' | 'company' | 'companyBranch'> & {
3
3
  user: string;
4
- key: string;
5
4
  module: string;
6
5
  company: string;
7
6
  companyBranch: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.05",
3
+ "version": "0.5.7",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -5,7 +5,6 @@ export type SystemLogsCreateSingleRequest = Omit<
5
5
  'id' | 'user' | 'module' | 'company' | 'companyBranch'
6
6
  > & {
7
7
  user: string
8
- key: string
9
8
  module: string
10
9
  company: string
11
10
  companyBranch: string
@@ -4,12 +4,13 @@ import { AccountingEntriesTypes } from '../EntriesTypes'
4
4
 
5
5
  export type AccountingEntries = {
6
6
  id: string
7
- serie: string
7
+ serie: number
8
8
  title: string
9
9
  date: string
10
10
  cargo: number
11
11
  abono: number
12
12
  origin: string
13
+ copyFrom?: string
13
14
  type: AccountingEntriesTypes
14
15
  status: AccountingEntriesStatuses
15
16
  details?: AccountingEntriesDetails[]
package/src/index.ts CHANGED
@@ -5,6 +5,5 @@ export * from './inventories'
5
5
  export * from './invoices'
6
6
  export * from './legal'
7
7
  export * from './management'
8
- export * from './partners'
9
8
  export * from './services'
10
9
  export * from './system'
@@ -1,4 +0,0 @@
1
- export type PartnersV1AuthProcessLoginRequest = {
2
- key: string;
3
- secret: string;
4
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../../src/partners/V1/auth/ProcessLogin/Request.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export type PartnersV1AuthProcessLoginResponseData = {
2
- access_token: string;
3
- };
4
- export type PartnersV1AuthProcessLoginResponse = {
5
- data: PartnersV1AuthProcessLoginResponseData;
6
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../../src/partners/V1/auth/ProcessLogin/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from './ProcessLogin/Request';
2
- export * from './ProcessLogin/Response';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ProcessLogin/Request"), exports);
18
- __exportStar(require("./ProcessLogin/Response"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC"}
@@ -1,2 +0,0 @@
1
- export * from './auth';
2
- export * from './invoices';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./auth"), exports);
18
- __exportStar(require("./invoices"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/partners/V1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,6CAA0B"}
@@ -1,101 +0,0 @@
1
- export declare enum PartnersV1InvoicesCreateSingleRequestSettingsNotify {
2
- EMAIL = "EMAIL"
3
- }
4
- export type PartnersV1InvoicesCreateSingleRequestSettings = {
5
- notify: PartnersV1InvoicesCreateSingleRequestSettingsNotify | null;
6
- };
7
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone = {
8
- id: string;
9
- name: string;
10
- };
11
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller = {
12
- id: string;
13
- name: string;
14
- zone: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone;
15
- };
16
- export declare enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType {
17
- NO_SUJETO = "1",
18
- EXENTO = "2",
19
- GRAVADO = "3"
20
- }
21
- export declare enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType {
22
- PERSONA_JURIDICA = "1",
23
- PERSONA_NATURAL = "2",
24
- PERSONA_EXTRANJERA = "3"
25
- }
26
- export declare enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural {
27
- NO_DECLARA_IVA = "1",
28
- DECLARA_IVA = "2"
29
- }
30
- export declare enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType {
31
- PEQUENO = 1,
32
- MEDIANO = 2,
33
- GRANDE = 3
34
- }
35
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFields = {
36
- nrc: string | null;
37
- nit: string | null;
38
- dui: string | null;
39
- taxerType: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType | null;
40
- economicActivity: string | null;
41
- };
42
- export declare enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType {
43
- PHONE = "phone",
44
- EMAIL = "email",
45
- CELLPHONE = "cellphone"
46
- }
47
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory = {
48
- type: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType;
49
- value: string;
50
- };
51
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerBranch = {
52
- address1: string;
53
- address2: string | null;
54
- country: number;
55
- state: number;
56
- city: number;
57
- directory: Array<PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory> | null;
58
- };
59
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomer = {
60
- id: string;
61
- name: string | null;
62
- name1: string | null;
63
- name2: string | null;
64
- name3: string | null;
65
- lastname1: string | null;
66
- lastname2: string | null;
67
- lastname3: string | null;
68
- shortName: string | null;
69
- type: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType;
70
- personType: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType;
71
- personTypeNatural: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural | null;
72
- branch: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerBranch;
73
- directory: Array<PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory> | null;
74
- svFields: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFields | null;
75
- };
76
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition = {
77
- id: string;
78
- name: string;
79
- cashPayment: boolean;
80
- };
81
- export declare enum PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType {
82
- CCF = "CCF",
83
- FCF = "FCF",
84
- NC = "NC",
85
- FEX = "FEX"
86
- }
87
- export type PartnersV1InvoicesCreateSingleRequestDataHeader = {
88
- documentType: PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType;
89
- invoiceDate: string;
90
- customer: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomer;
91
- paymentCondition: PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition;
92
- invoicesSeller: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller;
93
- creditFor: string;
94
- };
95
- export type PartnersV1InvoicesCreateSingleRequestData = {
96
- header: PartnersV1InvoicesCreateSingleRequestDataHeader;
97
- };
98
- export type PartnersV1InvoicesCreateSingleRequest = {
99
- settings: PartnersV1InvoicesCreateSingleRequestSettings;
100
- data: PartnersV1InvoicesCreateSingleRequestData;
101
- };
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType = exports.PartnersV1InvoicesCreateSingleRequestSettingsNotify = void 0;
4
- var PartnersV1InvoicesCreateSingleRequestSettingsNotify;
5
- (function (PartnersV1InvoicesCreateSingleRequestSettingsNotify) {
6
- PartnersV1InvoicesCreateSingleRequestSettingsNotify["EMAIL"] = "EMAIL";
7
- })(PartnersV1InvoicesCreateSingleRequestSettingsNotify = exports.PartnersV1InvoicesCreateSingleRequestSettingsNotify || (exports.PartnersV1InvoicesCreateSingleRequestSettingsNotify = {}));
8
- var PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType;
9
- (function (PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType) {
10
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType["NO_SUJETO"] = "1";
11
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType["EXENTO"] = "2";
12
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType["GRAVADO"] = "3";
13
- })(PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType || (exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType = {}));
14
- var PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType;
15
- (function (PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType) {
16
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType["PERSONA_JURIDICA"] = "1";
17
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType["PERSONA_NATURAL"] = "2";
18
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType["PERSONA_EXTRANJERA"] = "3";
19
- })(PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType || (exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType = {}));
20
- var PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural;
21
- (function (PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural) {
22
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural["NO_DECLARA_IVA"] = "1";
23
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural["DECLARA_IVA"] = "2";
24
- })(PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural || (exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural = {}));
25
- var PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType;
26
- (function (PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType) {
27
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType[PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType["PEQUENO"] = 1] = "PEQUENO";
28
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType[PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType["MEDIANO"] = 2] = "MEDIANO";
29
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType[PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType["GRANDE"] = 3] = "GRANDE";
30
- })(PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType || (exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType = {}));
31
- var PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType;
32
- (function (PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType) {
33
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType["PHONE"] = "phone";
34
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType["EMAIL"] = "email";
35
- PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType["CELLPHONE"] = "cellphone";
36
- })(PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType || (exports.PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType = {}));
37
- var PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType;
38
- (function (PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType) {
39
- PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType["CCF"] = "CCF";
40
- PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType["FCF"] = "FCF";
41
- PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType["NC"] = "NC";
42
- PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType["FEX"] = "FEX";
43
- })(PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType = exports.PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType || (exports.PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType = {}));
44
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../../src/partners/V1/invoices/CreateSingle/Request.ts"],"names":[],"mappings":";;;AAAA,IAAY,mDAEX;AAFD,WAAY,mDAAmD;IAC7D,sEAAe,CAAA;AACjB,CAAC,EAFW,mDAAmD,GAAnD,2DAAmD,KAAnD,2DAAmD,QAE9D;AAiBD,IAAY,2DAIX;AAJD,WAAY,2DAA2D;IACrE,8EAAe,CAAA;IACf,2EAAY,CAAA;IACZ,4EAAa,CAAA;AACf,CAAC,EAJW,2DAA2D,GAA3D,mEAA2D,KAA3D,mEAA2D,QAItE;AAED,IAAY,iEAIX;AAJD,WAAY,iEAAiE;IAC3E,2FAAsB,CAAA;IACtB,0FAAqB,CAAA;IACrB,6FAAwB,CAAA;AAC1B,CAAC,EAJW,iEAAiE,GAAjE,yEAAiE,KAAjE,yEAAiE,QAI5E;AACD,IAAY,wEAGX;AAHD,WAAY,wEAAwE;IAClF,gGAAoB,CAAA;IACpB,6FAAiB,CAAA;AACnB,CAAC,EAHW,wEAAwE,GAAxE,gFAAwE,KAAxE,gFAAwE,QAGnF;AAED,IAAY,wEAIX;AAJD,WAAY,wEAAwE;IAClF,6KAAW,CAAA;IACX,6KAAW,CAAA;IACX,2KAAU,CAAA;AACZ,CAAC,EAJW,wEAAwE,GAAxE,gFAAwE,KAAxE,gFAAwE,QAInF;AAUD,IAAY,oEAIX;AAJD,WAAY,oEAAoE;IAC9E,uFAAe,CAAA;IACf,uFAAe,CAAA;IACf,+FAAuB,CAAA;AACzB,CAAC,EAJW,oEAAoE,GAApE,4EAAoE,KAApE,4EAAoE,QAI/E;AAwCD,IAAY,2DAKX;AALD,WAAY,2DAA2D;IACrE,0EAAW,CAAA;IACX,0EAAW,CAAA;IACX,wEAAS,CAAA;IACT,0EAAW,CAAA;AACb,CAAC,EALW,2DAA2D,GAA3D,mEAA2D,KAA3D,mEAA2D,QAKtE"}
@@ -1,22 +0,0 @@
1
- export declare enum PartnersV1InvoicesCreateSingleResponseStatus {
2
- EMITIDA = "EMITIDA",
3
- PRESENTADA = "PRESENTADA",
4
- ANULADA = "ANULADA",
5
- CONTINGENCIA = "CONTINGENCIA"
6
- }
7
- export type PartnersV1InvoicesCreateSingleResponseHaciendaResponse = {
8
- estado: string;
9
- ambiente: '01' | '00';
10
- observaciones: Array<string>;
11
- selloRecibido: string;
12
- descripcionMsg: string;
13
- fhProcesamiento: string;
14
- codigoGeneracion: string;
15
- };
16
- export type PartnersV1InvoicesCreateSingleResponse = {
17
- id: string;
18
- pdfURL: string;
19
- jsonURL: string;
20
- status: PartnersV1InvoicesCreateSingleResponseStatus;
21
- haciendaResponse: PartnersV1InvoicesCreateSingleResponseHaciendaResponse;
22
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PartnersV1InvoicesCreateSingleResponseStatus = void 0;
4
- var PartnersV1InvoicesCreateSingleResponseStatus;
5
- (function (PartnersV1InvoicesCreateSingleResponseStatus) {
6
- PartnersV1InvoicesCreateSingleResponseStatus["EMITIDA"] = "EMITIDA";
7
- PartnersV1InvoicesCreateSingleResponseStatus["PRESENTADA"] = "PRESENTADA";
8
- PartnersV1InvoicesCreateSingleResponseStatus["ANULADA"] = "ANULADA";
9
- PartnersV1InvoicesCreateSingleResponseStatus["CONTINGENCIA"] = "CONTINGENCIA";
10
- })(PartnersV1InvoicesCreateSingleResponseStatus = exports.PartnersV1InvoicesCreateSingleResponseStatus || (exports.PartnersV1InvoicesCreateSingleResponseStatus = {}));
11
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../../src/partners/V1/invoices/CreateSingle/Response.ts"],"names":[],"mappings":";;;AAAA,IAAY,4CAKX;AALD,WAAY,4CAA4C;IACtD,mEAAmB,CAAA;IACnB,yEAAyB,CAAA;IACzB,mEAAmB,CAAA;IACnB,6EAA6B,CAAA;AAC/B,CAAC,EALW,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QAKvD"}
@@ -1,2 +0,0 @@
1
- export * from './CreateSingle/Request';
2
- export * from './CreateSingle/Response';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./CreateSingle/Request"), exports);
18
- __exportStar(require("./CreateSingle/Response"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC"}
@@ -1 +0,0 @@
1
- export * from './V1';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./V1"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/partners/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAoB"}
@@ -1,4 +0,0 @@
1
- export type PartnersV1AuthProcessLoginRequest = {
2
- key: string
3
- secret: string
4
- }
@@ -1,7 +0,0 @@
1
- export type PartnersV1AuthProcessLoginResponseData = {
2
- access_token: string
3
- }
4
-
5
- export type PartnersV1AuthProcessLoginResponse = {
6
- data: PartnersV1AuthProcessLoginResponseData
7
- }
@@ -1,2 +0,0 @@
1
- export * from './ProcessLogin/Request'
2
- export * from './ProcessLogin/Response'
@@ -1,2 +0,0 @@
1
- export * from './auth'
2
- export * from './invoices'
@@ -1,117 +0,0 @@
1
- export enum PartnersV1InvoicesCreateSingleRequestSettingsNotify {
2
- EMAIL = 'EMAIL',
3
- }
4
-
5
- export type PartnersV1InvoicesCreateSingleRequestSettings = {
6
- notify: PartnersV1InvoicesCreateSingleRequestSettingsNotify | null
7
- }
8
-
9
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone = {
10
- id: string
11
- name: string
12
- }
13
-
14
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller = {
15
- id: string
16
- name: string
17
- zone: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSellerZone
18
- }
19
-
20
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType {
21
- NO_SUJETO = '1',
22
- EXENTO = '2',
23
- GRAVADO = '3',
24
- }
25
-
26
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType {
27
- PERSONA_JURIDICA = '1',
28
- PERSONA_NATURAL = '2',
29
- PERSONA_EXTRANJERA = '3',
30
- }
31
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural {
32
- NO_DECLARA_IVA = '1',
33
- DECLARA_IVA = '2',
34
- }
35
-
36
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType {
37
- PEQUENO = 1,
38
- MEDIANO = 2,
39
- GRANDE = 3,
40
- }
41
-
42
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFields = {
43
- nrc: string | null
44
- nit: string | null
45
- dui: string | null
46
- taxerType: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFieldsTaxerType | null
47
- economicActivity: string | null
48
- }
49
-
50
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType {
51
- PHONE = 'phone',
52
- EMAIL = 'email',
53
- CELLPHONE = 'cellphone',
54
- }
55
-
56
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory = {
57
- type: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectoryType
58
- value: string
59
- }
60
-
61
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerBranch = {
62
- address1: string
63
- address2: string | null
64
- country: number
65
- state: number
66
- city: number
67
- directory: Array<PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory> | null
68
- }
69
-
70
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderCustomer = {
71
- id: string
72
- name: string | null
73
- name1: string | null
74
- name2: string | null
75
- name3: string | null
76
- lastname1: string | null
77
- lastname2: string | null
78
- lastname3: string | null
79
- shortName: string | null
80
- type: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType
81
- personType: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonType
82
- personTypeNatural: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerPersonTypeNatural | null
83
- branch: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerBranch
84
- directory: Array<PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerDirectory> | null
85
- svFields: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerSvFields | null
86
- }
87
-
88
- export type PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition = {
89
- id: string
90
- name: string
91
- cashPayment: boolean
92
- }
93
-
94
- export enum PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType {
95
- CCF = 'CCF',
96
- FCF = 'FCF',
97
- NC = 'NC',
98
- FEX = 'FEX',
99
- }
100
-
101
- export type PartnersV1InvoicesCreateSingleRequestDataHeader = {
102
- documentType: PartnersV1InvoicesCreateSingleRequestDataHeaderDocumentType
103
- invoiceDate: string
104
- customer: PartnersV1InvoicesCreateSingleRequestDataHeaderCustomer
105
- paymentCondition: PartnersV1InvoicesCreateSingleRequestDataHeaderPaymentCondition
106
- invoicesSeller: PartnersV1InvoicesCreateSingleRequestDataHeaderInvoicesSeller
107
- creditFor: string
108
- }
109
-
110
- export type PartnersV1InvoicesCreateSingleRequestData = {
111
- header: PartnersV1InvoicesCreateSingleRequestDataHeader
112
- }
113
-
114
- export type PartnersV1InvoicesCreateSingleRequest = {
115
- settings: PartnersV1InvoicesCreateSingleRequestSettings
116
- data: PartnersV1InvoicesCreateSingleRequestData
117
- }
@@ -1,24 +0,0 @@
1
- export enum PartnersV1InvoicesCreateSingleResponseStatus {
2
- EMITIDA = 'EMITIDA',
3
- PRESENTADA = 'PRESENTADA',
4
- ANULADA = 'ANULADA',
5
- CONTINGENCIA = 'CONTINGENCIA',
6
- }
7
-
8
- export type PartnersV1InvoicesCreateSingleResponseHaciendaResponse = {
9
- estado: string
10
- ambiente: '01' | '00'
11
- observaciones: Array<string>
12
- selloRecibido: string
13
- descripcionMsg: string
14
- fhProcesamiento: string
15
- codigoGeneracion: string
16
- }
17
-
18
- export type PartnersV1InvoicesCreateSingleResponse = {
19
- id: string
20
- pdfURL: string
21
- jsonURL: string
22
- status: PartnersV1InvoicesCreateSingleResponseStatus
23
- haciendaResponse: PartnersV1InvoicesCreateSingleResponseHaciendaResponse
24
- }
@@ -1,2 +0,0 @@
1
- export * from './CreateSingle/Request'
2
- export * from './CreateSingle/Response'
@@ -1 +0,0 @@
1
- export * from './V1'