@outseta/api-client 0.2.1 → 0.2.2

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 (495) hide show
  1. package/package.json +1 -1
  2. package/src/generated/activity/activity.ts +0 -220
  3. package/src/generated/billing/billing.ts +0 -220
  4. package/src/generated/crm/crm.ts +0 -220
  5. package/src/generated/email/email.ts +0 -220
  6. package/src/generated/models/abstractBean.ts +2 -220
  7. package/src/generated/models/abstractQcountBean.ts +0 -220
  8. package/src/generated/models/abstractQcountBeanAllOf.ts +0 -220
  9. package/src/generated/models/abstractQcountBeanAllOfActivityEventData.ts +0 -220
  10. package/src/generated/models/abstractSchemaLessBean.ts +0 -220
  11. package/src/generated/models/abstractSchemaLessBeanAllOf.ts +0 -220
  12. package/src/generated/models/abstractSchemaLessBeanAllOfSchemaLessData.ts +0 -220
  13. package/src/generated/models/abstractStripeBeanOfCharge.ts +0 -220
  14. package/src/generated/models/abstractStripeBeanOfChargeAllOf.ts +0 -220
  15. package/src/generated/models/abstractStripeBeanOfCoupon.ts +0 -220
  16. package/src/generated/models/abstractStripeBeanOfCouponAllOf.ts +0 -220
  17. package/src/generated/models/abstractStripeBeanOfCreditNote.ts +0 -220
  18. package/src/generated/models/abstractStripeBeanOfCreditNoteAllOf.ts +0 -220
  19. package/src/generated/models/abstractStripeBeanOfCustomer.ts +0 -220
  20. package/src/generated/models/abstractStripeBeanOfCustomerAllOf.ts +0 -220
  21. package/src/generated/models/abstractStripeBeanOfDiscount.ts +0 -220
  22. package/src/generated/models/abstractStripeBeanOfDiscountAllOf.ts +0 -220
  23. package/src/generated/models/abstractStripeBeanOfInvoice.ts +0 -220
  24. package/src/generated/models/abstractStripeBeanOfInvoiceAllOf.ts +0 -220
  25. package/src/generated/models/abstractStripeBeanOfInvoiceLineItem.ts +0 -220
  26. package/src/generated/models/abstractStripeBeanOfInvoiceLineItemAllOf.ts +0 -220
  27. package/src/generated/models/abstractStripeBeanOfInvoicePayment.ts +0 -220
  28. package/src/generated/models/abstractStripeBeanOfInvoicePaymentAllOf.ts +0 -220
  29. package/src/generated/models/abstractStripeBeanOfMeter.ts +0 -220
  30. package/src/generated/models/abstractStripeBeanOfMeterAllOf.ts +0 -220
  31. package/src/generated/models/abstractStripeBeanOfPaymentMethod.ts +0 -220
  32. package/src/generated/models/abstractStripeBeanOfPaymentMethodAllOf.ts +0 -220
  33. package/src/generated/models/abstractStripeBeanOfPrice.ts +0 -220
  34. package/src/generated/models/abstractStripeBeanOfPriceAllOf.ts +0 -220
  35. package/src/generated/models/abstractStripeBeanOfProduct.ts +0 -220
  36. package/src/generated/models/abstractStripeBeanOfProductAllOf.ts +0 -220
  37. package/src/generated/models/abstractStripeBeanOfPromotionCode.ts +0 -220
  38. package/src/generated/models/abstractStripeBeanOfPromotionCodeAllOf.ts +0 -220
  39. package/src/generated/models/abstractStripeBeanOfRefund.ts +0 -220
  40. package/src/generated/models/abstractStripeBeanOfRefundAllOf.ts +0 -220
  41. package/src/generated/models/abstractStripeBeanOfSubscription.ts +0 -220
  42. package/src/generated/models/abstractStripeBeanOfSubscriptionAllOf.ts +0 -220
  43. package/src/generated/models/abstractStripeBeanOfSubscriptionItem.ts +0 -220
  44. package/src/generated/models/abstractStripeBeanOfSubscriptionItemAllOf.ts +0 -220
  45. package/src/generated/models/abstractStripeBeanOfSubscriptionSchedule.ts +0 -220
  46. package/src/generated/models/abstractStripeBeanOfSubscriptionScheduleAllOf.ts +0 -220
  47. package/src/generated/models/abstractStripeBeanOfSubscriptionSchedulePhase.ts +0 -220
  48. package/src/generated/models/abstractStripeBeanOfSubscriptionSchedulePhaseAllOf.ts +0 -220
  49. package/src/generated/models/abstractStripeBeanOfSubscriptionSchedulePhaseItem.ts +0 -220
  50. package/src/generated/models/abstractStripeBeanOfSubscriptionSchedulePhaseItemAllOf.ts +0 -220
  51. package/src/generated/models/abstractStripeBeanOfTaxId.ts +0 -220
  52. package/src/generated/models/abstractStripeBeanOfTaxIdAllOf.ts +0 -220
  53. package/src/generated/models/acceptTermsAndConditionsLocations.ts +0 -220
  54. package/src/generated/models/account.ts +0 -220
  55. package/src/generated/models/accountAddAccountBody.ts +0 -220
  56. package/src/generated/models/accountAddAccountParams.ts +0 -220
  57. package/src/generated/models/accountAddPersonToAccountBody.ts +0 -220
  58. package/src/generated/models/accountAllOf.ts +0 -220
  59. package/src/generated/models/accountAllOfBillingAddress.ts +0 -220
  60. package/src/generated/models/accountAllOfCurrentSubscription.ts +0 -220
  61. package/src/generated/models/accountAllOfLatestSubscription.ts +0 -220
  62. package/src/generated/models/accountAllOfMailingAddress.ts +0 -220
  63. package/src/generated/models/accountAllOfPaymentInformation.ts +0 -220
  64. package/src/generated/models/accountAllOfPrimaryContact.ts +0 -220
  65. package/src/generated/models/accountAllOfPrimaryStripeSubscription.ts +0 -220
  66. package/src/generated/models/accountAllOfPrimarySubscription.ts +0 -220
  67. package/src/generated/models/accountCancelAccountBody.ts +0 -220
  68. package/src/generated/models/accountCancelation.ts +0 -220
  69. package/src/generated/models/accountCancelationAllOf.ts +0 -220
  70. package/src/generated/models/accountCancelationAllOfAccount.ts +0 -220
  71. package/src/generated/models/accountCancelationAllOfLastPlan.ts +0 -220
  72. package/src/generated/models/accountExtendTrialBody.ts +0 -220
  73. package/src/generated/models/accountGetAllAccountsParams.ts +0 -220
  74. package/src/generated/models/accountRegistrationMode.ts +0 -220
  75. package/src/generated/models/accountStage.ts +0 -220
  76. package/src/generated/models/accountTaxId.ts +0 -220
  77. package/src/generated/models/accountTaxIdAllOf.ts +0 -220
  78. package/src/generated/models/accountTaxIdAllOfAccount.ts +0 -220
  79. package/src/generated/models/accountUpdateAccountBody.ts +0 -220
  80. package/src/generated/models/accountUpdateMembershipBody.ts +0 -220
  81. package/src/generated/models/activity.ts +0 -220
  82. package/src/generated/models/activityAddCustomActivityBody.ts +0 -220
  83. package/src/generated/models/activityAllOf.ts +0 -220
  84. package/src/generated/models/activityCRMDealTrigger.ts +0 -220
  85. package/src/generated/models/activityCRMDealTriggerAllOf.ts +0 -220
  86. package/src/generated/models/activityCRMDealTriggerAllOfDealPipelineStage.ts +0 -220
  87. package/src/generated/models/activityCriteria.ts +0 -220
  88. package/src/generated/models/activityCriteriaActivityType.ts +0 -220
  89. package/src/generated/models/activityGetAllParams.ts +0 -220
  90. package/src/generated/models/activityNotification.ts +0 -220
  91. package/src/generated/models/activityNotificationAllOf.ts +0 -220
  92. package/src/generated/models/activityType.ts +0 -220
  93. package/src/generated/models/addOn.ts +0 -220
  94. package/src/generated/models/addOnAllOf.ts +0 -220
  95. package/src/generated/models/address.ts +0 -220
  96. package/src/generated/models/addressAllOf.ts +0 -220
  97. package/src/generated/models/apiKey.ts +0 -220
  98. package/src/generated/models/apiKeyAllOf.ts +0 -225
  99. package/src/generated/models/apiKeyAllOfQcount.ts +0 -220
  100. package/src/generated/models/apiKeyType.ts +0 -220
  101. package/src/generated/models/article.ts +0 -220
  102. package/src/generated/models/articleAllOf.ts +0 -220
  103. package/src/generated/models/articleAllOfCategory.ts +0 -220
  104. package/src/generated/models/articleGetAllArticlesParams.ts +0 -220
  105. package/src/generated/models/backGroundTaskType.ts +0 -220
  106. package/src/generated/models/billSettings.ts +0 -220
  107. package/src/generated/models/billSettingsAllOf.ts +0 -220
  108. package/src/generated/models/billingAddOnType.ts +0 -220
  109. package/src/generated/models/billingDiscountDuration.ts +0 -220
  110. package/src/generated/models/billingInvoiceStatus.ts +0 -220
  111. package/src/generated/models/billingRenewalTerm.ts +0 -220
  112. package/src/generated/models/billingSystem.ts +0 -220
  113. package/src/generated/models/billingTransactionType.ts +0 -220
  114. package/src/generated/models/broadcastCampaign.ts +0 -220
  115. package/src/generated/models/broadcastCampaignAllOf.ts +0 -220
  116. package/src/generated/models/broadcastCampaignAllOfCampaign.ts +0 -220
  117. package/src/generated/models/broadcastCampaignAllOfMessage.ts +0 -220
  118. package/src/generated/models/broadcastCampaignStatus.ts +0 -220
  119. package/src/generated/models/campaign.ts +0 -220
  120. package/src/generated/models/campaignAddBroadcastEmailBody.ts +0 -220
  121. package/src/generated/models/campaignAllOf.ts +0 -220
  122. package/src/generated/models/campaignSendTestCampaignEmailBody.ts +0 -220
  123. package/src/generated/models/campaignType.ts +0 -220
  124. package/src/generated/models/campaignUpdateBroadcastEmailBody.ts +0 -220
  125. package/src/generated/models/cancelationStatus.ts +0 -220
  126. package/src/generated/models/case.ts +0 -220
  127. package/src/generated/models/caseAddCaseBody.ts +0 -220
  128. package/src/generated/models/caseAddCaseParams.ts +0 -220
  129. package/src/generated/models/caseAllOf.ts +0 -220
  130. package/src/generated/models/caseAllOfLastCaseHistory.ts +0 -220
  131. package/src/generated/models/caseGetAllCasesParams.ts +0 -220
  132. package/src/generated/models/caseHistory.ts +0 -220
  133. package/src/generated/models/caseHistoryAllOf.ts +0 -220
  134. package/src/generated/models/caseTag.ts +0 -220
  135. package/src/generated/models/caseTagAllOf.ts +0 -220
  136. package/src/generated/models/caseTagAllOfCase.ts +0 -220
  137. package/src/generated/models/caseTagAllOfTag.ts +0 -220
  138. package/src/generated/models/category.ts +0 -220
  139. package/src/generated/models/categoryAllOf.ts +0 -220
  140. package/src/generated/models/chatSettings.ts +0 -220
  141. package/src/generated/models/chatSettingsAllOf.ts +0 -220
  142. package/src/generated/models/clientApplication.ts +0 -220
  143. package/src/generated/models/clientApplicationAllOf.ts +0 -220
  144. package/src/generated/models/contentGroup.ts +0 -220
  145. package/src/generated/models/contentGroupAllOf.ts +0 -220
  146. package/src/generated/models/contentGroupItem.ts +0 -220
  147. package/src/generated/models/contentGroupItemAllOf.ts +0 -220
  148. package/src/generated/models/contentGroupItemMatchMode.ts +0 -220
  149. package/src/generated/models/crmSettings.ts +0 -220
  150. package/src/generated/models/crmSettingsAllOf.ts +0 -220
  151. package/src/generated/models/crmSettingsAllOfEmailList.ts +0 -220
  152. package/src/generated/models/database.ts +0 -220
  153. package/src/generated/models/databaseAllOf.ts +0 -220
  154. package/src/generated/models/databaseType.ts +0 -220
  155. package/src/generated/models/deal.ts +0 -220
  156. package/src/generated/models/dealAddDealBody.ts +0 -220
  157. package/src/generated/models/dealAllOf.ts +0 -220
  158. package/src/generated/models/dealAllOfAccount.ts +0 -220
  159. package/src/generated/models/dealAllOfDealPipelineStage.ts +0 -220
  160. package/src/generated/models/dealAllOfOwner.ts +0 -220
  161. package/src/generated/models/dealGetAllDealsParams.ts +0 -220
  162. package/src/generated/models/dealPerson.ts +0 -220
  163. package/src/generated/models/dealPersonAllOf.ts +0 -220
  164. package/src/generated/models/dealPersonAllOfDeal.ts +0 -220
  165. package/src/generated/models/dealPersonAllOfPerson.ts +0 -220
  166. package/src/generated/models/dealPipeline.ts +0 -220
  167. package/src/generated/models/dealPipelineAllOf.ts +0 -220
  168. package/src/generated/models/dealPipelineStage.ts +0 -220
  169. package/src/generated/models/dealPipelineStageAllOf.ts +0 -220
  170. package/src/generated/models/dealPipelineStageAllOfDealPipeline.ts +0 -220
  171. package/src/generated/models/dealUpdateDealBody.ts +0 -220
  172. package/src/generated/models/definition.ts +0 -220
  173. package/src/generated/models/definitionAllOf.ts +0 -220
  174. package/src/generated/models/deserializationStatus.ts +0 -220
  175. package/src/generated/models/discordRole.ts +0 -220
  176. package/src/generated/models/discordRoleAllOf.ts +0 -220
  177. package/src/generated/models/discordRoleAllOfDiscordServer.ts +0 -220
  178. package/src/generated/models/discordRolePlan.ts +0 -220
  179. package/src/generated/models/discordRolePlanAllOf.ts +0 -220
  180. package/src/generated/models/discordRolePlanAllOfDiscordRole.ts +0 -220
  181. package/src/generated/models/discordRolePlanAllOfPlan.ts +0 -220
  182. package/src/generated/models/discordServer.ts +0 -220
  183. package/src/generated/models/discordServerAllOf.ts +0 -220
  184. package/src/generated/models/discordUser.ts +0 -220
  185. package/src/generated/models/discordUserAllOf.ts +0 -220
  186. package/src/generated/models/discountCoupon.ts +0 -220
  187. package/src/generated/models/discountCouponAddDiscountCouponBody.ts +0 -220
  188. package/src/generated/models/discountCouponAllOf.ts +0 -220
  189. package/src/generated/models/discountCouponPlan.ts +0 -220
  190. package/src/generated/models/discountCouponPlanAllOf.ts +0 -220
  191. package/src/generated/models/discountCouponPlanAllOfDiscountCoupon.ts +0 -220
  192. package/src/generated/models/discountCouponPlanAllOfPlan.ts +0 -220
  193. package/src/generated/models/discountCouponSubscription.ts +0 -220
  194. package/src/generated/models/discountCouponSubscriptionAllOf.ts +0 -220
  195. package/src/generated/models/discountCouponSubscriptionAllOfDiscountCoupon.ts +0 -220
  196. package/src/generated/models/discountCouponSubscriptionAllOfSubscription.ts +0 -220
  197. package/src/generated/models/dnsEntry.ts +0 -220
  198. package/src/generated/models/dripCampaign.ts +0 -220
  199. package/src/generated/models/dripCampaignAllOf.ts +0 -220
  200. package/src/generated/models/dripCampaignAllOfCampaign.ts +0 -220
  201. package/src/generated/models/dripCampaignMessage.ts +0 -220
  202. package/src/generated/models/dripCampaignMessageAllOf.ts +0 -220
  203. package/src/generated/models/dripCampaignMessageAllOfDripCampaign.ts +0 -220
  204. package/src/generated/models/dripCampaignMessageAllOfMessage.ts +0 -220
  205. package/src/generated/models/emailLink.ts +0 -220
  206. package/src/generated/models/emailLinkAllOf.ts +0 -220
  207. package/src/generated/models/emailList.ts +0 -220
  208. package/src/generated/models/emailListAddSubscriptionBody.ts +0 -220
  209. package/src/generated/models/emailListAllOf.ts +0 -220
  210. package/src/generated/models/emailListGetAllSubscriptionsParams.ts +0 -220
  211. package/src/generated/models/emailListPerson.ts +0 -220
  212. package/src/generated/models/emailListPersonAllOf.ts +0 -220
  213. package/src/generated/models/emailListPersonAllOfEmailList.ts +0 -220
  214. package/src/generated/models/emailListPersonAllOfPerson.ts +0 -220
  215. package/src/generated/models/emailListSubscriberStatus.ts +0 -220
  216. package/src/generated/models/emailSubscriptionsPayload.ts +0 -220
  217. package/src/generated/models/entityType.ts +0 -220
  218. package/src/generated/models/extendRenewalParams.ts +0 -220
  219. package/src/generated/models/extendSubscriptionOptions.ts +0 -220
  220. package/src/generated/models/extendTrialParams.ts +0 -220
  221. package/src/generated/models/flatfileImportData.ts +0 -220
  222. package/src/generated/models/flatfileImportDataSchemalessData.ts +0 -220
  223. package/src/generated/models/index.ts +26 -221
  224. package/src/generated/models/invoice.ts +0 -220
  225. package/src/generated/models/invoiceAddInvoiceBody.ts +0 -220
  226. package/src/generated/models/invoiceAllOf.ts +0 -220
  227. package/src/generated/models/invoiceAllOfSubscription.ts +0 -220
  228. package/src/generated/models/invoiceCreditOptions.ts +0 -220
  229. package/src/generated/models/invoiceLineItem.ts +0 -220
  230. package/src/generated/models/invoiceLineItemAllOf.ts +0 -220
  231. package/src/generated/models/invoiceLineItemAllOfInvoice.ts +0 -220
  232. package/src/generated/models/invoiceLineItemAllOfLineItemType.ts +0 -220
  233. package/src/generated/models/invoiceStatusChangeOptions.ts +0 -220
  234. package/src/generated/models/jwtKey.ts +0 -220
  235. package/src/generated/models/jwtKeyAllOf.ts +0 -225
  236. package/src/generated/models/jwtKeyAllOfQcount.ts +0 -220
  237. package/src/generated/models/leadForm.ts +0 -220
  238. package/src/generated/models/leadFormAllOf.ts +0 -220
  239. package/src/generated/models/leadFormAllOfDealPipelineStage.ts +0 -220
  240. package/src/generated/models/leadFormSubmission.ts +0 -220
  241. package/src/generated/models/leadFormSubmissionAllOf.ts +0 -220
  242. package/src/generated/models/lineItemType.ts +0 -220
  243. package/src/generated/models/message.ts +0 -220
  244. package/src/generated/models/messageAllOf.ts +0 -220
  245. package/src/generated/models/messageAllOfTemplate.ts +0 -220
  246. package/src/generated/models/noCodeSettings.ts +0 -220
  247. package/src/generated/models/noCodeSettingsAllOf.ts +0 -220
  248. package/src/generated/models/noCodeSettingsAllOfAccount.ts +0 -220
  249. package/src/generated/models/oAuthService.ts +0 -220
  250. package/src/generated/models/passwordChangeModel.ts +0 -220
  251. package/src/generated/models/passwordPayload.ts +0 -220
  252. package/src/generated/models/pauseCollectionOptions.ts +0 -220
  253. package/src/generated/models/paymentInformation.ts +0 -220
  254. package/src/generated/models/paymentInformationAllOf.ts +0 -220
  255. package/src/generated/models/paymentInformationSavePaymentInformationBody.ts +0 -220
  256. package/src/generated/models/paymentsGatewayActivationStatus.ts +0 -220
  257. package/src/generated/models/paymentsMode.ts +0 -220
  258. package/src/generated/models/person.ts +0 -220
  259. package/src/generated/models/personAccount.ts +0 -220
  260. package/src/generated/models/personAccountAllOf.ts +0 -220
  261. package/src/generated/models/personAccountAllOfAccount.ts +0 -220
  262. package/src/generated/models/personAccountAllOfPerson.ts +0 -220
  263. package/src/generated/models/personAddPersonBody.ts +0 -220
  264. package/src/generated/models/personAllOf.ts +0 -230
  265. package/src/generated/models/personAllOfAccount.ts +0 -220
  266. package/src/generated/models/personAllOfDiscordUser.ts +0 -220
  267. package/src/generated/models/personAllOfMailingAddress.ts +0 -220
  268. package/src/generated/models/personForgotPasswordBody.ts +0 -220
  269. package/src/generated/models/personGetAllPeopleParams.ts +0 -220
  270. package/src/generated/models/personSegmentAddedActivityData.ts +11 -0
  271. package/src/generated/models/personSegmentAddedWebhookPayload.ts +123 -0
  272. package/src/generated/models/personSegmentAddedWebhookPayloadAccount.ts +141 -0
  273. package/src/generated/models/personSegmentAddedWebhookPayloadAccountAccountStage.ts +20 -0
  274. package/src/generated/models/personSegmentAddedWebhookPayloadDealPeopleItem.ts +15 -0
  275. package/src/generated/models/personSegmentAddedWebhookPayloadDiscordUser.ts +35 -0
  276. package/src/generated/models/personSegmentAddedWebhookPayloadEmailListPersonItem.ts +48 -0
  277. package/src/generated/models/personSegmentAddedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts +15 -0
  278. package/src/generated/models/personSegmentAddedWebhookPayloadLeadFormSubmissionsItem.ts +21 -0
  279. package/src/generated/models/personSegmentAddedWebhookPayloadMailingAddress.ts +58 -0
  280. package/src/generated/models/personSegmentAddedWebhookPayloadOAuthIntegrationStatus.ts +13 -0
  281. package/src/generated/models/personSegmentAddedWebhookPayloadPersonAccountItem.ts +20 -0
  282. package/src/generated/models/personSegmentAddedWebhookPayloadPersonAccountItemAccount.ts +14 -0
  283. package/src/generated/models/personSegmentRemovedActivityData.ts +11 -0
  284. package/src/generated/models/personSegmentRemovedWebhookPayload.ts +123 -0
  285. package/src/generated/models/personSegmentRemovedWebhookPayloadAccount.ts +141 -0
  286. package/src/generated/models/personSegmentRemovedWebhookPayloadAccountAccountStage.ts +20 -0
  287. package/src/generated/models/personSegmentRemovedWebhookPayloadDealPeopleItem.ts +15 -0
  288. package/src/generated/models/personSegmentRemovedWebhookPayloadDiscordUser.ts +35 -0
  289. package/src/generated/models/personSegmentRemovedWebhookPayloadEmailListPersonItem.ts +48 -0
  290. package/src/generated/models/personSegmentRemovedWebhookPayloadEmailListPersonItemEmailListSubscriberStatus.ts +15 -0
  291. package/src/generated/models/personSegmentRemovedWebhookPayloadLeadFormSubmissionsItem.ts +21 -0
  292. package/src/generated/models/personSegmentRemovedWebhookPayloadMailingAddress.ts +58 -0
  293. package/src/generated/models/personSegmentRemovedWebhookPayloadOAuthIntegrationStatus.ts +13 -0
  294. package/src/generated/models/personSegmentRemovedWebhookPayloadPersonAccountItem.ts +20 -0
  295. package/src/generated/models/personSegmentRemovedWebhookPayloadPersonAccountItemAccount.ts +14 -0
  296. package/src/generated/models/personSetTemporaryPasswordBody.ts +0 -220
  297. package/src/generated/models/personUpdatePersonBody.ts +0 -220
  298. package/src/generated/models/plan.ts +0 -220
  299. package/src/generated/models/planAddOn.ts +0 -220
  300. package/src/generated/models/planAddOnAllOf.ts +0 -220
  301. package/src/generated/models/planAddOnAllOfAddOn.ts +0 -220
  302. package/src/generated/models/planAddOnAllOfPlan.ts +0 -220
  303. package/src/generated/models/planAllOf.ts +0 -220
  304. package/src/generated/models/planAllOfPlanFamily.ts +0 -220
  305. package/src/generated/models/planFamily.ts +0 -220
  306. package/src/generated/models/planFamilyAllOf.ts +0 -220
  307. package/src/generated/models/processCodePayload.ts +0 -220
  308. package/src/generated/models/qcount.ts +1 -221
  309. package/src/generated/models/qcountAllOf.ts +0 -240
  310. package/src/generated/models/qcountConfig.ts +0 -220
  311. package/src/generated/models/qcountConfigAllOf.ts +0 -220
  312. package/src/generated/models/qcountConfigSettingType.ts +1 -235
  313. package/src/generated/models/qcountStatus.ts +0 -220
  314. package/src/generated/models/registrationField.ts +0 -220
  315. package/src/generated/models/resendEmailsRequest.ts +0 -220
  316. package/src/generated/models/segment.ts +0 -220
  317. package/src/generated/models/segmentAllOf.ts +0 -220
  318. package/src/generated/models/segmentPerson.ts +0 -220
  319. package/src/generated/models/segmentPersonAllOf.ts +0 -220
  320. package/src/generated/models/segmentPersonAllOfPerson.ts +0 -220
  321. package/src/generated/models/segmentPersonAllOfSegment.ts +0 -220
  322. package/src/generated/models/sendGridDomainAuthentication.ts +0 -220
  323. package/src/generated/models/sendGridDomainAuthenticationAllOf.ts +0 -220
  324. package/src/generated/models/sendTestEmailRequest.ts +0 -220
  325. package/src/generated/models/sendTestEmailRequest2.ts +0 -220
  326. package/src/generated/models/sendTestEmailRequest2BroadcastCampaign.ts +0 -220
  327. package/src/generated/models/sendTestEmailRequestDripCampaign.ts +0 -220
  328. package/src/generated/models/sessionFlowDataAfterCompletionHostedConfirmationOptions.ts +0 -220
  329. package/src/generated/models/sessionFlowDataAfterCompletionOptions.ts +0 -220
  330. package/src/generated/models/sessionFlowDataAfterCompletionOptionsHostedConfirmation.ts +0 -220
  331. package/src/generated/models/sessionFlowDataAfterCompletionOptionsRedirect.ts +0 -220
  332. package/src/generated/models/sessionFlowDataAfterCompletionRedirectOptions.ts +0 -220
  333. package/src/generated/models/sessionFlowDataOptions.ts +0 -220
  334. package/src/generated/models/sessionFlowDataOptionsAfterCompletion.ts +0 -220
  335. package/src/generated/models/sessionFlowDataOptionsSubscriptionCancel.ts +0 -220
  336. package/src/generated/models/sessionFlowDataOptionsSubscriptionUpdate.ts +0 -220
  337. package/src/generated/models/sessionFlowDataOptionsSubscriptionUpdateConfirm.ts +0 -220
  338. package/src/generated/models/sessionFlowDataSubscriptionCancelOptions.ts +0 -220
  339. package/src/generated/models/sessionFlowDataSubscriptionCancelOptionsRetention.ts +0 -220
  340. package/src/generated/models/sessionFlowDataSubscriptionCancelRetentionCouponOfferOptions.ts +0 -220
  341. package/src/generated/models/sessionFlowDataSubscriptionCancelRetentionOptions.ts +0 -220
  342. package/src/generated/models/sessionFlowDataSubscriptionCancelRetentionOptionsCouponOffer.ts +0 -220
  343. package/src/generated/models/sessionFlowDataSubscriptionUpdateConfirmDiscountOptions.ts +0 -220
  344. package/src/generated/models/sessionFlowDataSubscriptionUpdateConfirmItemOptions.ts +0 -220
  345. package/src/generated/models/sessionFlowDataSubscriptionUpdateConfirmOptions.ts +0 -220
  346. package/src/generated/models/sessionFlowDataSubscriptionUpdateOptions.ts +0 -220
  347. package/src/generated/models/setupIntent.ts +0 -220
  348. package/src/generated/models/setupIntentBillingAddress.ts +0 -220
  349. package/src/generated/models/slackChannelSetting.ts +0 -220
  350. package/src/generated/models/spamStatus.ts +0 -220
  351. package/src/generated/models/stripeBillingSyncParams.ts +0 -220
  352. package/src/generated/models/stripeCharge.ts +0 -220
  353. package/src/generated/models/stripeChargeAllOf.ts +0 -220
  354. package/src/generated/models/stripeChargeAllOfAccount.ts +0 -220
  355. package/src/generated/models/stripeChargeAllOfStripePaymentMethod.ts +0 -220
  356. package/src/generated/models/stripeCheckoutParams.ts +0 -220
  357. package/src/generated/models/stripeCoupon.ts +0 -220
  358. package/src/generated/models/stripeCouponAllOf.ts +0 -220
  359. package/src/generated/models/stripeCreditNote.ts +0 -220
  360. package/src/generated/models/stripeCreditNoteAllOf.ts +0 -220
  361. package/src/generated/models/stripeDiscount.ts +0 -220
  362. package/src/generated/models/stripeDiscountAllOf.ts +0 -220
  363. package/src/generated/models/stripeDiscountAllOfAccount.ts +0 -220
  364. package/src/generated/models/stripeDiscountAllOfStripeCoupon.ts +0 -220
  365. package/src/generated/models/stripeDiscountAllOfStripeInvoice.ts +0 -220
  366. package/src/generated/models/stripeDiscountAllOfStripePromotionCode.ts +0 -220
  367. package/src/generated/models/stripeDiscountAllOfStripeSubscription.ts +0 -220
  368. package/src/generated/models/stripeInvoice.ts +0 -220
  369. package/src/generated/models/stripeInvoiceAllOf.ts +0 -220
  370. package/src/generated/models/stripeInvoiceAllOfAccount.ts +0 -220
  371. package/src/generated/models/stripeInvoiceDiscountAmount.ts +0 -220
  372. package/src/generated/models/stripeInvoiceDiscountAmountAllOf.ts +0 -220
  373. package/src/generated/models/stripeInvoiceDiscountAmountAllOfStripeDiscount.ts +0 -220
  374. package/src/generated/models/stripeInvoiceDiscountAmountAllOfStripeInvoice.ts +0 -220
  375. package/src/generated/models/stripeInvoiceLineItem.ts +0 -220
  376. package/src/generated/models/stripeInvoiceLineItemAllOf.ts +0 -220
  377. package/src/generated/models/stripeInvoiceLineItemAllOfStripeInvoice.ts +0 -220
  378. package/src/generated/models/stripeInvoiceLineItemAllOfStripePrice.ts +0 -220
  379. package/src/generated/models/stripeInvoicePayment.ts +0 -220
  380. package/src/generated/models/stripeInvoicePaymentAllOf.ts +0 -220
  381. package/src/generated/models/stripeInvoicePaymentAllOfStripeInvoice.ts +0 -220
  382. package/src/generated/models/stripeMeter.ts +0 -220
  383. package/src/generated/models/stripeMeterAllOf.ts +0 -220
  384. package/src/generated/models/stripePaymentMethod.ts +0 -220
  385. package/src/generated/models/stripePaymentMethodAllOf.ts +0 -220
  386. package/src/generated/models/stripePaymentMethodAllOfAccount.ts +0 -220
  387. package/src/generated/models/stripePrice.ts +0 -220
  388. package/src/generated/models/stripePriceAllOf.ts +0 -220
  389. package/src/generated/models/stripePriceAllOfRecurringStripeMeter.ts +0 -220
  390. package/src/generated/models/stripePriceAllOfStripeProduct.ts +0 -220
  391. package/src/generated/models/stripeProduct.ts +0 -220
  392. package/src/generated/models/stripeProductAllOf.ts +0 -220
  393. package/src/generated/models/stripeProductAllOfStripeProductFamily.ts +0 -220
  394. package/src/generated/models/stripeProductCrossSell.ts +0 -220
  395. package/src/generated/models/stripeProductCrossSellAllOf.ts +0 -220
  396. package/src/generated/models/stripeProductCrossSellAllOfCrossSellProduct.ts +0 -220
  397. package/src/generated/models/stripeProductCrossSellAllOfStripeProduct.ts +0 -220
  398. package/src/generated/models/stripeProductFamily.ts +0 -220
  399. package/src/generated/models/stripeProductFamilyAllOf.ts +0 -220
  400. package/src/generated/models/stripePromotionCode.ts +0 -220
  401. package/src/generated/models/stripePromotionCodeAllOf.ts +0 -220
  402. package/src/generated/models/stripePromotionCodeAllOfAccount.ts +0 -220
  403. package/src/generated/models/stripePromotionCodeAllOfStripeCoupon.ts +0 -220
  404. package/src/generated/models/stripeRefund.ts +0 -220
  405. package/src/generated/models/stripeRefundAllOf.ts +0 -220
  406. package/src/generated/models/stripeRefundAllOfStripeCharge.ts +0 -220
  407. package/src/generated/models/stripeSubscription.ts +0 -220
  408. package/src/generated/models/stripeSubscriptionAllOf.ts +0 -220
  409. package/src/generated/models/stripeSubscriptionAllOfAccount.ts +0 -220
  410. package/src/generated/models/stripeSubscriptionAllOfCurrentStripeSubscriptionSchedule.ts +0 -220
  411. package/src/generated/models/stripeSubscriptionAllOfStripeSubscriptionCancellation.ts +0 -220
  412. package/src/generated/models/stripeSubscriptionCancellation.ts +0 -220
  413. package/src/generated/models/stripeSubscriptionCancellationAllOf.ts +0 -220
  414. package/src/generated/models/stripeSubscriptionItem.ts +0 -220
  415. package/src/generated/models/stripeSubscriptionItemAllOf.ts +0 -220
  416. package/src/generated/models/stripeSubscriptionItemAllOfStripePrice.ts +0 -220
  417. package/src/generated/models/stripeSubscriptionItemAllOfStripeSubscription.ts +0 -220
  418. package/src/generated/models/stripeSubscriptionSchedule.ts +0 -220
  419. package/src/generated/models/stripeSubscriptionScheduleAllOf.ts +0 -220
  420. package/src/generated/models/stripeSubscriptionScheduleAllOfStripeSubscription.ts +0 -220
  421. package/src/generated/models/stripeSubscriptionSchedulePhase.ts +0 -220
  422. package/src/generated/models/stripeSubscriptionSchedulePhaseAllOf.ts +0 -220
  423. package/src/generated/models/stripeSubscriptionSchedulePhaseAllOfStripeSubscriptionSchedule.ts +0 -220
  424. package/src/generated/models/stripeSubscriptionSchedulePhaseItem.ts +0 -220
  425. package/src/generated/models/stripeSubscriptionSchedulePhaseItemAllOf.ts +0 -220
  426. package/src/generated/models/stripeSubscriptionSchedulePhaseItemAllOfStripePrice.ts +0 -220
  427. package/src/generated/models/subscription.ts +0 -220
  428. package/src/generated/models/subscriptionAddOn.ts +0 -220
  429. package/src/generated/models/subscriptionAddOnAddSubscriptionAddOnBody.ts +0 -220
  430. package/src/generated/models/subscriptionAddOnAllOf.ts +0 -220
  431. package/src/generated/models/subscriptionAddOnAllOfAddOn.ts +0 -220
  432. package/src/generated/models/subscriptionAddOnAllOfSubscription.ts +0 -220
  433. package/src/generated/models/subscriptionAllOf.ts +0 -220
  434. package/src/generated/models/subscriptionAllOfAccount.ts +0 -220
  435. package/src/generated/models/subscriptionAllOfLatestInvoice.ts +0 -220
  436. package/src/generated/models/subscriptionAllOfPlan.ts +0 -220
  437. package/src/generated/models/subscriptionChangeSubscriptionBody.ts +0 -220
  438. package/src/generated/models/subscriptionChangeSubscriptionParams.ts +0 -220
  439. package/src/generated/models/subscriptionChangeSubscriptionPreviewBody.ts +0 -220
  440. package/src/generated/models/subscriptionChangeSubscriptionPreviewParams.ts +0 -220
  441. package/src/generated/models/subscriptionFirstTimeSubscriptionBody.ts +0 -220
  442. package/src/generated/models/subscriptionFirstTimeSubscriptionPreviewBody.ts +0 -220
  443. package/src/generated/models/subscriptionFirstTimeSubscriptionPreviewParams.ts +0 -220
  444. package/src/generated/models/subscriptionSetSubscriptionUpgradeRequiredBody.ts +0 -220
  445. package/src/generated/models/supportArticleStatus.ts +0 -220
  446. package/src/generated/models/supportCaseHistoryType.ts +0 -220
  447. package/src/generated/models/supportCaseSource.ts +0 -220
  448. package/src/generated/models/supportCaseStatus.ts +0 -220
  449. package/src/generated/models/supportSettings.ts +0 -220
  450. package/src/generated/models/supportSettingsAllOf.ts +0 -220
  451. package/src/generated/models/tag.ts +0 -220
  452. package/src/generated/models/tagAllOf.ts +0 -220
  453. package/src/generated/models/tagColor.ts +0 -220
  454. package/src/generated/models/tagUidList.ts +0 -220
  455. package/src/generated/models/task.ts +0 -220
  456. package/src/generated/models/taskAllOf.ts +0 -220
  457. package/src/generated/models/taskAllOfAccount.ts +0 -220
  458. package/src/generated/models/taskAllOfAssignee.ts +0 -220
  459. package/src/generated/models/taskAllOfDeal.ts +0 -220
  460. package/src/generated/models/taskAllOfPerson.ts +0 -220
  461. package/src/generated/models/taskAllOfType.ts +0 -220
  462. package/src/generated/models/taskStatus.ts +0 -220
  463. package/src/generated/models/taskType.ts +0 -220
  464. package/src/generated/models/taskTypeAllOf.ts +0 -220
  465. package/src/generated/models/taxRate.ts +0 -220
  466. package/src/generated/models/taxRateAllOf.ts +0 -220
  467. package/src/generated/models/template.ts +0 -220
  468. package/src/generated/models/templateAllOf.ts +0 -220
  469. package/src/generated/models/temporaryPasswordModel.ts +0 -220
  470. package/src/generated/models/transaction.ts +0 -220
  471. package/src/generated/models/transactionAllOf.ts +0 -220
  472. package/src/generated/models/transactionAllOfAccount.ts +0 -220
  473. package/src/generated/models/transactionAllOfInvoice.ts +0 -220
  474. package/src/generated/models/transactionsAddPaymentTransactionBody.ts +0 -220
  475. package/src/generated/models/translation.ts +0 -220
  476. package/src/generated/models/translationAllOf.ts +0 -220
  477. package/src/generated/models/usage.ts +0 -220
  478. package/src/generated/models/usageAddUsageBody.ts +0 -220
  479. package/src/generated/models/usageAllOf.ts +0 -220
  480. package/src/generated/models/usageAllOfInvoice.ts +0 -220
  481. package/src/generated/models/webflowCollection.ts +0 -220
  482. package/src/generated/models/webflowConfiguration.ts +0 -220
  483. package/src/generated/models/webflowConfigurationSyncConfiguration.ts +0 -220
  484. package/src/generated/models/webflowField.ts +0 -220
  485. package/src/generated/models/webflowFieldMapping.ts +0 -220
  486. package/src/generated/models/webflowFieldMappingWebflowField.ts +0 -220
  487. package/src/generated/models/webflowSite.ts +0 -220
  488. package/src/generated/models/webflowSyncConfiguration.ts +0 -220
  489. package/src/generated/models/webflowSyncConfigurationCollection.ts +0 -220
  490. package/src/generated/models/webflowSyncConfigurationSite.ts +0 -220
  491. package/src/generated/models/webflowSyncError.ts +0 -220
  492. package/src/generated/models/webflowSyncItem.ts +0 -220
  493. package/src/generated/models/webflowSyncLog.ts +0 -220
  494. package/src/generated/support/support.ts +0 -220
  495. package/src/generated/models/qcountAllOfLogDatabase.ts +0 -227
