@fire-spark/types 0.38.6 → 0.39.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/index.d.ts +13 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2278,6 +2278,7 @@ interface OrderAdvanceFulfillmentOptions {
|
|
|
2278
2278
|
/** `POST /storefront/v1/orders/{id}/fulfillment/status` body. */
|
|
2279
2279
|
interface OrderAdvanceFulfillmentInput extends OrderAdvanceFulfillmentOptions {
|
|
2280
2280
|
status: string;
|
|
2281
|
+
device?: OrderDeviceCredential;
|
|
2281
2282
|
}
|
|
2282
2283
|
//#endregion
|
|
2283
2284
|
//#region .flat/src/auth.d.ts
|
|
@@ -2292,6 +2293,16 @@ type SwitchCustomerIdToken = {
|
|
|
2292
2293
|
* or its `customer_switch_proof` string. Web and app pass an ID token.
|
|
2293
2294
|
*/
|
|
2294
2295
|
type SwitchCustomerArg = string | MasivoTotpVerification | SwitchCustomerIdToken;
|
|
2296
|
+
/** Optional behavior for `auth.switchCustomer` and `order.switchCustomer`. */
|
|
2297
|
+
type SwitchCustomerOptions = {
|
|
2298
|
+
/**
|
|
2299
|
+
* When `true`, voids an untouched same-scope `OPEN` cart if the target
|
|
2300
|
+
* customer already has one (`status: OPEN`, `deleted_at: null`,
|
|
2301
|
+
* `issued_at: null`, `payment_status: IDLE`, no payment intents/tenders).
|
|
2302
|
+
* Defaults to `false` (omitted from the request).
|
|
2303
|
+
*/
|
|
2304
|
+
releaseOpenCart?: boolean;
|
|
2305
|
+
};
|
|
2295
2306
|
/** Storefront token issued for the customer who now owns the order. */
|
|
2296
2307
|
interface SwitchCustomerResult {
|
|
2297
2308
|
access_token: string;
|
|
@@ -2977,6 +2988,7 @@ type Store = {
|
|
|
2977
2988
|
channel_ids: string[];
|
|
2978
2989
|
fulfillment_ids: string[];
|
|
2979
2990
|
tags: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
2991
|
+
metadata: Record<string, unknown>;
|
|
2980
2992
|
cms_template_id?: string | null | undefined;
|
|
2981
2993
|
status: string;
|
|
2982
2994
|
coverage_zones: {
|
|
@@ -5821,4 +5833,4 @@ type WordFilterCheckResult = {
|
|
|
5821
5833
|
matches: WordFilterMatch[];
|
|
5822
5834
|
};
|
|
5823
5835
|
//#endregion
|
|
5824
|
-
export type { AddressInfo, AndConditions, ApplyFeesInput, ApplyFeesOrderScope, BillingInfo, BillingProfile, BundledItem, Category, CategoryAvailability, CategoryItem, ChannelManifest, ChannelManifestNative, ChannelManifestWeb, ChannelPlatform, ChannelTemplate, CheckoutMode, CheckoutResolved, CmsBlock, CmsBlockItem, Condition, Customer, CustomerGender, CustomerIdentifyInput, CustomerRegisterInput, CustomerUpdateInput, DayOfWeek, DeliveryAddress, DeviceSecretStorage, DeviceSecretsConfigureOptions, DeviceSecretsPayload, Fee, Fulfillment, FulfillmentEligibilityInput, FulfillmentListInput, GroupDisplayType, KioskAdminGesture, KioskAppState, KioskCommandPayload, KioskCommandType, KioskConfigChangedPayload, KioskDeviceConfig, KioskDeviceConfigDevice, KioskDeviceConfigInput, KioskDeviceConfigPayment, KioskDeviceConfigScope, KioskDeviceConfigSettings, KioskDeviceOverrides, KioskDevicePaymentSettings, KioskHealthBatchInput, KioskHealthBatchResult, KioskHealthSample, KioskHeartbeatHealth, KioskHeartbeatInput, KioskHeartbeatResult, KioskOrderPager, KioskPagerMode, KioskPagerSide, KioskPagersOverrides, KioskPagersSettings, KioskPickupNameRules, KioskRealtimeToken, LocalServerConfig, LocalServerHealthResult, MasivoTotpCode, MasivoTotpCreateInput, MasivoTotpCustomer, MasivoTotpVerification, MasivoTotpVerifyInput, MatchResult, MatchableRule, Menu, MenuLookup, MerchantPayment, Metadata, MixedPaymentsEffect, MixedPaymentsLimits, ModifierControlType, ModifierGroup, MultiLanguageText, OrConditions, Order, OrderAdvanceFulfillmentInput, OrderAdvanceFulfillmentOptions, OrderCancelInput, OrderCancelType, OrderChangedCallback, OrderChangedCallbackError, OrderChangedCheckoutState, OrderChangedDeviceReversal, OrderChangedDeviceReversalTender, OrderChangedError, OrderChangedPayload, OrderChangedRunStatus, OrderDeviceCredential, OrderDeviceKind, OrderDeviceListInput, OrderDeviceListResult, OrderFulfillment, OrderFulfillmentWorkflow, OrderFulfillmentWorkflowEdge, OrderFulfillmentWorkflowNode, OrderInsertInput, OrderLine, OrderListInput, OrderRateInput, OrderRating, OrderRecord, OrderRecordPaymentInput, OrderRedeem, OrderRedeemInput, OrderRedemptionState, OrderRedemptionStep, OrderReorderInput, OrderReportedTender, OrderRouteKind, OrderRouteStatus, OrderRoutes, OrderSetCustomerInput, OrderTotals, OrderUpdateInput, OrderValidateInput, OrderValidateOutput, Payment, PaymentCollectAt, PaymentEligibilityInput, 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, RecurringDateCronDateParts, RecurringDateCronExpression, RecurringDateCronFormatter, RecurringDateCronRepeat, RecurringDateCronResult, RecurringDateCronSummary, RecurringDateCronValues, RouteEligibility, RouteEligibilityDetail, RouteEligibilityFlags, RouteEligibilityReason, RouteFailureKind, RouteHealthEvent, RouteHealthListener, 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, SwitchCustomerArg, SwitchCustomerIdToken, SwitchCustomerResult, TenderAllocation, TenderAllocationInput, TenderAmount, TenderDetails, TenderRefundInput, TenderReplaceInput, TenderVoidInput, Variant, VariantGroup, WordFilterCategory, WordFilterCheckInput, WordFilterCheckResult, WordFilterMatch };
|
|
5836
|
+
export type { AddressInfo, AndConditions, ApplyFeesInput, ApplyFeesOrderScope, BillingInfo, BillingProfile, BundledItem, Category, CategoryAvailability, CategoryItem, ChannelManifest, ChannelManifestNative, ChannelManifestWeb, ChannelPlatform, ChannelTemplate, CheckoutMode, CheckoutResolved, CmsBlock, CmsBlockItem, Condition, Customer, CustomerGender, CustomerIdentifyInput, CustomerRegisterInput, CustomerUpdateInput, DayOfWeek, DeliveryAddress, DeviceSecretStorage, DeviceSecretsConfigureOptions, DeviceSecretsPayload, Fee, Fulfillment, FulfillmentEligibilityInput, FulfillmentListInput, GroupDisplayType, KioskAdminGesture, KioskAppState, KioskCommandPayload, KioskCommandType, KioskConfigChangedPayload, KioskDeviceConfig, KioskDeviceConfigDevice, KioskDeviceConfigInput, KioskDeviceConfigPayment, KioskDeviceConfigScope, KioskDeviceConfigSettings, KioskDeviceOverrides, KioskDevicePaymentSettings, KioskHealthBatchInput, KioskHealthBatchResult, KioskHealthSample, KioskHeartbeatHealth, KioskHeartbeatInput, KioskHeartbeatResult, KioskOrderPager, KioskPagerMode, KioskPagerSide, KioskPagersOverrides, KioskPagersSettings, KioskPickupNameRules, KioskRealtimeToken, LocalServerConfig, LocalServerHealthResult, MasivoTotpCode, MasivoTotpCreateInput, MasivoTotpCustomer, MasivoTotpVerification, MasivoTotpVerifyInput, MatchResult, MatchableRule, Menu, MenuLookup, MerchantPayment, Metadata, MixedPaymentsEffect, MixedPaymentsLimits, ModifierControlType, ModifierGroup, MultiLanguageText, OrConditions, Order, OrderAdvanceFulfillmentInput, OrderAdvanceFulfillmentOptions, OrderCancelInput, OrderCancelType, OrderChangedCallback, OrderChangedCallbackError, OrderChangedCheckoutState, OrderChangedDeviceReversal, OrderChangedDeviceReversalTender, OrderChangedError, OrderChangedPayload, OrderChangedRunStatus, OrderDeviceCredential, OrderDeviceKind, OrderDeviceListInput, OrderDeviceListResult, OrderFulfillment, OrderFulfillmentWorkflow, OrderFulfillmentWorkflowEdge, OrderFulfillmentWorkflowNode, OrderInsertInput, OrderLine, OrderListInput, OrderRateInput, OrderRating, OrderRecord, OrderRecordPaymentInput, OrderRedeem, OrderRedeemInput, OrderRedemptionState, OrderRedemptionStep, OrderReorderInput, OrderReportedTender, OrderRouteKind, OrderRouteStatus, OrderRoutes, OrderSetCustomerInput, OrderTotals, OrderUpdateInput, OrderValidateInput, OrderValidateOutput, Payment, PaymentCollectAt, PaymentEligibilityInput, 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, RecurringDateCronDateParts, RecurringDateCronExpression, RecurringDateCronFormatter, RecurringDateCronRepeat, RecurringDateCronResult, RecurringDateCronSummary, RecurringDateCronValues, RouteEligibility, RouteEligibilityDetail, RouteEligibilityFlags, RouteEligibilityReason, RouteFailureKind, RouteHealthEvent, RouteHealthListener, 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, SwitchCustomerArg, SwitchCustomerIdToken, SwitchCustomerOptions, SwitchCustomerResult, TenderAllocation, TenderAllocationInput, TenderAmount, TenderDetails, TenderRefundInput, TenderReplaceInput, TenderVoidInput, Variant, VariantGroup, WordFilterCategory, WordFilterCheckInput, WordFilterCheckResult, WordFilterMatch };
|