@transcend-io/cli 4.36.0 → 4.38.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 (118) hide show
  1. package/README.md +72 -7
  2. package/build/api-keys/generateCrossAccountApiKeys.d.ts +38 -0
  3. package/build/api-keys/generateCrossAccountApiKeys.d.ts.map +1 -0
  4. package/build/api-keys/generateCrossAccountApiKeys.js +90 -0
  5. package/build/api-keys/generateCrossAccountApiKeys.js.map +1 -0
  6. package/build/api-keys/index.d.ts +3 -0
  7. package/build/api-keys/index.d.ts.map +1 -0
  8. package/build/api-keys/index.js +15 -0
  9. package/build/api-keys/index.js.map +1 -0
  10. package/build/api-keys/validateTranscendAuth.d.ts +10 -0
  11. package/build/api-keys/validateTranscendAuth.d.ts.map +1 -0
  12. package/build/api-keys/validateTranscendAuth.js +54 -0
  13. package/build/api-keys/validateTranscendAuth.js.map +1 -0
  14. package/build/cli-generate-cross-account-api-keys.d.ts +3 -0
  15. package/build/cli-generate-cross-account-api-keys.d.ts.map +1 -0
  16. package/build/cli-generate-cross-account-api-keys.js +87 -0
  17. package/build/cli-generate-cross-account-api-keys.js.map +1 -0
  18. package/build/cli-push.js +61 -15
  19. package/build/cli-push.js.map +1 -1
  20. package/build/codecs.d.ts +13 -0
  21. package/build/codecs.d.ts.map +1 -1
  22. package/build/codecs.js +12 -1
  23. package/build/codecs.js.map +1 -1
  24. package/build/graphql/buildTranscendGraphQLClient.d.ts +8 -0
  25. package/build/graphql/buildTranscendGraphQLClient.d.ts.map +1 -1
  26. package/build/graphql/buildTranscendGraphQLClient.js +17 -4
  27. package/build/graphql/buildTranscendGraphQLClient.js.map +1 -1
  28. package/build/graphql/fetchAllAttributes.js +1 -1
  29. package/build/graphql/fetchAllAttributes.js.map +1 -1
  30. package/build/graphql/fetchApiKeys.d.ts +8 -0
  31. package/build/graphql/fetchApiKeys.d.ts.map +1 -1
  32. package/build/graphql/fetchApiKeys.js +23 -11
  33. package/build/graphql/fetchApiKeys.js.map +1 -1
  34. package/build/graphql/fetchConsentManagerId.d.ts +3 -2
  35. package/build/graphql/fetchConsentManagerId.d.ts.map +1 -1
  36. package/build/graphql/fetchConsentManagerId.js +4 -3
  37. package/build/graphql/fetchConsentManagerId.js.map +1 -1
  38. package/build/graphql/fetchDataSubjects.d.ts.map +1 -1
  39. package/build/graphql/fetchDataSubjects.js +1 -0
  40. package/build/graphql/fetchDataSubjects.js.map +1 -1
  41. package/build/graphql/fetchIdentifiers.d.ts +2 -1
  42. package/build/graphql/fetchIdentifiers.d.ts.map +1 -1
  43. package/build/graphql/fetchIdentifiers.js +9 -5
  44. package/build/graphql/fetchIdentifiers.js.map +1 -1
  45. package/build/graphql/fetchPrivacyCenterId.d.ts +9 -0
  46. package/build/graphql/fetchPrivacyCenterId.d.ts.map +1 -0
  47. package/build/graphql/fetchPrivacyCenterId.js +17 -0
  48. package/build/graphql/fetchPrivacyCenterId.js.map +1 -0
  49. package/build/graphql/gqls/apiKey.d.ts +2 -0
  50. package/build/graphql/gqls/apiKey.d.ts.map +1 -1
  51. package/build/graphql/gqls/apiKey.js +19 -1
  52. package/build/graphql/gqls/apiKey.js.map +1 -1
  53. package/build/graphql/gqls/auth.d.ts +4 -0
  54. package/build/graphql/gqls/auth.d.ts.map +1 -0
  55. package/build/graphql/gqls/auth.js +45 -0
  56. package/build/graphql/gqls/auth.js.map +1 -0
  57. package/build/graphql/gqls/consentManager.d.ts +1 -0
  58. package/build/graphql/gqls/consentManager.d.ts.map +1 -1
  59. package/build/graphql/gqls/consentManager.js +10 -1
  60. package/build/graphql/gqls/consentManager.js.map +1 -1
  61. package/build/graphql/gqls/identifier.d.ts.map +1 -1
  62. package/build/graphql/gqls/identifier.js +2 -5
  63. package/build/graphql/gqls/identifier.js.map +1 -1
  64. package/build/graphql/gqls/index.d.ts +2 -0
  65. package/build/graphql/gqls/index.d.ts.map +1 -1
  66. package/build/graphql/gqls/index.js +2 -0
  67. package/build/graphql/gqls/index.js.map +1 -1
  68. package/build/graphql/gqls/privacyCenter.d.ts +3 -0
  69. package/build/graphql/gqls/privacyCenter.d.ts.map +1 -0
  70. package/build/graphql/gqls/privacyCenter.js +19 -0
  71. package/build/graphql/gqls/privacyCenter.js.map +1 -0
  72. package/build/graphql/index.d.ts +3 -1
  73. package/build/graphql/index.d.ts.map +1 -1
  74. package/build/graphql/index.js +3 -1
  75. package/build/graphql/index.js.map +1 -1
  76. package/build/graphql/loginUser.d.ts +46 -0
  77. package/build/graphql/loginUser.d.ts.map +1 -0
  78. package/build/graphql/loginUser.js +51 -0
  79. package/build/graphql/loginUser.js.map +1 -0
  80. package/build/graphql/makeGraphQLRequest.d.ts +2 -1
  81. package/build/graphql/makeGraphQLRequest.d.ts.map +1 -1
  82. package/build/graphql/makeGraphQLRequest.js +5 -4
  83. package/build/graphql/makeGraphQLRequest.js.map +1 -1
  84. package/build/graphql/manageApiKeys.d.ts +31 -0
  85. package/build/graphql/manageApiKeys.d.ts.map +1 -0
  86. package/build/graphql/manageApiKeys.js +28 -0
  87. package/build/graphql/manageApiKeys.js.map +1 -0
  88. package/build/graphql/syncAction.d.ts +3 -1
  89. package/build/graphql/syncAction.d.ts.map +1 -1
  90. package/build/graphql/syncAction.js +2 -4
  91. package/build/graphql/syncAction.js.map +1 -1
  92. package/build/graphql/syncConfigurationToTranscend.d.ts +6 -1
  93. package/build/graphql/syncConfigurationToTranscend.d.ts.map +1 -1
  94. package/build/graphql/syncConfigurationToTranscend.js +29 -8
  95. package/build/graphql/syncConfigurationToTranscend.js.map +1 -1
  96. package/build/graphql/syncConsentManager.d.ts.map +1 -1
  97. package/build/graphql/syncConsentManager.js +21 -1
  98. package/build/graphql/syncConsentManager.js.map +1 -1
  99. package/build/graphql/syncDataFlows.js +2 -2
  100. package/build/graphql/syncDataFlows.js.map +1 -1
  101. package/build/graphql/syncDataSubject.d.ts +3 -1
  102. package/build/graphql/syncDataSubject.d.ts.map +1 -1
  103. package/build/graphql/syncDataSubject.js +3 -6
  104. package/build/graphql/syncDataSubject.js.map +1 -1
  105. package/build/graphql/syncIdentifier.d.ts +3 -1
  106. package/build/graphql/syncIdentifier.d.ts.map +1 -1
  107. package/build/graphql/syncIdentifier.js +2 -4
  108. package/build/graphql/syncIdentifier.js.map +1 -1
  109. package/build/index.d.ts +1 -0
  110. package/build/index.d.ts.map +1 -1
  111. package/build/index.js +1 -0
  112. package/build/index.js.map +1 -1
  113. package/build/tsbuildinfo +1 -1
  114. package/package.json +2 -1
  115. package/build/graphql/sleepPromise.d.ts +0 -8
  116. package/build/graphql/sleepPromise.d.ts.map +0 -1
  117. package/build/graphql/sleepPromise.js +0 -16
  118. package/build/graphql/sleepPromise.js.map +0 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Transcend Inc.",