@@ -1,224 +1,4 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Generated by orval v7.21.0 🍺
4
- * Do not edit manually.
5
- * Outseta API
6
- * # Outseta REST API
7
-
8
- The Outseta REST API enables you to perform a variety of powerful tasks such as creating and updating people, accounts, subscriptions, and invoices. Outseta uses standard HTTP protocols within a compliant architecture that is simple to integrate. You can use the API both on the client or the server side; see the authentication section below for each scenario.
9
-
10
- **Base URL:** `https://{your-domain}.outseta.com/api/v1/`
11
-
12
- ## API Guidelines
13
-
14
- 1. The API will only respond to secured communication done over **HTTPS**. HTTP requests will be sent a `301` redirect to the corresponding HTTPS resource.
15
- 2. Responses are sent in **JSON** format. In case the API request results in an error, it is represented by an `"error": {}` key in the JSON response.
16
- 3. The request method (verb) determines the nature of the action: **GET** fetches data, **POST** creates new records, **PUT** updates existing records.
17
- 4. The API responds with appropriate **HTTP status codes** for all requests.
18
- 5. Use `donotlog=1` as a query parameter on any API call where you don't want the action to be logged in the activity log.
19
-
20
- ## Authentication
21
-
22
- All API requests require authentication via one of two methods:
23
-
24
- ### Server-Side (API Keys)
25
-
26
- Use API keys for server-to-server integrations. Create keys at **Settings > Integrations > API Keys**. Make sure to record the secret key when you create it.
27
-
28
- ```
29
- Authorization: Outseta {api_key}:{api_secret}
30
- ```
31
-
32
- **Example:**
33
- ```
34
- Authorization: Outseta ce08fd5a-e1ee-4472-9c5f-b7575d8369b2:74fc1d2242a4eb7336d34b0e40cfbc5f
35
- ```
36
-
37
- > **Warning:** Never expose API keys in client-side code. The API key and secret combined give full access to all data in your account.
38
-
39
- ### Client-Side (Bearer Token)
40
-
41
- Do **not** use API keys on the client side — they can be easily copied. Instead, obtain a JWT access token by calling the `POST /tokens` endpoint from the server side with your credentials, then use it on the client:
42
-
43
- ```
44
- Authorization: bearer {access_token}
45
- ```
46
-
47
- Tokens are JWTs containing claims such as `PersonUid`, `AccountUid`, and subscription details. Tokens expire after approximately one year.
48
-
49
- Verify tokens server-side using Outseta's [JWKS endpoint](https://{your-domain}.outseta.com/.well-known/jwks.json).
50
-
51
- ## Field Selection
52
-
53
- When you make an API request, you'll automatically get all the basic information from the main object and its immediate child objects. Referenced objects beyond the first level are returned as `null`.
54
-
55
- Change this behavior using the `fields` query parameter:
56
-
57
- - **Go deeper** — Request fields lower down in the object tree: `?fields=CurrentSubscription.Plan.*`
58
- - **Go lighter** — Request only the essentials for faster performance: `?fields=Uid,Name`
59
- - **Combination** — `?fields=Uid,Name,CurrentSubscription.Plan.Uid`
60
- - **Wildcard** — Use `*` to get all fields in an object: `?fields=*` or `?fields=CurrentSubscription.Plan.*`
61
-
62
- > **Tip:** When expanding nested paths, include `*` and intermediate path segments (e.g., `PersonAccount.*`) to preserve root-level and intermediate fields.
63
-
64
- **Examples:**
65
-
66
- ```
67
- # Get the current subscription plan UID for an account
68
- GET /crm/accounts/{uid}?fields=CurrentSubscription.Plan.Uid
69
-
70
- # Get the account UID and plan UID for a list of accounts
71
- GET /crm/accounts?fields=Uid,CurrentSubscription.Plan.Uid
72
-
73
- # Get the full plan object for an account's current subscription
74
- GET /crm/accounts/{uid}?fields=CurrentSubscription.Plan.*
75
-
76
- # Get a person with their account and subscription info
77
- GET /crm/people/{uid}?fields=Uid,PersonAccount.Account.CurrentSubscription.Plan.Uid
78
- ```
79
-
80
- If your request includes fields from a child object you will be limited to retrieving **25 items** per page. The maximum for requests not expanding child object fields is **100 items**.
81
-
82
- ## Pagination
83
-
84
- List endpoints return paginated results with a `metadata` object and an `items` array:
85
-
86
- ```json
87
- {
88
- "metadata": {
89
- "limit": 25,
90
- "offset": 0,
91
- "total": 142
92
- },
93
- "items": [ ... ]
94
- }
95
- ```
96
-
97
- | Parameter | Type | Default | Description |
98
- |-----------|------|---------|-------------|
99
- | `offset` | integer | `0` | Page number (zero-based) |
100
- | `limit` | integer | `25` | Maximum number of records per page |
101
-
102
- **Examples:**
103
- ```
104
- ?offset=0&limit=20 # returns results 1-20
105
- ?offset=1&limit=20 # returns results 21-40
106
- ```
107
-
108
- ## Sorting
109
-
110
- Sort results using the `orderBy` parameter with a property name and direction:
111
-
112
- ```
113
- ?orderBy=PropertyName+DESC
114
- ```
115
-
116
- ## Filtering
117
-
118
- Filter results by passing entity properties as query parameters.
119
-
120
- ### Basic Filtering
121
-
122
- Filter on any field using the field name as a query parameter:
123
-
124
- ```
125
- GET /crm/people?Email=john@example.com
126
- GET /crm/accounts?AccountStage=2
127
- ```
128
-
129
- ### Wildcard Matching
130
-
131
- | Pattern | Match Type | Example |
132
- |---------|-----------|---------|
133
- | `*value` | Ends with | `?Email=*@example.com` |
134
- | `value*` | Starts with | `?Name=Acme*` |
135
- | `*value*` | Contains | `?Name=*corp*` |
136
-
137
- ### Comparison Operators
138
-
139
- For advanced filtering, append comparison operators to field names:
140
-
141
- | Operator | Description | Example |
142
- |----------|-------------|---------|
143
- | `__gt` | Greater than | `Created__gt=2024-01-01` |
144
- | `__gte` | Greater than or equal | `Amount__gte=100` |
145
- | `__lt` | Less than | `Created__lt=2024-12-31` |
146
- | `__lte` | Less than or equal | `Amount__lte=500` |
147
- | `__ne` | Not equal | `Status__ne=Active` |
148
- | `__isnull` | Is null (true/false) | `ProfileImageS3Url__isnull=true` |
149
-
150
- **Examples:**
151
-
152
- ```
153
- # Date filtering
154
- GET /crm/accounts?Created__gt=2024-01-01
155
- GET /billing/subscriptions?EndDate__lt=2024-08-01
156
-
157
- # Numeric filtering
158
- GET /billing/invoices?Amount__gte=1000
159
-
160
- # Null value filtering
161
- GET /crm/people?ProfileImageS3Url__isnull=true
162
-
163
- # Multiple filters combined with field selection
164
- GET /billing/subscriptions?StartDate__gte=2024-01-01&Rate__lt=100&DiscountCode__isnull=false&fields=Uid,Amount,StartDate,DiscountCode,Plan.Name
165
- ```
166
-
167
- ## Account Billing Stages
168
-
169
- Account stages reflect the financial standing of each account and are not directly editable — they change automatically based on subscription activity.
170
-
171
- | Value | Stage | Description |
172
- |-------|-------|-------------|
173
- | `2` | Trialing | Currently on a free trial or free plan |
174
- | `3` | Subscribing | Active paid subscription (contributes to MRR) |
175
- | `4` | Canceling | Customer has indicated intent to cancel |
176
- | `5` | Expired | Subscription has ended after cancellation |
177
- | `6` | Trial Expired | Free trial ended without conversion to paid |
178
-
179
- Filter by stage: `GET /crm/accounts?AccountStage=3` returns all actively subscribing accounts.
180
-
181
- ## Webhooks
182
-
183
- Use **Activity Notifications** to receive real-time callbacks when events occur in Outseta. Configure webhooks at **Settings > Notifications**.
184
-
185
- Common events include:
186
- - `Person Created` / `Person Updated`
187
- - `Account Created` / `Account Updated`
188
- - `Subscription Created` / `Subscription Updated`
189
-
190
- Always verify webhook signatures using the SHA256 secret provided in the Outseta dashboard.
191
-
192
- ## Error Responses
193
-
194
- | Status Code | Description |
195
- |-------------|-------------|
196
- | `200` | Success |
197
- | `301` | Redirect — HTTP requests are redirected to HTTPS |
198
- | `400` | Bad request — invalid parameters or Uid format |
199
- | `401` | Unauthorized — missing or invalid authentication |
200
- | `404` | Entity not found |
201
- | `4XX` / `5XX` | Client or server error |
202
-
203
- Validation errors return a JSON body with `ErrorMessage` and `PropertyName` fields:
204
-
205
- ```json
206
- {
207
- "ErrorMessage": "Invalid company email",
208
- "PropertyName": "Email"
209
- }
210
- ```
211
-
212
- ## Rate Limits
213
-
214
- Requests authorized by an API Key should not exceed **4 requests/second**.
215
-
216
- ## Support
217
-
218
- For help regarding the Outseta API please email [support@outseta.com](mailto:support@outseta.com).
219
-
220
- * OpenAPI spec version: v1
221
- */
222
2
 
