chargebee 3.25.0 → 3.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +39 -0
  3. package/cjs/RequestWrapper.js +27 -0
  4. package/cjs/chargebee.cjs.js +3 -0
  5. package/cjs/chargebee.cjs.worker.js +2 -0
  6. package/cjs/chargebeeZodValidationError.js +18 -0
  7. package/cjs/createChargebee.js +5 -0
  8. package/cjs/environment.js +1 -1
  9. package/cjs/resources/api_endpoints.js +120 -1
  10. package/cjs/schema/addon.schema.js +269 -0
  11. package/cjs/schema/address.schema.js +35 -0
  12. package/cjs/schema/alert.schema.js +74 -0
  13. package/cjs/schema/alert_status.schema.js +31 -0
  14. package/cjs/schema/attached_item.schema.js +144 -0
  15. package/cjs/schema/business_entity.schema.js +46 -0
  16. package/cjs/schema/card.schema.js +165 -0
  17. package/cjs/schema/comment.schema.js +69 -0
  18. package/cjs/schema/coupon.schema.js +323 -0
  19. package/cjs/schema/coupon_code.schema.js +49 -0
  20. package/cjs/schema/coupon_set.schema.js +88 -0
  21. package/cjs/schema/credit_note.schema.js +502 -0
  22. package/cjs/schema/currency.schema.js +32 -0
  23. package/cjs/schema/customer.schema.js +1201 -0
  24. package/cjs/schema/customer_entitlement.schema.js +14 -0
  25. package/cjs/schema/differential_price.schema.js +106 -0
  26. package/cjs/schema/entitlement.schema.js +54 -0
  27. package/cjs/schema/entitlement_override.schema.js +35 -0
  28. package/cjs/schema/estimate.schema.js +1535 -0
  29. package/cjs/schema/event.schema.js +1060 -0
  30. package/cjs/schema/export.schema.js +3385 -0
  31. package/cjs/schema/feature.schema.js +78 -0
  32. package/cjs/schema/gift.schema.js +293 -0
  33. package/cjs/schema/grant_block.schema.js +47 -0
  34. package/cjs/schema/hosted_page.schema.js +1777 -0
  35. package/cjs/schema/in_app_subscription.schema.js +68 -0
  36. package/cjs/schema/index.js +88 -0
  37. package/cjs/schema/invoice.schema.js +1685 -0
  38. package/cjs/schema/item.schema.js +195 -0
  39. package/cjs/schema/item_entitlement.schema.js +45 -0
  40. package/cjs/schema/item_family.schema.js +57 -0
  41. package/cjs/schema/item_price.schema.js +335 -0
  42. package/cjs/schema/ledger_account_balance.schema.js +21 -0
  43. package/cjs/schema/ledger_operation.schema.js +104 -0
  44. package/cjs/schema/meter.schema.js +13 -0
  45. package/cjs/schema/metered_feature.schema.js +20 -0
  46. package/cjs/schema/non_subscription.schema.js +28 -0
  47. package/cjs/schema/offer_event.schema.js +13 -0
  48. package/cjs/schema/offer_fulfillment.schema.js +20 -0
  49. package/cjs/schema/omnichannel_one_time_order.schema.js +26 -0
  50. package/cjs/schema/omnichannel_subscription.schema.js +122 -0
  51. package/cjs/schema/omnichannel_subscription_item.schema.js +13 -0
  52. package/cjs/schema/order.schema.js +441 -0
  53. package/cjs/schema/payment_intent.schema.js +127 -0
  54. package/cjs/schema/payment_schedule_scheme.schema.js +20 -0
  55. package/cjs/schema/payment_source.schema.js +630 -0
  56. package/cjs/schema/payment_voucher.schema.js +57 -0
  57. package/cjs/schema/personalized_offer.schema.js +28 -0
  58. package/cjs/schema/plan.schema.js +363 -0
  59. package/cjs/schema/portal_session.schema.js +22 -0
  60. package/cjs/schema/price_variant.schema.js +93 -0
  61. package/cjs/schema/pricing_page_session.schema.js +135 -0
  62. package/cjs/schema/promotional_credit.schema.js +78 -0
  63. package/cjs/schema/promotional_grant.schema.js +17 -0
  64. package/cjs/schema/purchase.schema.js +277 -0
  65. package/cjs/schema/quote.schema.js +1667 -0
  66. package/cjs/schema/ramp.schema.js +245 -0
  67. package/cjs/schema/recorded_purchase.schema.js +32 -0
  68. package/cjs/schema/resource_migration.schema.js +14 -0
  69. package/cjs/schema/site_migration_detail.schema.js +81 -0
  70. package/cjs/schema/subscription.schema.js +3344 -0
  71. package/cjs/schema/subscription_entitlement.schema.js +25 -0
  72. package/cjs/schema/time_machine.schema.js +17 -0
  73. package/cjs/schema/transaction.schema.js +744 -0
  74. package/cjs/schema/unbilled_charge.schema.js +139 -0
  75. package/cjs/schema/usage.schema.js +93 -0
  76. package/cjs/schema/usage_charge.schema.js +17 -0
  77. package/cjs/schema/usage_event.schema.js +28 -0
  78. package/cjs/schema/usage_file.schema.js +13 -0
  79. package/cjs/schema/usage_summary.schema.js +17 -0
  80. package/cjs/schema/virtual_bank_account.schema.js +71 -0
  81. package/cjs/schema/webhook_endpoint.schema.js +508 -0
  82. package/cjs/validationLoader.js +59 -0
  83. package/esm/RequestWrapper.js +27 -0
  84. package/esm/chargebee.esm.js +2 -0
  85. package/esm/chargebee.esm.worker.js +1 -0
  86. package/esm/chargebeeZodValidationError.js +14 -0
  87. package/esm/createChargebee.js +5 -0
  88. package/esm/environment.js +1 -1
  89. package/esm/resources/api_endpoints.js +120 -1
  90. package/esm/schema/addon.schema.js +266 -0
  91. package/esm/schema/address.schema.js +32 -0
  92. package/esm/schema/alert.schema.js +71 -0
  93. package/esm/schema/alert_status.schema.js +28 -0
  94. package/esm/schema/attached_item.schema.js +141 -0
  95. package/esm/schema/business_entity.schema.js +43 -0
  96. package/esm/schema/card.schema.js +162 -0
  97. package/esm/schema/comment.schema.js +66 -0
  98. package/esm/schema/coupon.schema.js +320 -0
  99. package/esm/schema/coupon_code.schema.js +46 -0
  100. package/esm/schema/coupon_set.schema.js +85 -0
  101. package/esm/schema/credit_note.schema.js +499 -0
  102. package/esm/schema/currency.schema.js +29 -0
  103. package/esm/schema/customer.schema.js +1198 -0
  104. package/esm/schema/customer_entitlement.schema.js +11 -0
  105. package/esm/schema/differential_price.schema.js +103 -0
  106. package/esm/schema/entitlement.schema.js +51 -0
  107. package/esm/schema/entitlement_override.schema.js +32 -0
  108. package/esm/schema/estimate.schema.js +1532 -0
  109. package/esm/schema/event.schema.js +1057 -0
  110. package/esm/schema/export.schema.js +3382 -0
  111. package/esm/schema/feature.schema.js +75 -0
  112. package/esm/schema/gift.schema.js +290 -0
  113. package/esm/schema/grant_block.schema.js +44 -0
  114. package/esm/schema/hosted_page.schema.js +1774 -0
  115. package/esm/schema/in_app_subscription.schema.js +65 -0
  116. package/esm/schema/index.js +72 -0
  117. package/esm/schema/invoice.schema.js +1682 -0
  118. package/esm/schema/item.schema.js +192 -0
  119. package/esm/schema/item_entitlement.schema.js +42 -0
  120. package/esm/schema/item_family.schema.js +54 -0
  121. package/esm/schema/item_price.schema.js +332 -0
  122. package/esm/schema/ledger_account_balance.schema.js +18 -0
  123. package/esm/schema/ledger_operation.schema.js +101 -0
  124. package/esm/schema/meter.schema.js +10 -0
  125. package/esm/schema/metered_feature.schema.js +17 -0
  126. package/esm/schema/non_subscription.schema.js +25 -0
  127. package/esm/schema/offer_event.schema.js +10 -0
  128. package/esm/schema/offer_fulfillment.schema.js +17 -0
  129. package/esm/schema/omnichannel_one_time_order.schema.js +23 -0
  130. package/esm/schema/omnichannel_subscription.schema.js +119 -0
  131. package/esm/schema/omnichannel_subscription_item.schema.js +10 -0
  132. package/esm/schema/order.schema.js +438 -0
  133. package/esm/schema/payment_intent.schema.js +124 -0
  134. package/esm/schema/payment_schedule_scheme.schema.js +17 -0
  135. package/esm/schema/payment_source.schema.js +627 -0
  136. package/esm/schema/payment_voucher.schema.js +54 -0
  137. package/esm/schema/personalized_offer.schema.js +25 -0
  138. package/esm/schema/plan.schema.js +360 -0
  139. package/esm/schema/portal_session.schema.js +19 -0
  140. package/esm/schema/price_variant.schema.js +90 -0
  141. package/esm/schema/pricing_page_session.schema.js +132 -0
  142. package/esm/schema/promotional_credit.schema.js +75 -0
  143. package/esm/schema/promotional_grant.schema.js +14 -0
  144. package/esm/schema/purchase.schema.js +274 -0
  145. package/esm/schema/quote.schema.js +1664 -0
  146. package/esm/schema/ramp.schema.js +242 -0
  147. package/esm/schema/recorded_purchase.schema.js +29 -0
  148. package/esm/schema/resource_migration.schema.js +11 -0
  149. package/esm/schema/site_migration_detail.schema.js +78 -0
  150. package/esm/schema/subscription.schema.js +3341 -0
  151. package/esm/schema/subscription_entitlement.schema.js +22 -0
  152. package/esm/schema/time_machine.schema.js +14 -0
  153. package/esm/schema/transaction.schema.js +741 -0
  154. package/esm/schema/unbilled_charge.schema.js +136 -0
  155. package/esm/schema/usage.schema.js +90 -0
  156. package/esm/schema/usage_charge.schema.js +14 -0
  157. package/esm/schema/usage_event.schema.js +25 -0
  158. package/esm/schema/usage_file.schema.js +10 -0
  159. package/esm/schema/usage_summary.schema.js +14 -0
  160. package/esm/schema/virtual_bank_account.schema.js +68 -0
  161. package/esm/schema/webhook_endpoint.schema.js +505 -0
  162. package/esm/validationLoader.js +56 -0
  163. package/package.json +4 -1
  164. package/types/core.d.ts +3 -0
  165. package/types/index.d.ts +24 -0
  166. package/types/resources/Content.d.ts +4 -0
  167. package/types/resources/CreditNote.d.ts +1 -0
  168. package/types/resources/GrantBlock.d.ts +59 -0
  169. package/types/resources/HostedPage.d.ts +5 -1
  170. package/types/resources/LedgerAccountBalance.d.ts +50 -0
  171. package/types/resources/LedgerOperation.d.ts +141 -0
  172. package/types/resources/OmnichannelSubscription.d.ts +2 -0
  173. package/types/resources/PromotionalGrant.d.ts +37 -0
