@spaceinvoices/js-sdk 14.29.0 → 14.31.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/advance-invoices/advance-invoices.d.cts +10 -2
- package/dist/generated/advance-invoices/advance-invoices.d.ts +10 -2
- package/dist/generated/credit-notes/credit-notes.d.cts +10 -2
- package/dist/generated/credit-notes/credit-notes.d.ts +10 -2
- package/dist/generated/customers/customers.d.cts +2 -0
- package/dist/generated/customers/customers.d.ts +2 -0
- package/dist/generated/documents/documents.d.cts +5 -1
- package/dist/generated/documents/documents.d.ts +5 -1
- package/dist/generated/entities/entities.d.cts +2 -2
- package/dist/generated/entities/entities.d.ts +2 -2
- package/dist/generated/invoices/invoices.d.cts +15 -3
- package/dist/generated/invoices/invoices.d.ts +15 -3
- package/dist/generated/model/accountWebhookResponseEventsItem.d.cts +2 -0
- package/dist/generated/model/accountWebhookResponseEventsItem.d.ts +2 -0
- package/dist/generated/model/accountWebhookWithSecretEventsItem.d.cts +2 -0
- package/dist/generated/model/accountWebhookWithSecretEventsItem.d.ts +2 -0
- package/dist/generated/model/createAccountWebhookBodyEventsItem.d.cts +2 -0
- package/dist/generated/model/createAccountWebhookBodyEventsItem.d.ts +2 -0
- package/dist/generated/model/createWebhookBodyEventsItem.d.cts +2 -0
- package/dist/generated/model/createWebhookBodyEventsItem.d.ts +2 -0
- package/dist/generated/model/updateAccountWebhookBodyEventsItem.d.cts +2 -0
- package/dist/generated/model/updateAccountWebhookBodyEventsItem.d.ts +2 -0
- package/dist/generated/model/updateWebhookBodyEventsItem.d.cts +2 -0
- package/dist/generated/model/updateWebhookBodyEventsItem.d.ts +2 -0
- package/dist/generated/model/webhookResponseEventsItem.d.cts +2 -0
- package/dist/generated/model/webhookResponseEventsItem.d.ts +2 -0
- package/dist/generated/model/webhookWithSecretEventsItem.d.cts +2 -0
- package/dist/generated/model/webhookWithSecretEventsItem.d.ts +2 -0
- package/dist/generated/orders/orders.d.cts +5 -1
- package/dist/generated/orders/orders.d.ts +5 -1
- package/dist/generated-zod/account-webhooks/account-webhooks.d.cts +12 -0
- package/dist/generated-zod/account-webhooks/account-webhooks.d.ts +12 -0
- package/dist/generated-zod/customers/customers.d.cts +2 -0
- package/dist/generated-zod/customers/customers.d.ts +2 -0
- package/dist/generated-zod/entities/entities.d.cts +2 -2
- package/dist/generated-zod/entities/entities.d.ts +2 -2
- package/dist/generated-zod/webhooks/webhooks.d.cts +12 -0
- package/dist/generated-zod/webhooks/webhooks.d.ts +12 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -29,6 +29,8 @@ export declare const CreateAccountWebhookBody: zod.ZodObject<{
|
|
|
29
29
|
"white_label_subscription.renewed": "white_label_subscription.renewed";
|
|
30
30
|
"white_label_subscription.expired": "white_label_subscription.expired";
|
|
31
31
|
"white_label_subscription.payment_failed": "white_label_subscription.payment_failed";
|
|
32
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
33
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
32
34
|
}>>;
|
|
33
35
|
active: zod.ZodDefault<zod.ZodBoolean>;
|
|
34
36
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
@@ -69,6 +71,8 @@ export declare const GetAccountWebhooksResponse: zod.ZodObject<{
|
|
|
69
71
|
"white_label_subscription.renewed": "white_label_subscription.renewed";
|
|
70
72
|
"white_label_subscription.expired": "white_label_subscription.expired";
|
|
71
73
|
"white_label_subscription.payment_failed": "white_label_subscription.payment_failed";
|
|
74
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
75
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
72
76
|
}>>;
|
|
73
77
|
active: zod.ZodBoolean;
|
|
74
78
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -114,6 +118,8 @@ export declare const GetAccountWebhookByIdResponse: zod.ZodObject<{
|
|
|
114
118
|
"white_label_subscription.renewed": "white_label_subscription.renewed";
|
|
115
119
|
"white_label_subscription.expired": "white_label_subscription.expired";
|
|
116
120
|
"white_label_subscription.payment_failed": "white_label_subscription.payment_failed";
|
|
121
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
122
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
117
123
|
}>>;
|
|
118
124
|
active: zod.ZodBoolean;
|
|
119
125
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -147,6 +153,8 @@ export declare const UpdateAccountWebhookBody: zod.ZodObject<{
|
|
|
147
153
|
"white_label_subscription.renewed": "white_label_subscription.renewed";
|
|
148
154
|
"white_label_subscription.expired": "white_label_subscription.expired";
|
|
149
155
|
"white_label_subscription.payment_failed": "white_label_subscription.payment_failed";
|
|
156
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
157
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
150
158
|
}>>>;
|
|
151
159
|
active: zod.ZodOptional<zod.ZodBoolean>;
|
|
152
160
|
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
@@ -171,6 +179,8 @@ export declare const UpdateAccountWebhookResponse: zod.ZodObject<{
|
|
|
171
179
|
"white_label_subscription.renewed": "white_label_subscription.renewed";
|
|
172
180
|
"white_label_subscription.expired": "white_label_subscription.expired";
|
|
173
181
|
"white_label_subscription.payment_failed": "white_label_subscription.payment_failed";
|
|
182
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
183
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
174
184
|
}>>;
|
|
175
185
|
active: zod.ZodBoolean;
|
|
176
186
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -337,6 +347,8 @@ export declare const RotateAccountWebhookSecretResponse: zod.ZodObject<{
|
|
|
337
347
|
"white_label_subscription.renewed": "white_label_subscription.renewed";
|
|
338
348
|
"white_label_subscription.expired": "white_label_subscription.expired";
|
|
339
349
|
"white_label_subscription.payment_failed": "white_label_subscription.payment_failed";
|
|
350
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
351
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
340
352
|
}>>;
|
|
341
353
|
active: zod.ZodBoolean;
|
|
342
354
|
metadata: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -10,6 +10,7 @@ import * as zod from "zod";
|
|
|
10
10
|
* Create a new customer for use in invoices.
|
|
11
11
|
Store customer details including name, address, and tax information.
|
|
12
12
|
All fields except name are optional.
|
|
13
|
+
For Czech customers (`country_code: CZ`) `tax_number` must be a DIČ (`CZ` + 8–10 digits) and `company_number`, when sent, an IČO (8 digits with check digit); invalid values respond 422 with `code` `CZ_INVALID_TAX_NUMBER` or `CZ_INVALID_COMPANY_NUMBER`.
|
|
13
14
|
* @summary Create a new customer
|
|
14
15
|
*/
|
|
15
16
|
export declare const CreateCustomerHeader: zod.ZodObject<{
|
|
@@ -302,6 +303,7 @@ export declare const GetCustomerByIdResponse: zod.ZodIntersection<zod.ZodObject<
|
|
|
302
303
|
* Update an existing customer.
|
|
303
304
|
Only the provided fields will be updated.
|
|
304
305
|
All fields are optional for partial updates.
|
|
306
|
+
For Czech customers (`country_code: CZ`) `tax_number` must be a DIČ (`CZ` + 8–10 digits) and `company_number`, when sent, an IČO (8 digits with check digit); invalid values respond 422 with `code` `CZ_INVALID_TAX_NUMBER` or `CZ_INVALID_COMPANY_NUMBER`.
|
|
305
307
|
* @summary Update a customer
|
|
306
308
|
*/
|
|
307
309
|
export declare const updateCustomerPathIdRegExp: RegExp;
|
|
@@ -10,6 +10,7 @@ import * as zod from "zod";
|
|
|
10
10
|
* Create a new customer for use in invoices.
|
|
11
11
|
Store customer details including name, address, and tax information.
|
|
12
12
|
All fields except name are optional.
|
|
13
|
+
For Czech customers (`country_code: CZ`) `tax_number` must be a DIČ (`CZ` + 8–10 digits) and `company_number`, when sent, an IČO (8 digits with check digit); invalid values respond 422 with `code` `CZ_INVALID_TAX_NUMBER` or `CZ_INVALID_COMPANY_NUMBER`.
|
|
13
14
|
* @summary Create a new customer
|
|
14
15
|
*/
|
|
15
16
|
export declare const CreateCustomerHeader: zod.ZodObject<{
|
|
@@ -302,6 +303,7 @@ export declare const GetCustomerByIdResponse: zod.ZodIntersection<zod.ZodObject<
|
|
|
302
303
|
* Update an existing customer.
|
|
303
304
|
Only the provided fields will be updated.
|
|
304
305
|
All fields are optional for partial updates.
|
|
306
|
+
For Czech customers (`country_code: CZ`) `tax_number` must be a DIČ (`CZ` + 8–10 digits) and `company_number`, when sent, an IČO (8 digits with check digit); invalid values respond 422 with `code` `CZ_INVALID_TAX_NUMBER` or `CZ_INVALID_COMPANY_NUMBER`.
|
|
305
307
|
* @summary Update a customer
|
|
306
308
|
*/
|
|
307
309
|
export declare const updateCustomerPathIdRegExp: RegExp;
|
|
@@ -323,7 +323,7 @@ export declare const RemoveEntityKsefCredentialResponse: zod.ZodObject<{
|
|
|
323
323
|
exemption_reason: zod.ZodNullable<zod.ZodString>;
|
|
324
324
|
}, zod.z.core.$strip>;
|
|
325
325
|
/**
|
|
326
|
-
* Create a new legal entity (business, organization, or sole proprietor). Entities are the core organizational unit that owns customers, invoices, and items. Each entity can have custom number formatting for invoices and other settings. The entity currency_code must be a fiat ISO 4217 code; a crypto asset code is rejected with 422 (crypto is only available as the currency_code of individual documents).
|
|
326
|
+
* Create a new legal entity (business, organization, or sole proprietor). Entities are the core organizational unit that owns customers, invoices, and items. Each entity can have custom number formatting for invoices and other settings. The entity currency_code must be a fiat ISO 4217 code; a crypto asset code is rejected with 422 (crypto is only available as the currency_code of individual documents). For Czech entities (`country_code: CZ`) `company_number` (IČO, 8 digits with check digit) is required and `tax_number` must be a DIČ (`CZ` + 8–10 digits); invalid values respond 422 with `code` `CZ_COMPANY_NUMBER_REQUIRED`, `CZ_INVALID_COMPANY_NUMBER` or `CZ_INVALID_TAX_NUMBER`.
|
|
327
327
|
* @summary Create a new entity
|
|
328
328
|
*/
|
|
329
329
|
export declare const createEntityHeaderXAccountIdRegExp: RegExp;
|
|
@@ -6399,7 +6399,7 @@ export declare const GetEntityByIdResponse: zod.ZodObject<{
|
|
|
6399
6399
|
}, zod.z.core.$strip>;
|
|
6400
6400
|
}, zod.z.core.$strip>;
|
|
6401
6401
|
/**
|
|
6402
|
-
* Update an existing entity's details. All fields are optional; only provided fields will be updated. Use this to modify entity information, address, tax details, or custom settings. Settings are merged per top-level key: keys you omit keep their current value, so send only the keys you want to change. Two keys merge one level deeper: settings.translations merges per translation namespace, and settings.unit_number_sequence_starts merges per document type and business unit. Fiscalization and other dedicated-endpoint settings (settings.furs, settings.fina, settings.slovenia, settings.e_invoicing, settings.revenue_recognition) cannot be modified here and are silently ignored if sent — manage them via their dedicated endpoints (e.g. PUT /fiscalization/furs/settings, PUT /fiscalization/fina/settings). Note: Country and country_code cannot be changed after entity creation. currency_code must be a fiat ISO 4217 code; a crypto asset code is rejected with 422. A Hungarian entity's tax_number cannot be changed while NAV Online Számla dispatch is enabled (settings.nav.enabled) or a NAV submission is in flight for the entity — responds 409 NAV_TAX_NUMBER_LOCKED. While NAV dispatch is enabled, changing settings.number_formats/settings.unit_number_formats so that two of invoice, credit note and advance invoice would produce identical numbers responds 422 NAV_NUMBER_FORMATS_OVERLAP with a `conflicts` array describing the colliding document types.
|
|
6402
|
+
* Update an existing entity's details. All fields are optional; only provided fields will be updated. Use this to modify entity information, address, tax details, or custom settings. Settings are merged per top-level key: keys you omit keep their current value, so send only the keys you want to change. Two keys merge one level deeper: settings.translations merges per translation namespace, and settings.unit_number_sequence_starts merges per document type and business unit. Fiscalization and other dedicated-endpoint settings (settings.furs, settings.fina, settings.slovenia, settings.e_invoicing, settings.revenue_recognition) cannot be modified here and are silently ignored if sent — manage them via their dedicated endpoints (e.g. PUT /fiscalization/furs/settings, PUT /fiscalization/fina/settings). Note: Country and country_code cannot be changed after entity creation. currency_code must be a fiat ISO 4217 code; a crypto asset code is rejected with 422. A Hungarian entity's tax_number cannot be changed while NAV Online Számla dispatch is enabled (settings.nav.enabled) or a NAV submission is in flight for the entity — responds 409 NAV_TAX_NUMBER_LOCKED. While NAV dispatch is enabled, changing settings.number_formats/settings.unit_number_formats so that two of invoice, credit note and advance invoice would produce identical numbers responds 422 NAV_NUMBER_FORMATS_OVERLAP with a `conflicts` array describing the colliding document types. For Czech entities (`country_code: CZ`) `company_number` (IČO, 8 digits with check digit) cannot be cleared and `tax_number` must be a DIČ (`CZ` + 8–10 digits); invalid values respond 422 with `code` `CZ_COMPANY_NUMBER_REQUIRED`, `CZ_INVALID_COMPANY_NUMBER` or `CZ_INVALID_TAX_NUMBER`.
|
|
6403
6403
|
* @summary Update an entity
|
|
6404
6404
|
*/
|
|
6405
6405
|
export declare const patchEntityPathIdRegExp: RegExp;
|
|
@@ -323,7 +323,7 @@ export declare const RemoveEntityKsefCredentialResponse: zod.ZodObject<{
|
|
|
323
323
|
exemption_reason: zod.ZodNullable<zod.ZodString>;
|
|
324
324
|
}, zod.z.core.$strip>;
|
|
325
325
|
/**
|
|
326
|
-
* Create a new legal entity (business, organization, or sole proprietor). Entities are the core organizational unit that owns customers, invoices, and items. Each entity can have custom number formatting for invoices and other settings. The entity currency_code must be a fiat ISO 4217 code; a crypto asset code is rejected with 422 (crypto is only available as the currency_code of individual documents).
|
|
326
|
+
* Create a new legal entity (business, organization, or sole proprietor). Entities are the core organizational unit that owns customers, invoices, and items. Each entity can have custom number formatting for invoices and other settings. The entity currency_code must be a fiat ISO 4217 code; a crypto asset code is rejected with 422 (crypto is only available as the currency_code of individual documents). For Czech entities (`country_code: CZ`) `company_number` (IČO, 8 digits with check digit) is required and `tax_number` must be a DIČ (`CZ` + 8–10 digits); invalid values respond 422 with `code` `CZ_COMPANY_NUMBER_REQUIRED`, `CZ_INVALID_COMPANY_NUMBER` or `CZ_INVALID_TAX_NUMBER`.
|
|
327
327
|
* @summary Create a new entity
|
|
328
328
|
*/
|
|
329
329
|
export declare const createEntityHeaderXAccountIdRegExp: RegExp;
|
|
@@ -6399,7 +6399,7 @@ export declare const GetEntityByIdResponse: zod.ZodObject<{
|
|
|
6399
6399
|
}, zod.z.core.$strip>;
|
|
6400
6400
|
}, zod.z.core.$strip>;
|
|
6401
6401
|
/**
|
|
6402
|
-
* Update an existing entity's details. All fields are optional; only provided fields will be updated. Use this to modify entity information, address, tax details, or custom settings. Settings are merged per top-level key: keys you omit keep their current value, so send only the keys you want to change. Two keys merge one level deeper: settings.translations merges per translation namespace, and settings.unit_number_sequence_starts merges per document type and business unit. Fiscalization and other dedicated-endpoint settings (settings.furs, settings.fina, settings.slovenia, settings.e_invoicing, settings.revenue_recognition) cannot be modified here and are silently ignored if sent — manage them via their dedicated endpoints (e.g. PUT /fiscalization/furs/settings, PUT /fiscalization/fina/settings). Note: Country and country_code cannot be changed after entity creation. currency_code must be a fiat ISO 4217 code; a crypto asset code is rejected with 422. A Hungarian entity's tax_number cannot be changed while NAV Online Számla dispatch is enabled (settings.nav.enabled) or a NAV submission is in flight for the entity — responds 409 NAV_TAX_NUMBER_LOCKED. While NAV dispatch is enabled, changing settings.number_formats/settings.unit_number_formats so that two of invoice, credit note and advance invoice would produce identical numbers responds 422 NAV_NUMBER_FORMATS_OVERLAP with a `conflicts` array describing the colliding document types.
|
|
6402
|
+
* Update an existing entity's details. All fields are optional; only provided fields will be updated. Use this to modify entity information, address, tax details, or custom settings. Settings are merged per top-level key: keys you omit keep their current value, so send only the keys you want to change. Two keys merge one level deeper: settings.translations merges per translation namespace, and settings.unit_number_sequence_starts merges per document type and business unit. Fiscalization and other dedicated-endpoint settings (settings.furs, settings.fina, settings.slovenia, settings.e_invoicing, settings.revenue_recognition) cannot be modified here and are silently ignored if sent — manage them via their dedicated endpoints (e.g. PUT /fiscalization/furs/settings, PUT /fiscalization/fina/settings). Note: Country and country_code cannot be changed after entity creation. currency_code must be a fiat ISO 4217 code; a crypto asset code is rejected with 422. A Hungarian entity's tax_number cannot be changed while NAV Online Számla dispatch is enabled (settings.nav.enabled) or a NAV submission is in flight for the entity — responds 409 NAV_TAX_NUMBER_LOCKED. While NAV dispatch is enabled, changing settings.number_formats/settings.unit_number_formats so that two of invoice, credit note and advance invoice would produce identical numbers responds 422 NAV_NUMBER_FORMATS_OVERLAP with a `conflicts` array describing the colliding document types. For Czech entities (`country_code: CZ`) `company_number` (IČO, 8 digits with check digit) cannot be cleared and `tax_number` must be a DIČ (`CZ` + 8–10 digits); invalid values respond 422 with `code` `CZ_COMPANY_NUMBER_REQUIRED`, `CZ_INVALID_COMPANY_NUMBER` or `CZ_INVALID_TAX_NUMBER`.
|
|
6403
6403
|
* @summary Update an entity
|
|
6404
6404
|
*/
|
|
6405
6405
|
export declare const patchEntityPathIdRegExp: RegExp;
|
|
@@ -20,6 +20,8 @@ export declare const CreateWebhookBody: zod.ZodObject<{
|
|
|
20
20
|
url: zod.ZodURL;
|
|
21
21
|
description: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
23
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
24
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
23
25
|
"invoice.created": "invoice.created";
|
|
24
26
|
"invoice.updated": "invoice.updated";
|
|
25
27
|
"invoice.sent": "invoice.sent";
|
|
@@ -148,6 +150,8 @@ export declare const GetWebhooksResponse: zod.ZodObject<{
|
|
|
148
150
|
url: zod.ZodString;
|
|
149
151
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
150
152
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
153
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
154
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
151
155
|
"invoice.created": "invoice.created";
|
|
152
156
|
"invoice.updated": "invoice.updated";
|
|
153
157
|
"invoice.sent": "invoice.sent";
|
|
@@ -281,6 +285,8 @@ export declare const GetWebhookByIdResponse: zod.ZodObject<{
|
|
|
281
285
|
url: zod.ZodString;
|
|
282
286
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
283
287
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
288
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
289
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
284
290
|
"invoice.created": "invoice.created";
|
|
285
291
|
"invoice.updated": "invoice.updated";
|
|
286
292
|
"invoice.sent": "invoice.sent";
|
|
@@ -402,6 +408,8 @@ export declare const UpdateWebhookBody: zod.ZodObject<{
|
|
|
402
408
|
url: zod.ZodOptional<zod.ZodURL>;
|
|
403
409
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
404
410
|
events: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
411
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
412
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
405
413
|
"invoice.created": "invoice.created";
|
|
406
414
|
"invoice.updated": "invoice.updated";
|
|
407
415
|
"invoice.sent": "invoice.sent";
|
|
@@ -514,6 +522,8 @@ export declare const UpdateWebhookResponse: zod.ZodObject<{
|
|
|
514
522
|
url: zod.ZodString;
|
|
515
523
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
516
524
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
525
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
526
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
517
527
|
"invoice.created": "invoice.created";
|
|
518
528
|
"invoice.updated": "invoice.updated";
|
|
519
529
|
"invoice.sent": "invoice.sent";
|
|
@@ -764,6 +774,8 @@ export declare const RotateWebhookSecretResponse: zod.ZodObject<{
|
|
|
764
774
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
765
775
|
secret: zod.ZodString;
|
|
766
776
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
777
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
778
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
767
779
|
"invoice.created": "invoice.created";
|
|
768
780
|
"invoice.updated": "invoice.updated";
|
|
769
781
|
"invoice.sent": "invoice.sent";
|
|
@@ -20,6 +20,8 @@ export declare const CreateWebhookBody: zod.ZodObject<{
|
|
|
20
20
|
url: zod.ZodURL;
|
|
21
21
|
description: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
23
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
24
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
23
25
|
"invoice.created": "invoice.created";
|
|
24
26
|
"invoice.updated": "invoice.updated";
|
|
25
27
|
"invoice.sent": "invoice.sent";
|
|
@@ -148,6 +150,8 @@ export declare const GetWebhooksResponse: zod.ZodObject<{
|
|
|
148
150
|
url: zod.ZodString;
|
|
149
151
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
150
152
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
153
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
154
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
151
155
|
"invoice.created": "invoice.created";
|
|
152
156
|
"invoice.updated": "invoice.updated";
|
|
153
157
|
"invoice.sent": "invoice.sent";
|
|
@@ -281,6 +285,8 @@ export declare const GetWebhookByIdResponse: zod.ZodObject<{
|
|
|
281
285
|
url: zod.ZodString;
|
|
282
286
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
283
287
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
288
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
289
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
284
290
|
"invoice.created": "invoice.created";
|
|
285
291
|
"invoice.updated": "invoice.updated";
|
|
286
292
|
"invoice.sent": "invoice.sent";
|
|
@@ -402,6 +408,8 @@ export declare const UpdateWebhookBody: zod.ZodObject<{
|
|
|
402
408
|
url: zod.ZodOptional<zod.ZodURL>;
|
|
403
409
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
404
410
|
events: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
411
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
412
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
405
413
|
"invoice.created": "invoice.created";
|
|
406
414
|
"invoice.updated": "invoice.updated";
|
|
407
415
|
"invoice.sent": "invoice.sent";
|
|
@@ -514,6 +522,8 @@ export declare const UpdateWebhookResponse: zod.ZodObject<{
|
|
|
514
522
|
url: zod.ZodString;
|
|
515
523
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
516
524
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
525
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
526
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
517
527
|
"invoice.created": "invoice.created";
|
|
518
528
|
"invoice.updated": "invoice.updated";
|
|
519
529
|
"invoice.sent": "invoice.sent";
|
|
@@ -764,6 +774,8 @@ export declare const RotateWebhookSecretResponse: zod.ZodObject<{
|
|
|
764
774
|
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
765
775
|
secret: zod.ZodString;
|
|
766
776
|
events: zod.ZodArray<zod.ZodEnum<{
|
|
777
|
+
"fiscalization.certificate_expiring": "fiscalization.certificate_expiring";
|
|
778
|
+
"fiscalization.certificate_expired": "fiscalization.certificate_expired";
|
|
767
779
|
"invoice.created": "invoice.created";
|
|
768
780
|
"invoice.updated": "invoice.updated";
|
|
769
781
|
"invoice.sent": "invoice.sent";
|