@transcend-io/cli 4.60.0 → 4.62.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/build/codecs.d.ts +33755 -1369
- package/build/codecs.d.ts.map +1 -1
- package/build/codecs.js +35 -4
- package/build/codecs.js.map +1 -1
- package/build/graphql/fetchAllActions.d.ts +5 -1
- package/build/graphql/fetchAllActions.d.ts.map +1 -1
- package/build/graphql/fetchAllActions.js.map +1 -1
- package/build/graphql/fetchAllRequests.d.ts +4 -4
- package/build/graphql/fetchDataSubjects.d.ts +1 -1
- package/build/graphql/fetchDataSubjects.d.ts.map +1 -1
- package/build/graphql/fetchDataSubjects.js +6 -2
- package/build/graphql/fetchDataSubjects.js.map +1 -1
- package/build/graphql/gqls/action.d.ts.map +1 -1
- package/build/graphql/gqls/action.js +2 -0
- package/build/graphql/gqls/action.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/enricher.d.ts.map +1 -1
- package/build/graphql/gqls/enricher.js +13 -44
- package/build/graphql/gqls/enricher.js.map +1 -1
- package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
- package/build/graphql/pullTranscendConfiguration.js +11 -2
- 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/syncAction.d.ts.map +1 -1
- package/build/graphql/syncAction.js +13 -0
- package/build/graphql/syncAction.js.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/graphql/syncConfigurationToTranscend.d.ts.map +1 -1
- package/build/graphql/syncConfigurationToTranscend.js +6 -2
- package/build/graphql/syncConfigurationToTranscend.js.map +1 -1
- package/build/graphql/syncEnrichers.d.ts +33 -5
- package/build/graphql/syncEnrichers.d.ts.map +1 -1
- package/build/graphql/syncEnrichers.js +53 -23
- package/build/graphql/syncEnrichers.js.map +1 -1
- package/build/requests/constants.d.ts +3 -3
- package/build/requests/submitPrivacyRequest.d.ts +4 -4
- 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 -2
|
@@ -6,10 +6,11 @@ export declare const PrivacyRequestResponse: t.TypeC<{
|
|
|
6
6
|
id: t.StringC;
|
|
7
7
|
link: t.StringC;
|
|
8
8
|
status: t.KeyofC<{
|
|
9
|
+
CANCELED: unknown;
|
|
10
|
+
ON_HOLD: unknown;
|
|
9
11
|
REQUEST_MADE: unknown;
|
|
10
12
|
FAILED_VERIFICATION: unknown;
|
|
11
13
|
ENRICHING: unknown;
|
|
12
|
-
ON_HOLD: unknown;
|
|
13
14
|
WAITING: unknown;
|
|
14
15
|
COMPILING: unknown;
|
|
15
16
|
APPROVING: unknown;
|
|
@@ -17,7 +18,6 @@ export declare const PrivacyRequestResponse: t.TypeC<{
|
|
|
17
18
|
COMPLETED: unknown;
|
|
18
19
|
DOWNLOADABLE: unknown;
|
|
19
20
|
VIEW_CATEGORIES: unknown;
|
|
20
|
-
CANCELED: unknown;
|
|
21
21
|
SECONDARY: unknown;
|
|
22
22
|
SECONDARY_COMPLETED: unknown;
|
|
23
23
|
SECONDARY_APPROVING: unknown;
|
|
@@ -50,8 +50,6 @@ export declare const PrivacyRequestResponse: t.TypeC<{
|
|
|
50
50
|
isSilent: t.BooleanC;
|
|
51
51
|
isTest: t.BooleanC;
|
|
52
52
|
country: t.UnionC<[t.NullC, t.KeyofC<{
|
|
53
|
-
HR: unknown;
|
|
54
|
-
ID: unknown;
|
|
55
53
|
AF: unknown;
|
|
56
54
|
AX: unknown;
|
|
57
55
|
AL: unknown;
|
|
@@ -108,6 +106,7 @@ export declare const PrivacyRequestResponse: t.TypeC<{
|
|
|
108
106
|
CK: unknown;
|
|
109
107
|
CR: unknown;
|
|
110
108
|
CI: unknown;
|
|
109
|
+
HR: unknown;
|
|
111
110
|
CU: unknown;
|
|
112
111
|
CW: unknown;
|
|
113
112
|
CY: unknown;
|
|
@@ -156,6 +155,7 @@ export declare const PrivacyRequestResponse: t.TypeC<{
|
|
|
156
155
|
HU: unknown;
|
|
157
156
|
IS: unknown;
|
|
158
157
|
IN: unknown;
|
|
158
|
+
ID: unknown;
|
|
159
159
|
IR: unknown;
|
|
160
160
|
IQ: unknown;
|
|
161
161
|
IE: unknown;
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
import { AttributeSupportedResourceType } from '@transcend-io/privacy-types';
|
|
2
|
-
/**
|
|
3
|
-
* Resources that can be assigned attributes
|
|
4
|
-
* TODO: https://transcend.height.app/T-23523 - remove this enum after ROPA view is deprecated
|
|
5
|
-
*/
|
|
6
|
-
export declare const AttributeResourceType: {
|
|
7
|
-
/** Ropa */
|
|
8
|
-
ROPA: "ROPA";
|
|
9
|
-
DataSilo: AttributeSupportedResourceType.DataSilo;
|
|
10
|
-
SubDataPoint: AttributeSupportedResourceType.SubDataPoint;
|
|
11
|
-
AirgapCookie: AttributeSupportedResourceType.AirgapCookie;
|
|
12
|
-
AirgapDataFlow: AttributeSupportedResourceType.AirgapDataFlow;
|
|
13
|
-
Request: AttributeSupportedResourceType.Request;
|
|
14
|
-
Vendor: AttributeSupportedResourceType.Vendor;
|
|
15
|
-
BusinessEntity: AttributeSupportedResourceType.BusinessEntity;
|
|
16
|
-
DataSubCategory: AttributeSupportedResourceType.DataSubCategory;
|
|
17
|
-
ProcessingPurposeSubCategory: AttributeSupportedResourceType.ProcessingPurposeSubCategory;
|
|
18
|
-
};
|
|
19
|
-
/** Type override */
|
|
20
|
-
export type AttributeResourceType = typeof AttributeResourceType[keyof typeof AttributeResourceType];
|
|
21
2
|
/**
|
|
22
3
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
23
4
|
*/
|
|
24
|
-
export declare const ATTRIBUTE_KEY_SINGULAR_TO_PLURAL: Record<
|
|
5
|
+
export declare const ATTRIBUTE_KEY_SINGULAR_TO_PLURAL: Record<AttributeSupportedResourceType, string>;
|
|
25
6
|
/**
|
|
26
7
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
27
8
|
*/
|
|
28
9
|
export declare const ATTRIBUTE_KEY_PLURAL_TO_SINGULAR: {
|
|
29
|
-
[x: string]: AttributeSupportedResourceType
|
|
10
|
+
[x: string]: AttributeSupportedResourceType;
|
|
30
11
|
};
|
|
31
12
|
/**
|
|
32
13
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
@@ -41,12 +22,11 @@ export declare const ATTRIBUTE_KEY_TO_ENABLED_ON: {
|
|
|
41
22
|
businessEntity: string;
|
|
42
23
|
dataSubCategory: string;
|
|
43
24
|
processingPurposeSubCategory: string;
|
|
44
|
-
ROPA: string;
|
|
45
25
|
};
|
|
46
26
|
/**
|
|
47
27
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
48
28
|
*/
|
|
49
29
|
export declare const ENABLED_ON_TO_ATTRIBUTE_KEY: {
|
|
50
|
-
[x: string]: AttributeSupportedResourceType
|
|
30
|
+
[x: string]: AttributeSupportedResourceType;
|
|
51
31
|
};
|
|
52
32
|
//# sourceMappingURL=tmp-attribute-key.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tmp-attribute-key.d.ts","sourceRoot":"","sources":["../src/tmp-attribute-key.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAE7E
|
|
1
|
+
{"version":3,"file":"tmp-attribute-key.d.ts","sourceRoot":"","sources":["../src/tmp-attribute-key.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,MAAM,CACnD,8BAA8B,EAC9B,MAAM,CAYP,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gCAAgC;;CAE5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;CAGvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;CAAsC,CAAC"}
|
|
@@ -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"}
|