@fire-spark/types 0.12.4 → 0.13.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +18 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -618,6 +618,7 @@ type Store = {
618
618
  cms_template_id?: string | null | undefined;
619
619
  status: string;
620
620
  coverage_zones: {
621
+ uid?: string | undefined;
621
622
  id: string;
622
623
  name: string;
623
624
  type: "POLYGON" | "RADIUS";
@@ -1833,6 +1834,7 @@ type OrderLine = {
1833
1834
  id: string;
1834
1835
  parent_uid: string | null;
1835
1836
  parent_id: string | null;
1837
+ group_id?: string | undefined;
1836
1838
  name: string;
1837
1839
  image_url?: string | undefined;
1838
1840
  menu_id?: string | undefined;
@@ -1967,6 +1969,7 @@ type Order = {
1967
1969
  id: string;
1968
1970
  parent_uid: string | null;
1969
1971
  parent_id: string | null;
1972
+ group_id?: string | undefined;
1970
1973
  name: string;
1971
1974
  image_url?: string | undefined;
1972
1975
  menu_id?: string | undefined;
@@ -2064,6 +2067,7 @@ type Order = {
2064
2067
  document_number?: string | undefined;
2065
2068
  city?: string | undefined;
2066
2069
  country?: string | undefined;
2070
+ metadata?: Record<string, unknown> | undefined;
2067
2071
  };
2068
2072
  address_info?: {
2069
2073
  address_line1: string;
@@ -2907,6 +2911,7 @@ type OrderInsertInput = {
2907
2911
  document_number?: string | undefined;
2908
2912
  city?: string | undefined;
2909
2913
  country?: string | undefined;
2914
+ metadata?: Record<string, unknown> | undefined;
2910
2915
  };
2911
2916
  address_info?: {
2912
2917
  address_line1: string;
@@ -2941,6 +2946,7 @@ type OrderInsertInput = {
2941
2946
  id: string;
2942
2947
  parent_uid: string | null;
2943
2948
  parent_id: string | null;
2949
+ group_id?: string | undefined;
2944
2950
  name: string;
2945
2951
  image_url?: string | undefined;
2946
2952
  menu_id?: string | undefined;
@@ -3055,6 +3061,7 @@ type OrderUpdateInput = {
3055
3061
  document_number?: string | undefined;
3056
3062
  city?: string | undefined;
3057
3063
  country?: string | undefined;
3064
+ metadata?: Record<string, unknown> | undefined;
3058
3065
  };
3059
3066
  address_info?: {
3060
3067
  address_line1: string;
@@ -3089,6 +3096,7 @@ type OrderUpdateInput = {
3089
3096
  id: string;
3090
3097
  parent_uid: string | null;
3091
3098
  parent_id: string | null;
3099
+ group_id?: string | undefined;
3092
3100
  name: string;
3093
3101
  image_url?: string | undefined;
3094
3102
  menu_id?: string | undefined;
@@ -3220,6 +3228,7 @@ type OrderDeviceListResult = {
3220
3228
  id: string;
3221
3229
  parent_uid: string | null;
3222
3230
  parent_id: string | null;
3231
+ group_id?: string | undefined;
3223
3232
  name: string;
3224
3233
  image_url?: string | undefined;
3225
3234
  menu_id?: string | undefined;
@@ -3317,6 +3326,7 @@ type OrderDeviceListResult = {
3317
3326
  document_number?: string | undefined;
3318
3327
  city?: string | undefined;
3319
3328
  country?: string | undefined;
3329
+ metadata?: Record<string, unknown> | undefined;
3320
3330
  };
3321
3331
  address_info?: {
3322
3332
  address_line1: string;
@@ -3537,6 +3547,7 @@ type OrderValidateInput = {
3537
3547
  id: string;
3538
3548
  parent_uid: string | null;
3539
3549
  parent_id: string | null;
3550
+ group_id?: string | undefined;
3540
3551
  name: string;
3541
3552
  image_url?: string | undefined;
3542
3553
  menu_id?: string | undefined;
@@ -3790,6 +3801,7 @@ type PosOrderInput = {
3790
3801
  document_number?: string | undefined;
3791
3802
  city?: string | undefined;
3792
3803
  country?: string | undefined;
3804
+ metadata?: Record<string, unknown> | undefined;
3793
3805
  };
3794
3806
  address_info?: {
3795
3807
  address_line1: string;
@@ -3825,6 +3837,7 @@ type PosOrderInput = {
3825
3837
  id: string;
3826
3838
  parent_uid: string | null;
3827
3839
  parent_id: string | null;
3840
+ group_id?: string | undefined;
3828
3841
  name: string;
3829
3842
  image_url?: string | undefined;
3830
3843
  menu_id?: string | undefined;
@@ -4505,6 +4518,11 @@ interface CheckoutResolved {
4505
4518
  billing: CheckoutMode;
4506
4519
  shippingFields: Record<string, CheckoutMode>;
4507
4520
  billingFields: Record<string, CheckoutMode>;
4521
+ /**
4522
+ * Guest contact fields (`email`, `first_name`, `last_name`, `phone`) for
4523
+ * anonymous orders; written to `customer.customer_info`.
4524
+ */
4525
+ customerFields: Record<string, CheckoutMode>;
4508
4526
  }
4509
4527
  //#endregion
4510
4528
  export type { AddressInfo, AndConditions, BillingInfo, BillingProfile, BundledItem, Category, CategoryAvailability, CategoryItem, ChannelManifest, ChannelManifestNative, ChannelManifestWeb, ChannelPlatform, ChannelTemplate, CheckoutMode, CheckoutResolved, CmsBlock, CmsBlockItem, Condition, Customer, CustomerGender, CustomerIdentifyInput, CustomerRegisterInput, CustomerUpdateInput, DayOfWeek, DeliveryAddress, Fulfillment, FulfillmentListInput, GroupDisplayType, KioskAdminGesture, KioskAppState, KioskCommandPayload, KioskCommandType, KioskConfigChangedPayload, KioskDeviceConfig, KioskDeviceConfigDevice, KioskDeviceConfigPayment, KioskDeviceConfigScope, KioskDeviceConfigSettings, KioskDeviceOverrides, KioskDevicePaymentSettings, KioskHealthBatchInput, KioskHealthBatchResult, KioskHealthSample, KioskHeartbeatHealth, KioskHeartbeatInput, KioskHeartbeatResult, KioskOrderPager, KioskPagerSide, KioskPagersOverrides, KioskPagersSettings, KioskRealtimeToken, MatchResult, MatchableRule, Menu, MenuLookup, MerchantPayment, Metadata, MixedPaymentsEffect, MixedPaymentsLimits, ModifierControlType, ModifierGroup, MultiLanguageText, OrConditions, Order, OrderCancelInput, OrderCancelType, OrderChangedCallback, OrderChangedCallbackError, OrderChangedCheckoutState, OrderChangedDeviceReversal, OrderChangedDeviceReversalTender, OrderChangedError, OrderChangedPayload, OrderChangedRunStatus, OrderDeviceCredential, OrderDeviceKind, OrderDeviceListInput, OrderDeviceListResult, OrderFulfillment, OrderInsertInput, OrderLine, OrderListInput, OrderRecordPaymentInput, OrderRedeem, OrderRedeemInput, OrderRedemptionState, OrderRedemptionStep, OrderReorderInput, OrderReportedTender, OrderTotals, OrderUpdateInput, OrderValidateInput, OrderValidateOutput, Payment, PaymentCollectAt, PaymentErrorCode, PaymentIntent, PaymentIntentInput, PaymentIntentPutInput, PaymentIntentStatus, PaymentMethod, PaymentProvider, PaymentScope, PaymentStatus, PaymentTender, PaymentTenderInput, PlaceOrderResult, PosActorKind, PosCashBreakdownItem, PosCatalog, PosDenominationKind, PosDeviceConfigDevice, PosDeviceConfigScope, PosDeviceOverrides, PosErrorCode, PosFloor, PosFloorChangedPayload, PosFloorElement, PosFloorInput, PosFloorLayout, PosFloorOccupancy, PosFloorPlan, PosFloorRealtimeToken, PosFloorTable, PosHealthBatchInput, PosHealthBatchResult, PosHealthSample, PosHeartbeatHealth, PosHeartbeatInput, PosHeartbeatResult, PosKioskOrder, PosKioskSettleInput, PosKioskSettleResult, PosOrderInput, PosOrderResult, PosReservationHold, PosReservationHoldStatus, PosStaff, PosTableAttachOrderInput, PosTableCloseInput, PosTableJoinInput, PosTableSeatInput, PosTableSeatReservationInput, PosTableSession, PosTableSessionOrder, PosTableSessionStatus, PosTableSplitInput, PricingModifier, PricingVariant, Product, ProductAvailability, ProductPricing, ProductRecommendationLink, Recommendation, RecurringDateCronExpression, RecurringDateCronRepeat, RecurringDateCronResult, RecurringDateCronValues, RuleInterpretation, RulesEngineMonitoring, RulesEngineOrder, RulesEngineOrderLine, RulesEngineParams, RulesEngineRuntime, RulesEngineTagValue, Schedule, ScheduleDay, SchedulePeriod, SdkLogContext, SdkLogEntry, SdkLogErrorInfo, SdkLogIngestResult, SdkLogLevel, SdkLogOptions, Store, StoreAvailabilityFilters, StoreGetInput, StoreListInput, StoreNearbyInput, StorefrontAvailability, StorefrontAvailabilityChangedPayload, StorefrontAvailabilityInput, StorefrontAvailabilityRule, StorefrontCmsChangedPayload, StorefrontMenu, StorefrontMenuChangedPayload, StorefrontMenuScope, StorefrontMenuStreamOptions, StorefrontPaymentsListInput, StorefrontPreferences, StorefrontPreferencesInput, StorefrontRealtimeToken, StorefrontRealtimeTokenInput, StorefrontWorkspaceChangedPayload, StringMatchCaseOptions, TenderAllocation, TenderAllocationInput, TenderAmount, TenderDetails, TenderRefundInput, TenderReplaceInput, TenderVoidInput, Variant, VariantGroup };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fire-spark/types",
3
- "version": "0.12.4",
3
+ "version": "0.13.0",
4
4
  "description": "Fire Spark public TypeScript types",
5
5
  "type": "module",
6
6
  "sideEffects": false,