@flowcore/sdk 1.50.0 → 1.51.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 (206) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/esm/commands/iam/permissions/get-user-permissions.d.ts +48 -0
  3. package/esm/commands/iam/permissions/get-user-permissions.d.ts.map +1 -0
  4. package/esm/commands/iam/permissions/get-user-permissions.js +44 -0
  5. package/esm/commands/iam/policies/create-policy.d.ts +89 -0
  6. package/esm/commands/iam/policies/create-policy.d.ts.map +1 -0
  7. package/esm/commands/iam/policies/create-policy.js +68 -0
  8. package/esm/commands/iam/policies/get-policy.d.ts +35 -0
  9. package/esm/commands/iam/policies/get-policy.d.ts.map +1 -0
  10. package/esm/commands/iam/policies/get-policy.js +36 -0
  11. package/esm/commands/iam/policies/id/archive-policy.d.ts +45 -0
  12. package/esm/commands/iam/policies/id/archive-policy.d.ts.map +1 -0
  13. package/esm/commands/iam/policies/id/archive-policy.js +41 -0
  14. package/esm/commands/iam/policies/id/get-policy.d.ts +45 -0
  15. package/esm/commands/iam/policies/id/get-policy.d.ts.map +1 -0
  16. package/esm/commands/iam/policies/id/get-policy.js +39 -0
  17. package/esm/commands/iam/policies/id/update-policy.d.ts +53 -0
  18. package/esm/commands/iam/policies/id/update-policy.d.ts.map +1 -0
  19. package/esm/commands/iam/policies/id/update-policy.js +45 -0
  20. package/esm/commands/iam/policy-associations/get-key-policies.d.ts +35 -0
  21. package/esm/commands/iam/policy-associations/get-key-policies.d.ts.map +1 -0
  22. package/esm/commands/iam/policy-associations/get-key-policies.js +76 -0
  23. package/esm/commands/iam/policy-associations/get-organization-policies.d.ts +35 -0
  24. package/esm/commands/iam/policy-associations/get-organization-policies.d.ts.map +1 -0
  25. package/esm/commands/iam/policy-associations/get-organization-policies.js +79 -0
  26. package/esm/commands/iam/policy-associations/get-policy-associations.d.ts +83 -0
  27. package/esm/commands/iam/policy-associations/get-policy-associations.d.ts.map +1 -0
  28. package/esm/commands/iam/policy-associations/get-policy-associations.js +108 -0
  29. package/esm/commands/iam/policy-associations/get-role-policies.d.ts +35 -0
  30. package/esm/commands/iam/policy-associations/get-role-policies.d.ts.map +1 -0
  31. package/esm/commands/iam/policy-associations/get-role-policies.js +64 -0
  32. package/esm/commands/iam/policy-associations/get-user-policies.d.ts +37 -0
  33. package/esm/commands/iam/policy-associations/get-user-policies.d.ts.map +1 -0
  34. package/esm/commands/iam/policy-associations/get-user-policies.js +36 -0
  35. package/esm/commands/iam/policy-associations/link-key-policy.d.ts +53 -0
  36. package/esm/commands/iam/policy-associations/link-key-policy.d.ts.map +1 -0
  37. package/esm/commands/iam/policy-associations/link-key-policy.js +51 -0
  38. package/esm/commands/iam/policy-associations/link-role-policy.d.ts +53 -0
  39. package/esm/commands/iam/policy-associations/link-role-policy.d.ts.map +1 -0
  40. package/esm/commands/iam/policy-associations/link-role-policy.js +51 -0
  41. package/esm/commands/iam/policy-associations/link-user-policy.d.ts +53 -0
  42. package/esm/commands/iam/policy-associations/link-user-policy.d.ts.map +1 -0
  43. package/esm/commands/iam/policy-associations/link-user-policy.js +51 -0
  44. package/esm/commands/iam/policy-associations/unlink-key-policy.d.ts +41 -0
  45. package/esm/commands/iam/policy-associations/unlink-key-policy.d.ts.map +1 -0
  46. package/esm/commands/iam/policy-associations/unlink-key-policy.js +43 -0
  47. package/esm/commands/iam/policy-associations/unlink-role-policy.d.ts +41 -0
  48. package/esm/commands/iam/policy-associations/unlink-role-policy.d.ts.map +1 -0
  49. package/esm/commands/iam/policy-associations/unlink-role-policy.js +43 -0
  50. package/esm/commands/iam/policy-associations/unlink-user-policy.d.ts +41 -0
  51. package/esm/commands/iam/policy-associations/unlink-user-policy.d.ts.map +1 -0
  52. package/esm/commands/iam/policy-associations/unlink-user-policy.js +43 -0
  53. package/esm/commands/iam/role-associations/get-key-roles.d.ts +35 -0
  54. package/esm/commands/iam/role-associations/get-key-roles.d.ts.map +1 -0
  55. package/esm/commands/iam/role-associations/get-key-roles.js +36 -0
  56. package/esm/commands/iam/role-associations/get-organization-roles.d.ts +35 -0
  57. package/esm/commands/iam/role-associations/get-organization-roles.d.ts.map +1 -0
  58. package/esm/commands/iam/role-associations/get-organization-roles.js +53 -0
  59. package/esm/commands/iam/role-associations/get-role-associations.d.ts +70 -0
  60. package/esm/commands/iam/role-associations/get-role-associations.d.ts.map +1 -0
  61. package/esm/commands/iam/role-associations/get-role-associations.js +58 -0
  62. package/esm/commands/iam/role-associations/get-user-roles.d.ts +37 -0
  63. package/esm/commands/iam/role-associations/get-user-roles.d.ts.map +1 -0
  64. package/esm/commands/iam/role-associations/get-user-roles.js +41 -0
  65. package/esm/commands/iam/role-associations/link-key-role.d.ts +53 -0
  66. package/esm/commands/iam/role-associations/link-key-role.d.ts.map +1 -0
  67. package/esm/commands/iam/role-associations/link-key-role.js +51 -0
  68. package/esm/commands/iam/role-associations/link-user-role.d.ts +53 -0
  69. package/esm/commands/iam/role-associations/link-user-role.d.ts.map +1 -0
  70. package/esm/commands/iam/role-associations/link-user-role.js +51 -0
  71. package/esm/commands/iam/role-associations/unlink-key-role.d.ts +41 -0
  72. package/esm/commands/iam/role-associations/unlink-key-role.d.ts.map +1 -0
  73. package/esm/commands/iam/role-associations/unlink-key-role.js +43 -0
  74. package/esm/commands/iam/role-associations/unlink-user-role.d.ts +41 -0
  75. package/esm/commands/iam/role-associations/unlink-user-role.d.ts.map +1 -0
  76. package/esm/commands/iam/role-associations/unlink-user-role.js +43 -0
  77. package/esm/commands/iam/roles/create-role.d.ts +60 -0
  78. package/esm/commands/iam/roles/create-role.d.ts.map +1 -0
  79. package/esm/commands/iam/roles/create-role.js +55 -0
  80. package/esm/commands/iam/roles/get-roles.d.ts +35 -0
  81. package/esm/commands/iam/roles/get-roles.d.ts.map +1 -0
  82. package/esm/commands/iam/roles/get-roles.js +36 -0
  83. package/esm/commands/iam/roles/id/archive-role.d.ts +45 -0
  84. package/esm/commands/iam/roles/id/archive-role.d.ts.map +1 -0
  85. package/esm/commands/iam/roles/id/archive-role.js +41 -0
  86. package/esm/commands/iam/roles/id/get-role.d.ts +35 -0
  87. package/esm/commands/iam/roles/id/get-role.d.ts.map +1 -0
  88. package/esm/commands/iam/roles/id/get-role.js +35 -0
  89. package/esm/commands/iam/roles/id/update-role.d.ts +47 -0
  90. package/esm/commands/iam/roles/id/update-role.d.ts.map +1 -0
  91. package/esm/commands/iam/roles/id/update-role.js +46 -0
  92. package/esm/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts +88 -0
  93. package/esm/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts.map +1 -0
  94. package/esm/commands/iam/tenant-iam-audit/get-audit-for-tenant.js +101 -0
  95. package/esm/commands/iam/validate/validate-key.d.ts +43 -0
  96. package/esm/commands/iam/validate/validate-key.d.ts.map +1 -0
  97. package/esm/commands/iam/validate/validate-key.js +42 -0
  98. package/esm/commands/iam/validate/validate-user.d.ts +77 -0
  99. package/esm/commands/iam/validate/validate-user.d.ts.map +1 -0
  100. package/esm/commands/iam/validate/validate-user.js +57 -0
  101. package/esm/commands/index.d.ts +33 -0
  102. package/esm/commands/index.d.ts.map +1 -1
  103. package/esm/commands/index.js +34 -0
  104. package/package.json +1 -1
  105. package/script/commands/iam/permissions/get-user-permissions.d.ts +48 -0
  106. package/script/commands/iam/permissions/get-user-permissions.d.ts.map +1 -0
  107. package/script/commands/iam/permissions/get-user-permissions.js +48 -0
  108. package/script/commands/iam/policies/create-policy.d.ts +89 -0
  109. package/script/commands/iam/policies/create-policy.d.ts.map +1 -0
  110. package/script/commands/iam/policies/create-policy.js +72 -0
  111. package/script/commands/iam/policies/get-policy.d.ts +35 -0
  112. package/script/commands/iam/policies/get-policy.d.ts.map +1 -0
  113. package/script/commands/iam/policies/get-policy.js +40 -0
  114. package/script/commands/iam/policies/id/archive-policy.d.ts +45 -0
  115. package/script/commands/iam/policies/id/archive-policy.d.ts.map +1 -0
  116. package/script/commands/iam/policies/id/archive-policy.js +45 -0
  117. package/script/commands/iam/policies/id/get-policy.d.ts +45 -0
  118. package/script/commands/iam/policies/id/get-policy.d.ts.map +1 -0
  119. package/script/commands/iam/policies/id/get-policy.js +43 -0
  120. package/script/commands/iam/policies/id/update-policy.d.ts +53 -0
  121. package/script/commands/iam/policies/id/update-policy.d.ts.map +1 -0
  122. package/script/commands/iam/policies/id/update-policy.js +49 -0
  123. package/script/commands/iam/policy-associations/get-key-policies.d.ts +35 -0
  124. package/script/commands/iam/policy-associations/get-key-policies.d.ts.map +1 -0
  125. package/script/commands/iam/policy-associations/get-key-policies.js +80 -0
  126. package/script/commands/iam/policy-associations/get-organization-policies.d.ts +35 -0
  127. package/script/commands/iam/policy-associations/get-organization-policies.d.ts.map +1 -0
  128. package/script/commands/iam/policy-associations/get-organization-policies.js +83 -0
  129. package/script/commands/iam/policy-associations/get-policy-associations.d.ts +83 -0
  130. package/script/commands/iam/policy-associations/get-policy-associations.d.ts.map +1 -0
  131. package/script/commands/iam/policy-associations/get-policy-associations.js +112 -0
  132. package/script/commands/iam/policy-associations/get-role-policies.d.ts +35 -0
  133. package/script/commands/iam/policy-associations/get-role-policies.d.ts.map +1 -0
  134. package/script/commands/iam/policy-associations/get-role-policies.js +68 -0
  135. package/script/commands/iam/policy-associations/get-user-policies.d.ts +37 -0
  136. package/script/commands/iam/policy-associations/get-user-policies.d.ts.map +1 -0
  137. package/script/commands/iam/policy-associations/get-user-policies.js +40 -0
  138. package/script/commands/iam/policy-associations/link-key-policy.d.ts +53 -0
  139. package/script/commands/iam/policy-associations/link-key-policy.d.ts.map +1 -0
  140. package/script/commands/iam/policy-associations/link-key-policy.js +55 -0
  141. package/script/commands/iam/policy-associations/link-role-policy.d.ts +53 -0
  142. package/script/commands/iam/policy-associations/link-role-policy.d.ts.map +1 -0
  143. package/script/commands/iam/policy-associations/link-role-policy.js +55 -0
  144. package/script/commands/iam/policy-associations/link-user-policy.d.ts +53 -0
  145. package/script/commands/iam/policy-associations/link-user-policy.d.ts.map +1 -0
  146. package/script/commands/iam/policy-associations/link-user-policy.js +55 -0
  147. package/script/commands/iam/policy-associations/unlink-key-policy.d.ts +41 -0
  148. package/script/commands/iam/policy-associations/unlink-key-policy.d.ts.map +1 -0
  149. package/script/commands/iam/policy-associations/unlink-key-policy.js +47 -0
  150. package/script/commands/iam/policy-associations/unlink-role-policy.d.ts +41 -0
  151. package/script/commands/iam/policy-associations/unlink-role-policy.d.ts.map +1 -0
  152. package/script/commands/iam/policy-associations/unlink-role-policy.js +47 -0
  153. package/script/commands/iam/policy-associations/unlink-user-policy.d.ts +41 -0
  154. package/script/commands/iam/policy-associations/unlink-user-policy.d.ts.map +1 -0
  155. package/script/commands/iam/policy-associations/unlink-user-policy.js +47 -0
  156. package/script/commands/iam/role-associations/get-key-roles.d.ts +35 -0
  157. package/script/commands/iam/role-associations/get-key-roles.d.ts.map +1 -0
  158. package/script/commands/iam/role-associations/get-key-roles.js +40 -0
  159. package/script/commands/iam/role-associations/get-organization-roles.d.ts +35 -0
  160. package/script/commands/iam/role-associations/get-organization-roles.d.ts.map +1 -0
  161. package/script/commands/iam/role-associations/get-organization-roles.js +57 -0
  162. package/script/commands/iam/role-associations/get-role-associations.d.ts +70 -0
  163. package/script/commands/iam/role-associations/get-role-associations.d.ts.map +1 -0
  164. package/script/commands/iam/role-associations/get-role-associations.js +62 -0
  165. package/script/commands/iam/role-associations/get-user-roles.d.ts +37 -0
  166. package/script/commands/iam/role-associations/get-user-roles.d.ts.map +1 -0
  167. package/script/commands/iam/role-associations/get-user-roles.js +45 -0
  168. package/script/commands/iam/role-associations/link-key-role.d.ts +53 -0
  169. package/script/commands/iam/role-associations/link-key-role.d.ts.map +1 -0
  170. package/script/commands/iam/role-associations/link-key-role.js +55 -0
  171. package/script/commands/iam/role-associations/link-user-role.d.ts +53 -0
  172. package/script/commands/iam/role-associations/link-user-role.d.ts.map +1 -0
  173. package/script/commands/iam/role-associations/link-user-role.js +55 -0
  174. package/script/commands/iam/role-associations/unlink-key-role.d.ts +41 -0
  175. package/script/commands/iam/role-associations/unlink-key-role.d.ts.map +1 -0
  176. package/script/commands/iam/role-associations/unlink-key-role.js +47 -0
  177. package/script/commands/iam/role-associations/unlink-user-role.d.ts +41 -0
  178. package/script/commands/iam/role-associations/unlink-user-role.d.ts.map +1 -0
  179. package/script/commands/iam/role-associations/unlink-user-role.js +47 -0
  180. package/script/commands/iam/roles/create-role.d.ts +60 -0
  181. package/script/commands/iam/roles/create-role.d.ts.map +1 -0
  182. package/script/commands/iam/roles/create-role.js +59 -0
  183. package/script/commands/iam/roles/get-roles.d.ts +35 -0
  184. package/script/commands/iam/roles/get-roles.d.ts.map +1 -0
  185. package/script/commands/iam/roles/get-roles.js +40 -0
  186. package/script/commands/iam/roles/id/archive-role.d.ts +45 -0
  187. package/script/commands/iam/roles/id/archive-role.d.ts.map +1 -0
  188. package/script/commands/iam/roles/id/archive-role.js +45 -0
  189. package/script/commands/iam/roles/id/get-role.d.ts +35 -0
  190. package/script/commands/iam/roles/id/get-role.d.ts.map +1 -0
  191. package/script/commands/iam/roles/id/get-role.js +39 -0
  192. package/script/commands/iam/roles/id/update-role.d.ts +47 -0
  193. package/script/commands/iam/roles/id/update-role.d.ts.map +1 -0
  194. package/script/commands/iam/roles/id/update-role.js +50 -0
  195. package/script/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts +88 -0
  196. package/script/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts.map +1 -0
  197. package/script/commands/iam/tenant-iam-audit/get-audit-for-tenant.js +105 -0
  198. package/script/commands/iam/validate/validate-key.d.ts +43 -0
  199. package/script/commands/iam/validate/validate-key.d.ts.map +1 -0
  200. package/script/commands/iam/validate/validate-key.js +46 -0
  201. package/script/commands/iam/validate/validate-user.d.ts +77 -0
  202. package/script/commands/iam/validate/validate-user.d.ts.map +1 -0
  203. package/script/commands/iam/validate/validate-user.js +61 -0
  204. package/script/commands/index.d.ts +33 -0
  205. package/script/commands/index.d.ts.map +1 -1
  206. package/script/commands/index.js +34 -0
