@dodobrands/pos-receipts-plugin-contracts 5.15.2 → 5.17.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.17.0
4
+
5
+ Added optional `MetaProductId` (meta-product UUID) to the receipt `Product` model, so plugins can access the product's meta-product identifier.
6
+
7
+ ## 5.16.0
8
+
9
+ Added `FiscalStage` enum (`FullSettlementWithPayment` / `Advance` / `FullSettlementAfterAdvance`) and optional `fiscalStage` on `HandleSaleRequestClear` (and `FiscalStage` on `Receipt`) to expose the sale's fiscal stage to plugins.
10
+
3
11
  ## 5.12.6
4
12
 
5
13
  Added product GTIN for Kazakhstan
package/README.en.md CHANGED
@@ -28,6 +28,8 @@ Start by exploring [`src/ICashRegister.ts`](./src/ICashRegister.ts).
28
28
 
29
29
  The `Receipt` type contains complete information about the order, customer, taxes, organization, and country-specific marking data (Russia, Belarus, Uzbekistan, Kazakhstan).
30
30
 
31
+ `HandleSaleRequest` carries an optional `fiscalStage` field (`FiscalStage`: `FullSettlementWithPayment` | `Advance` | `FullSettlementAfterAdvance`) — the fiscal stage of the sale, taken from the GetCheck data.
32
+
31
33
  ---
32
34
 
33
35
  ## Related Packages
