@schematichq/schematic-typescript-node 1.4.4 → 1.4.6

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 (359) hide show
  1. package/LICENSE +1 -1
  2. package/dist/BaseClient.d.ts +1 -1
  3. package/dist/Client.d.ts +14 -0
  4. package/dist/api/resources/accesstokens/exports.d.ts +2 -0
  5. package/dist/api/resources/accounts/client/Client.d.ts +43 -10
  6. package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -2
  7. package/dist/api/resources/accounts/client/requests/CountAuditLogsRequest.d.ts +2 -2
  8. package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +17 -0
  9. package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -2
  10. package/dist/api/resources/accounts/client/requests/ListAuditLogsRequest.d.ts +2 -2
  11. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -2
  12. package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
  13. package/dist/api/resources/accounts/exports.d.ts +2 -0
  14. package/dist/api/resources/accounts/types/GetAccountMemberResponse.d.ts +6 -0
  15. package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
  16. package/dist/api/resources/accounts/types/ListAccountMembersResponse.d.ts +6 -0
  17. package/dist/api/resources/accounts/types/index.d.ts +3 -0
  18. package/dist/api/resources/billing/client/Client.d.ts +42 -40
  19. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +3 -3
  20. package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +3 -3
  21. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
  22. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +4 -3
  23. package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +4 -4
  24. package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +4 -4
  25. package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
  26. package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +7 -4
  27. package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +7 -4
  28. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +3 -3
  29. package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -2
  30. package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +3 -3
  31. package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -2
  32. package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -2
  33. package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -2
  34. package/dist/api/resources/billing/exports.d.ts +2 -0
  35. package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
  36. package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
  37. package/dist/api/resources/checkout/client/Client.d.ts +8 -8
  38. package/dist/api/resources/checkout/exports.d.ts +2 -0
  39. package/dist/api/resources/companies/client/Client.d.ts +38 -30
  40. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +5 -2
  41. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +2 -2
  42. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -2
  43. package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -2
  44. package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +2 -2
  45. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -2
  46. package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -2
  47. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +5 -2
  48. package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -2
  49. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +2 -2
  50. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -2
  51. package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +7 -6
  52. package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -2
  53. package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +2 -2
  54. package/dist/api/resources/companies/exports.d.ts +2 -0
  55. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
  56. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
  57. package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +3 -2
  58. package/dist/api/resources/components/client/Client.d.ts +4 -4
  59. package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -2
  60. package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -2
  61. package/dist/api/resources/components/exports.d.ts +2 -0
  62. package/dist/api/resources/componentspublic/exports.d.ts +2 -0
  63. package/dist/api/resources/credits/client/Client.d.ts +47 -33
  64. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -2
  65. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -2
  66. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -2
  67. package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +2 -2
  68. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
  69. package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +2 -2
  70. package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +2 -2
  71. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -0
  72. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +3 -2
  73. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -1
  74. package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +2 -2
  75. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -2
  76. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -2
  77. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
  78. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
  79. package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +2 -2
  80. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -2
  81. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -0
  82. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -1
  83. package/dist/api/resources/credits/exports.d.ts +2 -0
  84. package/dist/api/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +6 -0
  85. package/dist/api/resources/credits/types/index.d.ts +1 -0
  86. package/dist/api/resources/dataexports/exports.d.ts +2 -0
  87. package/dist/api/resources/entitlements/client/Client.d.ts +41 -20
  88. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +2 -2
  89. package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -2
  90. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +2 -2
  91. package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -2
  92. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +2 -2
  93. package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +44 -0
  94. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
  95. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +2 -2
  96. package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -2
  97. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +2 -2
  98. package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -2
  99. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +2 -2
  100. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
  101. package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
  102. package/dist/api/resources/entitlements/exports.d.ts +2 -0
  103. package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +7 -0
  104. package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +5 -0
  105. package/dist/api/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +6 -0
  106. package/dist/api/resources/entitlements/types/index.d.ts +3 -0
  107. package/dist/api/resources/events/client/Client.d.ts +4 -4
  108. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -2
  109. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -2
  110. package/dist/api/resources/events/exports.d.ts +2 -0
  111. package/dist/api/resources/features/client/Client.d.ts +34 -13
  112. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +10 -10
  113. package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +2 -2
  114. package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +26 -0
  115. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +10 -10
  116. package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +2 -2
  117. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -1
  118. package/dist/api/resources/features/client/requests/index.d.ts +1 -0
  119. package/dist/api/resources/features/exports.d.ts +2 -0
  120. package/dist/api/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +6 -0
  121. package/dist/api/resources/features/types/index.d.ts +1 -0
  122. package/dist/api/resources/index.d.ts +2 -0
  123. package/dist/api/resources/integrationsapi/client/Client.d.ts +27 -0
  124. package/dist/api/resources/integrationsapi/client/index.d.ts +1 -0
  125. package/dist/api/resources/integrationsapi/exports.d.ts +2 -0
  126. package/dist/api/resources/integrationsapi/index.d.ts +2 -0
  127. package/dist/api/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +6 -0
  128. package/dist/api/resources/integrationsapi/types/index.d.ts +1 -0
  129. package/dist/api/resources/planbundle/exports.d.ts +2 -0
  130. package/dist/api/resources/plangroups/exports.d.ts +2 -0
  131. package/dist/api/resources/planmigrations/client/Client.d.ts +8 -8
  132. package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +2 -2
  133. package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +2 -2
  134. package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +2 -2
  135. package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +2 -2
  136. package/dist/api/resources/planmigrations/exports.d.ts +2 -0
  137. package/dist/api/resources/plans/client/Client.d.ts +98 -7
  138. package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts +19 -0
  139. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +8 -2
  140. package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +19 -0
  141. package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +16 -0
  142. package/dist/api/resources/plans/client/requests/DeletePlanVersionRequest.d.ts +9 -0
  143. package/dist/api/resources/plans/client/requests/ListBillingProductMatchCompaniesRequest.d.ts +19 -0
  144. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +8 -2
  145. package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +9 -1
  146. package/dist/api/resources/plans/client/requests/index.d.ts +5 -0
  147. package/dist/api/resources/plans/exports.d.ts +2 -0
  148. package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +13 -0
  149. package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +6 -0
  150. package/dist/api/resources/plans/types/CountPlansParams.d.ts +4 -0
  151. package/dist/api/resources/plans/types/CreateCustomPlanResponse.d.ts +6 -0
  152. package/dist/api/resources/plans/types/DeletePlanVersionParams.d.ts +6 -0
  153. package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +1 -1
  154. package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +13 -0
  155. package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +6 -0
  156. package/dist/api/resources/plans/types/ListPlansParams.d.ts +4 -0
  157. package/dist/api/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +6 -0
  158. package/dist/api/resources/plans/types/index.d.ts +7 -0
  159. package/dist/api/resources/scheduledcheckout/client/Client.d.ts +2 -2
  160. package/dist/api/resources/scheduledcheckout/client/requests/ListScheduledCheckoutsRequest.d.ts +2 -2
  161. package/dist/api/resources/scheduledcheckout/exports.d.ts +2 -0
  162. package/dist/api/resources/webhooks/client/Client.d.ts +8 -8
  163. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -2
  164. package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -2
  165. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -2
  166. package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -2
  167. package/dist/api/resources/webhooks/exports.d.ts +2 -0
  168. package/dist/api/types/AccountMemberPermission.d.ts +18 -0
  169. package/dist/api/types/AccountMemberResponseData.d.ts +11 -0
  170. package/dist/api/types/AccountMemberRole.d.ts +5 -0
  171. package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
  172. package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
  173. package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
  174. package/dist/api/types/BillingCreditGrantResponseData.d.ts +1 -0
  175. package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
  176. package/dist/api/types/BillingLinkedResourceResponseData.d.ts +6 -0
  177. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
  178. package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -1
  179. package/dist/api/types/BillingProviderType.d.ts +1 -0
  180. package/dist/api/types/CheckoutSubscription.d.ts +1 -0
  181. package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
  182. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +7 -2
  183. package/dist/api/types/ConditionGroupResponseData.d.ts +0 -1
  184. package/dist/api/types/ConditionGroupView.d.ts +0 -1
  185. package/dist/api/types/ConditionResponseData.d.ts +0 -1
  186. package/dist/api/types/ConditionView.d.ts +0 -1
  187. package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  188. package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +1 -0
  189. package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
  190. package/dist/api/types/CreditBundleCurrencyPrice.d.ts +5 -0
  191. package/dist/api/types/CreditBundleCurrencyPriceRequestBody.d.ts +5 -0
  192. package/dist/api/types/CreditBundleCurrencyPriceResponseData.d.ts +5 -0
  193. package/dist/api/types/CreditCompanyGrantView.d.ts +1 -0
  194. package/dist/api/types/CreditCurrencyPriceRequestBody.d.ts +5 -0
  195. package/dist/api/types/CreditCurrencyPriceResponseData.d.ts +5 -0
  196. package/dist/api/types/CurrencyPriceRequestBody.d.ts +10 -0
  197. package/dist/api/types/CustomPlanActivationStrategy.d.ts +5 -0
  198. package/dist/api/types/CustomPlanBillingResponseData.d.ts +14 -0
  199. package/dist/api/types/CustomPlanBillingStatus.d.ts +6 -0
  200. package/dist/api/types/DatastreamCompanyPlan.d.ts +2 -0
  201. package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +6 -0
  202. package/dist/api/types/FeatureDetailResponseData.d.ts +1 -0
  203. package/dist/api/types/FeatureView.d.ts +1 -0
  204. package/dist/api/types/IntegrationType.d.ts +7 -0
  205. package/dist/api/types/IntegrationWebhookUrlResponseData.d.ts +5 -0
  206. package/dist/api/types/ManagePlanRequest.d.ts +1 -0
  207. package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
  208. package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +6 -0
  209. package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +7 -0
  210. package/dist/api/types/PlanDetailResponseData.d.ts +7 -2
  211. package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -0
  212. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +7 -2
  213. package/dist/api/types/PlanIcon.d.ts +28 -0
  214. package/dist/api/types/PlanResponseData.d.ts +3 -1
  215. package/dist/api/types/PlanSelection.d.ts +1 -0
  216. package/dist/api/types/PlanVersionResponseData.d.ts +1 -1
  217. package/dist/api/types/PlanViewPublicResponseData.d.ts +7 -2
  218. package/dist/api/types/RuleView.d.ts +0 -1
  219. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  220. package/dist/api/types/TrialStatus.d.ts +6 -0
  221. package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  222. package/dist/api/types/UpdatePlanRequestBody.d.ts +2 -1
  223. package/dist/api/types/UpsertBillingProductRequestBody.d.ts +1 -0
  224. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -0
  225. package/dist/api/types/WebScheduledDowngradeWebhookOutput.d.ts +10 -0
  226. package/dist/api/types/WebhookRequestType.d.ts +1 -0
  227. package/dist/api/types/WebhookUrl.d.ts +5 -0
  228. package/dist/api/types/index.d.ts +22 -1
  229. package/dist/auth/HeaderAuthProvider.d.ts +14 -10
  230. package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
  231. package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
  232. package/dist/core/fetcher/Fetcher.d.ts +1 -2
  233. package/dist/core/fetcher/index.d.ts +2 -0
  234. package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
  235. package/dist/core/fetcher/makeRequest.d.ts +6 -1
  236. package/dist/core/headers.d.ts +2 -2
  237. package/dist/core/schemas/builders/record/index.d.ts +2 -2
  238. package/dist/core/schemas/builders/record/record.d.ts +2 -1
  239. package/dist/core/schemas/builders/record/types.d.ts +2 -0
  240. package/dist/datastream/merge.d.ts +25 -0
  241. package/dist/datastream/types.d.ts +1 -0
  242. package/dist/index.js +3 -3
  243. package/dist/serialization/resources/accounts/types/GetAccountMemberResponse.d.ts +11 -0
  244. package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
  245. package/dist/serialization/resources/accounts/types/ListAccountMembersResponse.d.ts +12 -0
  246. package/dist/serialization/resources/accounts/types/index.d.ts +3 -0
  247. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -0
  248. package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
  249. package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
  250. package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
  251. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
  252. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
  253. package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +4 -2
  254. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -0
  255. package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
  256. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
  257. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -0
  258. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
  259. package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +11 -0
  260. package/dist/serialization/resources/credits/types/index.d.ts +1 -0
  261. package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +46 -0
  262. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +2 -0
  263. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -0
  264. package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
  265. package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +7 -0
  266. package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +7 -0
  267. package/dist/serialization/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +11 -0
  268. package/dist/serialization/resources/entitlements/types/index.d.ts +3 -0
  269. package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +25 -0
  270. package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
  271. package/dist/serialization/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +11 -0
  272. package/dist/serialization/resources/features/types/index.d.ts +1 -0
  273. package/dist/serialization/resources/index.d.ts +2 -0
  274. package/dist/serialization/resources/integrationsapi/index.d.ts +1 -0
  275. package/dist/serialization/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +11 -0
  276. package/dist/serialization/resources/integrationsapi/types/index.d.ts +1 -0
  277. package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +17 -0
  278. package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +14 -0
  279. package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
  280. package/dist/serialization/resources/plans/client/requests/index.d.ts +2 -0
  281. package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +12 -0
  282. package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +12 -0
  283. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -0
  284. package/dist/serialization/resources/plans/types/CreateCustomPlanResponse.d.ts +11 -0
  285. package/dist/serialization/resources/plans/types/DeletePlanVersionParams.d.ts +9 -0
  286. package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +2 -1
  287. package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +12 -0
  288. package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +12 -0
  289. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -0
  290. package/dist/serialization/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +11 -0
  291. package/dist/serialization/resources/plans/types/index.d.ts +7 -0
  292. package/dist/serialization/types/AccountMemberPermission.d.ts +7 -0
  293. package/dist/serialization/types/AccountMemberResponseData.d.ts +18 -0
  294. package/dist/serialization/types/AccountMemberRole.d.ts +7 -0
  295. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -0
  296. package/dist/serialization/types/BillingCreditBundleView.d.ts +2 -0
  297. package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
  298. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +1 -0
  299. package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -0
  300. package/dist/serialization/types/BillingLinkedResourceResponseData.d.ts +12 -0
  301. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
  302. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -2
  303. package/dist/serialization/types/BillingProviderType.d.ts +1 -1
  304. package/dist/serialization/types/CheckoutSubscription.d.ts +1 -0
  305. package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
  306. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +10 -3
  307. package/dist/serialization/types/ConditionGroupResponseData.d.ts +0 -1
  308. package/dist/serialization/types/ConditionGroupView.d.ts +0 -1
  309. package/dist/serialization/types/ConditionResponseData.d.ts +0 -1
  310. package/dist/serialization/types/ConditionView.d.ts +0 -1
  311. package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  312. package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
  313. package/dist/serialization/types/CreatePlanRequestBody.d.ts +2 -1
  314. package/dist/serialization/types/CreditBundleCurrencyPrice.d.ts +11 -0
  315. package/dist/serialization/types/CreditBundleCurrencyPriceRequestBody.d.ts +11 -0
  316. package/dist/serialization/types/CreditBundleCurrencyPriceResponseData.d.ts +11 -0
  317. package/dist/serialization/types/CreditCompanyGrantView.d.ts +1 -0
  318. package/dist/serialization/types/CreditCurrencyPriceRequestBody.d.ts +11 -0
  319. package/dist/serialization/types/CreditCurrencyPriceResponseData.d.ts +11 -0
  320. package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +16 -0
  321. package/dist/serialization/types/CustomPlanActivationStrategy.d.ts +7 -0
  322. package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +21 -0
  323. package/dist/serialization/types/CustomPlanBillingStatus.d.ts +7 -0
  324. package/dist/serialization/types/DatastreamCompanyPlan.d.ts +2 -0
  325. package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +12 -0
  326. package/dist/serialization/types/FeatureDetailResponseData.d.ts +2 -0
  327. package/dist/serialization/types/FeatureView.d.ts +2 -0
  328. package/dist/serialization/types/IntegrationType.d.ts +7 -0
  329. package/dist/serialization/types/IntegrationWebhookUrlResponseData.d.ts +11 -0
  330. package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
  331. package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
  332. package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +12 -0
  333. package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +13 -0
  334. package/dist/serialization/types/PlanDetailResponseData.d.ts +10 -3
  335. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -0
  336. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +10 -3
  337. package/dist/serialization/types/PlanIcon.d.ts +7 -0
  338. package/dist/serialization/types/PlanResponseData.d.ts +4 -1
  339. package/dist/serialization/types/PlanSelection.d.ts +1 -0
  340. package/dist/serialization/types/PlanVersionResponseData.d.ts +2 -1
  341. package/dist/serialization/types/PlanViewPublicResponseData.d.ts +10 -3
  342. package/dist/serialization/types/RuleView.d.ts +0 -1
  343. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  344. package/dist/serialization/types/TrialStatus.d.ts +7 -0
  345. package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  346. package/dist/serialization/types/UpdatePlanRequestBody.d.ts +2 -1
  347. package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +2 -0
  348. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +2 -0
  349. package/dist/serialization/types/WebScheduledDowngradeWebhookOutput.d.ts +17 -0
  350. package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
  351. package/dist/serialization/types/WebhookUrl.d.ts +11 -0
  352. package/dist/serialization/types/index.d.ts +22 -1
  353. package/dist/wasm/rulesengine.d.ts +10 -0
  354. package/dist/wasm/rulesengine.js +193 -0
  355. package/dist/wasm/rulesengine_bg.wasm +0 -0
  356. package/dist/wasm/rulesengine_bg.wasm.d.ts +25 -0
  357. package/package.json +9 -9
  358. package/dist/api/types/PlanControlledByType.d.ts +0 -5
  359. package/dist/serialization/types/PlanControlledByType.d.ts +0 -7
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023-2025 Schematic, Inc.
3
+ Copyright (c) 2023-2026 Schematic, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- import { HeaderAuthProvider } from "./auth/HeaderAuthProvider.js";
1
+ import { HeaderAuthProvider } from "./auth/HeaderAuthProvider";
2
2
  import * as core from "./core";
