@flowcore/sdk 1.50.0 → 1.52.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 (212) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/esm/commands/adapter/reset-adapter.d.ts +2 -2
  3. package/esm/commands/adapter/reset-adapter.d.ts.map +1 -1
  4. package/esm/commands/adapter/reset-adapter.js +1 -1
  5. package/esm/commands/iam/permissions/get-user-permissions.d.ts +48 -0
  6. package/esm/commands/iam/permissions/get-user-permissions.d.ts.map +1 -0
  7. package/esm/commands/iam/permissions/get-user-permissions.js +45 -0
  8. package/esm/commands/iam/policies/create-policy.d.ts +89 -0
  9. package/esm/commands/iam/policies/create-policy.d.ts.map +1 -0
  10. package/esm/commands/iam/policies/create-policy.js +69 -0
  11. package/esm/commands/iam/policies/get-policy.d.ts +35 -0
  12. package/esm/commands/iam/policies/get-policy.d.ts.map +1 -0
  13. package/esm/commands/iam/policies/get-policy.js +37 -0
  14. package/esm/commands/iam/policies/id/archive-policy.d.ts +45 -0
  15. package/esm/commands/iam/policies/id/archive-policy.d.ts.map +1 -0
  16. package/esm/commands/iam/policies/id/archive-policy.js +42 -0
  17. package/esm/commands/iam/policies/id/get-policy.d.ts +45 -0
  18. package/esm/commands/iam/policies/id/get-policy.d.ts.map +1 -0
  19. package/esm/commands/iam/policies/id/get-policy.js +40 -0
  20. package/esm/commands/iam/policies/id/update-policy.d.ts +53 -0
  21. package/esm/commands/iam/policies/id/update-policy.d.ts.map +1 -0
  22. package/esm/commands/iam/policies/id/update-policy.js +46 -0
  23. package/esm/commands/iam/policy-associations/get-key-policies.d.ts +35 -0
  24. package/esm/commands/iam/policy-associations/get-key-policies.d.ts.map +1 -0
  25. package/esm/commands/iam/policy-associations/get-key-policies.js +77 -0
  26. package/esm/commands/iam/policy-associations/get-organization-policies.d.ts +35 -0
  27. package/esm/commands/iam/policy-associations/get-organization-policies.d.ts.map +1 -0
  28. package/esm/commands/iam/policy-associations/get-organization-policies.js +80 -0
  29. package/esm/commands/iam/policy-associations/get-policy-associations.d.ts +83 -0
  30. package/esm/commands/iam/policy-associations/get-policy-associations.d.ts.map +1 -0
  31. package/esm/commands/iam/policy-associations/get-policy-associations.js +109 -0
  32. package/esm/commands/iam/policy-associations/get-role-policies.d.ts +35 -0
  33. package/esm/commands/iam/policy-associations/get-role-policies.d.ts.map +1 -0
  34. package/esm/commands/iam/policy-associations/get-role-policies.js +65 -0
  35. package/esm/commands/iam/policy-associations/get-user-policies.d.ts +37 -0
  36. package/esm/commands/iam/policy-associations/get-user-policies.d.ts.map +1 -0
  37. package/esm/commands/iam/policy-associations/get-user-policies.js +37 -0
  38. package/esm/commands/iam/policy-associations/link-key-policy.d.ts +53 -0
  39. package/esm/commands/iam/policy-associations/link-key-policy.d.ts.map +1 -0
  40. package/esm/commands/iam/policy-associations/link-key-policy.js +52 -0
  41. package/esm/commands/iam/policy-associations/link-role-policy.d.ts +53 -0
  42. package/esm/commands/iam/policy-associations/link-role-policy.d.ts.map +1 -0
  43. package/esm/commands/iam/policy-associations/link-role-policy.js +52 -0
  44. package/esm/commands/iam/policy-associations/link-user-policy.d.ts +53 -0
  45. package/esm/commands/iam/policy-associations/link-user-policy.d.ts.map +1 -0
  46. package/esm/commands/iam/policy-associations/link-user-policy.js +52 -0
  47. package/esm/commands/iam/policy-associations/unlink-key-policy.d.ts +41 -0
  48. package/esm/commands/iam/policy-associations/unlink-key-policy.d.ts.map +1 -0
  49. package/esm/commands/iam/policy-associations/unlink-key-policy.js +44 -0
  50. package/esm/commands/iam/policy-associations/unlink-role-policy.d.ts +41 -0
  51. package/esm/commands/iam/policy-associations/unlink-role-policy.d.ts.map +1 -0
  52. package/esm/commands/iam/policy-associations/unlink-role-policy.js +44 -0
  53. package/esm/commands/iam/policy-associations/unlink-user-policy.d.ts +41 -0
  54. package/esm/commands/iam/policy-associations/unlink-user-policy.d.ts.map +1 -0
  55. package/esm/commands/iam/policy-associations/unlink-user-policy.js +44 -0
  56. package/esm/commands/iam/role-associations/get-key-roles.d.ts +35 -0
  57. package/esm/commands/iam/role-associations/get-key-roles.d.ts.map +1 -0
  58. package/esm/commands/iam/role-associations/get-key-roles.js +37 -0
  59. package/esm/commands/iam/role-associations/get-organization-roles.d.ts +35 -0
  60. package/esm/commands/iam/role-associations/get-organization-roles.d.ts.map +1 -0
  61. package/esm/commands/iam/role-associations/get-organization-roles.js +54 -0
  62. package/esm/commands/iam/role-associations/get-role-associations.d.ts +70 -0
  63. package/esm/commands/iam/role-associations/get-role-associations.d.ts.map +1 -0
  64. package/esm/commands/iam/role-associations/get-role-associations.js +59 -0
  65. package/esm/commands/iam/role-associations/get-user-roles.d.ts +37 -0
  66. package/esm/commands/iam/role-associations/get-user-roles.d.ts.map +1 -0
  67. package/esm/commands/iam/role-associations/get-user-roles.js +42 -0
  68. package/esm/commands/iam/role-associations/link-key-role.d.ts +53 -0
  69. package/esm/commands/iam/role-associations/link-key-role.d.ts.map +1 -0
  70. package/esm/commands/iam/role-associations/link-key-role.js +52 -0
  71. package/esm/commands/iam/role-associations/link-user-role.d.ts +53 -0
  72. package/esm/commands/iam/role-associations/link-user-role.d.ts.map +1 -0
  73. package/esm/commands/iam/role-associations/link-user-role.js +52 -0
  74. package/esm/commands/iam/role-associations/unlink-key-role.d.ts +41 -0
  75. package/esm/commands/iam/role-associations/unlink-key-role.d.ts.map +1 -0
  76. package/esm/commands/iam/role-associations/unlink-key-role.js +44 -0
  77. package/esm/commands/iam/role-associations/unlink-user-role.d.ts +41 -0
  78. package/esm/commands/iam/role-associations/unlink-user-role.d.ts.map +1 -0
  79. package/esm/commands/iam/role-associations/unlink-user-role.js +44 -0
  80. package/esm/commands/iam/roles/create-role.d.ts +60 -0
  81. package/esm/commands/iam/roles/create-role.d.ts.map +1 -0
  82. package/esm/commands/iam/roles/create-role.js +56 -0
  83. package/esm/commands/iam/roles/get-roles.d.ts +35 -0
  84. package/esm/commands/iam/roles/get-roles.d.ts.map +1 -0
  85. package/esm/commands/iam/roles/get-roles.js +37 -0
  86. package/esm/commands/iam/roles/id/archive-role.d.ts +45 -0
  87. package/esm/commands/iam/roles/id/archive-role.d.ts.map +1 -0
  88. package/esm/commands/iam/roles/id/archive-role.js +42 -0
  89. package/esm/commands/iam/roles/id/get-role.d.ts +35 -0
  90. package/esm/commands/iam/roles/id/get-role.d.ts.map +1 -0
  91. package/esm/commands/iam/roles/id/get-role.js +36 -0
  92. package/esm/commands/iam/roles/id/update-role.d.ts +47 -0
  93. package/esm/commands/iam/roles/id/update-role.d.ts.map +1 -0
  94. package/esm/commands/iam/roles/id/update-role.js +47 -0
  95. package/esm/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts +88 -0
  96. package/esm/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts.map +1 -0
  97. package/esm/commands/iam/tenant-iam-audit/get-audit-for-tenant.js +102 -0
  98. package/esm/commands/iam/validate/validate-key.d.ts +43 -0
  99. package/esm/commands/iam/validate/validate-key.d.ts.map +1 -0
  100. package/esm/commands/iam/validate/validate-key.js +43 -0
  101. package/esm/commands/iam/validate/validate-user.d.ts +77 -0
  102. package/esm/commands/iam/validate/validate-user.d.ts.map +1 -0
  103. package/esm/commands/iam/validate/validate-user.js +58 -0
  104. package/esm/commands/index.d.ts +33 -0
  105. package/esm/commands/index.d.ts.map +1 -1
  106. package/esm/commands/index.js +34 -0
  107. package/package.json +1 -1
  108. package/script/commands/adapter/reset-adapter.d.ts +2 -2
  109. package/script/commands/adapter/reset-adapter.d.ts.map +1 -1
  110. package/script/commands/adapter/reset-adapter.js +2 -2
  111. package/script/commands/iam/permissions/get-user-permissions.d.ts +48 -0
  112. package/script/commands/iam/permissions/get-user-permissions.d.ts.map +1 -0
  113. package/script/commands/iam/permissions/get-user-permissions.js +49 -0
  114. package/script/commands/iam/policies/create-policy.d.ts +89 -0
  115. package/script/commands/iam/policies/create-policy.d.ts.map +1 -0
  116. package/script/commands/iam/policies/create-policy.js +73 -0
  117. package/script/commands/iam/policies/get-policy.d.ts +35 -0
  118. package/script/commands/iam/policies/get-policy.d.ts.map +1 -0
  119. package/script/commands/iam/policies/get-policy.js +41 -0
  120. package/script/commands/iam/policies/id/archive-policy.d.ts +45 -0
  121. package/script/commands/iam/policies/id/archive-policy.d.ts.map +1 -0
  122. package/script/commands/iam/policies/id/archive-policy.js +46 -0
  123. package/script/commands/iam/policies/id/get-policy.d.ts +45 -0
  124. package/script/commands/iam/policies/id/get-policy.d.ts.map +1 -0
  125. package/script/commands/iam/policies/id/get-policy.js +44 -0
  126. package/script/commands/iam/policies/id/update-policy.d.ts +53 -0
  127. package/script/commands/iam/policies/id/update-policy.d.ts.map +1 -0
  128. package/script/commands/iam/policies/id/update-policy.js +50 -0
  129. package/script/commands/iam/policy-associations/get-key-policies.d.ts +35 -0
  130. package/script/commands/iam/policy-associations/get-key-policies.d.ts.map +1 -0
  131. package/script/commands/iam/policy-associations/get-key-policies.js +81 -0
  132. package/script/commands/iam/policy-associations/get-organization-policies.d.ts +35 -0
  133. package/script/commands/iam/policy-associations/get-organization-policies.d.ts.map +1 -0
  134. package/script/commands/iam/policy-associations/get-organization-policies.js +84 -0
  135. package/script/commands/iam/policy-associations/get-policy-associations.d.ts +83 -0
  136. package/script/commands/iam/policy-associations/get-policy-associations.d.ts.map +1 -0
  137. package/script/commands/iam/policy-associations/get-policy-associations.js +113 -0
  138. package/script/commands/iam/policy-associations/get-role-policies.d.ts +35 -0
  139. package/script/commands/iam/policy-associations/get-role-policies.d.ts.map +1 -0
  140. package/script/commands/iam/policy-associations/get-role-policies.js +69 -0
  141. package/script/commands/iam/policy-associations/get-user-policies.d.ts +37 -0
  142. package/script/commands/iam/policy-associations/get-user-policies.d.ts.map +1 -0
  143. package/script/commands/iam/policy-associations/get-user-policies.js +41 -0
  144. package/script/commands/iam/policy-associations/link-key-policy.d.ts +53 -0
  145. package/script/commands/iam/policy-associations/link-key-policy.d.ts.map +1 -0
  146. package/script/commands/iam/policy-associations/link-key-policy.js +56 -0
  147. package/script/commands/iam/policy-associations/link-role-policy.d.ts +53 -0
  148. package/script/commands/iam/policy-associations/link-role-policy.d.ts.map +1 -0
  149. package/script/commands/iam/policy-associations/link-role-policy.js +56 -0
  150. package/script/commands/iam/policy-associations/link-user-policy.d.ts +53 -0
  151. package/script/commands/iam/policy-associations/link-user-policy.d.ts.map +1 -0
  152. package/script/commands/iam/policy-associations/link-user-policy.js +56 -0
  153. package/script/commands/iam/policy-associations/unlink-key-policy.d.ts +41 -0
  154. package/script/commands/iam/policy-associations/unlink-key-policy.d.ts.map +1 -0
  155. package/script/commands/iam/policy-associations/unlink-key-policy.js +48 -0
  156. package/script/commands/iam/policy-associations/unlink-role-policy.d.ts +41 -0
  157. package/script/commands/iam/policy-associations/unlink-role-policy.d.ts.map +1 -0
  158. package/script/commands/iam/policy-associations/unlink-role-policy.js +48 -0
  159. package/script/commands/iam/policy-associations/unlink-user-policy.d.ts +41 -0
  160. package/script/commands/iam/policy-associations/unlink-user-policy.d.ts.map +1 -0
  161. package/script/commands/iam/policy-associations/unlink-user-policy.js +48 -0
  162. package/script/commands/iam/role-associations/get-key-roles.d.ts +35 -0
  163. package/script/commands/iam/role-associations/get-key-roles.d.ts.map +1 -0
  164. package/script/commands/iam/role-associations/get-key-roles.js +41 -0
  165. package/script/commands/iam/role-associations/get-organization-roles.d.ts +35 -0
  166. package/script/commands/iam/role-associations/get-organization-roles.d.ts.map +1 -0
  167. package/script/commands/iam/role-associations/get-organization-roles.js +58 -0
  168. package/script/commands/iam/role-associations/get-role-associations.d.ts +70 -0
  169. package/script/commands/iam/role-associations/get-role-associations.d.ts.map +1 -0
  170. package/script/commands/iam/role-associations/get-role-associations.js +63 -0
  171. package/script/commands/iam/role-associations/get-user-roles.d.ts +37 -0
  172. package/script/commands/iam/role-associations/get-user-roles.d.ts.map +1 -0
  173. package/script/commands/iam/role-associations/get-user-roles.js +46 -0
  174. package/script/commands/iam/role-associations/link-key-role.d.ts +53 -0
  175. package/script/commands/iam/role-associations/link-key-role.d.ts.map +1 -0
  176. package/script/commands/iam/role-associations/link-key-role.js +56 -0
  177. package/script/commands/iam/role-associations/link-user-role.d.ts +53 -0
  178. package/script/commands/iam/role-associations/link-user-role.d.ts.map +1 -0
  179. package/script/commands/iam/role-associations/link-user-role.js +56 -0
  180. package/script/commands/iam/role-associations/unlink-key-role.d.ts +41 -0
  181. package/script/commands/iam/role-associations/unlink-key-role.d.ts.map +1 -0
  182. package/script/commands/iam/role-associations/unlink-key-role.js +48 -0
  183. package/script/commands/iam/role-associations/unlink-user-role.d.ts +41 -0
  184. package/script/commands/iam/role-associations/unlink-user-role.d.ts.map +1 -0
  185. package/script/commands/iam/role-associations/unlink-user-role.js +48 -0
  186. package/script/commands/iam/roles/create-role.d.ts +60 -0
  187. package/script/commands/iam/roles/create-role.d.ts.map +1 -0
  188. package/script/commands/iam/roles/create-role.js +60 -0
  189. package/script/commands/iam/roles/get-roles.d.ts +35 -0
  190. package/script/commands/iam/roles/get-roles.d.ts.map +1 -0
  191. package/script/commands/iam/roles/get-roles.js +41 -0
  192. package/script/commands/iam/roles/id/archive-role.d.ts +45 -0
  193. package/script/commands/iam/roles/id/archive-role.d.ts.map +1 -0
  194. package/script/commands/iam/roles/id/archive-role.js +46 -0
  195. package/script/commands/iam/roles/id/get-role.d.ts +35 -0
  196. package/script/commands/iam/roles/id/get-role.d.ts.map +1 -0
  197. package/script/commands/iam/roles/id/get-role.js +40 -0
  198. package/script/commands/iam/roles/id/update-role.d.ts +47 -0
  199. package/script/commands/iam/roles/id/update-role.d.ts.map +1 -0
  200. package/script/commands/iam/roles/id/update-role.js +51 -0
  201. package/script/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts +88 -0
  202. package/script/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts.map +1 -0
  203. package/script/commands/iam/tenant-iam-audit/get-audit-for-tenant.js +106 -0
  204. package/script/commands/iam/validate/validate-key.d.ts +43 -0
  205. package/script/commands/iam/validate/validate-key.d.ts.map +1 -0
  206. package/script/commands/iam/validate/validate-key.js +47 -0
  207. package/script/commands/iam/validate/validate-user.d.ts +77 -0
  208. package/script/commands/iam/validate/validate-user.d.ts.map +1 -0
  209. package/script/commands/iam/validate/validate-user.js +62 -0
  210. package/script/commands/index.d.ts +33 -0
  211. package/script/commands/index.d.ts.map +1 -1
  212. package/script/commands/index.js +34 -0
