@keystrokehq/parma 0.1.0 → 0.1.3

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 (193) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-relationship-to-group.cjs +6 -6
  4. package/dist/actions/add-relationship-to-group.cjs.map +1 -1
  5. package/dist/actions/add-relationship-to-group.d.cts +16 -3
  6. package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
  7. package/dist/actions/add-relationship-to-group.d.mts +16 -3
  8. package/dist/actions/add-relationship-to-group.d.mts.map +1 -1
  9. package/dist/actions/add-relationship-to-group.mjs +6 -6
  10. package/dist/actions/add-relationship-to-group.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +4 -4
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +20 -3
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +20 -3
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +4 -4
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/create-relationship.cjs +4 -4
  20. package/dist/actions/create-relationship.cjs.map +1 -1
  21. package/dist/actions/create-relationship.d.cts +31 -3
  22. package/dist/actions/create-relationship.d.cts.map +1 -1
  23. package/dist/actions/create-relationship.d.mts +31 -3
  24. package/dist/actions/create-relationship.d.mts.map +1 -1
  25. package/dist/actions/create-relationship.mjs +4 -4
  26. package/dist/actions/create-relationship.mjs.map +1 -1
  27. package/dist/actions/data-json.cjs +7 -7
  28. package/dist/actions/data-json.cjs.map +1 -1
  29. package/dist/actions/data-json.d.cts +37 -3
  30. package/dist/actions/data-json.d.cts.map +1 -1
  31. package/dist/actions/data-json.d.mts +37 -3
  32. package/dist/actions/data-json.d.mts.map +1 -1
  33. package/dist/actions/data-json.mjs +7 -7
  34. package/dist/actions/data-json.mjs.map +1 -1
  35. package/dist/actions/delete-relationship.cjs +1 -1
  36. package/dist/actions/delete-relationship.cjs.map +1 -1
  37. package/dist/actions/delete-relationship.d.cts +9 -3
  38. package/dist/actions/delete-relationship.d.cts.map +1 -1
  39. package/dist/actions/delete-relationship.d.mts +9 -3
  40. package/dist/actions/delete-relationship.d.mts.map +1 -1
  41. package/dist/actions/delete-relationship.mjs +1 -1
  42. package/dist/actions/delete-relationship.mjs.map +1 -1
  43. package/dist/actions/get-pipeline.cjs +7 -7
  44. package/dist/actions/get-pipeline.cjs.map +1 -1
  45. package/dist/actions/get-pipeline.d.cts +15 -3
  46. package/dist/actions/get-pipeline.d.cts.map +1 -1
  47. package/dist/actions/get-pipeline.d.mts +15 -3
  48. package/dist/actions/get-pipeline.d.mts.map +1 -1
  49. package/dist/actions/get-pipeline.mjs +7 -7
  50. package/dist/actions/get-pipeline.mjs.map +1 -1
  51. package/dist/actions/get-relationship.cjs +4 -4
  52. package/dist/actions/get-relationship.cjs.map +1 -1
  53. package/dist/actions/get-relationship.d.cts +24 -3
  54. package/dist/actions/get-relationship.d.cts.map +1 -1
  55. package/dist/actions/get-relationship.d.mts +24 -3
  56. package/dist/actions/get-relationship.d.mts.map +1 -1
  57. package/dist/actions/get-relationship.mjs +4 -4
  58. package/dist/actions/get-relationship.mjs.map +1 -1
  59. package/dist/actions/get-stage.cjs +2 -2
  60. package/dist/actions/get-stage.cjs.map +1 -1
  61. package/dist/actions/get-stage.d.cts +16 -3
  62. package/dist/actions/get-stage.d.cts.map +1 -1
  63. package/dist/actions/get-stage.d.mts +16 -3
  64. package/dist/actions/get-stage.d.mts.map +1 -1
  65. package/dist/actions/get-stage.mjs +2 -2
  66. package/dist/actions/get-stage.mjs.map +1 -1
  67. package/dist/actions/get-user-profile.cjs +8 -8
  68. package/dist/actions/get-user-profile.cjs.map +1 -1
  69. package/dist/actions/get-user-profile.d.cts +13 -3
  70. package/dist/actions/get-user-profile.d.cts.map +1 -1
  71. package/dist/actions/get-user-profile.d.mts +13 -3
  72. package/dist/actions/get-user-profile.d.mts.map +1 -1
  73. package/dist/actions/get-user-profile.mjs +8 -8
  74. package/dist/actions/get-user-profile.mjs.map +1 -1
  75. package/dist/actions/get-user.cjs +5 -5
  76. package/dist/actions/get-user.cjs.map +1 -1
  77. package/dist/actions/get-user.d.cts +13 -3
  78. package/dist/actions/get-user.d.cts.map +1 -1
  79. package/dist/actions/get-user.d.mts +13 -3
  80. package/dist/actions/get-user.d.mts.map +1 -1
  81. package/dist/actions/get-user.mjs +5 -5
  82. package/dist/actions/get-user.mjs.map +1 -1
  83. package/dist/actions/list-deals.cjs +3 -3
  84. package/dist/actions/list-deals.cjs.map +1 -1
  85. package/dist/actions/list-deals.d.cts +24 -3
  86. package/dist/actions/list-deals.d.cts.map +1 -1
  87. package/dist/actions/list-deals.d.mts +24 -3
  88. package/dist/actions/list-deals.d.mts.map +1 -1
  89. package/dist/actions/list-deals.mjs +3 -3
  90. package/dist/actions/list-deals.mjs.map +1 -1
  91. package/dist/actions/list-groups.cjs +8 -8
  92. package/dist/actions/list-groups.cjs.map +1 -1
  93. package/dist/actions/list-groups.d.cts +19 -3
  94. package/dist/actions/list-groups.d.cts.map +1 -1
  95. package/dist/actions/list-groups.d.mts +19 -3
  96. package/dist/actions/list-groups.d.mts.map +1 -1
  97. package/dist/actions/list-groups.mjs +8 -8
  98. package/dist/actions/list-groups.mjs.map +1 -1
  99. package/dist/actions/list-notes.cjs +7 -7
  100. package/dist/actions/list-notes.cjs.map +1 -1
  101. package/dist/actions/list-notes.d.cts +16 -3
  102. package/dist/actions/list-notes.d.cts.map +1 -1
  103. package/dist/actions/list-notes.d.mts +16 -3
  104. package/dist/actions/list-notes.d.mts.map +1 -1
  105. package/dist/actions/list-notes.mjs +7 -7
  106. package/dist/actions/list-notes.mjs.map +1 -1
  107. package/dist/actions/list-pipelines.cjs +7 -7
  108. package/dist/actions/list-pipelines.cjs.map +1 -1
  109. package/dist/actions/list-pipelines.d.cts +11 -3
  110. package/dist/actions/list-pipelines.d.cts.map +1 -1
  111. package/dist/actions/list-pipelines.d.mts +11 -3
  112. package/dist/actions/list-pipelines.d.mts.map +1 -1
  113. package/dist/actions/list-pipelines.mjs +7 -7
  114. package/dist/actions/list-pipelines.mjs.map +1 -1
  115. package/dist/actions/list-relationship-groups.cjs +6 -6
  116. package/dist/actions/list-relationship-groups.cjs.map +1 -1
  117. package/dist/actions/list-relationship-groups.d.cts +14 -3
  118. package/dist/actions/list-relationship-groups.d.cts.map +1 -1
  119. package/dist/actions/list-relationship-groups.d.mts +14 -3
  120. package/dist/actions/list-relationship-groups.d.mts.map +1 -1
  121. package/dist/actions/list-relationship-groups.mjs +6 -6
  122. package/dist/actions/list-relationship-groups.mjs.map +1 -1
  123. package/dist/actions/list-relationship-notes.cjs +2 -2
  124. package/dist/actions/list-relationship-notes.cjs.map +1 -1
  125. package/dist/actions/list-relationship-notes.d.cts +18 -3
  126. package/dist/actions/list-relationship-notes.d.cts.map +1 -1
  127. package/dist/actions/list-relationship-notes.d.mts +18 -3
  128. package/dist/actions/list-relationship-notes.d.mts.map +1 -1
  129. package/dist/actions/list-relationship-notes.mjs +2 -2
  130. package/dist/actions/list-relationship-notes.mjs.map +1 -1
  131. package/dist/actions/list-relationships.cjs +5 -5
  132. package/dist/actions/list-relationships.cjs.map +1 -1
  133. package/dist/actions/list-relationships.d.cts +52 -3
  134. package/dist/actions/list-relationships.d.cts.map +1 -1
  135. package/dist/actions/list-relationships.d.mts +52 -3
  136. package/dist/actions/list-relationships.d.mts.map +1 -1
  137. package/dist/actions/list-relationships.mjs +5 -5
  138. package/dist/actions/list-relationships.mjs.map +1 -1
  139. package/dist/actions/list-stages.cjs +8 -8
  140. package/dist/actions/list-stages.cjs.map +1 -1
  141. package/dist/actions/list-stages.d.cts +12 -3
  142. package/dist/actions/list-stages.d.cts.map +1 -1
  143. package/dist/actions/list-stages.d.mts +12 -3
  144. package/dist/actions/list-stages.d.mts.map +1 -1
  145. package/dist/actions/list-stages.mjs +8 -8
  146. package/dist/actions/list-stages.mjs.map +1 -1
  147. package/dist/actions/list-users.cjs +5 -5
  148. package/dist/actions/list-users.cjs.map +1 -1
  149. package/dist/actions/list-users.d.cts +13 -3
  150. package/dist/actions/list-users.d.cts.map +1 -1
  151. package/dist/actions/list-users.d.mts +13 -3
  152. package/dist/actions/list-users.d.mts.map +1 -1
  153. package/dist/actions/list-users.mjs +5 -5
  154. package/dist/actions/list-users.mjs.map +1 -1
  155. package/dist/actions/package-list.cjs +3 -3
  156. package/dist/actions/package-list.cjs.map +1 -1
  157. package/dist/actions/package-list.d.cts +7 -3
  158. package/dist/actions/package-list.d.cts.map +1 -1
  159. package/dist/actions/package-list.d.mts +7 -3
  160. package/dist/actions/package-list.d.mts.map +1 -1
  161. package/dist/actions/package-list.mjs +3 -3
  162. package/dist/actions/package-list.mjs.map +1 -1
  163. package/dist/actions/remove-relationship-from-group.cjs +1 -1
  164. package/dist/actions/remove-relationship-from-group.cjs.map +1 -1
  165. package/dist/actions/remove-relationship-from-group.d.cts +11 -3
  166. package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
  167. package/dist/actions/remove-relationship-from-group.d.mts +11 -3
  168. package/dist/actions/remove-relationship-from-group.d.mts.map +1 -1
  169. package/dist/actions/remove-relationship-from-group.mjs +1 -1
  170. package/dist/actions/remove-relationship-from-group.mjs.map +1 -1
  171. package/dist/actions/update-note.cjs +2 -2
  172. package/dist/actions/update-note.cjs.map +1 -1
  173. package/dist/actions/update-note.d.cts +22 -3
  174. package/dist/actions/update-note.d.cts.map +1 -1
  175. package/dist/actions/update-note.d.mts +22 -3
  176. package/dist/actions/update-note.d.mts.map +1 -1
  177. package/dist/actions/update-note.mjs +2 -2
  178. package/dist/actions/update-note.mjs.map +1 -1
  179. package/dist/actions/update-relationship.cjs +5 -5
  180. package/dist/actions/update-relationship.cjs.map +1 -1
  181. package/dist/actions/update-relationship.d.cts +35 -3
  182. package/dist/actions/update-relationship.d.cts.map +1 -1
  183. package/dist/actions/update-relationship.d.mts +35 -3
  184. package/dist/actions/update-relationship.d.mts.map +1 -1
  185. package/dist/actions/update-relationship.mjs +5 -5
  186. package/dist/actions/update-relationship.mjs.map +1 -1
  187. package/dist/catalog.cjs +7 -1
  188. package/dist/catalog.cjs.map +1 -1
  189. package/dist/catalog.d.cts +8 -0
  190. package/dist/catalog.d.mts +8 -0
  191. package/dist/catalog.mjs +7 -1
  192. package/dist/catalog.mjs.map +1 -1
  193. package/package.json +2 -2
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/data-json.d.ts
4
- declare const ParmaDataJsonInput: z.ZodTypeAny;
5
- declare const ParmaDataJsonOutput: z.ZodTypeAny;
6
- declare const parmaDataJson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaDataJsonInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const ParmaDataJsonOutput: z.ZodObject<{
6
+ datasets: z.ZodArray<z.ZodObject<{
7
+ theme: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
8
+ title: z.ZodNullable<z.ZodString>;
9
+ issued: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ keyword: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
+ license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ spatial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ language: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ publisher: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>;
18
+ identifier: z.ZodNullable<z.ZodString>;
19
+ references: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
+ accessLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ landingPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ contactPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ fn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ hasEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>;
27
+ distribution: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
28
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ accessURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ downloadURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>>>;
35
+ accrualPeriodicity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ }, z.core.$loose>>;
37
+ conformsTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ describedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$loose>;
40
+ declare const parmaDataJson: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { parmaDataJson };
9
43
  //# sourceMappingURL=data-json.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-json.d.cts","names":[],"sources":["../../src/actions/data-json.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAA8E;AAAA,cAmCpG,mBAAA,EAAqB,CAAA,CAAE,UAI2B;AAAA,cAElD,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"data-json.d.cts","names":[],"sources":["../../src/actions/data-json.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMnB,aAAA,gCAAa,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/data-json.d.ts
4
- declare const ParmaDataJsonInput: z.ZodTypeAny;
5
- declare const ParmaDataJsonOutput: z.ZodTypeAny;
6
- declare const parmaDataJson: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaDataJsonInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const ParmaDataJsonOutput: z.ZodObject<{
6
+ datasets: z.ZodArray<z.ZodObject<{
7
+ theme: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
8
+ title: z.ZodNullable<z.ZodString>;
9
+ issued: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ keyword: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
+ license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ spatial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ language: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ publisher: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>;
18
+ identifier: z.ZodNullable<z.ZodString>;
19
+ references: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
+ accessLevel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ landingPage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ contactPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ fn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ hasEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$loose>>>;
27
+ distribution: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
28
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ accessURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ downloadURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>>>;
35
+ accrualPeriodicity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ }, z.core.$loose>>;
37
+ conformsTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ describedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$loose>;
40
+ declare const parmaDataJson: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { parmaDataJson };
9
43
  //# sourceMappingURL=data-json.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-json.d.mts","names":[],"sources":["../../src/actions/data-json.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAA8E;AAAA,cAmCpG,mBAAA,EAAqB,CAAA,CAAE,UAI2B;AAAA,cAElD,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"data-json.d.mts","names":[],"sources":["../../src/actions/data-json.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMnB,aAAA,gCAAa,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -2,11 +2,11 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/data-json.ts
4
4
  const ParmaDataJsonInput = z.object({}).describe("No parameters required for this request.");
5
- const ParmaDataJson_PublisherSchema = z.object({ name: z.string().describe("Name of the publishing organization").nullable().optional() }).describe("Publisher organization for the dataset.");
5
+ const ParmaDataJson_PublisherSchema = z.object({ name: z.string().describe("Name of the publishing organization").nullable().optional() }).passthrough().describe("Publisher organization for the dataset.");
6
6
  const ParmaDataJson_ContactPointSchema = z.object({
7
7
  fn: z.string().describe("Name of the contact person/organization").nullable().optional(),
8
8
  hasEmail: z.string().describe("Email address of the contact").nullable().optional()
9
- }).describe("Contact information for the dataset.");
9
+ }).passthrough().describe("Contact information for the dataset.");
10
10
  const ParmaDataJson_DistributionSchema = z.object({
11
11
  title: z.string().describe("Title of the distribution").nullable().optional(),
12
12
  format: z.string().describe("Data format of the distribution (e.g., CSV, JSON, SHP)").nullable().optional(),
@@ -14,10 +14,10 @@ const ParmaDataJson_DistributionSchema = z.object({
14
14
  mediaType: z.string().describe("MIME type of the distribution (e.g., text/csv)").nullable().optional(),
15
15
  description: z.string().describe("Description of the distribution").nullable().optional(),
16
16
  downloadURL: z.string().describe("Direct download URL for the distribution").nullable().optional()
17
- }).describe("Represents a downloadable distribution in DCAT-US 1.1 format.");
17
+ }).passthrough().describe("Represents a downloadable distribution in DCAT-US 1.1 format.");
18
18
  const ParmaDataJson_DatasetSchema = z.object({
19
19
  theme: z.array(z.string()).describe("Subject categories/themes").nullable().optional(),
20
- title: z.string().describe("Human-readable title of the dataset"),
20
+ title: z.string().describe("Human-readable title of the dataset").nullable(),
21
21
  issued: z.string().describe("Publication date of the dataset").nullable().optional(),
22
22
  keyword: z.array(z.string()).describe("Keywords/tags associated with the dataset").nullable().optional(),
23
23
  license: z.string().describe("License URL for the dataset").nullable().optional(),
@@ -25,7 +25,7 @@ const ParmaDataJson_DatasetSchema = z.object({
25
25
  language: z.array(z.string()).describe("Language codes").nullable().optional(),
26
26
  modified: z.string().describe("Last modification date").nullable().optional(),
27
27
  publisher: ParmaDataJson_PublisherSchema.nullable().optional(),
28
- identifier: z.string().describe("Unique identifier of the dataset (UUID)"),
28
+ identifier: z.string().describe("Unique identifier of the dataset (UUID)").nullable(),
29
29
  references: z.array(z.string()).describe("Links to related datasets").nullable().optional(),
30
30
  accessLevel: z.string().describe("Access level of the dataset (e.g., public)").nullable().optional(),
31
31
  description: z.string().describe("Description or notes about the dataset").nullable().optional(),
@@ -33,7 +33,7 @@ const ParmaDataJson_DatasetSchema = z.object({
33
33
  contactPoint: ParmaDataJson_ContactPointSchema.nullable().optional(),
34
34
  distribution: z.array(ParmaDataJson_DistributionSchema).describe("List of downloadable distributions for this dataset").nullable().optional(),
35
35
  accrualPeriodicity: z.string().describe("Update frequency (e.g., R/P1Y for yearly)").nullable().optional()
36
- }).describe("Represents a single dataset in DCAT-US 1.1 format.");
36
+ }).passthrough().describe("Represents a single dataset in DCAT-US 1.1 format.");
37
37
  const parmaDataJson = action("PARMA_DATA_JSON", {
38
38
  slug: "parma-data-json",
39
39
  name: "Get data.json metadata",
@@ -43,7 +43,7 @@ const parmaDataJson = action("PARMA_DATA_JSON", {
43
43
  datasets: z.array(ParmaDataJson_DatasetSchema).describe("List of dataset metadata as defined by DCAT-US 1.1"),
44
44
  conformsTo: z.string().describe("Schema conformance URL").nullable().optional(),
45
45
  describedBy: z.string().describe("Schema description URL").nullable().optional()
46
- }).describe("DCAT-US 1.1 compliant catalog metadata response.")
46
+ }).passthrough().describe("DCAT-US 1.1 compliant catalog metadata response.")
47
47
  });
