@transcend-io/cli 4.61.0 → 4.63.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.
Files changed (45) hide show
  1. package/README.md +60 -3
  2. package/build/cli-pull-consent-metrics.d.ts +3 -0
  3. package/build/cli-pull-consent-metrics.d.ts.map +1 -0
  4. package/build/cli-pull-consent-metrics.js +161 -0
  5. package/build/cli-pull-consent-metrics.js.map +1 -0
  6. package/build/codecs.d.ts +0 -2
  7. package/build/codecs.d.ts.map +1 -1
  8. package/build/codecs.js +1 -2
  9. package/build/codecs.js.map +1 -1
  10. package/build/consent-manager/index.d.ts +1 -0
  11. package/build/consent-manager/index.d.ts.map +1 -1
  12. package/build/consent-manager/index.js +1 -0
  13. package/build/consent-manager/index.js.map +1 -1
  14. package/build/consent-manager/pullConsentManagerMetrics.d.ts +25 -0
  15. package/build/consent-manager/pullConsentManagerMetrics.d.ts.map +1 -0
  16. package/build/consent-manager/pullConsentManagerMetrics.js +72 -0
  17. package/build/consent-manager/pullConsentManagerMetrics.js.map +1 -0
  18. package/build/graphql/fetchConsentManagerId.d.ts +41 -0
  19. package/build/graphql/fetchConsentManagerId.d.ts.map +1 -1
  20. package/build/graphql/fetchConsentManagerId.js +23 -1
  21. package/build/graphql/fetchConsentManagerId.js.map +1 -1
  22. package/build/graphql/gqls/attribute.d.ts.map +1 -1
  23. package/build/graphql/gqls/attribute.js +1 -2
  24. package/build/graphql/gqls/attribute.js.map +1 -1
  25. package/build/graphql/gqls/consentManagerMetrics.d.ts +2 -0
  26. package/build/graphql/gqls/consentManagerMetrics.d.ts.map +1 -0
  27. package/build/graphql/gqls/consentManagerMetrics.js +18 -0
  28. package/build/graphql/gqls/consentManagerMetrics.js.map +1 -0
  29. package/build/graphql/gqls/index.d.ts +1 -0
  30. package/build/graphql/gqls/index.d.ts.map +1 -1
  31. package/build/graphql/gqls/index.js +1 -0
  32. package/build/graphql/gqls/index.js.map +1 -1
  33. package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
  34. package/build/graphql/pullTranscendConfiguration.js.map +1 -1
  35. package/build/graphql/setResourceAttributes.d.ts +2 -2
  36. package/build/graphql/setResourceAttributes.d.ts.map +1 -1
  37. package/build/graphql/syncAttribute.d.ts.map +1 -1
  38. package/build/graphql/syncAttribute.js +2 -1
  39. package/build/graphql/syncAttribute.js.map +1 -1
  40. package/build/tmp-attribute-key.d.ts +3 -23
  41. package/build/tmp-attribute-key.d.ts.map +1 -1
  42. package/build/tmp-attribute-key.js +10 -20
  43. package/build/tmp-attribute-key.js.map +1 -1
  44. package/build/tsbuildinfo +1 -1
  45. package/package.json +2 -1
@@ -3,33 +3,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ENABLED_ON_TO_ATTRIBUTE_KEY = exports.ATTRIBUTE_KEY_TO_ENABLED_ON = exports.ATTRIBUTE_KEY_PLURAL_TO_SINGULAR = exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL = exports.AttributeResourceType = void 0;
6
+ exports.ENABLED_ON_TO_ATTRIBUTE_KEY = exports.ATTRIBUTE_KEY_TO_ENABLED_ON = exports.ATTRIBUTE_KEY_PLURAL_TO_SINGULAR = exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL = void 0;
7
7
  const upperFirst_1 = __importDefault(require("lodash/upperFirst"));
8
8
  const type_utils_1 = require("@transcend-io/type-utils");
9
9
  const privacy_types_1 = require("@transcend-io/privacy-types");
10
- /**
11
- * Resources that can be assigned attributes
12
- * TODO: https://transcend.height.app/T-23523 - remove this enum after ROPA view is deprecated
13
- */
14
- exports.AttributeResourceType = (0, type_utils_1.makeEnum)({
15
- ...privacy_types_1.AttributeSupportedResourceType,
16
- /** Ropa */
17
- ROPA: 'ROPA',
18
- });
19
10
  /**
20
11
  * TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
21
12
  */
22
13
  exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL = {
23
- [exports.AttributeResourceType.BusinessEntity]: 'businessEntities',
24
- [exports.AttributeResourceType.DataSilo]: 'dataSilos',
25
- [exports.AttributeResourceType.DataSubCategory]: 'dataSubCategories',
26
- [exports.AttributeResourceType.ProcessingPurposeSubCategory]: 'processingPurposeSubCategories',
27
- [exports.AttributeResourceType.Request]: 'requests',
28
- [exports.AttributeResourceType.ROPA]: 'ROPA',
29
- [exports.AttributeResourceType.SubDataPoint]: 'subDataPoints',
30
- [exports.AttributeResourceType.AirgapCookie]: 'airgapCookies',
31
- [exports.AttributeResourceType.AirgapDataFlow]: 'airgapDataFlows',
32
- [exports.AttributeResourceType.Vendor]: 'vendors',
14
+ [privacy_types_1.AttributeSupportedResourceType.BusinessEntity]: 'businessEntities',
15
+ [privacy_types_1.AttributeSupportedResourceType.DataSilo]: 'dataSilos',
16
+ [privacy_types_1.AttributeSupportedResourceType.DataSubCategory]: 'dataSubCategories',
17
+ [privacy_types_1.AttributeSupportedResourceType.ProcessingPurposeSubCategory]: 'processingPurposeSubCategories',
18
+ [privacy_types_1.AttributeSupportedResourceType.Request]: 'requests',
19
+ [privacy_types_1.AttributeSupportedResourceType.SubDataPoint]: 'subDataPoints',
20
+ [privacy_types_1.AttributeSupportedResourceType.AirgapCookie]: 'airgapCookies',
21
+ [privacy_types_1.AttributeSupportedResourceType.AirgapDataFlow]: 'airgapDataFlows',
22
+ [privacy_types_1.AttributeSupportedResourceType.Vendor]: 'vendors',
33
23
  };
34
24
  /**
35
25
  * TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
@@ -1 +1 @@
1
- {"version":3,"file":"tmp-attribute-key.js","sourceRoot":"","sources":["../src/tmp-attribute-key.ts"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,yDAAmE;AACnE,+DAA6E;AAE7E;;;GAGG;AACU,QAAA,qBAAqB,GAAG,IAAA,qB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