@transcend-io/cli 4.19.0 → 4.20.1

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 (55) hide show
  1. package/README.md +121 -18
  2. package/build/cli-request-restart.d.ts +3 -0
  3. package/build/cli-request-restart.d.ts.map +1 -0
  4. package/build/cli-request-restart.js +96 -0
  5. package/build/cli-request-restart.js.map +1 -0
  6. package/build/graphql/fetchAllRequestIdentifiers.d.ts +25 -0
  7. package/build/graphql/fetchAllRequestIdentifiers.d.ts.map +1 -0
  8. package/build/graphql/fetchAllRequestIdentifiers.js +34 -0
  9. package/build/graphql/fetchAllRequestIdentifiers.js.map +1 -0
  10. package/build/graphql/fetchAllRequests.d.ts +45 -0
  11. package/build/graphql/fetchAllRequests.d.ts.map +1 -0
  12. package/build/graphql/fetchAllRequests.js +43 -0
  13. package/build/graphql/fetchAllRequests.js.map +1 -0
  14. package/build/graphql/fetchApiKeys.d.ts +1 -1
  15. package/build/graphql/gqls/RequestIdentifier.d.ts +2 -0
  16. package/build/graphql/gqls/RequestIdentifier.d.ts.map +1 -0
  17. package/build/graphql/gqls/RequestIdentifier.js +27 -0
  18. package/build/graphql/gqls/RequestIdentifier.js.map +1 -0
  19. package/build/graphql/gqls/index.d.ts +2 -0
  20. package/build/graphql/gqls/index.d.ts.map +1 -1
  21. package/build/graphql/gqls/index.js +2 -0
  22. package/build/graphql/gqls/index.js.map +1 -1
  23. package/build/graphql/gqls/request.d.ts +2 -0
  24. package/build/graphql/gqls/request.d.ts.map +1 -0
  25. package/build/graphql/gqls/request.js +36 -0
  26. package/build/graphql/gqls/request.js.map +1 -0
  27. package/build/graphql/index.d.ts +2 -0
  28. package/build/graphql/index.d.ts.map +1 -1
  29. package/build/graphql/index.js +2 -0
  30. package/build/graphql/index.js.map +1 -1
  31. package/build/requests/bulkRestartRequests.d.ts +35 -0
  32. package/build/requests/bulkRestartRequests.d.ts.map +1 -0
  33. package/build/requests/bulkRestartRequests.js +160 -0
  34. package/build/requests/bulkRestartRequests.js.map +1 -0
  35. package/build/requests/constants.d.ts +17 -3
  36. package/build/requests/constants.d.ts.map +1 -1
  37. package/build/requests/constants.js +14 -8
  38. package/build/requests/constants.js.map +1 -1
  39. package/build/requests/index.d.ts +2 -0
  40. package/build/requests/index.d.ts.map +1 -1
  41. package/build/requests/index.js +2 -0
  42. package/build/requests/index.js.map +1 -1
  43. package/build/requests/mapColumnsToIdentifiers.d.ts.map +1 -1
  44. package/build/requests/mapColumnsToIdentifiers.js +2 -3
  45. package/build/requests/mapColumnsToIdentifiers.js.map +1 -1
  46. package/build/requests/restartPrivacyRequest.d.ts +20 -0
  47. package/build/requests/restartPrivacyRequest.d.ts.map +1 -0
  48. package/build/requests/restartPrivacyRequest.js +86 -0
  49. package/build/requests/restartPrivacyRequest.js.map +1 -0
  50. package/build/requests/submitPrivacyRequest.d.ts +5 -5
  51. package/build/requests/uploadPrivacyRequestsFromCsv.d.ts.map +1 -1
  52. package/build/requests/uploadPrivacyRequestsFromCsv.js +4 -2
  53. package/build/requests/uploadPrivacyRequestsFromCsv.js.map +1 -1
  54. package/build/tsbuildinfo +1 -1
  55. package/package.json +2 -1
