@spaceinvoices/js-sdk 14.17.0 → 14.19.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/createEntityBodySettings.d.cts +3 -0
- package/dist/generated/model/createEntityBodySettings.d.ts +3 -0
- package/dist/generated/model/createExpenseItem.d.cts +1 -1
- package/dist/generated/model/createExpenseItem.d.ts +1 -1
- package/dist/generated/model/customExpenseItem.d.cts +1 -1
- package/dist/generated/model/customExpenseItem.d.ts +1 -1
- package/dist/generated/model/entitySettings.d.cts +3 -0
- package/dist/generated/model/entitySettings.d.ts +3 -0
- package/dist/generated/model/expenseSettings.d.cts +14 -0
- package/dist/generated/model/expenseSettings.d.ts +14 -0
- package/dist/generated/model/index.d.cts +3 -0
- package/dist/generated/model/index.d.ts +3 -0
- package/dist/generated/model/orderIntegrationBase.d.cts +3 -0
- package/dist/generated/model/orderIntegrationBase.d.ts +3 -0
- package/dist/generated/model/orderIntegrationBaseDocumentCurrency.d.cts +15 -0
- package/dist/generated/model/orderIntegrationBaseDocumentCurrency.d.ts +15 -0
- package/dist/generated/model/patchEntityBodySettings.d.cts +3 -0
- package/dist/generated/model/patchEntityBodySettings.d.ts +3 -0
- package/dist/generated/model/updateOrderIntegrationBody.d.cts +6 -0
- package/dist/generated/model/updateOrderIntegrationBody.d.ts +6 -0
- package/dist/generated/model/updateOrderIntegrationBodyDocumentCurrency.d.cts +16 -0
- package/dist/generated/model/updateOrderIntegrationBodyDocumentCurrency.d.ts +16 -0
- package/dist/generated-zod/entities/entities.d.cts +21 -0
- package/dist/generated-zod/entities/entities.d.ts +21 -0
- package/dist/generated-zod/order-integrations/order-integrations.d.cts +13 -0
- package/dist/generated-zod/order-integrations/order-integrations.d.ts +13 -0
- package/dist/index.cjs +8 -8
- package/dist/index.js +8 -8
- package/package.json +1 -1
|
@@ -27,6 +27,7 @@ import type { EInvoicingEntitySettings } from './eInvoicingEntitySettings.cjs';
|
|
|
27
27
|
import type { EntityBankAccount } from './entityBankAccount.cjs';
|
|
28
28
|
import type { EntitySettingsTranslations } from './entitySettingsTranslations.cjs';
|
|
29
29
|
import type { ExpenseRecognitionSettings } from './expenseRecognitionSettings.cjs';
|
|
30
|
+
import type { ExpenseSettings } from './expenseSettings.cjs';
|
|
30
31
|
import type { Hub3QrSettings } from './hub3QrSettings.cjs';
|
|
31
32
|
import type { KsefEntitySettings } from './ksefEntitySettings.cjs';
|
|
32
33
|
import type { LegalDetails } from './legalDetails.cjs';
|
|
@@ -278,6 +279,8 @@ export type CreateEntityBodySettings = {
|
|
|
278
279
|
revenue_recognition?: RevenueRecognitionSettings | null;
|
|
279
280
|
/** Expense recognition settings. Finalized expenses can generate monthly recognition entries from service periods. */
|
|
280
281
|
expense_recognition?: ExpenseRecognitionSettings | null;
|
|
282
|
+
/** Expense behaviour settings. `save_items_to_catalog` (default true) controls whether expense lines without a saved item create catalog items; when false, lines are only linked to existing catalog items by SKU. A line can still opt in with `save_item: true`. */
|
|
283
|
+
expenses?: ExpenseSettings | null;
|
|
281
284
|
/**
|
|
282
285
|
* Inventory management settings. Defaults to enabled: `enabled` left unset/null, or explicitly `true`, means inventory is on. Set `enabled: false` to turn inventory off — document/expense stock projections then create no movements, manual movement, warehouse and item-tracking write endpoints return 422, and the inventory export returns 422; existing movements and read endpoints stay available. White-label plan gating for the `inventory` feature is UI-only and does not affect this setting or these endpoints.
|
|
283
286
|
* @nullable
|
|
@@ -27,6 +27,7 @@ import type { EInvoicingEntitySettings } from './eInvoicingEntitySettings.js';
|
|
|
27
27
|
import type { EntityBankAccount } from './entityBankAccount.js';
|
|
28
28
|
import type { EntitySettingsTranslations } from './entitySettingsTranslations.js';
|
|
29
29
|
import type { ExpenseRecognitionSettings } from './expenseRecognitionSettings.js';
|
|
30
|
+
import type { ExpenseSettings } from './expenseSettings.js';
|
|
30
31
|
import type { Hub3QrSettings } from './hub3QrSettings.js';
|
|
31
32
|
import type { KsefEntitySettings } from './ksefEntitySettings.js';
|
|
32
33
|
import type { LegalDetails } from './legalDetails.js';
|
|
@@ -278,6 +279,8 @@ export type CreateEntityBodySettings = {
|
|
|
278
279
|
revenue_recognition?: RevenueRecognitionSettings | null;
|
|
279
280
|
/** Expense recognition settings. Finalized expenses can generate monthly recognition entries from service periods. */
|
|
280
281
|
expense_recognition?: ExpenseRecognitionSettings | null;
|
|
282
|
+
/** Expense behaviour settings. `save_items_to_catalog` (default true) controls whether expense lines without a saved item create catalog items; when false, lines are only linked to existing catalog items by SKU. A line can still opt in with `save_item: true`. */
|
|
283
|
+
expenses?: ExpenseSettings | null;
|
|
281
284
|
/**
|
|
282
285
|
* Inventory management settings. Defaults to enabled: `enabled` left unset/null, or explicitly `true`, means inventory is on. Set `enabled: false` to turn inventory off — document/expense stock projections then create no movements, manual movement, warehouse and item-tracking write endpoints return 422, and the inventory export returns 422; existing movements and read endpoints stay available. White-label plan gating for the `inventory` feature is UI-only and does not affect this setting or these endpoints.
|
|
283
286
|
* @nullable
|
|
@@ -24,7 +24,7 @@ export interface CreateExpenseItem {
|
|
|
24
24
|
*/
|
|
25
25
|
item_id?: string | null;
|
|
26
26
|
/**
|
|
27
|
-
* Whether to save or match this line to the catalog. Defaults to best-effort true for regular line items.
|
|
27
|
+
* Whether to save or match this line to the catalog. Defaults to best-effort true for regular line items. When the entity's `settings.expenses.save_items_to_catalog` is false, lines are only linked to existing catalog items by SKU unless this is `true`. `false` skips catalog linking entirely.
|
|
28
28
|
* @nullable
|
|
29
29
|
*/
|
|
30
30
|
save_item?: boolean | null;
|
|
@@ -24,7 +24,7 @@ export interface CreateExpenseItem {
|
|
|
24
24
|
*/
|
|
25
25
|
item_id?: string | null;
|
|
26
26
|
/**
|
|
27
|
-
* Whether to save or match this line to the catalog. Defaults to best-effort true for regular line items.
|
|
27
|
+
* Whether to save or match this line to the catalog. Defaults to best-effort true for regular line items. When the entity's `settings.expenses.save_items_to_catalog` is false, lines are only linked to existing catalog items by SKU unless this is `true`. `false` skips catalog linking entirely.
|
|
28
28
|
* @nullable
|
|
29
29
|
*/
|
|
30
30
|
save_item?: boolean | null;
|
|
@@ -24,7 +24,7 @@ export interface CustomExpenseItem {
|
|
|
24
24
|
*/
|
|
25
25
|
item_id?: string | null;
|
|
26
26
|
/**
|
|
27
|
-
* Whether to save or match this line to the catalog. Defaults to best-effort true for regular line items.
|
|
27
|
+
* Whether to save or match this line to the catalog. Defaults to best-effort true for regular line items. When the entity's `settings.expenses.save_items_to_catalog` is false, lines are only linked to existing catalog items by SKU unless this is `true`. `false` skips catalog linking entirely.
|
|
28
28
|
* @nullable
|
|
29
29
|
*/
|
|
30
30
|
save_item?: boolean | null;
|
|
@@ -24,7 +24,7 @@ export interface CustomExpenseItem {
|
|
|
24
24
|
*/
|
|
25
25
|
item_id?: string | null;
|
|
26
26
|
/**
|
|
27
|
-
* Whether to save or match this line to the catalog. Defaults to best-effort true for regular line items.
|
|
27
|
+
* Whether to save or match this line to the catalog. Defaults to best-effort true for regular line items. When the entity's `settings.expenses.save_items_to_catalog` is false, lines are only linked to existing catalog items by SKU unless this is `true`. `false` skips catalog linking entirely.
|
|
28
28
|
* @nullable
|
|
29
29
|
*/
|
|
30
30
|
save_item?: boolean | null;
|
|
@@ -27,6 +27,7 @@ import type { EntitySettingsUnitNumberFormats } from './entitySettingsUnitNumber
|
|
|
27
27
|
import type { EntitySettingsXrechnung } from './entitySettingsXrechnung.cjs';
|
|
28
28
|
import type { EntitySettingsZugferd } from './entitySettingsZugferd.cjs';
|
|
29
29
|
import type { ExpenseRecognitionSettings } from './expenseRecognitionSettings.cjs';
|
|
30
|
+
import type { ExpenseSettings } from './expenseSettings.cjs';
|
|
30
31
|
import type { Hub3QrSettings } from './hub3QrSettings.cjs';
|
|
31
32
|
import type { KsefEntitySettings } from './ksefEntitySettings.cjs';
|
|
32
33
|
import type { LegalDetails } from './legalDetails.cjs';
|
|
@@ -278,6 +279,8 @@ export type EntitySettings = {
|
|
|
278
279
|
revenue_recognition?: RevenueRecognitionSettings | null;
|
|
279
280
|
/** Expense recognition settings. Finalized expenses can generate monthly recognition entries from service periods. */
|
|
280
281
|
expense_recognition?: ExpenseRecognitionSettings | null;
|
|
282
|
+
/** Expense behaviour settings. `save_items_to_catalog` (default true) controls whether expense lines without a saved item create catalog items; when false, lines are only linked to existing catalog items by SKU. A line can still opt in with `save_item: true`. */
|
|
283
|
+
expenses?: ExpenseSettings | null;
|
|
281
284
|
/**
|
|
282
285
|
* Inventory management settings. Defaults to enabled: `enabled` left unset/null, or explicitly `true`, means inventory is on. Set `enabled: false` to turn inventory off — document/expense stock projections then create no movements, manual movement, warehouse and item-tracking write endpoints return 422, and the inventory export returns 422; existing movements and read endpoints stay available. White-label plan gating for the `inventory` feature is UI-only and does not affect this setting or these endpoints.
|
|
283
286
|
* @nullable
|
|
@@ -27,6 +27,7 @@ import type { EntitySettingsUnitNumberFormats } from './entitySettingsUnitNumber
|
|
|
27
27
|
import type { EntitySettingsXrechnung } from './entitySettingsXrechnung.js';
|
|
28
28
|
import type { EntitySettingsZugferd } from './entitySettingsZugferd.js';
|
|
29
29
|
import type { ExpenseRecognitionSettings } from './expenseRecognitionSettings.js';
|
|
30
|
+
import type { ExpenseSettings } from './expenseSettings.js';
|
|
30
31
|
import type { Hub3QrSettings } from './hub3QrSettings.js';
|
|
31
32
|
import type { KsefEntitySettings } from './ksefEntitySettings.js';
|
|
32
33
|
import type { LegalDetails } from './legalDetails.js';
|
|
@@ -278,6 +279,8 @@ export type EntitySettings = {
|
|
|
278
279
|
revenue_recognition?: RevenueRecognitionSettings | null;
|
|
279
280
|
/** Expense recognition settings. Finalized expenses can generate monthly recognition entries from service periods. */
|
|
280
281
|
expense_recognition?: ExpenseRecognitionSettings | null;
|
|
282
|
+
/** Expense behaviour settings. `save_items_to_catalog` (default true) controls whether expense lines without a saved item create catalog items; when false, lines are only linked to existing catalog items by SKU. A line can still opt in with `save_item: true`. */
|
|
283
|
+
expenses?: ExpenseSettings | null;
|
|
281
284
|
/**
|
|
282
285
|
* Inventory management settings. Defaults to enabled: `enabled` left unset/null, or explicitly `true`, means inventory is on. Set `enabled: false` to turn inventory off — document/expense stock projections then create no movements, manual movement, warehouse and item-tracking write endpoints return 422, and the inventory export returns 422; existing movements and read endpoints stay available. White-label plan gating for the `inventory` feature is UI-only and does not affect this setting or these endpoints.
|
|
283
286
|
* @nullable
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export interface ExpenseSettings {
|
|
9
|
+
/**
|
|
10
|
+
* Whether expense lines without a saved item create catalog items. Defaults to true. When false, lines are only linked to existing catalog items by SKU; a line can still opt in with `save_item: true`.
|
|
11
|
+
* @nullable
|
|
12
|
+
*/
|
|
13
|
+
save_items_to_catalog?: boolean | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export interface ExpenseSettings {
|
|
9
|
+
/**
|
|
10
|
+
* Whether expense lines without a saved item create catalog items. Defaults to true. When false, lines are only linked to existing catalog items by SKU; a line can still opt in with `save_item: true`.
|
|
11
|
+
* @nullable
|
|
12
|
+
*/
|
|
13
|
+
save_items_to_catalog?: boolean | null;
|
|
14
|
+
}
|
|
@@ -721,6 +721,7 @@ export * from './expenseRecognitionSettings.cjs';
|
|
|
721
721
|
export * from './expenseRecognitionSettingsDefaultMethod.cjs';
|
|
722
722
|
export * from './expenseRecognitionSettingsResponse.cjs';
|
|
723
723
|
export * from './expenseRecognitionSettingsResponseDefaultMethod.cjs';
|
|
724
|
+
export * from './expenseSettings.cjs';
|
|
724
725
|
export * from './expenseSummaryClassification.cjs';
|
|
725
726
|
export * from './expenseSummaryTax.cjs';
|
|
726
727
|
export * from './expenseSupplier.cjs';
|
|
@@ -1149,6 +1150,7 @@ export * from './orderCustomer.cjs';
|
|
|
1149
1150
|
export * from './orderIntegration.cjs';
|
|
1150
1151
|
export * from './orderIntegrationBase.cjs';
|
|
1151
1152
|
export * from './orderIntegrationBaseAutoProcessOn.cjs';
|
|
1153
|
+
export * from './orderIntegrationBaseDocumentCurrency.cjs';
|
|
1152
1154
|
export * from './orderIntegrationBaseMetadata.cjs';
|
|
1153
1155
|
export * from './orderIntegrationBaseSource.cjs';
|
|
1154
1156
|
export * from './orderItem.cjs';
|
|
@@ -1823,6 +1825,7 @@ export * from './updateOrderBodyMetadata.cjs';
|
|
|
1823
1825
|
export * from './updateOrderBodyPaymentStatus.cjs';
|
|
1824
1826
|
export * from './updateOrderIntegrationBody.cjs';
|
|
1825
1827
|
export * from './updateOrderIntegrationBodyAutoProcessOn.cjs';
|
|
1828
|
+
export * from './updateOrderIntegrationBodyDocumentCurrency.cjs';
|
|
1826
1829
|
export * from './updateOrderIntegrationBodyMetadata.cjs';
|
|
1827
1830
|
export * from './updatePaymentBody.cjs';
|
|
1828
1831
|
export * from './updatePaymentBodyMetadata.cjs';
|
|
@@ -721,6 +721,7 @@ export * from './expenseRecognitionSettings.js';
|
|
|
721
721
|
export * from './expenseRecognitionSettingsDefaultMethod.js';
|
|
722
722
|
export * from './expenseRecognitionSettingsResponse.js';
|
|
723
723
|
export * from './expenseRecognitionSettingsResponseDefaultMethod.js';
|
|
724
|
+
export * from './expenseSettings.js';
|
|
724
725
|
export * from './expenseSummaryClassification.js';
|
|
725
726
|
export * from './expenseSummaryTax.js';
|
|
726
727
|
export * from './expenseSupplier.js';
|
|
@@ -1149,6 +1150,7 @@ export * from './orderCustomer.js';
|
|
|
1149
1150
|
export * from './orderIntegration.js';
|
|
1150
1151
|
export * from './orderIntegrationBase.js';
|
|
1151
1152
|
export * from './orderIntegrationBaseAutoProcessOn.js';
|
|
1153
|
+
export * from './orderIntegrationBaseDocumentCurrency.js';
|
|
1152
1154
|
export * from './orderIntegrationBaseMetadata.js';
|
|
1153
1155
|
export * from './orderIntegrationBaseSource.js';
|
|
1154
1156
|
export * from './orderItem.js';
|
|
@@ -1823,6 +1825,7 @@ export * from './updateOrderBodyMetadata.js';
|
|
|
1823
1825
|
export * from './updateOrderBodyPaymentStatus.js';
|
|
1824
1826
|
export * from './updateOrderIntegrationBody.js';
|
|
1825
1827
|
export * from './updateOrderIntegrationBodyAutoProcessOn.js';
|
|
1828
|
+
export * from './updateOrderIntegrationBodyDocumentCurrency.js';
|
|
1826
1829
|
export * from './updateOrderIntegrationBodyMetadata.js';
|
|
1827
1830
|
export * from './updatePaymentBody.js';
|
|
1828
1831
|
export * from './updatePaymentBodyMetadata.js';
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
import type { OrderIntegrationBaseAutoProcessOn } from './orderIntegrationBaseAutoProcessOn.cjs';
|
|
9
|
+
import type { OrderIntegrationBaseDocumentCurrency } from './orderIntegrationBaseDocumentCurrency.cjs';
|
|
9
10
|
import type { OrderIntegrationBaseMetadata } from './orderIntegrationBaseMetadata.cjs';
|
|
10
11
|
import type { OrderIntegrationBaseSource } from './orderIntegrationBaseSource.cjs';
|
|
11
12
|
/**
|
|
@@ -48,6 +49,8 @@ export interface OrderIntegrationBase {
|
|
|
48
49
|
send_estimate_email: boolean;
|
|
49
50
|
attach_pdf_to_email: boolean;
|
|
50
51
|
issue_invoice_for_bank: boolean;
|
|
52
|
+
/** Currency for documents created from Shopify orders: `store` uses the shop's base currency; `checkout` uses the currency the buyer paid in (Shopify presentment currency). Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. */
|
|
53
|
+
document_currency?: OrderIntegrationBaseDocumentCurrency;
|
|
51
54
|
issue_invoice_on_complete: boolean;
|
|
52
55
|
/**
|
|
53
56
|
* @minimum -2147483648
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
import type { OrderIntegrationBaseAutoProcessOn } from './orderIntegrationBaseAutoProcessOn.js';
|
|
9
|
+
import type { OrderIntegrationBaseDocumentCurrency } from './orderIntegrationBaseDocumentCurrency.js';
|
|
9
10
|
import type { OrderIntegrationBaseMetadata } from './orderIntegrationBaseMetadata.js';
|
|
10
11
|
import type { OrderIntegrationBaseSource } from './orderIntegrationBaseSource.js';
|
|
11
12
|
/**
|
|
@@ -48,6 +49,8 @@ export interface OrderIntegrationBase {
|
|
|
48
49
|
send_estimate_email: boolean;
|
|
49
50
|
attach_pdf_to_email: boolean;
|
|
50
51
|
issue_invoice_for_bank: boolean;
|
|
52
|
+
/** Currency for documents created from Shopify orders: `store` uses the shop's base currency; `checkout` uses the currency the buyer paid in (Shopify presentment currency). Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. */
|
|
53
|
+
document_currency?: OrderIntegrationBaseDocumentCurrency;
|
|
51
54
|
issue_invoice_on_complete: boolean;
|
|
52
55
|
/**
|
|
53
56
|
* @minimum -2147483648
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Currency for documents created from Shopify orders: `store` uses the shop's base currency; `checkout` uses the currency the buyer paid in (Shopify presentment currency). Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting.
|
|
10
|
+
*/
|
|
11
|
+
export type OrderIntegrationBaseDocumentCurrency = typeof OrderIntegrationBaseDocumentCurrency[keyof typeof OrderIntegrationBaseDocumentCurrency];
|
|
12
|
+
export declare const OrderIntegrationBaseDocumentCurrency: {
|
|
13
|
+
readonly store: "store";
|
|
14
|
+
readonly checkout: "checkout";
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Currency for documents created from Shopify orders: `store` uses the shop's base currency; `checkout` uses the currency the buyer paid in (Shopify presentment currency). Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting.
|
|
10
|
+
*/
|
|
11
|
+
export type OrderIntegrationBaseDocumentCurrency = typeof OrderIntegrationBaseDocumentCurrency[keyof typeof OrderIntegrationBaseDocumentCurrency];
|
|
12
|
+
export declare const OrderIntegrationBaseDocumentCurrency: {
|
|
13
|
+
readonly store: "store";
|
|
14
|
+
readonly checkout: "checkout";
|
|
15
|
+
};
|
|
@@ -13,6 +13,7 @@ import type { CryptoWallet } from './cryptoWallet.cjs';
|
|
|
13
13
|
import type { EarlyPaymentTermPreset } from './earlyPaymentTermPreset.cjs';
|
|
14
14
|
import type { EntityBankAccount } from './entityBankAccount.cjs';
|
|
15
15
|
import type { EntitySettingsTranslations } from './entitySettingsTranslations.cjs';
|
|
16
|
+
import type { ExpenseSettings } from './expenseSettings.cjs';
|
|
16
17
|
import type { Hub3QrSettings } from './hub3QrSettings.cjs';
|
|
17
18
|
import type { LegalDetails } from './legalDetails.cjs';
|
|
18
19
|
import type { NumberSequenceStarts } from './numberSequenceStarts.cjs';
|
|
@@ -268,6 +269,8 @@ export type PatchEntityBodySettings = {
|
|
|
268
269
|
revenue_recognition?: PatchEntityBodySettingsRevenueRecognition;
|
|
269
270
|
/** Expense recognition settings. Ignored by the generic entity update endpoint; use the dedicated expense recognition settings endpoint. */
|
|
270
271
|
expense_recognition?: PatchEntityBodySettingsExpenseRecognition;
|
|
272
|
+
/** Expense behaviour settings. `save_items_to_catalog` (default true) controls whether expense lines without a saved item create catalog items; when false, lines are only linked to existing catalog items by SKU. A line can still opt in with `save_item: true`. */
|
|
273
|
+
expenses?: ExpenseSettings | null;
|
|
271
274
|
/**
|
|
272
275
|
* Inventory management settings. Defaults to enabled: `enabled` left unset/null, or explicitly `true`, means inventory is on. Set `enabled: false` to turn inventory off — document/expense stock projections then create no movements, manual movement, warehouse and item-tracking write endpoints return 422, and the inventory export returns 422; existing movements and read endpoints stay available. White-label plan gating for the `inventory` feature is UI-only and does not affect this setting or these endpoints.
|
|
273
276
|
* @nullable
|
|
@@ -13,6 +13,7 @@ import type { CryptoWallet } from './cryptoWallet.js';
|
|
|
13
13
|
import type { EarlyPaymentTermPreset } from './earlyPaymentTermPreset.js';
|
|
14
14
|
import type { EntityBankAccount } from './entityBankAccount.js';
|
|
15
15
|
import type { EntitySettingsTranslations } from './entitySettingsTranslations.js';
|
|
16
|
+
import type { ExpenseSettings } from './expenseSettings.js';
|
|
16
17
|
import type { Hub3QrSettings } from './hub3QrSettings.js';
|
|
17
18
|
import type { LegalDetails } from './legalDetails.js';
|
|
18
19
|
import type { NumberSequenceStarts } from './numberSequenceStarts.js';
|
|
@@ -268,6 +269,8 @@ export type PatchEntityBodySettings = {
|
|
|
268
269
|
revenue_recognition?: PatchEntityBodySettingsRevenueRecognition;
|
|
269
270
|
/** Expense recognition settings. Ignored by the generic entity update endpoint; use the dedicated expense recognition settings endpoint. */
|
|
270
271
|
expense_recognition?: PatchEntityBodySettingsExpenseRecognition;
|
|
272
|
+
/** Expense behaviour settings. `save_items_to_catalog` (default true) controls whether expense lines without a saved item create catalog items; when false, lines are only linked to existing catalog items by SKU. A line can still opt in with `save_item: true`. */
|
|
273
|
+
expenses?: ExpenseSettings | null;
|
|
271
274
|
/**
|
|
272
275
|
* Inventory management settings. Defaults to enabled: `enabled` left unset/null, or explicitly `true`, means inventory is on. Set `enabled: false` to turn inventory off — document/expense stock projections then create no movements, manual movement, warehouse and item-tracking write endpoints return 422, and the inventory export returns 422; existing movements and read endpoints stay available. White-label plan gating for the `inventory` feature is UI-only and does not affect this setting or these endpoints.
|
|
273
276
|
* @nullable
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
import type { UpdateOrderIntegrationBodyAutoProcessOn } from './updateOrderIntegrationBodyAutoProcessOn.cjs';
|
|
9
|
+
import type { UpdateOrderIntegrationBodyDocumentCurrency } from './updateOrderIntegrationBodyDocumentCurrency.cjs';
|
|
9
10
|
import type { UpdateOrderIntegrationBodyMetadata } from './updateOrderIntegrationBodyMetadata.cjs';
|
|
10
11
|
export type UpdateOrderIntegrationBody = {
|
|
11
12
|
/** @minLength 1 */
|
|
@@ -53,4 +54,9 @@ export type UpdateOrderIntegrationBody = {
|
|
|
53
54
|
issue_invoice_on_complete?: boolean;
|
|
54
55
|
/** @minimum 0 */
|
|
55
56
|
auto_process_delay_seconds?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Currency for documents created from Shopify orders: `store` uses the shop's base currency; `checkout` uses the currency the buyer paid in (Shopify presentment currency). Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. Null leaves the setting unchanged.
|
|
59
|
+
* @nullable
|
|
60
|
+
*/
|
|
61
|
+
document_currency?: UpdateOrderIntegrationBodyDocumentCurrency;
|
|
56
62
|
};
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
import type { UpdateOrderIntegrationBodyAutoProcessOn } from './updateOrderIntegrationBodyAutoProcessOn.js';
|
|
9
|
+
import type { UpdateOrderIntegrationBodyDocumentCurrency } from './updateOrderIntegrationBodyDocumentCurrency.js';
|
|
9
10
|
import type { UpdateOrderIntegrationBodyMetadata } from './updateOrderIntegrationBodyMetadata.js';
|
|
10
11
|
export type UpdateOrderIntegrationBody = {
|
|
11
12
|
/** @minLength 1 */
|
|
@@ -53,4 +54,9 @@ export type UpdateOrderIntegrationBody = {
|
|
|
53
54
|
issue_invoice_on_complete?: boolean;
|
|
54
55
|
/** @minimum 0 */
|
|
55
56
|
auto_process_delay_seconds?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Currency for documents created from Shopify orders: `store` uses the shop's base currency; `checkout` uses the currency the buyer paid in (Shopify presentment currency). Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. Null leaves the setting unchanged.
|
|
59
|
+
* @nullable
|
|
60
|
+
*/
|
|
61
|
+
document_currency?: UpdateOrderIntegrationBodyDocumentCurrency;
|
|
56
62
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Currency for documents created from Shopify orders: `store` uses the shop's base currency; `checkout` uses the currency the buyer paid in (Shopify presentment currency). Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. Null leaves the setting unchanged.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type UpdateOrderIntegrationBodyDocumentCurrency = typeof UpdateOrderIntegrationBodyDocumentCurrency[keyof typeof UpdateOrderIntegrationBodyDocumentCurrency] | null;
|
|
13
|
+
export declare const UpdateOrderIntegrationBodyDocumentCurrency: {
|
|
14
|
+
readonly store: "store";
|
|
15
|
+
readonly checkout: "checkout";
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Currency for documents created from Shopify orders: `store` uses the shop's base currency; `checkout` uses the currency the buyer paid in (Shopify presentment currency). Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. Null leaves the setting unchanged.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type UpdateOrderIntegrationBodyDocumentCurrency = typeof UpdateOrderIntegrationBodyDocumentCurrency[keyof typeof UpdateOrderIntegrationBodyDocumentCurrency] | null;
|
|
13
|
+
export declare const UpdateOrderIntegrationBodyDocumentCurrency: {
|
|
14
|
+
readonly store: "store";
|
|
15
|
+
readonly checkout: "checkout";
|
|
16
|
+
};
|
|
@@ -2076,6 +2076,9 @@ export declare const CreateEntityBody: zod.ZodObject<{
|
|
|
2076
2076
|
off: "off";
|
|
2077
2077
|
}>>;
|
|
2078
2078
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
2079
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2080
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
2081
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
2079
2082
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2080
2083
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
2081
2084
|
}, zod.z.core.$strip>>>;
|
|
@@ -3932,6 +3935,9 @@ export declare const GetEntitiesResponse: zod.ZodObject<{
|
|
|
3932
3935
|
off: "off";
|
|
3933
3936
|
}>>;
|
|
3934
3937
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
3938
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3939
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
3940
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
3935
3941
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
3936
3942
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
3937
3943
|
}, zod.z.core.$strip>>>;
|
|
@@ -5784,6 +5790,9 @@ export declare const GetEntityByIdResponse: zod.ZodObject<{
|
|
|
5784
5790
|
off: "off";
|
|
5785
5791
|
}>>;
|
|
5786
5792
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
5793
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5794
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
5795
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
5787
5796
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
5788
5797
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
5789
5798
|
}, zod.z.core.$strip>>>;
|
|
@@ -7612,6 +7621,9 @@ export declare const PatchEntityBody: zod.ZodObject<{
|
|
|
7612
7621
|
off: "off";
|
|
7613
7622
|
}>>;
|
|
7614
7623
|
}, zod.z.core.$strip>, zod.ZodRecord<zod.ZodString, zod.ZodUnknown>, zod.ZodNull]>>;
|
|
7624
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7625
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
7626
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
7615
7627
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
7616
7628
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
7617
7629
|
}, zod.z.core.$strip>>>;
|
|
@@ -9421,6 +9433,9 @@ export declare const PatchEntityResponse: zod.ZodObject<{
|
|
|
9421
9433
|
off: "off";
|
|
9422
9434
|
}>>;
|
|
9423
9435
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
9436
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
9437
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
9438
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
9424
9439
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
9425
9440
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
9426
9441
|
}, zod.z.core.$strip>>>;
|
|
@@ -11266,6 +11281,9 @@ export declare const EnableEntityResponse: zod.ZodObject<{
|
|
|
11266
11281
|
off: "off";
|
|
11267
11282
|
}>>;
|
|
11268
11283
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
11284
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11285
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
11286
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
11269
11287
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
11270
11288
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
11271
11289
|
}, zod.z.core.$strip>>>;
|
|
@@ -13111,6 +13129,9 @@ export declare const DisableEntityResponse: zod.ZodObject<{
|
|
|
13111
13129
|
off: "off";
|
|
13112
13130
|
}>>;
|
|
13113
13131
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
13132
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13133
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
13134
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
13114
13135
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
13115
13136
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
13116
13137
|
}, zod.z.core.$strip>>>;
|
|
@@ -2076,6 +2076,9 @@ export declare const CreateEntityBody: zod.ZodObject<{
|
|
|
2076
2076
|
off: "off";
|
|
2077
2077
|
}>>;
|
|
2078
2078
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
2079
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2080
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
2081
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
2079
2082
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2080
2083
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
2081
2084
|
}, zod.z.core.$strip>>>;
|
|
@@ -3932,6 +3935,9 @@ export declare const GetEntitiesResponse: zod.ZodObject<{
|
|
|
3932
3935
|
off: "off";
|
|
3933
3936
|
}>>;
|
|
3934
3937
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
3938
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3939
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
3940
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
3935
3941
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
3936
3942
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
3937
3943
|
}, zod.z.core.$strip>>>;
|
|
@@ -5784,6 +5790,9 @@ export declare const GetEntityByIdResponse: zod.ZodObject<{
|
|
|
5784
5790
|
off: "off";
|
|
5785
5791
|
}>>;
|
|
5786
5792
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
5793
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5794
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
5795
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
5787
5796
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
5788
5797
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
5789
5798
|
}, zod.z.core.$strip>>>;
|
|
@@ -7612,6 +7621,9 @@ export declare const PatchEntityBody: zod.ZodObject<{
|
|
|
7612
7621
|
off: "off";
|
|
7613
7622
|
}>>;
|
|
7614
7623
|
}, zod.z.core.$strip>, zod.ZodRecord<zod.ZodString, zod.ZodUnknown>, zod.ZodNull]>>;
|
|
7624
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7625
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
7626
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
7615
7627
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
7616
7628
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
7617
7629
|
}, zod.z.core.$strip>>>;
|
|
@@ -9421,6 +9433,9 @@ export declare const PatchEntityResponse: zod.ZodObject<{
|
|
|
9421
9433
|
off: "off";
|
|
9422
9434
|
}>>;
|
|
9423
9435
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
9436
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
9437
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
9438
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
9424
9439
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
9425
9440
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
9426
9441
|
}, zod.z.core.$strip>>>;
|
|
@@ -11266,6 +11281,9 @@ export declare const EnableEntityResponse: zod.ZodObject<{
|
|
|
11266
11281
|
off: "off";
|
|
11267
11282
|
}>>;
|
|
11268
11283
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
11284
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11285
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
11286
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
11269
11287
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
11270
11288
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
11271
11289
|
}, zod.z.core.$strip>>>;
|
|
@@ -13111,6 +13129,9 @@ export declare const DisableEntityResponse: zod.ZodObject<{
|
|
|
13111
13129
|
off: "off";
|
|
13112
13130
|
}>>;
|
|
13113
13131
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
13132
|
+
expenses: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
13133
|
+
save_items_to_catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
13134
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
13114
13135
|
inventory: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
13115
13136
|
enabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
13116
13137
|
}, zod.z.core.$strip>>>;
|
|
@@ -483,6 +483,10 @@ export declare const GetOrderIntegrationsResponse: zod.ZodObject<{
|
|
|
483
483
|
send_estimate_email: zod.ZodBoolean;
|
|
484
484
|
attach_pdf_to_email: zod.ZodBoolean;
|
|
485
485
|
issue_invoice_for_bank: zod.ZodBoolean;
|
|
486
|
+
document_currency: zod.ZodOptional<zod.ZodEnum<{
|
|
487
|
+
store: "store";
|
|
488
|
+
checkout: "checkout";
|
|
489
|
+
}>>;
|
|
486
490
|
issue_invoice_on_complete: zod.ZodBoolean;
|
|
487
491
|
auto_process_delay_seconds: zod.ZodNumber;
|
|
488
492
|
auto_reissue_on_update: zod.ZodBoolean;
|
|
@@ -553,6 +557,10 @@ export declare const GetOrderIntegrationByIdResponse: zod.ZodIntersection<zod.Zo
|
|
|
553
557
|
send_estimate_email: zod.ZodBoolean;
|
|
554
558
|
attach_pdf_to_email: zod.ZodBoolean;
|
|
555
559
|
issue_invoice_for_bank: zod.ZodBoolean;
|
|
560
|
+
document_currency: zod.ZodOptional<zod.ZodEnum<{
|
|
561
|
+
store: "store";
|
|
562
|
+
checkout: "checkout";
|
|
563
|
+
}>>;
|
|
556
564
|
issue_invoice_on_complete: zod.ZodBoolean;
|
|
557
565
|
auto_process_delay_seconds: zod.ZodNumber;
|
|
558
566
|
auto_reissue_on_update: zod.ZodBoolean;
|
|
@@ -605,6 +613,7 @@ export declare const UpdateOrderIntegrationBody: zod.ZodObject<{
|
|
|
605
613
|
issue_invoice_for_bank: zod.ZodOptional<zod.ZodBoolean>;
|
|
606
614
|
issue_invoice_on_complete: zod.ZodOptional<zod.ZodBoolean>;
|
|
607
615
|
auto_process_delay_seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
616
|
+
document_currency: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"store">, zod.ZodLiteral<"checkout">, zod.ZodLiteral<null>]>>>;
|
|
608
617
|
}, zod.z.core.$strip>;
|
|
609
618
|
export declare const updateOrderIntegrationResponseOneIdMax = 36;
|
|
610
619
|
export declare const updateOrderIntegrationResponseOneEntityIdMax = 36;
|
|
@@ -645,6 +654,10 @@ export declare const UpdateOrderIntegrationResponse: zod.ZodIntersection<zod.Zod
|
|
|
645
654
|
send_estimate_email: zod.ZodBoolean;
|
|
646
655
|
attach_pdf_to_email: zod.ZodBoolean;
|
|
647
656
|
issue_invoice_for_bank: zod.ZodBoolean;
|
|
657
|
+
document_currency: zod.ZodOptional<zod.ZodEnum<{
|
|
658
|
+
store: "store";
|
|
659
|
+
checkout: "checkout";
|
|
660
|
+
}>>;
|
|
648
661
|
issue_invoice_on_complete: zod.ZodBoolean;
|
|
649
662
|
auto_process_delay_seconds: zod.ZodNumber;
|
|
650
663
|
auto_reissue_on_update: zod.ZodBoolean;
|
|
@@ -483,6 +483,10 @@ export declare const GetOrderIntegrationsResponse: zod.ZodObject<{
|
|
|
483
483
|
send_estimate_email: zod.ZodBoolean;
|
|
484
484
|
attach_pdf_to_email: zod.ZodBoolean;
|
|
485
485
|
issue_invoice_for_bank: zod.ZodBoolean;
|
|
486
|
+
document_currency: zod.ZodOptional<zod.ZodEnum<{
|
|
487
|
+
store: "store";
|
|
488
|
+
checkout: "checkout";
|
|
489
|
+
}>>;
|
|
486
490
|
issue_invoice_on_complete: zod.ZodBoolean;
|
|
487
491
|
auto_process_delay_seconds: zod.ZodNumber;
|
|
488
492
|
auto_reissue_on_update: zod.ZodBoolean;
|
|
@@ -553,6 +557,10 @@ export declare const GetOrderIntegrationByIdResponse: zod.ZodIntersection<zod.Zo
|
|
|
553
557
|
send_estimate_email: zod.ZodBoolean;
|
|
554
558
|
attach_pdf_to_email: zod.ZodBoolean;
|
|
555
559
|
issue_invoice_for_bank: zod.ZodBoolean;
|
|
560
|
+
document_currency: zod.ZodOptional<zod.ZodEnum<{
|
|
561
|
+
store: "store";
|
|
562
|
+
checkout: "checkout";
|
|
563
|
+
}>>;
|
|
556
564
|
issue_invoice_on_complete: zod.ZodBoolean;
|
|
557
565
|
auto_process_delay_seconds: zod.ZodNumber;
|
|
558
566
|
auto_reissue_on_update: zod.ZodBoolean;
|
|
@@ -605,6 +613,7 @@ export declare const UpdateOrderIntegrationBody: zod.ZodObject<{
|
|
|
605
613
|
issue_invoice_for_bank: zod.ZodOptional<zod.ZodBoolean>;
|
|
606
614
|
issue_invoice_on_complete: zod.ZodOptional<zod.ZodBoolean>;
|
|
607
615
|
auto_process_delay_seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
616
|
+
document_currency: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"store">, zod.ZodLiteral<"checkout">, zod.ZodLiteral<null>]>>>;
|
|
608
617
|
}, zod.z.core.$strip>;
|
|
609
618
|
export declare const updateOrderIntegrationResponseOneIdMax = 36;
|
|
610
619
|
export declare const updateOrderIntegrationResponseOneEntityIdMax = 36;
|
|
@@ -645,6 +654,10 @@ export declare const UpdateOrderIntegrationResponse: zod.ZodIntersection<zod.Zod
|
|
|
645
654
|
send_estimate_email: zod.ZodBoolean;
|
|
646
655
|
attach_pdf_to_email: zod.ZodBoolean;
|
|
647
656
|
issue_invoice_for_bank: zod.ZodBoolean;
|
|
657
|
+
document_currency: zod.ZodOptional<zod.ZodEnum<{
|
|
658
|
+
store: "store";
|
|
659
|
+
checkout: "checkout";
|
|
660
|
+
}>>;
|
|
648
661
|
issue_invoice_on_complete: zod.ZodBoolean;
|
|
649
662
|
auto_process_delay_seconds: zod.ZodNumber;
|
|
650
663
|
auto_reissue_on_update: zod.ZodBoolean;
|