@spiffcommerce/core 26.28.0 → 26.29.1-beta.40a15d47-8798-5aca-8bce-ebfec12b1ad9

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
@@ -14,6 +14,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
  - `Fixed` for any bug fixes.
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
+ ## [26.29.1] - 18-06-2025
18
+
19
+ ### Fixed
20
+
21
+ - Fix issues with bleeding-edge endpoints.
22
+
23
+ ## [26.29.0] - 18-06-2025
24
+
25
+ ### Added
26
+
27
+ - The method `updateRecipient` on `WorkflowManager`.
28
+
17
29
  ## [26.28.0] - 18-06-2025
18
30
 
19
31
  ### Added
package/dist/index.d.ts CHANGED
@@ -2598,6 +2598,10 @@ interface WorkflowManager {
2598
2598
  getStepTags(stepId: string): string[];
2599
2599
  approveTransaction(note?: string): Promise<void>;
2600
2600
  rejectTransaction(note?: string): Promise<void>;
2601
+ /**
2602
+ * Create or amend the recipient fo the transaction.
2603
+ */
2604
+ updateRecipient(firstName?: string, lastName?: string, address?: string, suburb?: string, state?: string, email?: string, postalCode?: string, country?: string): Promise<void>;
2601
2605
  }
2602
2606
 
2603
2607
  declare enum AssetType {
@@ -3578,6 +3582,7 @@ interface Transaction {
3578
3582
  stakeholders?: Stakeholder[];
3579
3583
  /** The stakeholder of the currently logged in user, if applicable. */
3580
3584
  currentStakeholder?: Stakeholder;
3585
+ recipient?: Recipient;
3581
3586
  /**
3582
3587
  * The amount of this transaction that was, or will be, ordered
3583
3588
  */
@@ -3607,6 +3612,20 @@ interface Transaction {
3607
3612
  marketplaceThemeInstallConfiguration?: ThemeInstallConfigurationGraphQl;
3608
3613
  completed?: boolean;
3609
3614
  }
3615
+ interface Recipient {
3616
+ id?: string;
3617
+ firstName?: string;
3618
+ lastName?: string;
3619
+ address?: string;
3620
+ suburb?: string;
3621
+ state?: string;
3622
+ email?: string;
3623
+ postalCode?: string;
3624
+ country?: string;
3625
+ createdAt?: string;
3626
+ updatedAt?: string;
3627
+ deletedAt?: string;
3628
+ }
3610
3629
  interface ShareAction {
3611
3630
  id: string;
3612
3631
  type: ShareActionType;
@@ -4900,6 +4919,7 @@ declare class DigitalContentStepService implements StepService<DigitalContentSte
4900
4919
  declare const digitalContentStepService: DigitalContentStepService;
4901
4920
 
4902
4921
  declare class MockWorkflowManager implements WorkflowManager {
4922
+ updateRecipient(_firstName?: string, _lastName?: string, _address?: string, _suburb?: string, _state?: string, _email?: string, _postalCode?: string, _country?: string): Promise<void>;
4903
4923
  approveTransaction(_note?: string): Promise<void>;
4904
4924
  rejectTransaction(_note?: string): Promise<void>;
4905
4925
  private client;