@@ -0,0 +1,45 @@
1
+ import { Command } from "../../../../common/command.js";
2
+ import { type Static, type TObject, type TString } from "@sinclair/typebox";
3
+ /**
4
+ * The input for the role archive command
5
+ */
6
+ export interface RoleArchiveInput {
7
+ /** The role id */
8
+ roleId: string;
9
+ }
10
+ /**
11
+ * The schema for the archive role response
12
+ */
13
+ export declare const ArchiveRoleResponseSchema: TObject<{
14
+ message: TString;
15
+ }>;
16
+ /**
17
+ * The archive role response type
18
+ */
19
+ export type ArchiveRoleResponse = Static<typeof ArchiveRoleResponseSchema>;
20
+ /**
21
+ * Archive a role by ID
22
+ */
23
+ export declare class RoleArchiveCommand extends Command<RoleArchiveInput, ArchiveRoleResponse> {
24
+ /**
25
+ * Whether the command should retry on failure
26
+ */
27
+ protected retryOnFailure: boolean;
28
+ /**
29
+ * Get the method
30
+ */
31
+ protected getMethod(): string;
32
+ /**
33
+ * Get the base url
34
+ */
35
+ protected getBaseUrl(): string;
36
+ /**
37
+ * Get the path
38
+ */
39
+ protected getPath(): string;
40
+ /**
41
+ * Parse the response
42
+ */
43
+ protected parseResponse(rawResponse: unknown): ArchiveRoleResponse;
44
+ }
45
+ //# sourceMappingURL=archive-role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"archive-role.d.ts","sourceRoot":"","sources":["../../../../../src/commands/iam/roles/id/archive-role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAA;AAEvD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEjF;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAAC;IAC9C,OAAO,EAAE,OAAO,CAAA;CACjB,CAEC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE1E;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAC7C,gBAAgB,EAChB,mBAAmB,CACpB;IACC;;OAEG;IACH,UAAmB,cAAc,UAAQ;IAEzC;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,mBAAmB;CAG5E"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RoleArchiveCommand = exports.ArchiveRoleResponseSchema = void 0;
4
+ const command_js_1 = require("../../../../common/command.js");
5
+ const parse_response_helper_js_1 = require("../../../../utils/parse-response-helper.js");
6
+ const typebox_1 = require("@sinclair/typebox");
7
+ /**
8
+ * The schema for the archive role response
9
+ */
10
+ exports.ArchiveRoleResponseSchema = typebox_1.Type.Object({
11
+ message: typebox_1.Type.String(),
12
+ });
13
+ /**
14
+ * Archive a role by ID
15
+ */
16
+ class RoleArchiveCommand extends command_js_1.Command {
17
+ /**
18
+ * Whether the command should retry on failure
19
+ */
20
+ retryOnFailure = false;
21
+ /**
22
+ * Get the method
23
+ */
24
+ getMethod() {
25
+ return "DELETE";
26
+ }
27
+ /**
28
+ * Get the base url
29
+ */
30
+ getBaseUrl() {
31
+ return "https://iam.api.flowcore.io";
32
+ }
33
+ /**
34
+ * Get the path
35
+ */
36
+ getPath() {
37
+ return `/api/v1/roles/${this.input.roleId}`;
38
+ }
39
+ /**
40
+ * Parse the response
41
+ */
42
+ parseResponse(rawResponse) {
43
+ return (0, parse_response_helper_js_1.parseResponseHelper)(exports.ArchiveRoleResponseSchema, rawResponse);
44
+ }
45
+ }
46
+ exports.RoleArchiveCommand = RoleArchiveCommand;
@@ -0,0 +1,35 @@
1
+ import { Command } from "../../../../common/command.js";
2
+ import { type Role } from "../create-role.js";
3
+ /**
4
+ * The input for the role get command
5
+ */
6
+ export interface RoleGetInput {
7
+ /** The role id */
8
+ roleId: string;
9
+ }
10
+ /**
11
+ * Get a role by ID
12
+ */
13
+ export declare class RoleGetCommand extends Command<RoleGetInput, Role> {
14
+ /**
15
+ * Whether the command should retry on failure
16
+ */
17
+ protected retryOnFailure: boolean;
18
+ /**
19
+ * Get the method
20
+ */
21
+ protected getMethod(): string;
22
+ /**
23
+ * Get the base url
24
+ */
25
+ protected getBaseUrl(): string;
26
+ /**
27
+ * Get the path
28
+ */
29
+ protected getPath(): string;
30
+ /**
31
+ * Parse the response
32
+ */
33
+ protected parseResponse(rawResponse: unknown): Role;
34
+ }
35
+ //# sourceMappingURL=get-role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-role.d.ts","sourceRoot":"","sources":["../../../../../src/commands/iam/roles/id/get-role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAA;AAEvD,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,mBAAmB,CAAA;AAEzD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC;IAC7D;;OAEG;IACH,UAAmB,cAAc,UAAO;IAExC;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI;CAG7D"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RoleGetCommand = void 0;
4
+ const command_js_1 = require("../../../../common/command.js");
5
+ const parse_response_helper_js_1 = require("../../../../utils/parse-response-helper.js");
6
+ const create_role_js_1 = require("../create-role.js");
7
+ /**
8
+ * Get a role by ID
9
+ */
10
+ class RoleGetCommand extends command_js_1.Command {
11
+ /**
12
+ * Whether the command should retry on failure
13
+ */
14
+ retryOnFailure = true;
15
+ /**
16
+ * Get the method
17
+ */
18
+ getMethod() {
19
+ return "GET";
20
+ }
21
+ /**
22
+ * Get the base url
23
+ */
24
+ getBaseUrl() {
25
+ return "https://iam.api.flowcore.io";
26
+ }
27
+ /**
28
+ * Get the path
29
+ */
30
+ getPath() {
31
+ return `/api/v1/roles/${this.input.roleId}`;
32
+ }
33
+ /**
34
+ * Parse the response
35
+ */
36
+ parseResponse(rawResponse) {
37
+ return (0, parse_response_helper_js_1.parseResponseHelper)(create_role_js_1.RoleSchema, rawResponse);
38
+ }
39
+ }
40
+ exports.RoleGetCommand = RoleGetCommand;
@@ -0,0 +1,47 @@
1
+ import { Command } from "../../../../common/command.js";
2
+ import { type Role } from "../create-role.js";
3
+ /**
4
+ * The input for the role update command
5
+ */
6
+ export interface RoleUpdateInput {
7
+ /** The role id */
8
+ roleId: string;
9
+ /** The organization id */
10
+ organizationId: string;
11
+ /** The name of the role */
12
+ name: string;
13
+ /** The description of the role */
14
+ description?: string;
15
+ /** Whether the role is managed by Flowcore */
16
+ flowcoreManaged?: boolean;
17
+ }
18
+ /**
19
+ * Update a role by ID
20
+ */
21
+ export declare class RoleUpdateCommand extends Command<RoleUpdateInput, Role> {
22
+ /**
23
+ * Whether the command should retry on failure
24
+ */
25
+ protected retryOnFailure: boolean;
26
+ /**
27
+ * Get the method
28
+ */
29
+ protected getMethod(): string;
30
+ /**
31
+ * Get the base url
32
+ */
33
+ protected getBaseUrl(): string;
34
+ /**
35
+ * Get the path
36
+ */
37
+ protected getPath(): string;
38
+ /**
39
+ * Get the body
40
+ */
41
+ protected getBody(): Record<string, unknown>;
42
+ /**
43
+ * Parse the response
44
+ */
45
+ protected parseResponse(rawResponse: unknown): Role;
46
+ }
47
+ //# sourceMappingURL=update-role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-role.d.ts","sourceRoot":"","sources":["../../../../../src/commands/iam/roles/id/update-role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAA;AAEvD,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,mBAAmB,CAAA;AAEzD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,0BAA0B;IAC1B,cAAc,EAAE,MAAM,CAAA;IACtB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,OAAO,CAAC,eAAe,EAAE,IAAI,CAAC;IACnE;;OAEG;IACH,UAAmB,cAAc,UAAQ;IAEzC;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IASrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI;CAG7D"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RoleUpdateCommand = void 0;
4
+ const command_js_1 = require("../../../../common/command.js");
5
+ const parse_response_helper_js_1 = require("../../../../utils/parse-response-helper.js");
6
+ const create_role_js_1 = require("../create-role.js");
7
+ /**
8
+ * Update a role by ID
9
+ */
10
+ class RoleUpdateCommand extends command_js_1.Command {
11
+ /**
12
+ * Whether the command should retry on failure
13
+ */
14
+ retryOnFailure = false;
15
+ /**
16
+ * Get the method
17
+ */
18
+ getMethod() {
19
+ return "PATCH";
20
+ }
21
+ /**
22
+ * Get the base url
23
+ */
24
+ getBaseUrl() {
25
+ return "https://iam.api.flowcore.io";
26
+ }
27
+ /**
28
+ * Get the path
29
+ */
30
+ getPath() {
31
+ return `/api/v1/roles/${this.input.roleId}`;
32
+ }
33
+ /**
34
+ * Get the body
35
+ */
36
+ getBody() {
37
+ const { roleId, ...rest } = this.input;
38
+ return {
39
+ id: roleId,
40
+ ...rest,
41
+ flowcoreManaged: rest.flowcoreManaged ?? false,
42
+ };
43
+ }
44
+ /**
45
+ * Parse the response
46
+ */
47
+ parseResponse(rawResponse) {
48
+ return (0, parse_response_helper_js_1.parseResponseHelper)(create_role_js_1.RoleSchema, rawResponse);
49
+ }
50
+ }
51
+ exports.RoleUpdateCommand = RoleUpdateCommand;
@@ -0,0 +1,88 @@
1
+ import { Command } from "../../../common/command.js";
2
+ import { type Static, type TArray, type TNull, type TNumber, type TObject, type TProperties, type TString, type TUnion } from "@sinclair/typebox";
3
+ /**
4
+ * Audit log entry type
5
+ */
6
+ export declare const AuditLogEntrySchema: TObject<{
7
+ id: TString;
8
+ event: TString;
9
+ resourceName: TString;
10
+ performedBy: TUnion<[TString, TObject<TProperties>, TNull]>;
11
+ timestamp: TString;
12
+ status: TString;
13
+ }>;
14
+ /**
15
+ * Pagination information
16
+ */
17
+ export declare const PaginationSchema: TObject<{
18
+ page: TNumber;
19
+ pageSize: TNumber;
20
+ totalItems: TNumber;
21
+ totalPages: TNumber;
22
+ }>;
23
+ /**
24
+ * Audit log response schema
25
+ */
26
+ export declare const AuditLogResponseSchema: TObject<{
27
+ logs: TArray<typeof AuditLogEntrySchema>;
28
+ pagination: typeof PaginationSchema;
29
+ }>;
30
+ /**
31
+ * Audit log entry type
32
+ */
33
+ export type AuditLogEntry = Static<typeof AuditLogEntrySchema>;
34
+ /**
35
+ * Pagination information
36
+ */
37
+ export type Pagination = Static<typeof PaginationSchema>;
38
+ /**
39
+ * Audit log response type
40
+ */
41
+ export type AuditLogResponse = Static<typeof AuditLogResponseSchema>;
42
+ /**
43
+ * The input for the tenant audit logs command
44
+ */
45
+ export interface TenantAuditLogsInput {
46
+ /** The tenant id */
47
+ tenantId: string;
48
+ /** Page number (1-based) */
49
+ page?: number;
50
+ /** Page size */
51
+ pageSize?: number;
52
+ /** Filter by resource type */
53
+ resourceType?: string;
54
+ /** Filter by user who performed the action */
55
+ performedBy?: string;
56
+ /** Filter by status (success or failure) */
57
+ status?: "success" | "failure";
58
+ /** Filter by start date */
59
+ startDate?: string;
60
+ /** Filter by end date */
61
+ endDate?: string;
62
+ }
63
+ /**
64
+ * Fetch audit logs for a tenant
65
+ */
66
+ export declare class TenantAuditLogsCommand extends Command<TenantAuditLogsInput, AuditLogResponse> {
67
+ /**
68
+ * Whether the command should retry on failure
69
+ */
70
+ protected retryOnFailure: boolean;
71
+ /**
72
+ * Get the method
73
+ */
74
+ protected getMethod(): string;
75
+ /**
76
+ * Get the base url
77
+ */
78
+ protected getBaseUrl(): string;
79
+ /**
80
+ * Get the path
81
+ */
82
+ protected getPath(): string;
83
+ /**
84
+ * Parse the response
85
+ */
86
+ protected parseResponse(rawResponse: unknown): AuditLogResponse;
87
+ }
88
+ //# sourceMappingURL=get-audit-for-tenant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-audit-for-tenant.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/tenant-iam-audit/get-audit-for-tenant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EACL,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,mBAAmB,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC;IACxC,EAAE,EAAE,OAAO,CAAA;IACX,KAAK,EAAE,OAAO,CAAA;IACd,YAAY,EAAE,OAAO,CAAA;IACrB,WAAW,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,CAAC,CAAA;IAC3D,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;CAChB,CAWC,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC;IACrC,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;CACpB,CAKC,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAAO,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;IACxC,UAAU,EAAE,OAAO,gBAAgB,CAAA;CACpC,CAGC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEpE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gBAAgB;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8BAA8B;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IAC9B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,OAAO,CACjD,oBAAoB,EACpB,gBAAgB,CACjB;IACC;;OAEG;IACH,UAAmB,cAAc,UAAO;IAExC;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAmDpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,gBAAgB;CAUzE"}
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TenantAuditLogsCommand = exports.AuditLogResponseSchema = exports.PaginationSchema = exports.AuditLogEntrySchema = void 0;
4
+ const command_js_1 = require("../../../common/command.js");
5
+ const parse_response_helper_js_1 = require("../../../utils/parse-response-helper.js");
6
+ const typebox_1 = require("@sinclair/typebox");
7
+ /**
8
+ * Audit log entry type
9
+ */
10
+ exports.AuditLogEntrySchema = typebox_1.Type.Object({
11
+ id: typebox_1.Type.String(),
12
+ event: typebox_1.Type.String(),
13
+ resourceName: typebox_1.Type.String(),
14
+ performedBy: typebox_1.Type.Union([
15
+ typebox_1.Type.String(),
16
+ typebox_1.Type.Object({}), // Allow performedBy to be any object
17
+ typebox_1.Type.Null(), // Or null
18
+ ]),
19
+ timestamp: typebox_1.Type.String(),
20
+ status: typebox_1.Type.String(),
21
+ });
22
+ /**
23
+ * Pagination information
24
+ */
25
+ exports.PaginationSchema = typebox_1.Type.Object({
26
+ page: typebox_1.Type.Number(),
27
+ pageSize: typebox_1.Type.Number(),
28
+ totalItems: typebox_1.Type.Number(),
29
+ totalPages: typebox_1.Type.Number(),
30
+ });
31
+ /**
32
+ * Audit log response schema
33
+ */
34
+ exports.AuditLogResponseSchema = typebox_1.Type.Object({
35
+ logs: typebox_1.Type.Array(exports.AuditLogEntrySchema),
36
+ pagination: exports.PaginationSchema,
37
+ });
38
+ /**
39
+ * Fetch audit logs for a tenant
40
+ */
41
+ class TenantAuditLogsCommand extends command_js_1.Command {
42
+ /**
43
+ * Whether the command should retry on failure
44
+ */
45
+ retryOnFailure = true;
46
+ /**
47
+ * Get the method
48
+ */
49
+ getMethod() {
50
+ return "GET";
51
+ }
52
+ /**
53
+ * Get the base url
54
+ */
55
+ getBaseUrl() {
56
+ return "https://iam.api.flowcore.io";
57
+ }
58
+ /**
59
+ * Get the path
60
+ */
61
+ getPath() {
62
+ // Build base path
63
+ let path = `/api/v1/tenant-iam-audit/${this.input.tenantId}`;
64
+ // Add query parameters directly to the path
65
+ const queryParams = [];
66
+ if (this.input.page !== undefined) {
67
+ queryParams.push(`page=${encodeURIComponent(this.input.page.toString())}`);
68
+ }
69
+ if (this.input.pageSize !== undefined) {
70
+ queryParams.push(`pageSize=${encodeURIComponent(this.input.pageSize.toString())}`);
71
+ }
72
+ if (this.input.resourceType) {
73
+ queryParams.push(`resourceType=${encodeURIComponent(this.input.resourceType)}`);
74
+ }
75
+ if (this.input.performedBy) {
76
+ queryParams.push(`performedBy=${encodeURIComponent(this.input.performedBy)}`);
77
+ }
78
+ if (this.input.status) {
79
+ queryParams.push(`status=${encodeURIComponent(this.input.status)}`);
80
+ }
81
+ if (this.input.startDate) {
82
+ queryParams.push(`startDate=${encodeURIComponent(this.input.startDate)}`);
83
+ }
84
+ if (this.input.endDate) {
85
+ queryParams.push(`endDate=${encodeURIComponent(this.input.endDate)}`);
86
+ }
87
+ // Add query parameters to path if there are any
88
+ if (queryParams.length > 0) {
89
+ path += `?${queryParams.join("&")}`;
90
+ }
91
+ return path;
92
+ }
93
+ /**
94
+ * Parse the response
95
+ */
96
+ parseResponse(rawResponse) {
97
+ if (!rawResponse) {
98
+ return {
99
+ logs: [],
100
+ pagination: { page: 1, pageSize: 20, totalItems: 0, totalPages: 0 },
101
+ };
102
+ }
103
+ return (0, parse_response_helper_js_1.parseResponseHelper)(exports.AuditLogResponseSchema, rawResponse);
104
+ }
105
+ }
106
+ exports.TenantAuditLogsCommand = TenantAuditLogsCommand;
@@ -0,0 +1,43 @@
1
+ import { Command } from "../../../common/command.js";
2
+ import { type ValidationMode, type ValidationRequestAccessItem, type ValidationResponse } from "./validate-user.js";
3
+ /**
4
+ * The input for the key validation command
5
+ */
6
+ export interface ValidateKeyInput {
7
+ /** The key id */
8
+ keyId: string;
9
+ /** The mode of validation */
10
+ mode: ValidationMode;
11
+ /** The requested access */
12
+ requestedAccess: ValidationRequestAccessItem[];
13
+ }
14
+ /**
15
+ * Validate if a key can perform actions
16
+ */
17
+ export declare class ValidateKeyCommand extends Command<ValidateKeyInput, ValidationResponse> {
18
+ /**
19
+ * Whether the command should retry on failure
20
+ */
21
+ protected retryOnFailure: boolean;
22
+ /**
23
+ * Get the method
24
+ */
25
+ protected getMethod(): string;
26
+ /**
27
+ * Get the base url
28
+ */
29
+ protected getBaseUrl(): string;
30
+ /**
31
+ * Get the path
32
+ */
33
+ protected getPath(): string;
34
+ /**
35
+ * Get the body
36
+ */
37
+ protected getBody(): Record<string, unknown>;
38
+ /**
39
+ * Parse the response
40
+ */
41
+ protected parseResponse(rawResponse: unknown): ValidationResponse;
42
+ }
43
+ //# sourceMappingURL=validate-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-key.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/validate/validate-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EAExB,MAAM,oBAAoB,CAAA;AAE3B;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,6BAA6B;IAC7B,IAAI,EAAE,cAAc,CAAA;IACpB,2BAA2B;IAC3B,eAAe,EAAE,2BAA2B,EAAE,CAAA;CAC/C;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAC7C,gBAAgB,EAChB,kBAAkB,CACnB;IACC;;OAEG;IACH,UAAmB,cAAc,UAAO;IAExC;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAKrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,kBAAkB;CAG3E"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidateKeyCommand = void 0;
4
+ const command_js_1 = require("../../../common/command.js");
5
+ const parse_response_helper_js_1 = require("../../../utils/parse-response-helper.js");
6
+ const validate_user_js_1 = require("./validate-user.js");
7
+ /**
8
+ * Validate if a key can perform actions
9
+ */
10
+ class ValidateKeyCommand extends command_js_1.Command {
11
+ /**
12
+ * Whether the command should retry on failure
13
+ */
14
+ retryOnFailure = true;
15
+ /**
16
+ * Get the method
17
+ */
18
+ getMethod() {
19
+ return "POST";
20
+ }
21
+ /**
22
+ * Get the base url
23
+ */
24
+ getBaseUrl() {
25
+ return "https://iam.api.flowcore.io";
26
+ }
27
+ /**
28
+ * Get the path
29
+ */
30
+ getPath() {
31
+ return `/api/v1/validate/keys/${this.input.keyId}`;
32
+ }
33
+ /**
34
+ * Get the body
35
+ */
36
+ getBody() {
37
+ const { ...rest } = this.input;
38
+ return rest;
39
+ }
40
+ /**
41
+ * Parse the response
42
+ */
43
+ parseResponse(rawResponse) {
44
+ return (0, parse_response_helper_js_1.parseResponseHelper)(validate_user_js_1.ValidationResponseSchema, rawResponse);
45
+ }
46
+ }
47
+ exports.ValidateKeyCommand = ValidateKeyCommand;
@@ -0,0 +1,77 @@
1
+ import { Command } from "../../../common/command.js";
2
+ import { type Static, type TArray, type TBoolean, type TObject, type TString } from "@sinclair/typebox";
3
+ /**
4
+ * The mode of validation
5
+ */
6
+ export type ValidationMode = "tenant" | "organization";
7
+ /**
8
+ * The validation request access item
9
+ */
10
+ export interface ValidationRequestAccessItem {
11
+ action: string;
12
+ resource: string[];
13
+ }
14
+ /**
15
+ * The schema for a valid policy
16
+ */
17
+ export declare const ValidPolicySchema: TObject<{
18
+ policyFrn: TString;
19
+ statementId: TString;
20
+ }>;
21
+ /**
22
+ * The schema for a validation response
23
+ */
24
+ export declare const ValidationResponseSchema: TObject<{
25
+ valid: TBoolean;
26
+ checksum: TString;
27
+ validPolicies: TArray<typeof ValidPolicySchema>;
28
+ }>;
29
+ /**
30
+ * The valid policy type
31
+ */
32
+ export type ValidPolicy = Static<typeof ValidPolicySchema>;
33
+ /**
34
+ * The validation response type
35
+ */
36
+ export type ValidationResponse = Static<typeof ValidationResponseSchema>;
37
+ /**
38
+ * The input for the user validation command
39
+ */
40
+ export interface ValidateUserInput {
41
+ /** The user id */
42
+ userId: string;
43
+ /** The mode of validation */
44
+ mode: ValidationMode;
45
+ /** The requested access */
46
+ requestedAccess: ValidationRequestAccessItem[];
47
+ }
48
+ /**
49
+ * Validate if a user can perform actions
50
+ */
51
+ export declare class ValidateUserCommand extends Command<ValidateUserInput, ValidationResponse> {
52
+ /**
53
+ * Whether the command should retry on failure
54
+ */
55
+ protected retryOnFailure: boolean;
56
+ /**
57
+ * Get the method
58
+ */
59
+ protected getMethod(): string;
60
+ /**
61
+ * Get the base url
62
+ */
63
+ protected getBaseUrl(): string;
64
+ /**
65
+ * Get the path
66
+ */
67
+ protected getPath(): string;
68
+ /**
69
+ * Get the body
70
+ */
71
+ protected getBody(): Record<string, unknown>;
72
+ /**
73
+ * Parse the response
74
+ */
75
+ protected parseResponse(rawResponse: unknown): ValidationResponse;
76
+ }
77
+ //# sourceMappingURL=validate-user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-user.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/validate/validate-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAE7G;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,cAAc,CAAA;AAEtD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC;IACtC,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;CACrB,CAGC,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAAO,CAAC;IAC7C,KAAK,EAAE,QAAQ,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,aAAa,EAAE,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;CAChD,CAIC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE1D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAExE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,6BAA6B;IAC7B,IAAI,EAAE,cAAc,CAAA;IACpB,2BAA2B;IAC3B,eAAe,EAAE,2BAA2B,EAAE,CAAA;CAC/C;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,OAAO,CAC9C,iBAAiB,EACjB,kBAAkB,CACnB;IACC;;OAEG;IACH,UAAmB,cAAc,UAAO;IAExC;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAKrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,kBAAkB;CAG3E"}