itrm-tools 1.0.54 → 1.1.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.
@@ -0,0 +1,15 @@
1
+ import { IAlegraContact, IAlegraJournal, IAlegraPayment } from "./AlegraTypes";
2
+ export declare class AlegraConnectionManager {
3
+ private alegraUrl;
4
+ private headers;
5
+ constructor(alegraUrl: string, token: string);
6
+ createContact(contact: IAlegraContact): Promise<unknown>;
7
+ findContact(document: string): Promise<IAlegraContact | undefined>;
8
+ createJournal(body: IAlegraJournal): Promise<unknown>;
9
+ findJournal(journalId: string | number): Promise<IAlegraJournal>;
10
+ deleteJournal(journalId: string | number): Promise<unknown>;
11
+ createPayment(body: IAlegraPayment): Promise<unknown>;
12
+ findPayment(paymentId: string | number): Promise<IAlegraPayment>;
13
+ updatePayment(paymentId: string | number, body: IAlegraPayment): Promise<unknown>;
14
+ deletePayment(paymentId: string | number): Promise<unknown>;
15
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AlegraConnectionManager = void 0;
13
+ const RequestAxiosCall_1 = require("../request/RequestAxiosCall");
14
+ class AlegraConnectionManager {
15
+ constructor(alegraUrl, token) {
16
+ this.alegraUrl = alegraUrl;
17
+ this.headers = { headers: { Authorization: `Basic ${token}` } };
18
+ }
19
+ createContact(contact) {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ return yield RequestAxiosCall_1.RequestAxiosCall.post(`${this.alegraUrl}/v1/contacts`, contact, this.headers);
22
+ });
23
+ }
24
+ findContact(document) {
25
+ return __awaiter(this, void 0, void 0, function* () {
26
+ let response = yield RequestAxiosCall_1.RequestAxiosCall.get(`${this.alegraUrl}/v1/contacts?order_direction=ASC&identification=${document}`, this.headers);
27
+ return response.length > 0 ? response[0] : undefined;
28
+ });
29
+ }
30
+ createJournal(body) {
31
+ return __awaiter(this, void 0, void 0, function* () {
32
+ return yield RequestAxiosCall_1.RequestAxiosCall.post(`${this.alegraUrl}/v1/journals`, body, this.headers);
33
+ });
34
+ }
35
+ findJournal(journalId) {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ return yield RequestAxiosCall_1.RequestAxiosCall.get(`${this.alegraUrl}/v1/journals/${journalId}`, this.headers);
38
+ });
39
+ }
40
+ deleteJournal(journalId) {
41
+ return __awaiter(this, void 0, void 0, function* () {
42
+ return yield RequestAxiosCall_1.RequestAxiosCall.delete(`${this.alegraUrl}/v1/journals/${journalId}`, this.headers);
43
+ });
44
+ }
45
+ createPayment(body) {
46
+ return __awaiter(this, void 0, void 0, function* () {
47
+ return yield RequestAxiosCall_1.RequestAxiosCall.post(`${this.alegraUrl}/v1/payments`, body, this.headers);
48
+ });
49
+ }
50
+ findPayment(paymentId) {
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ return yield RequestAxiosCall_1.RequestAxiosCall.get(`${this.alegraUrl}/v1/payments/${paymentId}`, this.headers);
53
+ });
54
+ }
55
+ updatePayment(paymentId, body) {
56
+ return __awaiter(this, void 0, void 0, function* () {
57
+ return yield RequestAxiosCall_1.RequestAxiosCall.put(`${this.alegraUrl}/v1/payments/${paymentId}`, body, this.headers);
58
+ });
59
+ }
60
+ deletePayment(paymentId) {
61
+ return __awaiter(this, void 0, void 0, function* () {
62
+ return yield RequestAxiosCall_1.RequestAxiosCall.delete(`${this.alegraUrl}/v1/payments/${paymentId}`, this.headers);
63
+ });
64
+ }
65
+ }
66
+ exports.AlegraConnectionManager = AlegraConnectionManager;
67
+ //# sourceMappingURL=AlegraConnectionManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlegraConnectionManager.js","sourceRoot":"","sources":["../../../src/api/alegra/AlegraConnectionManager.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,kEAA+D;AAG/D,MAAa,uBAAuB;IAIhC,YAAY,SAAiB,EAAE,KAAa;QACxC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,EAAE,OAAO,EAAE,EAAE,aAAa,EAAE,SAAS,KAAK,EAAE,EAAE,EAAE,CAAC;IACpE,CAAC;IAEY,aAAa,CAAC,OAAuB;;YAC9C,OAAO,MAAM,mCAAgB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,SAAS,cAAc,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/F,CAAC;KAAA;IAEY,WAAW,CAAC,QAAgB;;YACrC,IAAI,QAAQ,GAAQ,MAAM,mCAAgB,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,mDAAmD,QAAQ,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;YAC7I,OAAO,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACzD,CAAC;KAAA;IAEY,aAAa,CAAC,IAAoB;;YAC3C,OAAO,MAAM,mCAAgB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,SAAS,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,CAAC;KAAA;IAEY,WAAW,CAAC,SAA0B;;YAC/C,OAAQ,MAAM,mCAAgB,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,gBAAgB,SAAS,EAAE,EAAE,IAAI,CAAC,OAAO,CAAoB,CAAC;QACtH,CAAC;KAAA;IAEY,aAAa,CAAC,SAA0B;;YACjD,OAAO,MAAM,mCAAgB,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,SAAS,gBAAgB,SAAS,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrG,CAAC;KAAA;IAEY,aAAa,CAAC,IAAoB;;YAC3C,OAAO,MAAM,mCAAgB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,SAAS,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,CAAC;KAAA;IAEY,WAAW,CAAC,SAA0B;;YAC/C,OAAQ,MAAM,mCAAgB,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,gBAAgB,SAAS,EAAE,EAAE,IAAI,CAAC,OAAO,CAAoB,CAAC;QACtH,CAAC;KAAA;IAEY,aAAa,CAAC,SAA0B,EAAE,IAAoB;;YACvE,OAAO,MAAM,mCAAgB,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,gBAAgB,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACxG,CAAC;KAAA;IAEY,aAAa,CAAC,SAA0B;;YACjD,OAAO,MAAM,mCAAgB,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,SAAS,gBAAgB,SAAS,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrG,CAAC;KAAA;CACJ;AA7CD,0DA6CC"}
@@ -0,0 +1,143 @@
1
+ export interface IAlegraContact {
2
+ id?: string | number;
3
+ name?: string;
4
+ identification?: string;
5
+ email?: string;
6
+ phonePrimary?: string;
7
+ phoneSecondary?: string;
8
+ fax?: string;
9
+ mobile?: string;
10
+ observations?: string;
11
+ status?: 'active' | 'inactive';
12
+ kindOfPerson?: 'PERSON_ENTITY' | 'LEGAL_ENTITY ' | 'OTHER_ENTITY ';
13
+ regime?: 'COMMON_REGIME' | 'SIMPLIFIED_REGIME' | 'NATIONAL_CONSUMPTION_TAX' | 'NOT_REPONSIBLE_FOR_CONSUMPTION' | 'INC_IVA_RESPONSIBLE' | 'SPECIAL_REGIME';
14
+ nameObject?: {
15
+ firstName: string;
16
+ secondName: string;
17
+ lastName: string;
18
+ secondLastName?: string;
19
+ };
20
+ identificationObject?: {
21
+ type: 'CC' | 'TI' | 'NIT' | 'DIE' | 'PP' | 'CE' | 'TE' | 'RC' | 'FOREIGN_NIT' | 'NUIP';
22
+ number: string;
23
+ dv?: string;
24
+ };
25
+ fiscalResidence?: 'RESIDENT' | 'NON_RESIDENT';
26
+ enableHealthSector?: boolean;
27
+ healthPatients?: any;
28
+ address?: {
29
+ address: string;
30
+ city: string;
31
+ department?: string;
32
+ country?: 'Colombia';
33
+ zipCode?: string;
34
+ };
35
+ type?: string[];
36
+ seller?: any;
37
+ term?: {
38
+ id: number;
39
+ name: string;
40
+ days: string;
41
+ };
42
+ priceList?: {
43
+ id: number;
44
+ name: string;
45
+ };
46
+ internalContacts?: string[];
47
+ settings?: {
48
+ sendElectronicDocuments: boolean;
49
+ };
50
+ statementAttached?: boolean;
51
+ accounting?: {
52
+ accountReceivable: {
53
+ id: string;
54
+ idParent: string;
55
+ name: string;
56
+ text: string;
57
+ code: string;
58
+ description: string;
59
+ type: string;
60
+ readOnly: boolean;
61
+ nature: string;
62
+ blocked: string;
63
+ status: string;
64
+ categoryRule: any;
65
+ use: string;
66
+ showThirdPartyBalance: boolean;
67
+ };
68
+ debtToPay: {
69
+ id: string;
70
+ idParent: string;
71
+ name: string;
72
+ text: string;
73
+ code: string;
74
+ description: string;
75
+ type: string;
76
+ readOnly: boolean;
77
+ nature: string;
78
+ blocked: string;
79
+ status: string;
80
+ categoryRule?: any;
81
+ use: string;
82
+ showThirdPartyBalance: boolean;
83
+ };
84
+ };
85
+ }
86
+ export interface IAlegraPayment {
87
+ id?: string | number;
88
+ date: string;
89
+ bankAccount: {
90
+ id: string | number;
91
+ };
92
+ client: IAlegraContact;
93
+ paymentMethod: 'transfer' | 'cash' | 'deposit' | 'check' | 'credit-card' | 'debit-card';
94
+ observations: string;
95
+ anotation: string;
96
+ type: 'in' | 'out';
97
+ categories: IAlegraCategory[];
98
+ costCenter?: any;
99
+ numberTemplate?: {
100
+ id: string;
101
+ prefix: any;
102
+ number: string;
103
+ fullNumber: string;
104
+ formattedNumber: string;
105
+ };
106
+ }
107
+ export interface IAlegraCategory {
108
+ id: string | number;
109
+ name?: string;
110
+ price: number;
111
+ quantity: number;
112
+ observations: string;
113
+ total?: number;
114
+ behavior?: string;
115
+ tax?: any[];
116
+ }
117
+ export interface IAlegraJournal {
118
+ id?: string | number;
119
+ date: string;
120
+ observations: string;
121
+ entries: IAlegraEntry[];
122
+ client?: IAlegraContact;
123
+ reference?: string;
124
+ status?: string;
125
+ total?: number;
126
+ }
127
+ export interface IAlegraEntry {
128
+ id: string | number;
129
+ client: IAlegraContact;
130
+ description: string;
131
+ debit: number;
132
+ credit: number;
133
+ name?: string;
134
+ type?: string;
135
+ line?: string;
136
+ lineParent?: any;
137
+ costCenter: any;
138
+ associatedDocument?: {
139
+ idResource: any;
140
+ resourceType: any;
141
+ resource: any;
142
+ };
143
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AlegraTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlegraTypes.js","sourceRoot":"","sources":["../../../src/api/alegra/AlegraTypes.ts"],"names":[],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export { AlegraConnectionManager as AlegraConnectionManager } from './api/alegra/AlegraConnectionManager';
2
+ export { IAlegraContact as IAlegraContact, IAlegraPayment as IAlegraPayment, IAlegraCategory as IAlegraCategory, IAlegraJournal as IAlegraJournal, IAlegraEntry as IAlegraEntry } from './api/alegra/AlegraTypes';
1
3
  export { APIServiceConfig as APIServiceConfig, APIService as APIService, APIServiceResponse as APIServiceResponse, ITRMAPIServiceGlobal as ITRMAPIServiceGlobal } from './api/APIService';
2
4
  export { HttpsAPIService as HttpsAPIService } from './api/HttpsAPIService';
3
5
  export { ExpressConfiguration as ExpressConfiguration } from './api/ExpressConfiguration';
package/dist/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.round = exports.CoingeckoPriceFinder = exports.Coin = exports.LoggerWebSocket = exports.LoggerManager = exports.Logger = exports.SequelizeModelManager = exports.SequelizeConnection = exports.MongooseModelManager = exports.CrudServiceManager = exports.SimpleCheckableAPIRouter = exports.CheckableAPIRouter = exports.CheckableFileUploadingPostRequest = exports.CheckablePutRequest = exports.CheckablePostRequest = exports.CheckableGetRequest = exports.CheckableDeleteRequest = exports.APIChecker = exports.CheckableAPIRequest = exports.DeleteRequest = exports.PutRequest = exports.PostRequest = exports.GetRequest = exports.RequestAxiosCall = exports.SimpleAPIRouter = exports.APIRouter = exports.APIRequestBuilder = exports.RequestParameterType = exports.RequestContext = exports.RequestMethod = exports.APIRequest = exports.ExpressFileUploadingConfiguration = exports.ExpressStandardConfiguration = exports.HttpsAPIService = exports.ITRMAPIServiceGlobal = exports.APIService = void 0;
3
+ exports.round = exports.CoingeckoPriceFinder = exports.Coin = exports.LoggerWebSocket = exports.LoggerManager = exports.Logger = exports.SequelizeModelManager = exports.SequelizeConnection = exports.MongooseModelManager = exports.CrudServiceManager = exports.SimpleCheckableAPIRouter = exports.CheckableAPIRouter = exports.CheckableFileUploadingPostRequest = exports.CheckablePutRequest = exports.CheckablePostRequest = exports.CheckableGetRequest = exports.CheckableDeleteRequest = exports.APIChecker = exports.CheckableAPIRequest = exports.DeleteRequest = exports.PutRequest = exports.PostRequest = exports.GetRequest = exports.RequestAxiosCall = exports.SimpleAPIRouter = exports.APIRouter = exports.APIRequestBuilder = exports.RequestParameterType = exports.RequestContext = exports.RequestMethod = exports.APIRequest = exports.ExpressFileUploadingConfiguration = exports.ExpressStandardConfiguration = exports.HttpsAPIService = exports.ITRMAPIServiceGlobal = exports.APIService = exports.AlegraConnectionManager = void 0;
4
+ var AlegraConnectionManager_1 = require("./api/alegra/AlegraConnectionManager");
5
+ Object.defineProperty(exports, "AlegraConnectionManager", { enumerable: true, get: function () { return AlegraConnectionManager_1.AlegraConnectionManager; } });
4
6
  var APIService_1 = require("./api/APIService");
5
7
  Object.defineProperty(exports, "APIService", { enumerable: true, get: function () { return APIService_1.APIService; } });
6
8
  Object.defineProperty(exports, "ITRMAPIServiceGlobal", { enumerable: true, get: function () { return APIService_1.ITRMAPIServiceGlobal; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+CAA0L;AAA3I,wGAAA,UAAU,OAAc;AAA4C,kHAAA,oBAAoB,OAAwB;AAC/J,yDAA2E;AAAlE,kHAAA,eAAe,OAAmB;AAE3C,2FAA0H;AAAjH,4IAAA,4BAA4B,OAAgC;AACrE,qGAAyI;AAAhI,sJAAA,iCAAiC,OAAqC;AAC/E,+CAA0P;AAAjP,wGAAA,UAAU,OAAc;AAAE,2GAAA,aAAa,OAAiB;AAAE,4GAAA,cAAc,OAAkB;AAAgF,kHAAA,oBAAoB,OAAwB;AAC/N,6DAAiI;AAAxH,sHAAA,iBAAiB,OAAqB;AAC/C,6CAAyD;AAAhD,sGAAA,SAAS,OAAa;AAC/B,+DAAgF;AAAvE,kHAAA,eAAe,OAAmB;AAC3C,mEAAsF;AAA7E,oHAAA,gBAAgB,OAAoB;AAC7C,uDAAoE;AAA3D,wGAAA,UAAU,OAAc;AACjC,yDAAuE;AAA9D,0GAAA,WAAW,OAAe;AACnC,uDAAoE;AAA3D,wGAAA,UAAU,OAAc;AACjC,6DAA6E;AAApE,8GAAA,aAAa,OAAiB;AACvC,uEAA6F;AAApF,0HAAA,mBAAmB,OAAuB;AACnD,qDAAoL;AAA3F,wGAAA,UAAU,OAAc;AAC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": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",