3
3
  "name": "@transcend-io/cli",
4
4
  "description": "Small package containing useful typescript utilities.",
5
- "version": "4.36.0",
5
+ "version": "4.38.0",
6
6
  "homepage": "https://github.com/transcend-io/cli",
7
7
  "repository": {
8
8
  "type": "git",
@@ -14,6 +14,7 @@
14
14
  "tr-cron-mark-identifiers-completed": "./build/cli-cron-mark-identifiers-completed.js",
15
15
  "tr-cron-pull-identifiers": "./build/cli-cron-pull-identifiers.js",
16
16
  "tr-discover-silos": "./build/cli-discover-silos.js",
17
+ "tr-generate-api-keys": "./build/cli-generate-cross-account-api-keys.js",
17
18
  "tr-manual-enrichment-pull-identifiers": "./build/cli-manual-enrichment-pull-identifiers.js",
18
19
  "tr-manual-enrichment-push-identifiers": "./build/cli-manual-enrichment-push-identifiers.js",
19
20
  "tr-mark-request-data-silos-completed": "./build/cli-mark-request-data-silos-completed.js",
@@ -1,8 +0,0 @@
1
- /**
2
- * Sleep in a promise
3
- *
4
- * @param sleepTime - The time to sleep in milliseconds.
5
- * @returns Resolves promise
6
- */
7
- export declare function sleepPromise(sleepTime: number): Promise<number>;
8
- //# sourceMappingURL=sleepPromise.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sleepPromise.d.ts","sourceRoot":"","sources":["../../src/graphql/sleepPromise.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAI/D"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sleepPromise = void 0;
4
- /**
5
- * Sleep in a promise
6
- *
7
- * @param sleepTime - The time to sleep in milliseconds.
8
- * @returns Resolves promise
9
- */
10
- function sleepPromise(sleepTime) {
11
- return new Promise((resolve) => {
12
- setTimeout(() => resolve(sleepTime), sleepTime);
13
- });
14
- }
15
- exports.sleepPromise = sleepPromise;
16
- //# sourceMappingURL=sleepPromise.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sleepPromise.js","sourceRoot":"","sources":["../../src/graphql/sleepPromise.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,SAAgB,YAAY,CAAC,SAAiB;IAC5C,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;AACL,CAAC;AAJD,oCAIC"}