@chift/chift-nodejs 1.0.20 → 1.0.21
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/dist/src/modules/accounting.d.ts +7 -4
- package/dist/src/modules/accounting.js +15 -0
- package/dist/src/modules/api.d.ts +2059 -169
- package/dist/src/modules/consumer.d.ts +387 -22
- package/dist/src/modules/consumer.js +10 -0
- package/dist/src/modules/consumers.d.ts +2028 -163
- package/dist/src/modules/datastores.d.ts +17 -0
- package/dist/src/modules/datastores.js +19 -0
- package/dist/src/modules/ecommerce.d.ts +2 -2
- package/dist/src/modules/flow.d.ts +6 -0
- package/dist/src/modules/flow.js +5 -0
- package/dist/src/modules/integrations.d.ts +2 -1
- package/dist/src/modules/integrations.js +5 -0
- package/dist/src/modules/invoicing.d.ts +6 -4
- package/dist/src/modules/invoicing.js +12 -0
- package/dist/src/modules/pms.d.ts +4 -0
- package/dist/src/modules/pms.js +14 -0
- package/dist/src/modules/sync.d.ts +1680 -143
- package/dist/src/modules/sync.js +15 -0
- package/dist/src/modules/syncs.d.ts +3 -0
- package/dist/src/modules/syncs.js +15 -0
- package/dist/src/modules/webhooks.d.ts +2 -0
- package/dist/src/types/public-api/schema.d.ts +1755 -779
- package/dist/src/types/public-api/schema.js +6 -0
- package/dist/test/modules/accounting.test.js +4 -0
- package/dist/test/modules/invoicing.test.js +15 -0
- package/dist/test/modules/pms.test.js +17 -0
- package/package.json +1 -1
- package/src/types/public-api/schema.d.ts +1755 -779
|
@@ -104,6 +104,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
104
104
|
discounts: {
|
|
105
105
|
name?: string | undefined;
|
|
106
106
|
total: number;
|
|
107
|
+
type: "OFFERED" | "UNKNOWN" | "LOSS";
|
|
107
108
|
}[];
|
|
108
109
|
product_id?: string | undefined;
|
|
109
110
|
accounting_category_id?: string | undefined;
|
|
@@ -181,6 +182,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
181
182
|
discounts: {
|
|
182
183
|
name?: string | undefined;
|
|
183
184
|
total: number;
|
|
185
|
+
type: "OFFERED" | "UNKNOWN" | "LOSS";
|
|
184
186
|
}[];
|
|
185
187
|
product_id?: string | undefined;
|
|
186
188
|
accounting_category_id?: string | undefined;
|
|
@@ -355,6 +357,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
355
357
|
discounts: {
|
|
356
358
|
name?: string | undefined;
|
|
357
359
|
total: number;
|
|
360
|
+
type: "OFFERED" | "UNKNOWN" | "LOSS";
|
|
358
361
|
}[];
|
|
359
362
|
product_id?: string | undefined;
|
|
360
363
|
accounting_category_id?: string | undefined;
|
|
@@ -436,11 +439,62 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
436
439
|
discounts: {
|
|
437
440
|
name?: string | undefined;
|
|
438
441
|
total: number;
|
|
442
|
+
type: "OFFERED" | "UNKNOWN" | "LOSS";
|
|
439
443
|
}[];
|
|
440
444
|
product_id?: string | undefined;
|
|
441
445
|
accounting_category_id?: string | undefined;
|
|
442
446
|
}[];
|
|
443
447
|
service_id?: string | undefined;
|
|
448
|
+
reservation?: {
|
|
449
|
+
id: string;
|
|
450
|
+
source_ref: {
|
|
451
|
+
id?: string | undefined;
|
|
452
|
+
model?: string | undefined;
|
|
453
|
+
};
|
|
454
|
+
start_date?: string | undefined;
|
|
455
|
+
end_date?: string | undefined;
|
|
456
|
+
creation_date?: string | undefined;
|
|
457
|
+
resource_id?: {
|
|
458
|
+
id: string;
|
|
459
|
+
source_ref: {
|
|
460
|
+
id?: string | undefined;
|
|
461
|
+
model?: string | undefined;
|
|
462
|
+
};
|
|
463
|
+
} | undefined;
|
|
464
|
+
resource_name?: string | undefined;
|
|
465
|
+
resource_identifier?: string | undefined;
|
|
466
|
+
} | undefined;
|
|
467
|
+
bills?: {
|
|
468
|
+
id: string;
|
|
469
|
+
source_ref: {
|
|
470
|
+
id?: string | undefined;
|
|
471
|
+
model?: string | undefined;
|
|
472
|
+
};
|
|
473
|
+
invoice_number?: string | undefined;
|
|
474
|
+
creation_date?: string | undefined;
|
|
475
|
+
closing_date?: string | undefined;
|
|
476
|
+
partners?: {
|
|
477
|
+
id: string;
|
|
478
|
+
source_ref: {
|
|
479
|
+
id?: string | undefined;
|
|
480
|
+
model?: string | undefined;
|
|
481
|
+
};
|
|
482
|
+
type: "owner" | "account";
|
|
483
|
+
address?: {
|
|
484
|
+
address_type?: string | undefined;
|
|
485
|
+
name?: string | undefined;
|
|
486
|
+
street?: string | undefined;
|
|
487
|
+
number?: string | undefined;
|
|
488
|
+
box?: string | undefined;
|
|
489
|
+
city?: string | undefined;
|
|
490
|
+
postal_code?: string | undefined;
|
|
491
|
+
country?: string | undefined;
|
|
492
|
+
} | undefined;
|
|
493
|
+
first_name?: string | undefined;
|
|
494
|
+
last_name?: string | undefined;
|
|
495
|
+
company_name?: string | undefined;
|
|
496
|
+
}[] | undefined;
|
|
497
|
+
}[] | undefined;
|
|
444
498
|
}[]>;
|
|
445
499
|
getPaymentMethods(params?: {
|
|
446
500
|
location_id?: string | undefined;
|
|
@@ -476,6 +530,13 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
476
530
|
status: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised";
|
|
477
531
|
currency?: string | undefined;
|
|
478
532
|
date?: string | undefined;
|
|
533
|
+
partner_id?: {
|
|
534
|
+
id: string;
|
|
535
|
+
source_ref: {
|
|
536
|
+
id?: string | undefined;
|
|
537
|
+
model?: string | undefined;
|
|
538
|
+
};
|
|
539
|
+
} | undefined;
|
|
479
540
|
}[]>;
|
|
480
541
|
getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
|
|
481
542
|
id: string;
|
|
@@ -488,6 +549,128 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
488
549
|
ledger_account_code?: string | undefined;
|
|
489
550
|
posting_account_code?: string | undefined;
|
|
490
551
|
}[]>;
|
|
552
|
+
getCustomers(params?: {} | undefined): import("../types/api").RequestData<{
|
|
553
|
+
id: string;
|
|
554
|
+
source_ref: {
|
|
555
|
+
id?: string | undefined;
|
|
556
|
+
model?: string | undefined;
|
|
557
|
+
};
|
|
558
|
+
first_name?: string | undefined;
|
|
559
|
+
last_name?: string | undefined;
|
|
560
|
+
company_name?: string | undefined;
|
|
561
|
+
phone?: string | undefined;
|
|
562
|
+
email?: string | undefined;
|
|
563
|
+
account_number?: string | undefined;
|
|
564
|
+
created_on?: string | undefined;
|
|
565
|
+
addresses?: {
|
|
566
|
+
address_type?: string | undefined;
|
|
567
|
+
name?: string | undefined;
|
|
568
|
+
street?: string | undefined;
|
|
569
|
+
number?: string | undefined;
|
|
570
|
+
box?: string | undefined;
|
|
571
|
+
city?: string | undefined;
|
|
572
|
+
postal_code?: string | undefined;
|
|
573
|
+
country?: string | undefined;
|
|
574
|
+
}[] | undefined;
|
|
575
|
+
}[]>;
|
|
576
|
+
getInvoices(params?: {
|
|
577
|
+
date_from: string;
|
|
578
|
+
date_to: string;
|
|
579
|
+
location_id?: string | undefined;
|
|
580
|
+
} | undefined): import("../types/api").RequestData<{
|
|
581
|
+
id: string;
|
|
582
|
+
source_ref: {
|
|
583
|
+
id?: string | undefined;
|
|
584
|
+
model?: string | undefined;
|
|
585
|
+
};
|
|
586
|
+
invoice_number?: string | undefined;
|
|
587
|
+
creation_date?: string | undefined;
|
|
588
|
+
closing_date?: string | undefined;
|
|
589
|
+
partners?: {
|
|
590
|
+
id: string;
|
|
591
|
+
source_ref: {
|
|
592
|
+
id?: string | undefined;
|
|
593
|
+
model?: string | undefined;
|
|
594
|
+
};
|
|
595
|
+
type: "owner" | "account";
|
|
596
|
+
address?: {
|
|
597
|
+
address_type?: string | undefined;
|
|
598
|
+
name?: string | undefined;
|
|
599
|
+
street?: string | undefined;
|
|
600
|
+
number?: string | undefined;
|
|
601
|
+
box?: string | undefined;
|
|
602
|
+
city?: string | undefined;
|
|
603
|
+
postal_code?: string | undefined;
|
|
604
|
+
country?: string | undefined;
|
|
605
|
+
} | undefined;
|
|
606
|
+
first_name?: string | undefined;
|
|
607
|
+
last_name?: string | undefined;
|
|
608
|
+
company_name?: string | undefined;
|
|
609
|
+
}[] | undefined;
|
|
610
|
+
items: {
|
|
611
|
+
id: string;
|
|
612
|
+
source_ref: {
|
|
613
|
+
id?: string | undefined;
|
|
614
|
+
model?: string | undefined;
|
|
615
|
+
};
|
|
616
|
+
type?: "menu" | "product" | undefined;
|
|
617
|
+
menu_id?: string | undefined;
|
|
618
|
+
quantity: number;
|
|
619
|
+
unit_price: number;
|
|
620
|
+
total: number;
|
|
621
|
+
tax_amount: number;
|
|
622
|
+
tax_rate?: number | undefined;
|
|
623
|
+
description?: string | undefined;
|
|
624
|
+
discounts: {
|
|
625
|
+
name?: string | undefined;
|
|
626
|
+
total: number;
|
|
627
|
+
type: "OFFERED" | "UNKNOWN" | "LOSS";
|
|
628
|
+
}[];
|
|
629
|
+
product_id?: string | undefined;
|
|
630
|
+
accounting_category_id?: string | undefined;
|
|
631
|
+
}[];
|
|
632
|
+
payments: {
|
|
633
|
+
id?: string | undefined;
|
|
634
|
+
source_ref: {
|
|
635
|
+
id?: string | undefined;
|
|
636
|
+
model?: string | undefined;
|
|
637
|
+
};
|
|
638
|
+
payment_method_id?: string | undefined;
|
|
639
|
+
payment_method_name?: string | undefined;
|
|
640
|
+
total: number;
|
|
641
|
+
tip: number;
|
|
642
|
+
status: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised";
|
|
643
|
+
currency?: string | undefined;
|
|
644
|
+
date?: string | undefined;
|
|
645
|
+
partner_id?: {
|
|
646
|
+
id: string;
|
|
647
|
+
source_ref: {
|
|
648
|
+
id?: string | undefined;
|
|
649
|
+
model?: string | undefined;
|
|
650
|
+
};
|
|
651
|
+
} | undefined;
|
|
652
|
+
}[];
|
|
653
|
+
service_id?: string | undefined;
|
|
654
|
+
reservation?: {
|
|
655
|
+
id: string;
|
|
656
|
+
source_ref: {
|
|
657
|
+
id?: string | undefined;
|
|
658
|
+
model?: string | undefined;
|
|
659
|
+
};
|
|
660
|
+
start_date?: string | undefined;
|
|
661
|
+
end_date?: string | undefined;
|
|
662
|
+
creation_date?: string | undefined;
|
|
663
|
+
resource_id?: {
|
|
664
|
+
id: string;
|
|
665
|
+
source_ref: {
|
|
666
|
+
id?: string | undefined;
|
|
667
|
+
model?: string | undefined;
|
|
668
|
+
};
|
|
669
|
+
} | undefined;
|
|
670
|
+
resource_name?: string | undefined;
|
|
671
|
+
resource_identifier?: string | undefined;
|
|
672
|
+
} | undefined;
|
|
673
|
+
}[]>;
|
|
491
674
|
}>;
|
|
492
675
|
payment: import("../types/api").ApiFor<{
|
|
493
676
|
getPayments(params: {
|
|
@@ -539,8 +722,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
539
722
|
payment_id?: string | undefined;
|
|
540
723
|
}[]>;
|
|
541
724
|
getPayment(params: {
|
|
542
|
-
payment_id: string;
|
|
543
725
|
consumer_id: string;
|
|
726
|
+
payment_id: string;
|
|
544
727
|
}): import("../types/api").RequestData<{
|
|
545
728
|
id: string;
|
|
546
729
|
source_ref: {
|
|
@@ -583,6 +766,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
583
766
|
getClients(params?: {
|
|
584
767
|
search?: string | undefined;
|
|
585
768
|
folder_id?: string | undefined;
|
|
769
|
+
updated_after?: string | undefined;
|
|
586
770
|
} | undefined): import("../types/api").RequestData<{
|
|
587
771
|
external_reference?: string | undefined;
|
|
588
772
|
first_name?: string | undefined;
|
|
@@ -653,8 +837,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
653
837
|
}[];
|
|
654
838
|
account_number?: string | undefined;
|
|
655
839
|
}, params?: {
|
|
656
|
-
force_merge?: string | undefined;
|
|
657
840
|
folder_id?: string | undefined;
|
|
841
|
+
force_merge?: string | undefined;
|
|
658
842
|
} | undefined): import("../types/api").RequestData<{
|
|
659
843
|
external_reference?: string | undefined;
|
|
660
844
|
first_name?: string | undefined;
|
|
@@ -802,6 +986,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
802
986
|
getSuppliers(params?: {
|
|
803
987
|
search?: string | undefined;
|
|
804
988
|
folder_id?: string | undefined;
|
|
989
|
+
updated_after?: string | undefined;
|
|
805
990
|
} | undefined): import("../types/api").RequestData<{
|
|
806
991
|
external_reference?: string | undefined;
|
|
807
992
|
first_name?: string | undefined;
|
|
@@ -872,8 +1057,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
872
1057
|
}[];
|
|
873
1058
|
account_number?: string | undefined;
|
|
874
1059
|
}, params?: {
|
|
875
|
-
force_merge?: string | undefined;
|
|
876
1060
|
folder_id?: string | undefined;
|
|
1061
|
+
force_merge?: string | undefined;
|
|
877
1062
|
} | undefined): import("../types/api").RequestData<{
|
|
878
1063
|
external_reference?: string | undefined;
|
|
879
1064
|
first_name?: string | undefined;
|
|
@@ -1067,9 +1252,9 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1067
1252
|
analytic_account?: string | undefined;
|
|
1068
1253
|
}[];
|
|
1069
1254
|
}, params?: {
|
|
1255
|
+
folder_id?: string | undefined;
|
|
1070
1256
|
force_financial_period?: string | undefined;
|
|
1071
1257
|
regroup_lines?: "true" | "false" | undefined;
|
|
1072
|
-
folder_id?: string | undefined;
|
|
1073
1258
|
} | undefined): import("../types/api").RequestData<{
|
|
1074
1259
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1075
1260
|
invoice_number?: string | undefined;
|
|
@@ -1170,9 +1355,9 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1170
1355
|
}[];
|
|
1171
1356
|
}[];
|
|
1172
1357
|
}, params?: {
|
|
1358
|
+
folder_id?: string | undefined;
|
|
1173
1359
|
force_financial_period?: string | undefined;
|
|
1174
1360
|
regroup_lines?: "true" | "false" | undefined;
|
|
1175
|
-
folder_id?: string | undefined;
|
|
1176
1361
|
} | undefined): import("../types/api").RequestData<{
|
|
1177
1362
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1178
1363
|
invoice_number?: string | undefined;
|
|
@@ -1231,6 +1416,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1231
1416
|
journal_ids?: string | undefined;
|
|
1232
1417
|
include_payments?: "true" | "false" | undefined;
|
|
1233
1418
|
payment_status?: "all" | "paid" | "unpaid" | undefined;
|
|
1419
|
+
updated_after?: string | undefined;
|
|
1234
1420
|
} | undefined): import("../types/api").RequestData<{
|
|
1235
1421
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1236
1422
|
invoice_number?: string | undefined;
|
|
@@ -1277,8 +1463,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1277
1463
|
}[];
|
|
1278
1464
|
}[]>;
|
|
1279
1465
|
getInvoice(invoiceId: string, params?: {
|
|
1280
|
-
include_payments?: "true" | "false" | undefined;
|
|
1281
1466
|
folder_id?: string | undefined;
|
|
1467
|
+
include_payments?: "true" | "false" | undefined;
|
|
1282
1468
|
} | undefined): import("../types/api").RequestData<{
|
|
1283
1469
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1284
1470
|
invoice_number?: string | undefined;
|
|
@@ -1325,8 +1511,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1325
1511
|
}[];
|
|
1326
1512
|
}>;
|
|
1327
1513
|
getInvoiceWithMultiplePlans(invoiceId: string, params?: {
|
|
1328
|
-
include_payments?: "true" | "false" | undefined;
|
|
1329
1514
|
folder_id?: string | undefined;
|
|
1515
|
+
include_payments?: "true" | "false" | undefined;
|
|
1330
1516
|
} | undefined): import("../types/api").RequestData<{
|
|
1331
1517
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1332
1518
|
invoice_number?: string | undefined;
|
|
@@ -1385,6 +1571,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1385
1571
|
journal_ids?: string | undefined;
|
|
1386
1572
|
include_payments?: "true" | "false" | undefined;
|
|
1387
1573
|
payment_status?: "all" | "paid" | "unpaid" | undefined;
|
|
1574
|
+
updated_after?: string | undefined;
|
|
1388
1575
|
} | undefined): import("../types/api").RequestData<{
|
|
1389
1576
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1390
1577
|
invoice_number?: string | undefined;
|
|
@@ -1557,9 +1744,10 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1557
1744
|
analytic_plan: string;
|
|
1558
1745
|
}[]>;
|
|
1559
1746
|
getJournalEntries(params: {
|
|
1560
|
-
date_from
|
|
1561
|
-
date_to
|
|
1747
|
+
date_from?: string | undefined;
|
|
1748
|
+
date_to?: string | undefined;
|
|
1562
1749
|
folder_id?: string | undefined;
|
|
1750
|
+
updated_after?: string | undefined;
|
|
1563
1751
|
unposted_allowed: "true" | "false";
|
|
1564
1752
|
journal_id: string;
|
|
1565
1753
|
partner_id?: string | undefined;
|
|
@@ -1589,9 +1777,10 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1589
1777
|
}[];
|
|
1590
1778
|
}[]>;
|
|
1591
1779
|
getJournalEntriesWithMultiplePlans(params: {
|
|
1592
|
-
date_from
|
|
1593
|
-
date_to
|
|
1780
|
+
date_from?: string | undefined;
|
|
1781
|
+
date_to?: string | undefined;
|
|
1594
1782
|
folder_id?: string | undefined;
|
|
1783
|
+
updated_after?: string | undefined;
|
|
1595
1784
|
unposted_allowed: "true" | "false";
|
|
1596
1785
|
journal_id: string;
|
|
1597
1786
|
partner_id?: string | undefined;
|
|
@@ -1626,9 +1815,9 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1626
1815
|
}[];
|
|
1627
1816
|
}[]>;
|
|
1628
1817
|
getPaymentsByInvoiceId(invoice_id: string, params?: {
|
|
1629
|
-
folder_id?: string | undefined;
|
|
1630
1818
|
page?: number | undefined;
|
|
1631
1819
|
size?: number | undefined;
|
|
1820
|
+
folder_id?: string | undefined;
|
|
1632
1821
|
} | undefined): import("../types/api").RequestData<{
|
|
1633
1822
|
id: string;
|
|
1634
1823
|
name: string;
|
|
@@ -1752,8 +1941,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1752
1941
|
attachPDF(invoice_id: string, attachment: {
|
|
1753
1942
|
base64_string: string;
|
|
1754
1943
|
}, params?: {
|
|
1755
|
-
overwrite_existing?: "true" | "false" | undefined;
|
|
1756
1944
|
folder_id?: string | undefined;
|
|
1945
|
+
overwrite_existing?: "true" | "false" | undefined;
|
|
1757
1946
|
} | undefined): import("../types/api").RequestData<{
|
|
1758
1947
|
headers: {
|
|
1759
1948
|
[name: string]: unknown;
|
|
@@ -1770,8 +1959,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1770
1959
|
base64_string: string;
|
|
1771
1960
|
}[]>;
|
|
1772
1961
|
getChartOfAccounts(params?: {
|
|
1773
|
-
classes?: string | undefined;
|
|
1774
1962
|
folder_id?: string | undefined;
|
|
1963
|
+
classes?: string | undefined;
|
|
1775
1964
|
} | undefined): import("../types/api").RequestData<{
|
|
1776
1965
|
number: string;
|
|
1777
1966
|
name: string;
|
|
@@ -1827,8 +2016,18 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1827
2016
|
partner_id: string;
|
|
1828
2017
|
account_number: string;
|
|
1829
2018
|
reference?: string | undefined;
|
|
2019
|
+
matching_numbers: string[];
|
|
1830
2020
|
payment_communication?: string | undefined;
|
|
1831
2021
|
posted: boolean;
|
|
2022
|
+
original_document?: {
|
|
2023
|
+
id?: string | undefined;
|
|
2024
|
+
number?: string | undefined;
|
|
2025
|
+
journal_id?: string | undefined;
|
|
2026
|
+
journal_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "financial_operation" | "miscellaneous_operation" | "unknown" | undefined;
|
|
2027
|
+
date?: string | undefined;
|
|
2028
|
+
due_date?: string | undefined;
|
|
2029
|
+
reference?: string | undefined;
|
|
2030
|
+
} | undefined;
|
|
1832
2031
|
}[]>;
|
|
1833
2032
|
createFinancialEntryOld(financial_entry: {
|
|
1834
2033
|
date: string;
|
|
@@ -1846,8 +2045,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1846
2045
|
}[];
|
|
1847
2046
|
pdf?: string | undefined;
|
|
1848
2047
|
}, params?: {
|
|
1849
|
-
financial_counterpart_account?: string | undefined;
|
|
1850
2048
|
folder_id?: string | undefined;
|
|
2049
|
+
financial_counterpart_account?: string | undefined;
|
|
1851
2050
|
} | undefined): import("../types/api").RequestData<{
|
|
1852
2051
|
date: string;
|
|
1853
2052
|
journal_id: string;
|
|
@@ -1880,8 +2079,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1880
2079
|
}[];
|
|
1881
2080
|
pdf?: string | undefined;
|
|
1882
2081
|
}, params?: {
|
|
1883
|
-
financial_counterpart_account?: string | undefined;
|
|
1884
2082
|
folder_id?: string | undefined;
|
|
2083
|
+
financial_counterpart_account?: string | undefined;
|
|
1885
2084
|
} | undefined): import("../types/api").RequestData<{
|
|
1886
2085
|
date: string;
|
|
1887
2086
|
journal_id: string;
|
|
@@ -1981,8 +2180,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1981
2180
|
start_date?: string | undefined;
|
|
1982
2181
|
end_date?: string | undefined;
|
|
1983
2182
|
}, params?: {
|
|
1984
|
-
force_currency_exchange?: "true" | "false" | undefined;
|
|
1985
2183
|
folder_id?: string | undefined;
|
|
2184
|
+
force_currency_exchange?: "true" | "false" | undefined;
|
|
1986
2185
|
} | undefined): import("../types/api").RequestData<{
|
|
1987
2186
|
reference?: string | undefined;
|
|
1988
2187
|
due_date?: string | undefined;
|
|
@@ -2022,6 +2221,18 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2022
2221
|
matching_number: string;
|
|
2023
2222
|
balance: number;
|
|
2024
2223
|
}>;
|
|
2224
|
+
matchEntriesMultiple(body: {
|
|
2225
|
+
matchings: {
|
|
2226
|
+
entries: string[];
|
|
2227
|
+
partner_id: string;
|
|
2228
|
+
}[];
|
|
2229
|
+
}, params?: {
|
|
2230
|
+
folder_id?: string | undefined;
|
|
2231
|
+
} | undefined): import("../types/api").RequestData<{
|
|
2232
|
+
matching_number?: string | undefined;
|
|
2233
|
+
processed: boolean;
|
|
2234
|
+
error_msg?: Record<string, never> | undefined;
|
|
2235
|
+
}[]>;
|
|
2025
2236
|
getFolders(): import("../types/api").RequestData<{
|
|
2026
2237
|
id: string;
|
|
2027
2238
|
name: string;
|
|
@@ -2029,14 +2240,23 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2029
2240
|
vat?: string | undefined;
|
|
2030
2241
|
company_number?: string | undefined;
|
|
2031
2242
|
}[]>;
|
|
2243
|
+
getBookyears(params?: {
|
|
2244
|
+
folder_id?: string | undefined;
|
|
2245
|
+
} | undefined): import("../types/api").RequestData<{
|
|
2246
|
+
name: string;
|
|
2247
|
+
start: string;
|
|
2248
|
+
end: string;
|
|
2249
|
+
closed: boolean;
|
|
2250
|
+
}[]>;
|
|
2032
2251
|
}>;
|
|
2033
2252
|
invoicing: import("../types/api").ApiFor<{
|
|
2034
2253
|
getInvoices(params?: {
|
|
2035
2254
|
date_from?: string | undefined;
|
|
2036
2255
|
date_to?: string | undefined;
|
|
2037
2256
|
payment_status?: "all" | "paid" | "unpaid" | undefined;
|
|
2038
|
-
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | undefined;
|
|
2039
2257
|
updated_after?: string | undefined;
|
|
2258
|
+
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | undefined;
|
|
2259
|
+
include_invoice_lines?: "true" | "false" | undefined;
|
|
2040
2260
|
} | undefined): import("../types/api").RequestData<{
|
|
2041
2261
|
id: string;
|
|
2042
2262
|
source_ref: {
|
|
@@ -2044,7 +2264,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2044
2264
|
model?: string | undefined;
|
|
2045
2265
|
};
|
|
2046
2266
|
currency: string;
|
|
2047
|
-
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
2267
|
+
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all";
|
|
2048
2268
|
status: "draft" | "posted" | "cancelled" | "paid";
|
|
2049
2269
|
invoice_date: string;
|
|
2050
2270
|
tax_amount: number;
|
|
@@ -2061,6 +2281,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2061
2281
|
tax_rate?: number | undefined;
|
|
2062
2282
|
account_number?: string | undefined;
|
|
2063
2283
|
tax_id?: string | undefined;
|
|
2284
|
+
tax_exemption_reason?: string | undefined;
|
|
2064
2285
|
unit_of_measure?: string | undefined;
|
|
2065
2286
|
product_id?: string | undefined;
|
|
2066
2287
|
product_code?: string | undefined;
|
|
@@ -2077,9 +2298,29 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2077
2298
|
model?: string | undefined;
|
|
2078
2299
|
name?: string | undefined;
|
|
2079
2300
|
} | undefined;
|
|
2301
|
+
italian_specificities?: {
|
|
2302
|
+
stamp_duty_amount?: number | undefined;
|
|
2303
|
+
withholding_tax?: {
|
|
2304
|
+
rate: number;
|
|
2305
|
+
amount: number;
|
|
2306
|
+
reason?: "RT01" | "RT02" | "RT03" | "RT04" | "RT05" | "RT06" | undefined;
|
|
2307
|
+
payment_reason?: "A" | "U" | "R" | "Q" | "H" | "V" | "V2" | "I" | "J" | "K" | "P" | "S" | "T" | "W" | "X" | "Y" | "B" | "C" | "D" | "E" | "F" | "G" | "L" | "L1" | "M" | "M1" | "M2" | "IN" | "O" | "O1" | "V1" | undefined;
|
|
2308
|
+
} | undefined;
|
|
2309
|
+
welfare_fund?: {
|
|
2310
|
+
rate: number;
|
|
2311
|
+
amount: number;
|
|
2312
|
+
type?: "TC01" | "TC02" | "TC03" | "TC04" | "TC05" | "TC06" | "TC07" | "TC08" | "TC09" | "TC10" | "TC11" | "TC12" | "TC13" | "TC14" | "TC15" | "TC16" | "TC17" | "TC18" | "TC19" | "TC20" | "TC21" | "TC22" | undefined;
|
|
2313
|
+
} | undefined;
|
|
2314
|
+
payment_reporting?: {
|
|
2315
|
+
method?: "MP01" | "MP02" | "MP03" | "MP04" | "MP05" | "MP06" | "MP07" | "MP08" | "MP09" | "MP10" | "MP11" | "MP12" | "MP13" | "MP14" | "MP15" | "MP16" | "MP17" | "MP18" | "MP19" | "MP20" | "MP21" | "MP22" | "MP23" | undefined;
|
|
2316
|
+
conditions?: "TP01" | "TP02" | "TP03" | undefined;
|
|
2317
|
+
} | undefined;
|
|
2318
|
+
} | undefined;
|
|
2080
2319
|
last_updated_on?: string | undefined;
|
|
2081
2320
|
outstanding_amount?: number | undefined;
|
|
2082
2321
|
accounting_date?: string | undefined;
|
|
2322
|
+
payment_method_id?: string | undefined;
|
|
2323
|
+
currency_exchange_rate: number;
|
|
2083
2324
|
}[]>;
|
|
2084
2325
|
getInvoiceById(invoiceId: string, params?: {
|
|
2085
2326
|
include_pdf?: "true" | "false" | undefined;
|
|
@@ -2090,7 +2331,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2090
2331
|
model?: string | undefined;
|
|
2091
2332
|
};
|
|
2092
2333
|
currency: string;
|
|
2093
|
-
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
2334
|
+
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all";
|
|
2094
2335
|
status: "draft" | "posted" | "cancelled" | "paid";
|
|
2095
2336
|
invoice_date: string;
|
|
2096
2337
|
tax_amount: number;
|
|
@@ -2107,6 +2348,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2107
2348
|
tax_rate?: number | undefined;
|
|
2108
2349
|
account_number?: string | undefined;
|
|
2109
2350
|
tax_id?: string | undefined;
|
|
2351
|
+
tax_exemption_reason?: string | undefined;
|
|
2110
2352
|
unit_of_measure?: string | undefined;
|
|
2111
2353
|
product_id?: string | undefined;
|
|
2112
2354
|
product_code?: string | undefined;
|
|
@@ -2123,13 +2365,33 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2123
2365
|
model?: string | undefined;
|
|
2124
2366
|
name?: string | undefined;
|
|
2125
2367
|
} | undefined;
|
|
2368
|
+
italian_specificities?: {
|
|
2369
|
+
stamp_duty_amount?: number | undefined;
|
|
2370
|
+
withholding_tax?: {
|
|
2371
|
+
rate: number;
|
|
2372
|
+
amount: number;
|
|
2373
|
+
reason?: "RT01" | "RT02" | "RT03" | "RT04" | "RT05" | "RT06" | undefined;
|
|
2374
|
+
payment_reason?: "A" | "U" | "R" | "Q" | "H" | "V" | "V2" | "I" | "J" | "K" | "P" | "S" | "T" | "W" | "X" | "Y" | "B" | "C" | "D" | "E" | "F" | "G" | "L" | "L1" | "M" | "M1" | "M2" | "IN" | "O" | "O1" | "V1" | undefined;
|
|
2375
|
+
} | undefined;
|
|
2376
|
+
welfare_fund?: {
|
|
2377
|
+
rate: number;
|
|
2378
|
+
amount: number;
|
|
2379
|
+
type?: "TC01" | "TC02" | "TC03" | "TC04" | "TC05" | "TC06" | "TC07" | "TC08" | "TC09" | "TC10" | "TC11" | "TC12" | "TC13" | "TC14" | "TC15" | "TC16" | "TC17" | "TC18" | "TC19" | "TC20" | "TC21" | "TC22" | undefined;
|
|
2380
|
+
} | undefined;
|
|
2381
|
+
payment_reporting?: {
|
|
2382
|
+
method?: "MP01" | "MP02" | "MP03" | "MP04" | "MP05" | "MP06" | "MP07" | "MP08" | "MP09" | "MP10" | "MP11" | "MP12" | "MP13" | "MP14" | "MP15" | "MP16" | "MP17" | "MP18" | "MP19" | "MP20" | "MP21" | "MP22" | "MP23" | undefined;
|
|
2383
|
+
conditions?: "TP01" | "TP02" | "TP03" | undefined;
|
|
2384
|
+
} | undefined;
|
|
2385
|
+
} | undefined;
|
|
2126
2386
|
last_updated_on?: string | undefined;
|
|
2127
2387
|
outstanding_amount?: number | undefined;
|
|
2128
2388
|
accounting_date?: string | undefined;
|
|
2389
|
+
payment_method_id?: string | undefined;
|
|
2390
|
+
currency_exchange_rate: number;
|
|
2129
2391
|
}>;
|
|
2130
2392
|
createInvoice(invoice: {
|
|
2131
2393
|
currency: string;
|
|
2132
|
-
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
2394
|
+
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all";
|
|
2133
2395
|
status: "draft" | "posted" | "cancelled" | "paid";
|
|
2134
2396
|
invoice_date: string;
|
|
2135
2397
|
tax_amount: number;
|
|
@@ -2146,6 +2408,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2146
2408
|
tax_rate?: number | undefined;
|
|
2147
2409
|
account_number?: string | undefined;
|
|
2148
2410
|
tax_id?: string | undefined;
|
|
2411
|
+
tax_exemption_reason?: string | undefined;
|
|
2149
2412
|
unit_of_measure?: string | undefined;
|
|
2150
2413
|
product_id?: string | undefined;
|
|
2151
2414
|
product_code?: string | undefined;
|
|
@@ -2162,6 +2425,24 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2162
2425
|
model?: string | undefined;
|
|
2163
2426
|
name?: string | undefined;
|
|
2164
2427
|
} | undefined;
|
|
2428
|
+
italian_specificities?: {
|
|
2429
|
+
stamp_duty_amount?: number | undefined;
|
|
2430
|
+
withholding_tax?: {
|
|
2431
|
+
rate: number;
|
|
2432
|
+
amount: number;
|
|
2433
|
+
reason?: "RT01" | "RT02" | "RT03" | "RT04" | "RT05" | "RT06" | undefined;
|
|
2434
|
+
payment_reason?: "A" | "U" | "R" | "Q" | "H" | "V" | "V2" | "I" | "J" | "K" | "P" | "S" | "T" | "W" | "X" | "Y" | "B" | "C" | "D" | "E" | "F" | "G" | "L" | "L1" | "M" | "M1" | "M2" | "IN" | "O" | "O1" | "V1" | undefined;
|
|
2435
|
+
} | undefined;
|
|
2436
|
+
welfare_fund?: {
|
|
2437
|
+
rate: number;
|
|
2438
|
+
amount: number;
|
|
2439
|
+
type?: "TC01" | "TC02" | "TC03" | "TC04" | "TC05" | "TC06" | "TC07" | "TC08" | "TC09" | "TC10" | "TC11" | "TC12" | "TC13" | "TC14" | "TC15" | "TC16" | "TC17" | "TC18" | "TC19" | "TC20" | "TC21" | "TC22" | undefined;
|
|
2440
|
+
} | undefined;
|
|
2441
|
+
payment_reporting?: {
|
|
2442
|
+
method?: "MP01" | "MP02" | "MP03" | "MP04" | "MP05" | "MP06" | "MP07" | "MP08" | "MP09" | "MP10" | "MP11" | "MP12" | "MP13" | "MP14" | "MP15" | "MP16" | "MP17" | "MP18" | "MP19" | "MP20" | "MP21" | "MP22" | "MP23" | undefined;
|
|
2443
|
+
conditions?: "TP01" | "TP02" | "TP03" | undefined;
|
|
2444
|
+
} | undefined;
|
|
2445
|
+
} | undefined;
|
|
2165
2446
|
}): import("../types/api").RequestData<{
|
|
2166
2447
|
id: string;
|
|
2167
2448
|
source_ref: {
|
|
@@ -2169,7 +2450,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2169
2450
|
model?: string | undefined;
|
|
2170
2451
|
};
|
|
2171
2452
|
currency: string;
|
|
2172
|
-
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
2453
|
+
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all";
|
|
2173
2454
|
status: "draft" | "posted" | "cancelled" | "paid";
|
|
2174
2455
|
invoice_date: string;
|
|
2175
2456
|
tax_amount: number;
|
|
@@ -2186,6 +2467,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2186
2467
|
tax_rate?: number | undefined;
|
|
2187
2468
|
account_number?: string | undefined;
|
|
2188
2469
|
tax_id?: string | undefined;
|
|
2470
|
+
tax_exemption_reason?: string | undefined;
|
|
2189
2471
|
unit_of_measure?: string | undefined;
|
|
2190
2472
|
product_id?: string | undefined;
|
|
2191
2473
|
product_code?: string | undefined;
|
|
@@ -2202,9 +2484,29 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2202
2484
|
model?: string | undefined;
|
|
2203
2485
|
name?: string | undefined;
|
|
2204
2486
|
} | undefined;
|
|
2487
|
+
italian_specificities?: {
|
|
2488
|
+
stamp_duty_amount?: number | undefined;
|
|
2489
|
+
withholding_tax?: {
|
|
2490
|
+
rate: number;
|
|
2491
|
+
amount: number;
|
|
2492
|
+
reason?: "RT01" | "RT02" | "RT03" | "RT04" | "RT05" | "RT06" | undefined;
|
|
2493
|
+
payment_reason?: "A" | "U" | "R" | "Q" | "H" | "V" | "V2" | "I" | "J" | "K" | "P" | "S" | "T" | "W" | "X" | "Y" | "B" | "C" | "D" | "E" | "F" | "G" | "L" | "L1" | "M" | "M1" | "M2" | "IN" | "O" | "O1" | "V1" | undefined;
|
|
2494
|
+
} | undefined;
|
|
2495
|
+
welfare_fund?: {
|
|
2496
|
+
rate: number;
|
|
2497
|
+
amount: number;
|
|
2498
|
+
type?: "TC01" | "TC02" | "TC03" | "TC04" | "TC05" | "TC06" | "TC07" | "TC08" | "TC09" | "TC10" | "TC11" | "TC12" | "TC13" | "TC14" | "TC15" | "TC16" | "TC17" | "TC18" | "TC19" | "TC20" | "TC21" | "TC22" | undefined;
|
|
2499
|
+
} | undefined;
|
|
2500
|
+
payment_reporting?: {
|
|
2501
|
+
method?: "MP01" | "MP02" | "MP03" | "MP04" | "MP05" | "MP06" | "MP07" | "MP08" | "MP09" | "MP10" | "MP11" | "MP12" | "MP13" | "MP14" | "MP15" | "MP16" | "MP17" | "MP18" | "MP19" | "MP20" | "MP21" | "MP22" | "MP23" | undefined;
|
|
2502
|
+
conditions?: "TP01" | "TP02" | "TP03" | undefined;
|
|
2503
|
+
} | undefined;
|
|
2504
|
+
} | undefined;
|
|
2205
2505
|
last_updated_on?: string | undefined;
|
|
2206
2506
|
outstanding_amount?: number | undefined;
|
|
2207
2507
|
accounting_date?: string | undefined;
|
|
2508
|
+
payment_method_id?: string | undefined;
|
|
2509
|
+
currency_exchange_rate: number;
|
|
2208
2510
|
}>;
|
|
2209
2511
|
getProducts(): import("../types/api").RequestData<{
|
|
2210
2512
|
id: string;
|
|
@@ -2501,6 +2803,31 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2501
2803
|
}[];
|
|
2502
2804
|
external_reference?: string | undefined;
|
|
2503
2805
|
}>;
|
|
2806
|
+
getPayments(): import("../types/api").RequestData<{
|
|
2807
|
+
id: string;
|
|
2808
|
+
source_ref: {
|
|
2809
|
+
id?: string | undefined;
|
|
2810
|
+
model?: string | undefined;
|
|
2811
|
+
};
|
|
2812
|
+
status: "unknown" | "pending" | "completed" | "canceled" | "failed" | "authorized";
|
|
2813
|
+
description: string;
|
|
2814
|
+
amount: number;
|
|
2815
|
+
currency: string;
|
|
2816
|
+
payment_date: string;
|
|
2817
|
+
partner_id: string;
|
|
2818
|
+
payment_method_id?: string | undefined;
|
|
2819
|
+
payment_method_name?: string | undefined;
|
|
2820
|
+
invoice_id?: string | undefined;
|
|
2821
|
+
invoice_number?: string | undefined;
|
|
2822
|
+
}[]>;
|
|
2823
|
+
getPaymentMethods(): import("../types/api").RequestData<{
|
|
2824
|
+
id: string;
|
|
2825
|
+
source_ref: {
|
|
2826
|
+
id?: string | undefined;
|
|
2827
|
+
model?: string | undefined;
|
|
2828
|
+
};
|
|
2829
|
+
name: string;
|
|
2830
|
+
}[]>;
|
|
2504
2831
|
}>;
|
|
2505
2832
|
ecommerce: import("../types/api").ApiFor<{
|
|
2506
2833
|
getCustomers(): import("../types/api").RequestData<{
|
|
@@ -3634,5 +3961,43 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
3634
3961
|
logData: (logs: ConsumerLog[]) => Promise<SimpleResponseModel>;
|
|
3635
3962
|
setConnectionId: (connectionId: string) => Promise<void>;
|
|
3636
3963
|
setIntegrationId: (integrationId: string) => Promise<void>;
|
|
3964
|
+
updateConsumer: (body: components['schemas']['UpdateConsumerItem']) => Promise<{
|
|
3965
|
+
consumerid: string;
|
|
3966
|
+
name: string;
|
|
3967
|
+
email?: string | undefined;
|
|
3968
|
+
internal_reference?: string | undefined;
|
|
3969
|
+
redirect_url?: string | undefined;
|
|
3970
|
+
}>;
|
|
3971
|
+
updateFlowConfig: (syncId: string, flowId: string, body: components['schemas']['UpdateFlowConsumer']) => Promise<{
|
|
3972
|
+
name: string;
|
|
3973
|
+
description?: string | undefined;
|
|
3974
|
+
id: string;
|
|
3975
|
+
config?: {
|
|
3976
|
+
definitionFields?: Record<string, never>[] | undefined;
|
|
3977
|
+
doorkeyFields?: Record<string, never>[] | undefined;
|
|
3978
|
+
customFields?: Record<string, never>[] | undefined;
|
|
3979
|
+
datastores: {
|
|
3980
|
+
id?: string | undefined;
|
|
3981
|
+
name: string;
|
|
3982
|
+
status: "active" | "inactive";
|
|
3983
|
+
definition: {
|
|
3984
|
+
columns: {
|
|
3985
|
+
name: string;
|
|
3986
|
+
title: string;
|
|
3987
|
+
type: string;
|
|
3988
|
+
optional: boolean;
|
|
3989
|
+
}[];
|
|
3990
|
+
search_column?: string | undefined;
|
|
3991
|
+
};
|
|
3992
|
+
}[];
|
|
3993
|
+
} | undefined;
|
|
3994
|
+
values: Record<string, never>;
|
|
3995
|
+
enabled_on?: string | undefined;
|
|
3996
|
+
trigger: {
|
|
3997
|
+
id: string;
|
|
3998
|
+
type: "event" | "timer";
|
|
3999
|
+
cronschedule?: string | undefined;
|
|
4000
|
+
};
|
|
4001
|
+
}>;
|
|
3637
4002
|
};
|
|
3638
4003
|
export { Consumer };
|