@schematichq/schematic-typescript-node 1.5.10 → 1.5.13

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 (217) hide show
  1. package/dist/api/errors/PaymentRequiredError.d.ts +7 -0
  2. package/dist/api/errors/index.d.ts +1 -0
  3. package/dist/api/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +2 -0
  4. package/dist/api/resources/billing/client/Client.d.ts +43 -0
  5. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
  6. package/dist/api/resources/billing/client/requests/ListCompanyBillingProfilesRequest.d.ts +20 -0
  7. package/dist/api/resources/billing/client/requests/UpdateCompanyBillingProfileRequestBody.d.ts +15 -0
  8. package/dist/api/resources/billing/client/requests/index.d.ts +2 -0
  9. package/dist/api/resources/billing/types/ListCompanyBillingProfilesParams.d.ts +13 -0
  10. package/dist/api/resources/billing/types/ListCompanyBillingProfilesResponse.d.ts +6 -0
  11. package/dist/api/resources/billing/types/UpdateCompanyBillingProfileResponse.d.ts +6 -0
  12. package/dist/api/resources/billing/types/index.d.ts +3 -0
  13. package/dist/api/resources/credits/client/Client.d.ts +123 -0
  14. package/dist/api/resources/credits/client/requests/CountCreditSpendPoliciesRequest.d.ts +24 -0
  15. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
  16. package/dist/api/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +17 -0
  17. package/dist/api/resources/credits/client/requests/ListCreditSpendPoliciesRequest.d.ts +24 -0
  18. package/dist/api/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +8 -0
  19. package/dist/api/resources/credits/client/requests/index.d.ts +4 -0
  20. package/dist/api/resources/credits/types/CountCreditSpendPoliciesParams.d.ts +15 -0
  21. package/dist/api/resources/credits/types/CountCreditSpendPoliciesResponse.d.ts +6 -0
  22. package/dist/api/resources/credits/types/CreateCreditSpendPolicyResponse.d.ts +6 -0
  23. package/dist/api/resources/credits/types/DeleteCreditSpendPolicyResponse.d.ts +6 -0
  24. package/dist/api/resources/credits/types/GetCreditSpendPolicyResponse.d.ts +6 -0
  25. package/dist/api/resources/credits/types/ListCreditSpendPoliciesParams.d.ts +15 -0
  26. package/dist/api/resources/credits/types/ListCreditSpendPoliciesResponse.d.ts +6 -0
  27. package/dist/api/resources/credits/types/UpdateCreditSpendPolicyResponse.d.ts +6 -0
  28. package/dist/api/resources/credits/types/index.d.ts +8 -0
  29. package/dist/api/resources/events/client/Client.d.ts +50 -0
  30. package/dist/api/resources/events/client/requests/UpsertOtlpEnvironmentSettingsRequestBody.d.ts +13 -0
  31. package/dist/api/resources/events/client/requests/index.d.ts +1 -0
  32. package/dist/api/resources/events/types/DeleteOtlpEnvironmentSettingsResponse.d.ts +6 -0
  33. package/dist/api/resources/events/types/GetOtlpEnvironmentSettingsResponse.d.ts +6 -0
  34. package/dist/api/resources/events/types/UpsertOtlpEnvironmentSettingsResponse.d.ts +6 -0
  35. package/dist/api/resources/events/types/index.d.ts +3 -0
  36. package/dist/api/resources/integrationsapi/client/Client.d.ts +83 -0
  37. package/dist/api/resources/integrationsapi/client/requests/ClaimStripeSandboxKeysRequestBody.d.ts +9 -0
  38. package/dist/api/resources/integrationsapi/client/requests/InstallStripeSandboxRequestBody.d.ts +12 -0
  39. package/dist/api/resources/integrationsapi/client/requests/index.d.ts +2 -0
  40. package/dist/api/resources/integrationsapi/types/ClaimStripeSandboxKeysResponse.d.ts +6 -0
  41. package/dist/api/resources/integrationsapi/types/GetStripeSandboxClaimLinkResponse.d.ts +6 -0
  42. package/dist/api/resources/integrationsapi/types/GetStripeSandboxKeysResponse.d.ts +6 -0
  43. package/dist/api/resources/integrationsapi/types/InstallStripeClaimableSandboxResponse.d.ts +6 -0
  44. package/dist/api/resources/integrationsapi/types/ListStripeSandboxCountriesResponse.d.ts +6 -0
  45. package/dist/api/resources/integrationsapi/types/index.d.ts +5 -0
  46. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
  47. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
  48. package/dist/api/resources/planmigrations/client/Client.d.ts +40 -5
  49. package/dist/api/resources/planmigrations/client/requests/CompleteMigrationNowRequestBody.d.ts +8 -0
  50. package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +1 -1
  51. package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +1 -1
  52. package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +1 -1
  53. package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +1 -1
  54. package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +1 -1
  55. package/dist/api/resources/planmigrations/client/requests/index.d.ts +1 -0
  56. package/dist/api/resources/planmigrations/types/CancelMigrationResponse.d.ts +6 -0
  57. package/dist/api/resources/planmigrations/types/CompleteMigrationNowResponse.d.ts +6 -0
  58. package/dist/api/resources/planmigrations/types/index.d.ts +2 -0
  59. package/dist/api/resources/plans/client/Client.d.ts +3 -1
  60. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +3 -0
  61. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +3 -0
  62. package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +5 -1
  63. package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +4 -0
  64. package/dist/api/resources/plans/types/CountPlansParams.d.ts +2 -0
  65. package/dist/api/resources/plans/types/ListPlansParams.d.ts +2 -0
  66. package/dist/api/types/BillingArrearsAnchor.d.ts +5 -0
  67. package/dist/api/types/BillingArrearsCadence.d.ts +5 -0
  68. package/dist/api/types/BillingCreditGrantResponseData.d.ts +7 -0
  69. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +12 -0
  70. package/dist/api/types/CheckoutDataResponseData.d.ts +2 -0
  71. package/dist/api/types/ClaimedStripeSandboxKeysResponseData.d.ts +5 -0
  72. package/dist/api/types/CompanyBillingProfileResponseData.d.ts +17 -0
  73. package/dist/api/types/CompanyDetailResponseData.d.ts +3 -0
  74. package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -0
  75. package/dist/api/types/CompanyPlanCreditGrantView.d.ts +6 -0
  76. package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +12 -0
  77. package/dist/api/types/CreditCompanyGrantView.d.ts +7 -0
  78. package/dist/api/types/CreditLeaseResponseData.d.ts +1 -0
  79. package/dist/api/types/CreditSpendPolicyResponseData.d.ts +12 -0
  80. package/dist/api/types/CreditSpendPolicyScope.d.ts +6 -0
  81. package/dist/api/types/CustomPlanBillingResponseData.d.ts +2 -0
  82. package/dist/api/types/EventBodyInference.d.ts +4 -2
  83. package/dist/api/types/GetOnboardingStateResp.d.ts +8 -0
  84. package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
  85. package/dist/api/types/OnboardingRequirement.d.ts +2 -0
  86. package/dist/api/types/OnboardingRoadmapView.d.ts +4 -0
  87. package/dist/api/types/OnboardingStripeImport.d.ts +6 -0
  88. package/dist/api/types/OtlpEnvironmentSettingsResponseData.d.ts +10 -0
  89. package/dist/api/types/PendingMigrationResponseData.d.ts +8 -0
  90. package/dist/api/types/PlanCreditGrantView.d.ts +6 -0
  91. package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -0
  92. package/dist/api/types/PlanGroupResponseData.d.ts +1 -0
  93. package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
  94. package/dist/api/types/PlanVersionCompanyMigrationStatus.d.ts +1 -0
  95. package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
  96. package/dist/api/types/PlanVersionMigrationStatus.d.ts +1 -0
  97. package/dist/api/types/PlanVersionMigrationStrategy.d.ts +1 -0
  98. package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -0
  99. package/dist/api/types/RuleConditionPlanVersionResponseData.d.ts +7 -0
  100. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  101. package/dist/api/types/RulesengineCompany.d.ts +1 -0
  102. package/dist/api/types/RulesengineCreditPostpaidConfig.d.ts +3 -0
  103. package/dist/api/types/SlackConnectInviteStatus.d.ts +8 -0
  104. package/dist/api/types/SlackConnectInviteView.d.ts +7 -0
  105. package/dist/api/types/StripeIntegrationConfig.d.ts +6 -0
  106. package/dist/api/types/StripeSandboxClaimLink.d.ts +6 -0
  107. package/dist/api/types/StripeSandboxCountriesResponseData.d.ts +3 -0
  108. package/dist/api/types/StripeSandboxInstallResponseData.d.ts +10 -0
  109. package/dist/api/types/StripeSandboxKeysResponseData.d.ts +5 -0
  110. package/dist/api/types/TemporaryAccessTokenIssuerType.d.ts +5 -0
  111. package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -1
  112. package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +12 -0
  113. package/dist/api/types/WebhookEventDetailResponseData.d.ts +1 -0
  114. package/dist/api/types/WebhookEventResponseData.d.ts +1 -0
  115. package/dist/api/types/index.d.ts +19 -0
  116. package/dist/credits/lease-store.d.ts +17 -8
  117. package/dist/index.js +25 -9
  118. package/dist/serialization/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +2 -0
  119. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
  120. package/dist/serialization/resources/billing/client/requests/UpdateCompanyBillingProfileRequestBody.d.ts +16 -0
  121. package/dist/serialization/resources/billing/client/requests/index.d.ts +1 -0
  122. package/dist/serialization/resources/billing/types/ListCompanyBillingProfilesParams.d.ts +14 -0
  123. package/dist/serialization/resources/billing/types/ListCompanyBillingProfilesResponse.d.ts +12 -0
  124. package/dist/serialization/resources/billing/types/UpdateCompanyBillingProfileResponse.d.ts +11 -0
  125. package/dist/serialization/resources/billing/types/index.d.ts +3 -0
  126. package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
  127. package/dist/serialization/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +13 -0
  128. package/dist/serialization/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +10 -0
  129. package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
  130. package/dist/serialization/resources/credits/types/CountCreditSpendPoliciesParams.d.ts +16 -0
  131. package/dist/serialization/resources/credits/types/CountCreditSpendPoliciesResponse.d.ts +12 -0
  132. package/dist/serialization/resources/credits/types/CreateCreditSpendPolicyResponse.d.ts +11 -0
  133. package/dist/serialization/resources/credits/types/DeleteCreditSpendPolicyResponse.d.ts +11 -0
  134. package/dist/serialization/resources/credits/types/GetCreditSpendPolicyResponse.d.ts +11 -0
  135. package/dist/serialization/resources/credits/types/ListCreditSpendPoliciesParams.d.ts +16 -0
  136. package/dist/serialization/resources/credits/types/ListCreditSpendPoliciesResponse.d.ts +12 -0
  137. package/dist/serialization/resources/credits/types/UpdateCreditSpendPolicyResponse.d.ts +11 -0
  138. package/dist/serialization/resources/credits/types/index.d.ts +8 -0
  139. package/dist/serialization/resources/events/client/requests/UpsertOtlpEnvironmentSettingsRequestBody.d.ts +13 -0
  140. package/dist/serialization/resources/events/client/requests/index.d.ts +1 -0
  141. package/dist/serialization/resources/events/types/DeleteOtlpEnvironmentSettingsResponse.d.ts +11 -0
  142. package/dist/serialization/resources/events/types/GetOtlpEnvironmentSettingsResponse.d.ts +11 -0
  143. package/dist/serialization/resources/events/types/UpsertOtlpEnvironmentSettingsResponse.d.ts +11 -0
  144. package/dist/serialization/resources/events/types/index.d.ts +3 -0
  145. package/dist/serialization/resources/integrationsapi/client/requests/ClaimStripeSandboxKeysRequestBody.d.ts +9 -0
  146. package/dist/serialization/resources/integrationsapi/client/requests/InstallStripeSandboxRequestBody.d.ts +12 -0
  147. package/dist/serialization/resources/integrationsapi/client/requests/index.d.ts +2 -0
  148. package/dist/serialization/resources/integrationsapi/types/ClaimStripeSandboxKeysResponse.d.ts +11 -0
  149. package/dist/serialization/resources/integrationsapi/types/GetStripeSandboxClaimLinkResponse.d.ts +11 -0
  150. package/dist/serialization/resources/integrationsapi/types/GetStripeSandboxKeysResponse.d.ts +11 -0
  151. package/dist/serialization/resources/integrationsapi/types/InstallStripeClaimableSandboxResponse.d.ts +11 -0
  152. package/dist/serialization/resources/integrationsapi/types/ListStripeSandboxCountriesResponse.d.ts +11 -0
  153. package/dist/serialization/resources/integrationsapi/types/index.d.ts +5 -0
  154. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
  155. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
  156. package/dist/serialization/resources/planmigrations/client/requests/CompleteMigrationNowRequestBody.d.ts +10 -0
  157. package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +1 -0
  158. package/dist/serialization/resources/planmigrations/types/CancelMigrationResponse.d.ts +11 -0
  159. package/dist/serialization/resources/planmigrations/types/CompleteMigrationNowResponse.d.ts +11 -0
  160. package/dist/serialization/resources/planmigrations/types/index.d.ts +2 -0
  161. package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +2 -0
  162. package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +2 -0
  163. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +1 -0
  164. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +1 -0
  165. package/dist/serialization/types/BillingArrearsAnchor.d.ts +7 -0
  166. package/dist/serialization/types/BillingArrearsCadence.d.ts +7 -0
  167. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +4 -0
  168. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +8 -0
  169. package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
  170. package/dist/serialization/types/ClaimedStripeSandboxKeysResponseData.d.ts +11 -0
  171. package/dist/serialization/types/CompanyBillingProfileResponseData.d.ts +25 -0
  172. package/dist/serialization/types/CompanyDetailResponseData.d.ts +5 -0
  173. package/dist/serialization/types/CompanyOverrideResponseData.d.ts +3 -0
  174. package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +8 -0
  175. package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +8 -0
  176. package/dist/serialization/types/CreditCompanyGrantView.d.ts +8 -0
  177. package/dist/serialization/types/CreditLeaseResponseData.d.ts +1 -0
  178. package/dist/serialization/types/CreditSpendPolicyResponseData.d.ts +18 -0
  179. package/dist/serialization/types/CreditSpendPolicyScope.d.ts +7 -0
  180. package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
  181. package/dist/serialization/types/EventBodyInference.d.ts +1 -0
  182. package/dist/serialization/types/GetOnboardingStateResp.d.ts +11 -0
  183. package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +3 -1
  184. package/dist/serialization/types/OnboardingRequirement.d.ts +1 -1
  185. package/dist/serialization/types/OnboardingRoadmapView.d.ts +10 -0
  186. package/dist/serialization/types/OnboardingStripeImport.d.ts +7 -0
  187. package/dist/serialization/types/OtlpEnvironmentSettingsResponseData.d.ts +16 -0
  188. package/dist/serialization/types/PendingMigrationResponseData.d.ts +14 -0
  189. package/dist/serialization/types/PlanCreditGrantView.d.ts +8 -0
  190. package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +1 -0
  191. package/dist/serialization/types/PlanGroupResponseData.d.ts +1 -0
  192. package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
  193. package/dist/serialization/types/PlanVersionCompanyMigrationStatus.d.ts +1 -1
  194. package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
  195. package/dist/serialization/types/PlanVersionMigrationStatus.d.ts +1 -1
  196. package/dist/serialization/types/PlanVersionMigrationStrategy.d.ts +1 -1
  197. package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -0
  198. package/dist/serialization/types/RuleConditionPlanVersionResponseData.d.ts +13 -0
  199. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  200. package/dist/serialization/types/RulesengineCompany.d.ts +2 -0
  201. package/dist/serialization/types/RulesengineCreditPostpaidConfig.d.ts +9 -0
  202. package/dist/serialization/types/SlackConnectInviteStatus.d.ts +7 -0
  203. package/dist/serialization/types/SlackConnectInviteView.d.ts +13 -0
  204. package/dist/serialization/types/StripeIntegrationConfig.d.ts +3 -0
  205. package/dist/serialization/types/StripeSandboxClaimLink.d.ts +12 -0
  206. package/dist/serialization/types/StripeSandboxCountriesResponseData.d.ts +9 -0
  207. package/dist/serialization/types/StripeSandboxInstallResponseData.d.ts +17 -0
  208. package/dist/serialization/types/StripeSandboxKeysResponseData.d.ts +11 -0
  209. package/dist/serialization/types/TemporaryAccessTokenIssuerType.d.ts +7 -0
  210. package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +3 -1
  211. package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +8 -0
  212. package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +1 -0
  213. package/dist/serialization/types/WebhookEventResponseData.d.ts +1 -0
  214. package/dist/serialization/types/index.d.ts +19 -0
  215. package/dist/wasm/rulesengine.d.ts +1 -1
  216. package/dist/wasm/rulesengine.js +30 -30
  217. package/package.json +1 -4
