@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,80 +0,0 @@
1
- import { defaultAPIServiceOptions } from '../../../../client/SBServiceOptions.mjs';
2
- import { SBService } from '../../../SBService.mjs';
3
-
4
- /**
5
- * Service for managing customer payment methods in the Smartbills system
6
- * Provides functionality for CRUD operations on customer payment methods as nested resources under customers
7
- */
8
- class CustomerPaymentMethodService extends SBService {
9
- /**
10
- * Creates a new instance of the customer payment method service
11
- * @param options - Service configuration options
12
- */
13
- constructor(options = defaultAPIServiceOptions) {
14
- super(options);
15
- }
16
- /**
17
- * Lists customer payment methods 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 payment method data
24
- */
25
- async listAsync(businessId, customerId, request, options, config) {
26
- return await super.listEntities(`/v1/business/${businessId}/customers/${customerId}/payment-methods`, request, options, config);
27
- }
28
- /**
29
- * Retrieves a customer payment method by ID
30
- * @param businessId - The business ID
31
- * @param customerId - The customer ID
32
- * @param id - The payment method ID
33
- * @param options - Request options
34
- * @param config - Axios request configuration
35
- * @returns Promise that resolves with the payment method data
36
- */
37
- async getByIdAsync(businessId, customerId, id, options, config) {
38
- return await super.getEntityById(`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`, options, config);
39
- }
40
- /**
41
- * Deletes a customer payment method
42
- * @param businessId - The business ID
43
- * @param customerId - The customer ID
44
- * @param id - The payment method ID to delete
45
- * @param options - Request options
46
- * @param config - Axios request configuration
47
- * @returns Promise that resolves with the deleted payment method
48
- */
49
- async deleteAsync(businessId, customerId, id, options, config) {
50
- return await super.deleteEntity(`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`, options, config);
51
- }
52
- /**
53
- * Creates a new customer payment method
54
- * @param businessId - The business ID
55
- * @param customerId - The customer ID
56
- * @param request - Payment method creation request data
57
- * @param options - Request options
58
- * @param config - Axios request configuration
59
- * @returns Promise that resolves with the created payment method
60
- */
61
- async createAsync(businessId, customerId, request, options, config) {
62
- return await super.createEntity(`/v1/business/${businessId}/customers/${customerId}/payment-methods`, request, options, config);
63
- }
64
- /**
65
- * Updates an existing customer payment method
66
- * @param businessId - The business ID
67
- * @param customerId - The customer ID
68
- * @param id - The payment method ID to update
69
- * @param request - Payment method update request data
70
- * @param options - Request options
71
- * @param config - Axios request configuration
72
- * @returns Promise that resolves with the updated payment method
73
- */
74
- async updateAsync(businessId, customerId, id, request, options, config) {
75
- return await super.updateEntity(`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`, request, options, config);
76
- }
77
- }
78
-
79
- export { CustomerPaymentMethodService };
80
- //# sourceMappingURL=CustomerPaymentMethodService.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomerPaymentMethodService.mjs","sources":["../../../../../../src/services/businesses/customers/payment-methods/CustomerPaymentMethodService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBPaymentMethod } from \"@/entities\";\n\nimport { SBService } from \"@/services/SBService\";\nimport { SBList } from \"@/entities/base\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { CustomerPaymentMethodCreateRequest } from \"./CustomerPaymentMethodCreateRequest\";\nimport { CustomerPaymentMethodListRequest } from \"./CustomerPaymentMethodListRequest\";\nimport { CustomerPaymentMethodUpdateRequest } from \"./CustomerPaymentMethodUpdateRequest\";\n\n/**\n * Service for managing customer payment methods in the Smartbills system\n * Provides functionality for CRUD operations on customer payment methods as nested resources under customers\n */\nexport class CustomerPaymentMethodService extends SBService {\n\t/**\n\t * Creates a new instance of the customer payment method service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Lists customer payment methods with pagination\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param request - List request parameters\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with paginated payment method data\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\trequest: CustomerPaymentMethodListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBPaymentMethod>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a customer payment method by ID\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The payment method ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the payment method data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a customer payment method\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The payment method ID to delete\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted payment method\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new customer payment method\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param request - Payment method creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created payment method\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\trequest: CustomerPaymentMethodCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates an existing customer payment method\n\t * @param businessId - The business ID\n\t * @param customerId - The customer ID\n\t * @param id - The payment method ID to update\n\t * @param request - Payment method update request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated payment method\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tcustomerId: number,\n\t\tid: number,\n\t\trequest: CustomerPaymentMethodUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBPaymentMethod> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/business/${businessId}/customers/${customerId}/payment-methods/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["CustomerPaymentMethodService","SBService","constructor","options","defaultAPIServiceOptions","listAsync","businessId","customerId","request","config","listEntities","getByIdAsync","id","getEntityById","deleteAsync","deleteEntity","createAsync","createEntity","updateAsync","updateEntity"],"mappings":";;;AAcA;;;AAGG;AACG,MAAOA,4BAA6B,SAAQC,SAAS,CAAA;AAC1D;;;AAGG;AACHC,EAAAA,WAAAA,CAAmBC,UAA4BC,wBAAwB,EAAA;IACtE,KAAK,CAACD,OAAO,CAAC;AACf;AAEA;;;;;;;;AAQG;EACI,MAAME,SAASA,CACrBC,UAAkB,EAClBC,UAAkB,EAClBC,OAAyC,EACzCL,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACC,YAAY,CAC9B,gBAAgBJ,UAAU,CAAA,WAAA,EAAcC,UAAU,CAAA,gBAAA,CAAkB,EACpEC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAME,YAAYA,CACxBL,UAAkB,EAClBC,UAAkB,EAClBK,EAAU,EACVT,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACI,aAAa,CAC/B,gBAAgBP,UAAU,CAAA,WAAA,EAAcC,UAAU,CAAA,iBAAA,EAAoBK,EAAE,CAAE,CAAA,EAC1ET,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMK,WAAWA,CACvBR,UAAkB,EAClBC,UAAkB,EAClBK,EAAU,EACVT,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACM,YAAY,CAC9B,gBAAgBT,UAAU,CAAA,WAAA,EAAcC,UAAU,CAAA,iBAAA,EAAoBK,EAAE,CAAE,CAAA,EAC1ET,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMO,WAAWA,CACvBV,UAAkB,EAClBC,UAAkB,EAClBC,OAA2C,EAC3CL,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,gBAAgBX,UAAU,CAAA,WAAA,EAAcC,UAAU,CAAA,gBAAA,CAAkB,EACpEC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;;AASG;AACI,EAAA,MAAMS,WAAWA,CACvBZ,UAAkB,EAClBC,UAAkB,EAClBK,EAAU,EACVJ,OAA2C,EAC3CL,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACU,YAAY,CAC9B,CAAA,aAAA,EAAgBb,UAAU,CAAcC,WAAAA,EAAAA,UAAU,CAAoBK,iBAAAA,EAAAA,EAAE,EAAE,EAC1EJ,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AACA;;;;"}
@@ -1,157 +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 { DepartmentEmployeeService } from './Employees/DepartmentEmployeeService.mjs';
5
-
6
- /**
7
- * Service for managing departments in the Smartbills system
8
- * Provides functionality for CRUD operations on departments and their images
9
- * @implements INestedCreatable<DepartmentCreateRequest, SBDepartment> - Allows creating new departments
10
- * @implements INestedUpdatable<DepartmentUpdateRequest, SBDepartment> - Allows updating existing departments
11
- * @implements INestedRetrievableById<SBDepartment> - Allows retrieving departments by ID
12
- * @implements INestedListable<DepartmentsListRequest, SBDepartment> - Allows listing departments with pagination
13
- * @implements INestedBatchable<DepartmentBatchUpsertRequest, SBDepartment> - Allows batch operations on departments
14
- * @implements INestedDeletable<SBDepartment> - Allows deleting departments
15
- */
16
- class DepartmentService extends SBService {
17
- /**
18
- * Creates a new instance of the department service
19
- * @param options - Service configuration options
20
- */
21
- constructor(options = defaultAPIServiceOptions) {
22
- super(options);
23
- _defineProperty(this, "employees", void 0);
24
- this.employees = new DepartmentEmployeeService(options);
25
- }
26
- /**
27
- * Creates a new department
28
- * @param businessId - The business ID
29
- * @param request - Department creation request data
30
- * @param options - Request options
31
- * @param config - Axios request configuration
32
- * @returns Promise that resolves with the created department
33
- */
34
- async createAsync(businessId, request, options, config) {
35
- return await this.createEntity(`/v1/businesses/${businessId}/departments`, request, options, config);
36
- }
37
- /**
38
- * Updates an existing department
39
- * @param businessId - The business ID
40
- * @param id - The department ID to update
41
- * @param request - Department update request data
42
- * @param options - Request options
43
- * @param config - Axios request configuration
44
- * @returns Promise that resolves with the updated department
45
- */
46
- async updateAsync(businessId, id, request, options, config) {
47
- return await this.updateEntity(`/v1/businesses/${businessId}/departments/${id}`, request, options, config);
48
- }
49
- /**
50
- * Lists departments with pagination
51
- * @param businessId - The business ID
52
- * @param request - List request parameters
53
- * @param options - Request options
54
- * @param config - Axios request configuration
55
- * @returns Promise that resolves with paginated department data
56
- */
57
- async listAsync(businessId, request, options, config) {
58
- return await this.listEntities(`/v1/businesses/${businessId}/departments`, request, options, config);
59
- }
60
- /**
61
- * Retrieves a department by its ID
62
- * @param businessId - The business ID
63
- * @param id - The department ID
64
- * @param options - Request options
65
- * @param config - Axios request configuration
66
- * @returns Promise that resolves with the department data
67
- */
68
- async getByIdAsync(businessId, id, options, config) {
69
- return await this.getEntityById(`/v1/businesses/${businessId}/departments/${id}`, options, config);
70
- }
71
- /**
72
- * Deletes a department
73
- * @param businessId - The business ID
74
- * @param id - The department ID to delete
75
- * @param options - Request options
76
- * @param config - Axios request configuration
77
- * @returns Promise that resolves with the deleted department
78
- */
79
- async deleteAsync(businessId, id, options, config) {
80
- return await this.deleteEntity(`/v1/businesses/${businessId}/departments/${id}`, options, config);
81
- }
82
- /**
83
- * Performs a batch operation on departments
84
- * @param businessId - The business ID
85
- * @param request - Batch upsert request data
86
- * @param options - Request options
87
- * @param config - Axios request configuration
88
- * @returns Promise that resolves with the batch result
89
- */
90
- async batch(businessId, request, options, config) {
91
- return await this.createEntity(`/v1/businesses/${businessId}/departments/batch`, request, options, config);
92
- }
93
- /**
94
- * Sets the approver for a department
95
- * @param businessId - The business ID
96
- * @param departmentId - The department ID
97
- * @param approverId - The ID of the user to set as approver
98
- * @param options - Request options
99
- * @param config - Axios request configuration
100
- * @returns Promise that resolves with the updated department
101
- */
102
- async setApprover(businessId, departmentId, approverId, options, config) {
103
- return await this.updateEntity(`/v1/businesses/${businessId}/departments/${departmentId}/approver`, {
104
- approverId
105
- }, options, config);
106
- }
107
- /**
108
- * Gets employees assigned to a department
109
- * @param businessId - The business ID
110
- * @param departmentId - The department ID
111
- * @param options - Request options
112
- * @param config - Axios request configuration
113
- * @returns Promise that resolves with the list of department employees
114
- */
115
- async listEmployees(businessId, departmentId, request, options, config) {
116
- return await this.employees.listAsync(businessId, departmentId, request, options, config);
117
- }
118
- /**
119
- * Assigns an employee to a department
120
- * @param businessId - The business ID
121
- * @param departmentId - The department ID
122
- * @param request - The employee assignment request data
123
- * @param options - Request options
124
- * @param config - Axios request configuration
125
- * @returns Promise that resolves with the created department employee relationship
126
- */
127
- async assignEmployees(businessId, departmentId, request, options, config) {
128
- return await this.employees.createAsync(businessId, departmentId, request, options, config);
129
- }
130
- /**
131
- * Removes an employee from a department
132
- * @param businessId - The business ID
133
- * @param departmentId - The department ID
134
- * @param employeeId - The employee ID to remove
135
- * @param options - Request options
136
- * @param config - Axios request configuration
137
- * @returns Promise that resolves with the deleted department employee relationship
138
- */
139
- async removeEmployee(businessId, departmentId, employeeId, options, config) {
140
- return await this.deleteEntity(`/v1/businesses/${businessId}/departments/${departmentId}/employees/${employeeId}`, options, config);
141
- }
142
- /**
143
- * Updates employees assigneed to a department
144
- * @param businessId - The business ID
145
- * @param departmentId - The department ID
146
- * @param request - The update request data
147
- * @param options - Request options
148
- * @param config - Axios request configuration
149
- * @returns Promise that resolves with the updated department employee relationship
150
- */
151
- async updateEmployees(businessId, departmentId, request, options, config) {
152
- return await this.employees.updateAsync(businessId, departmentId, request, options, config);
153
- }
154
- }
155
-
156
- export { DepartmentService };
157
- //# sourceMappingURL=DepartmentService.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DepartmentService.mjs","sources":["../../../../../src/services/businesses/departments/DepartmentService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\r\nimport {\r\n\tSBServiceOptions,\r\n\tdefaultAPIServiceOptions,\r\n} from \"@/client/SBServiceOptions\";\r\nimport { SBBatch, SBDepartment, SBDepartmentTeamMember } from \"@/entities\";\r\n\r\nimport {\r\n\tINestedBatchable,\r\n\tINestedCreatable,\r\n\tINestedDeletable,\r\n\tINestedListable,\r\n\tINestedRetrievableById,\r\n\tINestedUpdatable,\r\n} from \"@/interfaces\";\r\nimport { SBService } from \"@/services/SBService\";\r\nimport { AxiosRequestConfig } from \"axios\";\r\nimport { DepartmentBatchUpsertRequest } from \"./DepartmentBatchUpsertRequest\";\r\nimport { DepartmentCreateRequest } from \"./DepartmentCreateRequest\";\r\nimport { DepartmentUpdateRequest } from \"./DepartmentUpdateRequest\";\r\nimport { DepartmentsListRequest } from \"./DepartmentsListRequest\";\r\nimport { SBList } from \"@/entities/base\";\r\nimport { DepartmentEmployeeService } from \"./Employees/DepartmentEmployeeService\";\r\nimport { DepartmentEmployeeCreateRequest } from \"./Employees/DepartmentEmployeeCreateRequest\";\r\nimport { DepartmentEmployeeUpdateRequest } from \"./Employees/DepartmentEmployeeUpdateRequest\";\r\nimport { DepartmentEmployeeListRequest } from \"./Employees/DepartmentEmployeeListRequest\";\r\nimport { DepartmentUpsertRequest } from \"./DepartmentUpsertRequest\";\r\n\r\n/**\r\n * Service for managing departments in the Smartbills system\r\n * Provides functionality for CRUD operations on departments and their images\r\n * @implements INestedCreatable<DepartmentCreateRequest, SBDepartment> - Allows creating new departments\r\n * @implements INestedUpdatable<DepartmentUpdateRequest, SBDepartment> - Allows updating existing departments\r\n * @implements INestedRetrievableById<SBDepartment> - Allows retrieving departments by ID\r\n * @implements INestedListable<DepartmentsListRequest, SBDepartment> - Allows listing departments with pagination\r\n * @implements INestedBatchable<DepartmentBatchUpsertRequest, SBDepartment> - Allows batch operations on departments\r\n * @implements INestedDeletable<SBDepartment> - Allows deleting departments\r\n */\r\nexport class DepartmentService\r\n\textends SBService\r\n\timplements\r\n\t\tINestedCreatable<DepartmentCreateRequest, SBDepartment>,\r\n\t\tINestedUpdatable<DepartmentUpdateRequest, SBDepartment>,\r\n\t\tINestedRetrievableById<SBDepartment>,\r\n\t\tINestedListable<DepartmentsListRequest, SBDepartment>,\r\n\t\tINestedBatchable<DepartmentUpsertRequest, SBDepartment>,\r\n\t\tINestedDeletable<SBDepartment>\r\n{\r\n\tpublic readonly employees: DepartmentEmployeeService;\r\n\r\n\t/**\r\n\t * Creates a new instance of the department service\r\n\t * @param options - Service configuration options\r\n\t */\r\n\tconstructor(options: SBServiceOptions = defaultAPIServiceOptions) {\r\n\t\tsuper(options);\r\n\t\tthis.employees = new DepartmentEmployeeService(options);\r\n\t}\r\n\r\n\t/**\r\n\t * Creates a new department\r\n\t * @param businessId - The business ID\r\n\t * @param request - Department 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 department\r\n\t */\r\n\tpublic async createAsync(\r\n\t\tbusinessId: number,\r\n\t\trequest: DepartmentCreateRequest,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig<DepartmentCreateRequest>,\r\n\t): Promise<SBDepartment> {\r\n\t\treturn await this.createEntity(\r\n\t\t\t`/v1/businesses/${businessId}/departments`,\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 department\r\n\t * @param businessId - The business ID\r\n\t * @param id - The department ID to update\r\n\t * @param request - Department 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 department\r\n\t */\r\n\tpublic async updateAsync(\r\n\t\tbusinessId: number,\r\n\t\tid: number,\r\n\t\trequest: DepartmentUpdateRequest,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig<DepartmentUpdateRequest>,\r\n\t): Promise<SBDepartment> {\r\n\t\treturn await this.updateEntity(\r\n\t\t\t`/v1/businesses/${businessId}/departments/${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 * Lists departments 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 department data\r\n\t */\r\n\tpublic async listAsync(\r\n\t\tbusinessId: number,\r\n\t\trequest: DepartmentsListRequest,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig,\r\n\t): Promise<SBList<SBDepartment>> {\r\n\t\treturn await this.listEntities(\r\n\t\t\t`/v1/businesses/${businessId}/departments`,\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 department by its ID\r\n\t * @param businessId - The business ID\r\n\t * @param id - The department 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 department 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<SBDepartment> {\r\n\t\treturn await this.getEntityById(\r\n\t\t\t`/v1/businesses/${businessId}/departments/${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 * Deletes a department\r\n\t * @param businessId - The business ID\r\n\t * @param id - The department 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 department\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<SBDepartment> {\r\n\t\treturn await this.deleteEntity(\r\n\t\t\t`/v1/businesses/${businessId}/departments/${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 * Performs a batch operation on departments\r\n\t * @param businessId - The business ID\r\n\t * @param request - Batch upsert 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 batch result\r\n\t */\r\n\tpublic async batch(\r\n\t\tbusinessId: number,\r\n\t\trequest: DepartmentBatchUpsertRequest,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig<DepartmentBatchUpsertRequest>,\r\n\t): Promise<SBBatch<SBDepartment>> {\r\n\t\treturn await this.createEntity(\r\n\t\t\t`/v1/businesses/${businessId}/departments/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 * Sets the approver for a department\r\n\t * @param businessId - The business ID\r\n\t * @param departmentId - The department ID\r\n\t * @param approverId - The ID of the user to set as approver\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 department\r\n\t */\r\n\tpublic async setApprover(\r\n\t\tbusinessId: number,\r\n\t\tdepartmentId: number,\r\n\t\tapproverId: number,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig,\r\n\t): Promise<SBDepartment> {\r\n\t\treturn await this.updateEntity(\r\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/approver`,\r\n\t\t\t{ approverId },\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 * Gets employees assigned to a department\r\n\t * @param businessId - The business ID\r\n\t * @param departmentId - The department 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 list of department employees\r\n\t */\r\n\tpublic async listEmployees(\r\n\t\tbusinessId: number,\r\n\t\tdepartmentId: number,\r\n\t\trequest: DepartmentEmployeeListRequest,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig,\r\n\t): Promise<SBList<SBDepartmentTeamMember>> {\r\n\t\treturn await this.employees.listAsync(\r\n\t\t\tbusinessId,\r\n\t\t\tdepartmentId,\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 * Assigns an employee to a department\r\n\t * @param businessId - The business ID\r\n\t * @param departmentId - The department ID\r\n\t * @param request - The employee assignment 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 department employee relationship\r\n\t */\r\n\tpublic async assignEmployees(\r\n\t\tbusinessId: number,\r\n\t\tdepartmentId: number,\r\n\t\trequest: DepartmentEmployeeCreateRequest,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig<DepartmentEmployeeCreateRequest>,\r\n\t): Promise<SBDepartmentTeamMember> {\r\n\t\treturn await this.employees.createAsync(\r\n\t\t\tbusinessId,\r\n\t\t\tdepartmentId,\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 * Removes an employee from a department\r\n\t * @param businessId - The business ID\r\n\t * @param departmentId - The department ID\r\n\t * @param employeeId - The employee ID to remove\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 department employee relationship\r\n\t */\r\n\tpublic async removeEmployee(\r\n\t\tbusinessId: number,\r\n\t\tdepartmentId: number,\r\n\t\temployeeId: number,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig,\r\n\t): Promise<SBDepartmentTeamMember> {\r\n\t\treturn await this.deleteEntity(\r\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees/${employeeId}`,\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 employees assigneed to a department\r\n\t * @param businessId - The business ID\r\n\t * @param departmentId - The department ID\r\n\t * @param request - The 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 department employee relationship\r\n\t */\r\n\tpublic async updateEmployees(\r\n\t\tbusinessId: number,\r\n\t\tdepartmentId: number,\r\n\t\trequest: DepartmentEmployeeUpdateRequest,\r\n\t\toptions?: SBRequestOptions,\r\n\t\tconfig?: AxiosRequestConfig,\r\n\t): Promise<SBDepartmentTeamMember> {\r\n\t\treturn await this.employees.updateAsync(\r\n\t\t\tbusinessId,\r\n\t\t\tdepartmentId,\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"],"names":["DepartmentService","SBService","constructor","options","defaultAPIServiceOptions","_defineProperty","employees","DepartmentEmployeeService","createAsync","businessId","request","config","createEntity","updateAsync","id","updateEntity","listAsync","listEntities","getByIdAsync","getEntityById","deleteAsync","deleteEntity","batch","setApprover","departmentId","approverId","listEmployees","assignEmployees","removeEmployee","employeeId","updateEmployees"],"mappings":";;;;;AA4BA;;;;;;;;;AASG;AACG,MAAOA,iBACZ,SAAQC,SAAS,CAAA;AAWjB;;;AAGG;AACHC,EAAAA,WAAAA,CAAYC,UAA4BC,wBAAwB,EAAA;IAC/D,KAAK,CAACD,OAAO,CAAC;IAACE,eAAA,CAAA,IAAA,EAAA,WAAA,EAAA,KAAA,CAAA,CAAA;AACf,IAAA,IAAI,CAACC,SAAS,GAAG,IAAIC,yBAAyB,CAACJ,OAAO,CAAC;AACxD;AAEA;;;;;;;AAOG;EACI,MAAMK,WAAWA,CACvBC,UAAkB,EAClBC,OAAgC,EAChCP,OAA0B,EAC1BQ,MAAoD,EAAA;AAEpD,IAAA,OAAO,MAAM,IAAI,CAACC,YAAY,CAC7B,CAAkBH,eAAAA,EAAAA,UAAU,CAAc,YAAA,CAAA,EAC1CC,OAAO,EACPP,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAME,WAAWA,CACvBJ,UAAkB,EAClBK,EAAU,EACVJ,OAAgC,EAChCP,OAA0B,EAC1BQ,MAAoD,EAAA;AAEpD,IAAA,OAAO,MAAM,IAAI,CAACI,YAAY,CAC7B,kBAAkBN,UAAU,CAAA,aAAA,EAAgBK,EAAE,CAAA,CAAE,EAChDJ,OAAO,EACPP,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMK,SAASA,CACrBP,UAAkB,EAClBC,OAA+B,EAC/BP,OAA0B,EAC1BQ,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACM,YAAY,CAC7B,CAAkBR,eAAAA,EAAAA,UAAU,CAAc,YAAA,CAAA,EAC1CC,OAAO,EACPP,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMO,YAAYA,CACxBT,UAAkB,EAClBK,EAAU,EACVX,OAA0B,EAC1BQ,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACQ,aAAa,CAC9B,CAAkBV,eAAAA,EAAAA,UAAU,CAAgBK,aAAAA,EAAAA,EAAE,CAAE,CAAA,EAChDX,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMS,WAAWA,CACvBX,UAAkB,EAClBK,EAAU,EACVX,OAA0B,EAC1BQ,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACU,YAAY,CAC7B,CAAkBZ,eAAAA,EAAAA,UAAU,CAAgBK,aAAAA,EAAAA,EAAE,CAAE,CAAA,EAChDX,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMW,KAAKA,CACjBb,UAAkB,EAClBC,OAAqC,EACrCP,OAA0B,EAC1BQ,MAAyD,EAAA;AAEzD,IAAA,OAAO,MAAM,IAAI,CAACC,YAAY,CAC7B,CAAkBH,eAAAA,EAAAA,UAAU,CAAoB,kBAAA,CAAA,EAChDC,OAAO,EACPP,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMY,WAAWA,CACvBd,UAAkB,EAClBe,YAAoB,EACpBC,UAAkB,EAClBtB,OAA0B,EAC1BQ,MAA2B,EAAA;IAE3B,OAAO,MAAM,IAAI,CAACI,YAAY,CAC7B,kBAAkBN,UAAU,CAAA,aAAA,EAAgBe,YAAY,CAAA,SAAA,CAAW,EACnE;AAAEC,MAAAA;AAAY,KAAA,EACdtB,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMe,aAAaA,CACzBjB,UAAkB,EAClBe,YAAoB,EACpBd,OAAsC,EACtCP,OAA0B,EAC1BQ,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACL,SAAS,CAACU,SAAS,CACpCP,UAAU,EACVe,YAAY,EACZd,OAAO,EACPP,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMgB,eAAeA,CAC3BlB,UAAkB,EAClBe,YAAoB,EACpBd,OAAwC,EACxCP,OAA0B,EAC1BQ,MAA4D,EAAA;AAE5D,IAAA,OAAO,MAAM,IAAI,CAACL,SAAS,CAACE,WAAW,CACtCC,UAAU,EACVe,YAAY,EACZd,OAAO,EACPP,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMiB,cAAcA,CAC1BnB,UAAkB,EAClBe,YAAoB,EACpBK,UAAkB,EAClB1B,OAA0B,EAC1BQ,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACU,YAAY,CAC7B,kBAAkBZ,UAAU,CAAA,aAAA,EAAgBe,YAAY,CAAA,WAAA,EAAcK,UAAU,CAAE,CAAA,EAClF1B,OAAO,EACPQ,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMmB,eAAeA,CAC3BrB,UAAkB,EAClBe,YAAoB,EACpBd,OAAwC,EACxCP,OAA0B,EAC1BQ,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACL,SAAS,CAACO,WAAW,CACtCJ,UAAU,EACVe,YAAY,EACZd,OAAO,EACPP,OAAO,EACPQ,MAAM,CACN;AACF;AACA;;;;"}
@@ -1,79 +0,0 @@
1
- import { defaultAPIServiceOptions } from '../../../../client/SBServiceOptions.mjs';
2
- import { SBService } from '../../../SBService.mjs';
3
-
4
- /**
5
- * Service for managing department employees in the Smartbills system
6
- * Provides functionality for CRUD operations on department employees
7
- */
8
- class DepartmentEmployeeService extends SBService {
9
- /**
10
- * Creates a new instance of the department employee service
11
- * @param options - Service configuration options
12
- */
13
- constructor(options = defaultAPIServiceOptions) {
14
- super(options);
15
- }
16
- /**
17
- * Adds an employee to a department
18
- * @param businessId - The business ID
19
- * @param departmentId - The department ID
20
- * @param request - Employee assignment request data
21
- * @param options - Request options
22
- * @param config - Axios request configuration
23
- * @returns Promise that resolves with the created department employee relationship
24
- */
25
- async createAsync(businessId, departmentId, request, options, config) {
26
- return await this.createEntity(`/v1/businesses/${businessId}/departments/${departmentId}/employees`, request, options, config);
27
- }
28
- /**
29
- * Updates an employee's information within a department
30
- * @param businessId - The business ID
31
- * @param departmentId - The department ID
32
- * @param employeeId - The employee ID
33
- * @param request - The update request data
34
- * @param options - Request options
35
- * @param config - Axios request configuration
36
- * @returns Promise that resolves with the updated department employee relationship
37
- */
38
- async updateAsync(businessId, departmentId, request, options, config) {
39
- return await this.updateEntity(`/v1/businesses/${businessId}/departments/${departmentId}/employees`, request, options, config);
40
- }
41
- /**
42
- * Lists employees assigned to a department
43
- * @param businessId - The business ID
44
- * @param departmentId - The department ID
45
- * @param request - The list request parameters (pagination, filtering)
46
- * @param options - Request options
47
- * @param config - Axios request configuration
48
- * @returns Promise that resolves with the list of department employees
49
- */
50
- async listAsync(businessId, departmentId, request = {}, options, config) {
51
- return await this.listEntities(`/v1/businesses/${businessId}/departments/${departmentId}/employees`, request, options, config);
52
- }
53
- /**
54
- * Retrieves a department by its ID
55
- * @param businessId - The business ID
56
- * @param departmentId - The department ID
57
- * @param options - Request options
58
- * @param config - Axios request configuration
59
- * @returns Promise that resolves with the department data
60
- */
61
- async getByIdAsync(businessId, departmentId, options, config) {
62
- return await this.getEntityById(`/v1/businesses/${businessId}/departments/${departmentId}`, options, config);
63
- }
64
- /**
65
- * Deletes (removes) an employee from a department
66
- * @param businessId - The business ID
67
- * @param departmentId - The department ID
68
- * @param employeeId - The employee ID to remove
69
- * @param options - Request options
70
- * @param config - Axios request configuration
71
- * @returns Promise that resolves with the deleted department employee relationship
72
- */
73
- async deleteAsync(businessId, departmentId, employeeId, options, config) {
74
- return await this.deleteEntity(`/v1/businesses/${businessId}/departments/${departmentId}/employees/${employeeId}`, options, config);
75
- }
76
- }
77
-
78
- export { DepartmentEmployeeService };
79
- //# sourceMappingURL=DepartmentEmployeeService.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DepartmentEmployeeService.mjs","sources":["../../../../../../src/services/businesses/departments/Employees/DepartmentEmployeeService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch, SBDepartment, SBDepartmentTeamMember } from \"@/entities\";\n\nimport { SBService } from \"@/services/SBService\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBList } from \"@/entities/base\";\nimport { DepartmentEmployeeCreateRequest } from \"./DepartmentEmployeeCreateRequest\";\nimport { DepartmentEmployeeUpdateRequest } from \"./DepartmentEmployeeUpdateRequest\";\nimport { DepartmentEmployeeListRequest } from \"./DepartmentEmployeeListRequest\";\n\n/**\n * Service for managing department employees in the Smartbills system\n * Provides functionality for CRUD operations on department employees\n */\nexport class DepartmentEmployeeService extends SBService {\n\t/**\n\t * Creates a new instance of the department employee service\n\t * @param options - Service configuration options\n\t */\n\tconstructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Adds an employee to a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param request - Employee assignment request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created department employee relationship\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<DepartmentEmployeeCreateRequest>,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.createEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Updates an employee's information within a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param employeeId - The employee ID\n\t * @param request - The update request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated department employee relationship\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<DepartmentEmployeeUpdateRequest>,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Lists employees assigned to a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param request - The list request parameters (pagination, filtering)\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the list of department employees\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\trequest: DepartmentEmployeeListRequest = {},\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBDepartmentTeamMember>> {\n\t\treturn await this.listEntities(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a department by its ID\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the department data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDepartment> {\n\t\treturn await this.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes (removes) an employee from a department\n\t * @param businessId - The business ID\n\t * @param departmentId - The department ID\n\t * @param employeeId - The employee ID to remove\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted department employee relationship\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tdepartmentId: number,\n\t\temployeeId: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBDepartmentTeamMember> {\n\t\treturn await this.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/departments/${departmentId}/employees/${employeeId}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["DepartmentEmployeeService","SBService","constructor","options","defaultAPIServiceOptions","createAsync","businessId","departmentId","request","config","createEntity","updateAsync","updateEntity","listAsync","listEntities","getByIdAsync","getEntityById","deleteAsync","employeeId","deleteEntity"],"mappings":";;;AAcA;;;AAGG;AACG,MAAOA,yBAA0B,SAAQC,SAAS,CAAA;AACvD;;;AAGG;AACHC,EAAAA,WAAAA,CAAYC,UAA4BC,wBAAwB,EAAA;IAC/D,KAAK,CAACD,OAAO,CAAC;AACf;AAEA;;;;;;;;AAQG;EACI,MAAME,WAAWA,CACvBC,UAAkB,EAClBC,YAAoB,EACpBC,OAAwC,EACxCL,OAA0B,EAC1BM,MAA4D,EAAA;AAE5D,IAAA,OAAO,MAAM,IAAI,CAACC,YAAY,CAC7B,kBAAkBJ,UAAU,CAAA,aAAA,EAAgBC,YAAY,CAAA,UAAA,CAAY,EACpEC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;;AASG;EACI,MAAME,WAAWA,CACvBL,UAAkB,EAClBC,YAAoB,EACpBC,OAAwC,EACxCL,OAA0B,EAC1BM,MAA4D,EAAA;AAE5D,IAAA,OAAO,MAAM,IAAI,CAACG,YAAY,CAC7B,kBAAkBN,UAAU,CAAA,aAAA,EAAgBC,YAAY,CAAA,UAAA,CAAY,EACpEC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;AACI,EAAA,MAAMI,SAASA,CACrBP,UAAkB,EAClBC,YAAoB,EACpBC,OAAA,GAAyC,EAAE,EAC3CL,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACK,YAAY,CAC7B,kBAAkBR,UAAU,CAAA,aAAA,EAAgBC,YAAY,CAAA,UAAA,CAAY,EACpEC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMM,YAAYA,CACxBT,UAAkB,EAClBC,YAAoB,EACpBJ,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACO,aAAa,CAC9B,CAAkBV,eAAAA,EAAAA,UAAU,CAAgBC,aAAAA,EAAAA,YAAY,CAAE,CAAA,EAC1DJ,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;;AAQG;EACI,MAAMQ,WAAWA,CACvBX,UAAkB,EAClBC,YAAoB,EACpBW,UAAkB,EAClBf,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,IAAI,CAACU,YAAY,CAC7B,kBAAkBb,UAAU,CAAA,aAAA,EAAgBC,YAAY,CAAA,WAAA,EAAcW,UAAU,CAAE,CAAA,EAClFf,OAAO,EACPM,MAAM,CACN;AACF;AACA;;;;"}
@@ -1,19 +0,0 @@
1
- import { SBService } from '../../SBService.mjs';
2
-
3
- class DomainService extends SBService {
4
- async listAsync(request, options, config) {
5
- return await super.listEntities("/v1/domains", request, options, config);
6
- }
7
- async deleteAsync(id, options, config) {
8
- return super.deleteEntity(`/v1/domains/${id}`, options, config);
9
- }
10
- async getByIdAsync(id, options, config) {
11
- return super.getEntityById(`/v1/domains/${id}`, options, config);
12
- }
13
- async createAsync(request, options, config) {
14
- return await super.createEntity(`/v1/domains`, request, options, config);
15
- }
16
- }
17
-
18
- export { DomainService };
19
- //# sourceMappingURL=DomainService.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DomainService.mjs","sources":["../../../../../src/services/businesses/domains/DomainService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport { ICreatable } from \"@/interfaces/ICreatable\";\nimport { IDeletable } from \"@/interfaces/IDeletable\";\nimport { IListable } from \"@/interfaces/IListable\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBDomain } from \"@/entities/domains/SBDomain\";\nimport { SBService } from \"@/services/SBService\";\nimport { CreateDomainsRequest } from \"./CreateDomainRequest\";\nimport { GetDomainsRequest } from \"./GetDomainsRequest\";\nimport { IRetrievableById } from \"@/interfaces\";\nimport { SBList } from \"@/entities/base\";\n\nexport class DomainService\n\textends SBService\n\timplements\n\t\tIListable<GetDomainsRequest, SBDomain>,\n\t\tICreatable<CreateDomainsRequest, SBDomain>,\n\t\tIRetrievableById<SBDomain>,\n\t\tIDeletable<SBDomain>\n{\n\tpublic async listAsync(\n\t\trequest: GetDomainsRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBList<SBDomain>> {\n\t\treturn await super.listEntities(\n\t\t\t\"/v1/domains\",\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\tpublic async deleteAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<any>,\n\t): Promise<SBDomain> {\n\t\treturn super.deleteEntity(`/v1/domains/${id}`, options, config);\n\t}\n\tpublic async getByIdAsync(\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<any>,\n\t): Promise<SBDomain> {\n\t\treturn super.getEntityById(`/v1/domains/${id}`, options, config);\n\t}\n\tpublic async createAsync(\n\t\trequest: CreateDomainsRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<CreateDomainsRequest>,\n\t): Promise<SBDomain> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/domains`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["DomainService","SBService","listAsync","request","options","config","listEntities","deleteAsync","id","deleteEntity","getByIdAsync","getEntityById","createAsync","createEntity"],"mappings":";;AAYM,MAAOA,aACZ,SAAQC,SAAS,CAAA;AAOV,EAAA,MAAMC,SAASA,CACrBC,OAA0B,EAC1BC,OAA0B,EAC1BC,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACC,YAAY,CAC9B,aAAa,EACbH,OAAO,EACPC,OAAO,EACPC,MAAM,CACN;AACF;AAEO,EAAA,MAAME,WAAWA,CACvBC,EAAU,EACVJ,OAA0B,EAC1BC,MAAgC,EAAA;IAEhC,OAAO,KAAK,CAACI,YAAY,CAAC,CAAA,YAAA,EAAeD,EAAE,CAAA,CAAE,EAAEJ,OAAO,EAAEC,MAAM,CAAC;AAChE;AACO,EAAA,MAAMK,YAAYA,CACxBF,EAAU,EACVJ,OAA0B,EAC1BC,MAAgC,EAAA;IAEhC,OAAO,KAAK,CAACM,aAAa,CAAC,CAAA,YAAA,EAAeH,EAAE,CAAA,CAAE,EAAEJ,OAAO,EAAEC,MAAM,CAAC;AACjE;AACO,EAAA,MAAMO,WAAWA,CACvBT,OAA6B,EAC7BC,OAA0B,EAC1BC,MAAiD,EAAA;AAEjD,IAAA,OAAO,MAAM,KAAK,CAACQ,YAAY,CAC9B,CAAA,WAAA,CAAa,EACbV,OAAO,EACPC,OAAO,EACPC,MAAM,CACN;AACF;AACA;;;;"}
@@ -1,91 +0,0 @@
1
- import { defaultAPIServiceOptions } from '../../../client/SBServiceOptions.mjs';
2
- import { SBService } from '../../SBService.mjs';
3
-
4
- /**
5
- * Service for managing fees in the Smartbills system
6
- * Provides functionality for CRUD operations on fees
7
- * @implements IRetrievableById<SBFee> - Allows retrieving fees by ID
8
- * @implements IUpdatable<FeeUpdateRequest, SBFee> - Allows updating existing fees
9
- * @implements ICreatable<FeeCreateRequest, SBFee> - Allows creating new fees
10
- * @implements IBatchable<FeeUpsertRequest, SBFee> - Allows batch operations on fees
11
- * @implements IDeletable<SBFee> - Allows deleting fees
12
- */
13
- class FeeService extends SBService {
14
- /**
15
- * Creates a new instance of the fee service
16
- * @param options - Service configuration options
17
- */
18
- constructor(options = defaultAPIServiceOptions) {
19
- super(options);
20
- }
21
- /**
22
- * Updates an existing fee
23
- * @param businessId - The business ID
24
- * @param id - The fee ID to update
25
- * @param request - Fee update request data
26
- * @param options - Request options
27
- * @param config - Axios request configuration
28
- * @returns Promise that resolves with the updated fee
29
- */
30
- async updateAsync(businessId, id, request, options, config) {
31
- return await super.updateEntity(`/v1/businesses/${businessId}/fees/${id}`, request, options, config);
32
- }
33
- /**
34
- * Creates a new fee
35
- * @param businessId - The business ID
36
- * @param request - Fee creation request data
37
- * @param options - Request options
38
- * @param config - Axios request configuration
39
- * @returns Promise that resolves with the created fee
40
- */
41
- async createAsync(businessId, request, options, config) {
42
- return await super.createEntity(`/v1/businesses/${businessId}/fees`, request, options, config);
43
- }
44
- /**
45
- * Retrieves a fee by its ID
46
- * @param businessId - The business ID
47
- * @param id - The fee ID
48
- * @param options - Request options
49
- * @param config - Axios request configuration
50
- * @returns Promise that resolves with the fee data
51
- */
52
- async getByIdAsync(businessId, id, options, config) {
53
- return await super.getEntityById(`/v1/businesses/${businessId}/fees/${id}`, options, config);
54
- }
55
- /**
56
- * Deletes a fee
57
- * @param businessId - The business ID
58
- * @param id - The fee ID to delete
59
- * @param options - Request options
60
- * @param config - Axios request configuration
61
- * @returns Promise that resolves with the deleted fee
62
- */
63
- async deleteAsync(businessId, id, options, config) {
64
- return await super.deleteEntity(`/v1/businesses/${businessId}/fees/${id}`, options, config);
65
- }
66
- /**
67
- * Performs a batch operation on fees
68
- * @param businessId - The business ID
69
- * @param request - Batch upsert request data
70
- * @param options - Request options
71
- * @param config - Axios request configuration
72
- * @returns Promise that resolves with the batch result
73
- */
74
- async batch(businessId, request, options, config) {
75
- return await super.createEntity(`/v1/businesses/${businessId}/fees/batch`, request, options, config);
76
- }
77
- /**
78
- * Lists fees for a given business
79
- * @param businessId - The business ID
80
- * @param request - Fee list request data
81
- * @param options - Request options
82
- * @param config - Axios request configuration
83
- * @returns Promise that resolves with the list of fees
84
- */
85
- async listAsync(businessId, request, options, config) {
86
- return await super.listEntities(`/v1/businesses/${businessId}/fees`, request, options, config);
87
- }
88
- }
89
-
90
- export { FeeService };
91
- //# sourceMappingURL=FeeService.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FeeService.mjs","sources":["../../../../../src/services/businesses/fees/FeeService.ts"],"sourcesContent":["import { SBRequestOptions } from \"@/client/SBRequestOption\";\nimport {\n\tSBServiceOptions,\n\tdefaultAPIServiceOptions,\n} from \"@/client/SBServiceOptions\";\nimport { SBBatch, SBList } from \"@/entities\";\nimport { AxiosRequestConfig } from \"axios\";\nimport { SBFee } from \"@/entities/businesses/fees\";\nimport {\n\tINestedBatchable,\n\tINestedCreatable,\n\tINestedListable,\n\tINestedRetrievableById,\n\tINestedUpdatable,\n} from \"@/interfaces\";\nimport { IDeletable, INestedDeletable } from \"../../../interfaces/IDeletable\";\nimport { BatchUpsertRequest } from \"../../BatchUpsertRequest\";\nimport { SBService } from \"../../SBService\";\nimport { FeeCreateRequest } from \"./FeeCreateRequest\";\nimport { FeeUpdateRequest } from \"./FeeUpdateRequest\";\nimport { FeeUpsertRequest } from \"./FeeUpsertRequest\";\nimport { FeeListRequest } from \"./FeeListRequest\";\n\n/**\n * Service for managing fees in the Smartbills system\n * Provides functionality for CRUD operations on fees\n * @implements IRetrievableById<SBFee> - Allows retrieving fees by ID\n * @implements IUpdatable<FeeUpdateRequest, SBFee> - Allows updating existing fees\n * @implements ICreatable<FeeCreateRequest, SBFee> - Allows creating new fees\n * @implements IBatchable<FeeUpsertRequest, SBFee> - Allows batch operations on fees\n * @implements IDeletable<SBFee> - Allows deleting fees\n */\nexport class FeeService\n\textends SBService\n\timplements\n\t\tINestedRetrievableById<SBFee>,\n\t\tINestedUpdatable<FeeUpdateRequest, SBFee>,\n\t\tINestedCreatable<FeeCreateRequest, SBFee>,\n\t\tINestedBatchable<FeeUpsertRequest, SBFee>,\n\t\tINestedListable<FeeListRequest, SBFee>,\n\t\tINestedDeletable<SBFee>\n{\n\t/**\n\t * Creates a new instance of the fee service\n\t * @param options - Service configuration options\n\t */\n\tpublic constructor(options: SBServiceOptions = defaultAPIServiceOptions) {\n\t\tsuper(options);\n\t}\n\n\t/**\n\t * Updates an existing fee\n\t * @param businessId - The business ID\n\t * @param id - The fee ID to update\n\t * @param request - Fee update request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the updated fee\n\t */\n\tpublic async updateAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\trequest: FeeUpdateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<FeeUpdateRequest>,\n\t): Promise<SBFee> {\n\t\treturn await super.updateEntity(\n\t\t\t`/v1/businesses/${businessId}/fees/${id}`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Creates a new fee\n\t * @param businessId - The business ID\n\t * @param request - Fee creation request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the created fee\n\t */\n\tpublic async createAsync(\n\t\tbusinessId: number,\n\t\trequest: FeeCreateRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<FeeCreateRequest>,\n\t): Promise<SBFee> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/fees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Retrieves a fee by its ID\n\t * @param businessId - The business ID\n\t * @param id - The fee ID\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the fee data\n\t */\n\tpublic async getByIdAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBFee> {\n\t\treturn await super.getEntityById(\n\t\t\t`/v1/businesses/${businessId}/fees/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Deletes a fee\n\t * @param businessId - The business ID\n\t * @param id - The fee ID to delete\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the deleted fee\n\t */\n\tpublic async deleteAsync(\n\t\tbusinessId: number,\n\t\tid: number,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig,\n\t): Promise<SBFee> {\n\t\treturn await super.deleteEntity(\n\t\t\t`/v1/businesses/${businessId}/fees/${id}`,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\n\t/**\n\t * Performs a batch operation on fees\n\t * @param businessId - The business ID\n\t * @param request - Batch upsert request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the batch result\n\t */\n\tpublic async batch(\n\t\tbusinessId: number,\n\t\trequest: BatchUpsertRequest<FeeUpsertRequest>,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<BatchUpsertRequest<FeeUpsertRequest>>,\n\t): Promise<SBBatch<SBFee>> {\n\t\treturn await super.createEntity(\n\t\t\t`/v1/businesses/${businessId}/fees/batch`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n\t/**\n\t * Lists fees for a given business\n\t * @param businessId - The business ID\n\t * @param request - Fee list request data\n\t * @param options - Request options\n\t * @param config - Axios request configuration\n\t * @returns Promise that resolves with the list of fees\n\t */\n\tpublic async listAsync(\n\t\tbusinessId: number | string,\n\t\trequest: FeeListRequest,\n\t\toptions?: SBRequestOptions,\n\t\tconfig?: AxiosRequestConfig<FeeListRequest>,\n\t): Promise<SBList<SBFee>> {\n\t\treturn await super.listEntities(\n\t\t\t`/v1/businesses/${businessId}/fees`,\n\t\t\trequest,\n\t\t\toptions,\n\t\t\tconfig,\n\t\t);\n\t}\n}\n"],"names":["FeeService","SBService","constructor","options","defaultAPIServiceOptions","updateAsync","businessId","id","request","config","updateEntity","createAsync","createEntity","getByIdAsync","getEntityById","deleteAsync","deleteEntity","batch","listAsync","listEntities"],"mappings":";;;AAuBA;;;;;;;;AAQG;AACG,MAAOA,UACZ,SAAQC,SAAS,CAAA;AASjB;;;AAGG;AACHC,EAAAA,WAAAA,CAAmBC,UAA4BC,wBAAwB,EAAA;IACtE,KAAK,CAACD,OAAO,CAAC;AACf;AAEA;;;;;;;;AAQG;EACI,MAAME,WAAWA,CACvBC,UAAkB,EAClBC,EAAU,EACVC,OAAyB,EACzBL,OAA0B,EAC1BM,MAA6C,EAAA;AAE7C,IAAA,OAAO,MAAM,KAAK,CAACC,YAAY,CAC9B,kBAAkBJ,UAAU,CAAA,MAAA,EAASC,EAAE,CAAA,CAAE,EACzCC,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAME,WAAWA,CACvBL,UAAkB,EAClBE,OAAyB,EACzBL,OAA0B,EAC1BM,MAA6C,EAAA;AAE7C,IAAA,OAAO,MAAM,KAAK,CAACG,YAAY,CAC9B,CAAkBN,eAAAA,EAAAA,UAAU,CAAO,KAAA,CAAA,EACnCE,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMI,YAAYA,CACxBP,UAAkB,EAClBC,EAAU,EACVJ,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACK,aAAa,CAC/B,CAAkBR,eAAAA,EAAAA,UAAU,CAASC,MAAAA,EAAAA,EAAE,CAAE,CAAA,EACzCJ,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMM,WAAWA,CACvBT,UAAkB,EAClBC,EAAU,EACVJ,OAA0B,EAC1BM,MAA2B,EAAA;AAE3B,IAAA,OAAO,MAAM,KAAK,CAACO,YAAY,CAC9B,CAAkBV,eAAAA,EAAAA,UAAU,CAASC,MAAAA,EAAAA,EAAE,CAAE,CAAA,EACzCJ,OAAO,EACPM,MAAM,CACN;AACF;AAEA;;;;;;;AAOG;EACI,MAAMQ,KAAKA,CACjBX,UAAkB,EAClBE,OAA6C,EAC7CL,OAA0B,EAC1BM,MAAiE,EAAA;AAEjE,IAAA,OAAO,MAAM,KAAK,CAACG,YAAY,CAC9B,CAAkBN,eAAAA,EAAAA,UAAU,CAAa,WAAA,CAAA,EACzCE,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AACA;;;;;;;AAOG;EACI,MAAMS,SAASA,CACrBZ,UAA2B,EAC3BE,OAAuB,EACvBL,OAA0B,EAC1BM,MAA2C,EAAA;AAE3C,IAAA,OAAO,MAAM,KAAK,CAACU,YAAY,CAC9B,CAAkBb,eAAAA,EAAAA,UAAU,CAAO,KAAA,CAAA,EACnCE,OAAO,EACPL,OAAO,EACPM,MAAM,CACN;AACF;AACA;;;;"}