@chift/chift-nodejs 1.0.5 → 1.0.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.
- package/.github/workflows/ci.yml +38 -38
- package/CHANGELOG.md +22 -0
- package/dist/src/modules/accounting.d.ts +6 -6
- package/dist/src/modules/accounting.js +17 -11
- package/dist/src/modules/api.d.ts +1925 -27777
- package/dist/src/modules/consumer.d.ts +372 -70
- package/dist/src/modules/consumer.js +10 -0
- package/dist/src/modules/consumers.d.ts +1931 -396
- package/dist/src/modules/ecommerce.d.ts +8 -0
- package/dist/src/modules/ecommerce.js +28 -0
- package/dist/src/modules/flow.js +1 -1
- package/dist/src/modules/internalApi.js +10 -5
- package/dist/src/modules/pos.d.ts +6 -0
- package/dist/src/modules/pos.js +21 -0
- package/dist/src/modules/sync.d.ts +1552 -324
- package/dist/src/modules/syncs.d.ts +8 -27387
- package/dist/src/modules/syncs.js +10 -0
- package/dist/test/modules/accounting.test.js +0 -11
- package/dist/test/modules/ecommerce.test.js +34 -7
- package/dist/test/modules/pos.test.js +18 -0
- package/jest.config.ts +1 -1
- package/package.json +2 -2
- package/src/modules/accounting.ts +25 -13
- package/src/modules/api.ts +2 -2
- package/src/modules/consumer.ts +21 -0
- package/src/modules/ecommerce.ts +52 -0
- package/src/modules/flow.ts +1 -1
- package/src/modules/pos.ts +40 -0
- package/src/modules/sync.ts +1 -1
- package/src/modules/syncs.ts +34 -3
- package/src/types/public-api/schema.d.ts +3299 -1950
- package/test/modules/accounting.test.ts +0 -14
- package/test/modules/consumer.test.ts +1 -1
- package/test/modules/ecommerce.test.ts +34 -3
- package/test/modules/pos.test.ts +21 -0
- package/.eslintcache +0 -1
- package/coverage/clover.xml +0 -1645
- package/coverage/coverage-final.json +0 -19
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -146
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov-report/src/helpers/index.html +0 -131
- package/coverage/lcov-report/src/helpers/openapi.ts.html +0 -151
- package/coverage/lcov-report/src/helpers/settings.ts.html +0 -94
- package/coverage/lcov-report/src/index.html +0 -116
- package/coverage/lcov-report/src/index.ts.html +0 -88
- package/coverage/lcov-report/src/modules/accounting.ts.html +0 -1156
- package/coverage/lcov-report/src/modules/api.ts.html +0 -190
- package/coverage/lcov-report/src/modules/consumer.ts.html +0 -616
- package/coverage/lcov-report/src/modules/consumers.ts.html +0 -331
- package/coverage/lcov-report/src/modules/custom.ts.html +0 -193
- package/coverage/lcov-report/src/modules/datastores.ts.html +0 -142
- package/coverage/lcov-report/src/modules/ecommerce.ts.html +0 -331
- package/coverage/lcov-report/src/modules/flow.ts.html +0 -589
- package/coverage/lcov-report/src/modules/index.html +0 -326
- package/coverage/lcov-report/src/modules/integrations.ts.html +0 -151
- package/coverage/lcov-report/src/modules/internalApi.ts.html +0 -586
- package/coverage/lcov-report/src/modules/invoicing.ts.html +0 -391
- package/coverage/lcov-report/src/modules/pos.ts.html +0 -421
- package/coverage/lcov-report/src/modules/sync.ts.html +0 -316
- package/coverage/lcov-report/src/modules/syncs.ts.html +0 -169
- package/coverage/lcov-report/src/modules/webhooks.ts.html +0 -343
- package/coverage/lcov.info +0 -1976
- package/dist/test/modules/flow.test.d.ts +0 -1
- package/dist/test/modules/flow.test.js +0 -69
|
@@ -395,20 +395,6 @@ test('getAnalyticAccountsWithMultiplePlans', async () => {
|
|
|
395
395
|
expect(analyticAccountsWithMultiplePlans).toBeInstanceOf(Array);
|
|
396
396
|
});
|
|
397
397
|
|
|
398
|
-
test('getAnalyticLinesOfAccount', async () => {
|
|
399
|
-
const analyticLinesOfAccount = await consumer.accounting.getAnalyticLinesOfAccount(
|
|
400
|
-
analyticAccounts[0].id
|
|
401
|
-
);
|
|
402
|
-
expect(analyticLinesOfAccount).toBeInstanceOf(Array);
|
|
403
|
-
if (analyticLinesOfAccount.length > 0) {
|
|
404
|
-
expect(analyticLinesOfAccount[0]).toHaveProperty('account_id', analyticAccounts[0].id);
|
|
405
|
-
expect(analyticLinesOfAccount[0]).toHaveProperty('description', expect.any(String));
|
|
406
|
-
expect(analyticLinesOfAccount[0]).toHaveProperty('amount', expect.any(Number));
|
|
407
|
-
expect(analyticLinesOfAccount[0]).toHaveProperty('date', expect.any(String));
|
|
408
|
-
expect(analyticLinesOfAccount[0]).toHaveProperty('id', expect.any(String));
|
|
409
|
-
}
|
|
410
|
-
});
|
|
411
|
-
|
|
412
398
|
test('createJournalEntry', async () => {
|
|
413
399
|
const journal = journals.find((journal) => journal.journal_type === 'customer_invoice');
|
|
414
400
|
if (!journal) {
|
|
@@ -36,7 +36,7 @@ test('createConnection', async () => {
|
|
|
36
36
|
expect(result).toHaveProperty('url', expect.any(String));
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
let connections: components['schemas']['
|
|
39
|
+
let connections: components['schemas']['app__routers__connections__ConnectionItem'][];
|
|
40
40
|
|
|
41
41
|
test('getConnections', async () => {
|
|
42
42
|
connections = await syncConsumer.getConnections();
|
|
@@ -104,8 +104,8 @@ test('updateAvailableQuantity', async () => {
|
|
|
104
104
|
expect(product).toHaveProperty('available_quantity', expect.any(Number));
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
test('createOrder', async () => {
|
|
107
|
+
// TODO: Fix create order test
|
|
108
|
+
test.skip('createOrder', async () => {
|
|
109
109
|
const order = await consumer.ecommerce.createOrder({
|
|
110
110
|
customer: {
|
|
111
111
|
email: 'test@test.com',
|
|
@@ -140,7 +140,6 @@ test('createOrder', async () => {
|
|
|
140
140
|
expect(order).toBeTruthy();
|
|
141
141
|
expect(order).toHaveProperty('id', expect.any(String));
|
|
142
142
|
});
|
|
143
|
-
*/
|
|
144
143
|
|
|
145
144
|
let orders: components['schemas']['OrderItemOut'][];
|
|
146
145
|
test('getOrders', async () => {
|
|
@@ -175,3 +174,35 @@ test('getOrder', async () => {
|
|
|
175
174
|
expect(order).toHaveProperty('lines', expect.any(Array));
|
|
176
175
|
expect(order).toHaveProperty('other_fees');
|
|
177
176
|
});
|
|
177
|
+
|
|
178
|
+
test('getPaymentMethods', async () => {
|
|
179
|
+
const paymentMethods = await consumer.ecommerce.getPaymentMethods();
|
|
180
|
+
expect(paymentMethods).toBeInstanceOf(Array);
|
|
181
|
+
expect(paymentMethods.length).toBeGreaterThan(0);
|
|
182
|
+
expect(paymentMethods[0]).toHaveProperty('id', expect.any(String));
|
|
183
|
+
expect(paymentMethods[0]).toHaveProperty('name', expect.any(String));
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
test('getProductCategories', async () => {
|
|
187
|
+
const productCategories = await consumer.ecommerce.getProductCategories();
|
|
188
|
+
expect(productCategories).toBeInstanceOf(Array);
|
|
189
|
+
expect(productCategories.length).toBeGreaterThan(0);
|
|
190
|
+
expect(productCategories[0]).toHaveProperty('id', expect.any(String));
|
|
191
|
+
expect(productCategories[0]).toHaveProperty('name', expect.any(String));
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
test('getCountries', async () => {
|
|
195
|
+
const countries = await consumer.ecommerce.getCountries();
|
|
196
|
+
expect(countries).toBeInstanceOf(Array);
|
|
197
|
+
expect(countries.length).toBeGreaterThan(0);
|
|
198
|
+
expect(countries[0]).toHaveProperty('code', expect.any(String));
|
|
199
|
+
expect(countries[0]).toHaveProperty('name', expect.any(String));
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
test('getTaxes', async () => {
|
|
203
|
+
const taxes = await consumer.ecommerce.getTaxes();
|
|
204
|
+
expect(taxes).toBeInstanceOf(Array);
|
|
205
|
+
expect(taxes.length).toBeGreaterThan(0);
|
|
206
|
+
expect(taxes[0]).toHaveProperty('id', expect.any(String));
|
|
207
|
+
expect(taxes[0]).toHaveProperty('rate', expect.any(Number));
|
|
208
|
+
});
|
package/test/modules/pos.test.ts
CHANGED
|
@@ -14,12 +14,15 @@ const client = new chift.API({
|
|
|
14
14
|
// Split testing between two APIs to support all endpoints
|
|
15
15
|
const cashpadConsumerId = process.env.CHIFT_CASHPAD_CONSUMER_ID as string;
|
|
16
16
|
const lightspeedConsumerId = process.env.CHIFT_LIGHTSPEED_CONSUMER_ID as string;
|
|
17
|
+
const popinaConsumerId = process.env.CHIFT_POPINA_CONSUMER_ID as string;
|
|
17
18
|
|
|
18
19
|
let cashpadConsumer: any;
|
|
19
20
|
let lightspeedConsumer: any;
|
|
21
|
+
let popinaConsumer: any;
|
|
20
22
|
beforeAll(async () => {
|
|
21
23
|
cashpadConsumer = await client.Consumers.getConsumerById(cashpadConsumerId);
|
|
22
24
|
lightspeedConsumer = await client.Consumers.getConsumerById(lightspeedConsumerId);
|
|
25
|
+
popinaConsumer = await client.Consumers.getConsumerById(popinaConsumerId);
|
|
23
26
|
});
|
|
24
27
|
|
|
25
28
|
test('getLocations', async () => {
|
|
@@ -143,3 +146,21 @@ test.skip('updateOrder', async () => {
|
|
|
143
146
|
expect(order).toBeTruthy();
|
|
144
147
|
expect(order).toHaveProperty('id', expect.any(String));
|
|
145
148
|
});
|
|
149
|
+
|
|
150
|
+
test('getProducts', async () => {
|
|
151
|
+
const products = await popinaConsumer.pos.getProducts();
|
|
152
|
+
expect(products).toBeInstanceOf(Array);
|
|
153
|
+
expect(products.length).toBeGreaterThan(0);
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
test('getProductCategories', async () => {
|
|
157
|
+
const productCategories = await popinaConsumer.pos.getProductCategories();
|
|
158
|
+
expect(productCategories).toBeInstanceOf(Array);
|
|
159
|
+
expect(productCategories.length).toBeGreaterThan(0);
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
test('getAccountingCategories', async () => {
|
|
163
|
+
const accountingCategories = await popinaConsumer.pos.getAccountingCategories();
|
|
164
|
+
expect(accountingCategories).toBeInstanceOf(Array);
|
|
165
|
+
expect(accountingCategories.length).toBeGreaterThan(0);
|
|
166
|
+
});
|
package/.eslintcache
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/package.json":"1","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/accounting.ts":"2","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/consumer.ts":"3","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/ecommerce.ts":"4","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/flow.ts":"5","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/types/public-api/schema.d.ts":"6","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/types/sync.ts":"7","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/invoicing.ts":"8","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/sync.ts":"9","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/internalApi.ts":"10","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/types/consumers.ts":"11","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/helpers/openapi.ts":"12","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/api.ts":"13","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/consumers.ts":"14","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/integrations.ts":"15","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/syncs.ts":"16","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/webhooks.ts":"17","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/datastores.ts":"18","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/package-lock.json":"19","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/consumer.test.ts":"20","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/invoicing.test.ts":"21","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/accounting.test.ts":"22","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/ecommerce.test.ts":"23","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/sync.test.ts":"24","/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/pos.test.ts":"25"},{"size":1587,"mtime":1698319435805,"results":"26","hashOfConfig":"27"},{"size":13616,"mtime":1695288852169,"results":"28","hashOfConfig":"27"},{"size":6381,"mtime":1694531695111,"results":"29","hashOfConfig":"27"},{"size":3389,"mtime":1681414203195,"results":"30","hashOfConfig":"27"},{"size":7292,"mtime":1694531695114,"results":"31","hashOfConfig":"27"},{"size":306721,"mtime":1695288852528,"results":"32","hashOfConfig":"27"},{"size":410,"mtime":1694527496802,"results":"33","hashOfConfig":"27"},{"size":3628,"mtime":1694607757583,"results":"34","hashOfConfig":"27"},{"size":2521,"mtime":1694617205773,"results":"35","hashOfConfig":"27"},{"size":6237,"mtime":1698319520781,"results":"36","hashOfConfig":"27"},{"size":140,"mtime":1682346605856,"results":"37","hashOfConfig":"27"},{"size":827,"mtime":1688504577670,"results":"38","hashOfConfig":"27"},{"size":1066,"mtime":1694531695110,"results":"39","hashOfConfig":"27"},{"size":2891,"mtime":1694531695113,"results":"40","hashOfConfig":"27"},{"size":632,"mtime":1694531695117,"results":"41","hashOfConfig":"27"},{"size":782,"mtime":1694531695118,"results":"42","hashOfConfig":"27"},{"size":2829,"mtime":1694531695119,"results":"43","hashOfConfig":"27"},{"size":483,"mtime":1694531695113,"results":"44","hashOfConfig":"27"},{"size":585883,"mtime":1694693069498,"results":"45","hashOfConfig":"27"},{"size":2152,"mtime":1694611494912,"results":"46","hashOfConfig":"27"},{"size":3282,"mtime":1694608127373,"results":"47","hashOfConfig":"27"},{"size":19093,"mtime":1695288994022,"results":"48","hashOfConfig":"27"},{"size":6535,"mtime":1694608857026,"results":"49","hashOfConfig":"27"},{"size":1713,"mtime":1694610668711,"results":"50","hashOfConfig":"27"},{"size":5817,"mtime":1694690935813,"results":"51","hashOfConfig":"27"},{"filePath":"52","messages":"53","suppressedMessages":"54","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"q07fwj",{"filePath":"55","messages":"56","suppressedMessages":"57","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"58","messages":"59","suppressedMessages":"60","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"61","messages":"62","suppressedMessages":"63","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"64","messages":"65","suppressedMessages":"66","errorCount":0,"fatalErrorCount":0,"warningCount":12,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"67","messages":"68","suppressedMessages":"69","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","suppressedMessages":"72","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"73","messages":"74","suppressedMessages":"75","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","suppressedMessages":"78","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"79","messages":"80","suppressedMessages":"81","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"82","messages":"83","suppressedMessages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"85","messages":"86","suppressedMessages":"87","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"88","messages":"89","suppressedMessages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"91","messages":"92","suppressedMessages":"93","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"94","messages":"95","suppressedMessages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","suppressedMessages":"99","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","suppressedMessages":"102","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","suppressedMessages":"105","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"106","messages":"107","suppressedMessages":"108","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"109","messages":"110","suppressedMessages":"111","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"112","messages":"113","suppressedMessages":"114","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"115","messages":"116","suppressedMessages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"118","messages":"119","suppressedMessages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"121","messages":"122","suppressedMessages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"124","messages":"125","suppressedMessages":"126","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/package.json",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/accounting.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/consumer.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/ecommerce.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/flow.ts",["127","128","129","130","131","132","133","134","135","136","137","138"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/types/public-api/schema.d.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/types/sync.ts",["139","140","141","142"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/invoicing.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/sync.ts",["143","144"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/internalApi.ts",["145","146","147"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/types/consumers.ts",["148"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/helpers/openapi.ts",["149","150"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/api.ts",["151"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/consumers.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/integrations.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/syncs.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/webhooks.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/src/modules/datastores.ts",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/package-lock.json",[],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/consumer.test.ts",["152","153","154"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/invoicing.test.ts",["155"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/accounting.test.ts",["156"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/ecommerce.test.ts",["157"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/sync.test.ts",["158","159","160","161"],[],"/Users/henry/Documents/Development/chift/sdk/chift-nodejs-sdk/test/modules/pos.test.ts",["162","163","164"],[],{"ruleId":"165","severity":1,"message":"166","line":8,"column":18,"nodeType":"167","messageId":"168","endLine":8,"endColumn":21,"suggestions":"169"},{"ruleId":"165","severity":1,"message":"166","line":12,"column":26,"nodeType":"167","messageId":"168","endLine":12,"endColumn":29,"suggestions":"170"},{"ruleId":"165","severity":1,"message":"166","line":12,"column":40,"nodeType":"167","messageId":"168","endLine":12,"endColumn":43,"suggestions":"171"},{"ruleId":"165","severity":1,"message":"166","line":12,"column":48,"nodeType":"167","messageId":"168","endLine":12,"endColumn":51,"suggestions":"172"},{"ruleId":"165","severity":1,"message":"166","line":35,"column":61,"nodeType":"167","messageId":"168","endLine":35,"endColumn":64,"suggestions":"173"},{"ruleId":"165","severity":1,"message":"166","line":58,"column":55,"nodeType":"167","messageId":"168","endLine":58,"endColumn":58,"suggestions":"174"},{"ruleId":"165","severity":1,"message":"166","line":58,"column":69,"nodeType":"167","messageId":"168","endLine":58,"endColumn":72,"suggestions":"175"},{"ruleId":"165","severity":1,"message":"166","line":58,"column":77,"nodeType":"167","messageId":"168","endLine":58,"endColumn":80,"suggestions":"176"},{"ruleId":"165","severity":1,"message":"166","line":98,"column":55,"nodeType":"167","messageId":"168","endLine":98,"endColumn":58,"suggestions":"177"},{"ruleId":"165","severity":1,"message":"166","line":98,"column":63,"nodeType":"167","messageId":"168","endLine":98,"endColumn":66,"suggestions":"178"},{"ruleId":"165","severity":1,"message":"166","line":117,"column":31,"nodeType":"167","messageId":"168","endLine":117,"endColumn":34,"suggestions":"179"},{"ruleId":"165","severity":1,"message":"166","line":148,"column":27,"nodeType":"167","messageId":"168","endLine":148,"endColumn":30,"suggestions":"180"},{"ruleId":"165","severity":1,"message":"166","line":3,"column":12,"nodeType":"167","messageId":"168","endLine":3,"endColumn":15,"suggestions":"181"},{"ruleId":"165","severity":1,"message":"166","line":8,"column":12,"nodeType":"167","messageId":"168","endLine":8,"endColumn":15,"suggestions":"182"},{"ruleId":"165","severity":1,"message":"166","line":16,"column":14,"nodeType":"167","messageId":"168","endLine":16,"endColumn":17,"suggestions":"183"},{"ruleId":"165","severity":1,"message":"166","line":22,"column":12,"nodeType":"167","messageId":"168","endLine":22,"endColumn":15,"suggestions":"184"},{"ruleId":"165","severity":1,"message":"166","line":42,"column":56,"nodeType":"167","messageId":"168","endLine":42,"endColumn":59,"suggestions":"185"},{"ruleId":"165","severity":1,"message":"166","line":42,"column":64,"nodeType":"167","messageId":"168","endLine":42,"endColumn":67,"suggestions":"186"},{"ruleId":"165","severity":1,"message":"166","line":84,"column":23,"nodeType":"167","messageId":"168","endLine":84,"endColumn":26,"suggestions":"187"},{"ruleId":"165","severity":1,"message":"166","line":114,"column":24,"nodeType":"167","messageId":"168","endLine":114,"endColumn":27,"suggestions":"188"},{"ruleId":"165","severity":1,"message":"166","line":152,"column":21,"nodeType":"167","messageId":"168","endLine":152,"endColumn":24,"suggestions":"189"},{"ruleId":"165","severity":1,"message":"166","line":8,"column":14,"nodeType":"167","messageId":"168","endLine":8,"endColumn":17,"suggestions":"190"},{"ruleId":"165","severity":1,"message":"166","line":11,"column":21,"nodeType":"167","messageId":"168","endLine":11,"endColumn":24,"suggestions":"191"},{"ruleId":"165","severity":1,"message":"166","line":12,"column":30,"nodeType":"167","messageId":"168","endLine":12,"endColumn":33,"suggestions":"192"},{"ruleId":"165","severity":1,"message":"166","line":12,"column":19,"nodeType":"167","messageId":"168","endLine":12,"endColumn":22,"suggestions":"193"},{"ruleId":"165","severity":1,"message":"166","line":18,"column":19,"nodeType":"167","messageId":"168","endLine":18,"endColumn":22,"suggestions":"194"},{"ruleId":"165","severity":1,"message":"166","line":19,"column":15,"nodeType":"167","messageId":"168","endLine":19,"endColumn":18,"suggestions":"195"},{"ruleId":"165","severity":1,"message":"166","line":20,"column":17,"nodeType":"167","messageId":"168","endLine":20,"endColumn":20,"suggestions":"196"},{"ruleId":"165","severity":1,"message":"166","line":16,"column":15,"nodeType":"167","messageId":"168","endLine":16,"endColumn":18,"suggestions":"197"},{"ruleId":"165","severity":1,"message":"166","line":18,"column":15,"nodeType":"167","messageId":"168","endLine":18,"endColumn":18,"suggestions":"198"},{"ruleId":"165","severity":1,"message":"166","line":16,"column":15,"nodeType":"167","messageId":"168","endLine":16,"endColumn":18,"suggestions":"199"},{"ruleId":"165","severity":1,"message":"166","line":16,"column":11,"nodeType":"167","messageId":"168","endLine":16,"endColumn":14,"suggestions":"200"},{"ruleId":"165","severity":1,"message":"166","line":17,"column":11,"nodeType":"167","messageId":"168","endLine":17,"endColumn":14,"suggestions":"201"},{"ruleId":"165","severity":1,"message":"166","line":37,"column":26,"nodeType":"167","messageId":"168","endLine":37,"endColumn":29,"suggestions":"202"},{"ruleId":"165","severity":1,"message":"166","line":37,"column":44,"nodeType":"167","messageId":"168","endLine":37,"endColumn":47,"suggestions":"203"},{"ruleId":"165","severity":1,"message":"166","line":18,"column":22,"nodeType":"167","messageId":"168","endLine":18,"endColumn":25,"suggestions":"204"},{"ruleId":"165","severity":1,"message":"166","line":19,"column":25,"nodeType":"167","messageId":"168","endLine":19,"endColumn":28,"suggestions":"205"},{"ruleId":"165","severity":1,"message":"166","line":58,"column":16,"nodeType":"167","messageId":"168","endLine":58,"endColumn":19,"suggestions":"206"},"@typescript-eslint/no-explicit-any","Unexpected any. Specify a different type.","TSAnyKeyword","unexpectedAny",["207","208"],["209","210"],["211","212"],["213","214"],["215","216"],["217","218"],["219","220"],["221","222"],["223","224"],["225","226"],["227","228"],["229","230"],["231","232"],["233","234"],["235","236"],["237","238"],["239","240"],["241","242"],["243","244"],["245","246"],["247","248"],["249","250"],["251","252"],["253","254"],["255","256"],["257","258"],["259","260"],["261","262"],["263","264"],["265","266"],["267","268"],["269","270"],["271","272"],["273","274"],["275","276"],["277","278"],["279","280"],["281","282"],{"messageId":"283","fix":"284","desc":"285"},{"messageId":"286","fix":"287","desc":"288"},{"messageId":"283","fix":"289","desc":"285"},{"messageId":"286","fix":"290","desc":"288"},{"messageId":"283","fix":"291","desc":"285"},{"messageId":"286","fix":"292","desc":"288"},{"messageId":"283","fix":"293","desc":"285"},{"messageId":"286","fix":"294","desc":"288"},{"messageId":"283","fix":"295","desc":"285"},{"messageId":"286","fix":"296","desc":"288"},{"messageId":"283","fix":"297","desc":"285"},{"messageId":"286","fix":"298","desc":"288"},{"messageId":"283","fix":"299","desc":"285"},{"messageId":"286","fix":"300","desc":"288"},{"messageId":"283","fix":"301","desc":"285"},{"messageId":"286","fix":"302","desc":"288"},{"messageId":"283","fix":"303","desc":"285"},{"messageId":"286","fix":"304","desc":"288"},{"messageId":"283","fix":"305","desc":"285"},{"messageId":"286","fix":"306","desc":"288"},{"messageId":"283","fix":"307","desc":"285"},{"messageId":"286","fix":"308","desc":"288"},{"messageId":"283","fix":"309","desc":"285"},{"messageId":"286","fix":"310","desc":"288"},{"messageId":"283","fix":"311","desc":"285"},{"messageId":"286","fix":"312","desc":"288"},{"messageId":"283","fix":"313","desc":"285"},{"messageId":"286","fix":"314","desc":"288"},{"messageId":"283","fix":"315","desc":"285"},{"messageId":"286","fix":"316","desc":"288"},{"messageId":"283","fix":"317","desc":"285"},{"messageId":"286","fix":"318","desc":"288"},{"messageId":"283","fix":"319","desc":"285"},{"messageId":"286","fix":"320","desc":"288"},{"messageId":"283","fix":"321","desc":"285"},{"messageId":"286","fix":"322","desc":"288"},{"messageId":"283","fix":"323","desc":"285"},{"messageId":"286","fix":"324","desc":"288"},{"messageId":"283","fix":"325","desc":"285"},{"messageId":"286","fix":"326","desc":"288"},{"messageId":"283","fix":"327","desc":"285"},{"messageId":"286","fix":"328","desc":"288"},{"messageId":"283","fix":"329","desc":"285"},{"messageId":"286","fix":"330","desc":"288"},{"messageId":"283","fix":"331","desc":"285"},{"messageId":"286","fix":"332","desc":"288"},{"messageId":"283","fix":"333","desc":"285"},{"messageId":"286","fix":"334","desc":"288"},{"messageId":"283","fix":"335","desc":"285"},{"messageId":"286","fix":"336","desc":"288"},{"messageId":"283","fix":"337","desc":"285"},{"messageId":"286","fix":"338","desc":"288"},{"messageId":"283","fix":"339","desc":"285"},{"messageId":"286","fix":"340","desc":"288"},{"messageId":"283","fix":"341","desc":"285"},{"messageId":"286","fix":"342","desc":"288"},{"messageId":"283","fix":"343","desc":"285"},{"messageId":"286","fix":"344","desc":"288"},{"messageId":"283","fix":"345","desc":"285"},{"messageId":"286","fix":"346","desc":"288"},{"messageId":"283","fix":"347","desc":"285"},{"messageId":"286","fix":"348","desc":"288"},{"messageId":"283","fix":"349","desc":"285"},{"messageId":"286","fix":"350","desc":"288"},{"messageId":"283","fix":"351","desc":"285"},{"messageId":"286","fix":"352","desc":"288"},{"messageId":"283","fix":"353","desc":"285"},{"messageId":"286","fix":"354","desc":"288"},{"messageId":"283","fix":"355","desc":"285"},{"messageId":"286","fix":"356","desc":"288"},{"messageId":"283","fix":"357","desc":"285"},{"messageId":"286","fix":"358","desc":"288"},{"messageId":"283","fix":"359","desc":"285"},{"messageId":"286","fix":"360","desc":"288"},{"messageId":"283","fix":"361","desc":"285"},{"messageId":"286","fix":"362","desc":"288"},"suggestUnknown",{"range":"363","text":"364"},"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.","suggestNever",{"range":"363","text":"365"},"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",{"range":"366","text":"364"},{"range":"366","text":"365"},{"range":"367","text":"364"},{"range":"367","text":"365"},{"range":"368","text":"364"},{"range":"368","text":"365"},{"range":"369","text":"364"},{"range":"369","text":"365"},{"range":"370","text":"364"},{"range":"370","text":"365"},{"range":"371","text":"364"},{"range":"371","text":"365"},{"range":"372","text":"364"},{"range":"372","text":"365"},{"range":"373","text":"364"},{"range":"373","text":"365"},{"range":"374","text":"364"},{"range":"374","text":"365"},{"range":"375","text":"364"},{"range":"375","text":"365"},{"range":"376","text":"364"},{"range":"376","text":"365"},{"range":"377","text":"364"},{"range":"377","text":"365"},{"range":"378","text":"364"},{"range":"378","text":"365"},{"range":"379","text":"364"},{"range":"379","text":"365"},{"range":"380","text":"364"},{"range":"380","text":"365"},{"range":"381","text":"364"},{"range":"381","text":"365"},{"range":"382","text":"364"},{"range":"382","text":"365"},{"range":"383","text":"364"},{"range":"383","text":"365"},{"range":"384","text":"364"},{"range":"384","text":"365"},{"range":"385","text":"364"},{"range":"385","text":"365"},{"range":"386","text":"364"},{"range":"386","text":"365"},{"range":"387","text":"364"},{"range":"387","text":"365"},{"range":"388","text":"364"},{"range":"388","text":"365"},{"range":"389","text":"364"},{"range":"389","text":"365"},{"range":"390","text":"364"},{"range":"390","text":"365"},{"range":"391","text":"364"},{"range":"391","text":"365"},{"range":"392","text":"364"},{"range":"392","text":"365"},{"range":"393","text":"364"},{"range":"393","text":"365"},{"range":"394","text":"364"},{"range":"394","text":"365"},{"range":"395","text":"364"},{"range":"395","text":"365"},{"range":"396","text":"364"},{"range":"396","text":"365"},{"range":"397","text":"364"},{"range":"397","text":"365"},{"range":"398","text":"364"},{"range":"398","text":"365"},{"range":"399","text":"364"},{"range":"399","text":"365"},{"range":"400","text":"364"},{"range":"400","text":"365"},{"range":"401","text":"364"},{"range":"401","text":"365"},{"range":"402","text":"364"},{"range":"402","text":"365"},[268,271],"unknown","never",[392,395],[406,409],[414,417],[1397,1400],[2371,2374],[2385,2388],[2393,2396],[4229,4232],[4237,4240],[5120,5123],[6724,6727],[71,74],[152,155],[304,307],[403,406],[1400,1403],[1408,1411],[3114,3117],[4076,4079],[5625,5628],[133,136],[331,334],[377,380],[367,370],[595,598],[614,617],[635,638],[544,547],[563,566],[548,551],[453,456],[468,471],[960,963],[978,981],[698,701],[727,730],[2082,2085]]
|