@clientcasa/sdk 0.7.4 → 0.7.6

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 (328) hide show
  1. package/README.md +5 -0
  2. package/esm/funcs/calendar-events-delete.js +1 -1
  3. package/esm/funcs/calendar-events-delete.js.map +1 -1
  4. package/esm/funcs/calendar-events-update.js +2 -1
  5. package/esm/funcs/calendar-events-update.js.map +1 -1
  6. package/esm/funcs/catalog-items-delete.js +1 -1
  7. package/esm/funcs/catalog-items-delete.js.map +1 -1
  8. package/esm/funcs/catalog-items-update.js +2 -1
  9. package/esm/funcs/catalog-items-update.js.map +1 -1
  10. package/esm/funcs/clients-delete.js +1 -1
  11. package/esm/funcs/clients-delete.js.map +1 -1
  12. package/esm/funcs/clients-update.js +2 -1
  13. package/esm/funcs/clients-update.js.map +1 -1
  14. package/esm/funcs/contacts-delete.js +1 -1
  15. package/esm/funcs/contacts-delete.js.map +1 -1
  16. package/esm/funcs/contacts-update.js +2 -1
  17. package/esm/funcs/contacts-update.js.map +1 -1
  18. package/esm/funcs/contracts-delete.js +1 -1
  19. package/esm/funcs/contracts-delete.js.map +1 -1
  20. package/esm/funcs/contracts-update.js +2 -1
  21. package/esm/funcs/contracts-update.js.map +1 -1
  22. package/esm/funcs/event-day-vendors-delete.js +1 -1
  23. package/esm/funcs/event-day-vendors-delete.js.map +1 -1
  24. package/esm/funcs/event-day-vendors-update.js +2 -1
  25. package/esm/funcs/event-day-vendors-update.js.map +1 -1
  26. package/esm/funcs/event-days-delete.js +1 -1
  27. package/esm/funcs/event-days-delete.js.map +1 -1
  28. package/esm/funcs/event-days-update.js +2 -1
  29. package/esm/funcs/event-days-update.js.map +1 -1
  30. package/esm/funcs/form-attachments-get.d.ts +19 -0
  31. package/esm/funcs/form-attachments-get.d.ts.map +1 -0
  32. package/esm/funcs/form-attachments-get.js +110 -0
  33. package/esm/funcs/form-attachments-get.js.map +1 -0
  34. package/esm/funcs/invoices-delete.js +1 -1
  35. package/esm/funcs/invoices-delete.js.map +1 -1
  36. package/esm/funcs/invoices-update.js +2 -1
  37. package/esm/funcs/invoices-update.js.map +1 -1
  38. package/esm/funcs/milestones-delete.js +1 -1
  39. package/esm/funcs/milestones-delete.js.map +1 -1
  40. package/esm/funcs/milestones-update.js +2 -1
  41. package/esm/funcs/milestones-update.js.map +1 -1
  42. package/esm/funcs/payments-update.js +2 -1
  43. package/esm/funcs/payments-update.js.map +1 -1
  44. package/esm/funcs/projects-delete.js +1 -1
  45. package/esm/funcs/projects-delete.js.map +1 -1
  46. package/esm/funcs/projects-update.js +2 -1
  47. package/esm/funcs/projects-update.js.map +1 -1
  48. package/esm/funcs/time-entries-delete.js +1 -1
  49. package/esm/funcs/time-entries-delete.js.map +1 -1
  50. package/esm/funcs/time-entries-update.js +2 -1
  51. package/esm/funcs/time-entries-update.js.map +1 -1
  52. package/esm/funcs/timeline-items-delete.js +1 -1
  53. package/esm/funcs/timeline-items-delete.js.map +1 -1
  54. package/esm/funcs/timeline-items-update.js +2 -1
  55. package/esm/funcs/timeline-items-update.js.map +1 -1
  56. package/esm/funcs/transactions-create.d.ts +1 -1
  57. package/esm/funcs/transactions-create.js +1 -1
  58. package/esm/funcs/transactions-delete.js +1 -1
  59. package/esm/funcs/transactions-delete.js.map +1 -1
  60. package/esm/funcs/transactions-update.d.ts +1 -1
  61. package/esm/funcs/transactions-update.js +3 -2
  62. package/esm/funcs/transactions-update.js.map +1 -1
  63. package/esm/funcs/vendors-delete.js +1 -1
  64. package/esm/funcs/vendors-delete.js.map +1 -1
  65. package/esm/funcs/vendors-update.js +2 -1
  66. package/esm/funcs/vendors-update.js.map +1 -1
  67. package/esm/funcs/venues-delete.js +1 -1
  68. package/esm/funcs/venues-delete.js.map +1 -1
  69. package/esm/funcs/venues-update.js +2 -1
  70. package/esm/funcs/venues-update.js.map +1 -1
  71. package/esm/funcs/webhooks-delete.js +1 -1
  72. package/esm/funcs/webhooks-delete.js.map +1 -1
  73. package/esm/funcs/webhooks-update.js +2 -1
  74. package/esm/funcs/webhooks-update.js.map +1 -1
  75. package/esm/lib/config.d.ts +3 -3
  76. package/esm/lib/config.js +3 -3
  77. package/esm/lib/config.js.map +1 -1
  78. package/esm/models/api-error.d.ts +16 -0
  79. package/esm/models/api-error.d.ts.map +1 -1
  80. package/esm/models/api-error.js +16 -0
  81. package/esm/models/api-error.js.map +1 -1
  82. package/esm/models/calendar-event-update.d.ts +5 -5
  83. package/esm/models/calendar-event-update.d.ts.map +1 -1
  84. package/esm/models/calendar-event-update.js +1 -1
  85. package/esm/models/calendar-event-update.js.map +1 -1
  86. package/esm/models/event-day-vendor-create.d.ts +6 -0
  87. package/esm/models/event-day-vendor-create.d.ts.map +1 -1
  88. package/esm/models/event-day-vendor-create.js.map +1 -1
  89. package/esm/models/event-day-vendor-update.d.ts +6 -0
  90. package/esm/models/event-day-vendor-update.d.ts.map +1 -1
  91. package/esm/models/event-day-vendor-update.js.map +1 -1
  92. package/esm/models/event-day-vendor.d.ts +6 -0
  93. package/esm/models/event-day-vendor.d.ts.map +1 -1
  94. package/esm/models/event-day-vendor.js.map +1 -1
  95. package/esm/models/form-attachment-download.d.ts +21 -0
  96. package/esm/models/form-attachment-download.d.ts.map +1 -0
  97. package/esm/models/form-attachment-download.js +19 -0
  98. package/esm/models/form-attachment-download.js.map +1 -0
  99. package/esm/models/index.d.ts +1 -0
  100. package/esm/models/index.d.ts.map +1 -1
  101. package/esm/models/index.js +1 -0
  102. package/esm/models/index.js.map +1 -1
  103. package/esm/models/operations/create-calendar-event.d.ts +1 -1
  104. package/esm/models/operations/create-catalog-item.d.ts +1 -1
  105. package/esm/models/operations/create-client.d.ts +1 -1
  106. package/esm/models/operations/create-contact.d.ts +1 -1
  107. package/esm/models/operations/create-contract.d.ts +1 -1
  108. package/esm/models/operations/create-event-day-vendor.d.ts +1 -1
  109. package/esm/models/operations/create-event-day.d.ts +1 -1
  110. package/esm/models/operations/create-inquiry.d.ts +1 -1
  111. package/esm/models/operations/create-invoice.d.ts +1 -1
  112. package/esm/models/operations/create-milestone.d.ts +1 -1
  113. package/esm/models/operations/create-payment.d.ts +1 -1
  114. package/esm/models/operations/create-project.d.ts +1 -1
  115. package/esm/models/operations/create-time-entry.d.ts +1 -1
  116. package/esm/models/operations/create-timeline-item.d.ts +1 -1
  117. package/esm/models/operations/create-transaction.d.ts +1 -1
  118. package/esm/models/operations/create-vendor.d.ts +1 -1
  119. package/esm/models/operations/create-venue.d.ts +1 -1
  120. package/esm/models/operations/create-webhook.d.ts +1 -1
  121. package/esm/models/operations/get-form-attachment.d.ts +27 -0
  122. package/esm/models/operations/get-form-attachment.d.ts.map +1 -0
  123. package/esm/models/operations/get-form-attachment.js +20 -0
  124. package/esm/models/operations/get-form-attachment.js.map +1 -0
  125. package/esm/models/operations/index.d.ts +1 -0
  126. package/esm/models/operations/index.d.ts.map +1 -1
  127. package/esm/models/operations/index.js +1 -0
  128. package/esm/models/operations/index.js.map +1 -1
  129. package/esm/models/operations/list-calendar-events.d.ts +2 -2
  130. package/esm/models/operations/list-client-documents.d.ts +9 -0
  131. package/esm/models/operations/list-client-documents.d.ts.map +1 -1
  132. package/esm/models/operations/list-client-documents.js +3 -0
  133. package/esm/models/operations/list-client-documents.js.map +1 -1
  134. package/esm/models/operations/list-event-day-vendors.d.ts +6 -0
  135. package/esm/models/operations/list-event-day-vendors.d.ts.map +1 -1
  136. package/esm/models/operations/list-event-day-vendors.js.map +1 -1
  137. package/esm/models/operations/list-time-entries.d.ts +19 -2
  138. package/esm/models/operations/list-time-entries.d.ts.map +1 -1
  139. package/esm/models/operations/list-time-entries.js +10 -1
  140. package/esm/models/operations/list-time-entries.js.map +1 -1
  141. package/esm/models/operations/list-timeline-items.d.ts +3 -0
  142. package/esm/models/operations/list-timeline-items.d.ts.map +1 -1
  143. package/esm/models/operations/list-timeline-items.js.map +1 -1
  144. package/esm/models/operations/list-webhooks.d.ts +18 -2
  145. package/esm/models/operations/list-webhooks.d.ts.map +1 -1
  146. package/esm/models/operations/list-webhooks.js +10 -1
  147. package/esm/models/operations/list-webhooks.js.map +1 -1
  148. package/esm/models/operations/update-calendar-event.d.ts +5 -0
  149. package/esm/models/operations/update-calendar-event.d.ts.map +1 -1
  150. package/esm/models/operations/update-calendar-event.js +8 -2
  151. package/esm/models/operations/update-calendar-event.js.map +1 -1
  152. package/esm/models/operations/update-catalog-item.d.ts +5 -0
  153. package/esm/models/operations/update-catalog-item.d.ts.map +1 -1
  154. package/esm/models/operations/update-catalog-item.js +8 -2
  155. package/esm/models/operations/update-catalog-item.js.map +1 -1
  156. package/esm/models/operations/update-client.d.ts +5 -0
  157. package/esm/models/operations/update-client.d.ts.map +1 -1
  158. package/esm/models/operations/update-client.js +8 -2
  159. package/esm/models/operations/update-client.js.map +1 -1
  160. package/esm/models/operations/update-contact.d.ts +5 -0
  161. package/esm/models/operations/update-contact.d.ts.map +1 -1
  162. package/esm/models/operations/update-contact.js +8 -2
  163. package/esm/models/operations/update-contact.js.map +1 -1
  164. package/esm/models/operations/update-contract.d.ts +5 -0
  165. package/esm/models/operations/update-contract.d.ts.map +1 -1
  166. package/esm/models/operations/update-contract.js +8 -2
  167. package/esm/models/operations/update-contract.js.map +1 -1
  168. package/esm/models/operations/update-event-day-vendor.d.ts +5 -0
  169. package/esm/models/operations/update-event-day-vendor.d.ts.map +1 -1
  170. package/esm/models/operations/update-event-day-vendor.js +8 -2
  171. package/esm/models/operations/update-event-day-vendor.js.map +1 -1
  172. package/esm/models/operations/update-event-day.d.ts +5 -0
  173. package/esm/models/operations/update-event-day.d.ts.map +1 -1
  174. package/esm/models/operations/update-event-day.js +8 -2
  175. package/esm/models/operations/update-event-day.js.map +1 -1
  176. package/esm/models/operations/update-invoice.d.ts +5 -0
  177. package/esm/models/operations/update-invoice.d.ts.map +1 -1
  178. package/esm/models/operations/update-invoice.js +8 -2
  179. package/esm/models/operations/update-invoice.js.map +1 -1
  180. package/esm/models/operations/update-milestone.d.ts +5 -0
  181. package/esm/models/operations/update-milestone.d.ts.map +1 -1
  182. package/esm/models/operations/update-milestone.js +8 -2
  183. package/esm/models/operations/update-milestone.js.map +1 -1
  184. package/esm/models/operations/update-payment.d.ts +5 -0
  185. package/esm/models/operations/update-payment.d.ts.map +1 -1
  186. package/esm/models/operations/update-payment.js +8 -2
  187. package/esm/models/operations/update-payment.js.map +1 -1
  188. package/esm/models/operations/update-project.d.ts +5 -0
  189. package/esm/models/operations/update-project.d.ts.map +1 -1
  190. package/esm/models/operations/update-project.js +8 -2
  191. package/esm/models/operations/update-project.js.map +1 -1
  192. package/esm/models/operations/update-time-entry.d.ts +5 -0
  193. package/esm/models/operations/update-time-entry.d.ts.map +1 -1
  194. package/esm/models/operations/update-time-entry.js +8 -2
  195. package/esm/models/operations/update-time-entry.js.map +1 -1
  196. package/esm/models/operations/update-timeline-item.d.ts +5 -0
  197. package/esm/models/operations/update-timeline-item.d.ts.map +1 -1
  198. package/esm/models/operations/update-timeline-item.js +8 -2
  199. package/esm/models/operations/update-timeline-item.js.map +1 -1
  200. package/esm/models/operations/update-transaction.d.ts +5 -0
  201. package/esm/models/operations/update-transaction.d.ts.map +1 -1
  202. package/esm/models/operations/update-transaction.js +8 -2
  203. package/esm/models/operations/update-transaction.js.map +1 -1
  204. package/esm/models/operations/update-vendor.d.ts +5 -0
  205. package/esm/models/operations/update-vendor.d.ts.map +1 -1
  206. package/esm/models/operations/update-vendor.js +8 -2
  207. package/esm/models/operations/update-vendor.js.map +1 -1
  208. package/esm/models/operations/update-venue.d.ts +5 -0
  209. package/esm/models/operations/update-venue.d.ts.map +1 -1
  210. package/esm/models/operations/update-venue.js +8 -2
  211. package/esm/models/operations/update-venue.js.map +1 -1
  212. package/esm/models/operations/update-webhook.d.ts +5 -0
  213. package/esm/models/operations/update-webhook.d.ts.map +1 -1
  214. package/esm/models/operations/update-webhook.js +8 -2
  215. package/esm/models/operations/update-webhook.js.map +1 -1
  216. package/esm/models/timeline-item-create.d.ts +6 -0
  217. package/esm/models/timeline-item-create.d.ts.map +1 -1
  218. package/esm/models/timeline-item-create.js.map +1 -1
  219. package/esm/models/timeline-item-update.d.ts +6 -0
  220. package/esm/models/timeline-item-update.d.ts.map +1 -1
  221. package/esm/models/timeline-item-update.js.map +1 -1
  222. package/esm/models/timeline-item.d.ts +6 -0
  223. package/esm/models/timeline-item.d.ts.map +1 -1
  224. package/esm/models/timeline-item.js.map +1 -1
  225. package/esm/sdk/form-attachments.d.ts +13 -0
  226. package/esm/sdk/form-attachments.d.ts.map +1 -0
  227. package/esm/sdk/form-attachments.js +18 -0
  228. package/esm/sdk/form-attachments.js.map +1 -0
  229. package/esm/sdk/sdk.d.ts +3 -0
  230. package/esm/sdk/sdk.d.ts.map +1 -1
  231. package/esm/sdk/sdk.js +5 -0
  232. package/esm/sdk/sdk.js.map +1 -1
  233. package/esm/sdk/transactions.d.ts +2 -2
  234. package/esm/sdk/transactions.js +2 -2
  235. package/jsr.json +1 -1
  236. package/package.json +1 -1
  237. package/src/funcs/calendar-events-delete.ts +1 -1
  238. package/src/funcs/calendar-events-update.ts +6 -1
  239. package/src/funcs/catalog-items-delete.ts +1 -1
  240. package/src/funcs/catalog-items-update.ts +6 -1
  241. package/src/funcs/clients-delete.ts +1 -1
  242. package/src/funcs/clients-update.ts +6 -1
  243. package/src/funcs/contacts-delete.ts +1 -1
  244. package/src/funcs/contacts-update.ts +6 -1
  245. package/src/funcs/contracts-delete.ts +1 -1
  246. package/src/funcs/contracts-update.ts +6 -1
  247. package/src/funcs/event-day-vendors-delete.ts +1 -1
  248. package/src/funcs/event-day-vendors-update.ts +6 -1
  249. package/src/funcs/event-days-delete.ts +1 -1
  250. package/src/funcs/event-days-update.ts +6 -1
  251. package/src/funcs/form-attachments-get.ts +206 -0
  252. package/src/funcs/invoices-delete.ts +1 -1
  253. package/src/funcs/invoices-update.ts +6 -1
  254. package/src/funcs/milestones-delete.ts +1 -1
  255. package/src/funcs/milestones-update.ts +6 -1
  256. package/src/funcs/payments-update.ts +6 -1
  257. package/src/funcs/projects-delete.ts +1 -1
  258. package/src/funcs/projects-update.ts +6 -1
  259. package/src/funcs/time-entries-delete.ts +1 -1
  260. package/src/funcs/time-entries-update.ts +6 -1
  261. package/src/funcs/timeline-items-delete.ts +1 -1
  262. package/src/funcs/timeline-items-update.ts +6 -1
  263. package/src/funcs/transactions-create.ts +1 -1
  264. package/src/funcs/transactions-delete.ts +1 -1
  265. package/src/funcs/transactions-update.ts +7 -2
  266. package/src/funcs/vendors-delete.ts +1 -1
  267. package/src/funcs/vendors-update.ts +6 -1
  268. package/src/funcs/venues-delete.ts +1 -1
  269. package/src/funcs/venues-update.ts +6 -1
  270. package/src/funcs/webhooks-delete.ts +1 -1
  271. package/src/funcs/webhooks-update.ts +6 -1
  272. package/src/lib/config.ts +3 -3
  273. package/src/models/api-error.ts +16 -0
  274. package/src/models/calendar-event-update.ts +8 -8
  275. package/src/models/event-day-vendor-create.ts +6 -0
  276. package/src/models/event-day-vendor-update.ts +6 -0
  277. package/src/models/event-day-vendor.ts +6 -0
  278. package/src/models/form-attachment-download.ts +47 -0
  279. package/src/models/index.ts +1 -0
  280. package/src/models/operations/create-calendar-event.ts +1 -1
  281. package/src/models/operations/create-catalog-item.ts +1 -1
  282. package/src/models/operations/create-client.ts +1 -1
  283. package/src/models/operations/create-contact.ts +1 -1
  284. package/src/models/operations/create-contract.ts +1 -1
  285. package/src/models/operations/create-event-day-vendor.ts +1 -1
  286. package/src/models/operations/create-event-day.ts +1 -1
  287. package/src/models/operations/create-inquiry.ts +1 -1
  288. package/src/models/operations/create-invoice.ts +1 -1
  289. package/src/models/operations/create-milestone.ts +1 -1
  290. package/src/models/operations/create-payment.ts +1 -1
  291. package/src/models/operations/create-project.ts +1 -1
  292. package/src/models/operations/create-time-entry.ts +1 -1
  293. package/src/models/operations/create-timeline-item.ts +1 -1
  294. package/src/models/operations/create-transaction.ts +1 -1
  295. package/src/models/operations/create-vendor.ts +1 -1
  296. package/src/models/operations/create-venue.ts +1 -1
  297. package/src/models/operations/create-webhook.ts +1 -1
  298. package/src/models/operations/get-form-attachment.ts +61 -0
  299. package/src/models/operations/index.ts +1 -0
  300. package/src/models/operations/list-calendar-events.ts +2 -2
  301. package/src/models/operations/list-client-documents.ts +9 -0
  302. package/src/models/operations/list-event-day-vendors.ts +6 -0
  303. package/src/models/operations/list-time-entries.ts +24 -3
  304. package/src/models/operations/list-timeline-items.ts +3 -0
  305. package/src/models/operations/list-webhooks.ts +23 -3
  306. package/src/models/operations/update-calendar-event.ts +18 -4
  307. package/src/models/operations/update-catalog-item.ts +18 -4
  308. package/src/models/operations/update-client.ts +18 -4
  309. package/src/models/operations/update-contact.ts +18 -4
  310. package/src/models/operations/update-contract.ts +18 -4
  311. package/src/models/operations/update-event-day-vendor.ts +18 -4
  312. package/src/models/operations/update-event-day.ts +18 -4
  313. package/src/models/operations/update-invoice.ts +18 -4
  314. package/src/models/operations/update-milestone.ts +18 -4
  315. package/src/models/operations/update-payment.ts +18 -4
  316. package/src/models/operations/update-project.ts +18 -4
  317. package/src/models/operations/update-time-entry.ts +18 -4
  318. package/src/models/operations/update-timeline-item.ts +18 -4
  319. package/src/models/operations/update-transaction.ts +18 -4
  320. package/src/models/operations/update-vendor.ts +18 -4
  321. package/src/models/operations/update-venue.ts +18 -4
  322. package/src/models/operations/update-webhook.ts +18 -4
  323. package/src/models/timeline-item-create.ts +6 -0
  324. package/src/models/timeline-item-update.ts +6 -0
  325. package/src/models/timeline-item.ts +6 -0
  326. package/src/sdk/form-attachments.ts +30 -0
  327. package/src/sdk/sdk.ts +6 -0
  328. package/src/sdk/transactions.ts +2 -2
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateClientSecurity = {
@@ -15,6 +16,10 @@ export type UpdateClientRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.ClientUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateClientSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateClientRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.ClientUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateClientRequest$Outbound = {
51
57
  export const UpdateClientRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateClientRequest$Outbound,
53
59
  UpdateClientRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.ClientUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.ClientUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateClientRequestToJSON(
60
74
  updateClientRequest: UpdateClientRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateContactSecurity = {
@@ -15,6 +16,10 @@ export type UpdateContactRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.ContactUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateContactSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateContactRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.ContactUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateContactRequest$Outbound = {
51
57
  export const UpdateContactRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateContactRequest$Outbound,
53
59
  UpdateContactRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.ContactUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.ContactUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateContactRequestToJSON(
60
74
  updateContactRequest: UpdateContactRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateContractSecurity = {
@@ -15,6 +16,10 @@ export type UpdateContractRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.ContractUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateContractSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateContractRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.ContractUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateContractRequest$Outbound = {
51
57
  export const UpdateContractRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateContractRequest$Outbound,
53
59
  UpdateContractRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.ContractUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.ContractUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateContractRequestToJSON(
60
74
  updateContractRequest: UpdateContractRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateEventDayVendorSecurity = {
@@ -15,6 +16,10 @@ export type UpdateEventDayVendorRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.EventDayVendorUpdate;
19
24
  };
20
25
 
@@ -46,6 +51,7 @@ export function updateEventDayVendorSecurityToJSON(
46
51
  /** @internal */
47
52
  export type UpdateEventDayVendorRequest$Outbound = {
48
53
  id: string;
54
+ "Idempotency-Key"?: string | undefined;
49
55
  body: models.EventDayVendorUpdate$Outbound;
50
56
  };
51
57
 
@@ -53,10 +59,18 @@ export type UpdateEventDayVendorRequest$Outbound = {
53
59
  export const UpdateEventDayVendorRequest$outboundSchema: z.ZodMiniType<
54
60
  UpdateEventDayVendorRequest$Outbound,
55
61
  UpdateEventDayVendorRequest
56
- > = z.object({
57
- id: z.string(),
58
- body: models.EventDayVendorUpdate$outboundSchema,
59
- });
62
+ > = z.pipe(
63
+ z.object({
64
+ id: z.string(),
65
+ idempotencyKey: z.optional(z.string()),
66
+ body: models.EventDayVendorUpdate$outboundSchema,
67
+ }),
68
+ z.transform((v) => {
69
+ return remap$(v, {
70
+ idempotencyKey: "Idempotency-Key",
71
+ });
72
+ }),
73
+ );
60
74
 
61
75
  export function updateEventDayVendorRequestToJSON(
62
76
  updateEventDayVendorRequest: UpdateEventDayVendorRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateEventDaySecurity = {
@@ -15,6 +16,10 @@ export type UpdateEventDayRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.EventDayUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateEventDaySecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateEventDayRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.EventDayUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateEventDayRequest$Outbound = {
51
57
  export const UpdateEventDayRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateEventDayRequest$Outbound,
53
59
  UpdateEventDayRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.EventDayUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.EventDayUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateEventDayRequestToJSON(
60
74
  updateEventDayRequest: UpdateEventDayRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateInvoiceSecurity = {
@@ -15,6 +16,10 @@ export type UpdateInvoiceRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.InvoiceUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateInvoiceSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateInvoiceRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.InvoiceUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateInvoiceRequest$Outbound = {
51
57
  export const UpdateInvoiceRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateInvoiceRequest$Outbound,
53
59
  UpdateInvoiceRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.InvoiceUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.InvoiceUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateInvoiceRequestToJSON(
60
74
  updateInvoiceRequest: UpdateInvoiceRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateMilestoneSecurity = {
@@ -15,6 +16,10 @@ export type UpdateMilestoneRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.MilestoneUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateMilestoneSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateMilestoneRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.MilestoneUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateMilestoneRequest$Outbound = {
51
57
  export const UpdateMilestoneRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateMilestoneRequest$Outbound,
53
59
  UpdateMilestoneRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.MilestoneUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.MilestoneUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateMilestoneRequestToJSON(
60
74
  updateMilestoneRequest: UpdateMilestoneRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdatePaymentSecurity = {
@@ -15,6 +16,10 @@ export type UpdatePaymentRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.PaymentUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updatePaymentSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdatePaymentRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.PaymentUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdatePaymentRequest$Outbound = {
51
57
  export const UpdatePaymentRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdatePaymentRequest$Outbound,
53
59
  UpdatePaymentRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.PaymentUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.PaymentUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updatePaymentRequestToJSON(
60
74
  updatePaymentRequest: UpdatePaymentRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateProjectSecurity = {
@@ -15,6 +16,10 @@ export type UpdateProjectRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.ProjectUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateProjectSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateProjectRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.ProjectUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateProjectRequest$Outbound = {
51
57
  export const UpdateProjectRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateProjectRequest$Outbound,
53
59
  UpdateProjectRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.ProjectUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.ProjectUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateProjectRequestToJSON(
60
74
  updateProjectRequest: UpdateProjectRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateTimeEntrySecurity = {
@@ -15,6 +16,10 @@ export type UpdateTimeEntryRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.TimeEntryUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateTimeEntrySecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateTimeEntryRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.TimeEntryUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateTimeEntryRequest$Outbound = {
51
57
  export const UpdateTimeEntryRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateTimeEntryRequest$Outbound,
53
59
  UpdateTimeEntryRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.TimeEntryUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.TimeEntryUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateTimeEntryRequestToJSON(
60
74
  updateTimeEntryRequest: UpdateTimeEntryRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateTimelineItemSecurity = {
@@ -15,6 +16,10 @@ export type UpdateTimelineItemRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.TimelineItemUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateTimelineItemSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateTimelineItemRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.TimelineItemUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateTimelineItemRequest$Outbound = {
51
57
  export const UpdateTimelineItemRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateTimelineItemRequest$Outbound,
53
59
  UpdateTimelineItemRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.TimelineItemUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.TimelineItemUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateTimelineItemRequestToJSON(
60
74
  updateTimelineItemRequest: UpdateTimelineItemRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateTransactionSecurity = {
@@ -15,6 +16,10 @@ export type UpdateTransactionRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.TransactionUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateTransactionSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateTransactionRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.TransactionUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateTransactionRequest$Outbound = {
51
57
  export const UpdateTransactionRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateTransactionRequest$Outbound,
53
59
  UpdateTransactionRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.TransactionUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.TransactionUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateTransactionRequestToJSON(
60
74
  updateTransactionRequest: UpdateTransactionRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateVendorSecurity = {
@@ -15,6 +16,10 @@ export type UpdateVendorRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.VendorUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateVendorSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateVendorRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.VendorUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateVendorRequest$Outbound = {
51
57
  export const UpdateVendorRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateVendorRequest$Outbound,
53
59
  UpdateVendorRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.VendorUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.VendorUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateVendorRequestToJSON(
60
74
  updateVendorRequest: UpdateVendorRequest,
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import * as models from "../index.js";
7
8
 
8
9
  export type UpdateVenueSecurity = {
@@ -15,6 +16,10 @@ export type UpdateVenueRequest = {
15
16
  * UUID v4
16
17
  */
17
18
  id: string;
19
+ /**
20
+ * Optional unique key that makes this request safely retryable. Replaying the same key returns the original response instead of creating a duplicate; reusing a key with a different request body returns 409.
21
+ */
22
+ idempotencyKey?: string | undefined;
18
23
  body: models.VenueUpdate;
19
24
  };
20
25
 
@@ -44,6 +49,7 @@ export function updateVenueSecurityToJSON(
44
49
  /** @internal */
45
50
  export type UpdateVenueRequest$Outbound = {
46
51
  id: string;
52
+ "Idempotency-Key"?: string | undefined;
47
53
  body: models.VenueUpdate$Outbound;
48
54
  };
49
55
 
@@ -51,10 +57,18 @@ export type UpdateVenueRequest$Outbound = {
51
57
  export const UpdateVenueRequest$outboundSchema: z.ZodMiniType<
52
58
  UpdateVenueRequest$Outbound,
53
59
  UpdateVenueRequest
54
- > = z.object({
55
- id: z.string(),
56
- body: models.VenueUpdate$outboundSchema,
57
- });
60
+ > = z.pipe(
61
+ z.object({
62
+ id: z.string(),
63
+ idempotencyKey: z.optional(z.string()),
64
+ body: models.VenueUpdate$outboundSchema,
65
+ }),
66
+ z.transform((v) => {
67
+ return remap$(v, {
68
+ idempotencyKey: "Idempotency-Key",
69
+ });
70
+ }),
71
+ );
58
72
 
59
73
  export function updateVenueRequestToJSON(
60
74
  updateVenueRequest: UpdateVenueRequest,