@maesn/typescript-sdk 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (652) hide show
  1. package/README.md +41 -116
  2. package/esm/funcs/accounting-get-account.js +11 -1
  3. package/esm/funcs/accounting-get-account.js.map +1 -1
  4. package/esm/funcs/accounting-get-accounts.js +11 -1
  5. package/esm/funcs/accounting-get-accounts.js.map +1 -1
  6. package/esm/funcs/accounting-get-async-task-info.js +11 -1
  7. package/esm/funcs/accounting-get-async-task-info.js.map +1 -1
  8. package/esm/funcs/accounting-get-bank-account.js +11 -1
  9. package/esm/funcs/accounting-get-bank-account.js.map +1 -1
  10. package/esm/funcs/accounting-get-bank-accounts.js +11 -1
  11. package/esm/funcs/accounting-get-bank-accounts.js.map +1 -1
  12. package/esm/funcs/accounting-get-bill-document.js +11 -1
  13. package/esm/funcs/accounting-get-bill-document.js.map +1 -1
  14. package/esm/funcs/accounting-get-bill-line-items.js +11 -1
  15. package/esm/funcs/accounting-get-bill-line-items.js.map +1 -1
  16. package/esm/funcs/accounting-get-bill.js +11 -1
  17. package/esm/funcs/accounting-get-bill.js.map +1 -1
  18. package/esm/funcs/accounting-get-bills.js +11 -1
  19. package/esm/funcs/accounting-get-bills.js.map +1 -1
  20. package/esm/funcs/accounting-get-booking-proposal-document.js +11 -1
  21. package/esm/funcs/accounting-get-booking-proposal-document.js.map +1 -1
  22. package/esm/funcs/accounting-get-booking-proposal.js +11 -1
  23. package/esm/funcs/accounting-get-booking-proposal.js.map +1 -1
  24. package/esm/funcs/accounting-get-booking-proposals.js +11 -1
  25. package/esm/funcs/accounting-get-booking-proposals.js.map +1 -1
  26. package/esm/funcs/accounting-get-contact.js +11 -1
  27. package/esm/funcs/accounting-get-contact.js.map +1 -1
  28. package/esm/funcs/accounting-get-contacts.js +11 -1
  29. package/esm/funcs/accounting-get-contacts.js.map +1 -1
  30. package/esm/funcs/accounting-get-credit-note.js +11 -1
  31. package/esm/funcs/accounting-get-credit-note.js.map +1 -1
  32. package/esm/funcs/accounting-get-credit-notes.js +11 -1
  33. package/esm/funcs/accounting-get-credit-notes.js.map +1 -1
  34. package/esm/funcs/accounting-get-customer.js +11 -1
  35. package/esm/funcs/accounting-get-customer.js.map +1 -1
  36. package/esm/funcs/accounting-get-customers.js +11 -1
  37. package/esm/funcs/accounting-get-customers.js.map +1 -1
  38. package/esm/funcs/accounting-get-dimensions.js +11 -1
  39. package/esm/funcs/accounting-get-dimensions.js.map +1 -1
  40. package/esm/funcs/accounting-get-document-extensions.js +11 -1
  41. package/esm/funcs/accounting-get-document-extensions.js.map +1 -1
  42. package/esm/funcs/accounting-get-document-types.js +11 -1
  43. package/esm/funcs/accounting-get-document-types.js.map +1 -1
  44. package/esm/funcs/accounting-get-expense.js +11 -1
  45. package/esm/funcs/accounting-get-expense.js.map +1 -1
  46. package/esm/funcs/accounting-get-expenses.js +11 -1
  47. package/esm/funcs/accounting-get-expenses.js.map +1 -1
  48. package/esm/funcs/accounting-get-fiscal-year.js +11 -1
  49. package/esm/funcs/accounting-get-fiscal-year.js.map +1 -1
  50. package/esm/funcs/accounting-get-fiscal-years.js +11 -1
  51. package/esm/funcs/accounting-get-fiscal-years.js.map +1 -1
  52. package/esm/funcs/accounting-get-goods-receipt-line-item.js +11 -1
  53. package/esm/funcs/accounting-get-goods-receipt-line-item.js.map +1 -1
  54. package/esm/funcs/accounting-get-goods-receipt-line-items.js +11 -1
  55. package/esm/funcs/accounting-get-goods-receipt-line-items.js.map +1 -1
  56. package/esm/funcs/accounting-get-goods-receipt.js +11 -1
  57. package/esm/funcs/accounting-get-goods-receipt.js.map +1 -1
  58. package/esm/funcs/accounting-get-goods-receipts.js +11 -1
  59. package/esm/funcs/accounting-get-goods-receipts.js.map +1 -1
  60. package/esm/funcs/accounting-get-invoice-document.js +11 -1
  61. package/esm/funcs/accounting-get-invoice-document.js.map +1 -1
  62. package/esm/funcs/accounting-get-invoice.js +11 -1
  63. package/esm/funcs/accounting-get-invoice.js.map +1 -1
  64. package/esm/funcs/accounting-get-invoices.js +11 -1
  65. package/esm/funcs/accounting-get-invoices.js.map +1 -1
  66. package/esm/funcs/accounting-get-item.js +11 -1
  67. package/esm/funcs/accounting-get-item.js.map +1 -1
  68. package/esm/funcs/accounting-get-items.js +11 -1
  69. package/esm/funcs/accounting-get-items.js.map +1 -1
  70. package/esm/funcs/accounting-get-journal-entries.js +11 -1
  71. package/esm/funcs/accounting-get-journal-entries.js.map +1 -1
  72. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js +11 -1
  73. package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -1
  74. package/esm/funcs/accounting-get-journal-entry-attachments.js +11 -1
  75. package/esm/funcs/accounting-get-journal-entry-attachments.js.map +1 -1
  76. package/esm/funcs/accounting-get-journal-entry.js +11 -1
  77. package/esm/funcs/accounting-get-journal-entry.js.map +1 -1
  78. package/esm/funcs/accounting-get-journals.js +11 -1
  79. package/esm/funcs/accounting-get-journals.js.map +1 -1
  80. package/esm/funcs/accounting-get-line-item.js +11 -1
  81. package/esm/funcs/accounting-get-line-item.js.map +1 -1
  82. package/esm/funcs/accounting-get-line-items.js +11 -1
  83. package/esm/funcs/accounting-get-line-items.js.map +1 -1
  84. package/esm/funcs/accounting-get-offer-document.js +11 -1
  85. package/esm/funcs/accounting-get-offer-document.js.map +1 -1
  86. package/esm/funcs/accounting-get-offer-line-item.js +11 -1
  87. package/esm/funcs/accounting-get-offer-line-item.js.map +1 -1
  88. package/esm/funcs/accounting-get-offer-line-items.js +11 -1
  89. package/esm/funcs/accounting-get-offer-line-items.js.map +1 -1
  90. package/esm/funcs/accounting-get-offer.js +11 -1
  91. package/esm/funcs/accounting-get-offer.js.map +1 -1
  92. package/esm/funcs/accounting-get-offers.js +11 -1
  93. package/esm/funcs/accounting-get-offers.js.map +1 -1
  94. package/esm/funcs/accounting-get-open-items.js +11 -1
  95. package/esm/funcs/accounting-get-open-items.js.map +1 -1
  96. package/esm/funcs/accounting-get-payment-term.js +11 -1
  97. package/esm/funcs/accounting-get-payment-term.js.map +1 -1
  98. package/esm/funcs/accounting-get-payment-terms.js +11 -1
  99. package/esm/funcs/accounting-get-payment-terms.js.map +1 -1
  100. package/esm/funcs/accounting-get-payment.js +11 -1
  101. package/esm/funcs/accounting-get-payment.js.map +1 -1
  102. package/esm/funcs/accounting-get-payments.js +11 -1
  103. package/esm/funcs/accounting-get-payments.js.map +1 -1
  104. package/esm/funcs/accounting-get-project.js +11 -1
  105. package/esm/funcs/accounting-get-project.js.map +1 -1
  106. package/esm/funcs/accounting-get-projects.js +11 -1
  107. package/esm/funcs/accounting-get-projects.js.map +1 -1
  108. package/esm/funcs/accounting-get-purchase-order-line-item.js +11 -1
  109. package/esm/funcs/accounting-get-purchase-order-line-item.js.map +1 -1
  110. package/esm/funcs/accounting-get-purchase-order-line-items.js +11 -1
  111. package/esm/funcs/accounting-get-purchase-order-line-items.js.map +1 -1
  112. package/esm/funcs/accounting-get-purchase-order.js +11 -1
  113. package/esm/funcs/accounting-get-purchase-order.js.map +1 -1
  114. package/esm/funcs/accounting-get-purchase-orders.js +11 -1
  115. package/esm/funcs/accounting-get-purchase-orders.js.map +1 -1
  116. package/esm/funcs/accounting-get-sales-order-lines.js +11 -1
  117. package/esm/funcs/accounting-get-sales-order-lines.js.map +1 -1
  118. package/esm/funcs/accounting-get-sales-order.js +11 -1
  119. package/esm/funcs/accounting-get-sales-order.js.map +1 -1
  120. package/esm/funcs/accounting-get-sales-orders.js +11 -1
  121. package/esm/funcs/accounting-get-sales-orders.js.map +1 -1
  122. package/esm/funcs/accounting-get-supplier.js +11 -1
  123. package/esm/funcs/accounting-get-supplier.js.map +1 -1
  124. package/esm/funcs/accounting-get-suppliers.js +11 -1
  125. package/esm/funcs/accounting-get-suppliers.js.map +1 -1
  126. package/esm/funcs/accounting-get-tax-rate.js +11 -1
  127. package/esm/funcs/accounting-get-tax-rate.js.map +1 -1
  128. package/esm/funcs/accounting-get-tax-rates.js +11 -1
  129. package/esm/funcs/accounting-get-tax-rates.js.map +1 -1
  130. package/esm/funcs/accounting-get-trial-balance.js +11 -1
  131. package/esm/funcs/accounting-get-trial-balance.js.map +1 -1
  132. package/esm/funcs/accounting-get-units.js +11 -1
  133. package/esm/funcs/accounting-get-units.js.map +1 -1
  134. package/esm/funcs/accounting-get-vendor-credits.js +11 -1
  135. package/esm/funcs/accounting-get-vendor-credits.js.map +1 -1
  136. package/esm/funcs/accounting-v2-get-contact-v2.js +11 -1
  137. package/esm/funcs/accounting-v2-get-contact-v2.js.map +1 -1
  138. package/esm/funcs/accounting-v2-get-contacts-v2.js +11 -1
  139. package/esm/funcs/accounting-v2-get-contacts-v2.js.map +1 -1
  140. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js +11 -1
  141. package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js.map +1 -1
  142. package/esm/funcs/accounting-v2-get-dimensions-v2.js +11 -1
  143. package/esm/funcs/accounting-v2-get-dimensions-v2.js.map +1 -1
  144. package/esm/funcs/auth-get-companies.js +11 -1
  145. package/esm/funcs/auth-get-companies.js.map +1 -1
  146. package/esm/funcs/auth-get-environments.js +11 -1
  147. package/esm/funcs/auth-get-environments.js.map +1 -1
  148. package/esm/funcs/auth-system-login-url.js +11 -1
  149. package/esm/funcs/auth-system-login-url.js.map +1 -1
  150. package/esm/funcs/tenants-get-end-user-list.js +11 -1
  151. package/esm/funcs/tenants-get-end-user-list.js.map +1 -1
  152. package/esm/funcs/user-get-user-info.js +11 -1
  153. package/esm/funcs/user-get-user-info.js.map +1 -1
  154. package/esm/funcs/webhooks-get-webhooks.js +12 -2
  155. package/esm/funcs/webhooks-get-webhooks.js.map +1 -1
  156. package/esm/lib/config.d.ts +3 -3
  157. package/esm/lib/config.js +3 -3
  158. package/esm/models/errors/index.d.ts +0 -1
  159. package/esm/models/errors/index.d.ts.map +1 -1
  160. package/esm/models/errors/index.js +0 -1
  161. package/esm/models/errors/index.js.map +1 -1
  162. package/esm/models/index.d.ts +0 -7
  163. package/esm/models/index.d.ts.map +1 -1
  164. package/esm/models/index.js +0 -7
  165. package/esm/models/index.js.map +1 -1
  166. package/esm/models/operations/index.d.ts +0 -29
  167. package/esm/models/operations/index.d.ts.map +1 -1
  168. package/esm/models/operations/index.js +0 -29
  169. package/esm/models/operations/index.js.map +1 -1
  170. package/esm/sdk/accounting.d.ts +0 -7
  171. package/esm/sdk/accounting.d.ts.map +1 -1
  172. package/esm/sdk/accounting.js +0 -24
  173. package/esm/sdk/accounting.js.map +1 -1
  174. package/esm/sdk/auth.d.ts +0 -9
  175. package/esm/sdk/auth.d.ts.map +1 -1
  176. package/esm/sdk/auth.js +0 -36
  177. package/esm/sdk/auth.js.map +1 -1
  178. package/esm/sdk/sdk.d.ts +0 -6
  179. package/esm/sdk/sdk.d.ts.map +1 -1
  180. package/esm/sdk/sdk.js +0 -10
  181. package/esm/sdk/sdk.js.map +1 -1
  182. package/esm/sdk/tenants.d.ts +0 -11
  183. package/esm/sdk/tenants.d.ts.map +1 -1
  184. package/esm/sdk/tenants.js +0 -44
  185. package/esm/sdk/tenants.js.map +1 -1
  186. package/esm/sdk/webhooks.d.ts +1 -7
  187. package/esm/sdk/webhooks.d.ts.map +1 -1
  188. package/esm/sdk/webhooks.js +3 -23
  189. package/esm/sdk/webhooks.js.map +1 -1
  190. package/jsr.json +1 -1
  191. package/package.json +1 -1
  192. package/src/funcs/accounting-get-account.ts +11 -1
  193. package/src/funcs/accounting-get-accounts.ts +11 -1
  194. package/src/funcs/accounting-get-async-task-info.ts +11 -1
  195. package/src/funcs/accounting-get-bank-account.ts +11 -1
  196. package/src/funcs/accounting-get-bank-accounts.ts +11 -1
  197. package/src/funcs/accounting-get-bill-document.ts +11 -1
  198. package/src/funcs/accounting-get-bill-line-items.ts +11 -1
  199. package/src/funcs/accounting-get-bill.ts +11 -1
  200. package/src/funcs/accounting-get-bills.ts +11 -1
  201. package/src/funcs/accounting-get-booking-proposal-document.ts +11 -1
  202. package/src/funcs/accounting-get-booking-proposal.ts +11 -1
  203. package/src/funcs/accounting-get-booking-proposals.ts +11 -1
  204. package/src/funcs/accounting-get-contact.ts +11 -1
  205. package/src/funcs/accounting-get-contacts.ts +11 -1
  206. package/src/funcs/accounting-get-credit-note.ts +11 -1
  207. package/src/funcs/accounting-get-credit-notes.ts +11 -1
  208. package/src/funcs/accounting-get-customer.ts +11 -1
  209. package/src/funcs/accounting-get-customers.ts +11 -1
  210. package/src/funcs/accounting-get-dimensions.ts +11 -1
  211. package/src/funcs/accounting-get-document-extensions.ts +11 -1
  212. package/src/funcs/accounting-get-document-types.ts +11 -1
  213. package/src/funcs/accounting-get-expense.ts +11 -1
  214. package/src/funcs/accounting-get-expenses.ts +11 -1
  215. package/src/funcs/accounting-get-fiscal-year.ts +11 -1
  216. package/src/funcs/accounting-get-fiscal-years.ts +11 -1
  217. package/src/funcs/accounting-get-goods-receipt-line-item.ts +11 -1
  218. package/src/funcs/accounting-get-goods-receipt-line-items.ts +11 -1
  219. package/src/funcs/accounting-get-goods-receipt.ts +11 -1
  220. package/src/funcs/accounting-get-goods-receipts.ts +11 -1
  221. package/src/funcs/accounting-get-invoice-document.ts +11 -1
  222. package/src/funcs/accounting-get-invoice.ts +11 -1
  223. package/src/funcs/accounting-get-invoices.ts +11 -1
  224. package/src/funcs/accounting-get-item.ts +11 -1
  225. package/src/funcs/accounting-get-items.ts +11 -1
  226. package/src/funcs/accounting-get-journal-entries.ts +11 -1
  227. package/src/funcs/accounting-get-journal-entry-attachment-by-id.ts +11 -1
  228. package/src/funcs/accounting-get-journal-entry-attachments.ts +11 -1
  229. package/src/funcs/accounting-get-journal-entry.ts +11 -1
  230. package/src/funcs/accounting-get-journals.ts +11 -1
  231. package/src/funcs/accounting-get-line-item.ts +11 -1
  232. package/src/funcs/accounting-get-line-items.ts +11 -1
  233. package/src/funcs/accounting-get-offer-document.ts +11 -1
  234. package/src/funcs/accounting-get-offer-line-item.ts +11 -1
  235. package/src/funcs/accounting-get-offer-line-items.ts +11 -1
  236. package/src/funcs/accounting-get-offer.ts +11 -1
  237. package/src/funcs/accounting-get-offers.ts +11 -1
  238. package/src/funcs/accounting-get-open-items.ts +11 -1
  239. package/src/funcs/accounting-get-payment-term.ts +11 -1
  240. package/src/funcs/accounting-get-payment-terms.ts +11 -1
  241. package/src/funcs/accounting-get-payment.ts +11 -1
  242. package/src/funcs/accounting-get-payments.ts +11 -1
  243. package/src/funcs/accounting-get-project.ts +11 -1
  244. package/src/funcs/accounting-get-projects.ts +11 -1
  245. package/src/funcs/accounting-get-purchase-order-line-item.ts +11 -1
  246. package/src/funcs/accounting-get-purchase-order-line-items.ts +11 -1
  247. package/src/funcs/accounting-get-purchase-order.ts +11 -1
  248. package/src/funcs/accounting-get-purchase-orders.ts +11 -1
  249. package/src/funcs/accounting-get-sales-order-lines.ts +11 -1
  250. package/src/funcs/accounting-get-sales-order.ts +11 -1
  251. package/src/funcs/accounting-get-sales-orders.ts +11 -1
  252. package/src/funcs/accounting-get-supplier.ts +11 -1
  253. package/src/funcs/accounting-get-suppliers.ts +11 -1
  254. package/src/funcs/accounting-get-tax-rate.ts +11 -1
  255. package/src/funcs/accounting-get-tax-rates.ts +11 -1
  256. package/src/funcs/accounting-get-trial-balance.ts +11 -1
  257. package/src/funcs/accounting-get-units.ts +11 -1
  258. package/src/funcs/accounting-get-vendor-credits.ts +11 -1
  259. package/src/funcs/accounting-v2-get-contact-v2.ts +11 -1
  260. package/src/funcs/accounting-v2-get-contacts-v2.ts +11 -1
  261. package/src/funcs/accounting-v2-get-dimensions-by-dimension.ts +11 -1
  262. package/src/funcs/accounting-v2-get-dimensions-v2.ts +11 -1
  263. package/src/funcs/auth-get-companies.ts +11 -1
  264. package/src/funcs/auth-get-environments.ts +11 -1
  265. package/src/funcs/auth-system-login-url.ts +11 -1
  266. package/src/funcs/tenants-get-end-user-list.ts +11 -1
  267. package/src/funcs/user-get-user-info.ts +11 -1
  268. package/src/funcs/webhooks-get-webhooks.ts +12 -2
  269. package/src/lib/config.ts +3 -3
  270. package/src/models/errors/index.ts +0 -1
  271. package/src/models/index.ts +0 -7
  272. package/src/models/operations/index.ts +0 -29
  273. package/src/sdk/accounting.ts +0 -71
  274. package/src/sdk/auth.ts +0 -104
  275. package/src/sdk/sdk.ts +0 -12
  276. package/src/sdk/tenants.ts +0 -116
  277. package/src/sdk/webhooks.ts +8 -69
  278. package/esm/funcs/accounting-create-bookings.d.ts +0 -11
  279. package/esm/funcs/accounting-create-bookings.d.ts.map +0 -1
  280. package/esm/funcs/accounting-create-bookings.js +0 -76
  281. package/esm/funcs/accounting-create-bookings.js.map +0 -1
  282. package/esm/funcs/accounting-create-contacts-v1.d.ts +0 -11
  283. package/esm/funcs/accounting-create-contacts-v1.d.ts.map +0 -1
  284. package/esm/funcs/accounting-create-contacts-v1.js +0 -76
  285. package/esm/funcs/accounting-create-contacts-v1.js.map +0 -1
  286. package/esm/funcs/accounting-create-event-subscriptions.d.ts +0 -12
  287. package/esm/funcs/accounting-create-event-subscriptions.d.ts.map +0 -1
  288. package/esm/funcs/accounting-create-event-subscriptions.js +0 -77
  289. package/esm/funcs/accounting-create-event-subscriptions.js.map +0 -1
  290. package/esm/funcs/accounting-delete-event-subscriptions.d.ts +0 -12
  291. package/esm/funcs/accounting-delete-event-subscriptions.d.ts.map +0 -1
  292. package/esm/funcs/accounting-delete-event-subscriptions.js +0 -79
  293. package/esm/funcs/accounting-delete-event-subscriptions.js.map +0 -1
  294. package/esm/funcs/accounting-get-profile.d.ts +0 -11
  295. package/esm/funcs/accounting-get-profile.d.ts.map +0 -1
  296. package/esm/funcs/accounting-get-profile.js +0 -61
  297. package/esm/funcs/accounting-get-profile.js.map +0 -1
  298. package/esm/funcs/accounting-patch-line-item.d.ts +0 -11
  299. package/esm/funcs/accounting-patch-line-item.d.ts.map +0 -1
  300. package/esm/funcs/accounting-patch-line-item.js +0 -87
  301. package/esm/funcs/accounting-patch-line-item.js.map +0 -1
  302. package/esm/funcs/auth-api-key-confirmation.d.ts +0 -11
  303. package/esm/funcs/auth-api-key-confirmation.d.ts.map +0 -1
  304. package/esm/funcs/auth-api-key-confirmation.js +0 -61
  305. package/esm/funcs/auth-api-key-confirmation.js.map +0 -1
  306. package/esm/funcs/auth-callback.d.ts +0 -11
  307. package/esm/funcs/auth-callback.d.ts.map +0 -1
  308. package/esm/funcs/auth-callback.js +0 -84
  309. package/esm/funcs/auth-callback.js.map +0 -1
  310. package/esm/funcs/auth-cancel.d.ts +0 -11
  311. package/esm/funcs/auth-cancel.d.ts.map +0 -1
  312. package/esm/funcs/auth-cancel.js +0 -61
  313. package/esm/funcs/auth-cancel.js.map +0 -1
  314. package/esm/funcs/auth-get-companies-flow.d.ts +0 -11
  315. package/esm/funcs/auth-get-companies-flow.d.ts.map +0 -1
  316. package/esm/funcs/auth-get-companies-flow.js +0 -75
  317. package/esm/funcs/auth-get-companies-flow.js.map +0 -1
  318. package/esm/funcs/auth-get-environment-page.d.ts +0 -11
  319. package/esm/funcs/auth-get-environment-page.d.ts.map +0 -1
  320. package/esm/funcs/auth-get-environment-page.js +0 -76
  321. package/esm/funcs/auth-get-environment-page.js.map +0 -1
  322. package/esm/funcs/auth-get-submit-page.d.ts +0 -11
  323. package/esm/funcs/auth-get-submit-page.d.ts.map +0 -1
  324. package/esm/funcs/auth-get-submit-page.js +0 -75
  325. package/esm/funcs/auth-get-submit-page.js.map +0 -1
  326. package/esm/funcs/auth-long-token.d.ts +0 -11
  327. package/esm/funcs/auth-long-token.d.ts.map +0 -1
  328. package/esm/funcs/auth-long-token.js +0 -78
  329. package/esm/funcs/auth-long-token.js.map +0 -1
  330. package/esm/funcs/auth-set-end-user-selections.d.ts +0 -11
  331. package/esm/funcs/auth-set-end-user-selections.d.ts.map +0 -1
  332. package/esm/funcs/auth-set-end-user-selections.js +0 -77
  333. package/esm/funcs/auth-set-end-user-selections.js.map +0 -1
  334. package/esm/funcs/auth-test.d.ts +0 -11
  335. package/esm/funcs/auth-test.d.ts.map +0 -1
  336. package/esm/funcs/auth-test.js +0 -75
  337. package/esm/funcs/auth-test.js.map +0 -1
  338. package/esm/funcs/events-get-code.d.ts +0 -11
  339. package/esm/funcs/events-get-code.d.ts.map +0 -1
  340. package/esm/funcs/events-get-code.js +0 -77
  341. package/esm/funcs/events-get-code.js.map +0 -1
  342. package/esm/funcs/events-handle-callback.d.ts +0 -11
  343. package/esm/funcs/events-handle-callback.d.ts.map +0 -1
  344. package/esm/funcs/events-handle-callback.js +0 -77
  345. package/esm/funcs/events-handle-callback.js.map +0 -1
  346. package/esm/funcs/events-handle-configuration-callback.d.ts +0 -11
  347. package/esm/funcs/events-handle-configuration-callback.d.ts.map +0 -1
  348. package/esm/funcs/events-handle-configuration-callback.js +0 -77
  349. package/esm/funcs/events-handle-configuration-callback.js.map +0 -1
  350. package/esm/funcs/health-check.d.ts +0 -17
  351. package/esm/funcs/health-check.d.ts.map +0 -1
  352. package/esm/funcs/health-check.js +0 -67
  353. package/esm/funcs/health-check.js.map +0 -1
  354. package/esm/funcs/health-details.d.ts +0 -18
  355. package/esm/funcs/health-details.d.ts.map +0 -1
  356. package/esm/funcs/health-details.js +0 -71
  357. package/esm/funcs/health-details.js.map +0 -1
  358. package/esm/funcs/tenants-count-end-users-by-system.d.ts +0 -11
  359. package/esm/funcs/tenants-count-end-users-by-system.d.ts.map +0 -1
  360. package/esm/funcs/tenants-count-end-users-by-system.js +0 -61
  361. package/esm/funcs/tenants-count-end-users-by-system.js.map +0 -1
  362. package/esm/funcs/tenants-delete-registered-system.d.ts +0 -11
  363. package/esm/funcs/tenants-delete-registered-system.d.ts.map +0 -1
  364. package/esm/funcs/tenants-delete-registered-system.js +0 -78
  365. package/esm/funcs/tenants-delete-registered-system.js.map +0 -1
  366. package/esm/funcs/tenants-get-all-active-end-users.d.ts +0 -11
  367. package/esm/funcs/tenants-get-all-active-end-users.d.ts.map +0 -1
  368. package/esm/funcs/tenants-get-all-active-end-users.js +0 -61
  369. package/esm/funcs/tenants-get-all-active-end-users.js.map +0 -1
  370. package/esm/funcs/tenants-get-callback-url.d.ts +0 -11
  371. package/esm/funcs/tenants-get-callback-url.d.ts.map +0 -1
  372. package/esm/funcs/tenants-get-callback-url.js +0 -61
  373. package/esm/funcs/tenants-get-callback-url.js.map +0 -1
  374. package/esm/funcs/tenants-get-registered-systems-masked.d.ts +0 -11
  375. package/esm/funcs/tenants-get-registered-systems-masked.d.ts.map +0 -1
  376. package/esm/funcs/tenants-get-registered-systems-masked.js +0 -61
  377. package/esm/funcs/tenants-get-registered-systems-masked.js.map +0 -1
  378. package/esm/funcs/tenants-get-registered-systems.d.ts +0 -11
  379. package/esm/funcs/tenants-get-registered-systems.d.ts.map +0 -1
  380. package/esm/funcs/tenants-get-registered-systems.js +0 -61
  381. package/esm/funcs/tenants-get-registered-systems.js.map +0 -1
  382. package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts +0 -11
  383. package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts.map +0 -1
  384. package/esm/funcs/tenants-get-submission-page-style-by-key.js +0 -61
  385. package/esm/funcs/tenants-get-submission-page-style-by-key.js.map +0 -1
  386. package/esm/funcs/tenants-get-submission-page-style.d.ts +0 -11
  387. package/esm/funcs/tenants-get-submission-page-style.d.ts.map +0 -1
  388. package/esm/funcs/tenants-get-submission-page-style.js +0 -75
  389. package/esm/funcs/tenants-get-submission-page-style.js.map +0 -1
  390. package/esm/funcs/tenants-get-target-system-requirements.d.ts +0 -11
  391. package/esm/funcs/tenants-get-target-system-requirements.d.ts.map +0 -1
  392. package/esm/funcs/tenants-get-target-system-requirements.js +0 -61
  393. package/esm/funcs/tenants-get-target-system-requirements.js.map +0 -1
  394. package/esm/funcs/tenants-get-target-system-values.d.ts +0 -11
  395. package/esm/funcs/tenants-get-target-system-values.d.ts.map +0 -1
  396. package/esm/funcs/tenants-get-target-system-values.js +0 -61
  397. package/esm/funcs/tenants-get-target-system-values.js.map +0 -1
  398. package/esm/funcs/tenants-update-submission-page-style.d.ts +0 -12
  399. package/esm/funcs/tenants-update-submission-page-style.d.ts.map +0 -1
  400. package/esm/funcs/tenants-update-submission-page-style.js +0 -73
  401. package/esm/funcs/tenants-update-submission-page-style.js.map +0 -1
  402. package/esm/funcs/webhooks-create-web-hook-tenant.d.ts +0 -12
  403. package/esm/funcs/webhooks-create-web-hook-tenant.d.ts.map +0 -1
  404. package/esm/funcs/webhooks-create-web-hook-tenant.js +0 -73
  405. package/esm/funcs/webhooks-create-web-hook-tenant.js.map +0 -1
  406. package/esm/funcs/webhooks-create-webhook-config.d.ts +0 -12
  407. package/esm/funcs/webhooks-create-webhook-config.d.ts.map +0 -1
  408. package/esm/funcs/webhooks-create-webhook-config.js +0 -73
  409. package/esm/funcs/webhooks-create-webhook-config.js.map +0 -1
  410. package/esm/funcs/webhooks-create-webhook-end-user.d.ts +0 -11
  411. package/esm/funcs/webhooks-create-webhook-end-user.d.ts.map +0 -1
  412. package/esm/funcs/webhooks-create-webhook-end-user.js +0 -77
  413. package/esm/funcs/webhooks-create-webhook-end-user.js.map +0 -1
  414. package/esm/funcs/webhooks-delete-webhook-end-user.d.ts +0 -11
  415. package/esm/funcs/webhooks-delete-webhook-end-user.d.ts.map +0 -1
  416. package/esm/funcs/webhooks-delete-webhook-end-user.js +0 -82
  417. package/esm/funcs/webhooks-delete-webhook-end-user.js.map +0 -1
  418. package/esm/funcs/webhooks-delete-webhook-tenant.d.ts +0 -11
  419. package/esm/funcs/webhooks-delete-webhook-tenant.d.ts.map +0 -1
  420. package/esm/funcs/webhooks-delete-webhook-tenant.js +0 -78
  421. package/esm/funcs/webhooks-delete-webhook-tenant.js.map +0 -1
  422. package/esm/models/booking-entry-request-dto.d.ts +0 -216
  423. package/esm/models/booking-entry-request-dto.d.ts.map +0 -1
  424. package/esm/models/booking-entry-request-dto.js +0 -199
  425. package/esm/models/booking-entry-request-dto.js.map +0 -1
  426. package/esm/models/booking-entry-response-dto.d.ts +0 -202
  427. package/esm/models/booking-entry-response-dto.d.ts.map +0 -1
  428. package/esm/models/booking-entry-response-dto.js +0 -203
  429. package/esm/models/booking-entry-response-dto.js.map +0 -1
  430. package/esm/models/bookings-response-dto.d.ts +0 -28
  431. package/esm/models/bookings-response-dto.d.ts.map +0 -1
  432. package/esm/models/bookings-response-dto.js +0 -31
  433. package/esm/models/bookings-response-dto.js.map +0 -1
  434. package/esm/models/create-bookings-request-dto.d.ts +0 -30
  435. package/esm/models/create-bookings-request-dto.d.ts.map +0 -1
  436. package/esm/models/create-bookings-request-dto.js +0 -25
  437. package/esm/models/create-bookings-request-dto.js.map +0 -1
  438. package/esm/models/create-event-subscription-request-dto.d.ts +0 -14
  439. package/esm/models/create-event-subscription-request-dto.d.ts.map +0 -1
  440. package/esm/models/create-event-subscription-request-dto.js +0 -13
  441. package/esm/models/create-event-subscription-request-dto.js.map +0 -1
  442. package/esm/models/errors/details.d.ts +0 -43
  443. package/esm/models/errors/details.d.ts.map +0 -1
  444. package/esm/models/errors/details.js +0 -51
  445. package/esm/models/errors/details.js.map +0 -1
  446. package/esm/models/operations/api-key-confirmation.d.ts +0 -13
  447. package/esm/models/operations/api-key-confirmation.d.ts.map +0 -1
  448. package/esm/models/operations/api-key-confirmation.js +0 -14
  449. package/esm/models/operations/api-key-confirmation.js.map +0 -1
  450. package/esm/models/operations/callback.d.ts +0 -43
  451. package/esm/models/operations/callback.d.ts.map +0 -1
  452. package/esm/models/operations/callback.js +0 -30
  453. package/esm/models/operations/callback.js.map +0 -1
  454. package/esm/models/operations/cancel.d.ts +0 -13
  455. package/esm/models/operations/cancel.d.ts.map +0 -1
  456. package/esm/models/operations/cancel.js +0 -14
  457. package/esm/models/operations/cancel.js.map +0 -1
  458. package/esm/models/operations/check.d.ts +0 -11
  459. package/esm/models/operations/check.d.ts.map +0 -1
  460. package/esm/models/operations/check.js +0 -11
  461. package/esm/models/operations/check.js.map +0 -1
  462. package/esm/models/operations/create-bookings.d.ts +0 -56
  463. package/esm/models/operations/create-bookings.d.ts.map +0 -1
  464. package/esm/models/operations/create-bookings.js +0 -54
  465. package/esm/models/operations/create-bookings.js.map +0 -1
  466. package/esm/models/operations/create-contacts-v1.d.ts +0 -56
  467. package/esm/models/operations/create-contacts-v1.d.ts.map +0 -1
  468. package/esm/models/operations/create-contacts-v1.js +0 -54
  469. package/esm/models/operations/create-contacts-v1.js.map +0 -1
  470. package/esm/models/operations/create-event-subscriptions.d.ts +0 -18
  471. package/esm/models/operations/create-event-subscriptions.d.ts.map +0 -1
  472. package/esm/models/operations/create-event-subscriptions.js +0 -14
  473. package/esm/models/operations/create-event-subscriptions.js.map +0 -1
  474. package/esm/models/operations/create-web-hook-tenant.d.ts +0 -41
  475. package/esm/models/operations/create-web-hook-tenant.d.ts.map +0 -1
  476. package/esm/models/operations/create-web-hook-tenant.js +0 -46
  477. package/esm/models/operations/create-web-hook-tenant.js.map +0 -1
  478. package/esm/models/operations/create-webhook-config.d.ts +0 -41
  479. package/esm/models/operations/create-webhook-config.d.ts.map +0 -1
  480. package/esm/models/operations/create-webhook-config.js +0 -46
  481. package/esm/models/operations/create-webhook-config.js.map +0 -1
  482. package/esm/models/operations/create-webhook-end-user.d.ts +0 -61
  483. package/esm/models/operations/create-webhook-end-user.d.ts.map +0 -1
  484. package/esm/models/operations/create-webhook-end-user.js +0 -55
  485. package/esm/models/operations/create-webhook-end-user.js.map +0 -1
  486. package/esm/models/operations/delete-event-subscriptions.d.ts +0 -17
  487. package/esm/models/operations/delete-event-subscriptions.d.ts.map +0 -1
  488. package/esm/models/operations/delete-event-subscriptions.js +0 -13
  489. package/esm/models/operations/delete-event-subscriptions.js.map +0 -1
  490. package/esm/models/operations/delete-registered-system.d.ts +0 -12
  491. package/esm/models/operations/delete-registered-system.d.ts.map +0 -1
  492. package/esm/models/operations/delete-registered-system.js +0 -12
  493. package/esm/models/operations/delete-registered-system.js.map +0 -1
  494. package/esm/models/operations/delete-webhook-end-user.d.ts +0 -31
  495. package/esm/models/operations/delete-webhook-end-user.d.ts.map +0 -1
  496. package/esm/models/operations/delete-webhook-end-user.js +0 -20
  497. package/esm/models/operations/delete-webhook-end-user.js.map +0 -1
  498. package/esm/models/operations/delete-webhook-tenant.d.ts +0 -12
  499. package/esm/models/operations/delete-webhook-tenant.d.ts.map +0 -1
  500. package/esm/models/operations/delete-webhook-tenant.js +0 -12
  501. package/esm/models/operations/delete-webhook-tenant.js.map +0 -1
  502. package/esm/models/operations/details.d.ts +0 -32
  503. package/esm/models/operations/details.d.ts.map +0 -1
  504. package/esm/models/operations/details.js +0 -34
  505. package/esm/models/operations/details.js.map +0 -1
  506. package/esm/models/operations/get-all-active-end-users.d.ts +0 -11
  507. package/esm/models/operations/get-all-active-end-users.d.ts.map +0 -1
  508. package/esm/models/operations/get-all-active-end-users.js +0 -11
  509. package/esm/models/operations/get-all-active-end-users.js.map +0 -1
  510. package/esm/models/operations/get-code.d.ts +0 -21
  511. package/esm/models/operations/get-code.d.ts.map +0 -1
  512. package/esm/models/operations/get-code.js +0 -18
  513. package/esm/models/operations/get-code.js.map +0 -1
  514. package/esm/models/operations/get-companies-flow.d.ts +0 -54
  515. package/esm/models/operations/get-companies-flow.d.ts.map +0 -1
  516. package/esm/models/operations/get-companies-flow.js +0 -53
  517. package/esm/models/operations/get-companies-flow.js.map +0 -1
  518. package/esm/models/operations/get-environment-page.d.ts +0 -29
  519. package/esm/models/operations/get-environment-page.d.ts.map +0 -1
  520. package/esm/models/operations/get-environment-page.js +0 -19
  521. package/esm/models/operations/get-environment-page.js.map +0 -1
  522. package/esm/models/operations/get-submission-page-style-by-key.d.ts +0 -11
  523. package/esm/models/operations/get-submission-page-style-by-key.d.ts.map +0 -1
  524. package/esm/models/operations/get-submission-page-style-by-key.js +0 -11
  525. package/esm/models/operations/get-submission-page-style-by-key.js.map +0 -1
  526. package/esm/models/operations/get-submission-page-style.d.ts +0 -24
  527. package/esm/models/operations/get-submission-page-style.d.ts.map +0 -1
  528. package/esm/models/operations/get-submission-page-style.js +0 -18
  529. package/esm/models/operations/get-submission-page-style.js.map +0 -1
  530. package/esm/models/operations/get-submit-page.d.ts +0 -26
  531. package/esm/models/operations/get-submit-page.d.ts.map +0 -1
  532. package/esm/models/operations/get-submit-page.js +0 -21
  533. package/esm/models/operations/get-submit-page.js.map +0 -1
  534. package/esm/models/operations/handle-callback.d.ts +0 -21
  535. package/esm/models/operations/handle-callback.d.ts.map +0 -1
  536. package/esm/models/operations/handle-callback.js +0 -18
  537. package/esm/models/operations/handle-callback.js.map +0 -1
  538. package/esm/models/operations/handle-configuration-callback.d.ts +0 -21
  539. package/esm/models/operations/handle-configuration-callback.d.ts.map +0 -1
  540. package/esm/models/operations/handle-configuration-callback.js +0 -18
  541. package/esm/models/operations/handle-configuration-callback.js.map +0 -1
  542. package/esm/models/operations/long-token.d.ts +0 -25
  543. package/esm/models/operations/long-token.d.ts.map +0 -1
  544. package/esm/models/operations/long-token.js +0 -14
  545. package/esm/models/operations/long-token.js.map +0 -1
  546. package/esm/models/operations/patch-line-item.d.ts +0 -65
  547. package/esm/models/operations/patch-line-item.d.ts.map +0 -1
  548. package/esm/models/operations/patch-line-item.js +0 -57
  549. package/esm/models/operations/patch-line-item.js.map +0 -1
  550. package/esm/models/operations/set-end-user-selections.d.ts +0 -36
  551. package/esm/models/operations/set-end-user-selections.d.ts.map +0 -1
  552. package/esm/models/operations/set-end-user-selections.js +0 -23
  553. package/esm/models/operations/set-end-user-selections.js.map +0 -1
  554. package/esm/models/operations/test.d.ts +0 -26
  555. package/esm/models/operations/test.d.ts.map +0 -1
  556. package/esm/models/operations/test.js +0 -21
  557. package/esm/models/operations/test.js.map +0 -1
  558. package/esm/models/operations/update-submission-page-style.d.ts +0 -11
  559. package/esm/models/operations/update-submission-page-style.d.ts.map +0 -1
  560. package/esm/models/operations/update-submission-page-style.js +0 -11
  561. package/esm/models/operations/update-submission-page-style.js.map +0 -1
  562. package/esm/models/patch-line-item-request-dto.d.ts +0 -46
  563. package/esm/models/patch-line-item-request-dto.d.ts.map +0 -1
  564. package/esm/models/patch-line-item-request-dto.js +0 -32
  565. package/esm/models/patch-line-item-request-dto.js.map +0 -1
  566. package/esm/models/submission-page-style-dto.d.ts +0 -28
  567. package/esm/models/submission-page-style-dto.d.ts.map +0 -1
  568. package/esm/models/submission-page-style-dto.js +0 -20
  569. package/esm/models/submission-page-style-dto.js.map +0 -1
  570. package/esm/sdk/events.d.ts +0 -8
  571. package/esm/sdk/events.d.ts.map +0 -1
  572. package/esm/sdk/events.js +0 -20
  573. package/esm/sdk/events.js.map +0 -1
  574. package/esm/sdk/health.d.ts +0 -19
  575. package/esm/sdk/health.d.ts.map +0 -1
  576. package/esm/sdk/health.js +0 -28
  577. package/esm/sdk/health.js.map +0 -1
  578. package/src/funcs/accounting-create-bookings.ts +0 -159
  579. package/src/funcs/accounting-create-contacts-v1.ts +0 -160
  580. package/src/funcs/accounting-create-event-subscriptions.ts +0 -161
  581. package/src/funcs/accounting-delete-event-subscriptions.ts +0 -169
  582. package/src/funcs/accounting-get-profile.ts +0 -135
  583. package/src/funcs/accounting-patch-line-item.ts +0 -172
  584. package/src/funcs/auth-api-key-confirmation.ts +0 -135
  585. package/src/funcs/auth-callback.ts +0 -167
  586. package/src/funcs/auth-cancel.ts +0 -135
  587. package/src/funcs/auth-get-companies-flow.ts +0 -162
  588. package/src/funcs/auth-get-environment-page.ts +0 -160
  589. package/src/funcs/auth-get-submit-page.ts +0 -158
  590. package/src/funcs/auth-long-token.ts +0 -161
  591. package/src/funcs/auth-set-end-user-selections.ts +0 -161
  592. package/src/funcs/auth-test.ts +0 -158
  593. package/src/funcs/events-get-code.ts +0 -159
  594. package/src/funcs/events-handle-callback.ts +0 -159
  595. package/src/funcs/events-handle-configuration-callback.ts +0 -163
  596. package/src/funcs/health-check.ts +0 -141
  597. package/src/funcs/health-details.ts +0 -150
  598. package/src/funcs/tenants-count-end-users-by-system.ts +0 -135
  599. package/src/funcs/tenants-delete-registered-system.ts +0 -163
  600. package/src/funcs/tenants-get-all-active-end-users.ts +0 -135
  601. package/src/funcs/tenants-get-callback-url.ts +0 -135
  602. package/src/funcs/tenants-get-registered-systems-masked.ts +0 -135
  603. package/src/funcs/tenants-get-registered-systems.ts +0 -135
  604. package/src/funcs/tenants-get-submission-page-style-by-key.ts +0 -135
  605. package/src/funcs/tenants-get-submission-page-style.ts +0 -159
  606. package/src/funcs/tenants-get-target-system-requirements.ts +0 -135
  607. package/src/funcs/tenants-get-target-system-values.ts +0 -135
  608. package/src/funcs/tenants-update-submission-page-style.ts +0 -155
  609. package/src/funcs/webhooks-create-web-hook-tenant.ts +0 -156
  610. package/src/funcs/webhooks-create-webhook-config.ts +0 -156
  611. package/src/funcs/webhooks-create-webhook-end-user.ts +0 -161
  612. package/src/funcs/webhooks-delete-webhook-end-user.ts +0 -166
  613. package/src/funcs/webhooks-delete-webhook-tenant.ts +0 -161
  614. package/src/models/booking-entry-request-dto.ts +0 -268
  615. package/src/models/booking-entry-response-dto.ts +0 -260
  616. package/src/models/bookings-response-dto.ts +0 -68
  617. package/src/models/create-bookings-request-dto.ts +0 -64
  618. package/src/models/create-event-subscription-request-dto.ts +0 -35
  619. package/src/models/errors/details.ts +0 -82
  620. package/src/models/operations/api-key-confirmation.ts +0 -34
  621. package/src/models/operations/callback.ts +0 -89
  622. package/src/models/operations/cancel.ts +0 -34
  623. package/src/models/operations/check.ts +0 -29
  624. package/src/models/operations/create-bookings.ts +0 -162
  625. package/src/models/operations/create-contacts-v1.ts +0 -164
  626. package/src/models/operations/create-event-subscriptions.ts +0 -39
  627. package/src/models/operations/create-web-hook-tenant.ts +0 -135
  628. package/src/models/operations/create-webhook-config.ts +0 -135
  629. package/src/models/operations/create-webhook-end-user.ts +0 -176
  630. package/src/models/operations/delete-event-subscriptions.ts +0 -38
  631. package/src/models/operations/delete-registered-system.ts +0 -32
  632. package/src/models/operations/delete-webhook-end-user.ts +0 -68
  633. package/src/models/operations/delete-webhook-tenant.ts +0 -30
  634. package/src/models/operations/details.ts +0 -100
  635. package/src/models/operations/get-all-active-end-users.ts +0 -29
  636. package/src/models/operations/get-code.ts +0 -50
  637. package/src/models/operations/get-companies-flow.ts +0 -161
  638. package/src/models/operations/get-environment-page.ts +0 -63
  639. package/src/models/operations/get-submission-page-style-by-key.ts +0 -30
  640. package/src/models/operations/get-submission-page-style.ts +0 -59
  641. package/src/models/operations/get-submit-page.ts +0 -62
  642. package/src/models/operations/handle-callback.ts +0 -54
  643. package/src/models/operations/handle-configuration-callback.ts +0 -57
  644. package/src/models/operations/long-token.ts +0 -45
  645. package/src/models/operations/patch-line-item.ts +0 -174
  646. package/src/models/operations/set-end-user-selections.ts +0 -76
  647. package/src/models/operations/test.ts +0 -56
  648. package/src/models/operations/update-submission-page-style.ts +0 -29
  649. package/src/models/patch-line-item-request-dto.ts +0 -82
  650. package/src/models/submission-page-style-dto.ts +0 -54
  651. package/src/sdk/events.ts +0 -45
  652. package/src/sdk/health.ts +0 -41
