@spaceinvoices/js-sdk 14.32.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 +36 -0
- package/dist/generated/model/createWebhookBodyEventsItem.d.ts +36 -0
- package/dist/generated/model/updateWebhookBodyEventsItem.d.cts +36 -0
- package/dist/generated/model/updateWebhookBodyEventsItem.d.ts +36 -0
- package/dist/generated/model/webhookResponseEventsItem.d.cts +36 -0
- package/dist/generated/model/webhookResponseEventsItem.d.ts +36 -0
- package/dist/generated/model/webhookWithSecretEventsItem.d.cts +36 -0
- package/dist/generated/model/webhookWithSecretEventsItem.d.ts +36 -0
- package/dist/generated-zod/webhooks/webhooks.d.cts +216 -0
- package/dist/generated-zod/webhooks/webhooks.d.ts +216 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ export type CreateWebhookBody = {
|
|
|
19
19
|
*/
|
|
20
20
|
description?: string;
|
|
21
21
|
/**
|
|
22
|
-
* Events that trigger this webhook
|
|
22
|
+
* Events that trigger this webhook. Use an exact event name, `<resource>.*` for every event of one resource, `document.<action>` or `document.*` for every document type, or `*` for every event.
|
|
23
23
|
* @minItems 1
|
|
24
24
|
*/
|
|
25
25
|
events: CreateWebhookBodyEventsItem[];
|
|
@@ -19,7 +19,7 @@ export type CreateWebhookBody = {
|
|
|
19
19
|
*/
|
|
20
20
|
description?: string;
|
|
21
21
|
/**
|
|
22
|
-
* Events that trigger this webhook
|
|
22
|
+
* Events that trigger this webhook. Use an exact event name, `<resource>.*` for every event of one resource, `document.<action>` or `document.*` for every document type, or `*` for every event.
|
|
23
23
|
* @minItems 1
|
|
24
24
|
*/
|
|
25
25
|
events: CreateWebhookBodyEventsItem[];
|
|
@@ -108,4 +108,40 @@ export declare const CreateWebhookBodyEventsItem: {
|
|
|
108
108
|
readonly emailopened: "email.opened";
|
|
109
109
|
readonly fiscalizationcertificate_expiring: "fiscalization.certificate_expiring";
|
|
110
110
|
readonly fiscalizationcertificate_expired: "fiscalization.certificate_expired";
|
|
111
|
+
readonly '*': "*";
|
|
112
|
+
readonly 'document*': "document.*";
|
|
113
|
+
readonly documentcreated: "document.created";
|
|
114
|
+
readonly documentupdated: "document.updated";
|
|
115
|
+
readonly documentsent: "document.sent";
|
|
116
|
+
readonly documentpaid: "document.paid";
|
|
117
|
+
readonly documentoverdue: "document.overdue";
|
|
118
|
+
readonly documentcancelled: "document.cancelled";
|
|
119
|
+
readonly documentdeleted: "document.deleted";
|
|
120
|
+
readonly documentrestored: "document.restored";
|
|
121
|
+
readonly documentvoided: "document.voided";
|
|
122
|
+
readonly documentfinalized: "document.finalized";
|
|
123
|
+
readonly documentaccepted: "document.accepted";
|
|
124
|
+
readonly documentrejected: "document.rejected";
|
|
125
|
+
readonly documentissued: "document.issued";
|
|
126
|
+
readonly documentapplied: "document.applied";
|
|
127
|
+
readonly 'invoice*': "invoice.*";
|
|
128
|
+
readonly 'customer*': "customer.*";
|
|
129
|
+
readonly 'payment*': "payment.*";
|
|
130
|
+
readonly 'estimate*': "estimate.*";
|
|
131
|
+
readonly 'credit_note*': "credit_note.*";
|
|
132
|
+
readonly 'advance_invoice*': "advance_invoice.*";
|
|
133
|
+
readonly 'item*': "item.*";
|
|
134
|
+
readonly 'tax*': "tax.*";
|
|
135
|
+
readonly 'recurring_invoice*': "recurring_invoice.*";
|
|
136
|
+
readonly 'stripe_app*': "stripe_app.*";
|
|
137
|
+
readonly 'order*': "order.*";
|
|
138
|
+
readonly 'order_integration*': "order_integration.*";
|
|
139
|
+
readonly 'delivery_note*': "delivery_note.*";
|
|
140
|
+
readonly 'expense*': "expense.*";
|
|
141
|
+
readonly 'e_invoicingsubmission*': "e_invoicing.submission.*";
|
|
142
|
+
readonly 'e_invoicingenrollment*': "e_invoicing.enrollment.*";
|
|
143
|
+
readonly 'e_invoicingsupplier*': "e_invoicing.supplier.*";
|
|
144
|
+
readonly 'ksefsubmission*': "ksef.submission.*";
|
|
145
|
+
readonly 'email*': "email.*";
|
|
146
|
+
readonly 'fiscalization*': "fiscalization.*";
|
|
111
147
|
};
|
|
@@ -108,4 +108,40 @@ export declare const CreateWebhookBodyEventsItem: {
|
|
|
108
108
|
readonly emailopened: "email.opened";
|
|
109
109
|
readonly fiscalizationcertificate_expiring: "fiscalization.certificate_expiring";
|
|
110
110
|
readonly fiscalizationcertificate_expired: "fiscalization.certificate_expired";
|
|
111
|
+
readonly '*': "*";
|
|
112
|
+
readonly 'document*': "document.*";
|
|
113
|
+
readonly documentcreated: "document.created";
|
|
114
|
+
readonly documentupdated: "document.updated";
|
|
115
|
+
readonly documentsent: "document.sent";
|
|
116
|
+
readonly documentpaid: "document.paid";
|
|
117
|
+
readonly documentoverdue: "document.overdue";
|
|
118
|
+
readonly documentcancelled: "document.cancelled";
|
|
119
|
+
readonly documentdeleted: "document.deleted";
|
|
120
|
+
readonly documentrestored: "document.restored";
|
|
121
|
+
readonly documentvoided: "document.voided";
|
|
122
|
+
readonly documentfinalized: "document.finalized";
|
|
123
|
+
readonly documentaccepted: "document.accepted";
|
|
124
|
+
readonly documentrejected: "document.rejected";
|
|
125
|
+
readonly documentissued: "document.issued";
|
|
126
|
+
readonly documentapplied: "document.applied";
|
|
127
|
+
readonly 'invoice*': "invoice.*";
|
|
128
|
+
readonly 'customer*': "customer.*";
|
|
129
|
+
readonly 'payment*': "payment.*";
|
|
130
|
+
readonly 'estimate*': "estimate.*";
|
|
131
|
+
readonly 'credit_note*': "credit_note.*";
|
|
132
|
+
readonly 'advance_invoice*': "advance_invoice.*";
|
|
133
|
+
readonly 'item*': "item.*";
|
|
134
|
+
readonly 'tax*': "tax.*";
|
|
135
|
+
readonly 'recurring_invoice*': "recurring_invoice.*";
|
|
136
|
+
readonly 'stripe_app*': "stripe_app.*";
|
|
137
|
+
readonly 'order*': "order.*";
|
|
138
|
+
readonly 'order_integration*': "order_integration.*";
|
|
139
|
+
readonly 'delivery_note*': "delivery_note.*";
|
|
140
|
+
readonly 'expense*': "expense.*";
|
|
141
|
+
readonly 'e_invoicingsubmission*': "e_invoicing.submission.*";
|
|
142
|
+
readonly 'e_invoicingenrollment*': "e_invoicing.enrollment.*";
|
|
143
|
+
readonly 'e_invoicingsupplier*': "e_invoicing.supplier.*";
|
|
144
|
+
readonly 'ksefsubmission*': "ksef.submission.*";
|
|
145
|
+
readonly 'email*': "email.*";
|
|
146
|
+
readonly 'fiscalization*': "fiscalization.*";
|
|
111
147
|
};
|
|
@@ -108,4 +108,40 @@ export declare const UpdateWebhookBodyEventsItem: {
|
|
|
108
108
|
readonly emailopened: "email.opened";
|
|
109
109
|
readonly fiscalizationcertificate_expiring: "fiscalization.certificate_expiring";
|
|
110
110
|
readonly fiscalizationcertificate_expired: "fiscalization.certificate_expired";
|
|
111
|
+
readonly '*': "*";
|
|
112
|
+
readonly 'document*': "document.*";
|
|
113
|
+
readonly documentcreated: "document.created";
|
|
114
|
+
readonly documentupdated: "document.updated";
|
|
115
|
+
readonly documentsent: "document.sent";
|
|
116
|
+
readonly documentpaid: "document.paid";
|
|
117
|
+
readonly documentoverdue: "document.overdue";
|
|
118
|
+
readonly documentcancelled: "document.cancelled";
|
|
119
|
+
readonly documentdeleted: "document.deleted";
|
|
120
|
+
readonly documentrestored: "document.restored";
|
|
121
|
+
readonly documentvoided: "document.voided";
|
|
122
|
+
readonly documentfinalized: "document.finalized";
|
|
123
|
+
readonly documentaccepted: "document.accepted";
|
|
124
|
+
readonly documentrejected: "document.rejected";
|
|
125
|
+
readonly documentissued: "document.issued";
|
|
126
|
+
readonly documentapplied: "document.applied";
|
|
127
|
+
readonly 'invoice*': "invoice.*";
|
|
128
|
+
readonly 'customer*': "customer.*";
|
|
129
|
+
readonly 'payment*': "payment.*";
|
|
130
|
+
readonly 'estimate*': "estimate.*";
|
|
131
|
+
readonly 'credit_note*': "credit_note.*";
|
|
132
|
+
readonly 'advance_invoice*': "advance_invoice.*";
|
|
133
|
+
readonly 'item*': "item.*";
|
|
134
|
+
readonly 'tax*': "tax.*";
|
|
135
|
+
readonly 'recurring_invoice*': "recurring_invoice.*";
|
|
136
|
+
readonly 'stripe_app*': "stripe_app.*";
|
|
137
|
+
readonly 'order*': "order.*";
|
|
138
|
+
readonly 'order_integration*': "order_integration.*";
|
|
139
|
+
readonly 'delivery_note*': "delivery_note.*";
|
|
140
|
+
readonly 'expense*': "expense.*";
|
|
141
|
+
readonly 'e_invoicingsubmission*': "e_invoicing.submission.*";
|
|
142
|
+
readonly 'e_invoicingenrollment*': "e_invoicing.enrollment.*";
|
|
143
|
+
readonly 'e_invoicingsupplier*': "e_invoicing.supplier.*";
|
|
144
|
+
readonly 'ksefsubmission*': "ksef.submission.*";
|
|
145
|
+
readonly 'email*': "email.*";
|
|
146
|
+
readonly 'fiscalization*': "fiscalization.*";
|
|
111
147
|
};
|
|
@@ -108,4 +108,40 @@ export declare const UpdateWebhookBodyEventsItem: {
|
|
|
108
108
|
readonly emailopened: "email.opened";
|
|
109
109
|
readonly fiscalizationcertificate_expiring: "fiscalization.certificate_expiring";
|
|
110
110
|
readonly fiscalizationcertificate_expired: "fiscalization.certificate_expired";
|
|
111
|
+
readonly '*': "*";
|
|
112
|
+
readonly 'document*': "document.*";
|
|
113
|
+
readonly documentcreated: "document.created";
|
|
114
|
+
readonly documentupdated: "document.updated";
|
|
115
|
+
readonly documentsent: "document.sent";
|
|
116
|
+
readonly documentpaid: "document.paid";
|
|
117
|
+
readonly documentoverdue: "document.overdue";
|
|
118
|
+
readonly documentcancelled: "document.cancelled";
|
|
119
|
+
readonly documentdeleted: "document.deleted";
|
|
120
|
+
readonly documentrestored: "document.restored";
|
|
121
|
+
readonly documentvoided: "document.voided";
|
|
122
|
+
readonly documentfinalized: "document.finalized";
|
|
123
|
+
readonly documentaccepted: "document.accepted";
|
|
124
|
+
readonly documentrejected: "document.rejected";
|
|
125
|
+
readonly documentissued: "document.issued";
|
|
126
|
+
readonly documentapplied: "document.applied";
|
|
127
|
+
readonly 'invoice*': "invoice.*";
|
|
128
|
+
readonly 'customer*': "customer.*";
|
|
129
|
+
readonly 'payment*': "payment.*";
|
|
130
|
+
readonly 'estimate*': "estimate.*";
|
|
131
|
+
readonly 'credit_note*': "credit_note.*";
|
|
132
|
+
readonly 'advance_invoice*': "advance_invoice.*";
|
|
133
|
+
readonly 'item*': "item.*";
|
|
134
|
+
readonly 'tax*': "tax.*";
|
|
135
|
+
readonly 'recurring_invoice*': "recurring_invoice.*";
|
|
136
|
+
readonly 'stripe_app*': "stripe_app.*";
|
|
137
|
+
readonly 'order*': "order.*";
|
|
138
|
+
readonly 'order_integration*': "order_integration.*";
|
|
139
|
+
readonly 'delivery_note*': "delivery_note.*";
|
|
140
|
+
readonly 'expense*': "expense.*";
|
|
141
|
+
readonly 'e_invoicingsubmission*': "e_invoicing.submission.*";
|
|
142
|
+
readonly 'e_invoicingenrollment*': "e_invoicing.enrollment.*";
|
|
143
|
+
readonly 'e_invoicingsupplier*': "e_invoicing.supplier.*";
|
|
144
|
+
readonly 'ksefsubmission*': "ksef.submission.*";
|
|
145
|
+
readonly 'email*': "email.*";
|
|
146
|
+
readonly 'fiscalization*': "fiscalization.*";
|
|
111
147
|
};
|
|
@@ -108,4 +108,40 @@ export declare const WebhookResponseEventsItem: {
|
|
|
108
108
|
readonly emailopened: "email.opened";
|
|
109
109
|
readonly fiscalizationcertificate_expiring: "fiscalization.certificate_expiring";
|
|
110
110
|
readonly fiscalizationcertificate_expired: "fiscalization.certificate_expired";
|
|
111
|
+
readonly '*': "*";
|
|
112
|
+
readonly 'document*': "document.*";
|
|
113
|
+
readonly documentcreated: "document.created";
|
|
114
|
+
readonly documentupdated: "document.updated";
|
|
115
|
+
readonly documentsent: "document.sent";
|
|
116
|
+
readonly documentpaid: "document.paid";
|
|
117
|
+
readonly documentoverdue: "document.overdue";
|
|
118
|
+
readonly documentcancelled: "document.cancelled";
|
|
119
|
+
readonly documentdeleted: "document.deleted";
|
|
120
|
+
readonly documentrestored: "document.restored";
|
|
121
|
+
readonly documentvoided: "document.voided";
|
|
122
|
+
readonly documentfinalized: "document.finalized";
|
|
123
|
+
readonly documentaccepted: "document.accepted";
|
|
124
|
+
readonly documentrejected: "document.rejected";
|
|
125
|
+
readonly documentissued: "document.issued";
|
|
126
|
+
readonly documentapplied: "document.applied";
|
|
127
|
+
readonly 'invoice*': "invoice.*";
|
|
128
|
+
readonly 'customer*': "customer.*";
|
|
129
|
+
readonly 'payment*': "payment.*";
|
|
130
|
+
readonly 'estimate*': "estimate.*";
|
|
131
|
+
readonly 'credit_note*': "credit_note.*";
|
|
132
|
+
readonly 'advance_invoice*': "advance_invoice.*";
|
|
133
|
+
readonly 'item*': "item.*";
|
|
134
|
+
readonly 'tax*': "tax.*";
|
|
135
|
+
readonly 'recurring_invoice*': "recurring_invoice.*";
|
|
136
|
+
readonly 'stripe_app*': "stripe_app.*";
|
|
137
|
+
readonly 'order*': "order.*";
|
|
138
|
+
readonly 'order_integration*': "order_integration.*";
|
|
139
|
+
readonly 'delivery_note*': "delivery_note.*";
|
|
140
|
+
readonly 'expense*': "expense.*";
|
|
141
|
+
readonly 'e_invoicingsubmission*': "e_invoicing.submission.*";
|
|
142
|
+
readonly 'e_invoicingenrollment*': "e_invoicing.enrollment.*";
|
|
143
|
+
readonly 'e_invoicingsupplier*': "e_invoicing.supplier.*";
|
|
144
|
+
readonly 'ksefsubmission*': "ksef.submission.*";
|
|
145
|
+
readonly 'email*': "email.*";
|
|
146
|
+
readonly 'fiscalization*': "fiscalization.*";
|
|
111
147
|
};
|
|
@@ -108,4 +108,40 @@ export declare const WebhookResponseEventsItem: {
|
|
|
108
108
|
readonly emailopened: "email.opened";
|
|
109
109
|
readonly fiscalizationcertificate_expiring: "fiscalization.certificate_expiring";
|
|
110
110
|
readonly fiscalizationcertificate_expired: "fiscalization.certificate_expired";
|
|
111
|
+
readonly '*': "*";
|
|
112
|
+
readonly 'document*': "document.*";
|
|
113
|
+
readonly documentcreated: "document.created";
|
|
114
|
+
readonly documentupdated: "document.updated";
|
|
115
|
+
readonly documentsent: "document.sent";
|
|
116
|
+
readonly documentpaid: "document.paid";
|
|
117
|
+
readonly documentoverdue: "document.overdue";
|
|
118
|
+
readonly documentcancelled: "document.cancelled";
|
|
119
|
+
readonly documentdeleted: "document.deleted";
|
|
120
|
+
readonly documentrestored: "document.restored";
|
|
121
|
+
readonly documentvoided: "document.voided";
|
|
122
|
+
readonly documentfinalized: "document.finalized";
|
|
123
|
+
readonly documentaccepted: "document.accepted";
|
|
124
|
+
readonly documentrejected: "document.rejected";
|
|
125
|
+
readonly documentissued: "document.issued";
|
|
126
|
+
readonly documentapplied: "document.applied";
|
|
127
|
+
readonly 'invoice*': "invoice.*";
|
|
128
|
+
readonly 'customer*': "customer.*";
|
|
129
|
+
readonly 'payment*': "payment.*";
|
|
130
|
+
readonly 'estimate*': "estimate.*";
|
|
131
|
+
readonly 'credit_note*': "credit_note.*";
|
|
132
|
+
readonly 'advance_invoice*': "advance_invoice.*";
|
|
133
|
+
readonly 'item*': "item.*";
|
|
134
|
+
readonly 'tax*': "tax.*";
|
|
135
|
+
readonly 'recurring_invoice*': "recurring_invoice.*";
|
|
136
|
+
readonly 'stripe_app*': "stripe_app.*";
|
|
137
|
+
readonly 'order*': "order.*";
|
|
138
|
+
readonly 'order_integration*': "order_integration.*";
|
|
139
|
+
readonly 'delivery_note*': "delivery_note.*";
|
|
140
|
+
readonly 'expense*': "expense.*";
|
|
141
|
+
readonly 'e_invoicingsubmission*': "e_invoicing.submission.*";
|
|
142
|
+
readonly 'e_invoicingenrollment*': "e_invoicing.enrollment.*";
|
|
143
|
+
readonly 'e_invoicingsupplier*': "e_invoicing.supplier.*";
|
|
144
|
+
readonly 'ksefsubmission*': "ksef.submission.*";
|
|
145
|
+
readonly 'email*': "email.*";
|
|
146
|
+
readonly 'fiscalization*': "fiscalization.*";
|
|
111
147
|
};
|
|
@@ -108,4 +108,40 @@ export declare const WebhookWithSecretEventsItem: {
|
|
|
108
108
|
readonly emailopened: "email.opened";
|
|
109
109
|
readonly fiscalizationcertificate_expiring: "fiscalization.certificate_expiring";
|
|
110
110
|
readonly fiscalizationcertificate_expired: "fiscalization.certificate_expired";
|
|
111
|
+
readonly '*': "*";
|
|
112
|
+
readonly 'document*': "document.*";
|
|
113
|
+
readonly documentcreated: "document.created";
|
|
114
|
+
readonly documentupdated: "document.updated";
|
|
115
|
+
readonly documentsent: "document.sent";
|
|
116
|
+
readonly documentpaid: "document.paid";
|
|
117
|
+
readonly documentoverdue: "document.overdue";
|
|
118
|
+
readonly documentcancelled: "document.cancelled";
|
|
119
|
+
readonly documentdeleted: "document.deleted";
|
|
120
|
+
readonly documentrestored: "document.restored";
|
|
121
|
+
readonly documentvoided: "document.voided";
|
|
122
|
+
readonly documentfinalized: "document.finalized";
|
|
123
|
+
readonly documentaccepted: "document.accepted";
|
|
124
|
+
readonly documentrejected: "document.rejected";
|
|
125
|
+
readonly documentissued: "document.issued";
|
|
126
|
+
readonly documentapplied: "document.applied";
|
|
127
|
+
readonly 'invoice*': "invoice.*";
|
|
128
|
+
readonly 'customer*': "customer.*";
|
|
129
|
+
readonly 'payment*': "payment.*";
|
|
130
|
+
readonly 'estimate*': "estimate.*";
|
|
131
|
+
readonly 'credit_note*': "credit_note.*";
|
|
132
|
+
readonly 'advance_invoice*': "advance_invoice.*";
|
|
133
|
+
readonly 'item*': "item.*";
|
|
134
|
+
readonly 'tax*': "tax.*";
|
|
135
|
+
readonly 'recurring_invoice*': "recurring_invoice.*";
|
|
136
|
+
readonly 'stripe_app*': "stripe_app.*";
|
|
137
|
+
readonly 'order*': "order.*";
|
|
138
|
+
readonly 'order_integration*': "order_integration.*";
|
|
139
|
+
readonly 'delivery_note*': "delivery_note.*";
|
|
140
|
+
readonly 'expense*': "expense.*";
|
|
141
|
+
readonly 'e_invoicingsubmission*': "e_invoicing.submission.*";
|
|
142
|
+
readonly 'e_invoicingenrollment*': "e_invoicing.enrollment.*";
|
|
143
|
+
readonly 'e_invoicingsupplier*': "e_invoicing.supplier.*";
|
|
144
|
+
readonly 'ksefsubmission*': "ksef.submission.*";
|
|
145
|
+
readonly 'email*': "email.*";
|
|
146
|
+
readonly 'fiscalization*': "fiscalization.*";
|
|
111
147
|
};
|
|
@@ -108,4 +108,40 @@ export declare const WebhookWithSecretEventsItem: {
|
|
|
108
108
|
readonly emailopened: "email.opened";
|
|
109
109
|
readonly fiscalizationcertificate_expiring: "fiscalization.certificate_expiring";
|
|
110
110
|
readonly fiscalizationcertificate_expired: "fiscalization.certificate_expired";
|
|
111
|
+
readonly '*': "*";
|
|
112
|
+
readonly 'document*': "document.*";
|
|
113
|
+
readonly documentcreated: "document.created";
|
|
114
|
+
readonly documentupdated: "document.updated";
|
|
115
|
+
readonly documentsent: "document.sent";
|
|
116
|
+
readonly documentpaid: "document.paid";
|
|
117
|
+
readonly documentoverdue: "document.overdue";
|
|
118
|
+
readonly documentcancelled: "document.cancelled";
|
|
119
|
+
readonly documentdeleted: "document.deleted";
|
|
120
|
+
readonly documentrestored: "document.restored";
|
|
121
|
+
readonly documentvoided: "document.voided";
|
|
122
|
+
readonly documentfinalized: "document.finalized";
|
|
123
|
+
readonly documentaccepted: "document.accepted";
|
|
124
|
+
readonly documentrejected: "document.rejected";
|
|
125
|
+
readonly documentissued: "document.issued";
|
|
126
|
+
readonly documentapplied: "document.applied";
|
|
127
|
+
readonly 'invoice*': "invoice.*";
|
|
128
|
+
readonly 'customer*': "customer.*";
|
|
129
|
+
readonly 'payment*': "payment.*";
|
|
130
|
+
readonly 'estimate*': "estimate.*";
|
|
131
|
+
readonly 'credit_note*': "credit_note.*";
|
|
132
|
+
readonly 'advance_invoice*': "advance_invoice.*";
|
|
133
|
+
readonly 'item*': "item.*";
|
|
134
|
+
readonly 'tax*': "tax.*";
|
|
135
|
+
readonly 'recurring_invoice*': "recurring_invoice.*";
|
|
136
|
+
readonly 'stripe_app*': "stripe_app.*";
|
|
137
|
+
readonly 'order*': "order.*";
|
|
138
|
+
readonly 'order_integration*': "order_integration.*";
|
|
139
|
+
readonly 'delivery_note*': "delivery_note.*";
|
|
140
|
+
readonly 'expense*': "expense.*";
|
|
141
|
+
readonly 'e_invoicingsubmission*': "e_invoicing.submission.*";
|
|
142
|
+
readonly 'e_invoicingenrollment*': "e_invoicing.enrollment.*";
|
|
143
|
+
readonly 'e_invoicingsupplier*': "e_invoicing.supplier.*";
|
|
144
|
+
readonly 'ksefsubmission*': "ksef.submission.*";
|
|
145
|
+
readonly 'email*': "email.*";
|
|
146
|
+
readonly 'fiscalization*': "fiscalization.*";
|
|
111
147
|
};
|
|
@@ -121,6 +121,42 @@ export declare const CreateWebhookBody: zod.ZodObject<{
|
|
|
121
121
|
"email.bounced": "email.bounced";
|
|
122
122
|
"email.complained": "email.complained";
|
|
123
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.*";
|
|
124
160
|
}>>;
|
|
125
161
|
active: zod.ZodDefault<zod.ZodBoolean>;
|
|
126
162
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
@@ -253,6 +289,42 @@ export declare const GetWebhooksResponse: zod.ZodObject<{
|
|
|
253
289
|
"email.bounced": "email.bounced";
|
|
254
290
|
"email.complained": "email.complained";
|
|
255
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.*";
|
|
256
328
|
}>>;
|
|
257
329
|
active: zod.ZodBoolean;
|
|
258
330
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -390,6 +462,42 @@ export declare const GetWebhookByIdResponse: zod.ZodObject<{
|
|
|
390
462
|
"email.bounced": "email.bounced";
|
|
391
463
|
"email.complained": "email.complained";
|
|
392
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.*";
|
|
393
501
|
}>>;
|
|
394
502
|
active: zod.ZodBoolean;
|
|
395
503
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -515,6 +623,42 @@ export declare const UpdateWebhookBody: zod.ZodObject<{
|
|
|
515
623
|
"email.bounced": "email.bounced";
|
|
516
624
|
"email.complained": "email.complained";
|
|
517
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.*";
|
|
518
662
|
}>>>;
|
|
519
663
|
active: zod.ZodOptional<zod.ZodBoolean>;
|
|
520
664
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
@@ -631,6 +775,42 @@ export declare const UpdateWebhookResponse: zod.ZodObject<{
|
|
|
631
775
|
"email.bounced": "email.bounced";
|
|
632
776
|
"email.complained": "email.complained";
|
|
633
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.*";
|
|
634
814
|
}>>;
|
|
635
815
|
active: zod.ZodBoolean;
|
|
636
816
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -885,6 +1065,42 @@ export declare const RotateWebhookSecretResponse: zod.ZodObject<{
|
|
|
885
1065
|
"email.bounced": "email.bounced";
|
|
886
1066
|
"email.complained": "email.complained";
|
|
887
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.*";
|
|
888
1104
|
}>>;
|
|
889
1105
|
active: zod.ZodBoolean;
|
|
890
1106
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|