@smartbills/sdk 0.0.2-alpha.44 → 0.0.2-alpha.46

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 (1291) hide show
  1. package/dist/@types/client/SBClient.d.ts +80 -0
  2. package/dist/@types/client/SBClient.d.ts.map +1 -0
  3. package/dist/@types/client/SBClientOptions.d.ts +19 -0
  4. package/dist/@types/client/SBClientOptions.d.ts.map +1 -0
  5. package/dist/@types/client/SBCredentials.d.ts +29 -0
  6. package/dist/@types/client/SBCredentials.d.ts.map +1 -0
  7. package/dist/@types/client/SBEnvironment.d.ts +8 -0
  8. package/dist/@types/client/SBEnvironment.d.ts.map +1 -0
  9. package/dist/@types/client/SBError.d.ts +9 -0
  10. package/dist/@types/client/SBError.d.ts.map +1 -0
  11. package/dist/@types/client/SBErrorResponse.d.ts +11 -0
  12. package/dist/@types/client/SBErrorResponse.d.ts.map +1 -0
  13. package/dist/@types/client/SBException.d.ts +17 -0
  14. package/dist/@types/client/SBException.d.ts.map +1 -0
  15. package/dist/@types/client/SBInstance.d.ts +12 -0
  16. package/dist/@types/client/SBInstance.d.ts.map +1 -0
  17. package/dist/@types/client/SBLogger.d.ts +8 -0
  18. package/dist/@types/client/SBLogger.d.ts.map +1 -0
  19. package/dist/@types/client/SBPermission.d.ts +49 -0
  20. package/dist/@types/client/SBPermission.d.ts.map +1 -0
  21. package/dist/@types/client/SBRequestOption.d.ts +14 -0
  22. package/dist/@types/client/SBRequestOption.d.ts.map +1 -0
  23. package/dist/@types/client/SBServiceOptions.d.ts +11 -0
  24. package/dist/@types/client/SBServiceOptions.d.ts.map +1 -0
  25. package/dist/@types/constants/login/LoginError.d.ts +8 -0
  26. package/dist/@types/constants/login/LoginError.d.ts.map +1 -0
  27. package/dist/@types/entities/account/SBExternalProvider.d.ts +8 -0
  28. package/dist/@types/entities/account/SBExternalProvider.d.ts.map +1 -0
  29. package/dist/@types/entities/account/SBGenderEnum.d.ts +8 -0
  30. package/dist/@types/entities/account/SBGenderEnum.d.ts.map +1 -0
  31. package/dist/@types/entities/account/SBUserAccount.d.ts +24 -0
  32. package/dist/@types/entities/account/SBUserAccount.d.ts.map +1 -0
  33. package/dist/@types/entities/address/SBAddress.d.ts +18 -0
  34. package/dist/@types/entities/address/SBAddress.d.ts.map +1 -0
  35. package/dist/@types/entities/address/SBBillingAddress.d.ts +14 -0
  36. package/dist/@types/entities/address/SBBillingAddress.d.ts.map +1 -0
  37. package/dist/@types/entities/address/SBCoordinate.d.ts +9 -0
  38. package/dist/@types/entities/address/SBCoordinate.d.ts.map +1 -0
  39. package/dist/@types/entities/api-logs/SBLog.d.ts +19 -0
  40. package/dist/@types/entities/api-logs/SBLog.d.ts.map +1 -0
  41. package/dist/@types/entities/attachments/SBAttachment.d.ts +27 -0
  42. package/dist/@types/entities/attachments/SBAttachment.d.ts.map +1 -0
  43. package/dist/@types/entities/banks/SBBalanceHistory.d.ts +11 -0
  44. package/dist/@types/entities/banks/SBBalanceHistory.d.ts.map +1 -0
  45. package/dist/@types/entities/banks/SBBank.d.ts +18 -0
  46. package/dist/@types/entities/banks/SBBank.d.ts.map +1 -0
  47. package/dist/@types/entities/banks/SBBankAccount.d.ts +19 -0
  48. package/dist/@types/entities/banks/SBBankAccount.d.ts.map +1 -0
  49. package/dist/@types/entities/banks/SBBankBalance.d.ts +11 -0
  50. package/dist/@types/entities/banks/SBBankBalance.d.ts.map +1 -0
  51. package/dist/@types/entities/banks/SBBankInstitution.d.ts +12 -0
  52. package/dist/@types/entities/banks/SBBankInstitution.d.ts.map +1 -0
  53. package/dist/@types/entities/banks/SBBankState.d.ts +9 -0
  54. package/dist/@types/entities/banks/SBBankState.d.ts.map +1 -0
  55. package/dist/@types/entities/banks/SBBankTransaction.d.ts +36 -0
  56. package/dist/@types/entities/banks/SBBankTransaction.d.ts.map +1 -0
  57. package/dist/@types/entities/barcode/SBBarcode.d.ts +10 -0
  58. package/dist/@types/entities/barcode/SBBarcode.d.ts.map +1 -0
  59. package/dist/@types/entities/barcode/SBBarcodeType.d.ts +27 -0
  60. package/dist/@types/entities/barcode/SBBarcodeType.d.ts.map +1 -0
  61. package/dist/@types/entities/base.d.ts +58 -0
  62. package/dist/@types/entities/base.d.ts.map +1 -0
  63. package/dist/@types/entities/batches/SBBatch.d.ts +6 -0
  64. package/dist/@types/entities/batches/SBBatch.d.ts.map +1 -0
  65. package/dist/@types/entities/businesses/SBBusiness.d.ts +19 -0
  66. package/dist/@types/entities/businesses/SBBusiness.d.ts.map +1 -0
  67. package/dist/@types/entities/businesses/brands/SBBusinessBrand.d.ts +11 -0
  68. package/dist/@types/entities/businesses/brands/SBBusinessBrand.d.ts.map +1 -0
  69. package/dist/@types/entities/businesses/customers/SBCustomer.d.ts +35 -0
  70. package/dist/@types/entities/businesses/customers/SBCustomer.d.ts.map +1 -0
  71. package/dist/@types/entities/businesses/customers/balance-transactions/SBCustomerBalanceTransaction.d.ts +12 -0
  72. package/dist/@types/entities/businesses/customers/balance-transactions/SBCustomerBalanceTransaction.d.ts.map +1 -0
  73. package/dist/@types/entities/businesses/departments/SBDepartment.d.ts +35 -0
  74. package/dist/@types/entities/businesses/departments/SBDepartment.d.ts.map +1 -0
  75. package/dist/@types/entities/businesses/departments/SBDepartmentTeamMember.d.ts +22 -0
  76. package/dist/@types/entities/businesses/departments/SBDepartmentTeamMember.d.ts.map +1 -0
  77. package/dist/@types/entities/businesses/fees/SBFee.d.ts +12 -0
  78. package/dist/@types/entities/businesses/fees/SBFee.d.ts.map +1 -0
  79. package/dist/@types/entities/businesses/fees/SBFeeType.d.ts +7 -0
  80. package/dist/@types/entities/businesses/fees/SBFeeType.d.ts.map +1 -0
  81. package/dist/@types/entities/businesses/locations/SBLocation.d.ts +16 -0
  82. package/dist/@types/entities/businesses/locations/SBLocation.d.ts.map +1 -0
  83. package/dist/@types/entities/businesses/locations/SBLocationBatch.d.ts +9 -0
  84. package/dist/@types/entities/businesses/locations/SBLocationBatch.d.ts.map +1 -0
  85. package/dist/@types/entities/businesses/products/SBProduct.d.ts +21 -0
  86. package/dist/@types/entities/businesses/products/SBProduct.d.ts.map +1 -0
  87. package/dist/@types/entities/businesses/products/SBProductImage.d.ts +8 -0
  88. package/dist/@types/entities/businesses/products/SBProductImage.d.ts.map +1 -0
  89. package/dist/@types/entities/businesses/products/SBProductTranslation.d.ts +11 -0
  90. package/dist/@types/entities/businesses/products/SBProductTranslation.d.ts.map +1 -0
  91. package/dist/@types/entities/businesses/products/SBProductVariant.d.ts +18 -0
  92. package/dist/@types/entities/businesses/products/SBProductVariant.d.ts.map +1 -0
  93. package/dist/@types/entities/businesses/products/SBProductVariantOption.d.ts +7 -0
  94. package/dist/@types/entities/businesses/products/SBProductVariantOption.d.ts.map +1 -0
  95. package/dist/@types/entities/businesses/products/SBProductVendor.d.ts +7 -0
  96. package/dist/@types/entities/businesses/products/SBProductVendor.d.ts.map +1 -0
  97. package/dist/@types/entities/businesses/products/modifiers/SBProductModifier.d.ts +10 -0
  98. package/dist/@types/entities/businesses/products/modifiers/SBProductModifier.d.ts.map +1 -0
  99. package/dist/@types/entities/businesses/products/options/SBProductOption.d.ts +33 -0
  100. package/dist/@types/entities/businesses/products/options/SBProductOption.d.ts.map +1 -0
  101. package/dist/@types/entities/businesses/promo-codes/SBPromoCode.d.ts +13 -0
  102. package/dist/@types/entities/businesses/promo-codes/SBPromoCode.d.ts.map +1 -0
  103. package/dist/@types/entities/businesses/promo-codes/SBPromoCodeType.d.ts +4 -0
  104. package/dist/@types/entities/businesses/promo-codes/SBPromoCodeType.d.ts.map +1 -0
  105. package/dist/@types/entities/businesses/reviews/SBBusinessReview.d.ts +9 -0
  106. package/dist/@types/entities/businesses/reviews/SBBusinessReview.d.ts.map +1 -0
  107. package/dist/@types/entities/businesses/tables/SBTable.d.ts +15 -0
  108. package/dist/@types/entities/businesses/tables/SBTable.d.ts.map +1 -0
  109. package/dist/@types/entities/businesses/taxes/SBReceiptItemTax.d.ts +10 -0
  110. package/dist/@types/entities/businesses/taxes/SBReceiptItemTax.d.ts.map +1 -0
  111. package/dist/@types/entities/businesses/taxes/SBReceiptTax.d.ts +12 -0
  112. package/dist/@types/entities/businesses/taxes/SBReceiptTax.d.ts.map +1 -0
  113. package/dist/@types/entities/businesses/taxes/SBTax.d.ts +17 -0
  114. package/dist/@types/entities/businesses/taxes/SBTax.d.ts.map +1 -0
  115. package/dist/@types/entities/businesses/taxes/SBTaxType.d.ts +4 -0
  116. package/dist/@types/entities/businesses/taxes/SBTaxType.d.ts.map +1 -0
  117. package/dist/@types/entities/businesses/team/invitations/SBTeamMemberInvitation.d.ts +17 -0
  118. package/dist/@types/entities/businesses/team/invitations/SBTeamMemberInvitation.d.ts.map +1 -0
  119. package/dist/@types/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.d.ts +9 -0
  120. package/dist/@types/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.d.ts.map +1 -0
  121. package/dist/@types/entities/businesses/team/members/SBTeamMember.d.ts +22 -0
  122. package/dist/@types/entities/businesses/team/members/SBTeamMember.d.ts.map +1 -0
  123. package/dist/@types/entities/businesses/team/members/SBTeamMemberRole.d.ts +10 -0
  124. package/dist/@types/entities/businesses/team/members/SBTeamMemberRole.d.ts.map +1 -0
  125. package/dist/@types/entities/businesses/team/members/SBTeamMemberStatus.d.ts +10 -0
  126. package/dist/@types/entities/businesses/team/members/SBTeamMemberStatus.d.ts.map +1 -0
  127. package/dist/@types/entities/cards/SBCard.d.ts +20 -0
  128. package/dist/@types/entities/cards/SBCard.d.ts.map +1 -0
  129. package/dist/@types/entities/cards/SBCardSetupIntent.d.ts +7 -0
  130. package/dist/@types/entities/cards/SBCardSetupIntent.d.ts.map +1 -0
  131. package/dist/@types/entities/cards/SBCardType.d.ts +9 -0
  132. package/dist/@types/entities/cards/SBCardType.d.ts.map +1 -0
  133. package/dist/@types/entities/common/ImageUploadRequest.d.ts +8 -0
  134. package/dist/@types/entities/common/ImageUploadRequest.d.ts.map +1 -0
  135. package/dist/@types/entities/documents/SBDocument.d.ts +16 -0
  136. package/dist/@types/entities/documents/SBDocument.d.ts.map +1 -0
  137. package/dist/@types/entities/documents/SBDocumentUpload.d.ts +8 -0
  138. package/dist/@types/entities/documents/SBDocumentUpload.d.ts.map +1 -0
  139. package/dist/@types/entities/documents/ocr/SBBoundingBox.d.ts +10 -0
  140. package/dist/@types/entities/documents/ocr/SBBoundingBox.d.ts.map +1 -0
  141. package/dist/@types/entities/documents/ocr/SBDocumentOCR.d.ts +10 -0
  142. package/dist/@types/entities/documents/ocr/SBDocumentOCR.d.ts.map +1 -0
  143. package/dist/@types/entities/documents/ocr/SBExpenseDetection.d.ts +11 -0
  144. package/dist/@types/entities/documents/ocr/SBExpenseDetection.d.ts.map +1 -0
  145. package/dist/@types/entities/documents/ocr/SBExpenseField.d.ts +13 -0
  146. package/dist/@types/entities/documents/ocr/SBExpenseField.d.ts.map +1 -0
  147. package/dist/@types/entities/documents/ocr/SBExpenseType.d.ts +8 -0
  148. package/dist/@types/entities/documents/ocr/SBExpenseType.d.ts.map +1 -0
  149. package/dist/@types/entities/documents/ocr/SBGeometry.d.ts +11 -0
  150. package/dist/@types/entities/documents/ocr/SBGeometry.d.ts.map +1 -0
  151. package/dist/@types/entities/documents/ocr/SBLineItemFields.d.ts +9 -0
  152. package/dist/@types/entities/documents/ocr/SBLineItemFields.d.ts.map +1 -0
  153. package/dist/@types/entities/documents/ocr/SBLineItemGroup.d.ts +10 -0
  154. package/dist/@types/entities/documents/ocr/SBLineItemGroup.d.ts.map +1 -0
  155. package/dist/@types/entities/documents/ocr/SBOCRResult.d.ts +12 -0
  156. package/dist/@types/entities/documents/ocr/SBOCRResult.d.ts.map +1 -0
  157. package/dist/@types/entities/documents/ocr/SBPoint.d.ts +7 -0
  158. package/dist/@types/entities/documents/ocr/SBPoint.d.ts.map +1 -0
  159. package/dist/@types/entities/domains/SBDomain.d.ts +10 -0
  160. package/dist/@types/entities/domains/SBDomain.d.ts.map +1 -0
  161. package/dist/@types/entities/expense-groups/SBExpenseGroup.d.ts +15 -0
  162. package/dist/@types/entities/expense-groups/SBExpenseGroup.d.ts.map +1 -0
  163. package/dist/@types/entities/expense-groups/SBExpenseGroupAutomation.d.ts +5 -0
  164. package/dist/@types/entities/expense-groups/SBExpenseGroupAutomation.d.ts.map +1 -0
  165. package/dist/@types/entities/expense-groups/SBExpenseGroupBudget.d.ts +7 -0
  166. package/dist/@types/entities/expense-groups/SBExpenseGroupBudget.d.ts.map +1 -0
  167. package/dist/@types/entities/expense-groups/SBExpenseGroupForm.d.ts +12 -0
  168. package/dist/@types/entities/expense-groups/SBExpenseGroupForm.d.ts.map +1 -0
  169. package/dist/@types/entities/explore/SBExploreBusiness.d.ts +14 -0
  170. package/dist/@types/entities/explore/SBExploreBusiness.d.ts.map +1 -0
  171. package/dist/@types/entities/friends/SBFriend.d.ts +10 -0
  172. package/dist/@types/entities/friends/SBFriend.d.ts.map +1 -0
  173. package/dist/@types/entities/friends/SBFriendRequest.d.ts +10 -0
  174. package/dist/@types/entities/friends/SBFriendRequest.d.ts.map +1 -0
  175. package/dist/@types/entities/fulfillment/SBFulfillment.d.ts +24 -0
  176. package/dist/@types/entities/fulfillment/SBFulfillment.d.ts.map +1 -0
  177. package/dist/@types/entities/fulfillment/SBFulfillmentItem.d.ts +13 -0
  178. package/dist/@types/entities/fulfillment/SBFulfillmentItem.d.ts.map +1 -0
  179. package/dist/@types/entities/images/SBImage.d.ts +13 -0
  180. package/dist/@types/entities/images/SBImage.d.ts.map +1 -0
  181. package/dist/@types/entities/integrations/SBIntegration.d.ts +16 -0
  182. package/dist/@types/entities/integrations/SBIntegration.d.ts.map +1 -0
  183. package/dist/@types/entities/invoices/SBInvoice.d.ts +7 -0
  184. package/dist/@types/entities/invoices/SBInvoice.d.ts.map +1 -0
  185. package/dist/@types/entities/loyalty.d.ts +266 -0
  186. package/dist/@types/entities/loyalty.d.ts.map +1 -0
  187. package/dist/@types/entities/money/SBMoney.d.ts +7 -0
  188. package/dist/@types/entities/money/SBMoney.d.ts.map +1 -0
  189. package/dist/@types/entities/notifications/SBNotification.d.ts +29 -0
  190. package/dist/@types/entities/notifications/SBNotification.d.ts.map +1 -0
  191. package/dist/@types/entities/oauth/JwtToken.d.ts +10 -0
  192. package/dist/@types/entities/oauth/JwtToken.d.ts.map +1 -0
  193. package/dist/@types/entities/payment-methods/SBPaymentMethod.d.ts +25 -0
  194. package/dist/@types/entities/payment-methods/SBPaymentMethod.d.ts.map +1 -0
  195. package/dist/@types/entities/payment-methods/SBPaymentMethodBank.d.ts +10 -0
  196. package/dist/@types/entities/payment-methods/SBPaymentMethodBank.d.ts.map +1 -0
  197. package/dist/@types/entities/payment-methods/SBPaymentMethodCard.d.ts +19 -0
  198. package/dist/@types/entities/payment-methods/SBPaymentMethodCard.d.ts.map +1 -0
  199. package/dist/@types/entities/payment-methods/SBPaymentMethodFingerprint.d.ts +7 -0
  200. package/dist/@types/entities/payment-methods/SBPaymentMethodFingerprint.d.ts.map +1 -0
  201. package/dist/@types/entities/payment-methods/SBPaymentMethodFingerprintProvider.d.ts +7 -0
  202. package/dist/@types/entities/payment-methods/SBPaymentMethodFingerprintProvider.d.ts.map +1 -0
  203. package/dist/@types/entities/payment-methods/SBPaymentMethodSetup.d.ts +8 -0
  204. package/dist/@types/entities/payment-methods/SBPaymentMethodSetup.d.ts.map +1 -0
  205. package/dist/@types/entities/payments/SBPaymentStatus.d.ts +28 -0
  206. package/dist/@types/entities/payments/SBPaymentStatus.d.ts.map +1 -0
  207. package/dist/@types/entities/prices/SBPrice.d.ts +13 -0
  208. package/dist/@types/entities/prices/SBPrice.d.ts.map +1 -0
  209. package/dist/@types/entities/receipts/SBReceipt.d.ts +65 -0
  210. package/dist/@types/entities/receipts/SBReceipt.d.ts.map +1 -0
  211. package/dist/@types/entities/receipts/SBReceiptBatch.d.ts +8 -0
  212. package/dist/@types/entities/receipts/SBReceiptBatch.d.ts.map +1 -0
  213. package/dist/@types/entities/receipts/SBReceiptFee.d.ts +11 -0
  214. package/dist/@types/entities/receipts/SBReceiptFee.d.ts.map +1 -0
  215. package/dist/@types/entities/receipts/SBReceiptItem.d.ts +23 -0
  216. package/dist/@types/entities/receipts/SBReceiptItem.d.ts.map +1 -0
  217. package/dist/@types/entities/receipts/SBReceiptItemSplit.d.ts +14 -0
  218. package/dist/@types/entities/receipts/SBReceiptItemSplit.d.ts.map +1 -0
  219. package/dist/@types/entities/receipts/SBReceiptSource.d.ts +10 -0
  220. package/dist/@types/entities/receipts/SBReceiptSource.d.ts.map +1 -0
  221. package/dist/@types/entities/receipts/SBReceiptTransaction.d.ts +23 -0
  222. package/dist/@types/entities/receipts/SBReceiptTransaction.d.ts.map +1 -0
  223. package/dist/@types/entities/receipts/SBReceiptType.d.ts +9 -0
  224. package/dist/@types/entities/receipts/SBReceiptType.d.ts.map +1 -0
  225. package/dist/@types/entities/receipts/SBReceiptUser.d.ts +12 -0
  226. package/dist/@types/entities/receipts/SBReceiptUser.d.ts.map +1 -0
  227. package/dist/@types/entities/receipts/discounts/SBReceiptDiscount.d.ts +14 -0
  228. package/dist/@types/entities/receipts/discounts/SBReceiptDiscount.d.ts.map +1 -0
  229. package/dist/@types/entities/receipts/metadata/SBBrowserMetadata.d.ts +11 -0
  230. package/dist/@types/entities/receipts/metadata/SBBrowserMetadata.d.ts.map +1 -0
  231. package/dist/@types/entities/receipts/metadata/SBMetadata.d.ts +4 -0
  232. package/dist/@types/entities/receipts/metadata/SBMetadata.d.ts.map +1 -0
  233. package/dist/@types/entities/receipts/metadata/SBReceiptMetadata.d.ts +15 -0
  234. package/dist/@types/entities/receipts/metadata/SBReceiptMetadata.d.ts.map +1 -0
  235. package/dist/@types/entities/receipts/payments/SBReceiptPayment.d.ts +40 -0
  236. package/dist/@types/entities/receipts/payments/SBReceiptPayment.d.ts.map +1 -0
  237. package/dist/@types/entities/receipts/payments/SBReceiptPaymentBalance.d.ts +5 -0
  238. package/dist/@types/entities/receipts/payments/SBReceiptPaymentBalance.d.ts.map +1 -0
  239. package/dist/@types/entities/receipts/payments/SBReceiptPaymentBankAccount.d.ts +12 -0
  240. package/dist/@types/entities/receipts/payments/SBReceiptPaymentBankAccount.d.ts.map +1 -0
  241. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCard.d.ts +23 -0
  242. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCard.d.ts.map +1 -0
  243. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardAvsResult.d.ts +15 -0
  244. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardAvsResult.d.ts.map +1 -0
  245. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardCvvResult.d.ts +8 -0
  246. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardCvvResult.d.ts.map +1 -0
  247. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardEMV.d.ts +5 -0
  248. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardEMV.d.ts.map +1 -0
  249. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.d.ts +10 -0
  250. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.d.ts.map +1 -0
  251. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardError.d.ts +7 -0
  252. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardError.d.ts.map +1 -0
  253. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardTimeline.d.ts +8 -0
  254. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardTimeline.d.ts.map +1 -0
  255. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCash.d.ts +9 -0
  256. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCash.d.ts.map +1 -0
  257. package/dist/@types/entities/receipts/payments/SBReceiptPaymentExternal.d.ts +12 -0
  258. package/dist/@types/entities/receipts/payments/SBReceiptPaymentExternal.d.ts.map +1 -0
  259. package/dist/@types/entities/receipts/payments/SBReceiptPaymentExternalType.d.ts +17 -0
  260. package/dist/@types/entities/receipts/payments/SBReceiptPaymentExternalType.d.ts.map +1 -0
  261. package/dist/@types/entities/receipts/payments/SBReceiptPaymentMethodCard.d.ts +19 -0
  262. package/dist/@types/entities/receipts/payments/SBReceiptPaymentMethodCard.d.ts.map +1 -0
  263. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRefund.d.ts +7 -0
  264. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRefund.d.ts.map +1 -0
  265. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRiskEvaluation.d.ts +9 -0
  266. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRiskEvaluation.d.ts.map +1 -0
  267. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRiskLevel.d.ts +8 -0
  268. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRiskLevel.d.ts.map +1 -0
  269. package/dist/@types/entities/receipts/payments/SBReceiptPaymentStatus.d.ts +10 -0
  270. package/dist/@types/entities/receipts/payments/SBReceiptPaymentStatus.d.ts.map +1 -0
  271. package/dist/@types/entities/receipts/payments/SBReceiptPaymentType.d.ts +11 -0
  272. package/dist/@types/entities/receipts/payments/SBReceiptPaymentType.d.ts.map +1 -0
  273. package/dist/@types/entities/receipts/transactions/SBPaymentDetail.d.ts +11 -0
  274. package/dist/@types/entities/receipts/transactions/SBPaymentDetail.d.ts.map +1 -0
  275. package/dist/@types/entities/refund/SBReceiptItemRefund.d.ts +17 -0
  276. package/dist/@types/entities/refund/SBReceiptItemRefund.d.ts.map +1 -0
  277. package/dist/@types/entities/refund/SBRefund.d.ts +18 -0
  278. package/dist/@types/entities/refund/SBRefund.d.ts.map +1 -0
  279. package/dist/@types/entities/refund/SBRefundAjustment.d.ts +15 -0
  280. package/dist/@types/entities/refund/SBRefundAjustment.d.ts.map +1 -0
  281. package/dist/@types/entities/reports/SBDateRange.d.ts +7 -0
  282. package/dist/@types/entities/reports/SBDateRange.d.ts.map +1 -0
  283. package/dist/@types/entities/reports/SBPeriodReport.d.ts +9 -0
  284. package/dist/@types/entities/reports/SBPeriodReport.d.ts.map +1 -0
  285. package/dist/@types/entities/reports/SBPeriodReportData.d.ts +9 -0
  286. package/dist/@types/entities/reports/SBPeriodReportData.d.ts.map +1 -0
  287. package/dist/@types/entities/settlements/SBSettlement.d.ts +18 -0
  288. package/dist/@types/entities/settlements/SBSettlement.d.ts.map +1 -0
  289. package/dist/@types/entities/settlements/SBSettlementPayment.d.ts +15 -0
  290. package/dist/@types/entities/settlements/SBSettlementPayment.d.ts.map +1 -0
  291. package/dist/@types/entities/subscriptions/SBSubscription.d.ts +43 -0
  292. package/dist/@types/entities/subscriptions/SBSubscription.d.ts.map +1 -0
  293. package/dist/@types/entities/transactions/SBTransaction.d.ts +22 -0
  294. package/dist/@types/entities/transactions/SBTransaction.d.ts.map +1 -0
  295. package/dist/@types/entities/transactions/SBTransactionType.d.ts +9 -0
  296. package/dist/@types/entities/transactions/SBTransactionType.d.ts.map +1 -0
  297. package/dist/@types/entities/users/SBUser.d.ts +10 -0
  298. package/dist/@types/entities/users/SBUser.d.ts.map +1 -0
  299. package/dist/@types/entities/vendors/SBVendor.d.ts +15 -0
  300. package/dist/@types/entities/vendors/SBVendor.d.ts.map +1 -0
  301. package/dist/@types/entities/wallet/SBWallet.d.ts +27 -0
  302. package/dist/@types/entities/wallet/SBWallet.d.ts.map +1 -0
  303. package/dist/@types/index.d.ts +348 -0
  304. package/dist/@types/index.d.ts.map +1 -0
  305. package/dist/@types/interfaces/IBatchable.d.ts +40 -0
  306. package/dist/@types/interfaces/IBatchable.d.ts.map +1 -0
  307. package/dist/@types/interfaces/ICreatable.d.ts +37 -0
  308. package/dist/@types/interfaces/ICreatable.d.ts.map +1 -0
  309. package/dist/@types/interfaces/IDeletable.d.ts +35 -0
  310. package/dist/@types/interfaces/IDeletable.d.ts.map +1 -0
  311. package/dist/@types/interfaces/IListable.d.ts +38 -0
  312. package/dist/@types/interfaces/IListable.d.ts.map +1 -0
  313. package/dist/@types/interfaces/IRetrievable.d.ts +35 -0
  314. package/dist/@types/interfaces/IRetrievable.d.ts.map +1 -0
  315. package/dist/@types/interfaces/IRetrievableById.d.ts +50 -0
  316. package/dist/@types/interfaces/IRetrievableById.d.ts.map +1 -0
  317. package/dist/@types/interfaces/ITimestamp.d.ts +13 -0
  318. package/dist/@types/interfaces/ITimestamp.d.ts.map +1 -0
  319. package/dist/@types/interfaces/IUpdatable.d.ts +39 -0
  320. package/dist/@types/interfaces/IUpdatable.d.ts.map +1 -0
  321. package/dist/@types/services/BatchUpsertRequest.d.ts +17 -0
  322. package/dist/@types/services/BatchUpsertRequest.d.ts.map +1 -0
  323. package/dist/@types/services/ListRequest.d.ts +21 -0
  324. package/dist/@types/services/ListRequest.d.ts.map +1 -0
  325. package/dist/@types/services/SBService.d.ts +88 -0
  326. package/dist/@types/services/SBService.d.ts.map +1 -0
  327. package/dist/@types/services/UpsertRequest.d.ts +20 -0
  328. package/dist/@types/services/UpsertRequest.d.ts.map +1 -0
  329. package/dist/@types/services/addresses/AddressRequest.d.ts +13 -0
  330. package/dist/@types/services/addresses/AddressRequest.d.ts.map +1 -0
  331. package/dist/@types/services/addresses/BillingAddressRequest.d.ts +12 -0
  332. package/dist/@types/services/addresses/BillingAddressRequest.d.ts.map +1 -0
  333. package/dist/@types/services/api-logs/LogListRequest.d.ts +7 -0
  334. package/dist/@types/services/api-logs/LogListRequest.d.ts.map +1 -0
  335. package/dist/@types/services/api-logs/LogService.d.ts +18 -0
  336. package/dist/@types/services/api-logs/LogService.d.ts.map +1 -0
  337. package/dist/@types/services/attachments/AttachmentCreateRequest.d.ts +20 -0
  338. package/dist/@types/services/attachments/AttachmentCreateRequest.d.ts.map +1 -0
  339. package/dist/@types/services/attachments/AttachmentListRequest.d.ts +19 -0
  340. package/dist/@types/services/attachments/AttachmentListRequest.d.ts.map +1 -0
  341. package/dist/@types/services/attachments/AttachmentService.d.ts +85 -0
  342. package/dist/@types/services/attachments/AttachmentService.d.ts.map +1 -0
  343. package/dist/@types/services/attachments/AttachmentUpdateRequest.d.ts +23 -0
  344. package/dist/@types/services/attachments/AttachmentUpdateRequest.d.ts.map +1 -0
  345. package/dist/@types/services/attachments/AttachmentUpsertRequest.d.ts +23 -0
  346. package/dist/@types/services/attachments/AttachmentUpsertRequest.d.ts.map +1 -0
  347. package/dist/@types/services/banks/BankCreateRequest.d.ts +32 -0
  348. package/dist/@types/services/banks/BankCreateRequest.d.ts.map +1 -0
  349. package/dist/@types/services/banks/BankLinkResponse.d.ts +7 -0
  350. package/dist/@types/services/banks/BankLinkResponse.d.ts.map +1 -0
  351. package/dist/@types/services/banks/BankLinkTokenResponse.d.ts +7 -0
  352. package/dist/@types/services/banks/BankLinkTokenResponse.d.ts.map +1 -0
  353. package/dist/@types/services/banks/BankListRequest.d.ts +13 -0
  354. package/dist/@types/services/banks/BankListRequest.d.ts.map +1 -0
  355. package/dist/@types/services/banks/BankService.d.ts +169 -0
  356. package/dist/@types/services/banks/BankService.d.ts.map +1 -0
  357. package/dist/@types/services/banks/BankUpdateRequest.d.ts +9 -0
  358. package/dist/@types/services/banks/BankUpdateRequest.d.ts.map +1 -0
  359. package/dist/@types/services/banks/accounts/BankAccountCreateRequest.d.ts +11 -0
  360. package/dist/@types/services/banks/accounts/BankAccountCreateRequest.d.ts.map +1 -0
  361. package/dist/@types/services/banks/accounts/BankAccountListRequest.d.ts +5 -0
  362. package/dist/@types/services/banks/accounts/BankAccountListRequest.d.ts.map +1 -0
  363. package/dist/@types/services/banks/accounts/BankAccountService.d.ts +22 -0
  364. package/dist/@types/services/banks/accounts/BankAccountService.d.ts.map +1 -0
  365. package/dist/@types/services/banks/accounts/BankAccountUpdateRequest.d.ts +10 -0
  366. package/dist/@types/services/banks/accounts/BankAccountUpdateRequest.d.ts.map +1 -0
  367. package/dist/@types/services/banks/institutions/BankInstitutionListRequest.d.ts +7 -0
  368. package/dist/@types/services/banks/institutions/BankInstitutionListRequest.d.ts.map +1 -0
  369. package/dist/@types/services/banks/institutions/BankInstitutionService.d.ts +18 -0
  370. package/dist/@types/services/banks/institutions/BankInstitutionService.d.ts.map +1 -0
  371. package/dist/@types/services/banks/transactions/BankTransactionListRequest.d.ts +8 -0
  372. package/dist/@types/services/banks/transactions/BankTransactionListRequest.d.ts.map +1 -0
  373. package/dist/@types/services/banks/transactions/BankTransactionService.d.ts +24 -0
  374. package/dist/@types/services/banks/transactions/BankTransactionService.d.ts.map +1 -0
  375. package/dist/@types/services/billing/subscriptions/SubscriptionCreateRequest.d.ts +28 -0
  376. package/dist/@types/services/billing/subscriptions/SubscriptionCreateRequest.d.ts.map +1 -0
  377. package/dist/@types/services/billing/subscriptions/SubscriptionListRequest.d.ts +31 -0
  378. package/dist/@types/services/billing/subscriptions/SubscriptionListRequest.d.ts.map +1 -0
  379. package/dist/@types/services/billing/subscriptions/SubscriptionService.d.ts +120 -0
  380. package/dist/@types/services/billing/subscriptions/SubscriptionService.d.ts.map +1 -0
  381. package/dist/@types/services/billing/subscriptions/SubscriptionUpdateRequest.d.ts +29 -0
  382. package/dist/@types/services/billing/subscriptions/SubscriptionUpdateRequest.d.ts.map +1 -0
  383. package/dist/@types/services/billing/subscriptions/SubscriptionUpsertRequest.d.ts +33 -0
  384. package/dist/@types/services/billing/subscriptions/SubscriptionUpsertRequest.d.ts.map +1 -0
  385. package/dist/@types/services/businesses/BusinessCreateRequest.d.ts +37 -0
  386. package/dist/@types/services/businesses/BusinessCreateRequest.d.ts.map +1 -0
  387. package/dist/@types/services/businesses/BusinessInvitationRequest.d.ts +7 -0
  388. package/dist/@types/services/businesses/BusinessInvitationRequest.d.ts.map +1 -0
  389. package/dist/@types/services/businesses/BusinessListRequest.d.ts +7 -0
  390. package/dist/@types/services/businesses/BusinessListRequest.d.ts.map +1 -0
  391. package/dist/@types/services/businesses/BusinessService.d.ts +66 -0
  392. package/dist/@types/services/businesses/BusinessService.d.ts.map +1 -0
  393. package/dist/@types/services/businesses/BusinessUpdateRequest.d.ts +36 -0
  394. package/dist/@types/services/businesses/BusinessUpdateRequest.d.ts.map +1 -0
  395. package/dist/@types/services/businesses/brands/BrandCreateRequest.d.ts +16 -0
  396. package/dist/@types/services/businesses/brands/BrandCreateRequest.d.ts.map +1 -0
  397. package/dist/@types/services/businesses/brands/BrandService.d.ts +31 -0
  398. package/dist/@types/services/businesses/brands/BrandService.d.ts.map +1 -0
  399. package/dist/@types/services/businesses/customers/CustomerBatchUpsertRequest.d.ts +8 -0
  400. package/dist/@types/services/businesses/customers/CustomerBatchUpsertRequest.d.ts.map +1 -0
  401. package/dist/@types/services/businesses/customers/CustomerCreateRequest.d.ts +19 -0
  402. package/dist/@types/services/businesses/customers/CustomerCreateRequest.d.ts.map +1 -0
  403. package/dist/@types/services/businesses/customers/CustomerListRequest.d.ts +8 -0
  404. package/dist/@types/services/businesses/customers/CustomerListRequest.d.ts.map +1 -0
  405. package/dist/@types/services/businesses/customers/CustomerService.d.ts +94 -0
  406. package/dist/@types/services/businesses/customers/CustomerService.d.ts.map +1 -0
  407. package/dist/@types/services/businesses/customers/CustomerUpdateRequest.d.ts +5 -0
  408. package/dist/@types/services/businesses/customers/CustomerUpdateRequest.d.ts.map +1 -0
  409. package/dist/@types/services/businesses/customers/CustomerUpsertRequest.d.ts +8 -0
  410. package/dist/@types/services/businesses/customers/CustomerUpsertRequest.d.ts.map +1 -0
  411. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionCreateRequest.d.ts +10 -0
  412. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionCreateRequest.d.ts.map +1 -0
  413. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionListRequest.d.ts +7 -0
  414. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionListRequest.d.ts.map +1 -0
  415. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.d.ts +75 -0
  416. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.d.ts.map +1 -0
  417. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionUpdateRequest.d.ts +6 -0
  418. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionUpdateRequest.d.ts.map +1 -0
  419. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodCreateRequest.d.ts +5 -0
  420. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodCreateRequest.d.ts.map +1 -0
  421. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodListRequest.d.ts +7 -0
  422. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodListRequest.d.ts.map +1 -0
  423. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodService.d.ts +75 -0
  424. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodService.d.ts.map +1 -0
  425. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodUpdateRequest.d.ts +5 -0
  426. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodUpdateRequest.d.ts.map +1 -0
  427. package/dist/@types/services/businesses/departments/DepartmentBatchUpsertRequest.d.ts +11 -0
  428. package/dist/@types/services/businesses/departments/DepartmentBatchUpsertRequest.d.ts.map +1 -0
  429. package/dist/@types/services/businesses/departments/DepartmentCreateRequest.d.ts +36 -0
  430. package/dist/@types/services/businesses/departments/DepartmentCreateRequest.d.ts.map +1 -0
  431. package/dist/@types/services/businesses/departments/DepartmentService.d.ts +149 -0
  432. package/dist/@types/services/businesses/departments/DepartmentService.d.ts.map +1 -0
  433. package/dist/@types/services/businesses/departments/DepartmentUpdateRequest.d.ts +40 -0
  434. package/dist/@types/services/businesses/departments/DepartmentUpdateRequest.d.ts.map +1 -0
  435. package/dist/@types/services/businesses/departments/DepartmentUpsertRequest.d.ts +8 -0
  436. package/dist/@types/services/businesses/departments/DepartmentUpsertRequest.d.ts.map +1 -0
  437. package/dist/@types/services/businesses/departments/DepartmentsListRequest.d.ts +26 -0
  438. package/dist/@types/services/businesses/departments/DepartmentsListRequest.d.ts.map +1 -0
  439. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeCreateRequest.d.ts +9 -0
  440. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeCreateRequest.d.ts.map +1 -0
  441. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeListRequest.d.ts +11 -0
  442. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeListRequest.d.ts.map +1 -0
  443. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeService.d.ts +75 -0
  444. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeService.d.ts.map +1 -0
  445. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeUpdateRequest.d.ts +10 -0
  446. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeUpdateRequest.d.ts.map +1 -0
  447. package/dist/@types/services/businesses/domains/CreateDomainRequest.d.ts +6 -0
  448. package/dist/@types/services/businesses/domains/CreateDomainRequest.d.ts.map +1 -0
  449. package/dist/@types/services/businesses/domains/DomainService.d.ts +21 -0
  450. package/dist/@types/services/businesses/domains/DomainService.d.ts.map +1 -0
  451. package/dist/@types/services/businesses/domains/GetDomainsRequest.d.ts +7 -0
  452. package/dist/@types/services/businesses/domains/GetDomainsRequest.d.ts.map +1 -0
  453. package/dist/@types/services/businesses/fees/FeeCreateRequest.d.ts +12 -0
  454. package/dist/@types/services/businesses/fees/FeeCreateRequest.d.ts.map +1 -0
  455. package/dist/@types/services/businesses/fees/FeeListRequest.d.ts +7 -0
  456. package/dist/@types/services/businesses/fees/FeeListRequest.d.ts.map +1 -0
  457. package/dist/@types/services/businesses/fees/FeeService.d.ts +93 -0
  458. package/dist/@types/services/businesses/fees/FeeService.d.ts.map +1 -0
  459. package/dist/@types/services/businesses/fees/FeeUpdateRequest.d.ts +9 -0
  460. package/dist/@types/services/businesses/fees/FeeUpdateRequest.d.ts.map +1 -0
  461. package/dist/@types/services/businesses/fees/FeeUpsertRequest.d.ts +8 -0
  462. package/dist/@types/services/businesses/fees/FeeUpsertRequest.d.ts.map +1 -0
  463. package/dist/@types/services/businesses/locations/LocationBatchUpsertRequest.d.ts +8 -0
  464. package/dist/@types/services/businesses/locations/LocationBatchUpsertRequest.d.ts.map +1 -0
  465. package/dist/@types/services/businesses/locations/LocationCreateRequest.d.ts +13 -0
  466. package/dist/@types/services/businesses/locations/LocationCreateRequest.d.ts.map +1 -0
  467. package/dist/@types/services/businesses/locations/LocationService.d.ts +126 -0
  468. package/dist/@types/services/businesses/locations/LocationService.d.ts.map +1 -0
  469. package/dist/@types/services/businesses/locations/LocationUpdateRequest.d.ts +11 -0
  470. package/dist/@types/services/businesses/locations/LocationUpdateRequest.d.ts.map +1 -0
  471. package/dist/@types/services/businesses/locations/LocationUpsertRequest.d.ts +8 -0
  472. package/dist/@types/services/businesses/locations/LocationUpsertRequest.d.ts.map +1 -0
  473. package/dist/@types/services/businesses/locations/LocationsListRequest.d.ts +7 -0
  474. package/dist/@types/services/businesses/locations/LocationsListRequest.d.ts.map +1 -0
  475. package/dist/@types/services/businesses/prices/PriceCreateRequest.d.ts +5 -0
  476. package/dist/@types/services/businesses/prices/PriceCreateRequest.d.ts.map +1 -0
  477. package/dist/@types/services/businesses/prices/PriceService.d.ts +23 -0
  478. package/dist/@types/services/businesses/prices/PriceService.d.ts.map +1 -0
  479. package/dist/@types/services/businesses/prices/PriceUpdateRequest.d.ts +5 -0
  480. package/dist/@types/services/businesses/prices/PriceUpdateRequest.d.ts.map +1 -0
  481. package/dist/@types/services/businesses/prices/PricesListRequest.d.ts +7 -0
  482. package/dist/@types/services/businesses/prices/PricesListRequest.d.ts.map +1 -0
  483. package/dist/@types/services/businesses/products/ListImageRequest.d.ts +5 -0
  484. package/dist/@types/services/businesses/products/ListImageRequest.d.ts.map +1 -0
  485. package/dist/@types/services/businesses/products/ProductBatchUpsertRequest.d.ts +8 -0
  486. package/dist/@types/services/businesses/products/ProductBatchUpsertRequest.d.ts.map +1 -0
  487. package/dist/@types/services/businesses/products/ProductCreateRequest.d.ts +19 -0
  488. package/dist/@types/services/businesses/products/ProductCreateRequest.d.ts.map +1 -0
  489. package/dist/@types/services/businesses/products/ProductListRequest.d.ts +7 -0
  490. package/dist/@types/services/businesses/products/ProductListRequest.d.ts.map +1 -0
  491. package/dist/@types/services/businesses/products/ProductService.d.ts +118 -0
  492. package/dist/@types/services/businesses/products/ProductService.d.ts.map +1 -0
  493. package/dist/@types/services/businesses/products/ProductUpdateRequest.d.ts +17 -0
  494. package/dist/@types/services/businesses/products/ProductUpdateRequest.d.ts.map +1 -0
  495. package/dist/@types/services/businesses/products/ProductUpsertRequest.d.ts +8 -0
  496. package/dist/@types/services/businesses/products/ProductUpsertRequest.d.ts.map +1 -0
  497. package/dist/@types/services/businesses/products/images/ProductImageCreateRequest.d.ts +8 -0
  498. package/dist/@types/services/businesses/products/images/ProductImageCreateRequest.d.ts.map +1 -0
  499. package/dist/@types/services/businesses/products/images/ProductImageListRequest.d.ts +7 -0
  500. package/dist/@types/services/businesses/products/images/ProductImageListRequest.d.ts.map +1 -0
  501. package/dist/@types/services/businesses/products/images/ProductImageService.d.ts +75 -0
  502. package/dist/@types/services/businesses/products/images/ProductImageService.d.ts.map +1 -0
  503. package/dist/@types/services/businesses/products/images/ProductImageUpdateRequest.d.ts +5 -0
  504. package/dist/@types/services/businesses/products/images/ProductImageUpdateRequest.d.ts.map +1 -0
  505. package/dist/@types/services/businesses/products/modifiers/ProductModifierCreateRequest.d.ts +28 -0
  506. package/dist/@types/services/businesses/products/modifiers/ProductModifierCreateRequest.d.ts.map +1 -0
  507. package/dist/@types/services/businesses/products/modifiers/ProductModifierListRequest.d.ts +26 -0
  508. package/dist/@types/services/businesses/products/modifiers/ProductModifierListRequest.d.ts.map +1 -0
  509. package/dist/@types/services/businesses/products/modifiers/ProductModifierService.d.ts +88 -0
  510. package/dist/@types/services/businesses/products/modifiers/ProductModifierService.d.ts.map +1 -0
  511. package/dist/@types/services/businesses/products/modifiers/ProductModifierUpdateRequest.d.ts +28 -0
  512. package/dist/@types/services/businesses/products/modifiers/ProductModifierUpdateRequest.d.ts.map +1 -0
  513. package/dist/@types/services/businesses/products/modifiers/ProductModifierUpsertRequest.d.ts +30 -0
  514. package/dist/@types/services/businesses/products/modifiers/ProductModifierUpsertRequest.d.ts.map +1 -0
  515. package/dist/@types/services/businesses/products/options/ProductOptionCreateRequest.d.ts +28 -0
  516. package/dist/@types/services/businesses/products/options/ProductOptionCreateRequest.d.ts.map +1 -0
  517. package/dist/@types/services/businesses/products/options/ProductOptionListRequest.d.ts +26 -0
  518. package/dist/@types/services/businesses/products/options/ProductOptionListRequest.d.ts.map +1 -0
  519. package/dist/@types/services/businesses/products/options/ProductOptionService.d.ts +88 -0
  520. package/dist/@types/services/businesses/products/options/ProductOptionService.d.ts.map +1 -0
  521. package/dist/@types/services/businesses/products/options/ProductOptionUpdateRequest.d.ts +28 -0
  522. package/dist/@types/services/businesses/products/options/ProductOptionUpdateRequest.d.ts.map +1 -0
  523. package/dist/@types/services/businesses/products/options/ProductOptionUpsertRequest.d.ts +30 -0
  524. package/dist/@types/services/businesses/products/options/ProductOptionUpsertRequest.d.ts.map +1 -0
  525. package/dist/@types/services/businesses/products/variants/ProductVariantCreateRequest.d.ts +14 -0
  526. package/dist/@types/services/businesses/products/variants/ProductVariantCreateRequest.d.ts.map +1 -0
  527. package/dist/@types/services/businesses/products/variants/ProductVariantListRequest.d.ts +7 -0
  528. package/dist/@types/services/businesses/products/variants/ProductVariantListRequest.d.ts.map +1 -0
  529. package/dist/@types/services/businesses/products/variants/ProductVariantService.d.ts +75 -0
  530. package/dist/@types/services/businesses/products/variants/ProductVariantService.d.ts.map +1 -0
  531. package/dist/@types/services/businesses/products/variants/ProductVariantUpdateRequest.d.ts +5 -0
  532. package/dist/@types/services/businesses/products/variants/ProductVariantUpdateRequest.d.ts.map +1 -0
  533. package/dist/@types/services/businesses/promo-codes/PromoCodeBatchUpsertRequest.d.ts +8 -0
  534. package/dist/@types/services/businesses/promo-codes/PromoCodeBatchUpsertRequest.d.ts.map +1 -0
  535. package/dist/@types/services/businesses/promo-codes/PromoCodeCreateRequest.d.ts +11 -0
  536. package/dist/@types/services/businesses/promo-codes/PromoCodeCreateRequest.d.ts.map +1 -0
  537. package/dist/@types/services/businesses/promo-codes/PromoCodeListRequest.d.ts +7 -0
  538. package/dist/@types/services/businesses/promo-codes/PromoCodeListRequest.d.ts.map +1 -0
  539. package/dist/@types/services/businesses/promo-codes/PromoCodeService.d.ts +94 -0
  540. package/dist/@types/services/businesses/promo-codes/PromoCodeService.d.ts.map +1 -0
  541. package/dist/@types/services/businesses/promo-codes/PromoCodeUpdateRequest.d.ts +6 -0
  542. package/dist/@types/services/businesses/promo-codes/PromoCodeUpdateRequest.d.ts.map +1 -0
  543. package/dist/@types/services/businesses/promo-codes/PromoCodeUpsertRequest.d.ts +8 -0
  544. package/dist/@types/services/businesses/promo-codes/PromoCodeUpsertRequest.d.ts.map +1 -0
  545. package/dist/@types/services/businesses/reviews/BusinessReviewCreateRequest.d.ts +8 -0
  546. package/dist/@types/services/businesses/reviews/BusinessReviewCreateRequest.d.ts.map +1 -0
  547. package/dist/@types/services/businesses/reviews/BusinessReviewListRequest.d.ts +10 -0
  548. package/dist/@types/services/businesses/reviews/BusinessReviewListRequest.d.ts.map +1 -0
  549. package/dist/@types/services/businesses/reviews/BusinessReviewService.d.ts +30 -0
  550. package/dist/@types/services/businesses/reviews/BusinessReviewService.d.ts.map +1 -0
  551. package/dist/@types/services/businesses/reviews/BusinessReviewUpdateRequest.d.ts +7 -0
  552. package/dist/@types/services/businesses/reviews/BusinessReviewUpdateRequest.d.ts.map +1 -0
  553. package/dist/@types/services/businesses/tables/TableCreateRequest.d.ts +9 -0
  554. package/dist/@types/services/businesses/tables/TableCreateRequest.d.ts.map +1 -0
  555. package/dist/@types/services/businesses/tables/TableService.d.ts +23 -0
  556. package/dist/@types/services/businesses/tables/TableService.d.ts.map +1 -0
  557. package/dist/@types/services/businesses/tables/TableUpdateRequest.d.ts +14 -0
  558. package/dist/@types/services/businesses/tables/TableUpdateRequest.d.ts.map +1 -0
  559. package/dist/@types/services/businesses/taxes/TaxBatchUpsertRequest.d.ts +8 -0
  560. package/dist/@types/services/businesses/taxes/TaxBatchUpsertRequest.d.ts.map +1 -0
  561. package/dist/@types/services/businesses/taxes/TaxCreateRequest.d.ts +17 -0
  562. package/dist/@types/services/businesses/taxes/TaxCreateRequest.d.ts.map +1 -0
  563. package/dist/@types/services/businesses/taxes/TaxListRequest.d.ts +9 -0
  564. package/dist/@types/services/businesses/taxes/TaxListRequest.d.ts.map +1 -0
  565. package/dist/@types/services/businesses/taxes/TaxService.d.ts +89 -0
  566. package/dist/@types/services/businesses/taxes/TaxService.d.ts.map +1 -0
  567. package/dist/@types/services/businesses/taxes/TaxUpdateRequest.d.ts +12 -0
  568. package/dist/@types/services/businesses/taxes/TaxUpdateRequest.d.ts.map +1 -0
  569. package/dist/@types/services/businesses/taxes/TaxUpsertRequest.d.ts +8 -0
  570. package/dist/@types/services/businesses/taxes/TaxUpsertRequest.d.ts.map +1 -0
  571. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationCreateRequest.d.ts +13 -0
  572. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationCreateRequest.d.ts.map +1 -0
  573. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationListRequest.d.ts +7 -0
  574. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationListRequest.d.ts.map +1 -0
  575. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationRequest.d.ts +9 -0
  576. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationRequest.d.ts.map +1 -0
  577. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationResponseRequest.d.ts +8 -0
  578. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationResponseRequest.d.ts.map +1 -0
  579. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationService.d.ts +25 -0
  580. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationService.d.ts.map +1 -0
  581. package/dist/@types/services/businesses/team/members/TeamMemberListRequest.d.ts +10 -0
  582. package/dist/@types/services/businesses/team/members/TeamMemberListRequest.d.ts.map +1 -0
  583. package/dist/@types/services/businesses/team/members/TeamMemberService.d.ts +20 -0
  584. package/dist/@types/services/businesses/team/members/TeamMemberService.d.ts.map +1 -0
  585. package/dist/@types/services/businesses/vendors/VendorService.d.ts +85 -0
  586. package/dist/@types/services/businesses/vendors/VendorService.d.ts.map +1 -0
  587. package/dist/@types/services/cards/AttachCardRequest.d.ts +12 -0
  588. package/dist/@types/services/cards/AttachCardRequest.d.ts.map +1 -0
  589. package/dist/@types/services/cards/CardService.d.ts +28 -0
  590. package/dist/@types/services/cards/CardService.d.ts.map +1 -0
  591. package/dist/@types/services/cards/CreateCardRequest.d.ts +15 -0
  592. package/dist/@types/services/cards/CreateCardRequest.d.ts.map +1 -0
  593. package/dist/@types/services/cards/GetCardRequest.d.ts +5 -0
  594. package/dist/@types/services/cards/GetCardRequest.d.ts.map +1 -0
  595. package/dist/@types/services/cards/ListCardRequest.d.ts +5 -0
  596. package/dist/@types/services/cards/ListCardRequest.d.ts.map +1 -0
  597. package/dist/@types/services/documents/DocumentListRequest.d.ts +7 -0
  598. package/dist/@types/services/documents/DocumentListRequest.d.ts.map +1 -0
  599. package/dist/@types/services/documents/DocumentRenameRequest.d.ts +6 -0
  600. package/dist/@types/services/documents/DocumentRenameRequest.d.ts.map +1 -0
  601. package/dist/@types/services/documents/DocumentService.d.ts +24 -0
  602. package/dist/@types/services/documents/DocumentService.d.ts.map +1 -0
  603. package/dist/@types/services/documents/DocumentUploadRequest.d.ts +10 -0
  604. package/dist/@types/services/documents/DocumentUploadRequest.d.ts.map +1 -0
  605. package/dist/@types/services/expenses/ExpenseService.d.ts +20 -0
  606. package/dist/@types/services/expenses/ExpenseService.d.ts.map +1 -0
  607. package/dist/@types/services/expenses/ExpenseUploadRequest.d.ts +9 -0
  608. package/dist/@types/services/expenses/ExpenseUploadRequest.d.ts.map +1 -0
  609. package/dist/@types/services/explore/ExploreService.d.ts +13 -0
  610. package/dist/@types/services/explore/ExploreService.d.ts.map +1 -0
  611. package/dist/@types/services/friends/FriendListRequest.d.ts +7 -0
  612. package/dist/@types/services/friends/FriendListRequest.d.ts.map +1 -0
  613. package/dist/@types/services/friends/FriendRequestListRequest.d.ts +7 -0
  614. package/dist/@types/services/friends/FriendRequestListRequest.d.ts.map +1 -0
  615. package/dist/@types/services/friends/FriendService.d.ts +22 -0
  616. package/dist/@types/services/friends/FriendService.d.ts.map +1 -0
  617. package/dist/@types/services/images/ImageBase64CreateRequest.d.ts +8 -0
  618. package/dist/@types/services/images/ImageBase64CreateRequest.d.ts.map +1 -0
  619. package/dist/@types/services/images/ImageBaseCreateRequest.d.ts +6 -0
  620. package/dist/@types/services/images/ImageBaseCreateRequest.d.ts.map +1 -0
  621. package/dist/@types/services/images/ImageCreateRequest.d.ts +7 -0
  622. package/dist/@types/services/images/ImageCreateRequest.d.ts.map +1 -0
  623. package/dist/@types/services/images/ImageUrlCreateRequest.d.ts +8 -0
  624. package/dist/@types/services/images/ImageUrlCreateRequest.d.ts.map +1 -0
  625. package/dist/@types/services/integrations/IntegrationListRequest.d.ts +8 -0
  626. package/dist/@types/services/integrations/IntegrationListRequest.d.ts.map +1 -0
  627. package/dist/@types/services/integrations/IntegrationService.d.ts +20 -0
  628. package/dist/@types/services/integrations/IntegrationService.d.ts.map +1 -0
  629. package/dist/@types/services/invoices/InvoiceBatchUpsertRequest.d.ts +8 -0
  630. package/dist/@types/services/invoices/InvoiceBatchUpsertRequest.d.ts.map +1 -0
  631. package/dist/@types/services/invoices/InvoiceCreateRequest.d.ts +118 -0
  632. package/dist/@types/services/invoices/InvoiceCreateRequest.d.ts.map +1 -0
  633. package/dist/@types/services/invoices/InvoiceListRequest.d.ts +11 -0
  634. package/dist/@types/services/invoices/InvoiceListRequest.d.ts.map +1 -0
  635. package/dist/@types/services/invoices/InvoiceService.d.ts +216 -0
  636. package/dist/@types/services/invoices/InvoiceService.d.ts.map +1 -0
  637. package/dist/@types/services/invoices/InvoiceUpdateRequest.d.ts +73 -0
  638. package/dist/@types/services/invoices/InvoiceUpdateRequest.d.ts.map +1 -0
  639. package/dist/@types/services/invoices/InvoiceUpsertRequest.d.ts +5 -0
  640. package/dist/@types/services/invoices/InvoiceUpsertRequest.d.ts.map +1 -0
  641. package/dist/@types/services/loyalty/LoyaltyProgramService.d.ts +172 -0
  642. package/dist/@types/services/loyalty/LoyaltyProgramService.d.ts.map +1 -0
  643. package/dist/@types/services/notifications/NotificationCreateRequest.d.ts +20 -0
  644. package/dist/@types/services/notifications/NotificationCreateRequest.d.ts.map +1 -0
  645. package/dist/@types/services/notifications/NotificationService.d.ts +66 -0
  646. package/dist/@types/services/notifications/NotificationService.d.ts.map +1 -0
  647. package/dist/@types/services/oauth/AccessTokenResponse.d.ts +10 -0
  648. package/dist/@types/services/oauth/AccessTokenResponse.d.ts.map +1 -0
  649. package/dist/@types/services/oauth/AuthorizationCodeResponse.d.ts +11 -0
  650. package/dist/@types/services/oauth/AuthorizationCodeResponse.d.ts.map +1 -0
  651. package/dist/@types/services/oauth/AuthorizeRequest.d.ts +18 -0
  652. package/dist/@types/services/oauth/AuthorizeRequest.d.ts.map +1 -0
  653. package/dist/@types/services/oauth/OAuthService.d.ts +17 -0
  654. package/dist/@types/services/oauth/OAuthService.d.ts.map +1 -0
  655. package/dist/@types/services/oauth/RefreshTokenRequest.d.ts +9 -0
  656. package/dist/@types/services/oauth/RefreshTokenRequest.d.ts.map +1 -0
  657. package/dist/@types/services/oauth/TokenExchangeRequest.d.ts +15 -0
  658. package/dist/@types/services/oauth/TokenExchangeRequest.d.ts.map +1 -0
  659. package/dist/@types/services/payment-methods/PaymentMethodBankCreateRequest.d.ts +14 -0
  660. package/dist/@types/services/payment-methods/PaymentMethodBankCreateRequest.d.ts.map +1 -0
  661. package/dist/@types/services/payment-methods/PaymentMethodCardCreateRequest.d.ts +19 -0
  662. package/dist/@types/services/payment-methods/PaymentMethodCardCreateRequest.d.ts.map +1 -0
  663. package/dist/@types/services/payment-methods/PaymentMethodCreateRequest.d.ts +16 -0
  664. package/dist/@types/services/payment-methods/PaymentMethodCreateRequest.d.ts.map +1 -0
  665. package/dist/@types/services/payment-methods/PaymentMethodListRequest.d.ts +5 -0
  666. package/dist/@types/services/payment-methods/PaymentMethodListRequest.d.ts.map +1 -0
  667. package/dist/@types/services/payment-methods/PaymentMethodService.d.ts +29 -0
  668. package/dist/@types/services/payment-methods/PaymentMethodService.d.ts.map +1 -0
  669. package/dist/@types/services/payment-methods/PaymentMethodVerifyRequest.d.ts +6 -0
  670. package/dist/@types/services/payment-methods/PaymentMethodVerifyRequest.d.ts.map +1 -0
  671. package/dist/@types/services/receipts/BankTransactionAssociateRequest.d.ts +6 -0
  672. package/dist/@types/services/receipts/BankTransactionAssociateRequest.d.ts.map +1 -0
  673. package/dist/@types/services/receipts/ListReceiptRequest.d.ts +5 -0
  674. package/dist/@types/services/receipts/ListReceiptRequest.d.ts.map +1 -0
  675. package/dist/@types/services/receipts/ReceipTransactionPaymentDetailCreateRequest.d.ts +24 -0
  676. package/dist/@types/services/receipts/ReceipTransactionPaymentDetailCreateRequest.d.ts.map +1 -0
  677. package/dist/@types/services/receipts/ReceiptBatchUpsertRequest.d.ts +8 -0
  678. package/dist/@types/services/receipts/ReceiptBatchUpsertRequest.d.ts.map +1 -0
  679. package/dist/@types/services/receipts/ReceiptBulkJobCreateRequest.d.ts +6 -0
  680. package/dist/@types/services/receipts/ReceiptBulkJobCreateRequest.d.ts.map +1 -0
  681. package/dist/@types/services/receipts/ReceiptCreateRequest.d.ts +118 -0
  682. package/dist/@types/services/receipts/ReceiptCreateRequest.d.ts.map +1 -0
  683. package/dist/@types/services/receipts/ReceiptListRequest.d.ts +12 -0
  684. package/dist/@types/services/receipts/ReceiptListRequest.d.ts.map +1 -0
  685. package/dist/@types/services/receipts/ReceiptService.d.ts +250 -0
  686. package/dist/@types/services/receipts/ReceiptService.d.ts.map +1 -0
  687. package/dist/@types/services/receipts/ReceiptUpdateRequest.d.ts +73 -0
  688. package/dist/@types/services/receipts/ReceiptUpdateRequest.d.ts.map +1 -0
  689. package/dist/@types/services/receipts/ReceiptUpsertRequest.d.ts +8 -0
  690. package/dist/@types/services/receipts/ReceiptUpsertRequest.d.ts.map +1 -0
  691. package/dist/@types/services/receipts/discounts/ReceiptDiscountCreateRequest.d.ts +6 -0
  692. package/dist/@types/services/receipts/discounts/ReceiptDiscountCreateRequest.d.ts.map +1 -0
  693. package/dist/@types/services/receipts/discounts/ReceiptDiscountUpdateRequest.d.ts +6 -0
  694. package/dist/@types/services/receipts/discounts/ReceiptDiscountUpdateRequest.d.ts.map +1 -0
  695. package/dist/@types/services/receipts/fees/ReceiptFeeCreateRequest.d.ts +11 -0
  696. package/dist/@types/services/receipts/fees/ReceiptFeeCreateRequest.d.ts.map +1 -0
  697. package/dist/@types/services/receipts/fees/ReceiptFeeUpdateRequest.d.ts +5 -0
  698. package/dist/@types/services/receipts/fees/ReceiptFeeUpdateRequest.d.ts.map +1 -0
  699. package/dist/@types/services/receipts/line-items/ReceiptLineItemCreateRequest.d.ts +18 -0
  700. package/dist/@types/services/receipts/line-items/ReceiptLineItemCreateRequest.d.ts.map +1 -0
  701. package/dist/@types/services/receipts/line-items/ReceiptLineItemUpdateRequest.d.ts +13 -0
  702. package/dist/@types/services/receipts/line-items/ReceiptLineItemUpdateRequest.d.ts.map +1 -0
  703. package/dist/@types/services/receipts/metadata/BrowserMetadataCreateRequest.d.ts +29 -0
  704. package/dist/@types/services/receipts/metadata/BrowserMetadataCreateRequest.d.ts.map +1 -0
  705. package/dist/@types/services/receipts/metadata/ReceiptMetadataCreateRequest.d.ts +36 -0
  706. package/dist/@types/services/receipts/metadata/ReceiptMetadataCreateRequest.d.ts.map +1 -0
  707. package/dist/@types/services/receipts/payments/ReceiptPaymentUpdateRequest.d.ts +31 -0
  708. package/dist/@types/services/receipts/payments/ReceiptPaymentUpdateRequest.d.ts.map +1 -0
  709. package/dist/@types/services/receipts/payments/ReceiptTransactionCreateRequest.d.ts +48 -0
  710. package/dist/@types/services/receipts/payments/ReceiptTransactionCreateRequest.d.ts.map +1 -0
  711. package/dist/@types/services/receipts/payments/ReceiptTransactionUpdateRequest.d.ts +20 -0
  712. package/dist/@types/services/receipts/payments/ReceiptTransactionUpdateRequest.d.ts.map +1 -0
  713. package/dist/@types/services/receipts/reviews/ReceiptReviewCreateRequest.d.ts +8 -0
  714. package/dist/@types/services/receipts/reviews/ReceiptReviewCreateRequest.d.ts.map +1 -0
  715. package/dist/@types/services/receipts/reviews/ReceiptReviewUpdateRequest.d.ts +8 -0
  716. package/dist/@types/services/receipts/reviews/ReceiptReviewUpdateRequest.d.ts.map +1 -0
  717. package/dist/@types/services/receipts/taxes/ReceiptTaxCreateRequest.d.ts +7 -0
  718. package/dist/@types/services/receipts/taxes/ReceiptTaxCreateRequest.d.ts.map +1 -0
  719. package/dist/@types/services/receipts/taxes/ReceiptTaxUpdateRequest.d.ts +9 -0
  720. package/dist/@types/services/receipts/taxes/ReceiptTaxUpdateRequest.d.ts.map +1 -0
  721. package/dist/@types/services/settlements/SettlementListRequest.d.ts +9 -0
  722. package/dist/@types/services/settlements/SettlementListRequest.d.ts.map +1 -0
  723. package/dist/@types/services/settlements/SettlementPayRequest.d.ts +6 -0
  724. package/dist/@types/services/settlements/SettlementPayRequest.d.ts.map +1 -0
  725. package/dist/@types/services/settlements/SettlementService.d.ts +25 -0
  726. package/dist/@types/services/settlements/SettlementService.d.ts.map +1 -0
  727. package/dist/@types/services/transactions/ListTransactionRequest.d.ts +10 -0
  728. package/dist/@types/services/transactions/ListTransactionRequest.d.ts.map +1 -0
  729. package/dist/@types/services/transactions/TransactionService.d.ts +20 -0
  730. package/dist/@types/services/transactions/TransactionService.d.ts.map +1 -0
  731. package/dist/@types/services/user/UserService.d.ts +22 -0
  732. package/dist/@types/services/user/UserService.d.ts.map +1 -0
  733. package/dist/@types/services/user/UserUpdateRequest.d.ts +12 -0
  734. package/dist/@types/services/user/UserUpdateRequest.d.ts.map +1 -0
  735. package/dist/@types/services/users/SearchUsersRequest.d.ts +8 -0
  736. package/dist/@types/services/users/SearchUsersRequest.d.ts.map +1 -0
  737. package/dist/@types/services/users/UserService.d.ts +21 -0
  738. package/dist/@types/services/users/UserService.d.ts.map +1 -0
  739. package/dist/@types/services/users/UserUpdateRequest.d.ts +12 -0
  740. package/dist/@types/services/users/UserUpdateRequest.d.ts.map +1 -0
  741. package/dist/@types/services/vendors/VendorConnectRequest.d.ts +17 -0
  742. package/dist/@types/services/vendors/VendorConnectRequest.d.ts.map +1 -0
  743. package/dist/@types/services/vendors/VendorConnectResponse.d.ts +6 -0
  744. package/dist/@types/services/vendors/VendorConnectResponse.d.ts.map +1 -0
  745. package/dist/@types/services/vendors/VendorCreateRequest.d.ts +20 -0
  746. package/dist/@types/services/vendors/VendorCreateRequest.d.ts.map +1 -0
  747. package/dist/@types/services/vendors/VendorListRequest.d.ts +7 -0
  748. package/dist/@types/services/vendors/VendorListRequest.d.ts.map +1 -0
  749. package/dist/@types/services/vendors/VendorService.d.ts +34 -0
  750. package/dist/@types/services/vendors/VendorService.d.ts.map +1 -0
  751. package/dist/@types/services/vendors/VendorUpdateRequest.d.ts +20 -0
  752. package/dist/@types/services/vendors/VendorUpdateRequest.d.ts.map +1 -0
  753. package/dist/@types/utilities/FileFormData.d.ts +8 -0
  754. package/dist/@types/utilities/FileFormData.d.ts.map +1 -0
  755. package/dist/@types/utilities/SBAbortSignal.d.ts +6 -0
  756. package/dist/@types/utilities/SBAbortSignal.d.ts.map +1 -0
  757. package/dist/cjs/_virtual/__polyfill-node.util.cjs +11 -0
  758. package/dist/cjs/_virtual/__polyfill-node.util.cjs.map +1 -0
  759. package/dist/cjs/_virtual/_commonjsHelpers.cjs +37 -0
  760. package/dist/cjs/_virtual/_commonjsHelpers.cjs.map +1 -0
  761. package/dist/cjs/_virtual/_polyfill-node._inherits.cjs +28 -0
  762. package/dist/cjs/_virtual/_polyfill-node._inherits.cjs.map +1 -0
  763. package/dist/cjs/_virtual/_polyfill-node.buffer.cjs +1985 -0
  764. package/dist/cjs/_virtual/_polyfill-node.buffer.cjs.map +1 -0
  765. package/dist/cjs/_virtual/_polyfill-node.global.cjs +10 -0
  766. package/dist/cjs/_virtual/_polyfill-node.global.cjs.map +1 -0
  767. package/dist/cjs/_virtual/_polyfill-node.process.cjs +253 -0
  768. package/dist/cjs/_virtual/_polyfill-node.process.cjs.map +1 -0
  769. package/dist/cjs/_virtual/_polyfill-node.util.cjs +710 -0
  770. package/dist/cjs/_virtual/_polyfill-node.util.cjs.map +1 -0
  771. package/dist/cjs/_virtual/index.cjs +6 -0
  772. package/dist/cjs/_virtual/index.cjs.map +1 -0
  773. package/dist/cjs/client/SBClient.cjs +261 -0
  774. package/dist/cjs/client/SBClient.cjs.map +1 -0
  775. package/dist/cjs/client/SBCredentials.cjs +60 -0
  776. package/dist/cjs/client/SBCredentials.cjs.map +1 -0
  777. package/dist/cjs/client/SBEnvironment.cjs +15 -0
  778. package/dist/cjs/client/SBEnvironment.cjs.map +1 -0
  779. package/dist/cjs/client/SBException.cjs +38 -0
  780. package/dist/cjs/client/SBException.cjs.map +1 -0
  781. package/dist/cjs/client/SBInstance.cjs +59 -0
  782. package/dist/cjs/client/SBInstance.cjs.map +1 -0
  783. package/dist/cjs/client/SBLogger.cjs +16 -0
  784. package/dist/cjs/client/SBLogger.cjs.map +1 -0
  785. package/dist/cjs/client/SBPermission.cjs +50 -0
  786. package/dist/cjs/client/SBPermission.cjs.map +1 -0
  787. package/dist/cjs/client/SBServiceOptions.cjs +22 -0
  788. package/dist/cjs/client/SBServiceOptions.cjs.map +1 -0
  789. package/dist/cjs/client/constants.cjs +8 -0
  790. package/dist/cjs/client/constants.cjs.map +1 -0
  791. package/dist/cjs/constants/login/LoginError.cjs +9 -0
  792. package/dist/cjs/constants/login/LoginError.cjs.map +1 -0
  793. package/dist/cjs/entities/account/SBGenderEnum.cjs +9 -0
  794. package/dist/cjs/entities/account/SBGenderEnum.cjs.map +1 -0
  795. package/dist/cjs/entities/banks/SBBankState.cjs +10 -0
  796. package/dist/cjs/entities/banks/SBBankState.cjs.map +1 -0
  797. package/dist/cjs/entities/barcode/SBBarcodeType.cjs +28 -0
  798. package/dist/cjs/entities/barcode/SBBarcodeType.cjs.map +1 -0
  799. package/dist/cjs/entities/businesses/fees/SBFeeType.cjs +8 -0
  800. package/dist/cjs/entities/businesses/fees/SBFeeType.cjs.map +1 -0
  801. package/dist/cjs/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.cjs +10 -0
  802. package/dist/cjs/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.cjs.map +1 -0
  803. package/dist/cjs/entities/businesses/team/members/SBTeamMemberRole.cjs +11 -0
  804. package/dist/cjs/entities/businesses/team/members/SBTeamMemberRole.cjs.map +1 -0
  805. package/dist/cjs/entities/businesses/team/members/SBTeamMemberStatus.cjs +11 -0
  806. package/dist/cjs/entities/businesses/team/members/SBTeamMemberStatus.cjs.map +1 -0
  807. package/dist/cjs/entities/cards/SBCardType.cjs +10 -0
  808. package/dist/cjs/entities/cards/SBCardType.cjs.map +1 -0
  809. package/dist/cjs/entities/payment-methods/SBPaymentMethod.cjs +8 -0
  810. package/dist/cjs/entities/payment-methods/SBPaymentMethod.cjs.map +1 -0
  811. package/dist/cjs/entities/payment-methods/SBPaymentMethodFingerprintProvider.cjs +8 -0
  812. package/dist/cjs/entities/payment-methods/SBPaymentMethodFingerprintProvider.cjs.map +1 -0
  813. package/dist/cjs/entities/receipts/SBReceiptSource.cjs +11 -0
  814. package/dist/cjs/entities/receipts/SBReceiptSource.cjs.map +1 -0
  815. package/dist/cjs/entities/receipts/SBReceiptType.cjs +10 -0
  816. package/dist/cjs/entities/receipts/SBReceiptType.cjs.map +1 -0
  817. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardAvsResult.cjs +16 -0
  818. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardAvsResult.cjs.map +1 -0
  819. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardCvvResult.cjs +9 -0
  820. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardCvvResult.cjs.map +1 -0
  821. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.cjs +11 -0
  822. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.cjs.map +1 -0
  823. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentExternalType.cjs +18 -0
  824. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentExternalType.cjs.map +1 -0
  825. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentRiskLevel.cjs +9 -0
  826. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentRiskLevel.cjs.map +1 -0
  827. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentStatus.cjs +11 -0
  828. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentStatus.cjs.map +1 -0
  829. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentType.cjs +12 -0
  830. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentType.cjs.map +1 -0
  831. package/dist/cjs/entities/transactions/SBTransactionType.cjs +10 -0
  832. package/dist/cjs/entities/transactions/SBTransactionType.cjs.map +1 -0
  833. package/dist/cjs/index.cjs +224 -0
  834. package/dist/cjs/index.cjs.map +1 -0
  835. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +17 -0
  836. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs.map +1 -0
  837. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +19 -0
  838. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.map +1 -0
  839. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +14 -0
  840. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs.map +1 -0
  841. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/typeof.cjs +16 -0
  842. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/typeof.cjs.map +1 -0
  843. package/dist/cjs/node_modules/call-bind/index.cjs +31 -0
  844. package/dist/cjs/node_modules/call-bind/index.cjs.map +1 -0
  845. package/dist/cjs/node_modules/call-bind-apply-helpers/actualApply.cjs +17 -0
  846. package/dist/cjs/node_modules/call-bind-apply-helpers/actualApply.cjs.map +1 -0
  847. package/dist/cjs/node_modules/call-bind-apply-helpers/applyBind.cjs +17 -0
  848. package/dist/cjs/node_modules/call-bind-apply-helpers/applyBind.cjs.map +1 -0
  849. package/dist/cjs/node_modules/call-bind-apply-helpers/functionApply.cjs +15 -0
  850. package/dist/cjs/node_modules/call-bind-apply-helpers/functionApply.cjs.map +1 -0
  851. package/dist/cjs/node_modules/call-bind-apply-helpers/functionCall.cjs +15 -0
  852. package/dist/cjs/node_modules/call-bind-apply-helpers/functionCall.cjs.map +1 -0
  853. package/dist/cjs/node_modules/call-bind-apply-helpers/index.cjs +22 -0
  854. package/dist/cjs/node_modules/call-bind-apply-helpers/index.cjs.map +1 -0
  855. package/dist/cjs/node_modules/call-bind-apply-helpers/reflectApply.cjs +7 -0
  856. package/dist/cjs/node_modules/call-bind-apply-helpers/reflectApply.cjs.map +1 -0
  857. package/dist/cjs/node_modules/call-bound/index.cjs +23 -0
  858. package/dist/cjs/node_modules/call-bound/index.cjs.map +1 -0
  859. package/dist/cjs/node_modules/define-data-property/index.cjs +56 -0
  860. package/dist/cjs/node_modules/define-data-property/index.cjs.map +1 -0
  861. package/dist/cjs/node_modules/dunder-proto/get.cjs +31 -0
  862. package/dist/cjs/node_modules/dunder-proto/get.cjs.map +1 -0
  863. package/dist/cjs/node_modules/es-define-property/index.cjs +18 -0
  864. package/dist/cjs/node_modules/es-define-property/index.cjs.map +1 -0
  865. package/dist/cjs/node_modules/es-errors/eval.cjs +7 -0
  866. package/dist/cjs/node_modules/es-errors/eval.cjs.map +1 -0
  867. package/dist/cjs/node_modules/es-errors/index.cjs +7 -0
  868. package/dist/cjs/node_modules/es-errors/index.cjs.map +1 -0
  869. package/dist/cjs/node_modules/es-errors/range.cjs +7 -0
  870. package/dist/cjs/node_modules/es-errors/range.cjs.map +1 -0
  871. package/dist/cjs/node_modules/es-errors/ref.cjs +7 -0
  872. package/dist/cjs/node_modules/es-errors/ref.cjs.map +1 -0
  873. package/dist/cjs/node_modules/es-errors/syntax.cjs +7 -0
  874. package/dist/cjs/node_modules/es-errors/syntax.cjs.map +1 -0
  875. package/dist/cjs/node_modules/es-errors/type.cjs +7 -0
  876. package/dist/cjs/node_modules/es-errors/type.cjs.map +1 -0
  877. package/dist/cjs/node_modules/es-errors/uri.cjs +7 -0
  878. package/dist/cjs/node_modules/es-errors/uri.cjs.map +1 -0
  879. package/dist/cjs/node_modules/function-bind/implementation.cjs +77 -0
  880. package/dist/cjs/node_modules/function-bind/implementation.cjs.map +1 -0
  881. package/dist/cjs/node_modules/function-bind/index.cjs +16 -0
  882. package/dist/cjs/node_modules/function-bind/index.cjs.map +1 -0
  883. package/dist/cjs/node_modules/get-intrinsic/index.cjs +341 -0
  884. package/dist/cjs/node_modules/get-intrinsic/index.cjs.map +1 -0
  885. package/dist/cjs/node_modules/gopd/gOPD.cjs +7 -0
  886. package/dist/cjs/node_modules/gopd/gOPD.cjs.map +1 -0
  887. package/dist/cjs/node_modules/gopd/index.cjs +18 -0
  888. package/dist/cjs/node_modules/gopd/index.cjs.map +1 -0
  889. package/dist/cjs/node_modules/has-property-descriptors/index.cjs +26 -0
  890. package/dist/cjs/node_modules/has-property-descriptors/index.cjs.map +1 -0
  891. package/dist/cjs/node_modules/has-symbols/index.cjs +33 -0
  892. package/dist/cjs/node_modules/has-symbols/index.cjs.map +1 -0
  893. package/dist/cjs/node_modules/has-symbols/shams.cjs +72 -0
  894. package/dist/cjs/node_modules/has-symbols/shams.cjs.map +1 -0
  895. package/dist/cjs/node_modules/hasown/index.cjs +20 -0
  896. package/dist/cjs/node_modules/hasown/index.cjs.map +1 -0
  897. package/dist/cjs/node_modules/object-inspect/index.cjs +535 -0
  898. package/dist/cjs/node_modules/object-inspect/index.cjs.map +1 -0
  899. package/dist/cjs/node_modules/object-inspect/util.inspect.cjs +8 -0
  900. package/dist/cjs/node_modules/object-inspect/util.inspect.cjs.map +1 -0
  901. package/dist/cjs/node_modules/qs/lib/formats.cjs +24 -0
  902. package/dist/cjs/node_modules/qs/lib/formats.cjs.map +1 -0
  903. package/dist/cjs/node_modules/qs/lib/index.cjs +21 -0
  904. package/dist/cjs/node_modules/qs/lib/index.cjs.map +1 -0
  905. package/dist/cjs/node_modules/qs/lib/parse.cjs +265 -0
  906. package/dist/cjs/node_modules/qs/lib/parse.cjs.map +1 -0
  907. package/dist/cjs/node_modules/qs/lib/stringify.cjs +253 -0
  908. package/dist/cjs/node_modules/qs/lib/stringify.cjs.map +1 -0
  909. package/dist/cjs/node_modules/qs/lib/utils.cjs +231 -0
  910. package/dist/cjs/node_modules/qs/lib/utils.cjs.map +1 -0
  911. package/dist/cjs/node_modules/set-function-length/index.cjs +47 -0
  912. package/dist/cjs/node_modules/set-function-length/index.cjs.map +1 -0
  913. package/dist/cjs/node_modules/side-channel/index.cjs +50 -0
  914. package/dist/cjs/node_modules/side-channel/index.cjs.map +1 -0
  915. package/dist/cjs/node_modules/side-channel-list/index.cjs +119 -0
  916. package/dist/cjs/node_modules/side-channel-list/index.cjs.map +1 -0
  917. package/dist/cjs/node_modules/side-channel-map/index.cjs +76 -0
  918. package/dist/cjs/node_modules/side-channel-map/index.cjs.map +1 -0
  919. package/dist/cjs/node_modules/side-channel-weakmap/index.cjs +92 -0
  920. package/dist/cjs/node_modules/side-channel-weakmap/index.cjs.map +1 -0
  921. package/dist/cjs/packages/sdk/package.json.cjs +6 -0
  922. package/dist/cjs/packages/sdk/package.json.cjs.map +1 -0
  923. package/dist/cjs/services/SBService.cjs +161 -0
  924. package/dist/cjs/services/SBService.cjs.map +1 -0
  925. package/dist/cjs/services/api-logs/LogService.cjs +19 -0
  926. package/dist/cjs/services/api-logs/LogService.cjs.map +1 -0
  927. package/dist/cjs/services/attachments/AttachmentService.cjs +86 -0
  928. package/dist/cjs/services/attachments/AttachmentService.cjs.map +1 -0
  929. package/dist/cjs/services/banks/BankService.cjs +183 -0
  930. package/dist/cjs/services/banks/BankService.cjs.map +1 -0
  931. package/dist/cjs/services/banks/accounts/BankAccountService.cjs +25 -0
  932. package/dist/cjs/services/banks/accounts/BankAccountService.cjs.map +1 -0
  933. package/dist/cjs/services/banks/institutions/BankInstitutionService.cjs +19 -0
  934. package/dist/cjs/services/banks/institutions/BankInstitutionService.cjs.map +1 -0
  935. package/dist/cjs/services/banks/transactions/BankTransactionService.cjs +28 -0
  936. package/dist/cjs/services/banks/transactions/BankTransactionService.cjs.map +1 -0
  937. package/dist/cjs/services/billing/subscriptions/SubscriptionService.cjs +129 -0
  938. package/dist/cjs/services/billing/subscriptions/SubscriptionService.cjs.map +1 -0
  939. package/dist/cjs/services/businesses/BusinessService.cjs +98 -0
  940. package/dist/cjs/services/businesses/BusinessService.cjs.map +1 -0
  941. package/dist/cjs/services/businesses/brands/BrandService.cjs +33 -0
  942. package/dist/cjs/services/businesses/brands/BrandService.cjs.map +1 -0
  943. package/dist/cjs/services/businesses/customers/CustomerService.cjs +94 -0
  944. package/dist/cjs/services/businesses/customers/CustomerService.cjs.map +1 -0
  945. package/dist/cjs/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.cjs +82 -0
  946. package/dist/cjs/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.cjs.map +1 -0
  947. package/dist/cjs/services/businesses/customers/payment-methods/CustomerPaymentMethodService.cjs +82 -0
  948. package/dist/cjs/services/businesses/customers/payment-methods/CustomerPaymentMethodService.cjs.map +1 -0
  949. package/dist/cjs/services/businesses/departments/DepartmentService.cjs +159 -0
  950. package/dist/cjs/services/businesses/departments/DepartmentService.cjs.map +1 -0
  951. package/dist/cjs/services/businesses/departments/Employees/DepartmentEmployeeService.cjs +81 -0
  952. package/dist/cjs/services/businesses/departments/Employees/DepartmentEmployeeService.cjs.map +1 -0
  953. package/dist/cjs/services/businesses/domains/DomainService.cjs +21 -0
  954. package/dist/cjs/services/businesses/domains/DomainService.cjs.map +1 -0
  955. package/dist/cjs/services/businesses/fees/FeeService.cjs +93 -0
  956. package/dist/cjs/services/businesses/fees/FeeService.cjs.map +1 -0
  957. package/dist/cjs/services/businesses/locations/LocationService.cjs +139 -0
  958. package/dist/cjs/services/businesses/locations/LocationService.cjs.map +1 -0
  959. package/dist/cjs/services/businesses/prices/PriceService.cjs +24 -0
  960. package/dist/cjs/services/businesses/prices/PriceService.cjs.map +1 -0
  961. package/dist/cjs/services/businesses/products/ProductService.cjs +123 -0
  962. package/dist/cjs/services/businesses/products/ProductService.cjs.map +1 -0
  963. package/dist/cjs/services/businesses/products/images/ProductImageService.cjs +99 -0
  964. package/dist/cjs/services/businesses/products/images/ProductImageService.cjs.map +1 -0
  965. package/dist/cjs/services/businesses/products/modifiers/ProductModifierService.cjs +94 -0
  966. package/dist/cjs/services/businesses/products/modifiers/ProductModifierService.cjs.map +1 -0
  967. package/dist/cjs/services/businesses/products/options/ProductOptionService.cjs +94 -0
  968. package/dist/cjs/services/businesses/products/options/ProductOptionService.cjs.map +1 -0
  969. package/dist/cjs/services/businesses/products/variants/ProductVariantService.cjs +83 -0
  970. package/dist/cjs/services/businesses/products/variants/ProductVariantService.cjs.map +1 -0
  971. package/dist/cjs/services/businesses/promo-codes/PromoCodeService.cjs +94 -0
  972. package/dist/cjs/services/businesses/promo-codes/PromoCodeService.cjs.map +1 -0
  973. package/dist/cjs/services/businesses/reviews/BusinessReviewService.cjs +32 -0
  974. package/dist/cjs/services/businesses/reviews/BusinessReviewService.cjs.map +1 -0
  975. package/dist/cjs/services/businesses/tables/TableService.cjs +29 -0
  976. package/dist/cjs/services/businesses/tables/TableService.cjs.map +1 -0
  977. package/dist/cjs/services/businesses/taxes/TaxService.cjs +89 -0
  978. package/dist/cjs/services/businesses/taxes/TaxService.cjs.map +1 -0
  979. package/dist/cjs/services/businesses/team/invitations/TeamMemberInvitationService.cjs +34 -0
  980. package/dist/cjs/services/businesses/team/invitations/TeamMemberInvitationService.cjs.map +1 -0
  981. package/dist/cjs/services/businesses/team/members/TeamMemberService.cjs +26 -0
  982. package/dist/cjs/services/businesses/team/members/TeamMemberService.cjs.map +1 -0
  983. package/dist/cjs/services/businesses/vendors/VendorService.cjs +91 -0
  984. package/dist/cjs/services/businesses/vendors/VendorService.cjs.map +1 -0
  985. package/dist/cjs/services/cards/CardService.cjs +40 -0
  986. package/dist/cjs/services/cards/CardService.cjs.map +1 -0
  987. package/dist/cjs/services/documents/DocumentService.cjs +40 -0
  988. package/dist/cjs/services/documents/DocumentService.cjs.map +1 -0
  989. package/dist/cjs/services/expenses/ExpenseService.cjs +68 -0
  990. package/dist/cjs/services/expenses/ExpenseService.cjs.map +1 -0
  991. package/dist/cjs/services/explore/ExploreService.cjs +16 -0
  992. package/dist/cjs/services/explore/ExploreService.cjs.map +1 -0
  993. package/dist/cjs/services/friends/FriendService.cjs +28 -0
  994. package/dist/cjs/services/friends/FriendService.cjs.map +1 -0
  995. package/dist/cjs/services/integrations/IntegrationService.cjs +27 -0
  996. package/dist/cjs/services/integrations/IntegrationService.cjs.map +1 -0
  997. package/dist/cjs/services/invoices/InvoiceService.cjs +271 -0
  998. package/dist/cjs/services/invoices/InvoiceService.cjs.map +1 -0
  999. package/dist/cjs/services/loyalty/LoyaltyProgramService.cjs +197 -0
  1000. package/dist/cjs/services/loyalty/LoyaltyProgramService.cjs.map +1 -0
  1001. package/dist/cjs/services/notifications/NotificationService.cjs +75 -0
  1002. package/dist/cjs/services/notifications/NotificationService.cjs.map +1 -0
  1003. package/dist/cjs/services/oauth/AccessTokenResponse.cjs +16 -0
  1004. package/dist/cjs/services/oauth/AccessTokenResponse.cjs.map +1 -0
  1005. package/dist/cjs/services/oauth/AuthorizationCodeResponse.cjs +25 -0
  1006. package/dist/cjs/services/oauth/AuthorizationCodeResponse.cjs.map +1 -0
  1007. package/dist/cjs/services/oauth/OAuthService.cjs +44 -0
  1008. package/dist/cjs/services/oauth/OAuthService.cjs.map +1 -0
  1009. package/dist/cjs/services/payment-methods/PaymentMethodService.cjs +40 -0
  1010. package/dist/cjs/services/payment-methods/PaymentMethodService.cjs.map +1 -0
  1011. package/dist/cjs/services/receipts/ReceiptService.cjs +294 -0
  1012. package/dist/cjs/services/receipts/ReceiptService.cjs.map +1 -0
  1013. package/dist/cjs/services/settlements/SettlementService.cjs +29 -0
  1014. package/dist/cjs/services/settlements/SettlementService.cjs.map +1 -0
  1015. package/dist/cjs/services/transactions/TransactionService.cjs +20 -0
  1016. package/dist/cjs/services/transactions/TransactionService.cjs.map +1 -0
  1017. package/dist/cjs/services/user/UserService.cjs +42 -0
  1018. package/dist/cjs/services/user/UserService.cjs.map +1 -0
  1019. package/dist/cjs/services/users/UserService.cjs +34 -0
  1020. package/dist/cjs/services/users/UserService.cjs.map +1 -0
  1021. package/dist/cjs/services/vendors/VendorService.cjs +46 -0
  1022. package/dist/cjs/services/vendors/VendorService.cjs.map +1 -0
  1023. package/dist/esm/_virtual/__polyfill-node.util.mjs +7 -0
  1024. package/dist/esm/_virtual/__polyfill-node.util.mjs.map +1 -0
  1025. package/dist/esm/_virtual/_commonjsHelpers.mjs +33 -0
  1026. package/dist/esm/_virtual/_commonjsHelpers.mjs.map +1 -0
  1027. package/dist/esm/_virtual/_polyfill-node._inherits.mjs +26 -0
  1028. package/dist/esm/_virtual/_polyfill-node._inherits.mjs.map +1 -0
  1029. package/dist/esm/_virtual/_polyfill-node.buffer.mjs +1981 -0
  1030. package/dist/esm/_virtual/_polyfill-node.buffer.mjs.map +1 -0
  1031. package/dist/esm/_virtual/_polyfill-node.global.mjs +6 -0
  1032. package/dist/esm/_virtual/_polyfill-node.global.mjs.map +1 -0
  1033. package/dist/esm/_virtual/_polyfill-node.process.mjs +226 -0
  1034. package/dist/esm/_virtual/_polyfill-node.process.mjs.map +1 -0
  1035. package/dist/esm/_virtual/_polyfill-node.util.mjs +679 -0
  1036. package/dist/esm/_virtual/_polyfill-node.util.mjs.map +1 -0
  1037. package/dist/esm/_virtual/index.mjs +4 -0
  1038. package/dist/esm/_virtual/index.mjs.map +1 -0
  1039. package/dist/esm/client/SBClient.mjs +259 -0
  1040. package/dist/esm/client/SBClient.mjs.map +1 -0
  1041. package/dist/esm/client/SBCredentials.mjs +57 -0
  1042. package/dist/esm/client/SBCredentials.mjs.map +1 -0
  1043. package/dist/esm/client/SBEnvironment.mjs +13 -0
  1044. package/dist/esm/client/SBEnvironment.mjs.map +1 -0
  1045. package/dist/esm/client/SBException.mjs +35 -0
  1046. package/dist/esm/client/SBException.mjs.map +1 -0
  1047. package/dist/esm/client/SBInstance.mjs +57 -0
  1048. package/dist/esm/client/SBInstance.mjs.map +1 -0
  1049. package/dist/esm/client/SBLogger.mjs +14 -0
  1050. package/dist/esm/client/SBLogger.mjs.map +1 -0
  1051. package/dist/esm/client/SBPermission.mjs +50 -0
  1052. package/dist/esm/client/SBPermission.mjs.map +1 -0
  1053. package/dist/esm/client/SBServiceOptions.mjs +19 -0
  1054. package/dist/esm/client/SBServiceOptions.mjs.map +1 -0
  1055. package/dist/esm/client/constants.mjs +5 -0
  1056. package/dist/esm/client/constants.mjs.map +1 -0
  1057. package/dist/esm/constants/login/LoginError.mjs +9 -0
  1058. package/dist/esm/constants/login/LoginError.mjs.map +1 -0
  1059. package/dist/esm/entities/account/SBGenderEnum.mjs +9 -0
  1060. package/dist/esm/entities/account/SBGenderEnum.mjs.map +1 -0
  1061. package/dist/esm/entities/banks/SBBankState.mjs +10 -0
  1062. package/dist/esm/entities/banks/SBBankState.mjs.map +1 -0
  1063. package/dist/esm/entities/barcode/SBBarcodeType.mjs +28 -0
  1064. package/dist/esm/entities/barcode/SBBarcodeType.mjs.map +1 -0
  1065. package/dist/esm/entities/businesses/fees/SBFeeType.mjs +8 -0
  1066. package/dist/esm/entities/businesses/fees/SBFeeType.mjs.map +1 -0
  1067. package/dist/esm/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.mjs +10 -0
  1068. package/dist/esm/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.mjs.map +1 -0
  1069. package/dist/esm/entities/businesses/team/members/SBTeamMemberRole.mjs +11 -0
  1070. package/dist/esm/entities/businesses/team/members/SBTeamMemberRole.mjs.map +1 -0
  1071. package/dist/esm/entities/businesses/team/members/SBTeamMemberStatus.mjs +11 -0
  1072. package/dist/esm/entities/businesses/team/members/SBTeamMemberStatus.mjs.map +1 -0
  1073. package/dist/esm/entities/cards/SBCardType.mjs +10 -0
  1074. package/dist/esm/entities/cards/SBCardType.mjs.map +1 -0
  1075. package/dist/esm/entities/payment-methods/SBPaymentMethod.mjs +8 -0
  1076. package/dist/esm/entities/payment-methods/SBPaymentMethod.mjs.map +1 -0
  1077. package/dist/esm/entities/payment-methods/SBPaymentMethodFingerprintProvider.mjs +8 -0
  1078. package/dist/esm/entities/payment-methods/SBPaymentMethodFingerprintProvider.mjs.map +1 -0
  1079. package/dist/esm/entities/receipts/SBReceiptSource.mjs +11 -0
  1080. package/dist/esm/entities/receipts/SBReceiptSource.mjs.map +1 -0
  1081. package/dist/esm/entities/receipts/SBReceiptType.mjs +8 -0
  1082. package/dist/esm/entities/receipts/SBReceiptType.mjs.map +1 -0
  1083. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardAvsResult.mjs +16 -0
  1084. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardAvsResult.mjs.map +1 -0
  1085. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardCvvResult.mjs +9 -0
  1086. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardCvvResult.mjs.map +1 -0
  1087. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.mjs +11 -0
  1088. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.mjs.map +1 -0
  1089. package/dist/esm/entities/receipts/payments/SBReceiptPaymentExternalType.mjs +18 -0
  1090. package/dist/esm/entities/receipts/payments/SBReceiptPaymentExternalType.mjs.map +1 -0
  1091. package/dist/esm/entities/receipts/payments/SBReceiptPaymentRiskLevel.mjs +9 -0
  1092. package/dist/esm/entities/receipts/payments/SBReceiptPaymentRiskLevel.mjs.map +1 -0
  1093. package/dist/esm/entities/receipts/payments/SBReceiptPaymentStatus.mjs +11 -0
  1094. package/dist/esm/entities/receipts/payments/SBReceiptPaymentStatus.mjs.map +1 -0
  1095. package/dist/esm/entities/receipts/payments/SBReceiptPaymentType.mjs +12 -0
  1096. package/dist/esm/entities/receipts/payments/SBReceiptPaymentType.mjs.map +1 -0
  1097. package/dist/esm/entities/transactions/SBTransactionType.mjs +10 -0
  1098. package/dist/esm/entities/transactions/SBTransactionType.mjs.map +1 -0
  1099. package/dist/esm/index.mjs +77 -0
  1100. package/dist/esm/index.mjs.map +1 -0
  1101. package/dist/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +13 -0
  1102. package/dist/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs.map +1 -0
  1103. package/dist/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +15 -0
  1104. package/dist/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs.map +1 -0
  1105. package/dist/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +10 -0
  1106. package/dist/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs.map +1 -0
  1107. package/dist/esm/node_modules/@babel/runtime/helpers/esm/typeof.mjs +12 -0
  1108. package/dist/esm/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
  1109. package/dist/esm/node_modules/call-bind/index.mjs +29 -0
  1110. package/dist/esm/node_modules/call-bind/index.mjs.map +1 -0
  1111. package/dist/esm/node_modules/call-bind-apply-helpers/actualApply.mjs +15 -0
  1112. package/dist/esm/node_modules/call-bind-apply-helpers/actualApply.mjs.map +1 -0
  1113. package/dist/esm/node_modules/call-bind-apply-helpers/applyBind.mjs +15 -0
  1114. package/dist/esm/node_modules/call-bind-apply-helpers/applyBind.mjs.map +1 -0
  1115. package/dist/esm/node_modules/call-bind-apply-helpers/functionApply.mjs +13 -0
  1116. package/dist/esm/node_modules/call-bind-apply-helpers/functionApply.mjs.map +1 -0
  1117. package/dist/esm/node_modules/call-bind-apply-helpers/functionCall.mjs +13 -0
  1118. package/dist/esm/node_modules/call-bind-apply-helpers/functionCall.mjs.map +1 -0
  1119. package/dist/esm/node_modules/call-bind-apply-helpers/index.mjs +20 -0
  1120. package/dist/esm/node_modules/call-bind-apply-helpers/index.mjs.map +1 -0
  1121. package/dist/esm/node_modules/call-bind-apply-helpers/reflectApply.mjs +5 -0
  1122. package/dist/esm/node_modules/call-bind-apply-helpers/reflectApply.mjs.map +1 -0
  1123. package/dist/esm/node_modules/call-bound/index.mjs +21 -0
  1124. package/dist/esm/node_modules/call-bound/index.mjs.map +1 -0
  1125. package/dist/esm/node_modules/define-data-property/index.mjs +54 -0
  1126. package/dist/esm/node_modules/define-data-property/index.mjs.map +1 -0
  1127. package/dist/esm/node_modules/dunder-proto/get.mjs +29 -0
  1128. package/dist/esm/node_modules/dunder-proto/get.mjs.map +1 -0
  1129. package/dist/esm/node_modules/es-define-property/index.mjs +16 -0
  1130. package/dist/esm/node_modules/es-define-property/index.mjs.map +1 -0
  1131. package/dist/esm/node_modules/es-errors/eval.mjs +5 -0
  1132. package/dist/esm/node_modules/es-errors/eval.mjs.map +1 -0
  1133. package/dist/esm/node_modules/es-errors/index.mjs +5 -0
  1134. package/dist/esm/node_modules/es-errors/index.mjs.map +1 -0
  1135. package/dist/esm/node_modules/es-errors/range.mjs +5 -0
  1136. package/dist/esm/node_modules/es-errors/range.mjs.map +1 -0
  1137. package/dist/esm/node_modules/es-errors/ref.mjs +5 -0
  1138. package/dist/esm/node_modules/es-errors/ref.mjs.map +1 -0
  1139. package/dist/esm/node_modules/es-errors/syntax.mjs +5 -0
  1140. package/dist/esm/node_modules/es-errors/syntax.mjs.map +1 -0
  1141. package/dist/esm/node_modules/es-errors/type.mjs +5 -0
  1142. package/dist/esm/node_modules/es-errors/type.mjs.map +1 -0
  1143. package/dist/esm/node_modules/es-errors/uri.mjs +5 -0
  1144. package/dist/esm/node_modules/es-errors/uri.mjs.map +1 -0
  1145. package/dist/esm/node_modules/function-bind/implementation.mjs +75 -0
  1146. package/dist/esm/node_modules/function-bind/implementation.mjs.map +1 -0
  1147. package/dist/esm/node_modules/function-bind/index.mjs +14 -0
  1148. package/dist/esm/node_modules/function-bind/index.mjs.map +1 -0
  1149. package/dist/esm/node_modules/get-intrinsic/index.mjs +339 -0
  1150. package/dist/esm/node_modules/get-intrinsic/index.mjs.map +1 -0
  1151. package/dist/esm/node_modules/gopd/gOPD.mjs +5 -0
  1152. package/dist/esm/node_modules/gopd/gOPD.mjs.map +1 -0
  1153. package/dist/esm/node_modules/gopd/index.mjs +16 -0
  1154. package/dist/esm/node_modules/gopd/index.mjs.map +1 -0
  1155. package/dist/esm/node_modules/has-property-descriptors/index.mjs +24 -0
  1156. package/dist/esm/node_modules/has-property-descriptors/index.mjs.map +1 -0
  1157. package/dist/esm/node_modules/has-symbols/index.mjs +31 -0
  1158. package/dist/esm/node_modules/has-symbols/index.mjs.map +1 -0
  1159. package/dist/esm/node_modules/has-symbols/shams.mjs +70 -0
  1160. package/dist/esm/node_modules/has-symbols/shams.mjs.map +1 -0
  1161. package/dist/esm/node_modules/hasown/index.mjs +18 -0
  1162. package/dist/esm/node_modules/hasown/index.mjs.map +1 -0
  1163. package/dist/esm/node_modules/object-inspect/index.mjs +533 -0
  1164. package/dist/esm/node_modules/object-inspect/index.mjs.map +1 -0
  1165. package/dist/esm/node_modules/object-inspect/util.inspect.mjs +6 -0
  1166. package/dist/esm/node_modules/object-inspect/util.inspect.mjs.map +1 -0
  1167. package/dist/esm/node_modules/qs/lib/formats.mjs +22 -0
  1168. package/dist/esm/node_modules/qs/lib/formats.mjs.map +1 -0
  1169. package/dist/esm/node_modules/qs/lib/index.mjs +17 -0
  1170. package/dist/esm/node_modules/qs/lib/index.mjs.map +1 -0
  1171. package/dist/esm/node_modules/qs/lib/parse.mjs +263 -0
  1172. package/dist/esm/node_modules/qs/lib/parse.mjs.map +1 -0
  1173. package/dist/esm/node_modules/qs/lib/stringify.mjs +251 -0
  1174. package/dist/esm/node_modules/qs/lib/stringify.mjs.map +1 -0
  1175. package/dist/esm/node_modules/qs/lib/utils.mjs +229 -0
  1176. package/dist/esm/node_modules/qs/lib/utils.mjs.map +1 -0
  1177. package/dist/esm/node_modules/set-function-length/index.mjs +45 -0
  1178. package/dist/esm/node_modules/set-function-length/index.mjs.map +1 -0
  1179. package/dist/esm/node_modules/side-channel/index.mjs +48 -0
  1180. package/dist/esm/node_modules/side-channel/index.mjs.map +1 -0
  1181. package/dist/esm/node_modules/side-channel-list/index.mjs +117 -0
  1182. package/dist/esm/node_modules/side-channel-list/index.mjs.map +1 -0
  1183. package/dist/esm/node_modules/side-channel-map/index.mjs +74 -0
  1184. package/dist/esm/node_modules/side-channel-map/index.mjs.map +1 -0
  1185. package/dist/esm/node_modules/side-channel-weakmap/index.mjs +90 -0
  1186. package/dist/esm/node_modules/side-channel-weakmap/index.mjs.map +1 -0
  1187. package/dist/esm/packages/sdk/package.json.mjs +4 -0
  1188. package/dist/esm/packages/sdk/package.json.mjs.map +1 -0
  1189. package/dist/esm/services/SBService.mjs +159 -0
  1190. package/dist/esm/services/SBService.mjs.map +1 -0
  1191. package/dist/esm/services/api-logs/LogService.mjs +17 -0
  1192. package/dist/esm/services/api-logs/LogService.mjs.map +1 -0
  1193. package/dist/esm/services/attachments/AttachmentService.mjs +84 -0
  1194. package/dist/esm/services/attachments/AttachmentService.mjs.map +1 -0
  1195. package/dist/esm/services/banks/BankService.mjs +181 -0
  1196. package/dist/esm/services/banks/BankService.mjs.map +1 -0
  1197. package/dist/esm/services/banks/accounts/BankAccountService.mjs +23 -0
  1198. package/dist/esm/services/banks/accounts/BankAccountService.mjs.map +1 -0
  1199. package/dist/esm/services/banks/institutions/BankInstitutionService.mjs +17 -0
  1200. package/dist/esm/services/banks/institutions/BankInstitutionService.mjs.map +1 -0
  1201. package/dist/esm/services/banks/transactions/BankTransactionService.mjs +26 -0
  1202. package/dist/esm/services/banks/transactions/BankTransactionService.mjs.map +1 -0
  1203. package/dist/esm/services/billing/subscriptions/SubscriptionService.mjs +127 -0
  1204. package/dist/esm/services/billing/subscriptions/SubscriptionService.mjs.map +1 -0
  1205. package/dist/esm/services/businesses/BusinessService.mjs +96 -0
  1206. package/dist/esm/services/businesses/BusinessService.mjs.map +1 -0
  1207. package/dist/esm/services/businesses/brands/BrandService.mjs +31 -0
  1208. package/dist/esm/services/businesses/brands/BrandService.mjs.map +1 -0
  1209. package/dist/esm/services/businesses/customers/CustomerService.mjs +92 -0
  1210. package/dist/esm/services/businesses/customers/CustomerService.mjs.map +1 -0
  1211. package/dist/esm/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.mjs +80 -0
  1212. package/dist/esm/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.mjs.map +1 -0
  1213. package/dist/esm/services/businesses/customers/payment-methods/CustomerPaymentMethodService.mjs +80 -0
  1214. package/dist/esm/services/businesses/customers/payment-methods/CustomerPaymentMethodService.mjs.map +1 -0
  1215. package/dist/esm/services/businesses/departments/DepartmentService.mjs +157 -0
  1216. package/dist/esm/services/businesses/departments/DepartmentService.mjs.map +1 -0
  1217. package/dist/esm/services/businesses/departments/Employees/DepartmentEmployeeService.mjs +79 -0
  1218. package/dist/esm/services/businesses/departments/Employees/DepartmentEmployeeService.mjs.map +1 -0
  1219. package/dist/esm/services/businesses/domains/DomainService.mjs +19 -0
  1220. package/dist/esm/services/businesses/domains/DomainService.mjs.map +1 -0
  1221. package/dist/esm/services/businesses/fees/FeeService.mjs +91 -0
  1222. package/dist/esm/services/businesses/fees/FeeService.mjs.map +1 -0
  1223. package/dist/esm/services/businesses/locations/LocationService.mjs +137 -0
  1224. package/dist/esm/services/businesses/locations/LocationService.mjs.map +1 -0
  1225. package/dist/esm/services/businesses/prices/PriceService.mjs +22 -0
  1226. package/dist/esm/services/businesses/prices/PriceService.mjs.map +1 -0
  1227. package/dist/esm/services/businesses/products/ProductService.mjs +121 -0
  1228. package/dist/esm/services/businesses/products/ProductService.mjs.map +1 -0
  1229. package/dist/esm/services/businesses/products/images/ProductImageService.mjs +97 -0
  1230. package/dist/esm/services/businesses/products/images/ProductImageService.mjs.map +1 -0
  1231. package/dist/esm/services/businesses/products/modifiers/ProductModifierService.mjs +92 -0
  1232. package/dist/esm/services/businesses/products/modifiers/ProductModifierService.mjs.map +1 -0
  1233. package/dist/esm/services/businesses/products/options/ProductOptionService.mjs +92 -0
  1234. package/dist/esm/services/businesses/products/options/ProductOptionService.mjs.map +1 -0
  1235. package/dist/esm/services/businesses/products/variants/ProductVariantService.mjs +81 -0
  1236. package/dist/esm/services/businesses/products/variants/ProductVariantService.mjs.map +1 -0
  1237. package/dist/esm/services/businesses/promo-codes/PromoCodeService.mjs +92 -0
  1238. package/dist/esm/services/businesses/promo-codes/PromoCodeService.mjs.map +1 -0
  1239. package/dist/esm/services/businesses/reviews/BusinessReviewService.mjs +30 -0
  1240. package/dist/esm/services/businesses/reviews/BusinessReviewService.mjs.map +1 -0
  1241. package/dist/esm/services/businesses/tables/TableService.mjs +27 -0
  1242. package/dist/esm/services/businesses/tables/TableService.mjs.map +1 -0
  1243. package/dist/esm/services/businesses/taxes/TaxService.mjs +87 -0
  1244. package/dist/esm/services/businesses/taxes/TaxService.mjs.map +1 -0
  1245. package/dist/esm/services/businesses/team/invitations/TeamMemberInvitationService.mjs +32 -0
  1246. package/dist/esm/services/businesses/team/invitations/TeamMemberInvitationService.mjs.map +1 -0
  1247. package/dist/esm/services/businesses/team/members/TeamMemberService.mjs +24 -0
  1248. package/dist/esm/services/businesses/team/members/TeamMemberService.mjs.map +1 -0
  1249. package/dist/esm/services/businesses/vendors/VendorService.mjs +89 -0
  1250. package/dist/esm/services/businesses/vendors/VendorService.mjs.map +1 -0
  1251. package/dist/esm/services/cards/CardService.mjs +38 -0
  1252. package/dist/esm/services/cards/CardService.mjs.map +1 -0
  1253. package/dist/esm/services/documents/DocumentService.mjs +38 -0
  1254. package/dist/esm/services/documents/DocumentService.mjs.map +1 -0
  1255. package/dist/esm/services/expenses/ExpenseService.mjs +66 -0
  1256. package/dist/esm/services/expenses/ExpenseService.mjs.map +1 -0
  1257. package/dist/esm/services/explore/ExploreService.mjs +14 -0
  1258. package/dist/esm/services/explore/ExploreService.mjs.map +1 -0
  1259. package/dist/esm/services/friends/FriendService.mjs +26 -0
  1260. package/dist/esm/services/friends/FriendService.mjs.map +1 -0
  1261. package/dist/esm/services/integrations/IntegrationService.mjs +25 -0
  1262. package/dist/esm/services/integrations/IntegrationService.mjs.map +1 -0
  1263. package/dist/esm/services/invoices/InvoiceService.mjs +269 -0
  1264. package/dist/esm/services/invoices/InvoiceService.mjs.map +1 -0
  1265. package/dist/esm/services/loyalty/LoyaltyProgramService.mjs +195 -0
  1266. package/dist/esm/services/loyalty/LoyaltyProgramService.mjs.map +1 -0
  1267. package/dist/esm/services/notifications/NotificationService.mjs +73 -0
  1268. package/dist/esm/services/notifications/NotificationService.mjs.map +1 -0
  1269. package/dist/esm/services/oauth/AccessTokenResponse.mjs +14 -0
  1270. package/dist/esm/services/oauth/AccessTokenResponse.mjs.map +1 -0
  1271. package/dist/esm/services/oauth/AuthorizationCodeResponse.mjs +23 -0
  1272. package/dist/esm/services/oauth/AuthorizationCodeResponse.mjs.map +1 -0
  1273. package/dist/esm/services/oauth/OAuthService.mjs +42 -0
  1274. package/dist/esm/services/oauth/OAuthService.mjs.map +1 -0
  1275. package/dist/esm/services/payment-methods/PaymentMethodService.mjs +38 -0
  1276. package/dist/esm/services/payment-methods/PaymentMethodService.mjs.map +1 -0
  1277. package/dist/esm/services/receipts/ReceiptService.mjs +292 -0
  1278. package/dist/esm/services/receipts/ReceiptService.mjs.map +1 -0
  1279. package/dist/esm/services/settlements/SettlementService.mjs +27 -0
  1280. package/dist/esm/services/settlements/SettlementService.mjs.map +1 -0
  1281. package/dist/esm/services/transactions/TransactionService.mjs +18 -0
  1282. package/dist/esm/services/transactions/TransactionService.mjs.map +1 -0
  1283. package/dist/esm/services/user/UserService.mjs +40 -0
  1284. package/dist/esm/services/user/UserService.mjs.map +1 -0
  1285. package/dist/esm/services/users/UserService.mjs +32 -0
  1286. package/dist/esm/services/users/UserService.mjs.map +1 -0
  1287. package/dist/esm/services/vendors/VendorService.mjs +44 -0
  1288. package/dist/esm/services/vendors/VendorService.mjs.map +1 -0
  1289. package/dist/umd/index.js +9493 -0
  1290. package/dist/umd/index.js.map +1 -0
  1291. package/package.json +2 -2
