@salable/sdk 1.0.0-beta.1
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/LICENSE +201 -0
- package/README.md +93 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +19915 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.js +19917 -0
- package/dist/index.js.map +1 -0
- package/dist/sdk/api/apiKeys/index.d.ts +66 -0
- package/dist/sdk/api/apiKeys/item/index.d.ts +48 -0
- package/dist/sdk/api/cartItems/index.d.ts +131 -0
- package/dist/sdk/api/cartItems/item/index.d.ts +31 -0
- package/dist/sdk/api/carts/batch/index.d.ts +36 -0
- package/dist/sdk/api/carts/index.d.ts +88 -0
- package/dist/sdk/api/carts/item/checkout/index.d.ts +35 -0
- package/dist/sdk/api/carts/item/index.d.ts +78 -0
- package/dist/sdk/api/checkout/index.d.ts +360 -0
- package/dist/sdk/api/currencyOptions/index.d.ts +56 -0
- package/dist/sdk/api/currencyOptions/item/index.d.ts +42 -0
- package/dist/sdk/api/destinations/index.d.ts +52 -0
- package/dist/sdk/api/destinations/item/index.d.ts +58 -0
- package/dist/sdk/api/entitlements/check/index.d.ts +40 -0
- package/dist/sdk/api/entitlements/index.d.ts +74 -0
- package/dist/sdk/api/entitlements/item/index.d.ts +67 -0
- package/dist/sdk/api/eventAttempts/index.d.ts +57 -0
- package/dist/sdk/api/events/index.d.ts +60 -0
- package/dist/sdk/api/events/item/index.d.ts +42 -0
- package/dist/sdk/api/grantees/index.d.ts +68 -0
- package/dist/sdk/api/grantees/item/index.d.ts +77 -0
- package/dist/sdk/api/groups/index.d.ts +73 -0
- package/dist/sdk/api/groups/item/grantees/index.d.ts +53 -0
- package/dist/sdk/api/groups/item/index.d.ts +88 -0
- package/dist/sdk/api/index.d.ts +164 -0
- package/dist/sdk/api/lineItems/index.d.ts +51 -0
- package/dist/sdk/api/lineItems/item/archive/index.d.ts +32 -0
- package/dist/sdk/api/lineItems/item/index.d.ts +109 -0
- package/dist/sdk/api/memberships/index.d.ts +52 -0
- package/dist/sdk/api/memberships/item/index.d.ts +42 -0
- package/dist/sdk/api/meters/index.d.ts +39 -0
- package/dist/sdk/api/owners/index.d.ts +51 -0
- package/dist/sdk/api/owners/item/index.d.ts +63 -0
- package/dist/sdk/api/paymentIntegrations/index.d.ts +91 -0
- package/dist/sdk/api/paymentIntegrations/item/index.d.ts +40 -0
- package/dist/sdk/api/paymentIntegrations/item/onboarding/index.d.ts +32 -0
- package/dist/sdk/api/plans/index.d.ts +236 -0
- package/dist/sdk/api/plans/item/archive/index.d.ts +32 -0
- package/dist/sdk/api/plans/item/index.d.ts +97 -0
- package/dist/sdk/api/plans/save/index.d.ts +33 -0
- package/dist/sdk/api/prices/index.d.ts +49 -0
- package/dist/sdk/api/prices/item/archive/index.d.ts +32 -0
- package/dist/sdk/api/prices/item/index.d.ts +57 -0
- package/dist/sdk/api/products/exportEscaped/index.d.ts +21 -0
- package/dist/sdk/api/products/exportEscaped/item/index.d.ts +32 -0
- package/dist/sdk/api/products/importEscaped/index.d.ts +32 -0
- package/dist/sdk/api/products/index.d.ts +92 -0
- package/dist/sdk/api/products/item/archive/index.d.ts +32 -0
- package/dist/sdk/api/products/item/index.d.ts +90 -0
- package/dist/sdk/api/receipts/index.d.ts +59 -0
- package/dist/sdk/api/receipts/item/index.d.ts +43 -0
- package/dist/sdk/api/signingKeys/index.d.ts +31 -0
- package/dist/sdk/api/stripe/accountSession/index.d.ts +31 -0
- package/dist/sdk/api/stripe/index.d.ts +19 -0
- package/dist/sdk/api/subscriptionPlanLineItems/index.d.ts +21 -0
- package/dist/sdk/api/subscriptionPlanLineItems/item/index.d.ts +86 -0
- package/dist/sdk/api/subscriptionPlanLineItems/item/sync/index.d.ts +31 -0
- package/dist/sdk/api/subscriptionPlans/index.d.ts +447 -0
- package/dist/sdk/api/subscriptionPlans/item/index.d.ts +1138 -0
- package/dist/sdk/api/subscriptionPlans/item/seats/index.d.ts +58 -0
- package/dist/sdk/api/subscriptions/batch/index.d.ts +35 -0
- package/dist/sdk/api/subscriptions/index.d.ts +312 -0
- package/dist/sdk/api/subscriptions/item/autoRenew/index.d.ts +43 -0
- package/dist/sdk/api/subscriptions/item/cancel/index.d.ts +32 -0
- package/dist/sdk/api/subscriptions/item/index.d.ts +90 -0
- package/dist/sdk/api/subscriptions/item/invoices/index.d.ts +33 -0
- package/dist/sdk/api/subscriptions/item/items/index.d.ts +34 -0
- package/dist/sdk/api/subscriptions/item/portal/index.d.ts +34 -0
- package/dist/sdk/api/tierTags/index.d.ts +58 -0
- package/dist/sdk/api/tiers/index.d.ts +50 -0
- package/dist/sdk/api/tiers/item/index.d.ts +31 -0
- package/dist/sdk/api/usage/index.d.ts +19 -0
- package/dist/sdk/api/usage/record/index.d.ts +33 -0
- package/dist/sdk/api/usageRecords/index.d.ts +55 -0
- package/dist/sdk/api/webhooks/index.d.ts +72 -0
- package/dist/sdk/api/webhooks/item/index.d.ts +77 -0
- package/dist/sdk/models/index.d.ts +16552 -0
- package/dist/sdk/salable.d.ts +24 -0
- package/package.json +48 -0
|
@@ -0,0 +1,1138 @@
|
|
|
1
|
+
import { type SeatsRequestBuilder } from './seats/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {SubscriptionPlansGetResponse_data_group}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createSubscriptionPlansGetResponse_data_groupFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns {SubscriptionPlansGetResponse_data_owner}
|
|
13
|
+
*/
|
|
14
|
+
export declare function createSubscriptionPlansGetResponse_data_ownerFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
15
|
+
/**
|
|
16
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
17
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
18
|
+
* @returns {string | SubscriptionPlansGetResponse_data_plan_archivedAtMember1}
|
|
19
|
+
*/
|
|
20
|
+
export declare function createSubscriptionPlansGetResponse_data_plan_archivedAtFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
21
|
+
/**
|
|
22
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
23
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
24
|
+
* @returns {SubscriptionPlansGetResponse_data_plan_archivedAtMember1}
|
|
25
|
+
*/
|
|
26
|
+
export declare function createSubscriptionPlansGetResponse_data_plan_archivedAtMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
27
|
+
/**
|
|
28
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
29
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
30
|
+
* @returns {SubscriptionPlansGetResponse_data_plan_entitlements_data}
|
|
31
|
+
*/
|
|
32
|
+
export declare function createSubscriptionPlansGetResponse_data_plan_entitlements_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
35
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
36
|
+
* @returns {SubscriptionPlansGetResponse_data_plan_entitlements}
|
|
37
|
+
*/
|
|
38
|
+
export declare function createSubscriptionPlansGetResponse_data_plan_entitlementsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
39
|
+
/**
|
|
40
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
41
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
42
|
+
* @returns {string | SubscriptionPlansGetResponse_data_plan_tierTagIdMember1}
|
|
43
|
+
*/
|
|
44
|
+
export declare function createSubscriptionPlansGetResponse_data_plan_tierTagIdFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
45
|
+
/**
|
|
46
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
47
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
48
|
+
* @returns {SubscriptionPlansGetResponse_data_plan_tierTagIdMember1}
|
|
49
|
+
*/
|
|
50
|
+
export declare function createSubscriptionPlansGetResponse_data_plan_tierTagIdMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
51
|
+
/**
|
|
52
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
53
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
54
|
+
* @returns {number | SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1}
|
|
55
|
+
*/
|
|
56
|
+
export declare function createSubscriptionPlansGetResponse_data_plan_trialPeriodDaysFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
57
|
+
/**
|
|
58
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
59
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
60
|
+
* @returns {SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1}
|
|
61
|
+
*/
|
|
62
|
+
export declare function createSubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
63
|
+
/**
|
|
64
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
65
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
66
|
+
* @returns {SubscriptionPlansGetResponse_data_plan}
|
|
67
|
+
*/
|
|
68
|
+
export declare function createSubscriptionPlansGetResponse_data_planFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
69
|
+
/**
|
|
70
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
71
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
72
|
+
* @returns {SubscriptionPlansGetResponse_data_subscription}
|
|
73
|
+
*/
|
|
74
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
75
|
+
/**
|
|
76
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
77
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
78
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter}
|
|
79
|
+
*/
|
|
80
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meterFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
81
|
+
/**
|
|
82
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
83
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
84
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem}
|
|
85
|
+
*/
|
|
86
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItemFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
87
|
+
/**
|
|
88
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
89
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
90
|
+
* @returns {string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1}
|
|
91
|
+
*/
|
|
92
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
93
|
+
/**
|
|
94
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
95
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
96
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1}
|
|
97
|
+
*/
|
|
98
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
99
|
+
/**
|
|
100
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
101
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
102
|
+
* @returns {string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1}
|
|
103
|
+
*/
|
|
104
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
105
|
+
/**
|
|
106
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
107
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
108
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1}
|
|
109
|
+
*/
|
|
110
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
111
|
+
/**
|
|
112
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
113
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
114
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data}
|
|
115
|
+
*/
|
|
116
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
117
|
+
/**
|
|
118
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
119
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
120
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records}
|
|
121
|
+
*/
|
|
122
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_recordsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
123
|
+
/**
|
|
124
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
125
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
126
|
+
* @returns {string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1}
|
|
127
|
+
*/
|
|
128
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
129
|
+
/**
|
|
130
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
131
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
132
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1}
|
|
133
|
+
*/
|
|
134
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
135
|
+
/**
|
|
136
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
137
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
138
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage}
|
|
139
|
+
*/
|
|
140
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usageFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
141
|
+
/**
|
|
142
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
143
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
144
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data}
|
|
145
|
+
*/
|
|
146
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
147
|
+
/**
|
|
148
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
149
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
150
|
+
* @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems}
|
|
151
|
+
*/
|
|
152
|
+
export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItemsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
153
|
+
/**
|
|
154
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
155
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
156
|
+
* @returns {SubscriptionPlansGetResponse_data}
|
|
157
|
+
*/
|
|
158
|
+
export declare function createSubscriptionPlansGetResponse_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
159
|
+
/**
|
|
160
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
161
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
162
|
+
* @returns {SubscriptionPlansGetResponse}
|
|
163
|
+
*/
|
|
164
|
+
export declare function createSubscriptionPlansGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
165
|
+
/**
|
|
166
|
+
* The deserialization information for the current model
|
|
167
|
+
* @param SubscriptionPlansGetResponse The instance to deserialize into.
|
|
168
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
169
|
+
*/
|
|
170
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse(subscriptionPlansGetResponse?: Partial<SubscriptionPlansGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
171
|
+
/**
|
|
172
|
+
* The deserialization information for the current model
|
|
173
|
+
* @param SubscriptionPlansGetResponse_data The instance to deserialize into.
|
|
174
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
175
|
+
*/
|
|
176
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data(subscriptionPlansGetResponse_data?: Partial<SubscriptionPlansGetResponse_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
177
|
+
/**
|
|
178
|
+
* The deserialization information for the current model
|
|
179
|
+
* @param SubscriptionPlansGetResponse_data_group The instance to deserialize into.
|
|
180
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
181
|
+
*/
|
|
182
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_group(subscriptionPlansGetResponse_data_group?: Partial<SubscriptionPlansGetResponse_data_group> | undefined): Record<string, (node: ParseNode) => void>;
|
|
183
|
+
/**
|
|
184
|
+
* The deserialization information for the current model
|
|
185
|
+
* @param SubscriptionPlansGetResponse_data_owner The instance to deserialize into.
|
|
186
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
187
|
+
*/
|
|
188
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_owner(subscriptionPlansGetResponse_data_owner?: Partial<SubscriptionPlansGetResponse_data_owner> | undefined): Record<string, (node: ParseNode) => void>;
|
|
189
|
+
/**
|
|
190
|
+
* The deserialization information for the current model
|
|
191
|
+
* @param SubscriptionPlansGetResponse_data_plan The instance to deserialize into.
|
|
192
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
193
|
+
*/
|
|
194
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan(subscriptionPlansGetResponse_data_plan?: Partial<SubscriptionPlansGetResponse_data_plan> | undefined): Record<string, (node: ParseNode) => void>;
|
|
195
|
+
/**
|
|
196
|
+
* The deserialization information for the current model
|
|
197
|
+
* @param SubscriptionPlansGetResponse_data_plan_archivedAt The instance to deserialize into.
|
|
198
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
199
|
+
*/
|
|
200
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan_archivedAt(subscriptionPlansGetResponse_data_plan_archivedAt?: Partial<Parsable | string | SubscriptionPlansGetResponse_data_plan_archivedAtMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
201
|
+
/**
|
|
202
|
+
* The deserialization information for the current model
|
|
203
|
+
* @param SubscriptionPlansGetResponse_data_plan_archivedAtMember1 The instance to deserialize into.
|
|
204
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
205
|
+
*/
|
|
206
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan_archivedAtMember1(subscriptionPlansGetResponse_data_plan_archivedAtMember1?: Partial<SubscriptionPlansGetResponse_data_plan_archivedAtMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
207
|
+
/**
|
|
208
|
+
* The deserialization information for the current model
|
|
209
|
+
* @param SubscriptionPlansGetResponse_data_plan_entitlements The instance to deserialize into.
|
|
210
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
211
|
+
*/
|
|
212
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan_entitlements(subscriptionPlansGetResponse_data_plan_entitlements?: Partial<SubscriptionPlansGetResponse_data_plan_entitlements> | undefined): Record<string, (node: ParseNode) => void>;
|
|
213
|
+
/**
|
|
214
|
+
* The deserialization information for the current model
|
|
215
|
+
* @param SubscriptionPlansGetResponse_data_plan_entitlements_data The instance to deserialize into.
|
|
216
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
217
|
+
*/
|
|
218
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan_entitlements_data(subscriptionPlansGetResponse_data_plan_entitlements_data?: Partial<SubscriptionPlansGetResponse_data_plan_entitlements_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
219
|
+
/**
|
|
220
|
+
* The deserialization information for the current model
|
|
221
|
+
* @param SubscriptionPlansGetResponse_data_plan_tierTagId The instance to deserialize into.
|
|
222
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
223
|
+
*/
|
|
224
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan_tierTagId(subscriptionPlansGetResponse_data_plan_tierTagId?: Partial<Parsable | string | SubscriptionPlansGetResponse_data_plan_tierTagIdMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
225
|
+
/**
|
|
226
|
+
* The deserialization information for the current model
|
|
227
|
+
* @param SubscriptionPlansGetResponse_data_plan_tierTagIdMember1 The instance to deserialize into.
|
|
228
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
229
|
+
*/
|
|
230
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan_tierTagIdMember1(subscriptionPlansGetResponse_data_plan_tierTagIdMember1?: Partial<SubscriptionPlansGetResponse_data_plan_tierTagIdMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
231
|
+
/**
|
|
232
|
+
* The deserialization information for the current model
|
|
233
|
+
* @param SubscriptionPlansGetResponse_data_plan_trialPeriodDays The instance to deserialize into.
|
|
234
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
235
|
+
*/
|
|
236
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan_trialPeriodDays(subscriptionPlansGetResponse_data_plan_trialPeriodDays?: Partial<Parsable | number | SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
237
|
+
/**
|
|
238
|
+
* The deserialization information for the current model
|
|
239
|
+
* @param SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1 The instance to deserialize into.
|
|
240
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
241
|
+
*/
|
|
242
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1(subscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1?: Partial<SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
243
|
+
/**
|
|
244
|
+
* The deserialization information for the current model
|
|
245
|
+
* @param SubscriptionPlansGetResponse_data_subscription The instance to deserialize into.
|
|
246
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
247
|
+
*/
|
|
248
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscription(subscriptionPlansGetResponse_data_subscription?: Partial<SubscriptionPlansGetResponse_data_subscription> | undefined): Record<string, (node: ParseNode) => void>;
|
|
249
|
+
/**
|
|
250
|
+
* The deserialization information for the current model
|
|
251
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems The instance to deserialize into.
|
|
252
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
253
|
+
*/
|
|
254
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems(subscriptionPlansGetResponse_data_subscriptionPlanLineItems?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems> | undefined): Record<string, (node: ParseNode) => void>;
|
|
255
|
+
/**
|
|
256
|
+
* The deserialization information for the current model
|
|
257
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data The instance to deserialize into.
|
|
258
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
259
|
+
*/
|
|
260
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
261
|
+
/**
|
|
262
|
+
* The deserialization information for the current model
|
|
263
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem The instance to deserialize into.
|
|
264
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
265
|
+
*/
|
|
266
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem> | undefined): Record<string, (node: ParseNode) => void>;
|
|
267
|
+
/**
|
|
268
|
+
* The deserialization information for the current model
|
|
269
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter The instance to deserialize into.
|
|
270
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
271
|
+
*/
|
|
272
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter> | undefined): Record<string, (node: ParseNode) => void>;
|
|
273
|
+
/**
|
|
274
|
+
* The deserialization information for the current model
|
|
275
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage The instance to deserialize into.
|
|
276
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
277
|
+
*/
|
|
278
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage> | undefined): Record<string, (node: ParseNode) => void>;
|
|
279
|
+
/**
|
|
280
|
+
* The deserialization information for the current model
|
|
281
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAt The instance to deserialize into.
|
|
282
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
283
|
+
*/
|
|
284
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAt(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAt?: Partial<Parsable | string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
285
|
+
/**
|
|
286
|
+
* The deserialization information for the current model
|
|
287
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1 The instance to deserialize into.
|
|
288
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
289
|
+
*/
|
|
290
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
291
|
+
/**
|
|
292
|
+
* The deserialization information for the current model
|
|
293
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records The instance to deserialize into.
|
|
294
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
295
|
+
*/
|
|
296
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records> | undefined): Record<string, (node: ParseNode) => void>;
|
|
297
|
+
/**
|
|
298
|
+
* The deserialization information for the current model
|
|
299
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data The instance to deserialize into.
|
|
300
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
301
|
+
*/
|
|
302
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
303
|
+
/**
|
|
304
|
+
* The deserialization information for the current model
|
|
305
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAt The instance to deserialize into.
|
|
306
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
307
|
+
*/
|
|
308
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAt(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAt?: Partial<Parsable | string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
309
|
+
/**
|
|
310
|
+
* The deserialization information for the current model
|
|
311
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1 The instance to deserialize into.
|
|
312
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
313
|
+
*/
|
|
314
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
315
|
+
/**
|
|
316
|
+
* The deserialization information for the current model
|
|
317
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemId The instance to deserialize into.
|
|
318
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
319
|
+
*/
|
|
320
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemId(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemId?: Partial<Parsable | string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
321
|
+
/**
|
|
322
|
+
* The deserialization information for the current model
|
|
323
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1 The instance to deserialize into.
|
|
324
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
325
|
+
*/
|
|
326
|
+
export declare function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1(subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
327
|
+
/**
|
|
328
|
+
* Serializes information the current object
|
|
329
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
330
|
+
* @param SubscriptionPlansGetResponse The instance to serialize from.
|
|
331
|
+
* @param writer Serialization writer to use to serialize this model
|
|
332
|
+
*/
|
|
333
|
+
export declare function serializeSubscriptionPlansGetResponse(writer: SerializationWriter, subscriptionPlansGetResponse?: Partial<SubscriptionPlansGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
334
|
+
/**
|
|
335
|
+
* Serializes information the current object
|
|
336
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
337
|
+
* @param SubscriptionPlansGetResponse_data The instance to serialize from.
|
|
338
|
+
* @param writer Serialization writer to use to serialize this model
|
|
339
|
+
*/
|
|
340
|
+
export declare function serializeSubscriptionPlansGetResponse_data(writer: SerializationWriter, subscriptionPlansGetResponse_data?: Partial<SubscriptionPlansGetResponse_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
341
|
+
/**
|
|
342
|
+
* Serializes information the current object
|
|
343
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
344
|
+
* @param SubscriptionPlansGetResponse_data_group The instance to serialize from.
|
|
345
|
+
* @param writer Serialization writer to use to serialize this model
|
|
346
|
+
*/
|
|
347
|
+
export declare function serializeSubscriptionPlansGetResponse_data_group(writer: SerializationWriter, subscriptionPlansGetResponse_data_group?: Partial<SubscriptionPlansGetResponse_data_group> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
348
|
+
/**
|
|
349
|
+
* Serializes information the current object
|
|
350
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
351
|
+
* @param SubscriptionPlansGetResponse_data_owner The instance to serialize from.
|
|
352
|
+
* @param writer Serialization writer to use to serialize this model
|
|
353
|
+
*/
|
|
354
|
+
export declare function serializeSubscriptionPlansGetResponse_data_owner(writer: SerializationWriter, subscriptionPlansGetResponse_data_owner?: Partial<SubscriptionPlansGetResponse_data_owner> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
355
|
+
/**
|
|
356
|
+
* Serializes information the current object
|
|
357
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
358
|
+
* @param SubscriptionPlansGetResponse_data_plan The instance to serialize from.
|
|
359
|
+
* @param writer Serialization writer to use to serialize this model
|
|
360
|
+
*/
|
|
361
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan?: Partial<SubscriptionPlansGetResponse_data_plan> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
362
|
+
/**
|
|
363
|
+
* Serializes information the current object
|
|
364
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
365
|
+
* @param SubscriptionPlansGetResponse_data_plan_archivedAt The instance to serialize from.
|
|
366
|
+
* @param writer Serialization writer to use to serialize this model
|
|
367
|
+
*/
|
|
368
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan_archivedAt(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan_archivedAt?: Partial<Parsable | SubscriptionPlansGetResponse_data_plan_archivedAtMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
369
|
+
/**
|
|
370
|
+
* Serializes information the current object
|
|
371
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
372
|
+
* @param SubscriptionPlansGetResponse_data_plan_archivedAtMember1 The instance to serialize from.
|
|
373
|
+
* @param writer Serialization writer to use to serialize this model
|
|
374
|
+
*/
|
|
375
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan_archivedAtMember1(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan_archivedAtMember1?: Partial<SubscriptionPlansGetResponse_data_plan_archivedAtMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
376
|
+
/**
|
|
377
|
+
* Serializes information the current object
|
|
378
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
379
|
+
* @param SubscriptionPlansGetResponse_data_plan_entitlements The instance to serialize from.
|
|
380
|
+
* @param writer Serialization writer to use to serialize this model
|
|
381
|
+
*/
|
|
382
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan_entitlements(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan_entitlements?: Partial<SubscriptionPlansGetResponse_data_plan_entitlements> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
383
|
+
/**
|
|
384
|
+
* Serializes information the current object
|
|
385
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
386
|
+
* @param SubscriptionPlansGetResponse_data_plan_entitlements_data The instance to serialize from.
|
|
387
|
+
* @param writer Serialization writer to use to serialize this model
|
|
388
|
+
*/
|
|
389
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan_entitlements_data(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan_entitlements_data?: Partial<SubscriptionPlansGetResponse_data_plan_entitlements_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
390
|
+
/**
|
|
391
|
+
* Serializes information the current object
|
|
392
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
393
|
+
* @param SubscriptionPlansGetResponse_data_plan_tierTagId The instance to serialize from.
|
|
394
|
+
* @param writer Serialization writer to use to serialize this model
|
|
395
|
+
*/
|
|
396
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan_tierTagId(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan_tierTagId?: Partial<Parsable | SubscriptionPlansGetResponse_data_plan_tierTagIdMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
397
|
+
/**
|
|
398
|
+
* Serializes information the current object
|
|
399
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
400
|
+
* @param SubscriptionPlansGetResponse_data_plan_tierTagIdMember1 The instance to serialize from.
|
|
401
|
+
* @param writer Serialization writer to use to serialize this model
|
|
402
|
+
*/
|
|
403
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan_tierTagIdMember1(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan_tierTagIdMember1?: Partial<SubscriptionPlansGetResponse_data_plan_tierTagIdMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
404
|
+
/**
|
|
405
|
+
* Serializes information the current object
|
|
406
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
407
|
+
* @param SubscriptionPlansGetResponse_data_plan_trialPeriodDays The instance to serialize from.
|
|
408
|
+
* @param writer Serialization writer to use to serialize this model
|
|
409
|
+
*/
|
|
410
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan_trialPeriodDays(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan_trialPeriodDays?: Partial<Parsable | SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
411
|
+
/**
|
|
412
|
+
* Serializes information the current object
|
|
413
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
414
|
+
* @param SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1 The instance to serialize from.
|
|
415
|
+
* @param writer Serialization writer to use to serialize this model
|
|
416
|
+
*/
|
|
417
|
+
export declare function serializeSubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1(writer: SerializationWriter, subscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1?: Partial<SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
418
|
+
/**
|
|
419
|
+
* Serializes information the current object
|
|
420
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
421
|
+
* @param SubscriptionPlansGetResponse_data_subscription The instance to serialize from.
|
|
422
|
+
* @param writer Serialization writer to use to serialize this model
|
|
423
|
+
*/
|
|
424
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscription(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscription?: Partial<SubscriptionPlansGetResponse_data_subscription> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
425
|
+
/**
|
|
426
|
+
* Serializes information the current object
|
|
427
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
428
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems The instance to serialize from.
|
|
429
|
+
* @param writer Serialization writer to use to serialize this model
|
|
430
|
+
*/
|
|
431
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
432
|
+
/**
|
|
433
|
+
* Serializes information the current object
|
|
434
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
435
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data The instance to serialize from.
|
|
436
|
+
* @param writer Serialization writer to use to serialize this model
|
|
437
|
+
*/
|
|
438
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
439
|
+
/**
|
|
440
|
+
* Serializes information the current object
|
|
441
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
442
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem The instance to serialize from.
|
|
443
|
+
* @param writer Serialization writer to use to serialize this model
|
|
444
|
+
*/
|
|
445
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
446
|
+
/**
|
|
447
|
+
* Serializes information the current object
|
|
448
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
449
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter The instance to serialize from.
|
|
450
|
+
* @param writer Serialization writer to use to serialize this model
|
|
451
|
+
*/
|
|
452
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
453
|
+
/**
|
|
454
|
+
* Serializes information the current object
|
|
455
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
456
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage The instance to serialize from.
|
|
457
|
+
* @param writer Serialization writer to use to serialize this model
|
|
458
|
+
*/
|
|
459
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
460
|
+
/**
|
|
461
|
+
* Serializes information the current object
|
|
462
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
463
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAt The instance to serialize from.
|
|
464
|
+
* @param writer Serialization writer to use to serialize this model
|
|
465
|
+
*/
|
|
466
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAt(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAt?: Partial<Parsable | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
467
|
+
/**
|
|
468
|
+
* Serializes information the current object
|
|
469
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
470
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1 The instance to serialize from.
|
|
471
|
+
* @param writer Serialization writer to use to serialize this model
|
|
472
|
+
*/
|
|
473
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
474
|
+
/**
|
|
475
|
+
* Serializes information the current object
|
|
476
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
477
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records The instance to serialize from.
|
|
478
|
+
* @param writer Serialization writer to use to serialize this model
|
|
479
|
+
*/
|
|
480
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
481
|
+
/**
|
|
482
|
+
* Serializes information the current object
|
|
483
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
484
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data The instance to serialize from.
|
|
485
|
+
* @param writer Serialization writer to use to serialize this model
|
|
486
|
+
*/
|
|
487
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
488
|
+
/**
|
|
489
|
+
* Serializes information the current object
|
|
490
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
491
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAt The instance to serialize from.
|
|
492
|
+
* @param writer Serialization writer to use to serialize this model
|
|
493
|
+
*/
|
|
494
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAt(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAt?: Partial<Parsable | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
495
|
+
/**
|
|
496
|
+
* Serializes information the current object
|
|
497
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
498
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1 The instance to serialize from.
|
|
499
|
+
* @param writer Serialization writer to use to serialize this model
|
|
500
|
+
*/
|
|
501
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
502
|
+
/**
|
|
503
|
+
* Serializes information the current object
|
|
504
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
505
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemId The instance to serialize from.
|
|
506
|
+
* @param writer Serialization writer to use to serialize this model
|
|
507
|
+
*/
|
|
508
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemId(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemId?: Partial<Parsable | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
509
|
+
/**
|
|
510
|
+
* Serializes information the current object
|
|
511
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
512
|
+
* @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1 The instance to serialize from.
|
|
513
|
+
* @param writer Serialization writer to use to serialize this model
|
|
514
|
+
*/
|
|
515
|
+
export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
516
|
+
export interface SubscriptionPlansGetResponse extends Parsable {
|
|
517
|
+
/**
|
|
518
|
+
* The data property
|
|
519
|
+
*/
|
|
520
|
+
data?: SubscriptionPlansGetResponse_data | null;
|
|
521
|
+
/**
|
|
522
|
+
* The type property
|
|
523
|
+
*/
|
|
524
|
+
type?: string | null;
|
|
525
|
+
}
|
|
526
|
+
export interface SubscriptionPlansGetResponse_data extends AdditionalDataHolder, Parsable {
|
|
527
|
+
/**
|
|
528
|
+
* The createdAt property
|
|
529
|
+
*/
|
|
530
|
+
createdAt?: string | null;
|
|
531
|
+
/**
|
|
532
|
+
* The group property
|
|
533
|
+
*/
|
|
534
|
+
group?: SubscriptionPlansGetResponse_data_group | null;
|
|
535
|
+
/**
|
|
536
|
+
* The groupId property
|
|
537
|
+
*/
|
|
538
|
+
groupId?: string | null;
|
|
539
|
+
/**
|
|
540
|
+
* The id property
|
|
541
|
+
*/
|
|
542
|
+
id?: string | null;
|
|
543
|
+
/**
|
|
544
|
+
* The organisation property
|
|
545
|
+
*/
|
|
546
|
+
organisation?: string | null;
|
|
547
|
+
/**
|
|
548
|
+
* The owner property
|
|
549
|
+
*/
|
|
550
|
+
owner?: SubscriptionPlansGetResponse_data_owner | null;
|
|
551
|
+
/**
|
|
552
|
+
* The ownerId property
|
|
553
|
+
*/
|
|
554
|
+
ownerId?: string | null;
|
|
555
|
+
/**
|
|
556
|
+
* The plan property
|
|
557
|
+
*/
|
|
558
|
+
plan?: SubscriptionPlansGetResponse_data_plan | null;
|
|
559
|
+
/**
|
|
560
|
+
* The planId property
|
|
561
|
+
*/
|
|
562
|
+
planId?: string | null;
|
|
563
|
+
/**
|
|
564
|
+
* The seats property
|
|
565
|
+
*/
|
|
566
|
+
seats?: number | null;
|
|
567
|
+
/**
|
|
568
|
+
* The status property
|
|
569
|
+
*/
|
|
570
|
+
status?: UntypedNode | null;
|
|
571
|
+
/**
|
|
572
|
+
* The subscription property
|
|
573
|
+
*/
|
|
574
|
+
subscription?: SubscriptionPlansGetResponse_data_subscription | null;
|
|
575
|
+
/**
|
|
576
|
+
* The subscriptionId property
|
|
577
|
+
*/
|
|
578
|
+
subscriptionId?: string | null;
|
|
579
|
+
/**
|
|
580
|
+
* The subscriptionPlanLineItems property
|
|
581
|
+
*/
|
|
582
|
+
subscriptionPlanLineItems?: SubscriptionPlansGetResponse_data_subscriptionPlanLineItems | null;
|
|
583
|
+
/**
|
|
584
|
+
* The updatedAt property
|
|
585
|
+
*/
|
|
586
|
+
updatedAt?: string | null;
|
|
587
|
+
}
|
|
588
|
+
export interface SubscriptionPlansGetResponse_data_group extends Parsable {
|
|
589
|
+
/**
|
|
590
|
+
* The createdAt property
|
|
591
|
+
*/
|
|
592
|
+
createdAt?: string | null;
|
|
593
|
+
/**
|
|
594
|
+
* The id property
|
|
595
|
+
*/
|
|
596
|
+
id?: string | null;
|
|
597
|
+
/**
|
|
598
|
+
* The name property
|
|
599
|
+
*/
|
|
600
|
+
name?: string | null;
|
|
601
|
+
/**
|
|
602
|
+
* The organisation property
|
|
603
|
+
*/
|
|
604
|
+
organisation?: string | null;
|
|
605
|
+
/**
|
|
606
|
+
* The ownerId property
|
|
607
|
+
*/
|
|
608
|
+
ownerId?: string | null;
|
|
609
|
+
/**
|
|
610
|
+
* The updatedAt property
|
|
611
|
+
*/
|
|
612
|
+
updatedAt?: string | null;
|
|
613
|
+
}
|
|
614
|
+
export interface SubscriptionPlansGetResponse_data_owner extends Parsable {
|
|
615
|
+
/**
|
|
616
|
+
* The createdAt property
|
|
617
|
+
*/
|
|
618
|
+
createdAt?: string | null;
|
|
619
|
+
/**
|
|
620
|
+
* The emailAddress property
|
|
621
|
+
*/
|
|
622
|
+
emailAddress?: string | null;
|
|
623
|
+
/**
|
|
624
|
+
* The id property
|
|
625
|
+
*/
|
|
626
|
+
id?: string | null;
|
|
627
|
+
/**
|
|
628
|
+
* The organisation property
|
|
629
|
+
*/
|
|
630
|
+
organisation?: string | null;
|
|
631
|
+
/**
|
|
632
|
+
* The stripeCustomerId property
|
|
633
|
+
*/
|
|
634
|
+
stripeCustomerId?: string | null;
|
|
635
|
+
/**
|
|
636
|
+
* The updatedAt property
|
|
637
|
+
*/
|
|
638
|
+
updatedAt?: string | null;
|
|
639
|
+
/**
|
|
640
|
+
* The value property
|
|
641
|
+
*/
|
|
642
|
+
value?: string | null;
|
|
643
|
+
}
|
|
644
|
+
export interface SubscriptionPlansGetResponse_data_plan extends AdditionalDataHolder, Parsable {
|
|
645
|
+
/**
|
|
646
|
+
* The archivedAt property
|
|
647
|
+
*/
|
|
648
|
+
archivedAt?: string | SubscriptionPlansGetResponse_data_plan_archivedAtMember1 | null;
|
|
649
|
+
/**
|
|
650
|
+
* The createdAt property
|
|
651
|
+
*/
|
|
652
|
+
createdAt?: string | null;
|
|
653
|
+
/**
|
|
654
|
+
* The entitlements property
|
|
655
|
+
*/
|
|
656
|
+
entitlements?: SubscriptionPlansGetResponse_data_plan_entitlements | null;
|
|
657
|
+
/**
|
|
658
|
+
* The id property
|
|
659
|
+
*/
|
|
660
|
+
id?: string | null;
|
|
661
|
+
/**
|
|
662
|
+
* The isActive property
|
|
663
|
+
*/
|
|
664
|
+
isActive?: boolean | null;
|
|
665
|
+
/**
|
|
666
|
+
* The name property
|
|
667
|
+
*/
|
|
668
|
+
name?: string | null;
|
|
669
|
+
/**
|
|
670
|
+
* The organisation property
|
|
671
|
+
*/
|
|
672
|
+
organisation?: string | null;
|
|
673
|
+
/**
|
|
674
|
+
* The productId property
|
|
675
|
+
*/
|
|
676
|
+
productId?: string | null;
|
|
677
|
+
/**
|
|
678
|
+
* The tierTagId property
|
|
679
|
+
*/
|
|
680
|
+
tierTagId?: string | SubscriptionPlansGetResponse_data_plan_tierTagIdMember1 | null;
|
|
681
|
+
/**
|
|
682
|
+
* The trialPeriodDays property
|
|
683
|
+
*/
|
|
684
|
+
trialPeriodDays?: number | SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1 | null;
|
|
685
|
+
/**
|
|
686
|
+
* The updatedAt property
|
|
687
|
+
*/
|
|
688
|
+
updatedAt?: string | null;
|
|
689
|
+
}
|
|
690
|
+
export type SubscriptionPlansGetResponse_data_plan_archivedAt = string | SubscriptionPlansGetResponse_data_plan_archivedAtMember1;
|
|
691
|
+
export interface SubscriptionPlansGetResponse_data_plan_archivedAtMember1 extends AdditionalDataHolder, Parsable {
|
|
692
|
+
}
|
|
693
|
+
export interface SubscriptionPlansGetResponse_data_plan_entitlements extends AdditionalDataHolder, Parsable {
|
|
694
|
+
/**
|
|
695
|
+
* The data property
|
|
696
|
+
*/
|
|
697
|
+
data?: SubscriptionPlansGetResponse_data_plan_entitlements_data[] | null;
|
|
698
|
+
/**
|
|
699
|
+
* The hasMore property
|
|
700
|
+
*/
|
|
701
|
+
hasMore?: boolean | null;
|
|
702
|
+
/**
|
|
703
|
+
* The path property
|
|
704
|
+
*/
|
|
705
|
+
path?: string | null;
|
|
706
|
+
/**
|
|
707
|
+
* The type property
|
|
708
|
+
*/
|
|
709
|
+
type?: string | null;
|
|
710
|
+
}
|
|
711
|
+
export interface SubscriptionPlansGetResponse_data_plan_entitlements_data extends Parsable {
|
|
712
|
+
/**
|
|
713
|
+
* The createdAt property
|
|
714
|
+
*/
|
|
715
|
+
createdAt?: string | null;
|
|
716
|
+
/**
|
|
717
|
+
* The id property
|
|
718
|
+
*/
|
|
719
|
+
id?: string | null;
|
|
720
|
+
/**
|
|
721
|
+
* The name property
|
|
722
|
+
*/
|
|
723
|
+
name?: string | null;
|
|
724
|
+
/**
|
|
725
|
+
* The organisation property
|
|
726
|
+
*/
|
|
727
|
+
organisation?: string | null;
|
|
728
|
+
/**
|
|
729
|
+
* The updatedAt property
|
|
730
|
+
*/
|
|
731
|
+
updatedAt?: string | null;
|
|
732
|
+
}
|
|
733
|
+
export type SubscriptionPlansGetResponse_data_plan_tierTagId = string | SubscriptionPlansGetResponse_data_plan_tierTagIdMember1;
|
|
734
|
+
export interface SubscriptionPlansGetResponse_data_plan_tierTagIdMember1 extends AdditionalDataHolder, Parsable {
|
|
735
|
+
}
|
|
736
|
+
export type SubscriptionPlansGetResponse_data_plan_trialPeriodDays = number | SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1;
|
|
737
|
+
export interface SubscriptionPlansGetResponse_data_plan_trialPeriodDaysMember1 extends AdditionalDataHolder, Parsable {
|
|
738
|
+
}
|
|
739
|
+
export interface SubscriptionPlansGetResponse_data_subscription extends Parsable {
|
|
740
|
+
/**
|
|
741
|
+
* The cancelAtPeriodEnd property
|
|
742
|
+
*/
|
|
743
|
+
cancelAtPeriodEnd?: boolean | null;
|
|
744
|
+
/**
|
|
745
|
+
* The cancelledAt property
|
|
746
|
+
*/
|
|
747
|
+
cancelledAt?: string | null;
|
|
748
|
+
/**
|
|
749
|
+
* The createdAt property
|
|
750
|
+
*/
|
|
751
|
+
createdAt?: string | null;
|
|
752
|
+
/**
|
|
753
|
+
* The currencyShortCode property
|
|
754
|
+
*/
|
|
755
|
+
currencyShortCode?: string | null;
|
|
756
|
+
/**
|
|
757
|
+
* The customerId property
|
|
758
|
+
*/
|
|
759
|
+
customerId?: string | null;
|
|
760
|
+
/**
|
|
761
|
+
* The id property
|
|
762
|
+
*/
|
|
763
|
+
id?: string | null;
|
|
764
|
+
/**
|
|
765
|
+
* The interval property
|
|
766
|
+
*/
|
|
767
|
+
interval?: UntypedNode | null;
|
|
768
|
+
/**
|
|
769
|
+
* The intervalCount property
|
|
770
|
+
*/
|
|
771
|
+
intervalCount?: number | null;
|
|
772
|
+
/**
|
|
773
|
+
* The isPerpetual property
|
|
774
|
+
*/
|
|
775
|
+
isPerpetual?: boolean | null;
|
|
776
|
+
/**
|
|
777
|
+
* The isSalableOnly property
|
|
778
|
+
*/
|
|
779
|
+
isSalableOnly?: boolean | null;
|
|
780
|
+
/**
|
|
781
|
+
* The organisation property
|
|
782
|
+
*/
|
|
783
|
+
organisation?: string | null;
|
|
784
|
+
/**
|
|
785
|
+
* The ownerId property
|
|
786
|
+
*/
|
|
787
|
+
ownerId?: string | null;
|
|
788
|
+
/**
|
|
789
|
+
* The startDate property
|
|
790
|
+
*/
|
|
791
|
+
startDate?: string | null;
|
|
792
|
+
/**
|
|
793
|
+
* The status property
|
|
794
|
+
*/
|
|
795
|
+
status?: string | null;
|
|
796
|
+
/**
|
|
797
|
+
* The stripeSubscriptionId property
|
|
798
|
+
*/
|
|
799
|
+
stripeSubscriptionId?: string | null;
|
|
800
|
+
/**
|
|
801
|
+
* The updatedAt property
|
|
802
|
+
*/
|
|
803
|
+
updatedAt?: string | null;
|
|
804
|
+
}
|
|
805
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems extends Parsable {
|
|
806
|
+
/**
|
|
807
|
+
* The data property
|
|
808
|
+
*/
|
|
809
|
+
data?: SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data[] | null;
|
|
810
|
+
/**
|
|
811
|
+
* The hasMore property
|
|
812
|
+
*/
|
|
813
|
+
hasMore?: boolean | null;
|
|
814
|
+
/**
|
|
815
|
+
* The path property
|
|
816
|
+
*/
|
|
817
|
+
path?: string | null;
|
|
818
|
+
/**
|
|
819
|
+
* The type property
|
|
820
|
+
*/
|
|
821
|
+
type?: string | null;
|
|
822
|
+
}
|
|
823
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data extends AdditionalDataHolder, Parsable {
|
|
824
|
+
/**
|
|
825
|
+
* The createdAt property
|
|
826
|
+
*/
|
|
827
|
+
createdAt?: string | null;
|
|
828
|
+
/**
|
|
829
|
+
* The expiryDate property
|
|
830
|
+
*/
|
|
831
|
+
expiryDate?: string | null;
|
|
832
|
+
/**
|
|
833
|
+
* The id property
|
|
834
|
+
*/
|
|
835
|
+
id?: string | null;
|
|
836
|
+
/**
|
|
837
|
+
* The lineItem property
|
|
838
|
+
*/
|
|
839
|
+
lineItem?: SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem | null;
|
|
840
|
+
/**
|
|
841
|
+
* The lineItemStripeProductId property
|
|
842
|
+
*/
|
|
843
|
+
lineItemStripeProductId?: string | null;
|
|
844
|
+
/**
|
|
845
|
+
* The organisation property
|
|
846
|
+
*/
|
|
847
|
+
organisation?: string | null;
|
|
848
|
+
/**
|
|
849
|
+
* The quantity property
|
|
850
|
+
*/
|
|
851
|
+
quantity?: number | null;
|
|
852
|
+
/**
|
|
853
|
+
* The stripePriceId property
|
|
854
|
+
*/
|
|
855
|
+
stripePriceId?: string | null;
|
|
856
|
+
/**
|
|
857
|
+
* The stripeSubscriptionItemId property
|
|
858
|
+
*/
|
|
859
|
+
stripeSubscriptionItemId?: string | null;
|
|
860
|
+
/**
|
|
861
|
+
* The subscriptionPlanId property
|
|
862
|
+
*/
|
|
863
|
+
subscriptionPlanId?: string | null;
|
|
864
|
+
/**
|
|
865
|
+
* The type property
|
|
866
|
+
*/
|
|
867
|
+
type?: UntypedNode | null;
|
|
868
|
+
/**
|
|
869
|
+
* The updatedAt property
|
|
870
|
+
*/
|
|
871
|
+
updatedAt?: string | null;
|
|
872
|
+
/**
|
|
873
|
+
* The usage property
|
|
874
|
+
*/
|
|
875
|
+
usage?: SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage | null;
|
|
876
|
+
/**
|
|
877
|
+
* The usageId property
|
|
878
|
+
*/
|
|
879
|
+
usageId?: string | null;
|
|
880
|
+
}
|
|
881
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem extends AdditionalDataHolder, Parsable {
|
|
882
|
+
/**
|
|
883
|
+
* The allowChangingQuantity property
|
|
884
|
+
*/
|
|
885
|
+
allowChangingQuantity?: boolean | null;
|
|
886
|
+
/**
|
|
887
|
+
* The archivedAt property
|
|
888
|
+
*/
|
|
889
|
+
archivedAt?: string | null;
|
|
890
|
+
/**
|
|
891
|
+
* The billingScheme property
|
|
892
|
+
*/
|
|
893
|
+
billingScheme?: UntypedNode | null;
|
|
894
|
+
/**
|
|
895
|
+
* The createdAt property
|
|
896
|
+
*/
|
|
897
|
+
createdAt?: string | null;
|
|
898
|
+
/**
|
|
899
|
+
* The id property
|
|
900
|
+
*/
|
|
901
|
+
id?: string | null;
|
|
902
|
+
/**
|
|
903
|
+
* The intervalType property
|
|
904
|
+
*/
|
|
905
|
+
intervalType?: UntypedNode | null;
|
|
906
|
+
/**
|
|
907
|
+
* The isActive property
|
|
908
|
+
*/
|
|
909
|
+
isActive?: boolean | null;
|
|
910
|
+
/**
|
|
911
|
+
* The maxQuantity property
|
|
912
|
+
*/
|
|
913
|
+
maxQuantity?: number | null;
|
|
914
|
+
/**
|
|
915
|
+
* The meter property
|
|
916
|
+
*/
|
|
917
|
+
meter?: SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter | null;
|
|
918
|
+
/**
|
|
919
|
+
* The meterId property
|
|
920
|
+
*/
|
|
921
|
+
meterId?: string | null;
|
|
922
|
+
/**
|
|
923
|
+
* The minQuantity property
|
|
924
|
+
*/
|
|
925
|
+
minQuantity?: number | null;
|
|
926
|
+
/**
|
|
927
|
+
* The name property
|
|
928
|
+
*/
|
|
929
|
+
name?: string | null;
|
|
930
|
+
/**
|
|
931
|
+
* The nickname property
|
|
932
|
+
*/
|
|
933
|
+
nickname?: string | null;
|
|
934
|
+
/**
|
|
935
|
+
* The organisation property
|
|
936
|
+
*/
|
|
937
|
+
organisation?: string | null;
|
|
938
|
+
/**
|
|
939
|
+
* The planId property
|
|
940
|
+
*/
|
|
941
|
+
planId?: string | null;
|
|
942
|
+
/**
|
|
943
|
+
* The priceType property
|
|
944
|
+
*/
|
|
945
|
+
priceType?: UntypedNode | null;
|
|
946
|
+
/**
|
|
947
|
+
* The slug property
|
|
948
|
+
*/
|
|
949
|
+
slug?: string | null;
|
|
950
|
+
/**
|
|
951
|
+
* The stripeProductId property
|
|
952
|
+
*/
|
|
953
|
+
stripeProductId?: string | null;
|
|
954
|
+
/**
|
|
955
|
+
* The tiersMode property
|
|
956
|
+
*/
|
|
957
|
+
tiersMode?: UntypedNode | null;
|
|
958
|
+
/**
|
|
959
|
+
* The unitLabel property
|
|
960
|
+
*/
|
|
961
|
+
unitLabel?: string | null;
|
|
962
|
+
/**
|
|
963
|
+
* The updatedAt property
|
|
964
|
+
*/
|
|
965
|
+
updatedAt?: string | null;
|
|
966
|
+
}
|
|
967
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter extends Parsable {
|
|
968
|
+
/**
|
|
969
|
+
* The createdAt property
|
|
970
|
+
*/
|
|
971
|
+
createdAt?: string | null;
|
|
972
|
+
/**
|
|
973
|
+
* The id property
|
|
974
|
+
*/
|
|
975
|
+
id?: string | null;
|
|
976
|
+
/**
|
|
977
|
+
* The name property
|
|
978
|
+
*/
|
|
979
|
+
name?: string | null;
|
|
980
|
+
/**
|
|
981
|
+
* The organisation property
|
|
982
|
+
*/
|
|
983
|
+
organisation?: string | null;
|
|
984
|
+
/**
|
|
985
|
+
* The slug property
|
|
986
|
+
*/
|
|
987
|
+
slug?: string | null;
|
|
988
|
+
/**
|
|
989
|
+
* The stripeMeterId property
|
|
990
|
+
*/
|
|
991
|
+
stripeMeterId?: string | null;
|
|
992
|
+
/**
|
|
993
|
+
* The updatedAt property
|
|
994
|
+
*/
|
|
995
|
+
updatedAt?: string | null;
|
|
996
|
+
}
|
|
997
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage extends AdditionalDataHolder, Parsable {
|
|
998
|
+
/**
|
|
999
|
+
* The createdAt property
|
|
1000
|
+
*/
|
|
1001
|
+
createdAt?: string | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* The id property
|
|
1004
|
+
*/
|
|
1005
|
+
id?: string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* The inactiveAt property
|
|
1008
|
+
*/
|
|
1009
|
+
inactiveAt?: string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1 | null;
|
|
1010
|
+
/**
|
|
1011
|
+
* The meterSlug property
|
|
1012
|
+
*/
|
|
1013
|
+
meterSlug?: string | null;
|
|
1014
|
+
/**
|
|
1015
|
+
* The organisation property
|
|
1016
|
+
*/
|
|
1017
|
+
organisation?: string | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* The ownerId property
|
|
1020
|
+
*/
|
|
1021
|
+
ownerId?: string | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* The records property
|
|
1024
|
+
*/
|
|
1025
|
+
records?: SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* The stripeSubscriptionItemId property
|
|
1028
|
+
*/
|
|
1029
|
+
stripeSubscriptionItemId?: string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1 | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* The updatedAt property
|
|
1032
|
+
*/
|
|
1033
|
+
updatedAt?: string | null;
|
|
1034
|
+
}
|
|
1035
|
+
export type SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAt = string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1;
|
|
1036
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_inactiveAtMember1 extends AdditionalDataHolder, Parsable {
|
|
1037
|
+
}
|
|
1038
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records extends AdditionalDataHolder, Parsable {
|
|
1039
|
+
/**
|
|
1040
|
+
* The data property
|
|
1041
|
+
*/
|
|
1042
|
+
data?: SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data[] | null;
|
|
1043
|
+
/**
|
|
1044
|
+
* The hasMore property
|
|
1045
|
+
*/
|
|
1046
|
+
hasMore?: boolean | null;
|
|
1047
|
+
/**
|
|
1048
|
+
* The path property
|
|
1049
|
+
*/
|
|
1050
|
+
path?: string | null;
|
|
1051
|
+
/**
|
|
1052
|
+
* The type property
|
|
1053
|
+
*/
|
|
1054
|
+
type?: string | null;
|
|
1055
|
+
}
|
|
1056
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data extends Parsable {
|
|
1057
|
+
/**
|
|
1058
|
+
* The count property
|
|
1059
|
+
*/
|
|
1060
|
+
count?: number | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* The createdAt property
|
|
1063
|
+
*/
|
|
1064
|
+
createdAt?: string | null;
|
|
1065
|
+
/**
|
|
1066
|
+
* The id property
|
|
1067
|
+
*/
|
|
1068
|
+
id?: string | null;
|
|
1069
|
+
/**
|
|
1070
|
+
* The organisation property
|
|
1071
|
+
*/
|
|
1072
|
+
organisation?: string | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* The ownerId property
|
|
1075
|
+
*/
|
|
1076
|
+
ownerId?: string | null;
|
|
1077
|
+
/**
|
|
1078
|
+
* The recordedAt property
|
|
1079
|
+
*/
|
|
1080
|
+
recordedAt?: string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1 | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* The status property
|
|
1083
|
+
*/
|
|
1084
|
+
status?: UntypedNode | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* The updatedAt property
|
|
1087
|
+
*/
|
|
1088
|
+
updatedAt?: string | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* The usageId property
|
|
1091
|
+
*/
|
|
1092
|
+
usageId?: string | null;
|
|
1093
|
+
}
|
|
1094
|
+
export type SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAt = string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1;
|
|
1095
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_records_data_recordedAtMember1 extends AdditionalDataHolder, Parsable {
|
|
1096
|
+
}
|
|
1097
|
+
export type SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemId = string | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1;
|
|
1098
|
+
export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage_stripeSubscriptionItemIdMember1 extends AdditionalDataHolder, Parsable {
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* Builds and executes requests for operations under /api/subscription-plans/{id}
|
|
1102
|
+
*/
|
|
1103
|
+
export interface SubscriptionPlansItemRequestBuilder extends BaseRequestBuilder<SubscriptionPlansItemRequestBuilder> {
|
|
1104
|
+
/**
|
|
1105
|
+
* The seats property
|
|
1106
|
+
*/
|
|
1107
|
+
get seats(): SeatsRequestBuilder;
|
|
1108
|
+
/**
|
|
1109
|
+
* Retrieve Subscription Plan
|
|
1110
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
1111
|
+
* @returns {Promise<SubscriptionPlansGetResponse>}
|
|
1112
|
+
* @throws {ErrorResponseBody} error when the service returns a 400 status code
|
|
1113
|
+
* @throws {ErrorResponseBody} error when the service returns a 401 status code
|
|
1114
|
+
* @throws {ErrorResponseBody} error when the service returns a 403 status code
|
|
1115
|
+
* @throws {ErrorResponseBody} error when the service returns a 404 status code
|
|
1116
|
+
* @throws {ErrorResponseBody} error when the service returns a 405 status code
|
|
1117
|
+
* @throws {ErrorResponseBody} error when the service returns a 500 status code
|
|
1118
|
+
*/
|
|
1119
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SubscriptionPlansGetResponse | undefined>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Retrieve Subscription Plan
|
|
1122
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
1123
|
+
* @returns {RequestInformation}
|
|
1124
|
+
*/
|
|
1125
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* Uri template for the request builder.
|
|
1129
|
+
*/
|
|
1130
|
+
export declare const SubscriptionPlansItemRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans/{id}";
|
|
1131
|
+
/**
|
|
1132
|
+
* Metadata for all the navigation properties in the request builder.
|
|
1133
|
+
*/
|
|
1134
|
+
export declare const SubscriptionPlansItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SubscriptionPlansItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Metadata for all the requests in the request builder.
|
|
1137
|
+
*/
|
|
1138
|
+
export declare const SubscriptionPlansItemRequestBuilderRequestsMetadata: RequestsMetadata;
|