@spaceinvoices/js-sdk 18.37.0 → 19.0.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.
@@ -49,7 +49,10 @@ export interface OrderIntegrationBase {
49
49
  send_estimate_email: boolean;
50
50
  attach_pdf_to_email: boolean;
51
51
  issue_invoice_for_bank: boolean;
52
- /** Currency for documents created from Shopify orders. `checkout` (default) uses the currency the buyer paid in (Shopify presentment currency); `store` uses the shop's base currency. When the buyer pays in the shop's currency, both give the same result. Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. If the checkout currency has no ECB reference rate, the shop currency is used. */
52
+ /**
53
+ * Deprecated. Documents from Shopify orders always use the currency the buyer paid in (Shopify presentment currency). `store` is still accepted for compatibility and is saved as `checkout`. Orders keep the currency of their first ingestion. If the checkout currency has no ECB reference rate, or Shopify sends incomplete checkout-currency amounts, the shop currency is used. Other providers ignore this setting.
54
+ * @deprecated
55
+ */
53
56
  document_currency?: OrderIntegrationBaseDocumentCurrency;
54
57
  issue_invoice_on_complete: boolean;
55
58
  /**
@@ -49,7 +49,10 @@ export interface OrderIntegrationBase {
49
49
  send_estimate_email: boolean;
50
50
  attach_pdf_to_email: boolean;
51
51
  issue_invoice_for_bank: boolean;
52
- /** Currency for documents created from Shopify orders. `checkout` (default) uses the currency the buyer paid in (Shopify presentment currency); `store` uses the shop's base currency. When the buyer pays in the shop's currency, both give the same result. Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. If the checkout currency has no ECB reference rate, the shop currency is used. */
52
+ /**
53
+ * Deprecated. Documents from Shopify orders always use the currency the buyer paid in (Shopify presentment currency). `store` is still accepted for compatibility and is saved as `checkout`. Orders keep the currency of their first ingestion. If the checkout currency has no ECB reference rate, or Shopify sends incomplete checkout-currency amounts, the shop currency is used. Other providers ignore this setting.
54
+ * @deprecated
55
+ */
53
56
  document_currency?: OrderIntegrationBaseDocumentCurrency;
54
57
  issue_invoice_on_complete: boolean;
55
58
  /**
@@ -6,7 +6,8 @@
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
8
  /**
9
- * Currency for documents created from Shopify orders. `checkout` (default) uses the currency the buyer paid in (Shopify presentment currency); `store` uses the shop's base currency. When the buyer pays in the shop's currency, both give the same result. Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. If the checkout currency has no ECB reference rate, the shop currency is used.
9
+ * Deprecated. Documents from Shopify orders always use the currency the buyer paid in (Shopify presentment currency). `store` is still accepted for compatibility and is saved as `checkout`. Orders keep the currency of their first ingestion. If the checkout currency has no ECB reference rate, or Shopify sends incomplete checkout-currency amounts, the shop currency is used. Other providers ignore this setting.
10
+ * @deprecated
10
11
  */
11
12
  export type OrderIntegrationBaseDocumentCurrency = typeof OrderIntegrationBaseDocumentCurrency[keyof typeof OrderIntegrationBaseDocumentCurrency];
12
13
  export declare const OrderIntegrationBaseDocumentCurrency: {
@@ -6,7 +6,8 @@
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
8
  /**
9
- * Currency for documents created from Shopify orders. `checkout` (default) uses the currency the buyer paid in (Shopify presentment currency); `store` uses the shop's base currency. When the buyer pays in the shop's currency, both give the same result. Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. If the checkout currency has no ECB reference rate, the shop currency is used.
9
+ * Deprecated. Documents from Shopify orders always use the currency the buyer paid in (Shopify presentment currency). `store` is still accepted for compatibility and is saved as `checkout`. Orders keep the currency of their first ingestion. If the checkout currency has no ECB reference rate, or Shopify sends incomplete checkout-currency amounts, the shop currency is used. Other providers ignore this setting.
10
+ * @deprecated
10
11
  */
11
12
  export type OrderIntegrationBaseDocumentCurrency = typeof OrderIntegrationBaseDocumentCurrency[keyof typeof OrderIntegrationBaseDocumentCurrency];
12
13
  export declare const OrderIntegrationBaseDocumentCurrency: {
@@ -72,7 +72,8 @@ export type UpdateOrderIntegrationBody = {
72
72
  /** @minimum 0 */
73
73
  auto_process_delay_seconds?: number;
74
74
  /**
75
- * Currency for documents created from Shopify orders. `checkout` (default) uses the currency the buyer paid in (Shopify presentment currency); `store` uses the shop's base currency. When the buyer pays in the shop's currency, both give the same result. Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. If the checkout currency has no ECB reference rate, the shop currency is used. Null leaves the setting unchanged.
75
+ * Deprecated. Documents from Shopify orders always use the currency the buyer paid in (Shopify presentment currency). `store` is still accepted for compatibility and is saved as `checkout`. Orders keep the currency of their first ingestion. If the checkout currency has no ECB reference rate, or Shopify sends incomplete checkout-currency amounts, the shop currency is used. Other providers ignore this setting. Null leaves the setting unchanged.
76
+ * @deprecated
76
77
  * @nullable
77
78
  */
78
79
  document_currency?: UpdateOrderIntegrationBodyDocumentCurrency;
@@ -72,7 +72,8 @@ export type UpdateOrderIntegrationBody = {
72
72
  /** @minimum 0 */
73
73
  auto_process_delay_seconds?: number;
74
74
  /**
75
- * Currency for documents created from Shopify orders. `checkout` (default) uses the currency the buyer paid in (Shopify presentment currency); `store` uses the shop's base currency. When the buyer pays in the shop's currency, both give the same result. Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. If the checkout currency has no ECB reference rate, the shop currency is used. Null leaves the setting unchanged.
75
+ * Deprecated. Documents from Shopify orders always use the currency the buyer paid in (Shopify presentment currency). `store` is still accepted for compatibility and is saved as `checkout`. Orders keep the currency of their first ingestion. If the checkout currency has no ECB reference rate, or Shopify sends incomplete checkout-currency amounts, the shop currency is used. Other providers ignore this setting. Null leaves the setting unchanged.
76
+ * @deprecated
76
77
  * @nullable
77
78
  */
78
79
  document_currency?: UpdateOrderIntegrationBodyDocumentCurrency;
@@ -6,7 +6,8 @@
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
8
  /**
9
- * Currency for documents created from Shopify orders. `checkout` (default) uses the currency the buyer paid in (Shopify presentment currency); `store` uses the shop's base currency. When the buyer pays in the shop's currency, both give the same result. Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. If the checkout currency has no ECB reference rate, the shop currency is used. Null leaves the setting unchanged.
9
+ * Deprecated. Documents from Shopify orders always use the currency the buyer paid in (Shopify presentment currency). `store` is still accepted for compatibility and is saved as `checkout`. Orders keep the currency of their first ingestion. If the checkout currency has no ECB reference rate, or Shopify sends incomplete checkout-currency amounts, the shop currency is used. Other providers ignore this setting. Null leaves the setting unchanged.
10
+ * @deprecated
10
11
  * @nullable
11
12
  */
12
13
  export type UpdateOrderIntegrationBodyDocumentCurrency = typeof UpdateOrderIntegrationBodyDocumentCurrency[keyof typeof UpdateOrderIntegrationBodyDocumentCurrency] | null;
@@ -6,7 +6,8 @@
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
8
  /**
9
- * Currency for documents created from Shopify orders. `checkout` (default) uses the currency the buyer paid in (Shopify presentment currency); `store` uses the shop's base currency. When the buyer pays in the shop's currency, both give the same result. Applies to orders received after the change; orders keep the currency of their first ingestion. Other providers ignore this setting. If the checkout currency has no ECB reference rate, the shop currency is used. Null leaves the setting unchanged.
9
+ * Deprecated. Documents from Shopify orders always use the currency the buyer paid in (Shopify presentment currency). `store` is still accepted for compatibility and is saved as `checkout`. Orders keep the currency of their first ingestion. If the checkout currency has no ECB reference rate, or Shopify sends incomplete checkout-currency amounts, the shop currency is used. Other providers ignore this setting. Null leaves the setting unchanged.
10
+ * @deprecated
10
11
  * @nullable
11
12
  */
12
13
  export type UpdateOrderIntegrationBodyDocumentCurrency = typeof UpdateOrderIntegrationBodyDocumentCurrency[keyof typeof UpdateOrderIntegrationBodyDocumentCurrency] | null;