@maesn/typescript-sdk 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) 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.js +3 -3
  9. package/esm/models/account-response-dto.d.ts +9 -9
  10. package/esm/models/account-response-dto.d.ts.map +1 -1
  11. package/esm/models/account-response-dto.js +4 -6
  12. package/esm/models/account-response-dto.js.map +1 -1
  13. package/esm/models/address-offer.d.ts +7 -7
  14. package/esm/models/address-offer.d.ts.map +1 -1
  15. package/esm/models/address-offer.js +4 -5
  16. package/esm/models/address-offer.js.map +1 -1
  17. package/esm/models/address.d.ts +7 -7
  18. package/esm/models/address.d.ts.map +1 -1
  19. package/esm/models/address.js +5 -5
  20. package/esm/models/address.js.map +1 -1
  21. package/esm/models/async-task-response-dto.d.ts +8 -4
  22. package/esm/models/async-task-response-dto.d.ts.map +1 -1
  23. package/esm/models/async-task-response-dto.js +7 -3
  24. package/esm/models/async-task-response-dto.js.map +1 -1
  25. package/esm/models/bank-account-response-dto.d.ts +7 -7
  26. package/esm/models/bank-account-response-dto.d.ts.map +1 -1
  27. package/esm/models/bank-account-response-dto.js +3 -4
  28. package/esm/models/bank-account-response-dto.js.map +1 -1
  29. package/esm/models/bill-response-dto.d.ts +9 -9
  30. package/esm/models/bill-response-dto.d.ts.map +1 -1
  31. package/esm/models/bill-response-dto.js +4 -5
  32. package/esm/models/bill-response-dto.js.map +1 -1
  33. package/esm/models/booking-proposal-address-response-dto-v2.d.ts +10 -0
  34. package/esm/models/booking-proposal-address-response-dto-v2.d.ts.map +1 -0
  35. package/esm/models/booking-proposal-address-response-dto-v2.js +14 -0
  36. package/esm/models/booking-proposal-address-response-dto-v2.js.map +1 -0
  37. package/esm/models/booking-proposal-line-item-response-dto-v2.d.ts +42 -0
  38. package/esm/models/booking-proposal-line-item-response-dto-v2.d.ts.map +1 -0
  39. package/esm/models/booking-proposal-line-item-response-dto-v2.js +45 -0
  40. package/esm/models/booking-proposal-line-item-response-dto-v2.js.map +1 -0
  41. package/esm/models/booking-proposal-response-dto-v2.d.ts +83 -0
  42. package/esm/models/booking-proposal-response-dto-v2.d.ts.map +1 -0
  43. package/esm/models/booking-proposal-response-dto-v2.js +86 -0
  44. package/esm/models/booking-proposal-response-dto-v2.js.map +1 -0
  45. package/esm/models/booking-proposal-response-dto.d.ts +7 -7
  46. package/esm/models/booking-proposal-response-dto.d.ts.map +1 -1
  47. package/esm/models/booking-proposal-response-dto.js +4 -5
  48. package/esm/models/booking-proposal-response-dto.js.map +1 -1
  49. package/esm/models/contact-address-v2.d.ts +5 -5
  50. package/esm/models/contact-address-v2.d.ts.map +1 -1
  51. package/esm/models/contact-address-v2.js +2 -3
  52. package/esm/models/contact-address-v2.js.map +1 -1
  53. package/esm/models/contact-address.d.ts +5 -5
  54. package/esm/models/contact-address.d.ts.map +1 -1
  55. package/esm/models/contact-address.js +2 -3
  56. package/esm/models/contact-address.js.map +1 -1
  57. package/esm/models/contact-response-dto-v2.d.ts +3 -3
  58. package/esm/models/contact-response-dto-v2.d.ts.map +1 -1
  59. package/esm/models/contact-response-dto-v2.js +1 -2
  60. package/esm/models/contact-response-dto-v2.js.map +1 -1
  61. package/esm/models/contact-response-dto.d.ts +5 -5
  62. package/esm/models/contact-response-dto.d.ts.map +1 -1
  63. package/esm/models/contact-response-dto.js +2 -3
  64. package/esm/models/contact-response-dto.js.map +1 -1
  65. package/esm/models/create-journal-line-item.d.ts +2 -2
  66. package/esm/models/create-journal-line-item.js +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 +3 -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-journal-line-item.ts +3 -3
  224. package/src/models/create-vendor-credit-request-dto.ts +3 -0
  225. package/src/models/credit-note-response-dto.ts +9 -12
  226. package/src/models/dimension-response-common-dto-v2.ts +37 -0
  227. package/src/models/email-address-v2.ts +8 -11
  228. package/src/models/email-address.ts +5 -7
  229. package/src/models/expense-line-item-response.ts +5 -7
  230. package/src/models/expense-response-dto.ts +13 -17
  231. package/src/models/fiscal-year-response-dto.ts +9 -12
  232. package/src/models/index.ts +4 -0
  233. package/src/models/invoice-response-dto.ts +21 -27
  234. package/src/models/item-response-dto.ts +11 -12
  235. package/src/models/journal-entry-response-dto.ts +9 -10
  236. package/src/models/journal-line-item.ts +11 -12
  237. package/src/models/line-item-response.ts +5 -7
  238. package/src/models/monthly-value.ts +5 -7
  239. package/src/models/offer-line-item-response-dto.ts +5 -7
  240. package/src/models/offer-response-dto.ts +5 -7
  241. package/src/models/open-item-entry-response-dto.ts +5 -5
  242. package/src/models/open-item-response-dto.ts +11 -10
  243. package/src/models/operations/create-booking-proposal-v2.ts +212 -41
  244. package/src/models/operations/get-booking-proposals.ts +9 -6
  245. package/src/models/operations/put-contact-v2.ts +184 -39
  246. package/src/models/payment-response-dto.ts +5 -7
  247. package/src/models/payment-term-response-dto.ts +8 -12
  248. package/src/models/phone-number-v2.ts +8 -11
  249. package/src/models/phone-number.ts +5 -7
  250. package/src/models/project-response-dto.ts +9 -12
  251. package/src/models/purchase-order-response-dto.ts +9 -12
  252. package/src/models/sales-order-response-dto.ts +5 -7
  253. package/src/models/tax-rate-response-dto.ts +7 -10
  254. package/src/models/transaction-response-dto.ts +13 -17
  255. package/src/models/trial-balance-response-dto.ts +8 -10
  256. package/src/models/vendor-credit-response-dto.ts +19 -22
  257. package/src/types/primitives.ts +2 -4
