@usehercules/sdk 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +125 -0
- package/README.md +14 -20
- package/client.d.mts +6 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -3
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/beta/beta.d.mts +4 -4
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +4 -4
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +4 -4
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +4 -4
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/index.d.mts +1 -1
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +1 -1
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js +3 -3
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs +1 -1
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta/pay/coupons.d.mts +156 -0
- package/resources/beta/pay/coupons.d.mts.map +1 -0
- package/resources/beta/pay/coupons.d.ts +156 -0
- package/resources/beta/pay/coupons.d.ts.map +1 -0
- package/resources/beta/pay/coupons.js +51 -0
- package/resources/beta/pay/coupons.js.map +1 -0
- package/resources/beta/pay/coupons.mjs +47 -0
- package/resources/beta/pay/coupons.mjs.map +1 -0
- package/resources/beta/pay/customers.d.mts +160 -0
- package/resources/beta/pay/customers.d.mts.map +1 -0
- package/resources/beta/pay/customers.d.ts +160 -0
- package/resources/beta/pay/customers.d.ts.map +1 -0
- package/resources/beta/pay/customers.js +60 -0
- package/resources/beta/pay/customers.js.map +1 -0
- package/resources/beta/pay/customers.mjs +56 -0
- package/resources/beta/pay/customers.mjs.map +1 -0
- package/resources/beta/pay/entitlements.d.mts +94 -0
- package/resources/beta/pay/entitlements.d.mts.map +1 -0
- package/resources/beta/pay/entitlements.d.ts +94 -0
- package/resources/beta/pay/entitlements.d.ts.map +1 -0
- package/resources/beta/pay/entitlements.js +42 -0
- package/resources/beta/pay/entitlements.js.map +1 -0
- package/resources/beta/pay/entitlements.mjs +38 -0
- package/resources/beta/pay/entitlements.mjs.map +1 -0
- package/resources/beta/pay/index.d.mts +6 -0
- package/resources/beta/pay/index.d.mts.map +1 -0
- package/resources/beta/pay/index.d.ts +6 -0
- package/resources/beta/pay/index.d.ts.map +1 -0
- package/resources/beta/{subscriptions → pay}/index.js +5 -5
- package/resources/beta/pay/index.js.map +1 -0
- package/resources/beta/{subscriptions → pay}/index.mjs +2 -2
- package/resources/beta/pay/index.mjs.map +1 -0
- package/resources/beta/{subscriptions/subscriptions.d.mts → pay/pay.d.mts} +48 -32
- package/resources/beta/pay/pay.d.mts.map +1 -0
- package/resources/beta/{subscriptions/subscriptions.d.ts → pay/pay.d.ts} +48 -32
- package/resources/beta/pay/pay.d.ts.map +1 -0
- package/resources/beta/pay/pay.js +54 -0
- package/resources/beta/pay/pay.js.map +1 -0
- package/resources/beta/pay/pay.mjs +49 -0
- package/resources/beta/pay/pay.mjs.map +1 -0
- package/resources/beta/pay/products/entitlements.d.mts +53 -0
- package/resources/beta/pay/products/entitlements.d.mts.map +1 -0
- package/resources/beta/pay/products/entitlements.d.ts +53 -0
- package/resources/beta/pay/products/entitlements.d.ts.map +1 -0
- package/resources/beta/pay/products/entitlements.js +38 -0
- package/resources/beta/pay/products/entitlements.js.map +1 -0
- package/resources/beta/pay/products/entitlements.mjs +34 -0
- package/resources/beta/pay/products/entitlements.mjs.map +1 -0
- package/resources/beta/pay/products/index.d.mts +3 -0
- package/resources/beta/pay/products/index.d.mts.map +1 -0
- package/resources/beta/pay/products/index.d.ts +3 -0
- package/resources/beta/pay/products/index.d.ts.map +1 -0
- package/resources/beta/{subscriptions/plans → pay/products}/index.js +3 -3
- package/resources/beta/pay/products/index.js.map +1 -0
- package/resources/beta/{subscriptions/plans → pay/products}/index.mjs +1 -1
- package/resources/beta/pay/products/index.mjs.map +1 -0
- package/resources/beta/pay/products/products.d.mts +152 -0
- package/resources/beta/pay/products/products.d.mts.map +1 -0
- package/resources/beta/pay/products/products.d.ts +152 -0
- package/resources/beta/pay/products/products.d.ts.map +1 -0
- package/resources/beta/pay/products/products.js +57 -0
- package/resources/beta/pay/products/products.js.map +1 -0
- package/resources/beta/pay/products/products.mjs +52 -0
- package/resources/beta/pay/products/products.mjs.map +1 -0
- package/resources/beta/pay/products.d.mts +2 -0
- package/resources/beta/pay/products.d.mts.map +1 -0
- package/resources/beta/pay/products.d.ts +2 -0
- package/resources/beta/pay/products.d.ts.map +1 -0
- package/resources/beta/{subscriptions/plans.js → pay/products.js} +2 -2
- package/resources/beta/pay/products.js.map +1 -0
- package/resources/beta/{subscriptions.mjs → pay/products.mjs} +2 -2
- package/resources/beta/pay/products.mjs.map +1 -0
- package/resources/beta/pay.d.mts +2 -0
- package/resources/beta/pay.d.mts.map +1 -0
- package/resources/beta/pay.d.ts +2 -0
- package/resources/beta/pay.d.ts.map +1 -0
- package/resources/beta/{subscriptions.js → pay.js} +2 -2
- package/resources/beta/pay.js.map +1 -0
- package/resources/beta/{subscriptions/plans.mjs → pay.mjs} +2 -2
- package/resources/beta/pay.mjs.map +1 -0
- package/src/client.ts +6 -4
- package/src/resources/beta/beta.ts +18 -18
- package/src/resources/beta/index.ts +8 -8
- package/src/resources/beta/pay/coupons.ts +218 -0
- package/src/resources/beta/pay/customers.ts +229 -0
- package/src/resources/beta/pay/entitlements.ts +135 -0
- package/src/resources/beta/{subscriptions → pay}/index.ts +15 -17
- package/src/resources/beta/{subscriptions/subscriptions.ts → pay/pay.ts} +70 -59
- package/src/resources/beta/{subscriptions/plans → pay/products}/entitlements.ts +26 -21
- package/src/resources/beta/{subscriptions/plans → pay/products}/index.ts +9 -9
- package/src/resources/beta/pay/products/products.ts +224 -0
- package/src/resources/beta/{subscriptions.ts → pay/products.ts} +1 -1
- package/src/resources/beta/{subscriptions/plans.ts → pay.ts} +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/beta/subscriptions/coupons.d.mts +0 -151
- package/resources/beta/subscriptions/coupons.d.mts.map +0 -1
- package/resources/beta/subscriptions/coupons.d.ts +0 -151
- package/resources/beta/subscriptions/coupons.d.ts.map +0 -1
- package/resources/beta/subscriptions/coupons.js +0 -51
- package/resources/beta/subscriptions/coupons.js.map +0 -1
- package/resources/beta/subscriptions/coupons.mjs +0 -47
- package/resources/beta/subscriptions/coupons.mjs.map +0 -1
- package/resources/beta/subscriptions/customers.d.mts +0 -93
- package/resources/beta/subscriptions/customers.d.mts.map +0 -1
- package/resources/beta/subscriptions/customers.d.ts +0 -93
- package/resources/beta/subscriptions/customers.d.ts.map +0 -1
- package/resources/beta/subscriptions/customers.js +0 -57
- package/resources/beta/subscriptions/customers.js.map +0 -1
- package/resources/beta/subscriptions/customers.mjs +0 -53
- package/resources/beta/subscriptions/customers.mjs.map +0 -1
- package/resources/beta/subscriptions/entitlements.d.mts +0 -70
- package/resources/beta/subscriptions/entitlements.d.mts.map +0 -1
- package/resources/beta/subscriptions/entitlements.d.ts +0 -70
- package/resources/beta/subscriptions/entitlements.d.ts.map +0 -1
- package/resources/beta/subscriptions/entitlements.js +0 -38
- package/resources/beta/subscriptions/entitlements.js.map +0 -1
- package/resources/beta/subscriptions/entitlements.mjs +0 -34
- package/resources/beta/subscriptions/entitlements.mjs.map +0 -1
- package/resources/beta/subscriptions/index.d.mts +0 -6
- package/resources/beta/subscriptions/index.d.mts.map +0 -1
- package/resources/beta/subscriptions/index.d.ts +0 -6
- package/resources/beta/subscriptions/index.d.ts.map +0 -1
- package/resources/beta/subscriptions/index.js.map +0 -1
- package/resources/beta/subscriptions/index.mjs.map +0 -1
- package/resources/beta/subscriptions/plans/entitlements.d.mts +0 -48
- package/resources/beta/subscriptions/plans/entitlements.d.mts.map +0 -1
- package/resources/beta/subscriptions/plans/entitlements.d.ts +0 -48
- package/resources/beta/subscriptions/plans/entitlements.d.ts.map +0 -1
- package/resources/beta/subscriptions/plans/entitlements.js +0 -34
- package/resources/beta/subscriptions/plans/entitlements.js.map +0 -1
- package/resources/beta/subscriptions/plans/entitlements.mjs +0 -30
- package/resources/beta/subscriptions/plans/entitlements.mjs.map +0 -1
- package/resources/beta/subscriptions/plans/index.d.mts +0 -3
- package/resources/beta/subscriptions/plans/index.d.mts.map +0 -1
- package/resources/beta/subscriptions/plans/index.d.ts +0 -3
- package/resources/beta/subscriptions/plans/index.d.ts.map +0 -1
- package/resources/beta/subscriptions/plans/index.js.map +0 -1
- package/resources/beta/subscriptions/plans/index.mjs.map +0 -1
- package/resources/beta/subscriptions/plans/plans.d.mts +0 -87
- package/resources/beta/subscriptions/plans/plans.d.mts.map +0 -1
- package/resources/beta/subscriptions/plans/plans.d.ts +0 -87
- package/resources/beta/subscriptions/plans/plans.d.ts.map +0 -1
- package/resources/beta/subscriptions/plans/plans.js +0 -49
- package/resources/beta/subscriptions/plans/plans.js.map +0 -1
- package/resources/beta/subscriptions/plans/plans.mjs +0 -44
- package/resources/beta/subscriptions/plans/plans.mjs.map +0 -1
- package/resources/beta/subscriptions/plans.d.mts +0 -2
- package/resources/beta/subscriptions/plans.d.mts.map +0 -1
- package/resources/beta/subscriptions/plans.d.ts +0 -2
- package/resources/beta/subscriptions/plans.d.ts.map +0 -1
- package/resources/beta/subscriptions/plans.js.map +0 -1
- package/resources/beta/subscriptions/plans.mjs.map +0 -1
- package/resources/beta/subscriptions/subscriptions.d.mts.map +0 -1
- package/resources/beta/subscriptions/subscriptions.d.ts.map +0 -1
- package/resources/beta/subscriptions/subscriptions.js +0 -47
- package/resources/beta/subscriptions/subscriptions.js.map +0 -1
- package/resources/beta/subscriptions/subscriptions.mjs +0 -42
- package/resources/beta/subscriptions/subscriptions.mjs.map +0 -1
- package/resources/beta/subscriptions.d.mts +0 -2
- package/resources/beta/subscriptions.d.mts.map +0 -1
- package/resources/beta/subscriptions.d.ts +0 -2
- package/resources/beta/subscriptions.d.ts.map +0 -1
- package/resources/beta/subscriptions.js.map +0 -1
- package/resources/beta/subscriptions.mjs.map +0 -1
- package/src/resources/beta/subscriptions/coupons.ts +0 -221
- package/src/resources/beta/subscriptions/customers.ts +0 -168
- package/src/resources/beta/subscriptions/entitlements.ts +0 -113
- package/src/resources/beta/subscriptions/plans/plans.ts +0 -159
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
-
import { CursorIDPage, type CursorIDPageParams, PagePromise } from '../../../core/pagination';
|
|
6
|
-
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
-
import { path } from '../../../internal/utils/path';
|
|
8
|
-
|
|
9
|
-
export class Entitlements extends APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Create Entitlement
|
|
12
|
-
*/
|
|
13
|
-
create(body: EntitlementCreateParams, options?: RequestOptions): APIPromise<Entitlement> {
|
|
14
|
-
return this._client.post('/v1/subscriptions/entitlements', { body, ...options });
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Update Entitlement
|
|
19
|
-
*/
|
|
20
|
-
update(
|
|
21
|
-
entitlementID: string,
|
|
22
|
-
body: EntitlementUpdateParams | null | undefined = {},
|
|
23
|
-
options?: RequestOptions,
|
|
24
|
-
): APIPromise<Entitlement> {
|
|
25
|
-
return this._client.patch(path`/v1/subscriptions/entitlements/${entitlementID}`, { body, ...options });
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* List Entitlements
|
|
30
|
-
*/
|
|
31
|
-
list(
|
|
32
|
-
query: EntitlementListParams | null | undefined = {},
|
|
33
|
-
options?: RequestOptions,
|
|
34
|
-
): PagePromise<EntitlementsCursorIDPage, Entitlement> {
|
|
35
|
-
return this._client.getAPIList('/v1/subscriptions/entitlements', CursorIDPage<Entitlement>, {
|
|
36
|
-
query,
|
|
37
|
-
...options,
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Get Entitlement
|
|
43
|
-
*/
|
|
44
|
-
get(entitlementID: string, options?: RequestOptions): APIPromise<Entitlement> {
|
|
45
|
-
return this._client.get(path`/v1/subscriptions/entitlements/${entitlementID}`, options);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export type EntitlementsCursorIDPage = CursorIDPage<Entitlement>;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* An entitlement that can be attached to products
|
|
53
|
-
*/
|
|
54
|
-
export interface Entitlement {
|
|
55
|
-
/**
|
|
56
|
-
* An id for a data item
|
|
57
|
-
*/
|
|
58
|
-
id: string;
|
|
59
|
-
|
|
60
|
-
active: boolean;
|
|
61
|
-
|
|
62
|
-
livemode: boolean;
|
|
63
|
-
|
|
64
|
-
lookup_key: string;
|
|
65
|
-
|
|
66
|
-
name: string;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export interface EntitlementCreateParams {
|
|
70
|
-
/**
|
|
71
|
-
* A unique key to identify the entitlement in your system
|
|
72
|
-
*/
|
|
73
|
-
lookup_key: string;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* The name of the entitlement
|
|
77
|
-
*/
|
|
78
|
-
name: string;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export interface EntitlementUpdateParams {
|
|
82
|
-
/**
|
|
83
|
-
* Whether the entitlement is active
|
|
84
|
-
*/
|
|
85
|
-
active?: boolean;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The name of the entitlement
|
|
89
|
-
*/
|
|
90
|
-
name?: string;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export interface EntitlementListParams extends CursorIDPageParams {
|
|
94
|
-
/**
|
|
95
|
-
* Filter by archived status
|
|
96
|
-
*/
|
|
97
|
-
archived?: boolean;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Filter by lookup key
|
|
101
|
-
*/
|
|
102
|
-
lookup_key?: string;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export declare namespace Entitlements {
|
|
106
|
-
export {
|
|
107
|
-
type Entitlement as Entitlement,
|
|
108
|
-
type EntitlementsCursorIDPage as EntitlementsCursorIDPage,
|
|
109
|
-
type EntitlementCreateParams as EntitlementCreateParams,
|
|
110
|
-
type EntitlementUpdateParams as EntitlementUpdateParams,
|
|
111
|
-
type EntitlementListParams as EntitlementListParams,
|
|
112
|
-
};
|
|
113
|
-
}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../../../core/resource';
|
|
4
|
-
import * as EntitlementsAPI from './entitlements';
|
|
5
|
-
import {
|
|
6
|
-
EntitlementAttachParams,
|
|
7
|
-
EntitlementListParams,
|
|
8
|
-
EntitlementRemoveParams,
|
|
9
|
-
Entitlements,
|
|
10
|
-
PlanEntitlement,
|
|
11
|
-
PlanEntitlementsCursorIDPage,
|
|
12
|
-
} from './entitlements';
|
|
13
|
-
import { APIPromise } from '../../../../core/api-promise';
|
|
14
|
-
import { CursorIDPage, type CursorIDPageParams, PagePromise } from '../../../../core/pagination';
|
|
15
|
-
import { RequestOptions } from '../../../../internal/request-options';
|
|
16
|
-
import { path } from '../../../../internal/utils/path';
|
|
17
|
-
|
|
18
|
-
export class Plans extends APIResource {
|
|
19
|
-
entitlements: EntitlementsAPI.Entitlements = new EntitlementsAPI.Entitlements(this._client);
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Create Plan
|
|
23
|
-
*/
|
|
24
|
-
create(body: PlanCreateParams, options?: RequestOptions): APIPromise<Plan> {
|
|
25
|
-
return this._client.post('/v1/subscriptions/plans', { body, ...options });
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Update Plan
|
|
30
|
-
*/
|
|
31
|
-
update(
|
|
32
|
-
planID: string,
|
|
33
|
-
body: PlanUpdateParams | null | undefined = {},
|
|
34
|
-
options?: RequestOptions,
|
|
35
|
-
): APIPromise<Plan> {
|
|
36
|
-
return this._client.patch(path`/v1/subscriptions/plans/${planID}`, { body, ...options });
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* List Plans
|
|
41
|
-
*/
|
|
42
|
-
list(
|
|
43
|
-
query: PlanListParams | null | undefined = {},
|
|
44
|
-
options?: RequestOptions,
|
|
45
|
-
): PagePromise<PlansCursorIDPage, Plan> {
|
|
46
|
-
return this._client.getAPIList('/v1/subscriptions/plans', CursorIDPage<Plan>, { query, ...options });
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Archive Plan
|
|
51
|
-
*/
|
|
52
|
-
archive(planID: string, options?: RequestOptions): APIPromise<Plan> {
|
|
53
|
-
return this._client.delete(path`/v1/subscriptions/plans/${planID}`, options);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Get Plan
|
|
58
|
-
*/
|
|
59
|
-
get(planID: string, options?: RequestOptions): APIPromise<Plan> {
|
|
60
|
-
return this._client.get(path`/v1/subscriptions/plans/${planID}`, options);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export type PlansCursorIDPage = CursorIDPage<Plan>;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* A subscription plan
|
|
68
|
-
*/
|
|
69
|
-
export interface Plan {
|
|
70
|
-
/**
|
|
71
|
-
* An id for a data item
|
|
72
|
-
*/
|
|
73
|
-
id: string;
|
|
74
|
-
|
|
75
|
-
active: boolean;
|
|
76
|
-
|
|
77
|
-
created: string;
|
|
78
|
-
|
|
79
|
-
name: string;
|
|
80
|
-
|
|
81
|
-
stripe_product_id: string;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* A recurring price for a plan
|
|
85
|
-
*/
|
|
86
|
-
default_price?: Plan.DefaultPrice | null;
|
|
87
|
-
|
|
88
|
-
description?: string | null;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export namespace Plan {
|
|
92
|
-
/**
|
|
93
|
-
* A recurring price for a plan
|
|
94
|
-
*/
|
|
95
|
-
export interface DefaultPrice {
|
|
96
|
-
/**
|
|
97
|
-
* An id for a data item
|
|
98
|
-
*/
|
|
99
|
-
id: string;
|
|
100
|
-
|
|
101
|
-
currency: string;
|
|
102
|
-
|
|
103
|
-
interval: 'day' | 'week' | 'month' | 'year';
|
|
104
|
-
|
|
105
|
-
interval_count: number;
|
|
106
|
-
|
|
107
|
-
unit_amount: number | null;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export interface PlanCreateParams {
|
|
112
|
-
name: string;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Amount in cents
|
|
116
|
-
*/
|
|
117
|
-
unit_amount: number;
|
|
118
|
-
|
|
119
|
-
currency?: string;
|
|
120
|
-
|
|
121
|
-
description?: string;
|
|
122
|
-
|
|
123
|
-
interval?: 'day' | 'week' | 'month' | 'year';
|
|
124
|
-
|
|
125
|
-
interval_count?: number;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export interface PlanUpdateParams {
|
|
129
|
-
active?: boolean;
|
|
130
|
-
|
|
131
|
-
description?: string;
|
|
132
|
-
|
|
133
|
-
name?: string;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export interface PlanListParams extends CursorIDPageParams {
|
|
137
|
-
active?: boolean;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
Plans.Entitlements = Entitlements;
|
|
141
|
-
|
|
142
|
-
export declare namespace Plans {
|
|
143
|
-
export {
|
|
144
|
-
type Plan as Plan,
|
|
145
|
-
type PlansCursorIDPage as PlansCursorIDPage,
|
|
146
|
-
type PlanCreateParams as PlanCreateParams,
|
|
147
|
-
type PlanUpdateParams as PlanUpdateParams,
|
|
148
|
-
type PlanListParams as PlanListParams,
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
export {
|
|
152
|
-
Entitlements as Entitlements,
|
|
153
|
-
type PlanEntitlement as PlanEntitlement,
|
|
154
|
-
type PlanEntitlementsCursorIDPage as PlanEntitlementsCursorIDPage,
|
|
155
|
-
type EntitlementListParams as EntitlementListParams,
|
|
156
|
-
type EntitlementAttachParams as EntitlementAttachParams,
|
|
157
|
-
type EntitlementRemoveParams as EntitlementRemoveParams,
|
|
158
|
-
};
|
|
159
|
-
}
|