@maesn/typescript-sdk 0.6.0 → 0.6.1

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 (256) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/esm/funcs/accounting-v2-create-booking-proposal-v2.js +1 -1
  3. package/esm/funcs/accounting-v2-create-booking-proposal-v2.js.map +1 -1
  4. package/esm/funcs/accounting-v2-create-contact-v2.js +1 -1
  5. package/esm/funcs/accounting-v2-put-contact-v2.js +1 -1
  6. package/esm/funcs/accounting-v2-put-contact-v2.js.map +1 -1
  7. package/esm/lib/config.d.ts +3 -3
  8. package/esm/lib/config.d.ts.map +1 -1
  9. package/esm/lib/config.js +3 -3
  10. package/esm/lib/config.js.map +1 -1
  11. package/esm/models/account-response-dto.d.ts +9 -9
  12. package/esm/models/account-response-dto.d.ts.map +1 -1
  13. package/esm/models/account-response-dto.js +4 -6
  14. package/esm/models/account-response-dto.js.map +1 -1
  15. package/esm/models/address-offer.d.ts +7 -7
  16. package/esm/models/address-offer.d.ts.map +1 -1
  17. package/esm/models/address-offer.js +4 -5
  18. package/esm/models/address-offer.js.map +1 -1
  19. package/esm/models/address.d.ts +7 -7
  20. package/esm/models/address.d.ts.map +1 -1
  21. package/esm/models/address.js +5 -5
  22. package/esm/models/address.js.map +1 -1
  23. package/esm/models/async-task-response-dto.d.ts +8 -4
  24. package/esm/models/async-task-response-dto.d.ts.map +1 -1
  25. package/esm/models/async-task-response-dto.js +7 -3
  26. package/esm/models/async-task-response-dto.js.map +1 -1
  27. package/esm/models/bank-account-response-dto.d.ts +7 -7
  28. package/esm/models/bank-account-response-dto.d.ts.map +1 -1
  29. package/esm/models/bank-account-response-dto.js +3 -4
  30. package/esm/models/bank-account-response-dto.js.map +1 -1
  31. package/esm/models/bill-response-dto.d.ts +9 -9
  32. package/esm/models/bill-response-dto.d.ts.map +1 -1
  33. package/esm/models/bill-response-dto.js +4 -5
  34. package/esm/models/bill-response-dto.js.map +1 -1
  35. package/esm/models/booking-proposal-address-response-dto-v2.d.ts +10 -0
  36. package/esm/models/booking-proposal-address-response-dto-v2.d.ts.map +1 -0
  37. package/esm/models/booking-proposal-address-response-dto-v2.js +14 -0
  38. package/esm/models/booking-proposal-address-response-dto-v2.js.map +1 -0
  39. package/esm/models/booking-proposal-line-item-response-dto-v2.d.ts +42 -0
  40. package/esm/models/booking-proposal-line-item-response-dto-v2.d.ts.map +1 -0
  41. package/esm/models/booking-proposal-line-item-response-dto-v2.js +45 -0
  42. package/esm/models/booking-proposal-line-item-response-dto-v2.js.map +1 -0
  43. package/esm/models/booking-proposal-response-dto-v2.d.ts +83 -0
  44. package/esm/models/booking-proposal-response-dto-v2.d.ts.map +1 -0
  45. package/esm/models/booking-proposal-response-dto-v2.js +86 -0
  46. package/esm/models/booking-proposal-response-dto-v2.js.map +1 -0
  47. package/esm/models/booking-proposal-response-dto.d.ts +7 -7
  48. package/esm/models/booking-proposal-response-dto.d.ts.map +1 -1
  49. package/esm/models/booking-proposal-response-dto.js +4 -5
  50. package/esm/models/booking-proposal-response-dto.js.map +1 -1
  51. package/esm/models/contact-address-v2.d.ts +5 -5
  52. package/esm/models/contact-address-v2.d.ts.map +1 -1
  53. package/esm/models/contact-address-v2.js +2 -3
  54. package/esm/models/contact-address-v2.js.map +1 -1
  55. package/esm/models/contact-address.d.ts +5 -5
  56. package/esm/models/contact-address.d.ts.map +1 -1
  57. package/esm/models/contact-address.js +2 -3
  58. package/esm/models/contact-address.js.map +1 -1
  59. package/esm/models/contact-response-dto-v2.d.ts +3 -3
  60. package/esm/models/contact-response-dto-v2.d.ts.map +1 -1
  61. package/esm/models/contact-response-dto-v2.js +1 -2
  62. package/esm/models/contact-response-dto-v2.js.map +1 -1
  63. package/esm/models/contact-response-dto.d.ts +5 -5
  64. package/esm/models/contact-response-dto.d.ts.map +1 -1
  65. package/esm/models/contact-response-dto.js +2 -3
  66. package/esm/models/contact-response-dto.js.map +1 -1
  67. package/esm/models/create-vendor-credit-request-dto.d.ts +2 -0
  68. package/esm/models/create-vendor-credit-request-dto.d.ts.map +1 -1
  69. package/esm/models/create-vendor-credit-request-dto.js +1 -0
  70. package/esm/models/create-vendor-credit-request-dto.js.map +1 -1
  71. package/esm/models/credit-note-response-dto.d.ts +5 -5
  72. package/esm/models/credit-note-response-dto.d.ts.map +1 -1
  73. package/esm/models/credit-note-response-dto.js +2 -3
  74. package/esm/models/credit-note-response-dto.js.map +1 -1
  75. package/esm/models/dimension-response-common-dto-v2.d.ts +13 -0
  76. package/esm/models/dimension-response-common-dto-v2.d.ts.map +1 -0
  77. package/esm/models/dimension-response-common-dto-v2.js +17 -0
  78. package/esm/models/dimension-response-common-dto-v2.js.map +1 -0
  79. package/esm/models/email-address-v2.d.ts +4 -4
  80. package/esm/models/email-address-v2.d.ts.map +1 -1
  81. package/esm/models/email-address-v2.js +2 -3
  82. package/esm/models/email-address-v2.js.map +1 -1
  83. package/esm/models/email-address.d.ts +3 -3
  84. package/esm/models/email-address.d.ts.map +1 -1
  85. package/esm/models/email-address.js +1 -2
  86. package/esm/models/email-address.js.map +1 -1
  87. package/esm/models/expense-line-item-response.d.ts +3 -3
  88. package/esm/models/expense-line-item-response.d.ts.map +1 -1
  89. package/esm/models/expense-line-item-response.js +1 -2
  90. package/esm/models/expense-line-item-response.js.map +1 -1
  91. package/esm/models/expense-response-dto.d.ts +7 -7
  92. package/esm/models/expense-response-dto.d.ts.map +1 -1
  93. package/esm/models/expense-response-dto.js +3 -4
  94. package/esm/models/expense-response-dto.js.map +1 -1
  95. package/esm/models/fiscal-year-response-dto.d.ts +5 -5
  96. package/esm/models/fiscal-year-response-dto.d.ts.map +1 -1
  97. package/esm/models/fiscal-year-response-dto.js +2 -3
  98. package/esm/models/fiscal-year-response-dto.js.map +1 -1
  99. package/esm/models/index.d.ts +4 -0
  100. package/esm/models/index.d.ts.map +1 -1
  101. package/esm/models/index.js +4 -0
  102. package/esm/models/index.js.map +1 -1
  103. package/esm/models/invoice-response-dto.d.ts +11 -11
  104. package/esm/models/invoice-response-dto.d.ts.map +1 -1
  105. package/esm/models/invoice-response-dto.js +5 -6
  106. package/esm/models/invoice-response-dto.js.map +1 -1
  107. package/esm/models/item-response-dto.d.ts +5 -5
  108. package/esm/models/item-response-dto.d.ts.map +1 -1
  109. package/esm/models/item-response-dto.js +2 -3
  110. package/esm/models/item-response-dto.js.map +1 -1
  111. package/esm/models/journal-entry-response-dto.d.ts +5 -5
  112. package/esm/models/journal-entry-response-dto.d.ts.map +1 -1
  113. package/esm/models/journal-entry-response-dto.js +2 -3
  114. package/esm/models/journal-entry-response-dto.js.map +1 -1
  115. package/esm/models/journal-line-item.d.ts +5 -5
  116. package/esm/models/journal-line-item.d.ts.map +1 -1
  117. package/esm/models/journal-line-item.js +2 -3
  118. package/esm/models/journal-line-item.js.map +1 -1
  119. package/esm/models/line-item-response.d.ts +3 -3
  120. package/esm/models/line-item-response.d.ts.map +1 -1
  121. package/esm/models/line-item-response.js +1 -2
  122. package/esm/models/line-item-response.js.map +1 -1
  123. package/esm/models/monthly-value.d.ts +3 -3
  124. package/esm/models/monthly-value.d.ts.map +1 -1
  125. package/esm/models/monthly-value.js +1 -2
  126. package/esm/models/monthly-value.js.map +1 -1
  127. package/esm/models/offer-line-item-response-dto.d.ts +3 -3
  128. package/esm/models/offer-line-item-response-dto.d.ts.map +1 -1
  129. package/esm/models/offer-line-item-response-dto.js +1 -2
  130. package/esm/models/offer-line-item-response-dto.js.map +1 -1
  131. package/esm/models/offer-response-dto.d.ts +3 -3
  132. package/esm/models/offer-response-dto.d.ts.map +1 -1
  133. package/esm/models/offer-response-dto.js +1 -2
  134. package/esm/models/offer-response-dto.js.map +1 -1
  135. package/esm/models/open-item-entry-response-dto.d.ts +3 -3
  136. package/esm/models/open-item-entry-response-dto.d.ts.map +1 -1
  137. package/esm/models/open-item-entry-response-dto.js +1 -2
  138. package/esm/models/open-item-entry-response-dto.js.map +1 -1
  139. package/esm/models/open-item-response-dto.d.ts +5 -5
  140. package/esm/models/open-item-response-dto.d.ts.map +1 -1
  141. package/esm/models/open-item-response-dto.js +2 -4
  142. package/esm/models/open-item-response-dto.js.map +1 -1
  143. package/esm/models/operations/create-booking-proposal-v2.d.ts +68 -18
  144. package/esm/models/operations/create-booking-proposal-v2.d.ts.map +1 -1
  145. package/esm/models/operations/create-booking-proposal-v2.js +73 -18
  146. package/esm/models/operations/create-booking-proposal-v2.js.map +1 -1
  147. package/esm/models/operations/get-booking-proposals.d.ts +4 -4
  148. package/esm/models/operations/get-booking-proposals.d.ts.map +1 -1
  149. package/esm/models/operations/get-booking-proposals.js +3 -4
  150. package/esm/models/operations/get-booking-proposals.js.map +1 -1
  151. package/esm/models/operations/put-contact-v2.d.ts +57 -17
  152. package/esm/models/operations/put-contact-v2.d.ts.map +1 -1
  153. package/esm/models/operations/put-contact-v2.js +64 -17
  154. package/esm/models/operations/put-contact-v2.js.map +1 -1
  155. package/esm/models/payment-response-dto.d.ts +3 -3
  156. package/esm/models/payment-response-dto.d.ts.map +1 -1
  157. package/esm/models/payment-response-dto.js +1 -2
  158. package/esm/models/payment-response-dto.js.map +1 -1
  159. package/esm/models/payment-term-response-dto.d.ts +5 -5
  160. package/esm/models/payment-term-response-dto.d.ts.map +1 -1
  161. package/esm/models/payment-term-response-dto.js +2 -3
  162. package/esm/models/payment-term-response-dto.js.map +1 -1
  163. package/esm/models/phone-number-v2.d.ts +4 -4
  164. package/esm/models/phone-number-v2.d.ts.map +1 -1
  165. package/esm/models/phone-number-v2.js +2 -3
  166. package/esm/models/phone-number-v2.js.map +1 -1
  167. package/esm/models/phone-number.d.ts +3 -3
  168. package/esm/models/phone-number.d.ts.map +1 -1
  169. package/esm/models/phone-number.js +1 -2
  170. package/esm/models/phone-number.js.map +1 -1
  171. package/esm/models/project-response-dto.d.ts +5 -5
  172. package/esm/models/project-response-dto.d.ts.map +1 -1
  173. package/esm/models/project-response-dto.js +2 -3
  174. package/esm/models/project-response-dto.js.map +1 -1
  175. package/esm/models/purchase-order-response-dto.d.ts +5 -5
  176. package/esm/models/purchase-order-response-dto.d.ts.map +1 -1
  177. package/esm/models/purchase-order-response-dto.js +2 -3
  178. package/esm/models/purchase-order-response-dto.js.map +1 -1
  179. package/esm/models/sales-order-response-dto.d.ts +3 -3
  180. package/esm/models/sales-order-response-dto.d.ts.map +1 -1
  181. package/esm/models/sales-order-response-dto.js +1 -2
  182. package/esm/models/sales-order-response-dto.js.map +1 -1
  183. package/esm/models/tax-rate-response-dto.d.ts +5 -5
  184. package/esm/models/tax-rate-response-dto.d.ts.map +1 -1
  185. package/esm/models/tax-rate-response-dto.js +2 -4
  186. package/esm/models/tax-rate-response-dto.js.map +1 -1
  187. package/esm/models/transaction-response-dto.d.ts +7 -7
  188. package/esm/models/transaction-response-dto.d.ts.map +1 -1
  189. package/esm/models/transaction-response-dto.js +3 -4
  190. package/esm/models/transaction-response-dto.js.map +1 -1
  191. package/esm/models/trial-balance-response-dto.d.ts +5 -5
  192. package/esm/models/trial-balance-response-dto.d.ts.map +1 -1
  193. package/esm/models/trial-balance-response-dto.js +3 -3
  194. package/esm/models/trial-balance-response-dto.js.map +1 -1
  195. package/esm/models/vendor-credit-response-dto.d.ts +10 -9
  196. package/esm/models/vendor-credit-response-dto.d.ts.map +1 -1
  197. package/esm/models/vendor-credit-response-dto.js +5 -5
  198. package/esm/models/vendor-credit-response-dto.js.map +1 -1
  199. package/esm/types/primitives.d.ts +1 -1
  200. package/esm/types/primitives.d.ts.map +1 -1
  201. package/esm/types/primitives.js +2 -3
  202. package/esm/types/primitives.js.map +1 -1
  203. package/jsr.json +1 -1
  204. package/package.json +1 -1
  205. package/src/funcs/accounting-v2-create-booking-proposal-v2.ts +1 -0
  206. package/src/funcs/accounting-v2-create-contact-v2.ts +1 -1
  207. package/src/funcs/accounting-v2-put-contact-v2.ts +1 -0
  208. package/src/lib/config.ts +4 -3
  209. package/src/models/account-response-dto.ts +19 -20
  210. package/src/models/address-offer.ts +17 -20
  211. package/src/models/address.ts +13 -16
  212. package/src/models/async-task-response-dto.ts +23 -9
  213. package/src/models/bank-account-response-dto.ts +13 -17
  214. package/src/models/bill-response-dto.ts +17 -22
  215. package/src/models/booking-proposal-address-response-dto-v2.ts +32 -0
  216. package/src/models/booking-proposal-line-item-response-dto-v2.ts +106 -0
  217. package/src/models/booking-proposal-response-dto-v2.ts +195 -0
  218. package/src/models/booking-proposal-response-dto.ts +16 -13
  219. package/src/models/contact-address-v2.ts +9 -12
  220. package/src/models/contact-address.ts +9 -12
  221. package/src/models/contact-response-dto-v2.ts +5 -7
  222. package/src/models/contact-response-dto.ts +9 -12
  223. package/src/models/create-vendor-credit-request-dto.ts +3 -0
  224. package/src/models/credit-note-response-dto.ts +9 -12
  225. package/src/models/dimension-response-common-dto-v2.ts +37 -0
  226. package/src/models/email-address-v2.ts +8 -11
  227. package/src/models/email-address.ts +5 -7
  228. package/src/models/expense-line-item-response.ts +5 -7
  229. package/src/models/expense-response-dto.ts +13 -17
  230. package/src/models/fiscal-year-response-dto.ts +9 -12
  231. package/src/models/index.ts +4 -0
  232. package/src/models/invoice-response-dto.ts +21 -27
  233. package/src/models/item-response-dto.ts +11 -12
  234. package/src/models/journal-entry-response-dto.ts +9 -10
  235. package/src/models/journal-line-item.ts +11 -12
  236. package/src/models/line-item-response.ts +5 -7
  237. package/src/models/monthly-value.ts +5 -7
  238. package/src/models/offer-line-item-response-dto.ts +5 -7
  239. package/src/models/offer-response-dto.ts +5 -7
  240. package/src/models/open-item-entry-response-dto.ts +5 -5
  241. package/src/models/open-item-response-dto.ts +11 -10
  242. package/src/models/operations/create-booking-proposal-v2.ts +212 -41
  243. package/src/models/operations/get-booking-proposals.ts +9 -6
  244. package/src/models/operations/put-contact-v2.ts +184 -39
  245. package/src/models/payment-response-dto.ts +5 -7
  246. package/src/models/payment-term-response-dto.ts +8 -12
  247. package/src/models/phone-number-v2.ts +8 -11
  248. package/src/models/phone-number.ts +5 -7
  249. package/src/models/project-response-dto.ts +9 -12
  250. package/src/models/purchase-order-response-dto.ts +9 -12
  251. package/src/models/sales-order-response-dto.ts +5 -7
  252. package/src/models/tax-rate-response-dto.ts +7 -10
  253. package/src/models/transaction-response-dto.ts +13 -17
  254. package/src/models/trial-balance-response-dto.ts +8 -10
  255. package/src/models/vendor-credit-response-dto.ts +19 -22
  256. package/src/types/primitives.ts +2 -4
