@spiffcommerce/core 21.17.1 → 21.17.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.
package/dist/index.d.ts CHANGED
@@ -2259,6 +2259,14 @@ interface Transaction {
2259
2259
  * Typically only available when being passed to {@link DesignCreationMessage}
2260
2260
  */
2261
2261
  designExternalVariants?: DesignExternalVariant[];
2262
+ transactionShareActions?: TransactionShareAction[];
2263
+ }
2264
+ interface TransactionShareAction {
2265
+ id: string;
2266
+ title?: string;
2267
+ precedence?: number;
2268
+ stakeholderType?: string;
2269
+ url?: string;
2262
2270
  }
2263
2271
  /**
2264
2272
  * An object containing ids for an external product/variant that should be added to the cart alongside the base product/variant.
@@ -2454,6 +2462,7 @@ interface Product {
2454
2462
  conversionConfiguration?: ConversionConfiguration;
2455
2463
  integrationProducts?: IntegrationProductResource[];
2456
2464
  productTags?: ProductTag[];
2465
+ productImages?: ProductImage[];
2457
2466
  /**
2458
2467
  * The SKU of the product in the merchant's store.
2459
2468
  */
@@ -2467,6 +2476,11 @@ interface Product {
2467
2476
  */
2468
2477
  priceBreaks?: ProductPriceBreak[];
2469
2478
  }
2479
+ interface ProductImage {
2480
+ id: string;
2481
+ precedence?: number;
2482
+ asset: Asset;
2483
+ }
2470
2484
  /**
2471
2485
  * A price break represents a minimum quantity of a product and the price that will be charged for that quantity.
2472
2486
  * This can be seen as an override for the base price of the product.
package/dist/index.js CHANGED
@@ -1098,6 +1098,13 @@ const oe = D`
1098
1098
  printFileName3
1099
1099
  printFileName4
1100
1100
  printFileName5
1101
+ transactionShareActions {
1102
+ id
1103
+ title
1104
+ stakeholderType
1105
+ precedence
1106
+ url
1107
+ }
1101
1108
  product {
1102
1109
  id
1103
1110
  basePrice
@@ -1289,6 +1296,20 @@ const _t = D`
1289
1296
  id
1290
1297
  name
1291
1298
  }
1299
+ productImages {
1300
+ id
1301
+ precedence
1302
+ asset {
1303
+ key
1304
+ fileLink
1305
+ name
1306
+ type
1307
+ versions {
1308
+ name
1309
+ link
1310
+ }
1311
+ }
1312
+ }
1292
1313
  priceBreaks {
1293
1314
  id
1294
1315
  minQty
@@ -447,6 +447,13 @@
447
447
  printFileName3
448
448
  printFileName4
449
449
  printFileName5
450
+ transactionShareActions {
451
+ id
452
+ title
453
+ stakeholderType
454
+ precedence
455
+ url
456
+ }
450
457
  product {
451
458
  id
452
459
  basePrice
@@ -636,6 +643,20 @@
636
643
  id
637
644
  name
638
645
  }
646
+ productImages {
647
+ id
648
+ precedence
649
+ asset {
650
+ key
651
+ fileLink
652
+ name
653
+ type
654
+ versions {
655
+ name
656
+ link
657
+ }
658
+ }
659
+ }
639
660
  priceBreaks {
640
661
  id
641
662
  minQty
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "21.17.1",
3
+ "version": "21.17.3",
4
4
  "description": "Core client API for interacting with the Spiff Commerce backend.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.umd.cjs",