package/README.md CHANGED
@@ -28,6 +28,8 @@ export interface ICashRegister {
28
28
 
29
29
  Тип `Receipt` содержит полную информацию о заказе, покупателе, налогах, организации и страно-специфичных данных маркировки (Россия, Беларусь, Узбекистан, Казахстан).
30
30
 
31
+ `HandleSaleRequest` содержит опциональное поле `fiscalStage` (`FiscalStage`: `FullSettlementWithPayment` \| `Advance` \| `FullSettlementAfterAdvance`) — стадия фискализации продажи, берётся из данных GetCheck.
32
+
31
33
  ---
32
34
 
33
35
  ## Смежные пакеты
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var r=Object.defineProperty;var e=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var B=(a,t)=>{for(var o in t)r(a,o,{get:t[o],enumerable:!0})},A=(a,t,o,f)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of N(t))!b.call(a,i)&&i!==o&&r(a,i,{get:()=>t[i],enumerable:!(f=e(t,i))||f.enumerable});return a};var D=a=>A(r({},"__esModule",{value:!0}),a);var F={};B(F,{Business:()=>s,CertificateType:()=>m,DigitalReceiptNotificationPreference:()=>R,KnownCountryCodes:()=>x,OrderSource:()=>p,OrderType:()=>v,OwnerType:()=>l,PaymentMode:()=>g,PaymentSource:()=>n,PaymentStatus:()=>k,PaymentType:()=>z,RefundSource:()=>h});module.exports=D(F);var s=(a=>(a.DodoPizza="dodopizza",a.Drinkit="drinkit",a))(s||{}),x=(a=>(a[a.Belarus=112]="Belarus",a[a.Kazakhstan=398]="Kazakhstan",a[a.Russia=643]="Russia",a[a.Uzbekistan=860]="Uzbekistan",a[a.Kyrgyzstan=417]="Kyrgyzstan",a))(x||{}),l=(a=>(a[a.Resail=0]="Resail",a[a.OwnProduction=1]="OwnProduction",a[a.Service=2]="Service",a))(l||{}),g=(a=>(a.Card="Card",a.QR="QR",a))(g||{}),n=(a=>(a[a.RestaurantCashier=0]="RestaurantCashier",a[a.Kiosk=1]="Kiosk",a))(n||{}),k=(a=>(a.NotFound="NotFound",a.PaymentPending="PaymentPending",a.PaymentCompleted="PaymentCompleted",a.RefundPending="RefundPending",a.RefundCompleted="RefundCompleted",a.NotNeeded="NotNeeded",a))(k||{}),h=(a=>(a.RestaurantCashier="RestaurantCashier",a.RefundJob="RefundJob",a.Kiosk="Kiosk",a))(h||{}),m=(a=>(a[a.B2B=1]="B2B",a))(m||{}),v=(a=>(a[a.Delivery=1]="Delivery",a[a.Pickup=2]="Pickup",a[a.Stationary=3]="Stationary",a[a.PersonalFood=4]="PersonalFood",a[a.ShopWindowSupply=5]="ShopWindowSupply",a))(v||{}),p=(a=>(a[a.Telephone=0]="Telephone",a[a.Site=1]="Site",a[a.Restaurant=2]="Restaurant",a[a.DefectOrder=3]="DefectOrder",a[a.Mobile=4]="Mobile",a[a.Pizzeria=5]="Pizzeria",a[a.Aggregator=6]="Aggregator",a[a.Kiosk=7]="Kiosk",a))(p||{}),z=(a=>(a[a.Cash=0]="Cash",a[a.BankCard=1]="BankCard",a[a.InternetAcquiring=2]="InternetAcquiring",a[a.Aggregator=3]="Aggregator",a))(z||{});var R=(i=>(i.NotSpecified="NotSpecified",i.None="None",i.Email="Email",i.PhoneSms="PhoneSms",i))(R||{});0&&(module.exports={Business,CertificateType,DigitalReceiptNotificationPreference,KnownCountryCodes,OrderSource,OrderType,OwnerType,PaymentMode,PaymentSource,PaymentStatus,PaymentType,RefundSource});
1
+ "use strict";var r=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var u=(t,i)=>{for(var o in i)r(t,o,{get:i[o],enumerable:!0})},B=(t,i,o,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of N(i))!b.call(t,a)&&a!==o&&r(t,a,{get:()=>i[a],enumerable:!(n=A(i,a))||n.enumerable});return t};var d=t=>B(r({},"__esModule",{value:!0}),t);var P={};u(P,{Business:()=>e,CertificateType:()=>s,DigitalReceiptNotificationPreference:()=>g,FiscalStage:()=>k,KnownCountryCodes:()=>l,OrderSource:()=>z,OrderType:()=>p,OwnerType:()=>f,PaymentMode:()=>m,PaymentSource:()=>v,PaymentStatus:()=>x,PaymentType:()=>R,RefundSource:()=>h});module.exports=d(P);var e=(t=>(t.DodoPizza="dodopizza",t.Drinkit="drinkit",t))(e||{}),l=(t=>(t[t.Belarus=112]="Belarus",t[t.Kazakhstan=398]="Kazakhstan",t[t.Russia=643]="Russia",t[t.Uzbekistan=860]="Uzbekistan",t[t.Kyrgyzstan=417]="Kyrgyzstan",t))(l||{}),f=(t=>(t[t.Resail=0]="Resail",t[t.OwnProduction=1]="OwnProduction",t[t.Service=2]="Service",t))(f||{}),m=(t=>(t.Card="Card",t.QR="QR",t))(m||{}),v=(t=>(t[t.RestaurantCashier=0]="RestaurantCashier",t[t.Kiosk=1]="Kiosk",t))(v||{}),x=(t=>(t.NotFound="NotFound",t.PaymentPending="PaymentPending",t.PaymentCompleted="PaymentCompleted",t.RefundPending="RefundPending",t.RefundCompleted="RefundCompleted",t.NotNeeded="NotNeeded",t))(x||{}),h=(t=>(t.RestaurantCashier="RestaurantCashier",t.RefundJob="RefundJob",t.Kiosk="Kiosk",t))(h||{}),k=(t=>(t[t.FullSettlementWithPayment=0]="FullSettlementWithPayment",t[t.Advance=1]="Advance",t[t.FullSettlementAfterAdvance=2]="FullSettlementAfterAdvance",t))(k||{}),s=(t=>(t[t.B2B=1]="B2B",t))(s||{}),p=(t=>(t[t.Delivery=1]="Delivery",t[t.Pickup=2]="Pickup",t[t.Stationary=3]="Stationary",t[t.PersonalFood=4]="PersonalFood",t[t.ShopWindowSupply=5]="ShopWindowSupply",t))(p||{}),z=(t=>(t[t.Telephone=0]="Telephone",t[t.Site=1]="Site",t[t.Restaurant=2]="Restaurant",t[t.DefectOrder=3]="DefectOrder",t[t.Mobile=4]="Mobile",t[t.Pizzeria=5]="Pizzeria",t[t.Aggregator=6]="Aggregator",t[t.Kiosk=7]="Kiosk",t))(z||{}),R=(t=>(t[t.Cash=0]="Cash",t[t.BankCard=1]="BankCard",t[t.InternetAcquiring=2]="InternetAcquiring",t[t.Aggregator=3]="Aggregator",t))(R||{});var g=(a=>(a.NotSpecified="NotSpecified",a.None="None",a.Email="Email",a.PhoneSms="PhoneSms",a))(g||{});0&&(module.exports={Business,CertificateType,DigitalReceiptNotificationPreference,FiscalStage,KnownCountryCodes,OrderSource,OrderType,OwnerType,PaymentMode,PaymentSource,PaymentStatus,PaymentType,RefundSource});
package/dist/index.d.cts CHANGED
@@ -296,6 +296,12 @@ declare enum RefundSource {
296
296
  Kiosk = "Kiosk"
297
297
  }
