@keystrokehq/nusii_proposals 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/archive-proposal.cjs +32 -0
  7. package/dist/actions/archive-proposal.cjs.map +1 -0
  8. package/dist/actions/archive-proposal.d.cts +9 -0
  9. package/dist/actions/archive-proposal.d.cts.map +1 -0
  10. package/dist/actions/archive-proposal.d.mts +9 -0
  11. package/dist/actions/archive-proposal.d.mts.map +1 -0
  12. package/dist/actions/archive-proposal.mjs +31 -0
  13. package/dist/actions/archive-proposal.mjs.map +1 -0
  14. package/dist/actions/create-client.cjs +49 -0
  15. package/dist/actions/create-client.cjs.map +1 -0
  16. package/dist/actions/create-client.d.cts +9 -0
  17. package/dist/actions/create-client.d.cts.map +1 -0
  18. package/dist/actions/create-client.d.mts +9 -0
  19. package/dist/actions/create-client.d.mts.map +1 -0
  20. package/dist/actions/create-client.mjs +46 -0
  21. package/dist/actions/create-client.mjs.map +1 -0
  22. package/dist/actions/create-line-item.cjs +40 -0
  23. package/dist/actions/create-line-item.cjs.map +1 -0
  24. package/dist/actions/create-line-item.d.cts +9 -0
  25. package/dist/actions/create-line-item.d.cts.map +1 -0
  26. package/dist/actions/create-line-item.d.mts +9 -0
  27. package/dist/actions/create-line-item.d.mts.map +1 -0
  28. package/dist/actions/create-line-item.mjs +39 -0
  29. package/dist/actions/create-line-item.mjs.map +1 -0
  30. package/dist/actions/create-proposal.cjs +41 -0
  31. package/dist/actions/create-proposal.cjs.map +1 -0
  32. package/dist/actions/create-proposal.d.cts +9 -0
  33. package/dist/actions/create-proposal.d.cts.map +1 -0
  34. package/dist/actions/create-proposal.d.mts +9 -0
  35. package/dist/actions/create-proposal.d.mts.map +1 -0
  36. package/dist/actions/create-proposal.mjs +38 -0
  37. package/dist/actions/create-proposal.mjs.map +1 -0
  38. package/dist/actions/create-section.cjs +46 -0
  39. package/dist/actions/create-section.cjs.map +1 -0
  40. package/dist/actions/create-section.d.cts +9 -0
  41. package/dist/actions/create-section.d.cts.map +1 -0
  42. package/dist/actions/create-section.d.mts +9 -0
  43. package/dist/actions/create-section.d.mts.map +1 -0
  44. package/dist/actions/create-section.mjs +45 -0
  45. package/dist/actions/create-section.mjs.map +1 -0
  46. package/dist/actions/create-webhook-endpoint.cjs +28 -0
  47. package/dist/actions/create-webhook-endpoint.cjs.map +1 -0
  48. package/dist/actions/create-webhook-endpoint.d.cts +9 -0
  49. package/dist/actions/create-webhook-endpoint.d.cts.map +1 -0
  50. package/dist/actions/create-webhook-endpoint.d.mts +9 -0
  51. package/dist/actions/create-webhook-endpoint.d.mts.map +1 -0
  52. package/dist/actions/create-webhook-endpoint.mjs +27 -0
  53. package/dist/actions/create-webhook-endpoint.mjs.map +1 -0
  54. package/dist/actions/delete-client.cjs +38 -0
  55. package/dist/actions/delete-client.cjs.map +1 -0
  56. package/dist/actions/delete-client.d.cts +9 -0
  57. package/dist/actions/delete-client.d.cts.map +1 -0
  58. package/dist/actions/delete-client.d.mts +9 -0
  59. package/dist/actions/delete-client.d.mts.map +1 -0
  60. package/dist/actions/delete-client.mjs +37 -0
  61. package/dist/actions/delete-client.mjs.map +1 -0
  62. package/dist/actions/delete-line-item.cjs +37 -0
  63. package/dist/actions/delete-line-item.cjs.map +1 -0
  64. package/dist/actions/delete-line-item.d.cts +9 -0
  65. package/dist/actions/delete-line-item.d.cts.map +1 -0
  66. package/dist/actions/delete-line-item.d.mts +9 -0
  67. package/dist/actions/delete-line-item.d.mts.map +1 -0
  68. package/dist/actions/delete-line-item.mjs +36 -0
  69. package/dist/actions/delete-line-item.mjs.map +1 -0
  70. package/dist/actions/delete-proposal.cjs +31 -0
  71. package/dist/actions/delete-proposal.cjs.map +1 -0
  72. package/dist/actions/delete-proposal.d.cts +9 -0
  73. package/dist/actions/delete-proposal.d.cts.map +1 -0
  74. package/dist/actions/delete-proposal.d.mts +9 -0
  75. package/dist/actions/delete-proposal.d.mts.map +1 -0
  76. package/dist/actions/delete-proposal.mjs +30 -0
  77. package/dist/actions/delete-proposal.mjs.map +1 -0
  78. package/dist/actions/delete-section.cjs +41 -0
  79. package/dist/actions/delete-section.cjs.map +1 -0
  80. package/dist/actions/delete-section.d.cts +9 -0
  81. package/dist/actions/delete-section.d.cts.map +1 -0
  82. package/dist/actions/delete-section.d.mts +9 -0
  83. package/dist/actions/delete-section.d.mts.map +1 -0
  84. package/dist/actions/delete-section.mjs +40 -0
  85. package/dist/actions/delete-section.mjs.map +1 -0
  86. package/dist/actions/delete-webhook-endpoint.cjs +25 -0
  87. package/dist/actions/delete-webhook-endpoint.cjs.map +1 -0
  88. package/dist/actions/delete-webhook-endpoint.d.cts +9 -0
  89. package/dist/actions/delete-webhook-endpoint.d.cts.map +1 -0
  90. package/dist/actions/delete-webhook-endpoint.d.mts +9 -0
  91. package/dist/actions/delete-webhook-endpoint.d.mts.map +1 -0
  92. package/dist/actions/delete-webhook-endpoint.mjs +24 -0
  93. package/dist/actions/delete-webhook-endpoint.mjs.map +1 -0
  94. package/dist/actions/get-account-me.cjs +36 -0
  95. package/dist/actions/get-account-me.cjs.map +1 -0
  96. package/dist/actions/get-account-me.d.cts +9 -0
  97. package/dist/actions/get-account-me.d.cts.map +1 -0
  98. package/dist/actions/get-account-me.d.mts +9 -0
  99. package/dist/actions/get-account-me.d.mts.map +1 -0
  100. package/dist/actions/get-account-me.mjs +35 -0
  101. package/dist/actions/get-account-me.mjs.map +1 -0
  102. package/dist/actions/get-client.cjs +38 -0
  103. package/dist/actions/get-client.cjs.map +1 -0
  104. package/dist/actions/get-client.d.cts +9 -0
  105. package/dist/actions/get-client.d.cts.map +1 -0
  106. package/dist/actions/get-client.d.mts +9 -0
  107. package/dist/actions/get-client.d.mts.map +1 -0
  108. package/dist/actions/get-client.mjs +37 -0
  109. package/dist/actions/get-client.mjs.map +1 -0
  110. package/dist/actions/get-proposal.cjs +33 -0
  111. package/dist/actions/get-proposal.cjs.map +1 -0
  112. package/dist/actions/get-proposal.d.cts +9 -0
  113. package/dist/actions/get-proposal.d.cts.map +1 -0
  114. package/dist/actions/get-proposal.d.mts +9 -0
  115. package/dist/actions/get-proposal.d.mts.map +1 -0
  116. package/dist/actions/get-proposal.mjs +32 -0
  117. package/dist/actions/get-proposal.mjs.map +1 -0
  118. package/dist/actions/get-section.cjs +41 -0
  119. package/dist/actions/get-section.cjs.map +1 -0
  120. package/dist/actions/get-section.d.cts +9 -0
  121. package/dist/actions/get-section.d.cts.map +1 -0
  122. package/dist/actions/get-section.d.mts +9 -0
  123. package/dist/actions/get-section.d.mts.map +1 -0
  124. package/dist/actions/get-section.mjs +40 -0
  125. package/dist/actions/get-section.mjs.map +1 -0
  126. package/dist/actions/get-webhook-endpoint.cjs +25 -0
  127. package/dist/actions/get-webhook-endpoint.cjs.map +1 -0
  128. package/dist/actions/get-webhook-endpoint.d.cts +9 -0
  129. package/dist/actions/get-webhook-endpoint.d.cts.map +1 -0
  130. package/dist/actions/get-webhook-endpoint.d.mts +9 -0
  131. package/dist/actions/get-webhook-endpoint.d.mts.map +1 -0
  132. package/dist/actions/get-webhook-endpoint.mjs +24 -0
  133. package/dist/actions/get-webhook-endpoint.mjs.map +1 -0
  134. package/dist/actions/index.cjs +59 -0
  135. package/dist/actions/index.d.cts +30 -0
  136. package/dist/actions/index.d.mts +30 -0
  137. package/dist/actions/index.mjs +30 -0
  138. package/dist/actions/list-clients.cjs +51 -0
  139. package/dist/actions/list-clients.cjs.map +1 -0
  140. package/dist/actions/list-clients.d.cts +9 -0
  141. package/dist/actions/list-clients.d.cts.map +1 -0
  142. package/dist/actions/list-clients.d.mts +9 -0
  143. package/dist/actions/list-clients.d.mts.map +1 -0
  144. package/dist/actions/list-clients.mjs +50 -0
  145. package/dist/actions/list-clients.mjs.map +1 -0
  146. package/dist/actions/list-line-items.cjs +50 -0
  147. package/dist/actions/list-line-items.cjs.map +1 -0
  148. package/dist/actions/list-line-items.d.cts +9 -0
  149. package/dist/actions/list-line-items.d.cts.map +1 -0
  150. package/dist/actions/list-line-items.d.mts +9 -0
  151. package/dist/actions/list-line-items.d.mts.map +1 -0
  152. package/dist/actions/list-line-items.mjs +49 -0
  153. package/dist/actions/list-line-items.mjs.map +1 -0
  154. package/dist/actions/list-proposal-activities.cjs +53 -0
  155. package/dist/actions/list-proposal-activities.cjs.map +1 -0
  156. package/dist/actions/list-proposal-activities.d.cts +9 -0
  157. package/dist/actions/list-proposal-activities.d.cts.map +1 -0
  158. package/dist/actions/list-proposal-activities.d.mts +9 -0
  159. package/dist/actions/list-proposal-activities.d.mts.map +1 -0
  160. package/dist/actions/list-proposal-activities.mjs +52 -0
  161. package/dist/actions/list-proposal-activities.mjs.map +1 -0
  162. package/dist/actions/list-proposals.cjs +59 -0
  163. package/dist/actions/list-proposals.cjs.map +1 -0
  164. package/dist/actions/list-proposals.d.cts +9 -0
  165. package/dist/actions/list-proposals.d.cts.map +1 -0
  166. package/dist/actions/list-proposals.d.mts +9 -0
  167. package/dist/actions/list-proposals.d.mts.map +1 -0
  168. package/dist/actions/list-proposals.mjs +58 -0
  169. package/dist/actions/list-proposals.mjs.map +1 -0
  170. package/dist/actions/list-section-line-items.cjs +37 -0
  171. package/dist/actions/list-section-line-items.cjs.map +1 -0
  172. package/dist/actions/list-section-line-items.d.cts +9 -0
  173. package/dist/actions/list-section-line-items.d.cts.map +1 -0
  174. package/dist/actions/list-section-line-items.d.mts +9 -0
  175. package/dist/actions/list-section-line-items.d.mts.map +1 -0
  176. package/dist/actions/list-section-line-items.mjs +36 -0
  177. package/dist/actions/list-section-line-items.mjs.map +1 -0
  178. package/dist/actions/list-sections.cjs +64 -0
  179. package/dist/actions/list-sections.cjs.map +1 -0
  180. package/dist/actions/list-sections.d.cts +9 -0
  181. package/dist/actions/list-sections.d.cts.map +1 -0
  182. package/dist/actions/list-sections.d.mts +9 -0
  183. package/dist/actions/list-sections.d.mts.map +1 -0
  184. package/dist/actions/list-sections.mjs +63 -0
  185. package/dist/actions/list-sections.mjs.map +1 -0
  186. package/dist/actions/list-themes.cjs +20 -0
  187. package/dist/actions/list-themes.cjs.map +1 -0
  188. package/dist/actions/list-themes.d.cts +9 -0
  189. package/dist/actions/list-themes.d.cts.map +1 -0
  190. package/dist/actions/list-themes.d.mts +9 -0
  191. package/dist/actions/list-themes.d.mts.map +1 -0
  192. package/dist/actions/list-themes.mjs +19 -0
  193. package/dist/actions/list-themes.mjs.map +1 -0
  194. package/dist/actions/list-users.cjs +38 -0
  195. package/dist/actions/list-users.cjs.map +1 -0
  196. package/dist/actions/list-users.d.cts +9 -0
  197. package/dist/actions/list-users.d.cts.map +1 -0
  198. package/dist/actions/list-users.d.mts +9 -0
  199. package/dist/actions/list-users.d.mts.map +1 -0
  200. package/dist/actions/list-users.mjs +37 -0
  201. package/dist/actions/list-users.mjs.map +1 -0
  202. package/dist/actions/list-webhook-endpoints.cjs +38 -0
  203. package/dist/actions/list-webhook-endpoints.cjs.map +1 -0
  204. package/dist/actions/list-webhook-endpoints.d.cts +9 -0
  205. package/dist/actions/list-webhook-endpoints.d.cts.map +1 -0
  206. package/dist/actions/list-webhook-endpoints.d.mts +9 -0
  207. package/dist/actions/list-webhook-endpoints.d.mts.map +1 -0
  208. package/dist/actions/list-webhook-endpoints.mjs +37 -0
  209. package/dist/actions/list-webhook-endpoints.mjs.map +1 -0
  210. package/dist/actions/update-client.cjs +58 -0
  211. package/dist/actions/update-client.cjs.map +1 -0
  212. package/dist/actions/update-client.d.cts +9 -0
  213. package/dist/actions/update-client.d.cts.map +1 -0
  214. package/dist/actions/update-client.d.mts +9 -0
  215. package/dist/actions/update-client.d.mts.map +1 -0
  216. package/dist/actions/update-client.mjs +57 -0
  217. package/dist/actions/update-client.mjs.map +1 -0
  218. package/dist/actions/update-line-item.cjs +59 -0
  219. package/dist/actions/update-line-item.cjs.map +1 -0
  220. package/dist/actions/update-line-item.d.cts +9 -0
  221. package/dist/actions/update-line-item.d.cts.map +1 -0
  222. package/dist/actions/update-line-item.d.mts +9 -0
  223. package/dist/actions/update-line-item.d.mts.map +1 -0
  224. package/dist/actions/update-line-item.mjs +56 -0
  225. package/dist/actions/update-line-item.mjs.map +1 -0
  226. package/dist/actions/update-proposal.cjs +55 -0
  227. package/dist/actions/update-proposal.cjs.map +1 -0
  228. package/dist/actions/update-proposal.d.cts +9 -0
  229. package/dist/actions/update-proposal.d.cts.map +1 -0
  230. package/dist/actions/update-proposal.d.mts +9 -0
  231. package/dist/actions/update-proposal.d.mts.map +1 -0
  232. package/dist/actions/update-proposal.mjs +54 -0
  233. package/dist/actions/update-proposal.mjs.map +1 -0
  234. package/dist/actions/update-section.cjs +49 -0
  235. package/dist/actions/update-section.cjs.map +1 -0
  236. package/dist/actions/update-section.d.cts +9 -0
  237. package/dist/actions/update-section.d.cts.map +1 -0
  238. package/dist/actions/update-section.d.mts +9 -0
  239. package/dist/actions/update-section.d.mts.map +1 -0
  240. package/dist/actions/update-section.mjs +46 -0
  241. package/dist/actions/update-section.mjs.map +1 -0
  242. package/dist/app.cjs +9 -0
  243. package/dist/app.cjs.map +1 -0
  244. package/dist/app.d.cts +5 -0
  245. package/dist/app.d.cts.map +1 -0
  246. package/dist/app.d.mts +5 -0
  247. package/dist/app.d.mts.map +1 -0
  248. package/dist/app.mjs +10 -0
  249. package/dist/app.mjs.map +1 -0
  250. package/dist/catalog.cjs +15 -0
  251. package/dist/catalog.cjs.map +1 -0
  252. package/dist/catalog.d.cts +14 -0
  253. package/dist/catalog.d.cts.map +1 -0
  254. package/dist/catalog.d.mts +14 -0
  255. package/dist/catalog.d.mts.map +1 -0
  256. package/dist/catalog.mjs +15 -0
  257. package/dist/catalog.mjs.map +1 -0
  258. package/dist/execute.cjs +18 -0
  259. package/dist/execute.cjs.map +1 -0
  260. package/dist/execute.mjs +18 -0
  261. package/dist/execute.mjs.map +1 -0
  262. package/dist/index.cjs +64 -0
  263. package/dist/index.d.cts +32 -0
  264. package/dist/index.d.mts +32 -0
  265. package/dist/index.mjs +33 -0
  266. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-proposal.cjs","names":["z","action"],"sources":["../../src/actions/update-proposal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NusiiProposalsUpdateProposalInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the proposal to update\"),\n theme: z.string().describe(\"Visual design template for the proposal\").optional(),\n title: z.string().describe(\"Heading text for the proposal\").optional(),\n report: z.boolean().describe(\"Converts the proposal into a report format; defaults to false\").optional(),\n client_id: z.string().describe(\"Identifier linking to the client record\").optional(),\n expires_at: z.string().describe(\"Expiration date/time for the proposal in ISO 8601 format\").optional(),\n client_email: z.string().describe(\"Fetches the client associated with that email. It creates a new client if there is no client with that email. This is ignored when client_id is set.\").optional(),\n display_date: z.string().describe(\"By default the date displayed on the proposal is the sent date. This can be overwritten with the display_date in ISO 8601 format\").optional(),\n exclude_total: z.boolean().describe(\"Removes the total from display; defaults to false\").optional(),\n prepared_by_id: z.string().describe(\"User identifier for who created the proposal\").optional(),\n exclude_total_in_pdf: z.boolean().describe(\"Removes the total from the PDF output; defaults to false\").optional(),\n document_section_title: z.string().describe(\"Heading for the documents section\").optional(),\n});\nconst NusiiProposalsUpdateProposal_ProposalAttributesSchema: z.ZodTypeAny = z.object({\n theme: z.string().describe(\"Visual design template\").nullable().optional(),\n title: z.string().describe(\"Heading text for the proposal\").nullable().optional(),\n report: z.boolean().describe(\"Whether the proposal is in report format\").nullable().optional(),\n status: z.string().describe(\"Current status of the proposal\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the proposal\").nullable().optional(),\n client_id: z.unknown().describe(\"Client identifier\").nullable().optional(),\n public_id: z.string().describe(\"Public identifier for the proposal\").nullable().optional(),\n sender_id: z.unknown().describe(\"Sender identifier\").nullable().optional(),\n account_id: z.unknown().describe(\"Account identifier\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n display_date: z.string().describe(\"Display date for proposal\").nullable().optional(),\n exclude_total: z.boolean().describe(\"Whether total is excluded from display\").nullable().optional(),\n prepared_by_id: z.unknown().describe(\"User identifier for who created the proposal\").nullable().optional(),\n exclude_total_in_pdf: z.boolean().describe(\"Whether total is excluded from PDF\").nullable().optional(),\n document_section_title: z.string().describe(\"Heading for the documents section\").nullable().optional(),\n});\nconst NusiiProposalsUpdateProposal_ProposalRelationshipsSchema: z.ZodTypeAny = z.object({\n sections: z.record(z.string(), z.unknown()).describe(\"Associated sections of the proposal\").nullable().optional(),\n});\nconst NusiiProposalsUpdateProposal_ProposalDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the proposal\"),\n type: z.string().describe(\"Resource type (proposals)\"),\n attributes: NusiiProposalsUpdateProposal_ProposalAttributesSchema.nullable().optional(),\n relationships: NusiiProposalsUpdateProposal_ProposalRelationshipsSchema.nullable().optional(),\n});\nexport const NusiiProposalsUpdateProposalOutput: z.ZodTypeAny = z.object({\n data: NusiiProposalsUpdateProposal_ProposalDataSchema.nullable(),\n});\n\nexport const nusiiProposalsUpdateProposal = action(\"NUSII_PROPOSALS_UPDATE_PROPOSAL\", {\n slug: \"nusii_proposals-update-proposal\",\n name: \"Update Proposal\",\n description: \"Tool to update an existing proposal in Nusii. Use when you need to modify proposal details like title, client, expiration date, or display settings.\",\n input: NusiiProposalsUpdateProposalInput,\n output: NusiiProposalsUpdateProposalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCA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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC;AACD,MAAM,2DAAyEA,IAAAA,EAAE,OAAO,EACtF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC;AACD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,YAAY,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACtF,eAAe,yDAAyD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,MAAM,gDAAgD,SAAS,EACjE,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-proposal.d.ts
