@transcend-io/sdk 1.8.1 → 1.9.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
@@ -284,7 +284,7 @@ const UPDATE_BUSINESS_ENTITIES = gql`
284
284
  `;
285
285
  //#endregion
286
286
  //#region src/data-inventory/fetchAllBusinessEntities.ts
287
- const PAGE_SIZE$44 = 20;
287
+ const PAGE_SIZE$41 = 20;
288
288
  /**
289
289
  * Fetch all businessEntities in the organization
290
290
  *
@@ -299,14 +299,14 @@ async function fetchAllBusinessEntities(client, options = {}) {
299
299
  do {
300
300
  const { businessEntities: { nodes } } = await makeGraphQLRequest(client, BUSINESS_ENTITIES, {
301
301
  variables: {
302
- first: PAGE_SIZE$44,
302
+ first: PAGE_SIZE$41,
303
303
  offset
304
304
  },
305
305
  logger
306
306
  });
307
307
  businessEntities.push(...nodes);
308
- offset += PAGE_SIZE$44;
309
- shouldContinue = nodes.length === PAGE_SIZE$44;
308
+ offset += PAGE_SIZE$41;
309
+ shouldContinue = nodes.length === PAGE_SIZE$41;
310
310
  } while (shouldContinue);
311
311
  return businessEntities.sort((a, b) => a.title.localeCompare(b.title));
312
312
  }
@@ -357,7 +357,7 @@ const UPDATE_DATA_SUB_CATEGORIES = gql`
357
357
  `;
358
358
  //#endregion
359
359
  //#region src/data-inventory/fetchAllDataCategories.ts
360
- const PAGE_SIZE$43 = 20;
360
+ const PAGE_SIZE$40 = 20;
361
361
  /**
362
362
  * Fetch all dataSubCategories in the organization
363
363
  *
@@ -373,14 +373,14 @@ async function fetchAllDataCategories(client, options = {}) {
373
373
  do {
374
374
  const { dataSubCategories: { nodes } } = await makeGraphQLRequest(client, DATA_SUB_CATEGORIES, {
375
375
  variables: {
376
- first: PAGE_SIZE$43,
376
+ first: PAGE_SIZE$40,
377
377
  offset
378
378
  },
379
379
  logger
380
380
  });
381
381
  dataSubCategories.push(...nodes);
382
- offset += PAGE_SIZE$43;
383
- shouldContinue = nodes.length === PAGE_SIZE$43;
382
+ offset += PAGE_SIZE$40;
383
+ shouldContinue = nodes.length === PAGE_SIZE$40;
384
384
  } while (shouldContinue);
385
385
  return dataSubCategories.sort((a, b) => a.name.localeCompare(b.name));
386
386
  }
@@ -874,7 +874,7 @@ const IDENTIFIERS = parse(gql`
874
874
  `);
875
875
  //#endregion
876
876
  //#region src/data-inventory/fetchAllIdentifiers.ts
877
- const PAGE_SIZE$42 = 20;
877
+ const PAGE_SIZE$39 = 20;
878
878
  /**
879
879
  * Fetch all identifiers in the organization
880
880
  *
@@ -891,13 +891,13 @@ async function fetchAllIdentifiers(client, options = {}) {
891
891
  const { identifiers: { nodes } } = await makeGraphQLRequest(client, IDENTIFIERS, {
892
892
  logger,
893
893
  variables: {
894
- first: PAGE_SIZE$42,
894
+ first: PAGE_SIZE$39,
895
895
  offset
896
896
  }
897
897
  });
898
898
  identifiers.push(...nodes);
899
- offset += PAGE_SIZE$42;
900
- shouldContinue = nodes.length === PAGE_SIZE$42;
899
+ offset += PAGE_SIZE$39;
900
+ shouldContinue = nodes.length === PAGE_SIZE$39;
901
901
  } while (shouldContinue);
902
902
  return identifiers.sort((a, b) => a.name.localeCompare(b.name));
903
903
  }
@@ -976,7 +976,7 @@ const UPDATE_PROCESSING_ACTIVITIES = gql`
976
976
  `;
977
977
  //#endregion
978
978
  //#region src/data-inventory/fetchAllProcessingActivities.ts
979
- const PAGE_SIZE$41 = 20;
979
+ const PAGE_SIZE$38 = 20;
980
980
  /**
981
981
  * Fetch all processingActivities in the organization
982
982
  *
@@ -992,14 +992,14 @@ async function fetchAllProcessingActivities(client, options = {}) {
992
992
  do {
993
993
  const { processingActivities: { nodes } } = await makeGraphQLRequest(client, PROCESSING_ACTIVITIES, {
994
994
  variables: {
995
- first: PAGE_SIZE$41,
995
+ first: PAGE_SIZE$38,
996
996
  offset
997
997
  },
998
998
  logger
999
999
  });
1000
1000
  processingActivities.push(...nodes);
1001
- offset += PAGE_SIZE$41;
1002
- shouldContinue = nodes.length === PAGE_SIZE$41;
1001
+ offset += PAGE_SIZE$38;
1002
+ shouldContinue = nodes.length === PAGE_SIZE$38;
1003
1003
  } while (shouldContinue);
1004
1004
  return processingActivities.sort((a, b) => a.title.localeCompare(b.title));
1005
1005
  }
@@ -1064,7 +1064,7 @@ const UPDATE_VENDORS = gql`
1064
1064
  `;
1065
1065
  //#endregion
1066
1066
  //#region src/data-inventory/fetchAllVendors.ts
1067
- const PAGE_SIZE$40 = 20;
1067
+ const PAGE_SIZE$37 = 20;
1068
1068
  /**
1069
1069
  * Fetch all vendors in the organization
1070
1070
  *
@@ -1079,14 +1079,14 @@ async function fetchAllVendors(client, options = {}) {
1079
1079
  do {
1080
1080
  const { vendors: { nodes } } = await makeGraphQLRequest(client, VENDORS, {
1081
1081
  variables: {
1082
- first: PAGE_SIZE$40,
1082
+ first: PAGE_SIZE$37,
1083
1083
  offset
1084
1084
  },
1085
1085
  logger
1086
1086
  });
1087
1087
  vendors.push(...nodes);
1088
- offset += PAGE_SIZE$40;
1089
- shouldContinue = nodes.length === PAGE_SIZE$40;
1088
+ offset += PAGE_SIZE$37;
1089
+ shouldContinue = nodes.length === PAGE_SIZE$37;
1090
1090
  } while (shouldContinue);
1091
1091
  return vendors.sort((a, b) => a.title.localeCompare(b.title));
1092
1092
  }
@@ -1565,7 +1565,7 @@ const UPDATE_PURPOSE = parse(gql`
1565
1565
  `);
1566
1566
  //#endregion
1567
1567
  //#region src/preference-management/fetchAllPurposes.ts
1568
- const PAGE_SIZE$39 = 20;
1568
+ const PAGE_SIZE$36 = 20;
1569
1569
  /**
1570
1570
  * Fetch all purposes in the organization
1571
1571
  *
@@ -1582,14 +1582,14 @@ async function fetchAllPurposes(client, options = {}) {
1582
1582
  const { purposes: { nodes } } = await makeGraphQLRequest(client, PURPOSES$1, {
1583
1583
  logger,
1584
1584
  variables: {
1585
- first: PAGE_SIZE$39,
1585
+ first: PAGE_SIZE$36,
1586
1586
  offset,
1587
1587
  input: { includeDeleted }
1588
1588
  }
1589
1589
  });
1590
1590
  purposes.push(...nodes);
1591
- offset += PAGE_SIZE$39;
1592
- shouldContinue = nodes.length === PAGE_SIZE$39;
1591
+ offset += PAGE_SIZE$36;
1592
+ shouldContinue = nodes.length === PAGE_SIZE$36;
1593
1593
  } while (shouldContinue);
1594
1594
  return purposes.sort((a, b) => a.trackingType.localeCompare(b.trackingType));
1595
1595
  }
@@ -1643,7 +1643,7 @@ const CREATE_OR_UPDATE_PREFERENCE_TOPIC = parse(gql`
1643
1643
  `);
1644
1644
  //#endregion
1645
1645
  //#region src/preference-management/fetchAllPreferenceTopics.ts
1646
- const PAGE_SIZE$38 = 20;
1646
+ const PAGE_SIZE$35 = 20;
1647
1647
  /**
1648
1648
  * Fetch all preference topics in the organization
1649
1649
  *
@@ -1660,13 +1660,13 @@ async function fetchAllPreferenceTopics(client, options = {}) {
1660
1660
  const { preferenceTopics: { nodes } } = await makeGraphQLRequest(client, PREFERENCE_TOPICS, {
1661
1661
  logger,
1662
1662
  variables: {
1663
- first: PAGE_SIZE$38,
1663
+ first: PAGE_SIZE$35,
1664
1664
  offset
1665
1665
  }
1666
1666
  });
1667
1667
  preferenceTopics.push(...nodes);
1668
- offset += PAGE_SIZE$38;
1669
- shouldContinue = nodes.length === PAGE_SIZE$38;
1668
+ offset += PAGE_SIZE$35;
1669
+ shouldContinue = nodes.length === PAGE_SIZE$35;
1670
1670
  } while (shouldContinue);
1671
1671
  return preferenceTopics.sort((a, b) => `${a.slug}:${a.purpose.trackingType}`.localeCompare(`${b.slug}:${b.purpose.trackingType}`));
1672
1672
  }
@@ -2840,7 +2840,7 @@ const CREATE_OR_UPDATE_PREFERENCE_OPTION_VALUES = parse(gql`
2840
2840
  `);
2841
2841
  //#endregion
2842
2842
  //#region src/preference-management/fetchAllPreferenceOptionValues.ts
2843
- const PAGE_SIZE$37 = 50;
2843
+ const PAGE_SIZE$34 = 50;
2844
2844
  /**
2845
2845
  * Fetch all preference option values in the organization
2846
2846
  *
@@ -2856,14 +2856,14 @@ async function fetchAllPreferenceOptionValues(client, options = {}) {
2856
2856
  do {
2857
2857
  const { preferenceOptionValues: { nodes } } = await makeGraphQLRequest(client, PREFERENCE_OPTION_VALUES, {
2858
2858
  variables: {
2859
- first: PAGE_SIZE$37,
2859
+ first: PAGE_SIZE$34,
2860
2860
  offset
2861
2861
  },
2862
2862
  logger
2863
2863
  });
2864
2864
  preferenceOptionValues.push(...nodes);
2865
- offset += PAGE_SIZE$37;
2866
- shouldContinue = nodes.length === PAGE_SIZE$37;
2865
+ offset += PAGE_SIZE$34;
2866
+ shouldContinue = nodes.length === PAGE_SIZE$34;
2867
2867
  } while (shouldContinue);
2868
2868
  return preferenceOptionValues.sort((a, b) => a.slug.localeCompare(b.slug));
2869
2869
  }
@@ -3254,7 +3254,7 @@ const SET_RESOURCE_ATTRIBUTES = gql`
3254
3254
  `;
3255
3255
  //#endregion
3256
3256
  //#region src/administration/fetchAllAttributes.ts
3257
- const PAGE_SIZE$36 = 100;
3257
+ const PAGE_SIZE$33 = 100;
3258
3258
  /**
3259
3259
  * Fetch all attribute values for an attribute key
3260
3260
  *
@@ -3270,15 +3270,15 @@ async function fetchAllAttributeValues(client, options) {
3270
3270
  do {
3271
3271
  const { attributeValues: { nodes } } = await makeGraphQLRequest(client, ATTRIBUTE_VALUES, {
3272
3272
  variables: {
3273
- first: PAGE_SIZE$36,
3273
+ first: PAGE_SIZE$33,
3274
3274
  offset,
3275
3275
  attributeKeyId
3276
3276
  },
3277
3277
  logger
3278
3278
  });
3279
3279
  attributeValues.push(...nodes);
3280
- offset += PAGE_SIZE$36;
3281
- shouldContinue = nodes.length === PAGE_SIZE$36;
3280
+ offset += PAGE_SIZE$33;
3281
+ shouldContinue = nodes.length === PAGE_SIZE$33;
3282
3282
  } while (shouldContinue);
3283
3283
  return attributeValues.sort((a, b) => a.name.localeCompare(b.name));
3284
3284
  }
@@ -3297,7 +3297,7 @@ async function fetchAllAttributes(client, options = {}) {
3297
3297
  do {
3298
3298
  const { attributeKeys: { nodes } } = await makeGraphQLRequest(client, ATTRIBUTES, {
3299
3299
  variables: {
3300
- first: PAGE_SIZE$36,
3300
+ first: PAGE_SIZE$33,
3301
3301
  offset
3302
3302
  },
3303
3303
  logger
@@ -3309,8 +3309,8 @@ async function fetchAllAttributes(client, options = {}) {
3309
3309
  filterBy: { attributeKeyId: node.id }
3310
3310
  }) : []
3311
3311
  }))));
3312
- offset += PAGE_SIZE$36;
3313
- shouldContinue = nodes.length === PAGE_SIZE$36;
3312
+ offset += PAGE_SIZE$33;
3313
+ shouldContinue = nodes.length === PAGE_SIZE$33;
3314
3314
  } while (shouldContinue);
3315
3315
  return attributes.sort((a, b) => a.name.localeCompare(b.name));
3316
3316
  }
@@ -3427,7 +3427,7 @@ const UPDATE_TEAM = gql`
3427
3427
  `;
3428
3428
  //#endregion
3429
3429
  //#region src/administration/fetchAllTeams.ts
3430
- const PAGE_SIZE$35 = 20;
3430
+ const PAGE_SIZE$32 = 20;
3431
3431
  /**
3432
3432
  * Fetch all teams in the organization
3433
3433
  *
@@ -3443,20 +3443,20 @@ async function fetchAllTeams(client, options = {}) {
3443
3443
  do {
3444
3444
  const { teams: { nodes } } = await makeGraphQLRequest(client, TEAMS, {
3445
3445
  variables: {
3446
- first: PAGE_SIZE$35,
3446
+ first: PAGE_SIZE$32,
3447
3447
  offset
3448
3448
  },
3449
3449
  logger
3450
3450
  });
3451
3451
  teams.push(...nodes);
3452
- offset += PAGE_SIZE$35;
3453
- shouldContinue = nodes.length === PAGE_SIZE$35;
3452
+ offset += PAGE_SIZE$32;
3453
+ shouldContinue = nodes.length === PAGE_SIZE$32;
3454
3454
  } while (shouldContinue);
3455
3455
  return teams.sort((a, b) => a.name.localeCompare(b.name));
3456
3456
  }
3457
3457
  //#endregion
3458
3458
  //#region src/administration/fetchParentOrganizationTeams.ts
3459
- const PAGE_SIZE$34 = 20;
3459
+ const PAGE_SIZE$31 = 20;
3460
3460
  /**
3461
3461
  * Fetch teams from the parent organization that can be linked to child-org teams
3462
3462
  *
@@ -3472,15 +3472,15 @@ async function fetchParentOrganizationTeams(client, options = {}) {
3472
3472
  do {
3473
3473
  const { parentOrganizationTeams: { nodes } } = await makeGraphQLRequest(client, PARENT_ORGANIZATION_TEAMS, {
3474
3474
  variables: {
3475
- first: PAGE_SIZE$34,
3475
+ first: PAGE_SIZE$31,
3476
3476
  offset,
3477
3477
  filterBy
3478
3478
  },
3479
3479
  logger
3480
3480
  });
3481
3481
  teams.push(...nodes);
3482
- offset += PAGE_SIZE$34;
3483
- shouldContinue = nodes.length === PAGE_SIZE$34;
3482
+ offset += PAGE_SIZE$31;
3483
+ shouldContinue = nodes.length === PAGE_SIZE$31;
3484
3484
  } while (shouldContinue);
3485
3485
  return teams.sort((a, b) => a.name.localeCompare(b.name));
3486
3486
  }
@@ -3526,7 +3526,7 @@ const USERS = gql`
3526
3526
  `;
3527
3527
  //#endregion
3528
3528
  //#region src/administration/fetchAllUsers.ts
3529
- const PAGE_SIZE$33 = 20;
3529
+ const PAGE_SIZE$30 = 20;
3530
3530
  /**
3531
3531
  * Fetch all users in the organization
3532
3532
  *
@@ -3542,14 +3542,14 @@ async function fetchAllUsers(client, options = {}) {
3542
3542
  do {
3543
3543
  const { users: { nodes } } = await makeGraphQLRequest(client, USERS, {
3544
3544
  variables: {
3545
- first: PAGE_SIZE$33,
3545
+ first: PAGE_SIZE$30,
3546
3546
  offset
3547
3547
  },
3548
3548
  logger
3549
3549
  });
3550
3550
  users.push(...nodes);
3551
- offset += PAGE_SIZE$33;
3552
- shouldContinue = nodes.length === PAGE_SIZE$33;
3551
+ offset += PAGE_SIZE$30;
3552
+ shouldContinue = nodes.length === PAGE_SIZE$30;
3553
3553
  } while (shouldContinue);
3554
3554
  return users.sort((a, b) => a.email.localeCompare(b.email));
3555
3555
  }
@@ -3591,7 +3591,7 @@ const DELETE_API_KEY = gql`
3591
3591
  `;
3592
3592
  //#endregion
3593
3593
  //#region src/administration/fetchApiKeys.ts
3594
- const PAGE_SIZE$32 = 20;
3594
+ const PAGE_SIZE$29 = 20;
3595
3595
  const ADMIN_LINK = "https://app.transcend.io/infrastructure/api-keys";
3596
3596
  /**
3597
3597
  * Fetch all API keys in an organization
@@ -3608,15 +3608,15 @@ async function fetchAllApiKeys(client, options = {}) {
3608
3608
  do {
3609
3609
  const { apiKeys: { nodes } } = await makeGraphQLRequest(client, API_KEYS, {
3610
3610
  variables: {
3611
- first: PAGE_SIZE$32,
3611
+ first: PAGE_SIZE$29,
3612
3612
  offset,
3613
3613
  titles
3614
3614
  },
3615
3615
  logger
3616
3616
  });
3617
3617
  apiKeys.push(...nodes);
3618
- offset += PAGE_SIZE$32;
3619
- shouldContinue = nodes.length === PAGE_SIZE$32;
3618
+ offset += PAGE_SIZE$29;
3619
+ shouldContinue = nodes.length === PAGE_SIZE$29;
3620
3620
  } while (shouldContinue);
3621
3621
  return apiKeys.sort((a, b) => a.title.localeCompare(b.title));
3622
3622
  }
@@ -4591,7 +4591,7 @@ const DELETE_COOKIES = gql`
4591
4591
  `;
4592
4592
  //#endregion
4593
4593
  //#region src/consent/fetchAllCookies.ts
4594
- const PAGE_SIZE$31 = 20;
4594
+ const PAGE_SIZE$28 = 20;
4595
4595
  const DEFAULT_COOKIE_ORDER = [{
4596
4596
  field: "createdAt",
4597
4597
  direction: OrderDirection.Asc
@@ -4616,7 +4616,7 @@ async function fetchAllCookies(client, options = {}) {
4616
4616
  const { cookies: { nodes } } = await makeGraphQLRequest(client, COOKIES, {
4617
4617
  variables: {
4618
4618
  input: { airgapBundleId },
4619
- first: PAGE_SIZE$31,
4619
+ first: PAGE_SIZE$28,
4620
4620
  offset,
4621
4621
  filterBy: { status },
4622
4622
  orderBy
@@ -4624,8 +4624,8 @@ async function fetchAllCookies(client, options = {}) {
4624
4624
  logger
4625
4625
  });
4626
4626
  cookies.push(...nodes);
4627
- offset += PAGE_SIZE$31;
4628
- shouldContinue = nodes.length === PAGE_SIZE$31;
4627
+ offset += PAGE_SIZE$28;
4628
+ shouldContinue = nodes.length === PAGE_SIZE$28;
4629
4629
  } while (shouldContinue);
4630
4630
  return cookies.sort((a, b) => a.name.localeCompare(b.name));
4631
4631
  }
@@ -4737,7 +4737,7 @@ const DELETE_DATA_FLOWS = gql`
4737
4737
  `;
4738
4738
  //#endregion
4739
4739
  //#region src/consent/fetchAllDataFlows.ts
4740
- const PAGE_SIZE$30 = 20;
4740
+ const PAGE_SIZE$27 = 20;
4741
4741
  const DEFAULT_DATA_FLOW_ORDER = [{
4742
4742
  field: "createdAt",
4743
4743
  direction: OrderDirection.Asc
@@ -4762,7 +4762,7 @@ async function fetchAllDataFlows(client, options = {}) {
4762
4762
  const { dataFlows: { nodes } } = await makeGraphQLRequest(client, DATA_FLOWS, {
4763
4763
  variables: {
4764
4764
  input: { airgapBundleId },
4765
- first: PAGE_SIZE$30,
4765
+ first: PAGE_SIZE$27,
4766
4766
  offset,
4767
4767
  filterBy: {
4768
4768
  status,
@@ -4773,8 +4773,8 @@ async function fetchAllDataFlows(client, options = {}) {
4773
4773
  logger
4774
4774
  });
4775
4775
  dataFlows.push(...nodes);
4776
- offset += PAGE_SIZE$30;
4777
- shouldContinue = nodes.length === PAGE_SIZE$30;
4776
+ offset += PAGE_SIZE$27;
4777
+ shouldContinue = nodes.length === PAGE_SIZE$27;
4778
4778
  } while (shouldContinue);
4779
4779
  return dataFlows.sort((a, b) => a.value.localeCompare(b.value));
4780
4780
  }
@@ -5036,7 +5036,7 @@ const UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = gql`
5036
5036
  `;
5037
5037
  //#endregion
5038
5038
  //#region src/consent/fetchAllProcessingPurposes.ts
5039
- const PAGE_SIZE$29 = 20;
5039
+ const PAGE_SIZE$26 = 20;
5040
5040
  /**
5041
5041
  * Fetch all processingPurposeSubCategories in the organization
5042
5042
  *
@@ -5051,14 +5051,14 @@ async function fetchAllProcessingPurposes(client, options = {}) {
5051
5051
  do {
5052
5052
  const { processingPurposeSubCategories: { nodes } } = await makeGraphQLRequest(client, PROCESSING_PURPOSE_SUB_CATEGORIES, {
5053
5053
  variables: {
5054
- first: PAGE_SIZE$29,
5054
+ first: PAGE_SIZE$26,
5055
5055
  offset
5056
5056
  },
5057
5057
  logger: options.logger
5058
5058
  });
5059
5059
  processingPurposeSubCategories.push(...nodes);
5060
- offset += PAGE_SIZE$29;
5061
- shouldContinue = nodes.length === PAGE_SIZE$29;
5060
+ offset += PAGE_SIZE$26;
5061
+ shouldContinue = nodes.length === PAGE_SIZE$26;
5062
5062
  } while (shouldContinue);
5063
5063
  return processingPurposeSubCategories.sort((a, b) => a.name.localeCompare(b.name));
5064
5064
  }
@@ -5160,7 +5160,7 @@ const CREATE_CONSENT_EXPERIENCE = gql`
5160
5160
  `;
5161
5161
  //#endregion
5162
5162
  //#region src/consent/fetchConsentManagerExperiences.ts
5163
- const PAGE_SIZE$28 = 50;
5163
+ const PAGE_SIZE$25 = 50;
5164
5164
  /**
5165
5165
  * Fetch consent manager experiences
5166
5166
  *
@@ -5175,14 +5175,14 @@ async function fetchConsentManagerExperiences(client, options = {}) {
5175
5175
  do {
5176
5176
  const { experiences: { nodes } } = await makeGraphQLRequest(client, EXPERIENCES, {
5177
5177
  variables: {
5178
- first: PAGE_SIZE$28,
5178
+ first: PAGE_SIZE$25,
5179
5179
  offset
5180
5180
  },
5181
5181
  logger: options.logger
5182
5182
  });
5183
5183
  experiences.push(...nodes);
5184
- offset += PAGE_SIZE$28;
5185
- shouldContinue = nodes.length === PAGE_SIZE$28;
5184
+ offset += PAGE_SIZE$25;
5185
+ shouldContinue = nodes.length === PAGE_SIZE$25;
5186
5186
  } while (shouldContinue);
5187
5187
  return experiences.sort((a, b) => a.name.localeCompare(b.name));
5188
5188
  }
@@ -5204,7 +5204,7 @@ async function fetchConsentManagerTheme(client, options) {
5204
5204
  }
5205
5205
  //#endregion
5206
5206
  //#region src/consent/fetchConsentThemes.ts
5207
- const PAGE_SIZE$27 = 50;
5207
+ const PAGE_SIZE$24 = 50;
5208
5208
  /**
5209
5209
  * Fetch consent themes
5210
5210
  *
@@ -5221,20 +5221,20 @@ async function fetchConsentThemes(client, options = {}) {
5221
5221
  const { consentUiThemes: { nodes } } = await makeGraphQLRequest(client, FETCH_CONSENT_UI_THEMES, {
5222
5222
  variables: {
5223
5223
  airgapBundleId,
5224
- first: PAGE_SIZE$27,
5224
+ first: PAGE_SIZE$24,
5225
5225
  offset
5226
5226
  },
5227
5227
  logger: options.logger
5228
5228
  });
5229
5229
  themes.push(...nodes);
5230
- offset += PAGE_SIZE$27;
5231
- shouldContinue = nodes.length === PAGE_SIZE$27;
5230
+ offset += PAGE_SIZE$24;
5231
+ shouldContinue = nodes.length === PAGE_SIZE$24;
5232
5232
  } while (shouldContinue);
5233
5233
  return themes;
5234
5234
  }
5235
5235
  //#endregion
5236
5236
  //#region src/consent/fetchConsentVariants.ts
5237
- const PAGE_SIZE$26 = 50;
5237
+ const PAGE_SIZE$23 = 50;
5238
5238
  /**
5239
5239
  * Fetch consent variants
5240
5240
  *
@@ -5251,14 +5251,14 @@ async function fetchConsentVariants(client, options = {}) {
5251
5251
  const { consentUiVariants: { nodes } } = await makeGraphQLRequest(client, FETCH_CONSENT_UI_VARIANTS, {
5252
5252
  variables: {
5253
5253
  airgapBundleId,
5254
- first: PAGE_SIZE$26,
5254
+ first: PAGE_SIZE$23,
5255
5255
  offset
5256
5256
  },
5257
5257
  logger: options.logger
5258
5258
  });
5259
5259
  variants.push(...nodes);
5260
- offset += PAGE_SIZE$26;
5261
- shouldContinue = nodes.length === PAGE_SIZE$26;
5260
+ offset += PAGE_SIZE$23;
5261
+ shouldContinue = nodes.length === PAGE_SIZE$23;
5262
5262
  } while (shouldContinue);
5263
5263
  return variants;
5264
5264
  }
@@ -5611,7 +5611,7 @@ async function syncConsentUiVariants(client, airgapBundleId, yamlVariants, synce
5611
5611
  }
5612
5612
  //#endregion
5613
5613
  //#region src/consent/syncPartitions.ts
5614
- const PAGE_SIZE$25 = 50;
5614
+ const PAGE_SIZE$22 = 50;
5615
5615
  /**
5616
5616
  * Fetch the list of partitions
5617
5617
  *
@@ -5627,14 +5627,14 @@ async function fetchPartitions(client, options = {}) {
5627
5627
  do {
5628
5628
  const { consentPartitions: { nodes } } = await makeGraphQLRequest(client, CONSENT_PARTITIONS, {
5629
5629
  variables: {
5630
- first: PAGE_SIZE$25,
5630
+ first: PAGE_SIZE$22,
5631
5631
  offset
5632
5632
  },
5633
5633
  logger
5634
5634
  });
5635
5635
  partitions.push(...nodes);
5636
- offset += PAGE_SIZE$25;
5637
- shouldContinue = nodes.length === PAGE_SIZE$25;
5636
+ offset += PAGE_SIZE$22;
5637
+ shouldContinue = nodes.length === PAGE_SIZE$22;
5638
5638
  } while (shouldContinue);
5639
5639
  return partitions.sort((a, b) => a.name.localeCompare(b.name));
5640
5640
  }
@@ -6191,7 +6191,7 @@ async function syncPrivacyCenter(client, privacyCenter, options = {}) {
6191
6191
  }
6192
6192
  //#endregion
6193
6193
  //#region src/consent/fetchAllConsentWorkflowTriggers.ts
6194
- const PAGE_SIZE$24 = 50;
6194
+ const PAGE_SIZE$21 = 50;
6195
6195
  /**
6196
6196
  * Fetch all consent workflow triggers in the organization
6197
6197
  *
@@ -6207,14 +6207,14 @@ async function fetchAllConsentWorkflowTriggers(client, options = {}) {
6207
6207
  do {
6208
6208
  const { consentWorkflowTriggers: { nodes } } = await makeGraphQLRequest(client, CONSENT_WORKFLOW_TRIGGERS, {
6209
6209
  variables: {
6210
- first: PAGE_SIZE$24,
6210
+ first: PAGE_SIZE$21,
6211
6211
  offset
6212
6212
  },
6213
6213
  logger
6214
6214
  });
6215
6215
  triggers.push(...nodes);
6216
- offset += PAGE_SIZE$24;
6217
- shouldContinue = nodes.length === PAGE_SIZE$24;
6216
+ offset += PAGE_SIZE$21;
6217
+ shouldContinue = nodes.length === PAGE_SIZE$21;
6218
6218
  } while (shouldContinue);
6219
6219
  return triggers.sort((a, b) => a.name.localeCompare(b.name));
6220
6220
  }
@@ -6250,7 +6250,7 @@ const UPDATE_ACTION = gql`
6250
6250
  `;
6251
6251
  //#endregion
6252
6252
  //#region src/dsr-automation/fetchAllActions.ts
6253
- const PAGE_SIZE$23 = 20;
6253
+ const PAGE_SIZE$20 = 20;
6254
6254
  /**
6255
6255
  * Fetch all actions in the organization
6256
6256
  *
@@ -6266,14 +6266,14 @@ async function fetchAllActions(client, options = {}) {
6266
6266
  do {
6267
6267
  const { actions: { nodes } } = await makeGraphQLRequest(client, ACTIONS, {
6268
6268
  variables: {
6269
- first: PAGE_SIZE$23,
6269
+ first: PAGE_SIZE$20,
6270
6270
  offset
6271
6271
  },
6272
6272
  logger
6273
6273
  });
6274
6274
  actions.push(...nodes);
6275
- offset += PAGE_SIZE$23;
6276
- shouldContinue = nodes.length === PAGE_SIZE$23;
6275
+ offset += PAGE_SIZE$20;
6276
+ shouldContinue = nodes.length === PAGE_SIZE$20;
6277
6277
  } while (shouldContinue);
6278
6278
  return actions.sort((a, b) => a.type.localeCompare(b.type));
6279
6279
  }
@@ -6340,7 +6340,7 @@ const UPDATE_WORKFLOW_CONFIG = parse(gql`
6340
6340
  `);
6341
6341
  //#endregion
6342
6342
  //#region src/dsr-automation/fetchAllWorkflowConfigs.ts
6343
- const PAGE_SIZE$22 = 50;
6343
+ const PAGE_SIZE$19 = 50;
6344
6344
  /**
6345
6345
  * Display title for a workflow config, matching the admin UI:
6346
6346
  * `internalName` when set, otherwise the external title.
@@ -6366,15 +6366,15 @@ async function fetchAllWorkflowConfigs(client, options = {}) {
6366
6366
  do {
6367
6367
  const { workflows: { nodes } } = await makeGraphQLRequest(client, WORKFLOW_CONFIGS, {
6368
6368
  variables: {
6369
- first: PAGE_SIZE$22,
6369
+ first: PAGE_SIZE$19,
6370
6370
  offset,
6371
6371
  filterBy: workflowConfigType ? { workflowConfigType } : void 0
6372
6372
  },
6373
6373
  logger
6374
6374
  });
6375
6375
  configs.push(...nodes);
6376
- offset += PAGE_SIZE$22;
6377
- shouldContinue = nodes.length === PAGE_SIZE$22;
6376
+ offset += PAGE_SIZE$19;
6377
+ shouldContinue = nodes.length === PAGE_SIZE$19;
6378
6378
  } while (shouldContinue);
6379
6379
  return configs.sort((a, b) => getWorkflowConfigDisplayTitle(a).localeCompare(getWorkflowConfigDisplayTitle(b)));
6380
6380
  }
@@ -6803,7 +6803,7 @@ const SKIP_REQUEST_ENRICHER = gql`
6803
6803
  `;
6804
6804
  //#endregion
6805
6805
  //#region src/dsr-automation/fetchAllRequestEnrichers.ts
6806
- const PAGE_SIZE$21 = 50;
6806
+ const PAGE_SIZE$18 = 50;
6807
6807
  /**
6808
6808
  * Fetch all request enrichers for a particular request
6809
6809
  *
@@ -6819,15 +6819,15 @@ async function fetchAllRequestEnrichers(client, options) {
6819
6819
  do {
6820
6820
  const { requestEnrichers: { nodes } } = await makeGraphQLRequest(client, REQUEST_ENRICHERS, {
6821
6821
  variables: {
6822
- first: PAGE_SIZE$21,
6822
+ first: PAGE_SIZE$18,
6823
6823
  offset,
6824
6824
  requestId
6825
6825
  },
6826
6826
  logger
6827
6827
  });
6828
6828
  requestEnrichers.push(...nodes);
6829
- offset += PAGE_SIZE$21;
6830
- shouldContinue = nodes.length === PAGE_SIZE$21;
6829
+ offset += PAGE_SIZE$18;
6830
+ shouldContinue = nodes.length === PAGE_SIZE$18;
6831
6831
  } while (shouldContinue);
6832
6832
  return requestEnrichers;
6833
6833
  }
@@ -6855,7 +6855,7 @@ const RequestIdentifier = t.type({
6855
6855
  /** Type of identifier */
