@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.
- package/README.md +60 -3
- package/build/cli-pull-consent-metrics.d.ts +3 -0
- package/build/cli-pull-consent-metrics.d.ts.map +1 -0
- package/build/cli-pull-consent-metrics.js +161 -0
- package/build/cli-pull-consent-metrics.js.map +1 -0
- package/build/codecs.d.ts +0 -2
- package/build/codecs.d.ts.map +1 -1
- package/build/codecs.js +1 -2
- package/build/codecs.js.map +1 -1
- package/build/consent-manager/index.d.ts +1 -0
- package/build/consent-manager/index.d.ts.map +1 -1
- package/build/consent-manager/index.js +1 -0
- package/build/consent-manager/index.js.map +1 -1
- package/build/consent-manager/pullConsentManagerMetrics.d.ts +25 -0
- package/build/consent-manager/pullConsentManagerMetrics.d.ts.map +1 -0
- package/build/consent-manager/pullConsentManagerMetrics.js +72 -0
- package/build/consent-manager/pullConsentManagerMetrics.js.map +1 -0
- package/build/graphql/fetchConsentManagerId.d.ts +41 -0
- package/build/graphql/fetchConsentManagerId.d.ts.map +1 -1
- package/build/graphql/fetchConsentManagerId.js +23 -1
- package/build/graphql/fetchConsentManagerId.js.map +1 -1
- package/build/graphql/gqls/attribute.d.ts.map +1 -1
- package/build/graphql/gqls/attribute.js +1 -2
- package/build/graphql/gqls/attribute.js.map +1 -1
- package/build/graphql/gqls/consentManagerMetrics.d.ts +2 -0
- package/build/graphql/gqls/consentManagerMetrics.d.ts.map +1 -0
- package/build/graphql/gqls/consentManagerMetrics.js +18 -0
- package/build/graphql/gqls/consentManagerMetrics.js.map +1 -0
- package/build/graphql/gqls/index.d.ts +1 -0
- package/build/graphql/gqls/index.d.ts.map +1 -1
- package/build/graphql/gqls/index.js +1 -0
- package/build/graphql/gqls/index.js.map +1 -1
- package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
- package/build/graphql/pullTranscendConfiguration.js.map +1 -1
- package/build/graphql/setResourceAttributes.d.ts +2 -2
- package/build/graphql/setResourceAttributes.d.ts.map +1 -1
- package/build/graphql/syncAttribute.d.ts.map +1 -1
- package/build/graphql/syncAttribute.js +2 -1
- package/build/graphql/syncAttribute.js.map +1 -1
- package/build/tmp-attribute-key.d.ts +3 -23
- package/build/tmp-attribute-key.d.ts.map +1 -1
- package/build/tmp-attribute-key.js +10 -20
- package/build/tmp-attribute-key.js.map +1 -1
- package/build/tsbuildinfo +1 -1
- 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 =
|
|
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
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
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,
|
|
1
|
+
{"version":3,"file":"tmp-attribute-key.js","sourceRoot":"","sources":["../src/tmp-attribute-key.ts"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,yDAAyD;AACzD,+DAA6E;AAE7E;;GAEG;AACU,QAAA,gCAAgC,GAGzC;IACF,CAAC,8CAA8B,CAAC,cAAc,CAAC,EAAE,kBAAkB;IACnE,CAAC,8CAA8B,CAAC,QAAQ,CAAC,EAAE,WAAW;IACtD,CAAC,8CAA8B,CAAC,eAAe,CAAC,EAAE,mBAAmB;IACrE,CAAC,8CAA8B,CAAC,4BAA4B,CAAC,EAC3D,gCAAgC;IAClC,CAAC,8CAA8B,CAAC,OAAO,CAAC,EAAE,UAAU;IACpD,CAAC,8CAA8B,CAAC,YAAY,CAAC,EAAE,eAAe;IAC9D,CAAC,8CAA8B,CAAC,YAAY,CAAC,EAAE,eAAe;IAC9D,CAAC,8CAA8B,CAAC,cAAc,CAAC,EAAE,iBAAiB;IAClE,CAAC,8CAA8B,CAAC,MAAM,CAAC,EAAE,SAAS;CACnD,CAAC;AAEF;;GAEG;AACU,QAAA,gCAAgC,GAAG,IAAA,mBAAM,EACpD,wCAAgC,CACjC,CAAC;AAEF;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAA,kBAAK,EAC9C,wCAAgC,EAChC,CAAC,UAAU,EAAE,EAAE,CAAC,YAAY,IAAA,oBAAU,EAAC,UAAU,CAAC,EAAE,CACrD,CAAC;AAEF;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAA,mBAAM,EAAC,mCAA2B,CAAC,CAAC"}
|