@spiffcommerce/core 31.1.0 → 31.2.0-beta.a27ad618-ade0-577a-a396-e9182c5d191a

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,12 @@ 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
+ ## [30.2.0] - 01-09-2025
18
+
19
+ ## Added
20
+
21
+ - The `getOrCreateCustomer` call will fetch an existing customer's product collection customers.
22
+
17
23
  ## [31.1.0] - 01-09-2025
18
24
 
19
25
  ## Added
package/dist/index.d.ts CHANGED
@@ -4143,6 +4143,7 @@ interface Customer {
4143
4143
  stakeholders?: Stakeholder[];
4144
4144
  bundleStakeholders?: BundleStakeholder[];
4145
4145
  hasBundleTemplates?: boolean;
4146
+ productCollectionCustomers?: ProductCollectionCustomer[];
4146
4147
  }
4147
4148
  interface CustomerDetailsInput {
4148
4149
  emailAddress: string;
@@ -4233,6 +4234,7 @@ type ProductCollectionResource = {
4233
4234
  dispatchEndDate?: string;
4234
4235
  image?: Asset;
4235
4236
  transformCollection?: TransformCollection;
4237
+ productCollectionCustomers?: ProductCollectionCustomer[];
4236
4238
  };
4237
4239
  type ProductCollectionProductResource = {
4238
4240
  id: string;
@@ -4246,6 +4248,16 @@ type ProductCollectionProductsFeedResource = {
4246
4248
  items: ProductCollectionProductResource[];
4247
4249
  total: number;
4248
4250
  };
4251
+ interface ProductCollectionCustomer {
4252
+ id: string;
4253
+ customer: Customer;
4254
+ productCollection: ProductCollectionResource;
4255
+ }
4256
+ interface ProductCollectionCustomer {
4257
+ id: string;
4258
+ customer: Customer;
4259
+ productCollection: ProductCollectionResource;
4260
+ }
4249
4261
  type GlobalPropertyState = {
4250
4262
  id: string;
4251
4263
  aspects: GlobalPropertyStateAspect[];