@fire-spark/core 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 +84 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -2598,6 +2598,11 @@ declare const findNodeById: (workflow: OrderFulfillmentWorkflow, nodeId: string)
2598
2598
  webhook_ids?: string[] | undefined;
2599
2599
  callback_ids?: string[] | undefined;
2600
2600
  }[] | undefined;
2601
+ notifications?: {
2602
+ id: string;
2603
+ channel: "EMAIL";
2604
+ template_id: string;
2605
+ }[] | undefined;
2601
2606
  entered_at?: string | undefined;
2602
2607
  ready_at?: string | undefined;
2603
2608
  advance_requested_at?: string | undefined;
@@ -2651,6 +2656,15 @@ declare const findNodeById: (workflow: OrderFulfillmentWorkflow, nodeId: string)
2651
2656
  idempotency_key?: string | undefined;
2652
2657
  resent_by?: string | undefined;
2653
2658
  }[] | undefined;
2659
+ email_run?: {
2660
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
2661
+ template_id?: string | undefined;
2662
+ locale?: string | undefined;
2663
+ resend_id?: string | null | undefined;
2664
+ attempts?: number | undefined;
2665
+ short_code?: string | null | undefined;
2666
+ updated_at?: string | undefined;
2667
+ } | undefined;
2654
2668
  manual_advance?: {
2655
2669
  reason: string;
2656
2670
  to_status: string;
@@ -2682,6 +2696,11 @@ declare const findStartNode: (workflow: OrderFulfillmentWorkflow) => {
2682
2696
  webhook_ids?: string[] | undefined;
2683
2697
  callback_ids?: string[] | undefined;
2684
2698
  }[] | undefined;
2699
+ notifications?: {
2700
+ id: string;
2701
+ channel: "EMAIL";
2702
+ template_id: string;
2703
+ }[] | undefined;
2685
2704
  entered_at?: string | undefined;
2686
2705
  ready_at?: string | undefined;
2687
2706
  advance_requested_at?: string | undefined;
@@ -2735,6 +2754,15 @@ declare const findStartNode: (workflow: OrderFulfillmentWorkflow) => {
2735
2754
  idempotency_key?: string | undefined;
2736
2755
  resent_by?: string | undefined;
2737
2756
  }[] | undefined;
2757
+ email_run?: {
2758
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
2759
+ template_id?: string | undefined;
2760
+ locale?: string | undefined;
2761
+ resend_id?: string | null | undefined;
2762
+ attempts?: number | undefined;
2763
+ short_code?: string | null | undefined;
2764
+ updated_at?: string | undefined;
2765
+ } | undefined;
2738
2766
  manual_advance?: {
2739
2767
  reason: string;
2740
2768
  to_status: string;
@@ -3121,6 +3149,11 @@ declare const findMappedStatusNode: (workflow: OrderFulfillmentWorkflow, status:
3121
3149
  webhook_ids?: string[] | undefined;
3122
3150
  callback_ids?: string[] | undefined;
3123
3151
  }[] | undefined;
3152
+ notifications?: {
3153
+ id: string;
3154
+ channel: "EMAIL";
3155
+ template_id: string;
3156
+ }[] | undefined;
3124
3157
  entered_at?: string | undefined;
3125
3158
  ready_at?: string | undefined;
3126
3159
  advance_requested_at?: string | undefined;
@@ -3174,6 +3207,15 @@ declare const findMappedStatusNode: (workflow: OrderFulfillmentWorkflow, status:
3174
3207
  idempotency_key?: string | undefined;
3175
3208
  resent_by?: string | undefined;
3176
3209
  }[] | undefined;
3210
+ email_run?: {
3211
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
3212
+ template_id?: string | undefined;
3213
+ locale?: string | undefined;
3214
+ resend_id?: string | null | undefined;
3215
+ attempts?: number | undefined;
3216
+ short_code?: string | null | undefined;
3217
+ updated_at?: string | undefined;
3218
+ } | undefined;
3177
3219
  manual_advance?: {
3178
3220
  reason: string;
3179
3221
  to_status: string;
@@ -3333,6 +3375,11 @@ declare const resolveFailureTerminalEdge: (input: {
3333
3375
  webhook_ids?: string[] | undefined;
3334
3376
  callback_ids?: string[] | undefined;
3335
3377
  }[] | undefined;
3378
+ notifications?: {
3379
+ id: string;
3380
+ channel: "EMAIL";
3381
+ template_id: string;
3382
+ }[] | undefined;
3336
3383
  entered_at?: string | undefined;
3337
3384
  ready_at?: string | undefined;
3338
3385
  advance_requested_at?: string | undefined;
@@ -3386,6 +3433,15 @@ declare const resolveFailureTerminalEdge: (input: {
3386
3433
  idempotency_key?: string | undefined;
3387
3434
  resent_by?: string | undefined;
3388
3435
  }[] | undefined;
3436
+ email_run?: {
3437
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
3438
+ template_id?: string | undefined;
3439
+ locale?: string | undefined;
3440
+ resend_id?: string | null | undefined;
3441
+ attempts?: number | undefined;
3442
+ short_code?: string | null | undefined;
3443
+ updated_at?: string | undefined;
3444
+ } | undefined;
3389
3445
  manual_advance?: {
3390
3446
  reason: string;
3391
3447
  to_status: string;
@@ -3435,6 +3491,11 @@ declare const sittingWorkflowNode: (workflow: OrderFulfillmentWorkflow, currentN
3435
3491
  webhook_ids?: string[] | undefined;
3436
3492
  callback_ids?: string[] | undefined;
3437
3493
  }[] | undefined;
3494
+ notifications?: {
3495
+ id: string;
3496
+ channel: "EMAIL";
3497
+ template_id: string;
3498
+ }[] | undefined;
3438
3499
  entered_at?: string | undefined;
3439
3500
  ready_at?: string | undefined;
3440
3501
  advance_requested_at?: string | undefined;
@@ -3488,6 +3549,15 @@ declare const sittingWorkflowNode: (workflow: OrderFulfillmentWorkflow, currentN
3488
3549
  idempotency_key?: string | undefined;
3489
3550
  resent_by?: string | undefined;
3490
3551
  }[] | undefined;
3552
+ email_run?: {
3553
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
3554
+ template_id?: string | undefined;
3555
+ locale?: string | undefined;
3556
+ resend_id?: string | null | undefined;
3557
+ attempts?: number | undefined;
3558
+ short_code?: string | null | undefined;
3559
+ updated_at?: string | undefined;
3560
+ } | undefined;
3491
3561
  manual_advance?: {
3492
3562
  reason: string;
3493
3563
  to_status: string;
@@ -3562,6 +3632,11 @@ declare const enterWorkflowNode: (input: {
3562
3632
  webhook_ids?: string[] | undefined;
3563
3633
  callback_ids?: string[] | undefined;
3564
3634
  }[] | undefined;
3635
+ notifications?: {
3636
+ id: string;
3637
+ channel: "EMAIL";
3638
+ template_id: string;
3639
+ }[] | undefined;
3565
3640
  entered_at?: string | undefined;
3566
3641
  ready_at?: string | undefined;
3567
3642
  advance_requested_at?: string | undefined;
@@ -3615,6 +3690,15 @@ declare const enterWorkflowNode: (input: {
3615
3690
  idempotency_key?: string | undefined;
3616
3691
  resent_by?: string | undefined;
3617
3692
  }[] | undefined;
3693
+ email_run?: {
3694
+ status: "failed" | "no_connection" | "offline_skipped" | "opted_out" | "sent";
3695
+ template_id?: string | undefined;
3696
+ locale?: string | undefined;
3697
+ resend_id?: string | null | undefined;
3698
+ attempts?: number | undefined;
3699
+ short_code?: string | null | undefined;
3700
+ updated_at?: string | undefined;
3701
+ } | undefined;
3618
3702
  manual_advance?: {
3619
3703
  reason: string;
3620
3704
  to_status: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fire-spark/core",
3
- "version": "0.42.2",
3
+ "version": "0.42.3",
4
4
  "description": "Fire Spark headless SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -20,8 +20,8 @@
20
20
  "big.js": "6.2.1",
21
21
  "dayjs": "1.11.9",
22
22
  "@types/big.js": "6.2.2",
23
- "@fire-spark/payments": "^0.42.2",
24
- "@fire-spark/types": "^0.42.2"
23
+ "@fire-spark/payments": "^0.42.3",
24
+ "@fire-spark/types": "^0.42.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "tsdown": "^0.22.14",