@@ -0,0 +1,106 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { ClosedEnum } from "../types/enums.js";
8
+ import { Result as SafeParseResult } from "../types/fp.js";
9
+ import * as types from "../types/primitives.js";
10
+ import {
11
+ DimensionResponseCommonDtoV2,
12
+ DimensionResponseCommonDtoV2$inboundSchema,
13
+ } from "./dimension-response-common-dto-v2.js";
14
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
15
+
16
+ export type Account = {
17
+ id: string | null;
18
+ code: string | null;
19
+ name: string | null;
20
+ number: number | null;
21
+ };
22
+
23
+ export const BookingProposalLineItemResponseDtoV2Type = {
24
+ Product: "PRODUCT",
25
+ Service: "SERVICE",
26
+ } as const;
27
+ export type BookingProposalLineItemResponseDtoV2Type = ClosedEnum<
28
+ typeof BookingProposalLineItemResponseDtoV2Type
29
+ >;
30
+
31
+ export type BookingProposalLineItemResponseDtoV2 = {
32
+ id: string | null;
33
+ account: Account | null;
34
+ createdDate: string | null;
35
+ description: string | null;
36
+ dimensions: Array<DimensionResponseCommonDtoV2> | null;
37
+ discountAmount: number | null;
38
+ discountAmount2: number | null;
39
+ discountPercentage: number | null;
40
+ discountPercentage2: number | null;
41
+ taxCode: string | null;
42
+ taxRatePercentage: number | null;
43
+ totalGrossAmount: number | null;
44
+ totalNetAmount: number | null;
45
+ type: BookingProposalLineItemResponseDtoV2Type | null;
46
+ updatedDate: string | null;
47
+ };
48
+
49
+ /** @internal */
50
+ export const Account$inboundSchema: z.ZodMiniType<Account, unknown> = z.object({
51
+ id: types.nullable(types.string()),
52
+ code: types.nullable(types.string()),
53
+ name: types.nullable(types.string()),
54
+ number: types.nullable(types.number()),
55
+ });
56
+
57
+ export function accountFromJSON(
58
+ jsonString: string,
59
+ ): SafeParseResult<Account, SDKValidationError> {
60
+ return safeParse(
61
+ jsonString,
62
+ (x) => Account$inboundSchema.parse(JSON.parse(x)),
63
+ `Failed to parse 'Account' from JSON`,
64
+ );
65
+ }
66
+
67
+ /** @internal */
68
+ export const BookingProposalLineItemResponseDtoV2Type$inboundSchema:
69
+ z.ZodMiniEnum<typeof BookingProposalLineItemResponseDtoV2Type> = z.enum(
70
+ BookingProposalLineItemResponseDtoV2Type,
71
+ );
72
+
73
+ /** @internal */
74
+ export const BookingProposalLineItemResponseDtoV2$inboundSchema: z.ZodMiniType<
75
+ BookingProposalLineItemResponseDtoV2,
76
+ unknown
77
+ > = z.object({
78
+ id: types.nullable(types.string()),
79
+ account: types.nullable(z.lazy(() => Account$inboundSchema)),
80
+ createdDate: types.nullable(types.string()),
81
+ description: types.nullable(types.string()),
82
+ dimensions: types.nullable(
83
+ z.array(DimensionResponseCommonDtoV2$inboundSchema),
84
+ ),
85
+ discountAmount: types.nullable(types.number()),
86
+ discountAmount2: types.nullable(types.number()),
87
+ discountPercentage: types.nullable(types.number()),
88
+ discountPercentage2: types.nullable(types.number()),
89
+ taxCode: types.nullable(types.string()),
90
+ taxRatePercentage: types.nullable(types.number()),
91
+ totalGrossAmount: types.nullable(types.number()),
92
+ totalNetAmount: types.nullable(types.number()),
93
+ type: types.nullable(BookingProposalLineItemResponseDtoV2Type$inboundSchema),
94
+ updatedDate: types.nullable(types.string()),
95
+ });
96
+
97
+ export function bookingProposalLineItemResponseDtoV2FromJSON(
98
+ jsonString: string,
99
+ ): SafeParseResult<BookingProposalLineItemResponseDtoV2, SDKValidationError> {
100
+ return safeParse(
101
+ jsonString,
102
+ (x) =>
103
+ BookingProposalLineItemResponseDtoV2$inboundSchema.parse(JSON.parse(x)),
104
+ `Failed to parse 'BookingProposalLineItemResponseDtoV2' from JSON`,
105
+ );
106
+ }
@@ -0,0 +1,195 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { ClosedEnum } from "../types/enums.js";
8
+ import { Result as SafeParseResult } from "../types/fp.js";
9
+ import * as types from "../types/primitives.js";
10
+ import {
11
+ BookingProposalAddressResponseDtoV2,
12
+ BookingProposalAddressResponseDtoV2$inboundSchema,
13
+ } from "./booking-proposal-address-response-dto-v2.js";
14
+ import {
15
+ BookingProposalLineItemResponseDtoV2,
16
+ BookingProposalLineItemResponseDtoV2$inboundSchema,
17
+ } from "./booking-proposal-line-item-response-dto-v2.js";
18
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
19
+
20
+ export type BookingProposalResponseDtoV2BankAccount = {
21
+ id: string | null;
22
+ bic: string | null;
23
+ code: string | null;
24
+ iban: string | null;
25
+ number: number | null;
26
+ };
27
+
28
+ export const BookingProposalResponseDtoV2BookingType = {
29
+ Invoice: "INVOICE",
30
+ Bill: "BILL",
31
+ CreditNote: "CREDIT_NOTE",
32
+ VendorCredit: "VENDOR_CREDIT",
33
+ CreditCard: "CREDIT_CARD",
34
+ Expense: "EXPENSE",
35
+ DownPayment: "DOWN_PAYMENT",
36
+ Other: "OTHER",
37
+ } as const;
38
+ export type BookingProposalResponseDtoV2BookingType = ClosedEnum<
39
+ typeof BookingProposalResponseDtoV2BookingType
40
+ >;
41
+
42
+ export type Contact = {
43
+ id: string | null;
44
+ accountNumber: number | null;
45
+ name: string | null;
46
+ };
47
+
48
+ export const BookingProposalResponseDtoV2Status = {
49
+ Draft: "DRAFT",
50
+ Submitted: "SUBMITTED",
51
+ Open: "OPEN",
52
+ PartiallyPaid: "PARTIALLY_PAID",
53
+ Paid: "PAID",
54
+ Overdue: "OVERDUE",
55
+ Voided: "VOIDED",
56
+ Disputed: "DISPUTED",
57
+ Cancelled: "CANCELLED",
58
+ } as const;
59
+ export type BookingProposalResponseDtoV2Status = ClosedEnum<
60
+ typeof BookingProposalResponseDtoV2Status
61
+ >;
62
+
63
+ export type BookingProposalResponseDtoV2 = {
64
+ id: string | null;
65
+ addresses: Array<BookingProposalAddressResponseDtoV2> | null;
66
+ bankAccount: BookingProposalResponseDtoV2BankAccount | null;
67
+ bookingProposalDate: string | null;
68
+ bookingType: BookingProposalResponseDtoV2BookingType | null;
69
+ contact: Contact | null;
70
+ createdDate: string | null;
71
+ currency: string | null;
72
+ deliveryDate: string | null;
73
+ discountPaymentDate: string | null;
74
+ discountPaymentDate2: string | null;
75
+ dueDate: string | null;
76
+ files: Array<string> | null;
77
+ journalCode: string | null;
78
+ isPaymentOrder: boolean | null;
79
+ ledgerName: string | null;
80
+ lineItems: Array<BookingProposalLineItemResponseDtoV2> | null;
81
+ notes: string | null;
82
+ number: string | null;
83
+ orderId: string | null;
84
+ paidDate: string | null;
85
+ paymentTermId: string | null;
86
+ status: BookingProposalResponseDtoV2Status | null;
87
+ totalGrossAmount: number | null;
88
+ updatedDate: string | null;
89
+ vatId: string | null;
90
+ };
91
+
92
+ /** @internal */
93
+ export const BookingProposalResponseDtoV2BankAccount$inboundSchema:
94
+ z.ZodMiniType<BookingProposalResponseDtoV2BankAccount, unknown> = z.object({
95
+ id: types.nullable(types.string()),
96
+ bic: types.nullable(types.string()),
97
+ code: types.nullable(types.string()),
98
+ iban: types.nullable(types.string()),
99
+ number: types.nullable(types.number()),
100
+ });
101
+
102
+ export function bookingProposalResponseDtoV2BankAccountFromJSON(
103
+ jsonString: string,
104
+ ): SafeParseResult<
105
+ BookingProposalResponseDtoV2BankAccount,
106
+ SDKValidationError
107
+ > {
108
+ return safeParse(
109
+ jsonString,
110
+ (x) =>
111
+ BookingProposalResponseDtoV2BankAccount$inboundSchema.parse(
112
+ JSON.parse(x),
113
+ ),
114
+ `Failed to parse 'BookingProposalResponseDtoV2BankAccount' from JSON`,
115
+ );
116
+ }
117
+
118
+ /** @internal */
119
+ export const BookingProposalResponseDtoV2BookingType$inboundSchema:
120
+ z.ZodMiniEnum<typeof BookingProposalResponseDtoV2BookingType> = z.enum(
121
+ BookingProposalResponseDtoV2BookingType,
122
+ );
123
+
124
+ /** @internal */
125
+ export const Contact$inboundSchema: z.ZodMiniType<Contact, unknown> = z.object({
126
+ id: types.nullable(types.string()),
127
+ accountNumber: types.nullable(types.number()),
128
+ name: types.nullable(types.string()),
129
+ });
130
+
131
+ export function contactFromJSON(
132
+ jsonString: string,
133
+ ): SafeParseResult<Contact, SDKValidationError> {
134
+ return safeParse(
135
+ jsonString,
136
+ (x) => Contact$inboundSchema.parse(JSON.parse(x)),
137
+ `Failed to parse 'Contact' from JSON`,
138
+ );
139
+ }
140
+
141
+ /** @internal */
142
+ export const BookingProposalResponseDtoV2Status$inboundSchema: z.ZodMiniEnum<
143
+ typeof BookingProposalResponseDtoV2Status
144
+ > = z.enum(BookingProposalResponseDtoV2Status);
145
+
146
+ /** @internal */
147
+ export const BookingProposalResponseDtoV2$inboundSchema: z.ZodMiniType<
148
+ BookingProposalResponseDtoV2,
149
+ unknown
150
+ > = z.object({
151
+ id: types.nullable(types.string()),
152
+ addresses: types.nullable(
153
+ z.array(BookingProposalAddressResponseDtoV2$inboundSchema),
154
+ ),
155
+ bankAccount: types.nullable(
156
+ z.lazy(() => BookingProposalResponseDtoV2BankAccount$inboundSchema),
157
+ ),
158
+ bookingProposalDate: types.nullable(types.string()),
159
+ bookingType: types.nullable(
160
+ BookingProposalResponseDtoV2BookingType$inboundSchema,
161
+ ),
162
+ contact: types.nullable(z.lazy(() => Contact$inboundSchema)),
163
+ createdDate: types.nullable(types.string()),
164
+ currency: types.nullable(types.string()),
165
+ deliveryDate: types.nullable(types.string()),
166
+ discountPaymentDate: types.nullable(types.string()),
167
+ discountPaymentDate2: types.nullable(types.string()),
168
+ dueDate: types.nullable(types.string()),
169
+ files: types.nullable(z.array(types.string())),
170
+ journalCode: types.nullable(types.string()),
171
+ isPaymentOrder: types.nullable(types.boolean()),
172
+ ledgerName: types.nullable(types.string()),
173
+ lineItems: types.nullable(
174
+ z.array(BookingProposalLineItemResponseDtoV2$inboundSchema),
175
+ ),
176
+ notes: types.nullable(types.string()),
177
+ number: types.nullable(types.string()),
178
+ orderId: types.nullable(types.string()),
179
+ paidDate: types.nullable(types.string()),
180
+ paymentTermId: types.nullable(types.string()),
181
+ status: types.nullable(BookingProposalResponseDtoV2Status$inboundSchema),
182
+ totalGrossAmount: types.nullable(types.number()),
183
+ updatedDate: types.nullable(types.string()),
184
+ vatId: types.nullable(types.string()),
185
+ });
186
+
187
+ export function bookingProposalResponseDtoV2FromJSON(
188
+ jsonString: string,
189
+ ): SafeParseResult<BookingProposalResponseDtoV2, SDKValidationError> {
190
+ return safeParse(
191
+ jsonString,
192
+ (x) => BookingProposalResponseDtoV2$inboundSchema.parse(JSON.parse(x)),
193
+ `Failed to parse 'BookingProposalResponseDtoV2' from JSON`,
194
+ );
195
+ }
@@ -4,8 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../lib/schemas.js";
7
- import * as openEnums from "../types/enums.js";
8
- import { OpenEnum } from "../types/enums.js";
7
+ import { ClosedEnum } from "../types/enums.js";
9
8
  import { Result as SafeParseResult } from "../types/fp.js";
