@fire-spark/types 0.42.2 → 0.42.3

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 +46 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3098,6 +3098,11 @@ type OrderFulfillment = {
3098
3098
  webhook_ids?: string[] | undefined;
3099
3099
  callback_ids?: string[] | undefined;
3100
3100
  }[] | undefined;
3101
+ notifications?: {
3102
+ id: string;
3103
+ channel: "EMAIL";
3104
+ template_id: string;
3105
+ }[] | undefined;
3101
3106
  entered_at?: string | undefined;
3102
3107
  ready_at?: string | undefined;
3103
3108
  advance_requested_at?: string | undefined;
@@ -3151,6 +3156,15 @@ type OrderFulfillment = {
3151
3156
  idempotency_key?: string | undefined;
3152
3157
  resent_by?: string | undefined;
3153
3158
  }[] | undefined;
3159
+ email_run?: {
3160
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
3161
+ template_id?: string | undefined;
3162
+ locale?: string | undefined;
3163
+ resend_id?: string | null | undefined;
3164
+ attempts?: number | undefined;
3165
+ short_code?: string | null | undefined;
3166
+ updated_at?: string | undefined;
3167
+ } | undefined;
3154
3168
  manual_advance?: {
3155
3169
  reason: string;
3156
3170
  to_status: string;
@@ -3340,6 +3354,11 @@ type OrderFulfillmentWorkflow = {
3340
3354
  webhook_ids?: string[] | undefined;
3341
3355
  callback_ids?: string[] | undefined;
3342
3356
  }[] | undefined;
3357
+ notifications?: {
3358
+ id: string;
3359
+ channel: "EMAIL";
3360
+ template_id: string;
3361
+ }[] | undefined;
3343
3362
  entered_at?: string | undefined;
3344
3363
  ready_at?: string | undefined;
3345
3364
  advance_requested_at?: string | undefined;
@@ -3393,6 +3412,15 @@ type OrderFulfillmentWorkflow = {
3393
3412
  idempotency_key?: string | undefined;
3394
3413
  resent_by?: string | undefined;
3395
3414
  }[] | undefined;
3415
+ email_run?: {
3416
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
3417
+ template_id?: string | undefined;
3418
+ locale?: string | undefined;
3419
+ resend_id?: string | null | undefined;
3420
+ attempts?: number | undefined;
3421
+ short_code?: string | null | undefined;
3422
+ updated_at?: string | undefined;
3423
+ } | undefined;
3396
3424
  manual_advance?: {
3397
3425
  reason: string;
3398
3426
  to_status: string;
@@ -3539,6 +3567,11 @@ type OrderFulfillmentWorkflowNode = {
3539
3567
  webhook_ids?: string[] | undefined;
3540
3568
  callback_ids?: string[] | undefined;
3541
3569
  }[] | undefined;
3570
+ notifications?: {
3571
+ id: string;
3572
+ channel: "EMAIL";
3573
+ template_id: string;
3574
+ }[] | undefined;
3542
3575
  entered_at?: string | undefined;
3543
3576
  ready_at?: string | undefined;
3544
3577
  advance_requested_at?: string | undefined;
@@ -3592,6 +3625,15 @@ type OrderFulfillmentWorkflowNode = {
3592
3625
  idempotency_key?: string | undefined;
3593
3626
  resent_by?: string | undefined;
3594
3627
  }[] | undefined;
3628
+ email_run?: {
3629
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
3630
+ template_id?: string | undefined;
3631
+ locale?: string | undefined;
3632
+ resend_id?: string | null | undefined;
3633
+ attempts?: number | undefined;
3634
+ short_code?: string | null | undefined;
3635
+ updated_at?: string | undefined;
3636
+ } | undefined;
3595
3637
  manual_advance?: {
3596
3638
  reason: string;
3597
3639
  to_status: string;
@@ -3710,6 +3752,9 @@ type OrderFulfillmentWorkflowEdge = {
3710
3752
  taken_at?: string | undefined;
3711
3753
  } | undefined;
3712
3754
  };
3755
+ type OrderFulfillmentWorkflowNodeNotification = NonNullable<OrderFulfillmentWorkflowNode["data"]["notifications"]>[number];
3756
+ type OrderFulfillmentEmailRun = NonNullable<OrderFulfillmentWorkflowNode["data"]["email_run"]>;
3757
+ type OrderFulfillmentEmailRunStatus = OrderFulfillmentEmailRun["status"];
3713
3758
  //#endregion
3714
3759
  //#region .flat/src/fees.d.ts
3715
3760
  /** Merchant fee (conditions and effects) as returned by the API. */
@@ -5844,4 +5889,4 @@ type WordFilterCheckResult = {
5844
5889
  matches: WordFilterMatch[];
5845
5890
  };
5846
5891
  //#endregion
5847
- 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 };
5892
+ 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, OrderFulfillmentEmailRun, OrderFulfillmentEmailRunStatus, OrderFulfillmentWorkflow, OrderFulfillmentWorkflowEdge, OrderFulfillmentWorkflowNode, OrderFulfillmentWorkflowNodeNotification, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fire-spark/types",
3
- "version": "0.42.2",
3
+ "version": "0.42.3",
4
4
  "description": "Fire Spark public TypeScript types",
5
5
  "type": "module",
6
6
  "sideEffects": false,