48
48
  //#endregion
49
49
  export { parmaDataJson };
@@ -1 +1 @@
1
- {"version":3,"file":"data-json.mjs","names":[],"sources":["../../src/actions/data-json.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDataJsonInput: z.ZodTypeAny = z.object({}).describe(\"No parameters required for this request.\");\nconst ParmaDataJson_PublisherSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the publishing organization\").nullable().optional(),\n}).describe(\"Publisher organization for the dataset.\");\nconst ParmaDataJson_ContactPointSchema: z.ZodTypeAny = z.object({\n fn: z.string().describe(\"Name of the contact person/organization\").nullable().optional(),\n hasEmail: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).describe(\"Contact information for the dataset.\");\nconst ParmaDataJson_DistributionSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the distribution\").nullable().optional(),\n format: z.string().describe(\"Data format of the distribution (e.g., CSV, JSON, SHP)\").nullable().optional(),\n accessURL: z.string().describe(\"URL to access the distribution\").nullable().optional(),\n mediaType: z.string().describe(\"MIME type of the distribution (e.g., text/csv)\").nullable().optional(),\n description: z.string().describe(\"Description of the distribution\").nullable().optional(),\n downloadURL: z.string().describe(\"Direct download URL for the distribution\").nullable().optional(),\n}).describe(\"Represents a downloadable distribution in DCAT-US 1.1 format.\");\nconst ParmaDataJson_DatasetSchema: z.ZodTypeAny = z.object({\n theme: z.array(z.string()).describe(\"Subject categories/themes\").nullable().optional(),\n title: z.string().describe(\"Human-readable title of the dataset\"),\n issued: z.string().describe(\"Publication date of the dataset\").nullable().optional(),\n keyword: z.array(z.string()).describe(\"Keywords/tags associated with the dataset\").nullable().optional(),\n license: z.string().describe(\"License URL for the dataset\").nullable().optional(),\n spatial: z.string().describe(\"Geographic coverage (POLYGON coordinates)\").nullable().optional(),\n language: z.array(z.string()).describe(\"Language codes\").nullable().optional(),\n modified: z.string().describe(\"Last modification date\").nullable().optional(),\n publisher: ParmaDataJson_PublisherSchema.nullable().optional(),\n identifier: z.string().describe(\"Unique identifier of the dataset (UUID)\"),\n references: z.array(z.string()).describe(\"Links to related datasets\").nullable().optional(),\n accessLevel: z.string().describe(\"Access level of the dataset (e.g., public)\").nullable().optional(),\n description: z.string().describe(\"Description or notes about the dataset\").nullable().optional(),\n landingPage: z.string().describe(\"Dataset webpage URL\").nullable().optional(),\n contactPoint: ParmaDataJson_ContactPointSchema.nullable().optional(),\n distribution: z.array(ParmaDataJson_DistributionSchema).describe(\"List of downloadable distributions for this dataset\").nullable().optional(),\n accrualPeriodicity: z.string().describe(\"Update frequency (e.g., R/P1Y for yearly)\").nullable().optional(),\n}).describe(\"Represents a single dataset in DCAT-US 1.1 format.\");\nexport const ParmaDataJsonOutput: z.ZodTypeAny = z.object({\n datasets: z.array(ParmaDataJson_DatasetSchema).describe(\"List of dataset metadata as defined by DCAT-US 1.1\"),\n conformsTo: z.string().describe(\"Schema conformance URL\").nullable().optional(),\n describedBy: z.string().describe(\"Schema description URL\").nullable().optional(),\n}).describe(\"DCAT-US 1.1 compliant catalog metadata response.\");\n\nexport const parmaDataJson = action(\"PARMA_DATA_JSON\", {\n slug: \"parma-data-json\",\n name: \"Get data.json metadata\",\n description: \"Tool to retrieve DCAT-US 1.1 compliant metadata of all datasets. Use when you need the complete catalog JSON (data.json) from Parma’s open data portal.\",\n input: ParmaDataJsonInput,\n output: ParmaDataJsonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAChH,MAAM,gCAA8C,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvF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ACxD,UAAU,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,oDAAoD;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"data-json.mjs","names":[],"sources":["../../src/actions/data-json.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDataJsonInput = z.object({}).describe(\"No parameters required for this request.\");\nconst ParmaDataJson_PublisherSchema = z.object({\n name: z.string().describe(\"Name of the publishing organization\").nullable().optional(),\n}).passthrough().describe(\"Publisher organization for the dataset.\");\nconst ParmaDataJson_ContactPointSchema = z.object({\n fn: z.string().describe(\"Name of the contact person/organization\").nullable().optional(),\n hasEmail: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the dataset.\");\nconst ParmaDataJson_DistributionSchema = z.object({\n title: z.string().describe(\"Title of the distribution\").nullable().optional(),\n format: z.string().describe(\"Data format of the distribution (e.g., CSV, JSON, SHP)\").nullable().optional(),\n accessURL: z.string().describe(\"URL to access the distribution\").nullable().optional(),\n mediaType: z.string().describe(\"MIME type of the distribution (e.g., text/csv)\").nullable().optional(),\n description: z.string().describe(\"Description of the distribution\").nullable().optional(),\n downloadURL: z.string().describe(\"Direct download URL for the distribution\").nullable().optional(),\n}).passthrough().describe(\"Represents a downloadable distribution in DCAT-US 1.1 format.\");\nconst ParmaDataJson_DatasetSchema = z.object({\n theme: z.array(z.string()).describe(\"Subject categories/themes\").nullable().optional(),\n title: z.string().describe(\"Human-readable title of the dataset\").nullable(),\n issued: z.string().describe(\"Publication date of the dataset\").nullable().optional(),\n keyword: z.array(z.string()).describe(\"Keywords/tags associated with the dataset\").nullable().optional(),\n license: z.string().describe(\"License URL for the dataset\").nullable().optional(),\n spatial: z.string().describe(\"Geographic coverage (POLYGON coordinates)\").nullable().optional(),\n language: z.array(z.string()).describe(\"Language codes\").nullable().optional(),\n modified: z.string().describe(\"Last modification date\").nullable().optional(),\n publisher: ParmaDataJson_PublisherSchema.nullable().optional(),\n identifier: z.string().describe(\"Unique identifier of the dataset (UUID)\").nullable(),\n references: z.array(z.string()).describe(\"Links to related datasets\").nullable().optional(),\n accessLevel: z.string().describe(\"Access level of the dataset (e.g., public)\").nullable().optional(),\n description: z.string().describe(\"Description or notes about the dataset\").nullable().optional(),\n landingPage: z.string().describe(\"Dataset webpage URL\").nullable().optional(),\n contactPoint: ParmaDataJson_ContactPointSchema.nullable().optional(),\n distribution: z.array(ParmaDataJson_DistributionSchema).describe(\"List of downloadable distributions for this dataset\").nullable().optional(),\n accrualPeriodicity: z.string().describe(\"Update frequency (e.g., R/P1Y for yearly)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single dataset in DCAT-US 1.1 format.\");\nexport const ParmaDataJsonOutput = z.object({\n datasets: z.array(ParmaDataJson_DatasetSchema).describe(\"List of dataset metadata as defined by DCAT-US 1.1\"),\n conformsTo: z.string().describe(\"Schema conformance URL\").nullable().optional(),\n describedBy: z.string().describe(\"Schema description URL\").nullable().optional(),\n}).passthrough().describe(\"DCAT-US 1.1 compliant catalog metadata response.\");\n\nexport const parmaDataJson = action(\"PARMA_DATA_JSON\", {\n slug: \"parma-data-json\",\n name: \"Get data.json metadata\",\n description: \"Tool to retrieve DCAT-US 1.1 compliant metadata of all datasets. Use when you need the complete catalog JSON (data.json) from Parma’s open data portal.\",\n input: ParmaDataJsonInput,\n output: ParmaDataJsonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAClG,MAAM,gCAAgC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC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AAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAO9E,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiC,EAAE,OAAO;EAC1C,UAAU,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,oDAAoD;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-relationship.ts
4
4
  const ParmaDeleteRelationshipInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the relationship to delete") }).describe("Request model for deleting a relationship in Parma.");
5
- const ParmaDeleteRelationshipOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the relationship was successfully deleted") }).describe("Response model for delete relationship. Returns empty response on successful deletion.");
5
+ const ParmaDeleteRelationshipOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the relationship was successfully deleted").nullable() }).passthrough().describe("Response model for delete relationship. Returns empty response on successful deletion.");
6
6
  const parmaDeleteRelationship = require_action.action("PARMA_DELETE_RELATIONSHIP", {
7
7
  slug: "parma-delete-relationship",
8
8
  name: "Delete Relationship",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-relationship.cjs","names":["z","action"],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDeleteRelationshipInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\"),\n}).describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,EAC7F,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAEpG,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-relationship.cjs","names":["z","action"],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDeleteRelationshipInput = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAAwF;AAElH,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-relationship.d.ts
4
- declare const ParmaDeleteRelationshipInput: z.ZodTypeAny;
5
- declare const ParmaDeleteRelationshipOutput: z.ZodTypeAny;
6
- declare const parmaDeleteRelationship: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaDeleteRelationshipInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParmaDeleteRelationshipOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$loose>;
10
+ declare const parmaDeleteRelationship: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { parmaDeleteRelationship };
9
15
  //# sourceMappingURL=delete-relationship.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-relationship.d.cts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEqB;AAAA,cACrD,6BAAA,EAA+B,CAAA,CAAE,UAEuD;AAAA,cAExF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-relationship.d.cts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-relationship.d.ts
4
- declare const ParmaDeleteRelationshipInput: z.ZodTypeAny;
5
- declare const ParmaDeleteRelationshipOutput: z.ZodTypeAny;
6
- declare const parmaDeleteRelationship: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaDeleteRelationshipInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParmaDeleteRelationshipOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ }, z.core.$loose>;
10
+ declare const parmaDeleteRelationship: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { parmaDeleteRelationship };
9
15
  //# sourceMappingURL=delete-relationship.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-relationship.d.mts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEqB;AAAA,cACrD,6BAAA,EAA+B,CAAA,CAAE,UAEuD;AAAA,cAExF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-relationship.d.mts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -5,7 +5,7 @@ const parmaDeleteRelationship = action("PARMA_DELETE_RELATIONSHIP", {
5
5
  name: "Delete Relationship",
6
6
  description: "Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).",
7
7
  input: z.object({ id: z.string().describe("Unique identifier of the relationship to delete") }).describe("Request model for deleting a relationship in Parma."),
8
- output: z.object({ success: z.boolean().describe("Indicates whether the relationship was successfully deleted") }).describe("Response model for delete relationship. Returns empty response on successful deletion.")
8
+ output: z.object({ success: z.boolean().describe("Indicates whether the relationship was successfully deleted").nullable() }).passthrough().describe("Response model for delete relationship. Returns empty response on successful deletion.")
9
9
  });
10
10
  //#endregion
11
11
  export { parmaDeleteRelationship };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-relationship.mjs","names":[],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDeleteRelationshipInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\"),\n}).describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATyD,EAAE,OAAO,EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,EAC7F,CAAC,CAAC,CAAC,SAAS,wFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-relationship.mjs","names":[],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDeleteRelationshipInput = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAOhB;AACV,CAAC"}
@@ -3,13 +3,13 @@ let zod = require("zod");
3
3
  //#region src/actions/get-pipeline.ts
4
4
  const ParmaGetPipelineInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the pipeline to retrieve") }).describe("Request model for getting a pipeline by ID.");
5
5
  const ParmaGetPipeline_PipelineDataSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Pipeline's unique identifier"),
7
- name: zod.z.string().describe("Pipeline name"),
8
- position: zod.z.number().int().describe("Position/order of the pipeline"),
9
- created_at: zod.z.string().describe("Timestamp when the pipeline was created"),
10
- updated_at: zod.z.string().describe("Timestamp when the pipeline was last updated")
11
- }).describe("Pipeline data within the response.");
12
- const ParmaGetPipelineOutput = zod.z.object({ data: ParmaGetPipeline_PipelineDataSchema.nullable() }).describe("Response schema for getting a pipeline.");
6
+ id: zod.z.number().int().describe("Pipeline's unique identifier").nullable(),
7
+ name: zod.z.string().describe("Pipeline name").nullable(),
8
+ position: zod.z.number().int().describe("Position/order of the pipeline").nullable(),
9
+ created_at: zod.z.string().describe("Timestamp when the pipeline was created").nullable(),
10
+ updated_at: zod.z.string().describe("Timestamp when the pipeline was last updated").nullable()
11
+ }).passthrough().describe("Pipeline data within the response.");
12
+ const ParmaGetPipelineOutput = zod.z.object({ data: ParmaGetPipeline_PipelineDataSchema.nullable() }).passthrough().describe("Response schema for getting a pipeline.");
13
13
  const parmaGetPipeline = require_action.action("PARMA_GET_PIPELINE", {
14
14
  slug: "parma-get-pipeline",
15
15
  name: "Get Pipeline",
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipeline.cjs","names":["z","action"],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetPipelineInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the pipeline to retrieve\"),\n}).describe(\"Request model for getting a pipeline by ID.\");\nconst ParmaGetPipeline_PipelineDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\"),\n name: z.string().describe(\"Pipeline name\"),\n position: z.number().int().describe(\"Position/order of the pipeline\"),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\"),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\"),\n}).describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput: z.ZodTypeAny = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline = action(\"PARMA_GET_PIPELINE\", {\n slug: \"parma-get-pipeline\",\n name: \"Get Pipeline\",\n description: \"Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.\",\n input: ParmaGetPipelineInput,\n output: ParmaGetPipelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-pipeline.cjs","names":["z","action"],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetPipelineInput = z.object({\n id: z.string().describe(\"The unique identifier of the pipeline to retrieve\"),\n}).describe(\"Request model for getting a pipeline by ID.\");\nconst ParmaGetPipeline_PipelineDataSchema = z.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\").nullable(),\n name: z.string().describe(\"Pipeline name\").nullable(),\n position: z.number().int().describe(\"Position/order of the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\").nullable(),\n}).passthrough().describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline = action(\"PARMA_GET_PIPELINE\", {\n slug: \"parma-get-pipeline\",\n name: \"Get Pipeline\",\n description: \"Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.\",\n input: ParmaGetPipelineInput,\n output: ParmaGetPipelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-pipeline.d.ts
4
- declare const ParmaGetPipelineInput: z.ZodTypeAny;
5
- declare const ParmaGetPipelineOutput: z.ZodTypeAny;
6
- declare const parmaGetPipeline: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaGetPipelineInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParmaGetPipelineOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ position: z.ZodNullable<z.ZodNumber>;
12
+ created_at: z.ZodNullable<z.ZodString>;
13
+ updated_at: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
+ declare const parmaGetPipeline: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ id: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { parmaGetPipeline };
9
21
  //# sourceMappingURL=get-pipeline.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipeline.d.cts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEoB;AAAA,cAQ7C,sBAAA,EAAwB,CAAA,CAAE,UAEe;AAAA,cAEzC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-pipeline.d.cts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-pipeline.d.ts
4
- declare const ParmaGetPipelineInput: z.ZodTypeAny;
5
- declare const ParmaGetPipelineOutput: z.ZodTypeAny;
6
- declare const parmaGetPipeline: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaGetPipelineInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParmaGetPipelineOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ position: z.ZodNullable<z.ZodNumber>;
12
+ created_at: z.ZodNullable<z.ZodString>;
13
+ updated_at: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>;
16
+ declare const parmaGetPipeline: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ id: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { parmaGetPipeline };
9
21
  //# sourceMappingURL=get-pipeline.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipeline.d.mts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEoB;AAAA,cAQ7C,sBAAA,EAAwB,CAAA,CAAE,UAEe;AAAA,cAEzC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-pipeline.d.mts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -3,18 +3,18 @@ import { z } from "zod";
3
3
  //#region src/actions/get-pipeline.ts
4
4
  const ParmaGetPipelineInput = z.object({ id: z.string().describe("The unique identifier of the pipeline to retrieve") }).describe("Request model for getting a pipeline by ID.");
5
5
  const ParmaGetPipeline_PipelineDataSchema = z.object({
6
- id: z.number().int().describe("Pipeline's unique identifier"),
7
- name: z.string().describe("Pipeline name"),
8
- position: z.number().int().describe("Position/order of the pipeline"),
9
- created_at: z.string().describe("Timestamp when the pipeline was created"),
10
- updated_at: z.string().describe("Timestamp when the pipeline was last updated")
11
- }).describe("Pipeline data within the response.");
6
+ id: z.number().int().describe("Pipeline's unique identifier").nullable(),
7
+ name: z.string().describe("Pipeline name").nullable(),
8
+ position: z.number().int().describe("Position/order of the pipeline").nullable(),
9
+ created_at: z.string().describe("Timestamp when the pipeline was created").nullable(),
10
+ updated_at: z.string().describe("Timestamp when the pipeline was last updated").nullable()
11
+ }).passthrough().describe("Pipeline data within the response.");
12
12
  const parmaGetPipeline = action("PARMA_GET_PIPELINE", {
13
13
  slug: "parma-get-pipeline",
14
14
  name: "Get Pipeline",
15
15
  description: "Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.",
16
16
  input: ParmaGetPipelineInput,
17
- output: z.object({ data: ParmaGetPipeline_PipelineDataSchema.nullable() }).describe("Response schema for getting a pipeline.")
17
+ output: z.object({ data: ParmaGetPipeline_PipelineDataSchema.nullable() }).passthrough().describe("Response schema for getting a pipeline.")
18
18
  });
19
19
  //#endregion
20
20
  export { parmaGetPipeline };
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipeline.mjs","names":[],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetPipelineInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the pipeline to retrieve\"),\n}).describe(\"Request model for getting a pipeline by ID.\");\nconst ParmaGetPipeline_PipelineDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\"),\n name: z.string().describe(\"Pipeline name\"),\n position: z.number().int().describe(\"Position/order of the pipeline\"),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\"),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\"),\n}).describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput: z.ZodTypeAny = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline = action(\"PARMA_GET_PIPELINE\", {\n slug: \"parma-get-pipeline\",\n name: \"Get Pipeline\",\n description: \"Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.\",\n input: ParmaGetPipelineInput,\n output: ParmaGetPipelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-pipeline.mjs","names":[],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetPipelineInput = z.object({\n id: z.string().describe(\"The unique identifier of the pipeline to retrieve\"),\n}).describe(\"Request model for getting a pipeline by ID.\");\nconst ParmaGetPipeline_PipelineDataSchema = z.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\").nullable(),\n name: z.string().describe(\"Pipeline name\").nullable(),\n position: z.number().int().describe(\"Position/order of the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\").nullable(),\n}).passthrough().describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline = action(\"PARMA_GET_PIPELINE\", {\n slug: \"parma-get-pipeline\",\n name: \"Get Pipeline\",\n description: \"Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.\",\n input: ParmaGetPipelineInput,\n output: ParmaGetPipelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const ParmaGetRelationship_RelationshipPropertySchema = zod.z.object({
6
6
  id: zod.z.number().int().describe("Property's unique identifier").nullable().optional(),
7
7
  name: zod.z.string().describe("Property name").nullable().optional(),
8
8
  value: zod.z.string().describe("Property value").nullable().optional()
9
- }).describe("A property associated with a relationship.");
9
+ }).passthrough().describe("A property associated with a relationship.");
10
10
  const ParmaGetRelationship_RelationshipDataSchema = zod.z.object({
11
11
  id: zod.z.number().int().describe("Relationship's unique identifier").nullable().optional(),
12
12
  name: zod.z.string().describe("Name of the relationship").nullable().optional(),
@@ -17,9 +17,9 @@ const ParmaGetRelationship_RelationshipDataSchema = zod.z.object({
17
17
  created_at: zod.z.string().describe("Timestamp when the relationship was created").nullable().optional(),
18
18
  properties: zod.z.array(ParmaGetRelationship_RelationshipPropertySchema).describe("List of custom properties for the relationship").nullable().optional(),
19
19
  updated_at: zod.z.string().describe("Timestamp when the relationship was last updated").nullable().optional(),
20
- contact_details: zod.z.array(zod.z.object({})).describe("Contact details for the relationship").nullable().optional()
21
- }).describe("Detailed information about a relationship.");
22
- const ParmaGetRelationshipOutput = zod.z.object({ data: ParmaGetRelationship_RelationshipDataSchema.nullable() }).describe("Response schema for getting a relationship.");
20
+ contact_details: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Contact details for the relationship").nullable().optional()
21
+ }).passthrough().describe("Detailed information about a relationship.");
22
+ const ParmaGetRelationshipOutput = zod.z.object({ data: ParmaGetRelationship_RelationshipDataSchema.nullable() }).passthrough().describe("Response schema for getting a relationship.");
23
23
  const parmaGetRelationship = require_action.action("PARMA_GET_RELATIONSHIP", {
24
24
  slug: "parma-get-relationship",
25
25
  name: "Get Relationship",
@@ -1 +1 @@
1
- {"version":3,"file":"get-relationship.cjs","names":["z","action"],"sources":["../../src/actions/get-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetRelationshipInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the relationship to retrieve\"),\n}).describe(\"Request model for getting a relationship by its ID.\");\nconst ParmaGetRelationship_RelationshipPropertySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Property's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).describe(\"A property associated with a relationship.\");\nconst ParmaGetRelationship_RelationshipDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Relationship's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of the relationship\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"List of group IDs associated with this relationship\").nullable().optional(),\n company_id: z.number().int().describe(\"ID of the associated company\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaGetRelationship_RelationshipPropertySchema).describe(\"List of custom properties for the relationship\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(z.object({})).describe(\"Contact details for the relationship\").nullable().optional(),\n}).describe(\"Detailed information about a relationship.\");\nexport const ParmaGetRelationshipOutput: z.ZodTypeAny = z.object({\n data: ParmaGetRelationship_RelationshipDataSchema.nullable(),\n}).describe(\"Response schema for getting a relationship.\");\n\nexport const parmaGetRelationship = action(\"PARMA_GET_RELATIONSHIP\", {\n slug: \"parma-get-relationship\",\n name: \"Get Relationship\",\n description: \"Tool to retrieve a relationship by its unique ID. Use when you need to get detailed information about a specific relationship.\",\n input: ParmaGetRelationshipInput,\n output: ParmaGetRelationshipOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACjF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CA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,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-relationship.cjs","names":["z","action"],"sources":["../../src/actions/get-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetRelationshipInput = z.object({\n id: z.string().describe(\"The unique identifier of the relationship to retrieve\"),\n}).describe(\"Request model for getting a relationship by its ID.\");\nconst ParmaGetRelationship_RelationshipPropertySchema = z.object({\n id: z.number().int().describe(\"Property's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).passthrough().describe(\"A property associated with a relationship.\");\nconst ParmaGetRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Relationship's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of the relationship\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"List of group IDs associated with this relationship\").nullable().optional(),\n company_id: z.number().int().describe(\"ID of the associated company\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaGetRelationship_RelationshipPropertySchema).describe(\"List of custom properties for the relationship\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(z.record(z.string(), z.unknown())).describe(\"Contact details for the relationship\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a relationship.\");\nexport const ParmaGetRelationshipOutput = z.object({\n data: ParmaGetRelationship_RelationshipDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for getting a relationship.\");\n\nexport const parmaGetRelationship = action(\"PARMA_GET_RELATIONSHIP\", {\n slug: \"parma-get-relationship\",\n name: \"Get Relationship\",\n description: \"Tool to retrieve a relationship by its unique ID. Use when you need to get detailed information about a specific relationship.\",\n input: ParmaGetRelationshipInput,\n output: ParmaGetRelationshipOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACjF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-relationship.d.ts
4
- declare const ParmaGetRelationshipInput: z.ZodTypeAny;
5
- declare const ParmaGetRelationshipOutput: z.ZodTypeAny;
6
- declare const parmaGetRelationship: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaGetRelationshipInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParmaGetRelationshipOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
14
+ company_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ properties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>>>>;
21
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
+ declare const parmaGetRelationship: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { parmaGetRelationship };
9
30
  //# sourceMappingURL=get-relationship.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-relationship.d.cts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEwB;AAAA,cAkBrD,0BAAA,EAA4B,CAAA,CAAE,UAEe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-relationship.d.cts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-relationship.d.ts
4
- declare const ParmaGetRelationshipInput: z.ZodTypeAny;
5
- declare const ParmaGetRelationshipOutput: z.ZodTypeAny;
6
- declare const parmaGetRelationship: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaGetRelationshipInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParmaGetRelationshipOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
14
+ company_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ properties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>>>>;
21
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
+ declare const parmaGetRelationship: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ id: string;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { parmaGetRelationship };
9
30
  //# sourceMappingURL=get-relationship.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-relationship.d.mts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEwB;AAAA,cAkBrD,0BAAA,EAA4B,CAAA,CAAE,UAEe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-relationship.d.mts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -6,7 +6,7 @@ const ParmaGetRelationship_RelationshipPropertySchema = z.object({
6
6
  id: z.number().int().describe("Property's unique identifier").nullable().optional(),
7
7
  name: z.string().describe("Property name").nullable().optional(),
8
8
  value: z.string().describe("Property value").nullable().optional()
9
- }).describe("A property associated with a relationship.");
9
+ }).passthrough().describe("A property associated with a relationship.");
10
10
  const ParmaGetRelationship_RelationshipDataSchema = z.object({
11
11
  id: z.number().int().describe("Relationship's unique identifier").nullable().optional(),
12
12
  name: z.string().describe("Name of the relationship").nullable().optional(),
@@ -17,14 +17,14 @@ const ParmaGetRelationship_RelationshipDataSchema = z.object({
17
17
  created_at: z.string().describe("Timestamp when the relationship was created").nullable().optional(),
18
18
  properties: z.array(ParmaGetRelationship_RelationshipPropertySchema).describe("List of custom properties for the relationship").nullable().optional(),
19
19
  updated_at: z.string().describe("Timestamp when the relationship was last updated").nullable().optional(),
20
- contact_details: z.array(z.object({})).describe("Contact details for the relationship").nullable().optional()
21
- }).describe("Detailed information about a relationship.");
20
+ contact_details: z.array(z.record(z.string(), z.unknown())).describe("Contact details for the relationship").nullable().optional()
21
+ }).passthrough().describe("Detailed information about a relationship.");
22
22
  const parmaGetRelationship = action("PARMA_GET_RELATIONSHIP", {
23
23
  slug: "parma-get-relationship",
24
24
  name: "Get Relationship",
25
25
  description: "Tool to retrieve a relationship by its unique ID. Use when you need to get detailed information about a specific relationship.",
26
26
  input: ParmaGetRelationshipInput,
27
- output: z.object({ data: ParmaGetRelationship_RelationshipDataSchema.nullable() }).describe("Response schema for getting a relationship.")
27
+ output: z.object({ data: ParmaGetRelationship_RelationshipDataSchema.nullable() }).passthrough().describe("Response schema for getting a relationship.")
28
28
  });
29
29
  //#endregion
30
30
  export { parmaGetRelationship };