@transcend-io/sdk 1.6.1 → 1.7.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.mjs CHANGED
@@ -5566,13 +5566,14 @@ async function syncConsentUiVariants(client, airgapBundleId, yamlVariants, synce
5566
5566
  const configuration = parseConsentUiConfiguration(yamlVariant.configuration, resourceLabel);
5567
5567
  const remoteThemeId = yamlVariant.themeSlug ? syncedThemeBySlug[yamlVariant.themeSlug]?.id : void 0;
5568
5568
  const remoteVariant = remoteVariantBySlug[yamlVariant.slug];
5569
+ const descriptionInput = yamlVariant.description != null ? { description: yamlVariant.description } : {};
5569
5570
  if (remoteVariant) {
5570
5571
  await makeGraphQLRequest(client, UPDATE_CONSENT_UI_VARIANT, {
5571
5572
  variables: { input: {
5572
5573
  id: remoteVariant.id,
5573
5574
  airgapBundleId,
5574
5575
  name: yamlVariant.name,
5575
- description: yamlVariant.description,
5576
+ ...descriptionInput,
5576
5577
  locales: yamlVariant.locales,
5577
5578
  configuration,
5578
5579
  status: yamlVariant.status,
@@ -5591,7 +5592,7 @@ async function syncConsentUiVariants(client, airgapBundleId, yamlVariants, synce
5591
5592
  airgapBundleId,
5592
5593
  name: yamlVariant.name,
5593
5594
  slug: yamlVariant.slug,
5594
- description: yamlVariant.description,
5595
+ ...descriptionInput,
5595
5596
  locales: yamlVariant.locales,
5596
5597
  configuration,
5597
5598
  status: yamlVariant.status,
@@ -6405,6 +6406,7 @@ const DATA_SUBJECTS = parse(gql`
6405
6406
  active
6406
6407
  type
6407
6408
  adminDashboardDefaultSilentMode
6409
+ supportsAuthorizedAgent
6408
6410
  actions {
6409
6411
  type
6410
6412
  }
@@ -7069,6 +7071,7 @@ async function syncDataSubject(client, options) {
7069
7071
  id: dataSubjectId,
7070
7072
  title: dataSubject.title,
7071
7073
  adminDashboardDefaultSilentMode: dataSubject.adminDashboardDefaultSilentMode,
7074
+ supportsAuthorizedAgent: dataSubject.supportsAuthorizedAgent,
7072
7075
  actions: dataSubject.actions,
7073
7076
  skipPublish: skipPublish && typeof dataSubject.active === "undefined"
7074
7077
  } },