@@ -6,6 +6,8 @@ import { OnboardingTrack } from "../../../../types/OnboardingTrack";
6
6
  export declare const UpdateOnboardingStateRequestBody: core.serialization.Schema<serializers.UpdateOnboardingStateRequestBody.Raw, Schematic.UpdateOnboardingStateRequestBody>;
7
7
  export declare namespace UpdateOnboardingStateRequestBody {
8
8
  interface Raw {
9
+ country?: string | null;
10
+ dismissed?: boolean | null;
9
11
  path?: OnboardingPath.Raw | null;
10
12
  pricing_page_url?: string | null;
11
13
  track?: OnboardingTrack.Raw | null;
@@ -24,6 +24,7 @@ export declare namespace CreateBillingSubscriptionRequestBody {
24
24
  period_start?: number | null;
25
25
  product_external_ids: BillingProductPricing.Raw[];
26
26
  provider_type?: BillingProviderType.Raw | null;
27
+ started_at?: string | null;
27
28
  status?: string | null;
28
29
  subscription_external_id: string;
29
30
  total_price: number;
@@ -0,0 +1,16 @@
1
+ import type * as Schematic from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ import { BillingCollectionMethod } from "../../../../types/BillingCollectionMethod";
5
+ import { ProrationBehavior } from "../../../../types/ProrationBehavior";
6
+ export declare const UpdateCompanyBillingProfileRequestBody: core.serialization.Schema<serializers.UpdateCompanyBillingProfileRequestBody.Raw, Schematic.UpdateCompanyBillingProfileRequestBody>;
7
+ export declare namespace UpdateCompanyBillingProfileRequestBody {
8
+ interface Raw {
9
+ collection_method: BillingCollectionMethod.Raw;
10
+ days_until_due?: number | null;
11
+ is_default?: boolean | null;
12
+ name?: string | null;
13
+ payment_method_id?: string | null;
14
+ proration_behavior?: ProrationBehavior.Raw | null;
15
+ }
16
+ }
@@ -6,3 +6,4 @@ export { CreateCouponRequestBody } from "./CreateCouponRequestBody";
6
6
  export { CreateInvoiceRequestBody } from "./CreateInvoiceRequestBody";
7
7
  export { CreateMeterRequestBody } from "./CreateMeterRequestBody";
8
8
  export { CreatePaymentMethodRequestBody } from "./CreatePaymentMethodRequestBody";
9
+ export { UpdateCompanyBillingProfileRequestBody } from "./UpdateCompanyBillingProfileRequestBody";
@@ -0,0 +1,14 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { BillingProviderType } from "../../../types/BillingProviderType";
5
+ export declare const ListCompanyBillingProfilesParams: core.serialization.ObjectSchema<serializers.ListCompanyBillingProfilesParams.Raw, Schematic.ListCompanyBillingProfilesParams>;
6
+ export declare namespace ListCompanyBillingProfilesParams {
7
+ interface Raw {
8
+ company_id?: string | null;
9
+ is_default?: boolean | null;
10
+ limit?: number | null;
11
+ offset?: number | null;
12
+ provider_type?: BillingProviderType.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CompanyBillingProfileResponseData } from "../../../types/CompanyBillingProfileResponseData";
5
+ import { ListCompanyBillingProfilesParams } from "./ListCompanyBillingProfilesParams";
6
+ export declare const ListCompanyBillingProfilesResponse: core.serialization.ObjectSchema<serializers.ListCompanyBillingProfilesResponse.Raw, Schematic.ListCompanyBillingProfilesResponse>;
7
+ export declare namespace ListCompanyBillingProfilesResponse {
8
+ interface Raw {
9
+ data: CompanyBillingProfileResponseData.Raw[];
10
+ params: ListCompanyBillingProfilesParams.Raw;
11
+ }
12
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CompanyBillingProfileResponseData } from "../../../types/CompanyBillingProfileResponseData";
5
+ export declare const UpdateCompanyBillingProfileResponse: core.serialization.ObjectSchema<serializers.UpdateCompanyBillingProfileResponse.Raw, Schematic.UpdateCompanyBillingProfileResponse>;
6
+ export declare namespace UpdateCompanyBillingProfileResponse {
7
+ interface Raw {
8
+ data: CompanyBillingProfileResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -14,6 +14,8 @@ export * from "./ListBillingProductPricesParams";
14
14
  export * from "./ListBillingProductPricesResponse";
15
15
  export * from "./ListBillingProductsParams";
16
16
  export * from "./ListBillingProductsResponse";
17
+ export * from "./ListCompanyBillingProfilesParams";
18
+ export * from "./ListCompanyBillingProfilesResponse";
17
19
  export * from "./ListCouponsParams";
18
20
  export * from "./ListCouponsResponse";
19
21
  export * from "./ListCustomersWithSubscriptionsParams";
@@ -24,6 +26,7 @@ export * from "./ListMetersParams";
24
26
  export * from "./ListMetersResponse";
25
27
  export * from "./ListPaymentMethodsParams";
26
28
  export * from "./ListPaymentMethodsResponse";
29
+ export * from "./UpdateCompanyBillingProfileResponse";
27
30
  export * from "./UpsertBillingCouponResponse";
28
31
  export * from "./UpsertBillingCustomerResponse";
29
32
  export * from "./UpsertBillingMeterResponse";
@@ -10,6 +10,7 @@ export declare namespace CreateCompanyCreditGrant {
10
10
  interface Raw {
11
11
  billing_periods_count?: number | null;
12
12
  company_id: string;
13
+ credit_bundle_id?: string | null;
13
14
  credit_id: string;
14
15
  currency?: string | null;
15
16
  expires_at?: string | null;
@@ -0,0 +1,13 @@
1
+ import type * as Schematic from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ export declare const CreateCreditSpendPolicyRequestBody: core.serialization.Schema<serializers.CreateCreditSpendPolicyRequestBody.Raw, Schematic.CreateCreditSpendPolicyRequestBody>;
5
+ export declare namespace CreateCreditSpendPolicyRequestBody {
6
+ interface Raw {
7
+ billing_credit_id: string;
8
+ company_id?: string | null;
9
+ label?: string | null;
10
+ max_per_draw: number;
11
+ user_id?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ export declare const UpdateCreditSpendPolicyRequestBody: core.serialization.Schema<serializers.UpdateCreditSpendPolicyRequestBody.Raw, Schematic.UpdateCreditSpendPolicyRequestBody>;
5
+ export declare namespace UpdateCreditSpendPolicyRequestBody {
6
+ interface Raw {
7
+ label?: string | null;
8
+ max_per_draw?: number | null;
9
+ }
10
+ }
@@ -2,7 +2,9 @@ export { AcquireCreditLeaseRequestBody } from "./AcquireCreditLeaseRequestBody";
2
2
  export { CreateBillingCreditRequestBody } from "./CreateBillingCreditRequestBody";
3
3
  export { CreateCompanyCreditGrant } from "./CreateCompanyCreditGrant";
4
4
  export { CreateCreditBundleRequestBody } from "./CreateCreditBundleRequestBody";
5
+ export { CreateCreditSpendPolicyRequestBody } from "./CreateCreditSpendPolicyRequestBody";
5
6
  export { ExtendCreditLeaseRequestBody } from "./ExtendCreditLeaseRequestBody";
6
7
  export { UpdateBillingCreditRequestBody } from "./UpdateBillingCreditRequestBody";
7
8
  export { UpdateCreditBundleDetailsRequestBody } from "./UpdateCreditBundleDetailsRequestBody";
9
+ export { UpdateCreditSpendPolicyRequestBody } from "./UpdateCreditSpendPolicyRequestBody";
8
10
  export { ZeroOutGrantRequestBody } from "./ZeroOutGrantRequestBody";
@@ -0,0 +1,16 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CreditSpendPolicyScope } from "../../../types/CreditSpendPolicyScope";
5
+ export declare const CountCreditSpendPoliciesParams: core.serialization.ObjectSchema<serializers.CountCreditSpendPoliciesParams.Raw, Schematic.CountCreditSpendPoliciesParams>;
6
+ export declare namespace CountCreditSpendPoliciesParams {
7
+ interface Raw {
8
+ billing_credit_id?: string | null;
9
+ company_id?: string | null;
10
+ limit?: number | null;
11
+ offset?: number | null;
12
+ scope_type?: CreditSpendPolicyScope.Raw | null;
13
+ user_id?: string | null;
14
+ user_ids?: string[] | null;
15
+ }
16
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CountResponse } from "../../../types/CountResponse";
5
+ import { CountCreditSpendPoliciesParams } from "./CountCreditSpendPoliciesParams";
6
+ export declare const CountCreditSpendPoliciesResponse: core.serialization.ObjectSchema<serializers.CountCreditSpendPoliciesResponse.Raw, Schematic.CountCreditSpendPoliciesResponse>;
7
+ export declare namespace CountCreditSpendPoliciesResponse {
8
+ interface Raw {
9
+ data: CountResponse.Raw;
10
+ params: CountCreditSpendPoliciesParams.Raw;
11
+ }
12
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CreditSpendPolicyResponseData } from "../../../types/CreditSpendPolicyResponseData";
5
+ export declare const CreateCreditSpendPolicyResponse: core.serialization.ObjectSchema<serializers.CreateCreditSpendPolicyResponse.Raw, Schematic.CreateCreditSpendPolicyResponse>;
6
+ export declare namespace CreateCreditSpendPolicyResponse {
7
+ interface Raw {
8
+ data: CreditSpendPolicyResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { DeleteResponse } from "../../../types/DeleteResponse";
5
+ export declare const DeleteCreditSpendPolicyResponse: core.serialization.ObjectSchema<serializers.DeleteCreditSpendPolicyResponse.Raw, Schematic.DeleteCreditSpendPolicyResponse>;
6
+ export declare namespace DeleteCreditSpendPolicyResponse {
7
+ interface Raw {
8
+ data: DeleteResponse.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CreditSpendPolicyResponseData } from "../../../types/CreditSpendPolicyResponseData";
5
+ export declare const GetCreditSpendPolicyResponse: core.serialization.ObjectSchema<serializers.GetCreditSpendPolicyResponse.Raw, Schematic.GetCreditSpendPolicyResponse>;
6
+ export declare namespace GetCreditSpendPolicyResponse {
7
+ interface Raw {
8
+ data: CreditSpendPolicyResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,16 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CreditSpendPolicyScope } from "../../../types/CreditSpendPolicyScope";
5
+ export declare const ListCreditSpendPoliciesParams: core.serialization.ObjectSchema<serializers.ListCreditSpendPoliciesParams.Raw, Schematic.ListCreditSpendPoliciesParams>;
6
+ export declare namespace ListCreditSpendPoliciesParams {
7
+ interface Raw {
8
+ billing_credit_id?: string | null;
9
+ company_id?: string | null;
10
+ limit?: number | null;
11
+ offset?: number | null;
12
+ scope_type?: CreditSpendPolicyScope.Raw | null;
13
+ user_id?: string | null;
14
+ user_ids?: string[] | null;
15
+ }
16
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CreditSpendPolicyResponseData } from "../../../types/CreditSpendPolicyResponseData";
5
+ import { ListCreditSpendPoliciesParams } from "./ListCreditSpendPoliciesParams";
6
+ export declare const ListCreditSpendPoliciesResponse: core.serialization.ObjectSchema<serializers.ListCreditSpendPoliciesResponse.Raw, Schematic.ListCreditSpendPoliciesResponse>;
7
+ export declare namespace ListCreditSpendPoliciesResponse {
8
+ interface Raw {
9
+ data: CreditSpendPolicyResponseData.Raw[];
10
+ params: ListCreditSpendPoliciesParams.Raw;
11
+ }
12
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CreditSpendPolicyResponseData } from "../../../types/CreditSpendPolicyResponseData";
5
+ export declare const UpdateCreditSpendPolicyResponse: core.serialization.ObjectSchema<serializers.UpdateCreditSpendPolicyResponse.Raw, Schematic.UpdateCreditSpendPolicyResponse>;
6
+ export declare namespace UpdateCreditSpendPolicyResponse {
7
+ interface Raw {
8
+ data: CreditSpendPolicyResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -11,14 +11,19 @@ export * from "./CountCreditBundlesParams";
11
11
  export * from "./CountCreditBundlesResponse";
12
12
  export * from "./CountCreditEventLedgerParams";
13
13
  export * from "./CountCreditEventLedgerResponse";
14
+ export * from "./CountCreditSpendPoliciesParams";
15
+ export * from "./CountCreditSpendPoliciesResponse";
14
16
  export * from "./CreateBillingCreditResponse";
15
17
  export * from "./CreateBillingPlanCreditGrantResponse";
16
18
  export * from "./CreateCreditBundleResponse";
19
+ export * from "./CreateCreditSpendPolicyResponse";
17
20
  export * from "./DeleteBillingPlanCreditGrantParams";
18
21
  export * from "./DeleteBillingPlanCreditGrantResponse";
19
22
  export * from "./DeleteCreditBundleResponse";
23
+ export * from "./DeleteCreditSpendPolicyResponse";
20
24
  export * from "./ExtendCreditLeaseResponse";
21
25
  export * from "./GetCreditBundleResponse";
26
+ export * from "./GetCreditSpendPolicyResponse";
22
27
  export * from "./GetSingleBillingCreditResponse";
23
28
  export * from "./GetSingleBillingPlanCreditGrantResponse";
24
29
  export * from "./GrantBillingCreditsToCompanyResponse";
@@ -34,6 +39,8 @@ export * from "./ListCreditBundlesParams";
34
39
  export * from "./ListCreditBundlesResponse";
35
40
  export * from "./ListCreditEventLedgerParams";
36
41
  export * from "./ListCreditEventLedgerResponse";
42
+ export * from "./ListCreditSpendPoliciesParams";
43
+ export * from "./ListCreditSpendPoliciesResponse";
37
44
  export * from "./ListGrantsForCreditParams";
38
45
  export * from "./ListGrantsForCreditResponse";
39
46
  export * from "./ReleaseCreditLeaseResponse";
@@ -41,4 +48,5 @@ export * from "./SoftDeleteBillingCreditResponse";
41
48
  export * from "./UpdateBillingCreditResponse";
42
49
  export * from "./UpdateBillingPlanCreditGrantResponse";
43
50
  export * from "./UpdateCreditBundleDetailsResponse";
51
+ export * from "./UpdateCreditSpendPolicyResponse";
44
52
  export * from "./ZeroOutGrantResponse";
@@ -0,0 +1,13 @@
1
+ import type * as Schematic from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ export declare const UpsertOtlpEnvironmentSettingsRequestBody: core.serialization.Schema<serializers.UpsertOtlpEnvironmentSettingsRequestBody.Raw, Schematic.UpsertOtlpEnvironmentSettingsRequestBody>;
5
+ export declare namespace UpsertOtlpEnvironmentSettingsRequestBody {
6
+ interface Raw {
7
+ company_attribute?: string | null;
8
+ company_key?: string | null;
9
+ tool_events_enabled: boolean;
10
+ user_attribute?: string | null;
11
+ user_key?: string | null;
12
+ }
13
+ }
@@ -1 +1,2 @@
1
1
  export { CreateEventBatchRequestBody } from "./CreateEventBatchRequestBody";
2
+ export { UpsertOtlpEnvironmentSettingsRequestBody } from "./UpsertOtlpEnvironmentSettingsRequestBody";
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { DeleteResponse } from "../../../types/DeleteResponse";
5
+ export declare const DeleteOtlpEnvironmentSettingsResponse: core.serialization.ObjectSchema<serializers.DeleteOtlpEnvironmentSettingsResponse.Raw, Schematic.DeleteOtlpEnvironmentSettingsResponse>;
6
+ export declare namespace DeleteOtlpEnvironmentSettingsResponse {
7
+ interface Raw {
8
+ data: DeleteResponse.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { OtlpEnvironmentSettingsResponseData } from "../../../types/OtlpEnvironmentSettingsResponseData";
5
+ export declare const GetOtlpEnvironmentSettingsResponse: core.serialization.ObjectSchema<serializers.GetOtlpEnvironmentSettingsResponse.Raw, Schematic.GetOtlpEnvironmentSettingsResponse>;
6
+ export declare namespace GetOtlpEnvironmentSettingsResponse {
7
+ interface Raw {
8
+ data: OtlpEnvironmentSettingsResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { OtlpEnvironmentSettingsResponseData } from "../../../types/OtlpEnvironmentSettingsResponseData";
5
+ export declare const UpsertOtlpEnvironmentSettingsResponse: core.serialization.ObjectSchema<serializers.UpsertOtlpEnvironmentSettingsResponse.Raw, Schematic.UpsertOtlpEnvironmentSettingsResponse>;
6
+ export declare namespace UpsertOtlpEnvironmentSettingsResponse {
7
+ interface Raw {
8
+ data: OtlpEnvironmentSettingsResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -1,8 +1,11 @@
1
1
  export * from "./CreateEventBatchResponse";
2
2
  export * from "./CreateEventResponse";
3
+ export * from "./DeleteOtlpEnvironmentSettingsResponse";
3
4
  export * from "./GetEventResponse";
4
5
  export * from "./GetEventSummariesParams";
5
6
  export * from "./GetEventSummariesResponse";
7
+ export * from "./GetOtlpEnvironmentSettingsResponse";
6
8
  export * from "./GetSegmentIntegrationStatusResponse";
7
9
  export * from "./ListEventsParams";
8
10
  export * from "./ListEventsResponse";
11
+ export * from "./UpsertOtlpEnvironmentSettingsResponse";
@@ -0,0 +1,9 @@
1
+ import type * as Schematic from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ export declare const ClaimStripeSandboxKeysRequestBody: core.serialization.Schema<serializers.ClaimStripeSandboxKeysRequestBody.Raw, Schematic.ClaimStripeSandboxKeysRequestBody>;
5
+ export declare namespace ClaimStripeSandboxKeysRequestBody {
6
+ interface Raw {
7
+ token: string;
8
+ }
9
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ export declare const InstallStripeSandboxRequestBody: core.serialization.Schema<serializers.InstallStripeSandboxRequestBody.Raw, Schematic.InstallStripeSandboxRequestBody>;
5
+ export declare namespace InstallStripeSandboxRequestBody {
6
+ interface Raw {
7
+ country?: string | null;
8
+ email: string;
9
+ name?: string | null;
10
+ seed_sample_data?: boolean | null;
11
+ }
12
+ }
@@ -1 +1,3 @@
1
+ export { ClaimStripeSandboxKeysRequestBody } from "./ClaimStripeSandboxKeysRequestBody";
2
+ export { InstallStripeSandboxRequestBody } from "./InstallStripeSandboxRequestBody";
1
3
  export { StartDataImportRequestBody } from "./StartDataImportRequestBody";
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { ClaimedStripeSandboxKeysResponseData } from "../../../types/ClaimedStripeSandboxKeysResponseData";
5
+ export declare const ClaimStripeSandboxKeysResponse: core.serialization.ObjectSchema<serializers.ClaimStripeSandboxKeysResponse.Raw, Schematic.ClaimStripeSandboxKeysResponse>;
6
+ export declare namespace ClaimStripeSandboxKeysResponse {
7
+ interface Raw {
8
+ data: ClaimedStripeSandboxKeysResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { StripeSandboxClaimLink } from "../../../types/StripeSandboxClaimLink";
5
+ export declare const GetStripeSandboxClaimLinkResponse: core.serialization.ObjectSchema<serializers.GetStripeSandboxClaimLinkResponse.Raw, Schematic.GetStripeSandboxClaimLinkResponse>;
6
+ export declare namespace GetStripeSandboxClaimLinkResponse {
7
+ interface Raw {
8
+ data: StripeSandboxClaimLink.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { ClaimedStripeSandboxKeysResponseData } from "../../../types/ClaimedStripeSandboxKeysResponseData";
5
+ export declare const GetStripeSandboxKeysResponse: core.serialization.ObjectSchema<serializers.GetStripeSandboxKeysResponse.Raw, Schematic.GetStripeSandboxKeysResponse>;
6
+ export declare namespace GetStripeSandboxKeysResponse {
7
+ interface Raw {
8
+ data: ClaimedStripeSandboxKeysResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { StripeSandboxInstallResponseData } from "../../../types/StripeSandboxInstallResponseData";
5
+ export declare const InstallStripeClaimableSandboxResponse: core.serialization.ObjectSchema<serializers.InstallStripeClaimableSandboxResponse.Raw, Schematic.InstallStripeClaimableSandboxResponse>;
6
+ export declare namespace InstallStripeClaimableSandboxResponse {
7
+ interface Raw {
8
+ data: StripeSandboxInstallResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { StripeSandboxCountriesResponseData } from "../../../types/StripeSandboxCountriesResponseData";
5
+ export declare const ListStripeSandboxCountriesResponse: core.serialization.ObjectSchema<serializers.ListStripeSandboxCountriesResponse.Raw, Schematic.ListStripeSandboxCountriesResponse>;
6
+ export declare namespace ListStripeSandboxCountriesResponse {
7
+ interface Raw {
8
+ data: StripeSandboxCountriesResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -1,9 +1,14 @@
1
1
  export * from "./AssumeStripeInstalledResponse";
2
+ export * from "./ClaimStripeSandboxKeysResponse";
2
3
  export * from "./GetIntegrationWebhookUrlResponse";
4
+ export * from "./GetStripeSandboxClaimLinkResponse";
5
+ export * from "./GetStripeSandboxKeysResponse";
3
6
  export * from "./InstallIntegrationResponse";
7
+ export * from "./InstallStripeClaimableSandboxResponse";
4
8
  export * from "./InstallStripeResponse";
5
9
  export * from "./ListIntegrationsParams";
6
10
  export * from "./ListIntegrationsResponse";
11
+ export * from "./ListStripeSandboxCountriesResponse";
7
12
  export * from "./LoadSampleDataSetResponse";
8
13
  export * from "./RunIntegrationResponse";
9
14
  export * from "./StartDataImportResponse";
@@ -47,6 +47,7 @@ export declare namespace CreatePlanGroupRequestBody {
47
47
  show_zero_price_as_free: boolean;
48
48
  sync_customer_billing_details: boolean;
49
49
  trial_days?: number | null;
50
+ trial_eligibility_per_plan?: boolean | null;
50
51
  trial_expiry_plan_id?: string | null;
51
52
  trial_expiry_plan_price_id?: string | null;
52
53
  trial_payment_method_required?: boolean | null;
@@ -47,6 +47,7 @@ export declare namespace UpdatePlanGroupRequestBody {
47
47
  show_zero_price_as_free: boolean;
48
48
  sync_customer_billing_details: boolean;
49
49
  trial_days?: number | null;
50
+ trial_eligibility_per_plan?: boolean | null;
50
51
  trial_expiry_plan_id?: string | null;
51
52
  trial_expiry_plan_price_id?: string | null;
52
53
  trial_payment_method_required?: boolean | null;
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ import { MigrationProrationBehavior } from "../../../../types/MigrationProrationBehavior";
5
+ export declare const CompleteMigrationNowRequestBody: core.serialization.Schema<serializers.CompleteMigrationNowRequestBody.Raw, Schematic.CompleteMigrationNowRequestBody>;
6
+ export declare namespace CompleteMigrationNowRequestBody {
7
+ interface Raw {
8
+ proration_behavior?: MigrationProrationBehavior.Raw | null;
9
+ }
10
+ }
@@ -1,3 +1,4 @@
1
+ export { CompleteMigrationNowRequestBody } from "./CompleteMigrationNowRequestBody";
1
2
  export { CreateMigrationInput } from "./CreateMigrationInput";
2
3
  export { PreviewMigrationRequestBody } from "./PreviewMigrationRequestBody";
3
4
  export { RetryMigrationRequestBody } from "./RetryMigrationRequestBody";
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { PlanVersionMigrationResponseData } from "../../../types/PlanVersionMigrationResponseData";
5
+ export declare const CancelMigrationResponse: core.serialization.ObjectSchema<serializers.CancelMigrationResponse.Raw, Schematic.CancelMigrationResponse>;
6
+ export declare namespace CancelMigrationResponse {
7
+ interface Raw {
8
+ data: PlanVersionMigrationResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { PlanVersionMigrationResponseData } from "../../../types/PlanVersionMigrationResponseData";
5
+ export declare const CompleteMigrationNowResponse: core.serialization.ObjectSchema<serializers.CompleteMigrationNowResponse.Raw, Schematic.CompleteMigrationNowResponse>;
6
+ export declare namespace CompleteMigrationNowResponse {
7
+ interface Raw {
8
+ data: PlanVersionMigrationResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -1,3 +1,5 @@
1
+ export * from "./CancelMigrationResponse";
2
+ export * from "./CompleteMigrationNowResponse";
1
3
  export * from "./CountCompanyMigrationsParams";
2
4
  export * from "./CountCompanyMigrationsResponse";
3
5
  export * from "./CountMigrationsParams";
@@ -12,6 +12,7 @@ export declare namespace PublishPlanVersionRequestBody {
12
12
  interface Raw {
13
13
  activation_strategy?: CustomPlanActivationStrategy.Raw | null;
14
14
  address?: CustomerBillingAddress.Raw | null;
15
+ billing_cycle_anchor?: string | null;
15
16
  coupon_external_id?: string | null;
16
17
  custom_field_values?: CheckoutFieldValue.Raw[] | null;
17
18
  customer_email?: string | null;
@@ -19,6 +20,7 @@ export declare namespace PublishPlanVersionRequestBody {
19
20
  excluded_company_ids: string[];
20
21
  migration_strategy: PlanVersionMigrationStrategy.Raw;
21
22
  phone?: string | null;
23
+ prorate_first_period?: boolean | null;
22
24
  proration_behavior?: MigrationProrationBehavior.Raw | null;
23
25
  require_no_migration?: boolean | null;
24
26
  send_invoice?: boolean | null;
@@ -6,8 +6,10 @@ export declare const RetryCustomPlanBillingRequestBody: core.serialization.Schem
6
6
  export declare namespace RetryCustomPlanBillingRequestBody {
7
7
  interface Raw {
8
8
  activation_strategy?: CustomPlanActivationStrategy.Raw | null;
9
+ billing_cycle_anchor?: string | null;
9
10
  customer_email: string;
10
11
  days_until_due?: number | null;
12
+ prorate_first_period?: boolean | null;
11
13
  send_invoice?: boolean | null;
12
14
  }
13
15
  }
@@ -8,6 +8,7 @@ export declare namespace CountPlansParams {
8
8
  company_id?: string | null;
9
9
  company_scoped_only?: boolean | null;
10
10
  exclude_company_scoped?: boolean | null;
11
+ exclude_unused?: boolean | null;
11
12
  for_fallback_plan?: boolean | null;
12
13
  for_initial_plan?: boolean | null;
13
14
  for_trial_expiry_plan?: boolean | null;
@@ -8,6 +8,7 @@ export declare namespace ListPlansParams {
8
8
  company_id?: string | null;
9
9
  company_scoped_only?: boolean | null;
10
10
  exclude_company_scoped?: boolean | null;
11
+ exclude_unused?: boolean | null;
11
12
  for_fallback_plan?: boolean | null;
12
13
  for_initial_plan?: boolean | null;
13
14
  for_trial_expiry_plan?: boolean | null;
@@ -0,0 +1,7 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const BillingArrearsAnchor: core.serialization.Schema<serializers.BillingArrearsAnchor.Raw, Schematic.BillingArrearsAnchor>;
5
+ export declare namespace BillingArrearsAnchor {
6
+ type Raw = "billing_period_start" | "month_end";
7
+ }