@keystrokehq/plain 0.1.0 → 0.1.2

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 (185) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-customer-to-group.cjs +11 -11
  4. package/dist/actions/add-customer-to-group.cjs.map +1 -1
  5. package/dist/actions/add-customer-to-group.d.cts +47 -3
  6. package/dist/actions/add-customer-to-group.d.cts.map +1 -1
  7. package/dist/actions/add-customer-to-group.d.mts +47 -3
  8. package/dist/actions/add-customer-to-group.d.mts.map +1 -1
  9. package/dist/actions/add-customer-to-group.mjs +11 -11
  10. package/dist/actions/add-customer-to-group.mjs.map +1 -1
  11. package/dist/actions/create-customer-group.cjs +11 -11
  12. package/dist/actions/create-customer-group.cjs.map +1 -1
  13. package/dist/actions/create-customer-group.d.cts +37 -3
  14. package/dist/actions/create-customer-group.d.cts.map +1 -1
  15. package/dist/actions/create-customer-group.d.mts +37 -3
  16. package/dist/actions/create-customer-group.d.mts.map +1 -1
  17. package/dist/actions/create-customer-group.mjs +11 -11
  18. package/dist/actions/create-customer-group.mjs.map +1 -1
  19. package/dist/actions/create-thread.cjs +11 -11
  20. package/dist/actions/create-thread.cjs.map +1 -1
  21. package/dist/actions/create-thread.d.cts +63 -3
  22. package/dist/actions/create-thread.d.cts.map +1 -1
  23. package/dist/actions/create-thread.d.mts +63 -3
  24. package/dist/actions/create-thread.d.mts.map +1 -1
  25. package/dist/actions/create-thread.mjs +11 -11
  26. package/dist/actions/create-thread.mjs.map +1 -1
  27. package/dist/actions/delete-customer.cjs +6 -6
  28. package/dist/actions/delete-customer.cjs.map +1 -1
  29. package/dist/actions/delete-customer.d.cts +18 -3
  30. package/dist/actions/delete-customer.d.cts.map +1 -1
  31. package/dist/actions/delete-customer.d.mts +18 -3
  32. package/dist/actions/delete-customer.d.mts.map +1 -1
  33. package/dist/actions/delete-customer.mjs +6 -6
  34. package/dist/actions/delete-customer.mjs.map +1 -1
  35. package/dist/actions/delete-user.cjs +6 -6
  36. package/dist/actions/delete-user.cjs.map +1 -1
  37. package/dist/actions/delete-user.d.cts +18 -3
  38. package/dist/actions/delete-user.d.cts.map +1 -1
  39. package/dist/actions/delete-user.d.mts +18 -3
  40. package/dist/actions/delete-user.d.mts.map +1 -1
  41. package/dist/actions/delete-user.mjs +6 -6
  42. package/dist/actions/delete-user.mjs.map +1 -1
  43. package/dist/actions/fetch-company.cjs +9 -9
  44. package/dist/actions/fetch-company.cjs.map +1 -1
  45. package/dist/actions/fetch-company.d.cts +26 -3
  46. package/dist/actions/fetch-company.d.cts.map +1 -1
  47. package/dist/actions/fetch-company.d.mts +26 -3
  48. package/dist/actions/fetch-company.d.mts.map +1 -1
  49. package/dist/actions/fetch-company.mjs +9 -9
  50. package/dist/actions/fetch-company.mjs.map +1 -1
  51. package/dist/actions/fetch-issues.cjs +7 -7
  52. package/dist/actions/fetch-issues.cjs.map +1 -1
  53. package/dist/actions/fetch-issues.d.cts +24 -3
  54. package/dist/actions/fetch-issues.d.cts.map +1 -1
  55. package/dist/actions/fetch-issues.d.mts +24 -3
  56. package/dist/actions/fetch-issues.d.mts.map +1 -1
  57. package/dist/actions/fetch-issues.mjs +7 -7
  58. package/dist/actions/fetch-issues.mjs.map +1 -1
  59. package/dist/actions/fetch-tier.cjs +8 -8
  60. package/dist/actions/fetch-tier.cjs.map +1 -1
  61. package/dist/actions/fetch-tier.d.cts +25 -3
  62. package/dist/actions/fetch-tier.d.cts.map +1 -1
  63. package/dist/actions/fetch-tier.d.mts +25 -3
  64. package/dist/actions/fetch-tier.d.mts.map +1 -1
  65. package/dist/actions/fetch-tier.mjs +8 -8
  66. package/dist/actions/fetch-tier.mjs.map +1 -1
  67. package/dist/actions/get-customer-by-email.cjs +5 -5
  68. package/dist/actions/get-customer-by-email.cjs.map +1 -1
  69. package/dist/actions/get-customer-by-email.d.cts +26 -3
  70. package/dist/actions/get-customer-by-email.d.cts.map +1 -1
  71. package/dist/actions/get-customer-by-email.d.mts +26 -3
  72. package/dist/actions/get-customer-by-email.d.mts.map +1 -1
  73. package/dist/actions/get-customer-by-email.mjs +5 -5
  74. package/dist/actions/get-customer-by-email.mjs.map +1 -1
  75. package/dist/actions/get-customer-by-id.cjs +5 -5
  76. package/dist/actions/get-customer-by-id.cjs.map +1 -1
  77. package/dist/actions/get-customer-by-id.d.cts +13 -3
  78. package/dist/actions/get-customer-by-id.d.cts.map +1 -1
  79. package/dist/actions/get-customer-by-id.d.mts +13 -3
  80. package/dist/actions/get-customer-by-id.d.mts.map +1 -1
  81. package/dist/actions/get-customer-by-id.mjs +5 -5
  82. package/dist/actions/get-customer-by-id.mjs.map +1 -1
  83. package/dist/actions/get-customers.cjs +8 -8
  84. package/dist/actions/get-customers.cjs.map +1 -1
  85. package/dist/actions/get-customers.d.cts +59 -3
  86. package/dist/actions/get-customers.d.cts.map +1 -1
  87. package/dist/actions/get-customers.d.mts +59 -3
  88. package/dist/actions/get-customers.d.mts.map +1 -1
  89. package/dist/actions/get-customers.mjs +8 -8
  90. package/dist/actions/get-customers.mjs.map +1 -1
  91. package/dist/actions/get-thread-by-id.cjs +14 -14
  92. package/dist/actions/get-thread-by-id.cjs.map +1 -1
  93. package/dist/actions/get-thread-by-id.d.cts +63 -3
  94. package/dist/actions/get-thread-by-id.d.cts.map +1 -1
  95. package/dist/actions/get-thread-by-id.d.mts +63 -3
  96. package/dist/actions/get-thread-by-id.d.mts.map +1 -1
  97. package/dist/actions/get-thread-by-id.mjs +14 -14
  98. package/dist/actions/get-thread-by-id.mjs.map +1 -1
  99. package/dist/actions/get-user-by-id.cjs +6 -6
  100. package/dist/actions/get-user-by-id.cjs.map +1 -1
  101. package/dist/actions/get-user-by-id.d.cts +21 -3
  102. package/dist/actions/get-user-by-id.d.cts.map +1 -1
  103. package/dist/actions/get-user-by-id.d.mts +21 -3
  104. package/dist/actions/get-user-by-id.d.mts.map +1 -1
  105. package/dist/actions/get-user-by-id.mjs +6 -6
  106. package/dist/actions/get-user-by-id.mjs.map +1 -1
  107. package/dist/actions/list-customer-groups.cjs +9 -9
  108. package/dist/actions/list-customer-groups.cjs.map +1 -1
  109. package/dist/actions/list-customer-groups.d.cts +40 -3
  110. package/dist/actions/list-customer-groups.d.cts.map +1 -1
  111. package/dist/actions/list-customer-groups.d.mts +40 -3
  112. package/dist/actions/list-customer-groups.d.mts.map +1 -1
  113. package/dist/actions/list-customer-groups.mjs +9 -9
  114. package/dist/actions/list-customer-groups.mjs.map +1 -1
  115. package/dist/actions/list-tiers.cjs +4 -4
  116. package/dist/actions/list-tiers.cjs.map +1 -1
  117. package/dist/actions/list-tiers.d.cts +31 -3
  118. package/dist/actions/list-tiers.d.cts.map +1 -1
  119. package/dist/actions/list-tiers.d.mts +31 -3
  120. package/dist/actions/list-tiers.d.mts.map +1 -1
  121. package/dist/actions/list-tiers.mjs +4 -4
  122. package/dist/actions/list-tiers.mjs.map +1 -1
  123. package/dist/actions/query-threads.cjs +8 -8
  124. package/dist/actions/query-threads.cjs.map +1 -1
  125. package/dist/actions/query-threads.d.cts +31 -3
  126. package/dist/actions/query-threads.d.cts.map +1 -1
  127. package/dist/actions/query-threads.d.mts +31 -3
  128. package/dist/actions/query-threads.d.mts.map +1 -1
  129. package/dist/actions/query-threads.mjs +8 -8
  130. package/dist/actions/query-threads.mjs.map +1 -1
  131. package/dist/actions/remove-customer-from-group.cjs +6 -6
  132. package/dist/actions/remove-customer-from-group.cjs.map +1 -1
  133. package/dist/actions/remove-customer-from-group.d.cts +34 -3
  134. package/dist/actions/remove-customer-from-group.d.cts.map +1 -1
  135. package/dist/actions/remove-customer-from-group.d.mts +34 -3
  136. package/dist/actions/remove-customer-from-group.d.mts.map +1 -1
  137. package/dist/actions/remove-customer-from-group.mjs +6 -6
  138. package/dist/actions/remove-customer-from-group.mjs.map +1 -1
  139. package/dist/actions/run-graphql-query.cjs +3 -3
  140. package/dist/actions/run-graphql-query.cjs.map +1 -1
  141. package/dist/actions/run-graphql-query.d.cts +23 -3
  142. package/dist/actions/run-graphql-query.d.cts.map +1 -1
  143. package/dist/actions/run-graphql-query.d.mts +23 -3
  144. package/dist/actions/run-graphql-query.d.mts.map +1 -1
  145. package/dist/actions/run-graphql-query.mjs +3 -3
  146. package/dist/actions/run-graphql-query.mjs.map +1 -1
  147. package/dist/actions/send-message.cjs +1 -1
  148. package/dist/actions/send-message.cjs.map +1 -1
  149. package/dist/actions/send-message.d.cts +59 -3
  150. package/dist/actions/send-message.d.cts.map +1 -1
  151. package/dist/actions/send-message.d.mts +59 -3
  152. package/dist/actions/send-message.d.mts.map +1 -1
  153. package/dist/actions/send-message.mjs +1 -1
  154. package/dist/actions/send-message.mjs.map +1 -1
  155. package/dist/actions/update-company.cjs +11 -11
  156. package/dist/actions/update-company.cjs.map +1 -1
  157. package/dist/actions/update-company.d.cts +37 -3
  158. package/dist/actions/update-company.d.cts.map +1 -1
  159. package/dist/actions/update-company.d.mts +37 -3
  160. package/dist/actions/update-company.d.mts.map +1 -1
  161. package/dist/actions/update-company.mjs +11 -11
  162. package/dist/actions/update-company.mjs.map +1 -1
  163. package/dist/actions/update-thread.cjs +9 -9
  164. package/dist/actions/update-thread.cjs.map +1 -1
  165. package/dist/actions/update-thread.d.cts +27 -3
  166. package/dist/actions/update-thread.d.cts.map +1 -1
  167. package/dist/actions/update-thread.d.mts +27 -3
  168. package/dist/actions/update-thread.d.mts.map +1 -1
  169. package/dist/actions/update-thread.mjs +9 -9
  170. package/dist/actions/update-thread.mjs.map +1 -1
  171. package/dist/actions/upsert-customer.cjs +10 -10
  172. package/dist/actions/upsert-customer.cjs.map +1 -1
  173. package/dist/actions/upsert-customer.d.cts +110 -3
  174. package/dist/actions/upsert-customer.d.cts.map +1 -1
  175. package/dist/actions/upsert-customer.d.mts +110 -3
  176. package/dist/actions/upsert-customer.d.mts.map +1 -1
  177. package/dist/actions/upsert-customer.mjs +10 -10
  178. package/dist/actions/upsert-customer.mjs.map +1 -1
  179. package/dist/catalog.cjs +7 -1
  180. package/dist/catalog.cjs.map +1 -1
  181. package/dist/catalog.d.cts +8 -0
  182. package/dist/catalog.d.mts +8 -0
  183. package/dist/catalog.mjs +7 -1
  184. package/dist/catalog.mjs.map +1 -1
  185. package/package.json +2 -2