@@ -0,0 +1,192 @@
1
+ // Generated Zod schemas: Item
2
+ // Actions: create, update, list
3
+ // Do not edit manually – regenerate via sdk-generator
4
+ import { z } from 'zod';
5
+ //Item.create
6
+ const CreateItemMetadataSchema = z.looseObject({});
7
+ const CreateItemBundleConfigurationSchema = z.object({
8
+ type: z.enum(['fixed']).optional(),
9
+ });
10
+ const CreateItemBundleItemsToAddSchema = z.object({
11
+ item_id: z.array(z.string().max(100).optional()).optional(),
12
+ item_type: z.array(z.enum(['plan', 'addon', 'charge']).optional()).optional(),
13
+ quantity: z.array(z.number().int().min(1).optional()).optional(),
14
+ price_allocation: z.array(z.number().min(0).max(100).optional()).optional(),
15
+ });
16
+ const CreateItemBodySchema = z.looseObject({
17
+ id: z.string().max(100),
18
+ name: z.string().max(100),
19
+ type: z.enum(['plan', 'addon', 'charge']),
20
+ description: z.string().max(2000).optional(),
21
+ item_family_id: z.string().max(100),
22
+ is_giftable: z.boolean().default(false).optional(),
23
+ is_shippable: z.boolean().default(false).optional(),
24
+ external_name: z.string().max(100).optional(),
25
+ enabled_in_portal: z.boolean().default(true).optional(),
26
+ redirect_url: z.string().max(500).optional(),
27
+ enabled_for_checkout: z.boolean().default(true).optional(),
28
+ item_applicability: z.enum(['all', 'restricted']).optional(),
29
+ applicable_items: z.array(z.string().max(100).optional()).optional(),
30
+ unit: z.string().max(30).optional(),
31
+ gift_claim_redirect_url: z.string().max(500).optional(),
32
+ included_in_mrr: z.boolean().optional(),
33
+ metered: z.boolean().default(false).optional(),
34
+ usage_calculation: z
35
+ .enum(['sum_of_usages', 'last_usage', 'max_usage'])
36
+ .optional(),
37
+ is_percentage_pricing: z.boolean().default(false).optional(),
38
+ metadata: CreateItemMetadataSchema.optional(),
39
+ business_entity_id: z.string().max(50).optional(),
40
+ bundle_configuration: CreateItemBundleConfigurationSchema.optional(),
41
+ bundle_items_to_add: CreateItemBundleItemsToAddSchema.optional(),
42
+ });
43
+ export { CreateItemBodySchema };
44
+ //Item.update
45
+ const UpdateItemMetadataSchema = z.looseObject({});
46
+ const UpdateItemBundleConfigurationSchema = z.object({
47
+ type: z.enum(['fixed']).optional(),
48
+ });
49
+ const UpdateItemBundleItemsToAddSchema = z.object({
50
+ item_id: z.array(z.string().max(100).optional()).optional(),
51
+ item_type: z.array(z.enum(['plan', 'addon', 'charge']).optional()).optional(),
52
+ quantity: z.array(z.number().int().min(1).optional()).optional(),
53
+ price_allocation: z.array(z.number().min(0).max(100).optional()).optional(),
54
+ });
55
+ const UpdateItemBundleItemsToUpdateSchema = z.object({
56
+ item_id: z.array(z.string().max(100).optional()).optional(),
57
+ item_type: z.array(z.enum(['plan', 'addon', 'charge']).optional()).optional(),
58
+ quantity: z.array(z.number().int().min(1).optional()).optional(),
59
+ price_allocation: z.array(z.number().min(0).max(100).optional()).optional(),
60
+ });
61
+ const UpdateItemBundleItemsToRemoveSchema = z.object({
62
+ item_id: z.array(z.string().max(100).optional()).optional(),
63
+ item_type: z.array(z.enum(['plan', 'addon', 'charge']).optional()).optional(),
64
+ });
65
+ const UpdateItemBodySchema = z.looseObject({
66
+ name: z.string().max(100).optional(),
67
+ description: z.string().max(2000).optional(),
68
+ is_shippable: z.boolean().default(false).optional(),
69
+ external_name: z.string().max(100).optional(),
70
+ item_family_id: z.string().max(100).optional(),
71
+ enabled_in_portal: z.boolean().default(true).optional(),
72
+ redirect_url: z.string().max(500).optional(),
73
+ enabled_for_checkout: z.boolean().default(true).optional(),
74
+ item_applicability: z.enum(['all', 'restricted']).optional(),
75
+ clear_applicable_items: z.boolean().default(false).optional(),
76
+ applicable_items: z.array(z.string().max(100).optional()).optional(),
77
+ unit: z.string().max(30).optional(),
78
+ gift_claim_redirect_url: z.string().max(500).optional(),
79
+ metadata: UpdateItemMetadataSchema.optional(),
80
+ included_in_mrr: z.boolean().optional(),
81
+ status: z.enum(['active', 'archived']).optional(),
82
+ is_percentage_pricing: z.boolean().default(false).optional(),
83
+ bundle_configuration: UpdateItemBundleConfigurationSchema.optional(),
84
+ bundle_items_to_add: UpdateItemBundleItemsToAddSchema.optional(),
85
+ bundle_items_to_update: UpdateItemBundleItemsToUpdateSchema.optional(),
86
+ bundle_items_to_remove: UpdateItemBundleItemsToRemoveSchema.optional(),
87
+ });
88
+ export { UpdateItemBodySchema };
89
+ //Item.list
90
+ const ListItemIdSchema = z.object({
91
+ is: z.string().min(1).optional(),
92
+ is_not: z.string().min(1).optional(),
93
+ starts_with: z.string().min(1).optional(),
94
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
95
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
96
+ });
97
+ const ListItemItemFamilyIdSchema = z.object({
98
+ is: z.string().min(1).optional(),
99
+ is_not: z.string().min(1).optional(),
100
+ starts_with: z.string().min(1).optional(),
101
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
102
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
103
+ });
104
+ const ListItemTypeSchema = z.object({
105
+ is: z.enum(['plan', 'addon', 'charge']).optional(),
106
+ is_not: z.enum(['plan', 'addon', 'charge']).optional(),
107
+ in: z.enum(['plan', 'addon', 'charge']).optional(),
108
+ not_in: z.enum(['plan', 'addon', 'charge']).optional(),
109
+ });
110
+ const ListItemNameSchema = z.object({
111
+ is: z.string().min(1).optional(),
112
+ is_not: z.string().min(1).optional(),
113
+ starts_with: z.string().min(1).optional(),
114
+ });
115
+ const ListItemItemApplicabilitySchema = z.object({
116
+ is: z.enum(['all', 'restricted']).optional(),
117
+ is_not: z.enum(['all', 'restricted']).optional(),
118
+ in: z.enum(['all', 'restricted']).optional(),
119
+ not_in: z.enum(['all', 'restricted']).optional(),
120
+ });
121
+ const ListItemStatusSchema = z.object({
122
+ is: z.enum(['active', 'archived', 'deleted']).optional(),
123
+ is_not: z.enum(['active', 'archived', 'deleted']).optional(),
124
+ in: z.enum(['active', 'archived', 'deleted']).optional(),
125
+ not_in: z.enum(['active', 'archived', 'deleted']).optional(),
126
+ });
127
+ const ListItemIsGiftableSchema = z.object({
128
+ is: z.enum(['true', 'false']).optional(),
129
+ });
130
+ const ListItemUpdatedAtSchema = z.object({
131
+ after: z.string().regex(RegExp('^\\d{10}$')).optional(),
132
+ before: z.string().regex(RegExp('^\\d{10}$')).optional(),
133
+ on: z.string().regex(RegExp('^\\d{10}$')).optional(),
134
+ between: z.string().regex(RegExp('^\\[\\d{10},\\d{10}\\]$')).optional(),
135
+ });
136
+ const ListItemEnabledForCheckoutSchema = z.object({
137
+ is: z.enum(['true', 'false']).optional(),
138
+ });
139
+ const ListItemEnabledInPortalSchema = z.object({
140
+ is: z.enum(['true', 'false']).optional(),
141
+ });
142
+ const ListItemMeteredSchema = z.object({
143
+ is: z.enum(['true', 'false']).optional(),
144
+ });
145
+ const ListItemUsageCalculationSchema = z.object({
146
+ is: z.enum(['sum_of_usages', 'last_usage', 'max_usage']).optional(),
147
+ is_not: z.enum(['sum_of_usages', 'last_usage', 'max_usage']).optional(),
148
+ in: z.enum(['sum_of_usages', 'last_usage', 'max_usage']).optional(),
149
+ not_in: z.enum(['sum_of_usages', 'last_usage', 'max_usage']).optional(),
150
+ });
151
+ const ListItemChannelSchema = z.object({
152
+ is: z.enum(['web', 'app_store', 'play_store']).optional(),
153
+ is_not: z.enum(['web', 'app_store', 'play_store']).optional(),
154
+ in: z.enum(['web', 'app_store', 'play_store']).optional(),
155
+ not_in: z.enum(['web', 'app_store', 'play_store']).optional(),
156
+ });
157
+ const ListItemBusinessEntityIdSchema = z.object({
158
+ is: z.string().min(1).optional(),
159
+ is_present: z.enum(['true', 'false']).optional(),
160
+ });
161
+ const ListItemIncludeSiteLevelResourcesSchema = z.object({
162
+ is: z.enum(['true', 'false']).optional(),
163
+ });
164
+ const ListItemSortBySchema = z.looseObject({
165
+ asc: z.enum(['name', 'id', 'updated_at']).optional(),
166
+ desc: z.enum(['name', 'id', 'updated_at']).optional(),
167
+ });
168
+ const ListItemBundleConfigurationSchema = z.object({
169
+ type: ListItemTypeSchema.optional(),
170
+ });
171
+ const ListItemBodySchema = z.looseObject({
172
+ limit: z.number().int().min(1).max(100).optional(),
173
+ offset: z.string().max(1000).optional(),
174
+ id: ListItemIdSchema.optional(),
175
+ item_family_id: ListItemItemFamilyIdSchema.optional(),
176
+ type: ListItemTypeSchema.optional(),
177
+ name: ListItemNameSchema.optional(),
178
+ item_applicability: ListItemItemApplicabilitySchema.optional(),
179
+ status: ListItemStatusSchema.optional(),
180
+ is_giftable: ListItemIsGiftableSchema.optional(),
181
+ updated_at: ListItemUpdatedAtSchema.optional(),
182
+ enabled_for_checkout: ListItemEnabledForCheckoutSchema.optional(),
183
+ enabled_in_portal: ListItemEnabledInPortalSchema.optional(),
184
+ metered: ListItemMeteredSchema.optional(),
185
+ usage_calculation: ListItemUsageCalculationSchema.optional(),
186
+ channel: ListItemChannelSchema.optional(),
187
+ business_entity_id: ListItemBusinessEntityIdSchema.optional(),
188
+ include_site_level_resources: ListItemIncludeSiteLevelResourcesSchema.optional(),
189
+ sort_by: ListItemSortBySchema.optional(),
190
+ bundle_configuration: ListItemBundleConfigurationSchema.optional(),
191
+ });
192
+ export { ListItemBodySchema };
@@ -0,0 +1,42 @@
1
+ // Generated Zod schemas: ItemEntitlement
2
+ // Actions: itemEntitlementsForItem, itemEntitlementsForFeature, addItemEntitlements, upsertOrRemoveItemEntitlementsForItem
3
+ // Do not edit manually – regenerate via sdk-generator
4
+ import { z } from 'zod';
5
+ //ItemEntitlement.itemEntitlementsForItem
6
+ const ItemEntitlementsForItemItemEntitlementBodySchema = z.looseObject({
7
+ limit: z.number().int().min(1).max(100).optional(),
8
+ offset: z.string().max(1000).optional(),
9
+ include_drafts: z.boolean().default(false).optional(),
10
+ embed: z.string().max(1000).optional(),
11
+ });
12
+ export { ItemEntitlementsForItemItemEntitlementBodySchema };
13
+ //ItemEntitlement.itemEntitlementsForFeature
14
+ const ItemEntitlementsForFeatureItemEntitlementBodySchema = z.looseObject({
15
+ limit: z.number().int().min(1).max(100).optional(),
16
+ offset: z.string().max(1000).optional(),
17
+ include_drafts: z.boolean().default(false).optional(),
18
+ });
19
+ export { ItemEntitlementsForFeatureItemEntitlementBodySchema };
20
+ //ItemEntitlement.addItemEntitlements
21
+ const AddItemEntitlementsItemEntitlementItemEntitlementsSchema = z.object({
22
+ item_id: z.array(z.string().max(100).optional()),
23
+ item_type: z
24
+ .array(z.enum(['plan', 'addon', 'charge', 'subscription', 'item']).optional())
25
+ .optional(),
26
+ value: z.array(z.string().max(50).optional()).optional(),
27
+ });
28
+ const AddItemEntitlementsItemEntitlementBodySchema = z.looseObject({
29
+ action: z.enum(['upsert', 'remove']),
30
+ item_entitlements: AddItemEntitlementsItemEntitlementItemEntitlementsSchema.optional(),
31
+ });
32
+ export { AddItemEntitlementsItemEntitlementBodySchema };
33
+ //ItemEntitlement.upsertOrRemoveItemEntitlementsForItem
34
+ const UpsertOrRemoveItemEntitlementsForItemItemEntitlementItemEntitlementsSchema = z.object({
35
+ feature_id: z.array(z.string().max(50).optional()),
36
+ value: z.array(z.string().max(50).optional()).optional(),
37
+ });
38
+ const UpsertOrRemoveItemEntitlementsForItemItemEntitlementBodySchema = z.looseObject({
39
+ action: z.enum(['upsert', 'remove']),
40
+ item_entitlements: UpsertOrRemoveItemEntitlementsForItemItemEntitlementItemEntitlementsSchema.optional(),
41
+ });
42
+ export { UpsertOrRemoveItemEntitlementsForItemItemEntitlementBodySchema };
@@ -0,0 +1,54 @@
1
+ // Generated Zod schemas: ItemFamily
2
+ // Actions: create, list, update
3
+ // Do not edit manually – regenerate via sdk-generator
4
+ import { z } from 'zod';
5
+ //ItemFamily.create
6
+ const CreateItemFamilyBodySchema = z.looseObject({
7
+ id: z.string().max(50),
8
+ name: z.string().max(50),
9
+ description: z.string().max(500).optional(),
10
+ business_entity_id: z.string().max(50).optional(),
11
+ });
12
+ export { CreateItemFamilyBodySchema };
13
+ //ItemFamily.list
14
+ const ListItemFamilyIdSchema = z.object({
15
+ is: z.string().min(1).optional(),
16
+ is_not: z.string().min(1).optional(),
17
+ starts_with: z.string().min(1).optional(),
18
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
19
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
20
+ });
21
+ const ListItemFamilyNameSchema = z.object({
22
+ is: z.string().min(1).optional(),
23
+ is_not: z.string().min(1).optional(),
24
+ starts_with: z.string().min(1).optional(),
25
+ });
26
+ const ListItemFamilyUpdatedAtSchema = z.object({
27
+ after: z.string().regex(RegExp('^\\d{10}$')).optional(),
28
+ before: z.string().regex(RegExp('^\\d{10}$')).optional(),
29
+ on: z.string().regex(RegExp('^\\d{10}$')).optional(),
30
+ between: z.string().regex(RegExp('^\\[\\d{10},\\d{10}\\]$')).optional(),
31
+ });
32
+ const ListItemFamilyBusinessEntityIdSchema = z.object({
33
+ is: z.string().min(1).optional(),
34
+ is_present: z.enum(['true', 'false']).optional(),
35
+ });
36
+ const ListItemFamilyIncludeSiteLevelResourcesSchema = z.object({
37
+ is: z.enum(['true', 'false']).optional(),
38
+ });
39
+ const ListItemFamilyBodySchema = z.looseObject({
40
+ limit: z.number().int().min(1).max(100).optional(),
41
+ offset: z.string().max(1000).optional(),
42
+ id: ListItemFamilyIdSchema.optional(),
43
+ name: ListItemFamilyNameSchema.optional(),
44
+ updated_at: ListItemFamilyUpdatedAtSchema.optional(),
45
+ business_entity_id: ListItemFamilyBusinessEntityIdSchema.optional(),
46
+ include_site_level_resources: ListItemFamilyIncludeSiteLevelResourcesSchema.optional(),
47
+ });
48
+ export { ListItemFamilyBodySchema };
49
+ //ItemFamily.update
50
+ const UpdateItemFamilyBodySchema = z.looseObject({
51
+ name: z.string().max(50).optional(),
52
+ description: z.string().max(500).optional(),
53
+ });
54
+ export { UpdateItemFamilyBodySchema };
@@ -0,0 +1,332 @@
1
+ // Generated Zod schemas: ItemPrice
2
+ // Actions: create, update, list, findApplicableItems, findApplicableItemPrices
3
+ // Do not edit manually – regenerate via sdk-generator
4
+ import { z } from 'zod';
5
+ //ItemPrice.create
6
+ const CreateItemPriceMetadataSchema = z.looseObject({});
7
+ const CreateItemPriceTaxDetailSchema = z.object({
8
+ tax_profile_id: z.string().max(50).optional(),
9
+ avalara_tax_code: z.string().max(50).optional(),
10
+ hsn_code: z.string().max(50).optional(),
11
+ avalara_sale_type: z
12
+ .enum(['wholesale', 'retail', 'consumed', 'vendor_use'])
13
+ .optional(),
14
+ avalara_transaction_type: z.number().int().optional(),
15
+ avalara_service_type: z.number().int().optional(),
16
+ taxjar_product_code: z.string().max(50).optional(),
17
+ });
18
+ const CreateItemPriceAccountingDetailSchema = z.object({
19
+ sku: z.string().max(100).optional(),
20
+ accounting_code: z.string().max(100).optional(),
21
+ accounting_category1: z.string().max(100).optional(),
22
+ accounting_category2: z.string().max(100).optional(),
23
+ accounting_category3: z.string().max(100).optional(),
24
+ accounting_category4: z.string().max(100).optional(),
25
+ });
26
+ const CreateItemPriceTiersSchema = z.object({
27
+ starting_unit: z.array(z.number().int().min(1).optional()).optional(),
28
+ ending_unit: z.array(z.number().int().optional()).optional(),
29
+ price: z.array(z.number().int().min(0).optional()).optional(),
30
+ starting_unit_in_decimal: z.array(z.string().max(33).optional()).optional(),
31
+ ending_unit_in_decimal: z.array(z.string().max(33).optional()).optional(),
32
+ price_in_decimal: z.array(z.string().max(39).optional()).optional(),
33
+ pricing_type: z
34
+ .array(z.enum(['per_unit', 'flat_fee', 'package']).optional())
35
+ .optional(),
36
+ package_size: z.array(z.number().int().min(1).optional()).optional(),
37
+ });
38
+ const CreateItemPriceTaxProvidersFieldsSchema = z.object({
39
+ provider_name: z.array(z.string().max(50).optional()),
40
+ field_id: z.array(z.string().max(50).optional()),
41
+ field_value: z.array(z.string().max(50).optional()),
42
+ });
43
+ const CreateItemPriceBodySchema = z.looseObject({
44
+ id: z.string().max(100),
45
+ name: z.string().max(100),
46
+ description: z.string().max(2000).optional(),
47
+ item_id: z.string().max(100),
48
+ invoice_notes: z.string().max(2000).optional(),
49
+ proration_type: z
50
+ .enum(['site_default', 'partial_term', 'full_term'])
51
+ .optional(),
52
+ external_name: z.string().max(100).optional(),
53
+ currency_code: z.string().max(3).optional(),
54
+ price_variant_id: z.string().max(100).optional(),
55
+ is_taxable: z.boolean().default(true).optional(),
56
+ free_quantity: z.number().int().min(0).optional(),
57
+ free_quantity_in_decimal: z.string().max(33).optional(),
58
+ metadata: CreateItemPriceMetadataSchema.optional(),
59
+ show_description_in_invoices: z.boolean().default(false).optional(),
60
+ show_description_in_quotes: z.boolean().default(false).optional(),
61
+ usage_accumulation_reset_frequency: z
62
+ .enum(['never', 'subscription_billing_frequency'])
63
+ .optional(),
64
+ business_entity_id: z.string().max(50).optional(),
65
+ pricing_model: z
66
+ .enum(['flat_fee', 'per_unit', 'tiered', 'volume', 'stairstep'])
67
+ .optional(),
68
+ price: z.number().int().min(0).optional(),
69
+ price_in_decimal: z.string().max(39).optional(),
70
+ period_unit: z.enum(['day', 'week', 'month', 'year']).optional(),
71
+ period: z.number().int().min(1).optional(),
72
+ trial_period_unit: z.enum(['day', 'month']).optional(),
73
+ trial_period: z.number().int().min(0).optional(),
74
+ shipping_period: z.number().int().min(1).optional(),
75
+ shipping_period_unit: z.enum(['day', 'week', 'month', 'year']).optional(),
76
+ billing_cycles: z.number().int().min(1).optional(),
77
+ trial_end_action: z
78
+ .enum(['site_default', 'activate_subscription', 'cancel_subscription'])
79
+ .optional(),
80
+ tax_detail: CreateItemPriceTaxDetailSchema.optional(),
81
+ accounting_detail: CreateItemPriceAccountingDetailSchema.optional(),
82
+ tiers: CreateItemPriceTiersSchema.optional(),
83
+ tax_providers_fields: CreateItemPriceTaxProvidersFieldsSchema.optional(),
84
+ });
85
+ export { CreateItemPriceBodySchema };
86
+ //ItemPrice.update
87
+ const UpdateItemPriceMetadataSchema = z.looseObject({});
88
+ const UpdateItemPriceTaxDetailSchema = z.object({
89
+ tax_profile_id: z.string().max(50).optional(),
90
+ avalara_tax_code: z.string().max(50).optional(),
91
+ hsn_code: z.string().max(50).optional(),
92
+ avalara_sale_type: z
93
+ .enum(['wholesale', 'retail', 'consumed', 'vendor_use'])
94
+ .optional(),
95
+ avalara_transaction_type: z.number().int().optional(),
96
+ avalara_service_type: z.number().int().optional(),
97
+ taxjar_product_code: z.string().max(50).optional(),
98
+ });
99
+ const UpdateItemPriceAccountingDetailSchema = z.object({
100
+ sku: z.string().max(100).optional(),
101
+ accounting_code: z.string().max(100).optional(),
102
+ accounting_category1: z.string().max(100).optional(),
103
+ accounting_category2: z.string().max(100).optional(),
104
+ accounting_category3: z.string().max(100).optional(),
105
+ accounting_category4: z.string().max(100).optional(),
106
+ });
107
+ const UpdateItemPriceTiersSchema = z.object({
108
+ starting_unit: z.array(z.number().int().min(1).optional()).optional(),
109
+ ending_unit: z.array(z.number().int().optional()).optional(),
110
+ price: z.array(z.number().int().min(0).optional()).optional(),
111
+ starting_unit_in_decimal: z.array(z.string().max(33).optional()).optional(),
112
+ ending_unit_in_decimal: z.array(z.string().max(33).optional()).optional(),
113
+ price_in_decimal: z.array(z.string().max(39).optional()).optional(),
114
+ pricing_type: z
115
+ .array(z.enum(['per_unit', 'flat_fee', 'package']).optional())
116
+ .optional(),
117
+ package_size: z.array(z.number().int().min(1).optional()).optional(),
118
+ });
119
+ const UpdateItemPriceTaxProvidersFieldsSchema = z.object({
120
+ provider_name: z.array(z.string().max(50).optional()),
121
+ field_id: z.array(z.string().max(50).optional()),
122
+ field_value: z.array(z.string().max(50).optional()),
123
+ });
124
+ const UpdateItemPriceBodySchema = z.looseObject({
125
+ name: z.string().max(100).optional(),
126
+ description: z.string().max(2000).optional(),
127
+ proration_type: z
128
+ .enum(['site_default', 'partial_term', 'full_term'])
129
+ .optional(),
130
+ price_variant_id: z.string().max(100).optional(),
131
+ status: z.enum(['active', 'archived']).optional(),
132
+ external_name: z.string().max(100).optional(),
133
+ usage_accumulation_reset_frequency: z
134
+ .enum(['never', 'subscription_billing_frequency'])
135
+ .optional(),
136
+ currency_code: z.string().max(3).optional(),
137
+ invoice_notes: z.string().max(2000).optional(),
138
+ is_taxable: z.boolean().default(true).optional(),
139
+ free_quantity: z.number().int().min(0).optional(),
140
+ free_quantity_in_decimal: z.string().max(33).optional(),
141
+ metadata: UpdateItemPriceMetadataSchema.optional(),
142
+ pricing_model: z
143
+ .enum(['flat_fee', 'per_unit', 'tiered', 'volume', 'stairstep'])
144
+ .optional(),
145
+ price: z.number().int().min(0).optional(),
146
+ price_in_decimal: z.string().max(39).optional(),
147
+ period_unit: z.enum(['day', 'week', 'month', 'year']).optional(),
148
+ period: z.number().int().min(1).optional(),
149
+ trial_period_unit: z.enum(['day', 'month']).optional(),
150
+ trial_period: z.number().int().min(0).optional(),
151
+ shipping_period: z.number().int().min(1).optional(),
152
+ shipping_period_unit: z.enum(['day', 'week', 'month', 'year']).optional(),
153
+ billing_cycles: z.number().int().min(1).optional(),
154
+ trial_end_action: z
155
+ .enum(['site_default', 'activate_subscription', 'cancel_subscription'])
156
+ .optional(),
157
+ show_description_in_invoices: z.boolean().optional(),
158
+ show_description_in_quotes: z.boolean().optional(),
159
+ tax_detail: UpdateItemPriceTaxDetailSchema.optional(),
160
+ accounting_detail: UpdateItemPriceAccountingDetailSchema.optional(),
161
+ tiers: UpdateItemPriceTiersSchema.optional(),
162
+ tax_providers_fields: UpdateItemPriceTaxProvidersFieldsSchema.optional(),
163
+ });
164
+ export { UpdateItemPriceBodySchema };
165
+ //ItemPrice.list
166
+ const ListItemPriceIdSchema = z.object({
167
+ is: z.string().min(1).optional(),
168
+ is_not: z.string().min(1).optional(),
169
+ starts_with: z.string().min(1).optional(),
170
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
171
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
172
+ });
173
+ const ListItemPriceNameSchema = z.object({
174
+ is: z.string().min(1).optional(),
175
+ is_not: z.string().min(1).optional(),
176
+ starts_with: z.string().min(1).optional(),
177
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
178
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
179
+ });
180
+ const ListItemPricePricingModelSchema = z.object({
181
+ is: z
182
+ .enum(['flat_fee', 'per_unit', 'tiered', 'volume', 'stairstep'])
183
+ .optional(),
184
+ is_not: z
185
+ .enum(['flat_fee', 'per_unit', 'tiered', 'volume', 'stairstep'])
186
+ .optional(),
187
+ in: z
188
+ .enum(['flat_fee', 'per_unit', 'tiered', 'volume', 'stairstep'])
189
+ .optional(),
190
+ not_in: z
191
+ .enum(['flat_fee', 'per_unit', 'tiered', 'volume', 'stairstep'])
192
+ .optional(),
193
+ });
194
+ const ListItemPriceItemIdSchema = z.object({
195
+ is: z.string().min(1).optional(),
196
+ is_not: z.string().min(1).optional(),
197
+ starts_with: z.string().min(1).optional(),
198
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
199
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
200
+ });
201
+ const ListItemPriceItemFamilyIdSchema = z.object({
202
+ is: z.string().min(1).optional(),
203
+ is_not: z.string().min(1).optional(),
204
+ starts_with: z.string().min(1).optional(),
205
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
206
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
207
+ });
208
+ const ListItemPriceItemTypeSchema = z.object({
209
+ is: z.enum(['plan', 'addon', 'charge']).optional(),
210
+ is_not: z.enum(['plan', 'addon', 'charge']).optional(),
211
+ in: z.enum(['plan', 'addon', 'charge']).optional(),
212
+ not_in: z.enum(['plan', 'addon', 'charge']).optional(),
213
+ });
214
+ const ListItemPriceCurrencyCodeSchema = z.object({
215
+ is: z.string().min(1).optional(),
216
+ is_not: z.string().min(1).optional(),
217
+ starts_with: z.string().min(1).optional(),
218
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
219
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
220
+ });
221
+ const ListItemPricePriceVariantIdSchema = z.object({
222
+ is: z.string().min(1).optional(),
223
+ is_not: z.string().min(1).optional(),
224
+ starts_with: z.string().min(1).optional(),
225
+ in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
226
+ not_in: z.string().regex(RegExp('^\\[(.*)(,.*)*\\]$')).optional(),
227
+ });
228
+ const ListItemPriceTrialPeriodSchema = z.object({
229
+ is: z.string().regex(RegExp('^-?\\d+$')).optional(),
230
+ is_not: z.string().regex(RegExp('^-?\\d+$')).optional(),
231
+ lt: z.string().regex(RegExp('^-?\\d+$')).optional(),
232
+ lte: z.string().regex(RegExp('^-?\\d+$')).optional(),
233
+ gt: z.string().regex(RegExp('^-?\\d+$')).optional(),
234
+ gte: z.string().regex(RegExp('^-?\\d+$')).optional(),
235
+ between: z.string().regex(RegExp('^\\[-?\\d+,-?\\d+\\]$')).optional(),
236
+ });
237
+ const ListItemPriceTrialPeriodUnitSchema = z.object({
238
+ is: z.enum(['day', 'month']).optional(),
239
+ is_not: z.enum(['day', 'month']).optional(),
240
+ in: z.enum(['day', 'month']).optional(),
241
+ not_in: z.enum(['day', 'month']).optional(),
242
+ });
243
+ const ListItemPriceStatusSchema = z.object({
244
+ is: z.enum(['active', 'archived', 'deleted']).optional(),
245
+ is_not: z.enum(['active', 'archived', 'deleted']).optional(),
246
+ in: z.enum(['active', 'archived', 'deleted']).optional(),
247
+ not_in: z.enum(['active', 'archived', 'deleted']).optional(),
248
+ });
249
+ const ListItemPriceUpdatedAtSchema = z.object({
250
+ after: z.string().regex(RegExp('^\\d{10}$')).optional(),
251
+ before: z.string().regex(RegExp('^\\d{10}$')).optional(),
252
+ on: z.string().regex(RegExp('^\\d{10}$')).optional(),
253
+ between: z.string().regex(RegExp('^\\[\\d{10},\\d{10}\\]$')).optional(),
254
+ });
255
+ const ListItemPriceBusinessEntityIdSchema = z.object({
256
+ is: z.string().min(1).optional(),
257
+ is_present: z.enum(['true', 'false']).optional(),
258
+ });
259
+ const ListItemPriceIncludeSiteLevelResourcesSchema = z.object({
260
+ is: z.enum(['true', 'false']).optional(),
261
+ });
262
+ const ListItemPricePeriodUnitSchema = z.object({
263
+ is: z.enum(['day', 'week', 'month', 'year']).optional(),
264
+ is_not: z.enum(['day', 'week', 'month', 'year']).optional(),
265
+ in: z.enum(['day', 'week', 'month', 'year']).optional(),
266
+ not_in: z.enum(['day', 'week', 'month', 'year']).optional(),
267
+ });
268
+ const ListItemPricePeriodSchema = z.object({
269
+ is: z.string().regex(RegExp('^-?\\d+$')).optional(),
270
+ is_not: z.string().regex(RegExp('^-?\\d+$')).optional(),
271
+ lt: z.string().regex(RegExp('^-?\\d+$')).optional(),
272
+ lte: z.string().regex(RegExp('^-?\\d+$')).optional(),
273
+ gt: z.string().regex(RegExp('^-?\\d+$')).optional(),
274
+ gte: z.string().regex(RegExp('^-?\\d+$')).optional(),
275
+ between: z.string().regex(RegExp('^\\[-?\\d+,-?\\d+\\]$')).optional(),
276
+ });
277
+ const ListItemPriceChannelSchema = z.object({
278
+ is: z.enum(['web', 'app_store', 'play_store']).optional(),
279
+ is_not: z.enum(['web', 'app_store', 'play_store']).optional(),
280
+ in: z.enum(['web', 'app_store', 'play_store']).optional(),
281
+ not_in: z.enum(['web', 'app_store', 'play_store']).optional(),
282
+ });
283
+ const ListItemPriceSortBySchema = z.looseObject({
284
+ asc: z.enum(['name', 'id', 'updated_at']).optional(),
285
+ desc: z.enum(['name', 'id', 'updated_at']).optional(),
286
+ });
287
+ const ListItemPriceBodySchema = z.looseObject({
288
+ limit: z.number().int().min(1).max(100).optional(),
289
+ offset: z.string().max(1000).optional(),
290
+ id: ListItemPriceIdSchema.optional(),
291
+ name: ListItemPriceNameSchema.optional(),
292
+ pricing_model: ListItemPricePricingModelSchema.optional(),
293
+ item_id: ListItemPriceItemIdSchema.optional(),
294
+ item_family_id: ListItemPriceItemFamilyIdSchema.optional(),
295
+ item_type: ListItemPriceItemTypeSchema.optional(),
296
+ currency_code: ListItemPriceCurrencyCodeSchema.optional(),
297
+ price_variant_id: ListItemPricePriceVariantIdSchema.optional(),
298
+ trial_period: ListItemPriceTrialPeriodSchema.optional(),
299
+ trial_period_unit: ListItemPriceTrialPeriodUnitSchema.optional(),
300
+ status: ListItemPriceStatusSchema.optional(),
301
+ updated_at: ListItemPriceUpdatedAtSchema.optional(),
302
+ business_entity_id: ListItemPriceBusinessEntityIdSchema.optional(),
303
+ include_site_level_resources: ListItemPriceIncludeSiteLevelResourcesSchema.optional(),
304
+ period_unit: ListItemPricePeriodUnitSchema.optional(),
305
+ period: ListItemPricePeriodSchema.optional(),
306
+ channel: ListItemPriceChannelSchema.optional(),
307
+ sort_by: ListItemPriceSortBySchema.optional(),
308
+ });
309
+ export { ListItemPriceBodySchema };
310
+ //ItemPrice.findApplicableItems
311
+ const FindApplicableItemsItemPriceSortBySchema = z.looseObject({
312
+ asc: z.enum(['name', 'id', 'updated_at']).optional(),
313
+ desc: z.enum(['name', 'id', 'updated_at']).optional(),
314
+ });
315
+ const FindApplicableItemsItemPriceBodySchema = z.looseObject({
316
+ limit: z.number().int().min(1).max(100).optional(),
317
+ offset: z.string().max(1000).optional(),
318
+ sort_by: FindApplicableItemsItemPriceSortBySchema.optional(),
319
+ });
320
+ export { FindApplicableItemsItemPriceBodySchema };
321
+ //ItemPrice.findApplicableItemPrices
322
+ const FindApplicableItemPricesItemPriceSortBySchema = z.looseObject({
323
+ asc: z.enum(['name', 'id', 'updated_at']).optional(),
324
+ desc: z.enum(['name', 'id', 'updated_at']).optional(),
325
+ });
326
+ const FindApplicableItemPricesItemPriceBodySchema = z.looseObject({
327
+ limit: z.number().int().min(1).max(100).optional(),
328
+ offset: z.string().max(1000).optional(),
329
+ item_id: z.string().max(100).optional(),
330
+ sort_by: FindApplicableItemPricesItemPriceSortBySchema.optional(),
331
+ });
332
+ export { FindApplicableItemPricesItemPriceBodySchema };
@@ -0,0 +1,18 @@
1
+ // Generated Zod schemas: LedgerAccountBalance
2
+ // Actions: listLedgerAccountBalances
3
+ // Do not edit manually – regenerate via sdk-generator
4
+ import { z } from 'zod';
5
+ //LedgerAccountBalance.listLedgerAccountBalances
6
+ const ListLedgerAccountBalancesLedgerAccountBalanceSubscriptionIdSchema = z.object({
7
+ is: z.string().min(1).optional(),
8
+ });
9
+ const ListLedgerAccountBalancesLedgerAccountBalanceUnitIdSchema = z.object({
10
+ is: z.string().min(1).optional(),
11
+ });
12
+ const ListLedgerAccountBalancesLedgerAccountBalanceBodySchema = z.looseObject({
13
+ limit: z.number().int().min(1).max(100).optional(),
14
+ offset: z.string().max(1000).optional(),
15
+ subscription_id: ListLedgerAccountBalancesLedgerAccountBalanceSubscriptionIdSchema,
16
+ unit_id: ListLedgerAccountBalancesLedgerAccountBalanceUnitIdSchema.optional(),
17
+ });
18
+ export { ListLedgerAccountBalancesLedgerAccountBalanceBodySchema };