@@ -1,77 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4-mini";
5
- import { encodeSimple } from "../lib/encodings.js";
6
- import * as M from "../lib/matchers.js";
7
- import { compactMap } from "../lib/primitives.js";
8
- import { safeParse } from "../lib/schemas.js";
9
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
10
- import { pathToFunc } from "../lib/url.js";
11
- import * as operations from "../models/operations/index.js";
12
- import { APIPromise } from "../types/async.js";
13
- export function eventsHandleConfigurationCallback(client, request, options) {
14
- return new APIPromise($do(client, request, options));
15
- }
16
- async function $do(client, request, options) {
17
- const parsed = safeParse(request, (value) => z.parse(operations.HandleConfigurationCallbackRequest$outboundSchema, value), "Input validation failed");
18
- if (!parsed.ok) {
19
- return [parsed, { status: "invalid" }];
20
- }
21
- const payload = parsed.value;
22
- const body = null;
23
- const pathParams = {
24
- code: encodeSimple("code", payload.code, {
25
- explode: false,
26
- charEncoding: "percent",
27
- }),
28
- };
29
- const path = pathToFunc("/configuration/callback/{code}")(pathParams);
30
- const headers = new Headers(compactMap({
31
- Accept: "application/json",
32
- }));
33
- const securityInput = await extractSecurity(client._options.security);
34
- const requestSecurity = resolveGlobalSecurity(securityInput);
35
- const context = {
36
- options: client._options,
37
- baseURL: options?.serverURL ?? client._baseURL ?? "",
38
- operationID: "handleConfigurationCallback",
39
- oAuth2Scopes: null,
40
- resolvedSecurity: requestSecurity,
41
- securitySource: client._options.security,
42
- retryConfig: options?.retries
43
- || client._options.retryConfig
44
- || { strategy: "none" },
45
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
46
- };
47
- const requestRes = client._createRequest(context, {
48
- security: requestSecurity,
49
- method: "POST",
50
- baseURL: options?.serverURL,
51
- path: path,
52
- headers: headers,
53
- body: body,
54
- userAgent: client._options.userAgent,
55
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
56
- }, options);
57
- if (!requestRes.ok) {
58
- return [requestRes, { status: "invalid" }];
59
- }
60
- const req = requestRes.value;
61
- const doResult = await client._do(req, {
62
- context,
63
- errorCodes: ["4XX", "5XX"],
64
- retryConfig: context.retryConfig,
65
- retryCodes: context.retryCodes,
66
- });
67
- if (!doResult.ok) {
68
- return [doResult, { status: "request-error", request: req }];
69
- }
70
- const response = doResult.value;
71
- const [result] = await M.match(M.json(202, operations.HandleConfigurationCallbackResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
72
- if (!result.ok) {
73
- return [result, { status: "complete", request: req, response }];
74
- }
75
- return [result, { status: "complete", request: req, response }];
76
- }
77
- //# sourceMappingURL=events-handle-configuration-callback.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"events-handle-configuration-callback.js","sourceRoot":"","sources":["../../src/funcs/events-handle-configuration-callback.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;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,CAAC,KAAK,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,iDAAiD,CAAC,EACzE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
@@ -1,17 +0,0 @@
1
- import { MaesnCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
4
- import { MaesnError } from "../models/errors/maesn-error.js";
5
- import { ResponseValidationError } from "../models/errors/response-validation-error.js";
6
- import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
7
- import * as operations from "../models/operations/index.js";
8
- import { APIPromise } from "../types/async.js";
9
- import { Result } from "../types/fp.js";
10
- /**
11
- * Health check
12
- *
13
- * @remarks
14
- * Returns 200 if the service is up.
15
- */
16
- export declare function healthCheck(client: MaesnCore, options?: RequestOptions): APIPromise<Result<operations.CheckResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
17
- //# sourceMappingURL=health-check.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"health-check.d.ts","sourceRoot":"","sources":["../../src/funcs/health-check.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,aAAa,EACtB,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -1,67 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as M from "../lib/matchers.js";
5
- import { compactMap } from "../lib/primitives.js";
6
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
7
- import { pathToFunc } from "../lib/url.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- /**
11
- * Health check
12
- *
13
- * @remarks
14
- * Returns 200 if the service is up.
15
- */
16
- export function healthCheck(client, options) {
17
- return new APIPromise($do(client, options));
18
- }
19
- async function $do(client, options) {
20
- const path = pathToFunc("/#5")();
21
- const headers = new Headers(compactMap({
22
- Accept: "application/json",
23
- }));
24
- const securityInput = await extractSecurity(client._options.security);
25
- const requestSecurity = resolveGlobalSecurity(securityInput);
26
- const context = {
27
- options: client._options,
28
- baseURL: options?.serverURL ?? client._baseURL ?? "",
29
- operationID: "check",
30
- oAuth2Scopes: null,
31
- resolvedSecurity: requestSecurity,
32
- securitySource: client._options.security,
33
- retryConfig: options?.retries
34
- || client._options.retryConfig
35
- || { strategy: "none" },
36
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
37
- };
38
- const requestRes = client._createRequest(context, {
39
- security: requestSecurity,
40
- method: "GET",
41
- baseURL: options?.serverURL,
42
- path: path,
43
- headers: headers,
44
- userAgent: client._options.userAgent,
45
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
46
- }, options);
47
- if (!requestRes.ok) {
48
- return [requestRes, { status: "invalid" }];
49
- }
50
- const req = requestRes.value;
51
- const doResult = await client._do(req, {
52
- context,
53
- errorCodes: ["4XX", "5XX"],
54
- retryConfig: context.retryConfig,
55
- retryCodes: context.retryCodes,
56
- });
57
- if (!doResult.ok) {
58
- return [doResult, { status: "request-error", request: req }];
59
- }
60
- const response = doResult.value;
61
- const [result] = await M.match(M.json(200, operations.CheckResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
62
- if (!result.ok) {
63
- return [result, { status: "complete", request: req, response }];
64
- }
65
- return [result, { status: "complete", request: req, response }];
66
- }
67
- //# sourceMappingURL=health-check.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"health-check.js","sourceRoot":"","sources":["../../src/funcs/health-check.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CACzB,MAAiB,EACjB,OAAwB,EAaxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAiB,EACjB,OAAwB,EAgBxB;IACA,MAAM,IAAI,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;IAEjC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;QACrC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC,CAAC;IAEJ,MAAM,aAAa,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,qBAAqB,CAAC,aAAa,CAAC,CAAC;IAE7D,MAAM,OAAO,GAAG;QACd,OAAO,EAAE,MAAM,CAAC,QAAQ;QACxB,OAAO,EAAE,OAAO,EAAE,SAAS,IAAI,MAAM,CAAC,QAAQ,IAAI,EAAE;QACpD,WAAW,EAAE,OAAO;QACpB,YAAY,EAAE,IAAI;QAElB,gBAAgB,EAAE,eAAe;QAEjC,cAAc,E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AK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,2BAA2B,CAAC,EACnD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
@@ -1,18 +0,0 @@
1
- import { MaesnCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
4
- import * as errors from "../models/errors/index.js";
5
- import { MaesnError } from "../models/errors/maesn-error.js";
6
- import { ResponseValidationError } from "../models/errors/response-validation-error.js";
7
- import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- import { Result } from "../types/fp.js";
11
- /**
12
- * Detailed health check
13
- *
14
- * @remarks
15
- * Returns database connectivity status. Requires admin token.
16
- */
17
- export declare function healthDetails(client: MaesnCore, options?: RequestOptions): APIPromise<Result<operations.DetailsResponse, errors.ServiceUnavailableError | MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
- //# sourceMappingURL=health-details.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"health-details.d.ts","sourceRoot":"","sources":["../../src/funcs/health-details.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,eAAe,EACxB,MAAM,CAAC,uBAAuB,GAC9B,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -1,71 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as M from "../lib/matchers.js";
5
- import { compactMap } from "../lib/primitives.js";
6
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
7
- import { pathToFunc } from "../lib/url.js";
8
- import * as errors from "../models/errors/index.js";
9
- import * as operations from "../models/operations/index.js";
10
- import { APIPromise } from "../types/async.js";
11
- /**
12
- * Detailed health check
13
- *
14
- * @remarks
15
- * Returns database connectivity status. Requires admin token.
16
- */
17
- export function healthDetails(client, options) {
18
- return new APIPromise($do(client, options));
19
- }
20
- async function $do(client, options) {
21
- const path = pathToFunc("/details")();
22
- const headers = new Headers(compactMap({
23
- Accept: "application/json",
24
- }));
25
- const securityInput = await extractSecurity(client._options.security);
26
- const requestSecurity = resolveGlobalSecurity(securityInput);
27
- const context = {
28
- options: client._options,
29
- baseURL: options?.serverURL ?? client._baseURL ?? "",
30
- operationID: "details",
31
- oAuth2Scopes: null,
32
- resolvedSecurity: requestSecurity,
33
- securitySource: client._options.security,
34
- retryConfig: options?.retries
35
- || client._options.retryConfig
36
- || { strategy: "none" },
37
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
38
- };
39
- const requestRes = client._createRequest(context, {
40
- security: requestSecurity,
41
- method: "GET",
42
- baseURL: options?.serverURL,
43
- path: path,
44
- headers: headers,
45
- userAgent: client._options.userAgent,
46
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
47
- }, options);
48
- if (!requestRes.ok) {
49
- return [requestRes, { status: "invalid" }];
50
- }
51
- const req = requestRes.value;
52
- const doResult = await client._do(req, {
53
- context,
54
- errorCodes: ["4XX", "503", "5XX"],
55
- retryConfig: context.retryConfig,
56
- retryCodes: context.retryCodes,
57
- });
58
- if (!doResult.ok) {
59
- return [doResult, { status: "request-error", request: req }];
60
- }
61
- const response = doResult.value;
62
- const responseFields = {
63
- HttpMeta: { Response: response, Request: req },
64
- };
65
- const [result] = await M.match(M.json(200, operations.DetailsResponse$inboundSchema), M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
66
- if (!result.ok) {
67
- return [result, { status: "complete", request: req, response }];
68
- }
69
- return [result, { status: "complete", request: req, response }];
70
- }
71
- //# sourceMappingURL=health-details.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"health-details.js","sourceRoot":"","sources":["../../src/funcs/health-details.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH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CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAY5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,6BAA6B,CAAC,EACrD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,qCAAqC,CAAC,EAC5D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
@@ -1,11 +0,0 @@
1
- import { MaesnCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
4
- import { MaesnError } from "../models/errors/maesn-error.js";
5
- import { ResponseValidationError } from "../models/errors/response-validation-error.js";
6
- import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
7
- import * as models from "../models/index.js";
8
- import { APIPromise } from "../types/async.js";
9
- import { Result } from "../types/fp.js";
10
- export declare function tenantsCountEndUsersBySystem(client: MaesnCore, options?: RequestOptions): APIPromise<Result<models.BaseResponseDto, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
11
- //# sourceMappingURL=tenants-count-end-users-by-system.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tenants-count-end-users-by-system.d.ts","sourceRoot":"","sources":["../../src/funcs/tenants-count-end-users-by-system.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,eAAe,EACpB,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -1,61 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as M from "../lib/matchers.js";
5
- import { compactMap } from "../lib/primitives.js";
6
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
7
- import { pathToFunc } from "../lib/url.js";
8
- import * as models from "../models/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- export function tenantsCountEndUsersBySystem(client, options) {
11
- return new APIPromise($do(client, options));
12
- }
13
- async function $do(client, options) {
14
- const path = pathToFunc("/count-end-users-by-system")();
15
- const headers = new Headers(compactMap({
16
- Accept: "application/json",
17
- }));
18
- const securityInput = await extractSecurity(client._options.security);
19
- const requestSecurity = resolveGlobalSecurity(securityInput);
20
- const context = {
21
- options: client._options,
22
- baseURL: options?.serverURL ?? client._baseURL ?? "",
23
- operationID: "countEndUsersBySystem",
24
- oAuth2Scopes: null,
25
- resolvedSecurity: requestSecurity,
26
- securitySource: client._options.security,
27
- retryConfig: options?.retries
28
- || client._options.retryConfig
29
- || { strategy: "none" },
30
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
31
- };
32
- const requestRes = client._createRequest(context, {
33
- security: requestSecurity,
34
- method: "GET",
35
- baseURL: options?.serverURL,
36
- path: path,
37
- headers: headers,
38
- userAgent: client._options.userAgent,
39
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
40
- }, options);
41
- if (!requestRes.ok) {
42
- return [requestRes, { status: "invalid" }];
43
- }
44
- const req = requestRes.value;
45
- const doResult = await client._do(req, {
46
- context,
47
- errorCodes: ["4XX", "5XX"],
48
- retryConfig: context.retryConfig,
49
- retryCodes: context.retryCodes,
50
- });
51
- if (!doResult.ok) {
52
- return [doResult, { status: "request-error", request: req }];
53
- }
54
- const response = doResult.value;
55
- const [result] = await M.match(M.json(200, models.BaseResponseDto$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
56
- if (!result.ok) {
57
- return [result, { status: "complete", request: req, response }];
58
- }
59
- return [result, { status: "complete", request: req, response }];
60
- }
61
- //# sourceMappingURL=tenants-count-end-users-by-system.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tenants-count-end-users-by-system.js","sourceRoot":"","sources":["../../src/funcs/tenants-count-end-users-by-system.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAA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AE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
@@ -1,11 +0,0 @@
1
- import { MaesnCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
4
- import { MaesnError } from "../models/errors/maesn-error.js";
5
- import { ResponseValidationError } from "../models/errors/response-validation-error.js";
6
- import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
7
- import * as operations from "../models/operations/index.js";
8
- import { APIPromise } from "../types/async.js";
9
- import { Result } from "../types/fp.js";
10
- export declare function tenantsDeleteRegisteredSystem(client: MaesnCore, request: operations.DeleteRegisteredSystemRequest, options?: RequestOptions): APIPromise<Result<string, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
11
- //# sourceMappingURL=tenants-delete-registered-system.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tenants-delete-registered-system.d.ts","sourceRoot":"","sources":["../../src/funcs/tenants-delete-registered-system.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,EACJ,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1,78 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4-mini";
5
- import { encodeSimple } from "../lib/encodings.js";
6
- import * as M from "../lib/matchers.js";
7
- import { compactMap } from "../lib/primitives.js";
8
- import { safeParse } from "../lib/schemas.js";
9
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
10
- import { pathToFunc } from "../lib/url.js";
11
- import * as operations from "../models/operations/index.js";
12
- import { APIPromise } from "../types/async.js";
13
- import * as types$ from "../types/primitives.js";
14
- export function tenantsDeleteRegisteredSystem(client, request, options) {
15
- return new APIPromise($do(client, request, options));
16
- }
17
- async function $do(client, request, options) {
18
- const parsed = safeParse(request, (value) => z.parse(operations.DeleteRegisteredSystemRequest$outboundSchema, value), "Input validation failed");
19
- if (!parsed.ok) {
20
- return [parsed, { status: "invalid" }];
21
- }
22
- const payload = parsed.value;
23
- const body = null;
24
- const pathParams = {
25
- targetSystem: encodeSimple("targetSystem", payload.targetSystem, {
26
- explode: false,
27
- charEncoding: "percent",
28
- }),
29
- };
30
- const path = pathToFunc("/delete-registered-system/{targetSystem}")(pathParams);
31
- const headers = new Headers(compactMap({
32
- Accept: "application/json",
33
- }));
34
- const securityInput = await extractSecurity(client._options.security);
35
- const requestSecurity = resolveGlobalSecurity(securityInput);
36
- const context = {
37
- options: client._options,
38
- baseURL: options?.serverURL ?? client._baseURL ?? "",
39
- operationID: "deleteRegisteredSystem",
40
- oAuth2Scopes: null,
41
- resolvedSecurity: requestSecurity,
42
- securitySource: client._options.security,
43
- retryConfig: options?.retries
44
- || client._options.retryConfig
45
- || { strategy: "none" },
46
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
47
- };
48
- const requestRes = client._createRequest(context, {
49
- security: requestSecurity,
50
- method: "DELETE",
51
- baseURL: options?.serverURL,
52
- path: path,
53
- headers: headers,
54
- body: body,
55
- userAgent: client._options.userAgent,
56
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
57
- }, options);
58
- if (!requestRes.ok) {
59
- return [requestRes, { status: "invalid" }];
60
- }
61
- const req = requestRes.value;
62
- const doResult = await client._do(req, {
63
- context,
64
- errorCodes: ["4XX", "5XX"],
65
- retryConfig: context.retryConfig,
66
- retryCodes: context.retryCodes,
67
- });
68
- if (!doResult.ok) {
69
- return [doResult, { status: "request-error", request: req }];
70
- }
71
- const response = doResult.value;
72
- const [result] = await M.match(M.json(200, types$.string()), M.fail("4XX"), M.fail("5XX"))(response, req);
73
- if (!result.ok) {
74
- return [result, { status: "complete", request: req, response }];
75
- }
76
- return [result, { status: "complete", request: req, response }];
77
- }
78
- //# sourceMappingURL=tenants-delete-registered-system.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tenants-delete-registered-system.js","sourceRoot":"","sources":["../../src/funcs/tenants-delete-registered-system.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO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AG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,EAC5B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
@@ -1,11 +0,0 @@
1
- import { MaesnCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
4
- import { MaesnError } from "../models/errors/maesn-error.js";
5
- import { ResponseValidationError } from "../models/errors/response-validation-error.js";
6
- import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
7
- import * as operations from "../models/operations/index.js";
8
- import { APIPromise } from "../types/async.js";
9
- import { Result } from "../types/fp.js";
10
- export declare function tenantsGetAllActiveEndUsers(client: MaesnCore, options?: RequestOptions): APIPromise<Result<operations.GetAllActiveEndUsersResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
11
- //# sourceMappingURL=tenants-get-all-active-end-users.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tenants-get-all-active-end-users.d.ts","sourceRoot":"","sources":["../../src/funcs/tenants-get-all-active-end-users.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,4BAA4B,EACrC,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -1,61 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as M from "../lib/matchers.js";
5
- import { compactMap } from "../lib/primitives.js";
6
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
7
- import { pathToFunc } from "../lib/url.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- export function tenantsGetAllActiveEndUsers(client, options) {
11
- return new APIPromise($do(client, options));
12
- }
13
- async function $do(client, options) {
14
- const path = pathToFunc("/get-all-active-end-users")();
15
- const headers = new Headers(compactMap({
16
- Accept: "application/json",
17
- }));
18
- const securityInput = await extractSecurity(client._options.security);
19
- const requestSecurity = resolveGlobalSecurity(securityInput);
20
- const context = {
21
- options: client._options,
22
- baseURL: options?.serverURL ?? client._baseURL ?? "",
23
- operationID: "getAllActiveEndUsers",
24
- oAuth2Scopes: null,
25
- resolvedSecurity: requestSecurity,
26
- securitySource: client._options.security,
27
- retryConfig: options?.retries
28
- || client._options.retryConfig
29
- || { strategy: "none" },
30
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
31
- };
32
- const requestRes = client._createRequest(context, {
33
- security: requestSecurity,
34
- method: "GET",
35
- baseURL: options?.serverURL,
36
- path: path,
37
- headers: headers,
38
- userAgent: client._options.userAgent,
39
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
40
- }, options);
41
- if (!requestRes.ok) {
42
- return [requestRes, { status: "invalid" }];
43
- }
44
- const req = requestRes.value;
45
- const doResult = await client._do(req, {
46
- context,
47
- errorCodes: ["4XX", "5XX"],
48
- retryConfig: context.retryConfig,
49
- retryCodes: context.retryCodes,
50
- });
51
- if (!doResult.ok) {
52
- return [doResult, { status: "request-error", request: req }];
53
- }
54
- const response = doResult.value;
55
- const [result] = await M.match(M.json(200, operations.GetAllActiveEndUsersResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
56
- if (!result.ok) {
57
- return [result, { status: "complete", request: req, response }];
58
- }
59
- return [result, { status: "complete", request: req, response }];
60
- }
61
- //# sourceMappingURL=tenants-get-all-active-end-users.js.map
@@ -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AAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,0CAA0C,CAAC,EAClE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
@@ -1,11 +0,0 @@
1
- import { MaesnCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
4
- import { MaesnError } from "../models/errors/maesn-error.js";
5
- import { ResponseValidationError } from "../models/errors/response-validation-error.js";
6
- import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
7
- import * as models from "../models/index.js";
8
- import { APIPromise } from "../types/async.js";
9
- import { Result } from "../types/fp.js";
10
- export declare function tenantsGetCallbackUrl(client: MaesnCore, options?: RequestOptions): APIPromise<Result<models.BaseResponseDto, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
11
- //# sourceMappingURL=tenants-get-callback-url.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tenants-get-callback-url.d.ts","sourceRoot":"","sources":["../../src/funcs/tenants-get-callback-url.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,eAAe,EACpB,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}