223
3
  export type CaseAddCaseParams = {
224
4
  /**
@@ -1,224 +1,4 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Generated by orval v7.21.0 🍺
4
- * Do not edit manually.
5
- * Outseta API
6
- * # Outseta REST API
7
-
8
- The Outseta REST API enables you to perform a variety of powerful tasks such as creating and updating people, accounts, subscriptions, and invoices. Outseta uses standard HTTP protocols within a compliant architecture that is simple to integrate. You can use the API both on the client or the server side; see the authentication section below for each scenario.
9
-
10
- **Base URL:** `https://{your-domain}.outseta.com/api/v1/`
11
-
12
- ## API Guidelines
13
-
14
- 1. The API will only respond to secured communication done over **HTTPS**. HTTP requests will be sent a `301` redirect to the corresponding HTTPS resource.
15
- 2. Responses are sent in **JSON** format. In case the API request results in an error, it is represented by an `"error": {}` key in the JSON response.
16
- 3. The request method (verb) determines the nature of the action: **GET** fetches data, **POST** creates new records, **PUT** updates existing records.
17
- 4. The API responds with appropriate **HTTP status codes** for all requests.
18
- 5. Use `donotlog=1` as a query parameter on any API call where you don't want the action to be logged in the activity log.
19
-
20
- ## Authentication
21
-
22
- All API requests require authentication via one of two methods:
23
-
24
- ### Server-Side (API Keys)
25
-
26
- Use API keys for server-to-server integrations. Create keys at **Settings > Integrations > API Keys**. Make sure to record the secret key when you create it.
27
-
28
- ```
29
- Authorization: Outseta {api_key}:{api_secret}
30
- ```
31
-
32
- **Example:**
33
- ```
34
- Authorization: Outseta ce08fd5a-e1ee-4472-9c5f-b7575d8369b2:74fc1d2242a4eb7336d34b0e40cfbc5f
35
- ```
36
-
37
- > **Warning:** Never expose API keys in client-side code. The API key and secret combined give full access to all data in your account.
38
-
39
- ### Client-Side (Bearer Token)
40
-
41
- Do **not** use API keys on the client side — they can be easily copied. Instead, obtain a JWT access token by calling the `POST /tokens` endpoint from the server side with your credentials, then use it on the client:
42
-
43
- ```
44
- Authorization: bearer {access_token}
45
- ```
46
-
47
- Tokens are JWTs containing claims such as `PersonUid`, `AccountUid`, and subscription details. Tokens expire after approximately one year.
48
-
49
- Verify tokens server-side using Outseta's [JWKS endpoint](https://{your-domain}.outseta.com/.well-known/jwks.json).
50
-
51
- ## Field Selection
52
-
53
- When you make an API request, you'll automatically get all the basic information from the main object and its immediate child objects. Referenced objects beyond the first level are returned as `null`.
54
-
55
- Change this behavior using the `fields` query parameter:
56
-
57
- - **Go deeper** — Request fields lower down in the object tree: `?fields=CurrentSubscription.Plan.*`
58
- - **Go lighter** — Request only the essentials for faster performance: `?fields=Uid,Name`
59
- - **Combination** — `?fields=Uid,Name,CurrentSubscription.Plan.Uid`
60
- - **Wildcard** — Use `*` to get all fields in an object: `?fields=*` or `?fields=CurrentSubscription.Plan.*`
61
-
62
- > **Tip:** When expanding nested paths, include `*` and intermediate path segments (e.g., `PersonAccount.*`) to preserve root-level and intermediate fields.
63
-
64
- **Examples:**
65
-
66
- ```
67
- # Get the current subscription plan UID for an account
68
- GET /crm/accounts/{uid}?fields=CurrentSubscription.Plan.Uid
69
-
70
- # Get the account UID and plan UID for a list of accounts
71
- GET /crm/accounts?fields=Uid,CurrentSubscription.Plan.Uid
72
-
73
- # Get the full plan object for an account's current subscription
74
- GET /crm/accounts/{uid}?fields=CurrentSubscription.Plan.*
75
-
76
- # Get a person with their account and subscription info
77
- GET /crm/people/{uid}?fields=Uid,PersonAccount.Account.CurrentSubscription.Plan.Uid
78
- ```
79
-
80
- If your request includes fields from a child object you will be limited to retrieving **25 items** per page. The maximum for requests not expanding child object fields is **100 items**.
81
-
82
- ## Pagination
83
-
84
- List endpoints return paginated results with a `metadata` object and an `items` array:
85
-
86
- ```json
87
- {
88
- "metadata": {
89
- "limit": 25,
90
- "offset": 0,
91
- "total": 142
92
- },
93
- "items": [ ... ]
94
- }
95
- ```
96
-
97
- | Parameter | Type | Default | Description |
98
- |-----------|------|---------|-------------|
99
- | `offset` | integer | `0` | Page number (zero-based) |
100
- | `limit` | integer | `25` | Maximum number of records per page |
101
-
102
- **Examples:**
103
- ```
104
- ?offset=0&limit=20 # returns results 1-20
105
- ?offset=1&limit=20 # returns results 21-40
106
- ```
107
-
108
- ## Sorting
109
-
110
- Sort results using the `orderBy` parameter with a property name and direction:
111
-
112
- ```
113
- ?orderBy=PropertyName+DESC
114
- ```
115
-
116
- ## Filtering
117
-
118
- Filter results by passing entity properties as query parameters.
119
-
120
- ### Basic Filtering
121
-
122
- Filter on any field using the field name as a query parameter:
123
-
124
- ```
125
- GET /crm/people?Email=john@example.com
126
- GET /crm/accounts?AccountStage=2
127
- ```
128
-
129
- ### Wildcard Matching
130
-
131
- | Pattern | Match Type | Example |
132
- |---------|-----------|---------|
133
- | `*value` | Ends with | `?Email=*@example.com` |
134
- | `value*` | Starts with | `?Name=Acme*` |
135
- | `*value*` | Contains | `?Name=*corp*` |
136
-
137
- ### Comparison Operators
138
-
139
- For advanced filtering, append comparison operators to field names:
140
-
141
- | Operator | Description | Example |
142
- |----------|-------------|---------|
143
- | `__gt` | Greater than | `Created__gt=2024-01-01` |
144
- | `__gte` | Greater than or equal | `Amount__gte=100` |
145
- | `__lt` | Less than | `Created__lt=2024-12-31` |
146
- | `__lte` | Less than or equal | `Amount__lte=500` |
147
- | `__ne` | Not equal | `Status__ne=Active` |
148
- | `__isnull` | Is null (true/false) | `ProfileImageS3Url__isnull=true` |
149
-
150
- **Examples:**
151
-
152
- ```
153
- # Date filtering
154
- GET /crm/accounts?Created__gt=2024-01-01
155
- GET /billing/subscriptions?EndDate__lt=2024-08-01
156
-
157
- # Numeric filtering
158
- GET /billing/invoices?Amount__gte=1000
159
-
160
- # Null value filtering
161
- GET /crm/people?ProfileImageS3Url__isnull=true
162
-
163
- # Multiple filters combined with field selection
164
- GET /billing/subscriptions?StartDate__gte=2024-01-01&Rate__lt=100&DiscountCode__isnull=false&fields=Uid,Amount,StartDate,DiscountCode,Plan.Name
165
- ```
166
-
167
- ## Account Billing Stages
168
-
169
- Account stages reflect the financial standing of each account and are not directly editable — they change automatically based on subscription activity.
170
-
171
- | Value | Stage | Description |
172
- |-------|-------|-------------|
173
- | `2` | Trialing | Currently on a free trial or free plan |
174
- | `3` | Subscribing | Active paid subscription (contributes to MRR) |
175
- | `4` | Canceling | Customer has indicated intent to cancel |
176
- | `5` | Expired | Subscription has ended after cancellation |
177
- | `6` | Trial Expired | Free trial ended without conversion to paid |
178
-
179
- Filter by stage: `GET /crm/accounts?AccountStage=3` returns all actively subscribing accounts.
180
-
181
- ## Webhooks
182
-
183
- Use **Activity Notifications** to receive real-time callbacks when events occur in Outseta. Configure webhooks at **Settings > Notifications**.
184
-
185
- Common events include:
186
- - `Person Created` / `Person Updated`
187
- - `Account Created` / `Account Updated`
188
- - `Subscription Created` / `Subscription Updated`
189
-
190
- Always verify webhook signatures using the SHA256 secret provided in the Outseta dashboard.
191
-
192
- ## Error Responses
193
-
194
- | Status Code | Description |
195
- |-------------|-------------|
196
- | `200` | Success |
197
- | `301` | Redirect — HTTP requests are redirected to HTTPS |
198
- | `400` | Bad request — invalid parameters or Uid format |
199
- | `401` | Unauthorized — missing or invalid authentication |
200
- | `404` | Entity not found |
201
- | `4XX` / `5XX` | Client or server error |
202
-
203
- Validation errors return a JSON body with `ErrorMessage` and `PropertyName` fields:
204
-
205
- ```json
206
- {
207
- "ErrorMessage": "Invalid company email",
208
- "PropertyName": "Email"
209
- }
210
- ```
211
-
212
- ## Rate Limits
213
-
214
- Requests authorized by an API Key should not exceed **4 requests/second**.
215
-
216
- ## Support
217
-
218
- For help regarding the Outseta API please email [support@outseta.com](mailto:support@outseta.com).
219
-
220
- * OpenAPI spec version: v1
221
- */
222
2
  import type { Person } from './person';
223
3
  import type { SupportCaseStatus } from './supportCaseStatus';
224
4
  import type { SupportCaseSource } from './supportCaseSource';
@@ -1,224 +1,4 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Generated by orval v7.21.0 🍺
4
- * Do not edit manually.
5
- * Outseta API
6
- * # Outseta REST API
7
-
8
- The Outseta REST API enables you to perform a variety of powerful tasks such as creating and updating people, accounts, subscriptions, and invoices. Outseta uses standard HTTP protocols within a compliant architecture that is simple to integrate. You can use the API both on the client or the server side; see the authentication section below for each scenario.
9
-
10
- **Base URL:** `https://{your-domain}.outseta.com/api/v1/`
11
-
12
- ## API Guidelines
13
-
14
- 1. The API will only respond to secured communication done over **HTTPS**. HTTP requests will be sent a `301` redirect to the corresponding HTTPS resource.
15
- 2. Responses are sent in **JSON** format. In case the API request results in an error, it is represented by an `"error": {}` key in the JSON response.
16
- 3. The request method (verb) determines the nature of the action: **GET** fetches data, **POST** creates new records, **PUT** updates existing records.
17
- 4. The API responds with appropriate **HTTP status codes** for all requests.
18
- 5. Use `donotlog=1` as a query parameter on any API call where you don't want the action to be logged in the activity log.
19
-
20
- ## Authentication
21
-
22
- All API requests require authentication via one of two methods:
23
-
24
- ### Server-Side (API Keys)
25
-
26
- Use API keys for server-to-server integrations. Create keys at **Settings > Integrations > API Keys**. Make sure to record the secret key when you create it.
27
-
28
- ```
29
- Authorization: Outseta {api_key}:{api_secret}
30
- ```
31
-
32
- **Example:**
33
- ```
34
- Authorization: Outseta ce08fd5a-e1ee-4472-9c5f-b7575d8369b2:74fc1d2242a4eb7336d34b0e40cfbc5f
35
- ```
36
-
37
- > **Warning:** Never expose API keys in client-side code. The API key and secret combined give full access to all data in your account.
38
-
39
- ### Client-Side (Bearer Token)
40
-
41
- Do **not** use API keys on the client side — they can be easily copied. Instead, obtain a JWT access token by calling the `POST /tokens` endpoint from the server side with your credentials, then use it on the client:
42
-
43
- ```
44
- Authorization: bearer {access_token}
45
- ```
46
-
47
- Tokens are JWTs containing claims such as `PersonUid`, `AccountUid`, and subscription details. Tokens expire after approximately one year.
48
-
49
- Verify tokens server-side using Outseta's [JWKS endpoint](https://{your-domain}.outseta.com/.well-known/jwks.json).
50
-
51
- ## Field Selection
52
-
53
- When you make an API request, you'll automatically get all the basic information from the main object and its immediate child objects. Referenced objects beyond the first level are returned as `null`.
54
-
55
- Change this behavior using the `fields` query parameter:
56
-
57
- - **Go deeper** — Request fields lower down in the object tree: `?fields=CurrentSubscription.Plan.*`
58
- - **Go lighter** — Request only the essentials for faster performance: `?fields=Uid,Name`
59
- - **Combination** — `?fields=Uid,Name,CurrentSubscription.Plan.Uid`
60
- - **Wildcard** — Use `*` to get all fields in an object: `?fields=*` or `?fields=CurrentSubscription.Plan.*`
61
-
62
- > **Tip:** When expanding nested paths, include `*` and intermediate path segments (e.g., `PersonAccount.*`) to preserve root-level and intermediate fields.
63
-
64
- **Examples:**
65
-
66
- ```
67
- # Get the current subscription plan UID for an account
68
- GET /crm/accounts/{uid}?fields=CurrentSubscription.Plan.Uid
69
-
70
- # Get the account UID and plan UID for a list of accounts
71
- GET /crm/accounts?fields=Uid,CurrentSubscription.Plan.Uid
72
-
73
- # Get the full plan object for an account's current subscription
74
- GET /crm/accounts/{uid}?fields=CurrentSubscription.Plan.*
75
-
76
- # Get a person with their account and subscription info
77
- GET /crm/people/{uid}?fields=Uid,PersonAccount.Account.CurrentSubscription.Plan.Uid
78
- ```
79
-
80
- If your request includes fields from a child object you will be limited to retrieving **25 items** per page. The maximum for requests not expanding child object fields is **100 items**.
81
-
82
- ## Pagination
83
-
84
- List endpoints return paginated results with a `metadata` object and an `items` array:
85
-
86
- ```json
87
- {
88
- "metadata": {
89
- "limit": 25,
90
- "offset": 0,
91
- "total": 142
92
- },
93
- "items": [ ... ]
94
- }
95
- ```
96
-
97
- | Parameter | Type | Default | Description |
98
- |-----------|------|---------|-------------|
99
- | `offset` | integer | `0` | Page number (zero-based) |
100
- | `limit` | integer | `25` | Maximum number of records per page |
101
-
102
- **Examples:**
103
- ```
104
- ?offset=0&limit=20 # returns results 1-20
105
- ?offset=1&limit=20 # returns results 21-40
106
- ```
107
-
108
- ## Sorting
109
-
110
- Sort results using the `orderBy` parameter with a property name and direction:
111
-
112
- ```
113
- ?orderBy=PropertyName+DESC
114
- ```
115
-
116
- ## Filtering
117
-
118
- Filter results by passing entity properties as query parameters.
119
-
120
- ### Basic Filtering
121
-
122
- Filter on any field using the field name as a query parameter:
123
-
124
- ```
125
- GET /crm/people?Email=john@example.com
126
- GET /crm/accounts?AccountStage=2
127
- ```
128
-
129
- ### Wildcard Matching
130
-
131
- | Pattern | Match Type | Example |
132
- |---------|-----------|---------|
133
- | `*value` | Ends with | `?Email=*@example.com` |
134
- | `value*` | Starts with | `?Name=Acme*` |
135
- | `*value*` | Contains | `?Name=*corp*` |
136
-
137
- ### Comparison Operators
138
-
139
- For advanced filtering, append comparison operators to field names:
140
-
141
- | Operator | Description | Example |
142
- |----------|-------------|---------|
143
- | `__gt` | Greater than | `Created__gt=2024-01-01` |
144
- | `__gte` | Greater than or equal | `Amount__gte=100` |
145
- | `__lt` | Less than | `Created__lt=2024-12-31` |
146
- | `__lte` | Less than or equal | `Amount__lte=500` |
147
- | `__ne` | Not equal | `Status__ne=Active` |
148
- | `__isnull` | Is null (true/false) | `ProfileImageS3Url__isnull=true` |
149
-
150
- **Examples:**
151
-
152
- ```
153
- # Date filtering
154
- GET /crm/accounts?Created__gt=2024-01-01
155
- GET /billing/subscriptions?EndDate__lt=2024-08-01
156
-
157
- # Numeric filtering
158
- GET /billing/invoices?Amount__gte=1000
159
-
160
- # Null value filtering
161
- GET /crm/people?ProfileImageS3Url__isnull=true
162
-
163
- # Multiple filters combined with field selection
164
- GET /billing/subscriptions?StartDate__gte=2024-01-01&Rate__lt=100&DiscountCode__isnull=false&fields=Uid,Amount,StartDate,DiscountCode,Plan.Name
165
- ```
166
-
167
- ## Account Billing Stages
168
-
169
- Account stages reflect the financial standing of each account and are not directly editable — they change automatically based on subscription activity.
170
-
171
- | Value | Stage | Description |
172
- |-------|-------|-------------|
173
- | `2` | Trialing | Currently on a free trial or free plan |
174
- | `3` | Subscribing | Active paid subscription (contributes to MRR) |
175
- | `4` | Canceling | Customer has indicated intent to cancel |
176
- | `5` | Expired | Subscription has ended after cancellation |
177
- | `6` | Trial Expired | Free trial ended without conversion to paid |
178
-
179
- Filter by stage: `GET /crm/accounts?AccountStage=3` returns all actively subscribing accounts.
180
-
181
- ## Webhooks
182
-
183
- Use **Activity Notifications** to receive real-time callbacks when events occur in Outseta. Configure webhooks at **Settings > Notifications**.
184
-
185
- Common events include:
186
- - `Person Created` / `Person Updated`
187
- - `Account Created` / `Account Updated`
188
- - `Subscription Created` / `Subscription Updated`
189
-
190
- Always verify webhook signatures using the SHA256 secret provided in the Outseta dashboard.
191
-
192
- ## Error Responses
193
-
194
- | Status Code | Description |
195
- |-------------|-------------|
196
- | `200` | Success |
197
- | `301` | Redirect — HTTP requests are redirected to HTTPS |
198
- | `400` | Bad request — invalid parameters or Uid format |
199
- | `401` | Unauthorized — missing or invalid authentication |
200
- | `404` | Entity not found |
201
- | `4XX` / `5XX` | Client or server error |
202
-
203
- Validation errors return a JSON body with `ErrorMessage` and `PropertyName` fields:
204
-
205
- ```json
206
- {
207
- "ErrorMessage": "Invalid company email",
208
- "PropertyName": "Email"
209
- }
210
- ```
211
-
212
- ## Rate Limits
213
-
214
- Requests authorized by an API Key should not exceed **4 requests/second**.
215
-
216
- ## Support
217
-
218
- For help regarding the Outseta API please email [support@outseta.com](mailto:support@outseta.com).
219
-
220
- * OpenAPI spec version: v1
221
- */
222
2
  import type { CaseHistory } from './caseHistory';
223
3
 
224
4
  /**