6856
6856
  type: valuesOf(IdentifierType)
6857
6857
  });
6858
- const PAGE_SIZE$20 = 50;
6858
+ const PAGE_SIZE$17 = 50;
6859
6859
  const RequestIdentifiersResponse = t.type({ identifiers: t.array(RequestIdentifier) });
6860
6860
  /**
6861
6861
  * Validate that the Sombra version meets the minimum requirement for
@@ -6886,7 +6886,7 @@ async function fetchAllRequestIdentifiers(client, sombra, options) {
6886
6886
  if (!skipSombraCheck) await validateSombraVersion(client, { logger });
6887
6887
  do {
6888
6888
  const { identifiers: nodes } = decodeCodec(RequestIdentifiersResponse, await withTransientRetry("Failed to fetch request identifiers", () => sombra.post("v1/request-identifiers", { json: {
6889
- first: PAGE_SIZE$20,
6889
+ first: PAGE_SIZE$17,
6890
6890
  offset,
6891
6891
  requestId
6892
6892
  } }).json(), {
@@ -6895,8 +6895,8 @@ async function fetchAllRequestIdentifiers(client, sombra, options) {
6895
6895
  baseDelayMs: 500
6896
6896
  }));
6897
6897
  requestIdentifiers.push(...nodes);
6898
- offset += PAGE_SIZE$20;
6899
- shouldContinue = nodes.length === PAGE_SIZE$20;
6898
+ offset += PAGE_SIZE$17;
6899
+ shouldContinue = nodes.length === PAGE_SIZE$17;
6900
6900
  } while (shouldContinue);
6901
6901
  return requestIdentifiers;
6902
6902
  }
@@ -6939,7 +6939,7 @@ const REQUEST_IDENTIFIERS = parse(gql`
6939
6939
  `);
6940
6940
  //#endregion
6941
6941
  //#region src/dsr-automation/fetchAllRequestIdentifierMetadata.ts
6942
- const PAGE_SIZE$19 = 50;
6942
+ const PAGE_SIZE$16 = 50;
6943
6943
  /**
6944
6944
  * Fetch all request identifier metadata for a particular request
6945
6945
  *
@@ -6957,7 +6957,7 @@ async function fetchAllRequestIdentifierMetadata(client, options = {}) {
6957
6957
  do {
6958
6958
  const { requestIdentifiers: { nodes } } = await makeGraphQLRequest(client, REQUEST_IDENTIFIERS, {
6959
6959
  variables: {
6960
- first: PAGE_SIZE$19,
6960
+ first: PAGE_SIZE$16,
6961
6961
  offset,
6962
6962
  requestIds: resolvedRequestIds,
6963
6963
  updatedAtBefore: updatedAtBefore ? updatedAtBefore.toISOString() : void 0,
@@ -6966,8 +6966,8 @@ async function fetchAllRequestIdentifierMetadata(client, options = {}) {
6966
6966
  logger
6967
6967
  });
6968
6968
  requestIdentifiers.push(...nodes);
6969
- offset += PAGE_SIZE$19;
6970
- shouldContinue = nodes.length === PAGE_SIZE$19;
6969
+ offset += PAGE_SIZE$16;
6970
+ shouldContinue = nodes.length === PAGE_SIZE$16;
6971
6971
  } while (shouldContinue);
6972
6972
  return requestIdentifiers;
6973
6973
  }
@@ -7148,7 +7148,7 @@ const UPDATE_ENRICHER = gql`
7148
7148
  `;
7149
7149
  //#endregion
7150
7150
  //#region src/dsr-automation/syncEnrichers.ts
7151
- const PAGE_SIZE$18 = 20;
7151
+ const PAGE_SIZE$15 = 20;
7152
7152
  /**
7153
7153
  * Fetch all enrichers in the organization
7154
7154
  *
@@ -7165,15 +7165,15 @@ async function fetchAllEnrichers(client, options = {}) {
7165
7165
  do {
7166
7166
  const { enrichers: { nodes } } = await makeGraphQLRequest(client, ENRICHERS, {
7167
7167
  variables: {
7168
- first: PAGE_SIZE$18,
7168
+ first: PAGE_SIZE$15,
7169
7169
  offset,
7170
7170
  title
7171
7171
  },
7172
7172
  logger
7173
7173
  });
7174
7174
  enrichers.push(...nodes);
7175
- offset += PAGE_SIZE$18;
7176
- shouldContinue = nodes.length === PAGE_SIZE$18;
7175
+ offset += PAGE_SIZE$15;
7176
+ shouldContinue = nodes.length === PAGE_SIZE$15;
7177
7177
  } while (shouldContinue);
7178
7178
  return enrichers.sort((a, b) => a.title.localeCompare(b.title));
7179
7179
  }
@@ -7313,7 +7313,7 @@ async function fetchActiveSiloDiscoPlugin(client, options) {
7313
7313
  }
7314
7314
  //#endregion
7315
7315
  //#region src/dsr-automation/fetchAllAttributeKeys.ts
7316
- const PAGE_SIZE$17 = 20;
7316
+ const PAGE_SIZE$14 = 20;
7317
7317
  /**
7318
7318
  * Fetch all attribute keys enabled for privacy requests
7319
7319
  *
@@ -7329,14 +7329,14 @@ async function fetchAllRequestAttributeKeys(client, options = {}) {
7329
7329
  do {
7330
7330
  const { attributeKeys: { nodes } } = await makeGraphQLRequest(client, ATTRIBUTE_KEYS_REQUESTS, {
7331
7331
  variables: {
7332
- first: PAGE_SIZE$17,
7332
+ first: PAGE_SIZE$14,
7333
7333
  offset
7334
7334
  },
7335
7335
  logger
7336
7336
  });
7337
7337
  attributeKeys.push(...nodes);
7338
- offset += PAGE_SIZE$17;
7339
- shouldContinue = nodes.length === PAGE_SIZE$17;
7338
+ offset += PAGE_SIZE$14;
7339
+ shouldContinue = nodes.length === PAGE_SIZE$14;
7340
7340
  } while (shouldContinue);
7341
7341
  return attributeKeys.sort((a, b) => a.name.localeCompare(b.name));
7342
7342
  }
@@ -7367,7 +7367,7 @@ const SILO_DISCOVERY_RESULTS = gql`
7367
7367
  `;
7368
7368
  //#endregion
7369
7369
  //#region src/dsr-automation/fetchAllSiloDiscoveryResults.ts
7370
- const PAGE_SIZE$16 = 30;
7370
+ const PAGE_SIZE$13 = 30;
7371
7371
  /**
7372
7372
  * Fetch all silo discovery results in the organization
7373
7373
  *
@@ -7383,7 +7383,7 @@ async function fetchAllSiloDiscoveryResults(client, options = {}) {
7383
7383
  do {
7384
7384
  const { siloDiscoveryResults: { nodes } } = await makeGraphQLRequest(client, SILO_DISCOVERY_RESULTS, {
7385
7385
  variables: {
7386
- first: PAGE_SIZE$16,
7386
+ first: PAGE_SIZE$13,
7387
7387
  offset,
7388
7388
  input: {},
7389
7389
  filterBy: {}
@@ -7395,8 +7395,8 @@ async function fetchAllSiloDiscoveryResults(client, options = {}) {
7395
7395
  title: node.suggestedCatalog.title
7396
7396
  } : node);
7397
7397
  siloDiscoveryResults.push(...titledNodes);
7398
- offset += PAGE_SIZE$16;
7399
- shouldContinue = nodes.length === PAGE_SIZE$16;
7398
+ offset += PAGE_SIZE$13;
7399
+ shouldContinue = nodes.length === PAGE_SIZE$13;
7400
7400
  } while (shouldContinue);
7401
7401
  return siloDiscoveryResults;
7402
7402
  }
@@ -7415,7 +7415,7 @@ const CATALOGS = gql`
7415
7415
  `;
7416
7416
  //#endregion
7417
7417
  //#region src/dsr-automation/fetchCatalogs.ts
7418
- const PAGE_SIZE$15 = 100;
7418
+ const PAGE_SIZE$12 = 100;
7419
7419
  /**
7420
7420
  * Fetch all integration catalogs in an organization
7421
7421
  *
@@ -7431,14 +7431,14 @@ async function fetchAllCatalogs(client, options = {}) {
7431
7431
  do {
7432
7432
  const { catalogs: { nodes } } = await makeGraphQLRequest(client, CATALOGS, {
7433
7433
  variables: {
7434
- first: PAGE_SIZE$15,
7434
+ first: PAGE_SIZE$12,
7435
7435
  offset
7436
7436
  },
7437
7437
  logger
7438
7438
  });
7439
7439
  catalogs.push(...nodes);
7440
- offset += PAGE_SIZE$15;
7441
- shouldContinue = nodes.length === PAGE_SIZE$15;
7440
+ offset += PAGE_SIZE$12;
7441
+ shouldContinue = nodes.length === PAGE_SIZE$12;
7442
7442
  } while (shouldContinue);
7443
7443
  return catalogs.sort((a, b) => a.integrationName.localeCompare(b.integrationName));
7444
7444
  }
@@ -7541,7 +7541,7 @@ async function fetchRequestDataSilosCount(client, options = {}) {
7541
7541
  });
7542
7542
  return totalCount;
7543
7543
  }
7544
- const PAGE_SIZE$14 = 100;
7544
+ const PAGE_SIZE$11 = 100;
7545
7545
  /**
7546
7546
  * Fetch all request data silos by some filter criteria
7547
7547
  *
@@ -7557,7 +7557,7 @@ async function fetchRequestDataSilos(client, options = {}) {
7557
7557
  do {
7558
7558
  const { requestDataSilos: { nodes } } = await makeGraphQLRequest(client, REQUEST_DATA_SILOS, {
7559
7559
  variables: {
7560
- first: PAGE_SIZE$14,
7560
+ first: PAGE_SIZE$11,
7561
7561
  offset,
7562
7562
  filterBy: {
7563
7563
  dataSiloId,
@@ -7569,8 +7569,8 @@ async function fetchRequestDataSilos(client, options = {}) {
7569
7569
  logger
7570
7570
  });
7571
7571
  requestDataSilos.push(...nodes);
7572
- offset += PAGE_SIZE$14;
7573
- shouldContinue = nodes.length === PAGE_SIZE$14;
7572
+ offset += PAGE_SIZE$11;
7573
+ shouldContinue = nodes.length === PAGE_SIZE$11;
7574
7574
  onProgress?.(nodes.length);
7575
7575
  } while (shouldContinue && (!limit || offset < limit));
7576
7576
  return requestDataSilos;
@@ -7735,7 +7735,7 @@ const CREATE_TEMPLATE = gql`
7735
7735
  `;
7736
7736
  //#endregion
7737
7737
  //#region src/dsr-automation/syncTemplates.ts
7738
- const PAGE_SIZE$13 = 20;
7738
+ const PAGE_SIZE$10 = 20;
7739
7739
  /**
7740
7740
  * Fetch all Templates in the organization
7741
7741
  *
@@ -7751,15 +7751,15 @@ async function fetchAllTemplates(client, options = {}) {
7751
7751
  do {
7752
7752
  const { templates: { nodes } } = await makeGraphQLRequest(client, TEMPLATES, {
7753
7753
  variables: {
7754
- first: PAGE_SIZE$13,
7754
+ first: PAGE_SIZE$10,
7755
7755
  offset,
7756
7756
  title
7757
7757
  },
7758
7758
  logger
7759
7759
  });
7760
7760
  templates.push(...nodes);
7761
- offset += PAGE_SIZE$13;
7762
- shouldContinue = nodes.length === PAGE_SIZE$13;
7761
+ offset += PAGE_SIZE$10;
7762
+ shouldContinue = nodes.length === PAGE_SIZE$10;
7763
7763
  } while (shouldContinue);
7764
7764
  return templates.sort((a, b) => a.title.localeCompare(b.title));
7765
7765
  }
@@ -8109,7 +8109,7 @@ const UPDATE_AGENT_FILES = gql`
8109
8109
  `;
8110
8110
  //#endregion
8111
8111
  //#region src/ai/fetchAllAgentFiles.ts
8112
- const PAGE_SIZE$12 = 20;
8112
+ const PAGE_SIZE$9 = 20;
8113
8113
  /**
8114
8114
  * Fetch all agent files in the organization
8115
8115
  *
@@ -8125,15 +8125,15 @@ async function fetchAllAgentFiles(client, options = {}) {
8125
8125
  do {
8126
8126
  const { agentFiles: { nodes } } = await makeGraphQLRequest(client, AGENT_FILES, {
8127
8127
  variables: {
8128
- first: PAGE_SIZE$12,
8128
+ first: PAGE_SIZE$9,
8129
8129
  offset,
8130
8130
  filterBy
8131
8131
  },
8132
8132
  logger
8133
8133
  });
8134
8134
  agentFiles.push(...nodes);
8135
- offset += PAGE_SIZE$12;
8136
- shouldContinue = nodes.length === PAGE_SIZE$12;
8135
+ offset += PAGE_SIZE$9;
8136
+ shouldContinue = nodes.length === PAGE_SIZE$9;
8137
8137
  } while (shouldContinue);
8138
8138
  return agentFiles.sort((a, b) => a.name.localeCompare(b.name));
8139
8139
  }
@@ -8174,7 +8174,7 @@ const UPDATE_AGENT_FUNCTIONS = gql`
8174
8174
  `;
8175
8175
  //#endregion
8176
8176
  //#region src/ai/fetchAllAgentFunctions.ts
8177
- const PAGE_SIZE$11 = 20;
8177
+ const PAGE_SIZE$8 = 20;
8178
8178
  /**
8179
8179
  * Fetch all agent functions in the organization
8180
8180
  *
@@ -8190,7 +8190,7 @@ async function fetchAllAgentFunctions(client, options = {}) {
8190
8190
  do {
8191
8191
  const { agentFunctions: { nodes } } = await makeGraphQLRequest(client, AGENT_FUNCTIONS, {
8192
8192
  variables: {
8193
- first: PAGE_SIZE$11,
8193
+ first: PAGE_SIZE$8,
8194
8194
  offset
8195
8195
  },
8196
8196
  logger
@@ -8199,8 +8199,8 @@ async function fetchAllAgentFunctions(client, options = {}) {
8199
8199
  ...node,
8200
8200
  parameters: JSON.parse(node.parameters)
8201
8201
  })));
8202
- offset += PAGE_SIZE$11;
8203
- shouldContinue = nodes.length === PAGE_SIZE$11;
8202
+ offset += PAGE_SIZE$8;
8203
+ shouldContinue = nodes.length === PAGE_SIZE$8;
8204
8204
  } while (shouldContinue);
8205
8205
  return agentFunctions.sort((a, b) => a.name.localeCompare(b.name));
8206
8206
  }
@@ -8265,7 +8265,7 @@ const UPDATE_AGENTS = gql`
8265
8265
  `;
8266
8266
  //#endregion
8267
8267
  //#region src/ai/fetchAllAgents.ts
8268
- const PAGE_SIZE$10 = 20;
8268
+ const PAGE_SIZE$7 = 20;
8269
8269
  /**
8270
8270
  * Fetch all agents in the organization
8271
8271
  *
@@ -8281,15 +8281,15 @@ async function fetchAllAgents(client, options = {}) {
8281
8281
  do {
8282
8282
  const { agents: { nodes } } = await makeGraphQLRequest(client, AGENTS, {
8283
8283
  variables: {
8284
- first: PAGE_SIZE$10,
8284
+ first: PAGE_SIZE$7,
8285
8285
  offset,
8286
8286
  filterBy
8287
8287
  },
8288
8288
  logger
8289
8289
  });
8290
8290
  agents.push(...nodes);
8291
- offset += PAGE_SIZE$10;
8292
- shouldContinue = nodes.length === PAGE_SIZE$10;
8291
+ offset += PAGE_SIZE$7;
8292
+ shouldContinue = nodes.length === PAGE_SIZE$7;
8293
8293
  } while (shouldContinue);
8294
8294
  return agents.sort((a, b) => a.name.localeCompare(b.name));
8295
8295
  }
@@ -8322,7 +8322,7 @@ const LARGE_LANGUAGE_MODELS = gql`
8322
8322
  `;
8323
8323
  //#endregion
8324
8324
  //#region src/ai/fetchLargeLanguageModels.ts
8325
- const PAGE_SIZE$9 = 20;
8325
+ const PAGE_SIZE$6 = 20;
8326
8326
  /**
8327
8327
  * Fetch all LargeLanguageModels in the organization
8328
8328
  *
@@ -8338,263 +8338,26 @@ async function fetchAllLargeLanguageModels(client, options = {}) {
8338
8338
  do {
8339
8339
  const { largeLanguageModels: { nodes } } = await makeGraphQLRequest(client, LARGE_LANGUAGE_MODELS, {
8340
8340
  variables: {
8341
- first: PAGE_SIZE$9,
8341
+ first: PAGE_SIZE$6,
8342
8342
  offset
8343
8343
  },
8344
8344
  logger
8345
8345
  });
8346
8346
  largeLanguageModels.push(...nodes);
8347
- offset += PAGE_SIZE$9;
8348
- shouldContinue = nodes.length === PAGE_SIZE$9;
8347
+ offset += PAGE_SIZE$6;
8348
+ shouldContinue = nodes.length === PAGE_SIZE$6;
8349
8349
  } while (shouldContinue);
8350
8350
  return largeLanguageModels.sort((a, b) => a.name.localeCompare(b.name));
8351
8351
  }
8352
8352
  //#endregion
8353
- //#region src/ai/gqls/prompt.ts
8354
- const PROMPTS = gql`
8355
- query TranscendCliPrompts($first: Int!, $offset: Int!, $filterBy: PromptFiltersInput) {
8356
- prompts(
8357
- first: $first
8358
- orderBy: [{ field: title, direction: ASC }]
8359
- offset: $offset
8360
- filterBy: $filterBy
8361
- ) {
8362
- nodes {
8363
- id
8364
- title
8365
- status
8366
- content
8367
- temperature
8368
- topP
8369
- maxTokensToSample
8370
- }
8371
- }
8372
- }
8373
- `;
8374
- const PROMPT_PARTIALS = gql`
8375
- query TranscendCliPromptPartials($first: Int!, $offset: Int!) {
8376
- promptPartials(first: $first, offset: $offset) {
8377
- nodes {
8378
- id
8379
- title
8380
- content
8381
- }
8382
- }
8383
- }
8384
- `;
8385
- const PROMPT_GROUPS = gql`
8386
- query TranscendCliPromptGroups($first: Int!, $offset: Int!) {
8387
- promptGroups(first: $first, offset: $offset) {
8388
- nodes {
8389
- id
8390
- title
8391
- description
8392
- prompts {
8393
- title
8394
- }
8395
- }
8396
- }
8397
- }
8398
- `;
8399
- const PROMPTS_WITH_VARIABLES = gql`
8400
- query TranscendCliPromptsWithVariables($input: PromptsWithVariablesInput!) {
8401
- promptsWithVariables(input: $input) {
8402
- prompts {
8403
- id
8404
- title
8405
- content
8406
- status
8407
- temperature
8408
- topP
8409
- maxTokensToSample
8410
- responseFormat
8411
- }
8412
- promptPartials {
8413
- id
8414
- title
8415
- content
8416
- slug
8417
- }
8418
- calculatedVariables {
8419
- data
8420
- name
8421
- }
8422
- runtimeVariables {
8423
- name
8424
- }
8425
- }
8426
- }
8427
- `;
8428
- const UPDATE_PROMPTS = gql`
8429
- mutation TranscendCliUpdatePrompts($input: UpdatePromptsInput!) {
8430
- updatePrompts(input: $input) {
8431
- clientMutationId
8432
- }
8433
- }
8434
- `;
8435
- const CREATE_PROMPT = gql`
8436
- mutation TranscendCliCreatePrompt($input: CreatePromptInput!) {
8437
- createPrompt(input: $input) {
8438
- clientMutationId
8439
- prompt {
8440
- id
8441
- }
8442
- }
8443
- }
8444
- `;
8445
- const UPDATE_PROMPT_PARTIALS = gql`
8446
- mutation TranscendCliUpdatePromptPartials($input: UpdatePromptPartialsInput!) {
8447
- updatePromptPartials(input: $input) {
8448
- clientMutationId
8449
- }
8450
- }
8451
- `;
8452
- const CREATE_PROMPT_PARTIAL = gql`
8453
- mutation TranscendCliCreatePromptPartial($input: CreatePromptPartialInput!) {
8454
- createPromptPartial(input: $input) {
8455
- clientMutationId
8456
- promptPartial {
8457
- id
8458
- }
8459
- }
8460
- }
8461
- `;
8462
- const UPDATE_PROMPT_GROUPS = gql`
8463
- mutation TranscendCliUpdatePromptGroups($input: UpdatePromptGroupsInput!) {
8464
- updatePromptGroups(input: $input) {
8465
- clientMutationId
8466
- }
8467
- }
8468
- `;
8469
- const CREATE_PROMPT_GROUP = gql`
8470
- mutation TranscendCliCreatePromptPartial($input: CreatePromptGroupInput!) {
8471
- createPromptGroup(input: $input) {
8472
- clientMutationId
8473
- promptGroup {
8474
- id
8475
- }
8476
- }
8477
- }
8478
- `;
8479
- //#endregion
8480
- //#region src/ai/fetchPromptGroups.ts
8481
- const PAGE_SIZE$8 = 20;
8482
- /**
8483
- * Fetch all PromptGroups in the organization
8484
- *
8485
- * @param client - GraphQL client
8486
- * @param options - Options
8487
- * @returns All PromptGroups in the organization
8488
- */
8489
- async function fetchAllPromptGroups(client, options = {}) {
8490
- const { logger } = options;
8491
- const promptGroups = [];
8492
- let offset = 0;
8493
- let shouldContinue = false;
8494
- do {
8495
- const { promptGroups: { nodes } } = await makeGraphQLRequest(client, PROMPT_GROUPS, {
8496
- variables: {
8497
- first: PAGE_SIZE$8,
8498
- offset
8499
- },
8500
- logger
8501
- });
8502
- promptGroups.push(...nodes);
8503
- offset += PAGE_SIZE$8;
8504
- shouldContinue = nodes.length === PAGE_SIZE$8;
8505
- } while (shouldContinue);
8506
- return promptGroups.sort((a, b) => a.title.localeCompare(b.title));
8507
- }
8508
- //#endregion
8509
- //#region src/ai/fetchPromptPartials.ts
8510
- const PAGE_SIZE$7 = 20;
8511
- /**
8512
- * Fetch all PromptPartials in the organization
8513
- *
8514
- * @param client - GraphQL client
8515
- * @param options - Options
8516
- * @returns All PromptPartials in the organization
8517
- */
8518
- async function fetchAllPromptPartials(client, options = {}) {
8519
- const { logger } = options;
8520
- const promptPartials = [];
8521
- let offset = 0;
8522
- let shouldContinue = false;
8523
- do {
8524
- const { promptPartials: { nodes } } = await makeGraphQLRequest(client, PROMPT_PARTIALS, {
8525
- variables: {
8526
- first: PAGE_SIZE$7,
8527
- offset
8528
- },
8529
- logger
8530
- });
8531
- promptPartials.push(...nodes);
8532
- offset += PAGE_SIZE$7;
8533
- shouldContinue = nodes.length === PAGE_SIZE$7;
8534
- } while (shouldContinue);
8535
- return promptPartials.sort((a, b) => a.title.localeCompare(b.title));
8536
- }
8537
- //#endregion
8538
- //#region src/ai/fetchPrompts.ts
8539
- const PAGE_SIZE$6 = 20;
8540
- /**
8541
- * Fetch all Prompts in the organization
8542
- *
8543
- * @param client - GraphQL client
8544
- * @param options - Options
8545
- * @returns All Prompts in the organization
8546
- */
8547
- async function fetchAllPrompts(client, options = {}) {
8548
- const { logger, filterBy: { text, ids = [], titles = [] } = {} } = options;
8549
- const prompts = [];
8550
- let offset = 0;
8551
- let shouldContinue = false;
8552
- do {
8553
- const { prompts: { nodes } } = await makeGraphQLRequest(client, PROMPTS, {
8554
- variables: {
8555
- first: PAGE_SIZE$6,
8556
- offset,
8557
- filterBy: {
8558
- ...text ? { text } : {},
8559
- ...titles.length > 0 ? { title: titles } : {},
8560
- ...ids.length > 0 ? { id: ids } : {}
8561
- }
8562
- },
8563
- logger
8564
- });
8565
- prompts.push(...nodes);
8566
- offset += PAGE_SIZE$6;
8567
- shouldContinue = nodes.length === PAGE_SIZE$6;
8568
- } while (shouldContinue);
8569
- return prompts.sort((a, b) => a.title.localeCompare(b.title));
8570
- }
8571
- /**
8572
- * Fetch prompts with templated variables
8573
- *
8574
- * @param client - GraphQL client
8575
- * @param options - Options
8576
- * @returns Prompts and template variables
8577
- */
8578
- async function fetchPromptsWithVariables(client, options = {}) {
8579
- const { logger, filterBy: { titles: promptTitles = [], ids: promptIds = [] } = {} } = options;
8580
- const { promptsWithVariables } = await makeGraphQLRequest(client, PROMPTS_WITH_VARIABLES, {
8581
- variables: { input: {
8582
- ...promptTitles.length > 0 ? { promptTitles } : {},
8583
- ...promptIds.length > 0 ? { promptIds } : {}
8584
- } },
8585
- logger
8586
- });
8587
- return promptsWithVariables;
8588
- }
8589
- //#endregion
8590
- //#region src/ai/gqls/promptThread.ts
8591
- const PROMPT_THREADS = gql`
8592
- query TranscendCliPromptThreads(
8593
- $first: Int!
8594
- $offset: Int!
8595
- $filterBy: PromptThreadFiltersInput!
8596
- ) {
8597
- promptThreads(first: $first, offset: $offset, filterBy: $filterBy) {
8353
+ //#region src/ai/gqls/promptThread.ts
8354
+ const PROMPT_THREADS = gql`
8355
+ query TranscendCliPromptThreads(
8356
+ $first: Int!
8357
+ $offset: Int!
8358
+ $filterBy: PromptThreadFiltersInput!
8359
+ ) {
8360
+ promptThreads(first: $first, offset: $offset, filterBy: $filterBy) {
8598
8361
  nodes {
8599
8362
  id
8600
8363
  threadId
@@ -8886,259 +8649,6 @@ async function syncAgents(client, inputs, options = {}) {
8886
8649
  return !encounteredError;
8887
8650
  }
8888
8651
  //#endregion
8889
- //#region src/ai/syncPromptGroups.ts
8890
- /**
8891
- * Create a new prompt group
8892
- *
8893
- * @param client - GraphQL client
8894
- * @param input - Prompt input
8895
- * @param options - Options
8896
- * @returns Prompt group ID
8897
- */
8898
- async function createPromptGroup(client, options) {
8899
- const { input, logger = NOOP_LOGGER } = options;
8900
- const { createPromptGroup: { promptGroup } } = await makeGraphQLRequest(client, CREATE_PROMPT_GROUP, {
8901
- variables: { input },
8902
- logger
8903
- });
8904
- logger.info(`Successfully created prompt group "${input.title}"!`);
8905
- return promptGroup.id;
8906
- }
8907
- /**
8908
- * Update a set of existing prompt groups
8909
- *
8910
- * @param client - GraphQL client
8911
- * @param options - Options
8912
- */
8913
- async function updatePromptGroups(client, options) {
8914
- const { input: promptGroups, logger = NOOP_LOGGER } = options;
8915
- await makeGraphQLRequest(client, UPDATE_PROMPT_GROUPS, {
8916
- variables: { input: { promptGroups: promptGroups.map(([promptGroup, id]) => ({
8917
- ...promptGroup,
8918
- id
8919
- })) } },
8920
- logger
8921
- });
8922
- logger.info(`Successfully updated ${promptGroups.length} prompt groups!`);
8923
- }
8924
- /**
8925
- * Sync the prompt groups
8926
- *
8927
- * @param client - GraphQL client
8928
- * @param promptGroups - PromptGroups
8929
- * @param options - Options
8930
- * @returns True if synced successfully
8931
- */
8932
- async function syncPromptGroups(client, promptGroups, options = {}) {
8933
- const { logger = NOOP_LOGGER, concurrency = 20 } = options;
8934
- let encounteredError = false;
8935
- logger.info(`Syncing "${promptGroups.length}" prompt groups...`);
8936
- const existing = await fetchAllPromptGroups(client, { logger });
8937
- const promptByTitle = keyBy(await fetchAllPrompts(client, { logger }), "title");
8938
- const promptGroupByTitle = keyBy(existing, "title");
8939
- const mapPromptGroupsToExisting = promptGroups.map((promptInput) => [promptInput, promptGroupByTitle[promptInput.title]?.id]);
8940
- const newPromptGroups = mapPromptGroupsToExisting.filter(([, existing]) => !existing).map(([promptInput]) => promptInput);
8941
- try {
8942
- logger.info(`Creating "${newPromptGroups.length}" new prompt groups...`);
8943
- await map(newPromptGroups, async (prompt) => {
8944
- await createPromptGroup(client, {
8945
- input: {
8946
- ...prompt,
8947
- promptIds: prompt.prompts.map((title) => {
8948
- const prompt = promptByTitle[title];
8949
- if (!prompt) throw new Error(`Failed to find prompt with title: "${title}"`);
8950
- return prompt.id;
8951
- })
8952
- },
8953
- logger
8954
- });
8955
- }, { concurrency });
8956
- logger.info(`Successfully synced ${newPromptGroups.length} prompt groups!`);
8957
- } catch (err) {
8958
- encounteredError = true;
8959
- logger.error(`Failed to create prompt groups! - ${err.message}`);
8960
- }
8961
- const existingPromptGroupsMapped = mapPromptGroupsToExisting.filter((x) => !!x[1]);
8962
- try {
8963
- logger.info(`Updating "${existingPromptGroupsMapped.length}" prompt groups...`);
8964
- await updatePromptGroups(client, {
8965
- input: existingPromptGroupsMapped.map(([{ prompts, ...input }, id]) => [{
8966
- ...input,
8967
- promptIds: prompts.map((title) => {
8968
- const prompt = promptByTitle[title];
8969
- if (!prompt) throw new Error(`Failed to find prompt with title: "${title}"`);
8970
- return prompt.id;
8971
- })
8972
- }, id]),
8973
- logger
8974
- });
8975
- logger.info(`Successfully updated "${existingPromptGroupsMapped.length}" prompt groups!`);
8976
- } catch (err) {
8977
- encounteredError = true;
8978
- logger.error(`Failed to create prompt groups! - ${err.message}`);
8979
- }
8980
- logger.info(`Synced "${promptGroups.length}" prompt groups!`);
8981
- return !encounteredError;
8982
- }
8983
- //#endregion
8984
- //#region src/ai/syncPromptPartials.ts
8985
- /**
8986
- * Create a new prompt partial
8987
- *
8988
- * @param client - GraphQL client
8989
- * @param input - Prompt input
8990
- * @param options - Options
8991
- * @returns Prompt partial ID
8992
- */
8993
- async function createPromptPartial(client, options) {
8994
- const { input, logger = NOOP_LOGGER } = options;
8995
- const { createPromptPartial: { promptPartial } } = await makeGraphQLRequest(client, CREATE_PROMPT_PARTIAL, {
8996
- variables: { input },
8997
- logger
8998
- });
8999
- logger.info(`Successfully created prompt partial "${input.title}"!`);
9000
- return promptPartial.id;
9001
- }
9002
- /**
9003
- * Update a set of existing prompt partials
9004
- *
9005
- * @param client - GraphQL client
9006
- * @param options - Options
9007
- */
9008
- async function updatePromptPartials(client, options) {
9009
- const { input: promptPartials, logger = NOOP_LOGGER } = options;
9010
- await makeGraphQLRequest(client, UPDATE_PROMPT_PARTIALS, {
9011
- variables: { input: { promptPartials: promptPartials.map(([promptPartial, id]) => ({
9012
- ...promptPartial,
9013
- id
9014
- })) } },
9015
- logger
9016
- });
9017
- logger.info(`Successfully updated ${promptPartials.length} prompt partials!`);
9018
- }
9019
- /**
9020
- * Sync the prompt partials
9021
- *
9022
- * @param client - GraphQL client
9023
- * @param promptPartials - PromptPartials
9024
- * @param options - Options
9025
- * @returns True if synced successfully
9026
- */
9027
- async function syncPromptPartials(client, promptPartials, options = {}) {
9028
- const { logger = NOOP_LOGGER, concurrency = 20 } = options;
9029
- let encounteredError = false;
9030
- logger.info(`Syncing "${promptPartials.length}" prompt partials...`);
9031
- const promptPartialByTitle = keyBy(await fetchAllPromptPartials(client, { logger }), "title");
9032
- const mapPromptPartialsToExisting = promptPartials.map((promptInput) => [promptInput, promptPartialByTitle[promptInput.title]?.id]);
9033
- const newPromptPartials = mapPromptPartialsToExisting.filter(([, existing]) => !existing).map(([promptInput]) => promptInput);
9034
- try {
9035
- logger.info(`Creating "${newPromptPartials.length}" new prompt partials...`);
9036
- await map(newPromptPartials, async (prompt) => {
9037
- await createPromptPartial(client, {
9038
- input: prompt,
9039
- logger
9040
- });
9041
- }, { concurrency });
9042
- logger.info(`Successfully synced ${newPromptPartials.length} prompt partials!`);
9043
- } catch (err) {
9044
- encounteredError = true;
9045
- logger.error(`Failed to create prompt partials! - ${err.message}`);
9046
- }
9047
- const existingPromptPartials = mapPromptPartialsToExisting.filter((x) => !!x[1]);
9048
- try {
9049
- logger.info(`Updating "${existingPromptPartials.length}" prompt partials...`);
9050
- await updatePromptPartials(client, {
9051
- input: existingPromptPartials,
9052
- logger
9053
- });
9054
- logger.info(`Successfully updated "${existingPromptPartials.length}" prompt partials!`);
9055
- } catch (err) {
9056
- encounteredError = true;
9057
- logger.error(`Failed to create prompt partials! - ${err.message}`);
9058
- }
9059
- logger.info(`Synced "${promptPartials.length}" prompt partials!`);
9060
- return !encounteredError;
9061
- }
9062
- //#endregion
9063
- //#region src/ai/syncPrompts.ts
9064
- /**
9065
- * Create a new prompt
9066
- *
9067
- * @param client - GraphQL client
9068
- * @param input - Prompt input
9069
- * @param options - Options
9070
- * @returns Prompt ID
9071
- */
9072
- async function createPrompt(client, options) {
9073
- const { input, logger = NOOP_LOGGER } = options;
9074
- const { createPrompt: { prompt } } = await makeGraphQLRequest(client, CREATE_PROMPT, {
9075
- variables: { input },
9076
- logger
9077
- });
9078
- logger.info(`Successfully created prompt "${input.title}"!`);
9079
- return prompt.id;
9080
- }
9081
- /**
9082
- * Update a set of existing prompts
9083
- *
9084
- * @param client - GraphQL client
9085
- * @param options - Options
9086
- */
9087
- async function updatePrompts(client, options) {
9088
- const { input: prompts, logger = NOOP_LOGGER } = options;
9089
- await makeGraphQLRequest(client, UPDATE_PROMPTS, {
9090
- variables: { input: { prompts: prompts.map(([prompt, id]) => ({
9091
- ...prompt,
9092
- id
9093
- })) } },
9094
- logger
9095
- });
9096
- logger.info(`Successfully updated ${prompts.length} prompts!`);
9097
- }
9098
- /**
9099
- * Sync the prompts
9100
- *
9101
- * @param client - GraphQL client
9102
- * @param prompts - Prompts
9103
- * @param options - Options
9104
- * @returns True if synced successfully
9105
- */
9106
- async function syncPrompts(client, prompts, options = {}) {
9107
- const { logger = NOOP_LOGGER, concurrency = 20 } = options;
9108
- let encounteredError = false;
9109
- logger.info(`Syncing "${prompts.length}" prompts...`);
9110
- const promptByTitle = keyBy(await fetchAllPrompts(client, { logger }), "title");
9111
- const mapPromptsToExisting = prompts.map((promptInput) => [promptInput, promptByTitle[promptInput.title]?.id]);
9112
- const newPrompts = mapPromptsToExisting.filter(([, existing]) => !existing).map(([promptInput]) => promptInput);
9113
- try {
9114
- logger.info(`Creating "${newPrompts.length}" new prompts...`);
9115
- await map(newPrompts, async (prompt) => {
9116
- await createPrompt(client, {
9117
- input: prompt,
9118
- logger
9119
- });
9120
- }, { concurrency });
9121
- logger.info(`Successfully synced ${newPrompts.length} prompts!`);
9122
- } catch (err) {
9123
- encounteredError = true;
9124
- logger.error(`Failed to create prompts! - ${err.message}`);
9125
- }
9126
- const existingPrompts = mapPromptsToExisting.filter((x) => !!x[1]);
9127
- try {
9128
- logger.info(`Updating "${existingPrompts.length}" prompts...`);
9129
- await updatePrompts(client, {
9130
- input: existingPrompts,
9131
- logger
9132
- });
9133
- logger.info(`Successfully updated "${existingPrompts.length}" prompts!`);
9134
- } catch (err) {
9135
- encounteredError = true;
9136
- logger.error(`Failed to create prompts! - ${err.message}`);
9137
- }
9138
- logger.info(`Synced "${prompts.length}" prompts!`);
9139
- return !encounteredError;
9140
- }
9141
- //#endregion
9142
8652
  //#region src/assessments/gqls/actionItemCollection.ts
9143
8653
  const GLOBAL_ACTION_ITEM_COLLECTIONS = gql`
9144
8654
  query TranscendCliGlobalActionItemCollectionss(
@@ -10422,6 +9932,6 @@ function createMonorepoPackageDefinition(name, directory) {
10422
9932
  };
10423
9933
  }
10424
9934
  //#endregion
10425
- export { AIRGAP_BUNDLE_AGGREGATE_ANALYTICS, AIRGAP_BUNDLE_TIMESERIES_ANALYTICS, ASSESSMENTS, ASSESSMENT_SECTION_FIELDS, ATTRIBUTE_KEYS_REQUESTS, ATTRIBUTE_VALUE_FIELDS, AssessmentAction, AssessmentNestedRule, AssessmentRiskLogic, AssessmentRule, AssessmentRuleWithOperands, AssessmentRuleWithoutOperands, BULK_REQUEST_FILES, CHANGE_REQUEST_DATA_SILO_STATUS, CODE_PACKAGES, CONSENT_MANAGER_ANALYTICS_DATA, CONSENT_PARTITIONS, CONSENT_WORKFLOW_TRIGGERS, COOKIES, COOKIE_STATS, CREATE_CODE_PACKAGE, CREATE_CONSENT_EXPERIENCE, CREATE_CONSENT_MANAGER, CREATE_CONSENT_PARTITION, CREATE_CONSENT_UI_THEME, CREATE_CONSENT_UI_VARIANT, CREATE_DATA_FLOWS, CREATE_DATA_SILOS, CREATE_DATA_SUBJECT, CREATE_ENRICHER, CREATE_IDENTIFIER, CREATE_OR_UPDATE_CONSENT_WORKFLOW_TRIGGER, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentPreferenceResponse, DATAPOINT_EXPORT, DATA_FLOWS, DATA_FLOW_STATS, DATA_POINTS, DATA_POINT_COUNT, DATA_SILOS, DATA_SILOS_ENRICHED, DATA_SILO_EXPORT, DATA_SILO_SOMBRA, DATA_SUBJECTS, DELETE_COOKIES, DELETE_DATA_FLOWS, DELETE_PRIVACY_CENTER_FOOTER_LINKS, DEPLOYED_PRIVACY_CENTER_URL, DEPLOY_CONSENT_MANAGER, DeletePreferenceRecordCliCsvRow, DeletePreferenceRecordsInput, DeletePreferenceRecordsResponse, ENRICHERS, EXPERIENCES, FETCH_CONSENT_MANAGER, FETCH_CONSENT_MANAGER_ID, FETCH_CONSENT_MANAGER_THEME, FETCH_CONSENT_UI_THEMES, FETCH_CONSENT_UI_VARIANTS, FETCH_PRIVACY_CENTER_ID, FailingPreferenceUpdates, FileFormatState, FileMetadataState, IMPORT_ONE_TRUST_ASSESSMENT_FORMS, INITIALIZER, IdentifierMetadataForPreference, MetadataMapping, NEW_IDENTIFIER_TYPES, NOOP_LOGGER, OWNER_FIELDS, POLICIES, PRIVACY_CENTER, PROCESSING_PURPOSE_SUB_CATEGORIES, PURPOSES, PendingSafePreferenceUpdates, PendingWithConflictPreferenceUpdates, PreferenceOptionValueInput, PreferenceState, PreferenceTopicSyncInput, PreferenceUpdateMap, PurposeInput, PurposeRowMapping, REDUCED_REQUESTS_FOR_DATA_SILO_COUNT, REMOVE_REQUEST_IDENTIFIERS, REQUEST_DATA_SILOS, REQUEST_ENRICHERS, REQUEST_FILES, REQUEST_IDENTIFIERS, RETRY_REQUEST_DATA_SILO, RETRY_REQUEST_ENRICHER, RETRY_TRANSIENT_MSGS, RequestIdentifiersResponse, RequestUploadReceipts, SERVICE_FIELDS, SKIP_REQUEST_ENRICHER, SOMBRA_VERSION, SUB_DATA_POINTS, SUB_DATA_POINTS_COUNT, SUB_DATA_POINTS_WITH_GUESSES, SYNC_ATTRIBUTE_TYPES, SkippedPreferenceUpdates, TEAM_FIELDS, TOGGLE_CONSENT_PRECEDENCE, TOGGLE_DATA_SUBJECT, TOGGLE_TELEMETRY_PARTITION_STRATEGY, TOGGLE_UNKNOWN_COOKIE_POLICY, TOGGLE_UNKNOWN_REQUEST_POLICY, TRACKING_PURPOSE_FIELDS, UPDATE_CODE_PACKAGES, UPDATE_CONSENT_EXPERIENCE, UPDATE_CONSENT_MANAGER_DOMAINS, UPDATE_CONSENT_MANAGER_PARTITION, UPDATE_CONSENT_MANAGER_THEME, UPDATE_CONSENT_MANAGER_TO_LATEST, UPDATE_CONSENT_MANAGER_VERSION, UPDATE_CONSENT_UI_THEME, UPDATE_CONSENT_UI_VARIANT, UPDATE_DATA_FLOWS, UPDATE_DATA_SILOS, UPDATE_DATA_SUBJECT, UPDATE_ENRICHER, UPDATE_IDENTIFIER, UPDATE_LOAD_OPTIONS, UPDATE_OR_CREATE_COOKIES, UPDATE_OR_CREATE_DATA_POINT, UPDATE_POLICIES, UPDATE_PRIVACY_CENTER, UPDATE_PRIVACY_CENTER_FOOTER_LINKS, UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES, addMessagesToPromptRun, assumeRole, buildConsentChunks, buildTranscendGraphQLClient, buildTranscendGraphQLClientGeneric, buildTriggerConditionFromPurposes, checkIfPendingPreferenceUpdatesAreNoOp, checkIfPendingPreferenceUpdatesCauseConflict, consentWindowHasAny, convertToDataSubjectAllowlist, convertToDataSubjectBlockList, createActionItemCollection, createActionItems, createAgent, createAgentFile, createAgentFunction, createApiKey, createBusinessEntity, createDataCategory, createDataFlows, createDataSubject, createMonorepoPackageDefinition, createOrUpdatePreferenceOptionValues, createPreferenceAccessTokens, createProcessingPurpose, createPrompt, createPromptGroup, createPromptPartial, createRepository, createSoftwareDevelopmentKit, createSombraGotInstance, createTeam, createTranscendConsentGotInstance, createVendor, deleteApiKey, deployConsentManager, fetchActiveSiloDiscoPlugin, fetchAirgapBundleAggregateAnalytics, fetchAirgapBundleTimeseriesAnalytics, fetchAllActionItemCollections, fetchAllActionItems, fetchAllActions, fetchAllAgentFiles, fetchAllAgentFunctions, fetchAllAgents, fetchAllApiKeys, fetchAllAssessments, fetchAllAttributeValues, fetchAllAttributes, fetchAllBusinessEntities, fetchAllCatalogs, fetchAllCodePackages, fetchAllConsentWorkflowTriggers, fetchAllCookies, fetchAllDataCategories, fetchAllDataFlows, fetchAllDataPoints, fetchAllDataSilos, fetchAllDataSubjects, fetchAllEnrichers, fetchAllIdentifiers, fetchAllLargeLanguageModels, fetchAllMessages, fetchAllPolicies, fetchAllPreferenceOptionValues, fetchAllPreferenceTopics, fetchAllPrivacyCenters, fetchAllProcessingActivities, fetchAllProcessingPurposes, fetchAllPromptGroups, fetchAllPromptPartials, fetchAllPromptThreads, fetchAllPrompts, fetchAllPurposes, fetchAllPurposesAndPreferences, fetchAllRepositories, fetchAllRequestAttributeKeys, fetchAllRequestEnrichers, fetchAllRequestIdentifierMetadata, fetchAllRequestIdentifiers, fetchAllSiloDiscoveryResults, fetchAllSoftwareDevelopmentKits, fetchAllSubDataPoints, fetchAllTeams, fetchAllTemplates, fetchAllUsers, fetchAllVendors, fetchAllWorkflowConfigs, fetchAndIndexCatalogs, fetchApiKeys, fetchConsentManager, fetchConsentManagerAnalyticsData, fetchConsentManagerExperiences, fetchConsentManagerId, fetchConsentManagerTheme, fetchConsentPreferences, fetchConsentPreferencesChunked, fetchConsentThemes, fetchConsentVariants, fetchEnrichedDataSilos, fetchIdentifiersAndCreateMissing, fetchParentOrganizationTeams, fetchPartitions, fetchPrivacyCenterId, fetchPrivacyCenterUrl, fetchPromptsWithVariables, fetchRequestDataSilo, fetchRequestDataSilos, fetchRequestDataSilosCount, fetchRequestFilesForRequest, findEarliestDayWithData, findLatestDayWithData, formatAttributeValues, formatRegions, getBoundsFromConsentFilter, getComparisonTimeForRecord, getPreferenceIdentifiersFromRow, getPreferenceMetadataFromRow, getPreferenceUpdatesFromRow, getPreferencesForIdentifiers, getUniquePreferenceIdentifierNamesFromRow, getWorkflowConfigDisplayTitle, inferPolicyTypeFromTitle, isConsentWorkflowTriggerV2Mode, isTransientError, iterateConsentPages, loadReferenceData, loginUser, makeGraphQLRequest, parseAssessmentDisplayLogic, parseAssessmentRiskLogic, parsePurposesFromTriggerCondition, pickConsentChunkMode, resolveDisplayedChildOrganizationIds, resolveParentTeamIdsByName, resolveWorkflowConfigByTitle, resolveWorkflowConfigMatch, resolveWorkflowTitleFromId, retryRequestEnricher, setResourceAttributes, syncAction, syncActionItemCollections, syncActionItems, syncAgentFiles, syncAgentFunctions, syncAgents, syncAttribute, syncBusinessEntities, syncConsentManager, syncConsentManagerExperiences, syncConsentUiThemes, syncConsentUiVariants, syncConsentWorkflowTriggers, syncCookies, syncDataCategories, syncDataFlows, syncDataSiloDependencies, syncDataSubject, syncEnricher, syncIdentifier, syncIntlMessages, syncPartitions, syncPolicies, syncPreferenceOptionValues, syncPreferenceTopics, syncPrivacyCenter, syncPrivacyCenterFooterLinks, syncProcessingActivities, syncProcessingPurposes, syncPromptGroups, syncPromptPartials, syncPrompts, syncPurposes, syncRepositories, syncSoftwareDevelopmentKits, syncTeams, syncTemplate, syncVendors, syncWorkflowConfigs, transformPreferenceRecordToCsv, updateActionItem, updateActionItemCollection, updateAgentFiles, updateAgentFunctions, updateAgents, updateBusinessEntities, updateConsentManagerToLatest, updateDataCategories, updateDataFlows, updateIntlMessages, updateOrCreateCookies, updatePolicies, updateProcessingPurposes, updatePromptGroups, updatePromptPartials, updatePrompts, updateRepositories, updateSoftwareDevelopmentKits, updateTeam, updateVendors, uploadSiloDiscoveryResults, validateConsentWorkflowTriggerMode, validateSombraVersion, withTransientRetry, workflowConfigInputLabel, workflowConfigMatchKey, workflowRegionListKey };
9935
+ export { AIRGAP_BUNDLE_AGGREGATE_ANALYTICS, AIRGAP_BUNDLE_TIMESERIES_ANALYTICS, ASSESSMENTS, ASSESSMENT_SECTION_FIELDS, ATTRIBUTE_KEYS_REQUESTS, ATTRIBUTE_VALUE_FIELDS, AssessmentAction, AssessmentNestedRule, AssessmentRiskLogic, AssessmentRule, AssessmentRuleWithOperands, AssessmentRuleWithoutOperands, BULK_REQUEST_FILES, CHANGE_REQUEST_DATA_SILO_STATUS, CODE_PACKAGES, CONSENT_MANAGER_ANALYTICS_DATA, CONSENT_PARTITIONS, CONSENT_WORKFLOW_TRIGGERS, COOKIES, COOKIE_STATS, CREATE_CODE_PACKAGE, CREATE_CONSENT_EXPERIENCE, CREATE_CONSENT_MANAGER, CREATE_CONSENT_PARTITION, CREATE_CONSENT_UI_THEME, CREATE_CONSENT_UI_VARIANT, CREATE_DATA_FLOWS, CREATE_DATA_SILOS, CREATE_DATA_SUBJECT, CREATE_ENRICHER, CREATE_IDENTIFIER, CREATE_OR_UPDATE_CONSENT_WORKFLOW_TRIGGER, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentPreferenceResponse, DATAPOINT_EXPORT, DATA_FLOWS, DATA_FLOW_STATS, DATA_POINTS, DATA_POINT_COUNT, DATA_SILOS, DATA_SILOS_ENRICHED, DATA_SILO_EXPORT, DATA_SILO_SOMBRA, DATA_SUBJECTS, DELETE_COOKIES, DELETE_DATA_FLOWS, DELETE_PRIVACY_CENTER_FOOTER_LINKS, DEPLOYED_PRIVACY_CENTER_URL, DEPLOY_CONSENT_MANAGER, DeletePreferenceRecordCliCsvRow, DeletePreferenceRecordsInput, DeletePreferenceRecordsResponse, ENRICHERS, EXPERIENCES, FETCH_CONSENT_MANAGER, FETCH_CONSENT_MANAGER_ID, FETCH_CONSENT_MANAGER_THEME, FETCH_CONSENT_UI_THEMES, FETCH_CONSENT_UI_VARIANTS, FETCH_PRIVACY_CENTER_ID, FailingPreferenceUpdates, FileFormatState, FileMetadataState, IMPORT_ONE_TRUST_ASSESSMENT_FORMS, INITIALIZER, IdentifierMetadataForPreference, MetadataMapping, NEW_IDENTIFIER_TYPES, NOOP_LOGGER, OWNER_FIELDS, POLICIES, PRIVACY_CENTER, PROCESSING_PURPOSE_SUB_CATEGORIES, PURPOSES, PendingSafePreferenceUpdates, PendingWithConflictPreferenceUpdates, PreferenceOptionValueInput, PreferenceState, PreferenceTopicSyncInput, PreferenceUpdateMap, PurposeInput, PurposeRowMapping, REDUCED_REQUESTS_FOR_DATA_SILO_COUNT, REMOVE_REQUEST_IDENTIFIERS, REQUEST_DATA_SILOS, REQUEST_ENRICHERS, REQUEST_FILES, REQUEST_IDENTIFIERS, RETRY_REQUEST_DATA_SILO, RETRY_REQUEST_ENRICHER, RETRY_TRANSIENT_MSGS, RequestIdentifiersResponse, RequestUploadReceipts, SERVICE_FIELDS, SKIP_REQUEST_ENRICHER, SOMBRA_VERSION, SUB_DATA_POINTS, SUB_DATA_POINTS_COUNT, SUB_DATA_POINTS_WITH_GUESSES, SYNC_ATTRIBUTE_TYPES, SkippedPreferenceUpdates, TEAM_FIELDS, TOGGLE_CONSENT_PRECEDENCE, TOGGLE_DATA_SUBJECT, TOGGLE_TELEMETRY_PARTITION_STRATEGY, TOGGLE_UNKNOWN_COOKIE_POLICY, TOGGLE_UNKNOWN_REQUEST_POLICY, TRACKING_PURPOSE_FIELDS, UPDATE_CODE_PACKAGES, UPDATE_CONSENT_EXPERIENCE, UPDATE_CONSENT_MANAGER_DOMAINS, UPDATE_CONSENT_MANAGER_PARTITION, UPDATE_CONSENT_MANAGER_THEME, UPDATE_CONSENT_MANAGER_TO_LATEST, UPDATE_CONSENT_MANAGER_VERSION, UPDATE_CONSENT_UI_THEME, UPDATE_CONSENT_UI_VARIANT, UPDATE_DATA_FLOWS, UPDATE_DATA_SILOS, UPDATE_DATA_SUBJECT, UPDATE_ENRICHER, UPDATE_IDENTIFIER, UPDATE_LOAD_OPTIONS, UPDATE_OR_CREATE_COOKIES, UPDATE_OR_CREATE_DATA_POINT, UPDATE_POLICIES, UPDATE_PRIVACY_CENTER, UPDATE_PRIVACY_CENTER_FOOTER_LINKS, UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES, addMessagesToPromptRun, assumeRole, buildConsentChunks, buildTranscendGraphQLClient, buildTranscendGraphQLClientGeneric, buildTriggerConditionFromPurposes, checkIfPendingPreferenceUpdatesAreNoOp, checkIfPendingPreferenceUpdatesCauseConflict, consentWindowHasAny, convertToDataSubjectAllowlist, convertToDataSubjectBlockList, createActionItemCollection, createActionItems, createAgent, createAgentFile, createAgentFunction, createApiKey, createBusinessEntity, createDataCategory, createDataFlows, createDataSubject, createMonorepoPackageDefinition, createOrUpdatePreferenceOptionValues, createPreferenceAccessTokens, createProcessingPurpose, createRepository, createSoftwareDevelopmentKit, createSombraGotInstance, createTeam, createTranscendConsentGotInstance, createVendor, deleteApiKey, deployConsentManager, fetchActiveSiloDiscoPlugin, fetchAirgapBundleAggregateAnalytics, fetchAirgapBundleTimeseriesAnalytics, fetchAllActionItemCollections, fetchAllActionItems, fetchAllActions, fetchAllAgentFiles, fetchAllAgentFunctions, fetchAllAgents, fetchAllApiKeys, fetchAllAssessments, fetchAllAttributeValues, fetchAllAttributes, fetchAllBusinessEntities, fetchAllCatalogs, fetchAllCodePackages, fetchAllConsentWorkflowTriggers, fetchAllCookies, fetchAllDataCategories, fetchAllDataFlows, fetchAllDataPoints, fetchAllDataSilos, fetchAllDataSubjects, fetchAllEnrichers, fetchAllIdentifiers, fetchAllLargeLanguageModels, fetchAllMessages, fetchAllPolicies, fetchAllPreferenceOptionValues, fetchAllPreferenceTopics, fetchAllPrivacyCenters, fetchAllProcessingActivities, fetchAllProcessingPurposes, fetchAllPromptThreads, fetchAllPurposes, fetchAllPurposesAndPreferences, fetchAllRepositories, fetchAllRequestAttributeKeys, fetchAllRequestEnrichers, fetchAllRequestIdentifierMetadata, fetchAllRequestIdentifiers, fetchAllSiloDiscoveryResults, fetchAllSoftwareDevelopmentKits, fetchAllSubDataPoints, fetchAllTeams, fetchAllTemplates, fetchAllUsers, fetchAllVendors, fetchAllWorkflowConfigs, fetchAndIndexCatalogs, fetchApiKeys, fetchConsentManager, fetchConsentManagerAnalyticsData, fetchConsentManagerExperiences, fetchConsentManagerId, fetchConsentManagerTheme, fetchConsentPreferences, fetchConsentPreferencesChunked, fetchConsentThemes, fetchConsentVariants, fetchEnrichedDataSilos, fetchIdentifiersAndCreateMissing, fetchParentOrganizationTeams, fetchPartitions, fetchPrivacyCenterId, fetchPrivacyCenterUrl, fetchRequestDataSilo, fetchRequestDataSilos, fetchRequestDataSilosCount, fetchRequestFilesForRequest, findEarliestDayWithData, findLatestDayWithData, formatAttributeValues, formatRegions, getBoundsFromConsentFilter, getComparisonTimeForRecord, getPreferenceIdentifiersFromRow, getPreferenceMetadataFromRow, getPreferenceUpdatesFromRow, getPreferencesForIdentifiers, getUniquePreferenceIdentifierNamesFromRow, getWorkflowConfigDisplayTitle, inferPolicyTypeFromTitle, isConsentWorkflowTriggerV2Mode, isTransientError, iterateConsentPages, loadReferenceData, loginUser, makeGraphQLRequest, parseAssessmentDisplayLogic, parseAssessmentRiskLogic, parsePurposesFromTriggerCondition, pickConsentChunkMode, resolveDisplayedChildOrganizationIds, resolveParentTeamIdsByName, resolveWorkflowConfigByTitle, resolveWorkflowConfigMatch, resolveWorkflowTitleFromId, retryRequestEnricher, setResourceAttributes, syncAction, syncActionItemCollections, syncActionItems, syncAgentFiles, syncAgentFunctions, syncAgents, syncAttribute, syncBusinessEntities, syncConsentManager, syncConsentManagerExperiences, syncConsentUiThemes, syncConsentUiVariants, syncConsentWorkflowTriggers, syncCookies, syncDataCategories, syncDataFlows, syncDataSiloDependencies, syncDataSubject, syncEnricher, syncIdentifier, syncIntlMessages, syncPartitions, syncPolicies, syncPreferenceOptionValues, syncPreferenceTopics, syncPrivacyCenter, syncPrivacyCenterFooterLinks, syncProcessingActivities, syncProcessingPurposes, syncPurposes, syncRepositories, syncSoftwareDevelopmentKits, syncTeams, syncTemplate, syncVendors, syncWorkflowConfigs, transformPreferenceRecordToCsv, updateActionItem, updateActionItemCollection, updateAgentFiles, updateAgentFunctions, updateAgents, updateBusinessEntities, updateConsentManagerToLatest, updateDataCategories, updateDataFlows, updateIntlMessages, updateOrCreateCookies, updatePolicies, updateProcessingPurposes, updateRepositories, updateSoftwareDevelopmentKits, updateTeam, updateVendors, uploadSiloDiscoveryResults, validateConsentWorkflowTriggerMode, validateSombraVersion, withTransientRetry, workflowConfigInputLabel, workflowConfigMatchKey, workflowRegionListKey };
10426
9936
 
10427
9937
  //# sourceMappingURL=index.mjs.map