@@ -1,5 +1,5 @@
1
1
  import * as z from "zod/v4-mini";
2
- import { OpenEnum } from "../types/enums.js";
2
+ import { ClosedEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
5
5
  export declare const BankAccountResponseDtoCurrency: {
@@ -160,17 +160,17 @@ export declare const BankAccountResponseDtoCurrency: {
160
160
  readonly Zmk: "ZMK";
161
161
  readonly Zwr: "ZWR";
162
162
  };
163
- export type BankAccountResponseDtoCurrency = OpenEnum<typeof BankAccountResponseDtoCurrency>;
163
+ export type BankAccountResponseDtoCurrency = ClosedEnum<typeof BankAccountResponseDtoCurrency>;
164
164
  export declare const BankAccountResponseDtoFileType: {
165
165
  readonly Csv: "CSV";
166
166
  readonly Mt940: "MT940";
167
167
  };
168
- export type BankAccountResponseDtoFileType = OpenEnum<typeof BankAccountResponseDtoFileType>;
168
+ export type BankAccountResponseDtoFileType = ClosedEnum<typeof BankAccountResponseDtoFileType>;
169
169
  export declare const BankAccountResponseDtoStatus: {
170
170
  readonly Active: "ACTIVE";
171
171
  readonly Archived: "ARCHIVED";
172
172
  };
173
- export type BankAccountResponseDtoStatus = OpenEnum<typeof BankAccountResponseDtoStatus>;
173
+ export type BankAccountResponseDtoStatus = ClosedEnum<typeof BankAccountResponseDtoStatus>;
174
174
  export type BankAccountResponseDto = {
175
175
  id: string | null;
176
176
  balance: number | null;
@@ -189,11 +189,11 @@ export type BankAccountResponseDto = {
189
189
  updatedDate: string | null;
190
190
  };
191
191
  /** @internal */
192
- export declare const BankAccountResponseDtoCurrency$inboundSchema: z.ZodMiniType<BankAccountResponseDtoCurrency, unknown>;
192
+ export declare const BankAccountResponseDtoCurrency$inboundSchema: z.ZodMiniEnum<typeof BankAccountResponseDtoCurrency>;
193
193
  /** @internal */
194
- export declare const BankAccountResponseDtoFileType$inboundSchema: z.ZodMiniType<BankAccountResponseDtoFileType, unknown>;
194
+ export declare const BankAccountResponseDtoFileType$inboundSchema: z.ZodMiniEnum<typeof BankAccountResponseDtoFileType>;
195
195
  /** @internal */
196
- export declare const BankAccountResponseDtoStatus$inboundSchema: z.ZodMiniType<BankAccountResponseDtoStatus, unknown>;
196
+ export declare const BankAccountResponseDtoStatus$inboundSchema: z.ZodMiniEnum<typeof BankAccountResponseDtoStatus>;
197
197
  /** @internal */
198
198
  export declare const BankAccountResponseDto$inboundSchema: z.ZodMiniType<BankAccountResponseDto, unknown>;
199
199
  export declare function bankAccountResponseDtoFromJSON(jsonString: string): SafeParseResult<BankAccountResponseDto, SDKValidationError>;
@@ -1 +1 @@
1
- {"version":3,"file":"bank-account-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/bank-account-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;C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,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,8BAA8B,GAAG,IAAI,CAAC;IAChD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,8BAA8B,GAAG,IAAI,CAAC;IAChD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAC5C,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,OAAO,8BAA8B,CACG,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,OAAO,8BAA8B,CACG,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,OAAO,4BAA4B,CACG,CAAC;AAEzC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,sBAAsB,EACtB,OAAO,CAiBP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import * as z from "zod/v4-mini";
5
5
  import { safeParse } from "../lib/schemas.js";
6
- import * as openEnums from "../types/enums.js";
7
6
  import * as types from "../types/primitives.js";
8
7
  export const BankAccountResponseDtoCurrency = {
9
8
  Aed: "AED",
@@ -172,11 +171,11 @@ export const BankAccountResponseDtoStatus = {
172
171
  Archived: "ARCHIVED",
173
172
  };
174
173
  /** @internal */
175
- export const BankAccountResponseDtoCurrency$inboundSchema = openEnums.inboundSchema(BankAccountResponseDtoCurrency);
174
+ export const BankAccountResponseDtoCurrency$inboundSchema = z.enum(BankAccountResponseDtoCurrency);
176
175
  /** @internal */
177
- export const BankAccountResponseDtoFileType$inboundSchema = openEnums.inboundSchema(BankAccountResponseDtoFileType);
176
+ export const BankAccountResponseDtoFileType$inboundSchema = z.enum(BankAccountResponseDtoFileType);
178
177
  /** @internal */
179
- export const BankAccountResponseDtoStatus$inboundSchema = openEnums.inboundSchema(BankAccountResponseDtoStatus);
178
+ export const BankAccountResponseDtoStatus$inboundSchema = z.enum(BankAccountResponseDtoStatus);
180
179
  /** @internal */
181
180
  export const BankAccountResponseDto$inboundSchema = z.object({
182
181
  id: types.nullable(types.string()),
@@ -1 +1 @@
1
- {"version":3,"file":"bank-account-response-dto.js","sourceRoot":"","sources":["../../src/models/bank-account-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAGhD,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,K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EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"bank-account-response-dto.js","sourceRoot":"","sources":["../../src/models/bank-account-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAGhD,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,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AQ,EAAE,KAAK,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IACtE,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IACtE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IAClE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,UAAkB,EAC2C;IAC7D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
@@ -1,5 +1,5 @@
1
1
  import * as z from "zod/v4-mini";
2
- import { OpenEnum } from "../types/enums.js";
2
+ import { ClosedEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { Address } from "./address.js";
5
5
  import { BillLineItemResponseDto } from "./bill-line-item-response-dto.js";
@@ -17,14 +17,14 @@ export declare const BillResponseDtoPaymentStatus: {
17
17
  readonly Canceled: "CANCELED";
18
18
  readonly Unknown: "UNKNOWN";
19
19
  };
20
- export type BillResponseDtoPaymentStatus = OpenEnum<typeof BillResponseDtoPaymentStatus>;
20
+ export type BillResponseDtoPaymentStatus = ClosedEnum<typeof BillResponseDtoPaymentStatus>;
21
21
  export declare const BillResponseDtoShippingType: {
22
22
  readonly Service: "SERVICE";
23
23
  readonly ServicePeriod: "SERVICE_PERIOD";
24
24
  readonly Delivery: "DELIVERY";
25
25
  readonly DeliveryPeriod: "DELIVERY_PERIOD";
26
26
  };
27
- export type BillResponseDtoShippingType = OpenEnum<typeof BillResponseDtoShippingType>;
27
+ export type BillResponseDtoShippingType = ClosedEnum<typeof BillResponseDtoShippingType>;
28
28
  export declare const BillResponseDtoStatus: {
29
29
  readonly Draft: "DRAFT";
30
30
  readonly Corrective: "CORRECTIVE";
@@ -37,7 +37,7 @@ export declare const BillResponseDtoStatus: {
37
37
  readonly Overdue: "OVERDUE";
38
38
  readonly Voided: "VOIDED";
39
39
  };
40
- export type BillResponseDtoStatus = OpenEnum<typeof BillResponseDtoStatus>;
40
+ export type BillResponseDtoStatus = ClosedEnum<typeof BillResponseDtoStatus>;
41
41
  export declare const BillResponseDtoTaxRule: {
42
42
  readonly Net: "NET";
43
43
  readonly Taxfree: "TAXFREE";
@@ -55,7 +55,7 @@ export declare const BillResponseDtoTaxRule: {
55
55
  readonly OssElectronicServices: "OSS_ELECTRONIC_SERVICES";
56
56
  readonly OssServices: "OSS_SERVICES";
57
57
  };
58
- export type BillResponseDtoTaxRule = OpenEnum<typeof BillResponseDtoTaxRule>;
58
+ export type BillResponseDtoTaxRule = ClosedEnum<typeof BillResponseDtoTaxRule>;
59
59
  export type BillResponseDto = {
60
60
  id: string | null;
61
61
  accountId: string | null;
@@ -91,13 +91,13 @@ export type BillResponseDto = {
91
91
  updatedDate: string | null;
92
92
  };
93
93
  /** @internal */
94
- export declare const BillResponseDtoPaymentStatus$inboundSchema: z.ZodMiniType<BillResponseDtoPaymentStatus, unknown>;
94
+ export declare const BillResponseDtoPaymentStatus$inboundSchema: z.ZodMiniEnum<typeof BillResponseDtoPaymentStatus>;
95
95
  /** @internal */
96
- export declare const BillResponseDtoShippingType$inboundSchema: z.ZodMiniType<BillResponseDtoShippingType, unknown>;
96
+ export declare const BillResponseDtoShippingType$inboundSchema: z.ZodMiniEnum<typeof BillResponseDtoShippingType>;
97
97
  /** @internal */
98
- export declare const BillResponseDtoStatus$inboundSchema: z.ZodMiniType<BillResponseDtoStatus, unknown>;
98
+ export declare const BillResponseDtoStatus$inboundSchema: z.ZodMiniEnum<typeof BillResponseDtoStatus>;
99
99
  /** @internal */
100
- export declare const BillResponseDtoTaxRule$inboundSchema: z.ZodMiniType<BillResponseDtoTaxRule, unknown>;
100
+ export declare const BillResponseDtoTaxRule$inboundSchema: z.ZodMiniEnum<typeof BillResponseDtoTaxRule>;
101
101
  /** @internal */
102
102
  export declare const BillResponseDto$inboundSchema: z.ZodMiniType<BillResponseDto, unknown>;
103
103
  export declare function billResponseDtoFromJSON(jsonString: string): SafeParseResult<BillResponseDto, SDKValidationError>;
@@ -1 +1 @@
1
- {"version":3,"file":"bill-response-dto.d.ts","sourceRoot":"","sources":["../../src/models/bill-response-dto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EACL,uBAAuB,EAExB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,eAAO,MAAM,4BAA4B;;;;;;;;;;;;CAY/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CACjD,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;CAK9B,CAAC;AACX,MAAM,MAAM,2BAA2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AA2B,CACG,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,OAAO,qBAAqB,CACG,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,OAAO,sBAAsB,CACG,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,eAAe,EACf,OAAO,CAkCP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import * as z from "zod/v4-mini";
5
5
  import { safeParse } from "../lib/schemas.js";
6
- import * as openEnums from "../types/enums.js";
7
6
  import * as types from "../types/primitives.js";
8
7
  import { Address$inboundSchema } from "./address.js";
9
8
  import { BillLineItemResponseDto$inboundSchema, } from "./bill-line-item-response-dto.js";
@@ -56,13 +55,13 @@ export const BillResponseDtoTaxRule = {
56
55
  OssServices: "OSS_SERVICES",
57
56
  };
58
57
  /** @internal */
59
- export const BillResponseDtoPaymentStatus$inboundSchema = openEnums.inboundSchema(BillResponseDtoPaymentStatus);
58
+ export const BillResponseDtoPaymentStatus$inboundSchema = z.enum(BillResponseDtoPaymentStatus);
60
59
  /** @internal */
61
- export const BillResponseDtoShippingType$inboundSchema = openEnums.inboundSchema(BillResponseDtoShippingType);
60
+ export const BillResponseDtoShippingType$inboundSchema = z.enum(BillResponseDtoShippingType);
62
61
  /** @internal */
63
- export const BillResponseDtoStatus$inboundSchema = openEnums.inboundSchema(BillResponseDtoStatus);
62
+ export const BillResponseDtoStatus$inboundSchema = z.enum(BillResponseDtoStatus);
64
63
  /** @internal */
65
- export const BillResponseDtoTaxRule$inboundSchema = openEnums.inboundSchema(BillResponseDtoTaxRule);
64
+ export const BillResponseDtoTaxRule$inboundSchema = z.enum(BillResponseDtoTaxRule);
66
65
  /** @internal */
67
66
  export const BillResponseDto$inboundSchema = z.object({
68
67
  id: types.nullable(types.string()),
@@ -1 +1 @@
1
- {"version":3,"file":"bill-response-dto.js","sourceRoot":"","sources":["../../src/models/bill-response-dto.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAW,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAEL,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAG1C,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,UAAU,EAAE,cAAc;IAC1B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,iBAAiB,EAAE,qBAAqB;IACxC,qBAAqB,EAAE,0BAA0B;IACjD,OAAO,EAAE,UAAU;IACnB,mBAAmB,EAAE,sBAAsB;IAC3C,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACV,CAAC;AAKX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,gBAAgB;IAC/B,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,iBAAiB;CACzB,CAAC;AAKX,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,eAAe,EAAE,kBAAkB;IACnC,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,gBAAgB;IAC/B,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,mBAAmB;IACrC,OAAO,EAAE,SAAS;IACl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AAC,QAAQ,CAAC,oCAAoC,CAAC;IAC7D,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACvC,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACnD,uBAAuB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACvD,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAChD,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC9C,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC9C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,UAAkB,EACoC;IACtD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AAAA,CACH"}
@@ -0,0 +1,10 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
+ export type BookingProposalAddressResponseDtoV2 = {
5
+ city: string | null;
6
+ };
7
+ /** @internal */
8
+ export declare const BookingProposalAddressResponseDtoV2$inboundSchema: z.ZodMiniType<BookingProposalAddressResponseDtoV2, unknown>;
9
+ export declare function bookingProposalAddressResponseDtoV2FromJSON(jsonString: string): SafeParseResult<BookingProposalAddressResponseDtoV2, SDKValidationError>;
10
+ //# sourceMappingURL=booking-proposal-address-response-dto-v2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"booking-proposal-address-response-dto-v2.d.ts","sourceRoot":"","sources":["../../src/models/booking-proposal-address-response-dto-v2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,mCAAmC,GAAG;IAChD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,WAAW,CAC3E,mCAAmC,EACnC,OAAO,CAGP,CAAC;AAEH,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { safeParse } from "../lib/schemas.js";
6
+ import * as types from "../types/primitives.js";
7
+ /** @internal */
8
+ export const BookingProposalAddressResponseDtoV2$inboundSchema = z.object({
9
+ city: types.nullable(types.string()),
10
+ });
11
+ export function bookingProposalAddressResponseDtoV2FromJSON(jsonString) {
12
+ return safeParse(jsonString, (x) => BookingProposalAddressResponseDtoV2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BookingProposalAddressResponseDtoV2' from JSON`);
13
+ }
14
+ //# sourceMappingURL=booking-proposal-address-response-dto-v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"booking-proposal-address-response-dto-v2.js","sourceRoot":"","sources":["../../src/models/booking-proposal-address-response-dto-v2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAOhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAG1D,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACrC,CAAC,CAAC;AAEH,MAAM,UAAU,2CAA2C,CACzD,UAAkB,EACwD;IAC1E,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AAAA,CACH"}
@@ -0,0 +1,42 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ import { Result as SafeParseResult } from "../types/fp.js";
4
+ import { DimensionResponseCommonDtoV2 } from "./dimension-response-common-dto-v2.js";
5
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
6
+ export type Account = {
7
+ id: string | null;
8
+ code: string | null;
9
+ name: string | null;
10
+ number: number | null;
11
+ };
12
+ export declare const BookingProposalLineItemResponseDtoV2Type: {
13
+ readonly Product: "PRODUCT";
14
+ readonly Service: "SERVICE";
15
+ };
16
+ export type BookingProposalLineItemResponseDtoV2Type = ClosedEnum<typeof BookingProposalLineItemResponseDtoV2Type>;
17
+ export type BookingProposalLineItemResponseDtoV2 = {
18
+ id: string | null;
19
+ account: Account | null;
20
+ createdDate: string | null;
21
+ description: string | null;
22
+ dimensions: Array<DimensionResponseCommonDtoV2> | null;
23
+ discountAmount: number | null;
24
+ discountAmount2: number | null;
25
+ discountPercentage: number | null;
26
+ discountPercentage2: number | null;
27
+ taxCode: string | null;
28
+ taxRatePercentage: number | null;
29
+ totalGrossAmount: number | null;
30
+ totalNetAmount: number | null;
31
+ type: BookingProposalLineItemResponseDtoV2Type | null;
32
+ updatedDate: string | null;
33
+ };
34
+ /** @internal */
35
+ export declare const Account$inboundSchema: z.ZodMiniType<Account, unknown>;
36
+ export declare function accountFromJSON(jsonString: string): SafeParseResult<Account, SDKValidationError>;
37
+ /** @internal */
38
+ export declare const BookingProposalLineItemResponseDtoV2Type$inboundSchema: z.ZodMiniEnum<typeof BookingProposalLineItemResponseDtoV2Type>;
39
+ /** @internal */
40
+ export declare const BookingProposalLineItemResponseDtoV2$inboundSchema: z.ZodMiniType<BookingProposalLineItemResponseDtoV2, unknown>;
41
+ export declare function bookingProposalLineItemResponseDtoV2FromJSON(jsonString: string): SafeParseResult<BookingProposalLineItemResponseDtoV2, SDKValidationError>;
42
+ //# sourceMappingURL=booking-proposal-line-item-response-dto-v2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"booking-proposal-line-item-response-dto-v2.d.ts","sourceRoot":"","sources":["../../src/models/booking-proposal-line-item-response-dto-v2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EACL,4BAA4B,EAE7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;CAG3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,UAAU,CAC/D,OAAO,wCAAwC,CAChD,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,GAAG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{ safeParse } from "../lib/schemas.js";
6
+ import * as types from "../types/primitives.js";
7
+ import { DimensionResponseCommonDtoV2$inboundSchema, } from "./dimension-response-common-dto-v2.js";
8
+ export const BookingProposalLineItemResponseDtoV2Type = {
9
+ Product: "PRODUCT",
10
+ Service: "SERVICE",
11
+ };
12
+ /** @internal */
13
+ export const Account$inboundSchema = z.object({
14
+ id: types.nullable(types.string()),
15
+ code: types.nullable(types.string()),
16
+ name: types.nullable(types.string()),
17
+ number: types.nullable(types.number()),
18
+ });
19
+ export function accountFromJSON(jsonString) {
20
+ return safeParse(jsonString, (x) => Account$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Account' from JSON`);
21
+ }
22
+ /** @internal */
23
+ export const BookingProposalLineItemResponseDtoV2Type$inboundSchema = z.enum(BookingProposalLineItemResponseDtoV2Type);
24
+ /** @internal */
25
+ export const BookingProposalLineItemResponseDtoV2$inboundSchema = z.object({
26
+ id: types.nullable(types.string()),
27
+ account: types.nullable(z.lazy(() => Account$inboundSchema)),
28
+ createdDate: types.nullable(types.string()),
29
+ description: types.nullable(types.string()),
30
+ dimensions: types.nullable(z.array(DimensionResponseCommonDtoV2$inboundSchema)),
31
+ discountAmount: types.nullable(types.number()),
32
+ discountAmount2: types.nullable(types.number()),
33
+ discountPercentage: types.nullable(types.number()),
34
+ discountPercentage2: types.nullable(types.number()),
35
+ taxCode: types.nullable(types.string()),
36
+ taxRatePercentage: types.nullable(types.number()),
37
+ totalGrossAmount: types.nullable(types.number()),
38
+ totalNetAmount: types.nullable(types.number()),
39
+ type: types.nullable(BookingProposalLineItemResponseDtoV2Type$inboundSchema),
40
+ updatedDate: types.nullable(types.string()),
41
+ });
42
+ export function bookingProposalLineItemResponseDtoV2FromJSON(jsonString) {
43
+ return safeParse(jsonString, (x) => BookingProposalLineItemResponseDtoV2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BookingProposalLineItemResponseDtoV2' from JSON`);
44
+ }
45
+ //# sourceMappingURL=booking-proposal-line-item-response-dto-v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"booking-proposal-line-item-response-dto-v2.js","sourceRoot":"","sources":["../../src/models/booking-proposal-line-item-response-dto-v2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAEL,0CAA0C,GAC3C,MAAM,uCAAuC,CAAC;AAU/C,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAC;AAuBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAAoC,CAAC,CAAC,MAAM,CAAC;IAC7E,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACpC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACvC,CAAC,CAAC;AAEH,MAAM,UAAU,eAAe,CAC7B,UAAkB,EAC4B;IAC9C,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,sDAAsD,GACA,CAAC,CAAC,IAAI,CACrE,wCAAwC,CACzC,CAAC;AAEJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,kDAAkD,GAG3D,CAAC,CAAC,MAAM,CAAC;IACX,EA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AAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kDAAkD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,kEAAkE,CACnE,CAAC;AAAA,CACH"}
@@ -0,0 +1,83 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ import { Result as SafeParseResult } from "../types/fp.js";
4
+ import { BookingProposalAddressResponseDtoV2 } from "./booking-proposal-address-response-dto-v2.js";
5
+ import { BookingProposalLineItemResponseDtoV2 } from "./booking-proposal-line-item-response-dto-v2.js";
6
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
7
+ export type BookingProposalResponseDtoV2BankAccount = {
8
+ id: string | null;
9
+ bic: string | null;
10
+ code: string | null;
11
+ iban: string | null;
12
+ number: number | null;
13
+ };
14
+ export declare const BookingProposalResponseDtoV2BookingType: {
15
+ readonly Invoice: "INVOICE";
16
+ readonly Bill: "BILL";
17
+ readonly CreditNote: "CREDIT_NOTE";
18
+ readonly VendorCredit: "VENDOR_CREDIT";
19
+ readonly CreditCard: "CREDIT_CARD";
20
+ readonly Expense: "EXPENSE";
21
+ readonly DownPayment: "DOWN_PAYMENT";
22
+ readonly Other: "OTHER";
23
+ };
24
+ export type BookingProposalResponseDtoV2BookingType = ClosedEnum<typeof BookingProposalResponseDtoV2BookingType>;
25
+ export type Contact = {
26
+ id: string | null;
27
+ accountNumber: number | null;
28
+ name: string | null;
29
+ };
30
+ export declare const BookingProposalResponseDtoV2Status: {
31
+ readonly Draft: "DRAFT";
32
+ readonly Submitted: "SUBMITTED";
33
+ readonly Open: "OPEN";
34
+ readonly PartiallyPaid: "PARTIALLY_PAID";
35
+ readonly Paid: "PAID";
36
+ readonly Overdue: "OVERDUE";
37
+ readonly Voided: "VOIDED";
38
+ readonly Disputed: "DISPUTED";
39
+ readonly Cancelled: "CANCELLED";
40
+ };
41
+ export type BookingProposalResponseDtoV2Status = ClosedEnum<typeof BookingProposalResponseDtoV2Status>;
42
+ export type BookingProposalResponseDtoV2 = {
43
+ id: string | null;
44
+ addresses: Array<BookingProposalAddressResponseDtoV2> | null;
45
+ bankAccount: BookingProposalResponseDtoV2BankAccount | null;
46
+ bookingProposalDate: string | null;
47
+ bookingType: BookingProposalResponseDtoV2BookingType | null;
48
+ contact: Contact | null;
49
+ createdDate: string | null;
50
+ currency: string | null;
51
+ deliveryDate: string | null;
52
+ discountPaymentDate: string | null;
53
+ discountPaymentDate2: string | null;
54
+ dueDate: string | null;
55
+ files: Array<string> | null;
56
+ journalCode: string | null;
57
+ isPaymentOrder: boolean | null;
58
+ ledgerName: string | null;
59
+ lineItems: Array<BookingProposalLineItemResponseDtoV2> | null;
60
+ notes: string | null;
61
+ number: string | null;
62
+ orderId: string | null;
63
+ paidDate: string | null;
64
+ paymentTermId: string | null;
65
+ status: BookingProposalResponseDtoV2Status | null;
66
+ totalGrossAmount: number | null;
67
+ updatedDate: string | null;
68
+ vatId: string | null;
69
+ };
70
+ /** @internal */
71
+ export declare const BookingProposalResponseDtoV2BankAccount$inboundSchema: z.ZodMiniType<BookingProposalResponseDtoV2BankAccount, unknown>;
72
+ export declare function bookingProposalResponseDtoV2BankAccountFromJSON(jsonString: string): SafeParseResult<BookingProposalResponseDtoV2BankAccount, SDKValidationError>;
73
+ /** @internal */
74
+ export declare const BookingProposalResponseDtoV2BookingType$inboundSchema: z.ZodMiniEnum<typeof BookingProposalResponseDtoV2BookingType>;
75
+ /** @internal */
76
+ export declare const Contact$inboundSchema: z.ZodMiniType<Contact, unknown>;
77
+ export declare function contactFromJSON(jsonString: string): SafeParseResult<Contact, SDKValidationError>;
78
+ /** @internal */
79
+ export declare const BookingProposalResponseDtoV2Status$inboundSchema: z.ZodMiniEnum<typeof BookingProposalResponseDtoV2Status>;
80
+ /** @internal */
81
+ export declare const BookingProposalResponseDtoV2$inboundSchema: z.ZodMiniType<BookingProposalResponseDtoV2, unknown>;
82
+ export declare function bookingProposalResponseDtoV2FromJSON(jsonString: string): SafeParseResult<BookingProposalResponseDtoV2, SDKValidationError>;
83
+ //# sourceMappingURL=booking-proposal-response-dto-v2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"booking-proposal-response-dto-v2.d.ts","sourceRoot":"","sources":["../../src/models/booking-proposal-response-dto-v2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EACL,mCAAmC,EAEpC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,oCAAoC,EAErC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,uCAAuC,GAAG;IACpD,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,uCAAuC;;;;;;;;;CAS1C,CAAC;AACX,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAC9D,OAAO,uCAAuC,CAC/C,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;CAUrC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC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qD,EAChE,CAAC,CAAC,WAAW,CAAC,uCAAuC,EAAE,OAAO,CAM5D,CAAC;AAEL,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAChE,CAAC,CAAC,WAAW,CAAC,OAAO,uCAAuC,CAE3D,CAAC;AAEJ,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,CAIhE,CAAC;AAEH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C;AAED,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,WAAW,CAC1E,OAAO,kCAAkC,CACG,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,4BAA4B,EAC5B,OAAO,CAoCP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
@@ -0,0 +1,86 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { safeParse } from "../lib/schemas.js";
6
+ import * as types from "../types/primitives.js";
7
+ import { BookingProposalAddressResponseDtoV2$inboundSchema, } from "./booking-proposal-address-response-dto-v2.js";
8
+ import { BookingProposalLineItemResponseDtoV2$inboundSchema, } from "./booking-proposal-line-item-response-dto-v2.js";
9
+ export const BookingProposalResponseDtoV2BookingType = {
10
+ Invoice: "INVOICE",
11
+ Bill: "BILL",
12
+ CreditNote: "CREDIT_NOTE",
13
+ VendorCredit: "VENDOR_CREDIT",
14
+ CreditCard: "CREDIT_CARD",
15
+ Expense: "EXPENSE",
16
+ DownPayment: "DOWN_PAYMENT",
17
+ Other: "OTHER",
18
+ };
19
+ export const BookingProposalResponseDtoV2Status = {
20
+ Draft: "DRAFT",
21
+ Submitted: "SUBMITTED",
22
+ Open: "OPEN",
23
+ PartiallyPaid: "PARTIALLY_PAID",
24
+ Paid: "PAID",
25
+ Overdue: "OVERDUE",
26
+ Voided: "VOIDED",
27
+ Disputed: "DISPUTED",
28
+ Cancelled: "CANCELLED",
29
+ };
30
+ /** @internal */
31
+ export const BookingProposalResponseDtoV2BankAccount$inboundSchema = z.object({
32
+ id: types.nullable(types.string()),
33
+ bic: types.nullable(types.string()),
34
+ code: types.nullable(types.string()),
35
+ iban: types.nullable(types.string()),
36
+ number: types.nullable(types.number()),
37
+ });
38
+ export function bookingProposalResponseDtoV2BankAccountFromJSON(jsonString) {
39
+ return safeParse(jsonString, (x) => BookingProposalResponseDtoV2BankAccount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BookingProposalResponseDtoV2BankAccount' from JSON`);
40
+ }
41
+ /** @internal */
42
+ export const BookingProposalResponseDtoV2BookingType$inboundSchema = z.enum(BookingProposalResponseDtoV2BookingType);
43
+ /** @internal */
44
+ export const Contact$inboundSchema = z.object({
45
+ id: types.nullable(types.string()),
46
+ accountNumber: types.nullable(types.number()),
47
+ name: types.nullable(types.string()),
48
+ });
49
+ export function contactFromJSON(jsonString) {
50
+ return safeParse(jsonString, (x) => Contact$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Contact' from JSON`);
51
+ }
52
+ /** @internal */
53
+ export const BookingProposalResponseDtoV2Status$inboundSchema = z.enum(BookingProposalResponseDtoV2Status);
54
+ /** @internal */
55
+ export const BookingProposalResponseDtoV2$inboundSchema = z.object({
56
+ id: types.nullable(types.string()),
57
+ addresses: types.nullable(z.array(BookingProposalAddressResponseDtoV2$inboundSchema)),
58
+ bankAccount: types.nullable(z.lazy(() => BookingProposalResponseDtoV2BankAccount$inboundSchema)),
59
+ bookingProposalDate: types.nullable(types.string()),
60
+ bookingType: types.nullable(BookingProposalResponseDtoV2BookingType$inboundSchema),
61
+ contact: types.nullable(z.lazy(() => Contact$inboundSchema)),
62
+ createdDate: types.nullable(types.string()),
63
+ currency: types.nullable(types.string()),
64
+ deliveryDate: types.nullable(types.string()),
65
+ discountPaymentDate: types.nullable(types.string()),
66
+ discountPaymentDate2: types.nullable(types.string()),
67
+ dueDate: types.nullable(types.string()),
68
+ files: types.nullable(z.array(types.string())),
69
+ journalCode: types.nullable(types.string()),
70
+ isPaymentOrder: types.nullable(types.boolean()),
71
+ ledgerName: types.nullable(types.string()),
72
+ lineItems: types.nullable(z.array(BookingProposalLineItemResponseDtoV2$inboundSchema)),
73
+ notes: types.nullable(types.string()),
74
+ number: types.nullable(types.string()),
75
+ orderId: types.nullable(types.string()),
76
+ paidDate: types.nullable(types.string()),
77
+ paymentTermId: types.nullable(types.string()),
78
+ status: types.nullable(BookingProposalResponseDtoV2Status$inboundSchema),
79
+ totalGrossAmount: types.nullable(types.number()),
80
+ updatedDate: types.nullable(types.string()),
81
+ vatId: types.nullable(types.string()),
82
+ });
83
+ export function bookingProposalResponseDtoV2FromJSON(jsonString) {
84
+ return safeParse(jsonString, (x) => BookingProposalResponseDtoV2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BookingProposalResponseDtoV2' from JSON`);
85
+ }
86
+ //# sourceMappingURL=booking-proposal-response-dto-v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"booking-proposal-response-dto-v2.js","sourceRoot":"","sources":["../../src/models/booking-proposal-response-dto-v2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAEL,iDAAiD,GAClD,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAEL,kDAAkD,GACnD,MAAM,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,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC7C,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,gDAAgD,CAAC;IACxE,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAChD,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACtC,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,UAAkB,EACiD;IACnE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AAAA,CACH"}
@@ -1,10 +1,10 @@
1
1
  import * as z from "zod/v4-mini";
2
- import { OpenEnum } from "../types/enums.js";
2
+ import { ClosedEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { BookingProposalAddress } from "./booking-proposal-address.js";
5
5
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
6
6
  import { LineItemResponse } from "./line-item-response.js";
7
- export declare const BookingType: {
7
+ export declare const BookingProposalResponseDtoBookingType: {
8
8
  readonly Invoice: "INVOICE";
9
9
  readonly Bill: "BILL";
10
10
  readonly CreditNote: "CREDIT_NOTE";
@@ -15,7 +15,7 @@ export declare const BookingType: {
15
15
  readonly DownPayment: "DOWN_PAYMENT";
16
16
  readonly Other: "OTHER";
17
17
  };
18
- export type BookingType = OpenEnum<typeof BookingType>;
18
+ export type BookingProposalResponseDtoBookingType = ClosedEnum<typeof BookingProposalResponseDtoBookingType>;
19
19
  export declare const BookingProposalResponseDtoStatus: {
20
20
  readonly Draft: "DRAFT";
21
21
  readonly Submitted: "SUBMITTED";
@@ -27,7 +27,7 @@ export declare const BookingProposalResponseDtoStatus: {
27
27
  readonly Disputed: "DISPUTED";
28
28
  readonly Cancelled: "CANCELLED";
29
29
  };
30
- export type BookingProposalResponseDtoStatus = OpenEnum<typeof BookingProposalResponseDtoStatus>;
30
+ export type BookingProposalResponseDtoStatus = ClosedEnum<typeof BookingProposalResponseDtoStatus>;
31
31
  export type BookingProposalResponseDto = {
32
32
  id: string | null;
33
33
  accountName: string | null;
@@ -37,7 +37,7 @@ export type BookingProposalResponseDto = {
37
37
  bankCode: string | null;
38
38
  bic: string | null;
39
39
  bookingProposalDate: string | null;
40
- bookingType: BookingType | null;
40
+ bookingType: BookingProposalResponseDtoBookingType | null;
41
41
  contactAccountNumber: number | null;
42
42
  contactId: string | null;
43
43
  contactName: string | null;
@@ -65,9 +65,9 @@ export type BookingProposalResponseDto = {
65
65
  vatId: string | null;
66
66
  };
67
67
  /** @internal */
68
- export declare const BookingType$inboundSchema: z.ZodMiniType<BookingType, unknown>;
68
+ export declare const BookingProposalResponseDtoBookingType$inboundSchema: z.ZodMiniEnum<typeof BookingProposalResponseDtoBookingType>;
69
69
  /** @internal */
70
- export declare const BookingProposalResponseDtoStatus$inboundSchema: z.ZodMiniType<BookingProposalResponseDtoStatus, unknown>;
70
+ export declare const BookingProposalResponseDtoStatus$inboundSchema: z.ZodMiniEnum<typeof BookingProposalResponseDtoStatus>;
71
71
  /** @internal */
72
72
  export declare const BookingProposalResponseDto$inboundSchema: z.ZodMiniType<BookingProposalResponseDto, unknown>;
73
73
  export declare function bookingProposalResponseDtoFromJSON(jsonString: string): SafeParseResult<BookingProposalResponseDto, SDKValidationError>;