@smartbills/sdk 0.0.2-alpha.43 → 0.0.2-alpha.45

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 (1281) hide show
  1. package/dist/@types/client/SBClient.d.ts +78 -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/customers/SBCustomer.d.ts +35 -0
  68. package/dist/@types/entities/businesses/customers/SBCustomer.d.ts.map +1 -0
  69. package/dist/@types/entities/businesses/customers/balance-transactions/SBCustomerBalanceTransaction.d.ts +12 -0
  70. package/dist/@types/entities/businesses/customers/balance-transactions/SBCustomerBalanceTransaction.d.ts.map +1 -0
  71. package/dist/@types/entities/businesses/departments/SBDepartment.d.ts +35 -0
  72. package/dist/@types/entities/businesses/departments/SBDepartment.d.ts.map +1 -0
  73. package/dist/@types/entities/businesses/departments/SBDepartmentTeamMember.d.ts +22 -0
  74. package/dist/@types/entities/businesses/departments/SBDepartmentTeamMember.d.ts.map +1 -0
  75. package/dist/@types/entities/businesses/fees/SBFee.d.ts +12 -0
  76. package/dist/@types/entities/businesses/fees/SBFee.d.ts.map +1 -0
  77. package/dist/@types/entities/businesses/fees/SBFeeType.d.ts +7 -0
  78. package/dist/@types/entities/businesses/fees/SBFeeType.d.ts.map +1 -0
  79. package/dist/@types/entities/businesses/locations/SBLocation.d.ts +16 -0
  80. package/dist/@types/entities/businesses/locations/SBLocation.d.ts.map +1 -0
  81. package/dist/@types/entities/businesses/locations/SBLocationBatch.d.ts +9 -0
  82. package/dist/@types/entities/businesses/locations/SBLocationBatch.d.ts.map +1 -0
  83. package/dist/@types/entities/businesses/products/SBProduct.d.ts +21 -0
  84. package/dist/@types/entities/businesses/products/SBProduct.d.ts.map +1 -0
  85. package/dist/@types/entities/businesses/products/SBProductImage.d.ts +8 -0
  86. package/dist/@types/entities/businesses/products/SBProductImage.d.ts.map +1 -0
  87. package/dist/@types/entities/businesses/products/SBProductTranslation.d.ts +11 -0
  88. package/dist/@types/entities/businesses/products/SBProductTranslation.d.ts.map +1 -0
  89. package/dist/@types/entities/businesses/products/SBProductVariant.d.ts +18 -0
  90. package/dist/@types/entities/businesses/products/SBProductVariant.d.ts.map +1 -0
  91. package/dist/@types/entities/businesses/products/SBProductVariantOption.d.ts +7 -0
  92. package/dist/@types/entities/businesses/products/SBProductVariantOption.d.ts.map +1 -0
  93. package/dist/@types/entities/businesses/products/SBProductVendor.d.ts +7 -0
  94. package/dist/@types/entities/businesses/products/SBProductVendor.d.ts.map +1 -0
  95. package/dist/@types/entities/businesses/products/modifiers/SBProductModifier.d.ts +10 -0
  96. package/dist/@types/entities/businesses/products/modifiers/SBProductModifier.d.ts.map +1 -0
  97. package/dist/@types/entities/businesses/products/options/SBProductOption.d.ts +33 -0
  98. package/dist/@types/entities/businesses/products/options/SBProductOption.d.ts.map +1 -0
  99. package/dist/@types/entities/businesses/promo-codes/SBPromoCode.d.ts +13 -0
  100. package/dist/@types/entities/businesses/promo-codes/SBPromoCode.d.ts.map +1 -0
  101. package/dist/@types/entities/businesses/promo-codes/SBPromoCodeType.d.ts +4 -0
  102. package/dist/@types/entities/businesses/promo-codes/SBPromoCodeType.d.ts.map +1 -0
  103. package/dist/@types/entities/businesses/reviews/SBBusinessReview.d.ts +9 -0
  104. package/dist/@types/entities/businesses/reviews/SBBusinessReview.d.ts.map +1 -0
  105. package/dist/@types/entities/businesses/tables/SBTable.d.ts +15 -0
  106. package/dist/@types/entities/businesses/tables/SBTable.d.ts.map +1 -0
  107. package/dist/@types/entities/businesses/taxes/SBReceiptItemTax.d.ts +10 -0
  108. package/dist/@types/entities/businesses/taxes/SBReceiptItemTax.d.ts.map +1 -0
  109. package/dist/@types/entities/businesses/taxes/SBReceiptTax.d.ts +12 -0
  110. package/dist/@types/entities/businesses/taxes/SBReceiptTax.d.ts.map +1 -0
  111. package/dist/@types/entities/businesses/taxes/SBTax.d.ts +17 -0
  112. package/dist/@types/entities/businesses/taxes/SBTax.d.ts.map +1 -0
  113. package/dist/@types/entities/businesses/taxes/SBTaxType.d.ts +4 -0
  114. package/dist/@types/entities/businesses/taxes/SBTaxType.d.ts.map +1 -0
  115. package/dist/@types/entities/businesses/team/invitations/SBTeamMemberInvitation.d.ts +17 -0
  116. package/dist/@types/entities/businesses/team/invitations/SBTeamMemberInvitation.d.ts.map +1 -0
  117. package/dist/@types/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.d.ts +9 -0
  118. package/dist/@types/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.d.ts.map +1 -0
  119. package/dist/@types/entities/businesses/team/members/SBTeamMember.d.ts +22 -0
  120. package/dist/@types/entities/businesses/team/members/SBTeamMember.d.ts.map +1 -0
  121. package/dist/@types/entities/businesses/team/members/SBTeamMemberRole.d.ts +10 -0
  122. package/dist/@types/entities/businesses/team/members/SBTeamMemberRole.d.ts.map +1 -0
  123. package/dist/@types/entities/businesses/team/members/SBTeamMemberStatus.d.ts +10 -0
  124. package/dist/@types/entities/businesses/team/members/SBTeamMemberStatus.d.ts.map +1 -0
  125. package/dist/@types/entities/cards/SBCard.d.ts +20 -0
  126. package/dist/@types/entities/cards/SBCard.d.ts.map +1 -0
  127. package/dist/@types/entities/cards/SBCardSetupIntent.d.ts +7 -0
  128. package/dist/@types/entities/cards/SBCardSetupIntent.d.ts.map +1 -0
  129. package/dist/@types/entities/cards/SBCardType.d.ts +9 -0
  130. package/dist/@types/entities/cards/SBCardType.d.ts.map +1 -0
  131. package/dist/@types/entities/common/ImageUploadRequest.d.ts +8 -0
  132. package/dist/@types/entities/common/ImageUploadRequest.d.ts.map +1 -0
  133. package/dist/@types/entities/documents/SBDocument.d.ts +16 -0
  134. package/dist/@types/entities/documents/SBDocument.d.ts.map +1 -0
  135. package/dist/@types/entities/documents/SBDocumentUpload.d.ts +8 -0
  136. package/dist/@types/entities/documents/SBDocumentUpload.d.ts.map +1 -0
  137. package/dist/@types/entities/documents/ocr/SBBoundingBox.d.ts +10 -0
  138. package/dist/@types/entities/documents/ocr/SBBoundingBox.d.ts.map +1 -0
  139. package/dist/@types/entities/documents/ocr/SBDocumentOCR.d.ts +10 -0
  140. package/dist/@types/entities/documents/ocr/SBDocumentOCR.d.ts.map +1 -0
  141. package/dist/@types/entities/documents/ocr/SBExpenseDetection.d.ts +11 -0
  142. package/dist/@types/entities/documents/ocr/SBExpenseDetection.d.ts.map +1 -0
  143. package/dist/@types/entities/documents/ocr/SBExpenseField.d.ts +13 -0
  144. package/dist/@types/entities/documents/ocr/SBExpenseField.d.ts.map +1 -0
  145. package/dist/@types/entities/documents/ocr/SBExpenseType.d.ts +8 -0
  146. package/dist/@types/entities/documents/ocr/SBExpenseType.d.ts.map +1 -0
  147. package/dist/@types/entities/documents/ocr/SBGeometry.d.ts +11 -0
  148. package/dist/@types/entities/documents/ocr/SBGeometry.d.ts.map +1 -0
  149. package/dist/@types/entities/documents/ocr/SBLineItemFields.d.ts +9 -0
  150. package/dist/@types/entities/documents/ocr/SBLineItemFields.d.ts.map +1 -0
  151. package/dist/@types/entities/documents/ocr/SBLineItemGroup.d.ts +10 -0
  152. package/dist/@types/entities/documents/ocr/SBLineItemGroup.d.ts.map +1 -0
  153. package/dist/@types/entities/documents/ocr/SBOCRResult.d.ts +12 -0
  154. package/dist/@types/entities/documents/ocr/SBOCRResult.d.ts.map +1 -0
  155. package/dist/@types/entities/documents/ocr/SBPoint.d.ts +7 -0
  156. package/dist/@types/entities/documents/ocr/SBPoint.d.ts.map +1 -0
  157. package/dist/@types/entities/domains/SBDomain.d.ts +10 -0
  158. package/dist/@types/entities/domains/SBDomain.d.ts.map +1 -0
  159. package/dist/@types/entities/expense-groups/SBExpenseGroup.d.ts +15 -0
  160. package/dist/@types/entities/expense-groups/SBExpenseGroup.d.ts.map +1 -0
  161. package/dist/@types/entities/expense-groups/SBExpenseGroupAutomation.d.ts +5 -0
  162. package/dist/@types/entities/expense-groups/SBExpenseGroupAutomation.d.ts.map +1 -0
  163. package/dist/@types/entities/expense-groups/SBExpenseGroupBudget.d.ts +7 -0
  164. package/dist/@types/entities/expense-groups/SBExpenseGroupBudget.d.ts.map +1 -0
  165. package/dist/@types/entities/expense-groups/SBExpenseGroupForm.d.ts +12 -0
  166. package/dist/@types/entities/expense-groups/SBExpenseGroupForm.d.ts.map +1 -0
  167. package/dist/@types/entities/explore/SBExploreBusiness.d.ts +14 -0
  168. package/dist/@types/entities/explore/SBExploreBusiness.d.ts.map +1 -0
  169. package/dist/@types/entities/friends/SBFriend.d.ts +10 -0
  170. package/dist/@types/entities/friends/SBFriend.d.ts.map +1 -0
  171. package/dist/@types/entities/friends/SBFriendRequest.d.ts +10 -0
  172. package/dist/@types/entities/friends/SBFriendRequest.d.ts.map +1 -0
  173. package/dist/@types/entities/fulfillment/SBFulfillment.d.ts +24 -0
  174. package/dist/@types/entities/fulfillment/SBFulfillment.d.ts.map +1 -0
  175. package/dist/@types/entities/fulfillment/SBFulfillmentItem.d.ts +13 -0
  176. package/dist/@types/entities/fulfillment/SBFulfillmentItem.d.ts.map +1 -0
  177. package/dist/@types/entities/images/SBImage.d.ts +13 -0
  178. package/dist/@types/entities/images/SBImage.d.ts.map +1 -0
  179. package/dist/@types/entities/integrations/SBIntegration.d.ts +16 -0
  180. package/dist/@types/entities/integrations/SBIntegration.d.ts.map +1 -0
  181. package/dist/@types/entities/invoices/SBInvoice.d.ts +7 -0
  182. package/dist/@types/entities/invoices/SBInvoice.d.ts.map +1 -0
  183. package/dist/@types/entities/loyalty.d.ts +266 -0
  184. package/dist/@types/entities/loyalty.d.ts.map +1 -0
  185. package/dist/@types/entities/money/SBMoney.d.ts +7 -0
  186. package/dist/@types/entities/money/SBMoney.d.ts.map +1 -0
  187. package/dist/@types/entities/notifications/SBNotification.d.ts +29 -0
  188. package/dist/@types/entities/notifications/SBNotification.d.ts.map +1 -0
  189. package/dist/@types/entities/oauth/JwtToken.d.ts +10 -0
  190. package/dist/@types/entities/oauth/JwtToken.d.ts.map +1 -0
  191. package/dist/@types/entities/payment-methods/SBPaymentMethod.d.ts +25 -0
  192. package/dist/@types/entities/payment-methods/SBPaymentMethod.d.ts.map +1 -0
  193. package/dist/@types/entities/payment-methods/SBPaymentMethodBank.d.ts +10 -0
  194. package/dist/@types/entities/payment-methods/SBPaymentMethodBank.d.ts.map +1 -0
  195. package/dist/@types/entities/payment-methods/SBPaymentMethodCard.d.ts +19 -0
  196. package/dist/@types/entities/payment-methods/SBPaymentMethodCard.d.ts.map +1 -0
  197. package/dist/@types/entities/payment-methods/SBPaymentMethodFingerprint.d.ts +7 -0
  198. package/dist/@types/entities/payment-methods/SBPaymentMethodFingerprint.d.ts.map +1 -0
  199. package/dist/@types/entities/payment-methods/SBPaymentMethodFingerprintProvider.d.ts +7 -0
  200. package/dist/@types/entities/payment-methods/SBPaymentMethodFingerprintProvider.d.ts.map +1 -0
  201. package/dist/@types/entities/payment-methods/SBPaymentMethodSetup.d.ts +8 -0
  202. package/dist/@types/entities/payment-methods/SBPaymentMethodSetup.d.ts.map +1 -0
  203. package/dist/@types/entities/payments/SBPaymentStatus.d.ts +28 -0
  204. package/dist/@types/entities/payments/SBPaymentStatus.d.ts.map +1 -0
  205. package/dist/@types/entities/prices/SBPrice.d.ts +13 -0
  206. package/dist/@types/entities/prices/SBPrice.d.ts.map +1 -0
  207. package/dist/@types/entities/receipts/SBReceipt.d.ts +65 -0
  208. package/dist/@types/entities/receipts/SBReceipt.d.ts.map +1 -0
  209. package/dist/@types/entities/receipts/SBReceiptBatch.d.ts +8 -0
  210. package/dist/@types/entities/receipts/SBReceiptBatch.d.ts.map +1 -0
  211. package/dist/@types/entities/receipts/SBReceiptFee.d.ts +11 -0
  212. package/dist/@types/entities/receipts/SBReceiptFee.d.ts.map +1 -0
  213. package/dist/@types/entities/receipts/SBReceiptItem.d.ts +23 -0
  214. package/dist/@types/entities/receipts/SBReceiptItem.d.ts.map +1 -0
  215. package/dist/@types/entities/receipts/SBReceiptItemSplit.d.ts +14 -0
  216. package/dist/@types/entities/receipts/SBReceiptItemSplit.d.ts.map +1 -0
  217. package/dist/@types/entities/receipts/SBReceiptSource.d.ts +10 -0
  218. package/dist/@types/entities/receipts/SBReceiptSource.d.ts.map +1 -0
  219. package/dist/@types/entities/receipts/SBReceiptTransaction.d.ts +23 -0
  220. package/dist/@types/entities/receipts/SBReceiptTransaction.d.ts.map +1 -0
  221. package/dist/@types/entities/receipts/SBReceiptType.d.ts +9 -0
  222. package/dist/@types/entities/receipts/SBReceiptType.d.ts.map +1 -0
  223. package/dist/@types/entities/receipts/SBReceiptUser.d.ts +12 -0
  224. package/dist/@types/entities/receipts/SBReceiptUser.d.ts.map +1 -0
  225. package/dist/@types/entities/receipts/discounts/SBReceiptDiscount.d.ts +14 -0
  226. package/dist/@types/entities/receipts/discounts/SBReceiptDiscount.d.ts.map +1 -0
  227. package/dist/@types/entities/receipts/metadata/SBBrowserMetadata.d.ts +11 -0
  228. package/dist/@types/entities/receipts/metadata/SBBrowserMetadata.d.ts.map +1 -0
  229. package/dist/@types/entities/receipts/metadata/SBMetadata.d.ts +4 -0
  230. package/dist/@types/entities/receipts/metadata/SBMetadata.d.ts.map +1 -0
  231. package/dist/@types/entities/receipts/metadata/SBReceiptMetadata.d.ts +15 -0
  232. package/dist/@types/entities/receipts/metadata/SBReceiptMetadata.d.ts.map +1 -0
  233. package/dist/@types/entities/receipts/payments/SBReceiptPayment.d.ts +40 -0
  234. package/dist/@types/entities/receipts/payments/SBReceiptPayment.d.ts.map +1 -0
  235. package/dist/@types/entities/receipts/payments/SBReceiptPaymentBalance.d.ts +5 -0
  236. package/dist/@types/entities/receipts/payments/SBReceiptPaymentBalance.d.ts.map +1 -0
  237. package/dist/@types/entities/receipts/payments/SBReceiptPaymentBankAccount.d.ts +12 -0
  238. package/dist/@types/entities/receipts/payments/SBReceiptPaymentBankAccount.d.ts.map +1 -0
  239. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCard.d.ts +23 -0
  240. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCard.d.ts.map +1 -0
  241. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardAvsResult.d.ts +15 -0
  242. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardAvsResult.d.ts.map +1 -0
  243. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardCvvResult.d.ts +8 -0
  244. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardCvvResult.d.ts.map +1 -0
  245. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardEMV.d.ts +5 -0
  246. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardEMV.d.ts.map +1 -0
  247. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.d.ts +10 -0
  248. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.d.ts.map +1 -0
  249. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardError.d.ts +7 -0
  250. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardError.d.ts.map +1 -0
  251. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardTimeline.d.ts +8 -0
  252. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCardTimeline.d.ts.map +1 -0
  253. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCash.d.ts +9 -0
  254. package/dist/@types/entities/receipts/payments/SBReceiptPaymentCash.d.ts.map +1 -0
  255. package/dist/@types/entities/receipts/payments/SBReceiptPaymentExternal.d.ts +12 -0
  256. package/dist/@types/entities/receipts/payments/SBReceiptPaymentExternal.d.ts.map +1 -0
  257. package/dist/@types/entities/receipts/payments/SBReceiptPaymentExternalType.d.ts +17 -0
  258. package/dist/@types/entities/receipts/payments/SBReceiptPaymentExternalType.d.ts.map +1 -0
  259. package/dist/@types/entities/receipts/payments/SBReceiptPaymentMethodCard.d.ts +19 -0
  260. package/dist/@types/entities/receipts/payments/SBReceiptPaymentMethodCard.d.ts.map +1 -0
  261. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRefund.d.ts +7 -0
  262. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRefund.d.ts.map +1 -0
  263. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRiskEvaluation.d.ts +9 -0
  264. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRiskEvaluation.d.ts.map +1 -0
  265. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRiskLevel.d.ts +8 -0
  266. package/dist/@types/entities/receipts/payments/SBReceiptPaymentRiskLevel.d.ts.map +1 -0
  267. package/dist/@types/entities/receipts/payments/SBReceiptPaymentStatus.d.ts +10 -0
  268. package/dist/@types/entities/receipts/payments/SBReceiptPaymentStatus.d.ts.map +1 -0
  269. package/dist/@types/entities/receipts/payments/SBReceiptPaymentType.d.ts +11 -0
  270. package/dist/@types/entities/receipts/payments/SBReceiptPaymentType.d.ts.map +1 -0
  271. package/dist/@types/entities/receipts/transactions/SBPaymentDetail.d.ts +11 -0
  272. package/dist/@types/entities/receipts/transactions/SBPaymentDetail.d.ts.map +1 -0
  273. package/dist/@types/entities/refund/SBReceiptItemRefund.d.ts +17 -0
  274. package/dist/@types/entities/refund/SBReceiptItemRefund.d.ts.map +1 -0
  275. package/dist/@types/entities/refund/SBRefund.d.ts +18 -0
  276. package/dist/@types/entities/refund/SBRefund.d.ts.map +1 -0
  277. package/dist/@types/entities/refund/SBRefundAjustment.d.ts +15 -0
  278. package/dist/@types/entities/refund/SBRefundAjustment.d.ts.map +1 -0
  279. package/dist/@types/entities/reports/SBDateRange.d.ts +7 -0
  280. package/dist/@types/entities/reports/SBDateRange.d.ts.map +1 -0
  281. package/dist/@types/entities/reports/SBPeriodReport.d.ts +9 -0
  282. package/dist/@types/entities/reports/SBPeriodReport.d.ts.map +1 -0
  283. package/dist/@types/entities/reports/SBPeriodReportData.d.ts +9 -0
  284. package/dist/@types/entities/reports/SBPeriodReportData.d.ts.map +1 -0
  285. package/dist/@types/entities/settlements/SBSettlement.d.ts +18 -0
  286. package/dist/@types/entities/settlements/SBSettlement.d.ts.map +1 -0
  287. package/dist/@types/entities/settlements/SBSettlementPayment.d.ts +15 -0
  288. package/dist/@types/entities/settlements/SBSettlementPayment.d.ts.map +1 -0
  289. package/dist/@types/entities/subscriptions/SBSubscription.d.ts +43 -0
  290. package/dist/@types/entities/subscriptions/SBSubscription.d.ts.map +1 -0
  291. package/dist/@types/entities/transactions/SBTransaction.d.ts +22 -0
  292. package/dist/@types/entities/transactions/SBTransaction.d.ts.map +1 -0
  293. package/dist/@types/entities/transactions/SBTransactionType.d.ts +9 -0
  294. package/dist/@types/entities/transactions/SBTransactionType.d.ts.map +1 -0
  295. package/dist/@types/entities/users/SBUser.d.ts +10 -0
  296. package/dist/@types/entities/users/SBUser.d.ts.map +1 -0
  297. package/dist/@types/entities/vendors/SBVendor.d.ts +15 -0
  298. package/dist/@types/entities/vendors/SBVendor.d.ts.map +1 -0
  299. package/dist/@types/entities/wallet/SBWallet.d.ts +27 -0
  300. package/dist/@types/entities/wallet/SBWallet.d.ts.map +1 -0
  301. package/dist/@types/index.d.ts +346 -0
  302. package/dist/@types/index.d.ts.map +1 -0
  303. package/dist/@types/interfaces/IBatchable.d.ts +40 -0
  304. package/dist/@types/interfaces/IBatchable.d.ts.map +1 -0
  305. package/dist/@types/interfaces/ICreatable.d.ts +37 -0
  306. package/dist/@types/interfaces/ICreatable.d.ts.map +1 -0
  307. package/dist/@types/interfaces/IDeletable.d.ts +35 -0
  308. package/dist/@types/interfaces/IDeletable.d.ts.map +1 -0
  309. package/dist/@types/interfaces/IListable.d.ts +38 -0
  310. package/dist/@types/interfaces/IListable.d.ts.map +1 -0
  311. package/dist/@types/interfaces/IRetrievable.d.ts +35 -0
  312. package/dist/@types/interfaces/IRetrievable.d.ts.map +1 -0
  313. package/dist/@types/interfaces/IRetrievableById.d.ts +50 -0
  314. package/dist/@types/interfaces/IRetrievableById.d.ts.map +1 -0
  315. package/dist/@types/interfaces/ITimestamp.d.ts +13 -0
  316. package/dist/@types/interfaces/ITimestamp.d.ts.map +1 -0
  317. package/dist/@types/interfaces/IUpdatable.d.ts +39 -0
  318. package/dist/@types/interfaces/IUpdatable.d.ts.map +1 -0
  319. package/dist/@types/services/BatchUpsertRequest.d.ts +17 -0
  320. package/dist/@types/services/BatchUpsertRequest.d.ts.map +1 -0
  321. package/dist/@types/services/ListRequest.d.ts +21 -0
  322. package/dist/@types/services/ListRequest.d.ts.map +1 -0
  323. package/dist/@types/services/SBService.d.ts +88 -0
  324. package/dist/@types/services/SBService.d.ts.map +1 -0
  325. package/dist/@types/services/UpsertRequest.d.ts +20 -0
  326. package/dist/@types/services/UpsertRequest.d.ts.map +1 -0
  327. package/dist/@types/services/addresses/AddressRequest.d.ts +13 -0
  328. package/dist/@types/services/addresses/AddressRequest.d.ts.map +1 -0
  329. package/dist/@types/services/addresses/BillingAddressRequest.d.ts +12 -0
  330. package/dist/@types/services/addresses/BillingAddressRequest.d.ts.map +1 -0
  331. package/dist/@types/services/api-logs/LogListRequest.d.ts +7 -0
  332. package/dist/@types/services/api-logs/LogListRequest.d.ts.map +1 -0
  333. package/dist/@types/services/api-logs/LogService.d.ts +18 -0
  334. package/dist/@types/services/api-logs/LogService.d.ts.map +1 -0
  335. package/dist/@types/services/attachments/AttachmentCreateRequest.d.ts +20 -0
  336. package/dist/@types/services/attachments/AttachmentCreateRequest.d.ts.map +1 -0
  337. package/dist/@types/services/attachments/AttachmentListRequest.d.ts +19 -0
  338. package/dist/@types/services/attachments/AttachmentListRequest.d.ts.map +1 -0
  339. package/dist/@types/services/attachments/AttachmentService.d.ts +85 -0
  340. package/dist/@types/services/attachments/AttachmentService.d.ts.map +1 -0
  341. package/dist/@types/services/attachments/AttachmentUpdateRequest.d.ts +23 -0
  342. package/dist/@types/services/attachments/AttachmentUpdateRequest.d.ts.map +1 -0
  343. package/dist/@types/services/attachments/AttachmentUpsertRequest.d.ts +23 -0
  344. package/dist/@types/services/attachments/AttachmentUpsertRequest.d.ts.map +1 -0
  345. package/dist/@types/services/banks/BankCreateRequest.d.ts +32 -0
  346. package/dist/@types/services/banks/BankCreateRequest.d.ts.map +1 -0
  347. package/dist/@types/services/banks/BankLinkResponse.d.ts +7 -0
  348. package/dist/@types/services/banks/BankLinkResponse.d.ts.map +1 -0
  349. package/dist/@types/services/banks/BankLinkTokenResponse.d.ts +7 -0
  350. package/dist/@types/services/banks/BankLinkTokenResponse.d.ts.map +1 -0
  351. package/dist/@types/services/banks/BankListRequest.d.ts +13 -0
  352. package/dist/@types/services/banks/BankListRequest.d.ts.map +1 -0
  353. package/dist/@types/services/banks/BankService.d.ts +169 -0
  354. package/dist/@types/services/banks/BankService.d.ts.map +1 -0
  355. package/dist/@types/services/banks/BankUpdateRequest.d.ts +9 -0
  356. package/dist/@types/services/banks/BankUpdateRequest.d.ts.map +1 -0
  357. package/dist/@types/services/banks/accounts/BankAccountCreateRequest.d.ts +11 -0
  358. package/dist/@types/services/banks/accounts/BankAccountCreateRequest.d.ts.map +1 -0
  359. package/dist/@types/services/banks/accounts/BankAccountListRequest.d.ts +5 -0
  360. package/dist/@types/services/banks/accounts/BankAccountListRequest.d.ts.map +1 -0
  361. package/dist/@types/services/banks/accounts/BankAccountService.d.ts +22 -0
  362. package/dist/@types/services/banks/accounts/BankAccountService.d.ts.map +1 -0
  363. package/dist/@types/services/banks/accounts/BankAccountUpdateRequest.d.ts +10 -0
  364. package/dist/@types/services/banks/accounts/BankAccountUpdateRequest.d.ts.map +1 -0
  365. package/dist/@types/services/banks/institutions/BankInstitutionListRequest.d.ts +7 -0
  366. package/dist/@types/services/banks/institutions/BankInstitutionListRequest.d.ts.map +1 -0
  367. package/dist/@types/services/banks/institutions/BankInstitutionService.d.ts +18 -0
  368. package/dist/@types/services/banks/institutions/BankInstitutionService.d.ts.map +1 -0
  369. package/dist/@types/services/banks/transactions/BankTransactionListRequest.d.ts +8 -0
  370. package/dist/@types/services/banks/transactions/BankTransactionListRequest.d.ts.map +1 -0
  371. package/dist/@types/services/banks/transactions/BankTransactionService.d.ts +24 -0
  372. package/dist/@types/services/banks/transactions/BankTransactionService.d.ts.map +1 -0
  373. package/dist/@types/services/billing/subscriptions/SubscriptionCreateRequest.d.ts +28 -0
  374. package/dist/@types/services/billing/subscriptions/SubscriptionCreateRequest.d.ts.map +1 -0
  375. package/dist/@types/services/billing/subscriptions/SubscriptionListRequest.d.ts +31 -0
  376. package/dist/@types/services/billing/subscriptions/SubscriptionListRequest.d.ts.map +1 -0
  377. package/dist/@types/services/billing/subscriptions/SubscriptionService.d.ts +120 -0
  378. package/dist/@types/services/billing/subscriptions/SubscriptionService.d.ts.map +1 -0
  379. package/dist/@types/services/billing/subscriptions/SubscriptionUpdateRequest.d.ts +29 -0
  380. package/dist/@types/services/billing/subscriptions/SubscriptionUpdateRequest.d.ts.map +1 -0
  381. package/dist/@types/services/billing/subscriptions/SubscriptionUpsertRequest.d.ts +33 -0
  382. package/dist/@types/services/billing/subscriptions/SubscriptionUpsertRequest.d.ts.map +1 -0
  383. package/dist/@types/services/businesses/BusinessCreateRequest.d.ts +37 -0
  384. package/dist/@types/services/businesses/BusinessCreateRequest.d.ts.map +1 -0
  385. package/dist/@types/services/businesses/BusinessInvitationRequest.d.ts +7 -0
  386. package/dist/@types/services/businesses/BusinessInvitationRequest.d.ts.map +1 -0
  387. package/dist/@types/services/businesses/BusinessListRequest.d.ts +7 -0
  388. package/dist/@types/services/businesses/BusinessListRequest.d.ts.map +1 -0
  389. package/dist/@types/services/businesses/BusinessService.d.ts +66 -0
  390. package/dist/@types/services/businesses/BusinessService.d.ts.map +1 -0
  391. package/dist/@types/services/businesses/BusinessUpdateRequest.d.ts +36 -0
  392. package/dist/@types/services/businesses/BusinessUpdateRequest.d.ts.map +1 -0
  393. package/dist/@types/services/businesses/customers/CustomerBatchUpsertRequest.d.ts +8 -0
  394. package/dist/@types/services/businesses/customers/CustomerBatchUpsertRequest.d.ts.map +1 -0
  395. package/dist/@types/services/businesses/customers/CustomerCreateRequest.d.ts +19 -0
  396. package/dist/@types/services/businesses/customers/CustomerCreateRequest.d.ts.map +1 -0
  397. package/dist/@types/services/businesses/customers/CustomerListRequest.d.ts +8 -0
  398. package/dist/@types/services/businesses/customers/CustomerListRequest.d.ts.map +1 -0
  399. package/dist/@types/services/businesses/customers/CustomerService.d.ts +94 -0
  400. package/dist/@types/services/businesses/customers/CustomerService.d.ts.map +1 -0
  401. package/dist/@types/services/businesses/customers/CustomerUpdateRequest.d.ts +5 -0
  402. package/dist/@types/services/businesses/customers/CustomerUpdateRequest.d.ts.map +1 -0
  403. package/dist/@types/services/businesses/customers/CustomerUpsertRequest.d.ts +8 -0
  404. package/dist/@types/services/businesses/customers/CustomerUpsertRequest.d.ts.map +1 -0
  405. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionCreateRequest.d.ts +10 -0
  406. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionCreateRequest.d.ts.map +1 -0
  407. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionListRequest.d.ts +7 -0
  408. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionListRequest.d.ts.map +1 -0
  409. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.d.ts +75 -0
  410. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.d.ts.map +1 -0
  411. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionUpdateRequest.d.ts +6 -0
  412. package/dist/@types/services/businesses/customers/balance-transactions/CustomerBalanceTransactionUpdateRequest.d.ts.map +1 -0
  413. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodCreateRequest.d.ts +5 -0
  414. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodCreateRequest.d.ts.map +1 -0
  415. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodListRequest.d.ts +7 -0
  416. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodListRequest.d.ts.map +1 -0
  417. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodService.d.ts +75 -0
  418. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodService.d.ts.map +1 -0
  419. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodUpdateRequest.d.ts +5 -0
  420. package/dist/@types/services/businesses/customers/payment-methods/CustomerPaymentMethodUpdateRequest.d.ts.map +1 -0
  421. package/dist/@types/services/businesses/departments/DepartmentBatchUpsertRequest.d.ts +11 -0
  422. package/dist/@types/services/businesses/departments/DepartmentBatchUpsertRequest.d.ts.map +1 -0
  423. package/dist/@types/services/businesses/departments/DepartmentCreateRequest.d.ts +36 -0
  424. package/dist/@types/services/businesses/departments/DepartmentCreateRequest.d.ts.map +1 -0
  425. package/dist/@types/services/businesses/departments/DepartmentService.d.ts +149 -0
  426. package/dist/@types/services/businesses/departments/DepartmentService.d.ts.map +1 -0
  427. package/dist/@types/services/businesses/departments/DepartmentUpdateRequest.d.ts +40 -0
  428. package/dist/@types/services/businesses/departments/DepartmentUpdateRequest.d.ts.map +1 -0
  429. package/dist/@types/services/businesses/departments/DepartmentUpsertRequest.d.ts +8 -0
  430. package/dist/@types/services/businesses/departments/DepartmentUpsertRequest.d.ts.map +1 -0
  431. package/dist/@types/services/businesses/departments/DepartmentsListRequest.d.ts +26 -0
  432. package/dist/@types/services/businesses/departments/DepartmentsListRequest.d.ts.map +1 -0
  433. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeCreateRequest.d.ts +9 -0
  434. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeCreateRequest.d.ts.map +1 -0
  435. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeListRequest.d.ts +11 -0
  436. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeListRequest.d.ts.map +1 -0
  437. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeService.d.ts +75 -0
  438. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeService.d.ts.map +1 -0
  439. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeUpdateRequest.d.ts +10 -0
  440. package/dist/@types/services/businesses/departments/Employees/DepartmentEmployeeUpdateRequest.d.ts.map +1 -0
  441. package/dist/@types/services/businesses/domains/CreateDomainRequest.d.ts +6 -0
  442. package/dist/@types/services/businesses/domains/CreateDomainRequest.d.ts.map +1 -0
  443. package/dist/@types/services/businesses/domains/DomainService.d.ts +21 -0
  444. package/dist/@types/services/businesses/domains/DomainService.d.ts.map +1 -0
  445. package/dist/@types/services/businesses/domains/GetDomainsRequest.d.ts +7 -0
  446. package/dist/@types/services/businesses/domains/GetDomainsRequest.d.ts.map +1 -0
  447. package/dist/@types/services/businesses/fees/FeeCreateRequest.d.ts +12 -0
  448. package/dist/@types/services/businesses/fees/FeeCreateRequest.d.ts.map +1 -0
  449. package/dist/@types/services/businesses/fees/FeeListRequest.d.ts +7 -0
  450. package/dist/@types/services/businesses/fees/FeeListRequest.d.ts.map +1 -0
  451. package/dist/@types/services/businesses/fees/FeeService.d.ts +93 -0
  452. package/dist/@types/services/businesses/fees/FeeService.d.ts.map +1 -0
  453. package/dist/@types/services/businesses/fees/FeeUpdateRequest.d.ts +9 -0
  454. package/dist/@types/services/businesses/fees/FeeUpdateRequest.d.ts.map +1 -0
  455. package/dist/@types/services/businesses/fees/FeeUpsertRequest.d.ts +8 -0
  456. package/dist/@types/services/businesses/fees/FeeUpsertRequest.d.ts.map +1 -0
  457. package/dist/@types/services/businesses/locations/LocationBatchUpsertRequest.d.ts +8 -0
  458. package/dist/@types/services/businesses/locations/LocationBatchUpsertRequest.d.ts.map +1 -0
  459. package/dist/@types/services/businesses/locations/LocationCreateRequest.d.ts +13 -0
  460. package/dist/@types/services/businesses/locations/LocationCreateRequest.d.ts.map +1 -0
  461. package/dist/@types/services/businesses/locations/LocationService.d.ts +126 -0
  462. package/dist/@types/services/businesses/locations/LocationService.d.ts.map +1 -0
  463. package/dist/@types/services/businesses/locations/LocationUpdateRequest.d.ts +11 -0
  464. package/dist/@types/services/businesses/locations/LocationUpdateRequest.d.ts.map +1 -0
  465. package/dist/@types/services/businesses/locations/LocationUpsertRequest.d.ts +8 -0
  466. package/dist/@types/services/businesses/locations/LocationUpsertRequest.d.ts.map +1 -0
  467. package/dist/@types/services/businesses/locations/LocationsListRequest.d.ts +7 -0
  468. package/dist/@types/services/businesses/locations/LocationsListRequest.d.ts.map +1 -0
  469. package/dist/@types/services/businesses/prices/PriceCreateRequest.d.ts +5 -0
  470. package/dist/@types/services/businesses/prices/PriceCreateRequest.d.ts.map +1 -0
  471. package/dist/@types/services/businesses/prices/PriceService.d.ts +23 -0
  472. package/dist/@types/services/businesses/prices/PriceService.d.ts.map +1 -0
  473. package/dist/@types/services/businesses/prices/PriceUpdateRequest.d.ts +5 -0
  474. package/dist/@types/services/businesses/prices/PriceUpdateRequest.d.ts.map +1 -0
  475. package/dist/@types/services/businesses/prices/PricesListRequest.d.ts +7 -0
  476. package/dist/@types/services/businesses/prices/PricesListRequest.d.ts.map +1 -0
  477. package/dist/@types/services/businesses/products/ListImageRequest.d.ts +5 -0
  478. package/dist/@types/services/businesses/products/ListImageRequest.d.ts.map +1 -0
  479. package/dist/@types/services/businesses/products/ProductBatchUpsertRequest.d.ts +8 -0
  480. package/dist/@types/services/businesses/products/ProductBatchUpsertRequest.d.ts.map +1 -0
  481. package/dist/@types/services/businesses/products/ProductCreateRequest.d.ts +19 -0
  482. package/dist/@types/services/businesses/products/ProductCreateRequest.d.ts.map +1 -0
  483. package/dist/@types/services/businesses/products/ProductListRequest.d.ts +7 -0
  484. package/dist/@types/services/businesses/products/ProductListRequest.d.ts.map +1 -0
  485. package/dist/@types/services/businesses/products/ProductService.d.ts +118 -0
  486. package/dist/@types/services/businesses/products/ProductService.d.ts.map +1 -0
  487. package/dist/@types/services/businesses/products/ProductUpdateRequest.d.ts +17 -0
  488. package/dist/@types/services/businesses/products/ProductUpdateRequest.d.ts.map +1 -0
  489. package/dist/@types/services/businesses/products/ProductUpsertRequest.d.ts +8 -0
  490. package/dist/@types/services/businesses/products/ProductUpsertRequest.d.ts.map +1 -0
  491. package/dist/@types/services/businesses/products/images/ProductImageCreateRequest.d.ts +8 -0
  492. package/dist/@types/services/businesses/products/images/ProductImageCreateRequest.d.ts.map +1 -0
  493. package/dist/@types/services/businesses/products/images/ProductImageListRequest.d.ts +7 -0
  494. package/dist/@types/services/businesses/products/images/ProductImageListRequest.d.ts.map +1 -0
  495. package/dist/@types/services/businesses/products/images/ProductImageService.d.ts +75 -0
  496. package/dist/@types/services/businesses/products/images/ProductImageService.d.ts.map +1 -0
  497. package/dist/@types/services/businesses/products/images/ProductImageUpdateRequest.d.ts +5 -0
  498. package/dist/@types/services/businesses/products/images/ProductImageUpdateRequest.d.ts.map +1 -0
  499. package/dist/@types/services/businesses/products/modifiers/ProductModifierCreateRequest.d.ts +28 -0
  500. package/dist/@types/services/businesses/products/modifiers/ProductModifierCreateRequest.d.ts.map +1 -0
  501. package/dist/@types/services/businesses/products/modifiers/ProductModifierListRequest.d.ts +26 -0
  502. package/dist/@types/services/businesses/products/modifiers/ProductModifierListRequest.d.ts.map +1 -0
  503. package/dist/@types/services/businesses/products/modifiers/ProductModifierService.d.ts +88 -0
  504. package/dist/@types/services/businesses/products/modifiers/ProductModifierService.d.ts.map +1 -0
  505. package/dist/@types/services/businesses/products/modifiers/ProductModifierUpdateRequest.d.ts +28 -0
  506. package/dist/@types/services/businesses/products/modifiers/ProductModifierUpdateRequest.d.ts.map +1 -0
  507. package/dist/@types/services/businesses/products/modifiers/ProductModifierUpsertRequest.d.ts +30 -0
  508. package/dist/@types/services/businesses/products/modifiers/ProductModifierUpsertRequest.d.ts.map +1 -0
  509. package/dist/@types/services/businesses/products/options/ProductOptionCreateRequest.d.ts +28 -0
  510. package/dist/@types/services/businesses/products/options/ProductOptionCreateRequest.d.ts.map +1 -0
  511. package/dist/@types/services/businesses/products/options/ProductOptionListRequest.d.ts +26 -0
  512. package/dist/@types/services/businesses/products/options/ProductOptionListRequest.d.ts.map +1 -0
  513. package/dist/@types/services/businesses/products/options/ProductOptionService.d.ts +88 -0
  514. package/dist/@types/services/businesses/products/options/ProductOptionService.d.ts.map +1 -0
  515. package/dist/@types/services/businesses/products/options/ProductOptionUpdateRequest.d.ts +28 -0
  516. package/dist/@types/services/businesses/products/options/ProductOptionUpdateRequest.d.ts.map +1 -0
  517. package/dist/@types/services/businesses/products/options/ProductOptionUpsertRequest.d.ts +30 -0
  518. package/dist/@types/services/businesses/products/options/ProductOptionUpsertRequest.d.ts.map +1 -0
  519. package/dist/@types/services/businesses/products/variants/ProductVariantCreateRequest.d.ts +14 -0
  520. package/dist/@types/services/businesses/products/variants/ProductVariantCreateRequest.d.ts.map +1 -0
  521. package/dist/@types/services/businesses/products/variants/ProductVariantListRequest.d.ts +7 -0
  522. package/dist/@types/services/businesses/products/variants/ProductVariantListRequest.d.ts.map +1 -0
  523. package/dist/@types/services/businesses/products/variants/ProductVariantService.d.ts +75 -0
  524. package/dist/@types/services/businesses/products/variants/ProductVariantService.d.ts.map +1 -0
  525. package/dist/@types/services/businesses/products/variants/ProductVariantUpdateRequest.d.ts +5 -0
  526. package/dist/@types/services/businesses/products/variants/ProductVariantUpdateRequest.d.ts.map +1 -0
  527. package/dist/@types/services/businesses/promo-codes/PromoCodeBatchUpsertRequest.d.ts +8 -0
  528. package/dist/@types/services/businesses/promo-codes/PromoCodeBatchUpsertRequest.d.ts.map +1 -0
  529. package/dist/@types/services/businesses/promo-codes/PromoCodeCreateRequest.d.ts +11 -0
  530. package/dist/@types/services/businesses/promo-codes/PromoCodeCreateRequest.d.ts.map +1 -0
  531. package/dist/@types/services/businesses/promo-codes/PromoCodeListRequest.d.ts +7 -0
  532. package/dist/@types/services/businesses/promo-codes/PromoCodeListRequest.d.ts.map +1 -0
  533. package/dist/@types/services/businesses/promo-codes/PromoCodeService.d.ts +94 -0
  534. package/dist/@types/services/businesses/promo-codes/PromoCodeService.d.ts.map +1 -0
  535. package/dist/@types/services/businesses/promo-codes/PromoCodeUpdateRequest.d.ts +6 -0
  536. package/dist/@types/services/businesses/promo-codes/PromoCodeUpdateRequest.d.ts.map +1 -0
  537. package/dist/@types/services/businesses/promo-codes/PromoCodeUpsertRequest.d.ts +8 -0
  538. package/dist/@types/services/businesses/promo-codes/PromoCodeUpsertRequest.d.ts.map +1 -0
  539. package/dist/@types/services/businesses/reviews/BusinessReviewCreateRequest.d.ts +8 -0
  540. package/dist/@types/services/businesses/reviews/BusinessReviewCreateRequest.d.ts.map +1 -0
  541. package/dist/@types/services/businesses/reviews/BusinessReviewListRequest.d.ts +10 -0
  542. package/dist/@types/services/businesses/reviews/BusinessReviewListRequest.d.ts.map +1 -0
  543. package/dist/@types/services/businesses/reviews/BusinessReviewService.d.ts +30 -0
  544. package/dist/@types/services/businesses/reviews/BusinessReviewService.d.ts.map +1 -0
  545. package/dist/@types/services/businesses/reviews/BusinessReviewUpdateRequest.d.ts +7 -0
  546. package/dist/@types/services/businesses/reviews/BusinessReviewUpdateRequest.d.ts.map +1 -0
  547. package/dist/@types/services/businesses/tables/TableCreateRequest.d.ts +9 -0
  548. package/dist/@types/services/businesses/tables/TableCreateRequest.d.ts.map +1 -0
  549. package/dist/@types/services/businesses/tables/TableService.d.ts +23 -0
  550. package/dist/@types/services/businesses/tables/TableService.d.ts.map +1 -0
  551. package/dist/@types/services/businesses/tables/TableUpdateRequest.d.ts +14 -0
  552. package/dist/@types/services/businesses/tables/TableUpdateRequest.d.ts.map +1 -0
  553. package/dist/@types/services/businesses/taxes/TaxBatchUpsertRequest.d.ts +8 -0
  554. package/dist/@types/services/businesses/taxes/TaxBatchUpsertRequest.d.ts.map +1 -0
  555. package/dist/@types/services/businesses/taxes/TaxCreateRequest.d.ts +17 -0
  556. package/dist/@types/services/businesses/taxes/TaxCreateRequest.d.ts.map +1 -0
  557. package/dist/@types/services/businesses/taxes/TaxListRequest.d.ts +9 -0
  558. package/dist/@types/services/businesses/taxes/TaxListRequest.d.ts.map +1 -0
  559. package/dist/@types/services/businesses/taxes/TaxService.d.ts +89 -0
  560. package/dist/@types/services/businesses/taxes/TaxService.d.ts.map +1 -0
  561. package/dist/@types/services/businesses/taxes/TaxUpdateRequest.d.ts +12 -0
  562. package/dist/@types/services/businesses/taxes/TaxUpdateRequest.d.ts.map +1 -0
  563. package/dist/@types/services/businesses/taxes/TaxUpsertRequest.d.ts +8 -0
  564. package/dist/@types/services/businesses/taxes/TaxUpsertRequest.d.ts.map +1 -0
  565. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationCreateRequest.d.ts +13 -0
  566. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationCreateRequest.d.ts.map +1 -0
  567. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationListRequest.d.ts +7 -0
  568. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationListRequest.d.ts.map +1 -0
  569. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationRequest.d.ts +9 -0
  570. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationRequest.d.ts.map +1 -0
  571. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationResponseRequest.d.ts +8 -0
  572. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationResponseRequest.d.ts.map +1 -0
  573. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationService.d.ts +25 -0
  574. package/dist/@types/services/businesses/team/invitations/TeamMemberInvitationService.d.ts.map +1 -0
  575. package/dist/@types/services/businesses/team/members/TeamMemberListRequest.d.ts +10 -0
  576. package/dist/@types/services/businesses/team/members/TeamMemberListRequest.d.ts.map +1 -0
  577. package/dist/@types/services/businesses/team/members/TeamMemberService.d.ts +20 -0
  578. package/dist/@types/services/businesses/team/members/TeamMemberService.d.ts.map +1 -0
  579. package/dist/@types/services/businesses/vendors/VendorService.d.ts +85 -0
  580. package/dist/@types/services/businesses/vendors/VendorService.d.ts.map +1 -0
  581. package/dist/@types/services/cards/AttachCardRequest.d.ts +12 -0
  582. package/dist/@types/services/cards/AttachCardRequest.d.ts.map +1 -0
  583. package/dist/@types/services/cards/CardService.d.ts +28 -0
  584. package/dist/@types/services/cards/CardService.d.ts.map +1 -0
  585. package/dist/@types/services/cards/CreateCardRequest.d.ts +15 -0
  586. package/dist/@types/services/cards/CreateCardRequest.d.ts.map +1 -0
  587. package/dist/@types/services/cards/GetCardRequest.d.ts +5 -0
  588. package/dist/@types/services/cards/GetCardRequest.d.ts.map +1 -0
  589. package/dist/@types/services/cards/ListCardRequest.d.ts +5 -0
  590. package/dist/@types/services/cards/ListCardRequest.d.ts.map +1 -0
  591. package/dist/@types/services/documents/DocumentListRequest.d.ts +7 -0
  592. package/dist/@types/services/documents/DocumentListRequest.d.ts.map +1 -0
  593. package/dist/@types/services/documents/DocumentRenameRequest.d.ts +6 -0
  594. package/dist/@types/services/documents/DocumentRenameRequest.d.ts.map +1 -0
  595. package/dist/@types/services/documents/DocumentService.d.ts +24 -0
  596. package/dist/@types/services/documents/DocumentService.d.ts.map +1 -0
  597. package/dist/@types/services/documents/DocumentUploadRequest.d.ts +10 -0
  598. package/dist/@types/services/documents/DocumentUploadRequest.d.ts.map +1 -0
  599. package/dist/@types/services/expenses/ExpenseService.d.ts +20 -0
  600. package/dist/@types/services/expenses/ExpenseService.d.ts.map +1 -0
  601. package/dist/@types/services/expenses/ExpenseUploadRequest.d.ts +9 -0
  602. package/dist/@types/services/expenses/ExpenseUploadRequest.d.ts.map +1 -0
  603. package/dist/@types/services/explore/ExploreService.d.ts +13 -0
  604. package/dist/@types/services/explore/ExploreService.d.ts.map +1 -0
  605. package/dist/@types/services/friends/FriendListRequest.d.ts +7 -0
  606. package/dist/@types/services/friends/FriendListRequest.d.ts.map +1 -0
  607. package/dist/@types/services/friends/FriendRequestListRequest.d.ts +7 -0
  608. package/dist/@types/services/friends/FriendRequestListRequest.d.ts.map +1 -0
  609. package/dist/@types/services/friends/FriendService.d.ts +22 -0
  610. package/dist/@types/services/friends/FriendService.d.ts.map +1 -0
  611. package/dist/@types/services/images/ImageBase64CreateRequest.d.ts +8 -0
  612. package/dist/@types/services/images/ImageBase64CreateRequest.d.ts.map +1 -0
  613. package/dist/@types/services/images/ImageBaseCreateRequest.d.ts +6 -0
  614. package/dist/@types/services/images/ImageBaseCreateRequest.d.ts.map +1 -0
  615. package/dist/@types/services/images/ImageCreateRequest.d.ts +7 -0
  616. package/dist/@types/services/images/ImageCreateRequest.d.ts.map +1 -0
  617. package/dist/@types/services/images/ImageUrlCreateRequest.d.ts +8 -0
  618. package/dist/@types/services/images/ImageUrlCreateRequest.d.ts.map +1 -0
  619. package/dist/@types/services/integrations/IntegrationListRequest.d.ts +8 -0
  620. package/dist/@types/services/integrations/IntegrationListRequest.d.ts.map +1 -0
  621. package/dist/@types/services/integrations/IntegrationService.d.ts +20 -0
  622. package/dist/@types/services/integrations/IntegrationService.d.ts.map +1 -0
  623. package/dist/@types/services/invoices/InvoiceBatchUpsertRequest.d.ts +8 -0
  624. package/dist/@types/services/invoices/InvoiceBatchUpsertRequest.d.ts.map +1 -0
  625. package/dist/@types/services/invoices/InvoiceCreateRequest.d.ts +118 -0
  626. package/dist/@types/services/invoices/InvoiceCreateRequest.d.ts.map +1 -0
  627. package/dist/@types/services/invoices/InvoiceListRequest.d.ts +11 -0
  628. package/dist/@types/services/invoices/InvoiceListRequest.d.ts.map +1 -0
  629. package/dist/@types/services/invoices/InvoiceService.d.ts +216 -0
  630. package/dist/@types/services/invoices/InvoiceService.d.ts.map +1 -0
  631. package/dist/@types/services/invoices/InvoiceUpdateRequest.d.ts +73 -0
  632. package/dist/@types/services/invoices/InvoiceUpdateRequest.d.ts.map +1 -0
  633. package/dist/@types/services/invoices/InvoiceUpsertRequest.d.ts +5 -0
  634. package/dist/@types/services/invoices/InvoiceUpsertRequest.d.ts.map +1 -0
  635. package/dist/@types/services/loyalty/LoyaltyProgramService.d.ts +172 -0
  636. package/dist/@types/services/loyalty/LoyaltyProgramService.d.ts.map +1 -0
  637. package/dist/@types/services/notifications/NotificationCreateRequest.d.ts +20 -0
  638. package/dist/@types/services/notifications/NotificationCreateRequest.d.ts.map +1 -0
  639. package/dist/@types/services/notifications/NotificationService.d.ts +66 -0
  640. package/dist/@types/services/notifications/NotificationService.d.ts.map +1 -0
  641. package/dist/@types/services/oauth/AccessTokenResponse.d.ts +10 -0
  642. package/dist/@types/services/oauth/AccessTokenResponse.d.ts.map +1 -0
  643. package/dist/@types/services/oauth/AuthorizationCodeResponse.d.ts +11 -0
  644. package/dist/@types/services/oauth/AuthorizationCodeResponse.d.ts.map +1 -0
  645. package/dist/@types/services/oauth/AuthorizeRequest.d.ts +18 -0
  646. package/dist/@types/services/oauth/AuthorizeRequest.d.ts.map +1 -0
  647. package/dist/@types/services/oauth/OAuthService.d.ts +17 -0
  648. package/dist/@types/services/oauth/OAuthService.d.ts.map +1 -0
  649. package/dist/@types/services/oauth/RefreshTokenRequest.d.ts +9 -0
  650. package/dist/@types/services/oauth/RefreshTokenRequest.d.ts.map +1 -0
  651. package/dist/@types/services/oauth/TokenExchangeRequest.d.ts +15 -0
  652. package/dist/@types/services/oauth/TokenExchangeRequest.d.ts.map +1 -0
  653. package/dist/@types/services/payment-methods/PaymentMethodBankCreateRequest.d.ts +14 -0
  654. package/dist/@types/services/payment-methods/PaymentMethodBankCreateRequest.d.ts.map +1 -0
  655. package/dist/@types/services/payment-methods/PaymentMethodCardCreateRequest.d.ts +19 -0
  656. package/dist/@types/services/payment-methods/PaymentMethodCardCreateRequest.d.ts.map +1 -0
  657. package/dist/@types/services/payment-methods/PaymentMethodCreateRequest.d.ts +16 -0
  658. package/dist/@types/services/payment-methods/PaymentMethodCreateRequest.d.ts.map +1 -0
  659. package/dist/@types/services/payment-methods/PaymentMethodListRequest.d.ts +5 -0
  660. package/dist/@types/services/payment-methods/PaymentMethodListRequest.d.ts.map +1 -0
  661. package/dist/@types/services/payment-methods/PaymentMethodService.d.ts +29 -0
  662. package/dist/@types/services/payment-methods/PaymentMethodService.d.ts.map +1 -0
  663. package/dist/@types/services/payment-methods/PaymentMethodVerifyRequest.d.ts +6 -0
  664. package/dist/@types/services/payment-methods/PaymentMethodVerifyRequest.d.ts.map +1 -0
  665. package/dist/@types/services/receipts/BankTransactionAssociateRequest.d.ts +6 -0
  666. package/dist/@types/services/receipts/BankTransactionAssociateRequest.d.ts.map +1 -0
  667. package/dist/@types/services/receipts/ListReceiptRequest.d.ts +5 -0
  668. package/dist/@types/services/receipts/ListReceiptRequest.d.ts.map +1 -0
  669. package/dist/@types/services/receipts/ReceipTransactionPaymentDetailCreateRequest.d.ts +24 -0
  670. package/dist/@types/services/receipts/ReceipTransactionPaymentDetailCreateRequest.d.ts.map +1 -0
  671. package/dist/@types/services/receipts/ReceiptBatchUpsertRequest.d.ts +8 -0
  672. package/dist/@types/services/receipts/ReceiptBatchUpsertRequest.d.ts.map +1 -0
  673. package/dist/@types/services/receipts/ReceiptBulkJobCreateRequest.d.ts +6 -0
  674. package/dist/@types/services/receipts/ReceiptBulkJobCreateRequest.d.ts.map +1 -0
  675. package/dist/@types/services/receipts/ReceiptCreateRequest.d.ts +118 -0
  676. package/dist/@types/services/receipts/ReceiptCreateRequest.d.ts.map +1 -0
  677. package/dist/@types/services/receipts/ReceiptListRequest.d.ts +12 -0
  678. package/dist/@types/services/receipts/ReceiptListRequest.d.ts.map +1 -0
  679. package/dist/@types/services/receipts/ReceiptService.d.ts +250 -0
  680. package/dist/@types/services/receipts/ReceiptService.d.ts.map +1 -0
  681. package/dist/@types/services/receipts/ReceiptUpdateRequest.d.ts +73 -0
  682. package/dist/@types/services/receipts/ReceiptUpdateRequest.d.ts.map +1 -0
  683. package/dist/@types/services/receipts/ReceiptUpsertRequest.d.ts +8 -0
  684. package/dist/@types/services/receipts/ReceiptUpsertRequest.d.ts.map +1 -0
  685. package/dist/@types/services/receipts/discounts/ReceiptDiscountCreateRequest.d.ts +6 -0
  686. package/dist/@types/services/receipts/discounts/ReceiptDiscountCreateRequest.d.ts.map +1 -0
  687. package/dist/@types/services/receipts/discounts/ReceiptDiscountUpdateRequest.d.ts +6 -0
  688. package/dist/@types/services/receipts/discounts/ReceiptDiscountUpdateRequest.d.ts.map +1 -0
  689. package/dist/@types/services/receipts/fees/ReceiptFeeCreateRequest.d.ts +11 -0
  690. package/dist/@types/services/receipts/fees/ReceiptFeeCreateRequest.d.ts.map +1 -0
  691. package/dist/@types/services/receipts/fees/ReceiptFeeUpdateRequest.d.ts +5 -0
  692. package/dist/@types/services/receipts/fees/ReceiptFeeUpdateRequest.d.ts.map +1 -0
  693. package/dist/@types/services/receipts/line-items/ReceiptLineItemCreateRequest.d.ts +18 -0
  694. package/dist/@types/services/receipts/line-items/ReceiptLineItemCreateRequest.d.ts.map +1 -0
  695. package/dist/@types/services/receipts/line-items/ReceiptLineItemUpdateRequest.d.ts +13 -0
  696. package/dist/@types/services/receipts/line-items/ReceiptLineItemUpdateRequest.d.ts.map +1 -0
  697. package/dist/@types/services/receipts/metadata/BrowserMetadataCreateRequest.d.ts +29 -0
  698. package/dist/@types/services/receipts/metadata/BrowserMetadataCreateRequest.d.ts.map +1 -0
  699. package/dist/@types/services/receipts/metadata/ReceiptMetadataCreateRequest.d.ts +36 -0
  700. package/dist/@types/services/receipts/metadata/ReceiptMetadataCreateRequest.d.ts.map +1 -0
  701. package/dist/@types/services/receipts/payments/ReceiptPaymentUpdateRequest.d.ts +31 -0
  702. package/dist/@types/services/receipts/payments/ReceiptPaymentUpdateRequest.d.ts.map +1 -0
  703. package/dist/@types/services/receipts/payments/ReceiptTransactionCreateRequest.d.ts +48 -0
  704. package/dist/@types/services/receipts/payments/ReceiptTransactionCreateRequest.d.ts.map +1 -0
  705. package/dist/@types/services/receipts/payments/ReceiptTransactionUpdateRequest.d.ts +20 -0
  706. package/dist/@types/services/receipts/payments/ReceiptTransactionUpdateRequest.d.ts.map +1 -0
  707. package/dist/@types/services/receipts/reviews/ReceiptReviewCreateRequest.d.ts +8 -0
  708. package/dist/@types/services/receipts/reviews/ReceiptReviewCreateRequest.d.ts.map +1 -0
  709. package/dist/@types/services/receipts/reviews/ReceiptReviewUpdateRequest.d.ts +8 -0
  710. package/dist/@types/services/receipts/reviews/ReceiptReviewUpdateRequest.d.ts.map +1 -0
  711. package/dist/@types/services/receipts/taxes/ReceiptTaxCreateRequest.d.ts +7 -0
  712. package/dist/@types/services/receipts/taxes/ReceiptTaxCreateRequest.d.ts.map +1 -0
  713. package/dist/@types/services/receipts/taxes/ReceiptTaxUpdateRequest.d.ts +9 -0
  714. package/dist/@types/services/receipts/taxes/ReceiptTaxUpdateRequest.d.ts.map +1 -0
  715. package/dist/@types/services/settlements/SettlementListRequest.d.ts +9 -0
  716. package/dist/@types/services/settlements/SettlementListRequest.d.ts.map +1 -0
  717. package/dist/@types/services/settlements/SettlementPayRequest.d.ts +6 -0
  718. package/dist/@types/services/settlements/SettlementPayRequest.d.ts.map +1 -0
  719. package/dist/@types/services/settlements/SettlementService.d.ts +25 -0
  720. package/dist/@types/services/settlements/SettlementService.d.ts.map +1 -0
  721. package/dist/@types/services/transactions/ListTransactionRequest.d.ts +10 -0
  722. package/dist/@types/services/transactions/ListTransactionRequest.d.ts.map +1 -0
  723. package/dist/@types/services/transactions/TransactionService.d.ts +20 -0
  724. package/dist/@types/services/transactions/TransactionService.d.ts.map +1 -0
  725. package/dist/@types/services/user/UserService.d.ts +22 -0
  726. package/dist/@types/services/user/UserService.d.ts.map +1 -0
  727. package/dist/@types/services/user/UserUpdateRequest.d.ts +12 -0
  728. package/dist/@types/services/user/UserUpdateRequest.d.ts.map +1 -0
  729. package/dist/@types/services/users/SearchUsersRequest.d.ts +8 -0
  730. package/dist/@types/services/users/SearchUsersRequest.d.ts.map +1 -0
  731. package/dist/@types/services/users/UserService.d.ts +21 -0
  732. package/dist/@types/services/users/UserService.d.ts.map +1 -0
  733. package/dist/@types/services/users/UserUpdateRequest.d.ts +12 -0
  734. package/dist/@types/services/users/UserUpdateRequest.d.ts.map +1 -0
  735. package/dist/@types/services/vendors/VendorConnectRequest.d.ts +6 -0
  736. package/dist/@types/services/vendors/VendorConnectRequest.d.ts.map +1 -0
  737. package/dist/@types/services/vendors/VendorConnectResponse.d.ts +6 -0
  738. package/dist/@types/services/vendors/VendorConnectResponse.d.ts.map +1 -0
  739. package/dist/@types/services/vendors/VendorCreateRequest.d.ts +20 -0
  740. package/dist/@types/services/vendors/VendorCreateRequest.d.ts.map +1 -0
  741. package/dist/@types/services/vendors/VendorListRequest.d.ts +7 -0
  742. package/dist/@types/services/vendors/VendorListRequest.d.ts.map +1 -0
  743. package/dist/@types/services/vendors/VendorService.d.ts +32 -0
  744. package/dist/@types/services/vendors/VendorService.d.ts.map +1 -0
  745. package/dist/@types/services/vendors/VendorUpdateRequest.d.ts +20 -0
  746. package/dist/@types/services/vendors/VendorUpdateRequest.d.ts.map +1 -0
  747. package/dist/@types/utilities/FileFormData.d.ts +8 -0
  748. package/dist/@types/utilities/FileFormData.d.ts.map +1 -0
  749. package/dist/@types/utilities/SBAbortSignal.d.ts +6 -0
  750. package/dist/@types/utilities/SBAbortSignal.d.ts.map +1 -0
  751. package/dist/cjs/_virtual/__polyfill-node.util.cjs +11 -0
  752. package/dist/cjs/_virtual/__polyfill-node.util.cjs.map +1 -0
  753. package/dist/cjs/_virtual/_commonjsHelpers.cjs +37 -0
  754. package/dist/cjs/_virtual/_commonjsHelpers.cjs.map +1 -0
  755. package/dist/cjs/_virtual/_polyfill-node._inherits.cjs +28 -0
  756. package/dist/cjs/_virtual/_polyfill-node._inherits.cjs.map +1 -0
  757. package/dist/cjs/_virtual/_polyfill-node.buffer.cjs +1985 -0
  758. package/dist/cjs/_virtual/_polyfill-node.buffer.cjs.map +1 -0
  759. package/dist/cjs/_virtual/_polyfill-node.global.cjs +10 -0
  760. package/dist/cjs/_virtual/_polyfill-node.global.cjs.map +1 -0
  761. package/dist/cjs/_virtual/_polyfill-node.process.cjs +253 -0
  762. package/dist/cjs/_virtual/_polyfill-node.process.cjs.map +1 -0
  763. package/dist/cjs/_virtual/_polyfill-node.util.cjs +710 -0
  764. package/dist/cjs/_virtual/_polyfill-node.util.cjs.map +1 -0
  765. package/dist/cjs/_virtual/index.cjs +6 -0
  766. package/dist/cjs/_virtual/index.cjs.map +1 -0
  767. package/dist/cjs/client/SBClient.cjs +259 -0
  768. package/dist/cjs/client/SBClient.cjs.map +1 -0
  769. package/dist/cjs/client/SBCredentials.cjs +60 -0
  770. package/dist/cjs/client/SBCredentials.cjs.map +1 -0
  771. package/dist/cjs/client/SBEnvironment.cjs +15 -0
  772. package/dist/cjs/client/SBEnvironment.cjs.map +1 -0
  773. package/dist/cjs/client/SBException.cjs +38 -0
  774. package/dist/cjs/client/SBException.cjs.map +1 -0
  775. package/dist/cjs/client/SBInstance.cjs +59 -0
  776. package/dist/cjs/client/SBInstance.cjs.map +1 -0
  777. package/dist/cjs/client/SBLogger.cjs +16 -0
  778. package/dist/cjs/client/SBLogger.cjs.map +1 -0
  779. package/dist/cjs/client/SBPermission.cjs +50 -0
  780. package/dist/cjs/client/SBPermission.cjs.map +1 -0
  781. package/dist/cjs/client/SBServiceOptions.cjs +22 -0
  782. package/dist/cjs/client/SBServiceOptions.cjs.map +1 -0
  783. package/dist/cjs/client/constants.cjs +8 -0
  784. package/dist/cjs/client/constants.cjs.map +1 -0
  785. package/dist/cjs/constants/login/LoginError.cjs +9 -0
  786. package/dist/cjs/constants/login/LoginError.cjs.map +1 -0
  787. package/dist/cjs/entities/account/SBGenderEnum.cjs +9 -0
  788. package/dist/cjs/entities/account/SBGenderEnum.cjs.map +1 -0
  789. package/dist/cjs/entities/banks/SBBankState.cjs +10 -0
  790. package/dist/cjs/entities/banks/SBBankState.cjs.map +1 -0
  791. package/dist/cjs/entities/barcode/SBBarcodeType.cjs +28 -0
  792. package/dist/cjs/entities/barcode/SBBarcodeType.cjs.map +1 -0
  793. package/dist/cjs/entities/businesses/fees/SBFeeType.cjs +8 -0
  794. package/dist/cjs/entities/businesses/fees/SBFeeType.cjs.map +1 -0
  795. package/dist/cjs/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.cjs +10 -0
  796. package/dist/cjs/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.cjs.map +1 -0
  797. package/dist/cjs/entities/businesses/team/members/SBTeamMemberRole.cjs +11 -0
  798. package/dist/cjs/entities/businesses/team/members/SBTeamMemberRole.cjs.map +1 -0
  799. package/dist/cjs/entities/businesses/team/members/SBTeamMemberStatus.cjs +11 -0
  800. package/dist/cjs/entities/businesses/team/members/SBTeamMemberStatus.cjs.map +1 -0
  801. package/dist/cjs/entities/cards/SBCardType.cjs +10 -0
  802. package/dist/cjs/entities/cards/SBCardType.cjs.map +1 -0
  803. package/dist/cjs/entities/payment-methods/SBPaymentMethod.cjs +8 -0
  804. package/dist/cjs/entities/payment-methods/SBPaymentMethod.cjs.map +1 -0
  805. package/dist/cjs/entities/payment-methods/SBPaymentMethodFingerprintProvider.cjs +8 -0
  806. package/dist/cjs/entities/payment-methods/SBPaymentMethodFingerprintProvider.cjs.map +1 -0
  807. package/dist/cjs/entities/receipts/SBReceiptSource.cjs +11 -0
  808. package/dist/cjs/entities/receipts/SBReceiptSource.cjs.map +1 -0
  809. package/dist/cjs/entities/receipts/SBReceiptType.cjs +10 -0
  810. package/dist/cjs/entities/receipts/SBReceiptType.cjs.map +1 -0
  811. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardAvsResult.cjs +16 -0
  812. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardAvsResult.cjs.map +1 -0
  813. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardCvvResult.cjs +9 -0
  814. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardCvvResult.cjs.map +1 -0
  815. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.cjs +11 -0
  816. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.cjs.map +1 -0
  817. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentExternalType.cjs +18 -0
  818. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentExternalType.cjs.map +1 -0
  819. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentRiskLevel.cjs +9 -0
  820. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentRiskLevel.cjs.map +1 -0
  821. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentStatus.cjs +11 -0
  822. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentStatus.cjs.map +1 -0
  823. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentType.cjs +12 -0
  824. package/dist/cjs/entities/receipts/payments/SBReceiptPaymentType.cjs.map +1 -0
  825. package/dist/cjs/entities/transactions/SBTransactionType.cjs +10 -0
  826. package/dist/cjs/entities/transactions/SBTransactionType.cjs.map +1 -0
  827. package/dist/cjs/index.cjs +222 -0
  828. package/dist/cjs/index.cjs.map +1 -0
  829. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +17 -0
  830. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs.map +1 -0
  831. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +19 -0
  832. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.map +1 -0
  833. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +14 -0
  834. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs.map +1 -0
  835. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/typeof.cjs +16 -0
  836. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/typeof.cjs.map +1 -0
  837. package/dist/cjs/node_modules/call-bind/index.cjs +31 -0
  838. package/dist/cjs/node_modules/call-bind/index.cjs.map +1 -0
  839. package/dist/cjs/node_modules/call-bind-apply-helpers/actualApply.cjs +17 -0
  840. package/dist/cjs/node_modules/call-bind-apply-helpers/actualApply.cjs.map +1 -0
  841. package/dist/cjs/node_modules/call-bind-apply-helpers/applyBind.cjs +17 -0
  842. package/dist/cjs/node_modules/call-bind-apply-helpers/applyBind.cjs.map +1 -0
  843. package/dist/cjs/node_modules/call-bind-apply-helpers/functionApply.cjs +15 -0
  844. package/dist/cjs/node_modules/call-bind-apply-helpers/functionApply.cjs.map +1 -0
  845. package/dist/cjs/node_modules/call-bind-apply-helpers/functionCall.cjs +15 -0
  846. package/dist/cjs/node_modules/call-bind-apply-helpers/functionCall.cjs.map +1 -0
  847. package/dist/cjs/node_modules/call-bind-apply-helpers/index.cjs +22 -0
  848. package/dist/cjs/node_modules/call-bind-apply-helpers/index.cjs.map +1 -0
  849. package/dist/cjs/node_modules/call-bind-apply-helpers/reflectApply.cjs +7 -0
  850. package/dist/cjs/node_modules/call-bind-apply-helpers/reflectApply.cjs.map +1 -0
  851. package/dist/cjs/node_modules/call-bound/index.cjs +23 -0
  852. package/dist/cjs/node_modules/call-bound/index.cjs.map +1 -0
  853. package/dist/cjs/node_modules/define-data-property/index.cjs +56 -0
  854. package/dist/cjs/node_modules/define-data-property/index.cjs.map +1 -0
  855. package/dist/cjs/node_modules/dunder-proto/get.cjs +31 -0
  856. package/dist/cjs/node_modules/dunder-proto/get.cjs.map +1 -0
  857. package/dist/cjs/node_modules/es-define-property/index.cjs +18 -0
  858. package/dist/cjs/node_modules/es-define-property/index.cjs.map +1 -0
  859. package/dist/cjs/node_modules/es-errors/eval.cjs +7 -0
  860. package/dist/cjs/node_modules/es-errors/eval.cjs.map +1 -0
  861. package/dist/cjs/node_modules/es-errors/index.cjs +7 -0
  862. package/dist/cjs/node_modules/es-errors/index.cjs.map +1 -0
  863. package/dist/cjs/node_modules/es-errors/range.cjs +7 -0
  864. package/dist/cjs/node_modules/es-errors/range.cjs.map +1 -0
  865. package/dist/cjs/node_modules/es-errors/ref.cjs +7 -0
  866. package/dist/cjs/node_modules/es-errors/ref.cjs.map +1 -0
  867. package/dist/cjs/node_modules/es-errors/syntax.cjs +7 -0
  868. package/dist/cjs/node_modules/es-errors/syntax.cjs.map +1 -0
  869. package/dist/cjs/node_modules/es-errors/type.cjs +7 -0
  870. package/dist/cjs/node_modules/es-errors/type.cjs.map +1 -0
  871. package/dist/cjs/node_modules/es-errors/uri.cjs +7 -0
  872. package/dist/cjs/node_modules/es-errors/uri.cjs.map +1 -0
  873. package/dist/cjs/node_modules/function-bind/implementation.cjs +77 -0
  874. package/dist/cjs/node_modules/function-bind/implementation.cjs.map +1 -0
  875. package/dist/cjs/node_modules/function-bind/index.cjs +16 -0
  876. package/dist/cjs/node_modules/function-bind/index.cjs.map +1 -0
  877. package/dist/cjs/node_modules/get-intrinsic/index.cjs +341 -0
  878. package/dist/cjs/node_modules/get-intrinsic/index.cjs.map +1 -0
  879. package/dist/cjs/node_modules/gopd/gOPD.cjs +7 -0
  880. package/dist/cjs/node_modules/gopd/gOPD.cjs.map +1 -0
  881. package/dist/cjs/node_modules/gopd/index.cjs +18 -0
  882. package/dist/cjs/node_modules/gopd/index.cjs.map +1 -0
  883. package/dist/cjs/node_modules/has-property-descriptors/index.cjs +26 -0
  884. package/dist/cjs/node_modules/has-property-descriptors/index.cjs.map +1 -0
  885. package/dist/cjs/node_modules/has-symbols/index.cjs +33 -0
  886. package/dist/cjs/node_modules/has-symbols/index.cjs.map +1 -0
  887. package/dist/cjs/node_modules/has-symbols/shams.cjs +72 -0
  888. package/dist/cjs/node_modules/has-symbols/shams.cjs.map +1 -0
  889. package/dist/cjs/node_modules/hasown/index.cjs +20 -0
  890. package/dist/cjs/node_modules/hasown/index.cjs.map +1 -0
  891. package/dist/cjs/node_modules/object-inspect/index.cjs +535 -0
  892. package/dist/cjs/node_modules/object-inspect/index.cjs.map +1 -0
  893. package/dist/cjs/node_modules/object-inspect/util.inspect.cjs +8 -0
  894. package/dist/cjs/node_modules/object-inspect/util.inspect.cjs.map +1 -0
  895. package/dist/cjs/node_modules/qs/lib/formats.cjs +24 -0
  896. package/dist/cjs/node_modules/qs/lib/formats.cjs.map +1 -0
  897. package/dist/cjs/node_modules/qs/lib/index.cjs +21 -0
  898. package/dist/cjs/node_modules/qs/lib/index.cjs.map +1 -0
  899. package/dist/cjs/node_modules/qs/lib/parse.cjs +265 -0
  900. package/dist/cjs/node_modules/qs/lib/parse.cjs.map +1 -0
  901. package/dist/cjs/node_modules/qs/lib/stringify.cjs +253 -0
  902. package/dist/cjs/node_modules/qs/lib/stringify.cjs.map +1 -0
  903. package/dist/cjs/node_modules/qs/lib/utils.cjs +231 -0
  904. package/dist/cjs/node_modules/qs/lib/utils.cjs.map +1 -0
  905. package/dist/cjs/node_modules/set-function-length/index.cjs +47 -0
  906. package/dist/cjs/node_modules/set-function-length/index.cjs.map +1 -0
  907. package/dist/cjs/node_modules/side-channel/index.cjs +50 -0
  908. package/dist/cjs/node_modules/side-channel/index.cjs.map +1 -0
  909. package/dist/cjs/node_modules/side-channel-list/index.cjs +119 -0
  910. package/dist/cjs/node_modules/side-channel-list/index.cjs.map +1 -0
  911. package/dist/cjs/node_modules/side-channel-map/index.cjs +76 -0
  912. package/dist/cjs/node_modules/side-channel-map/index.cjs.map +1 -0
  913. package/dist/cjs/node_modules/side-channel-weakmap/index.cjs +92 -0
  914. package/dist/cjs/node_modules/side-channel-weakmap/index.cjs.map +1 -0
  915. package/dist/cjs/packages/sdk/package.json.cjs +6 -0
  916. package/dist/cjs/packages/sdk/package.json.cjs.map +1 -0
  917. package/dist/cjs/services/SBService.cjs +161 -0
  918. package/dist/cjs/services/SBService.cjs.map +1 -0
  919. package/dist/cjs/services/api-logs/LogService.cjs +19 -0
  920. package/dist/cjs/services/api-logs/LogService.cjs.map +1 -0
  921. package/dist/cjs/services/attachments/AttachmentService.cjs +86 -0
  922. package/dist/cjs/services/attachments/AttachmentService.cjs.map +1 -0
  923. package/dist/cjs/services/banks/BankService.cjs +183 -0
  924. package/dist/cjs/services/banks/BankService.cjs.map +1 -0
  925. package/dist/cjs/services/banks/accounts/BankAccountService.cjs +25 -0
  926. package/dist/cjs/services/banks/accounts/BankAccountService.cjs.map +1 -0
  927. package/dist/cjs/services/banks/institutions/BankInstitutionService.cjs +19 -0
  928. package/dist/cjs/services/banks/institutions/BankInstitutionService.cjs.map +1 -0
  929. package/dist/cjs/services/banks/transactions/BankTransactionService.cjs +28 -0
  930. package/dist/cjs/services/banks/transactions/BankTransactionService.cjs.map +1 -0
  931. package/dist/cjs/services/billing/subscriptions/SubscriptionService.cjs +129 -0
  932. package/dist/cjs/services/billing/subscriptions/SubscriptionService.cjs.map +1 -0
  933. package/dist/cjs/services/businesses/BusinessService.cjs +98 -0
  934. package/dist/cjs/services/businesses/BusinessService.cjs.map +1 -0
  935. package/dist/cjs/services/businesses/customers/CustomerService.cjs +94 -0
  936. package/dist/cjs/services/businesses/customers/CustomerService.cjs.map +1 -0
  937. package/dist/cjs/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.cjs +82 -0
  938. package/dist/cjs/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.cjs.map +1 -0
  939. package/dist/cjs/services/businesses/customers/payment-methods/CustomerPaymentMethodService.cjs +82 -0
  940. package/dist/cjs/services/businesses/customers/payment-methods/CustomerPaymentMethodService.cjs.map +1 -0
  941. package/dist/cjs/services/businesses/departments/DepartmentService.cjs +159 -0
  942. package/dist/cjs/services/businesses/departments/DepartmentService.cjs.map +1 -0
  943. package/dist/cjs/services/businesses/departments/Employees/DepartmentEmployeeService.cjs +81 -0
  944. package/dist/cjs/services/businesses/departments/Employees/DepartmentEmployeeService.cjs.map +1 -0
  945. package/dist/cjs/services/businesses/domains/DomainService.cjs +21 -0
  946. package/dist/cjs/services/businesses/domains/DomainService.cjs.map +1 -0
  947. package/dist/cjs/services/businesses/fees/FeeService.cjs +93 -0
  948. package/dist/cjs/services/businesses/fees/FeeService.cjs.map +1 -0
  949. package/dist/cjs/services/businesses/locations/LocationService.cjs +139 -0
  950. package/dist/cjs/services/businesses/locations/LocationService.cjs.map +1 -0
  951. package/dist/cjs/services/businesses/prices/PriceService.cjs +24 -0
  952. package/dist/cjs/services/businesses/prices/PriceService.cjs.map +1 -0
  953. package/dist/cjs/services/businesses/products/ProductService.cjs +123 -0
  954. package/dist/cjs/services/businesses/products/ProductService.cjs.map +1 -0
  955. package/dist/cjs/services/businesses/products/images/ProductImageService.cjs +99 -0
  956. package/dist/cjs/services/businesses/products/images/ProductImageService.cjs.map +1 -0
  957. package/dist/cjs/services/businesses/products/modifiers/ProductModifierService.cjs +94 -0
  958. package/dist/cjs/services/businesses/products/modifiers/ProductModifierService.cjs.map +1 -0
  959. package/dist/cjs/services/businesses/products/options/ProductOptionService.cjs +94 -0
  960. package/dist/cjs/services/businesses/products/options/ProductOptionService.cjs.map +1 -0
  961. package/dist/cjs/services/businesses/products/variants/ProductVariantService.cjs +83 -0
  962. package/dist/cjs/services/businesses/products/variants/ProductVariantService.cjs.map +1 -0
  963. package/dist/cjs/services/businesses/promo-codes/PromoCodeService.cjs +94 -0
  964. package/dist/cjs/services/businesses/promo-codes/PromoCodeService.cjs.map +1 -0
  965. package/dist/cjs/services/businesses/reviews/BusinessReviewService.cjs +32 -0
  966. package/dist/cjs/services/businesses/reviews/BusinessReviewService.cjs.map +1 -0
  967. package/dist/cjs/services/businesses/tables/TableService.cjs +29 -0
  968. package/dist/cjs/services/businesses/tables/TableService.cjs.map +1 -0
  969. package/dist/cjs/services/businesses/taxes/TaxService.cjs +89 -0
  970. package/dist/cjs/services/businesses/taxes/TaxService.cjs.map +1 -0
  971. package/dist/cjs/services/businesses/team/invitations/TeamMemberInvitationService.cjs +34 -0
  972. package/dist/cjs/services/businesses/team/invitations/TeamMemberInvitationService.cjs.map +1 -0
  973. package/dist/cjs/services/businesses/team/members/TeamMemberService.cjs +26 -0
  974. package/dist/cjs/services/businesses/team/members/TeamMemberService.cjs.map +1 -0
  975. package/dist/cjs/services/businesses/vendors/VendorService.cjs +91 -0
  976. package/dist/cjs/services/businesses/vendors/VendorService.cjs.map +1 -0
  977. package/dist/cjs/services/cards/CardService.cjs +40 -0
  978. package/dist/cjs/services/cards/CardService.cjs.map +1 -0
  979. package/dist/cjs/services/documents/DocumentService.cjs +40 -0
  980. package/dist/cjs/services/documents/DocumentService.cjs.map +1 -0
  981. package/dist/cjs/services/expenses/ExpenseService.cjs +68 -0
  982. package/dist/cjs/services/expenses/ExpenseService.cjs.map +1 -0
  983. package/dist/cjs/services/explore/ExploreService.cjs +16 -0
  984. package/dist/cjs/services/explore/ExploreService.cjs.map +1 -0
  985. package/dist/cjs/services/friends/FriendService.cjs +28 -0
  986. package/dist/cjs/services/friends/FriendService.cjs.map +1 -0
  987. package/dist/cjs/services/integrations/IntegrationService.cjs +27 -0
  988. package/dist/cjs/services/integrations/IntegrationService.cjs.map +1 -0
  989. package/dist/cjs/services/invoices/InvoiceService.cjs +271 -0
  990. package/dist/cjs/services/invoices/InvoiceService.cjs.map +1 -0
  991. package/dist/cjs/services/loyalty/LoyaltyProgramService.cjs +197 -0
  992. package/dist/cjs/services/loyalty/LoyaltyProgramService.cjs.map +1 -0
  993. package/dist/cjs/services/notifications/NotificationService.cjs +75 -0
  994. package/dist/cjs/services/notifications/NotificationService.cjs.map +1 -0
  995. package/dist/cjs/services/oauth/AccessTokenResponse.cjs +16 -0
  996. package/dist/cjs/services/oauth/AccessTokenResponse.cjs.map +1 -0
  997. package/dist/cjs/services/oauth/AuthorizationCodeResponse.cjs +25 -0
  998. package/dist/cjs/services/oauth/AuthorizationCodeResponse.cjs.map +1 -0
  999. package/dist/cjs/services/oauth/OAuthService.cjs +44 -0
  1000. package/dist/cjs/services/oauth/OAuthService.cjs.map +1 -0
  1001. package/dist/cjs/services/payment-methods/PaymentMethodService.cjs +40 -0
  1002. package/dist/cjs/services/payment-methods/PaymentMethodService.cjs.map +1 -0
  1003. package/dist/cjs/services/receipts/ReceiptService.cjs +294 -0
  1004. package/dist/cjs/services/receipts/ReceiptService.cjs.map +1 -0
  1005. package/dist/cjs/services/settlements/SettlementService.cjs +29 -0
  1006. package/dist/cjs/services/settlements/SettlementService.cjs.map +1 -0
  1007. package/dist/cjs/services/transactions/TransactionService.cjs +20 -0
  1008. package/dist/cjs/services/transactions/TransactionService.cjs.map +1 -0
  1009. package/dist/cjs/services/user/UserService.cjs +42 -0
  1010. package/dist/cjs/services/user/UserService.cjs.map +1 -0
  1011. package/dist/cjs/services/users/UserService.cjs +34 -0
  1012. package/dist/cjs/services/users/UserService.cjs.map +1 -0
  1013. package/dist/cjs/services/vendors/VendorService.cjs +40 -0
  1014. package/dist/cjs/services/vendors/VendorService.cjs.map +1 -0
  1015. package/dist/esm/_virtual/__polyfill-node.util.mjs +7 -0
  1016. package/dist/esm/_virtual/__polyfill-node.util.mjs.map +1 -0
  1017. package/dist/esm/_virtual/_commonjsHelpers.mjs +33 -0
  1018. package/dist/esm/_virtual/_commonjsHelpers.mjs.map +1 -0
  1019. package/dist/esm/_virtual/_polyfill-node._inherits.mjs +26 -0
  1020. package/dist/esm/_virtual/_polyfill-node._inherits.mjs.map +1 -0
  1021. package/dist/esm/_virtual/_polyfill-node.buffer.mjs +1981 -0
  1022. package/dist/esm/_virtual/_polyfill-node.buffer.mjs.map +1 -0
  1023. package/dist/esm/_virtual/_polyfill-node.global.mjs +6 -0
  1024. package/dist/esm/_virtual/_polyfill-node.global.mjs.map +1 -0
  1025. package/dist/esm/_virtual/_polyfill-node.process.mjs +226 -0
  1026. package/dist/esm/_virtual/_polyfill-node.process.mjs.map +1 -0
  1027. package/dist/esm/_virtual/_polyfill-node.util.mjs +679 -0
  1028. package/dist/esm/_virtual/_polyfill-node.util.mjs.map +1 -0
  1029. package/dist/esm/_virtual/index.mjs +4 -0
  1030. package/dist/esm/_virtual/index.mjs.map +1 -0
  1031. package/dist/esm/client/SBClient.mjs +257 -0
  1032. package/dist/esm/client/SBClient.mjs.map +1 -0
  1033. package/dist/esm/client/SBCredentials.mjs +57 -0
  1034. package/dist/esm/client/SBCredentials.mjs.map +1 -0
  1035. package/dist/esm/client/SBEnvironment.mjs +13 -0
  1036. package/dist/esm/client/SBEnvironment.mjs.map +1 -0
  1037. package/dist/esm/client/SBException.mjs +35 -0
  1038. package/dist/esm/client/SBException.mjs.map +1 -0
  1039. package/dist/esm/client/SBInstance.mjs +57 -0
  1040. package/dist/esm/client/SBInstance.mjs.map +1 -0
  1041. package/dist/esm/client/SBLogger.mjs +14 -0
  1042. package/dist/esm/client/SBLogger.mjs.map +1 -0
  1043. package/dist/esm/client/SBPermission.mjs +50 -0
  1044. package/dist/esm/client/SBPermission.mjs.map +1 -0
  1045. package/dist/esm/client/SBServiceOptions.mjs +19 -0
  1046. package/dist/esm/client/SBServiceOptions.mjs.map +1 -0
  1047. package/dist/esm/client/constants.mjs +5 -0
  1048. package/dist/esm/client/constants.mjs.map +1 -0
  1049. package/dist/esm/constants/login/LoginError.mjs +9 -0
  1050. package/dist/esm/constants/login/LoginError.mjs.map +1 -0
  1051. package/dist/esm/entities/account/SBGenderEnum.mjs +9 -0
  1052. package/dist/esm/entities/account/SBGenderEnum.mjs.map +1 -0
  1053. package/dist/esm/entities/banks/SBBankState.mjs +10 -0
  1054. package/dist/esm/entities/banks/SBBankState.mjs.map +1 -0
  1055. package/dist/esm/entities/barcode/SBBarcodeType.mjs +28 -0
  1056. package/dist/esm/entities/barcode/SBBarcodeType.mjs.map +1 -0
  1057. package/dist/esm/entities/businesses/fees/SBFeeType.mjs +8 -0
  1058. package/dist/esm/entities/businesses/fees/SBFeeType.mjs.map +1 -0
  1059. package/dist/esm/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.mjs +10 -0
  1060. package/dist/esm/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.mjs.map +1 -0
  1061. package/dist/esm/entities/businesses/team/members/SBTeamMemberRole.mjs +11 -0
  1062. package/dist/esm/entities/businesses/team/members/SBTeamMemberRole.mjs.map +1 -0
  1063. package/dist/esm/entities/businesses/team/members/SBTeamMemberStatus.mjs +11 -0
  1064. package/dist/esm/entities/businesses/team/members/SBTeamMemberStatus.mjs.map +1 -0
  1065. package/dist/esm/entities/cards/SBCardType.mjs +10 -0
  1066. package/dist/esm/entities/cards/SBCardType.mjs.map +1 -0
  1067. package/dist/esm/entities/payment-methods/SBPaymentMethod.mjs +8 -0
  1068. package/dist/esm/entities/payment-methods/SBPaymentMethod.mjs.map +1 -0
  1069. package/dist/esm/entities/payment-methods/SBPaymentMethodFingerprintProvider.mjs +8 -0
  1070. package/dist/esm/entities/payment-methods/SBPaymentMethodFingerprintProvider.mjs.map +1 -0
  1071. package/dist/esm/entities/receipts/SBReceiptSource.mjs +11 -0
  1072. package/dist/esm/entities/receipts/SBReceiptSource.mjs.map +1 -0
  1073. package/dist/esm/entities/receipts/SBReceiptType.mjs +8 -0
  1074. package/dist/esm/entities/receipts/SBReceiptType.mjs.map +1 -0
  1075. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardAvsResult.mjs +16 -0
  1076. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardAvsResult.mjs.map +1 -0
  1077. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardCvvResult.mjs +9 -0
  1078. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardCvvResult.mjs.map +1 -0
  1079. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.mjs +11 -0
  1080. package/dist/esm/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.mjs.map +1 -0
  1081. package/dist/esm/entities/receipts/payments/SBReceiptPaymentExternalType.mjs +18 -0
  1082. package/dist/esm/entities/receipts/payments/SBReceiptPaymentExternalType.mjs.map +1 -0
  1083. package/dist/esm/entities/receipts/payments/SBReceiptPaymentRiskLevel.mjs +9 -0
  1084. package/dist/esm/entities/receipts/payments/SBReceiptPaymentRiskLevel.mjs.map +1 -0
  1085. package/dist/esm/entities/receipts/payments/SBReceiptPaymentStatus.mjs +11 -0
  1086. package/dist/esm/entities/receipts/payments/SBReceiptPaymentStatus.mjs.map +1 -0
  1087. package/dist/esm/entities/receipts/payments/SBReceiptPaymentType.mjs +12 -0
  1088. package/dist/esm/entities/receipts/payments/SBReceiptPaymentType.mjs.map +1 -0
  1089. package/dist/esm/entities/transactions/SBTransactionType.mjs +10 -0
  1090. package/dist/esm/entities/transactions/SBTransactionType.mjs.map +1 -0
  1091. package/dist/esm/index.mjs +76 -0
  1092. package/dist/esm/index.mjs.map +1 -0
  1093. package/dist/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +13 -0
  1094. package/dist/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs.map +1 -0
  1095. package/dist/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +15 -0
  1096. package/dist/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs.map +1 -0
  1097. package/dist/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +10 -0
  1098. package/dist/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs.map +1 -0
  1099. package/dist/esm/node_modules/@babel/runtime/helpers/esm/typeof.mjs +12 -0
  1100. package/dist/esm/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
  1101. package/dist/esm/node_modules/call-bind/index.mjs +29 -0
  1102. package/dist/esm/node_modules/call-bind/index.mjs.map +1 -0
  1103. package/dist/esm/node_modules/call-bind-apply-helpers/actualApply.mjs +15 -0
  1104. package/dist/esm/node_modules/call-bind-apply-helpers/actualApply.mjs.map +1 -0
  1105. package/dist/esm/node_modules/call-bind-apply-helpers/applyBind.mjs +15 -0
  1106. package/dist/esm/node_modules/call-bind-apply-helpers/applyBind.mjs.map +1 -0
  1107. package/dist/esm/node_modules/call-bind-apply-helpers/functionApply.mjs +13 -0
  1108. package/dist/esm/node_modules/call-bind-apply-helpers/functionApply.mjs.map +1 -0
  1109. package/dist/esm/node_modules/call-bind-apply-helpers/functionCall.mjs +13 -0
  1110. package/dist/esm/node_modules/call-bind-apply-helpers/functionCall.mjs.map +1 -0
  1111. package/dist/esm/node_modules/call-bind-apply-helpers/index.mjs +20 -0
  1112. package/dist/esm/node_modules/call-bind-apply-helpers/index.mjs.map +1 -0
  1113. package/dist/esm/node_modules/call-bind-apply-helpers/reflectApply.mjs +5 -0
  1114. package/dist/esm/node_modules/call-bind-apply-helpers/reflectApply.mjs.map +1 -0
  1115. package/dist/esm/node_modules/call-bound/index.mjs +21 -0
  1116. package/dist/esm/node_modules/call-bound/index.mjs.map +1 -0
  1117. package/dist/esm/node_modules/define-data-property/index.mjs +54 -0
  1118. package/dist/esm/node_modules/define-data-property/index.mjs.map +1 -0
  1119. package/dist/esm/node_modules/dunder-proto/get.mjs +29 -0
  1120. package/dist/esm/node_modules/dunder-proto/get.mjs.map +1 -0
  1121. package/dist/esm/node_modules/es-define-property/index.mjs +16 -0
  1122. package/dist/esm/node_modules/es-define-property/index.mjs.map +1 -0
  1123. package/dist/esm/node_modules/es-errors/eval.mjs +5 -0
  1124. package/dist/esm/node_modules/es-errors/eval.mjs.map +1 -0
  1125. package/dist/esm/node_modules/es-errors/index.mjs +5 -0
  1126. package/dist/esm/node_modules/es-errors/index.mjs.map +1 -0
  1127. package/dist/esm/node_modules/es-errors/range.mjs +5 -0
  1128. package/dist/esm/node_modules/es-errors/range.mjs.map +1 -0
  1129. package/dist/esm/node_modules/es-errors/ref.mjs +5 -0
  1130. package/dist/esm/node_modules/es-errors/ref.mjs.map +1 -0
  1131. package/dist/esm/node_modules/es-errors/syntax.mjs +5 -0
  1132. package/dist/esm/node_modules/es-errors/syntax.mjs.map +1 -0
  1133. package/dist/esm/node_modules/es-errors/type.mjs +5 -0
  1134. package/dist/esm/node_modules/es-errors/type.mjs.map +1 -0
  1135. package/dist/esm/node_modules/es-errors/uri.mjs +5 -0
  1136. package/dist/esm/node_modules/es-errors/uri.mjs.map +1 -0
  1137. package/dist/esm/node_modules/function-bind/implementation.mjs +75 -0
  1138. package/dist/esm/node_modules/function-bind/implementation.mjs.map +1 -0
  1139. package/dist/esm/node_modules/function-bind/index.mjs +14 -0
  1140. package/dist/esm/node_modules/function-bind/index.mjs.map +1 -0
  1141. package/dist/esm/node_modules/get-intrinsic/index.mjs +339 -0
  1142. package/dist/esm/node_modules/get-intrinsic/index.mjs.map +1 -0
  1143. package/dist/esm/node_modules/gopd/gOPD.mjs +5 -0
  1144. package/dist/esm/node_modules/gopd/gOPD.mjs.map +1 -0
  1145. package/dist/esm/node_modules/gopd/index.mjs +16 -0
  1146. package/dist/esm/node_modules/gopd/index.mjs.map +1 -0
  1147. package/dist/esm/node_modules/has-property-descriptors/index.mjs +24 -0
  1148. package/dist/esm/node_modules/has-property-descriptors/index.mjs.map +1 -0
  1149. package/dist/esm/node_modules/has-symbols/index.mjs +31 -0
  1150. package/dist/esm/node_modules/has-symbols/index.mjs.map +1 -0
  1151. package/dist/esm/node_modules/has-symbols/shams.mjs +70 -0
  1152. package/dist/esm/node_modules/has-symbols/shams.mjs.map +1 -0
  1153. package/dist/esm/node_modules/hasown/index.mjs +18 -0
  1154. package/dist/esm/node_modules/hasown/index.mjs.map +1 -0
  1155. package/dist/esm/node_modules/object-inspect/index.mjs +533 -0
  1156. package/dist/esm/node_modules/object-inspect/index.mjs.map +1 -0
  1157. package/dist/esm/node_modules/object-inspect/util.inspect.mjs +6 -0
  1158. package/dist/esm/node_modules/object-inspect/util.inspect.mjs.map +1 -0
  1159. package/dist/esm/node_modules/qs/lib/formats.mjs +22 -0
  1160. package/dist/esm/node_modules/qs/lib/formats.mjs.map +1 -0
  1161. package/dist/esm/node_modules/qs/lib/index.mjs +17 -0
  1162. package/dist/esm/node_modules/qs/lib/index.mjs.map +1 -0
  1163. package/dist/esm/node_modules/qs/lib/parse.mjs +263 -0
  1164. package/dist/esm/node_modules/qs/lib/parse.mjs.map +1 -0
  1165. package/dist/esm/node_modules/qs/lib/stringify.mjs +251 -0
  1166. package/dist/esm/node_modules/qs/lib/stringify.mjs.map +1 -0
  1167. package/dist/esm/node_modules/qs/lib/utils.mjs +229 -0
  1168. package/dist/esm/node_modules/qs/lib/utils.mjs.map +1 -0
  1169. package/dist/esm/node_modules/set-function-length/index.mjs +45 -0
  1170. package/dist/esm/node_modules/set-function-length/index.mjs.map +1 -0
  1171. package/dist/esm/node_modules/side-channel/index.mjs +48 -0
  1172. package/dist/esm/node_modules/side-channel/index.mjs.map +1 -0
  1173. package/dist/esm/node_modules/side-channel-list/index.mjs +117 -0
  1174. package/dist/esm/node_modules/side-channel-list/index.mjs.map +1 -0
  1175. package/dist/esm/node_modules/side-channel-map/index.mjs +74 -0
  1176. package/dist/esm/node_modules/side-channel-map/index.mjs.map +1 -0
  1177. package/dist/esm/node_modules/side-channel-weakmap/index.mjs +90 -0
  1178. package/dist/esm/node_modules/side-channel-weakmap/index.mjs.map +1 -0
  1179. package/dist/esm/packages/sdk/package.json.mjs +4 -0
  1180. package/dist/esm/packages/sdk/package.json.mjs.map +1 -0
  1181. package/dist/esm/services/SBService.mjs +159 -0
  1182. package/dist/esm/services/SBService.mjs.map +1 -0
  1183. package/dist/esm/services/api-logs/LogService.mjs +17 -0
  1184. package/dist/esm/services/api-logs/LogService.mjs.map +1 -0
  1185. package/dist/esm/services/attachments/AttachmentService.mjs +84 -0
  1186. package/dist/esm/services/attachments/AttachmentService.mjs.map +1 -0
  1187. package/dist/esm/services/banks/BankService.mjs +181 -0
  1188. package/dist/esm/services/banks/BankService.mjs.map +1 -0
  1189. package/dist/esm/services/banks/accounts/BankAccountService.mjs +23 -0
  1190. package/dist/esm/services/banks/accounts/BankAccountService.mjs.map +1 -0
  1191. package/dist/esm/services/banks/institutions/BankInstitutionService.mjs +17 -0
  1192. package/dist/esm/services/banks/institutions/BankInstitutionService.mjs.map +1 -0
  1193. package/dist/esm/services/banks/transactions/BankTransactionService.mjs +26 -0
  1194. package/dist/esm/services/banks/transactions/BankTransactionService.mjs.map +1 -0
  1195. package/dist/esm/services/billing/subscriptions/SubscriptionService.mjs +127 -0
  1196. package/dist/esm/services/billing/subscriptions/SubscriptionService.mjs.map +1 -0
  1197. package/dist/esm/services/businesses/BusinessService.mjs +96 -0
  1198. package/dist/esm/services/businesses/BusinessService.mjs.map +1 -0
  1199. package/dist/esm/services/businesses/customers/CustomerService.mjs +92 -0
  1200. package/dist/esm/services/businesses/customers/CustomerService.mjs.map +1 -0
  1201. package/dist/esm/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.mjs +80 -0
  1202. package/dist/esm/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.mjs.map +1 -0
  1203. package/dist/esm/services/businesses/customers/payment-methods/CustomerPaymentMethodService.mjs +80 -0
  1204. package/dist/esm/services/businesses/customers/payment-methods/CustomerPaymentMethodService.mjs.map +1 -0
  1205. package/dist/esm/services/businesses/departments/DepartmentService.mjs +157 -0
  1206. package/dist/esm/services/businesses/departments/DepartmentService.mjs.map +1 -0
  1207. package/dist/esm/services/businesses/departments/Employees/DepartmentEmployeeService.mjs +79 -0
  1208. package/dist/esm/services/businesses/departments/Employees/DepartmentEmployeeService.mjs.map +1 -0
  1209. package/dist/esm/services/businesses/domains/DomainService.mjs +19 -0
  1210. package/dist/esm/services/businesses/domains/DomainService.mjs.map +1 -0
  1211. package/dist/esm/services/businesses/fees/FeeService.mjs +91 -0
  1212. package/dist/esm/services/businesses/fees/FeeService.mjs.map +1 -0
  1213. package/dist/esm/services/businesses/locations/LocationService.mjs +137 -0
  1214. package/dist/esm/services/businesses/locations/LocationService.mjs.map +1 -0
  1215. package/dist/esm/services/businesses/prices/PriceService.mjs +22 -0
  1216. package/dist/esm/services/businesses/prices/PriceService.mjs.map +1 -0
  1217. package/dist/esm/services/businesses/products/ProductService.mjs +121 -0
  1218. package/dist/esm/services/businesses/products/ProductService.mjs.map +1 -0
  1219. package/dist/esm/services/businesses/products/images/ProductImageService.mjs +97 -0
  1220. package/dist/esm/services/businesses/products/images/ProductImageService.mjs.map +1 -0
  1221. package/dist/esm/services/businesses/products/modifiers/ProductModifierService.mjs +92 -0
  1222. package/dist/esm/services/businesses/products/modifiers/ProductModifierService.mjs.map +1 -0
  1223. package/dist/esm/services/businesses/products/options/ProductOptionService.mjs +92 -0
  1224. package/dist/esm/services/businesses/products/options/ProductOptionService.mjs.map +1 -0
  1225. package/dist/esm/services/businesses/products/variants/ProductVariantService.mjs +81 -0
  1226. package/dist/esm/services/businesses/products/variants/ProductVariantService.mjs.map +1 -0
  1227. package/dist/esm/services/businesses/promo-codes/PromoCodeService.mjs +92 -0
  1228. package/dist/esm/services/businesses/promo-codes/PromoCodeService.mjs.map +1 -0
  1229. package/dist/esm/services/businesses/reviews/BusinessReviewService.mjs +30 -0
  1230. package/dist/esm/services/businesses/reviews/BusinessReviewService.mjs.map +1 -0
  1231. package/dist/esm/services/businesses/tables/TableService.mjs +27 -0
  1232. package/dist/esm/services/businesses/tables/TableService.mjs.map +1 -0
  1233. package/dist/esm/services/businesses/taxes/TaxService.mjs +87 -0
  1234. package/dist/esm/services/businesses/taxes/TaxService.mjs.map +1 -0
  1235. package/dist/esm/services/businesses/team/invitations/TeamMemberInvitationService.mjs +32 -0
  1236. package/dist/esm/services/businesses/team/invitations/TeamMemberInvitationService.mjs.map +1 -0
  1237. package/dist/esm/services/businesses/team/members/TeamMemberService.mjs +24 -0
  1238. package/dist/esm/services/businesses/team/members/TeamMemberService.mjs.map +1 -0
  1239. package/dist/esm/services/businesses/vendors/VendorService.mjs +89 -0
  1240. package/dist/esm/services/businesses/vendors/VendorService.mjs.map +1 -0
  1241. package/dist/esm/services/cards/CardService.mjs +38 -0
  1242. package/dist/esm/services/cards/CardService.mjs.map +1 -0
  1243. package/dist/esm/services/documents/DocumentService.mjs +38 -0
  1244. package/dist/esm/services/documents/DocumentService.mjs.map +1 -0
  1245. package/dist/esm/services/expenses/ExpenseService.mjs +66 -0
  1246. package/dist/esm/services/expenses/ExpenseService.mjs.map +1 -0
  1247. package/dist/esm/services/explore/ExploreService.mjs +14 -0
  1248. package/dist/esm/services/explore/ExploreService.mjs.map +1 -0
  1249. package/dist/esm/services/friends/FriendService.mjs +26 -0
  1250. package/dist/esm/services/friends/FriendService.mjs.map +1 -0
  1251. package/dist/esm/services/integrations/IntegrationService.mjs +25 -0
  1252. package/dist/esm/services/integrations/IntegrationService.mjs.map +1 -0
  1253. package/dist/esm/services/invoices/InvoiceService.mjs +269 -0
  1254. package/dist/esm/services/invoices/InvoiceService.mjs.map +1 -0
  1255. package/dist/esm/services/loyalty/LoyaltyProgramService.mjs +195 -0
  1256. package/dist/esm/services/loyalty/LoyaltyProgramService.mjs.map +1 -0
  1257. package/dist/esm/services/notifications/NotificationService.mjs +73 -0
  1258. package/dist/esm/services/notifications/NotificationService.mjs.map +1 -0
  1259. package/dist/esm/services/oauth/AccessTokenResponse.mjs +14 -0
  1260. package/dist/esm/services/oauth/AccessTokenResponse.mjs.map +1 -0
  1261. package/dist/esm/services/oauth/AuthorizationCodeResponse.mjs +23 -0
  1262. package/dist/esm/services/oauth/AuthorizationCodeResponse.mjs.map +1 -0
  1263. package/dist/esm/services/oauth/OAuthService.mjs +42 -0
  1264. package/dist/esm/services/oauth/OAuthService.mjs.map +1 -0
  1265. package/dist/esm/services/payment-methods/PaymentMethodService.mjs +38 -0
  1266. package/dist/esm/services/payment-methods/PaymentMethodService.mjs.map +1 -0
  1267. package/dist/esm/services/receipts/ReceiptService.mjs +292 -0
  1268. package/dist/esm/services/receipts/ReceiptService.mjs.map +1 -0
  1269. package/dist/esm/services/settlements/SettlementService.mjs +27 -0
  1270. package/dist/esm/services/settlements/SettlementService.mjs.map +1 -0
  1271. package/dist/esm/services/transactions/TransactionService.mjs +18 -0
  1272. package/dist/esm/services/transactions/TransactionService.mjs.map +1 -0
  1273. package/dist/esm/services/user/UserService.mjs +40 -0
  1274. package/dist/esm/services/user/UserService.mjs.map +1 -0
  1275. package/dist/esm/services/users/UserService.mjs +32 -0
  1276. package/dist/esm/services/users/UserService.mjs.map +1 -0
  1277. package/dist/esm/services/vendors/VendorService.mjs +38 -0
  1278. package/dist/esm/services/vendors/VendorService.mjs.map +1 -0
  1279. package/dist/umd/index.js +9459 -0
  1280. package/dist/umd/index.js.map +1 -0
  1281. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/@babel/runtime/helpers/esm/typeof.js","../../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../../src/client/SBLogger.ts","../../src/client/constants.ts","../../src/client/SBServiceOptions.ts","../../src/services/SBService.ts","../../src/services/api-logs/LogService.ts","../../src/services/banks/accounts/BankAccountService.ts","../../src/services/banks/transactions/BankTransactionService.ts","../../src/services/banks/BankService.ts","../../src/services/banks/institutions/BankInstitutionService.ts","../../src/services/cards/CardService.ts","../../src/services/documents/DocumentService.ts","../../src/services/businesses/departments/Employees/DepartmentEmployeeService.ts","../../src/services/businesses/departments/DepartmentService.ts","../../src/services/friends/FriendService.ts","../../src/services/oauth/AccessTokenResponse.ts","../../src/services/oauth/AuthorizationCodeResponse.ts","../../../../node_modules/es-errors/type.js","../../../../node_modules/object-inspect/util.inspect.js","../../../../node_modules/object-inspect/index.js","../../../../node_modules/side-channel-list/index.js","../../../../node_modules/es-errors/index.js","../../../../node_modules/es-errors/eval.js","../../../../node_modules/es-errors/range.js","../../../../node_modules/es-errors/ref.js","../../../../node_modules/es-errors/syntax.js","../../../../node_modules/es-errors/uri.js","../../../../node_modules/gopd/gOPD.js","../../../../node_modules/gopd/index.js","../../../../node_modules/es-define-property/index.js","../../../../node_modules/has-symbols/shams.js","../../../../node_modules/has-symbols/index.js","../../../../node_modules/function-bind/implementation.js","../../../../node_modules/function-bind/index.js","../../../../node_modules/call-bind-apply-helpers/functionCall.js","../../../../node_modules/call-bind-apply-helpers/functionApply.js","../../../../node_modules/call-bind-apply-helpers/reflectApply.js","../../../../node_modules/call-bind-apply-helpers/actualApply.js","../../../../node_modules/call-bind-apply-helpers/index.js","../../../../node_modules/dunder-proto/get.js","../../../../node_modules/hasown/index.js","../../../../node_modules/get-intrinsic/index.js","../../../../node_modules/define-data-property/index.js","../../../../node_modules/has-property-descriptors/index.js","../../../../node_modules/set-function-length/index.js","../../../../node_modules/call-bind-apply-helpers/applyBind.js","../../../../node_modules/call-bind/index.js","../../../../node_modules/call-bound/index.js","../../../../node_modules/side-channel-map/index.js","../../../../node_modules/side-channel-weakmap/index.js","../../../../node_modules/side-channel/index.js","../../../../node_modules/qs/lib/formats.js","../../../../node_modules/qs/lib/utils.js","../../../../node_modules/qs/lib/stringify.js","../../../../node_modules/qs/lib/parse.js","../../../../node_modules/qs/lib/index.js","../../src/services/oauth/OAuthService.ts","../../src/services/businesses/customers/CustomerService.ts","../../src/services/businesses/customers/payment-methods/CustomerPaymentMethodService.ts","../../src/services/businesses/fees/FeeService.ts","../../src/services/businesses/locations/LocationService.ts","../../src/services/businesses/products/ProductService.ts","../../src/services/businesses/products/options/ProductOptionService.ts","../../src/services/businesses/products/variants/ProductVariantService.ts","../../src/services/businesses/products/images/ProductImageService.ts","../../src/services/businesses/products/modifiers/ProductModifierService.ts","../../src/services/businesses/promo-codes/PromoCodeService.ts","../../src/services/businesses/reviews/BusinessReviewService.ts","../../src/services/businesses/taxes/TaxService.ts","../../src/services/businesses/vendors/VendorService.ts","../../src/services/businesses/customers/balance-transactions/CustomerBalanceTransactionService.ts","../../src/services/businesses/team/invitations/TeamMemberInvitationService.ts","../../src/services/businesses/team/members/TeamMemberService.ts","../../src/services/businesses/BusinessService.ts","../../src/services/businesses/prices/PriceService.ts","../../src/services/businesses/domains/DomainService.ts","../../src/services/businesses/tables/TableService.ts","../../src/services/payment-methods/PaymentMethodService.ts","../../src/services/receipts/ReceiptService.ts","../../src/services/settlements/SettlementService.ts","../../src/services/transactions/TransactionService.ts","../../src/services/user/UserService.ts","../../src/services/users/UserService.ts","../../src/services/explore/ExploreService.ts","../../src/services/attachments/AttachmentService.ts","../../src/services/invoices/InvoiceService.ts","../../src/services/notifications/NotificationService.ts","../../src/services/billing/subscriptions/SubscriptionService.ts","../../src/services/vendors/VendorService.ts","../../src/services/loyalty/LoyaltyProgramService.ts","../../src/services/integrations/IntegrationService.ts","../../src/services/expenses/ExpenseService.ts","../../src/client/SBClient.ts","../../src/client/SBCredentials.ts","../../src/client/SBEnvironment.ts","../../src/client/SBException.ts","../../src/client/SBInstance.ts","../../src/client/SBPermission.ts","../../src/constants/login/LoginError.ts","../../src/entities/account/SBGenderEnum.tsx","../../src/entities/banks/SBBankState.ts","../../src/entities/barcode/SBBarcodeType.ts","../../src/entities/cards/SBCardType.ts","../../src/entities/businesses/team/invitations/SBTeamMemberInvitationStatus.ts","../../src/entities/businesses/team/members/SBTeamMemberRole.ts","../../src/entities/businesses/team/members/SBTeamMemberStatus.ts","../../src/entities/businesses/fees/SBFeeType.ts","../../src/entities/payment-methods/SBPaymentMethod.ts","../../src/entities/payment-methods/SBPaymentMethodFingerprintProvider.ts","../../src/entities/receipts/payments/SBReceiptPaymentType.ts","../../src/entities/receipts/payments/SBReceiptPaymentRiskLevel.ts","../../src/entities/receipts/payments/SBReceiptPaymentStatus.ts","../../src/entities/receipts/payments/SBReceiptPaymentCardAvsResult.ts","../../src/entities/receipts/payments/SBReceiptPaymentCardCvvResult.ts","../../src/entities/receipts/payments/SBReceiptPaymentCardEntryMethod.ts","../../src/entities/receipts/payments/SBReceiptPaymentExternalType.ts","../../src/entities/receipts/SBReceiptType.ts","../../src/entities/receipts/SBReceiptSource.ts","../../src/entities/transactions/SBTransactionType.ts"],"sourcesContent":["function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","export class SBLogger {\n\tprivate readonly debug: boolean;\n\tpublic constructor(debug: boolean) {\n\t\tthis.debug = debug;\n\t}\n\n\tpublic log(...args: any[]) {\n\t\tif (this.debug) {\n\t\t\tconsole.debug(`[SMARTBILLS] ${new Date().toDateString()}`, ...args);\n\t\t}\n\t}\n}\n","export const API_URL = \"https://api.smartbills.io\";\nexport const AUTH_URL = \"https://api.smartbills.io/auth\";\n","import { v4 } from \"uuid\";\nimport { SBClientOptions } from \"./SBClientOptions\";\nimport { SBLogger } from \"./SBLogger\";\nimport { API_URL, AUTH_URL } from \"./constants\";\n\nexport type SBServiceOptions = Omit<SBClientOptions, \"endpoints\"> & {\n\turl: string;\n\tlocale?: string;\n};\n\nexport const defaultAPIServiceOptions: SBServiceOptions = {\n\turl: API_URL,\n\tdebug: false,\n\tlogger: new SBLogger(false),\n\tsessionId: v4(),\n};\n\nexport const defaultAuthServiceoptions: SBServiceOptions = {\n\turl: AUTH_URL,\n\tdebug: false,\n\tlogger: new SBLogger(false),\n\tsessionId: v4(),\n};\n","import { AxiosRequestConfig } from \"axios\";\nimport { ListRequest } from \"./ListRequest\";\nimport qs from \"query-string\";\nimport axios, { AxiosInstance } from \"axios\";\nimport { SBClientOptions } from \"@/client/SBClientOptions\";\nimport { SBRequestOptions } from \"@/client/SBRequestOption\";\n\n/**\n * Base service class that provides common functionality for all Smartbills services\n */\nexport abstract class SBService {\n\t/** Axios instance for making HTTP requests */\n\tprotected client: AxiosInstance;\n\t/** Client options */\n\tprivate clientOptions: SBClientOptions;\n\n\t/**\n\t * Creates a new service instance\n\t * @param options - Client configuration options\n\t */\n\tconstructor(options: SBClientOptions) {\n\t\tthis.clientOptions = options;\n\t\tthis.client = axios.create({\n\t\t\tbaseURL: options.endpoints.api,\n\t\t\theaders: {\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t},\n\t\t});\n\t}\n\n\t/**\n\t * Prepares an Axios request configuration with common headers and options\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Prepared Axios request configuration\n\t */\n\tprotected async prepareRequest(\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<AxiosRequestConfig> {\n\t\tconst headers: Record<string, any> = {};\n\t\tconst businessId =\n\t\t\toptions?.businessId ?? this.clientOptions?.businessId?.toString();\n\t\tconst locale = options?.locale ?? this.clientOptions.locale;\n\n\t\tconst token = this.clientOptions.credentials?.accessToken;\n\n\t\tif (businessId) {\n\t\t\theaders[\"x-tenant-id\"] = businessId;\n\t\t}\n\n\t\tif (token) {\n\t\t\theaders[\"Authorization\"] = `Bearer ${token}`;\n\t\t}\n\t\tif (locale) {\n\t\t\theaders[\"Accept-Language\"] = locale;\n\t\t}\n\n\t\treturn {\n\t\t\t...config,\n\t\t\theaders: {\n\t\t\t\t...config.headers,\n\t\t\t\t...headers,\n\t\t\t},\n\t\t};\n\t}\n\t/**\n\t * Lists entities with pagination\n\t * @param path - API endpoint path\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 the paginated response data\n\t */\n\tprotected async listEntities<TRequest extends ListRequest, TResponse>(\n\t\tpath: string,\n\t\trequest: TRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<TResponse> {\n\t\tconst params = {\n\t\t\t...request,\n\t\t\tpage: request.page ?? 1,\n\t\t\tpageSize: request.pageSize ?? 10,\n\t\t};\n\n\t\tconfig = {\n\t\t\t...config,\n\t\t\tparams,\n\t\t\tparamsSerializer: (params) =>\n\t\t\t\tqs.stringify(params, { arrayFormat: \"index\" }),\n\t\t};\n\n\t\tconfig = await this.prepareRequest(options, config);\n\t\tconst response = await this.client.get(path, config);\n\t\treturn response.data;\n\t}\n\n\t/**\n\t * Gets an entity by ID\n\t * @param path - API endpoint path\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the entity data\n\t */\n\tprotected async getEntityById<TResponse>(\n\t\tpath: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<TResponse> {\n\t\tconfig = await this.prepareRequest(options, config);\n\t\tconst response = await this.client.get(path, config);\n\t\treturn response.data;\n\t}\n\n\t/**\n\t * Creates a new entity\n\t * @param path - API endpoint path\n\t * @param request - Create request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created entity data\n\t */\n\tprotected async createEntity<TRequest, TResponse>(\n\t\tpath: string,\n\t\trequest: TRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig<TRequest> = {},\n\t): Promise<TResponse> {\n\t\tconfig = await this.prepareRequest(options, config);\n\t\tconst response = await this.client.post(path, request, config);\n\t\treturn response.data;\n\t}\n\n\t/**\n\t * Updates an existing entity\n\t * @param path - API endpoint path\n\t * @param request - 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 entity data\n\t */\n\tprotected async updateEntity<TRequest, TResponse>(\n\t\tpath: string,\n\t\trequest: TRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig<TRequest> = {},\n\t): Promise<TResponse> {\n\t\tconfig = await this.prepareRequest(options, config);\n\t\tconst response = await this.client.put(path, request, config);\n\t\treturn response.data;\n\t}\n\n\t/**\n\t * Deletes an entity\n\t * @param path - API endpoint path\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deletion response\n\t */\n\tprotected async deleteEntity<TResponse>(\n\t\tpath: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<TResponse> {\n\t\tconfig = await this.prepareRequest(options, config);\n\t\tconst response = await this.client.delete(path, config);\n\t\treturn response.data;\n\t}\n\n\t/**\n\t * Gets a list of entities without pagination\n\t * @param path - API endpoint path\n\t * @param request - Request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with an array of entities\n\t */\n\tprotected async getEntities<TRequest, TResponse>(\n\t\tpath: string,\n\t\trequest: TRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<TResponse[]> {\n\t\tconfig = await this.prepareRequest(options, config);\n\t\tObject.assign(config, { params: request });\n\t\tconst response = await this.client.get(path, config);\n\t\treturn response.data;\n\t}\n\n\t/**\n\t * Executes a request with the specified options\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the response data\n\t */\n\tprotected async execute<TRequest, TResponse>(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<TRequest>,\n\t): Promise<TResponse> {\n\t\tconfig = await this.prepareRequest(options, config);\n\t\tconst response = await this.client(config);\n\t\treturn response.data;\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBApiLog } from \"@/entities/api-logs\";\nimport { SBService } from \"@/services/SBService\";\nimport { LogListRequest } from \"./LogListRequest\";\nimport { SBList } from \"@/entities/base\";\nimport { IRetrievableById } from \"@/interfaces\";\n\nexport class ApiLogService\n\textends SBService\n\timplements IListable<LogListRequest, SBApiLog>, IRetrievableById<SBApiLog>\n{\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async listAsync(\n\t\trequest: LogListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBApiLog>> {\n\t\treturn await super.listEntities(\"/v1/logs\", request, options, config);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBApiLog> {\n\t\treturn await super.getEntityById(`/v1/logs/${id}`, options, config);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBList } from \"@/entities/base\";\nimport { SBBankAccount, SBBankTransaction } from \"@/entities\";\nimport { IDeletable } from \"@/interfaces/IDeletable\";\nimport { IRetrievable, IRetrievableById } from \"@/interfaces/IRetrievable\";\nimport { SBService } from \"../../SBService\";\nimport { BankAccountListRequest } from \"./BankAccountListRequest\";\nimport { BankTransactionListRequest } from \"../transactions\";\nexport class BankAccountService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBBankAccount>,\n\t\tIRetrievable<BankAccountListRequest, SBBankAccount>,\n\t\tIDeletable<SBBankAccount>\n{\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBankAccount> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/banks-accounts/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBankAccount> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/banks-accounts/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async getAsync(\n\t\trequest: BankAccountListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankAccountListRequest>,\n\t): Promise<SBBankAccount[]> {\n\t\treturn await super.getEntities(\n\t\t\t\"/v1/banks-accounts\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async listTransactions(\n\t\tid: number,\n\t\trequest: BankTransactionListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankTransactionListRequest>,\n\t): Promise<SBList<SBBankTransaction>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/banks-accounts/${id}/transactions`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { IDeletable } from \"@/interfaces/IDeletable\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBBankTransaction } from \"@/entities/banks/SBBankTransaction\";\nimport { SBDocument } from \"@/entities/documents\";\nimport { SBService } from \"@/services/SBService\";\nimport { DocumentRenameRequest } from \"../..\";\nimport { BankTransactionListRequest } from \"./BankTransactionListRequest\";\nimport { IRetrievableById } from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\nexport class BankTransactionService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBBankTransaction>,\n\t\tIListable<BankTransactionListRequest, SBBankTransaction>,\n\t\tIDeletable<SBBankTransaction>\n{\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\tpublic async listAsync(\n\t\trequest: BankTransactionListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBBankTransaction>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/bank-transactions\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBankTransaction> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/bank-transactions/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBankTransaction> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/bank-transactions/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async listDocument(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDocument[]> {\n\t\treturn await super.getEntities(\n\t\t\t`/v1/bank-transactions/${id}/documents`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async renameDocument(\n\t\tid: number,\n\t\tdocumentId: number,\n\t\trequest: DocumentRenameRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDocument> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/bank-transactions/${id}/documents/${documentId}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBank, SBBankAccount, SBBankTransaction } from \"@/entities\";\nimport {\n\tICreatable,\n\tIDeletable,\n\tIRetrievableById,\n\tIUpdatable,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { BankAccountCreateRequest } from \"./accounts/BankAccountCreateRequest\";\nimport { BankAccountListRequest } from \"./accounts/BankAccountListRequest\";\nimport { BankAccountUpdateRequest } from \"./accounts/BankAccountUpdateRequest\";\nimport { BankCreateRequest } from \"./BankCreateRequest\";\nimport { BankLinkResponse } from \"./BankLinkResponse\";\nimport { BankLinkTokenResponse } from \"./BankLinkTokenResponse\";\nimport { BankListRequest } from \"./BankListRequest\";\nimport { BankTransactionListRequest } from \"./transactions/BankTransactionListRequest\";\nimport { BankUpdateRequest } from \"./BankUpdateRequest\";\nimport { IRetrievable } from \"@/interfaces/IRetrievable\";\nimport { SBList } from \"@/entities/base\";\n\n/**\n * Service for managing banks in the Smartbills system\n * Provides functionality for CRUD operations on banks, accounts, and transactions\n * @implements IRetrievableById<SBBank> - Allows retrieving banks by ID\n * @implements ICreatable<BankCreateRequest, SBBank> - Allows creating new banks\n * @implements IUpdatable<BankUpdateRequest, SBBank> - Allows updating banks\n * @implements IRetrievable<BankListRequest, SBBank> - Allows retrieving lists of banks\n * @implements IDeletable<SBBank> - Allows deleting banks\n */\nexport class BankService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBBank>,\n\t\tICreatable<BankCreateRequest, SBBank>,\n\t\tIUpdatable<BankUpdateRequest, SBBank>,\n\t\tIRetrievable<BankListRequest, SBBank>,\n\t\tIDeletable<SBBank>\n{\n\t/**\n\t * Creates a new instance of the bank 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 * Retrieves a bank by its ID\n\t * @param id - The bank ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the bank data\n\t */\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBank> {\n\t\treturn await super.getEntityById(`/v1/banks/${id}`, options, config);\n\t}\n\n\t/**\n\t * Creates a new bank\n\t * @param request - Bank 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 bank\n\t */\n\tpublic async createAsync(\n\t\trequest: BankCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankCreateRequest>,\n\t): Promise<SBBank> {\n\t\treturn await super.createEntity(\"/v1/banks\", request, options, config);\n\t}\n\n\t/**\n\t * Updates an existing bank\n\t * @param id - The bank ID to update\n\t * @param request - Bank 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 bank\n\t */\n\tpublic async updateAsync(\n\t\tid: number,\n\t\trequest: BankUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankUpdateRequest>,\n\t): Promise<SBBank> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/banks/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a bank\n\t * @param id - The bank 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 bank\n\t */\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBank> {\n\t\treturn await super.deleteEntity(`/v1/banks/${id}`, options, config);\n\t}\n\n\t/**\n\t * Gets banks based on filter criteria\n\t * @param request - Filter request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with filtered banks\n\t */\n\tpublic async getAsync(\n\t\trequest: BankListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankListRequest>,\n\t): Promise<SBBank[]> {\n\t\treturn await super.getEntities(\"/v1/banks\", request, options, config);\n\t}\n\n\t/**\n\t * Lists all banks\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with array of banks\n\t */\n\tpublic async listAsync(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBank[]> {\n\t\treturn await this.getAsync({}, options, config);\n\t}\n\n\t/**\n\t * Gets a new link token for bank connection\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the link token\n\t */\n\tpublic async getLinkToken(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<BankLinkTokenResponse> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/banks/connect/link-token`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Gets link information for bank connection\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the link information\n\t */\n\tpublic async getLink(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<BankLinkResponse> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/banks/connect/link`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists bank accounts\n\t * @param bankId - The bank 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 the bank accounts\n\t */\n\tpublic async listAccounts(\n\t\tbankId: number,\n\t\trequest: BankListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankListRequest>,\n\t): Promise<SBBankAccount[]> {\n\t\treturn await this.getEntities(\n\t\t\t`/v1/banks/${bankId}/accounts`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new bank account\n\t * @param bankId - The bank ID\n\t * @param request - Bank account 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 bank account\n\t */\n\tpublic async createAccount(\n\t\tbankId: number,\n\t\trequest: BankAccountCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankAccountCreateRequest>,\n\t): Promise<SBBankAccount> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/banks/${bankId}/accounts`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Gets a bank account by ID\n\t * @param bankId - The bank ID\n\t * @param accountId - The account ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the bank account\n\t */\n\tpublic async getAccountById(\n\t\tbankId: number,\n\t\taccountId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBankAccount> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/banks/${bankId}/accounts/${accountId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates a bank account\n\t * @param bankId - The bank ID\n\t * @param accountId - The account ID\n\t * @param request - Bank account 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 bank account\n\t */\n\tpublic async updateAccount(\n\t\tbankId: number,\n\t\taccountId: number,\n\t\trequest: BankAccountUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankAccountUpdateRequest>,\n\t): Promise<SBBankAccount> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/banks/${bankId}/accounts/${accountId}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists bank accounts (alternative method)\n\t * @param bankId - The bank ID\n\t * @param request - Bank account list request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with bank accounts\n\t */\n\tpublic async listBankAccounts(\n\t\tbankId: number,\n\t\trequest: BankAccountListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankAccountListRequest>,\n\t): Promise<SBBankAccount[]> {\n\t\treturn await super.getEntities(\n\t\t\t`/v1/banks/${bankId}/accounts`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Gets a bank account by ID (alternative method)\n\t * @param bankId - The bank ID\n\t * @param accountId - The account ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the bank account\n\t */\n\tpublic async getBankAccount(\n\t\tbankId: number,\n\t\taccountId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBankAccount> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/banks/${bankId}/accounts/${accountId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists transactions for a bank account\n\t * @param bankId - The bank ID\n\t * @param accountId - The account ID\n\t * @param request - Transaction list request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with paginated transaction data\n\t */\n\tpublic async listBankAccountTransactions(\n\t\tbankId: number,\n\t\taccountId: number,\n\t\trequest: BankTransactionListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BankTransactionListRequest>,\n\t): Promise<SBList<SBBankTransaction>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/banks/${bankId}/accounts/${accountId}/transactions`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBBankInstitution } from \"entities\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { SBService } from \"@/services/SBService\";\nimport { BankInstitutionListRequest } from \"./BankInstitutionListRequest\";\nimport { IRetrievableById } from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\nexport class BankInstitutionService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBBankInstitution>,\n\t\tIListable<BankInstitutionListRequest, SBBankInstitution>\n{\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async listAsync(\n\t\trequest: BankInstitutionListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBBankInstitution>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/bank-institutions\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async getByIdAsync<SBBankInstitution>(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBankInstitution> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/bank-institutions/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBCard, SBCardSetupIntent } from \"@/entities/cards\";\nimport { ICreatable, IRetrievableById } from \"@/interfaces\";\nimport { SBService } from \"../SBService\";\nimport { AttachCardRequest } from \"./AttachCardRequest\";\nimport { CreateCardRequest } from \"./CreateCardRequest\";\nimport { ListCardRequest } from \"./ListCardRequest\";\nimport { IRetrievable } from \"@/interfaces/IRetrievable\";\n\nexport class CardService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBCard>,\n\t\tICreatable<CreateCardRequest, SBCard>,\n\t\tIRetrievable<ListCardRequest, SBCard>\n{\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCard> {\n\t\treturn await super.getEntityById(`/v1/cards/${id}`, options, config);\n\t}\n\tpublic async getAsync(\n\t\trequest?: ListCardRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCard[]> {\n\t\treturn await super.getEntities(`/v1/cards`, request, options, config);\n\t}\n\tpublic async attach(\n\t\trequest: AttachCardRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCard> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/cards/attach`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async detach(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCard> {\n\t\treturn await super.deleteEntity(`/v1/cards/${id}`, options, config);\n\t}\n\n\tpublic async createAsync(\n\t\trequest: CreateCardRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCard> {\n\t\treturn await super.createEntity(`/v1/cards`, request, options, config);\n\t}\n\n\tpublic async createSetupIntent(\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCardSetupIntent> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/cards/setup-intents`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async confirmSetupIntent(\n\t\tid: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCardSetupIntent> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/cards/setup-intents/${id}/confirm`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async getSetupIntent(\n\t\tid: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCardSetupIntent> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/cards/setup-intents/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async cancelSetupIntent(\n\t\tid: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBCardSetupIntent> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/cards/setup-intents/${id}/cancel`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBDocument } from \"@/entities/documents\";\nimport mime from \"mime\";\nimport { IDeletable } from \"@/interfaces/IDeletable\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { SBService } from \"../SBService\";\nimport { DocumentListRequest } from \"./DocumentListRequest\";\nimport { DocumentRenameRequest } from \"./DocumentRenameRequest\";\nimport { DocumentUploadRequest } from \"./DocumentUploadRequest\";\nimport { IRetrievableById } from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\n\nexport class DocumentService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBDocument>,\n\t\tIListable<DocumentListRequest, SBDocument>,\n\t\tIDeletable<SBDocument>\n{\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async listAsync(\n\t\trequest: DocumentListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBDocument>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/documents\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDocument> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/documents/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDocument> {\n\t\treturn await super.deleteEntity(`/v1/documents/${id}`, options, config);\n\t}\n\tpublic async rename(\n\t\tid: number,\n\t\trequest: DocumentRenameRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDocument> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/documents/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async upload(\n\t\trequest: DocumentUploadRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<FormData>,\n\t): Promise<SBDocument> {\n\t\tconst formData = new FormData();\n\t\trequest.documents.forEach(({ name, uri }) => {\n\t\t\tformData.append(\"files\", {\n\t\t\t\tname: name,\n\t\t\t\turi: uri,\n\t\t\t\ttype: mime.getType(uri),\n\t\t\t} as any);\n\t\t});\n\t\treturn await super.createEntity(\n\t\t\t\"/v1/documents\",\n\t\t\tformData,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch, SBDepartment, SBDepartmentTeamMember } from \"@/entities\";\n\nimport { SBService } from \"@/services/SBService\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBList } from \"@/entities/base\";\nimport { DepartmentEmployeeCreateRequest } from \"./DepartmentEmployeeCreateRequest\";\nimport { DepartmentEmployeeUpdateRequest } from \"./DepartmentEmployeeUpdateRequest\";\nimport { DepartmentEmployeeListRequest } from \"./DepartmentEmployeeListRequest\";\n\n/**\n * Service for managing department employees in the Smartbills system\n * Provides functionality for CRUD operations on department employees\n */\nexport class DepartmentEmployeeService extends SBService {\n\t/**\n\t * Creates a new instance of the department employee service\n\t * @param options - Service configuration options\n\t */\n\tconstructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Adds an employee to a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param request - Employee assignment request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created department employee relationship\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<DepartmentEmployeeCreateRequest>,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates an employee's information within a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param employeeId - The employee ID\n\t * @param request - The 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 department employee relationship\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<DepartmentEmployeeUpdateRequest>,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists employees assigned to a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param request - The list request parameters (pagination, filtering)\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the list of department employees\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeListRequest = {},\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBDepartmentTeamMember>> {\n\t\treturn await this.listEntities(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a department by its ID\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the department data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDepartment> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes (removes) an employee from a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param employeeId - The employee ID to remove\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted department employee relationship\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\temployeeId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees/${employeeId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch, SBDepartment, SBDepartmentTeamMember } from \"@/entities\";\n\nimport {\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedDeletable,\n\tINestedListable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { DepartmentBatchUpsertRequest } from \"./DepartmentBatchUpsertRequest\";\nimport { DepartmentCreateRequest } from \"./DepartmentCreateRequest\";\nimport { DepartmentUpdateRequest } from \"./DepartmentUpdateRequest\";\nimport { DepartmentsListRequest } from \"./DepartmentsListRequest\";\nimport { SBList } from \"@/entities/base\";\nimport { DepartmentEmployeeService } from \"./Employees/DepartmentEmployeeService\";\nimport { DepartmentEmployeeCreateRequest } from \"./Employees/DepartmentEmployeeCreateRequest\";\nimport { DepartmentEmployeeUpdateRequest } from \"./Employees/DepartmentEmployeeUpdateRequest\";\nimport { DepartmentEmployeeListRequest } from \"./Employees/DepartmentEmployeeListRequest\";\nimport { DepartmentUpsertRequest } from \"./DepartmentUpsertRequest\";\n\n/**\n * Service for managing departments in the Smartbills system\n * Provides functionality for CRUD operations on departments and their images\n * @implements INestedCreatable<DepartmentCreateRequest, SBDepartment> - Allows creating new departments\n * @implements INestedUpdatable<DepartmentUpdateRequest, SBDepartment> - Allows updating existing departments\n * @implements INestedRetrievableById<SBDepartment> - Allows retrieving departments by ID\n * @implements INestedListable<DepartmentsListRequest, SBDepartment> - Allows listing departments with pagination\n * @implements INestedBatchable<DepartmentBatchUpsertRequest, SBDepartment> - Allows batch operations on departments\n * @implements INestedDeletable<SBDepartment> - Allows deleting departments\n */\nexport class DepartmentService\n\textends SBService\n\timplements\n\t\tINestedCreatable<DepartmentCreateRequest, SBDepartment>,\n\t\tINestedUpdatable<DepartmentUpdateRequest, SBDepartment>,\n\t\tINestedRetrievableById<SBDepartment>,\n\t\tINestedListable<DepartmentsListRequest, SBDepartment>,\n\t\tINestedBatchable<DepartmentUpsertRequest, SBDepartment>,\n\t\tINestedDeletable<SBDepartment>\n{\n\tpublic readonly employees: DepartmentEmployeeService;\n\n\t/**\n\t * Creates a new instance of the department service\n\t * @param options - Service configuration options\n\t */\n\tconstructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t\tthis.employees = new DepartmentEmployeeService(options);\n\t}\n\n\t/**\n\t * Creates a new department\n\t * @param businessId - The business ID\n\t * @param request - Department 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 department\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: DepartmentCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<DepartmentCreateRequest>,\n\t): Promise<SBDepartment> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/businesses/${businessId}/departments`,\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 department\n\t * @param businessId - The business ID\n\t * @param id - The department ID to update\n\t * @param request - Department 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 department\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: DepartmentUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<DepartmentUpdateRequest>,\n\t): Promise<SBDepartment> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists departments 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 department data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: DepartmentsListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBDepartment>> {\n\t\treturn await this.listEntities(\n\t\t\t`/v1/businesses/${businessId}/departments`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a department by its ID\n\t * @param businessId - The business ID\n\t * @param id - The department ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the department 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<SBDepartment> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/departments/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a department\n\t * @param businessId - The business ID\n\t * @param id - The department 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 department\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<SBDepartment> {\n\t\treturn await this.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on departments\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: DepartmentBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<DepartmentBatchUpsertRequest>,\n\t): Promise<SBBatch<SBDepartment>> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Sets the approver for a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param approverId - The ID of the user to set as approver\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated department\n\t */\n\tpublic async setApprover(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\tapproverId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDepartment> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/approver`,\n\t\t\t{ approverId },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Gets employees assigned to a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the list of department employees\n\t */\n\tpublic async listEmployees(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBDepartmentTeamMember>> {\n\t\treturn await this.employees.listAsync(\n\t\t\tbusinessId,\n\t\t\tdepartmentId,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Assigns an employee to a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param request - The employee assignment request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created department employee relationship\n\t */\n\tpublic async assignEmployees(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<DepartmentEmployeeCreateRequest>,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.employees.createAsync(\n\t\t\tbusinessId,\n\t\t\tdepartmentId,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Removes an employee from a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param employeeId - The employee ID to remove\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted department employee relationship\n\t */\n\tpublic async removeEmployee(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\temployeeId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees/${employeeId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates employees assigneed to a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param request - The 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 department employee relationship\n\t */\n\tpublic async updateEmployees(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.employees.updateAsync(\n\t\t\tbusinessId,\n\t\t\tdepartmentId,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBFriend } from \"@/entities/friends\";\nimport { IDeletable } from \"@/interfaces/IDeletable\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { SBService } from \"../SBService\";\nimport { FriendListRequest } from \"./FriendListRequest\";\nimport { SBList } from \"@/entities/base\";\nimport { FriendRequestListRequest } from \"./FriendRequestListRequest\";\n\nexport class FriendService\n\textends SBService\n\timplements IListable<FriendListRequest, SBFriend>, IDeletable<SBFriend>\n{\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\tpublic async listAsync(\n\t\trequest: FriendListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBFriend>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/friends\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async listRecommanded(\n\t\trequest: FriendListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBFriend>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/friends/recommanded\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\tpublic async listFriendRequests(\n\t\trequest: FriendRequestListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBFriend>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/friend-requests\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBFriend> {\n\t\treturn await super.deleteEntity(`/v1/friends/${id}`, options, config);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBFriend> {\n\t\treturn await super.getEntityById(`/v1/friends/${id}`, options, config);\n\t}\n}\n","export class AccessTokenResponse {\n\tpublic access_token: string;\n\tpublic expires_in?: number;\n\tpublic refresh_token?: string;\n\tpublic scope?: string;\n\tpublic token_type?: string;\n}\n","import { parse, HTMLElement } from \"node-html-parser\";\n\nexport class AuthorizationCodeResponse {\n\tpublic constructor(response: string) {\n\t\tconst parsedHTML = parse(response);\n\t\tthis.redirectUrl = parsedHTML.querySelector(\"form\").attributes.action;\n\t\tconst inputs = parsedHTML.querySelectorAll(\"input\");\n\t\tthis.code = this.findInputValue(inputs, \"code\");\n\t\tthis.session_state = this.findInputValue(inputs, \"session_state\");\n\t\tthis.scope = this.findInputValue(inputs, \"scope\");\n\t}\n\tprivate findInputValue(inputs: HTMLElement[], name: string) {\n\t\treturn inputs.find((x) => x.attributes.name == name).attributes.value;\n\t}\n\n\tpublic redirectUrl: string;\n\tpublic code: string;\n\tpublic session_state: string;\n\tpublic scope: string;\n}\n","'use strict';\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n","module.exports = require('util').inspect;\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nvar quotes = {\n __proto__: null,\n 'double': '\"',\n single: \"'\"\n};\nvar quoteREs = {\n __proto__: null,\n 'double': /([\"\\\\])/g,\n single: /(['\\\\])/g\n};\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other\n /* eslint-env browser */\n if (typeof window !== 'undefined' && obj === window) {\n return '{ [object Window] }';\n }\n if (\n (typeof globalThis !== 'undefined' && obj === globalThis)\n || (typeof global !== 'undefined' && obj === global)\n ) {\n return '{ [object globalThis] }';\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var style = opts.quoteStyle || defaultStyle;\n var quoteChar = quotes[style];\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '&quot;');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n var quoteRE = quoteREs[opts.quoteStyle || 'single'];\n quoteRE.lastIndex = 0;\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, quoteRE, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","'use strict';\n\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.\n* By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('./list.d.ts').listGetNode} */\n// eslint-disable-next-line consistent-return\nvar listGetNode = function (list, key, isDelete) {\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\t// eslint-disable-next-line eqeqeq\n\tfor (; (curr = prev.next) != null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tif (!isDelete) {\n\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\tcurr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t}\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('./list.d.ts').listGet} */\nvar listGet = function (objects, key) {\n\tif (!objects) {\n\t\treturn void undefined;\n\t}\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('./list.d.ts').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('./list.d.ts').listHas} */\nvar listHas = function (objects, key) {\n\tif (!objects) {\n\t\treturn false;\n\t}\n\treturn !!listGetNode(objects, key);\n};\n/** @type {import('./list.d.ts').listDelete} */\n// eslint-disable-next-line consistent-return\nvar listDelete = function (objects, key) {\n\tif (objects) {\n\t\treturn listGetNode(objects, key, true);\n\t}\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannelList() {\n\t/** @typedef {ReturnType<typeof getSideChannelList>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tvar root = $o && $o.next;\n\t\t\tvar deletedNode = listDelete($o, key);\n\t\t\tif (deletedNode && root && root === deletedNode) {\n\t\t\t\t$o = void undefined;\n\t\t\t}\n\t\t\treturn !!deletedNode;\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn listGet($o, key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn listHas($o, key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$o) {\n\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t$o = {\n\t\t\t\t\tnext: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tlistSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n","'use strict';\n\n/** @type {import('.')} */\nmodule.exports = Error;\n","'use strict';\n\n/** @type {import('./eval')} */\nmodule.exports = EvalError;\n","'use strict';\n\n/** @type {import('./range')} */\nmodule.exports = RangeError;\n","'use strict';\n\n/** @type {import('./ref')} */\nmodule.exports = ReferenceError;\n","'use strict';\n\n/** @type {import('./syntax')} */\nmodule.exports = SyntaxError;\n","'use strict';\n\n/** @type {import('./uri')} */\nmodule.exports = URIError;\n","'use strict';\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n","'use strict';\n\n/** @type {import('.')} */\nvar $gOPD = require('./gOPD');\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n","'use strict';\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\n/** @type {import('./functionCall')} */\nmodule.exports = Function.prototype.call;\n","'use strict';\n\n/** @type {import('./functionApply')} */\nmodule.exports = Function.prototype.apply;\n","'use strict';\n\n/** @type {import('./reflectApply')} */\nmodule.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;\n","'use strict';\n\nvar bind = require('function-bind');\n\nvar $apply = require('./functionApply');\nvar $call = require('./functionCall');\nvar $reflectApply = require('./reflectApply');\n\n/** @type {import('./actualApply')} */\nmodule.exports = $reflectApply || bind.call($call, $apply);\n","'use strict';\n\nvar bind = require('function-bind');\nvar $TypeError = require('es-errors/type');\n\nvar $call = require('./functionCall');\nvar $actualApply = require('./actualApply');\n\n/** @type {import('.')} */\nmodule.exports = function callBindBasic(args) {\n\tif (args.length < 1 || typeof args[0] !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\treturn $actualApply(bind, $call, args);\n};\n","'use strict';\n\nvar callBind = require('call-bind-apply-helpers');\nvar gOPD = require('gopd');\n\n// eslint-disable-next-line no-extra-parens, no-proto\nvar hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;\n\n// eslint-disable-next-line no-extra-parens\nvar desc = hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));\n\nvar $Object = Object;\nvar $getPrototypeOf = $Object.getPrototypeOf;\n\n/** @type {import('./get')} */\nmodule.exports = desc && typeof desc.get === 'function'\n\t? callBind([desc.get])\n\t: typeof $getPrototypeOf === 'function'\n\t\t? /** @type {import('./get')} */ function getDunder(value) {\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\treturn $getPrototypeOf(value == null ? value : $Object(value));\n\t\t}\n\t\t: false;\n","'use strict';\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = require('function-bind');\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n","'use strict';\n\nvar undefined;\n\nvar $Error = require('es-errors');\nvar $EvalError = require('es-errors/eval');\nvar $RangeError = require('es-errors/range');\nvar $ReferenceError = require('es-errors/ref');\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\nvar $URIError = require('es-errors/uri');\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = require('gopd');\nvar $defineProperty = require('es-define-property');\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\nvar getDunderProto = require('dunder-proto/get');\n\nvar getProto = (typeof Reflect === 'function' && Reflect.getPrototypeOf)\n\t|| Object.getPrototypeOf\n\t|| getDunderProto;\n\nvar $apply = require('call-bind-apply-helpers/functionApply');\nvar $call = require('call-bind-apply-helpers/functionCall');\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('hasown');\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar gopd = require('gopd');\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor<unknown>} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar gOPD = require('gopd');\n\nvar $TypeError = require('es-errors/type');\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar $apply = require('./functionApply');\nvar actualApply = require('./actualApply');\n\n/** @type {import('./applyBind')} */\nmodule.exports = function applyBind() {\n\treturn actualApply(bind, $apply, arguments);\n};\n","'use strict';\n\nvar setFunctionLength = require('set-function-length');\n\nvar $defineProperty = require('es-define-property');\n\nvar callBindBasic = require('call-bind-apply-helpers');\nvar applyBind = require('call-bind-apply-helpers/applyBind');\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = callBindBasic(arguments);\n\tvar adjustedLength = originalFunction.length - (arguments.length - 1);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + (adjustedLength > 0 ? adjustedLength : 0),\n\t\ttrue\n\t);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('call-bind');\n\n// eslint-disable-next-line no-extra-parens\nvar $indexOf = callBind(/** @type {typeof String.prototype.indexOf} */ (GetIntrinsic('String.prototype.indexOf')));\n\n/** @type {import('.')} */\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\t// eslint-disable-next-line no-extra-parens\n\tvar intrinsic = /** @type {Parameters<typeof callBind>[0]} */ (GetIntrinsic(name, !!allowMissing));\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\nvar $Map = GetIntrinsic('%Map%', true);\n\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */\nvar $mapGet = callBound('Map.prototype.get', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */\nvar $mapSet = callBound('Map.prototype.set', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapHas = callBound('Map.prototype.has', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapDelete = callBound('Map.prototype.delete', true);\n/** @type {<K, V>(thisArg: Map<K, V>) => number} */\nvar $mapSize = callBound('Map.prototype.size', true);\n\n/** @type {import('.')} */\nmodule.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {\n\t/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {Map<K, V> | undefined} */ var $m;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tif ($m) {\n\t\t\t\tvar result = $mapDelete($m, key);\n\t\t\t\tif ($mapSize($m) === 0) {\n\t\t\t\t\t$m = void undefined;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($m) {\n\t\t\t\treturn $mapGet($m, key);\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($m) {\n\t\t\t\treturn $mapHas($m, key);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$m) {\n\t\t\t\t// @ts-expect-error TS can't handle narrowing a variable inside a closure\n\t\t\t\t$m = new $Map();\n\t\t\t}\n\t\t\t$mapSet($m, key, value);\n\t\t}\n\t};\n\n\t// @ts-expect-error TODO: figure out why TS is erroring here\n\treturn channel;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\nvar getSideChannelMap = require('side-channel-map');\n\nvar $TypeError = require('es-errors/type');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\n\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapDelete = callBound('WeakMap.prototype.delete', true);\n\n/** @type {import('.')} */\nmodule.exports = $WeakMap\n\t? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {\n\t\t/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */\n\t\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t\t/** @type {WeakMap<K & object, V> | undefined} */ var $wm;\n\t\t/** @type {Channel | undefined} */ var $m;\n\n\t\t/** @type {Channel} */\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\t'delete': function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapDelete($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $m['delete'](key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tget: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $m && $m.get(key);\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn !!$m && $m.has(key);\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = getSideChannelMap();\n\t\t\t\t\t}\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\t/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// @ts-expect-error TODO: figure out why this is erroring\n\t\treturn channel;\n\t}\n\t: getSideChannelMap;\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\nvar inspect = require('object-inspect');\nvar getSideChannelList = require('side-channel-list');\nvar getSideChannelMap = require('side-channel-map');\nvar getSideChannelWeakMap = require('side-channel-weakmap');\n\nvar makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @typedef {ReturnType<typeof getSideChannel>} Channel */\n\n\t/** @type {Channel | undefined} */ var $channelData;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\treturn !!$channelData && $channelData['delete'](key);\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn $channelData && $channelData.get(key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn !!$channelData && $channelData.has(key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$channelData) {\n\t\t\t\t$channelData = makeChannel();\n\t\t\t}\n\n\t\t\t$channelData.set(key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? { __proto__: null } : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object' && typeof source !== 'function') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if (\n (options && (options.plainObjects || options.allowPrototypes))\n || !has.call(Object.prototype, source)\n ) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, defaultDecoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar limit = 1024;\n\n/* eslint operator-linebreak: [2, \"before\"] */\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var j = 0; j < string.length; j += limit) {\n var segment = string.length >= limit ? string.slice(j, j + limit) : string;\n var arr = [];\n\n for (var i = 0; i < segment.length; ++i) {\n var c = segment.charCodeAt(i);\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n arr[arr.length] = segment.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n arr[arr.length] = hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n arr[arr.length] = hexTable[0xC0 | (c >> 6)]\n + hexTable[0x80 | (c & 0x3F)];\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n arr[arr.length] = hexTable[0xE0 | (c >> 12)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (segment.charCodeAt(i) & 0x3FF));\n\n arr[arr.length] = hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n out += arr.join('');\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","'use strict';\n\nvar getSideChannel = require('side-channel');\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n allowEmptyArrays: false,\n arrayFormat: 'indices',\n charset: 'utf-8',\n charsetSentinel: false,\n commaRoundTrip: false,\n delimiter: '&',\n encode: true,\n encodeDotInKeys: false,\n encoder: utils.encode,\n encodeValuesOnly: false,\n filter: void undefined,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n commaRoundTrip,\n allowEmptyArrays,\n strictNullHandling,\n skipNulls,\n encodeDotInKeys,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n if (encodeValuesOnly && encoder) {\n obj = utils.maybeMap(obj, encoder);\n }\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\\./g, '%2E') : String(prefix);\n\n var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;\n\n if (allowEmptyArrays && isArray(obj) && obj.length === 0) {\n return adjustedPrefix + '[]';\n }\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && key && typeof key.value !== 'undefined'\n ? key.value\n : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\\./g, '%2E') : String(key);\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix\n : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n commaRoundTrip,\n allowEmptyArrays,\n strictNullHandling,\n skipNulls,\n encodeDotInKeys,\n generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {\n throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');\n }\n\n if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {\n throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n var arrayFormat;\n if (opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if ('indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = defaults.arrayFormat;\n }\n\n if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n }\n\n var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: allowDots,\n allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,\n arrayFormat: arrayFormat,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n commaRoundTrip: !!opts.commaRoundTrip,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];\n var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n var value = obj[key];\n\n if (options.skipNulls && value === null) {\n continue;\n }\n pushToArray(keys, stringify(\n value,\n key,\n generateArrayPrefix,\n commaRoundTrip,\n options.allowEmptyArrays,\n options.strictNullHandling,\n options.skipNulls,\n options.encodeDotInKeys,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('&#10003;'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowEmptyArrays: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decodeDotInKeys: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n duplicates: 'combine',\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictDepth: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = { __proto__: null };\n\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key;\n var val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(String(val));\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n var existing = has.call(obj, key);\n if (existing && options.duplicates === 'combine') {\n obj[key] = utils.combine(obj[key], val);\n } else if (!existing || options.duplicates === 'last') {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))\n ? []\n : [].concat(leaf);\n } else {\n obj = options.plainObjects ? { __proto__: null } : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;\n var index = parseInt(decodedRoot, 10);\n if (!options.parseArrays && decodedRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== decodedRoot\n && String(index) === decodedRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (decodedRoot !== '__proto__') {\n obj[decodedRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, check strictDepth option for throw, else just add whatever is left\n\n if (segment) {\n if (options.strictDepth === true) {\n throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');\n }\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {\n throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');\n }\n\n if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {\n throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');\n }\n\n if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;\n\n if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {\n throw new TypeError('The duplicates option must be either combine, first, or last');\n }\n\n var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;\n\n return {\n allowDots: allowDots,\n allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n duplicates: duplicates,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? { __proto__: null } : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? { __proto__: null } : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","import qs from \"qs\";\nimport { AccessTokenResponse } from \"./AccessTokenResponse\";\nimport { AuthorizationCodeResponse } from \"./AuthorizationCodeResponse\";\nimport { AuthorizeRequest } from \"./AuthorizeRequest\";\nimport { TokenExchangeRequest } from \"./TokenExchangeRequest\";\nimport { RefreshTokenRequest } from \"./RefreshTokenRequest\";\nimport { SBService } from \"@/services/SBService\";\nimport {\n\tdefaultAuthServiceoptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\nexport class OAuthService extends SBService {\n\tpublic constructor(options: SBServiceOptions = defaultAuthServiceoptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async getAuthorizationCode(\n\t\trequest: AuthorizeRequest,\n\t): Promise<AuthorizationCodeResponse> {\n\t\tconst response = await super.execute<string, string>(null, {\n\t\t\turl: \"/connect/authorize\",\n\t\t\tparams: { response_mode: \"form_post\", ...request },\n\t\t\theaders: {\n\t\t\t\t\"content-type\": \"application/x-www-form-urlencoded\",\n\t\t\t},\n\t\t\twithCredentials: true,\n\t\t});\n\t\treturn new AuthorizationCodeResponse(response);\n\t}\n\n\tpublic async getToken(\n\t\trequest: TokenExchangeRequest,\n\t): Promise<AccessTokenResponse> {\n\t\treturn await super.execute(null, {\n\t\t\turl: \"/connect/token\",\n\t\t\tmethod: \"POST\",\n\t\t\tdata: qs.stringify(request),\n\t\t\twithCredentials: true,\n\t\t});\n\t}\n\n\tpublic async refreshToken(\n\t\tloginRequest: RefreshTokenRequest,\n\t): Promise<AccessTokenResponse> {\n\t\treturn await super.execute(null, {\n\t\t\turl: \"/connect/token\",\n\t\t\tmethod: \"POST\",\n\t\t\tdata: qs.stringify(loginRequest),\n\t\t});\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch, SBCustomer } 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 { CustomerBatchUpsertRequest } from \"./CustomerBatchUpsertRequest\";\nimport { CustomerCreateRequest } from \"./CustomerCreateRequest\";\nimport { CustomerListRequest } from \"./CustomerListRequest\";\nimport { CustomerUpdateRequest } from \"./CustomerUpdateRequest\";\nimport { CustomerUpsertRequest } from \"./CustomerUpsertRequest\";\n\n/**\n * Service for managing customers in the Smartbills system\n * Provides functionality for CRUD operations on customers\n * @implements IRetrievableById<SBCustomer> - Allows retrieving customers by ID\n * @implements IListable<CustomerListRequest, SBCustomer> - Allows listing customers with pagination\n * @implements ICreatable<CustomerCreateRequest, SBCustomer> - Allows creating new customers\n * @implements IUpdatable<CustomerUpdateRequest, SBCustomer> - Allows updating existing customers\n * @implements IBatchable<CustomerUpsertRequest, SBCustomer> - Allows batch operations on customers\n * @implements IDeletable<SBCustomer> - Allows deleting customers\n */\nexport class CustomerService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBCustomer>,\n\t\tINestedListable<CustomerListRequest, SBCustomer>,\n\t\tINestedCreatable<CustomerCreateRequest, SBCustomer>,\n\t\tINestedUpdatable<CustomerUpdateRequest, SBCustomer>,\n\t\tINestedBatchable<CustomerUpsertRequest, SBCustomer>,\n\t\tINestedDeletable<SBCustomer>\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\t/**\n\t * Lists customers 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 customer data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: CustomerListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBCustomer>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/customers`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a customer by ID\n\t * @param businessId - The business ID\n\t * @param id - The customer ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the customer 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<SBCustomer> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/customers/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a customer\n\t * @param businessId - The business ID\n\t * @param id - The customer 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 customer\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<SBCustomer> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/customers/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new customer\n\t * @param businessId - The business ID\n\t * @param request - Customer 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 customer\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: CustomerCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBCustomer> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/customers`,\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 customer\n\t * @param businessId - The business ID\n\t * @param id - The customer ID to update\n\t * @param request - Customer 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 customer\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: CustomerUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBCustomer> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/customers/${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 customers\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: CustomerBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<CustomerBatchUpsertRequest>,\n\t): Promise<SBBatch<SBCustomer>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/customers/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBPaymentMethod } from \"@/entities\";\n\nimport { SBService } from \"@/services/SBService\";\nimport { SBList } from \"@/entities/base\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { CustomerPaymentMethodCreateRequest } from \"./CustomerPaymentMethodCreateRequest\";\nimport { CustomerPaymentMethodListRequest } from \"./CustomerPaymentMethodListRequest\";\nimport { CustomerPaymentMethodUpdateRequest } from \"./CustomerPaymentMethodUpdateRequest\";\n\n/**\n * Service for managing customer payment methods in the Smartbills system\n * Provides functionality for CRUD operations on customer payment methods as nested resources under customers\n */\nexport class CustomerPaymentMethodService extends SBService {\n\t/**\n\t * Creates a new instance of the customer payment method 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 customer payment methods with pagination\n\t * @param businessId - The business ID\n\t * @param customerId - The customer 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 payment method data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\trequest: CustomerPaymentMethodListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBPaymentMethod>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a customer payment method by ID\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The payment method ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the payment method data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a customer payment method\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The payment method 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 payment method\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new customer payment method\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param request - Payment method 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 payment method\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\trequest: CustomerPaymentMethodCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods`,\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 customer payment method\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The payment method ID to update\n\t * @param request - Payment method 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 payment method\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\trequest: CustomerPaymentMethodUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch, SBList } from \"@/entities\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBFee } from \"@/entities/businesses/fees\";\nimport {\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedListable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { IDeletable, INestedDeletable } from \"../../../interfaces/IDeletable\";\nimport { BatchUpsertRequest } from \"../../BatchUpsertRequest\";\nimport { SBService } from \"../../SBService\";\nimport { FeeCreateRequest } from \"./FeeCreateRequest\";\nimport { FeeUpdateRequest } from \"./FeeUpdateRequest\";\nimport { FeeUpsertRequest } from \"./FeeUpsertRequest\";\nimport { FeeListRequest } from \"./FeeListRequest\";\n\n/**\n * Service for managing fees in the Smartbills system\n * Provides functionality for CRUD operations on fees\n * @implements IRetrievableById<SBFee> - Allows retrieving fees by ID\n * @implements IUpdatable<FeeUpdateRequest, SBFee> - Allows updating existing fees\n * @implements ICreatable<FeeCreateRequest, SBFee> - Allows creating new fees\n * @implements IBatchable<FeeUpsertRequest, SBFee> - Allows batch operations on fees\n * @implements IDeletable<SBFee> - Allows deleting fees\n */\nexport class FeeService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBFee>,\n\t\tINestedUpdatable<FeeUpdateRequest, SBFee>,\n\t\tINestedCreatable<FeeCreateRequest, SBFee>,\n\t\tINestedBatchable<FeeUpsertRequest, SBFee>,\n\t\tINestedListable<FeeListRequest, SBFee>,\n\t\tINestedDeletable<SBFee>\n{\n\t/**\n\t * Creates a new instance of the fee 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 * Updates an existing fee\n\t * @param businessId - The business ID\n\t * @param id - The fee ID to update\n\t * @param request - Fee 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 fee\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: FeeUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<FeeUpdateRequest>,\n\t): Promise<SBFee> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/fees/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new fee\n\t * @param businessId - The business ID\n\t * @param request - Fee 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 fee\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: FeeCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<FeeCreateRequest>,\n\t): Promise<SBFee> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/fees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a fee by its ID\n\t * @param businessId - The business ID\n\t * @param id - The fee ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the fee 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<SBFee> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/fees/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a fee\n\t * @param businessId - The business ID\n\t * @param id - The fee 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 fee\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<SBFee> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/fees/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on fees\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: BatchUpsertRequest<FeeUpsertRequest>,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BatchUpsertRequest<FeeUpsertRequest>>,\n\t): Promise<SBBatch<SBFee>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/fees/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\t/**\n\t * Lists fees for a given business\n\t * @param businessId - The business ID\n\t * @param request - Fee list request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the list of fees\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number | string,\n\t\trequest: FeeListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<FeeListRequest>,\n\t): Promise<SBList<SBFee>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/fees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch } from \"@/entities\";\nimport { SBImage } from \"@/entities/images\";\nimport { SBLocation } from \"@/entities/businesses/locations/SBLocation\";\nimport {\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedDeletable,\n\tINestedListable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { ImageCreateRequest } from \"@/services/images/ImageCreateRequest\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { LocationBatchUpsertRequest } from \"./LocationBatchUpsertRequest\";\nimport { LocationCreateRequest } from \"./LocationCreateRequest\";\nimport { LocationUpdateRequest } from \"./LocationUpdateRequest\";\nimport { LocationUpsertRequest } from \"./LocationUpsertRequest\";\nimport { LocationsListRequest } from \"./LocationsListRequest\";\nimport { SBList } from \"@/entities/base\";\n\n/**\n * Service for managing locations in the Smartbills system\n * Provides functionality for CRUD operations on locations and their images\n * @implements ICreatable<LocationCreateRequest, SBLocation> - Allows creating new locations\n * @implements IUpdatable<LocationUpdateRequest, SBLocation> - Allows updating existing locations\n * @implements IRetrievableById<SBLocation> - Allows retrieving locations by ID\n * @implements IListable<LocationsListRequest, SBLocation> - Allows listing locations with pagination\n * @implements IBatchable<LocationUpsertRequest, SBLocation> - Allows batch operations on locations\n * @implements IDeletable<SBLocation> - Allows deleting locations\n */\nexport class LocationService\n\textends SBService\n\timplements\n\t\tINestedCreatable<LocationCreateRequest, SBLocation>,\n\t\tINestedUpdatable<LocationUpdateRequest, SBLocation>,\n\t\tINestedRetrievableById<SBLocation>,\n\t\tINestedListable<LocationsListRequest, SBLocation>,\n\t\tINestedBatchable<LocationUpsertRequest, SBLocation>,\n\t\tINestedDeletable<SBLocation>\n{\n\t/**\n\t * Creates a new instance of the location service\n\t * @param options - Service configuration options\n\t */\n\tconstructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Creates a new location\n\t * @param businessId - The business ID\n\t * @param request - Location 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 location\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: LocationCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LocationCreateRequest>,\n\t): Promise<SBLocation> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/businesses/${businessId}/locations`,\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 location\n\t * @param businessId - The business ID\n\t * @param id - The location ID to update\n\t * @param request - Location 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 location\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: LocationUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LocationUpdateRequest>,\n\t): Promise<SBLocation> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/locations/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists locations 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 location data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: LocationsListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBLocation>> {\n\t\treturn await this.listEntities(\n\t\t\t`/v1/businesses/${businessId}/locations`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a location by its ID\n\t * @param businessId - The business ID\n\t * @param id - The location ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the location 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<SBLocation> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/locations/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a location\n\t * @param businessId - The business ID\n\t * @param id - The location 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 location\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<SBLocation> {\n\t\treturn await this.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/locations/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Uploads an image to a location\n\t * @param businessId - The business ID\n\t * @param id - The location ID\n\t * @param image - Image 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 image\n\t */\n\tpublic async uploadImage(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\timage: ImageCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBImage> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/locations/${id}/images`,\n\t\t\timage,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes an image from a location\n\t * @param businessId - The business ID\n\t * @param id - The location ID\n\t * @param imageId - The image 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 image\n\t */\n\tpublic async deleteImage(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\timageId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBImage> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/locations/${id}/images/${imageId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Uploads multiple images to a location\n\t * @param businessId - The business ID\n\t * @param id - The location ID\n\t * @param files - Array of files to upload\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with an array of created images\n\t */\n\tpublic async uploadImages(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\tfiles: File[],\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBImage[]> {\n\t\tconst formData = new FormData();\n\t\tfiles.forEach((file) => {\n\t\t\tformData.append(\"formFiles\", file);\n\t\t});\n\t\treturn await this.createEntity<FormData, SBImage[]>(\n\t\t\t`/v1/businesses/${businessId}/locations/${id}/images`,\n\t\t\tformData,\n\t\t\toptions,\n\t\t\t{\n\t\t\t\t...(config || {}),\n\t\t\t\theaders: {\n\t\t\t\t\t\"Content-Type\": \"multipart/form-data\",\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on locations\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: LocationBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LocationBatchUpsertRequest>,\n\t): Promise<SBBatch<SBLocation>> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/businesses/${businessId}/locations/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","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, SBProduct, SBProductImage } from \"@/entities\";\nimport { ProductListRequest } from \"./ProductListRequest\";\nimport { ProductCreateRequest } from \"./ProductCreateRequest\";\nimport { ProductUpdateRequest } from \"./ProductUpdateRequest\";\nimport { BatchUpsertRequest } from \"@/services/BatchUpsertRequest\";\nimport { ProductUpsertRequest } from \"./ProductUpsertRequest\";\nimport { ProductImageService } from \"./images\";\nimport { ProductModifierService } from \"./modifiers\";\nimport { ProductOptionService } from \"./options\";\nimport { ProductVariantService } from \"./variants\";\n\n/**\n * Service for managing products in the Smartbills system\n * Provides functionality for CRUD operations on products and product images\n */\nexport class ProductService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBProduct>,\n\t\tINestedCreatable<ProductCreateRequest, SBProduct>,\n\t\tINestedListable<ProductListRequest, SBProduct>,\n\t\tINestedUpdatable<ProductUpdateRequest, SBProduct>,\n\t\tINestedBatchable<ProductUpsertRequest, SBProduct>,\n\t\tINestedDeletable<SBProduct>\n{\n\t/**\n\t * Creates a new instance of the product service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\t/**\n\t * Lists products 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 product data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: ProductListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBProduct>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/products`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new image for a product\n\t * @param businessId - The business ID\n\t * @param id - The product ID\n\t * @param image - Product image data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created product image\n\t */\n\tpublic async createImage(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\timage: SBProductImage,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductImage> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/products/${id}/images`,\n\t\t\timage,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Gets a product image by ID\n\t * @param businessId - The business ID\n\t * @param id - The product ID\n\t * @param imageId - The image ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the product image data\n\t */\n\tpublic async getImage(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\timageId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductImage> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/products/${id}/images/${imageId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Gets all images for a product\n\t * @param businessId - The business ID\n\t * @param id - The product ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with an array of product images\n\t */\n\tpublic async getImages(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductImage[]> {\n\t\treturn await super.getEntities(\n\t\t\t`/v1/businesses/${businessId}/products/${id}/images`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a product by its ID\n\t * @param businessId - The business ID\n\t * @param id - The product ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the product 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<SBProduct> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/products/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a product\n\t * @param businessId - The business ID\n\t * @param id - The product 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\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<SBProduct> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/products/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new product\n\t * @param businessId - The business ID\n\t * @param request - Product 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\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: ProductCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<ProductCreateRequest>,\n\t): Promise<SBProduct> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/products`,\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\n\t * @param businessId - The business ID\n\t * @param id - The product ID to update\n\t * @param request - Product 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\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: ProductUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<ProductUpdateRequest>,\n\t): Promise<SBProduct> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/products/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs batch operations on products\n\t * @param businessId - The business ID\n\t * @param requests - Batch request data containing product operations\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with batch operation results\n\t */\n\tpublic async batch(\n\t\tbusinessId: number,\n\t\trequests: BatchUpsertRequest<ProductUpsertRequest>,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BatchUpsertRequest<ProductUpsertRequest>>,\n\t): Promise<SBBatch<SBProduct>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/products/batch`,\n\t\t\trequests,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","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","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","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBProductImage } from \"@/entities\";\nimport {\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 { ProductImageCreateRequest } from \"./ProductImageCreateRequest\";\nimport { ProductImageListRequest } from \"./ProductImageListRequest\";\nimport { ProductImageUpdateRequest } from \"./ProductImageUpdateRequest\";\n\n/**\n * Service for managing product images in the Smartbills system\n * Provides functionality for CRUD operations on product images\n */\nexport class ProductImageService extends SBService {\n\t/**\n\t * Creates a new instance of the product image 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 images 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 image data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: ProductImageListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBProductImage>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/products/${productId}/images`,\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 image by ID\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The image ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the product image 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<SBProductImage> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/products/${productId}/images/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a product image\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The image 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 image\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<SBProductImage> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/images/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new product image\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param request - Product image creation request data or file\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created product image\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\trequest: ProductImageCreateRequest | File,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductImage> {\n\t\tlet data;\n\t\tlet headers = {};\n\n\t\tif (request instanceof File) {\n\t\t\tdata = new FormData();\n\t\t\tdata.append(\"file\", request);\n\t\t\theaders = { \"Content-Type\": \"multipart/form-data\" };\n\t\t} else {\n\t\t\tdata = request;\n\t\t}\n\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/images`,\n\t\t\tdata,\n\t\t\toptions,\n\t\t\t{\n\t\t\t\t...(config || {}),\n\t\t\t\theaders: {\n\t\t\t\t\t...(config?.headers || {}),\n\t\t\t\t\t...headers,\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t}\n\n\t/**\n\t * Updates an existing product image\n\t * @param businessId - The business ID\n\t * @param productId - The product ID\n\t * @param id - The image ID to update\n\t * @param request - Product image 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 image\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tproductId: number,\n\t\tid: number,\n\t\trequest: ProductImageUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBProductImage> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/business/${businessId}/products/${productId}/images/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","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","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","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","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch, SBTax } from \"@/entities\";\nimport {\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedDeletable,\n\tINestedListable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\nimport { SBService } from \"../../SBService\";\nimport { TaxBatchUpsertRequest } from \"./TaxBatchUpsertRequest\";\nimport { TaxCreateRequest } from \"./TaxCreateRequest\";\nimport { TaxListRequest } from \"./TaxListRequest\";\nimport { TaxUpdateRequest } from \"./TaxUpdateRequest\";\nimport { TaxUpsertRequest } from \"./TaxUpsertRequest\";\nimport { AxiosRequestConfig } from \"axios\";\n\n/**\n * Service for managing taxes in the Smartbills system\n * Provides functionality for CRUD operations on taxes\n * Implements both standard interfaces and business-specific interfaces\n */\nexport class TaxService\n\textends SBService\n\timplements\n\t\tINestedListable<TaxListRequest, SBTax>,\n\t\tINestedRetrievableById<SBTax>,\n\t\tINestedCreatable<TaxCreateRequest, SBTax>,\n\t\tINestedUpdatable<TaxUpdateRequest, SBTax>,\n\t\tINestedBatchable<TaxUpsertRequest, SBTax>,\n\t\tINestedDeletable<SBTax>\n{\n\t/**\n\t * Creates a new instance of the tax 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 * Creates a new tax record\n\t * @param businessId - The business ID\n\t * @param request - Tax 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 tax\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: TaxCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<TaxCreateRequest>,\n\t): Promise<SBTax> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/businesses/${businessId}/taxes`,\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 tax record\n\t * @param businessId - The business ID\n\t * @param id - The tax ID to update\n\t * @param request - Tax 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 tax\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: TaxUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<TaxUpdateRequest>,\n\t): Promise<SBTax> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/taxes/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists taxes 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 tax data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: TaxListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBTax>> {\n\t\treturn await this.listEntities(\n\t\t\t`/v1/businesses/${businessId}/taxes`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a tax by its ID\n\t * @param businessId - The business ID\n\t * @param id - The tax ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the tax 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<SBTax> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/taxes/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a tax record\n\t * @param businessId - The business ID\n\t * @param id - The tax 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 tax\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<SBTax> {\n\t\treturn await this.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/taxes/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on taxes\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: TaxBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<TaxBatchUpsertRequest>,\n\t): Promise<SBBatch<SBTax>> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/businesses/${businessId}/taxes/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { INestedCreatable, INestedRetrievableById } from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { SBList } from \"@/entities/base\";\nimport { INestedDeletable } from \"@/interfaces/IDeletable\";\nimport { INestedListable } from \"@/interfaces/IListable\";\nimport { INestedUpdatable } from \"@/interfaces/IUpdatable\";\nimport { SBVendor } from \"@/entities\";\nimport {\n\tVendorCreateRequest,\n\tVendorUpdateRequest,\n\tVendorConnectResponse,\n\tVendorConnectRequest,\n} from \"@/services/vendors\";\nimport { VendorListRequest } from \"../../vendors/VendorListRequest\";\n\n/**\n * Service for managing vendors in the Smartbills system\n * Provides functionality for CRUD operations on vendors\n * @implements INestedRetrievableById<SBVendor> - Allows retrieving vendors by ID\n * @implements INestedCreatable<VendorCreateRequest, SBVendor> - Allows creating new vendors\n * @implements INestedListable<VendorListRequest, SBVendor> - Allows listing vendors with pagination\n * @implements INestedDeletable<SBVendor> - Allows deleting vendors\n * @implements INestedUpdatable<VendorUpdateRequest, SBVendor> - Allows updating vendors\n */\nexport class BusinessVendorService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBVendor>,\n\t\tINestedCreatable<VendorCreateRequest, SBVendor>,\n\t\tINestedListable<VendorListRequest, SBVendor>,\n\t\tINestedDeletable<SBVendor>,\n\t\tINestedUpdatable<VendorUpdateRequest, SBVendor>\n{\n\t/**\n\t * Creates a new instance of the vendor 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 vendors 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 vendor data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: VendorListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBVendor>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/vendors`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a vendor by its ID\n\t * @param businessId - The business ID\n\t * @param id - The vendor ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the vendor 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<SBVendor> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/vendors/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Delete a vendor\n\t * @param businessId - The business ID\n\t * @param id - ID of the vendor to delete\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted vendor\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<SBVendor> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/vendors/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new vendor\n\t * @param businessId - The business ID\n\t * @param request - Vendor 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 vendor\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: VendorCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<VendorCreateRequest>,\n\t): Promise<SBVendor> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/vendors`,\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 vendor\n\t * @param businessId - The business ID\n\t * @param id - The vendor ID to update\n\t * @param request - Vendor 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 vendor\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: VendorUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<VendorUpdateRequest>,\n\t): Promise<SBVendor> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/vendors/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async getLinkToken(\n\t\tbusinessId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<VendorConnectResponse> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/vendors/connect`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async connectAsync(\n\t\tbusinessId: number,\n\t\trequest: VendorConnectRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<VendorConnectRequest>,\n\t): Promise<SBVendor> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/vendors/connect`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async manualRefresh(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<void> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/vendors/${id}/refresh`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBService } from \"@/services/SBService\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { CustomerBalanceTransactionCreateRequest } from \"./CustomerBalanceTransactionCreateRequest\";\nimport { CustomerBalanceTransactionListRequest } from \"./CustomerBalanceTransactionListRequest\";\nimport { CustomerBalanceTransactionUpdateRequest } from \"./CustomerBalanceTransactionUpdateRequest\";\nimport { SBCustomerBalanceTransaction } from \"@/entities/businesses/customers/balance-transactions\";\nimport { SBList } from \"@/entities/base\";\n\n/**\n * Service for managing customer balance transactions in the Smartbills system\n * Provides functionality for CRUD operations on customer balance transactions as nested resources under customers\n */\nexport class CustomerBalanceTransactionService extends SBService {\n\t/**\n\t * Creates a new instance of the customer balance transaction 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 customer balance transactions with pagination\n\t * @param businessId - The business ID\n\t * @param customerId - The customer 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 balance transaction data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\trequest: CustomerBalanceTransactionListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBCustomerBalanceTransaction>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/balance-transactions`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a customer balance transaction by ID\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The balance transaction ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the balance transaction data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBCustomerBalanceTransaction> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/balance-transactions/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a customer balance transaction\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The balance transaction 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 balance transaction\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBCustomerBalanceTransaction> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/balance-transactions/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new customer balance transaction\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param request - Balance transaction 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 balance transaction\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\trequest: CustomerBalanceTransactionCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBCustomerBalanceTransaction> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/balance-transactions`,\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 customer balance transaction\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The balance transaction ID to update\n\t * @param request - Balance transaction 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 balance transaction\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\trequest: CustomerBalanceTransactionUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBCustomerBalanceTransaction> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/balance-transactions/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBService } from \"@/services/SBService\";\nimport { INestedListable, INestedRetrievableById } from \"@/interfaces\";\nimport { SBList, SBTeamMemberInvitation, SBTeamMember } from \"@/entities\";\nimport { TeamMemberInvitationListRequest } from \"./TeamMemberInvitationListRequest\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { TeamMemberInvitationCreateRequest } from \"./TeamMemberInvitationCreateRequest\";\nimport { TeamMemberInvitationResponseRequest } from \"./TeamMemberInvitationResponseRequest\";\n\nexport class TeamMemberInvitationService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBTeamMemberInvitation>,\n\t\tINestedListable<TeamMemberInvitationListRequest, SBTeamMemberInvitation>\n{\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<SBTeamMemberInvitation> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/invitations/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: TeamMemberInvitationListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBTeamMemberInvitation>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/invitations`,\n\t\t\trequest,\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: TeamMemberInvitationCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBTeamMemberInvitation> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/invitations`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBTeamMemberInvitation> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/invitations/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async listPending(\n\t\tbusinessId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBTeamMemberInvitation>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/invitations/pending`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async accept(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: TeamMemberInvitationResponseRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBTeamMemberInvitation> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/invitations/${id}/accept`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async decline(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: TeamMemberInvitationResponseRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBTeamMemberInvitation> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/invitations/${id}/refuse`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBTeamMember } from \"@/entities/businesses\";\nimport { SBService } from \"@/services/SBService\";\nimport { INestedRetrievableById } from \"@/interfaces\";\nimport { TeamMemberListRequest } from \"./TeamMemberListRequest\";\nimport { SBList } from \"@/entities/base\";\nimport { TeamMemberInvitationService } from \"../invitations\";\nexport class TeamMemberService\n\textends SBService\n\timplements INestedRetrievableById<SBTeamMember>\n{\n\tpublic readonly invitations: TeamMemberInvitationService;\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t\tthis.invitations = new TeamMemberInvitationService(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<SBTeamMember> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/team-members/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: TeamMemberListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBList<SBTeamMember>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/team-members`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBTeamMember> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/team-members/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBService } from \"@/services/SBService\";\nimport { SBBusiness } from \"@/entities/businesses/SBBusiness\";\nimport { ICreatable } from \"@/interfaces/ICreatable\";\nimport { IDeletable } from \"@/interfaces/IDeletable\";\nimport { IUpdatable } from \"@/interfaces/IUpdatable\";\nimport { BusinessCreateRequest } from \"./BusinessCreateRequest\";\nimport { BusinessListRequest } from \"./BusinessListRequest\";\nimport { BusinessUpdateRequest } from \"./BusinessUpdateRequest\";\nimport { IRetrievableById } from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\nimport { CustomerPaymentMethodService, CustomerService } from \"./customers\";\nimport { FeeService } from \"./fees\";\nimport { LocationService } from \"./locations\";\nimport {\n\tProductImageService,\n\tProductModifierService,\n\tProductOptionService,\n\tProductService,\n\tProductVariantService,\n} from \"./products\";\nimport { PromoCodeService } from \"./promo-codes\";\nimport { BusinessReviewService } from \"./reviews\";\nimport { TaxService } from \"./taxes\";\nimport { BusinessVendorService } from \"./vendors\";\nimport { CustomerBalanceTransactionService } from \"./customers/balance-transactions/CustomerBalanceTransactionService\";\nimport { SBTeamMember } from \"@/entities\";\nimport {\n\tTeamMemberInvitationService,\n\tTeamMemberListRequest,\n\tTeamMemberService,\n} from \"./team\";\nimport { DepartmentService } from \"./departments\";\nimport { BusinessInvitationRequest } from \"./BusinessInvitationRequest\";\n\nexport class BusinessService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBBusiness>,\n\t\tICreatable<BusinessCreateRequest, SBBusiness>,\n\t\tIUpdatable<BusinessUpdateRequest, SBBusiness>,\n\t\tIDeletable<SBBusiness>\n{\n\tpublic readonly departments: DepartmentService;\n\tpublic readonly teamMembers: TeamMemberService;\n\tpublic readonly locations: LocationService;\n\tpublic readonly customers: CustomerService;\n\tpublic readonly customerPaymentMethods: CustomerPaymentMethodService;\n\tpublic readonly customerBalanceTransactions: CustomerBalanceTransactionService;\n\tpublic readonly fees: FeeService;\n\tpublic readonly taxes: TaxService;\n\tpublic readonly reviews: BusinessReviewService;\n\tpublic readonly products: ProductService;\n\tpublic readonly productVariants: ProductVariantService;\n\tpublic readonly productOptions: ProductOptionService;\n\tpublic readonly productModifiers: ProductModifierService;\n\tpublic readonly productImages: ProductImageService;\n\tpublic readonly promoCodes: PromoCodeService;\n\tpublic readonly vendors: BusinessVendorService;\n\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t\tthis.teamMembers = new TeamMemberService(options);\n\t\tthis.locations = new LocationService(options);\n\t\tthis.customers = new CustomerService(options);\n\t\tthis.customerPaymentMethods = new CustomerPaymentMethodService(options);\n\t\tthis.customerBalanceTransactions =\n\t\t\tnew CustomerBalanceTransactionService(options);\n\t\tthis.fees = new FeeService(options);\n\t\tthis.taxes = new TaxService(options);\n\t\tthis.vendors = new BusinessVendorService(options);\n\t\tthis.reviews = new BusinessReviewService(options);\n\t\tthis.products = new ProductService(options);\n\t\tthis.productVariants = new ProductVariantService(options);\n\t\tthis.productOptions = new ProductOptionService(options);\n\t\tthis.productModifiers = new ProductModifierService(options);\n\t\tthis.productImages = new ProductImageService(options);\n\t\tthis.promoCodes = new PromoCodeService(options);\n\t\tthis.departments = new DepartmentService(options);\n\t}\n\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBusiness> {\n\t\treturn this.getEntityById(`/v1/businesses/${id}`, options, config);\n\t}\n\n\tpublic async listAsync(\n\t\trequest?: BusinessListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBBusiness>> {\n\t\treturn this.listEntities(\n\t\t\t\"/v1/businesses\",\n\t\t\trequest || { page: 1, pageSize: 25 },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async search(\n\t\trequest: BusinessListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBBusiness>> {\n\t\treturn this.listEntities(\n\t\t\t\"/v1/businesses/search\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async createAsync(\n\t\trequest: BusinessCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBusiness> {\n\t\treturn this.createEntity(\"/v1/businesses\", request, options, config);\n\t}\n\n\tpublic async updateAsync(\n\t\tid: number,\n\t\trequest: BusinessUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBusiness> {\n\t\treturn this.updateEntity(\n\t\t\t`/v1/businesses/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBusiness> {\n\t\treturn this.deleteEntity(`/v1/businesses/${id}`, options, config);\n\t}\n\n\tpublic async count(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<number> {\n\t\treturn this.getEntityById(\"/v1/businesses/count\", options, config);\n\t}\n\n\tpublic async getMemberById(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBTeamMember> {\n\t\treturn await this.teamMembers.getByIdAsync(\n\t\t\tbusinessId,\n\t\t\tid,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async listMembers(\n\t\tbusinessId: number,\n\t\trequest: TeamMemberListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBList<SBTeamMember>> {\n\t\treturn await this.teamMembers.listAsync(\n\t\t\tbusinessId,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteMember(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig: AxiosRequestConfig = {},\n\t): Promise<SBTeamMember> {\n\t\treturn await this.teamMembers.deleteAsync(\n\t\t\tbusinessId,\n\t\t\tid,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async batchInviteMemberAsync(\n\t\tbusinessId: number,\n\t\trequest: BusinessInvitationRequest[],\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/business/${businessId}/invitations/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { IRetrievableById, IUpdatable } from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\nimport { SBPrice } from \"@/entities\";\nimport { IDeletable } from \"@/interfaces/IDeletable\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { SBService } from \"../../SBService\";\nimport { PriceCreateRequest } from \"./PriceCreateRequest\";\nimport { PriceUpdateRequest } from \"./PriceUpdateRequest\";\nimport { PriceListRequest } from \"./PricesListRequest\";\nexport class PriceService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBPrice>,\n\t\tIListable<PriceListRequest, SBPrice>,\n\t\tIUpdatable<PriceUpdateRequest, SBPrice>,\n\t\tIDeletable<SBPrice>\n{\n\tpublic async listAsync(\n\t\trequest: PriceListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBPrice>> {\n\t\treturn await super.listEntities(`/v1/prices`, request, options, config);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPrice> {\n\t\treturn await super.getEntityById(`/v1/prices/${id}`, options, config);\n\t}\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPrice> {\n\t\treturn await super.deleteEntity(`/v1/prices/${id}`, options, config);\n\t}\n\tpublic async createAsync(\n\t\trequest: PriceCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<PriceCreateRequest>,\n\t): Promise<SBPrice> {\n\t\treturn await super.createEntity(`/v1/prices`, request, options, config);\n\t}\n\tpublic async updateAsync(\n\t\tid: string,\n\t\trequest: PriceUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<PriceUpdateRequest>,\n\t): Promise<SBPrice> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/prices/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { ICreatable } from \"@/interfaces/ICreatable\";\nimport { IDeletable } from \"@/interfaces/IDeletable\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBDomain } from \"@/entities/domains/SBDomain\";\nimport { SBService } from \"@/services/SBService\";\nimport { CreateDomainsRequest } from \"./CreateDomainRequest\";\nimport { GetDomainsRequest } from \"./GetDomainsRequest\";\nimport { IRetrievableById } from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\n\nexport class DomainService\n\textends SBService\n\timplements\n\t\tIListable<GetDomainsRequest, SBDomain>,\n\t\tICreatable<CreateDomainsRequest, SBDomain>,\n\t\tIRetrievableById<SBDomain>,\n\t\tIDeletable<SBDomain>\n{\n\tpublic async listAsync(\n\t\trequest: GetDomainsRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBDomain>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/domains\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<any>,\n\t): Promise<SBDomain> {\n\t\treturn super.deleteEntity(`/v1/domains/${id}`, options, config);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<any>,\n\t): Promise<SBDomain> {\n\t\treturn super.getEntityById(`/v1/domains/${id}`, options, config);\n\t}\n\tpublic async createAsync(\n\t\trequest: CreateDomainsRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<CreateDomainsRequest>,\n\t): Promise<SBDomain> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/domains`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","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","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBPaymentMethodSetup } from \"@/entities/payment-methods\";\nimport { SBPaymentMethod } from \"@/entities/payment-methods/SBPaymentMethod\";\nimport { IRetrievableById } from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { PaymentMethodCreateRequest } from \"./PaymentMethodCreateRequest\";\nimport { PaymentMethodListRequest } from \"./PaymentMethodListRequest\";\nimport { PaymentMethodVerifyRequest } from \"./PaymentMethodVerifyRequest\";\nimport { IRetrievable } from \"@/interfaces/IRetrievable\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\n\nexport class PaymentMethodService\n\textends SBService\n\timplements\n\t\tIRetrievable<PaymentMethodListRequest, SBPaymentMethod>,\n\t\tIRetrievableById<SBPaymentMethod>\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 getAsync(\n\t\trequest: PaymentMethodListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod[]> {\n\t\treturn await super.getEntities(\n\t\t\t\"/v1/payment-methods\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/payment-methods/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async createAsync(\n\t\trequest: PaymentMethodCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/payment-methods`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async setup(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethodSetup> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/payment-methods/setup`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async createFromSetupIntentAsync(\n\t\tsetupIntentId: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/payment-methods/create`,\n\t\t\t{ setupIntentId },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/payment-methods/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async verifyMicrodeposit(\n\t\tid: number,\n\t\trequest: PaymentMethodVerifyRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/payment-methods/${id}/verify`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { IUpdatable } from \"@/interfaces/IUpdatable\";\n\nimport { SBBarcode, SBBatch } from \"@/entities\";\nimport { SBDocument } from \"@/entities/documents\";\nimport { SBReceipt } from \"@/entities/receipts\";\nimport { SBReceiptBatch } from \"@/entities/receipts/SBReceiptBatch\";\nimport {\n\tIBatchable,\n\tICreatable,\n\tIDeletable,\n\tIRetrievableById,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { ReceiptTransactionUpdateRequest } from \"@/services/receipts/payments\";\nimport { SBList } from \"@/entities/base\";\nimport { ReceiptPaymentCreateRequest } from \"./payments/ReceiptTransactionCreateRequest\";\nimport { BankTransactionAssociateRequest } from \"./BankTransactionAssociateRequest\";\nimport { ReceiptBatchUpsertRequest } from \"./ReceiptBatchUpsertRequest\";\nimport { ReceiptBulkJobCreateRequest } from \"./ReceiptBulkJobCreateRequest\";\nimport { ReceiptCreateRequest } from \"./ReceiptCreateRequest\";\nimport { ReceiptListRequest } from \"./ReceiptListRequest\";\nimport { ReceiptReviewCreateRequest } from \"./reviews/ReceiptReviewCreateRequest\";\nimport { ReceiptUpdateRequest } from \"./ReceiptUpdateRequest\";\nimport { ReceiptUpsertRequest } from \"./ReceiptUpsertRequest\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBRequestOptions } from \"@/client/SBRequestOption\";\n\n/**\n * Service for managing receipts in the Smartbills system\n * Provides functionality for CRUD operations on receipts\n * @implements IListable<ReceiptListRequest, SBReceipt> - Allows listing receipts with pagination\n * @implements IRetrievableById<SBReceipt> - Allows retrieving receipts by ID\n * @implements IDeletable<SBReceipt> - Allows deleting receipts\n * @implements ICreatable<ReceiptCreateRequest, SBReceipt> - Allows creating new receipts\n * @implements IUpdatable<ReceiptUpdateRequest, SBReceipt> - Allows updating existing receipts\n * @implements IBatchable<ReceiptUpsertRequest, SBReceipt> - Allows batch operations on receipts\n */\nexport class ReceiptService\n\textends SBService\n\timplements\n\t\tIListable<ReceiptListRequest, SBReceipt>,\n\t\tIRetrievableById<SBReceipt>,\n\t\tIDeletable<SBReceipt>,\n\t\tICreatable<ReceiptCreateRequest, SBReceipt>,\n\t\tIUpdatable<ReceiptUpdateRequest, SBReceipt>,\n\t\tIBatchable<ReceiptUpsertRequest, SBReceipt>\n{\n\t/**\n\t * Creates a new instance of the receipt 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 * Retrieves a receipt by its ID\n\t * @param id - The receipt ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the receipt data\n\t */\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.getEntityById(`/v1/receipts/${id}`, options, config);\n\t}\n\n\t/**\n\t * Lists receipts with pagination\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 receipt data\n\t */\n\tpublic async listAsync(\n\t\trequest: ReceiptListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBReceipt>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/receipts\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new receipt\n\t * @param request - Receipt 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 receipt\n\t */\n\tpublic async createAsync(\n\t\trequest: ReceiptCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity(\n\t\t\t\"/v1/receipts\",\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 receipt\n\t * @param id - The receipt ID\n\t * @param receipt - Receipt 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 receipt\n\t */\n\tpublic async updateAsync(\n\t\tid: number,\n\t\treceipt: ReceiptUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/receipts/${id}`,\n\t\t\treceipt,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a receipt\n\t * @param id - The receipt ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted receipt\n\t */\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.deleteEntity(`/v1/receipts/${id}`, options, config);\n\t}\n\n\t/**\n\t * Generates a QR code for a public receipt\n\t * @param token - Public receipt token\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the QR code string\n\t */\n\tpublic async generateQRCode(\n\t\ttoken: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<string> {\n\t\tconfig = config || {};\n\t\tif (!config.params) config.params = {};\n\t\tconfig.params.token = token;\n\t\treturn await super.getEntityById<string>(\n\t\t\t\"/v1/receipts/public\",\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a barcode for a receipt\n\t * @param id - The receipt ID\n\t * @param request - Barcode creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated receipt\n\t */\n\tpublic async createBarcode(\n\t\tid: number,\n\t\trequest: SBBarcode,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity<SBBarcode, SBReceipt>(\n\t\t\t`/v1/receipts/${id}/barcode`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a barcode from a receipt\n\t * @param id - The receipt ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated receipt\n\t */\n\tpublic async deleteBarcode(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.deleteEntity<SBReceipt>(\n\t\t\t`/v1/receipts/${id}/barcode`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Uploads a document attachment to a receipt\n\t * @param id - The receipt ID\n\t * @param file - File to upload\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created document\n\t */\n\tpublic async uploadDocument(\n\t\tid: number,\n\t\tfile: File,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDocument> {\n\t\tconst formData = new FormData();\n\t\tformData.append(\"file\", file);\n\t\treturn await super.createEntity<FormData, SBDocument>(\n\t\t\t`/v1/receipts/${id}/attachments`,\n\t\t\tformData,\n\t\t\toptions,\n\t\t\t{\n\t\t\t\t...(config || {}),\n\t\t\t\theaders: { \"Content-Type\": \"multipart/form-data\" },\n\t\t\t},\n\t\t);\n\t}\n\n\t/**\n\t * Associates a bank transaction with a receipt\n\t * @param id - The receipt ID\n\t * @param request - Bank transaction association request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated receipt\n\t */\n\tpublic async associateBankTransaction(\n\t\tid: number,\n\t\trequest: BankTransactionAssociateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity<\n\t\t\tBankTransactionAssociateRequest,\n\t\t\tSBReceipt\n\t\t>(`/v1/receipts/${id}/bank-transaction`, request, options, config);\n\t}\n\n\t/**\n\t * Batch creates multiple receipts\n\t * @param request - Array of receipt creation requests\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with an array of created receipts\n\t */\n\tpublic async batchCreate(\n\t\trequest: ReceiptCreateRequest[],\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt[]> {\n\t\treturn await super.createEntity<ReceiptCreateRequest[], SBReceipt[]>(\n\t\t\t\"/v1/receipts/batch\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Batch updates multiple receipts\n\t * @param request - Array of receipt update requests\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with an array of updated receipts\n\t */\n\tpublic async batchUpdate(\n\t\trequest: ReceiptBatchUpsertRequest[],\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt[]> {\n\t\treturn await super.updateEntity<\n\t\t\tReceiptBatchUpsertRequest[],\n\t\t\tSBReceipt[]\n\t\t>(\"/v1/receipts/batch\", request, options, config);\n\t}\n\n\t/**\n\t * Exports a receipt as JSON\n\t * @param id - The receipt ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the receipt data as a Blob\n\t */\n\tpublic async exportAsJson(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<Blob> {\n\t\tconfig = {\n\t\t\t...(config || {}),\n\t\t\tresponseType: \"blob\",\n\t\t};\n\t\treturn await super.getEntityById<Blob>(\n\t\t\t`/v1/receipts/${id}/export`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Shares a receipt\n\t * @param id - The receipt ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated receipt\n\t */\n\tpublic async share(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity<any, SBReceipt>(\n\t\t\t`/v1/receipts/${id}/share`,\n\t\t\t{},\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves the public token for a receipt\n\t * @param id - The receipt ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the token\n\t */\n\tpublic async retrievePublicToken(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<{ token: string }> {\n\t\treturn await super.getEntityById<{ token: string }>(\n\t\t\t`/v1/receipts/${id}/token`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Parses a Clover receipt from a URL\n\t * @param url - Clover receipt URL\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the parsed receipt\n\t */\n\tpublic async parseCloverFromUrl(\n\t\turl: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity<{ url: string }, SBReceipt>(\n\t\t\t\"/v1/receipts/import\",\n\t\t\t{ url },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Parses a Square receipt from a URL\n\t * @param url - Square receipt URL\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the parsed receipt\n\t */\n\tpublic async parseSquareFromUrl(\n\t\turl: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity<{ url: string }, SBReceipt>(\n\t\t\t\"/v1/receipts/parse-square-url\",\n\t\t\t{ url },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a review for a receipt\n\t * @param id - The receipt ID\n\t * @param request - Review creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated receipt\n\t */\n\tpublic async createReview(\n\t\tid: number,\n\t\trequest: ReceiptReviewCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity<ReceiptReviewCreateRequest, SBReceipt>(\n\t\t\t`/v1/receipts/${id}/review`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Adds a payment transaction to a receipt\n\t * @param id - The receipt ID\n\t * @param request - Transaction creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated receipt\n\t */\n\tpublic async addTransaction(\n\t\tid: number,\n\t\trequest: ReceiptPaymentCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity<ReceiptPaymentCreateRequest, SBReceipt>(\n\t\t\t`/v1/receipts/${id}/transactions`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates a payment transaction in a receipt\n\t * @param id - The receipt ID\n\t * @param transactionId - The transaction ID\n\t * @param request - Transaction 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 receipt\n\t */\n\tpublic async updateTransaction(\n\t\tid: number,\n\t\ttransactionId: number,\n\t\trequest: ReceiptTransactionUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.updateEntity<\n\t\t\tReceiptTransactionUpdateRequest,\n\t\t\tSBReceipt\n\t\t>(\n\t\t\t`/v1/receipts/${id}/transactions/${transactionId}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a bulk job for processing multiple receipts\n\t * @param request - Bulk job 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 batch\n\t */\n\tpublic async createBulkJob(\n\t\trequest: ReceiptBulkJobCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceiptBatch> {\n\t\treturn await super.createEntity<\n\t\t\tReceiptBulkJobCreateRequest,\n\t\t\tSBReceiptBatch\n\t\t>(\"/v1/receipts/batch\", request, options, config);\n\t}\n\n\t/**\n\t * Uploads a receipt to an existing bulk job\n\t * @param id - The bulk job ID\n\t * @param request - Receipt batch upsert request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created receipt\n\t */\n\tpublic async uploadToBulkJob(\n\t\tid: number,\n\t\trequest: ReceiptBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.createEntity<ReceiptBatchUpsertRequest, SBReceipt>(\n\t\t\t`/v1/receipts/batch/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Completes a bulk job\n\t * @param id - The bulk job ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the completed receipt\n\t */\n\tpublic async completeBulkJob(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBReceipt> {\n\t\treturn await super.updateEntity<null, SBReceipt>(\n\t\t\t`/v1/receipts/batch/${id}/complete`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on receipts\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\trequest: ReceiptBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBatch<SBReceipt>> {\n\t\treturn await super.createEntity<\n\t\t\tReceiptBatchUpsertRequest,\n\t\t\tSBBatch<SBReceipt>\n\t\t>(\"/v1/receipts/batch\", request, options, config);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBSettlement } from \"@/entities/settlements/SBSettlement\";\nimport { SBList } from \"@/entities/base\";\nimport { SBService } from \"../SBService\";\nimport { SettlementListRequest } from \"./SettlementListRequest\";\nimport { SettlementPayRequest } from \"./SettlementPayRequest\";\nimport { IRetrievableById } from \"@/interfaces\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\n\nexport class SettlementService\n\textends SBService\n\timplements\n\t\tIListable<SettlementListRequest, SBSettlement>,\n\t\tIRetrievableById<SBSettlement>\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 listAsync(\n\t\trequest: SettlementListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBSettlement>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/settlements\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBSettlement> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/settlements/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async pay(\n\t\tid: number,\n\t\trequest: SettlementPayRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBSettlement> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/settlements/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBSettlement> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/settlements/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBTransaction } from \"@/entities/transactions/SBTransaction\";\nimport { SBList } from \"@/entities/base\";\nimport { SBService } from \"../SBService\";\nimport { ListTransactionRequest } from \"./ListTransactionRequest\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\n\nexport class TransactionService\n\textends SBService\n\timplements IListable<ListTransactionRequest, SBTransaction>\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 listAsync(\n\t\trequest: ListTransactionRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBTransaction>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/transactions\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBUserAccount } from \"@/entities/account\";\nimport { SBService } from \"@/services/SBService\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { UserUpdateRequest } from \"./UserUpdateRequest\";\n\nexport class CurrentUserService extends SBService {\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 getCurrentUser(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<void>,\n\t): Promise<SBUserAccount> {\n\t\treturn await super.getEntityById(\"/v1/user\", options, config);\n\t}\n\n\tpublic async getUserProfile(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\treturn await super.getEntityById(\"/v1/me\", options, config);\n\t}\n\n\tpublic async updateUserProfile(\n\t\trequest: UserUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\treturn await super.updateEntity(\"/v1/me\", request, options, config);\n\t}\n\n\tpublic async uploadAvatarAsync(\n\t\tfile: File,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\tconst formData = new FormData();\n\t\tformData.append(\"avatar\", file);\n\n\t\treturn await super.createEntity(\"/v1/me/avatar\", formData, options, {\n\t\t\t...config,\n\t\t\theaders: {\n\t\t\t\t\"Content-Type\": \"multipart/form-data\",\n\t\t\t\t...config?.headers,\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic async searchAsync(\n\t\tquery: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\treturn await super.getEntities(\n\t\t\t\"/v1/search\",\n\t\t\t{ query },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBUserAccount } from \"@/entities/account\";\nimport { SBService } from \"@/services/SBService\";\nimport { SearchUsersRequest } from \"./SearchUsersRequest\";\nimport { UserUpdateRequest } from \"./UserUpdateRequest\";\nimport { SBList } from \"@/entities/base\";\n\nexport class UserService\n\textends SBService\n\timplements IListable<SearchUsersRequest, SBUserAccount>\n{\n\tconstructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async listAsync(\n\t\trequest: SearchUsersRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<any>,\n\t): Promise<SBList<SBUserAccount>> {\n\t\treturn this.listEntities(\"/v1/user/search\", request, options, config);\n\t}\n\n\tasync getCurrentUser(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBUserAccount> {\n\t\treturn this.getEntityById(\"/v1/user\", options, config);\n\t}\n\n\tasync updateProfile(\n\t\trequest: UserUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBUserAccount> {\n\t\treturn this.updateEntity(\"/v1/user\", request, options, config);\n\t}\n\n\tasync deleteAccount(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBUserAccount> {\n\t\treturn this.deleteEntity(\"/v1/user\", options, config);\n\t}\n\n\tasync uploadAvatar(\n\t\tfile: File,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<string> {\n\t\tconst formData = new FormData();\n\t\tformData.append(\"avatar\", file);\n\t\tvar axiosConfig = { ...config, \"Content-Type\": \"multipart/form-data\" };\n\t\treturn this.createEntity(\n\t\t\t\"/v1/user/avatar\",\n\t\t\tformData,\n\t\t\toptions,\n\t\t\taxiosConfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBService } from \"../SBService\";\nimport { SBExploreBusiness } from \"@/entities\";\n\nexport class ExploreService extends SBService {\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async getBusinessById(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBExploreBusiness> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/explore/businesses/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBAttachment } from \"@/entities/attachments/SBAttachment\";\nimport { SBBatch } from \"@/entities/batches\";\nimport {\n\tIBatchable,\n\tICreatable,\n\tIDeletable,\n\tIRetrievableById,\n\tIUpdatable,\n} from \"@/interfaces\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { BatchUpsertRequest } from \"../BatchUpsertRequest\";\nimport { SBService } from \"../SBService\";\nimport { AttachmentCreateRequest } from \"./AttachmentCreateRequest\";\nimport { AttachmentListRequest } from \"./AttachmentListRequest\";\nimport { AttachmentUpdateRequest } from \"./AttachmentUpdateRequest\";\nimport { AttachmentUpsertRequest } from \"./AttachmentUpsertRequest\";\nimport { SBList } from \"@/entities/base\";\n\n/**\n * Service for managing attachments in the Smartbills system\n * Provides functionality for CRUD operations on attachments\n * @implements IRetrievableById<SBAttachment> - Allows retrieving attachments by ID\n * @implements ICreatable<AttachmentCreateRequest, SBAttachment> - Allows creating new attachments\n * @implements IUpdatable<AttachmentUpdateRequest, SBAttachment> - Allows updating existing attachments\n * @implements IBatchable<AttachmentUpsertRequest, SBAttachment> - Allows batch operations on attachments\n * @implements IDeletable<SBAttachment> - Allows deleting attachments\n */\nexport class AttachmentService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBAttachment>,\n\t\tICreatable<AttachmentCreateRequest, SBAttachment>,\n\t\tIUpdatable<AttachmentUpdateRequest, SBAttachment>,\n\t\tIBatchable<AttachmentUpsertRequest, SBAttachment>,\n\t\tIDeletable<SBAttachment>\n{\n\t/**\n\t * Creates a new instance of the attachment 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 * Performs a batch operation on attachments\n\t * @param request - Batch request containing multiple attachment operations\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the batch operation result\n\t */\n\tpublic async batch(\n\t\trequest: BatchUpsertRequest<AttachmentUpsertRequest>,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<\n\t\t\tBatchUpsertRequest<AttachmentUpsertRequest>\n\t\t>,\n\t): Promise<SBBatch<SBAttachment>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/attachments/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves an attachment by its ID\n\t * @param id - The attachment ID\n\t * @param options - Request options\n\t * @returns Promise that resolves with the attachment data\n\t */\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t): Promise<SBAttachment> {\n\t\treturn await super.getEntityById(`/v1/attachments/${id}`, options);\n\t}\n\n\t/**\n\t * Creates a new attachment\n\t * @param request - Attachment 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 attachment\n\t */\n\tpublic async createAsync(\n\t\trequest: AttachmentCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<AttachmentCreateRequest>,\n\t): Promise<SBAttachment> {\n\t\treturn await super.createEntity(\n\t\t\t\"/v1/attachments\",\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 attachment\n\t * @param id - The attachment ID to update\n\t * @param request - Attachment 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 attachment\n\t */\n\tpublic async updateAsync(\n\t\tid: number,\n\t\trequest: AttachmentUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<AttachmentUpdateRequest>,\n\t): Promise<SBAttachment> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/attachments/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes an attachment\n\t * @param id - The attachment 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 attachment\n\t */\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBAttachment> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/attachments/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists attachments with pagination\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 attachment data\n\t */\n\tpublic async listAsync(\n\t\trequest: AttachmentListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<AttachmentListRequest>,\n\t): Promise<SBList<SBAttachment>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/attachments\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { IUpdatable } from \"@/interfaces/IUpdatable\";\n\nimport { SBBarcode, SBBatch } from \"@/entities\";\nimport { SBDocument } from \"@/entities/documents\";\nimport {\n\tIBatchable,\n\tICreatable,\n\tIDeletable,\n\tIRetrievableById,\n} from \"@/interfaces\";\nimport { SBService } from \"@/services/SBService\";\nimport { ReceiptTransactionUpdateRequest } from \"@/services/receipts/payments\";\nimport { SBList } from \"@/entities/base\";\nimport { ReceiptPaymentCreateRequest } from \"@/services/receipts/payments/ReceiptTransactionCreateRequest\";\nimport { BankTransactionAssociateRequest } from \"@/services/receipts/BankTransactionAssociateRequest\";\nimport { ReceiptReviewCreateRequest } from \"@/services/receipts/reviews/ReceiptReviewCreateRequest\";\nimport { InvoiceUpdateRequest } from \"./InvoiceUpdateRequest\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { SBInvoice } from \"@/entities/invoices\";\nimport { InvoiceCreateRequest } from \"./InvoiceCreateRequest\";\nimport { InvoiceBatchUpsertRequest } from \"./InvoiceBatchUpsertRequest\";\nimport { InvoiceListRequest } from \"./InvoiceListRequest\";\n\n/**\n * Service for managing invoices in the Smartbills system\n * Provides functionality for CRUD operations on invoices\n **/\nexport class InvoiceService\n\textends SBService\n\timplements\n\t\tIListable<InvoiceListRequest, SBInvoice>,\n\t\tIRetrievableById<SBInvoice>,\n\t\tIDeletable<SBInvoice>,\n\t\tICreatable<InvoiceCreateRequest, SBInvoice>,\n\t\tIUpdatable<InvoiceUpdateRequest, SBInvoice>\n{\n\t/**\n\t * Creates a new instance of the invoice 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 * Retrieves an invoice by its ID\n\t * @param id - The invoice ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the invoice data\n\t */\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.getEntityById(`/v1/invoices/${id}`, options, config);\n\t}\n\n\t/**\n\t * Lists invoices with pagination\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 invoice data\n\t */\n\tpublic async listAsync(\n\t\trequest: InvoiceListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBInvoice>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/invoices\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new invoice\n\t * @param request - Invoice 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 invoice\n\t */\n\tpublic async createAsync(\n\t\trequest: InvoiceCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.createEntity(\n\t\t\t\"/v1/invoices\",\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 invoice\n\t * @param id - The invoice ID\n\t * @param invoice - Invoice 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 invoice\n\t */\n\tpublic async updateAsync(\n\t\tid: number,\n\t\tinvoice: InvoiceUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/invoices/${id}`,\n\t\t\tinvoice,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes an invoice\n\t * @param id - The invoice ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted invoice\n\t */\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.deleteEntity(`/v1/invoices/${id}`, options, config);\n\t}\n\n\t/**\n\t * Generates a QR code for a public invoice\n\t * @param token - Public invoice token\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the QR code string\n\t */\n\tpublic async generateQRCode(\n\t\ttoken: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<string> {\n\t\tconfig = config || {};\n\t\tif (!config.params) config.params = {};\n\t\tconfig.params.token = token;\n\t\treturn await super.getEntityById<string>(\n\t\t\t\"/v1/invoices/public\",\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a barcode for an invoice\n\t * @param id - The invoice ID\n\t * @param request - Barcode creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated invoice\n\t */\n\tpublic async createBarcode(\n\t\tid: number,\n\t\trequest: SBBarcode,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.createEntity<SBBarcode, SBInvoice>(\n\t\t\t`/v1/invoices/${id}/barcode`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a barcode from an invoice\n\t * @param id - The invoice ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated invoice\n\t */\n\tpublic async deleteBarcode(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.deleteEntity<SBInvoice>(\n\t\t\t`/v1/invoices/${id}/barcode`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Uploads a document attachment to an invoice\n\t * @param id - The invoice ID\n\t * @param file - File to upload\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created document\n\t */\n\tpublic async uploadDocument(\n\t\tid: number,\n\t\tfile: File,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDocument> {\n\t\tconst formData = new FormData();\n\t\tformData.append(\"file\", file);\n\t\treturn await super.createEntity<FormData, SBDocument>(\n\t\t\t`/v1/invoices/${id}/attachments`,\n\t\t\tformData,\n\t\t\toptions,\n\t\t\t{\n\t\t\t\t...(config || {}),\n\t\t\t\theaders: { \"Content-Type\": \"multipart/form-data\" },\n\t\t\t},\n\t\t);\n\t}\n\n\t/**\n\t * Associates a bank transaction with an invoice\n\t * @param id - The invoice ID\n\t * @param request - Bank transaction association request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated invoice\n\t */\n\tpublic async associateBankTransaction(\n\t\tid: number,\n\t\trequest: BankTransactionAssociateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.createEntity<\n\t\t\tBankTransactionAssociateRequest,\n\t\t\tSBInvoice\n\t\t>(`/v1/invoices/${id}/bank-transaction`, request, options, config);\n\t}\n\n\t/**\n\t * Batch creates multiple invoices\n\t * @param request - Array of invoice creation requests\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with an array of created invoices\n\t */\n\tpublic async batchCreate(\n\t\trequest: InvoiceCreateRequest[],\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice[]> {\n\t\treturn await super.createEntity<InvoiceCreateRequest[], SBInvoice[]>(\n\t\t\t\"/v1/invoices/batch\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Batch updates multiple invoices\n\t * @param request - Array of invoice update requests\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with an array of updated invoices\n\t */\n\tpublic async batchUpdate(\n\t\trequest: InvoiceBatchUpsertRequest[],\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice[]> {\n\t\treturn await super.updateEntity<\n\t\t\tInvoiceBatchUpsertRequest[],\n\t\t\tSBInvoice[]\n\t\t>(\"/v1/invoices/batch\", request, options, config);\n\t}\n\n\t/**\n\t * Exports an invoice as JSON\n\t * @param id - The invoice ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the invoice data as a Blob\n\t */\n\tpublic async exportAsJson(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<Blob> {\n\t\tconfig = {\n\t\t\t...(config || {}),\n\t\t\tresponseType: \"blob\",\n\t\t};\n\t\treturn await super.getEntityById<Blob>(\n\t\t\t`/v1/invoices/${id}/export`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Shares an invoice\n\t * @param id - The invoice ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated invoice\n\t */\n\tpublic async share(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.createEntity<any, SBInvoice>(\n\t\t\t`/v1/invoices/${id}/share`,\n\t\t\t{},\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves the public token for an invoice\n\t * @param id - The invoice ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the token\n\t */\n\tpublic async retrievePublicToken(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<{ token: string }> {\n\t\treturn await super.getEntityById<{ token: string }>(\n\t\t\t`/v1/invoices/${id}/token`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a review for an invoice\n\t * @param id - The invoice ID\n\t * @param request - Review creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated invoice\n\t */\n\tpublic async createReview(\n\t\tid: number,\n\t\trequest: ReceiptReviewCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.createEntity<ReceiptReviewCreateRequest, SBInvoice>(\n\t\t\t`/v1/invoices/${id}/review`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Adds a payment transaction to an invoice\n\t * @param id - The invoice ID\n\t * @param request - Transaction creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated invoice\n\t */\n\tpublic async addTransaction(\n\t\tid: number,\n\t\trequest: ReceiptPaymentCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.createEntity<ReceiptPaymentCreateRequest, SBInvoice>(\n\t\t\t`/v1/invoices/${id}/transactions`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates a payment transaction in an invoice\n\t * @param id - The invoice ID\n\t * @param transactionId - The transaction ID\n\t * @param request - Transaction 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 invoice\n\t */\n\tpublic async updateTransaction(\n\t\tid: number,\n\t\ttransactionId: number,\n\t\trequest: ReceiptTransactionUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.updateEntity<\n\t\t\tReceiptTransactionUpdateRequest,\n\t\t\tSBInvoice\n\t\t>(\n\t\t\t`/v1/invoices/${id}/transactions/${transactionId}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t// /**\n\t// * Creates a bulk job for processing multiple invoices\n\t// * @param request - Bulk job 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 batch\n\t// */\n\t// public async createBulkJob(\n\t// \trequest: InvoiceBulkJobCreateRequest,\n\t// \toptions?: SBRequestOptions,\n\t// \tconfig?: AxiosRequestConfig,\n\t// ): Promise<SBInvoiceBatch> {\n\t// \treturn await super.createEntity<\n\t// \t\tInvoiceBulkJobCreateRequest,\n\t// \t\tSBInvoiceBatch\n\t// \t>(\"/v1/invoices/batch\", request, options, config);\n\t// }\n\n\t/**\n\t * Uploads an invoice to an existing bulk job\n\t * @param id - The bulk job ID\n\t * @param request - Invoice batch upsert request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created invoice\n\t */\n\tpublic async uploadToBulkJob(\n\t\tid: number,\n\t\trequest: InvoiceBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.createEntity<InvoiceBatchUpsertRequest, SBInvoice>(\n\t\t\t`/v1/invoices/batch/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Completes a bulk job\n\t * @param id - The bulk job ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the completed invoice\n\t */\n\tpublic async completeBulkJob(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBInvoice> {\n\t\treturn await super.updateEntity<null, SBInvoice>(\n\t\t\t`/v1/invoices/batch/${id}/complete`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on invoices\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\trequest: InvoiceBatchUpsertRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBBatch<SBInvoice>> {\n\t\treturn await super.createEntity<\n\t\t\tInvoiceBatchUpsertRequest,\n\t\t\tSBBatch<SBInvoice>\n\t\t>(\"/v1/invoices/batch\", request, options, config);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBService } from \"@/services/SBService\";\nimport { SBNotification } from \"@/entities/notifications/SBNotification\";\nimport { ICreatable, IRetrievableById } from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\nimport { NotificationCreateRequest } from \"./NotificationCreateRequest\";\nimport { ListRequest } from \"@/services/ListRequest\";\n\n/**\n * Service for managing notifications in the Smartbills system\n * Provides functionality for retrieving, creating, and managing notifications\n * @implements IRetrievableById<SBNotification> - Allows retrieving notifications by ID\n * @implements ICreatable<NotificationCreateRequest, SBNotification> - Allows creating new notifications\n */\nexport class NotificationService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBNotification>,\n\t\tICreatable<NotificationCreateRequest, SBNotification>\n{\n\t/**\n\t * Creates a new instance of the notification service\n\t * @param options - Service configuration options\n\t */\n\tconstructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Retrieves a notification by its ID\n\t * @param id - The notification ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the notification data\n\t */\n\tasync getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBNotification> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/notifications/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists notifications with pagination\n\t * @param request - Pagination parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with paginated notification data\n\t */\n\tasync listAsync(\n\t\trequest?: ListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBNotification>> {\n\t\treturn await this.listEntities(\n\t\t\t\"/v1/notifications\",\n\t\t\trequest || { page: 1, pageSize: 25 },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new notification\n\t * @param request - Notification 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 notification\n\t */\n\tasync createAsync(\n\t\trequest: NotificationCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBNotification> {\n\t\treturn await this.createEntity(\n\t\t\t\"/v1/notifications\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Marks a notification as read\n\t * @param id - The notification ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated notification\n\t */\n\tasync markAsRead(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBNotification> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/notifications/${id}/read`,\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Marks all notifications as read\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves when all notifications are marked as read\n\t */\n\tasync markAllAsRead(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<void> {\n\t\treturn await this.updateEntity(\n\t\t\t\"/v1/notifications/read\",\n\t\t\tnull,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch } from \"@/entities/batches\";\nimport { SBSubscription } from \"@/entities/subscriptions/SBSubscription\";\nimport {\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedDeletable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { BatchUpsertRequest } from \"../../BatchUpsertRequest\";\nimport { SBService } from \"../../SBService\";\nimport { SubscriptionCreateRequest } from \"./SubscriptionCreateRequest\";\nimport { SubscriptionListRequest } from \"./SubscriptionListRequest\";\nimport { SubscriptionUpdateRequest } from \"./SubscriptionUpdateRequest\";\nimport { SubscriptionUpsertRequest } from \"./SubscriptionUpsertRequest\";\nimport { SBList } from \"@/entities/base\";\n\n/**\n * Service for managing subscriptions in the Smartbills system\n * Provides functionality for CRUD operations on subscriptions\n * @implements INestedRetrievableById<SBSubscription> - Allows retrieving subscriptions by ID\n * @implements INestedCreatable<SubscriptionCreateRequest, SBSubscription> - Allows creating new subscriptions\n * @implements INestedUpdatable<SubscriptionUpdateRequest, SBSubscription> - Allows updating existing subscriptions\n * @implements INestedBatchable<SubscriptionUpsertRequest, SBSubscription> - Allows batch operations on subscriptions\n * @implements INestedDeletable<SBSubscription> - Allows deleting subscriptions\n */\nexport class SubscriptionService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBSubscription>,\n\t\tINestedCreatable<SubscriptionCreateRequest, SBSubscription>,\n\t\tINestedUpdatable<SubscriptionUpdateRequest, SBSubscription>,\n\t\tINestedBatchable<SubscriptionUpsertRequest, SBSubscription>,\n\t\tINestedDeletable<SBSubscription>\n{\n\t/**\n\t * Creates a new instance of the subscription 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 * Performs a batch operation on subscriptions\n\t * @param businessId - The business ID\n\t * @param request - Batch request containing multiple subscription operations\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the batch operation result\n\t */\n\tpublic async batch(\n\t\tbusinessId: number,\n\t\trequest: BatchUpsertRequest<SubscriptionUpsertRequest>,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<\n\t\t\tBatchUpsertRequest<SubscriptionUpsertRequest>\n\t\t>,\n\t): Promise<SBBatch<SBSubscription>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/subscriptions/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a subscription by its ID\n\t * @param businessId - The business ID\n\t * @param id - The subscription ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the subscription 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<SBSubscription> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/subscriptions/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new subscription\n\t * @param businessId - The business ID\n\t * @param request - Subscription 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 subscription\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: SubscriptionCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<SubscriptionCreateRequest>,\n\t): Promise<SBSubscription> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/subscriptions`,\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 subscription\n\t * @param businessId - The business ID\n\t * @param id - The subscription ID to update\n\t * @param request - Subscription 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 subscription\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: SubscriptionUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<SubscriptionUpdateRequest>,\n\t): Promise<SBSubscription> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/business/${businessId}/subscriptions/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a subscription\n\t * @param businessId - The business ID\n\t * @param id - The subscription 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 subscription\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<SBSubscription> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/subscriptions/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists subscriptions 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 subscription data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: SubscriptionListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<SubscriptionListRequest>,\n\t): Promise<SBList<SBSubscription>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/subscriptions`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Cancels a subscription\n\t * @param businessId - The business ID\n\t * @param id - The subscription ID to cancel\n\t * @param reason - Cancellation reason\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the canceled subscription\n\t */\n\tpublic async cancel(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\treason?: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBSubscription> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/subscriptions/${id}/cancel`,\n\t\t\t{ reason },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Pauses a subscription\n\t * @param businessId - The business ID\n\t * @param id - The subscription ID to pause\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the paused subscription\n\t */\n\tpublic async pause(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBSubscription> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/subscriptions/${id}/pause`,\n\t\t\t{},\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Resumes a paused subscription\n\t * @param businessId - The business ID\n\t * @param id - The subscription ID to resume\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the resumed subscription\n\t */\n\tpublic async resume(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBSubscription> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/subscriptions/${id}/resume`,\n\t\t\t{},\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBService } from \"../SBService\";\nimport { SBVendor } from \"@/entities/vendors/SBVendor\";\nimport {\n\tICreatable,\n\tIDeletable,\n\tIRetrievableById,\n\tIListable,\n\tIUpdatable,\n} from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\n\nimport { ListRequest } from \"@/services/ListRequest\";\nimport { VendorUpdateRequest } from \"./VendorUpdateRequest\";\nimport { VendorCreateRequest } from \"./VendorCreateRequest\";\nimport { VendorConnectRequest } from \"./VendorConnectRequest\";\nimport { VendorConnectResponse } from \"./VendorConnectResponse\";\nimport { VendorListRequest } from \"./VendorListRequest\";\n\nexport class VendorService\n\textends SBService\n\timplements\n\t\tIRetrievableById<SBVendor>,\n\t\tICreatable<VendorCreateRequest, SBVendor>,\n\t\tIDeletable<SBVendor>,\n\t\tIListable<ListRequest, SBVendor>,\n\t\tIUpdatable<VendorUpdateRequest, SBVendor>\n{\n\tconstructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBVendor> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/me/vendors/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async listAsync(\n\t\trequest?: VendorListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBVendor>> {\n\t\treturn await this.listEntities(\n\t\t\t`/v1/me/vendors`,\n\t\t\trequest || { page: 1, pageSize: 25 },\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async createAsync(\n\t\trequest: VendorCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<VendorCreateRequest>,\n\t): Promise<SBVendor> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/me/vendors`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async updateAsync(\n\t\tid: number,\n\t\trequest: VendorUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<VendorUpdateRequest>,\n\t): Promise<SBVendor> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/me/vendors/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBVendor> {\n\t\treturn await this.deleteEntity(`/v1/me/vendors/${id}`, options, config);\n\t}\n\n\tpublic async getLinkToken(\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<VendorConnectResponse> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/me/vendors/connect`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async connectAsync(\n\t\trequest: VendorConnectRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<VendorConnectRequest>,\n\t): Promise<SBVendor> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/me/vendors/connect`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async manualRefresh(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<void> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/me/vendors/${id}/refresh`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBService } from \"@/services/SBService\";\nimport {\n\tLoyaltyProgramCreateRequest,\n\tLoyaltyProgramUpdateRequest,\n\tLoyaltyProgramListRequest,\n\tSBLoyaltyProgramResponse,\n\tLoyaltyAccountCreateRequest,\n\tSBLoyaltyProgramAccountResponse,\n\tLoyaltyProgramPointsAccumulateRequest,\n\tLoyaltyProgramPointsAdjustRequest,\n\tSBLoyaltyProgramPointResponse,\n\tLoyaltyRewardCreateRequest,\n\tSBLoyaltyRewardResponse,\n\tLoyaltyRewardRedeemRequest,\n} from \"@/entities/loyalty\";\nimport {\n\tINestedCreatable,\n\tINestedDeletable,\n\tINestedListable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBList } from \"../../entities/base\";\n\n/**\n * Service for managing loyalty programs in the Smartbills system\n * Provides functionality for CRUD operations on loyalty programs, accounts, rewards and points\n * @implements INestedRetrievableById<SBLoyaltyProgramResponse> - Allows retrieving loyalty programs by ID\n * @implements INestedListable<LoyaltyProgramListRequest, SBLoyaltyProgramResponse> - Allows listing loyalty programs\n * @implements INestedCreatable<LoyaltyProgramCreateRequest, SBLoyaltyProgramResponse> - Allows creating loyalty programs\n * @implements INestedUpdatable<LoyaltyProgramUpdateRequest, SBLoyaltyProgramResponse> - Allows updating loyalty programs\n * @implements INestedDeletable<SBLoyaltyProgramResponse> - Allows deleting loyalty programs\n */\nexport class LoyaltyProgramService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBLoyaltyProgramResponse>,\n\t\tINestedListable<LoyaltyProgramListRequest, SBLoyaltyProgramResponse>,\n\t\tINestedCreatable<LoyaltyProgramCreateRequest, SBLoyaltyProgramResponse>,\n\t\tINestedUpdatable<LoyaltyProgramUpdateRequest, SBLoyaltyProgramResponse>,\n\t\tINestedDeletable<SBLoyaltyProgramResponse>\n{\n\t/**\n\t * Creates a new instance of the loyalty program 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 * Create a new loyalty program\n\t * @param businessId - The business ID\n\t * @param request - The loyalty program creation request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created loyalty program\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: LoyaltyProgramCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyProgramCreateRequest>,\n\t): Promise<SBLoyaltyProgramResponse> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/programs`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Get a loyalty program by ID\n\t * @param businessId - The business ID\n\t * @param id - The loyalty program ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the loyalty program\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<SBLoyaltyProgramResponse> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/business/${businessId}/loyalty/programs/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Update a loyalty program\n\t * @param businessId - The business ID\n\t * @param id - The loyalty program ID\n\t * @param request - The update request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated loyalty program\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: LoyaltyProgramUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyProgramUpdateRequest>,\n\t): Promise<SBLoyaltyProgramResponse> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/programs/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * List loyalty programs with pagination\n\t * @param businessId - The business ID\n\t * @param request - The pagination request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with list of loyalty programs\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\trequest: LoyaltyProgramListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyProgramListRequest>,\n\t): Promise<SBList<SBLoyaltyProgramResponse>> {\n\t\treturn await this.listEntities(\n\t\t\t`/v1/business/${businessId}/loyalty/programs`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Delete a loyalty program\n\t * @param businessId - The business ID\n\t * @param id - The loyalty program ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted loyalty program\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<SBLoyaltyProgramResponse> {\n\t\treturn await this.deleteEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/programs/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Create a loyalty program account\n\t * @param businessId - The business ID\n\t * @param programId - The loyalty program ID\n\t * @param request - The account creation request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created loyalty account\n\t */\n\tpublic async createAccount(\n\t\tbusinessId: number,\n\t\tprogramId: number,\n\t\trequest: LoyaltyAccountCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyAccountCreateRequest>,\n\t): Promise<SBLoyaltyProgramAccountResponse> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/programs/${programId}/accounts`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Get a loyalty program account by ID\n\t * @param businessId - The business ID\n\t * @param programId - The loyalty program ID\n\t * @param accountId - The account ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the loyalty account\n\t */\n\tpublic async getAccount(\n\t\tbusinessId: number,\n\t\tprogramId: number,\n\t\taccountId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBLoyaltyProgramAccountResponse> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/business/${businessId}/loyalty/programs/${programId}/accounts/${accountId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Delete a loyalty program account\n\t * @param businessId - The business ID\n\t * @param programId - The loyalty program ID\n\t * @param accountId - The account ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted loyalty account\n\t */\n\tpublic async deleteAccount(\n\t\tbusinessId: number,\n\t\tprogramId: number,\n\t\taccountId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBLoyaltyProgramAccountResponse> {\n\t\treturn await this.deleteEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/programs/${programId}/accounts/${accountId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * List loyalty program accounts\n\t * @param businessId - The business ID\n\t * @param programId - The loyalty program ID\n\t * @param request - The pagination request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with list of loyalty accounts\n\t */\n\tpublic async listAccounts(\n\t\tbusinessId: number,\n\t\tprogramId: number,\n\t\trequest: LoyaltyProgramListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyProgramListRequest>,\n\t): Promise<SBList<SBLoyaltyProgramAccountResponse>> {\n\t\treturn await this.listEntities(\n\t\t\t`/v1/business/${businessId}/loyalty/programs/${programId}/accounts`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Accumulate points for a loyalty program\n\t * @param businessId - The business ID\n\t * @param request - The points accumulation request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the points response\n\t */\n\tpublic async accumulatePoints(\n\t\tbusinessId: number,\n\t\trequest: LoyaltyProgramPointsAccumulateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyProgramPointsAccumulateRequest>,\n\t): Promise<SBLoyaltyProgramPointResponse> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/points/accumulate`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Adjust points for a loyalty program\n\t * @param businessId - The business ID\n\t * @param request - The points adjustment request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the points response\n\t */\n\tpublic async adjustPoints(\n\t\tbusinessId: number,\n\t\trequest: LoyaltyProgramPointsAdjustRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyProgramPointsAdjustRequest>,\n\t): Promise<SBLoyaltyProgramPointResponse> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/points/adjust`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Issue points to a loyalty program\n\t * @param businessId - The business ID\n\t * @param request - The points issue request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the points response\n\t */\n\tpublic async issuePoints(\n\t\tbusinessId: number,\n\t\trequest: LoyaltyProgramPointsAccumulateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyProgramPointsAccumulateRequest>,\n\t): Promise<SBLoyaltyProgramPointResponse> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/points/issue`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Create a loyalty reward\n\t * @param businessId - The business ID\n\t * @param request - The reward creation request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created reward\n\t */\n\tpublic async createReward(\n\t\tbusinessId: number,\n\t\trequest: LoyaltyRewardCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyRewardCreateRequest>,\n\t): Promise<SBLoyaltyRewardResponse> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/rewards`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Get reward by ID\n\t * @param businessId - The business ID\n\t * @param id - The reward ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the reward details\n\t */\n\tpublic async getReward(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBLoyaltyRewardResponse> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/business/${businessId}/loyalty/rewards/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Redeem a loyalty reward\n\t * @param businessId - The business ID\n\t * @param id - The reward ID\n\t * @param request - The reward redemption request\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with success message\n\t */\n\tpublic async redeemReward(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: LoyaltyRewardRedeemRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<LoyaltyRewardRedeemRequest>,\n\t): Promise<string> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/business/${businessId}/loyalty/rewards/${id}/redeem`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBService } from \"@/services/SBService\";\nimport { IRetrievable } from \"@/interfaces/IRetrievable\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { IntegrationListRequest } from \"./IntegrationListRequest\";\nimport { SBIntegration } from \"@/entities/integrations/SBIntegration\";\n\nexport class IntegrationService\n\textends SBService\n\timplements IRetrievable<IntegrationListRequest, SBIntegration>\n{\n\t/**\n\t * Creates a new instance of the integration 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 getAsync(\n\t\trequest: IntegrationListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBIntegration[]> {\n\t\treturn await super.getEntities(\n\t\t\t`/v1/businesses/${request.businessId}/integrations`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async installAsync(\n\t\tbusinessId: string | number,\n\t\tslug: string,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/integrations/${slug}/authorize`,\n\t\t\toptions,\n\t\t\t{ ...config, withCredentials: true, maxRedirects: 0 },\n\t\t);\n\t}\n}\n","import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBService } from \"@/services/SBService\";\nimport {\n\tdefaultAPIServiceOptions,\n\tSBServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { ExpenseUploadRequest } from \"./ExpenseUploadRequest\";\nimport { ListRequest } from \"@/services/ListRequest\";\n\nexport class ExpenseService extends SBService {\n\t/**\n\t * Creates a new instance of the expense 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 uploadAsync(\n\t\trequest: ExpenseUploadRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\tconst formData = new FormData();\n\n\t\t// Append files to FormData\n\t\trequest.files.forEach((file) => {\n\t\t\tformData.append(\"files\", file);\n\t\t});\n\n\t\t// Append additional metadata\n\t\tif (request.businessId) {\n\t\t\tformData.append(\"businessId\", String(request.businessId));\n\t\t}\n\t\tif (request.expenseType) {\n\t\t\tformData.append(\"expenseType\", request.expenseType);\n\t\t}\n\t\tif (request.paymentMethod) {\n\t\t\tformData.append(\"paymentMethod\", request.paymentMethod);\n\t\t}\n\n\t\treturn await super.createEntity(\n\t\t\t\"/v1/expenses/upload\",\n\t\t\tformData,\n\t\t\toptions,\n\t\t\t{\n\t\t\t\t...config,\n\t\t\t\theaders: {\n\t\t\t\t\t\"Content-Type\": \"multipart/form-data\",\n\t\t\t\t\t...config?.headers,\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t}\n\n\tpublic async validateAsync(\n\t\trequest: ExpenseUploadRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\tconst formData = new FormData();\n\n\t\t// Append files to FormData\n\t\trequest.files.forEach((file) => {\n\t\t\tformData.append(\"files\", file);\n\t\t});\n\n\t\t// Append additional metadata\n\t\tif (request.businessId) {\n\t\t\tformData.append(\"businessId\", String(request.businessId));\n\t\t}\n\t\tif (request.expenseType) {\n\t\t\tformData.append(\"expenseType\", request.expenseType);\n\t\t}\n\t\tif (request.paymentMethod) {\n\t\t\tformData.append(\"paymentMethod\", request.paymentMethod);\n\t\t}\n\n\t\treturn await super.createEntity(\n\t\t\t\"/v1/expenses/validate\",\n\t\t\tformData,\n\t\t\toptions,\n\t\t\t{\n\t\t\t\t...config,\n\t\t\t\theaders: {\n\t\t\t\t\t\"Content-Type\": \"multipart/form-data\",\n\t\t\t\t\t...config?.headers,\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t}\n\n\tpublic async getProcessingJobsAsync(\n\t\trequest: ListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<any> {\n\t\treturn await super.getEntities(\n\t\t\t\"/v1/expenses/processing\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n","import { ApiLogService } from \"@/services/api-logs\";\nimport { BankAccountService } from \"@/services/banks/accounts\";\nimport { BankTransactionService } from \"@/services/banks/transactions\";\nimport { BankService } from \"@/services/banks\";\nimport { CardService } from \"@/services/cards/CardService\";\nimport { DocumentService } from \"@/services/documents\";\nimport { DomainService } from \"@/services/businesses/domains\";\nimport { DepartmentService } from \"@/services/businesses/departments\";\nimport { FriendService } from \"@/services/friends/FriendService\";\nimport { OAuthService } from \"@/services/oauth\";\nimport { BusinessService } from \"@/services/businesses\";\nimport { PaymentMethodService } from \"@/services/payment-methods\";\nimport { ReceiptService } from \"@/services/receipts\";\nimport { SettlementService } from \"@/services/settlements\";\nimport { TransactionService } from \"@/services/transactions\";\nimport { CurrentUserService } from \"@/services/user\";\nimport { UserService } from \"@/services/users\";\nimport { v4 } from \"uuid\";\nimport { SBClientOptions } from \"./SBClientOptions\";\nimport { SBCredentialProvider } from \"./SBCredentials\";\nimport { SBLogger } from \"./SBLogger\";\nimport { defaultAPIServiceOptions } from \"./SBServiceOptions\";\nimport { API_URL } from \"./constants\";\nimport { ExploreService } from \"../services/explore\";\nimport {\n\tBankInstitutionService,\n\tInvoiceService,\n\tLoyaltyProgramService,\n\tNotificationService,\n} from \"@/services\";\nimport { AttachmentService } from \"@/services/attachments\";\nimport { SubscriptionService } from \"@/services/billing/subscriptions/SubscriptionService\";\nimport { IntegrationService } from \"@/services/integrations\";\nimport { TableService } from \"@/services/businesses/tables\";\nimport { ExpenseService } from \"@/services/expenses\";\nimport { VendorService } from \"@/services/vendors\";\n\n/**\n * Client for the Smartbills API.\n */\nconst defaultOptions: SBClientOptions = {\n\tendpoints: {\n\t\tapi: API_URL,\n\t\tauth: API_URL,\n\t},\n\tdebug: false,\n\tlogger: new SBLogger(false),\n\tsessionId: v4(),\n\tlocale: \"en\",\n};\n\nexport class SBClient {\n\tpublic logger: SBLogger;\n\tpublic options: SBClientOptions;\n\tpublic user: CurrentUserService;\n\tpublic logs: ApiLogService;\n\tpublic banks: BankService;\n\tpublic bankAccounts: BankAccountService;\n\tpublic bankInstitutions: BankInstitutionService;\n\tpublic bankTransactions: BankTransactionService;\n\tpublic cards: CardService;\n\tpublic documents: DocumentService;\n\tpublic domains: DomainService;\n\tpublic departments: DepartmentService;\n\tpublic explore: ExploreService;\n\tpublic invoices: InvoiceService;\n\tpublic businesses: BusinessService;\n\tpublic notifications: NotificationService;\n\n\tpublic oauth: OAuthService;\n\n\tpublic loyaltyPrograms: LoyaltyProgramService;\n\n\tpublic receipts: ReceiptService;\n\tpublic transactions: TransactionService;\n\tpublic paymentMethods: PaymentMethodService;\n\tpublic settlements: SettlementService;\n\tpublic friends: FriendService;\n\tpublic users: UserService;\n\tpublic attachments: AttachmentService;\n\n\tpublic subscriptions: SubscriptionService;\n\tpublic integrations: IntegrationService;\n\tpublic tables: TableService;\n\tpublic expenses: ExpenseService;\n\tpublic vendors: VendorService;\n\n\t/**\n\t * @constructor\n\t * Creates an instance of the Smartbills API client.\n\t */\n\tpublic constructor(options: SBClientOptions = defaultAPIServiceOptions) {\n\t\tthis.options = { ...defaultOptions, ...options };\n\t\tthis.logger = options.logger ?? new SBLogger(options.debug);\n\t\tthis.configureServices();\n\t\tthis.logger.log(options);\n\t}\n\n\tpublic async initialize() {\n\t\tif (this.options.credentials) {\n\t\t\tawait this.options.credentials?.getAccessToken(this.oauth);\n\t\t}\n\t}\n\n\tpublic get accessToken(): string {\n\t\treturn this.options?.credentials?.accessToken;\n\t}\n\n\tpublic get refreshToken(): string {\n\t\treturn this.options?.credentials?.refreshToken;\n\t}\n\n\tpublic setCredentials(credentials: SBCredentialProvider) {\n\t\tthis.options.credentials = credentials;\n\t\tthis.configureServices();\n\t}\n\n\tpublic setLocale(locale: string) {\n\t\tthis.options.locale = locale;\n\t}\n\n\tprotected configureServices() {\n\t\tthis.oauth = new OAuthService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.auth,\n\t\t});\n\t\tthis.cards = new CardService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\n\t\tthis.notifications = new NotificationService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.user = new CurrentUserService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.invoices = new InvoiceService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.logs = new ApiLogService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.banks = new BankService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.bankAccounts = new BankAccountService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.bankInstitutions = new BankInstitutionService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.bankTransactions = new BankTransactionService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\n\t\tthis.documents = new DocumentService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\n\t\tthis.friends = new FriendService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\n\t\tthis.businesses = new BusinessService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.businesses = new BusinessService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.departments = new DepartmentService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\n\t\tthis.explore = new ExploreService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\n\t\tthis.receipts = new ReceiptService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.transactions = new TransactionService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.paymentMethods = new PaymentMethodService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.settlements = new SettlementService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\n\t\tthis.users = new UserService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.attachments = new AttachmentService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.subscriptions = new SubscriptionService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.loyaltyPrograms = new LoyaltyProgramService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.integrations = new IntegrationService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.tables = new TableService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.expenses = new ExpenseService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t\tthis.vendors = new VendorService({\n\t\t\t...this.options,\n\t\t\tlogger: this.logger,\n\t\t\turl: this.options?.endpoints?.api,\n\t\t});\n\t}\n}\n","import {\n\tAccessTokenResponse,\n\tTokenExchangeRequest,\n\tOAuthService,\n} from \"@/services/oauth\";\n\nexport interface SBCredentialProvider {\n\taccessToken: string;\n\trefreshToken?: string;\n\trefresh();\n\tgetAccessToken(service: OAuthService): Promise<AccessTokenResponse>;\n}\n\nexport class SBClientCredentials implements SBCredentialProvider {\n\tpublic clientId: string;\n\tpublic clientSecret?: string;\n\tpublic scopes: string[] = [];\n\n\tpublic accessToken: string;\n\tpublic constructor(\n\t\tclientId: string,\n\t\tclientSecret?: string,\n\t\tscopes?: string[],\n\t) {\n\t\tthis.clientId = clientId;\n\t\tthis.clientSecret = clientSecret;\n\t\tthis.scopes = scopes;\n\t}\n\n\tasync getAccessToken(service: OAuthService): Promise<AccessTokenResponse> {\n\t\tconst request: TokenExchangeRequest = {\n\t\t\tclient_id: this?.clientId,\n\t\t\tclient_secret: this?.clientSecret,\n\t\t\tscope: this.scopes.join(\" \"),\n\t\t\tgrant_type: \"client_credentials\",\n\t\t};\n\t\tconst response = await service.getToken(request);\n\t\tthis.accessToken = response.access_token;\n\t\tthis.refreshToken = response.refresh_token;\n\t\tthis.scopes = response.scope.split(\",\");\n\t\treturn response;\n\t}\n\n\tpublic refreshToken: string;\n\n\trefresh() {}\n}\n\nexport class SBAccessToken implements SBCredentialProvider {\n\tpublic accessToken: string;\n\tpublic refreshToken: string;\n\n\tpublic constructor(accessToken: string, refreshToken?: string) {\n\t\tthis.accessToken = accessToken;\n\t\tthis.refreshToken = refreshToken;\n\t}\n\tgetAccessToken(service: OAuthService): Promise<AccessTokenResponse> {\n\t\treturn Promise.resolve({\n\t\t\taccess_token: this?.accessToken,\n\t\t\trefresh_token: this?.refreshToken,\n\t\t});\n\t}\n\n\tasync refresh() {\n\t\t// if (this.refreshToken) {\n\t\t// \tconst refreshTokenRequest: RefreshTokenRequest = {\n\t\t// \t\tclient_id: \"smartbills\",\n\t\t// \t\tgrant_type: \"authorization_code\",\n\t\t// \t\trefresh_token: this?.refreshToken,\n\t\t// \t}\n\t\t// \treturn await this.authService.refreshToken(refreshTokenRequest);\n\t\t// } else {\n\t\t// \tthrow new Error();\n\t\t// }\n\t}\n}\n","export class SBEnvironment {\n\tpublic constructor(url: string, authUrl: string) {\n\t\tthis.url = url;\n\t\tthis.authUrl = authUrl;\n\t}\n\turl: string;\n\tauthUrl: string;\n}\n","import { AxiosError, AxiosRequestConfig } from \"axios\";\nimport { SBErrorResponse } from \"./SBErrorResponse\";\n\nexport class SBException extends Error {\n\tpublic code: string;\n\n\tpublic constructor(code: string, message: string) {\n\t\tsuper(message);\n\t\tthis.code = code;\n\t}\n}\n\nexport class SBApiException extends Error {\n\tpublic code: string;\n\tpublic status?: number;\n\tpublic requestId: string;\n\tpublic response: SBErrorResponse;\n\tpublic constructor(error: AxiosError<SBErrorResponse>) {\n\t\tsuper();\n\t\tthis.requestId = error.config.headers[\"Request-Id\"];\n\t\tif (error.response) {\n\t\t\tlet response = error.response?.data;\n\t\t\ttry {\n\t\t\t\tresponse = JSON.parse(error.response.data as unknown as string);\n\t\t\t} catch {}\n\t\t\tthis.code = response?.code;\n\t\t\tthis.response = response;\n\t\t\tthis.status = error?.response?.status;\n\t\t\tthis.message = `[Smartbills API] [${error.code}] ${response?.message ?? error.message}`;\n\t\t} else {\n\t\t\tthis.code = error.code;\n\t\t\tthis.message = error.message;\n\t\t}\n\t}\n}\n","import axios, { AxiosError, AxiosInstance } from \"axios\";\nimport { v4 } from \"uuid\";\nimport { SBApiException, SBException } from \"./SBException\";\nimport { SBLogger } from \"./SBLogger\";\nimport { SBServiceOptions, defaultAPIServiceOptions } from \"./SBServiceOptions\";\nimport { version } from \"../../package.json\";\nconst isBrowser = typeof window !== \"undefined\";\n\nexport class SBInstance {\n\tpublic readonly axios: AxiosInstance;\n\tprivate logger: SBLogger;\n\tprivate options: SBServiceOptions;\n\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tthis.logger = options.logger ?? new SBLogger(options.debug);\n\t\tthis.options = options;\n\t\tthis.axios = axios.create({\n\t\t\tbaseURL: options.url,\n\t\t\theaders: !isBrowser\n\t\t\t\t? {\n\t\t\t\t\t\t\"User-Agent\": `Smartbills JS v${version}`,\n\t\t\t\t\t}\n\t\t\t\t: {},\n\t\t});\n\t\tthis.axios.defaults.headers[\"Accept-Language\"] = options.locale;\n\t\tthis.axios.defaults.headers[\"Session-Id\"] = options?.sessionId;\n\n\t\tif (options.credentials)\n\t\t\tthis.axios.interceptors.request.use((config) => {\n\t\t\t\tconfig.headers[\"Authorization\"] =\n\t\t\t\t\t\"bearer \" + options?.credentials?.accessToken;\n\n\t\t\t\tthis.logger.log(\n\t\t\t\t\t\"Request\",\n\t\t\t\t\tconfig.method,\n\t\t\t\t\tconfig.url,\n\t\t\t\t\tconfig.data,\n\t\t\t\t);\n\t\t\t\treturn config;\n\t\t\t});\n\n\t\tconst addRequestId = (data, headers) => {\n\t\t\theaders[\"Request-Id\"] = v4();\n\t\t\treturn data;\n\t\t};\n\n\t\tthis.axios.defaults.transformRequest = [addRequestId].concat(\n\t\t\tthis.axios.defaults.transformRequest,\n\t\t);\n\t\tthis.axios.interceptors.response.use(\n\t\t\t(response) => {\n\t\t\t\tthis.logger.log(\n\t\t\t\t\t\"response\",\n\t\t\t\t\tresponse.config.method,\n\t\t\t\t\tresponse.config.url,\n\t\t\t\t\tresponse?.status,\n\t\t\t\t\tresponse?.data,\n\t\t\t\t);\n\t\t\t\treturn response;\n\t\t\t},\n\t\t\tasync (error: AxiosError<any>) => {\n\t\t\t\tthis.logger.log(\n\t\t\t\t\t\"REQUEST FAILED\",\n\t\t\t\t\terror.config.headers[\"Request-Id\"],\n\t\t\t\t);\n\n\t\t\t\ttry {\n\t\t\t\t\tif (error?.response) {\n\t\t\t\t\t\tthrow new SBApiException(error);\n\t\t\t\t\t}\n\t\t\t\t\tthrow error;\n\t\t\t\t} catch (error) {\n\t\t\t\t\tif (axios.isAxiosError(error)) {\n\t\t\t\t\t\tthrow new SBApiException(error);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthrow new SBException(error.code, error.message);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t);\n\t}\n}\n","export enum SBPermission {\n\tCUSTOMERS_READ = \"customers:read\",\n\tCUSTOMERS_CREATE = \"customers:create\",\n\tCUSTOMERS_DELETE = \"customers:delete\",\n\tCUSTOMERS_UPDATE = \"customers:update\",\n\n\tEMPLOYEES_READ = \"employees:read\",\n\tEMPLOYEES_CREATE = \"employees:create\",\n\tEMPLOYEES_DELETE = \"employees:delete\",\n\tEMPLOYEES_UPDATE = \"employees:update\",\n\n\tLOCATIONS_READ = \"locations:read\",\n\tLOCATIONS_CREATE = \"locations:create\",\n\tLOCATIONS_DELETE = \"locations:delete\",\n\tLOCATIONS_UPDATE = \"locations:update\",\n\n\tPRODUCTS_READ = \"products:read\",\n\tPRODUCTS_CREATE = \"products:create\",\n\tPRODUCTS_DELETE = \"products:delete\",\n\tPRODUCTS_UPDATE = \"products:update\",\n\n\tPAYMENTS_READ = \"payments:read\",\n\tPAYMENTS_CREATE = \"payments:create\",\n\tPAYMENTS_DELETE = \"payments:delete\",\n\tPAYMENTS_UPDATE = \"payments:update\",\n\n\tMERCHANTS_READ = \"businessread\",\n\tMERCHANTS_CREATE = \"business:create\",\n\tMERCHANTS_DELETE = \"business:delete\",\n\tMERCHANTS_UPDATE = \"business:update\",\n\n\tRECEIPTS_READ = \"receipts:read\",\n\tRECEIPTS_CREATE = \"receipts:create\",\n\tRECEIPTS_DELETE = \"receipts:delete\",\n\tRECEIPTS_UPDATE = \"receipts:update\",\n\n\tREVIEWS_READ = \"reviews:read\",\n\tREVIEWS_CREATE = \"reviews:create\",\n\tREVIEWS_DELETE = \"reviews:delete\",\n\tREVIEWS_UPDATE = \"reviews:update\",\n\n\tPROMO_CODES_READ = \"promo_codes:read\",\n\tPROMO_CODES_CREATE = \"promo_codes:create\",\n\tPROMO_CODES_DELETE = \"promo_codes:delete\",\n\tPROMO_CODES_UPDATE = \"promo_codes:update\",\n\n\tFEES_READ = \"fees:read\",\n\tFEES_CREATE = \"fees:create\",\n\tFEES_DELETE = \"fees:delete\",\n\tFEES_UPDATE = \"fees:update\",\n\n\tTAXES_READ = \"taxes:read\",\n\tTAXES_CREATE = \"taxes:create\",\n\tTAXES_DELETE = \"taxes:delete\",\n\tTAXES_UPDATE = \"taxes:update\",\n}\n","export enum LOGIN_ERRORS {\n\tInvalidLoginErrors = \"invalid_return_url\",\n\tInvalidCredentials = \"invalid_credentials\",\n\tEmailNotConfirmed = \"email_not_confirmed\",\n}\n","export enum SBGenderEnum {\n\tMale = \"MALE\",\n\tFemale = \"FEMALE\",\n\tOther = \"OTHER\",\n}\n","export enum SBBankStateEnum {\n\tNOT_STARTED = 0,\n\tSYNCHRONISING = 1,\n\tCOMPLETED = 2,\n\tPENDING_EXPIRATION = 3,\n}\n","export enum SBBarcodeType {\n\tAZTEC = 1,\n\tCODABAR = 2,\n\tCODE_39 = 4,\n\tCODE_93 = 8,\n\tCODE_128 = 16,\n\tDATA_MATRIX = 32,\n\tEAN_8 = 64,\n\tEAN_13 = 128,\n\tITF = 256,\n\tMAXICODE = 512,\n\tPDF_417 = 1024,\n\tQR_CODE = 2048,\n\tRSS_14 = 4096,\n\tRSS_EXPANDED = 8192,\n\tUPC_A = 16384,\n\tUPC_E = 32768,\n\tAll_1D = 61918,\n\tUPC_EAN_EXTENSION = 65536,\n\tMSI = 131072,\n\tPLESSEY = 262144,\n\tIMB = 524288,\n\tPHARMA_CODE = 1048576,\n}\n","export enum SBCardType {\n\tcredit = \"credit\",\n\tdebit = \"debit\",\n\tprepaid = \"prepaid\",\n\tunknown = \"unknown\",\n}\n","export enum SBTeamMemberInvitationStatus {\n\tAccepted = \"Accepted\",\n\tPending = \"Pending\",\n\tRefused = \"Refused\",\n\tExpired = \"Expired\",\n}\n","export enum SBTeamMemberRole {\n\tOwner = \"Owner\",\n\tAdministrator = \"Administrator\",\n\tManager = \"Manager\",\n\tAccountant = \"Accountant\",\n\tEmployee = \"Employee\",\n}\n","export enum SBTeamMemberStatus {\n\tNotInvited = \"NotInvited\",\n\tPending = \"Pending\",\n\tActive = \"Active\",\n\tInactive = \"Inactive\",\n\tRefused = \"Refused\",\n}\n","export enum SBFeeType {\n\tAmount,\n\tRate,\n}\n","import { SBEntity } from \"@/entities/base\";\nimport { SBBillingAddress } from \"@/entities/address/SBBillingAddress\";\nimport { SBPaymentMethodCard } from \"./SBPaymentMethodCard\";\nimport { SBPaymentMethodBank } from \"./SBPaymentMethodBank\";\n\nexport type SBPaymentMethod =\n\t| (SBEntity & {\n\t\t\tstripeId: string;\n\t\t\tbillingAddress: SBBillingAddress;\n\t\t\ttype: SBPaymentMethodType;\n\t\t\tname: string;\n\t\t\tdescription: string;\n\t })\n\t| {\n\t\t\ttype: SBPaymentMethodType.Card;\n\t\t\tcard: SBPaymentMethodCard;\n\t }\n\t| {\n\t\t\ttype: SBPaymentMethodType.Bank;\n\t\t\tbank: SBPaymentMethodBank;\n\t };\n\nexport enum SBPaymentMethodType {\n\tBank = \"BANKS\",\n\tCard = \"CARD\",\n}\n","export enum SBPaymentMethodFingerprintProvider {\n\tStripe = \"STRIPE\",\n\tSquare = \"SQUARE\",\n}\n","export enum SBReceiptPaymentType {\n\tCard = \"Card\",\n\tCash = \"Cash\",\n\tBankAccount = \"BankAccount\",\n\tExternal = \"External\",\n\tCredits = \"Credits\",\n\tGiftCard = \"GiftCard\",\n}\n","export enum SBReceiptPaymentRiskLevel {\n\tNormal = 0,\n\tElevated = 1,\n\tHigh = 2,\n}\n","export enum SBReceiptPaymentStatus {\n\tApproved = 0,\n\tPending = 1,\n\tCompleted = 2,\n\tCancelled = 3,\n\tFailed = 4,\n}\n","export enum SBReceiptPaymentCardAvsResult {\n\tPostalCodeAddressMatched = \"A\",\n\tPostalCodeMatchedAddressNotChecked = \"B\",\n\tPostalCodeMatchedAddressNotMatched = \"C\",\n\tAddressMatchedPostalCodeNotChecked = \"D\",\n\tPostalCodeAddressNotChecked = \"E\",\n\tAddressMatchedPostalCodeNotMatched = \"F\",\n\tPostalCodeNotCheckedAddressNotMatched = \"G\",\n\tPostalCodeAddressNotSupplied = \"H\",\n\tAddressNotCheckedPostalCodeNotMatched = \"I\",\n\tPostalCodeAddressNotMatched = \"J\",\n}\n","export enum SBReceiptPaymentCardCvvResult {\n\tCVVMatched = \"M\",\n\tCVVNotMatched = \"N\",\n\tCVVNotChecked = \"P\",\n}\n","export enum SBReceiptPaymentCardEntryMethod {\n\tManual = 0,\n\tSwiped = 1,\n\tEMV = 2,\n\tOnFile = 3,\n\tContactless = 4,\n}\n","export enum SBReceiptPaymentExternalType {\n\tCheck = \"Check\",\n\tBankTransfer = \"BankTransfer\",\n\tOtherGiftCard = \"OtherGiftCard\",\n\tCrypto = \"Crypto\",\n\tSquareCash = \"SquareCash\",\n\tSocial = \"Social\",\n\tExternal = \"External\",\n\tEMoney = \"EMoney\",\n\tCard = \"Card\",\n\tStoredBalance = \"StoredBalance\",\n\tFoodVoucher = \"FoodVoucher\",\n\tOther = \"Other\",\n}\n","export const SBReceiptType = {\n\tbankTransaction: 0,\n\tOCR: 1,\n\tSMARTBILLS: 2,\n} as const;\nexport type SBReceiptType = (typeof SBReceiptType)[keyof typeof SBReceiptType];\n","export enum SBReceiptSource {\n\tApplication,\n\tEmailForwarding,\n\tWebApplication,\n\tApi,\n\tDashboard,\n}\n","export enum SBTransactionType {\n\tDOCUMENT = 0,\n\tbankTransaction = 1,\n\tOCR_RECEIPT = 2,\n\tOFFICIAL_SMARTBILLS_RECEIPT = 3,\n}\n"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","toPrimitive","t","r","e","i","call","TypeError","String","Number","toPropertyKey","_defineProperty","Object","defineProperty","value","enumerable","configurable","writable","SBLogger","debug","log","args","API_URL","AUTH_URL","defaultAPIServiceOptions","url","logger","sessionId","v4","defaultAuthServiceoptions","SBService","options","clientOptions","client","axios","create","baseURL","endpoints","api","headers","prepareRequest","config","businessId","toString","locale","token","credentials","accessToken","listEntities","path","request","params","page","pageSize","paramsSerializer","qs","stringify","arrayFormat","response","get","data","getEntityById","createEntity","post","updateEntity","put","deleteEntity","delete","getEntities","assign","execute","ApiLogService","listAsync","getByIdAsync","id","BankAccountService","deleteAsync","getAsync","listTransactions","BankTransactionService","listDocument","renameDocument","documentId","BankService","createAsync","updateAsync","getLinkToken","getLink","listAccounts","bankId","createAccount","getAccountById","accountId","updateAccount","listBankAccounts","getBankAccount","listBankAccountTransactions","BankInstitutionService","CardService","attach","detach","createSetupIntent","confirmSetupIntent","getSetupIntent","cancelSetupIntent","DocumentService","rename","upload","formData","FormData","documents","forEach","name","uri","append","type","mime","getType","DepartmentEmployeeService","departmentId","employeeId","DepartmentService","employees","batch","setApprover","approverId","listEmployees","assignEmployees","removeEmployee","updateEmployees","FriendService","listRecommanded","listFriendRequests","AccessTokenResponse","AuthorizationCodeResponse","parsedHTML","parse","redirectUrl","querySelector","attributes","action","inputs","querySelectorAll","code","findInputValue","session_state","scope","find","x","util_inspect","require$$0","inspect","hasMap","Map","mapSizeDescriptor","getOwnPropertyDescriptor","mapSize","mapForEach","hasSet","Set","setSizeDescriptor","setSize","setForEach","hasWeakMap","WeakMap","weakMapHas","has","hasWeakSet","WeakSet","weakSetHas","hasWeakRef","WeakRef","weakRefDeref","deref","booleanValueOf","Boolean","valueOf","objectToString","functionToString","Function","$match","match","$slice","slice","$replace","replace","$toUpperCase","toUpperCase","$toLowerCase","toLowerCase","$test","RegExp","test","$concat","Array","concat","$join","join","$arrSlice","$floor","Math","floor","bigIntValueOf","BigInt","gOPS","getOwnPropertySymbols","symToString","hasShammedSymbols","toStringTag","isEnumerable","propertyIsEnumerable","gPO","Reflect","getPrototypeOf","__proto__","O","addNumericSeparator","num","str","Infinity","sepRegex","int","intStr","dec","length","utilInspect","inspectCustom","custom","inspectSymbol","isSymbol","quotes","single","quoteREs","objectInspect","inspect_","obj","depth","seen","opts","quoteStyle","maxStringLength","customInspect","indent","parseInt","numericSeparator","inspectString","bigIntStr","maxDepth","isArray","getIndent","indexOf","from","noIndent","push","newOpts","isRegExp","nameOf","keys","arrObjKeys","symString","markBoxed","isElement","s","nodeName","attrs","wrapQuotes","quote","childNodes","xs","singleLineValues","indentedJoin","isError","parts","Error","cause","isMap","mapParts","key","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isNumber","isBigInt","isBoolean","isString","window","globalThis","global","isDate","ys","isPlainObject","protoTag","stringTag","toStr","constructorTag","tag","defaultStyle","style","quoteChar","hasOwn","hasOwnProperty","f","m","l","HTMLElement","getAttribute","remaining","trailer","quoteRE","lastIndex","lowbyte","c","n","charCodeAt","size","entries","joinedEntries","baseIndent","base","prev","lineJoiner","isArr","syms","symMap","k","j","$TypeError","require$$1","listGetNode","list","isDelete","curr","next","listGet","objects","undefined","node","listSet","listHas","listDelete","sideChannelList","getSideChannelList","$o","channel","assert","root","deletedNode","set","esErrors","_eval","EvalError","range","RangeError","ref","ReferenceError","syntax","SyntaxError","URIError","gOPD","$gOPD","gopd","$defineProperty","esDefineProperty","shams","hasSymbols","sym","symObj","symVal","_","getOwnPropertyNames","descriptor","origSymbol","hasSymbolSham","hasNativeSymbols","ERROR_MESSAGE","max","funcType","concatty","a","b","arr","slicy","arrLike","offset","joiny","joiner","implementation","bind","that","target","apply","arguments","bound","binder","result","boundLength","boundArgs","Empty","functionBind","functionCall","functionApply","reflectApply","$apply","$call","require$$2","$reflectApply","require$$3","actualApply","$actualApply","callBindApplyHelpers","callBindBasic","callBind","hasProtoAccessor","desc","$Object","$getPrototypeOf","getDunder","$hasOwn","hasown","$Error","$EvalError","$RangeError","$ReferenceError","$SyntaxError","require$$4","require$$5","$URIError","require$$6","$Function","getEvalledConstructor","expressionSyntax","require$$7","require$$8","throwTypeError","ThrowTypeError","callee","calleeThrows","gOPDthrows","require$$9","getDunderProto","require$$10","getProto","require$$11","require$$12","needsEval","TypedArray","Uint8Array","INTRINSICS","AggregateError","ArrayBuffer","Atomics","BigInt64Array","BigUint64Array","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","eval","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int16Array","Int32Array","isFinite","isNaN","JSON","parseFloat","Promise","Proxy","SharedArrayBuffer","Uint8ClampedArray","Uint16Array","Uint32Array","error","errorProto","doEval","fn","gen","LEGACY_ALIASES","require$$13","require$$14","$spliceApply","splice","$strSlice","$exec","exec","rePropName","reEscapeChar","stringToPath","string","first","last","number","subString","getBaseIntrinsic","allowMissing","intrinsicName","alias","getIntrinsic","GetIntrinsic","intrinsicBaseName","intrinsic","intrinsicRealName","skipFurtherCaching","isOwn","part","defineDataProperty","property","nonEnumerable","nonWritable","nonConfigurable","loose","hasPropertyDescriptors","hasArrayLengthDefineBug","hasPropertyDescriptors_1","define","hasDescriptors","setFunctionLength","functionLengthIsConfigurable","functionLengthIsWritable","applyBind","module","exports","originalFunction","func","adjustedLength","$indexOf","callBound","callBoundIntrinsic","$Map","$mapGet","$mapSet","$mapHas","$mapDelete","$mapSize","sideChannelMap","getSideChannelMap","$m","$WeakMap","$weakMapGet","$weakMapSet","$weakMapHas","$weakMapDelete","sideChannelWeakmap","getSideChannelWeakMap","$wm","makeChannel","sideChannel","getSideChannel","$channelData","percentTwenties","Format","RFC1738","RFC3986","formats","formatters","hexTable","array","compactQueue","queue","item","pop","prop","compacted","arrayToObject","source","plainObjects","merge","allowPrototypes","mergeTarget","targetItem","reduce","acc","assignSingleSource","decode","defaultDecoder","charset","strWithoutPlus","unescape","limit","encode","defaultEncoder","kind","format","escape","$0","out","segment","charAt","compact","refs","val","isBuffer","combine","maybeMap","mapped","utils","arrayPrefixGenerators","brackets","prefix","comma","indices","repeat","pushToArray","valueOrArray","toISO","toISOString","defaultFormat","defaults","addQueryPrefix","allowDots","allowEmptyArrays","charsetSentinel","commaRoundTrip","delimiter","encodeDotInKeys","encoder","encodeValuesOnly","filter","formatter","serializeDate","date","skipNulls","strictNullHandling","isNonNullishPrimitive","v","sentinel","object","generateArrayPrefix","sort","tmpSc","step","findFlag","pos","keyValue","values","objKeys","encodedPrefix","adjustedPrefix","encodedKey","keyPrefix","valueSideChannel","normalizeStringifyOptions","stringify_1","joined","allowSparse","arrayLimit","decodeDotInKeys","decoder","duplicates","ignoreQueryPrefix","interpretNumericEntities","parameterLimit","parseArrays","strictDepth","numberStr","fromCharCode","parseArrayValue","split","isoSentinel","parseValues","parseQueryStringValues","cleanStr","skipIndex","bracketEqualsPos","encodedVal","existing","parseObject","chain","valuesParsed","leaf","cleanRoot","decodedRoot","index","parseKeys","parseQueryStringKeys","givenKey","child","parent","normalizeParseOptions","tempObj","newObj","lib","OAuthService","getAuthorizationCode","response_mode","withCredentials","getToken","method","refreshToken","loginRequest","CustomerService","CustomerPaymentMethodService","customerId","FeeService","LocationService","uploadImage","image","deleteImage","imageId","uploadImages","files","file","ProductService","createImage","getImage","getImages","requests","ProductOptionService","productId","ProductVariantService","ProductImageService","File","ProductModifierService","PromoCodeService","BusinessReviewService","TaxService","BusinessVendorService","connectAsync","manualRefresh","CustomerBalanceTransactionService","TeamMemberInvitationService","listPending","accept","decline","TeamMemberService","invitations","BusinessService","teamMembers","locations","customers","customerPaymentMethods","customerBalanceTransactions","fees","taxes","vendors","reviews","products","productVariants","productOptions","productModifiers","productImages","promoCodes","departments","search","count","getMemberById","listMembers","deleteMember","batchInviteMemberAsync","PriceService","DomainService","TableService","getAllAsync","tableId","PaymentMethodService","setup","createFromSetupIntentAsync","setupIntentId","verifyMicrodeposit","ReceiptService","receipt","generateQRCode","createBarcode","deleteBarcode","uploadDocument","associateBankTransaction","batchCreate","batchUpdate","exportAsJson","responseType","share","retrievePublicToken","parseCloverFromUrl","parseSquareFromUrl","createReview","addTransaction","updateTransaction","transactionId","createBulkJob","uploadToBulkJob","completeBulkJob","SettlementService","pay","TransactionService","CurrentUserService","getCurrentUser","getUserProfile","updateUserProfile","uploadAvatarAsync","searchAsync","query","UserService","updateProfile","deleteAccount","uploadAvatar","axiosConfig","ExploreService","getBusinessById","AttachmentService","InvoiceService","invoice","NotificationService","markAsRead","markAllAsRead","SubscriptionService","cancel","reason","pause","resume","VendorService","LoyaltyProgramService","programId","getAccount","accumulatePoints","adjustPoints","issuePoints","createReward","getReward","redeemReward","IntegrationService","installAsync","slug","maxRedirects","ExpenseService","uploadAsync","expenseType","paymentMethod","validateAsync","getProcessingJobsAsync","defaultOptions","auth","SBClient","configureServices","initialize","getAccessToken","oauth","setCredentials","setLocale","cards","notifications","user","invoices","logs","banks","bankAccounts","bankInstitutions","bankTransactions","friends","businesses","explore","receipts","transactions","paymentMethods","settlements","users","attachments","subscriptions","loyaltyPrograms","integrations","tables","expenses","SBClientCredentials","clientId","clientSecret","scopes","service","client_id","client_secret","grant_type","access_token","refresh_token","refresh","SBAccessToken","resolve","SBEnvironment","authUrl","SBException","message","SBApiException","requestId","status","isBrowser","SBInstance","version","interceptors","use","addRequestId","transformRequest","isAxiosError","SBPermission","LOGIN_ERRORS","SBGenderEnum","SBBankStateEnum","SBBarcodeType","SBCardType","SBTeamMemberInvitationStatus","SBTeamMemberRole","SBTeamMemberStatus","SBFeeType","SBPaymentMethodType","SBPaymentMethodFingerprintProvider","SBReceiptPaymentType","SBReceiptPaymentRiskLevel","SBReceiptPaymentStatus","SBReceiptPaymentCardAvsResult","SBReceiptPaymentCardCvvResult","SBReceiptPaymentCardEntryMethod","SBReceiptPaymentExternalType","SBReceiptType","bankTransaction","OCR","SMARTBILLS","SBReceiptSource","SBTransactionType"],"mappings":";;;;;;EAAA,SAASA,OAAOA,CAACC,CAAC,EAAE;IAClB,yBAAyB;;EAEzB,EAAA,OAAOD,OAAO,GAAG,UAAU,IAAI,OAAOE,MAAM,IAAI,QAAQ,IAAI,OAAOA,MAAM,CAACC,QAAQ,GAAG,UAAUF,CAAC,EAAE;EAChG,IAAA,OAAO,OAAOA,CAAC;KAChB,GAAG,UAAUA,CAAC,EAAE;MACf,OAAOA,CAAC,IAAI,UAAU,IAAI,OAAOC,MAAM,IAAID,CAAC,CAACG,WAAW,KAAKF,MAAM,IAAID,CAAC,KAAKC,MAAM,CAACG,SAAS,GAAG,QAAQ,GAAG,OAAOJ,CAAC;EACrH,GAAC,EAAED,OAAO,CAACC,CAAC,CAAC;EACf;;ECPA,SAASK,WAAWA,CAACC,CAAC,EAAEC,CAAC,EAAE;IACzB,IAAI,QAAQ,IAAIR,OAAO,CAACO,CAAC,CAAC,IAAI,CAACA,CAAC,EAAE,OAAOA,CAAC;EAC1C,EAAA,IAAIE,CAAC,GAAGF,CAAC,CAACL,MAAM,CAACI,WAAW,CAAC;EAC7B,EAAA,IAAI,KAAK,CAAC,KAAKG,CAAC,EAAE;MAChB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