@spaceinvoices/js-sdk 14.31.0 → 14.33.0
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/generated/model/createWebhookBody.d.cts +1 -1
- package/dist/generated/model/createWebhookBody.d.ts +1 -1
- package/dist/generated/model/createWebhookBodyEventsItem.d.cts +38 -0
- package/dist/generated/model/createWebhookBodyEventsItem.d.ts +38 -0
- package/dist/generated/model/updateWebhookBodyEventsItem.d.cts +38 -0
- package/dist/generated/model/updateWebhookBodyEventsItem.d.ts +38 -0
- package/dist/generated/model/webhookResponseEventsItem.d.cts +38 -0
- package/dist/generated/model/webhookResponseEventsItem.d.ts +38 -0
- package/dist/generated/model/webhookWithSecretEventsItem.d.cts +38 -0
- package/dist/generated/model/webhookWithSecretEventsItem.d.ts +38 -0
- package/dist/generated-zod/webhooks/webhooks.d.cts +228 -0
- package/dist/generated-zod/webhooks/webhooks.d.ts +228 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -50,11 +50,13 @@ export declare const CreateWebhookBody: zod.ZodObject<{
|
|
|
50
50
|
"estimate.deleted": "estimate.deleted";
|
|
51
51
|
"estimate.restored": "estimate.restored";
|
|
52
52
|
"credit_note.created": "credit_note.created";
|
|
53
|
+
"credit_note.updated": "credit_note.updated";
|
|
53
54
|
"credit_note.issued": "credit_note.issued";
|
|
54
55
|
"credit_note.voided": "credit_note.voided";
|
|
55
56
|
"credit_note.deleted": "credit_note.deleted";
|
|
56
57
|
"credit_note.restored": "credit_note.restored";
|
|
57
58
|
"advance_invoice.created": "advance_invoice.created";
|
|
59
|
+
"advance_invoice.updated": "advance_invoice.updated";
|
|
58
60
|
"advance_invoice.paid": "advance_invoice.paid";
|
|
59
61
|
"advance_invoice.applied": "advance_invoice.applied";
|
|
60
62
|
"advance_invoice.voided": "advance_invoice.voided";
|
|
@@ -119,6 +121,42 @@ export declare const CreateWebhookBody: zod.ZodObject<{
|
|
|
119
121
|
"email.bounced": "email.bounced";
|
|
120
122
|
"email.complained": "email.complained";
|
|
121
123
|
"email.opened": "email.opened";
|
|
124
|
+
"*": "*";
|
|
125
|
+
"document.*": "document.*";
|
|
126
|
+
"document.created": "document.created";
|
|
127
|
+
"document.updated": "document.updated";
|
|
128
|
+
"document.sent": "document.sent";
|
|
129
|
+
"document.paid": "document.paid";
|
|
130
|
+
"document.overdue": "document.overdue";
|
|
131
|
+
"document.cancelled": "document.cancelled";
|
|
132
|
+
"document.deleted": "document.deleted";
|
|
133
|
+
"document.restored": "document.restored";
|
|
134
|
+
"document.voided": "document.voided";
|
|
135
|
+
"document.finalized": "document.finalized";
|
|
136
|
+
"document.accepted": "document.accepted";
|
|
137
|
+
"document.rejected": "document.rejected";
|
|
138
|
+
"document.issued": "document.issued";
|
|
139
|
+
"document.applied": "document.applied";
|
|
140
|
+
"invoice.*": "invoice.*";
|
|
141
|
+
"customer.*": "customer.*";
|
|
142
|
+
"payment.*": "payment.*";
|
|
143
|
+
"estimate.*": "estimate.*";
|
|
144
|
+
"credit_note.*": "credit_note.*";
|
|
145
|
+
"advance_invoice.*": "advance_invoice.*";
|
|
146
|
+
"item.*": "item.*";
|
|
147
|
+
"tax.*": "tax.*";
|
|
148
|
+
"recurring_invoice.*": "recurring_invoice.*";
|
|
149
|
+
"stripe_app.*": "stripe_app.*";
|
|
150
|
+
"order.*": "order.*";
|
|
151
|
+
"order_integration.*": "order_integration.*";
|
|
152
|
+
"delivery_note.*": "delivery_note.*";
|
|
153
|
+
"expense.*": "expense.*";
|
|
154
|
+
"e_invoicing.submission.*": "e_invoicing.submission.*";
|
|
155
|
+
"e_invoicing.enrollment.*": "e_invoicing.enrollment.*";
|
|
156
|
+
"e_invoicing.supplier.*": "e_invoicing.supplier.*";
|
|
157
|
+
"ksef.submission.*": "ksef.submission.*";
|
|
158
|
+
"email.*": "email.*";
|
|
159
|
+
"fiscalization.*": "fiscalization.*";
|
|
122
160
|
}>>;
|
|
123
161
|
active: zod.ZodDefault<zod.ZodBoolean>;
|
|
124
162
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
@@ -180,11 +218,13 @@ export declare const GetWebhooksResponse: zod.ZodObject<{
|
|
|
180
218
|
"estimate.deleted": "estimate.deleted";
|
|
181
219
|
"estimate.restored": "estimate.restored";
|
|
182
220
|
"credit_note.created": "credit_note.created";
|
|
221
|
+
"credit_note.updated": "credit_note.updated";
|
|
183
222
|
"credit_note.issued": "credit_note.issued";
|
|
184
223
|
"credit_note.voided": "credit_note.voided";
|
|
185
224
|
"credit_note.deleted": "credit_note.deleted";
|
|
186
225
|
"credit_note.restored": "credit_note.restored";
|
|
187
226
|
"advance_invoice.created": "advance_invoice.created";
|
|
227
|
+
"advance_invoice.updated": "advance_invoice.updated";
|
|
188
228
|
"advance_invoice.paid": "advance_invoice.paid";
|
|
189
229
|
"advance_invoice.applied": "advance_invoice.applied";
|
|
190
230
|
"advance_invoice.voided": "advance_invoice.voided";
|
|
@@ -249,6 +289,42 @@ export declare const GetWebhooksResponse: zod.ZodObject<{
|
|
|
249
289
|
"email.bounced": "email.bounced";
|
|
250
290
|
"email.complained": "email.complained";
|
|
251
291
|
"email.opened": "email.opened";
|
|
292
|
+
"*": "*";
|
|
293
|
+
"document.*": "document.*";
|
|
294
|
+
"document.created": "document.created";
|
|
295
|
+
"document.updated": "document.updated";
|
|
296
|
+
"document.sent": "document.sent";
|
|
297
|
+
"document.paid": "document.paid";
|
|
298
|
+
"document.overdue": "document.overdue";
|
|
299
|
+
"document.cancelled": "document.cancelled";
|
|
300
|
+
"document.deleted": "document.deleted";
|
|
301
|
+
"document.restored": "document.restored";
|
|
302
|
+
"document.voided": "document.voided";
|
|
303
|
+
"document.finalized": "document.finalized";
|
|
304
|
+
"document.accepted": "document.accepted";
|
|
305
|
+
"document.rejected": "document.rejected";
|
|
306
|
+
"document.issued": "document.issued";
|
|
307
|
+
"document.applied": "document.applied";
|
|
308
|
+
"invoice.*": "invoice.*";
|
|
309
|
+
"customer.*": "customer.*";
|
|
310
|
+
"payment.*": "payment.*";
|
|
311
|
+
"estimate.*": "estimate.*";
|
|
312
|
+
"credit_note.*": "credit_note.*";
|
|
313
|
+
"advance_invoice.*": "advance_invoice.*";
|
|
314
|
+
"item.*": "item.*";
|
|
315
|
+
"tax.*": "tax.*";
|
|
316
|
+
"recurring_invoice.*": "recurring_invoice.*";
|
|
317
|
+
"stripe_app.*": "stripe_app.*";
|
|
318
|
+
"order.*": "order.*";
|
|
319
|
+
"order_integration.*": "order_integration.*";
|
|
320
|
+
"delivery_note.*": "delivery_note.*";
|
|
321
|
+
"expense.*": "expense.*";
|
|
322
|
+
"e_invoicing.submission.*": "e_invoicing.submission.*";
|
|
323
|
+
"e_invoicing.enrollment.*": "e_invoicing.enrollment.*";
|
|
324
|
+
"e_invoicing.supplier.*": "e_invoicing.supplier.*";
|
|
325
|
+
"ksef.submission.*": "ksef.submission.*";
|
|
326
|
+
"email.*": "email.*";
|
|
327
|
+
"fiscalization.*": "fiscalization.*";
|
|
252
328
|
}>>;
|
|
253
329
|
active: zod.ZodBoolean;
|
|
254
330
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -315,11 +391,13 @@ export declare const GetWebhookByIdResponse: zod.ZodObject<{
|
|
|
315
391
|
"estimate.deleted": "estimate.deleted";
|
|
316
392
|
"estimate.restored": "estimate.restored";
|
|
317
393
|
"credit_note.created": "credit_note.created";
|
|
394
|
+
"credit_note.updated": "credit_note.updated";
|
|
318
395
|
"credit_note.issued": "credit_note.issued";
|
|
319
396
|
"credit_note.voided": "credit_note.voided";
|
|
320
397
|
"credit_note.deleted": "credit_note.deleted";
|
|
321
398
|
"credit_note.restored": "credit_note.restored";
|
|
322
399
|
"advance_invoice.created": "advance_invoice.created";
|
|
400
|
+
"advance_invoice.updated": "advance_invoice.updated";
|
|
323
401
|
"advance_invoice.paid": "advance_invoice.paid";
|
|
324
402
|
"advance_invoice.applied": "advance_invoice.applied";
|
|
325
403
|
"advance_invoice.voided": "advance_invoice.voided";
|
|
@@ -384,6 +462,42 @@ export declare const GetWebhookByIdResponse: zod.ZodObject<{
|
|
|
384
462
|
"email.bounced": "email.bounced";
|
|
385
463
|
"email.complained": "email.complained";
|
|
386
464
|
"email.opened": "email.opened";
|
|
465
|
+
"*": "*";
|
|
466
|
+
"document.*": "document.*";
|
|
467
|
+
"document.created": "document.created";
|
|
468
|
+
"document.updated": "document.updated";
|
|
469
|
+
"document.sent": "document.sent";
|
|
470
|
+
"document.paid": "document.paid";
|
|
471
|
+
"document.overdue": "document.overdue";
|
|
472
|
+
"document.cancelled": "document.cancelled";
|
|
473
|
+
"document.deleted": "document.deleted";
|
|
474
|
+
"document.restored": "document.restored";
|
|
475
|
+
"document.voided": "document.voided";
|
|
476
|
+
"document.finalized": "document.finalized";
|
|
477
|
+
"document.accepted": "document.accepted";
|
|
478
|
+
"document.rejected": "document.rejected";
|
|
479
|
+
"document.issued": "document.issued";
|
|
480
|
+
"document.applied": "document.applied";
|
|
481
|
+
"invoice.*": "invoice.*";
|
|
482
|
+
"customer.*": "customer.*";
|
|
483
|
+
"payment.*": "payment.*";
|
|
484
|
+
"estimate.*": "estimate.*";
|
|
485
|
+
"credit_note.*": "credit_note.*";
|
|
486
|
+
"advance_invoice.*": "advance_invoice.*";
|
|
487
|
+
"item.*": "item.*";
|
|
488
|
+
"tax.*": "tax.*";
|
|
489
|
+
"recurring_invoice.*": "recurring_invoice.*";
|
|
490
|
+
"stripe_app.*": "stripe_app.*";
|
|
491
|
+
"order.*": "order.*";
|
|
492
|
+
"order_integration.*": "order_integration.*";
|
|
493
|
+
"delivery_note.*": "delivery_note.*";
|
|
494
|
+
"expense.*": "expense.*";
|
|
495
|
+
"e_invoicing.submission.*": "e_invoicing.submission.*";
|
|
496
|
+
"e_invoicing.enrollment.*": "e_invoicing.enrollment.*";
|
|
497
|
+
"e_invoicing.supplier.*": "e_invoicing.supplier.*";
|
|
498
|
+
"ksef.submission.*": "ksef.submission.*";
|
|
499
|
+
"email.*": "email.*";
|
|
500
|
+
"fiscalization.*": "fiscalization.*";
|
|
387
501
|
}>>;
|
|
388
502
|
active: zod.ZodBoolean;
|
|
389
503
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -438,11 +552,13 @@ export declare const UpdateWebhookBody: zod.ZodObject<{
|
|
|
438
552
|
"estimate.deleted": "estimate.deleted";
|
|
439
553
|
"estimate.restored": "estimate.restored";
|
|
440
554
|
"credit_note.created": "credit_note.created";
|
|
555
|
+
"credit_note.updated": "credit_note.updated";
|
|
441
556
|
"credit_note.issued": "credit_note.issued";
|
|
442
557
|
"credit_note.voided": "credit_note.voided";
|
|
443
558
|
"credit_note.deleted": "credit_note.deleted";
|
|
444
559
|
"credit_note.restored": "credit_note.restored";
|
|
445
560
|
"advance_invoice.created": "advance_invoice.created";
|
|
561
|
+
"advance_invoice.updated": "advance_invoice.updated";
|
|
446
562
|
"advance_invoice.paid": "advance_invoice.paid";
|
|
447
563
|
"advance_invoice.applied": "advance_invoice.applied";
|
|
448
564
|
"advance_invoice.voided": "advance_invoice.voided";
|
|
@@ -507,6 +623,42 @@ export declare const UpdateWebhookBody: zod.ZodObject<{
|
|
|
507
623
|
"email.bounced": "email.bounced";
|
|
508
624
|
"email.complained": "email.complained";
|
|
509
625
|
"email.opened": "email.opened";
|
|
626
|
+
"*": "*";
|
|
627
|
+
"document.*": "document.*";
|
|
628
|
+
"document.created": "document.created";
|
|
629
|
+
"document.updated": "document.updated";
|
|
630
|
+
"document.sent": "document.sent";
|
|
631
|
+
"document.paid": "document.paid";
|
|
632
|
+
"document.overdue": "document.overdue";
|
|
633
|
+
"document.cancelled": "document.cancelled";
|
|
634
|
+
"document.deleted": "document.deleted";
|
|
635
|
+
"document.restored": "document.restored";
|
|
636
|
+
"document.voided": "document.voided";
|
|
637
|
+
"document.finalized": "document.finalized";
|
|
638
|
+
"document.accepted": "document.accepted";
|
|
639
|
+
"document.rejected": "document.rejected";
|
|
640
|
+
"document.issued": "document.issued";
|
|
641
|
+
"document.applied": "document.applied";
|
|
642
|
+
"invoice.*": "invoice.*";
|
|
643
|
+
"customer.*": "customer.*";
|
|
644
|
+
"payment.*": "payment.*";
|
|
645
|
+
"estimate.*": "estimate.*";
|
|
646
|
+
"credit_note.*": "credit_note.*";
|
|
647
|
+
"advance_invoice.*": "advance_invoice.*";
|
|
648
|
+
"item.*": "item.*";
|
|
649
|
+
"tax.*": "tax.*";
|
|
650
|
+
"recurring_invoice.*": "recurring_invoice.*";
|
|
651
|
+
"stripe_app.*": "stripe_app.*";
|
|
652
|
+
"order.*": "order.*";
|
|
653
|
+
"order_integration.*": "order_integration.*";
|
|
654
|
+
"delivery_note.*": "delivery_note.*";
|
|
655
|
+
"expense.*": "expense.*";
|
|
656
|
+
"e_invoicing.submission.*": "e_invoicing.submission.*";
|
|
657
|
+
"e_invoicing.enrollment.*": "e_invoicing.enrollment.*";
|
|
658
|
+
"e_invoicing.supplier.*": "e_invoicing.supplier.*";
|
|
659
|
+
"ksef.submission.*": "ksef.submission.*";
|
|
660
|
+
"email.*": "email.*";
|
|
661
|
+
"fiscalization.*": "fiscalization.*";
|
|
510
662
|
}>>>;
|
|
511
663
|
active: zod.ZodOptional<zod.ZodBoolean>;
|
|
512
664
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
@@ -552,11 +704,13 @@ export declare const UpdateWebhookResponse: zod.ZodObject<{
|
|
|
552
704
|
"estimate.deleted": "estimate.deleted";
|
|
553
705
|
"estimate.restored": "estimate.restored";
|
|
554
706
|
"credit_note.created": "credit_note.created";
|
|
707
|
+
"credit_note.updated": "credit_note.updated";
|
|
555
708
|
"credit_note.issued": "credit_note.issued";
|
|
556
709
|
"credit_note.voided": "credit_note.voided";
|
|
557
710
|
"credit_note.deleted": "credit_note.deleted";
|
|
558
711
|
"credit_note.restored": "credit_note.restored";
|
|
559
712
|
"advance_invoice.created": "advance_invoice.created";
|
|
713
|
+
"advance_invoice.updated": "advance_invoice.updated";
|
|
560
714
|
"advance_invoice.paid": "advance_invoice.paid";
|
|
561
715
|
"advance_invoice.applied": "advance_invoice.applied";
|
|
562
716
|
"advance_invoice.voided": "advance_invoice.voided";
|
|
@@ -621,6 +775,42 @@ export declare const UpdateWebhookResponse: zod.ZodObject<{
|
|
|
621
775
|
"email.bounced": "email.bounced";
|
|
622
776
|
"email.complained": "email.complained";
|
|
623
777
|
"email.opened": "email.opened";
|
|
778
|
+
"*": "*";
|
|
779
|
+
"document.*": "document.*";
|
|
780
|
+
"document.created": "document.created";
|
|
781
|
+
"document.updated": "document.updated";
|
|
782
|
+
"document.sent": "document.sent";
|
|
783
|
+
"document.paid": "document.paid";
|
|
784
|
+
"document.overdue": "document.overdue";
|
|
785
|
+
"document.cancelled": "document.cancelled";
|
|
786
|
+
"document.deleted": "document.deleted";
|
|
787
|
+
"document.restored": "document.restored";
|
|
788
|
+
"document.voided": "document.voided";
|
|
789
|
+
"document.finalized": "document.finalized";
|
|
790
|
+
"document.accepted": "document.accepted";
|
|
791
|
+
"document.rejected": "document.rejected";
|
|
792
|
+
"document.issued": "document.issued";
|
|
793
|
+
"document.applied": "document.applied";
|
|
794
|
+
"invoice.*": "invoice.*";
|
|
795
|
+
"customer.*": "customer.*";
|
|
796
|
+
"payment.*": "payment.*";
|
|
797
|
+
"estimate.*": "estimate.*";
|
|
798
|
+
"credit_note.*": "credit_note.*";
|
|
799
|
+
"advance_invoice.*": "advance_invoice.*";
|
|
800
|
+
"item.*": "item.*";
|
|
801
|
+
"tax.*": "tax.*";
|
|
802
|
+
"recurring_invoice.*": "recurring_invoice.*";
|
|
803
|
+
"stripe_app.*": "stripe_app.*";
|
|
804
|
+
"order.*": "order.*";
|
|
805
|
+
"order_integration.*": "order_integration.*";
|
|
806
|
+
"delivery_note.*": "delivery_note.*";
|
|
807
|
+
"expense.*": "expense.*";
|
|
808
|
+
"e_invoicing.submission.*": "e_invoicing.submission.*";
|
|
809
|
+
"e_invoicing.enrollment.*": "e_invoicing.enrollment.*";
|
|
810
|
+
"e_invoicing.supplier.*": "e_invoicing.supplier.*";
|
|
811
|
+
"ksef.submission.*": "ksef.submission.*";
|
|
812
|
+
"email.*": "email.*";
|
|
813
|
+
"fiscalization.*": "fiscalization.*";
|
|
624
814
|
}>>;
|
|
625
815
|
active: zod.ZodBoolean;
|
|
626
816
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -804,11 +994,13 @@ export declare const RotateWebhookSecretResponse: zod.ZodObject<{
|
|
|
804
994
|
"estimate.deleted": "estimate.deleted";
|
|
805
995
|
"estimate.restored": "estimate.restored";
|
|
806
996
|
"credit_note.created": "credit_note.created";
|
|
997
|
+
"credit_note.updated": "credit_note.updated";
|
|
807
998
|
"credit_note.issued": "credit_note.issued";
|
|
808
999
|
"credit_note.voided": "credit_note.voided";
|
|
809
1000
|
"credit_note.deleted": "credit_note.deleted";
|
|
810
1001
|
"credit_note.restored": "credit_note.restored";
|
|
811
1002
|
"advance_invoice.created": "advance_invoice.created";
|
|
1003
|
+
"advance_invoice.updated": "advance_invoice.updated";
|
|
812
1004
|
"advance_invoice.paid": "advance_invoice.paid";
|
|
813
1005
|
"advance_invoice.applied": "advance_invoice.applied";
|
|
814
1006
|
"advance_invoice.voided": "advance_invoice.voided";
|
|
@@ -873,6 +1065,42 @@ export declare const RotateWebhookSecretResponse: zod.ZodObject<{
|
|
|
873
1065
|
"email.bounced": "email.bounced";
|
|
874
1066
|
"email.complained": "email.complained";
|
|
875
1067
|
"email.opened": "email.opened";
|
|
1068
|
+
"*": "*";
|
|
1069
|
+
"document.*": "document.*";
|
|
1070
|
+
"document.created": "document.created";
|
|
1071
|
+
"document.updated": "document.updated";
|
|
1072
|
+
"document.sent": "document.sent";
|
|
1073
|
+
"document.paid": "document.paid";
|
|
1074
|
+
"document.overdue": "document.overdue";
|
|
1075
|
+
"document.cancelled": "document.cancelled";
|
|
1076
|
+
"document.deleted": "document.deleted";
|
|
1077
|
+
"document.restored": "document.restored";
|
|
1078
|
+
"document.voided": "document.voided";
|
|
1079
|
+
"document.finalized": "document.finalized";
|
|
1080
|
+
"document.accepted": "document.accepted";
|
|
1081
|
+
"document.rejected": "document.rejected";
|
|
1082
|
+
"document.issued": "document.issued";
|
|
1083
|
+
"document.applied": "document.applied";
|
|
1084
|
+
"invoice.*": "invoice.*";
|
|
1085
|
+
"customer.*": "customer.*";
|
|
1086
|
+
"payment.*": "payment.*";
|
|
1087
|
+
"estimate.*": "estimate.*";
|
|
1088
|
+
"credit_note.*": "credit_note.*";
|
|
1089
|
+
"advance_invoice.*": "advance_invoice.*";
|
|
1090
|
+
"item.*": "item.*";
|
|
1091
|
+
"tax.*": "tax.*";
|
|
1092
|
+
"recurring_invoice.*": "recurring_invoice.*";
|
|
1093
|
+
"stripe_app.*": "stripe_app.*";
|
|
1094
|
+
"order.*": "order.*";
|
|
1095
|
+
"order_integration.*": "order_integration.*";
|
|
1096
|
+
"delivery_note.*": "delivery_note.*";
|
|
1097
|
+
"expense.*": "expense.*";
|
|
1098
|
+
"e_invoicing.submission.*": "e_invoicing.submission.*";
|
|
1099
|
+
"e_invoicing.enrollment.*": "e_invoicing.enrollment.*";
|
|
1100
|
+
"e_invoicing.supplier.*": "e_invoicing.supplier.*";
|
|
1101
|
+
"ksef.submission.*": "ksef.submission.*";
|
|
1102
|
+
"email.*": "email.*";
|
|
1103
|
+
"fiscalization.*": "fiscalization.*";
|
|
876
1104
|
}>>;
|
|
877
1105
|
active: zod.ZodBoolean;
|
|
878
1106
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|