@@ -0,0 +1,70 @@
1
+ import { Command } from "@flowcore/sdk";
2
+ import { type Static, type TArray, type TObject, type TString } from "@sinclair/typebox";
3
+ /**
4
+ * The schema for a role-key association
5
+ */
6
+ export declare const RoleKeyAssociationSchema: TObject<{
7
+ roleId: TString;
8
+ organizationId: TString;
9
+ keyId: TString;
10
+ }>;
11
+ /**
12
+ * The schema for a role-user association
13
+ */
14
+ export declare const RoleUserAssociationSchema: TObject<{
15
+ roleId: TString;
16
+ organizationId: TString;
17
+ userId: TString;
18
+ }>;
19
+ /**
20
+ * The schema for role associations
21
+ */
22
+ export declare const RoleAssociationsSchema: TObject<{
23
+ keys: TArray<typeof RoleKeyAssociationSchema>;
24
+ users: TArray<typeof RoleUserAssociationSchema>;
25
+ }>;
26
+ /**
27
+ * The role-key association type
28
+ */
29
+ export type RoleKeyAssociation = Static<typeof RoleKeyAssociationSchema>;
30
+ /**
31
+ * The role-user association type
32
+ */
33
+ export type RoleUserAssociation = Static<typeof RoleUserAssociationSchema>;
34
+ /**
35
+ * The role associations type
36
+ */
37
+ export type RoleAssociations = Static<typeof RoleAssociationsSchema>;
38
+ /**
39
+ * The input for the role associations command
40
+ */
41
+ export interface RoleAssociationsInput {
42
+ /** The role id */
43
+ roleId: string;
44
+ }
45
+ /**
46
+ * Fetch associations for a role
47
+ */
48
+ export declare class RoleAssociationsCommand extends Command<RoleAssociationsInput, RoleAssociations> {
49
+ /**
50
+ * Whether the command should retry on failure
51
+ */
52
+ protected retryOnFailure: boolean;
53
+ /**
54
+ * Get the method
55
+ */
56
+ protected getMethod(): string;
57
+ /**
58
+ * Get the base url
59
+ */
60
+ protected getBaseUrl(): string;
61
+ /**
62
+ * Get the path
63
+ */
64
+ protected getPath(): string;
65
+ /**
66
+ * Parse the response
67
+ */
68
+ protected parseResponse(rawResponse: unknown): RoleAssociations;
69
+ }
70
+ //# sourceMappingURL=get-role-associations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-role-associations.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/role-associations/get-role-associations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAuB,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAE9F;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAAO,CAAC;IAC7C,MAAM,EAAE,OAAO,CAAA;IACf,cAAc,EAAE,OAAO,CAAA;IACvB,KAAK,EAAE,OAAO,CAAA;CACf,CAIC,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAAC;IAC9C,MAAM,EAAE,OAAO,CAAA;IACf,cAAc,EAAE,OAAO,CAAA;IACvB,MAAM,EAAE,OAAO,CAAA;CAChB,CAIC,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAAO,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAA;IAC7C,KAAK,EAAE,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;CAChD,CAGC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAExE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE1E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEpE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,OAAO,CAClD,qBAAqB,EACrB,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;IAIpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,gBAAgB;CAGzE"}
@@ -0,0 +1,58 @@
1
+ import { Command, parseResponseHelper } from "@flowcore/sdk";
2
+ import { Type } from "@sinclair/typebox";
3
+ /**
4
+ * The schema for a role-key association
5
+ */
6
+ export const RoleKeyAssociationSchema = Type.Object({
7
+ roleId: Type.String(),
8
+ organizationId: Type.String(),
9
+ keyId: Type.String(),
10
+ });
11
+ /**
12
+ * The schema for a role-user association
13
+ */
14
+ export const RoleUserAssociationSchema = Type.Object({
15
+ roleId: Type.String(),
16
+ organizationId: Type.String(),
17
+ userId: Type.String(),
18
+ });
19
+ /**
20
+ * The schema for role associations
21
+ */
22
+ export const RoleAssociationsSchema = Type.Object({
23
+ keys: Type.Array(RoleKeyAssociationSchema),
24
+ users: Type.Array(RoleUserAssociationSchema),
25
+ });
26
+ /**
27
+ * Fetch associations for a role
28
+ */
29
+ export class RoleAssociationsCommand extends Command {
30
+ /**
31
+ * Whether the command should retry on failure
32
+ */
33
+ retryOnFailure = true;
34
+ /**
35
+ * Get the method
36
+ */
37
+ getMethod() {
38
+ return "GET";
39
+ }
40
+ /**
41
+ * Get the base url
42
+ */
43
+ getBaseUrl() {
44
+ return "https://iam.api.flowcore.io";
45
+ }
46
+ /**
47
+ * Get the path
48
+ */
49
+ getPath() {
50
+ return `/api/v1/role-associations/${this.input.roleId}`;
51
+ }
52
+ /**
53
+ * Parse the response
54
+ */
55
+ parseResponse(rawResponse) {
56
+ return parseResponseHelper(RoleAssociationsSchema, rawResponse);
57
+ }
58
+ }
@@ -0,0 +1,37 @@
1
+ import { Command } from "@flowcore/sdk";
2
+ import { type Role } from "../roles/create-role.js";
3
+ /**
4
+ * The input for the user roles command
5
+ */
6
+ export interface UserRolesInput {
7
+ /** The user id */
8
+ userId: string;
9
+ /** The optional organization id */
10
+ organizationId?: string;
11
+ }
12
+ /**
13
+ * Fetch roles for a user
14
+ */
15
+ export declare class UserRolesCommand extends Command<UserRolesInput, Role[]> {
16
+ /**
17
+ * Whether the command should retry on failure
18
+ */
19
+ protected retryOnFailure: boolean;
20
+ /**
21
+ * Get the method
22
+ */
23
+ protected getMethod(): string;
24
+ /**
25
+ * Get the base url
26
+ */
27
+ protected getBaseUrl(): string;
28
+ /**
29
+ * Get the path
30
+ */
31
+ protected getPath(): string;
32
+ /**
33
+ * Parse the response
34
+ */
35
+ protected parseResponse(rawResponse: unknown): Role[];
36
+ }
37
+ //# sourceMappingURL=get-user-roles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-roles.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/role-associations/get-user-roles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAuB,MAAM,eAAe,CAAA;AAE5D,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,yBAAyB,CAAA;AAE/D;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,mCAAmC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,cAAc,EAAE,IAAI,EAAE,CAAC;IACnE;;OAEG;IACH,UAAmB,cAAc,UAAO;IAExC;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IASpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,EAAE;CAG/D"}
@@ -0,0 +1,41 @@
1
+ import { Command, parseResponseHelper } from "@flowcore/sdk";
2
+ import { Type } from "@sinclair/typebox";
3
+ import { RoleSchema } from "../roles/create-role.js";
4
+ /**
5
+ * Fetch roles for a user
6
+ */
7
+ export class UserRolesCommand extends Command {
8
+ /**
9
+ * Whether the command should retry on failure
10
+ */
11
+ retryOnFailure = true;
12
+ /**
13
+ * Get the method
14
+ */
15
+ getMethod() {
16
+ return "GET";
17
+ }
18
+ /**
19
+ * Get the base url
20
+ */
21
+ getBaseUrl() {
22
+ return "https://iam.api.flowcore.io";
23
+ }
24
+ /**
25
+ * Get the path
26
+ */
27
+ getPath() {
28
+ const basePath = `/api/v1/role-associations/user/${this.input.userId}/`;
29
+ // Add organizationId directly to the URL as a query parameter if provided
30
+ if (this.input.organizationId) {
31
+ return `${basePath}?organizationId=${this.input.organizationId}`;
32
+ }
33
+ return basePath;
34
+ }
35
+ /**
36
+ * Parse the response
37
+ */
38
+ parseResponse(rawResponse) {
39
+ return parseResponseHelper(Type.Array(RoleSchema), rawResponse);
40
+ }
41
+ }
@@ -0,0 +1,53 @@
1
+ import { Command } from "@flowcore/sdk";
2
+ import { type Static, type TObject, type TString } from "@sinclair/typebox";
3
+ /**
4
+ * The schema for a key role link response
5
+ */
6
+ export declare const KeyRoleLinkSchema: TObject<{
7
+ roleId: TString;
8
+ organizationId: TString;
9
+ keyId: TString;
10
+ }>;
11
+ /**
12
+ * The key role link response type
13
+ */
14
+ export type KeyRoleLink = Static<typeof KeyRoleLinkSchema>;
15
+ /**
16
+ * The input for the link key role command
17
+ */
18
+ export interface LinkKeyRoleInput {
19
+ /** The key id */
20
+ keyId: string;
21
+ /** The role id */
22
+ roleId: string;
23
+ }
24
+ /**
25
+ * Link a role to a key
26
+ */
27
+ export declare class LinkKeyRoleCommand extends Command<LinkKeyRoleInput, KeyRoleLink> {
28
+ /**
29
+ * Whether the command should retry on failure
30
+ */
31
+ protected retryOnFailure: boolean;
32
+ /**
33
+ * Get the method
34
+ */
35
+ protected getMethod(): string;
36
+ /**
37
+ * Get the base url
38
+ */
39
+ protected getBaseUrl(): string;
40
+ /**
41
+ * Get the path
42
+ */
43
+ protected getPath(): string;
44
+ /**
45
+ * Get the body
46
+ */
47
+ protected getBody(): Record<string, unknown>;
48
+ /**
49
+ * Parse the response
50
+ */
51
+ protected parseResponse(rawResponse: unknown): KeyRoleLink;
52
+ }
53
+ //# sourceMappingURL=link-key-role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-key-role.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/role-associations/link-key-role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAuB,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEjF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC;IACtC,MAAM,EAAE,OAAO,CAAA;IACf,cAAc,EAAE,OAAO,CAAA;IACvB,KAAK,EAAE,OAAO,CAAA;CACf,CAIC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE1D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAAC,gBAAgB,EAAE,WAAW,CAAC;IAC5E;;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;IAMrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,WAAW;CAGpE"}
@@ -0,0 +1,51 @@
1
+ import { Command, parseResponseHelper } from "@flowcore/sdk";
2
+ import { Type } from "@sinclair/typebox";
3
+ /**
4
+ * The schema for a key role link response
5
+ */
6
+ export const KeyRoleLinkSchema = Type.Object({
7
+ roleId: Type.String(),
8
+ organizationId: Type.String(),
9
+ keyId: Type.String(),
10
+ });
11
+ /**
12
+ * Link a role to a key
13
+ */
14
+ export class LinkKeyRoleCommand extends Command {
15
+ /**
16
+ * Whether the command should retry on failure
17
+ */
18
+ retryOnFailure = false;
19
+ /**
20
+ * Get the method
21
+ */
22
+ getMethod() {
23
+ return "POST";
24
+ }
25
+ /**
26
+ * Get the base url
27
+ */
28
+ getBaseUrl() {
29
+ return "https://iam.api.flowcore.io";
30
+ }
31
+ /**
32
+ * Get the path
33
+ */
34
+ getPath() {
35
+ return `/api/v1/role-associations/key/${this.input.keyId}/`;
36
+ }
37
+ /**
38
+ * Get the body
39
+ */
40
+ getBody() {
41
+ return {
42
+ roleId: this.input.roleId,
43
+ };
44
+ }
45
+ /**
46
+ * Parse the response
47
+ */
48
+ parseResponse(rawResponse) {
49
+ return parseResponseHelper(KeyRoleLinkSchema, rawResponse);
50
+ }
51
+ }
@@ -0,0 +1,53 @@
1
+ import { Command } from "@flowcore/sdk";
2
+ import { type Static, type TObject, type TString } from "@sinclair/typebox";
3
+ /**
4
+ * The schema for a user role link response
5
+ */
6
+ export declare const UserRoleLinkSchema: TObject<{
7
+ roleId: TString;
8
+ organizationId: TString;
9
+ userId: TString;
10
+ }>;
11
+ /**
12
+ * The user role link response type
13
+ */
14
+ export type UserRoleLink = Static<typeof UserRoleLinkSchema>;
15
+ /**
16
+ * The input for the link user role command
17
+ */
18
+ export interface LinkUserRoleInput {
19
+ /** The user id */
20
+ userId: string;
21
+ /** The role id */
22
+ roleId: string;
23
+ }
24
+ /**
25
+ * Link a role to a user
26
+ */
27
+ export declare class LinkUserRoleCommand extends Command<LinkUserRoleInput, UserRoleLink> {
28
+ /**
29
+ * Whether the command should retry on failure
30
+ */
31
+ protected retryOnFailure: boolean;
32
+ /**
33
+ * Get the method
34
+ */
35
+ protected getMethod(): string;
36
+ /**
37
+ * Get the base url
38
+ */
39
+ protected getBaseUrl(): string;
40
+ /**
41
+ * Get the path
42
+ */
43
+ protected getPath(): string;
44
+ /**
45
+ * Get the body
46
+ */
47
+ protected getBody(): Record<string, unknown>;
48
+ /**
49
+ * Parse the response
50
+ */
51
+ protected parseResponse(rawResponse: unknown): UserRoleLink;
52
+ }
53
+ //# sourceMappingURL=link-user-role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-user-role.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/role-associations/link-user-role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAuB,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEjF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC;IACvC,MAAM,EAAE,OAAO,CAAA;IACf,cAAc,EAAE,OAAO,CAAA;IACvB,MAAM,EAAE,OAAO,CAAA;CAChB,CAIC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE5D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,OAAO,CAC9C,iBAAiB,EACjB,YAAY,CACb;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,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAMrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,YAAY;CAGrE"}
@@ -0,0 +1,51 @@
1
+ import { Command, parseResponseHelper } from "@flowcore/sdk";
2
+ import { Type } from "@sinclair/typebox";
3
+ /**
4
+ * The schema for a user role link response
5
+ */
6
+ export const UserRoleLinkSchema = Type.Object({
7
+ roleId: Type.String(),
8
+ organizationId: Type.String(),
9
+ userId: Type.String(),
10
+ });
11
+ /**
12
+ * Link a role to a user
13
+ */
14
+ export class LinkUserRoleCommand extends Command {
15
+ /**
16
+ * Whether the command should retry on failure
17
+ */
18
+ retryOnFailure = false;
19
+ /**
20
+ * Get the method
21
+ */
22
+ getMethod() {
23
+ return "POST";
24
+ }
25
+ /**
26
+ * Get the base url
27
+ */
28
+ getBaseUrl() {
29
+ return "https://iam.api.flowcore.io";
30
+ }
31
+ /**
32
+ * Get the path
33
+ */
34
+ getPath() {
35
+ return `/api/v1/role-associations/user/${this.input.userId}/`;
36
+ }
37
+ /**
38
+ * Get the body
39
+ */
40
+ getBody() {
41
+ return {
42
+ roleId: this.input.roleId,
43
+ };
44
+ }
45
+ /**
46
+ * Parse the response
47
+ */
48
+ parseResponse(rawResponse) {
49
+ return parseResponseHelper(UserRoleLinkSchema, rawResponse);
50
+ }
51
+ }
@@ -0,0 +1,41 @@
1
+ import { Command } from "@flowcore/sdk";
2
+ import { type KeyRoleLink } from "./link-key-role.js";
3
+ /**
4
+ * The input for the unlink key role command
5
+ */
6
+ export interface UnlinkKeyRoleInput {
7
+ /** The key id */
8
+ keyId: string;
9
+ /** The role id */
10
+ roleId: string;
11
+ }
12
+ /**
13
+ * Unlink a role from a key
14
+ */
15
+ export declare class UnlinkKeyRoleCommand extends Command<UnlinkKeyRoleInput, KeyRoleLink> {
16
+ /**
17
+ * Whether the command should retry on failure
18
+ */
19
+ protected retryOnFailure: boolean;
20
+ /**
21
+ * Get the method
22
+ */
23
+ protected getMethod(): string;
24
+ /**
25
+ * Get the base url
26
+ */
27
+ protected getBaseUrl(): string;
28
+ /**
29
+ * Get the path
30
+ */
31
+ protected getPath(): string;
32
+ /**
33
+ * Get the body
34
+ */
35
+ protected getBody(): Record<string, unknown>;
36
+ /**
37
+ * Parse the response
38
+ */
39
+ protected parseResponse(rawResponse: unknown): KeyRoleLink;
40
+ }
41
+ //# sourceMappingURL=unlink-key-role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unlink-key-role.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/role-associations/unlink-key-role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAuB,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,oBAAoB,CAAA;AAExE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,OAAO,CAC/C,kBAAkB,EAClB,WAAW,CACZ;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,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAMrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,WAAW;CAGpE"}
@@ -0,0 +1,43 @@
1
+ import { Command, parseResponseHelper } from "@flowcore/sdk";
2
+ import { KeyRoleLinkSchema } from "./link-key-role.js";
3
+ /**
4
+ * Unlink a role from a key
5
+ */
6
+ export class UnlinkKeyRoleCommand extends Command {
7
+ /**
8
+ * Whether the command should retry on failure
9
+ */
10
+ retryOnFailure = false;
11
+ /**
12
+ * Get the method
13
+ */
14
+ getMethod() {
15
+ return "DELETE";
16
+ }
17
+ /**
18
+ * Get the base url
19
+ */
20
+ getBaseUrl() {
21
+ return "https://iam.api.flowcore.io";
22
+ }
23
+ /**
24
+ * Get the path
25
+ */
26
+ getPath() {
27
+ return `/api/v1/role-associations/key/${this.input.keyId}/`;
28
+ }
29
+ /**
30
+ * Get the body
31
+ */
32
+ getBody() {
33
+ return {
34
+ roleId: this.input.roleId,
35
+ };
36
+ }
37
+ /**
38
+ * Parse the response
39
+ */
40
+ parseResponse(rawResponse) {
41
+ return parseResponseHelper(KeyRoleLinkSchema, rawResponse);
42
+ }
43
+ }
@@ -0,0 +1,41 @@
1
+ import { Command } from "@flowcore/sdk";
2
+ import { type UserRoleLink } from "./link-user-role.js";
3
+ /**
4
+ * The input for the unlink user role command
5
+ */
6
+ export interface UnlinkUserRoleInput {
7
+ /** The user id */
8
+ userId: string;
9
+ /** The role id */
10
+ roleId: string;
11
+ }
12
+ /**
13
+ * Unlink a role from a user
14
+ */
15
+ export declare class UnlinkUserRoleCommand extends Command<UnlinkUserRoleInput, UserRoleLink> {
16
+ /**
17
+ * Whether the command should retry on failure
18
+ */
19
+ protected retryOnFailure: boolean;
20
+ /**
21
+ * Get the method
22
+ */
23
+ protected getMethod(): string;
24
+ /**
25
+ * Get the base url
26
+ */
27
+ protected getBaseUrl(): string;
28
+ /**
29
+ * Get the path
30
+ */
31
+ protected getPath(): string;
32
+ /**
33
+ * Get the body
34
+ */
35
+ protected getBody(): Record<string, unknown>;
36
+ /**
37
+ * Parse the response
38
+ */
39
+ protected parseResponse(rawResponse: unknown): UserRoleLink;
40
+ }
41
+ //# sourceMappingURL=unlink-user-role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unlink-user-role.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/role-associations/unlink-user-role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAuB,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,qBAAqB,CAAA;AAE3E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAChD,mBAAmB,EACnB,YAAY,CACb;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,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAMrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,YAAY;CAGrE"}
@@ -0,0 +1,43 @@
1
+ import { Command, parseResponseHelper } from "@flowcore/sdk";
2
+ import { UserRoleLinkSchema } from "./link-user-role.js";
3
+ /**
4
+ * Unlink a role from a user
5
+ */
6
+ export class UnlinkUserRoleCommand extends Command {
7
+ /**
8
+ * Whether the command should retry on failure
9
+ */
10
+ retryOnFailure = false;
11
+ /**
12
+ * Get the method
13
+ */
14
+ getMethod() {
15
+ return "DELETE";
16
+ }
17
+ /**
18
+ * Get the base url
19
+ */
20
+ getBaseUrl() {
21
+ return "https://iam.api.flowcore.io";
22
+ }
23
+ /**
24
+ * Get the path
25
+ */
26
+ getPath() {
27
+ return `/api/v1/role-associations/user/${this.input.userId}/`;
28
+ }
29
+ /**
30
+ * Get the body
31
+ */
32
+ getBody() {
33
+ return {
34
+ roleId: this.input.roleId,
35
+ };
36
+ }
37
+ /**
38
+ * Parse the response
39
+ */
40
+ parseResponse(rawResponse) {
41
+ return parseResponseHelper(UserRoleLinkSchema, rawResponse);
42
+ }
43
+ }
@@ -0,0 +1,60 @@
1
+ import { Command } from "@flowcore/sdk";
2
+ import { type Static, type TBoolean, type TObject, type TOptional, type TString } from "@sinclair/typebox";
3
+ /**
4
+ * The schema for a role
5
+ */
6
+ export declare const RoleSchema: TObject<{
7
+ id: TString;
8
+ organizationId: TString;
9
+ name: TString;
10
+ description: TOptional<TString>;
11
+ flowcoreManaged: TOptional<TBoolean>;
12
+ archived: TBoolean;
13
+ }>;
14
+ /**
15
+ * The Role type
16
+ */
17
+ export type Role = Static<typeof RoleSchema>;
18
+ /**
19
+ * The input for the role create command
20
+ */
21
+ export interface RoleCreateInput {
22
+ /** The organization id */
23
+ organizationId: string;
24
+ /** The name of the role */
25
+ name: string;
26
+ /** The description of the role */
27
+ description?: string;
28
+ /** Whether the role is managed by Flowcore */
29
+ flowcoreManaged?: boolean;
30
+ }
31
+ /**
32
+ * Create a role
33
+ */
34
+ export declare class RoleCreateCommand extends Command<RoleCreateInput, Role> {
35
+ /**
36
+ * Whether the command should retry on failure
37
+ */
38
+ protected retryOnFailure: boolean;
39
+ /**
40
+ * Get the method
41
+ */
42
+ protected getMethod(): string;
43
+ /**
44
+ * Get the base url
45
+ */
46
+ protected getBaseUrl(): string;
47
+ /**
48
+ * Get the path
49
+ */
50
+ protected getPath(): string;
51
+ /**
52
+ * Get the body
53
+ */
54
+ protected getBody(): Record<string, unknown>;
55
+ /**
56
+ * Parse the response
57
+ */
58
+ protected parseResponse(rawResponse: unknown): Role;
59
+ }
60
+ //# sourceMappingURL=create-role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-role.d.ts","sourceRoot":"","sources":["../../../../src/commands/iam/roles/create-role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAuB,MAAM,eAAe,CAAA;AAC5D,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEhH;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC;IAC/B,EAAE,EAAE,OAAO,CAAA;IACX,cAAc,EAAE,OAAO,CAAA;IACvB,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC/B,eAAe,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;IACpC,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAOC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAE5C;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,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;IAOrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI;CAG7D"}