@@ -0,0 +1,94 @@
1
+ 'use strict';
2
+
3
+ var SBServiceOptions = require('../../../../client/SBServiceOptions.cjs');
4
+ var SBService = require('../../../SBService.cjs');
5
+
6
+ /**
7
+ * Service for managing product modifiers in the Smartbills system
8
+ * Provides functionality for CRUD operations on product modifiers as nested resources under products
9
+ */
10
+ class ProductModifierService extends SBService.SBService {
11
+ /**
12
+ * Creates a new instance of the product modifier service
13
+ * @param options - Service configuration options
14
+ */
15
+ constructor(options = SBServiceOptions.defaultAPIServiceOptions) {
16
+ super(options);
17
+ }
18
+ /**
19
+ * Lists product modifiers with pagination
20
+ * @param businessId - The business ID
21
+ * @param productId - The product ID
22
+ * @param request - List request parameters
23
+ * @param options - Request options
24
+ * @param config - Axios request configuration
25
+ * @returns Promise that resolves with paginated product modifier data
26
+ */
27
+ async listAsync(businessId, productId, request, options, config) {
28
+ return await super.listEntities(`/v1/business/${businessId}/products/${productId}/modifiers`, request, options, config);
29
+ }
30
+ /**
31
+ * Retrieves a product modifier by ID
32
+ * @param businessId - The business ID
33
+ * @param productId - The product ID
34
+ * @param id - The modifier ID
35
+ * @param options - Request options
36
+ * @param config - Axios request configuration
37
+ * @returns Promise that resolves with the product modifier data
38
+ */
39
+ async getByIdAsync(businessId, productId, id, options, config) {
40
+ return await super.getEntityById(`/v1/business/${businessId}/products/${productId}/modifiers/${id}`, options, config);
41
+ }
42
+ /**
43
+ * Deletes a product modifier
44
+ * @param businessId - The business ID
45
+ * @param productId - The product ID
46
+ * @param id - The modifier ID to delete
47
+ * @param options - Request options
48
+ * @param config - Axios request configuration
49
+ * @returns Promise that resolves with the deleted product modifier
50
+ */
51
+ async deleteAsync(businessId, productId, id, options, config) {
52
+ return await super.deleteEntity(`/v1/business/${businessId}/products/${productId}/modifiers/${id}`, options, config);
53
+ }
54
+ /**
55
+ * Creates a new product modifier
56
+ * @param businessId - The business ID
57
+ * @param productId - The product ID
58
+ * @param request - Product modifier creation request data
59
+ * @param options - Request options
60
+ * @param config - Axios request configuration
61
+ * @returns Promise that resolves with the created product modifier
62
+ */
63
+ async createAsync(businessId, productId, request, options, config) {
64
+ return await super.createEntity(`/v1/business/${businessId}/products/${productId}/modifiers`, request, options, config);
65
+ }
66
+ /**
67
+ * Updates an existing product modifier
68
+ * @param businessId - The business ID
69
+ * @param productId - The product ID
70
+ * @param id - The modifier ID to update
71
+ * @param request - Product modifier update request data
72
+ * @param options - Request options
73
+ * @param config - Axios request configuration
74
+ * @returns Promise that resolves with the updated product modifier
75
+ */
76
+ async updateAsync(businessId, productId, id, request, options, config) {
77
+ return await super.updateEntity(`/v1/business/${businessId}/products/${productId}/modifiers/${id}`, request, options, config);
78
+ }
79
+ /**
80
+ * Performs a batch operation on product modifiers
81
+ * @param businessId - The business ID
82
+ * @param productId - The product ID
83
+ * @param request - Batch upsert request data
84
+ * @param options - Request options
85
+ * @param config - Axios request configuration
86
+ * @returns Promise that resolves with the batch result
87
+ */
88
+ async batch(businessId, productId, request, options, config) {
89
+ return await super.createEntity(`/v1/business/${businessId}/products/${productId}/modifiers/batch`, request, options, config);
90
+ }
91
+ }
92
+
93
+ exports.ProductModifierService = ProductModifierService;
94
+ //# sourceMappingURL=ProductModifierService.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductModifierService.cjs","sources":["../../../../../../src/services/businesses/products/modifiers/ProductModifierService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\n\nimport { SBService } from \"@/services/SBService\";\nimport { SBList } from \"@/entities/base\";\nimport { SBBatch, SBProductModifier } from \"@/entities\";\nimport { ProductModifierCreateRequest } from \"./ProductModifierCreateRequest\";\nimport { ProductModifierUpdateRequest } from \"./ProductModifierUpdateRequest\";\nimport { ProductModifierListRequest } from \"./ProductModifierListRequest\";\nimport { BatchUpsertRequest } from \"@/services/BatchUpsertRequest\";\nimport { ProductModifierUpsertRequest } from \"./ProductModifierUpsertRequest\";\n\n/**\n * Service for managing product modifiers in the Smartbills system\n * Provides functionality for CRUD operations on product modifiers as nested resources under products\n */\nexport class ProductModifierService extends SBService {\n\t/**\n\t * Creates a new instance of the product modifier service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Lists product modifiers with pagination\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param request - List request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with paginated product modifier data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: ProductModifierListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBProductModifier>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/products/${productId}/modifiers`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a product modifier by ID\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The modifier ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the product modifier data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductModifier> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/products/${productId}/modifiers/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a product modifier\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The modifier ID to delete\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted product modifier\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductModifier> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/modifiers/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new product modifier\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param request - Product modifier creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created product modifier\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: ProductModifierCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<ProductModifierCreateRequest>,\n\t): Promise<SBProductModifier> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/modifiers`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates an existing product modifier\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The modifier ID to update\n\t * @param request - Product modifier update request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated product modifier\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\trequest: ProductModifierUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<ProductModifierUpdateRequest>,\n\t): Promise<SBProductModifier> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/modifiers/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on product modifiers\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param request - Batch upsert request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the batch result\n\t */\n\tpublic async batch(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: BatchUpsertRequest<ProductModifierUpsertRequest>,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<\n\t\t\tBatchUpsertRequest<ProductModifierUpsertRequest>\n\t\t>,\n\t): Promise<SBBatch<SBProductModifier>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/modifiers/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["ProductModifierService","SBService","constructor","options","defaultAPIServiceOptions","listAsync","businessId","productId","request","config","listEntities","getByIdAsync","id","getEntityById","deleteAsync","deleteEntity","createAsync","createEntity","updateAsync","updateEntity","batch"],"mappings":";;;;;AAgBA;;;AAGG;AACG,MAAOA,sBAAuB,SAAQC,mBAAS,CAAA;AACpD;;;AAGG;AACHC,EAAAA,WAAAA,CAAmBC,UAA4BC,yCAAwB,EAAA;IACtE,KAAK,CAACD,OAAO,CAAC;AACf;AAEA;;;;;;;;AAQG;EACI,MAAME,SAASA,CACrBC,UAAkB,EAClBC,SAAiB,EACjBC,OAAmC,EACnCL,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACC,YAAY,CAC9B,gBAAgBJ,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,UAAA,CAAY,EAC5DC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAME,YAAYA,CACxBL,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVT,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACI,aAAa,CAC/B,gBAAgBP,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,WAAA,EAAcK,EAAE,CAAE,CAAA,EAClET,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMK,WAAWA,CACvBR,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVT,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACM,YAAY,CAC9B,gBAAgBT,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,WAAA,EAAcK,EAAE,CAAE,CAAA,EAClET,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMO,WAAWA,CACvBV,UAAkB,EAClBC,SAAiB,EACjBC,OAAqC,EACrCL,OAA0B,EAC1BM,MAAyD,EAAA;AAEzD,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,gBAAgBX,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,UAAA,CAAY,EAC5DC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;;AASG;AACI,EAAA,MAAMS,WAAWA,CACvBZ,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVJ,OAAqC,EACrCL,OAA0B,EAC1BM,MAAyD,EAAA;AAEzD,IAAA,OAAO,MAAM,KAAK,CAACU,YAAY,CAC9B,CAAA,aAAA,EAAgBb,UAAU,CAAaC,UAAAA,EAAAA,SAAS,CAAcK,WAAAA,EAAAA,EAAE,EAAE,EAClEJ,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMW,KAAKA,CACjBd,UAAkB,EAClBC,SAAiB,EACjBC,OAAyD,EACzDL,OAA0B,EAC1BM,MAEC,EAAA;AAED,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,gBAAgBX,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,gBAAA,CAAkB,EAClEC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AACA;;;;"}
@@ -0,0 +1,94 @@
1
+ 'use strict';
2
+
3
+ var SBServiceOptions = require('../../../../client/SBServiceOptions.cjs');
4
+ var SBService = require('../../../SBService.cjs');
5
+
6
+ /**
7
+ * Service for managing product options in the Smartbills system
8
+ * Provides functionality for CRUD operations on product options as nested resources under products
9
+ */
10
+ class ProductOptionService extends SBService.SBService {
11
+ /**
12
+ * Creates a new instance of the product option service
13
+ * @param options - Service configuration options
14
+ */
15
+ constructor(options = SBServiceOptions.defaultAPIServiceOptions) {
16
+ super(options);
17
+ }
18
+ /**
19
+ * Lists product options with pagination
20
+ * @param businessId - The business ID
21
+ * @param productId - The product ID
22
+ * @param request - List request parameters
23
+ * @param options - Request options
24
+ * @param config - Axios request configuration
25
+ * @returns Promise that resolves with paginated product option data
26
+ */
27
+ async listAsync(businessId, productId, request, options, config) {
28
+ return await super.listEntities(`/v1/business/${businessId}/products/${productId}/options`, request, options, config);
29
+ }
30
+ /**
31
+ * Retrieves a product option by ID
32
+ * @param businessId - The business ID
33
+ * @param productId - The product ID
34
+ * @param id - The option ID
35
+ * @param options - Request options
36
+ * @param config - Axios request configuration
37
+ * @returns Promise that resolves with the product option data
38
+ */
39
+ async getByIdAsync(businessId, productId, id, options, config) {
40
+ return await super.getEntityById(`/v1/business/${businessId}/products/${productId}/options/${id}`, options, config);
41
+ }
42
+ /**
43
+ * Deletes a product option
44
+ * @param businessId - The business ID
45
+ * @param productId - The product ID
46
+ * @param id - The option ID to delete
47
+ * @param options - Request options
48
+ * @param config - Axios request configuration
49
+ * @returns Promise that resolves with the deleted product option
50
+ */
51
+ async deleteAsync(businessId, productId, id, options, config) {
52
+ return await super.deleteEntity(`/v1/business/${businessId}/products/${productId}/options/${id}`, options, config);
53
+ }
54
+ /**
55
+ * Creates a new product option
56
+ * @param businessId - The business ID
57
+ * @param productId - The product ID
58
+ * @param request - Product option creation request data
59
+ * @param options - Request options
60
+ * @param config - Axios request configuration
61
+ * @returns Promise that resolves with the created product option
62
+ */
63
+ async createAsync(businessId, productId, request, options, config) {
64
+ return await super.createEntity(`/v1/business/${businessId}/products/${productId}/options`, request, options, config);
65
+ }
66
+ /**
67
+ * Updates an existing product option
68
+ * @param businessId - The business ID
69
+ * @param productId - The product ID
70
+ * @param id - The option ID to update
71
+ * @param request - Product option update request data
72
+ * @param options - Request options
73
+ * @param config - Axios request configuration
74
+ * @returns Promise that resolves with the updated product option
75
+ */
76
+ async updateAsync(businessId, productId, id, request, options, config) {
77
+ return await super.updateEntity(`/v1/business/${businessId}/products/${productId}/options/${id}`, request, options, config);
78
+ }
79
+ /**
80
+ * Performs a batch operation on product options
81
+ * @param businessId - The business ID
82
+ * @param productId - The product ID
83
+ * @param request - Batch upsert request data
84
+ * @param options - Request options
85
+ * @param config - Axios request configuration
86
+ * @returns Promise that resolves with the batch result
87
+ */
88
+ async batch(businessId, productId, request, options, config) {
89
+ return await super.createEntity(`/v1/business/${businessId}/products/${productId}/options/batch`, request, options, config);
90
+ }
91
+ }
92
+
93
+ exports.ProductOptionService = ProductOptionService;
94
+ //# sourceMappingURL=ProductOptionService.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductOptionService.cjs","sources":["../../../../../../src/services/businesses/products/options/ProductOptionService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport {\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedDeletable,\n\tINestedListable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { SBList } from \"@/entities/base\";\nimport { SBBatch } from \"@/entities\";\nimport { SBProductOption } from \"@/entities/businesses/products/options\";\nimport { ProductOptionCreateRequest } from \"./ProductOptionCreateRequest\";\nimport { ProductOptionUpdateRequest } from \"./ProductOptionUpdateRequest\";\nimport { ProductOptionListRequest } from \"./ProductOptionListRequest\";\nimport { BatchUpsertRequest } from \"@/services/BatchUpsertRequest\";\nimport { ProductOptionUpsertRequest } from \"./ProductOptionUpsertRequest\";\n\n/**\n * Service for managing product options in the Smartbills system\n * Provides functionality for CRUD operations on product options as nested resources under products\n */\nexport class ProductOptionService extends SBService {\n\t/**\n\t * Creates a new instance of the product option service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Lists product options with pagination\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param request - List request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with paginated product option data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: ProductOptionListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBProductOption>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/products/${productId}/options`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a product option by ID\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The option ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the product option data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductOption> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/products/${productId}/options/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a product option\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The option ID to delete\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted product option\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductOption> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/options/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new product option\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param request - Product option creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created product option\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: ProductOptionCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<ProductOptionCreateRequest>,\n\t): Promise<SBProductOption> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/options`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates an existing product option\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The option ID to update\n\t * @param request - Product option update request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated product option\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\trequest: ProductOptionUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<ProductOptionUpdateRequest>,\n\t): Promise<SBProductOption> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/options/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on product options\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param request - Batch upsert request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the batch result\n\t */\n\tpublic async batch(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: BatchUpsertRequest<ProductOptionUpsertRequest>,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<\n\t\t\tBatchUpsertRequest<ProductOptionUpsertRequest>\n\t\t>,\n\t): Promise<SBBatch<SBProductOption>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/options/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["ProductOptionService","SBService","constructor","options","defaultAPIServiceOptions","listAsync","businessId","productId","request","config","listEntities","getByIdAsync","id","getEntityById","deleteAsync","deleteEntity","createAsync","createEntity","updateAsync","updateEntity","batch"],"mappings":";;;;;AAwBA;;;AAGG;AACG,MAAOA,oBAAqB,SAAQC,mBAAS,CAAA;AAClD;;;AAGG;AACHC,EAAAA,WAAAA,CAAmBC,UAA4BC,yCAAwB,EAAA;IACtE,KAAK,CAACD,OAAO,CAAC;AACf;AAEA;;;;;;;;AAQG;EACI,MAAME,SAASA,CACrBC,UAAkB,EAClBC,SAAiB,EACjBC,OAAiC,EACjCL,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACC,YAAY,CAC9B,gBAAgBJ,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,QAAA,CAAU,EAC1DC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAME,YAAYA,CACxBL,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVT,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACI,aAAa,CAC/B,gBAAgBP,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,SAAA,EAAYK,EAAE,CAAE,CAAA,EAChET,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMK,WAAWA,CACvBR,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVT,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACM,YAAY,CAC9B,gBAAgBT,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,SAAA,EAAYK,EAAE,CAAE,CAAA,EAChET,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMO,WAAWA,CACvBV,UAAkB,EAClBC,SAAiB,EACjBC,OAAmC,EACnCL,OAA0B,EAC1BM,MAAuD,EAAA;AAEvD,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,gBAAgBX,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,QAAA,CAAU,EAC1DC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;;AASG;AACI,EAAA,MAAMS,WAAWA,CACvBZ,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVJ,OAAmC,EACnCL,OAA0B,EAC1BM,MAAuD,EAAA;AAEvD,IAAA,OAAO,MAAM,KAAK,CAACU,YAAY,CAC9B,CAAA,aAAA,EAAgBb,UAAU,CAAaC,UAAAA,EAAAA,SAAS,CAAYK,SAAAA,EAAAA,EAAE,EAAE,EAChEJ,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMW,KAAKA,CACjBd,UAAkB,EAClBC,SAAiB,EACjBC,OAAuD,EACvDL,OAA0B,EAC1BM,MAEC,EAAA;AAED,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,gBAAgBX,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,cAAA,CAAgB,EAChEC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AACA;;;;"}
@@ -0,0 +1,83 @@
1
+ 'use strict';
2
+
3
+ var SBServiceOptions = require('../../../../client/SBServiceOptions.cjs');
4
+ var SBService = require('../../../SBService.cjs');
5
+
6
+ // import { ProductVariantUpsertRequest } from "./ProductVariantUpsertRequest";
7
+ /**
8
+ * Service for managing product variants in the Smartbills system
9
+ * Provides functionality for CRUD operations on product variants as nested resources under products
10
+ */
11
+ class ProductVariantService extends SBService.SBService {
12
+ /**
13
+ * Creates a new instance of the product variant service
14
+ * @param options - Service configuration options
15
+ */
16
+ constructor(options = SBServiceOptions.defaultAPIServiceOptions) {
17
+ super(options);
18
+ }
19
+ /**
20
+ * Lists product variants with pagination
21
+ * @param businessId - The business ID
22
+ * @param productId - The product ID (parent resource)
23
+ * @param request - List request parameters
24
+ * @param options - Request options
25
+ * @param config - Axios request configuration
26
+ * @returns Promise that resolves with paginated product variant data
27
+ */
28
+ async listAsync(businessId, productId, request, options, config) {
29
+ return await super.listEntities(`/v1/businesses/${businessId}/products/${productId}/variants`, request, options, config);
30
+ }
31
+ /**
32
+ * Retrieves a product variant by ID
33
+ * @param businessId - The business ID
34
+ * @param productId - The product ID (parent resource)
35
+ * @param id - The variant ID
36
+ * @param options - Request options
37
+ * @param config - Axios request configuration
38
+ * @returns Promise that resolves with the product variant data
39
+ */
40
+ async getByIdAsync(businessId, productId, id, options, config) {
41
+ return await super.getEntityById(`/v1/businesses/${businessId}/products/${productId}/variants/${id}`, options, config);
42
+ }
43
+ /**
44
+ * Deletes a product variant
45
+ * @param businessId - The business ID
46
+ * @param productId - The product ID (parent resource)
47
+ * @param id - The variant ID to delete
48
+ * @param options - Request options
49
+ * @param config - Axios request configuration
50
+ * @returns Promise that resolves with the deleted product variant
51
+ */
52
+ async deleteAsync(businessId, productId, id, options, config) {
53
+ return await super.deleteEntity(`/v1/businesses/${businessId}/products/${productId}/variants/${id}`, options, config);
54
+ }
55
+ /**
56
+ * Creates a new product variant
57
+ * @param businessId - The business ID
58
+ * @param productId - The product ID (parent resource)
59
+ * @param request - Product variant creation request data
60
+ * @param options - Request options
61
+ * @param config - Axios request configuration
62
+ * @returns Promise that resolves with the created product variant
63
+ */
64
+ async createAsync(businessId, productId, request, options, config) {
65
+ return await super.createEntity(`/v1/businesses/${businessId}/products/${productId}/variants`, request, options, config);
66
+ }
67
+ /**
68
+ * Updates an existing product variant
69
+ * @param businessId - The business ID
70
+ * @param productId - The product ID (parent resource)
71
+ * @param id - The variant ID to update
72
+ * @param request - Product variant update request data
73
+ * @param options - Request options
74
+ * @param config - Axios request configuration
75
+ * @returns Promise that resolves with the updated product variant
76
+ */
77
+ async updateAsync(businessId, productId, id, request, options, config) {
78
+ return await super.updateEntity(`/v1/businesses/${businessId}/products/${productId}/variants/${id}`, request, options, config);
79
+ }
80
+ }
81
+
82
+ exports.ProductVariantService = ProductVariantService;
83
+ //# sourceMappingURL=ProductVariantService.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductVariantService.cjs","sources":["../../../../../../src/services/businesses/products/variants/ProductVariantService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch, SBProductVariant } from \"@/entities\";\nimport {\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedDeletable,\n\tINestedListable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { SBList } from \"@/entities/base\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { ProductVariantCreateRequest } from \"./ProductVariantCreateRequest\";\nimport { ProductVariantListRequest } from \"./ProductVariantListRequest\";\nimport { ProductVariantUpdateRequest } from \"./ProductVariantUpdateRequest\";\nimport { ProductVariantBatchUpsertRequest } from \"./ProductVariantBatchUpsertRequest\";\nimport { BatchUpsertRequest } from \"@/services/BatchUpsertRequest\";\n// import { ProductVariantUpsertRequest } from \"./ProductVariantUpsertRequest\";\n\n/**\n * Service for managing product variants in the Smartbills system\n * Provides functionality for CRUD operations on product variants as nested resources under products\n */\nexport class ProductVariantService extends SBService {\n\t/**\n\t * Creates a new instance of the product variant service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Lists product variants with pagination\n\t * @param businessId - The business ID\n\t * @param productId - The product ID (parent resource)\n\t * @param request - List request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with paginated product variant data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: ProductVariantListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBProductVariant>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/products/${productId}/variants`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a product variant by ID\n\t * @param businessId - The business ID\n\t * @param productId - The product ID (parent resource)\n\t * @param id - The variant ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the product variant data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductVariant> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/products/${productId}/variants/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a product variant\n\t * @param businessId - The business ID\n\t * @param productId - The product ID (parent resource)\n\t * @param id - The variant ID to delete\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted product variant\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductVariant> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/products/${productId}/variants/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new product variant\n\t * @param businessId - The business ID\n\t * @param productId - The product ID (parent resource)\n\t * @param request - Product variant creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created product variant\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: ProductVariantCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<ProductVariantCreateRequest>,\n\t): Promise<SBProductVariant> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/products/${productId}/variants`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates an existing product variant\n\t * @param businessId - The business ID\n\t * @param productId - The product ID (parent resource)\n\t * @param id - The variant ID to update\n\t * @param request - Product variant update request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated product variant\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\trequest: ProductVariantUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<ProductVariantUpdateRequest>,\n\t): Promise<SBProductVariant> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/products/${productId}/variants/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t// /**\n\t// * Performs a batch operation on product variants\n\t// * @param businessId - The business ID\n\t// * @param productId - The product ID (parent resource)\n\t// * @param request - Batch upsert request data\n\t// * @param options - Request options\n\t// * @param config - Axios request configuration\n\t// * @returns Promise that resolves with the batch result\n\t// */\n\t// public async batch(\n\t// \tbusinessId: number,\n\t// \tproductId: number,\n\t// \trequest: BatchUpsertRequest<ProductVariantUpsertRequest>,\n\t// \toptions?: SBRequestOptions,\n\t// \tconfig?: AxiosRequestConfig<\n\t// \t\tBatchUpsertRequest<ProductVariantUpsertRequest>\n\t// \t>,\n\t// ): Promise<SBBatch<SBProductVariant>> {\n\t// \treturn await super.createEntity(\n\t// \t\t`/v1/businesses/${businessId}/products/${productId}/variants/batch`,\n\t// \t\trequest,\n\t// \t\toptions,\n\t// \t\tconfig,\n\t// \t);\n\t// }\n}\n"],"names":["ProductVariantService","SBService","constructor","options","defaultAPIServiceOptions","listAsync","businessId","productId","request","config","listEntities","getByIdAsync","id","getEntityById","deleteAsync","deleteEntity","createAsync","createEntity","updateAsync","updateEntity"],"mappings":";;;;;AAsBA;AAEA;;;AAGG;AACG,MAAOA,qBAAsB,SAAQC,mBAAS,CAAA;AACnD;;;AAGG;AACHC,EAAAA,WAAAA,CAAmBC,UAA4BC,yCAAwB,EAAA;IACtE,KAAK,CAACD,OAAO,CAAC;AACf;AAEA;;;;;;;;AAQG;EACI,MAAME,SAASA,CACrBC,UAAkB,EAClBC,SAAiB,EACjBC,OAAkC,EAClCL,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACC,YAAY,CAC9B,kBAAkBJ,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,SAAA,CAAW,EAC7DC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAME,YAAYA,CACxBL,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVT,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACI,aAAa,CAC/B,kBAAkBP,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,UAAA,EAAaK,EAAE,CAAE,CAAA,EACnET,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMK,WAAWA,CACvBR,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVT,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACM,YAAY,CAC9B,kBAAkBT,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,UAAA,EAAaK,EAAE,CAAE,CAAA,EACnET,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMO,WAAWA,CACvBV,UAAkB,EAClBC,SAAiB,EACjBC,OAAoC,EACpCL,OAA0B,EAC1BM,MAAwD,EAAA;AAExD,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,kBAAkBX,UAAU,CAAA,UAAA,EAAaC,SAAS,CAAA,SAAA,CAAW,EAC7DC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;;AASG;AACI,EAAA,MAAMS,WAAWA,CACvBZ,UAAkB,EAClBC,SAAiB,EACjBK,EAAU,EACVJ,OAAoC,EACpCL,OAA0B,EAC1BM,MAAwD,EAAA;AAExD,IAAA,OAAO,MAAM,KAAK,CAACU,YAAY,CAC9B,CAAA,eAAA,EAAkBb,UAAU,CAAaC,UAAAA,EAAAA,SAAS,CAAaK,UAAAA,EAAAA,EAAE,EAAE,EACnEJ,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AA2BA;;;;"}
@@ -0,0 +1,94 @@
1
+ 'use strict';
2
+
3
+ var SBServiceOptions = require('../../../client/SBServiceOptions.cjs');
4
+ var SBService = require('../../SBService.cjs');
5
+
6
+ /**
7
+ * Service for managing promo codes in the Smartbills system
8
+ * Provides functionality for CRUD operations on promo codes
9
+ * @implements IRetrievableById<SBPromoCode> - Allows retrieving promo codes by ID
10
+ * @implements IListable<PromoCodeListRequest, SBPromoCode> - Allows listing promo codes with pagination
11
+ * @implements ICreatable<PromoCodeCreateRequest, SBPromoCode> - Allows creating new promo codes
12
+ * @implements IUpdatable<PromoCodeUpdateRequest, SBPromoCode> - Allows updating existing promo codes
13
+ * @implements IBatchable<PromoCodeUpsertRequest, SBPromoCode> - Allows batch operations on promo codes
14
+ * @implements IDeletable<SBPromoCode> - Allows deleting promo codes
15
+ */
16
+ class PromoCodeService extends SBService.SBService {
17
+ /**
18
+ * Creates a new instance of the promo code service
19
+ * @param options - Service configuration options
20
+ */
21
+ constructor(options = SBServiceOptions.defaultAPIServiceOptions) {
22
+ super(options);
23
+ }
24
+ /**
25
+ * Lists promo codes with pagination
26
+ * @param businessId - The business ID
27
+ * @param request - List request parameters
28
+ * @param options - Request options
29
+ * @param config - Axios request configuration
30
+ * @returns Promise that resolves with paginated promo code data
31
+ */
32
+ async listAsync(businessId, request, options, config) {
33
+ return await super.listEntities(`/v1/business/${businessId}/promo-codes`, request, options, config);
34
+ }
35
+ /**
36
+ * Retrieves a promo code by its ID
37
+ * @param businessId - The business ID
38
+ * @param id - The promo code ID
39
+ * @param options - Request options
40
+ * @param config - Axios request configuration
41
+ * @returns Promise that resolves with the promo code data
42
+ */
43
+ async getByIdAsync(businessId, id, options, config) {
44
+ return await super.getEntityById(`/v1/business/${businessId}/promo-codes/${id}`, options, config);
45
+ }
46
+ /**
47
+ * Deletes a promo code
48
+ * @param businessId - The business ID
49
+ * @param id - The promo code ID to delete
50
+ * @param options - Request options
51
+ * @param config - Axios request configuration
52
+ * @returns Promise that resolves with the deleted promo code
53
+ */
54
+ async deleteAsync(businessId, id, options, config) {
55
+ return await super.deleteEntity(`/v1/business/${businessId}/promo-codes/${id}`, options, config);
56
+ }
57
+ /**
58
+ * Creates a new promo code
59
+ * @param businessId - The business ID
60
+ * @param request - Promo code creation request data
61
+ * @param options - Request options
62
+ * @param config - Axios request configuration
63
+ * @returns Promise that resolves with the created promo code
64
+ */
65
+ async createAsync(businessId, request, options, config) {
66
+ return await super.createEntity(`/v1/business/${businessId}/promo-codes`, request, options, config);
67
+ }
68
+ /**
69
+ * Updates an existing promo code
70
+ * @param businessId - The business ID
71
+ * @param id - The promo code ID to update
72
+ * @param request - Promo code update request data
73
+ * @param options - Request options
74
+ * @param config - Axios request configuration
75
+ * @returns Promise that resolves with the updated promo code
76
+ */
77
+ async updateAsync(businessId, id, request, options, config) {
78
+ return await super.updateEntity(`/v1/business/${businessId}/promo-codes/${id}`, request, options, config);
79
+ }
80
+ /**
81
+ * Performs a batch operation on promo codes
82
+ * @param businessId - The business ID
83
+ * @param request - Batch upsert request data
84
+ * @param options - Request options
85
+ * @param config - Axios request configuration
86
+ * @returns Promise that resolves with the batch result
87
+ */
88
+ async batch(businessId, request, options, config) {
89
+ return await super.createEntity(`/v1/business/${businessId}/promo-codes/batch`, request, options, config);
90
+ }
91
+ }
92
+
93
+ exports.PromoCodeService = PromoCodeService;
94
+ //# sourceMappingURL=PromoCodeService.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromoCodeService.cjs","sources":["../../../../../src/services/businesses/promo-codes/PromoCodeService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch } from \"@/entities\";\nimport { IDeletable, INestedDeletable } from \"@/interfaces/IDeletable\";\nimport { IListable, INestedListable } from \"@/interfaces/IListable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBPromoCode } from \"@/entities/businesses/promo-codes\";\nimport {\n\tIBatchable,\n\tICreatable,\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n\tIRetrievableById,\n\tIUpdatable,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { SBList } from \"@/entities/base\";\nimport { PromoCodeBatchUpsertRequest } from \"./PromoCodeBatchUpsertRequest\";\nimport { PromoCodeCreateRequest } from \"./PromoCodeCreateRequest\";\nimport { PromoCodeListRequest } from \"./PromoCodeListRequest\";\nimport { PromoCodeUpdateRequest } from \"./PromoCodeUpdateRequest\";\nimport { PromoCodeUpsertRequest } from \"./PromoCodeUpsertRequest\";\n\n/**\n * Service for managing promo codes in the Smartbills system\n * Provides functionality for CRUD operations on promo codes\n * @implements IRetrievableById<SBPromoCode> - Allows retrieving promo codes by ID\n * @implements IListable<PromoCodeListRequest, SBPromoCode> - Allows listing promo codes with pagination\n * @implements ICreatable<PromoCodeCreateRequest, SBPromoCode> - Allows creating new promo codes\n * @implements IUpdatable<PromoCodeUpdateRequest, SBPromoCode> - Allows updating existing promo codes\n * @implements IBatchable<PromoCodeUpsertRequest, SBPromoCode> - Allows batch operations on promo codes\n * @implements IDeletable<SBPromoCode> - Allows deleting promo codes\n */\nexport class PromoCodeService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBPromoCode>,\n\t\tINestedListable<PromoCodeListRequest, SBPromoCode>,\n\t\tINestedCreatable<PromoCodeCreateRequest, SBPromoCode>,\n\t\tINestedUpdatable<PromoCodeUpdateRequest, SBPromoCode>,\n\t\tINestedBatchable<PromoCodeUpsertRequest, SBPromoCode>,\n\t\tINestedDeletable<SBPromoCode>\n{\n\t/**\n\t * Creates a new instance of the promo code service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Lists promo codes with pagination\n\t * @param businessId - The business ID\n\t * @param request - List request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with paginated promo code data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: PromoCodeListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBPromoCode>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/promo-codes`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a promo code by its ID\n\t * @param businessId - The business ID\n\t * @param id - The promo code ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the promo code data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPromoCode> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/promo-codes/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a promo code\n\t * @param businessId - The business ID\n\t * @param id - The promo code ID to delete\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted promo code\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPromoCode> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/promo-codes/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new promo code\n\t * @param businessId - The business ID\n\t * @param request - Promo code creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created promo code\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: PromoCodeCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPromoCode> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/promo-codes`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates an existing promo code\n\t * @param businessId - The business ID\n\t * @param id - The promo code ID to update\n\t * @param request - Promo code update request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated promo code\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: PromoCodeUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPromoCode> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/business/${businessId}/promo-codes/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on promo codes\n\t * @param businessId - The business ID\n\t * @param request - Batch upsert request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the batch result\n\t */\n\tpublic async batch(\n\t\tbusinessId: number,\n\t\trequest: PromoCodeBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<PromoCodeBatchUpsertRequest>,\n\t): Promise<SBBatch<SBPromoCode>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/promo-codes/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["PromoCodeService","SBService","constructor","options","defaultAPIServiceOptions","listAsync","businessId","request","config","listEntities","getByIdAsync","id","getEntityById","deleteAsync","deleteEntity","createAsync","createEntity","updateAsync","updateEntity","batch"],"mappings":";;;;;AA4BA;;;;;;;;;AASG;AACG,MAAOA,gBACZ,SAAQC,mBAAS,CAAA;AASjB;;;AAGG;AACHC,EAAAA,WAAAA,CAAmBC,UAA4BC,yCAAwB,EAAA;IACtE,KAAK,CAACD,OAAO,CAAC;AACf;AAEA;;;;;;;AAOG;EACI,MAAME,SAASA,CACrBC,UAAkB,EAClBC,OAA6B,EAC7BJ,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACC,YAAY,CAC9B,CAAgBH,aAAAA,EAAAA,UAAU,CAAc,YAAA,CAAA,EACxCC,OAAO,EACPJ,OAAO,EACPK,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAME,YAAYA,CACxBJ,UAAkB,EAClBK,EAAU,EACVR,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACI,aAAa,CAC/B,CAAgBN,aAAAA,EAAAA,UAAU,CAAgBK,aAAAA,EAAAA,EAAE,CAAE,CAAA,EAC9CR,OAAO,EACPK,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMK,WAAWA,CACvBP,UAAkB,EAClBK,EAAU,EACVR,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACM,YAAY,CAC9B,CAAgBR,aAAAA,EAAAA,UAAU,CAAgBK,aAAAA,EAAAA,EAAE,CAAE,CAAA,EAC9CR,OAAO,EACPK,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMO,WAAWA,CACvBT,UAAkB,EAClBC,OAA+B,EAC/BJ,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,CAAgBV,aAAAA,EAAAA,UAAU,CAAc,YAAA,CAAA,EACxCC,OAAO,EACPJ,OAAO,EACPK,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMS,WAAWA,CACvBX,UAAkB,EAClBK,EAAU,EACVJ,OAA+B,EAC/BJ,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACU,YAAY,CAC9B,gBAAgBZ,UAAU,CAAA,aAAA,EAAgBK,EAAE,CAAA,CAAE,EAC9CJ,OAAO,EACPJ,OAAO,EACPK,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMW,KAAKA,CACjBb,UAAkB,EAClBC,OAAoC,EACpCJ,OAA0B,EAC1BK,MAAwD,EAAA;AAExD,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,CAAgBV,aAAAA,EAAAA,UAAU,CAAoB,kBAAA,CAAA,EAC9CC,OAAO,EACPJ,OAAO,EACPK,MAAM,CACN;AACF;AACA;;;;"}
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ var SBService = require('../../SBService.cjs');
4
+ var SBServiceOptions = require('../../../client/SBServiceOptions.cjs');
5
+
6
+ class BusinessReviewService extends SBService.SBService {
7
+ /**
8
+ * Creates a new instance of the customer service
9
+ * @param options - Service configuration options
10
+ */
11
+ constructor(options = SBServiceOptions.defaultAPIServiceOptions) {
12
+ super(options);
13
+ }
14
+ async getByIdAsync(businessId, id, options, config) {
15
+ return await super.getEntityById(`/v1/business/${businessId}/reviews/${id}`, options, config);
16
+ }
17
+ async listAsync(businessId, request, options, config) {
18
+ return await super.listEntities(`/v1/business/${businessId}/reviews`, request, options, config);
19
+ }
20
+ async createAsync(businessId, request, options, config) {
21
+ return await super.createEntity(`/v1/business/${businessId}/reviews`, request, options, config);
22
+ }
23
+ async updateAsync(businessId, id, request, options, config) {
24
+ return this.updateEntity(`/v1/business/${businessId}/reviews/${id}`, request, options, config);
25
+ }
26
+ async deleteAsync(businessId, id, options, config) {
27
+ return await super.deleteEntity(`/v1/business/${businessId}/reviews/${id}`, options, config);
28
+ }
29
+ }
30
+
31
+ exports.BusinessReviewService = BusinessReviewService;
32
+ //# sourceMappingURL=BusinessReviewService.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusinessReviewService.cjs","sources":["../../../../../src/services/businesses/reviews/BusinessReviewService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { IListable, INestedListable } from \"@/interfaces/IListable\";\nimport { INestedUpdatable, IUpdatable } from \"@/interfaces/IUpdatable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBBusinessReview } from \"@/entities/businesses/reviews/SBBusinessReview\";\nimport {\n\tICreatable,\n\tIDeletable,\n\tINestedCreatable,\n\tINestedDeletable,\n\tINestedRetrievableById,\n\tIRetrievableById,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { SBList } from \"@/entities/base\";\nimport { BusinessReviewCreateRequest } from \"./BusinessReviewCreateRequest\";\nimport { BusinessReviewListRequest } from \"./BusinessReviewListRequest\";\nimport { BusinessReviewUpdateRequest } from \"./BusinessReviewUpdateRequest\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\n\nexport class BusinessReviewService\n\textends SBService\n\timplements\n\t\tINestedListable<BusinessReviewListRequest, SBBusinessReview>,\n\t\tINestedRetrievableById<SBBusinessReview>,\n\t\tINestedDeletable<SBBusinessReview>,\n\t\tINestedCreatable<BusinessReviewCreateRequest, SBBusinessReview>,\n\t\tINestedUpdatable<BusinessReviewUpdateRequest, SBBusinessReview>\n{\n\t/**\n\t * Creates a new instance of the customer service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBusinessReview> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/reviews/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: BusinessReviewListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBBusinessReview>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/reviews`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: BusinessReviewCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BusinessReviewCreateRequest>,\n\t): Promise<SBBusinessReview> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/reviews`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: BusinessReviewUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBusinessReview> {\n\t\treturn this.updateEntity(\n\t\t\t`/v1/business/${businessId}/reviews/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBusinessReview> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/reviews/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["BusinessReviewService","SBService","constructor","options","defaultAPIServiceOptions","getByIdAsync","businessId","id","config","getEntityById","listAsync","request","listEntities","createAsync","createEntity","updateAsync","updateEntity","deleteAsync","deleteEntity"],"mappings":";;;;;AAuBM,MAAOA,qBACZ,SAAQC,mBAAS,CAAA;AAQjB;;;AAGG;AACHC,EAAAA,WAAAA,CAAmBC,UAA4BC,yCAAwB,EAAA;IACtE,KAAK,CAACD,OAAO,CAAC;AACf;EAEO,MAAME,YAAYA,CACxBC,UAAkB,EAClBC,EAAU,EACVJ,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACC,aAAa,CAC/B,CAAgBH,aAAAA,EAAAA,UAAU,CAAYC,SAAAA,EAAAA,EAAE,CAAE,CAAA,EAC1CJ,OAAO,EACPK,MAAM,CACN;AACF;EACO,MAAME,SAASA,CACrBJ,UAAkB,EAClBK,OAAkC,EAClCR,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACI,YAAY,CAC9B,CAAgBN,aAAAA,EAAAA,UAAU,CAAU,QAAA,CAAA,EACpCK,OAAO,EACPR,OAAO,EACPK,MAAM,CACN;AACF;EACO,MAAMK,WAAWA,CACvBP,UAAkB,EAClBK,OAAoC,EACpCR,OAA0B,EAC1BK,MAAwD,EAAA;AAExD,IAAA,OAAO,MAAM,KAAK,CAACM,YAAY,CAC9B,CAAgBR,aAAAA,EAAAA,UAAU,CAAU,QAAA,CAAA,EACpCK,OAAO,EACPR,OAAO,EACPK,MAAM,CACN;AACF;EACO,MAAMO,WAAWA,CACvBT,UAAkB,EAClBC,EAAU,EACVI,OAAoC,EACpCR,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,IAAI,CAACQ,YAAY,CACvB,gBAAgBV,UAAU,CAAA,SAAA,EAAYC,EAAE,CAAA,CAAE,EAC1CI,OAAO,EACPR,OAAO,EACPK,MAAM,CACN;AACF;EACO,MAAMS,WAAWA,CACvBX,UAAkB,EAClBC,EAAU,EACVJ,OAA0B,EAC1BK,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACU,YAAY,CAC9B,CAAgBZ,aAAAA,EAAAA,UAAU,CAAYC,SAAAA,EAAAA,EAAE,CAAE,CAAA,EAC1CJ,OAAO,EACPK,MAAM,CACN;AACF;AACA;;;;"}
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var SBService = require('../../SBService.cjs');
4
+ var SBServiceOptions = require('../../../client/SBServiceOptions.cjs');
5
+
6
+ class TableService extends SBService.SBService {
7
+ /**
8
+ * Creates a new instance of the table service
9
+ * @param options - Service configuration options
10
+ */
11
+ constructor(options = SBServiceOptions.defaultAPIServiceOptions) {
12
+ super(options);
13
+ }
14
+ async getAllAsync(businessId, options, config) {
15
+ return await super.getEntities(`/v1/businesses/${businessId}/tables`, {}, options, config);
16
+ }
17
+ async getByIdAsync(businessId, tableId, options, config) {
18
+ return await super.getEntityById(`/v1/businesses/${businessId}/tables/${tableId}`, options, config);
19
+ }
20
+ async createAsync(businessId, request, options, config) {
21
+ return await super.createEntity(`/v1/businesses/${businessId}/tables`, request, options, config);
22
+ }
23
+ async updateAsync(businessId, tableId, request, options, config) {
24
+ return await super.updateEntity(`/v1/businesses/${businessId}/tables/${tableId}`, request, options, config);
25
+ }
26
+ }
27
+
28
+ exports.TableService = TableService;
29
+ //# sourceMappingURL=TableService.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableService.cjs","sources":["../../../../../src/services/businesses/tables/TableService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBService } from \"@/services/SBService\";\nimport { INestedRetrievableById, IRetrievableById } from \"@/interfaces\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { TableCreateRequest } from \"./TableCreateRequest\";\nimport { TableUpdateRequest } from \"./TableUpdateRequest\";\nimport { SBTable } from \"@/entities/businesses/tables/SBTable\";\n\nexport class TableService\n\textends SBService\n\timplements INestedRetrievableById<SBTable>\n{\n\t/**\n\t * Creates a new instance of the table service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async getAllAsync(\n\t\tbusinessId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBTable[]> {\n\t\treturn await super.getEntities(\n\t\t\t`/v1/businesses/${businessId}/tables`,\n\t\t\t{},\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\ttableId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBTable> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/tables/${tableId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: TableCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBTable> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/tables`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\ttableId: number,\n\t\trequest: TableUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBTable> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/tables/${tableId}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["TableService","SBService","constructor","options","defaultAPIServiceOptions","getAllAsync","businessId","config","getEntities","getByIdAsync","tableId","getEntityById","createAsync","request","createEntity","updateAsync","updateEntity"],"mappings":";;;;;AAYM,MAAOA,YACZ,SAAQC,mBAAS,CAAA;AAGjB;;;AAGG;AACHC,EAAAA,WAAAA,CAAmBC,UAA4BC,yCAAwB,EAAA;IACtE,KAAK,CAACD,OAAO,CAAC;AACf;AAEO,EAAA,MAAME,WAAWA,CACvBC,UAAkB,EAClBH,OAA0B,EAC1BI,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACC,WAAW,CAC7B,CAAkBF,eAAAA,EAAAA,UAAU,CAAS,OAAA,CAAA,EACrC,EAAE,EACFH,OAAO,EACPI,MAAM,CACN;AACF;EAEO,MAAME,YAAYA,CACxBH,UAAkB,EAClBI,OAAe,EACfP,OAA0B,EAC1BI,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACI,aAAa,CAC/B,CAAkBL,eAAAA,EAAAA,UAAU,CAAWI,QAAAA,EAAAA,OAAO,CAAE,CAAA,EAChDP,OAAO,EACPI,MAAM,CACN;AACF;EAEO,MAAMK,WAAWA,CACvBN,UAAkB,EAClBO,OAA2B,EAC3BV,OAA0B,EAC1BI,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACO,YAAY,CAC9B,CAAkBR,eAAAA,EAAAA,UAAU,CAAS,OAAA,CAAA,EACrCO,OAAO,EACPV,OAAO,EACPI,MAAM,CACN;AACF;EAEO,MAAMQ,WAAWA,CACvBT,UAAkB,EAClBI,OAAe,EACfG,OAA2B,EAC3BV,OAA0B,EAC1BI,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACS,YAAY,CAC9B,kBAAkBV,UAAU,CAAA,QAAA,EAAWI,OAAO,CAAA,CAAE,EAChDG,OAAO,EACPV,OAAO,EACPI,MAAM,CACN;AACF;AACA;;;;"}
@@ -0,0 +1,89 @@
1
+ 'use strict';
2
+
3
+ var SBServiceOptions = require('../../../client/SBServiceOptions.cjs');
4
+ var SBService = require('../../SBService.cjs');
5
+
6
+ /**
7
+ * Service for managing taxes in the Smartbills system
8
+ * Provides functionality for CRUD operations on taxes
9
+ * Implements both standard interfaces and business-specific interfaces
10
+ */
11
+ class TaxService extends SBService.SBService {
12
+ /**
13
+ * Creates a new instance of the tax service
14
+ * @param options - Service configuration options
15
+ */
16
+ constructor(options = SBServiceOptions.defaultAPIServiceOptions) {
17
+ super(options);
18
+ }
19
+ /**
20
+ * Creates a new tax record
21
+ * @param businessId - The business ID
22
+ * @param request - Tax creation request data
23
+ * @param options - Request options
24
+ * @param config - Axios request configuration
25
+ * @returns Promise that resolves with the created tax
26
+ */
27
+ async createAsync(businessId, request, options, config) {
28
+ return await this.createEntity(`/v1/businesses/${businessId}/taxes`, request, options, config);
29
+ }
30
+ /**
31
+ * Updates an existing tax record
32
+ * @param businessId - The business ID
33
+ * @param id - The tax ID to update
34
+ * @param request - Tax update request data
35
+ * @param options - Request options
36
+ * @param config - Axios request configuration
37
+ * @returns Promise that resolves with the updated tax
38
+ */
39
+ async updateAsync(businessId, id, request, options, config) {
40
+ return await this.updateEntity(`/v1/businesses/${businessId}/taxes/${id}`, request, options, config);
41
+ }
42
+ /**
43
+ * Lists taxes with pagination
44
+ * @param businessId - The business ID
45
+ * @param request - List request parameters
46
+ * @param options - Request options
47
+ * @param config - Axios request configuration
48
+ * @returns Promise that resolves with paginated tax data
49
+ */
50
+ async listAsync(businessId, request, options, config) {
51
+ return await this.listEntities(`/v1/businesses/${businessId}/taxes`, request, options, config);
52
+ }
53
+ /**
54
+ * Retrieves a tax by its ID
55
+ * @param businessId - The business ID
56
+ * @param id - The tax ID
57
+ * @param options - Request options
58
+ * @param config - Axios request configuration
59
+ * @returns Promise that resolves with the tax data
60
+ */
61
+ async getByIdAsync(businessId, id, options, config) {
62
+ return await this.getEntityById(`/v1/businesses/${businessId}/taxes/${id}`, options, config);
63
+ }
64
+ /**
65
+ * Deletes a tax record
66
+ * @param businessId - The business ID
67
+ * @param id - The tax ID to delete
68
+ * @param options - Request options
69
+ * @param config - Axios request configuration
70
+ * @returns Promise that resolves with the deleted tax
71
+ */
72
+ async deleteAsync(businessId, id, options, config) {
73
+ return await this.deleteEntity(`/v1/businesses/${businessId}/taxes/${id}`, options, config);
74
+ }
75
+ /**
76
+ * Performs a batch operation on taxes
77
+ * @param businessId - The business ID
78
+ * @param request - Batch upsert request data
79
+ * @param options - Request options
80
+ * @param config - Axios request configuration
81
+ * @returns Promise that resolves with the batch result
82
+ */
83
+ async batch(businessId, request, options, config) {
84
+ return await this.createEntity(`/v1/businesses/${businessId}/taxes/batch`, request, options, config);
85
+ }
86
+ }
87
+
88
+ exports.TaxService = TaxService;
89
+ //# sourceMappingURL=TaxService.cjs.map