10
9
  import * as types from "../types/primitives.js";
11
10
  import {
@@ -18,7 +17,7 @@ import {
18
17
  LineItemResponse$inboundSchema,
19
18
  } from "./line-item-response.js";
20
19
 
21
- export const BookingType = {
20
+ export const BookingProposalResponseDtoBookingType = {
22
21
  Invoice: "INVOICE",
23
22
  Bill: "BILL",
24
23
  CreditNote: "CREDIT_NOTE",
@@ -29,7 +28,9 @@ export const BookingType = {
29
28
  DownPayment: "DOWN_PAYMENT",
30
29
  Other: "OTHER",
31
30
  } as const;
32
- export type BookingType = OpenEnum<typeof BookingType>;
31
+ export type BookingProposalResponseDtoBookingType = ClosedEnum<
32
+ typeof BookingProposalResponseDtoBookingType
33
+ >;
33
34
 
34
35
  export const BookingProposalResponseDtoStatus = {
35
36
  Draft: "DRAFT",
@@ -42,7 +43,7 @@ export const BookingProposalResponseDtoStatus = {
42
43
  Disputed: "DISPUTED",
43
44
  Cancelled: "CANCELLED",
44
45
  } as const;
45
- export type BookingProposalResponseDtoStatus = OpenEnum<
46
+ export type BookingProposalResponseDtoStatus = ClosedEnum<
46
47
  typeof BookingProposalResponseDtoStatus
47
48
  >;
48
49
 
@@ -55,7 +56,7 @@ export type BookingProposalResponseDto = {
55
56
  bankCode: string | null;
56
57
  bic: string | null;
57
58
  bookingProposalDate: string | null;
58
- bookingType: BookingType | null;
59
+ bookingType: BookingProposalResponseDtoBookingType | null;
59
60
  contactAccountNumber: number | null;
60
61
  contactId: string | null;
61
62
  contactName: string | null;
@@ -84,14 +85,14 @@ export type BookingProposalResponseDto = {
84
85
  };
85
86
 
86
87
  /** @internal */
87
- export const BookingType$inboundSchema: z.ZodMiniType<BookingType, unknown> =
88
- openEnums.inboundSchema(BookingType);
88
+ export const BookingProposalResponseDtoBookingType$inboundSchema: z.ZodMiniEnum<
89
+ typeof BookingProposalResponseDtoBookingType
90
+ > = z.enum(BookingProposalResponseDtoBookingType);
89
91
 
90
92
  /** @internal */
91
- export const BookingProposalResponseDtoStatus$inboundSchema: z.ZodMiniType<
92
- BookingProposalResponseDtoStatus,
93
- unknown
94
- > = openEnums.inboundSchema(BookingProposalResponseDtoStatus);
93
+ export const BookingProposalResponseDtoStatus$inboundSchema: z.ZodMiniEnum<
94
+ typeof BookingProposalResponseDtoStatus
95
+ > = z.enum(BookingProposalResponseDtoStatus);
95
96
 
96
97
  /** @internal */
97
98
  export const BookingProposalResponseDto$inboundSchema: z.ZodMiniType<
@@ -106,7 +107,9 @@ export const BookingProposalResponseDto$inboundSchema: z.ZodMiniType<
106
107
  bankCode: types.nullable(types.string()),
107
108
  bic: types.nullable(types.string()),
108
109
  bookingProposalDate: types.nullable(types.string()),
109
- bookingType: types.nullable(BookingType$inboundSchema),
110
+ bookingType: types.nullable(
111
+ BookingProposalResponseDtoBookingType$inboundSchema,
112
+ ),
110
113
  contactAccountNumber: types.nullable(types.number()),
111
114
  contactId: types.nullable(types.string()),
112
115
  contactName: types.nullable(types.string()),
@@ -4,8 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../lib/schemas.js";
7
- import * as openEnums from "../types/enums.js";
8
- import { OpenEnum } from "../types/enums.js";
7
+ import { ClosedEnum } from "../types/enums.js";
9
8
  import { Result as SafeParseResult } from "../types/fp.js";
10
9
  import * as types from "../types/primitives.js";
11
10
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
@@ -260,7 +259,7 @@ export const ContactAddressV2CountryCode = {
260
259
  Zm: "ZM",
261
260
  Zw: "ZW",
262
261
  } as const;
263
- export type ContactAddressV2CountryCode = OpenEnum<
262
+ export type ContactAddressV2CountryCode = ClosedEnum<
264
263
  typeof ContactAddressV2CountryCode
265
264
  >;
266
265
 
@@ -271,7 +270,7 @@ export const ContactAddressV2Type = {
271
270
  Work: "WORK",
272
271
  Pickup: "PICKUP",
273
272
  } as const;
274
- export type ContactAddressV2Type = OpenEnum<typeof ContactAddressV2Type>;
273
+ export type ContactAddressV2Type = ClosedEnum<typeof ContactAddressV2Type>;
275
274
 
276
275
  export type ContactAddressV2 = {
277
276
  addressLine1: string | null;
@@ -283,16 +282,14 @@ export type ContactAddressV2 = {
283
282
  };
284
283
 
285
284
  /** @internal */
286
- export const ContactAddressV2CountryCode$inboundSchema: z.ZodMiniType<
287
- ContactAddressV2CountryCode,
288
- unknown
289
- > = openEnums.inboundSchema(ContactAddressV2CountryCode);
285
+ export const ContactAddressV2CountryCode$inboundSchema: z.ZodMiniEnum<
286
+ typeof ContactAddressV2CountryCode
287
+ > = z.enum(ContactAddressV2CountryCode);
290
288
 
291
289
  /** @internal */
292
- export const ContactAddressV2Type$inboundSchema: z.ZodMiniType<
293
- ContactAddressV2Type,
294
- unknown
295
- > = openEnums.inboundSchema(ContactAddressV2Type);
290
+ export const ContactAddressV2Type$inboundSchema: z.ZodMiniEnum<
291
+ typeof ContactAddressV2Type
292
+ > = z.enum(ContactAddressV2Type);
296
293
 
297
294
  /** @internal */
298
295
  export const ContactAddressV2$inboundSchema: z.ZodMiniType<
@@ -4,8 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../lib/schemas.js";
7
- import * as openEnums from "../types/enums.js";
8
- import { OpenEnum } from "../types/enums.js";
7
+ import { ClosedEnum } from "../types/enums.js";
9
8
  import { Result as SafeParseResult } from "../types/fp.js";
10
9
  import * as types from "../types/primitives.js";
11
10
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
@@ -260,7 +259,7 @@ export const ContactAddressCountryCode = {
260
259
  Zm: "ZM",
261
260
  Zw: "ZW",
262
261
  } as const;
263
- export type ContactAddressCountryCode = OpenEnum<
262
+ export type ContactAddressCountryCode = ClosedEnum<
264
263
  typeof ContactAddressCountryCode
265
264
  >;
266
265
 
@@ -272,7 +271,7 @@ export const ContactAddressType = {
272
271
  Work: "WORK",
273
272
  Pickup: "PICKUP",
274
273
  } as const;
275
- export type ContactAddressType = OpenEnum<typeof ContactAddressType>;
274
+ export type ContactAddressType = ClosedEnum<typeof ContactAddressType>;
276
275
 
277
276
  export type ContactAddress = {
278
277
  addressLine1: string | null;
@@ -284,16 +283,14 @@ export type ContactAddress = {
284
283
  };
285
284
 
286
285
  /** @internal */
287
- export const ContactAddressCountryCode$inboundSchema: z.ZodMiniType<
288
- ContactAddressCountryCode,
289
- unknown
290
- > = openEnums.inboundSchema(ContactAddressCountryCode);
286
+ export const ContactAddressCountryCode$inboundSchema: z.ZodMiniEnum<
287
+ typeof ContactAddressCountryCode
288
+ > = z.enum(ContactAddressCountryCode);
291
289
 
292
290
  /** @internal */
293
- export const ContactAddressType$inboundSchema: z.ZodMiniType<
294
- ContactAddressType,
295
- unknown
296
- > = openEnums.inboundSchema(ContactAddressType);
291
+ export const ContactAddressType$inboundSchema: z.ZodMiniEnum<
292
+ typeof ContactAddressType
293
+ > = z.enum(ContactAddressType);
297
294
 
298
295
  /** @internal */
299
296
  export const ContactAddress$inboundSchema: z.ZodMiniType<
@@ -4,8 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../lib/schemas.js";
7
- import * as openEnums from "../types/enums.js";
8
- import { OpenEnum } from "../types/enums.js";
7
+ import { ClosedEnum } from "../types/enums.js";
9
8
  import { Result as SafeParseResult } from "../types/fp.js";
10
9
  import * as types from "../types/primitives.js";
11
10
  import {
@@ -31,7 +30,7 @@ export const ContactResponseDtoV2ContactType = {
31
30
  Company: "COMPANY",
32
31
  Undefined: "UNDEFINED",
33
32
  } as const;
34
- export type ContactResponseDtoV2ContactType = OpenEnum<
33
+ export type ContactResponseDtoV2ContactType = ClosedEnum<
35
34
  typeof ContactResponseDtoV2ContactType
36
35
  >;
37
36
 
@@ -53,10 +52,9 @@ export type ContactResponseDtoV2 = {
53
52
  };
54
53
 
55
54
  /** @internal */
56
- export const ContactResponseDtoV2ContactType$inboundSchema: z.ZodMiniType<
57
- ContactResponseDtoV2ContactType,
58
- unknown
59
- > = openEnums.inboundSchema(ContactResponseDtoV2ContactType);
55
+ export const ContactResponseDtoV2ContactType$inboundSchema: z.ZodMiniEnum<
56
+ typeof ContactResponseDtoV2ContactType
57
+ > = z.enum(ContactResponseDtoV2ContactType);
60
58
 
61
59
  /** @internal */
62
60
  export const ContactResponseDtoV2$inboundSchema: z.ZodMiniType<
@@ -4,8 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../lib/schemas.js";
7
- import * as openEnums from "../types/enums.js";
8
- import { OpenEnum } from "../types/enums.js";
7
+ import { ClosedEnum } from "../types/enums.js";
9
8
  import { Result as SafeParseResult } from "../types/fp.js";
10
9
  import * as types from "../types/primitives.js";
11
10
  import {
@@ -29,7 +28,7 @@ export const ContactResponseDtoContactType = {
29
28
  Company: "COMPANY",
30
29
  Undefined: "UNDEFINED",
31
30
  } as const;
32
- export type ContactResponseDtoContactType = OpenEnum<
31
+ export type ContactResponseDtoContactType = ClosedEnum<
33
32
  typeof ContactResponseDtoContactType
34
33
  >;
35
34
 
@@ -38,7 +37,7 @@ export const ContactResponseDtoRole = {
38
37
  Customer: "CUSTOMER",
39
38
  Contact: "CONTACT",
40
39
  } as const;
41
- export type ContactResponseDtoRole = OpenEnum<typeof ContactResponseDtoRole>;
40
+ export type ContactResponseDtoRole = ClosedEnum<typeof ContactResponseDtoRole>;
42
41
 
43
42
  export type ContactResponseDto = {
44
43
  id: string | null;
@@ -59,16 +58,14 @@ export type ContactResponseDto = {
59
58
  };
60
59
 
61
60
  /** @internal */
62
- export const ContactResponseDtoContactType$inboundSchema: z.ZodMiniType<
63
- ContactResponseDtoContactType,
64
- unknown
65
- > = openEnums.inboundSchema(ContactResponseDtoContactType);
61
+ export const ContactResponseDtoContactType$inboundSchema: z.ZodMiniEnum<
62
+ typeof ContactResponseDtoContactType
63
+ > = z.enum(ContactResponseDtoContactType);
66
64
 
67
65
  /** @internal */
68
- export const ContactResponseDtoRole$inboundSchema: z.ZodMiniType<
69
- ContactResponseDtoRole,
70
- unknown
71
- > = openEnums.inboundSchema(ContactResponseDtoRole);
66
+ export const ContactResponseDtoRole$inboundSchema: z.ZodMiniEnum<
67
+ typeof ContactResponseDtoRole
68
+ > = z.enum(ContactResponseDtoRole);
72
69
 
73
70
  /** @internal */
74
71
  export const ContactResponseDto$inboundSchema: z.ZodMiniType<
@@ -188,7 +188,7 @@ export type CreateJournalLineItemDebitCreditIndicator = ClosedEnum<
188
188
  export type CreateJournalLineItem = {
189
189
  accountCode?: string | undefined;
190
190
  accountId?: string | undefined;
191
- accountNumber?: number | undefined;
191
+ accountNumber?: string | undefined;
192
192
  currency?: CreateJournalLineItemCurrency | undefined;
193
193
  customerId?: string | undefined;
194
194
  debitCreditIndicator?: CreateJournalLineItemDebitCreditIndicator | undefined;
@@ -220,7 +220,7 @@ export const CreateJournalLineItemDebitCreditIndicator$outboundSchema:
220
220
  export type CreateJournalLineItem$Outbound = {
221
221
  accountCode?: string | undefined;
222
222
  accountId?: string | undefined;
223
- accountNumber?: number | undefined;
223
+ accountNumber?: string | undefined;
224
224
  currency?: string | undefined;
225
225
  customerId?: string | undefined;
226
226
  debitCreditIndicator?: string | undefined;
@@ -244,7 +244,7 @@ export const CreateJournalLineItem$outboundSchema: z.ZodMiniType<
244
244
  > = z.object({
245
245
  accountCode: z.optional(z.string()),
246
246
  accountId: z.optional(z.string()),
247
- accountNumber: z.optional(z.number()),
247
+ accountNumber: z.optional(z.string()),
248
248
  currency: z.optional(CreateJournalLineItemCurrency$outboundSchema),
249
249
  customerId: z.optional(z.string()),
250
250
  debitCreditIndicator: z.optional(
@@ -95,6 +95,7 @@ export type CreateVendorCreditRequestDto = {
95
95
  name?: string | undefined;
96
96
  oneLineAddress?: string | undefined;
97
97
  paidDate?: CreateVendorCreditRequestDtoPaidDate | undefined;
98
+ paymentReference?: string | undefined;
98
99
  paymentStatus?: CreateVendorCreditRequestDtoPaymentStatus | undefined;
99
100
  paymentDays?: number | undefined;
100
101
  reference?: string | undefined;
@@ -187,6 +188,7 @@ export type CreateVendorCreditRequestDto$Outbound = {
187
188
  name?: string | undefined;
188
189
  oneLineAddress?: string | undefined;
189
190
  paidDate?: CreateVendorCreditRequestDtoPaidDate$Outbound | undefined;
191
+ paymentReference?: string | undefined;
190
192
  paymentStatus?: string | undefined;
191
193
  paymentDays?: number | undefined;
192
194
  reference?: string | undefined;
@@ -224,6 +226,7 @@ export const CreateVendorCreditRequestDto$outboundSchema: z.ZodMiniType<
224
226
  paidDate: z.optional(
225
227
  z.lazy(() => CreateVendorCreditRequestDtoPaidDate$outboundSchema),
226
228
  ),
229
+ paymentReference: z.optional(z.string()),
227
230
  paymentStatus: z.optional(
228
231
  CreateVendorCreditRequestDtoPaymentStatus$outboundSchema,
229
232
  ),
@@ -4,8 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../lib/schemas.js";
7
- import * as openEnums from "../types/enums.js";
8
- import { OpenEnum } from "../types/enums.js";
7
+ import { ClosedEnum } from "../types/enums.js";
9
8
  import { Result as SafeParseResult } from "../types/fp.js";
10
9
  import * as types from "../types/primitives.js";
11
10
  import { Address, Address$inboundSchema } from "./address.js";
@@ -28,7 +27,7 @@ export const CreditNoteResponseDtoPaymentStatus = {
28
27
  Canceled: "CANCELED",
29
28
  Unknown: "UNKNOWN",
30
29
  } as const;
31
- export type CreditNoteResponseDtoPaymentStatus = OpenEnum<
30
+ export type CreditNoteResponseDtoPaymentStatus = ClosedEnum<
32
31
  typeof CreditNoteResponseDtoPaymentStatus
33
32
  >;
34
33
 
@@ -44,7 +43,7 @@ export const CreditNoteResponseDtoStatus = {
44
43
  Overdue: "OVERDUE",
45
44
  Voided: "VOIDED",
46
45
  } as const;
47
- export type CreditNoteResponseDtoStatus = OpenEnum<
46
+ export type CreditNoteResponseDtoStatus = ClosedEnum<
48
47
  typeof CreditNoteResponseDtoStatus
49
48
  >;
50
49
 
@@ -70,16 +69,14 @@ export type CreditNoteResponseDto = {
70
69
  };
71
70
 
72
71
  /** @internal */
73
- export const CreditNoteResponseDtoPaymentStatus$inboundSchema: z.ZodMiniType<
74
- CreditNoteResponseDtoPaymentStatus,
75
- unknown
76
- > = openEnums.inboundSchema(CreditNoteResponseDtoPaymentStatus);
72
+ export const CreditNoteResponseDtoPaymentStatus$inboundSchema: z.ZodMiniEnum<
73
+ typeof CreditNoteResponseDtoPaymentStatus
74
+ > = z.enum(CreditNoteResponseDtoPaymentStatus);
77
75
 
78
76
  /** @internal */
79
- export const CreditNoteResponseDtoStatus$inboundSchema: z.ZodMiniType<
80
- CreditNoteResponseDtoStatus,
81
- unknown
82
- > = openEnums.inboundSchema(CreditNoteResponseDtoStatus);
77
+ export const CreditNoteResponseDtoStatus$inboundSchema: z.ZodMiniEnum<
78
+ typeof CreditNoteResponseDtoStatus
79
+ > = z.enum(CreditNoteResponseDtoStatus);
83
80
 
84
81
  /** @internal */
85
82
  export const CreditNoteResponseDto$inboundSchema: z.ZodMiniType<