@spiffcommerce/core 40.2.0 → 40.3.0

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
@@ -4269,6 +4269,7 @@ interface Customer {
4269
4269
  bundleStakeholders?: BundleStakeholder[];
4270
4270
  hasBundleTemplates?: boolean;
4271
4271
  productCollectionCustomers?: ProductCollectionCustomer[];
4272
+ defaultTemplateBundleId?: string;
4272
4273
  }
4273
4274
  interface CustomerDetailsInput {
4274
4275
  emailAddress: string;
@@ -4324,6 +4325,7 @@ interface Bundle {
4324
4325
  transactions?: Transaction[];
4325
4326
  transactionIds?: string[];
4326
4327
  template?: boolean;
4328
+ templateLocked: boolean;
4327
4329
  templateStatus?: BundleTemplateStatus;
4328
4330
  bundleShareActions?: ShareAction[];
4329
4331
  workflowViewerLink: string;
package/dist/index.mjs CHANGED
@@ -10436,6 +10436,7 @@ const Vd = (i, t) => {
10436
10436
  name
10437
10437
  completed
10438
10438
  template
10439
+ templateLocked
10439
10440
  templateStatus
10440
10441
  transactionsCount
10441
10442
  productsCount
@@ -15960,6 +15961,7 @@ const fe = C`
15960
15961
  customer(emailAddress: $emailAddress) {
15961
15962
  id
15962
15963
  emailAddress
15964
+ defaultTemplateBundleId
15963
15965
  hasBundleTemplates
15964
15966
  partner {
15965
15967
  id
@@ -16276,7 +16278,7 @@ class Wd {
16276
16278
  } catch (a) {
16277
16279
  throw console.error(a), new pt("Critical - Unable to synchronize workflow state with server.");
16278
16280
  }
16279
- }, this.options = t, this.options.applicationKey && Ar(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 40.2.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16281
+ }, this.options = t, this.options.applicationKey && Ar(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 40.3.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16280
16282
  }
16281
16283
  configure(t) {
16282
16284
  wt.setHubUrl(t.hubUrl), wt.setServerUrl(t.serverUrl), wt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, this.userPoolClientId = t.userPoolClientId, this.userPoolRegion = t.userPoolRegion, this.spiffRegion = t.spiffRegion, t.bearerAuthenticationToken && gr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Gt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
@@ -17540,6 +17542,7 @@ const Sc = C`
17540
17542
  query GetLoggedInCustomer($email: String!) {
17541
17543
  customer(emailAddress: $email) {
17542
17544
  id
17545
+ defaultTemplateBundleId
17543
17546
  }
17544
17547
  }
17545
17548
  `, Ga = C`