298
298
 
299
+ declare enum FiscalStage {
300
+ FullSettlementWithPayment = 0,
301
+ Advance = 1,
302
+ FullSettlementAfterAdvance = 2
303
+ }
304
+
299
305
  interface Taxpayer {
300
306
  /** A tax identification number. It is used for value added tax purposes.
301
307
  * The formal name may differ from country to country: It could be NIP for Poland, INN for Russia, or VAT number.
@@ -330,6 +336,7 @@ interface Receipt {
330
336
  Image?: Image;
331
337
  /** Information about the certificate used for the purchase. */
332
338
  CertificateInfo?: CertificateInfo;
339
+ FiscalStage: FiscalStage;
333
340
  /** @internal */
334
341
  IdempotencyKey: string;
335
342
  }
@@ -419,6 +426,8 @@ interface OrderPrice {
419
426
  interface Product {
420
427
  /** Internal product identifier */
421
428
  Id: string;
429
+ /** Identifier (UUID) of the meta-product this product belongs to */
430
+ MetaProductId?: string;
422
431
  /** The product's name */
423
432
  Name: string;
424
433
  /** The quantity of this product in the order */
@@ -623,6 +632,8 @@ interface HandleSaleRequestClear {
623
632
  printParams: PrintParams;
624
633
  /** Optional payment context — provider, status and source at the time of printing. */
625
634
  paymentInfo?: ReceiptPaymentInfo;
635
+ /** Optional fiscal stage of the sale (prepayment vs full settlement). */
636
+ fiscalStage?: FiscalStage;
626
637
  }
627
638
 
628
639
  interface InitializationOptions {
@@ -747,4 +758,4 @@ declare enum DigitalReceiptNotificationPreference {
747
758
  PhoneSms = "PhoneSms"
748
759
  }
749
760
 
750
- export { type AddedIngredient, Business, type CardInfo, type CardPaymentResult, type CardRefundResult, type CashRegister, type CashRegisterSettings, type Cashier, type CertificateInfo, CertificateType, type Country, type CountryIsoCode, type CreateScopeOptions, type Customer, type DepositCashOptions, DigitalReceiptNotificationPreference, type DigitalReceiptView, type DigitalReceiptViewType, type ErrorMessageMetadataWith, type Fields, type FiscalizationPayload, type HTMLContentData, type HTMLContentType, type HandleRefundRequest, type HandleRefundRequestClear, type HandleSaleRequest, type HandleSaleRequestClear, type ICashRegister, type IDigitalReceipt, type ILogger, type Image, type InitializationOptions, type KazakhstanProductData, KnownCountryCodes, type KyrgyzstanProductData, type Loyalty, type MakeZReportOptions, type MarkingCodes, type Message, type MessageMetadata, type MessageMetadataWith, type MessageWith, type Money, type OperationIdentifiers, type Order, type OrderPaymentResult, type OrderPrice, type OrderRefundResult, OrderSource, OrderType, type Organization, OwnerType, type PaymentInfo, PaymentMode, type PaymentProvider, type PaymentResult, PaymentSource, PaymentStatus, PaymentType, type PreviousReceipt, type PrintParams, type PrintTextOptions, type PrintedFiscalReceipt, type PrintedNonFiscalReceipt, type PrintedReceipt, type PrintedRefundReceipt, type Product, type ProductPrice, type ProductSpecificData, type QRData, type QRIdData, type QRIdType, type QrPaymentResult, type QrRefundResult, type Receipt, type ReceiptPaymentInfo, type ReceiptRefundInfo, type RefundInfo, type RefundResult, RefundSource, type RussiaProductData, type SlipData, type SlipType, type Store, type Tax, type Taxpayer, type TextSlipData, type TextSlipType, type UzbekistanProductData, type WithdrawCashOptions };
761
+ export { type AddedIngredient, Business, type CardInfo, type CardPaymentResult, type CardRefundResult, type CashRegister, type CashRegisterSettings, type Cashier, type CertificateInfo, CertificateType, type Country, type CountryIsoCode, type CreateScopeOptions, type Customer, type DepositCashOptions, DigitalReceiptNotificationPreference, type DigitalReceiptView, type DigitalReceiptViewType, type ErrorMessageMetadataWith, type Fields, FiscalStage, type FiscalizationPayload, type HTMLContentData, type HTMLContentType, type HandleRefundRequest, type HandleRefundRequestClear, type HandleSaleRequest, type HandleSaleRequestClear, type ICashRegister, type IDigitalReceipt, type ILogger, type Image, type InitializationOptions, type KazakhstanProductData, KnownCountryCodes, type KyrgyzstanProductData, type Loyalty, type MakeZReportOptions, type MarkingCodes, type Message, type MessageMetadata, type MessageMetadataWith, type MessageWith, type Money, type OperationIdentifiers, type Order, type OrderPaymentResult, type OrderPrice, type OrderRefundResult, OrderSource, OrderType, type Organization, OwnerType, type PaymentInfo, PaymentMode, type PaymentProvider, type PaymentResult, PaymentSource, PaymentStatus, PaymentType, type PreviousReceipt, type PrintParams, type PrintTextOptions, type PrintedFiscalReceipt, type PrintedNonFiscalReceipt, type PrintedReceipt, type PrintedRefundReceipt, type Product, type ProductPrice, type ProductSpecificData, type QRData, type QRIdData, type QRIdType, type QrPaymentResult, type QrRefundResult, type Receipt, type ReceiptPaymentInfo, type ReceiptRefundInfo, type RefundInfo, type RefundResult, RefundSource, type RussiaProductData, type SlipData, type SlipType, type Store, type Tax, type Taxpayer, type TextSlipData, type TextSlipType, type UzbekistanProductData, type WithdrawCashOptions };
package/dist/index.d.ts CHANGED
@@ -296,6 +296,12 @@ declare enum RefundSource {
296
296
  Kiosk = "Kiosk"
297
297
  }
298
298
 
299
+ declare enum FiscalStage {
300
+ FullSettlementWithPayment = 0,
301
+ Advance = 1,
302
+ FullSettlementAfterAdvance = 2
303
+ }
304
+
299
305
  interface Taxpayer {
300
306
  /** A tax identification number. It is used for value added tax purposes.
301
307
  * The formal name may differ from country to country: It could be NIP for Poland, INN for Russia, or VAT number.
@@ -330,6 +336,7 @@ interface Receipt {
330
336
  Image?: Image;
331
337
  /** Information about the certificate used for the purchase. */
332
338
  CertificateInfo?: CertificateInfo;
339
+ FiscalStage: FiscalStage;
333
340
  /** @internal */
334
341
  IdempotencyKey: string;
335
342
  }
@@ -419,6 +426,8 @@ interface OrderPrice {
419
426
  interface Product {
420
427
  /** Internal product identifier */
421
428
  Id: string;
429
+ /** Identifier (UUID) of the meta-product this product belongs to */
430
+ MetaProductId?: string;
422
431
  /** The product's name */
423
432
  Name: string;
424
433
  /** The quantity of this product in the order */
@@ -623,6 +632,8 @@ interface HandleSaleRequestClear {
623
632
  printParams: PrintParams;
624
633
  /** Optional payment context — provider, status and source at the time of printing. */
625
634
  paymentInfo?: ReceiptPaymentInfo;
635
+ /** Optional fiscal stage of the sale (prepayment vs full settlement). */
636
+ fiscalStage?: FiscalStage;
626
637
  }
627
638
 
628
639
  interface InitializationOptions {
@@ -747,4 +758,4 @@ declare enum DigitalReceiptNotificationPreference {
747
758
  PhoneSms = "PhoneSms"
748
759
  }
749
760
 
750
- export { type AddedIngredient, Business, type CardInfo, type CardPaymentResult, type CardRefundResult, type CashRegister, type CashRegisterSettings, type Cashier, type CertificateInfo, CertificateType, type Country, type CountryIsoCode, type CreateScopeOptions, type Customer, type DepositCashOptions, DigitalReceiptNotificationPreference, type DigitalReceiptView, type DigitalReceiptViewType, type ErrorMessageMetadataWith, type Fields, type FiscalizationPayload, type HTMLContentData, type HTMLContentType, type HandleRefundRequest, type HandleRefundRequestClear, type HandleSaleRequest, type HandleSaleRequestClear, type ICashRegister, type IDigitalReceipt, type ILogger, type Image, type InitializationOptions, type KazakhstanProductData, KnownCountryCodes, type KyrgyzstanProductData, type Loyalty, type MakeZReportOptions, type MarkingCodes, type Message, type MessageMetadata, type MessageMetadataWith, type MessageWith, type Money, type OperationIdentifiers, type Order, type OrderPaymentResult, type OrderPrice, type OrderRefundResult, OrderSource, OrderType, type Organization, OwnerType, type PaymentInfo, PaymentMode, type PaymentProvider, type PaymentResult, PaymentSource, PaymentStatus, PaymentType, type PreviousReceipt, type PrintParams, type PrintTextOptions, type PrintedFiscalReceipt, type PrintedNonFiscalReceipt, type PrintedReceipt, type PrintedRefundReceipt, type Product, type ProductPrice, type ProductSpecificData, type QRData, type QRIdData, type QRIdType, type QrPaymentResult, type QrRefundResult, type Receipt, type ReceiptPaymentInfo, type ReceiptRefundInfo, type RefundInfo, type RefundResult, RefundSource, type RussiaProductData, type SlipData, type SlipType, type Store, type Tax, type Taxpayer, type TextSlipData, type TextSlipType, type UzbekistanProductData, type WithdrawCashOptions };
761
+ export { type AddedIngredient, Business, type CardInfo, type CardPaymentResult, type CardRefundResult, type CashRegister, type CashRegisterSettings, type Cashier, type CertificateInfo, CertificateType, type Country, type CountryIsoCode, type CreateScopeOptions, type Customer, type DepositCashOptions, DigitalReceiptNotificationPreference, type DigitalReceiptView, type DigitalReceiptViewType, type ErrorMessageMetadataWith, type Fields, FiscalStage, type FiscalizationPayload, type HTMLContentData, type HTMLContentType, type HandleRefundRequest, type HandleRefundRequestClear, type HandleSaleRequest, type HandleSaleRequestClear, type ICashRegister, type IDigitalReceipt, type ILogger, type Image, type InitializationOptions, type KazakhstanProductData, KnownCountryCodes, type KyrgyzstanProductData, type Loyalty, type MakeZReportOptions, type MarkingCodes, type Message, type MessageMetadata, type MessageMetadataWith, type MessageWith, type Money, type OperationIdentifiers, type Order, type OrderPaymentResult, type OrderPrice, type OrderRefundResult, OrderSource, OrderType, type Organization, OwnerType, type PaymentInfo, PaymentMode, type PaymentProvider, type PaymentResult, PaymentSource, PaymentStatus, PaymentType, type PreviousReceipt, type PrintParams, type PrintTextOptions, type PrintedFiscalReceipt, type PrintedNonFiscalReceipt, type PrintedReceipt, type PrintedRefundReceipt, type Product, type ProductPrice, type ProductSpecificData, type QRData, type QRIdData, type QRIdType, type QrPaymentResult, type QrRefundResult, type Receipt, type ReceiptPaymentInfo, type ReceiptRefundInfo, type RefundInfo, type RefundResult, RefundSource, type RussiaProductData, type SlipData, type SlipType, type Store, type Tax, type Taxpayer, type TextSlipData, type TextSlipType, type UzbekistanProductData, type WithdrawCashOptions };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var t=(a=>(a.DodoPizza="dodopizza",a.Drinkit="drinkit",a))(t||{}),o=(a=>(a[a.Belarus=112]="Belarus",a[a.Kazakhstan=398]="Kazakhstan",a[a.Russia=643]="Russia",a[a.Uzbekistan=860]="Uzbekistan",a[a.Kyrgyzstan=417]="Kyrgyzstan",a))(o||{}),r=(a=>(a[a.Resail=0]="Resail",a[a.OwnProduction=1]="OwnProduction",a[a.Service=2]="Service",a))(r||{}),f=(a=>(a.Card="Card",a.QR="QR",a))(f||{}),s=(a=>(a[a.RestaurantCashier=0]="RestaurantCashier",a[a.Kiosk=1]="Kiosk",a))(s||{}),x=(a=>(a.NotFound="NotFound",a.PaymentPending="PaymentPending",a.PaymentCompleted="PaymentCompleted",a.RefundPending="RefundPending",a.RefundCompleted="RefundCompleted",a.NotNeeded="NotNeeded",a))(x||{}),l=(a=>(a.RestaurantCashier="RestaurantCashier",a.RefundJob="RefundJob",a.Kiosk="Kiosk",a))(l||{}),g=(a=>(a[a.B2B=1]="B2B",a))(g||{}),n=(a=>(a[a.Delivery=1]="Delivery",a[a.Pickup=2]="Pickup",a[a.Stationary=3]="Stationary",a[a.PersonalFood=4]="PersonalFood",a[a.ShopWindowSupply=5]="ShopWindowSupply",a))(n||{}),k=(a=>(a[a.Telephone=0]="Telephone",a[a.Site=1]="Site",a[a.Restaurant=2]="Restaurant",a[a.DefectOrder=3]="DefectOrder",a[a.Mobile=4]="Mobile",a[a.Pizzeria=5]="Pizzeria",a[a.Aggregator=6]="Aggregator",a[a.Kiosk=7]="Kiosk",a))(k||{}),h=(a=>(a[a.Cash=0]="Cash",a[a.BankCard=1]="BankCard",a[a.InternetAcquiring=2]="InternetAcquiring",a[a.Aggregator=3]="Aggregator",a))(h||{});var m=(i=>(i.NotSpecified="NotSpecified",i.None="None",i.Email="Email",i.PhoneSms="PhoneSms",i))(m||{});export{t as Business,g as CertificateType,m as DigitalReceiptNotificationPreference,o as KnownCountryCodes,k as OrderSource,n as OrderType,r as OwnerType,f as PaymentMode,s as PaymentSource,x as PaymentStatus,h as PaymentType,l as RefundSource};
1
+ var i=(t=>(t.DodoPizza="dodopizza",t.Drinkit="drinkit",t))(i||{}),o=(t=>(t[t.Belarus=112]="Belarus",t[t.Kazakhstan=398]="Kazakhstan",t[t.Russia=643]="Russia",t[t.Uzbekistan=860]="Uzbekistan",t[t.Kyrgyzstan=417]="Kyrgyzstan",t))(o||{}),r=(t=>(t[t.Resail=0]="Resail",t[t.OwnProduction=1]="OwnProduction",t[t.Service=2]="Service",t))(r||{}),n=(t=>(t.Card="Card",t.QR="QR",t))(n||{}),e=(t=>(t[t.RestaurantCashier=0]="RestaurantCashier",t[t.Kiosk=1]="Kiosk",t))(e||{}),l=(t=>(t.NotFound="NotFound",t.PaymentPending="PaymentPending",t.PaymentCompleted="PaymentCompleted",t.RefundPending="RefundPending",t.RefundCompleted="RefundCompleted",t.NotNeeded="NotNeeded",t))(l||{}),f=(t=>(t.RestaurantCashier="RestaurantCashier",t.RefundJob="RefundJob",t.Kiosk="Kiosk",t))(f||{}),m=(t=>(t[t.FullSettlementWithPayment=0]="FullSettlementWithPayment",t[t.Advance=1]="Advance",t[t.FullSettlementAfterAdvance=2]="FullSettlementAfterAdvance",t))(m||{}),v=(t=>(t[t.B2B=1]="B2B",t))(v||{}),x=(t=>(t[t.Delivery=1]="Delivery",t[t.Pickup=2]="Pickup",t[t.Stationary=3]="Stationary",t[t.PersonalFood=4]="PersonalFood",t[t.ShopWindowSupply=5]="ShopWindowSupply",t))(x||{}),h=(t=>(t[t.Telephone=0]="Telephone",t[t.Site=1]="Site",t[t.Restaurant=2]="Restaurant",t[t.DefectOrder=3]="DefectOrder",t[t.Mobile=4]="Mobile",t[t.Pizzeria=5]="Pizzeria",t[t.Aggregator=6]="Aggregator",t[t.Kiosk=7]="Kiosk",t))(h||{}),k=(t=>(t[t.Cash=0]="Cash",t[t.BankCard=1]="BankCard",t[t.InternetAcquiring=2]="InternetAcquiring",t[t.Aggregator=3]="Aggregator",t))(k||{});var s=(a=>(a.NotSpecified="NotSpecified",a.None="None",a.Email="Email",a.PhoneSms="PhoneSms",a))(s||{});export{i as Business,v as CertificateType,s as DigitalReceiptNotificationPreference,m as FiscalStage,o as KnownCountryCodes,h as OrderSource,x as OrderType,r as OwnerType,n as PaymentMode,e as PaymentSource,l as PaymentStatus,k as PaymentType,f as RefundSource};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodobrands/pos-receipts-plugin-contracts",
3
- "version": "5.15.2",
3
+ "version": "5.17.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",