@schematichq/schematic-typescript-node 1.1.1 → 1.1.4
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.
- package/Client.d.ts +10 -0
- package/Client.js +88 -0
- package/api/resources/accesstokens/client/Client.js +1 -1
- package/api/resources/accounts/client/Client.js +14 -14
- package/api/resources/billing/client/Client.d.ts +61 -0
- package/api/resources/billing/client/Client.js +392 -8
- package/api/resources/billing/client/requests/ChangeSubscriptionRequestBody.d.ts +16 -0
- package/api/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts +13 -0
- package/api/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts +13 -0
- package/api/resources/billing/client/requests/index.d.ts +3 -0
- package/api/resources/billing/types/ChangeSubscriptionWebResponse.d.ts +9 -0
- package/api/resources/billing/types/CreateBillingPlanGroupResponse.d.ts +9 -0
- package/api/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.d.ts +9 -0
- package/api/resources/billing/types/UpdateBillingPlanGroupResponse.d.ts +9 -0
- package/api/resources/billing/types/index.d.ts +4 -0
- package/api/resources/billing/types/index.js +4 -0
- package/api/resources/companies/client/Client.d.ts +0 -13
- package/api/resources/companies/client/Client.js +31 -136
- package/api/resources/companies/client/requests/index.d.ts +0 -1
- package/api/resources/companies/types/index.d.ts +0 -2
- package/api/resources/companies/types/index.js +0 -2
- package/api/resources/components/client/Client.d.ts +0 -1
- package/api/resources/components/client/Client.js +7 -8
- package/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -2
- package/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -1
- package/api/resources/crm/client/Client.js +5 -5
- package/api/resources/entitlements/client/Client.js +19 -19
- package/api/resources/events/client/Client.js +8 -8
- package/api/resources/features/client/Client.js +19 -19
- package/api/resources/plans/client/Client.d.ts +12 -1
- package/api/resources/plans/client/Client.js +99 -11
- package/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -1
- package/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -2
- package/api/resources/{companies/types/ListCompanyPlansResponse.d.ts → plans/types/ListActivePlansResponse.d.ts} +3 -3
- package/api/resources/plans/types/index.d.ts +1 -0
- package/api/resources/plans/types/index.js +1 -0
- package/api/resources/webhooks/client/Client.js +9 -9
- package/api/types/BillingPlan.d.ts +11 -0
- package/api/types/BillingPlan.js +5 -0
- package/api/types/BillingPlanGroupResponseData.d.ts +11 -0
- package/api/types/BillingPlanGroupResponseData.js +5 -0
- package/api/types/BillingProductForSubscriptionResponseData.d.ts +16 -0
- package/api/types/BillingProductForSubscriptionResponseData.js +5 -0
- package/api/types/BillingProductPricing.d.ts +2 -0
- package/api/types/CompanyDetailResponseData.d.ts +1 -1
- package/api/types/CompanySubscriptionResponseData.d.ts +1 -1
- package/api/types/PlanDetailResponseData.d.ts +0 -1
- package/api/types/PlanResponseData.d.ts +0 -1
- package/api/types/index.d.ts +3 -1
- package/api/types/index.js +3 -1
- package/dist/Client.d.ts +10 -0
- package/dist/Client.js +88 -0
- package/dist/api/resources/accesstokens/client/Client.js +1 -1
- package/dist/api/resources/accounts/client/Client.js +14 -14
- package/dist/api/resources/billing/client/Client.d.ts +61 -0
- package/dist/api/resources/billing/client/Client.js +392 -8
- package/dist/api/resources/billing/client/requests/ChangeSubscriptionRequestBody.d.ts +16 -0
- package/dist/api/resources/billing/client/requests/ChangeSubscriptionRequestBody.js +5 -0
- package/dist/api/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts +13 -0
- package/dist/api/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.js +5 -0
- package/dist/api/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts +13 -0
- package/dist/api/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.js +5 -0
- package/dist/api/resources/billing/client/requests/index.d.ts +3 -0
- package/dist/api/resources/billing/types/ChangeSubscriptionWebResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/ChangeSubscriptionWebResponse.js +5 -0
- package/dist/api/resources/billing/types/CreateBillingPlanGroupResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/CreateBillingPlanGroupResponse.js +5 -0
- package/dist/api/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.js +5 -0
- package/dist/api/resources/billing/types/UpdateBillingPlanGroupResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/UpdateBillingPlanGroupResponse.js +5 -0
- package/dist/api/resources/billing/types/index.d.ts +4 -0
- package/dist/api/resources/billing/types/index.js +4 -0
- package/dist/api/resources/companies/client/Client.d.ts +0 -13
- package/dist/api/resources/companies/client/Client.js +31 -136
- package/dist/api/resources/companies/client/requests/index.d.ts +0 -1
- package/dist/api/resources/companies/types/index.d.ts +0 -2
- package/dist/api/resources/companies/types/index.js +0 -2
- package/dist/api/resources/components/client/Client.d.ts +0 -1
- package/dist/api/resources/components/client/Client.js +7 -8
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -2
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -1
- package/dist/api/resources/crm/client/Client.js +5 -5
- package/dist/api/resources/entitlements/client/Client.js +19 -19
- package/dist/api/resources/events/client/Client.js +8 -8
- package/dist/api/resources/features/client/Client.js +19 -19
- package/dist/api/resources/plans/client/Client.d.ts +12 -1
- package/dist/api/resources/plans/client/Client.js +99 -11
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -1
- package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -2
- package/dist/api/resources/{companies/types/ListCompanyPlansResponse.d.ts → plans/types/ListActivePlansResponse.d.ts} +3 -3
- package/dist/api/resources/plans/types/ListActivePlansResponse.js +5 -0
- package/dist/api/resources/plans/types/index.d.ts +1 -0
- package/dist/api/resources/plans/types/index.js +1 -0
- package/dist/api/resources/webhooks/client/Client.js +9 -9
- package/dist/api/types/BillingPlan.d.ts +11 -0
- package/dist/api/types/BillingPlan.js +5 -0
- package/dist/api/types/BillingPlanGroupResponseData.d.ts +11 -0
- package/dist/api/types/BillingPlanGroupResponseData.js +5 -0
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +16 -0
- package/dist/api/types/BillingProductForSubscriptionResponseData.js +5 -0
- package/dist/api/types/BillingProductPricing.d.ts +2 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -1
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -1
- package/dist/api/types/PlanDetailResponseData.d.ts +0 -1
- package/dist/api/types/PlanResponseData.d.ts +0 -1
- package/dist/api/types/index.d.ts +3 -1
- package/dist/api/types/index.js +3 -1
- package/dist/events.d.ts +3 -0
- package/dist/events.js +17 -5
- package/dist/serialization/resources/billing/client/requests/ChangeSubscriptionRequestBody.d.ts +14 -0
- package/dist/serialization/resources/billing/client/requests/ChangeSubscriptionRequestBody.js +35 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts +13 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.js +34 -0
- package/dist/serialization/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts +13 -0
- package/dist/serialization/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.js +34 -0
- package/dist/serialization/resources/billing/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/billing/client/requests/index.js +7 -1
- package/dist/serialization/resources/billing/types/ChangeSubscriptionWebResponse.d.ts +14 -0
- package/dist/serialization/resources/{companies/types/ListCompanyPlansParams.js → billing/types/ChangeSubscriptionWebResponse.js} +5 -6
- package/dist/serialization/resources/billing/types/CreateBillingPlanGroupResponse.d.ts +14 -0
- package/{serialization/resources/companies/types/ListCompanyPlansParams.js → dist/serialization/resources/billing/types/CreateBillingPlanGroupResponse.js} +5 -6
- package/dist/serialization/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.d.ts +14 -0
- package/dist/serialization/resources/{companies/types/ListCompanyPlansResponse.js → billing/types/GetBillingPlanGroupByAccountIdResponse.js} +5 -6
- package/dist/serialization/resources/billing/types/UpdateBillingPlanGroupResponse.d.ts +14 -0
- package/{serialization/resources/companies/types/ListCompanyPlansResponse.js → dist/serialization/resources/billing/types/UpdateBillingPlanGroupResponse.js} +5 -6
- package/dist/serialization/resources/billing/types/index.d.ts +4 -0
- package/dist/serialization/resources/billing/types/index.js +4 -0
- package/dist/serialization/resources/companies/types/index.d.ts +0 -2
- package/dist/serialization/resources/companies/types/index.js +0 -2
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -1
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.js +1 -1
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -1
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +1 -1
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -1
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +0 -1
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -1
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +0 -1
- package/dist/serialization/resources/plans/types/ListActivePlansResponse.d.ts +14 -0
- package/dist/serialization/resources/plans/types/ListActivePlansResponse.js +35 -0
- package/dist/serialization/resources/plans/types/index.d.ts +1 -0
- package/dist/serialization/resources/plans/types/index.js +1 -0
- package/dist/serialization/types/BillingPlan.d.ts +17 -0
- package/dist/serialization/types/BillingPlan.js +38 -0
- package/dist/serialization/types/BillingPlanGroupResponseData.d.ts +14 -0
- package/dist/serialization/types/BillingPlanGroupResponseData.js +35 -0
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +22 -0
- package/{serialization/types/CompanyPlanResponseData.js → dist/serialization/types/BillingProductForSubscriptionResponseData.js} +9 -4
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -0
- package/dist/serialization/types/BillingProductPricing.js +2 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/CompanyDetailResponseData.js +2 -1
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -2
- package/dist/serialization/types/CompanySubscriptionResponseData.js +2 -2
- package/dist/serialization/types/PlanDetailResponseData.d.ts +0 -1
- package/dist/serialization/types/PlanDetailResponseData.js +0 -1
- package/dist/serialization/types/PlanResponseData.d.ts +0 -1
- package/dist/serialization/types/PlanResponseData.js +0 -1
- package/dist/serialization/types/index.d.ts +3 -1
- package/dist/serialization/types/index.js +3 -1
- package/dist/wrapper.js +21 -19
- package/events.d.ts +3 -0
- package/events.js +17 -5
- package/package.json +10 -13
- package/reference.md +282 -50
- package/serialization/resources/billing/client/requests/ChangeSubscriptionRequestBody.d.ts +14 -0
- package/serialization/resources/billing/client/requests/ChangeSubscriptionRequestBody.js +35 -0
- package/serialization/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts +13 -0
- package/serialization/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.js +34 -0
- package/serialization/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts +13 -0
- package/serialization/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.js +34 -0
- package/serialization/resources/billing/client/requests/index.d.ts +3 -0
- package/serialization/resources/billing/client/requests/index.js +7 -1
- package/serialization/resources/billing/types/ChangeSubscriptionWebResponse.d.ts +14 -0
- package/serialization/resources/billing/types/ChangeSubscriptionWebResponse.js +35 -0
- package/serialization/resources/billing/types/CreateBillingPlanGroupResponse.d.ts +14 -0
- package/serialization/resources/billing/types/CreateBillingPlanGroupResponse.js +35 -0
- package/serialization/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.d.ts +14 -0
- package/serialization/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.js +35 -0
- package/serialization/resources/billing/types/UpdateBillingPlanGroupResponse.d.ts +14 -0
- package/serialization/resources/billing/types/UpdateBillingPlanGroupResponse.js +35 -0
- package/serialization/resources/billing/types/index.d.ts +4 -0
- package/serialization/resources/billing/types/index.js +4 -0
- package/serialization/resources/companies/types/index.d.ts +0 -2
- package/serialization/resources/companies/types/index.js +0 -2
- package/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -1
- package/serialization/resources/components/client/requests/CreateComponentRequestBody.js +1 -1
- package/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -1
- package/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +1 -1
- package/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -1
- package/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +0 -1
- package/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -1
- package/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +0 -1
- package/serialization/resources/plans/types/ListActivePlansResponse.d.ts +14 -0
- package/serialization/resources/plans/types/ListActivePlansResponse.js +35 -0
- package/serialization/resources/plans/types/index.d.ts +1 -0
- package/serialization/resources/plans/types/index.js +1 -0
- package/serialization/types/BillingPlan.d.ts +17 -0
- package/serialization/types/BillingPlan.js +38 -0
- package/serialization/types/BillingPlanGroupResponseData.d.ts +14 -0
- package/serialization/types/BillingPlanGroupResponseData.js +35 -0
- package/serialization/types/BillingProductForSubscriptionResponseData.d.ts +22 -0
- package/{dist/serialization/types/CompanyPlanResponseData.js → serialization/types/BillingProductForSubscriptionResponseData.js} +9 -4
- package/serialization/types/BillingProductPricing.d.ts +2 -0
- package/serialization/types/BillingProductPricing.js +2 -0
- package/serialization/types/CompanyDetailResponseData.d.ts +2 -1
- package/serialization/types/CompanyDetailResponseData.js +2 -1
- package/serialization/types/CompanySubscriptionResponseData.d.ts +2 -2
- package/serialization/types/CompanySubscriptionResponseData.js +2 -2
- package/serialization/types/PlanDetailResponseData.d.ts +0 -1
- package/serialization/types/PlanDetailResponseData.js +0 -1
- package/serialization/types/PlanResponseData.d.ts +0 -1
- package/serialization/types/PlanResponseData.js +0 -1
- package/serialization/types/index.d.ts +3 -1
- package/serialization/types/index.js +3 -1
- package/wrapper.js +21 -19
- package/.husky/pre-commit +0 -1
- package/api/resources/companies/client/requests/ListCompanyPlansRequest.d.ts +0 -19
- package/api/resources/companies/types/ListCompanyPlansParams.d.ts +0 -14
- package/api/types/CompanyPlanResponseData.d.ts +0 -11
- package/dist/api/resources/companies/client/requests/ListCompanyPlansRequest.d.ts +0 -19
- package/dist/api/resources/companies/types/ListCompanyPlansParams.d.ts +0 -14
- package/dist/api/types/CompanyPlanResponseData.d.ts +0 -11
- package/dist/serialization/resources/companies/types/ListCompanyPlansParams.d.ts +0 -15
- package/dist/serialization/resources/companies/types/ListCompanyPlansResponse.d.ts +0 -15
- package/dist/serialization/types/CompanyPlanResponseData.d.ts +0 -17
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/generate-version.js +0 -6
- package/serialization/resources/companies/types/ListCompanyPlansParams.d.ts +0 -15
- package/serialization/resources/companies/types/ListCompanyPlansResponse.d.ts +0 -15
- package/serialization/types/CompanyPlanResponseData.d.ts +0 -17
- package/version.d.ts +0 -1
- package/version.js +0 -4
- /package/api/resources/{companies/client/requests/ListCompanyPlansRequest.js → billing/client/requests/ChangeSubscriptionRequestBody.js} +0 -0
- /package/api/resources/{companies/types/ListCompanyPlansParams.js → billing/client/requests/CreateBillingPlanGroupRequestBody.js} +0 -0
- /package/api/resources/{companies/types/ListCompanyPlansResponse.js → billing/client/requests/UpdateBillingPlanGroupRequestBody.js} +0 -0
- /package/api/{types/CompanyPlanResponseData.js → resources/billing/types/ChangeSubscriptionWebResponse.js} +0 -0
- /package/{dist/api/resources/companies/client/requests/ListCompanyPlansRequest.js → api/resources/billing/types/CreateBillingPlanGroupResponse.js} +0 -0
- /package/{dist/api/resources/companies/types/ListCompanyPlansParams.js → api/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.js} +0 -0
- /package/{dist/api/resources/companies/types/ListCompanyPlansResponse.js → api/resources/billing/types/UpdateBillingPlanGroupResponse.js} +0 -0
- /package/{dist/api/types/CompanyPlanResponseData.js → api/resources/plans/types/ListActivePlansResponse.js} +0 -0
package/reference.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Reference
|
|
2
2
|
|
|
3
|
+
<details><summary><code>client.<a href="/src/Client.ts">getCompanyPlans</a>() -> void</code></summary>
|
|
4
|
+
<dl>
|
|
5
|
+
<dd>
|
|
6
|
+
|
|
7
|
+
#### 🔌 Usage
|
|
8
|
+
|
|
9
|
+
<dl>
|
|
10
|
+
<dd>
|
|
11
|
+
|
|
12
|
+
<dl>
|
|
13
|
+
<dd>
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
await client.getCompanyPlans();
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
</dd>
|
|
20
|
+
</dl>
|
|
21
|
+
</dd>
|
|
22
|
+
</dl>
|
|
23
|
+
|
|
24
|
+
#### ⚙️ Parameters
|
|
25
|
+
|
|
26
|
+
<dl>
|
|
27
|
+
<dd>
|
|
28
|
+
|
|
29
|
+
<dl>
|
|
30
|
+
<dd>
|
|
31
|
+
|
|
32
|
+
**requestOptions:** `SchematicClient.RequestOptions`
|
|
33
|
+
|
|
34
|
+
</dd>
|
|
35
|
+
</dl>
|
|
36
|
+
</dd>
|
|
37
|
+
</dl>
|
|
38
|
+
|
|
39
|
+
</dd>
|
|
40
|
+
</dl>
|
|
41
|
+
</details>
|
|
42
|
+
|
|
43
|
+
##
|
|
44
|
+
|
|
3
45
|
## accounts
|
|
4
46
|
|
|
5
47
|
<details><summary><code>client.accounts.<a href="/src/api/resources/accounts/client/Client.ts">listApiKeys</a>({ ...params }) -> Schematic.ListApiKeysResponse</code></summary>
|
|
@@ -1917,6 +1959,154 @@ await client.billing.countCustomers();
|
|
|
1917
1959
|
</dl>
|
|
1918
1960
|
</details>
|
|
1919
1961
|
|
|
1962
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">getBillingPlanGroupByAccountId</a>() -> Schematic.GetBillingPlanGroupByAccountIdResponse</code></summary>
|
|
1963
|
+
<dl>
|
|
1964
|
+
<dd>
|
|
1965
|
+
|
|
1966
|
+
#### 🔌 Usage
|
|
1967
|
+
|
|
1968
|
+
<dl>
|
|
1969
|
+
<dd>
|
|
1970
|
+
|
|
1971
|
+
<dl>
|
|
1972
|
+
<dd>
|
|
1973
|
+
|
|
1974
|
+
```typescript
|
|
1975
|
+
await client.billing.getBillingPlanGroupByAccountId();
|
|
1976
|
+
```
|
|
1977
|
+
|
|
1978
|
+
</dd>
|
|
1979
|
+
</dl>
|
|
1980
|
+
</dd>
|
|
1981
|
+
</dl>
|
|
1982
|
+
|
|
1983
|
+
#### ⚙️ Parameters
|
|
1984
|
+
|
|
1985
|
+
<dl>
|
|
1986
|
+
<dd>
|
|
1987
|
+
|
|
1988
|
+
<dl>
|
|
1989
|
+
<dd>
|
|
1990
|
+
|
|
1991
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
1992
|
+
|
|
1993
|
+
</dd>
|
|
1994
|
+
</dl>
|
|
1995
|
+
</dd>
|
|
1996
|
+
</dl>
|
|
1997
|
+
|
|
1998
|
+
</dd>
|
|
1999
|
+
</dl>
|
|
2000
|
+
</details>
|
|
2001
|
+
|
|
2002
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">createBillingPlanGroup</a>({ ...params }) -> Schematic.CreateBillingPlanGroupResponse</code></summary>
|
|
2003
|
+
<dl>
|
|
2004
|
+
<dd>
|
|
2005
|
+
|
|
2006
|
+
#### 🔌 Usage
|
|
2007
|
+
|
|
2008
|
+
<dl>
|
|
2009
|
+
<dd>
|
|
2010
|
+
|
|
2011
|
+
<dl>
|
|
2012
|
+
<dd>
|
|
2013
|
+
|
|
2014
|
+
```typescript
|
|
2015
|
+
await client.billing.createBillingPlanGroup({
|
|
2016
|
+
planIds: ["plan_ids"],
|
|
2017
|
+
});
|
|
2018
|
+
```
|
|
2019
|
+
|
|
2020
|
+
</dd>
|
|
2021
|
+
</dl>
|
|
2022
|
+
</dd>
|
|
2023
|
+
</dl>
|
|
2024
|
+
|
|
2025
|
+
#### ⚙️ Parameters
|
|
2026
|
+
|
|
2027
|
+
<dl>
|
|
2028
|
+
<dd>
|
|
2029
|
+
|
|
2030
|
+
<dl>
|
|
2031
|
+
<dd>
|
|
2032
|
+
|
|
2033
|
+
**request:** `Schematic.CreateBillingPlanGroupRequestBody`
|
|
2034
|
+
|
|
2035
|
+
</dd>
|
|
2036
|
+
</dl>
|
|
2037
|
+
|
|
2038
|
+
<dl>
|
|
2039
|
+
<dd>
|
|
2040
|
+
|
|
2041
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
2042
|
+
|
|
2043
|
+
</dd>
|
|
2044
|
+
</dl>
|
|
2045
|
+
</dd>
|
|
2046
|
+
</dl>
|
|
2047
|
+
|
|
2048
|
+
</dd>
|
|
2049
|
+
</dl>
|
|
2050
|
+
</details>
|
|
2051
|
+
|
|
2052
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">updateBillingPlanGroup</a>(billingId, { ...params }) -> Schematic.UpdateBillingPlanGroupResponse</code></summary>
|
|
2053
|
+
<dl>
|
|
2054
|
+
<dd>
|
|
2055
|
+
|
|
2056
|
+
#### 🔌 Usage
|
|
2057
|
+
|
|
2058
|
+
<dl>
|
|
2059
|
+
<dd>
|
|
2060
|
+
|
|
2061
|
+
<dl>
|
|
2062
|
+
<dd>
|
|
2063
|
+
|
|
2064
|
+
```typescript
|
|
2065
|
+
await client.billing.updateBillingPlanGroup("billing_id", {
|
|
2066
|
+
planIds: ["plan_ids"],
|
|
2067
|
+
});
|
|
2068
|
+
```
|
|
2069
|
+
|
|
2070
|
+
</dd>
|
|
2071
|
+
</dl>
|
|
2072
|
+
</dd>
|
|
2073
|
+
</dl>
|
|
2074
|
+
|
|
2075
|
+
#### ⚙️ Parameters
|
|
2076
|
+
|
|
2077
|
+
<dl>
|
|
2078
|
+
<dd>
|
|
2079
|
+
|
|
2080
|
+
<dl>
|
|
2081
|
+
<dd>
|
|
2082
|
+
|
|
2083
|
+
**billingId:** `string` — billing_id
|
|
2084
|
+
|
|
2085
|
+
</dd>
|
|
2086
|
+
</dl>
|
|
2087
|
+
|
|
2088
|
+
<dl>
|
|
2089
|
+
<dd>
|
|
2090
|
+
|
|
2091
|
+
**request:** `Schematic.UpdateBillingPlanGroupRequestBody`
|
|
2092
|
+
|
|
2093
|
+
</dd>
|
|
2094
|
+
</dl>
|
|
2095
|
+
|
|
2096
|
+
<dl>
|
|
2097
|
+
<dd>
|
|
2098
|
+
|
|
2099
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
2100
|
+
|
|
2101
|
+
</dd>
|
|
2102
|
+
</dl>
|
|
2103
|
+
</dd>
|
|
2104
|
+
</dl>
|
|
2105
|
+
|
|
2106
|
+
</dd>
|
|
2107
|
+
</dl>
|
|
2108
|
+
</details>
|
|
2109
|
+
|
|
1920
2110
|
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">upsertBillingPrice</a>({ ...params }) -> Schematic.UpsertBillingPriceResponse</code></summary>
|
|
1921
2111
|
<dl>
|
|
1922
2112
|
<dd>
|
|
@@ -2179,6 +2369,58 @@ await client.billing.upsertBillingSubscription({
|
|
|
2179
2369
|
</dl>
|
|
2180
2370
|
</details>
|
|
2181
2371
|
|
|
2372
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">changeSubscriptionWeb</a>({ ...params }) -> Schematic.ChangeSubscriptionWebResponse</code></summary>
|
|
2373
|
+
<dl>
|
|
2374
|
+
<dd>
|
|
2375
|
+
|
|
2376
|
+
#### 🔌 Usage
|
|
2377
|
+
|
|
2378
|
+
<dl>
|
|
2379
|
+
<dd>
|
|
2380
|
+
|
|
2381
|
+
<dl>
|
|
2382
|
+
<dd>
|
|
2383
|
+
|
|
2384
|
+
```typescript
|
|
2385
|
+
await client.billing.changeSubscriptionWeb({
|
|
2386
|
+
action: "action",
|
|
2387
|
+
newPlanId: "new_plan_id",
|
|
2388
|
+
newPriceId: "new_price_id",
|
|
2389
|
+
});
|
|
2390
|
+
```
|
|
2391
|
+
|
|
2392
|
+
</dd>
|
|
2393
|
+
</dl>
|
|
2394
|
+
</dd>
|
|
2395
|
+
</dl>
|
|
2396
|
+
|
|
2397
|
+
#### ⚙️ Parameters
|
|
2398
|
+
|
|
2399
|
+
<dl>
|
|
2400
|
+
<dd>
|
|
2401
|
+
|
|
2402
|
+
<dl>
|
|
2403
|
+
<dd>
|
|
2404
|
+
|
|
2405
|
+
**request:** `Schematic.ChangeSubscriptionRequestBody`
|
|
2406
|
+
|
|
2407
|
+
</dd>
|
|
2408
|
+
</dl>
|
|
2409
|
+
|
|
2410
|
+
<dl>
|
|
2411
|
+
<dd>
|
|
2412
|
+
|
|
2413
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
2414
|
+
|
|
2415
|
+
</dd>
|
|
2416
|
+
</dl>
|
|
2417
|
+
</dd>
|
|
2418
|
+
</dl>
|
|
2419
|
+
|
|
2420
|
+
</dd>
|
|
2421
|
+
</dl>
|
|
2422
|
+
</details>
|
|
2423
|
+
|
|
2182
2424
|
## companies
|
|
2183
2425
|
|
|
2184
2426
|
<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">listCompanies</a>({ ...params }) -> Schematic.ListCompaniesResponse</code></summary>
|
|
@@ -2781,54 +3023,6 @@ await client.companies.deleteCompanyMembership("company_membership_id");
|
|
|
2781
3023
|
</dl>
|
|
2782
3024
|
</details>
|
|
2783
3025
|
|
|
2784
|
-
<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">listCompanyPlans</a>({ ...params }) -> Schematic.ListCompanyPlansResponse</code></summary>
|
|
2785
|
-
<dl>
|
|
2786
|
-
<dd>
|
|
2787
|
-
|
|
2788
|
-
#### 🔌 Usage
|
|
2789
|
-
|
|
2790
|
-
<dl>
|
|
2791
|
-
<dd>
|
|
2792
|
-
|
|
2793
|
-
<dl>
|
|
2794
|
-
<dd>
|
|
2795
|
-
|
|
2796
|
-
```typescript
|
|
2797
|
-
await client.companies.listCompanyPlans();
|
|
2798
|
-
```
|
|
2799
|
-
|
|
2800
|
-
</dd>
|
|
2801
|
-
</dl>
|
|
2802
|
-
</dd>
|
|
2803
|
-
</dl>
|
|
2804
|
-
|
|
2805
|
-
#### ⚙️ Parameters
|
|
2806
|
-
|
|
2807
|
-
<dl>
|
|
2808
|
-
<dd>
|
|
2809
|
-
|
|
2810
|
-
<dl>
|
|
2811
|
-
<dd>
|
|
2812
|
-
|
|
2813
|
-
**request:** `Schematic.ListCompanyPlansRequest`
|
|
2814
|
-
|
|
2815
|
-
</dd>
|
|
2816
|
-
</dl>
|
|
2817
|
-
|
|
2818
|
-
<dl>
|
|
2819
|
-
<dd>
|
|
2820
|
-
|
|
2821
|
-
**requestOptions:** `Companies.RequestOptions`
|
|
2822
|
-
|
|
2823
|
-
</dd>
|
|
2824
|
-
</dl>
|
|
2825
|
-
</dd>
|
|
2826
|
-
</dl>
|
|
2827
|
-
|
|
2828
|
-
</dd>
|
|
2829
|
-
</dl>
|
|
2830
|
-
</details>
|
|
2831
|
-
|
|
2832
3026
|
<details><summary><code>client.companies.<a href="/src/api/resources/companies/client/Client.ts">getActiveCompanySubscription</a>({ ...params }) -> Schematic.GetActiveCompanySubscriptionResponse</code></summary>
|
|
2833
3027
|
<dl>
|
|
2834
3028
|
<dd>
|
|
@@ -4813,7 +5007,6 @@ await client.components.listComponents();
|
|
|
4813
5007
|
|
|
4814
5008
|
```typescript
|
|
4815
5009
|
await client.components.createComponent({
|
|
4816
|
-
ast: [1],
|
|
4817
5010
|
entityType: Schematic.CreateComponentRequestBodyEntityType.Entitlement,
|
|
4818
5011
|
name: "name",
|
|
4819
5012
|
});
|
|
@@ -6084,7 +6277,6 @@ await client.plans.getPlan("plan_id");
|
|
|
6084
6277
|
|
|
6085
6278
|
```typescript
|
|
6086
6279
|
await client.plans.updatePlan("plan_id", {
|
|
6087
|
-
audienceType: "audience_type",
|
|
6088
6280
|
name: "name",
|
|
6089
6281
|
});
|
|
6090
6282
|
```
|
|
@@ -6235,6 +6427,46 @@ await client.plans.upsertBillingProductPlan("plan_id", {
|
|
|
6235
6427
|
</dl>
|
|
6236
6428
|
</details>
|
|
6237
6429
|
|
|
6430
|
+
<details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">listActivePlans</a>() -> Schematic.ListActivePlansResponse</code></summary>
|
|
6431
|
+
<dl>
|
|
6432
|
+
<dd>
|
|
6433
|
+
|
|
6434
|
+
#### 🔌 Usage
|
|
6435
|
+
|
|
6436
|
+
<dl>
|
|
6437
|
+
<dd>
|
|
6438
|
+
|
|
6439
|
+
<dl>
|
|
6440
|
+
<dd>
|
|
6441
|
+
|
|
6442
|
+
```typescript
|
|
6443
|
+
await client.plans.listActivePlans();
|
|
6444
|
+
```
|
|
6445
|
+
|
|
6446
|
+
</dd>
|
|
6447
|
+
</dl>
|
|
6448
|
+
</dd>
|
|
6449
|
+
</dl>
|
|
6450
|
+
|
|
6451
|
+
#### ⚙️ Parameters
|
|
6452
|
+
|
|
6453
|
+
<dl>
|
|
6454
|
+
<dd>
|
|
6455
|
+
|
|
6456
|
+
<dl>
|
|
6457
|
+
<dd>
|
|
6458
|
+
|
|
6459
|
+
**requestOptions:** `Plans.RequestOptions`
|
|
6460
|
+
|
|
6461
|
+
</dd>
|
|
6462
|
+
</dl>
|
|
6463
|
+
</dd>
|
|
6464
|
+
</dl>
|
|
6465
|
+
|
|
6466
|
+
</dd>
|
|
6467
|
+
</dl>
|
|
6468
|
+
</details>
|
|
6469
|
+
|
|
6238
6470
|
<details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">countPlans</a>({ ...params }) -> Schematic.CountPlansResponse</code></summary>
|
|
6239
6471
|
<dl>
|
|
6240
6472
|
<dd>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Schematic from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const ChangeSubscriptionRequestBody: core.serialization.Schema<serializers.ChangeSubscriptionRequestBody.Raw, Schematic.ChangeSubscriptionRequestBody>;
|
|
8
|
+
export declare namespace ChangeSubscriptionRequestBody {
|
|
9
|
+
interface Raw {
|
|
10
|
+
action: string;
|
|
11
|
+
new_plan_id: string;
|
|
12
|
+
new_price_id: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ChangeSubscriptionRequestBody = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.ChangeSubscriptionRequestBody = core.serialization.object({
|
|
32
|
+
action: core.serialization.string(),
|
|
33
|
+
newPlanId: core.serialization.property("new_plan_id", core.serialization.string()),
|
|
34
|
+
newPriceId: core.serialization.property("new_price_id", core.serialization.string()),
|
|
35
|
+
});
|
package/serialization/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Schematic from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const CreateBillingPlanGroupRequestBody: core.serialization.Schema<serializers.CreateBillingPlanGroupRequestBody.Raw, Schematic.CreateBillingPlanGroupRequestBody>;
|
|
8
|
+
export declare namespace CreateBillingPlanGroupRequestBody {
|
|
9
|
+
interface Raw {
|
|
10
|
+
default_plan_id?: string | null;
|
|
11
|
+
plan_ids: string[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateBillingPlanGroupRequestBody = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.CreateBillingPlanGroupRequestBody = core.serialization.object({
|
|
32
|
+
defaultPlanId: core.serialization.property("default_plan_id", core.serialization.string().optional()),
|
|
33
|
+
planIds: core.serialization.property("plan_ids", core.serialization.list(core.serialization.string())),
|
|
34
|
+
});
|
package/serialization/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Schematic from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const UpdateBillingPlanGroupRequestBody: core.serialization.Schema<serializers.UpdateBillingPlanGroupRequestBody.Raw, Schematic.UpdateBillingPlanGroupRequestBody>;
|
|
8
|
+
export declare namespace UpdateBillingPlanGroupRequestBody {
|
|
9
|
+
interface Raw {
|
|
10
|
+
default_plan_id?: string | null;
|
|
11
|
+
plan_ids: string[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.UpdateBillingPlanGroupRequestBody = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.UpdateBillingPlanGroupRequestBody = core.serialization.object({
|
|
32
|
+
defaultPlanId: core.serialization.property("default_plan_id", core.serialization.string().optional()),
|
|
33
|
+
planIds: core.serialization.property("plan_ids", core.serialization.list(core.serialization.string())),
|
|
34
|
+
});
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { CreateBillingCustomerRequestBody } from "./CreateBillingCustomerRequestBody";
|
|
2
|
+
export { CreateBillingPlanGroupRequestBody } from "./CreateBillingPlanGroupRequestBody";
|
|
3
|
+
export { UpdateBillingPlanGroupRequestBody } from "./UpdateBillingPlanGroupRequestBody";
|
|
2
4
|
export { CreateBillingPriceRequestBody } from "./CreateBillingPriceRequestBody";
|
|
3
5
|
export { CreateBillingProductRequestBody } from "./CreateBillingProductRequestBody";
|
|
4
6
|
export { CreateBillingSubscriptionsRequestBody } from "./CreateBillingSubscriptionsRequestBody";
|
|
7
|
+
export { ChangeSubscriptionRequestBody } from "./ChangeSubscriptionRequestBody";
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateBillingSubscriptionsRequestBody = exports.CreateBillingProductRequestBody = exports.CreateBillingPriceRequestBody = exports.CreateBillingCustomerRequestBody = void 0;
|
|
3
|
+
exports.ChangeSubscriptionRequestBody = exports.CreateBillingSubscriptionsRequestBody = exports.CreateBillingProductRequestBody = exports.CreateBillingPriceRequestBody = exports.UpdateBillingPlanGroupRequestBody = exports.CreateBillingPlanGroupRequestBody = exports.CreateBillingCustomerRequestBody = void 0;
|
|
4
4
|
var CreateBillingCustomerRequestBody_1 = require("./CreateBillingCustomerRequestBody");
|
|
5
5
|
Object.defineProperty(exports, "CreateBillingCustomerRequestBody", { enumerable: true, get: function () { return CreateBillingCustomerRequestBody_1.CreateBillingCustomerRequestBody; } });
|
|
6
|
+
var CreateBillingPlanGroupRequestBody_1 = require("./CreateBillingPlanGroupRequestBody");
|
|
7
|
+
Object.defineProperty(exports, "CreateBillingPlanGroupRequestBody", { enumerable: true, get: function () { return CreateBillingPlanGroupRequestBody_1.CreateBillingPlanGroupRequestBody; } });
|
|
8
|
+
var UpdateBillingPlanGroupRequestBody_1 = require("./UpdateBillingPlanGroupRequestBody");
|
|
9
|
+
Object.defineProperty(exports, "UpdateBillingPlanGroupRequestBody", { enumerable: true, get: function () { return UpdateBillingPlanGroupRequestBody_1.UpdateBillingPlanGroupRequestBody; } });
|
|
6
10
|
var CreateBillingPriceRequestBody_1 = require("./CreateBillingPriceRequestBody");
|
|
7
11
|
Object.defineProperty(exports, "CreateBillingPriceRequestBody", { enumerable: true, get: function () { return CreateBillingPriceRequestBody_1.CreateBillingPriceRequestBody; } });
|
|
8
12
|
var CreateBillingProductRequestBody_1 = require("./CreateBillingProductRequestBody");
|
|
9
13
|
Object.defineProperty(exports, "CreateBillingProductRequestBody", { enumerable: true, get: function () { return CreateBillingProductRequestBody_1.CreateBillingProductRequestBody; } });
|
|
10
14
|
var CreateBillingSubscriptionsRequestBody_1 = require("./CreateBillingSubscriptionsRequestBody");
|
|
11
15
|
Object.defineProperty(exports, "CreateBillingSubscriptionsRequestBody", { enumerable: true, get: function () { return CreateBillingSubscriptionsRequestBody_1.CreateBillingSubscriptionsRequestBody; } });
|
|
16
|
+
var ChangeSubscriptionRequestBody_1 = require("./ChangeSubscriptionRequestBody");
|
|
17
|
+
Object.defineProperty(exports, "ChangeSubscriptionRequestBody", { enumerable: true, get: function () { return ChangeSubscriptionRequestBody_1.ChangeSubscriptionRequestBody; } });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { BillingSubscriptionResponseData } from "../../../types/BillingSubscriptionResponseData";
|
|
8
|
+
export declare const ChangeSubscriptionWebResponse: core.serialization.ObjectSchema<serializers.ChangeSubscriptionWebResponse.Raw, Schematic.ChangeSubscriptionWebResponse>;
|
|
9
|
+
export declare namespace ChangeSubscriptionWebResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: BillingSubscriptionResponseData.Raw;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ChangeSubscriptionWebResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const BillingSubscriptionResponseData_1 = require("../../../types/BillingSubscriptionResponseData");
|
|
32
|
+
exports.ChangeSubscriptionWebResponse = core.serialization.object({
|
|
33
|
+
data: BillingSubscriptionResponseData_1.BillingSubscriptionResponseData,
|
|
34
|
+
params: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { BillingPlanGroupResponseData } from "../../../types/BillingPlanGroupResponseData";
|
|
8
|
+
export declare const CreateBillingPlanGroupResponse: core.serialization.ObjectSchema<serializers.CreateBillingPlanGroupResponse.Raw, Schematic.CreateBillingPlanGroupResponse>;
|
|
9
|
+
export declare namespace CreateBillingPlanGroupResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: BillingPlanGroupResponseData.Raw;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateBillingPlanGroupResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const BillingPlanGroupResponseData_1 = require("../../../types/BillingPlanGroupResponseData");
|
|
32
|
+
exports.CreateBillingPlanGroupResponse = core.serialization.object({
|
|
33
|
+
data: BillingPlanGroupResponseData_1.BillingPlanGroupResponseData,
|
|
34
|
+
params: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { BillingPlanGroupResponseData } from "../../../types/BillingPlanGroupResponseData";
|
|
8
|
+
export declare const GetBillingPlanGroupByAccountIdResponse: core.serialization.ObjectSchema<serializers.GetBillingPlanGroupByAccountIdResponse.Raw, Schematic.GetBillingPlanGroupByAccountIdResponse>;
|
|
9
|
+
export declare namespace GetBillingPlanGroupByAccountIdResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: BillingPlanGroupResponseData.Raw;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|