@@ -1,9 +1,69 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-thread.d.ts
4
- declare const PlainCreateThreadInput: z.ZodTypeAny;
5
- declare const PlainCreateThreadOutput: z.ZodTypeAny;
6
- declare const plainCreateThread: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlainCreateThreadInput: z.ZodObject<{
5
+ title: z.ZodString;
6
+ assignedTo: z.ZodOptional<z.ZodObject<{
7
+ userId: z.ZodString;
8
+ }, z.core.$strip>>;
9
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
+ componentText: z.ZodOptional<z.ZodObject<{
11
+ text: z.ZodString;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>>>;
14
+ labelTypeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ customerIdentifier: z.ZodObject<{
16
+ customerId: z.ZodOptional<z.ZodString>;
17
+ externalId: z.ZodOptional<z.ZodString>;
18
+ emailAddress: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ }, z.core.$strip>;
21
+ declare const PlainCreateThreadOutput: z.ZodObject<{
22
+ data: z.ZodNullable<z.ZodObject<{
23
+ createThread: z.ZodNullable<z.ZodObject<{
24
+ thread: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ id: z.ZodNullable<z.ZodString>;
26
+ title: z.ZodNullable<z.ZodString>;
27
+ labels: z.ZodArray<z.ZodObject<{
28
+ id: z.ZodNullable<z.ZodString>;
29
+ labelType: z.ZodNullable<z.ZodObject<{
30
+ id: z.ZodNullable<z.ZodString>;
31
+ name: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>>;
34
+ status: z.ZodNullable<z.ZodString>;
35
+ customer: z.ZodNullable<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodString>;
37
+ email: z.ZodNullable<z.ZodObject<{
38
+ email: z.ZodNullable<z.ZodString>;
39
+ }, z.core.$strip>>;
40
+ fullName: z.ZodNullable<z.ZodString>;
41
+ }, z.core.$strip>>;
42
+ priority: z.ZodNullable<z.ZodNumber>;
43
+ statusChangedAt: z.ZodNullable<z.ZodObject<{
44
+ iso8601: z.ZodNullable<z.ZodString>;
45
+ }, z.core.$strip>>;
46
+ }, z.core.$strip>>>;
47
+ }, z.core.$strip>>;
48
+ }, z.core.$strip>>;
49
+ }, z.core.$strip>;
50
+ declare const plainCreateThread: import("@keystrokehq/action").WorkflowActionDefinition<{
51
+ title: string;
52
+ customerIdentifier: {
53
+ customerId?: string | undefined;
54
+ externalId?: string | undefined;
55
+ emailAddress?: string | undefined;
56
+ };
57
+ assignedTo?: {
58
+ userId: string;
59
+ } | undefined;
60
+ components?: {
61
+ componentText?: {
62
+ text: string;
63
+ } | undefined;
64
+ }[] | undefined;
65
+ labelTypeIds?: string[] | undefined;
66
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
67
  //#endregion
8
68
  export { plainCreateThread };
9
69
  //# sourceMappingURL=create-thread.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-thread.d.cts","names":[],"sources":["../../src/actions/create-thread.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAgBrC;AAAA,cAmCW,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-thread.d.cts","names":[],"sources":["../../src/actions/create-thread.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,69 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-thread.d.ts
4
- declare const PlainCreateThreadInput: z.ZodTypeAny;
5
- declare const PlainCreateThreadOutput: z.ZodTypeAny;
6
- declare const plainCreateThread: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlainCreateThreadInput: z.ZodObject<{
5
+ title: z.ZodString;
6
+ assignedTo: z.ZodOptional<z.ZodObject<{
7
+ userId: z.ZodString;
8
+ }, z.core.$strip>>;
9
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
+ componentText: z.ZodOptional<z.ZodObject<{
11
+ text: z.ZodString;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>>>;
14
+ labelTypeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ customerIdentifier: z.ZodObject<{
16
+ customerId: z.ZodOptional<z.ZodString>;
17
+ externalId: z.ZodOptional<z.ZodString>;
18
+ emailAddress: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ }, z.core.$strip>;
21
+ declare const PlainCreateThreadOutput: z.ZodObject<{
22
+ data: z.ZodNullable<z.ZodObject<{
23
+ createThread: z.ZodNullable<z.ZodObject<{
24
+ thread: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ id: z.ZodNullable<z.ZodString>;
26
+ title: z.ZodNullable<z.ZodString>;
27
+ labels: z.ZodArray<z.ZodObject<{
28
+ id: z.ZodNullable<z.ZodString>;
29
+ labelType: z.ZodNullable<z.ZodObject<{
30
+ id: z.ZodNullable<z.ZodString>;
31
+ name: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>>;
34
+ status: z.ZodNullable<z.ZodString>;
35
+ customer: z.ZodNullable<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodString>;
37
+ email: z.ZodNullable<z.ZodObject<{
38
+ email: z.ZodNullable<z.ZodString>;
39
+ }, z.core.$strip>>;
40
+ fullName: z.ZodNullable<z.ZodString>;
41
+ }, z.core.$strip>>;
42
+ priority: z.ZodNullable<z.ZodNumber>;
43
+ statusChangedAt: z.ZodNullable<z.ZodObject<{
44
+ iso8601: z.ZodNullable<z.ZodString>;
45
+ }, z.core.$strip>>;
46
+ }, z.core.$strip>>>;
47
+ }, z.core.$strip>>;
48
+ }, z.core.$strip>>;
49
+ }, z.core.$strip>;
50
+ declare const plainCreateThread: import("@keystrokehq/action").WorkflowActionDefinition<{
51
+ title: string;
52
+ customerIdentifier: {
53
+ customerId?: string | undefined;
54
+ externalId?: string | undefined;
55
+ emailAddress?: string | undefined;
56
+ };
57
+ assignedTo?: {
58
+ userId: string;
59
+ } | undefined;
60
+ components?: {
61
+ componentText?: {
62
+ text: string;
63
+ } | undefined;
64
+ }[] | undefined;
65
+ labelTypeIds?: string[] | undefined;
66
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
67
  //#endregion
8
68
  export { plainCreateThread };
9
69
  //# sourceMappingURL=create-thread.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-thread.d.mts","names":[],"sources":["../../src/actions/create-thread.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAgBrC;AAAA,cAmCW,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-thread.d.mts","names":[],"sources":["../../src/actions/create-thread.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -13,27 +13,27 @@ const PlainCreateThreadInput = z.object({
13
13
  }).describe("Identifier object for the customer")
14
14
  });
15
15
  const PlainCreateThread_ThreadLabelTypeSchema = z.object({
16
- id: z.string().describe("LabelType unique identifier"),
17
- name: z.string().describe("LabelType name")
16
+ id: z.string().describe("LabelType unique identifier").nullable(),
17
+ name: z.string().describe("LabelType name").nullable()
18
18
  });
19
19
  const PlainCreateThread_ThreadLabelSchema = z.object({
20
- id: z.string().describe("Label unique identifier"),
20
+ id: z.string().describe("Label unique identifier").nullable(),
21
21
  labelType: PlainCreateThread_ThreadLabelTypeSchema.nullable()
22
22
  });
23
- const PlainCreateThread_CustomerEmailSchema = z.object({ email: z.string().describe("Email address of the customer") });
23
+ const PlainCreateThread_CustomerEmailSchema = z.object({ email: z.string().describe("Email address of the customer").nullable() });
24
24
  const PlainCreateThread_CustomerSchema = z.object({
25
- id: z.string().describe("Customer unique identifier"),
25
+ id: z.string().describe("Customer unique identifier").nullable(),
26
26
  email: PlainCreateThread_CustomerEmailSchema.nullable(),
27
- fullName: z.string().describe("Full name of the customer")
27
+ fullName: z.string().describe("Full name of the customer").nullable()
28
28
  });
29
- const PlainCreateThread_StatusChangedAtSchema = z.object({ iso8601: z.string().describe("Timestamp of last status change in ISO8601 format") });
29
+ const PlainCreateThread_StatusChangedAtSchema = z.object({ iso8601: z.string().describe("Timestamp of last status change in ISO8601 format").nullable() });
30
30
  const PlainCreateThread_ThreadSchema = z.object({
31
- id: z.string().describe("Thread unique identifier"),
32
- title: z.string().describe("Title of the thread"),
31
+ id: z.string().describe("Thread unique identifier").nullable(),
32
+ title: z.string().describe("Title of the thread").nullable(),
33
33
  labels: z.array(PlainCreateThread_ThreadLabelSchema).describe("Labels assigned to the thread"),
34
- status: z.string().describe("Current status of the thread"),
34
+ status: z.string().describe("Current status of the thread").nullable(),
35
35
  customer: PlainCreateThread_CustomerSchema.nullable(),
36
- priority: z.number().int().describe("Priority level of the thread"),
36
+ priority: z.number().int().describe("Priority level of the thread").nullable(),
37
37
  statusChangedAt: PlainCreateThread_StatusChangedAtSchema.nullable()
38
38
  });
39
39
  const PlainCreateThread_CreateThreadDataSchema = z.object({ thread: PlainCreateThread_ThreadSchema.nullable().optional() });
@@ -1 +1 @@
1
- {"version":3,"file":"create-thread.mjs","names":[],"sources":["../../src/actions/create-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainCreateThreadInput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the new thread\"),\n assignedTo: z.object({\n userId: z.string().describe(\"Plain user ID to assign the thread to\"),\n}).describe(\"Optional user assignment for the thread\").optional(),\n components: z.array(z.object({\n componentText: z.object({\n text: z.string().describe(\"Text content of the component\"),\n}).describe(\"A text component to include in the thread\").optional(),\n})).describe(\"Optional list of content components for the thread\").optional(),\n labelTypeIds: z.array(z.string()).describe(\"Optional list of label type IDs to assign\").optional(),\n customerIdentifier: z.object({\n customerId: z.string().describe(\"Plain customer ID to identify the customer\").optional(),\n externalId: z.string().describe(\"External ID for the customer\").optional(),\n emailAddress: z.string().describe(\"Email address of the customer\").optional(),\n}).describe(\"Identifier object for the customer\"),\n});\nconst PlainCreateThread_ThreadLabelTypeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"LabelType unique identifier\"),\n name: z.string().describe(\"LabelType name\"),\n});\nconst PlainCreateThread_ThreadLabelSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Label unique identifier\"),\n labelType: PlainCreateThread_ThreadLabelTypeSchema.nullable(),\n});\nconst PlainCreateThread_CustomerEmailSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the customer\"),\n});\nconst PlainCreateThread_CustomerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Customer unique identifier\"),\n email: PlainCreateThread_CustomerEmailSchema.nullable(),\n fullName: z.string().describe(\"Full name of the customer\"),\n});\nconst PlainCreateThread_StatusChangedAtSchema: z.ZodTypeAny = z.object({\n iso8601: z.string().describe(\"Timestamp of last status change in ISO8601 format\"),\n});\nconst PlainCreateThread_ThreadSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Thread unique identifier\"),\n title: z.string().describe(\"Title of the thread\"),\n labels: z.array(PlainCreateThread_ThreadLabelSchema).describe(\"Labels assigned to the thread\"),\n status: z.string().describe(\"Current status of the thread\"),\n customer: PlainCreateThread_CustomerSchema.nullable(),\n priority: z.number().int().describe(\"Priority level of the thread\"),\n statusChangedAt: PlainCreateThread_StatusChangedAtSchema.nullable(),\n});\nconst PlainCreateThread_CreateThreadDataSchema: z.ZodTypeAny = z.object({\n thread: PlainCreateThread_ThreadSchema.nullable().optional(),\n});\nconst PlainCreateThread_CreateThreadPayloadSchema: z.ZodTypeAny = z.object({\n createThread: PlainCreateThread_CreateThreadDataSchema.nullable(),\n});\nexport const PlainCreateThreadOutput: z.ZodTypeAny = z.object({\n data: PlainCreateThread_CreateThreadPayloadSchema.nullable(),\n});\n\nexport const plainCreateThread = action(\"PLAIN_CREATE_THREAD\", {\n slug: \"plain-create-thread\",\n name: \"Create Thread\",\n description: \"Tool to create a new thread. Use after obtaining valid customer identifier.\",\n input: PlainCreateThreadInput,\n output: PlainCreateThreadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,YAAY,EAAE,OAAO,EACrB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,MAAM,EAAE,OAAO,EAC7B,eAAe,EAAE,OAAO,EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EAC3D,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1E,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,oBAAoB,EAAE,OAAO;EAC7B,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAC5C,CAAC;AACD,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACjD,WAAW,wCAAwC,SAAS;AAC9D,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO,EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EAC5D,CAAC;AACD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,OAAO,sCAAsC,SAAS;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAC3D,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO,EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAClF,CAAC;AACD,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAChD,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+BAA+B;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,UAAU,iCAAiC,SAAS;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAClE,iBAAiB,wCAAwC,SAAS;AACpE,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO,EACtE,QAAQ,+BAA+B,SAAS,CAAC,CAAC,SAAS,EAC7D,CAAC;AACD,MAAM,8CAA4D,EAAE,OAAO,EACzE,cAAc,yCAAyC,SAAS,EAClE,CAAC;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,4CAA4C,SAAS,EAC7D,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-thread.mjs","names":[],"sources":["../../src/actions/create-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainCreateThreadInput = z.object({\n title: z.string().describe(\"Title of the new thread\"),\n assignedTo: z.object({\n userId: z.string().describe(\"Plain user ID to assign the thread to\"),\n}).describe(\"Optional user assignment for the thread\").optional(),\n components: z.array(z.object({\n componentText: z.object({\n text: z.string().describe(\"Text content of the component\"),\n}).describe(\"A text component to include in the thread\").optional(),\n})).describe(\"Optional list of content components for the thread\").optional(),\n labelTypeIds: z.array(z.string()).describe(\"Optional list of label type IDs to assign\").optional(),\n customerIdentifier: z.object({\n customerId: z.string().describe(\"Plain customer ID to identify the customer\").optional(),\n externalId: z.string().describe(\"External ID for the customer\").optional(),\n emailAddress: z.string().describe(\"Email address of the customer\").optional(),\n}).describe(\"Identifier object for the customer\"),\n});\nconst PlainCreateThread_ThreadLabelTypeSchema = z.object({\n id: z.string().describe(\"LabelType unique identifier\").nullable(),\n name: z.string().describe(\"LabelType name\").nullable(),\n});\nconst PlainCreateThread_ThreadLabelSchema = z.object({\n id: z.string().describe(\"Label unique identifier\").nullable(),\n labelType: PlainCreateThread_ThreadLabelTypeSchema.nullable(),\n});\nconst PlainCreateThread_CustomerEmailSchema = z.object({\n email: z.string().describe(\"Email address of the customer\").nullable(),\n});\nconst PlainCreateThread_CustomerSchema = z.object({\n id: z.string().describe(\"Customer unique identifier\").nullable(),\n email: PlainCreateThread_CustomerEmailSchema.nullable(),\n fullName: z.string().describe(\"Full name of the customer\").nullable(),\n});\nconst PlainCreateThread_StatusChangedAtSchema = z.object({\n iso8601: z.string().describe(\"Timestamp of last status change in ISO8601 format\").nullable(),\n});\nconst PlainCreateThread_ThreadSchema = z.object({\n id: z.string().describe(\"Thread unique identifier\").nullable(),\n title: z.string().describe(\"Title of the thread\").nullable(),\n labels: z.array(PlainCreateThread_ThreadLabelSchema).describe(\"Labels assigned to the thread\"),\n status: z.string().describe(\"Current status of the thread\").nullable(),\n customer: PlainCreateThread_CustomerSchema.nullable(),\n priority: z.number().int().describe(\"Priority level of the thread\").nullable(),\n statusChangedAt: PlainCreateThread_StatusChangedAtSchema.nullable(),\n});\nconst PlainCreateThread_CreateThreadDataSchema = z.object({\n thread: PlainCreateThread_ThreadSchema.nullable().optional(),\n});\nconst PlainCreateThread_CreateThreadPayloadSchema = z.object({\n createThread: PlainCreateThread_CreateThreadDataSchema.nullable(),\n});\nexport const PlainCreateThreadOutput = z.object({\n data: PlainCreateThread_CreateThreadPayloadSchema.nullable(),\n});\n\nexport const plainCreateThread = action(\"PLAIN_CREATE_THREAD\", {\n slug: \"plain-create-thread\",\n name: \"Create Thread\",\n description: \"Tool to create a new thread. Use after obtaining valid customer identifier.\",\n input: PlainCreateThreadInput,\n output: PlainCreateThreadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,YAAY,EAAE,OAAO,EACrB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,MAAM,EAAE,OAAO,EAC7B,eAAe,EAAE,OAAO,EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EAC3D,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1E,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,oBAAoB,EAAE,OAAO;EAC7B,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AACvD,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,WAAW,wCAAwC,SAAS;AAC9D,CAAC;AACD,MAAM,wCAAwC,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACvE,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,sCAAsC,SAAS;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EAC7F,CAAC;AACD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+BAA+B;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,UAAU,iCAAiC,SAAS;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,iBAAiB,wCAAwC,SAAS;AACpE,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO,EACxD,QAAQ,+BAA+B,SAAS,CAAC,CAAC,SAAS,EAC7D,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,cAAc,yCAAyC,SAAS,EAClE,CAAC;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,4CAA4C,SAAS,EAC7D,CAOU;AACV,CAAC"}
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-customer.ts
4
4
  const PlainDeleteCustomerInput = zod.z.object({ customer_id: zod.z.string().describe("Unique identifier of the customer to delete, as returned by the Plain API.") });
5
5
  const PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = zod.z.object({
6
- type: zod.z.string().describe("Type of the error for the field."),
7
- field: zod.z.string().describe("Name of the field with the error."),
8
- message: zod.z.string().describe("Validation message for the field.")
6
+ type: zod.z.string().describe("Type of the error for the field.").nullable(),
7
+ field: zod.z.string().describe("Name of the field with the error.").nullable(),
8
+ message: zod.z.string().describe("Validation message for the field.").nullable()
9
9
  });
10
10
  const PlainDeleteCustomer_DeleteCustomerErrorSchema = zod.z.object({
11
- code: zod.z.string().describe("Error code."),
12
- type: zod.z.string().describe("Error type."),
11
+ code: zod.z.string().describe("Error code.").nullable(),
12
+ type: zod.z.string().describe("Error type.").nullable(),
13
13
  fields: zod.z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe("List of field-specific errors."),
14
- message: zod.z.string().describe("Error message.")
14
+ message: zod.z.string().describe("Error message.").nullable()
15
15
  });
16
16
  const PlainDeleteCustomerOutput = zod.z.object({ error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional() });
17
17
  const plainDeleteCustomer = require_action.action("PLAIN_DELETE_CUSTOMER", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-customer.cjs","names":["z","action"],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteCustomerInput: z.ZodTypeAny = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorFieldSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of the error for the field.\"),\n field: z.string().describe(\"Name of the field with the error.\"),\n message: z.string().describe(\"Validation message for the field.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error code.\"),\n type: z.string().describe(\"Error type.\"),\n fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\"),\n});\nexport const PlainDeleteCustomerOutput: z.ZodTypeAny = z.object({\n error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteCustomer = action(\"PLAIN_DELETE_CUSTOMER\", {\n slug: \"plain-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from the system. Use when you need to remove a customer by their ID.\",\n input: PlainDeleteCustomerInput,\n output: PlainDeleteCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC;AACD,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAClE,CAAC;AACD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,QAAQA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAC/C,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAO,8CAA8C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-customer.cjs","names":["z","action"],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteCustomerInput = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n});\nexport const PlainDeleteCustomerOutput = z.object({\n error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteCustomer = action(\"PLAIN_DELETE_CUSTOMER\", {\n slug: \"plain-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from the system. Use when you need to remove a customer by their ID.\",\n input: PlainDeleteCustomerInput,\n output: PlainDeleteCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,QAAQA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAO,8CAA8C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-customer.d.ts
4
- declare const PlainDeleteCustomerInput: z.ZodTypeAny;
5
- declare const PlainDeleteCustomerOutput: z.ZodTypeAny;
6
- declare const plainDeleteCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlainDeleteCustomerInput: z.ZodObject<{
5
+ customer_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlainDeleteCustomerOutput: z.ZodObject<{
8
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ code: z.ZodNullable<z.ZodString>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ fields: z.ZodArray<z.ZodObject<{
12
+ type: z.ZodNullable<z.ZodString>;
13
+ field: z.ZodNullable<z.ZodString>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ message: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>>;
18
+ }, z.core.$strip>;
19
+ declare const plainDeleteCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ customer_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { plainDeleteCustomer };
9
24
  //# sourceMappingURL=delete-customer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-customer.d.cts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAYW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-customer.d.cts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-customer.d.ts
4
- declare const PlainDeleteCustomerInput: z.ZodTypeAny;
5
- declare const PlainDeleteCustomerOutput: z.ZodTypeAny;
6
- declare const plainDeleteCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlainDeleteCustomerInput: z.ZodObject<{
5
+ customer_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlainDeleteCustomerOutput: z.ZodObject<{
8
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ code: z.ZodNullable<z.ZodString>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ fields: z.ZodArray<z.ZodObject<{
12
+ type: z.ZodNullable<z.ZodString>;
13
+ field: z.ZodNullable<z.ZodString>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ message: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>>;
18
+ }, z.core.$strip>;
19
+ declare const plainDeleteCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ customer_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { plainDeleteCustomer };
9
24
  //# sourceMappingURL=delete-customer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-customer.d.mts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAYW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-customer.d.mts","names":[],"sources":["../../src/actions/delete-customer.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -3,15 +3,15 @@ import { z } from "zod";
3
3
  //#region src/actions/delete-customer.ts
4
4
  const PlainDeleteCustomerInput = z.object({ customer_id: z.string().describe("Unique identifier of the customer to delete, as returned by the Plain API.") });
5
5
  const PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = z.object({
6
- type: z.string().describe("Type of the error for the field."),
7
- field: z.string().describe("Name of the field with the error."),
8
- message: z.string().describe("Validation message for the field.")
6
+ type: z.string().describe("Type of the error for the field.").nullable(),
7
+ field: z.string().describe("Name of the field with the error.").nullable(),
8
+ message: z.string().describe("Validation message for the field.").nullable()
9
9
  });
10
10
  const PlainDeleteCustomer_DeleteCustomerErrorSchema = z.object({
11
- code: z.string().describe("Error code."),
12
- type: z.string().describe("Error type."),
11
+ code: z.string().describe("Error code.").nullable(),
12
+ type: z.string().describe("Error type.").nullable(),
13
13
  fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe("List of field-specific errors."),
14
- message: z.string().describe("Error message.")
14
+ message: z.string().describe("Error message.").nullable()
15
15
  });
16
16
  const plainDeleteCustomer = action("PLAIN_DELETE_CUSTOMER", {
17
17
  slug: "plain-delete-customer",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-customer.mjs","names":[],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteCustomerInput: z.ZodTypeAny = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorFieldSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of the error for the field.\"),\n field: z.string().describe(\"Name of the field with the error.\"),\n message: z.string().describe(\"Validation message for the field.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error code.\"),\n type: z.string().describe(\"Error type.\"),\n fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\"),\n});\nexport const PlainDeleteCustomerOutput: z.ZodTypeAny = z.object({\n error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteCustomer = action(\"PLAIN_DELETE_CUSTOMER\", {\n slug: \"plain-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from the system. Use when you need to remove a customer by their ID.\",\n input: PlainDeleteCustomerInput,\n output: PlainDeleteCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC;AACD,MAAM,qDAAmE,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAClE,CAAC;AACD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,QAAQ,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAC/C,CAAC;AAKD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,OAAO,8CAA8C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-customer.mjs","names":[],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteCustomerInput = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n});\nexport const PlainDeleteCustomerOutput = z.object({\n error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteCustomer = action(\"PLAIN_DELETE_CUSTOMER\", {\n slug: \"plain-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from the system. Use when you need to remove a customer by their ID.\",\n input: PlainDeleteCustomerInput,\n output: PlainDeleteCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,QAAQ,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC;AAKD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,8CAA8C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAOU;AACV,CAAC"}
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-user.ts
4
4
  const PlainDeleteUserInput = zod.z.object({ user_id: zod.z.string().describe("Unique identifier of the user to delete, as returned by the Plain API.") });
5
5
  const PlainDeleteUser_DeleteUserErrorFieldSchema = zod.z.object({
6
- type: zod.z.string().describe("Type of the error for the field."),
7
- field: zod.z.string().describe("Name of the field with the error."),
8
- message: zod.z.string().describe("Validation message for the field.")
6
+ type: zod.z.string().describe("Type of the error for the field.").nullable(),
7
+ field: zod.z.string().describe("Name of the field with the error.").nullable(),
8
+ message: zod.z.string().describe("Validation message for the field.").nullable()
9
9
  });
10
10
  const PlainDeleteUser_DeleteUserErrorSchema = zod.z.object({
11
- code: zod.z.string().describe("Error code."),
12
- type: zod.z.string().describe("Error type."),
11
+ code: zod.z.string().describe("Error code.").nullable(),
12
+ type: zod.z.string().describe("Error type.").nullable(),
13
13
  fields: zod.z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe("List of field-specific errors."),
14
- message: zod.z.string().describe("Error message.")
14
+ message: zod.z.string().describe("Error message.").nullable()
15
15
  });
16
16
  const PlainDeleteUserOutput = zod.z.object({ error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional() });
17
17
  const plainDeleteUser = require_action.action("PLAIN_DELETE_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique identifier of the user to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorFieldSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of the error for the field.\"),\n field: z.string().describe(\"Name of the field with the error.\"),\n message: z.string().describe(\"Validation message for the field.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error code.\"),\n type: z.string().describe(\"Error type.\"),\n fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\"),\n});\nexport const PlainDeleteUserOutput: z.ZodTypeAny = z.object({\n error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteUser = action(\"PLAIN_DELETE_USER\", {\n slug: \"plain-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.\",\n input: PlainDeleteUserInput,\n output: PlainDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC;AACD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAClE,CAAC;AACD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAC/C,CAAC;AACD,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAO,sCAAsC,SAAS,CAAC,CAAC,SAAS,EACnE,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique identifier of the user to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n});\nconst PlainDeleteUser_DeleteUserErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n});\nexport const PlainDeleteUserOutput = z.object({\n error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteUser = action(\"PLAIN_DELETE_USER\", {\n slug: \"plain-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.\",\n input: PlainDeleteUserInput,\n output: PlainDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,OAAO,sCAAsC,SAAS,CAAC,CAAC,SAAS,EACnE,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user.d.ts
4
- declare const PlainDeleteUserInput: z.ZodTypeAny;
5
- declare const PlainDeleteUserOutput: z.ZodTypeAny;
6
- declare const plainDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlainDeleteUserInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlainDeleteUserOutput: z.ZodObject<{
8
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ code: z.ZodNullable<z.ZodString>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ fields: z.ZodArray<z.ZodObject<{
12
+ type: z.ZodNullable<z.ZodString>;
13
+ field: z.ZodNullable<z.ZodString>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ message: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>>;
18
+ }, z.core.$strip>;
19
+ declare const plainDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ user_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { plainDeleteUser };
9
24
  //# sourceMappingURL=delete-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cAYW,qBAAA,EAAuB,CAAA,CAAE,UAEpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user.d.ts
4
- declare const PlainDeleteUserInput: z.ZodTypeAny;
5
- declare const PlainDeleteUserOutput: z.ZodTypeAny;
6
- declare const plainDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlainDeleteUserInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlainDeleteUserOutput: z.ZodObject<{
8
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ code: z.ZodNullable<z.ZodString>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ fields: z.ZodArray<z.ZodObject<{
12
+ type: z.ZodNullable<z.ZodString>;
13
+ field: z.ZodNullable<z.ZodString>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ message: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>>;
18
+ }, z.core.$strip>;
19
+ declare const plainDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ user_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { plainDeleteUser };
9
24
  //# sourceMappingURL=delete-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cAYW,qBAAA,EAAuB,CAAA,CAAE,UAEpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
@@ -3,15 +3,15 @@ import { z } from "zod";
3
3
  //#region src/actions/delete-user.ts
4
4
  const PlainDeleteUserInput = z.object({ user_id: z.string().describe("Unique identifier of the user to delete, as returned by the Plain API.") });
5
5
  const PlainDeleteUser_DeleteUserErrorFieldSchema = z.object({
6
- type: z.string().describe("Type of the error for the field."),
7
- field: z.string().describe("Name of the field with the error."),
8
- message: z.string().describe("Validation message for the field.")
6
+ type: z.string().describe("Type of the error for the field.").nullable(),
7
+ field: z.string().describe("Name of the field with the error.").nullable(),
8
+ message: z.string().describe("Validation message for the field.").nullable()
9
9
  });
10
10
  const PlainDeleteUser_DeleteUserErrorSchema = z.object({
11
- code: z.string().describe("Error code."),
12
- type: z.string().describe("Error type."),
11
+ code: z.string().describe("Error code.").nullable(),
12
+ type: z.string().describe("Error type.").nullable(),
13
13
  fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe("List of field-specific errors."),
14
- message: z.string().describe("Error message.")
14
+ message: z.string().describe("Error message.").nullable()
15
15
  });
16
16
  const plainDeleteUser = action("PLAIN_DELETE_USER", {
17
17
  slug: "plain-delete-user",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"Unique identifier of the user to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorFieldSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of the error for the field.\"),\n field: z.string().describe(\"Name of the field with the error.\"),\n message: z.string().describe(\"Validation message for the field.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Error code.\"),\n type: z.string().describe(\"Error type.\"),\n fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\"),\n});\nexport const PlainDeleteUserOutput: z.ZodTypeAny = z.object({\n error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteUser = action(\"PLAIN_DELETE_USER\", {\n slug: \"plain-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.\",\n input: PlainDeleteUserInput,\n output: PlainDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC;AACD,MAAM,6CAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAClE,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;CACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAC/C,CAAC;AAKD,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,OAAO,sCAAsC,SAAS,CAAC,CAAC,SAAS,EACnE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique identifier of the user to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n});\nconst PlainDeleteUser_DeleteUserErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n});\nexport const PlainDeleteUserOutput = z.object({\n error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteUser = action(\"PLAIN_DELETE_USER\", {\n slug: \"plain-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.\",\n input: PlainDeleteUserInput,\n output: PlainDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;CACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC;AAKD,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,OAAO,sCAAsC,SAAS,CAAC,CAAC,SAAS,EACnE,CAOU;AACV,CAAC"}
@@ -2,21 +2,21 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/fetch-company.ts
4
4
  const PlainFetchCompanyInput = zod.z.object({ company_id: zod.z.string().describe("Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.") }).describe("Input parameters for fetching a company by ID\n\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').");
5
- const PlainFetchCompany_Iso8601DateTimeSchema = zod.z.object({ iso8601: zod.z.string().describe("Timestamp in ISO 8601 format") }).describe("Represents a DateTime with ISO8601 format.");
5
+ const PlainFetchCompany_Iso8601DateTimeSchema = zod.z.object({ iso8601: zod.z.string().describe("Timestamp in ISO 8601 format").nullable() }).describe("Represents a DateTime with ISO8601 format.");
6
6
  const PlainFetchCompany_CompanyAccountOwnerSchema = zod.z.object({
7
- id: zod.z.string().describe("Unique ID of the account owner user"),
8
- email: zod.z.string().describe("Email address of the account owner user"),
9
- fullName: zod.z.string().describe("Full name of the account owner user"),
10
- publicName: zod.z.string().describe("Public display name of the account owner user")
7
+ id: zod.z.string().describe("Unique ID of the account owner user").nullable(),
8
+ email: zod.z.string().describe("Email address of the account owner user").nullable(),
9
+ fullName: zod.z.string().describe("Full name of the account owner user").nullable(),
10
+ publicName: zod.z.string().describe("Public display name of the account owner user").nullable()
11
11
  });
12
12
  const PlainFetchCompanyOutput = zod.z.object({
13
- id: zod.z.string().describe("Unique ID of the company"),
14
- name: zod.z.string().describe("Name of the company"),
13
+ id: zod.z.string().describe("Unique ID of the company").nullable(),
14
+ name: zod.z.string().describe("Name of the company").nullable(),
15
15
  logoUrl: zod.z.string().describe("URL of the company's logo, if available").nullable().optional(),
16
16
  createdAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),
17
- isDeleted: zod.z.boolean().describe("Flag indicating if the company is deleted"),
17
+ isDeleted: zod.z.boolean().describe("Flag indicating if the company is deleted").nullable(),
18
18
  updatedAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),
19
- domainName: zod.z.string().describe("Domain name of the company"),
19
+ domainName: zod.z.string().describe("Domain name of the company").nullable(),
20
20
  accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),
21
21
  contractValue: zod.z.number().int().describe("Contract value for the company, if any").nullable().optional()
22
22
  }).describe("Response model for company details");
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-company.cjs","names":["z","action"],"sources":["../../src/actions/fetch-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchCompanyInput: z.ZodTypeAny = z.object({\n company_id: z.string().describe(\"Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.\"),\n}).describe(\"Input parameters for fetching a company by ID\\n\\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').\");\nconst PlainFetchCompany_Iso8601DateTimeSchema: z.ZodTypeAny = z.object({\n iso8601: z.string().describe(\"Timestamp in ISO 8601 format\"),\n}).describe(\"Represents a DateTime with ISO8601 format.\");\nconst PlainFetchCompany_CompanyAccountOwnerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the account owner user\"),\n email: z.string().describe(\"Email address of the account owner user\"),\n fullName: z.string().describe(\"Full name of the account owner user\"),\n publicName: z.string().describe(\"Public display name of the account owner user\"),\n});\nexport const PlainFetchCompanyOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the company\"),\n name: z.string().describe(\"Name of the company\"),\n logoUrl: z.string().describe(\"URL of the company's logo, if available\").nullable().optional(),\n createdAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n isDeleted: z.boolean().describe(\"Flag indicating if the company is deleted\"),\n updatedAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n domainName: z.string().describe(\"Domain name of the company\"),\n accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),\n contractValue: z.number().int().describe(\"Contract value for the company, if any\").nullable().optional(),\n}).describe(\"Response model for company details\");\n\nexport const plainFetchCompany = action(\"PLAIN_FETCH_COMPANY\", {\n slug: \"plain-fetch-company\",\n name: \"Fetch Company\",\n description: \"Tool to fetch company details by ID. Use when you need the full profile of a company, including name, domain, contract value, owner info, and timestamps.\",\n input: PlainFetchCompanyInput,\n output: PlainFetchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,0CAAwDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EAC7D,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACjF,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,wCAAwC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,WAAW,wCAAwC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC5D,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-company.cjs","names":["z","action"],"sources":["../../src/actions/fetch-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchCompanyInput = z.object({\n company_id: z.string().describe(\"Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.\"),\n}).describe(\"Input parameters for fetching a company by ID\\n\\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').\");\nconst PlainFetchCompany_Iso8601DateTimeSchema = z.object({\n iso8601: z.string().describe(\"Timestamp in ISO 8601 format\").nullable(),\n}).describe(\"Represents a DateTime with ISO8601 format.\");\nconst PlainFetchCompany_CompanyAccountOwnerSchema = z.object({\n id: z.string().describe(\"Unique ID of the account owner user\").nullable(),\n email: z.string().describe(\"Email address of the account owner user\").nullable(),\n fullName: z.string().describe(\"Full name of the account owner user\").nullable(),\n publicName: z.string().describe(\"Public display name of the account owner user\").nullable(),\n});\nexport const PlainFetchCompanyOutput = z.object({\n id: z.string().describe(\"Unique ID of the company\").nullable(),\n name: z.string().describe(\"Name of the company\").nullable(),\n logoUrl: z.string().describe(\"URL of the company's logo, if available\").nullable().optional(),\n createdAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n isDeleted: z.boolean().describe(\"Flag indicating if the company is deleted\").nullable(),\n updatedAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n domainName: z.string().describe(\"Domain name of the company\").nullable(),\n accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),\n contractValue: z.number().int().describe(\"Contract value for the company, if any\").nullable().optional(),\n}).describe(\"Response model for company details\");\n\nexport const plainFetchCompany = action(\"PLAIN_FETCH_COMPANY\", {\n slug: \"plain-fetch-company\",\n name: \"Fetch Company\",\n description: \"Tool to fetch company details by ID. Use when you need the full profile of a company, including name, domain, contract value, owner info, and timestamps.\",\n input: PlainFetchCompanyInput,\n output: PlainFetchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,wCAAwC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,WAAW,wCAAwC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/fetch-company.d.ts
4
- declare const PlainFetchCompanyInput: z.ZodTypeAny;
5
- declare const PlainFetchCompanyOutput: z.ZodTypeAny;
6
- declare const plainFetchCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlainFetchCompanyInput: z.ZodObject<{
5
+ company_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlainFetchCompanyOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ createdAt: z.ZodNullable<z.ZodObject<{
12
+ iso8601: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$strip>>;
14
+ isDeleted: z.ZodNullable<z.ZodBoolean>;
15
+ updatedAt: z.ZodNullable<z.ZodObject<{
16
+ iso8601: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>;
18
+ domainName: z.ZodNullable<z.ZodString>;
19
+ accountOwner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodString>;
21
+ email: z.ZodNullable<z.ZodString>;
22
+ fullName: z.ZodNullable<z.ZodString>;
23
+ publicName: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$strip>>>;
25
+ contractValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ }, z.core.$strip>;
27
+ declare const plainFetchCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ company_id: string;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { plainFetchCompany };
9
32
  //# sourceMappingURL=fetch-company.d.cts.map