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

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