package/README.md CHANGED
@@ -25,14 +25,18 @@
25
25
  - [Authentication](#authentication-3)
26
26
  - [Arguments](#arguments-3)
27
27
  - [Usage](#usage-4)
28
- - [tr-cron-pull-identifiers](#tr-cron-pull-identifiers)
28
+ - [tr-request-restart](#tr-request-restart)
29
29
  - [Authentication](#authentication-4)
30
30
  - [Arguments](#arguments-4)
31
31
  - [Usage](#usage-5)
32
- - [tr-cron-mark-identifiers-completed](#tr-cron-mark-identifiers-completed)
32
+ - [tr-cron-pull-identifiers](#tr-cron-pull-identifiers)
33
33
  - [Authentication](#authentication-5)
34
34
  - [Arguments](#arguments-5)
35
35
  - [Usage](#usage-6)
36
+ - [tr-cron-mark-identifiers-completed](#tr-cron-mark-identifiers-completed)
37
+ - [Authentication](#authentication-6)
38
+ - [Arguments](#arguments-6)
39
+ - [Usage](#usage-7)
36
40
 
37
41
  <!-- END doctoc generated TOC please keep comment here to allow auto update -->
38
42
 
@@ -51,11 +55,13 @@ If your codebase is typescript or javascript based, you can add this package as
51
55
  yarn add -D @transcend-io/cli
52
56
 
53
57
  # cli commands available within package
54
- yarn tr-pull --auth=xxx
55
- yarn tr-push --auth=xxx
56
- yarn tr-discover-silos --auth=xxx
57
- yarn tr-request-upload --auth=xxx
58
- yarn tr-cron-pull-identifiers --auth=xxx
58
+ yarn tr-pull --auth=$TRANSCEND_API_KEY
59
+ yarn tr-push --auth=$TRANSCEND_API_KEY
60
+ yarn tr-discover-silos --auth=$TRANSCEND_API_KEY
61
+ yarn tr-request-upload --auth=$TRANSCEND_API_KEY
62
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY
63
+ yarn tr-cron-pull-identifiers --auth=$TRANSCEND_API_KEY
64
+ yarn tr-cron-mark-identifiers-completed --auth=$TRANSCEND_API_KEY
59
65
  ```
60
66
 
61
67
  or
@@ -65,11 +71,13 @@ or
65
71
  npm i -D @transcend-io/cli
66
72
 
67
73
  # cli commands available within package
68
- tr-pull --auth=xxx
69
- tr-push --auth=xxx
70
- tr-discover-silos --auth=xxx
71
- tr-request-upload --auth=xxx
72
- tr-cron-pull-identifiers --auth=xxx
74
+ tr-pull --auth=$TRANSCEND_API_KEY
75
+ tr-push --auth=$TRANSCEND_API_KEY
76
+ tr-discover-silos --auth=$TRANSCEND_API_KEY
77
+ tr-request-upload --auth=$TRANSCEND_API_KEY
78
+ tr-request-restart --auth=$TRANSCEND_API_KEY
79
+ tr-cron-pull-identifiers --auth=$TRANSCEND_API_KEY
80
+ tr-cron-mark-identifiers-completed --auth=$TRANSCEND_API_KEY
73
81
  ```
74
82
 
75
83
  alternatively, you can install the cli globally on your machine:
@@ -79,10 +87,13 @@ alternatively, you can install the cli globally on your machine:
79
87
  npm i -g @transcend-io/cli
80
88
 
81
89
  # cli commands available everywhere on machine
82
- tr-pull --auth=xxx
83
- tr-push --auth=xxx
84
- tr-discover-silos --auth=xxx
85
- tr-request-upload --auth=xxx
90
+ tr-pull --auth=$TRANSCEND_API_KEY
91
+ tr-push --auth=$TRANSCEND_API_KEY
92
+ tr-discover-silos --auth=$TRANSCEND_API_KEY
93
+ tr-request-upload --auth=$TRANSCEND_API_KEY
94
+ tr-request-restart --auth=$TRANSCEND_API_KEY
95
+ tr-cron-pull-identifiers --auth=$TRANSCEND_API_KEY
96
+ tr-cron-mark-identifiers-completed --auth=$TRANSCEND_API_KEY
86
97
  ```
87
98
 
88
99
  Note:
@@ -523,10 +534,10 @@ yarn tr-request-upload --auth=$TRANSCEND_API_KEY --file=/Users/transcend/Desktop
523
534
  --isSilent=false --emailIsVerified=false
524
535
  ```
525
536
 
526
- Increase the concurrency (defaults to 20)
537
+ Increase the concurrency (defaults to 100)
527
538
 
528
539
  ```sh
529
- yarn tr-request-upload --auth=$TRANSCEND_API_KEY --file=/Users/transcend/Desktop/test.csv --concurrency=20
540
+ yarn tr-request-upload --auth=$TRANSCEND_API_KEY --file=/Users/transcend/Desktop/test.csv --concurrency=100
530
541
  ```
531
542
 
532
543
  Tag all uploaded requests with an attribute
@@ -548,6 +559,98 @@ Include debug logs - warning, this logs out personal data.
548
559
  yarn tr-request-upload --auth=$TRANSCEND_API_KEY --file=/Users/transcend/Desktop/test.csv --debug=true
549
560
  ```
550
561
 
562
+ ### tr-request-restart
563
+
564
+ Bulk update a set of privacy requests based on a set of request filters.
565
+
566
+ #### Authentication
567
+
568
+ In order to use this cli, you will first need to generate an API key on the Transcend Admin Dashboard (https://app.transcend.io/infrastructure/api-keys).
569
+
570
+ The API key needs the following scopes:
571
+
572
+ - Submit New Data Subject Request
573
+ - View the Request Compilation
574
+
575
+ #### Arguments
576
+
577
+ | Argument | Description | Type | Default | Required |
578
+ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | --------------- | --------------------------------- | -------- |
579
+ | auth | The Transcend API capable of submitting privacy requests. | string | N/A | true |
580
+ | acions | The [request action](https://docs.transcend.io/docs/privacy-requests/configuring-requests/data-subject-requests#data-actions) to restart. | RequestAction[] | N/A | true |
581
+ | statuses | The [request statuses](https://docs.transcend.io/docs/privacy-requests/overview#request-statuses) to restart. | RequestStatus[] | N/A | true |
582
+ | transcendUrl | URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. | string - URL | https://api.transcend.io | false |
583
+ | requestReceiptFolder | The path to the folder where receipts of each upload are stored. This allows for debugging of errors. | string | ./privacy-request-upload-receipts | false |
584
+ | sombraAuth | The sombra internal key, use for additional authentication when self-hosting sombra. | string | N/A | false |
585
+ | concurrency | The concurrency to use when uploading requests in parallel. | number | 20 | false |
586
+ | requestIds | Specify the specific request IDs to restart | string[] | [] | false |
587
+ | createdAt | Restart requests that were submitted before a specific date. | Date | Date.now() | false |
588
+ | markSilent | Requests older than this date should be marked as silent mode | Date | Date.now() - 3 months | false |
589
+ | sendEmailReceipt | Send email receipts to the restarted requests | boolean | false | false |
590
+ | copyIdentifiers | Copy over all enriched identifiers from the initial request. Leave false to restart from scratch with initial identifiers only. | boolean | false | false |
591
+ | skipWaitingPeriod | Skip queued state of request and go straight to compiling | boolean | false | false |
592
+
593
+ ### Usage
594
+
595
+ ```sh
596
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE
597
+ ```
598
+
599
+ For self-hosted sombras that use an internal key:
600
+
601
+ ```sh
602
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --sombraAuth=$SOMBRA_INTERNAL_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE
603
+ ```
604
+
605
+ Specifying the backend URL, needed for US hosted backend infrastructure.
606
+
607
+ ```sh
608
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --sombraAuth=$SOMBRA_INTERNAL_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE \
609
+ --transcendUrl=https://api.us.transcend.io
610
+ ```
611
+
612
+ Increase the concurrency (defaults to 20)
613
+
614
+ ```sh
615
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE --concurrency=100
616
+ ```
617
+
618
+ Restart specific requests by ID
619
+
620
+ ```sh
621
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE --requestIds=c3ae78c9-2768-4666-991a-d2f729503337,342e4bd1-64ea-4af0-a4ad-704b5a07cfe4
622
+ ```
623
+
624
+ Restart requests that were submitted before a specific date.
625
+
626
+ ```sh
627
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE --createdAt=2022-05-11T00:46
628
+ ```
629
+
630
+ Restart requests and place everything in silent mode submitted before a certain date
631
+
632
+ ```sh
633
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE --markSilent=2022-12-05T00:46
634
+ ```
635
+
636
+ Send email receipts to the restarted requests
637
+
638
+ ```sh
639
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE --sendEmailReceipt=true
640
+ ```
641
+
642
+ Copy over all enriched identifiers from the initial request. Leave false to restart from scratch with initial identifiers only
643
+
644
+ ```sh
645
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE --copyIdentifiers=true
646
+ ```
647
+
648
+ Skip queued state of request and go straight to compiling
649
+
650
+ ```sh
651
+ yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE --skipWaitingPeriod=true
652
+ ```
653
+
551
654
  ### tr-cron-pull-identifiers
552
655
 
553
656
  If you are using the cron job integration, you can run this command to pull the outstanding identifiers
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=cli-request-restart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-request-restart.d.ts","sourceRoot":"","sources":["../src/cli-request-restart.ts"],"names":[],"mappings":""}
@@ -0,0 +1,96 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const yargs_parser_1 = __importDefault(require("yargs-parser"));
8
+ const colors_1 = __importDefault(require("colors"));
9
+ const logger_1 = require("./logger");
10
+ const requests_1 = require("./requests");
11
+ const privacy_types_1 = require("@transcend-io/privacy-types");
12
+ const ONE_MONTH = 30.5 * 24 * 60 * 60 * 1000;
13
+ /**
14
+ * Run a command to bulk restart a set of privacy requests
15
+ *
16
+ * Requires an API key with follow scopes: https://app.transcend.io/infrastructure/api-keys
17
+ * - "Submit New Data Subject Request"
18
+ * - "View the Request Compilation"
19
+ *
20
+ * Dev Usage:
21
+ * yarn ts-node ./src/cli-request-restart.ts --auth=asd123 \
22
+ * --statuses=COMPILING,APPROVING --actions=ERASURE
23
+ *
24
+ * Standard usage:
25
+ * yarn tr-request-restart --auth=asd123 \
26
+ * --statuses=COMPILING,APPROVING --actions=ERASURE
27
+ */
28
+ async function main() {
29
+ // Parse command line arguments
30
+ const { auth, transcendUrl = 'https://api.transcend.io', sombraAuth,
31
+ /** Restart requests matching these request actions */
32
+ actions,
33
+ /** Restart requests matching these request statuses */
34
+ statuses,
35
+ /** Concurrency to restart requests at */
36
+ concurrency = '20',
37
+ /** List of request IDs */
38
+ requestIds = '',
39
+ /** Filter for requests that were submitted before this date */
40
+ createdAt = new Date().toISOString(),
41
+ /** Requests that have been open for this length of time should be marked as silent mode */
42
+ markSilent = new Date(+new Date() - ONE_MONTH * 3).toISOString(),
43
+ /** Send an email receipt to the restarted requests */
44
+ sendEmailReceipt = 'false',
45
+ /** Copy over all identifiers rather than restarting the request only with the core identifier */
46
+ copyIdentifiers = 'false',
47
+ /** Skip the waiting period when restarting requests */
48
+ skipWaitingPeriod = 'false',
49
+ /** Include a receipt of the requests that were restarted in this file */
50
+ requestReceiptFolder = './privacy-request-upload-receipts', } = (0, yargs_parser_1.default)(process.argv.slice(2));
51
+ // Ensure auth is passed
52
+ if (!auth) {
53
+ logger_1.logger.error(colors_1.default.red('A Transcend API key must be provided. You can specify using --auth=asd123'));
54
+ process.exit(1);
55
+ }
56
+ // Parse request actions
57
+ if (!actions) {
58
+ logger_1.logger.error(colors_1.default.red('Missing required parameter "actions". e.g. --actions=ERASURE,ACCESS'));
59
+ process.exit(1);
60
+ }
61
+ const requestActions = actions.split(',');
62
+ const invalidActions = requestActions.filter((action) => !Object.values(privacy_types_1.RequestAction).includes(action));
63
+ if (invalidActions.length > 0) {
64
+ logger_1.logger.error(colors_1.default.red(`Received invalid action values: "${invalidActions.join(',')}"`));
65
+ process.exit(1);
66
+ }
67
+ // Parse request statuses
68
+ if (!statuses) {
69
+ logger_1.logger.error(colors_1.default.red('Missing required parameter "statuses". e.g. --statuses=COMPILING,APPROVING'));
70
+ process.exit(1);
71
+ }
72
+ const requestStatuses = statuses.split(',');
73
+ const invalidStatuses = requestStatuses.filter((status) => !Object.values(privacy_types_1.RequestStatus).includes(status));
74
+ if (invalidStatuses.length > 0) {
75
+ logger_1.logger.error(colors_1.default.red(`Received invalid status values: "${invalidStatuses.join(',')}"`));
76
+ process.exit(1);
77
+ }
78
+ // Upload privacy requests
79
+ await (0, requests_1.bulkRestartRequests)({
80
+ requestReceiptFolder,
81
+ auth,
82
+ sombraAuth,
83
+ requestActions,
84
+ requestStatuses,
85
+ requestIds: (0, requests_1.splitCsvToList)(requestIds),
86
+ createdAt: new Date(createdAt),
87
+ markSilent: new Date(markSilent),
88
+ sendEmailReceipt: sendEmailReceipt === 'true',
89
+ copyIdentifiers: copyIdentifiers === 'true',
90
+ skipWaitingPeriod: skipWaitingPeriod === 'true',
91
+ concurrency: parseInt(concurrency, 10),
92
+ transcendUrl,
93
+ });
94
+ }
95
+ main();
96
+ //# sourceMappingURL=cli-request-restart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-request-restart.js","sourceRoot":"","sources":["../src/cli-request-restart.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,25 @@
1
+ import { GraphQLClient } from 'graphql-request';
2
+ export interface RequestIdentifier {
3
+ /** ID of request */
4
+ id: string;
5
+ /** Name of identifier */
6
+ name: string;
7
+ /** The underlying identifier value */
8
+ value: string;
9
+ /** Whether request identifier has been verified at least one */
10
+ isVerifiedAtLeastOnce: boolean;
11
+ /** Whether request identifier has been verified */
12
+ isVerified: boolean;
13
+ }
14
+ /**
15
+ * Fetch all request identifiers for a particular request
16
+ *
17
+ * @param client - GraphQL client
18
+ * @param options - Filter options
19
+ * @returns List of request identifiers
20
+ */
21
+ export declare function fetchAllRequestIdentifiers(client: GraphQLClient, { requestId, }: {
22
+ /** ID of request to filter on */
23
+ requestId: string;
24
+ }): Promise<RequestIdentifier[]>;
25
+ //# sourceMappingURL=fetchAllRequestIdentifiers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllRequestIdentifiers.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllRequestIdentifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mDAAmD;IACnD,UAAU,EAAE,OAAO,CAAC;CACrB;AAID;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAC9C,MAAM,EAAE,aAAa,EACrB,EACE,SAAS,GACV,EAAE;IACD,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB,GACA,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAqB9B"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchAllRequestIdentifiers = void 0;
4
+ const gqls_1 = require("./gqls");
5
+ const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
6
+ const PAGE_SIZE = 50;
7
+ /**
8
+ * Fetch all request identifiers for a particular request
9
+ *
10
+ * @param client - GraphQL client
11
+ * @param options - Filter options
12
+ * @returns List of request identifiers
13
+ */
14
+ async function fetchAllRequestIdentifiers(client, { requestId, }) {
15
+ const requestIdentifiers = [];
16
+ let offset = 0;
17
+ // Paginate
18
+ let shouldContinue = false;
19
+ do {
20
+ const { requestIdentifiers: { nodes },
21
+ // eslint-disable-next-line no-await-in-loop
22
+ } = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.REQUEST_IDENTIFIERS, {
23
+ first: PAGE_SIZE,
24
+ offset,
25
+ requestId,
26
+ });
27
+ requestIdentifiers.push(...nodes);
28
+ offset += PAGE_SIZE;
29
+ shouldContinue = nodes.length === PAGE_SIZE;
30
+ } while (shouldContinue);
31
+ return requestIdentifiers;
32
+ }
33
+ exports.fetchAllRequestIdentifiers = fetchAllRequestIdentifiers;
34
+ //# sourceMappingURL=fetchAllRequestIdentifiers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllRequestIdentifiers.js","sourceRoot":"","sources":["../../src/graphql/fetchAllRequestIdentifiers.ts"],"names":[],"mappings":";;;AACA,iCAA6C;AAC7C,6DAA0D;AAe1D,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;;GAMG;AACI,KAAK,UAAU,0BAA0B,CAC9C,MAAqB,EACrB,EACE,SAAS,GAIV;IAED,MAAM,kBAAkB,GAAwB,EAAE,CAAC;IACnD,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,WAAW;IACX,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,kBAAkB,EAAE,EAAE,KAAK,EAAE;QAC7B,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAAC,MAAM,EAAE,0BAAmB,EAAE;YACxD,KAAK,EAAE,SAAS;YAChB,MAAM;YACN,SAAS;SACV,CAAC,CAAC;QACH,kBAAkB,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QAClC,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AA7BD,gEA6BC"}
@@ -0,0 +1,45 @@
1
+ import { GraphQLClient } from 'graphql-request';
2
+ import { RequestAction, RequestStatus, IsoCountryCode, IsoCountrySubdivisionCode } from '@transcend-io/privacy-types';
3
+ import { LanguageKey } from '@transcend-io/internationalization';
4
+ export interface PrivacyRequest {
5
+ /** ID of request */
6
+ id: string;
7
+ /** Time request was made */
8
+ createdAt: string;
9
+ /** Email of request */
10
+ email: string;
11
+ /** Link for request */
12
+ link: string;
13
+ /** Whether request is in test mode */
14
+ isTest: boolean;
15
+ /** Request details */
16
+ details: string;
17
+ /** Locale of request */
18
+ locale: LanguageKey;
19
+ /** Whether request is in silent mode */
20
+ isSilent: boolean;
21
+ /** Core identifier of request */
22
+ coreIdentifier: string;
23
+ /** Type of request action */
24
+ type: RequestAction;
25
+ /** Type of data subject */
26
+ subjectType: string;
27
+ /** Country of request */
28
+ country?: IsoCountryCode | null;
29
+ /** Sub division of request */
30
+ countrySubDivision?: IsoCountrySubdivisionCode | null;
31
+ }
32
+ /**
33
+ * Fetch all requests matching a set of filters
34
+ *
35
+ * @param client - GraphQL client
36
+ * @param options - Filter options
37
+ * @returns List of requests
38
+ */
39
+ export declare function fetchAllRequests(client: GraphQLClient, { actions, statuses, }: {
40
+ /** Actions to filter on */
41
+ actions: RequestAction[];
42
+ /** Statuses to filter on */
43
+ statuses: RequestStatus[];
44
+ }): Promise<PrivacyRequest[]>;
45
+ //# sourceMappingURL=fetchAllRequests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllRequests.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllRequests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,OAAO,EACL,aAAa,EACb,aAAa,EACb,cAAc,EACd,yBAAyB,EAC1B,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEjE,MAAM,WAAW,cAAc;IAC7B,oBAAoB;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,4BAA4B;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB,sBAAsB;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,wBAAwB;IACxB,MAAM,EAAE,WAAW,CAAC;IACpB,wCAAwC;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,6BAA6B;IAC7B,IAAI,EAAE,aAAa,CAAC;IACpB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAChC,8BAA8B;IAC9B,kBAAkB,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;CACvD;AAID;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,aAAa,EACrB,EACE,OAAO,EACP,QAAQ,GACT,EAAE;IACD,2BAA2B;IAC3B,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,4BAA4B;IAC5B,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B,GACA,OAAO,CAAC,cAAc,EAAE,CAAC,CA0B3B"}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.fetchAllRequests = void 0;
7
+ const colors_1 = __importDefault(require("colors"));
8
+ const gqls_1 = require("./gqls");
9
+ const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
10
+ const logger_1 = require("../logger");
11
+ const PAGE_SIZE = 50;
12
+ /**
13
+ * Fetch all requests matching a set of filters
14
+ *
15
+ * @param client - GraphQL client
16
+ * @param options - Filter options
17
+ * @returns List of requests
18
+ */
19
+ async function fetchAllRequests(client, { actions, statuses, }) {
20
+ const requests = [];
21
+ let offset = 0;
22
+ // Paginate
23
+ let shouldContinue = false;
24
+ do {
25
+ const { requests: { nodes, totalCount },
26
+ // eslint-disable-next-line no-await-in-loop
27
+ } = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.REQUESTS, {
28
+ first: PAGE_SIZE,
29
+ offset,
30
+ actions,
31
+ statuses,
32
+ });
33
+ if (offset === 0 && totalCount > PAGE_SIZE) {
34
+ logger_1.logger.info(colors_1.default.magenta(`Fetching ${totalCount} requests`));
35
+ }
36
+ requests.push(...nodes);
37
+ offset += PAGE_SIZE;
38
+ shouldContinue = nodes.length === PAGE_SIZE;
39
+ } while (shouldContinue);
40
+ return requests;
41
+ }
42
+ exports.fetchAllRequests = fetchAllRequests;
43
+ //# sourceMappingURL=fetchAllRequests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllRequests.js","sourceRoot":"","sources":["../../src/graphql/fetchAllRequests.ts"],"names":[],"mappings":";;;;;;AACA,oDAA4B;AAC5B,iCAAkC;AAClC,6DAA0D;AAO1D,sCAAmC;AAgCnC,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;;GAMG;AACI,KAAK,UAAU,gBAAgB,CACpC,MAAqB,EACrB,EACE,OAAO,EACP,QAAQ,GAMT;IAED,MAAM,QAAQ,GAAqB,EAAE,CAAC;IACtC,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,WAAW;IACX,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,QAAQ,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;QAC/B,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAAC,MAAM,EAAE,eAAQ,EAAE;YAC7C,KAAK,EAAE,SAAS;YAChB,MAAM;YACN,OAAO;YACP,QAAQ;SACT,CAAC,CAAC;QACH,IAAI,MAAM,KAAK,CAAC,IAAI,UAAU,GAAG,SAAS,EAAE;YAC1C,eAAM,CAAC,IAAI,CAAC,gBAAM,CAAC,OAAO,CAAC,YAAY,UAAU,WAAW,CAAC,CAAC,CAAC;SAChE;QAED,QAAQ,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QACxB,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,QAAQ,CAAC;AAClB,CAAC;AArCD,4CAqCC"}
@@ -1,7 +1,7 @@
1
1
  import { GraphQLClient } from 'graphql-request';
2
2
  import { TranscendInput } from '../codecs';
3
3
  export interface ApiKey {
4
- /** ID of APi key */
4
+ /** ID of API key */
5
5
  id: string;
6
6
  /** Title of API key */
7
7
  title: string;
@@ -0,0 +1,2 @@
1
+ export declare const REQUEST_IDENTIFIERS: string;
2
+ //# sourceMappingURL=RequestIdentifier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestIdentifier.d.ts","sourceRoot":"","sources":["../../../src/graphql/gqls/RequestIdentifier.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,QAqB/B,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REQUEST_IDENTIFIERS = void 0;
4
+ const graphql_request_1 = require("graphql-request");
5
+ exports.REQUEST_IDENTIFIERS = (0, graphql_request_1.gql) `
6
+ query TranscendCliRequestIdentifiers(
7
+ $first: Int!
8
+ $offset: Int!
9
+ $requestId: ID!
10
+ ) {
11
+ requestIdentifiers(
12
+ input: { requestId: $requestId }
13
+ first: $first
14
+ offset: $offset
15
+ ) {
16
+ nodes {
17
+ id
18
+ name
19
+ value
20
+ isVerifiedAtLeastOnce
21
+ isVerified
22
+ }
23
+ totalCount
24
+ }
25
+ }
26
+ `;
27
+ //# sourceMappingURL=RequestIdentifier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestIdentifier.js","sourceRoot":"","sources":["../../../src/graphql/gqls/RequestIdentifier.ts"],"names":[],"mappings":";;;AAAA,qDAAsC;AAEzB,QAAA,mBAAmB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;CAqBrC,CAAC"}
@@ -8,4 +8,6 @@ export * from './siloDiscovery';
8
8
  export * from './template';
9
9
  export * from './organization';
10
10
  export * from './attributeKey';
11
+ export * from './request';
12
+ export * from './RequestIdentifier';
11
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/graphql/gqls/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/graphql/gqls/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
@@ -20,4 +20,6 @@ __exportStar(require("./siloDiscovery"), exports);
20
20
  __exportStar(require("./template"), exports);
21
21
  __exportStar(require("./organization"), exports);
22
22
  __exportStar(require("./attributeKey"), exports);
23
+ __exportStar(require("./request"), exports);
24
+ __exportStar(require("./RequestIdentifier"), exports);
23
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/gqls/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B;AAC3B,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2CAAyB;AACzB,kDAAgC;AAChC,6CAA2B;AAC3B,iDAA+B;AAC/B,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/gqls/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B;AAC3B,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2CAAyB;AACzB,kDAAgC;AAChC,6CAA2B;AAC3B,iDAA+B;AAC/B,iDAA+B;AAC/B,4CAA0B;AAC1B,sDAAoC"}
@@ -0,0 +1,2 @@
1
+ export declare const REQUESTS: string;
2
+ //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../src/graphql/gqls/request.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,QA8BpB,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REQUESTS = void 0;
4
+ const graphql_request_1 = require("graphql-request");
5
+ exports.REQUESTS = (0, graphql_request_1.gql) `
6
+ query TranscendCliRequests(
7
+ $first: Int!
8
+ $offset: Int!
9
+ $actions: [RequestAction!]!
10
+ $statuses: [RequestStatus!]!
11
+ ) {
12
+ requests(
13
+ filterBy: { type: $actions, status: $statuses }
14
+ first: $first
15
+ offset: $offset
16
+ ) {
17
+ nodes {
18
+ id
19
+ createdAt
20
+ email
21
+ link
22
+ details
23
+ isTest
24
+ locale
25
+ isSilent
26
+ coreIdentifier
27
+ type
28
+ subjectType
29
+ country
30
+ countrySubDivision
31
+ }
32
+ totalCount
33
+ }
34
+ }
35
+ `;
36
+ //# sourceMappingURL=request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/graphql/gqls/request.ts"],"names":[],"mappings":";;;AAAA,qDAAsC;AAEzB,QAAA,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B1B,CAAC"}
@@ -13,4 +13,6 @@ export * from './createSombraGotInstance';
13
13
  export * from './buildTranscendGraphQLClient';
14
14
  export * from './gqls';
15
15
  export * from './fetchAllAttributeKeys';
16
+ export * from './fetchAllRequests';
17
+ export * from './fetchAllRequestIdentifiers';
16
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graphql/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graphql/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC"}
@@ -25,4 +25,6 @@ __exportStar(require("./createSombraGotInstance"), exports);
25
25
  __exportStar(require("./buildTranscendGraphQLClient"), exports);
26
26
  __exportStar(require("./gqls"), exports);
27
27
  __exportStar(require("./fetchAllAttributeKeys"), exports);
28
+ __exportStar(require("./fetchAllRequests"), exports);
29
+ __exportStar(require("./fetchAllRequestIdentifiers"), exports);
28
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAA6C;AAC7C,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,iEAA+C;AAC/C,kDAAgC;AAChC,kDAAgC;AAChC,+DAA6C;AAC7C,kDAAgC;AAChC,uDAAqC;AACrC,4DAA0C;AAC1C,gEAA8C;AAC9C,yCAAuB;AACvB,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAA6C;AAC7C,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,iEAA+C;AAC/C,kDAAgC;AAChC,kDAAgC;AAChC,+DAA6C;AAC7C,kDAAgC;AAChC,uDAAqC;AACrC,4DAA0C;AAC1C,gEAA8C;AAC9C,yCAAuB;AACvB,0DAAwC;AACxC,qDAAmC;AACnC,+DAA6C"}