3
3
  import type * as environments from "./environments";
4
4
  export type BaseClientOptions = {
package/dist/Client.d.ts CHANGED
@@ -10,6 +10,7 @@ import { DataexportsClient } from "./api/resources/dataexports/client/Client";
10
10
  import { EntitlementsClient } from "./api/resources/entitlements/client/Client";
11
11
  import { EventsClient } from "./api/resources/events/client/Client";
12
12
  import { FeaturesClient } from "./api/resources/features/client/Client";
13
+ import { IntegrationsapiClient } from "./api/resources/integrationsapi/client/Client";
13
14
  import { PlanbundleClient } from "./api/resources/planbundle/client/Client";
14
15
  import { PlangroupsClient } from "./api/resources/plangroups/client/Client";
15
16
  import { PlanmigrationsClient } from "./api/resources/planmigrations/client/Client";
@@ -37,6 +38,7 @@ export declare class SchematicClient {
37
38
  protected _dataexports: DataexportsClient | undefined;
38
39
  protected _events: EventsClient | undefined;
39
40
  protected _features: FeaturesClient | undefined;
41
+ protected _integrationsapi: IntegrationsapiClient | undefined;
40
42
  protected _planbundle: PlanbundleClient | undefined;
41
43
  protected _plangroups: PlangroupsClient | undefined;
42
44
  protected _planmigrations: PlanmigrationsClient | undefined;
@@ -56,6 +58,7 @@ export declare class SchematicClient {
56
58
  get dataexports(): DataexportsClient;
57
59
  get events(): EventsClient;
58
60
  get features(): FeaturesClient;
61
+ get integrationsapi(): IntegrationsapiClient;
59
62
  get planbundle(): PlanbundleClient;
60
63
  get plangroups(): PlangroupsClient;
61
64
  get planmigrations(): PlanmigrationsClient;
@@ -81,4 +84,15 @@ export declare class SchematicClient {
81
84
  */
82
85
  deletePlanAudiencesPlanAudienceId(plan_audience_id: string, requestOptions?: SchematicClient.RequestOptions): core.HttpResponsePromise<void>;
83
86
  private __deletePlanAudiencesPlanAudienceId;
87
+ /**
88
+ * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
89
+ * This is useful for making requests to endpoints not yet supported in the SDK.
90
+ * The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
91
+ *
92
+ * @param {Request | string | URL} input - The URL, path, or Request object.
93
+ * @param {RequestInit} init - Standard fetch RequestInit options.
94
+ * @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
95
+ * @returns {Promise<Response>} A standard Response object.
96
+ */
97
+ fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise<Response>;
84
98
  }
@@ -0,0 +1,2 @@
1
+ export { AccesstokensClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -10,6 +10,39 @@ export declare namespace AccountsClient {
10
10
  export declare class AccountsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<AccountsClient.Options>;
12
12
  constructor(options: AccountsClient.Options);
13
+ /**
14
+ * @param {Schematic.ListAccountMembersRequest} request
15
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @throws {@link Schematic.BadRequestError}
18
+ * @throws {@link Schematic.UnauthorizedError}
19
+ * @throws {@link Schematic.ForbiddenError}
20
+ * @throws {@link Schematic.NotFoundError}
21
+ * @throws {@link Schematic.InternalServerError}
22
+ *
23
+ * @example
24
+ * await client.accounts.listAccountMembers({
25
+ * q: "q",
26
+ * limit: 1000000,
27
+ * offset: 1000000
28
+ * })
29
+ */
30
+ listAccountMembers(request?: Schematic.ListAccountMembersRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListAccountMembersResponse>;
31
+ private __listAccountMembers;
32
+ /**
33
+ * @param {string} account_member_id - account_member_id
34
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link Schematic.UnauthorizedError}
37
+ * @throws {@link Schematic.ForbiddenError}
38
+ * @throws {@link Schematic.NotFoundError}
39
+ * @throws {@link Schematic.InternalServerError}
40
+ *
41
+ * @example
42
+ * await client.accounts.getAccountMember("account_member_id")
43
+ */
44
+ getAccountMember(account_member_id: string, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetAccountMemberResponse>;
45
+ private __getAccountMember;
13
46
  /**
14
47
  * @param {Schematic.ListApiKeysRequest} request
15
48
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -24,8 +57,8 @@ export declare class AccountsClient {
24
57
  * await client.accounts.listApiKeys({
25
58
  * environmentId: "environment_id",
26
59
  * requireEnvironment: true,
27
- * limit: 1,
28
- * offset: 1
60
+ * limit: 1000000,
61
+ * offset: 1000000
29
62
  * })
30
63
  */
31
64
  listApiKeys(request: Schematic.ListApiKeysRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListApiKeysResponse>;
@@ -106,8 +139,8 @@ export declare class AccountsClient {
106
139
  * await client.accounts.countApiKeys({
107
140
  * environmentId: "environment_id",
108
141
  * requireEnvironment: true,
109
- * limit: 1,
110
- * offset: 1
142
+ * limit: 1000000,
143
+ * offset: 1000000
111
144
  * })
112
145
  */
113
146
  countApiKeys(request: Schematic.CountApiKeysRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountApiKeysResponse>;
@@ -129,8 +162,8 @@ export declare class AccountsClient {
129
162
  * environmentId: "environment_id",
130
163
  * q: "q",
131
164
  * startTime: new Date("2024-01-15T09:30:00.000Z"),
132
- * limit: 1,
133
- * offset: 1
165
+ * limit: 1000000,
166
+ * offset: 1000000
134
167
  * })
135
168
  */
136
169
  listAuditLogs(request?: Schematic.ListAuditLogsRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListAuditLogsResponse>;
@@ -166,8 +199,8 @@ export declare class AccountsClient {
166
199
  * environmentId: "environment_id",
167
200
  * q: "q",
168
201
  * startTime: new Date("2024-01-15T09:30:00.000Z"),
169
- * limit: 1,
170
- * offset: 1
202
+ * limit: 1000000,
203
+ * offset: 1000000
171
204
  * })
172
205
  */
173
206
  countAuditLogs(request?: Schematic.CountAuditLogsRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountAuditLogsResponse>;
@@ -184,8 +217,8 @@ export declare class AccountsClient {
184
217
  *
185
218
  * @example
186
219
  * await client.accounts.listEnvironments({
187
- * limit: 1,
188
- * offset: 1
220
+ * limit: 1000000,
221
+ * offset: 1000000
189
222
  * })
190
223
  */
191
224
  listEnvironments(request?: Schematic.ListEnvironmentsRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListEnvironmentsResponse>;
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * environmentId: "environment_id",
5
5
  * requireEnvironment: true,
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface CountApiKeysRequest {
@@ -7,8 +7,8 @@ import type * as Schematic from "../../../../index";
7
7
  * environmentId: "environment_id",
8
8
  * q: "q",
9
9
  * startTime: new Date("2024-01-15T09:30:00.000Z"),
10
- * limit: 1,
11
- * offset: 1
10
+ * limit: 1000000,
11
+ * offset: 1000000
12
12
  * }
13
13
  */
14
14
  export interface CountAuditLogsRequest {
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * q: "q",
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
+ * }
8
+ */
9
+ export interface ListAccountMembersRequest {
10
+ ids?: string | string[];
11
+ /** Search filter */
12
+ q?: string;
13
+ /** Page limit (default 100) */
14
+ limit?: number;
15
+ /** Page offset (default 0) */
16
+ offset?: number;
17
+ }
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * environmentId: "environment_id",
5
5
  * requireEnvironment: true,
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface ListApiKeysRequest {
@@ -7,8 +7,8 @@ import type * as Schematic from "../../../../index";
7
7
  * environmentId: "environment_id",
8
8
  * q: "q",
9
9
  * startTime: new Date("2024-01-15T09:30:00.000Z"),
10
- * limit: 1,
11
- * offset: 1
10
+ * limit: 1000000,
11
+ * offset: 1000000
12
12
  * }
13
13
  */
14
14
  export interface ListAuditLogsRequest {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * limit: 1,
5
- * offset: 1
4
+ * limit: 1000000,
5
+ * offset: 1000000
6
6
  * }
7
7
  */
8
8
  export interface ListEnvironmentsRequest {
@@ -2,6 +2,7 @@ export type { CountApiKeysRequest } from "./CountApiKeysRequest";
2
2
  export type { CountAuditLogsRequest } from "./CountAuditLogsRequest";
3
3
  export type { CreateApiKeyRequestBody } from "./CreateApiKeyRequestBody";
4
4
  export type { CreateEnvironmentRequestBody } from "./CreateEnvironmentRequestBody";
5
+ export type { ListAccountMembersRequest } from "./ListAccountMembersRequest";
5
6
  export type { ListApiKeysRequest } from "./ListApiKeysRequest";
6
7
  export type { ListAuditLogsRequest } from "./ListAuditLogsRequest";
7
8
  export type { ListEnvironmentsRequest } from "./ListEnvironmentsRequest";
@@ -0,0 +1,2 @@
1
+ export { AccountsClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -0,0 +1,6 @@
1
+ import type * as Schematic from "../../../index";
2
+ export interface GetAccountMemberResponse {
3
+ data: Schematic.AccountMemberResponseData;
4
+ /** Input parameters */
5
+ params: Record<string, unknown>;
6
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Input parameters
3
+ */
4
+ export interface ListAccountMembersParams {
5
+ ids?: string[];
6
+ /** Page limit (default 100) */
7
+ limit?: number;
8
+ /** Page offset (default 0) */
9
+ offset?: number;
10
+ /** Search filter */
11
+ q?: string;
12
+ }
@@ -0,0 +1,6 @@
1
+ import type * as Schematic from "../../../index";
2
+ export interface ListAccountMembersResponse {
3
+ data: Schematic.AccountMemberResponseData[];
4
+ /** Input parameters */
5
+ params: Schematic.ListAccountMembersParams;
6
+ }
@@ -6,10 +6,13 @@ export * from "./CreateApiKeyResponse";
6
6
  export * from "./CreateEnvironmentResponse";
7
7
  export * from "./DeleteApiKeyResponse";
8
8
  export * from "./DeleteEnvironmentResponse";
9
+ export * from "./GetAccountMemberResponse";
9
10
  export * from "./GetApiKeyResponse";
10
11
  export * from "./GetAuditLogResponse";
11
12
  export * from "./GetEnvironmentResponse";
12
13
  export * from "./GetWhoAmIResponse";
14
+ export * from "./ListAccountMembersParams";
15
+ export * from "./ListAccountMembersResponse";
13
16
  export * from "./ListApiKeysParams";
14
17
  export * from "./ListApiKeysResponse";
15
18
  export * from "./ListAuditLogsParams";
@@ -24,8 +24,8 @@ export declare class BillingClient {
24
24
  * await client.billing.listCoupons({
25
25
  * isActive: true,
26
26
  * q: "q",
27
- * limit: 1,
28
- * offset: 1
27
+ * limit: 1000000,
28
+ * offset: 1000000
29
29
  * })
30
30
  */
31
31
  listCoupons(request?: Schematic.ListCouponsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCouponsResponse>;
@@ -42,14 +42,14 @@ export declare class BillingClient {
42
42
  *
43
43
  * @example
44
44
  * await client.billing.upsertBillingCoupon({
45
- * amountOff: 1,
45
+ * amountOff: 1000000,
46
46
  * duration: "duration",
47
- * durationInMonths: 1,
47
+ * durationInMonths: 1000000,
48
48
  * externalId: "external_id",
49
- * maxRedemptions: 1,
49
+ * maxRedemptions: 1000000,
50
50
  * name: "name",
51
51
  * percentOff: 1.1,
52
- * timesRedeemed: 1
52
+ * timesRedeemed: 1000000
53
53
  * })
54
54
  */
55
55
  upsertBillingCoupon(request: Schematic.CreateCouponRequestBody, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertBillingCouponResponse>;
@@ -89,10 +89,10 @@ export declare class BillingClient {
89
89
  * @example
90
90
  * await client.billing.listCustomersWithSubscriptions({
91
91
  * name: "name",
92
- * providerType: "schematic",
92
+ * providerType: "orb",
93
93
  * q: "q",
94
- * limit: 1,
95
- * offset: 1
94
+ * limit: 1000000,
95
+ * offset: 1000000
96
96
  * })
97
97
  */
98
98
  listCustomersWithSubscriptions(request?: Schematic.ListCustomersWithSubscriptionsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCustomersWithSubscriptionsResponse>;
@@ -110,10 +110,10 @@ export declare class BillingClient {
110
110
  * @example
111
111
  * await client.billing.countCustomers({
112
112
  * name: "name",
113
- * providerType: "schematic",
113
+ * providerType: "orb",
114
114
  * q: "q",
115
- * limit: 1,
116
- * offset: 1
115
+ * limit: 1000000,
116
+ * offset: 1000000
117
117
  * })
118
118
  */
119
119
  countCustomers(request?: Schematic.CountCustomersRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCustomersResponse>;
@@ -133,8 +133,8 @@ export declare class BillingClient {
133
133
  * companyId: "company_id",
134
134
  * customerExternalId: "customer_external_id",
135
135
  * subscriptionExternalId: "subscription_external_id",
136
- * limit: 1,
137
- * offset: 1
136
+ * limit: 1000000,
137
+ * offset: 1000000
138
138
  * })
139
139
  */
140
140
  listInvoices(request: Schematic.ListInvoicesRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListInvoicesResponse>;
@@ -151,13 +151,13 @@ export declare class BillingClient {
151
151
  *
152
152
  * @example
153
153
  * await client.billing.upsertInvoice({
154
- * amountDue: 1,
155
- * amountPaid: 1,
156
- * amountRemaining: 1,
154
+ * amountDue: 1000000,
155
+ * amountPaid: 1000000,
156
+ * amountRemaining: 1000000,
157
157
  * collectionMethod: "collection_method",
158
158
  * currency: "currency",
159
159
  * customerExternalId: "customer_external_id",
160
- * subtotal: 1
160
+ * subtotal: 1000000
161
161
  * })
162
162
  */
163
163
  upsertInvoice(request: Schematic.CreateInvoiceRequestBody, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertInvoiceResponse>;
@@ -175,8 +175,8 @@ export declare class BillingClient {
175
175
  * @example
176
176
  * await client.billing.listMeters({
177
177
  * displayName: "display_name",
178
- * limit: 1,
179
- * offset: 1
178
+ * limit: 1000000,
179
+ * offset: 1000000
180
180
  * })
181
181
  */
182
182
  listMeters(request?: Schematic.ListMetersRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListMetersResponse>;
@@ -215,8 +215,8 @@ export declare class BillingClient {
215
215
  * await client.billing.listPaymentMethods({
216
216
  * companyId: "company_id",
217
217
  * customerExternalId: "customer_external_id",
218
- * limit: 1,
219
- * offset: 1
218
+ * limit: 1000000,
219
+ * offset: 1000000
220
220
  * })
221
221
  */
222
222
  listPaymentMethods(request: Schematic.ListPaymentMethodsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPaymentMethodsResponse>;
@@ -252,19 +252,20 @@ export declare class BillingClient {
252
252
  *
253
253
  * @example
254
254
  * await client.billing.listBillingPrices({
255
+ * currency: "currency",
255
256
  * forInitialPlan: true,
256
257
  * forTrialExpiryPlan: true,
257
258
  * interval: "interval",
258
259
  * isActive: true,
259
- * price: 1,
260
+ * price: 1000000,
260
261
  * productId: "product_id",
261
- * providerType: "schematic",
262
+ * providerType: "orb",
262
263
  * q: "q",
263
264
  * tiersMode: "graduated",
264
265
  * usageType: "licensed",
265
266
  * withMeter: true,
266
- * limit: 1,
267
- * offset: 1
267
+ * limit: 1000000,
268
+ * offset: 1000000
268
269
  * })
269
270
  */
270
271
  listBillingPrices(request?: Schematic.ListBillingPricesRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingPricesResponse>;
@@ -286,7 +287,7 @@ export declare class BillingClient {
286
287
  * externalAccountId: "external_account_id",
287
288
  * interval: "interval",
288
289
  * isActive: true,
289
- * price: 1,
290
+ * price: 1000000,
290
291
  * priceExternalId: "price_external_id",
291
292
  * priceTiers: [{
292
293
  * priceExternalId: "price_external_id"
@@ -324,19 +325,20 @@ export declare class BillingClient {
324
325
  *
325
326
  * @example
326
327
  * await client.billing.listBillingProductPrices({
328
+ * currency: "currency",
327
329
  * forInitialPlan: true,
328
330
  * forTrialExpiryPlan: true,
329
331
  * interval: "interval",
330
332
  * isActive: true,
331
- * price: 1,
333
+ * price: 1000000,
332
334
  * productId: "product_id",
333
- * providerType: "schematic",
335
+ * providerType: "orb",
334
336
  * q: "q",
335
337
  * tiersMode: "graduated",
336
338
  * usageType: "licensed",
337
339
  * withMeter: true,
338
- * limit: 1,
339
- * offset: 1
340
+ * limit: 1000000,
341
+ * offset: 1000000
340
342
  * })
341
343
  */
342
344
  listBillingProductPrices(request?: Schematic.ListBillingProductPricesRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingProductPricesResponse>;
@@ -389,14 +391,14 @@ export declare class BillingClient {
389
391
  * isActive: true,
390
392
  * name: "name",
391
393
  * priceUsageType: "licensed",
392
- * providerType: "schematic",
394
+ * providerType: "orb",
393
395
  * q: "q",
394
396
  * withOneTimeCharges: true,
395
397
  * withPricesOnly: true,
396
398
  * withZeroPrice: true,
397
399
  * withoutLinkedToPlan: true,
398
- * limit: 1,
399
- * offset: 1
400
+ * limit: 1000000,
401
+ * offset: 1000000
400
402
  * })
401
403
  */
402
404
  listBillingProducts(request?: Schematic.ListBillingProductsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingProductsResponse>;
@@ -416,14 +418,14 @@ export declare class BillingClient {
416
418
  * isActive: true,
417
419
  * name: "name",
418
420
  * priceUsageType: "licensed",
419
- * providerType: "schematic",
421
+ * providerType: "orb",
420
422
  * q: "q",
421
423
  * withOneTimeCharges: true,
422
424
  * withPricesOnly: true,
423
425
  * withZeroPrice: true,
424
426
  * withoutLinkedToPlan: true,
425
- * limit: 1,
426
- * offset: 1
427
+ * limit: 1000000,
428
+ * offset: 1000000
427
429
  * })
428
430
  */
429
431
  countBillingProducts(request?: Schematic.CountBillingProductsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingProductsResponse>;
@@ -453,14 +455,14 @@ export declare class BillingClient {
453
455
  * productExternalIds: [{
454
456
  * currency: "currency",
455
457
  * interval: "interval",
456
- * price: 1,
458
+ * price: 1000000,
457
459
  * priceExternalId: "price_external_id",
458
460
  * productExternalId: "product_external_id",
459
- * quantity: 1,
461
+ * quantity: 1000000,
460
462
  * usageType: "licensed"
461
463
  * }],
462
464
  * subscriptionExternalId: "subscription_external_id",
463
- * totalPrice: 1
465
+ * totalPrice: 1000000
464
466
  * })
465
467
  */
466
468
  upsertBillingSubscription(request: Schematic.CreateBillingSubscriptionRequestBody, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertBillingSubscriptionResponse>;
@@ -5,14 +5,14 @@ import type * as Schematic from "../../../../index";
5
5
  * isActive: true,
6
6
  * name: "name",
7
7
  * priceUsageType: "licensed",
8
- * providerType: "schematic",
8
+ * providerType: "orb",
9
9
  * q: "q",
10
10
  * withOneTimeCharges: true,
11
11
  * withPricesOnly: true,
12
12
  * withZeroPrice: true,
13
13
  * withoutLinkedToPlan: true,
14
- * limit: 1,
15
- * offset: 1
14
+ * limit: 1000000,
15
+ * offset: 1000000
16
16
  * }
17
17
  */
18
18
  export interface CountBillingProductsRequest {
@@ -3,10 +3,10 @@ import type * as Schematic from "../../../../index";
3
3
  * @example
4
4
  * {
5
5
  * name: "name",
6
- * providerType: "schematic",
6
+ * providerType: "orb",
7
7
  * q: "q",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface CountCustomersRequest {
@@ -7,7 +7,7 @@ import type * as Schematic from "../../../../index";
7
7
  * externalAccountId: "external_account_id",
8
8
  * interval: "interval",
9
9
  * isActive: true,
10
- * price: 1,
10
+ * price: 1000000,
11
11
  * priceExternalId: "price_external_id",
12
12
  * priceTiers: [{
13
13
  * priceExternalId: "price_external_id"
@@ -15,14 +15,14 @@ import type * as Schematic from "../../../../index";
15
15
  * productExternalIds: [{
16
16
  * currency: "currency",
17
17
  * interval: "interval",
18
- * price: 1,
18
+ * price: 1000000,
19
19
  * priceExternalId: "price_external_id",
20
20
  * productExternalId: "product_external_id",
21
- * quantity: 1,
21
+ * quantity: 1000000,
22
22
  * usageType: "licensed"
23
23
  * }],
24
24
  * subscriptionExternalId: "subscription_external_id",
25
- * totalPrice: 1
25
+ * totalPrice: 1000000
26
26
  * }
27
27
  */
28
28
  export interface CreateBillingSubscriptionRequestBody {
@@ -40,6 +40,7 @@ export interface CreateBillingSubscriptionRequestBody {
40
40
  periodEnd?: number;
41
41
  periodStart?: number;
42
42
  productExternalIds: Schematic.BillingProductPricing[];
43
+ providerType?: Schematic.BillingProviderType;
43
44
  status?: string;
44
45
  subscriptionExternalId: string;
45
46
  totalPrice: number;
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * amountOff: 1,
4
+ * amountOff: 1000000,
5
5
  * duration: "duration",
6
- * durationInMonths: 1,
6
+ * durationInMonths: 1000000,
7
7
  * externalId: "external_id",
8
- * maxRedemptions: 1,
8
+ * maxRedemptions: 1000000,
9
9
  * name: "name",
10
10
  * percentOff: 1.1,
11
- * timesRedeemed: 1
11
+ * timesRedeemed: 1000000
12
12
  * }
13
13
  */
14
14
  export interface CreateCouponRequestBody {
@@ -2,13 +2,13 @@ import type * as Schematic from "../../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
5
- * amountDue: 1,
6
- * amountPaid: 1,
7
- * amountRemaining: 1,
5
+ * amountDue: 1000000,
6
+ * amountPaid: 1000000,
7
+ * amountRemaining: 1000000,
8
8
  * collectionMethod: "collection_method",
9
9
  * currency: "currency",
10
10
  * customerExternalId: "customer_external_id",
11
- * subtotal: 1
11
+ * subtotal: 1000000
12
12
  * }
13
13
  */
14
14
  export interface CreateInvoiceRequestBody {
@@ -1,3 +1,4 @@
1
+ import type * as Schematic from "../../../../index";
1
2
  /**
2
3
  * @example
3
4
  * {
@@ -12,4 +13,5 @@ export interface CreateMeterRequestBody {
12
13
  eventName: string;
13
14
  eventPayloadKey: string;
14
15
  externalId: string;
16
+ providerType?: Schematic.BillingProviderType;
15
17
  }