4
+ declare const NusiiProposalsUpdateProposalInput: z.ZodTypeAny;
5
+ declare const NusiiProposalsUpdateProposalOutput: z.ZodTypeAny;
6
+ declare const nusiiProposalsUpdateProposal: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nusiiProposalsUpdateProposal };
9
+ //# sourceMappingURL=update-proposal.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-proposal.d.cts","names":[],"sources":["../../src/actions/update-proposal.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAahD;AAAA,cA6BW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-proposal.d.ts
4
+ declare const NusiiProposalsUpdateProposalInput: z.ZodTypeAny;
5
+ declare const NusiiProposalsUpdateProposalOutput: z.ZodTypeAny;
6
+ declare const nusiiProposalsUpdateProposal: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nusiiProposalsUpdateProposal };
9
+ //# sourceMappingURL=update-proposal.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-proposal.d.mts","names":[],"sources":["../../src/actions/update-proposal.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAahD;AAAA,cA6BW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,54 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-proposal.ts
4
+ const NusiiProposalsUpdateProposalInput = z.object({
5
+ id: z.string().describe("The unique identifier of the proposal to update"),
6
+ theme: z.string().describe("Visual design template for the proposal").optional(),
7
+ title: z.string().describe("Heading text for the proposal").optional(),
8
+ report: z.boolean().describe("Converts the proposal into a report format; defaults to false").optional(),
9
+ client_id: z.string().describe("Identifier linking to the client record").optional(),
10
+ expires_at: z.string().describe("Expiration date/time for the proposal in ISO 8601 format").optional(),
11
+ client_email: z.string().describe("Fetches the client associated with that email. It creates a new client if there is no client with that email. This is ignored when client_id is set.").optional(),
12
+ display_date: z.string().describe("By default the date displayed on the proposal is the sent date. This can be overwritten with the display_date in ISO 8601 format").optional(),
13
+ exclude_total: z.boolean().describe("Removes the total from display; defaults to false").optional(),
14
+ prepared_by_id: z.string().describe("User identifier for who created the proposal").optional(),
15
+ exclude_total_in_pdf: z.boolean().describe("Removes the total from the PDF output; defaults to false").optional(),
16
+ document_section_title: z.string().describe("Heading for the documents section").optional()
17
+ });
18
+ const NusiiProposalsUpdateProposal_ProposalAttributesSchema = z.object({
19
+ theme: z.string().describe("Visual design template").nullable().optional(),
20
+ title: z.string().describe("Heading text for the proposal").nullable().optional(),
21
+ report: z.boolean().describe("Whether the proposal is in report format").nullable().optional(),
22
+ status: z.string().describe("Current status of the proposal").nullable().optional(),
23
+ currency: z.string().describe("Currency used in the proposal").nullable().optional(),
24
+ client_id: z.unknown().describe("Client identifier").nullable().optional(),
25
+ public_id: z.string().describe("Public identifier for the proposal").nullable().optional(),
26
+ sender_id: z.unknown().describe("Sender identifier").nullable().optional(),
27
+ account_id: z.unknown().describe("Account identifier").nullable().optional(),
28
+ created_at: z.string().describe("Creation timestamp").nullable().optional(),
29
+ expires_at: z.string().describe("Expiration timestamp").nullable().optional(),
30
+ updated_at: z.string().describe("Last update timestamp").nullable().optional(),
31
+ display_date: z.string().describe("Display date for proposal").nullable().optional(),
32
+ exclude_total: z.boolean().describe("Whether total is excluded from display").nullable().optional(),
33
+ prepared_by_id: z.unknown().describe("User identifier for who created the proposal").nullable().optional(),
34
+ exclude_total_in_pdf: z.boolean().describe("Whether total is excluded from PDF").nullable().optional(),
35
+ document_section_title: z.string().describe("Heading for the documents section").nullable().optional()
36
+ });
37
+ const NusiiProposalsUpdateProposal_ProposalRelationshipsSchema = z.object({ sections: z.record(z.string(), z.unknown()).describe("Associated sections of the proposal").nullable().optional() });
38
+ const NusiiProposalsUpdateProposal_ProposalDataSchema = z.object({
39
+ id: z.string().describe("Unique identifier for the proposal"),
40
+ type: z.string().describe("Resource type (proposals)"),
41
+ attributes: NusiiProposalsUpdateProposal_ProposalAttributesSchema.nullable().optional(),
42
+ relationships: NusiiProposalsUpdateProposal_ProposalRelationshipsSchema.nullable().optional()
43
+ });
44
+ const nusiiProposalsUpdateProposal = action("NUSII_PROPOSALS_UPDATE_PROPOSAL", {
45
+ slug: "nusii_proposals-update-proposal",
46
+ name: "Update Proposal",
47
+ description: "Tool to update an existing proposal in Nusii. Use when you need to modify proposal details like title, client, expiration date, or display settings.",
48
+ input: NusiiProposalsUpdateProposalInput,
49
+ output: z.object({ data: NusiiProposalsUpdateProposal_ProposalDataSchema.nullable() })
50
+ });
51
+ //#endregion
52
+ export { nusiiProposalsUpdateProposal };
53
+
54
+ //# sourceMappingURL=update-proposal.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-proposal.mjs","names":[],"sources":["../../src/actions/update-proposal.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NusiiProposalsUpdateProposalInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the proposal to update\"),\n theme: z.string().describe(\"Visual design template for the proposal\").optional(),\n title: z.string().describe(\"Heading text for the proposal\").optional(),\n report: z.boolean().describe(\"Converts the proposal into a report format; defaults to false\").optional(),\n client_id: z.string().describe(\"Identifier linking to the client record\").optional(),\n expires_at: z.string().describe(\"Expiration date/time for the proposal in ISO 8601 format\").optional(),\n client_email: z.string().describe(\"Fetches the client associated with that email. It creates a new client if there is no client with that email. This is ignored when client_id is set.\").optional(),\n display_date: z.string().describe(\"By default the date displayed on the proposal is the sent date. This can be overwritten with the display_date in ISO 8601 format\").optional(),\n exclude_total: z.boolean().describe(\"Removes the total from display; defaults to false\").optional(),\n prepared_by_id: z.string().describe(\"User identifier for who created the proposal\").optional(),\n exclude_total_in_pdf: z.boolean().describe(\"Removes the total from the PDF output; defaults to false\").optional(),\n document_section_title: z.string().describe(\"Heading for the documents section\").optional(),\n});\nconst NusiiProposalsUpdateProposal_ProposalAttributesSchema: z.ZodTypeAny = z.object({\n theme: z.string().describe(\"Visual design template\").nullable().optional(),\n title: z.string().describe(\"Heading text for the proposal\").nullable().optional(),\n report: z.boolean().describe(\"Whether the proposal is in report format\").nullable().optional(),\n status: z.string().describe(\"Current status of the proposal\").nullable().optional(),\n currency: z.string().describe(\"Currency used in the proposal\").nullable().optional(),\n client_id: z.unknown().describe(\"Client identifier\").nullable().optional(),\n public_id: z.string().describe(\"Public identifier for the proposal\").nullable().optional(),\n sender_id: z.unknown().describe(\"Sender identifier\").nullable().optional(),\n account_id: z.unknown().describe(\"Account identifier\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n display_date: z.string().describe(\"Display date for proposal\").nullable().optional(),\n exclude_total: z.boolean().describe(\"Whether total is excluded from display\").nullable().optional(),\n prepared_by_id: z.unknown().describe(\"User identifier for who created the proposal\").nullable().optional(),\n exclude_total_in_pdf: z.boolean().describe(\"Whether total is excluded from PDF\").nullable().optional(),\n document_section_title: z.string().describe(\"Heading for the documents section\").nullable().optional(),\n});\nconst NusiiProposalsUpdateProposal_ProposalRelationshipsSchema: z.ZodTypeAny = z.object({\n sections: z.record(z.string(), z.unknown()).describe(\"Associated sections of the proposal\").nullable().optional(),\n});\nconst NusiiProposalsUpdateProposal_ProposalDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the proposal\"),\n type: z.string().describe(\"Resource type (proposals)\"),\n attributes: NusiiProposalsUpdateProposal_ProposalAttributesSchema.nullable().optional(),\n relationships: NusiiProposalsUpdateProposal_ProposalRelationshipsSchema.nullable().optional(),\n});\nexport const NusiiProposalsUpdateProposalOutput: z.ZodTypeAny = z.object({\n data: NusiiProposalsUpdateProposal_ProposalDataSchema.nullable(),\n});\n\nexport const nusiiProposalsUpdateProposal = action(\"NUSII_PROPOSALS_UPDATE_PROPOSAL\", {\n slug: \"nusii_proposals-update-proposal\",\n name: \"Update Proposal\",\n description: \"Tool to update an existing proposal in Nusii. Use when you need to modify proposal details like title, client, expiration date, or display settings.\",\n input: NusiiProposalsUpdateProposalInput,\n output: NusiiProposalsUpdateProposalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACnM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC/K,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC7F,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAM,wDAAsE,EAAE,OAAO;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,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C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC;AACD,MAAM,2DAAyE,EAAE,OAAO,EACtF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC;AACD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,YAAY,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACtF,eAAe,yDAAyD,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAKD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,MAAM,gDAAgD,SAAS,EACjE,CAOU;AACV,CAAC"}
@@ -0,0 +1,49 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-section.ts
4
+ const NusiiProposalsUpdateSectionInput = zod.z.object({
5
+ id: zod.z.string().describe("The unique identifier of the section to update"),
6
+ body: zod.z.string().describe("Section content").optional(),
7
+ name: zod.z.string().describe("Internal reference name for the section").optional(),
8
+ title: zod.z.string().describe("Section heading").optional(),
9
+ optional: zod.z.boolean().describe("Client selection option (default: false)").optional(),
10
+ position: zod.z.number().int().describe("Display order in proposal/template").optional(),
11
+ reusable: zod.z.boolean().describe("Whether the section can be reused to any template/proposal").optional(),
12
+ page_break: zod.z.boolean().describe("PDF page break toggle (default: false)").optional(),
13
+ proposal_id: zod.z.number().int().describe("Associated proposal identifier").optional(),
14
+ template_id: zod.z.number().int().describe("Associated template identifier").optional(),
15
+ section_type: zod.z.string().describe("Content type - 'text' or 'cost'").optional(),
16
+ include_total: zod.z.boolean().describe("Subtotal display within section (default: false)").optional()
17
+ }).describe("Request model for updating a section in a proposal or template.");
18
+ const NusiiProposalsUpdateSectionOutput = zod.z.object({
19
+ id: zod.z.string().describe("Unique section identifier").nullable().optional(),
20
+ body: zod.z.string().describe("Section content").nullable().optional(),
21
+ name: zod.z.string().describe("Internal reference name").nullable().optional(),
22
+ type: zod.z.string().describe("Resource type, typically 'sections'").nullable().optional(),
23
+ title: zod.z.string().describe("Section heading").nullable().optional(),
24
+ currency: zod.z.string().describe("Currency code for the section").nullable().optional(),
25
+ optional: zod.z.boolean().describe("Client selection option").nullable().optional(),
26
+ position: zod.z.number().int().describe("Display order").nullable().optional(),
27
+ reusable: zod.z.boolean().describe("Whether section can be reused").nullable().optional(),
28
+ account_id: zod.z.number().int().describe("Owner account identifier").nullable().optional(),
29
+ created_at: zod.z.string().describe("Creation timestamp").nullable().optional(),
30
+ page_break: zod.z.boolean().describe("PDF page break setting").nullable().optional(),
31
+ updated_at: zod.z.string().describe("Last modification timestamp").nullable().optional(),
32
+ proposal_id: zod.z.number().int().describe("Parent proposal ID").nullable().optional(),
33
+ template_id: zod.z.number().int().describe("Parent template ID").nullable().optional(),
34
+ section_type: zod.z.string().describe("Content type - 'text' or 'cost'").nullable().optional(),
35
+ include_total: zod.z.boolean().describe("Subtotal display setting").nullable().optional(),
36
+ total_in_cents: zod.z.number().int().describe("Section total in cents").nullable().optional(),
37
+ total_formatted: zod.z.string().describe("Currency-formatted total").nullable().optional()
38
+ }).describe("Response model for updated section details.");
39
+ const nusiiProposalsUpdateSection = require_action.action("NUSII_PROPOSALS_UPDATE_SECTION", {
40
+ slug: "nusii_proposals-update-section",
41
+ name: "Update Section",
42
+ description: "Tool to update an existing section in a proposal or template. Use when you need to modify section content, settings, or display properties.",
43
+ input: NusiiProposalsUpdateSectionInput,
44
+ output: NusiiProposalsUpdateSectionOutput
45
+ });
46
+ //#endregion
47
+ exports.nusiiProposalsUpdateSection = nusiiProposalsUpdateSection;
48
+
49
+ //# sourceMappingURL=update-section.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-section.cjs","names":["z","action"],"sources":["../../src/actions/update-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NusiiProposalsUpdateSectionInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section to update\"),\n body: z.string().describe(\"Section content\").optional(),\n name: z.string().describe(\"Internal reference name for the section\").optional(),\n title: z.string().describe(\"Section heading\").optional(),\n optional: z.boolean().describe(\"Client selection option (default: false)\").optional(),\n position: z.number().int().describe(\"Display order in proposal/template\").optional(),\n reusable: z.boolean().describe(\"Whether the section can be reused to any template/proposal\").optional(),\n page_break: z.boolean().describe(\"PDF page break toggle (default: false)\").optional(),\n proposal_id: z.number().int().describe(\"Associated proposal identifier\").optional(),\n template_id: z.number().int().describe(\"Associated template identifier\").optional(),\n section_type: z.string().describe(\"Content type - 'text' or 'cost'\").optional(),\n include_total: z.boolean().describe(\"Subtotal display within section (default: false)\").optional(),\n}).describe(\"Request model for updating a section in a proposal or template.\");\nexport const NusiiProposalsUpdateSectionOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique section identifier\").nullable().optional(),\n body: z.string().describe(\"Section content\").nullable().optional(),\n name: z.string().describe(\"Internal reference name\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'sections'\").nullable().optional(),\n title: z.string().describe(\"Section heading\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the section\").nullable().optional(),\n optional: z.boolean().describe(\"Client selection option\").nullable().optional(),\n position: z.number().int().describe(\"Display order\").nullable().optional(),\n reusable: z.boolean().describe(\"Whether section can be reused\").nullable().optional(),\n account_id: z.number().int().describe(\"Owner account identifier\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n page_break: z.boolean().describe(\"PDF page break setting\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n proposal_id: z.number().int().describe(\"Parent proposal ID\").nullable().optional(),\n template_id: z.number().int().describe(\"Parent template ID\").nullable().optional(),\n section_type: z.string().describe(\"Content type - 'text' or 'cost'\").nullable().optional(),\n include_total: z.boolean().describe(\"Subtotal display setting\").nullable().optional(),\n total_in_cents: z.number().int().describe(\"Section total in cents\").nullable().optional(),\n total_formatted: z.string().describe(\"Currency-formatted total\").nullable().optional(),\n}).describe(\"Response model for updated section details.\");\n\nexport const nusiiProposalsUpdateSection = action(\"NUSII_PROPOSALS_UPDATE_SECTION\", {\n slug: \"nusii_proposals-update-section\",\n name: \"Update Section\",\n description: \"Tool to update an existing section in a proposal or template. Use when you need to modify section content, settings, or display properties.\",\n input: NusiiProposalsUpdateSectionInput,\n output: NusiiProposalsUpdateSectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,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eAny;
5
+ declare const NusiiProposalsUpdateSectionOutput: z.ZodTypeAny;
6
+ declare const nusiiProposalsUpdateSection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nusiiProposalsUpdateSection };
9
+ //# sourceMappingURL=update-section.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-section.d.cts","names":[],"sources":["../../src/actions/update-section.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAa6B;AAAA,cACjE,iCAAA,EAAmC,CAAA,CAAE,UAoBQ;AAAA,cAE7C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-section.d.ts
4
+ declare const NusiiProposalsUpdateSectionInput: z.ZodTypeAny;
5
+ declare const NusiiProposalsUpdateSectionOutput: z.ZodTypeAny;
6
+ declare const nusiiProposalsUpdateSection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nusiiProposalsUpdateSection };
9
+ //# sourceMappingURL=update-section.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-section.d.mts","names":[],"sources":["../../src/actions/update-section.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAa6B;AAAA,cACjE,iCAAA,EAAmC,CAAA,CAAE,UAoBQ;AAAA,cAE7C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,46 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const nusiiProposalsUpdateSection = action("NUSII_PROPOSALS_UPDATE_SECTION", {
4
+ slug: "nusii_proposals-update-section",
5
+ name: "Update Section",
6
+ description: "Tool to update an existing section in a proposal or template. Use when you need to modify section content, settings, or display properties.",
7
+ input: z.object({
8
+ id: z.string().describe("The unique identifier of the section to update"),
9
+ body: z.string().describe("Section content").optional(),
10
+ name: z.string().describe("Internal reference name for the section").optional(),
11
+ title: z.string().describe("Section heading").optional(),
12
+ optional: z.boolean().describe("Client selection option (default: false)").optional(),
13
+ position: z.number().int().describe("Display order in proposal/template").optional(),
14
+ reusable: z.boolean().describe("Whether the section can be reused to any template/proposal").optional(),
15
+ page_break: z.boolean().describe("PDF page break toggle (default: false)").optional(),
16
+ proposal_id: z.number().int().describe("Associated proposal identifier").optional(),
17
+ template_id: z.number().int().describe("Associated template identifier").optional(),
18
+ section_type: z.string().describe("Content type - 'text' or 'cost'").optional(),
19
+ include_total: z.boolean().describe("Subtotal display within section (default: false)").optional()
20
+ }).describe("Request model for updating a section in a proposal or template."),
21
+ output: z.object({
22
+ id: z.string().describe("Unique section identifier").nullable().optional(),
23
+ body: z.string().describe("Section content").nullable().optional(),
24
+ name: z.string().describe("Internal reference name").nullable().optional(),
25
+ type: z.string().describe("Resource type, typically 'sections'").nullable().optional(),
26
+ title: z.string().describe("Section heading").nullable().optional(),
27
+ currency: z.string().describe("Currency code for the section").nullable().optional(),
28
+ optional: z.boolean().describe("Client selection option").nullable().optional(),
29
+ position: z.number().int().describe("Display order").nullable().optional(),
30
+ reusable: z.boolean().describe("Whether section can be reused").nullable().optional(),
31
+ account_id: z.number().int().describe("Owner account identifier").nullable().optional(),
32
+ created_at: z.string().describe("Creation timestamp").nullable().optional(),
33
+ page_break: z.boolean().describe("PDF page break setting").nullable().optional(),
34
+ updated_at: z.string().describe("Last modification timestamp").nullable().optional(),
35
+ proposal_id: z.number().int().describe("Parent proposal ID").nullable().optional(),
36
+ template_id: z.number().int().describe("Parent template ID").nullable().optional(),
37
+ section_type: z.string().describe("Content type - 'text' or 'cost'").nullable().optional(),
38
+ include_total: z.boolean().describe("Subtotal display setting").nullable().optional(),
39
+ total_in_cents: z.number().int().describe("Section total in cents").nullable().optional(),
40
+ total_formatted: z.string().describe("Currency-formatted total").nullable().optional()
41
+ }).describe("Response model for updated section details.")
42
+ });
43
+ //#endregion
44
+ export { nusiiProposalsUpdateSection };
45
+
46
+ //# sourceMappingURL=update-section.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-section.mjs","names":[],"sources":["../../src/actions/update-section.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NusiiProposalsUpdateSectionInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the section to update\"),\n body: z.string().describe(\"Section content\").optional(),\n name: z.string().describe(\"Internal reference name for the section\").optional(),\n title: z.string().describe(\"Section heading\").optional(),\n optional: z.boolean().describe(\"Client selection option (default: false)\").optional(),\n position: z.number().int().describe(\"Display order in proposal/template\").optional(),\n reusable: z.boolean().describe(\"Whether the section can be reused to any template/proposal\").optional(),\n page_break: z.boolean().describe(\"PDF page break toggle (default: false)\").optional(),\n proposal_id: z.number().int().describe(\"Associated proposal identifier\").optional(),\n template_id: z.number().int().describe(\"Associated template identifier\").optional(),\n section_type: z.string().describe(\"Content type - 'text' or 'cost'\").optional(),\n include_total: z.boolean().describe(\"Subtotal display within section (default: false)\").optional(),\n}).describe(\"Request model for updating a section in a proposal or template.\");\nexport const NusiiProposalsUpdateSectionOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique section identifier\").nullable().optional(),\n body: z.string().describe(\"Section content\").nullable().optional(),\n name: z.string().describe(\"Internal reference name\").nullable().optional(),\n type: z.string().describe(\"Resource type, typically 'sections'\").nullable().optional(),\n title: z.string().describe(\"Section heading\").nullable().optional(),\n currency: z.string().describe(\"Currency code for the section\").nullable().optional(),\n optional: z.boolean().describe(\"Client selection option\").nullable().optional(),\n position: z.number().int().describe(\"Display order\").nullable().optional(),\n reusable: z.boolean().describe(\"Whether section can be reused\").nullable().optional(),\n account_id: z.number().int().describe(\"Owner account identifier\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n page_break: z.boolean().describe(\"PDF page break setting\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n proposal_id: z.number().int().describe(\"Parent proposal ID\").nullable().optional(),\n template_id: z.number().int().describe(\"Parent template ID\").nullable().optional(),\n section_type: z.string().describe(\"Content type - 'text' or 'cost'\").nullable().optional(),\n include_total: z.boolean().describe(\"Subtotal display setting\").nullable().optional(),\n total_in_cents: z.number().int().describe(\"Section total in cents\").nullable().optional(),\n total_formatted: z.string().describe(\"Currency-formatted total\").nullable().optional(),\n}).describe(\"Response model for updated section details.\");\n\nexport const nusiiProposalsUpdateSection = action(\"NUSII_PROPOSALS_UPDATE_SECTION\", {\n slug: \"nusii_proposals-update-section\",\n name: \"Update Section\",\n description: \"Tool to update an existing section in a proposal or template. Use when you need to modify section content, settings, or display properties.\",\n input: NusiiProposalsUpdateSectionInput,\n output: NusiiProposalsUpdateSectionOutput,\n});\n"],"mappings":";;AAwCA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxC4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACvD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,QAA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AAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const nusiiProposals = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "nusii_proposals",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.nusiiProposals = nusiiProposals;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const nusiiProposals = defineApp({\n slug: \"nusii_proposals\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,kBAAA,uCAAA,CAAA,CAAA,UAAA,CAA2B;CACtC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const nusiiProposals: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { nusiiProposals };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,cAAA,6BAAc,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const nusiiProposals: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { nusiiProposals };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,cAAA,6BAAc,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const nusiiProposals = defineApp({
4
+ slug: "nusii_proposals",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { nusiiProposals };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const nusiiProposals = defineApp({\n slug: \"nusii_proposals\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,iBAAiB,UAAU;CACtC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const nusiiProposalsCatalog = {
4
+ "slug": "nusii_proposals",
5
+ "name": "Nusii proposals",
6
+ "description": "Proposal software that both you and your clients will love. Stop fighting with Word, InDesign and PDF's. Create beautiful proposals in less time, every time with Nusii.",
7
+ "category": "Proposal & Invoice Management",
8
+ "logo": "https://logos.composio.dev/api/nusii_proposals",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.nusiiProposalsCatalog = nusiiProposalsCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const nusiiProposalsCatalog = {\n \"slug\": \"nusii_proposals\",\n \"name\": \"Nusii proposals\",\n \"description\": \"Proposal software that both you and your clients will love. Stop fighting with Word, InDesign and PDF's. Create beautiful proposals in less time, every time with Nusii.\",\n \"category\": \"Proposal & Invoice Management\",\n \"logo\": \"https://logos.composio.dev/api/nusii_proposals\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const nusiiProposalsCatalog: {
4
+ readonly slug: "nusii_proposals";
5
+ readonly name: "Nusii proposals";
6
+ readonly description: "Proposal software that both you and your clients will love. Stop fighting with Word, InDesign and PDF's. Create beautiful proposals in less time, every time with Nusii.";
7
+ readonly category: "Proposal & Invoice Management";
8
+ readonly logo: "https://logos.composio.dev/api/nusii_proposals";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { nusiiProposalsCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,qBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const nusiiProposalsCatalog: {
4
+ readonly slug: "nusii_proposals";
5
+ readonly name: "Nusii proposals";
6
+ readonly description: "Proposal software that both you and your clients will love. Stop fighting with Word, InDesign and PDF's. Create beautiful proposals in less time, every time with Nusii.";
7
+ readonly category: "Proposal & Invoice Management";
8
+ readonly logo: "https://logos.composio.dev/api/nusii_proposals";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { nusiiProposalsCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,qBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const nusiiProposalsCatalog = {
4
+ "slug": "nusii_proposals",
5
+ "name": "Nusii proposals",
6
+ "description": "Proposal software that both you and your clients will love. Stop fighting with Word, InDesign and PDF's. Create beautiful proposals in less time, every time with Nusii.",
7
+ "category": "Proposal & Invoice Management",
8
+ "logo": "https://logos.composio.dev/api/nusii_proposals",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { nusiiProposalsCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const nusiiProposalsCatalog = {\n \"slug\": \"nusii_proposals\",\n \"name\": \"Nusii proposals\",\n \"description\": \"Proposal software that both you and your clients will love. Stop fighting with Word, InDesign and PDF's. Create beautiful proposals in less time, every time with Nusii.\",\n \"category\": \"Proposal & Invoice Management\",\n \"logo\": \"https://logos.composio.dev/api/nusii_proposals\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "nusii_proposals";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeNusiiProposalsTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeNusiiProposalsTool = executeNusiiProposalsTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"nusii_proposals\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeNusiiProposalsTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,0BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "nusii_proposals";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeNusiiProposalsTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeNusiiProposalsTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"nusii_proposals\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeNusiiProposalsTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,0BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/index.cjs ADDED
@@ -0,0 +1,64 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_app = require("./app.cjs");
3
+ const require_catalog = require("./catalog.cjs");
4
+ const require_archive_proposal = require("./actions/archive-proposal.cjs");
5
+ const require_create_client = require("./actions/create-client.cjs");
6
+ const require_create_line_item = require("./actions/create-line-item.cjs");
7
+ const require_create_proposal = require("./actions/create-proposal.cjs");
8
+ const require_create_section = require("./actions/create-section.cjs");
9
+ const require_create_webhook_endpoint = require("./actions/create-webhook-endpoint.cjs");
10
+ const require_delete_client = require("./actions/delete-client.cjs");
11
+ const require_delete_line_item = require("./actions/delete-line-item.cjs");
12
+ const require_delete_proposal = require("./actions/delete-proposal.cjs");
13
+ const require_delete_section = require("./actions/delete-section.cjs");
14
+ const require_delete_webhook_endpoint = require("./actions/delete-webhook-endpoint.cjs");
15
+ const require_get_account_me = require("./actions/get-account-me.cjs");
16
+ const require_get_client = require("./actions/get-client.cjs");
17
+ const require_get_proposal = require("./actions/get-proposal.cjs");
18
+ const require_get_section = require("./actions/get-section.cjs");
19
+ const require_get_webhook_endpoint = require("./actions/get-webhook-endpoint.cjs");
20
+ const require_list_clients = require("./actions/list-clients.cjs");
21
+ const require_list_line_items = require("./actions/list-line-items.cjs");
22
+ const require_list_proposal_activities = require("./actions/list-proposal-activities.cjs");
23
+ const require_list_proposals = require("./actions/list-proposals.cjs");
24
+ const require_list_section_line_items = require("./actions/list-section-line-items.cjs");
25
+ const require_list_sections = require("./actions/list-sections.cjs");
26
+ const require_list_themes = require("./actions/list-themes.cjs");
27
+ const require_list_users = require("./actions/list-users.cjs");
28
+ const require_list_webhook_endpoints = require("./actions/list-webhook-endpoints.cjs");
29
+ const require_update_client = require("./actions/update-client.cjs");
30
+ const require_update_line_item = require("./actions/update-line-item.cjs");
31
+ const require_update_proposal = require("./actions/update-proposal.cjs");
32
+ const require_update_section = require("./actions/update-section.cjs");
33
+ require("./actions/index.cjs");
34
+ exports.nusiiProposals = require_app.nusiiProposals;
35
+ exports.nusiiProposalsArchiveProposal = require_archive_proposal.nusiiProposalsArchiveProposal;
36
+ exports.nusiiProposalsCatalog = require_catalog.nusiiProposalsCatalog;
37
+ exports.nusiiProposalsCreateClient = require_create_client.nusiiProposalsCreateClient;
38
+ exports.nusiiProposalsCreateLineItem = require_create_line_item.nusiiProposalsCreateLineItem;
39
+ exports.nusiiProposalsCreateProposal = require_create_proposal.nusiiProposalsCreateProposal;
40
+ exports.nusiiProposalsCreateSection = require_create_section.nusiiProposalsCreateSection;
41
+ exports.nusiiProposalsCreateWebhookEndpoint = require_create_webhook_endpoint.nusiiProposalsCreateWebhookEndpoint;
42
+ exports.nusiiProposalsDeleteClient = require_delete_client.nusiiProposalsDeleteClient;
43
+ exports.nusiiProposalsDeleteLineItem = require_delete_line_item.nusiiProposalsDeleteLineItem;
44
+ exports.nusiiProposalsDeleteProposal = require_delete_proposal.nusiiProposalsDeleteProposal;
45
+ exports.nusiiProposalsDeleteSection = require_delete_section.nusiiProposalsDeleteSection;
46
+ exports.nusiiProposalsDeleteWebhookEndpoint = require_delete_webhook_endpoint.nusiiProposalsDeleteWebhookEndpoint;
47
+ exports.nusiiProposalsGetAccountMe = require_get_account_me.nusiiProposalsGetAccountMe;
48
+ exports.nusiiProposalsGetClient = require_get_client.nusiiProposalsGetClient;
49
+ exports.nusiiProposalsGetProposal = require_get_proposal.nusiiProposalsGetProposal;
50
+ exports.nusiiProposalsGetSection = require_get_section.nusiiProposalsGetSection;
51
+ exports.nusiiProposalsGetWebhookEndpoint = require_get_webhook_endpoint.nusiiProposalsGetWebhookEndpoint;
52
+ exports.nusiiProposalsListClients = require_list_clients.nusiiProposalsListClients;
53
+ exports.nusiiProposalsListLineItems = require_list_line_items.nusiiProposalsListLineItems;
54
+ exports.nusiiProposalsListProposalActivities = require_list_proposal_activities.nusiiProposalsListProposalActivities;
55
+ exports.nusiiProposalsListProposals = require_list_proposals.nusiiProposalsListProposals;
56
+ exports.nusiiProposalsListSectionLineItems = require_list_section_line_items.nusiiProposalsListSectionLineItems;
57
+ exports.nusiiProposalsListSections = require_list_sections.nusiiProposalsListSections;
58
+ exports.nusiiProposalsListThemes = require_list_themes.nusiiProposalsListThemes;
59
+ exports.nusiiProposalsListUsers = require_list_users.nusiiProposalsListUsers;
60
+ exports.nusiiProposalsListWebhookEndpoints = require_list_webhook_endpoints.nusiiProposalsListWebhookEndpoints;
61
+ exports.nusiiProposalsUpdateClient = require_update_client.nusiiProposalsUpdateClient;
62
+ exports.nusiiProposalsUpdateLineItem = require_update_line_item.nusiiProposalsUpdateLineItem;
63
+ exports.nusiiProposalsUpdateProposal = require_update_proposal.nusiiProposalsUpdateProposal;
64
+ exports.nusiiProposalsUpdateSection = require_update_section.nusiiProposalsUpdateSection;
@@ -0,0 +1,32 @@
1
+ import { nusiiProposalsArchiveProposal } from "./actions/archive-proposal.cjs";
2
+ import { nusiiProposalsCreateClient } from "./actions/create-client.cjs";
3
+ import { nusiiProposalsCreateLineItem } from "./actions/create-line-item.cjs";
4
+ import { nusiiProposalsCreateProposal } from "./actions/create-proposal.cjs";
5
+ import { nusiiProposalsCreateSection } from "./actions/create-section.cjs";
6
+ import { nusiiProposalsCreateWebhookEndpoint } from "./actions/create-webhook-endpoint.cjs";
7
+ import { nusiiProposalsDeleteClient } from "./actions/delete-client.cjs";
8
+ import { nusiiProposalsDeleteLineItem } from "./actions/delete-line-item.cjs";
9
+ import { nusiiProposalsDeleteProposal } from "./actions/delete-proposal.cjs";
10
+ import { nusiiProposalsDeleteSection } from "./actions/delete-section.cjs";
11
+ import { nusiiProposalsDeleteWebhookEndpoint } from "./actions/delete-webhook-endpoint.cjs";
12
+ import { nusiiProposalsGetAccountMe } from "./actions/get-account-me.cjs";
13
+ import { nusiiProposalsGetClient } from "./actions/get-client.cjs";
14
+ import { nusiiProposalsGetProposal } from "./actions/get-proposal.cjs";
15
+ import { nusiiProposalsGetSection } from "./actions/get-section.cjs";
16
+ import { nusiiProposalsGetWebhookEndpoint } from "./actions/get-webhook-endpoint.cjs";
17
+ import { nusiiProposalsListClients } from "./actions/list-clients.cjs";
18
+ import { nusiiProposalsListLineItems } from "./actions/list-line-items.cjs";
19
+ import { nusiiProposalsListProposalActivities } from "./actions/list-proposal-activities.cjs";
20
+ import { nusiiProposalsListProposals } from "./actions/list-proposals.cjs";
21
+ import { nusiiProposalsListSectionLineItems } from "./actions/list-section-line-items.cjs";
22
+ import { nusiiProposalsListSections } from "./actions/list-sections.cjs";
23
+ import { nusiiProposalsListThemes } from "./actions/list-themes.cjs";
24
+ import { nusiiProposalsListUsers } from "./actions/list-users.cjs";
25
+ import { nusiiProposalsListWebhookEndpoints } from "./actions/list-webhook-endpoints.cjs";
26
+ import { nusiiProposalsUpdateClient } from "./actions/update-client.cjs";
27
+ import { nusiiProposalsUpdateLineItem } from "./actions/update-line-item.cjs";
28
+ import { nusiiProposalsUpdateProposal } from "./actions/update-proposal.cjs";
29
+ import { nusiiProposalsUpdateSection } from "./actions/update-section.cjs";
30
+ import { nusiiProposals } from "./app.cjs";
31
+ import { nusiiProposalsCatalog } from "./catalog.cjs";
32
+ export { nusiiProposals, nusiiProposalsArchiveProposal, nusiiProposalsCatalog, nusiiProposalsCreateClient, nusiiProposalsCreateLineItem, nusiiProposalsCreateProposal, nusiiProposalsCreateSection, nusiiProposalsCreateWebhookEndpoint, nusiiProposalsDeleteClient, nusiiProposalsDeleteLineItem, nusiiProposalsDeleteProposal, nusiiProposalsDeleteSection, nusiiProposalsDeleteWebhookEndpoint, nusiiProposalsGetAccountMe, nusiiProposalsGetClient, nusiiProposalsGetProposal, nusiiProposalsGetSection, nusiiProposalsGetWebhookEndpoint, nusiiProposalsListClients, nusiiProposalsListLineItems, nusiiProposalsListProposalActivities, nusiiProposalsListProposals, nusiiProposalsListSectionLineItems, nusiiProposalsListSections, nusiiProposalsListThemes, nusiiProposalsListUsers, nusiiProposalsListWebhookEndpoints, nusiiProposalsUpdateClient, nusiiProposalsUpdateLineItem, nusiiProposalsUpdateProposal, nusiiProposalsUpdateSection };