@stigg/node-server-sdk 2.3.0-redlock-develop.0 → 2.4.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/dist/api/managementApi.d.ts +3 -2
- package/dist/api/managementApi.js +16 -1
- package/dist/client.d.ts +7 -1
- package/dist/client.js +17 -1
- package/dist/models.d.ts +12 -0
- package/dist/models.js +1 -1
- package/dist/services/cache/redisCacheService.js +2 -4
- package/dist/utils/ModelMapper.d.ts +3 -2
- package/dist/utils/ModelMapper.js +10 -1
- package/package.json +3 -4
- package/CHANGELOG.md +0 -56
- package/dist/api/couponsFragments.d.ts +0 -2
- package/dist/api/couponsFragments.js +0 -41
- package/dist/api/customerFragments.d.ts +0 -3
- package/dist/api/customerFragments.js +0 -127
- package/dist/api/entitlements/entitlementsGql.d.ts +0 -3
- package/dist/api/entitlements/entitlementsGql.js +0 -80
- package/dist/api/generated/types.d.ts +0 -3219
- package/dist/api/generated/types.js +0 -833
- package/dist/api/packagesFragments.d.ts +0 -1
- package/dist/api/packagesFragments.js +0 -85
- package/dist/api/productFragment.d.ts +0 -2
- package/dist/api/productFragment.js +0 -31
|
@@ -1,3219 +0,0 @@
|
|
|
1
|
-
export declare type Maybe<T> = T | null;
|
|
2
|
-
export declare type Exact<T extends {
|
|
3
|
-
[key: string]: unknown;
|
|
4
|
-
}> = {
|
|
5
|
-
[K in keyof T]: T[K];
|
|
6
|
-
};
|
|
7
|
-
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
8
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
9
|
-
};
|
|
10
|
-
export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
12
|
-
};
|
|
13
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
14
|
-
export declare type Scalars = {
|
|
15
|
-
ID: string;
|
|
16
|
-
String: string;
|
|
17
|
-
Boolean: boolean;
|
|
18
|
-
Int: number;
|
|
19
|
-
Float: number;
|
|
20
|
-
/** Cursor for paging through collections */
|
|
21
|
-
ConnectionCursor: any;
|
|
22
|
-
/** A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. */
|
|
23
|
-
DateTime: any;
|
|
24
|
-
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
25
|
-
JSON: any;
|
|
26
|
-
};
|
|
27
|
-
/** DenyReason of get access policy */
|
|
28
|
-
export declare enum AccessDeniedReason {
|
|
29
|
-
CustomerNotFound = "CustomerNotFound",
|
|
30
|
-
FeatureNotFound = "FeatureNotFound",
|
|
31
|
-
NoActiveSubscription = "NoActiveSubscription",
|
|
32
|
-
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription",
|
|
33
|
-
RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit",
|
|
34
|
-
Unknown = "Unknown"
|
|
35
|
-
}
|
|
36
|
-
export declare enum AccountStatus {
|
|
37
|
-
Active = "ACTIVE",
|
|
38
|
-
Blocked = "BLOCKED"
|
|
39
|
-
}
|
|
40
|
-
export declare type AddCompatibleAddonsToPlanInput = {
|
|
41
|
-
/** The id of the record. */
|
|
42
|
-
id: Scalars['String'];
|
|
43
|
-
/** The ids of the relations. */
|
|
44
|
-
relationIds: Array<Scalars['String']>;
|
|
45
|
-
};
|
|
46
|
-
export declare type AddonCreateInput = {
|
|
47
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
48
|
-
billingId?: Maybe<Scalars['String']>;
|
|
49
|
-
description?: Maybe<Scalars['String']>;
|
|
50
|
-
displayName: Scalars['String'];
|
|
51
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
52
|
-
hiddenFromWidgets?: Maybe<Array<WidgetType>>;
|
|
53
|
-
productId: Scalars['String'];
|
|
54
|
-
refId?: Maybe<Scalars['String']>;
|
|
55
|
-
status?: Maybe<PackageStatus>;
|
|
56
|
-
};
|
|
57
|
-
export declare type AddonFilter = {
|
|
58
|
-
and?: Maybe<Array<AddonFilter>>;
|
|
59
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
60
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
61
|
-
description?: Maybe<StringFieldComparison>;
|
|
62
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
63
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
64
|
-
id?: Maybe<StringFieldComparison>;
|
|
65
|
-
isLatest?: Maybe<BooleanFieldComparison>;
|
|
66
|
-
or?: Maybe<Array<AddonFilter>>;
|
|
67
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
68
|
-
productId?: Maybe<StringFieldComparison>;
|
|
69
|
-
refId?: Maybe<StringFieldComparison>;
|
|
70
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
71
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
72
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
73
|
-
};
|
|
74
|
-
export declare type AddonSort = {
|
|
75
|
-
direction: SortDirection;
|
|
76
|
-
field: AddonSortFields;
|
|
77
|
-
nulls?: Maybe<SortNulls>;
|
|
78
|
-
};
|
|
79
|
-
export declare enum AddonSortFields {
|
|
80
|
-
BillingId = "billingId",
|
|
81
|
-
CreatedAt = "createdAt",
|
|
82
|
-
Description = "description",
|
|
83
|
-
DisplayName = "displayName",
|
|
84
|
-
EnvironmentId = "environmentId",
|
|
85
|
-
Id = "id",
|
|
86
|
-
IsLatest = "isLatest",
|
|
87
|
-
PricingType = "pricingType",
|
|
88
|
-
ProductId = "productId",
|
|
89
|
-
RefId = "refId",
|
|
90
|
-
Status = "status",
|
|
91
|
-
UpdatedAt = "updatedAt",
|
|
92
|
-
VersionNumber = "versionNumber"
|
|
93
|
-
}
|
|
94
|
-
export declare type AddonUpdateInput = {
|
|
95
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
96
|
-
billingId?: Maybe<Scalars['String']>;
|
|
97
|
-
description?: Maybe<Scalars['String']>;
|
|
98
|
-
displayName: Scalars['String'];
|
|
99
|
-
hiddenFromWidgets?: Maybe<Array<WidgetType>>;
|
|
100
|
-
id: Scalars['String'];
|
|
101
|
-
status?: Maybe<PackageStatus>;
|
|
102
|
-
};
|
|
103
|
-
export declare type Address = {
|
|
104
|
-
addressLine1?: Maybe<Scalars['String']>;
|
|
105
|
-
addressLine2?: Maybe<Scalars['String']>;
|
|
106
|
-
city?: Maybe<Scalars['String']>;
|
|
107
|
-
country?: Maybe<Scalars['String']>;
|
|
108
|
-
phoneNumber?: Maybe<Scalars['String']>;
|
|
109
|
-
postalCode?: Maybe<Scalars['String']>;
|
|
110
|
-
state?: Maybe<Scalars['String']>;
|
|
111
|
-
};
|
|
112
|
-
/** Alignment */
|
|
113
|
-
export declare enum Alignment {
|
|
114
|
-
Center = "CENTER",
|
|
115
|
-
Left = "LEFT",
|
|
116
|
-
Right = "RIGHT"
|
|
117
|
-
}
|
|
118
|
-
export declare type ApiKeyFilter = {
|
|
119
|
-
and?: Maybe<Array<ApiKeyFilter>>;
|
|
120
|
-
id?: Maybe<StringFieldComparison>;
|
|
121
|
-
or?: Maybe<Array<ApiKeyFilter>>;
|
|
122
|
-
};
|
|
123
|
-
export declare type ApiKeySort = {
|
|
124
|
-
direction: SortDirection;
|
|
125
|
-
field: ApiKeySortFields;
|
|
126
|
-
nulls?: Maybe<SortNulls>;
|
|
127
|
-
};
|
|
128
|
-
export declare enum ApiKeySortFields {
|
|
129
|
-
Id = "id"
|
|
130
|
-
}
|
|
131
|
-
export declare enum ApiKeyType {
|
|
132
|
-
Client = "CLIENT",
|
|
133
|
-
Server = "SERVER"
|
|
134
|
-
}
|
|
135
|
-
export declare type ArchiveCouponInput = {
|
|
136
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
137
|
-
refId: Scalars['String'];
|
|
138
|
-
};
|
|
139
|
-
export declare type ArchivePlanInput = {
|
|
140
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
141
|
-
id: Scalars['String'];
|
|
142
|
-
};
|
|
143
|
-
export declare type AttachCustomerPaymentMethodInput = {
|
|
144
|
-
customerId?: Maybe<Scalars['String']>;
|
|
145
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
146
|
-
paymentMethodId: Scalars['String'];
|
|
147
|
-
refId?: Maybe<Scalars['String']>;
|
|
148
|
-
vendorIdentifier: VendorIdentifier;
|
|
149
|
-
};
|
|
150
|
-
export declare enum BillingAnchor {
|
|
151
|
-
StartOfTheMonth = "START_OF_THE_MONTH",
|
|
152
|
-
SubscriptionStart = "SUBSCRIPTION_START"
|
|
153
|
-
}
|
|
154
|
-
/** Billing model. */
|
|
155
|
-
export declare enum BillingModel {
|
|
156
|
-
FlatFee = "FLAT_FEE",
|
|
157
|
-
PerUnit = "PER_UNIT",
|
|
158
|
-
UsageBased = "USAGE_BASED"
|
|
159
|
-
}
|
|
160
|
-
export declare type BillingModelFilterComparison = {
|
|
161
|
-
eq?: Maybe<BillingModel>;
|
|
162
|
-
gt?: Maybe<BillingModel>;
|
|
163
|
-
gte?: Maybe<BillingModel>;
|
|
164
|
-
iLike?: Maybe<BillingModel>;
|
|
165
|
-
in?: Maybe<Array<BillingModel>>;
|
|
166
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
167
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
168
|
-
like?: Maybe<BillingModel>;
|
|
169
|
-
lt?: Maybe<BillingModel>;
|
|
170
|
-
lte?: Maybe<BillingModel>;
|
|
171
|
-
neq?: Maybe<BillingModel>;
|
|
172
|
-
notILike?: Maybe<BillingModel>;
|
|
173
|
-
notIn?: Maybe<Array<BillingModel>>;
|
|
174
|
-
notLike?: Maybe<BillingModel>;
|
|
175
|
-
};
|
|
176
|
-
/** Billing period. */
|
|
177
|
-
export declare enum BillingPeriod {
|
|
178
|
-
Annually = "ANNUALLY",
|
|
179
|
-
Monthly = "MONTHLY"
|
|
180
|
-
}
|
|
181
|
-
export declare type BillingPeriodFilterComparison = {
|
|
182
|
-
eq?: Maybe<BillingPeriod>;
|
|
183
|
-
gt?: Maybe<BillingPeriod>;
|
|
184
|
-
gte?: Maybe<BillingPeriod>;
|
|
185
|
-
iLike?: Maybe<BillingPeriod>;
|
|
186
|
-
in?: Maybe<Array<BillingPeriod>>;
|
|
187
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
188
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
189
|
-
like?: Maybe<BillingPeriod>;
|
|
190
|
-
lt?: Maybe<BillingPeriod>;
|
|
191
|
-
lte?: Maybe<BillingPeriod>;
|
|
192
|
-
neq?: Maybe<BillingPeriod>;
|
|
193
|
-
notILike?: Maybe<BillingPeriod>;
|
|
194
|
-
notIn?: Maybe<Array<BillingPeriod>>;
|
|
195
|
-
notLike?: Maybe<BillingPeriod>;
|
|
196
|
-
};
|
|
197
|
-
export declare type BooleanFieldComparison = {
|
|
198
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
199
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
200
|
-
};
|
|
201
|
-
export declare enum ChangeType {
|
|
202
|
-
Added = "ADDED",
|
|
203
|
-
Deleted = "DELETED",
|
|
204
|
-
Modified = "MODIFIED",
|
|
205
|
-
Reordered = "REORDERED"
|
|
206
|
-
}
|
|
207
|
-
export declare type CheckoutOptions = {
|
|
208
|
-
allowPromoCodes?: Maybe<Scalars['Boolean']>;
|
|
209
|
-
allowTaxIdCollection?: Maybe<Scalars['Boolean']>;
|
|
210
|
-
cancelUrl: Scalars['String'];
|
|
211
|
-
collectBillingAddress?: Maybe<Scalars['Boolean']>;
|
|
212
|
-
referenceId?: Maybe<Scalars['String']>;
|
|
213
|
-
successUrl: Scalars['String'];
|
|
214
|
-
};
|
|
215
|
-
export declare type CouponFilter = {
|
|
216
|
-
and?: Maybe<Array<CouponFilter>>;
|
|
217
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
218
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
219
|
-
customers?: Maybe<CouponFilterCustomerFilter>;
|
|
220
|
-
description?: Maybe<StringFieldComparison>;
|
|
221
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
222
|
-
id?: Maybe<StringFieldComparison>;
|
|
223
|
-
name?: Maybe<StringFieldComparison>;
|
|
224
|
-
or?: Maybe<Array<CouponFilter>>;
|
|
225
|
-
refId?: Maybe<StringFieldComparison>;
|
|
226
|
-
status?: Maybe<CouponStatusFilterComparison>;
|
|
227
|
-
type?: Maybe<CouponTypeFilterComparison>;
|
|
228
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
229
|
-
};
|
|
230
|
-
export declare type CouponFilterCustomerFilter = {
|
|
231
|
-
and?: Maybe<Array<CouponFilterCustomerFilter>>;
|
|
232
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
233
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
234
|
-
crmHubspotCompanyId?: Maybe<StringFieldComparison>;
|
|
235
|
-
crmHubspotCompanyUrl?: Maybe<StringFieldComparison>;
|
|
236
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
237
|
-
customerId?: Maybe<StringFieldComparison>;
|
|
238
|
-
email?: Maybe<StringFieldComparison>;
|
|
239
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
240
|
-
id?: Maybe<StringFieldComparison>;
|
|
241
|
-
name?: Maybe<StringFieldComparison>;
|
|
242
|
-
or?: Maybe<Array<CouponFilterCustomerFilter>>;
|
|
243
|
-
refId?: Maybe<StringFieldComparison>;
|
|
244
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
245
|
-
};
|
|
246
|
-
export declare type CouponSort = {
|
|
247
|
-
direction: SortDirection;
|
|
248
|
-
field: CouponSortFields;
|
|
249
|
-
nulls?: Maybe<SortNulls>;
|
|
250
|
-
};
|
|
251
|
-
export declare enum CouponSortFields {
|
|
252
|
-
BillingId = "billingId",
|
|
253
|
-
CreatedAt = "createdAt",
|
|
254
|
-
Description = "description",
|
|
255
|
-
EnvironmentId = "environmentId",
|
|
256
|
-
Id = "id",
|
|
257
|
-
Name = "name",
|
|
258
|
-
RefId = "refId",
|
|
259
|
-
Status = "status",
|
|
260
|
-
Type = "type",
|
|
261
|
-
UpdatedAt = "updatedAt"
|
|
262
|
-
}
|
|
263
|
-
/** The status of the coupon */
|
|
264
|
-
export declare enum CouponStatus {
|
|
265
|
-
Active = "ACTIVE",
|
|
266
|
-
Archived = "ARCHIVED"
|
|
267
|
-
}
|
|
268
|
-
export declare type CouponStatusFilterComparison = {
|
|
269
|
-
eq?: Maybe<CouponStatus>;
|
|
270
|
-
gt?: Maybe<CouponStatus>;
|
|
271
|
-
gte?: Maybe<CouponStatus>;
|
|
272
|
-
iLike?: Maybe<CouponStatus>;
|
|
273
|
-
in?: Maybe<Array<CouponStatus>>;
|
|
274
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
275
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
276
|
-
like?: Maybe<CouponStatus>;
|
|
277
|
-
lt?: Maybe<CouponStatus>;
|
|
278
|
-
lte?: Maybe<CouponStatus>;
|
|
279
|
-
neq?: Maybe<CouponStatus>;
|
|
280
|
-
notILike?: Maybe<CouponStatus>;
|
|
281
|
-
notIn?: Maybe<Array<CouponStatus>>;
|
|
282
|
-
notLike?: Maybe<CouponStatus>;
|
|
283
|
-
};
|
|
284
|
-
/** The type of the coupon */
|
|
285
|
-
export declare enum CouponType {
|
|
286
|
-
Fixed = "FIXED",
|
|
287
|
-
Percentage = "PERCENTAGE"
|
|
288
|
-
}
|
|
289
|
-
export declare type CouponTypeFilterComparison = {
|
|
290
|
-
eq?: Maybe<CouponType>;
|
|
291
|
-
gt?: Maybe<CouponType>;
|
|
292
|
-
gte?: Maybe<CouponType>;
|
|
293
|
-
iLike?: Maybe<CouponType>;
|
|
294
|
-
in?: Maybe<Array<CouponType>>;
|
|
295
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
296
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
297
|
-
like?: Maybe<CouponType>;
|
|
298
|
-
lt?: Maybe<CouponType>;
|
|
299
|
-
lte?: Maybe<CouponType>;
|
|
300
|
-
neq?: Maybe<CouponType>;
|
|
301
|
-
notILike?: Maybe<CouponType>;
|
|
302
|
-
notIn?: Maybe<Array<CouponType>>;
|
|
303
|
-
notLike?: Maybe<CouponType>;
|
|
304
|
-
};
|
|
305
|
-
export declare type CreateCouponInput = {
|
|
306
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
307
|
-
description?: Maybe<Scalars['String']>;
|
|
308
|
-
discountValue: Scalars['Float'];
|
|
309
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
310
|
-
name: Scalars['String'];
|
|
311
|
-
refId: Scalars['String'];
|
|
312
|
-
type: CouponType;
|
|
313
|
-
};
|
|
314
|
-
export declare type CreateEnvironment = {
|
|
315
|
-
createdAt?: Maybe<Scalars['DateTime']>;
|
|
316
|
-
description?: Maybe<Scalars['String']>;
|
|
317
|
-
displayName?: Maybe<Scalars['String']>;
|
|
318
|
-
hardenClientAccessEnabled?: Maybe<Scalars['Boolean']>;
|
|
319
|
-
id?: Maybe<Scalars['String']>;
|
|
320
|
-
provisionStatus?: Maybe<EnvironmentProvisionStatus>;
|
|
321
|
-
slug?: Maybe<Scalars['String']>;
|
|
322
|
-
};
|
|
323
|
-
export declare type CreateEnvironmentOptions = {
|
|
324
|
-
createDefaultProduct?: Maybe<Scalars['Boolean']>;
|
|
325
|
-
};
|
|
326
|
-
export declare type CreateExperimentInput = {
|
|
327
|
-
controlGroupName: Scalars['String'];
|
|
328
|
-
description?: Maybe<Scalars['String']>;
|
|
329
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
330
|
-
name: Scalars['String'];
|
|
331
|
-
productId: Scalars['String'];
|
|
332
|
-
productSettings?: Maybe<ProductSettingsInput>;
|
|
333
|
-
variantGroupName: Scalars['String'];
|
|
334
|
-
variantPercentage: Scalars['Float'];
|
|
335
|
-
};
|
|
336
|
-
export declare type CreateHook = {
|
|
337
|
-
createdAt?: Maybe<Scalars['DateTime']>;
|
|
338
|
-
description?: Maybe<Scalars['String']>;
|
|
339
|
-
endpoint?: Maybe<Scalars['String']>;
|
|
340
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
341
|
-
eventLogTypes?: Maybe<Array<EventLogType>>;
|
|
342
|
-
id?: Maybe<Scalars['String']>;
|
|
343
|
-
secretKey?: Maybe<Scalars['String']>;
|
|
344
|
-
status?: Maybe<HookStatus>;
|
|
345
|
-
};
|
|
346
|
-
export declare type CreateIntegrationInput = {
|
|
347
|
-
environmentId: Scalars['String'];
|
|
348
|
-
hubspotCredentials?: Maybe<HubspotCredentialsInput>;
|
|
349
|
-
stripeCredentials?: Maybe<StripeCredentialsInput>;
|
|
350
|
-
vendorIdentifier: VendorIdentifier;
|
|
351
|
-
zuoraCredentials?: Maybe<ZuoraCredentialsInput>;
|
|
352
|
-
};
|
|
353
|
-
export declare type CreateManyPackageEntitlementsInput = {
|
|
354
|
-
/** Array of records to create */
|
|
355
|
-
packageEntitlements: Array<PackageEntitlementInput>;
|
|
356
|
-
};
|
|
357
|
-
export declare type CreateManyPromotionalEntitlementsInput = {
|
|
358
|
-
/** Array of records to create */
|
|
359
|
-
promotionalEntitlements: Array<PromotionalEntitlementInput>;
|
|
360
|
-
};
|
|
361
|
-
export declare type CreateOneEnvironmentInput = {
|
|
362
|
-
environment: CreateEnvironment;
|
|
363
|
-
options?: Maybe<CreateEnvironmentOptions>;
|
|
364
|
-
};
|
|
365
|
-
export declare type CreateOneFeatureInput = {
|
|
366
|
-
/** The record to create */
|
|
367
|
-
feature: FeatureInput;
|
|
368
|
-
};
|
|
369
|
-
export declare type CreateOneHookInput = {
|
|
370
|
-
/** The record to create */
|
|
371
|
-
hook: CreateHook;
|
|
372
|
-
};
|
|
373
|
-
export declare type CreateOneIntegrationInput = {
|
|
374
|
-
/** The record to create */
|
|
375
|
-
integration: CreateIntegrationInput;
|
|
376
|
-
};
|
|
377
|
-
export declare type CreateOneProductInput = {
|
|
378
|
-
/** The record to create */
|
|
379
|
-
product: ProductCreateInput;
|
|
380
|
-
};
|
|
381
|
-
/** Currency */
|
|
382
|
-
export declare enum Currency {
|
|
383
|
-
Aed = "AED",
|
|
384
|
-
All = "ALL",
|
|
385
|
-
Amd = "AMD",
|
|
386
|
-
Ang = "ANG",
|
|
387
|
-
Aud = "AUD",
|
|
388
|
-
Awg = "AWG",
|
|
389
|
-
Azn = "AZN",
|
|
390
|
-
Bam = "BAM",
|
|
391
|
-
Bbd = "BBD",
|
|
392
|
-
Bdt = "BDT",
|
|
393
|
-
Bgn = "BGN",
|
|
394
|
-
Bif = "BIF",
|
|
395
|
-
Bmd = "BMD",
|
|
396
|
-
Bnd = "BND",
|
|
397
|
-
Bsd = "BSD",
|
|
398
|
-
Bwp = "BWP",
|
|
399
|
-
Byn = "BYN",
|
|
400
|
-
Bzd = "BZD",
|
|
401
|
-
Cad = "CAD",
|
|
402
|
-
Cdf = "CDF",
|
|
403
|
-
Chf = "CHF",
|
|
404
|
-
Clp = "CLP",
|
|
405
|
-
Cny = "CNY",
|
|
406
|
-
Czk = "CZK",
|
|
407
|
-
Djf = "DJF",
|
|
408
|
-
Dkk = "DKK",
|
|
409
|
-
Dop = "DOP",
|
|
410
|
-
Dzd = "DZD",
|
|
411
|
-
Egp = "EGP",
|
|
412
|
-
Etb = "ETB",
|
|
413
|
-
Eur = "EUR",
|
|
414
|
-
Fjd = "FJD",
|
|
415
|
-
Gbp = "GBP",
|
|
416
|
-
Gel = "GEL",
|
|
417
|
-
Gip = "GIP",
|
|
418
|
-
Gmd = "GMD",
|
|
419
|
-
Gnf = "GNF",
|
|
420
|
-
Gyd = "GYD",
|
|
421
|
-
Hkd = "HKD",
|
|
422
|
-
Hrk = "HRK",
|
|
423
|
-
Htg = "HTG",
|
|
424
|
-
Idr = "IDR",
|
|
425
|
-
Ils = "ILS",
|
|
426
|
-
Inr = "INR",
|
|
427
|
-
Isk = "ISK",
|
|
428
|
-
Jmd = "JMD",
|
|
429
|
-
Jpy = "JPY",
|
|
430
|
-
Kes = "KES",
|
|
431
|
-
Kgs = "KGS",
|
|
432
|
-
Khr = "KHR",
|
|
433
|
-
Kmf = "KMF",
|
|
434
|
-
Krw = "KRW",
|
|
435
|
-
Kyd = "KYD",
|
|
436
|
-
Kzt = "KZT",
|
|
437
|
-
Lbp = "LBP",
|
|
438
|
-
Lkr = "LKR",
|
|
439
|
-
Lrd = "LRD",
|
|
440
|
-
Lsl = "LSL",
|
|
441
|
-
Mad = "MAD",
|
|
442
|
-
Mdl = "MDL",
|
|
443
|
-
Mga = "MGA",
|
|
444
|
-
Mkd = "MKD",
|
|
445
|
-
Mmk = "MMK",
|
|
446
|
-
Mnt = "MNT",
|
|
447
|
-
Mop = "MOP",
|
|
448
|
-
Mro = "MRO",
|
|
449
|
-
Mvr = "MVR",
|
|
450
|
-
Mwk = "MWK",
|
|
451
|
-
Mxn = "MXN",
|
|
452
|
-
Myr = "MYR",
|
|
453
|
-
Mzn = "MZN",
|
|
454
|
-
Nad = "NAD",
|
|
455
|
-
Ngn = "NGN",
|
|
456
|
-
Nok = "NOK",
|
|
457
|
-
Npr = "NPR",
|
|
458
|
-
Nzd = "NZD",
|
|
459
|
-
Pgk = "PGK",
|
|
460
|
-
Php = "PHP",
|
|
461
|
-
Pkr = "PKR",
|
|
462
|
-
Pln = "PLN",
|
|
463
|
-
Pyg = "PYG",
|
|
464
|
-
Qar = "QAR",
|
|
465
|
-
Ron = "RON",
|
|
466
|
-
Rsd = "RSD",
|
|
467
|
-
Rub = "RUB",
|
|
468
|
-
Rwf = "RWF",
|
|
469
|
-
Sar = "SAR",
|
|
470
|
-
Sbd = "SBD",
|
|
471
|
-
Scr = "SCR",
|
|
472
|
-
Sek = "SEK",
|
|
473
|
-
Sgd = "SGD",
|
|
474
|
-
Sle = "SLE",
|
|
475
|
-
Sll = "SLL",
|
|
476
|
-
Sos = "SOS",
|
|
477
|
-
Szl = "SZL",
|
|
478
|
-
Thb = "THB",
|
|
479
|
-
Tjs = "TJS",
|
|
480
|
-
Top = "TOP",
|
|
481
|
-
Try = "TRY",
|
|
482
|
-
Ttd = "TTD",
|
|
483
|
-
Tzs = "TZS",
|
|
484
|
-
Uah = "UAH",
|
|
485
|
-
Ugx = "UGX",
|
|
486
|
-
Usd = "USD",
|
|
487
|
-
Uzs = "UZS",
|
|
488
|
-
Vnd = "VND",
|
|
489
|
-
Vuv = "VUV",
|
|
490
|
-
Wst = "WST",
|
|
491
|
-
Xaf = "XAF",
|
|
492
|
-
Xcd = "XCD",
|
|
493
|
-
Xof = "XOF",
|
|
494
|
-
Xpf = "XPF",
|
|
495
|
-
Yer = "YER",
|
|
496
|
-
Zar = "ZAR",
|
|
497
|
-
Zmw = "ZMW"
|
|
498
|
-
}
|
|
499
|
-
export declare type CursorPaging = {
|
|
500
|
-
/** Paginate after opaque cursor */
|
|
501
|
-
after?: Maybe<Scalars['ConnectionCursor']>;
|
|
502
|
-
/** Paginate before opaque cursor */
|
|
503
|
-
before?: Maybe<Scalars['ConnectionCursor']>;
|
|
504
|
-
/** Paginate first */
|
|
505
|
-
first?: Maybe<Scalars['Int']>;
|
|
506
|
-
/** Paginate last */
|
|
507
|
-
last?: Maybe<Scalars['Int']>;
|
|
508
|
-
};
|
|
509
|
-
export declare type CustomerBillingInfo = {
|
|
510
|
-
billingAddress?: Maybe<Address>;
|
|
511
|
-
currency?: Maybe<Currency>;
|
|
512
|
-
invoiceCustomFields?: Maybe<Scalars['JSON']>;
|
|
513
|
-
language?: Maybe<Scalars['String']>;
|
|
514
|
-
paymentMethodId?: Maybe<Scalars['String']>;
|
|
515
|
-
shippingAddress?: Maybe<Address>;
|
|
516
|
-
taxIds?: Maybe<Array<TaxExempt>>;
|
|
517
|
-
timezone?: Maybe<Scalars['String']>;
|
|
518
|
-
};
|
|
519
|
-
export declare type CustomerFilter = {
|
|
520
|
-
and?: Maybe<Array<CustomerFilter>>;
|
|
521
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
522
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
523
|
-
crmHubspotCompanyId?: Maybe<StringFieldComparison>;
|
|
524
|
-
crmHubspotCompanyUrl?: Maybe<StringFieldComparison>;
|
|
525
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
526
|
-
customerId?: Maybe<StringFieldComparison>;
|
|
527
|
-
email?: Maybe<StringFieldComparison>;
|
|
528
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
529
|
-
id?: Maybe<StringFieldComparison>;
|
|
530
|
-
name?: Maybe<StringFieldComparison>;
|
|
531
|
-
or?: Maybe<Array<CustomerFilter>>;
|
|
532
|
-
promotionalEntitlements?: Maybe<CustomerFilterPromotionalEntitlementFilter>;
|
|
533
|
-
refId?: Maybe<StringFieldComparison>;
|
|
534
|
-
subscriptions?: Maybe<CustomerFilterCustomerSubscriptionFilter>;
|
|
535
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
536
|
-
};
|
|
537
|
-
export declare type CustomerFilterCustomerSubscriptionFilter = {
|
|
538
|
-
and?: Maybe<Array<CustomerFilterCustomerSubscriptionFilter>>;
|
|
539
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
540
|
-
cancelReason?: Maybe<SubscriptionCancelReasonFilterComparison>;
|
|
541
|
-
cancellationDate?: Maybe<DateFieldComparison>;
|
|
542
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
543
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
544
|
-
crmLinkUrl?: Maybe<StringFieldComparison>;
|
|
545
|
-
effectiveEndDate?: Maybe<DateFieldComparison>;
|
|
546
|
-
endDate?: Maybe<DateFieldComparison>;
|
|
547
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
548
|
-
id?: Maybe<StringFieldComparison>;
|
|
549
|
-
oldBillingId?: Maybe<StringFieldComparison>;
|
|
550
|
-
or?: Maybe<Array<CustomerFilterCustomerSubscriptionFilter>>;
|
|
551
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
552
|
-
refId?: Maybe<StringFieldComparison>;
|
|
553
|
-
startDate?: Maybe<DateFieldComparison>;
|
|
554
|
-
status?: Maybe<SubscriptionStatusFilterComparison>;
|
|
555
|
-
subscriptionId?: Maybe<StringFieldComparison>;
|
|
556
|
-
trialEndDate?: Maybe<DateFieldComparison>;
|
|
557
|
-
};
|
|
558
|
-
export declare type CustomerFilterPromotionalEntitlementFilter = {
|
|
559
|
-
and?: Maybe<Array<CustomerFilterPromotionalEntitlementFilter>>;
|
|
560
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
561
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
562
|
-
id?: Maybe<StringFieldComparison>;
|
|
563
|
-
or?: Maybe<Array<CustomerFilterPromotionalEntitlementFilter>>;
|
|
564
|
-
status?: Maybe<PromotionalEntitlementStatusFilterComparison>;
|
|
565
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
566
|
-
};
|
|
567
|
-
export declare type CustomerInput = {
|
|
568
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
569
|
-
billingId?: Maybe<Scalars['String']>;
|
|
570
|
-
billingInformation?: Maybe<CustomerBillingInfo>;
|
|
571
|
-
couponRefId?: Maybe<Scalars['String']>;
|
|
572
|
-
createdAt?: Maybe<Scalars['DateTime']>;
|
|
573
|
-
crmId?: Maybe<Scalars['String']>;
|
|
574
|
-
customerId?: Maybe<Scalars['String']>;
|
|
575
|
-
email?: Maybe<Scalars['String']>;
|
|
576
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
577
|
-
name?: Maybe<Scalars['String']>;
|
|
578
|
-
refId?: Maybe<Scalars['String']>;
|
|
579
|
-
shouldSyncFree?: Maybe<Scalars['Boolean']>;
|
|
580
|
-
};
|
|
581
|
-
export declare type CustomerPortalColorsPaletteInput = {
|
|
582
|
-
backgroundColor?: Maybe<Scalars['String']>;
|
|
583
|
-
borderColor?: Maybe<Scalars['String']>;
|
|
584
|
-
currentPlanBackground?: Maybe<Scalars['String']>;
|
|
585
|
-
iconsColor?: Maybe<Scalars['String']>;
|
|
586
|
-
paywallBackgroundColor?: Maybe<Scalars['String']>;
|
|
587
|
-
primary?: Maybe<Scalars['String']>;
|
|
588
|
-
textColor?: Maybe<Scalars['String']>;
|
|
589
|
-
};
|
|
590
|
-
export declare type CustomerPortalConfigurationInput = {
|
|
591
|
-
palette?: Maybe<CustomerPortalColorsPaletteInput>;
|
|
592
|
-
typography?: Maybe<TypographyConfigurationInput>;
|
|
593
|
-
};
|
|
594
|
-
export declare type CustomerPortalInput = {
|
|
595
|
-
customerId: Scalars['String'];
|
|
596
|
-
};
|
|
597
|
-
export declare type CustomerSort = {
|
|
598
|
-
direction: SortDirection;
|
|
599
|
-
field: CustomerSortFields;
|
|
600
|
-
nulls?: Maybe<SortNulls>;
|
|
601
|
-
};
|
|
602
|
-
export declare enum CustomerSortFields {
|
|
603
|
-
BillingId = "billingId",
|
|
604
|
-
CreatedAt = "createdAt",
|
|
605
|
-
CrmHubspotCompanyId = "crmHubspotCompanyId",
|
|
606
|
-
CrmHubspotCompanyUrl = "crmHubspotCompanyUrl",
|
|
607
|
-
CrmId = "crmId",
|
|
608
|
-
CustomerId = "customerId",
|
|
609
|
-
Email = "email",
|
|
610
|
-
EnvironmentId = "environmentId",
|
|
611
|
-
Id = "id",
|
|
612
|
-
Name = "name",
|
|
613
|
-
RefId = "refId",
|
|
614
|
-
UpdatedAt = "updatedAt"
|
|
615
|
-
}
|
|
616
|
-
export declare type CustomerSubscriptionFilter = {
|
|
617
|
-
addons?: Maybe<CustomerSubscriptionFilterSubscriptionAddonFilter>;
|
|
618
|
-
and?: Maybe<Array<CustomerSubscriptionFilter>>;
|
|
619
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
620
|
-
cancelReason?: Maybe<SubscriptionCancelReasonFilterComparison>;
|
|
621
|
-
cancellationDate?: Maybe<DateFieldComparison>;
|
|
622
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
623
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
624
|
-
crmLinkUrl?: Maybe<StringFieldComparison>;
|
|
625
|
-
customer?: Maybe<CustomerSubscriptionFilterCustomerFilter>;
|
|
626
|
-
effectiveEndDate?: Maybe<DateFieldComparison>;
|
|
627
|
-
endDate?: Maybe<DateFieldComparison>;
|
|
628
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
629
|
-
id?: Maybe<StringFieldComparison>;
|
|
630
|
-
oldBillingId?: Maybe<StringFieldComparison>;
|
|
631
|
-
or?: Maybe<Array<CustomerSubscriptionFilter>>;
|
|
632
|
-
prices?: Maybe<CustomerSubscriptionFilterSubscriptionPriceFilter>;
|
|
633
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
634
|
-
refId?: Maybe<StringFieldComparison>;
|
|
635
|
-
startDate?: Maybe<DateFieldComparison>;
|
|
636
|
-
status?: Maybe<SubscriptionStatusFilterComparison>;
|
|
637
|
-
subscriptionEntitlements?: Maybe<CustomerSubscriptionFilterSubscriptionEntitlementFilter>;
|
|
638
|
-
subscriptionId?: Maybe<StringFieldComparison>;
|
|
639
|
-
trialEndDate?: Maybe<DateFieldComparison>;
|
|
640
|
-
};
|
|
641
|
-
export declare type CustomerSubscriptionFilterCustomerFilter = {
|
|
642
|
-
and?: Maybe<Array<CustomerSubscriptionFilterCustomerFilter>>;
|
|
643
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
644
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
645
|
-
crmHubspotCompanyId?: Maybe<StringFieldComparison>;
|
|
646
|
-
crmHubspotCompanyUrl?: Maybe<StringFieldComparison>;
|
|
647
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
648
|
-
customerId?: Maybe<StringFieldComparison>;
|
|
649
|
-
email?: Maybe<StringFieldComparison>;
|
|
650
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
651
|
-
id?: Maybe<StringFieldComparison>;
|
|
652
|
-
name?: Maybe<StringFieldComparison>;
|
|
653
|
-
or?: Maybe<Array<CustomerSubscriptionFilterCustomerFilter>>;
|
|
654
|
-
refId?: Maybe<StringFieldComparison>;
|
|
655
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
656
|
-
};
|
|
657
|
-
export declare type CustomerSubscriptionFilterSubscriptionAddonFilter = {
|
|
658
|
-
and?: Maybe<Array<CustomerSubscriptionFilterSubscriptionAddonFilter>>;
|
|
659
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
660
|
-
id?: Maybe<StringFieldComparison>;
|
|
661
|
-
or?: Maybe<Array<CustomerSubscriptionFilterSubscriptionAddonFilter>>;
|
|
662
|
-
quantity?: Maybe<NumberFieldComparison>;
|
|
663
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
664
|
-
};
|
|
665
|
-
export declare type CustomerSubscriptionFilterSubscriptionEntitlementFilter = {
|
|
666
|
-
and?: Maybe<Array<CustomerSubscriptionFilterSubscriptionEntitlementFilter>>;
|
|
667
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
668
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
669
|
-
id?: Maybe<StringFieldComparison>;
|
|
670
|
-
or?: Maybe<Array<CustomerSubscriptionFilterSubscriptionEntitlementFilter>>;
|
|
671
|
-
subscriptionId?: Maybe<StringFieldComparison>;
|
|
672
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
673
|
-
};
|
|
674
|
-
export declare type CustomerSubscriptionFilterSubscriptionPriceFilter = {
|
|
675
|
-
and?: Maybe<Array<CustomerSubscriptionFilterSubscriptionPriceFilter>>;
|
|
676
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
677
|
-
id?: Maybe<StringFieldComparison>;
|
|
678
|
-
or?: Maybe<Array<CustomerSubscriptionFilterSubscriptionPriceFilter>>;
|
|
679
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
680
|
-
usageLimit?: Maybe<NumberFieldComparison>;
|
|
681
|
-
};
|
|
682
|
-
export declare type CustomerSubscriptionSort = {
|
|
683
|
-
direction: SortDirection;
|
|
684
|
-
field: CustomerSubscriptionSortFields;
|
|
685
|
-
nulls?: Maybe<SortNulls>;
|
|
686
|
-
};
|
|
687
|
-
export declare enum CustomerSubscriptionSortFields {
|
|
688
|
-
BillingId = "billingId",
|
|
689
|
-
CancelReason = "cancelReason",
|
|
690
|
-
CancellationDate = "cancellationDate",
|
|
691
|
-
CreatedAt = "createdAt",
|
|
692
|
-
CrmId = "crmId",
|
|
693
|
-
CrmLinkUrl = "crmLinkUrl",
|
|
694
|
-
EffectiveEndDate = "effectiveEndDate",
|
|
695
|
-
EndDate = "endDate",
|
|
696
|
-
EnvironmentId = "environmentId",
|
|
697
|
-
Id = "id",
|
|
698
|
-
OldBillingId = "oldBillingId",
|
|
699
|
-
PricingType = "pricingType",
|
|
700
|
-
RefId = "refId",
|
|
701
|
-
StartDate = "startDate",
|
|
702
|
-
Status = "status",
|
|
703
|
-
SubscriptionId = "subscriptionId",
|
|
704
|
-
TrialEndDate = "trialEndDate"
|
|
705
|
-
}
|
|
706
|
-
export declare type DateFieldComparison = {
|
|
707
|
-
between?: Maybe<DateFieldComparisonBetween>;
|
|
708
|
-
eq?: Maybe<Scalars['DateTime']>;
|
|
709
|
-
gt?: Maybe<Scalars['DateTime']>;
|
|
710
|
-
gte?: Maybe<Scalars['DateTime']>;
|
|
711
|
-
in?: Maybe<Array<Scalars['DateTime']>>;
|
|
712
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
713
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
714
|
-
lt?: Maybe<Scalars['DateTime']>;
|
|
715
|
-
lte?: Maybe<Scalars['DateTime']>;
|
|
716
|
-
neq?: Maybe<Scalars['DateTime']>;
|
|
717
|
-
notBetween?: Maybe<DateFieldComparisonBetween>;
|
|
718
|
-
notIn?: Maybe<Array<Scalars['DateTime']>>;
|
|
719
|
-
};
|
|
720
|
-
export declare type DateFieldComparisonBetween = {
|
|
721
|
-
lower: Scalars['DateTime'];
|
|
722
|
-
upper: Scalars['DateTime'];
|
|
723
|
-
};
|
|
724
|
-
export declare type DefaultTrialConfigInputDto = {
|
|
725
|
-
duration?: Maybe<Scalars['Float']>;
|
|
726
|
-
units?: Maybe<TrialPeriodUnits>;
|
|
727
|
-
};
|
|
728
|
-
export declare type DeleteCustomerInput = {
|
|
729
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
730
|
-
id: Scalars['String'];
|
|
731
|
-
};
|
|
732
|
-
export declare type DeleteFeatureInput = {
|
|
733
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
734
|
-
id: Scalars['String'];
|
|
735
|
-
};
|
|
736
|
-
export declare type DeleteOneAddonInput = {
|
|
737
|
-
/** The id of the record to delete. */
|
|
738
|
-
id: Scalars['String'];
|
|
739
|
-
};
|
|
740
|
-
export declare type DeleteOneEnvironmentInput = {
|
|
741
|
-
/** The id of the record to delete. */
|
|
742
|
-
id: Scalars['String'];
|
|
743
|
-
};
|
|
744
|
-
export declare type DeleteOneHookInput = {
|
|
745
|
-
/** The id of the record to delete. */
|
|
746
|
-
id: Scalars['String'];
|
|
747
|
-
};
|
|
748
|
-
export declare type DeleteOneIntegrationInput = {
|
|
749
|
-
/** The id of the record to delete. */
|
|
750
|
-
id: Scalars['String'];
|
|
751
|
-
};
|
|
752
|
-
export declare type DeleteOnePackageEntitlementInput = {
|
|
753
|
-
/** The id of the record to delete. */
|
|
754
|
-
id: Scalars['String'];
|
|
755
|
-
};
|
|
756
|
-
export declare type DeleteOnePriceInput = {
|
|
757
|
-
/** The id of the record to delete. */
|
|
758
|
-
id: Scalars['String'];
|
|
759
|
-
};
|
|
760
|
-
export declare type DeleteOneProductInput = {
|
|
761
|
-
/** The id of the record to delete. */
|
|
762
|
-
id: Scalars['String'];
|
|
763
|
-
};
|
|
764
|
-
export declare type DeleteOnePromotionalEntitlementInput = {
|
|
765
|
-
/** The id of the record to delete. */
|
|
766
|
-
id: Scalars['String'];
|
|
767
|
-
};
|
|
768
|
-
export declare type DiscardPackageDraftInput = {
|
|
769
|
-
environmentId: Scalars['String'];
|
|
770
|
-
refId: Scalars['String'];
|
|
771
|
-
};
|
|
772
|
-
/** The type of the discount duration */
|
|
773
|
-
export declare enum DiscountDurationType {
|
|
774
|
-
Forever = "FOREVER",
|
|
775
|
-
Once = "ONCE",
|
|
776
|
-
Repeating = "REPEATING"
|
|
777
|
-
}
|
|
778
|
-
/** The type of the discount */
|
|
779
|
-
export declare enum DiscountType {
|
|
780
|
-
Fixed = "FIXED",
|
|
781
|
-
Percentage = "PERCENTAGE"
|
|
782
|
-
}
|
|
783
|
-
export declare type EntitlementCheckRequested = {
|
|
784
|
-
customerId: Scalars['String'];
|
|
785
|
-
entitlementCheckResult: EntitlementCheckResult;
|
|
786
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
787
|
-
featureId: Scalars['String'];
|
|
788
|
-
requestedUsage?: Maybe<Scalars['Float']>;
|
|
789
|
-
};
|
|
790
|
-
export declare type EntitlementCheckResult = {
|
|
791
|
-
accessDeniedReason?: Maybe<AccessDeniedReason>;
|
|
792
|
-
currentUsage?: Maybe<Scalars['Float']>;
|
|
793
|
-
hasAccess: Scalars['Boolean'];
|
|
794
|
-
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
795
|
-
monthlyResetPeriodConfiguration?: Maybe<MonthlyResetPeriodConfigInput>;
|
|
796
|
-
nextResetDate?: Maybe<Scalars['DateTime']>;
|
|
797
|
-
requestedUsage?: Maybe<Scalars['Float']>;
|
|
798
|
-
resetPeriod?: Maybe<EntitlementResetPeriod>;
|
|
799
|
-
usageLimit?: Maybe<Scalars['Float']>;
|
|
800
|
-
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
801
|
-
};
|
|
802
|
-
export declare type EntitlementOptions = {
|
|
803
|
-
requestedUsage?: Maybe<Scalars['Float']>;
|
|
804
|
-
shouldTrack?: Maybe<Scalars['Boolean']>;
|
|
805
|
-
};
|
|
806
|
-
/** Entitlement reset period. */
|
|
807
|
-
export declare enum EntitlementResetPeriod {
|
|
808
|
-
Day = "DAY",
|
|
809
|
-
Hour = "HOUR",
|
|
810
|
-
Month = "MONTH",
|
|
811
|
-
Week = "WEEK"
|
|
812
|
-
}
|
|
813
|
-
export declare enum EntitySelectionMode {
|
|
814
|
-
BlackList = "BLACK_LIST",
|
|
815
|
-
WhiteList = "WHITE_LIST"
|
|
816
|
-
}
|
|
817
|
-
export declare type EnvironmentFilter = {
|
|
818
|
-
and?: Maybe<Array<EnvironmentFilter>>;
|
|
819
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
820
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
821
|
-
id?: Maybe<StringFieldComparison>;
|
|
822
|
-
or?: Maybe<Array<EnvironmentFilter>>;
|
|
823
|
-
slug?: Maybe<StringFieldComparison>;
|
|
824
|
-
};
|
|
825
|
-
/** EnvironmentProvisionStatus. */
|
|
826
|
-
export declare enum EnvironmentProvisionStatus {
|
|
827
|
-
Done = "DONE",
|
|
828
|
-
Failed = "FAILED",
|
|
829
|
-
InProgress = "IN_PROGRESS",
|
|
830
|
-
NotProvisioned = "NOT_PROVISIONED"
|
|
831
|
-
}
|
|
832
|
-
export declare type EnvironmentSort = {
|
|
833
|
-
direction: SortDirection;
|
|
834
|
-
field: EnvironmentSortFields;
|
|
835
|
-
nulls?: Maybe<SortNulls>;
|
|
836
|
-
};
|
|
837
|
-
export declare enum EnvironmentSortFields {
|
|
838
|
-
CreatedAt = "createdAt",
|
|
839
|
-
DisplayName = "displayName",
|
|
840
|
-
Id = "id",
|
|
841
|
-
Slug = "slug"
|
|
842
|
-
}
|
|
843
|
-
/** error codes */
|
|
844
|
-
export declare enum ErrorCode {
|
|
845
|
-
AccountNotFoundError = "AccountNotFoundError",
|
|
846
|
-
AddonHasToHavePriceError = "AddonHasToHavePriceError",
|
|
847
|
-
AddonNotFound = "AddonNotFound",
|
|
848
|
-
ArchivedCouponCantBeApplied = "ArchivedCouponCantBeApplied",
|
|
849
|
-
AuthCustomerMismatch = "AuthCustomerMismatch",
|
|
850
|
-
BadUserInput = "BadUserInput",
|
|
851
|
-
BillingPeriodMissingError = "BillingPeriodMissingError",
|
|
852
|
-
CannotDeleteCustomerError = "CannotDeleteCustomerError",
|
|
853
|
-
CannotDeleteFeatureError = "CannotDeleteFeatureError",
|
|
854
|
-
CannotEditPackageInNonDraftMode = "CannotEditPackageInNonDraftMode",
|
|
855
|
-
CheckoutIsNotSupported = "CheckoutIsNotSupported",
|
|
856
|
-
CheckoutOptionsMissing = "CheckoutOptionsMissing",
|
|
857
|
-
CouponNotFound = "CouponNotFound",
|
|
858
|
-
CustomerAlreadyHaveCustomerCoupon = "CustomerAlreadyHaveCustomerCoupon",
|
|
859
|
-
CustomerAlreadyUsesCoupon = "CustomerAlreadyUsesCoupon",
|
|
860
|
-
CustomerHasNoPaymentMethod = "CustomerHasNoPaymentMethod",
|
|
861
|
-
CustomerNoBillingId = "CustomerNoBillingId",
|
|
862
|
-
CustomerNotFound = "CustomerNotFound",
|
|
863
|
-
DowngradeBillingPeriodNotSupportedError = "DowngradeBillingPeriodNotSupportedError",
|
|
864
|
-
DraftPlanCantBeArchived = "DraftPlanCantBeArchived",
|
|
865
|
-
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed",
|
|
866
|
-
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError",
|
|
867
|
-
EntitlementsMustBelongToSamePackage = "EntitlementsMustBelongToSamePackage",
|
|
868
|
-
EntityIdDifferentFromRefIdError = "EntityIdDifferentFromRefIdError",
|
|
869
|
-
EnvironmentMissing = "EnvironmentMissing",
|
|
870
|
-
ExperimentAlreadyRunning = "ExperimentAlreadyRunning",
|
|
871
|
-
ExperimentNotFoundError = "ExperimentNotFoundError",
|
|
872
|
-
ExperimentStatusError = "ExperimentStatusError",
|
|
873
|
-
FailedToCreateCheckoutSessionError = "FailedToCreateCheckoutSessionError",
|
|
874
|
-
FailedToImportCustomer = "FailedToImportCustomer",
|
|
875
|
-
FeatureNotFound = "FeatureNotFound",
|
|
876
|
-
IdentityForbidden = "IdentityForbidden",
|
|
877
|
-
ImportAlreadyInProgress = "ImportAlreadyInProgress",
|
|
878
|
-
InitStripePaymentMethodError = "InitStripePaymentMethodError",
|
|
879
|
-
IntegrationNotFound = "IntegrationNotFound",
|
|
880
|
-
IntegrityViolation = "IntegrityViolation",
|
|
881
|
-
InvalidAddressError = "InvalidAddressError",
|
|
882
|
-
InvalidArgumentError = "InvalidArgumentError",
|
|
883
|
-
InvalidCancellationDate = "InvalidCancellationDate",
|
|
884
|
-
InvalidEntitlementResetPeriod = "InvalidEntitlementResetPeriod",
|
|
885
|
-
InvalidMemberDelete = "InvalidMemberDelete",
|
|
886
|
-
InvalidQuantity = "InvalidQuantity",
|
|
887
|
-
InvalidSubscriptionStatus = "InvalidSubscriptionStatus",
|
|
888
|
-
InvalidUpdatePriceUnitAmountError = "InvalidUpdatePriceUnitAmountError",
|
|
889
|
-
InvalidUsageValueForIncrementalFeatureError = "InvalidUsageValueForIncrementalFeatureError",
|
|
890
|
-
MemberInvitationError = "MemberInvitationError",
|
|
891
|
-
MemberNotFound = "MemberNotFound",
|
|
892
|
-
MeteringNotAvailableForFeatureType = "MeteringNotAvailableForFeatureType",
|
|
893
|
-
MissingEntityIdError = "MissingEntityIdError",
|
|
894
|
-
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription",
|
|
895
|
-
NoProductsAvailable = "NoProductsAvailable",
|
|
896
|
-
OperationNotAllowedDuringInProgressExperiment = "OperationNotAllowedDuringInProgressExperiment",
|
|
897
|
-
PackageAlreadyPublished = "PackageAlreadyPublished",
|
|
898
|
-
PackagePricingTypeNotSet = "PackagePricingTypeNotSet",
|
|
899
|
-
PlanAlreadyExtended = "PlanAlreadyExtended",
|
|
900
|
-
PlanCannotBePublishWhenBasePlanIsDraft = "PlanCannotBePublishWhenBasePlanIsDraft",
|
|
901
|
-
PlanIsUsedAsDefaultStartPlan = "PlanIsUsedAsDefaultStartPlan",
|
|
902
|
-
PlanIsUsedAsDowngradePlan = "PlanIsUsedAsDowngradePlan",
|
|
903
|
-
PlanNotFound = "PlanNotFound",
|
|
904
|
-
PlanWithChildCantBeDeleted = "PlanWithChildCantBeDeleted",
|
|
905
|
-
PlansCircularDependencyError = "PlansCircularDependencyError",
|
|
906
|
-
PriceNotFound = "PriceNotFound",
|
|
907
|
-
PromotionCodeCustomerNotFirstPurchase = "PromotionCodeCustomerNotFirstPurchase",
|
|
908
|
-
PromotionCodeMaxRedemptionsReached = "PromotionCodeMaxRedemptionsReached",
|
|
909
|
-
PromotionCodeMinimumAmountNotReached = "PromotionCodeMinimumAmountNotReached",
|
|
910
|
-
PromotionCodeNotActive = "PromotionCodeNotActive",
|
|
911
|
-
PromotionCodeNotForCustomer = "PromotionCodeNotForCustomer",
|
|
912
|
-
PromotionCodeNotFound = "PromotionCodeNotFound",
|
|
913
|
-
RateLimitExceeded = "RateLimitExceeded",
|
|
914
|
-
ResyncAlreadyInProgress = "ResyncAlreadyInProgress",
|
|
915
|
-
SelectedBillingModelDoesntMatchImportedItemError = "SelectedBillingModelDoesntMatchImportedItemError",
|
|
916
|
-
StripeCustomerIsDeleted = "StripeCustomerIsDeleted",
|
|
917
|
-
SubscriptionAlreadyCanceledOrExpired = "SubscriptionAlreadyCanceledOrExpired",
|
|
918
|
-
SubscriptionMustHaveSinglePlanError = "SubscriptionMustHaveSinglePlanError",
|
|
919
|
-
SubscriptionNotFound = "SubscriptionNotFound",
|
|
920
|
-
TrialMinDateError = "TrialMinDateError",
|
|
921
|
-
TrialMustBeCancelledImmediately = "TrialMustBeCancelledImmediately",
|
|
922
|
-
UnPublishedPackage = "UnPublishedPackage",
|
|
923
|
-
Unauthenticated = "Unauthenticated",
|
|
924
|
-
UncompatibleSubscriptionAddon = "UncompatibleSubscriptionAddon",
|
|
925
|
-
UnexpectedError = "UnexpectedError",
|
|
926
|
-
UnsupportedFeatureType = "UnsupportedFeatureType",
|
|
927
|
-
UnsupportedSubscriptionScheduleType = "UnsupportedSubscriptionScheduleType",
|
|
928
|
-
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
929
|
-
}
|
|
930
|
-
export declare type EstimateSubscriptionInput = {
|
|
931
|
-
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
932
|
-
billingInformation?: Maybe<SubscriptionBillingInfo>;
|
|
933
|
-
billingPeriod?: Maybe<BillingPeriod>;
|
|
934
|
-
customerId: Scalars['String'];
|
|
935
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
936
|
-
planId: Scalars['String'];
|
|
937
|
-
priceUnitAmount?: Maybe<Scalars['Float']>;
|
|
938
|
-
promotionCode?: Maybe<Scalars['String']>;
|
|
939
|
-
startDate?: Maybe<Scalars['DateTime']>;
|
|
940
|
-
};
|
|
941
|
-
export declare type EstimateSubscriptionUpdateInput = {
|
|
942
|
-
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
943
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
944
|
-
promotionCode?: Maybe<Scalars['String']>;
|
|
945
|
-
subscriptionId: Scalars['String'];
|
|
946
|
-
unitQuantity?: Maybe<Scalars['Float']>;
|
|
947
|
-
};
|
|
948
|
-
/** EventLogType */
|
|
949
|
-
export declare enum EventLogType {
|
|
950
|
-
AddonCreated = "ADDON_CREATED",
|
|
951
|
-
AddonDeleted = "ADDON_DELETED",
|
|
952
|
-
AddonUpdated = "ADDON_UPDATED",
|
|
953
|
-
CouponArchived = "COUPON_ARCHIVED",
|
|
954
|
-
CouponCreated = "COUPON_CREATED",
|
|
955
|
-
CouponUpdated = "COUPON_UPDATED",
|
|
956
|
-
CreateSubscriptionFailed = "CREATE_SUBSCRIPTION_FAILED",
|
|
957
|
-
CustomerCreated = "CUSTOMER_CREATED",
|
|
958
|
-
CustomerDeleted = "CUSTOMER_DELETED",
|
|
959
|
-
CustomerPaymentFailed = "CUSTOMER_PAYMENT_FAILED",
|
|
960
|
-
CustomerUpdated = "CUSTOMER_UPDATED",
|
|
961
|
-
EdgeApiDataResync = "EDGE_API_DATA_RESYNC",
|
|
962
|
-
EntitlementsUpdated = "ENTITLEMENTS_UPDATED",
|
|
963
|
-
EntitlementDenied = "ENTITLEMENT_DENIED",
|
|
964
|
-
EntitlementGranted = "ENTITLEMENT_GRANTED",
|
|
965
|
-
EntitlementRequested = "ENTITLEMENT_REQUESTED",
|
|
966
|
-
EnvironmentDeleted = "ENVIRONMENT_DELETED",
|
|
967
|
-
FeatureCreated = "FEATURE_CREATED",
|
|
968
|
-
FeatureDeleted = "FEATURE_DELETED",
|
|
969
|
-
FeatureUpdated = "FEATURE_UPDATED",
|
|
970
|
-
ImportIntegrationCatalogTriggered = "IMPORT_INTEGRATION_CATALOG_TRIGGERED",
|
|
971
|
-
ImportIntegrationCustomersTriggered = "IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED",
|
|
972
|
-
MeasurementReported = "MEASUREMENT_REPORTED",
|
|
973
|
-
PackagePublished = "PACKAGE_PUBLISHED",
|
|
974
|
-
PlanCreated = "PLAN_CREATED",
|
|
975
|
-
PlanDeleted = "PLAN_DELETED",
|
|
976
|
-
PlanUpdated = "PLAN_UPDATED",
|
|
977
|
-
ProductCreated = "PRODUCT_CREATED",
|
|
978
|
-
ProductDeleted = "PRODUCT_DELETED",
|
|
979
|
-
ProductUpdated = "PRODUCT_UPDATED",
|
|
980
|
-
PromotionalEntitlementExpired = "PROMOTIONAL_ENTITLEMENT_EXPIRED",
|
|
981
|
-
PromotionalEntitlementGranted = "PROMOTIONAL_ENTITLEMENT_GRANTED",
|
|
982
|
-
PromotionalEntitlementRevoked = "PROMOTIONAL_ENTITLEMENT_REVOKED",
|
|
983
|
-
PromotionalEntitlementUpdated = "PROMOTIONAL_ENTITLEMENT_UPDATED",
|
|
984
|
-
ResyncIntegrationTriggered = "RESYNC_INTEGRATION_TRIGGERED",
|
|
985
|
-
SubscriptionCanceled = "SUBSCRIPTION_CANCELED",
|
|
986
|
-
SubscriptionCreated = "SUBSCRIPTION_CREATED",
|
|
987
|
-
SubscriptionExpired = "SUBSCRIPTION_EXPIRED",
|
|
988
|
-
SubscriptionTrialConverted = "SUBSCRIPTION_TRIAL_CONVERTED",
|
|
989
|
-
SubscriptionTrialEndsSoon = "SUBSCRIPTION_TRIAL_ENDS_SOON",
|
|
990
|
-
SubscriptionTrialExpired = "SUBSCRIPTION_TRIAL_EXPIRED",
|
|
991
|
-
SubscriptionTrialStarted = "SUBSCRIPTION_TRIAL_STARTED",
|
|
992
|
-
SubscriptionUpdated = "SUBSCRIPTION_UPDATED",
|
|
993
|
-
SubscriptionUsageUpdated = "SUBSCRIPTION_USAGE_UPDATED",
|
|
994
|
-
SyncFailed = "SYNC_FAILED",
|
|
995
|
-
WidgetConfigurationUpdated = "WIDGET_CONFIGURATION_UPDATED"
|
|
996
|
-
}
|
|
997
|
-
export declare type ExperimentFilter = {
|
|
998
|
-
and?: Maybe<Array<ExperimentFilter>>;
|
|
999
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1000
|
-
customers?: Maybe<ExperimentFilterCustomerFilter>;
|
|
1001
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1002
|
-
id?: Maybe<StringFieldComparison>;
|
|
1003
|
-
name?: Maybe<StringFieldComparison>;
|
|
1004
|
-
or?: Maybe<Array<ExperimentFilter>>;
|
|
1005
|
-
productId?: Maybe<StringFieldComparison>;
|
|
1006
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1007
|
-
status?: Maybe<ExperimentStatusFilterComparison>;
|
|
1008
|
-
};
|
|
1009
|
-
export declare type ExperimentFilterCustomerFilter = {
|
|
1010
|
-
and?: Maybe<Array<ExperimentFilterCustomerFilter>>;
|
|
1011
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
1012
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1013
|
-
crmHubspotCompanyId?: Maybe<StringFieldComparison>;
|
|
1014
|
-
crmHubspotCompanyUrl?: Maybe<StringFieldComparison>;
|
|
1015
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
1016
|
-
customerId?: Maybe<StringFieldComparison>;
|
|
1017
|
-
email?: Maybe<StringFieldComparison>;
|
|
1018
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1019
|
-
id?: Maybe<StringFieldComparison>;
|
|
1020
|
-
name?: Maybe<StringFieldComparison>;
|
|
1021
|
-
or?: Maybe<Array<ExperimentFilterCustomerFilter>>;
|
|
1022
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1023
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1024
|
-
};
|
|
1025
|
-
export declare type ExperimentSort = {
|
|
1026
|
-
direction: SortDirection;
|
|
1027
|
-
field: ExperimentSortFields;
|
|
1028
|
-
nulls?: Maybe<SortNulls>;
|
|
1029
|
-
};
|
|
1030
|
-
export declare enum ExperimentSortFields {
|
|
1031
|
-
CreatedAt = "createdAt",
|
|
1032
|
-
EnvironmentId = "environmentId",
|
|
1033
|
-
Id = "id",
|
|
1034
|
-
Name = "name",
|
|
1035
|
-
ProductId = "productId",
|
|
1036
|
-
RefId = "refId",
|
|
1037
|
-
Status = "status"
|
|
1038
|
-
}
|
|
1039
|
-
export declare type ExperimentStatsQuery = {
|
|
1040
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1041
|
-
experimentRefId: Scalars['String'];
|
|
1042
|
-
};
|
|
1043
|
-
/** The status of the EXPERIMENT */
|
|
1044
|
-
export declare enum ExperimentStatus {
|
|
1045
|
-
Completed = "COMPLETED",
|
|
1046
|
-
Draft = "DRAFT",
|
|
1047
|
-
InProgress = "IN_PROGRESS"
|
|
1048
|
-
}
|
|
1049
|
-
export declare type ExperimentStatusFilterComparison = {
|
|
1050
|
-
eq?: Maybe<ExperimentStatus>;
|
|
1051
|
-
gt?: Maybe<ExperimentStatus>;
|
|
1052
|
-
gte?: Maybe<ExperimentStatus>;
|
|
1053
|
-
iLike?: Maybe<ExperimentStatus>;
|
|
1054
|
-
in?: Maybe<Array<ExperimentStatus>>;
|
|
1055
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1056
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1057
|
-
like?: Maybe<ExperimentStatus>;
|
|
1058
|
-
lt?: Maybe<ExperimentStatus>;
|
|
1059
|
-
lte?: Maybe<ExperimentStatus>;
|
|
1060
|
-
neq?: Maybe<ExperimentStatus>;
|
|
1061
|
-
notILike?: Maybe<ExperimentStatus>;
|
|
1062
|
-
notIn?: Maybe<Array<ExperimentStatus>>;
|
|
1063
|
-
notLike?: Maybe<ExperimentStatus>;
|
|
1064
|
-
};
|
|
1065
|
-
export declare type FeatureFilter = {
|
|
1066
|
-
and?: Maybe<Array<FeatureFilter>>;
|
|
1067
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1068
|
-
description?: Maybe<StringFieldComparison>;
|
|
1069
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1070
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1071
|
-
featureStatus?: Maybe<FeatureStatusFilterComparison>;
|
|
1072
|
-
featureType?: Maybe<FeatureTypeFilterComparison>;
|
|
1073
|
-
id?: Maybe<StringFieldComparison>;
|
|
1074
|
-
meterType?: Maybe<MeterTypeFilterComparison>;
|
|
1075
|
-
or?: Maybe<Array<FeatureFilter>>;
|
|
1076
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1077
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1078
|
-
};
|
|
1079
|
-
export declare type FeatureInput = {
|
|
1080
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1081
|
-
description?: Maybe<Scalars['String']>;
|
|
1082
|
-
displayName: Scalars['String'];
|
|
1083
|
-
environmentId: Scalars['String'];
|
|
1084
|
-
featureStatus?: Maybe<FeatureStatus>;
|
|
1085
|
-
featureType: FeatureType;
|
|
1086
|
-
featureUnits?: Maybe<Scalars['String']>;
|
|
1087
|
-
featureUnitsPlural?: Maybe<Scalars['String']>;
|
|
1088
|
-
meterType?: Maybe<MeterType>;
|
|
1089
|
-
refId: Scalars['String'];
|
|
1090
|
-
};
|
|
1091
|
-
export declare type FeatureSort = {
|
|
1092
|
-
direction: SortDirection;
|
|
1093
|
-
field: FeatureSortFields;
|
|
1094
|
-
nulls?: Maybe<SortNulls>;
|
|
1095
|
-
};
|
|
1096
|
-
export declare enum FeatureSortFields {
|
|
1097
|
-
CreatedAt = "createdAt",
|
|
1098
|
-
Description = "description",
|
|
1099
|
-
DisplayName = "displayName",
|
|
1100
|
-
EnvironmentId = "environmentId",
|
|
1101
|
-
FeatureStatus = "featureStatus",
|
|
1102
|
-
FeatureType = "featureType",
|
|
1103
|
-
Id = "id",
|
|
1104
|
-
MeterType = "meterType",
|
|
1105
|
-
RefId = "refId",
|
|
1106
|
-
UpdatedAt = "updatedAt"
|
|
1107
|
-
}
|
|
1108
|
-
/** Feature status. */
|
|
1109
|
-
export declare enum FeatureStatus {
|
|
1110
|
-
Active = "ACTIVE",
|
|
1111
|
-
New = "NEW",
|
|
1112
|
-
Suspended = "SUSPENDED"
|
|
1113
|
-
}
|
|
1114
|
-
export declare type FeatureStatusFilterComparison = {
|
|
1115
|
-
eq?: Maybe<FeatureStatus>;
|
|
1116
|
-
gt?: Maybe<FeatureStatus>;
|
|
1117
|
-
gte?: Maybe<FeatureStatus>;
|
|
1118
|
-
iLike?: Maybe<FeatureStatus>;
|
|
1119
|
-
in?: Maybe<Array<FeatureStatus>>;
|
|
1120
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1121
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1122
|
-
like?: Maybe<FeatureStatus>;
|
|
1123
|
-
lt?: Maybe<FeatureStatus>;
|
|
1124
|
-
lte?: Maybe<FeatureStatus>;
|
|
1125
|
-
neq?: Maybe<FeatureStatus>;
|
|
1126
|
-
notILike?: Maybe<FeatureStatus>;
|
|
1127
|
-
notIn?: Maybe<Array<FeatureStatus>>;
|
|
1128
|
-
notLike?: Maybe<FeatureStatus>;
|
|
1129
|
-
};
|
|
1130
|
-
/** The type of the feature */
|
|
1131
|
-
export declare enum FeatureType {
|
|
1132
|
-
Boolean = "BOOLEAN",
|
|
1133
|
-
Number = "NUMBER"
|
|
1134
|
-
}
|
|
1135
|
-
export declare type FeatureTypeFilterComparison = {
|
|
1136
|
-
eq?: Maybe<FeatureType>;
|
|
1137
|
-
gt?: Maybe<FeatureType>;
|
|
1138
|
-
gte?: Maybe<FeatureType>;
|
|
1139
|
-
iLike?: Maybe<FeatureType>;
|
|
1140
|
-
in?: Maybe<Array<FeatureType>>;
|
|
1141
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1142
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1143
|
-
like?: Maybe<FeatureType>;
|
|
1144
|
-
lt?: Maybe<FeatureType>;
|
|
1145
|
-
lte?: Maybe<FeatureType>;
|
|
1146
|
-
neq?: Maybe<FeatureType>;
|
|
1147
|
-
notILike?: Maybe<FeatureType>;
|
|
1148
|
-
notIn?: Maybe<Array<FeatureType>>;
|
|
1149
|
-
notLike?: Maybe<FeatureType>;
|
|
1150
|
-
};
|
|
1151
|
-
export declare type FetchEntitlementQuery = {
|
|
1152
|
-
customerId: Scalars['String'];
|
|
1153
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1154
|
-
featureId: Scalars['String'];
|
|
1155
|
-
options?: Maybe<EntitlementOptions>;
|
|
1156
|
-
};
|
|
1157
|
-
export declare type FetchEntitlementsQuery = {
|
|
1158
|
-
customerId: Scalars['String'];
|
|
1159
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1160
|
-
};
|
|
1161
|
-
export declare type FontVariantInput = {
|
|
1162
|
-
fontSize?: Maybe<Scalars['Float']>;
|
|
1163
|
-
fontWeight?: Maybe<FontWeight>;
|
|
1164
|
-
};
|
|
1165
|
-
/** Font weight */
|
|
1166
|
-
export declare enum FontWeight {
|
|
1167
|
-
Bold = "BOLD",
|
|
1168
|
-
Normal = "NORMAL"
|
|
1169
|
-
}
|
|
1170
|
-
export declare type GetCustomerByRefIdInput = {
|
|
1171
|
-
customerId: Scalars['String'];
|
|
1172
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1173
|
-
};
|
|
1174
|
-
export declare type GetPackageByRefIdInput = {
|
|
1175
|
-
environmentId: Scalars['String'];
|
|
1176
|
-
refId: Scalars['String'];
|
|
1177
|
-
versionNumber?: Maybe<Scalars['Float']>;
|
|
1178
|
-
};
|
|
1179
|
-
export declare type GetPaywallInput = {
|
|
1180
|
-
context?: Maybe<WidgetType>;
|
|
1181
|
-
customerId?: Maybe<Scalars['String']>;
|
|
1182
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1183
|
-
productId?: Maybe<Scalars['String']>;
|
|
1184
|
-
};
|
|
1185
|
-
export declare type GetWidgetConfigurationInput = {
|
|
1186
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1187
|
-
};
|
|
1188
|
-
export declare type HookFilter = {
|
|
1189
|
-
and?: Maybe<Array<HookFilter>>;
|
|
1190
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1191
|
-
endpoint?: Maybe<StringFieldComparison>;
|
|
1192
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1193
|
-
id?: Maybe<StringFieldComparison>;
|
|
1194
|
-
or?: Maybe<Array<HookFilter>>;
|
|
1195
|
-
status?: Maybe<HookStatusFilterComparison>;
|
|
1196
|
-
};
|
|
1197
|
-
export declare type HookSort = {
|
|
1198
|
-
direction: SortDirection;
|
|
1199
|
-
field: HookSortFields;
|
|
1200
|
-
nulls?: Maybe<SortNulls>;
|
|
1201
|
-
};
|
|
1202
|
-
export declare enum HookSortFields {
|
|
1203
|
-
CreatedAt = "createdAt",
|
|
1204
|
-
Endpoint = "endpoint",
|
|
1205
|
-
EnvironmentId = "environmentId",
|
|
1206
|
-
Id = "id",
|
|
1207
|
-
Status = "status"
|
|
1208
|
-
}
|
|
1209
|
-
/** HookStatus. */
|
|
1210
|
-
export declare enum HookStatus {
|
|
1211
|
-
Active = "ACTIVE",
|
|
1212
|
-
Inactive = "INACTIVE"
|
|
1213
|
-
}
|
|
1214
|
-
export declare type HookStatusFilterComparison = {
|
|
1215
|
-
eq?: Maybe<HookStatus>;
|
|
1216
|
-
gt?: Maybe<HookStatus>;
|
|
1217
|
-
gte?: Maybe<HookStatus>;
|
|
1218
|
-
iLike?: Maybe<HookStatus>;
|
|
1219
|
-
in?: Maybe<Array<HookStatus>>;
|
|
1220
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1221
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1222
|
-
like?: Maybe<HookStatus>;
|
|
1223
|
-
lt?: Maybe<HookStatus>;
|
|
1224
|
-
lte?: Maybe<HookStatus>;
|
|
1225
|
-
neq?: Maybe<HookStatus>;
|
|
1226
|
-
notILike?: Maybe<HookStatus>;
|
|
1227
|
-
notIn?: Maybe<Array<HookStatus>>;
|
|
1228
|
-
notLike?: Maybe<HookStatus>;
|
|
1229
|
-
};
|
|
1230
|
-
export declare type HubspotCredentialsInput = {
|
|
1231
|
-
authorizationCode: Scalars['String'];
|
|
1232
|
-
refreshToken?: Maybe<Scalars['String']>;
|
|
1233
|
-
};
|
|
1234
|
-
export declare type ImportCustomerInput = {
|
|
1235
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1236
|
-
billingId: Scalars['String'];
|
|
1237
|
-
customerId?: Maybe<Scalars['String']>;
|
|
1238
|
-
email?: Maybe<Scalars['String']>;
|
|
1239
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1240
|
-
name?: Maybe<Scalars['String']>;
|
|
1241
|
-
refId?: Maybe<Scalars['String']>;
|
|
1242
|
-
};
|
|
1243
|
-
export declare type ImportIntegrationCatalogInput = {
|
|
1244
|
-
billingModel?: Maybe<BillingModel>;
|
|
1245
|
-
entitySelectionMode: EntitySelectionMode;
|
|
1246
|
-
environmentId: Scalars['String'];
|
|
1247
|
-
featureUnitName?: Maybe<Scalars['String']>;
|
|
1248
|
-
featureUnitPluralName?: Maybe<Scalars['String']>;
|
|
1249
|
-
plansSelectionBlacklist?: Maybe<Array<Scalars['String']>>;
|
|
1250
|
-
plansSelectionWhitelist?: Maybe<Array<Scalars['String']>>;
|
|
1251
|
-
productId: Scalars['String'];
|
|
1252
|
-
selectedAddonBillingIds: Array<Scalars['String']>;
|
|
1253
|
-
vendorIdentifier: VendorIdentifier;
|
|
1254
|
-
};
|
|
1255
|
-
export declare type ImportIntegrationCustomersInput = {
|
|
1256
|
-
customersSelectionBlacklist?: Maybe<Array<Scalars['String']>>;
|
|
1257
|
-
customersSelectionWhitelist?: Maybe<Array<Scalars['String']>>;
|
|
1258
|
-
entitySelectionMode: EntitySelectionMode;
|
|
1259
|
-
environmentId: Scalars['String'];
|
|
1260
|
-
productId: Scalars['String'];
|
|
1261
|
-
vendorIdentifier: VendorIdentifier;
|
|
1262
|
-
};
|
|
1263
|
-
export declare type ImportIntegrationTaskFilter = {
|
|
1264
|
-
and?: Maybe<Array<ImportIntegrationTaskFilter>>;
|
|
1265
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1266
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1267
|
-
id?: Maybe<StringFieldComparison>;
|
|
1268
|
-
or?: Maybe<Array<ImportIntegrationTaskFilter>>;
|
|
1269
|
-
status?: Maybe<TaskStatusFilterComparison>;
|
|
1270
|
-
taskType?: Maybe<TaskTypeFilterComparison>;
|
|
1271
|
-
};
|
|
1272
|
-
export declare type ImportIntegrationTaskSort = {
|
|
1273
|
-
direction: SortDirection;
|
|
1274
|
-
field: ImportIntegrationTaskSortFields;
|
|
1275
|
-
nulls?: Maybe<SortNulls>;
|
|
1276
|
-
};
|
|
1277
|
-
export declare enum ImportIntegrationTaskSortFields {
|
|
1278
|
-
CreatedAt = "createdAt",
|
|
1279
|
-
EnvironmentId = "environmentId",
|
|
1280
|
-
Id = "id",
|
|
1281
|
-
Status = "status",
|
|
1282
|
-
TaskType = "taskType"
|
|
1283
|
-
}
|
|
1284
|
-
export declare type InitAddStripeCustomerPaymentMethodInput = {
|
|
1285
|
-
customerRefId: Scalars['String'];
|
|
1286
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1287
|
-
};
|
|
1288
|
-
export declare type InitiateCheckoutInput = {
|
|
1289
|
-
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
1290
|
-
allowPromoCodes?: Maybe<Scalars['Boolean']>;
|
|
1291
|
-
allowTaxIdCollection?: Maybe<Scalars['Boolean']>;
|
|
1292
|
-
billingPeriod: BillingPeriod;
|
|
1293
|
-
cancelUrl: Scalars['String'];
|
|
1294
|
-
collectBillingAddress?: Maybe<Scalars['Boolean']>;
|
|
1295
|
-
customerId: Scalars['String'];
|
|
1296
|
-
planId: Scalars['String'];
|
|
1297
|
-
successUrl: Scalars['String'];
|
|
1298
|
-
unitQuantity?: Maybe<Scalars['Int']>;
|
|
1299
|
-
};
|
|
1300
|
-
export declare type IntFieldComparison = {
|
|
1301
|
-
between?: Maybe<IntFieldComparisonBetween>;
|
|
1302
|
-
eq?: Maybe<Scalars['Int']>;
|
|
1303
|
-
gt?: Maybe<Scalars['Int']>;
|
|
1304
|
-
gte?: Maybe<Scalars['Int']>;
|
|
1305
|
-
in?: Maybe<Array<Scalars['Int']>>;
|
|
1306
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1307
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1308
|
-
lt?: Maybe<Scalars['Int']>;
|
|
1309
|
-
lte?: Maybe<Scalars['Int']>;
|
|
1310
|
-
neq?: Maybe<Scalars['Int']>;
|
|
1311
|
-
notBetween?: Maybe<IntFieldComparisonBetween>;
|
|
1312
|
-
notIn?: Maybe<Array<Scalars['Int']>>;
|
|
1313
|
-
};
|
|
1314
|
-
export declare type IntFieldComparisonBetween = {
|
|
1315
|
-
lower: Scalars['Int'];
|
|
1316
|
-
upper: Scalars['Int'];
|
|
1317
|
-
};
|
|
1318
|
-
export declare type IntegrationFilter = {
|
|
1319
|
-
and?: Maybe<Array<IntegrationFilter>>;
|
|
1320
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1321
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1322
|
-
id?: Maybe<StringFieldComparison>;
|
|
1323
|
-
or?: Maybe<Array<IntegrationFilter>>;
|
|
1324
|
-
vendorIdentifier?: Maybe<VendorIdentifierFilterComparison>;
|
|
1325
|
-
};
|
|
1326
|
-
export declare type IntegrationSort = {
|
|
1327
|
-
direction: SortDirection;
|
|
1328
|
-
field: IntegrationSortFields;
|
|
1329
|
-
nulls?: Maybe<SortNulls>;
|
|
1330
|
-
};
|
|
1331
|
-
export declare enum IntegrationSortFields {
|
|
1332
|
-
CreatedAt = "createdAt",
|
|
1333
|
-
EnvironmentId = "environmentId",
|
|
1334
|
-
Id = "id",
|
|
1335
|
-
VendorIdentifier = "vendorIdentifier"
|
|
1336
|
-
}
|
|
1337
|
-
export declare type MemberFilter = {
|
|
1338
|
-
and?: Maybe<Array<MemberFilter>>;
|
|
1339
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1340
|
-
id?: Maybe<StringFieldComparison>;
|
|
1341
|
-
or?: Maybe<Array<MemberFilter>>;
|
|
1342
|
-
};
|
|
1343
|
-
export declare type MemberSort = {
|
|
1344
|
-
direction: SortDirection;
|
|
1345
|
-
field: MemberSortFields;
|
|
1346
|
-
nulls?: Maybe<SortNulls>;
|
|
1347
|
-
};
|
|
1348
|
-
export declare enum MemberSortFields {
|
|
1349
|
-
CreatedAt = "createdAt",
|
|
1350
|
-
Id = "id"
|
|
1351
|
-
}
|
|
1352
|
-
/** Member Status. */
|
|
1353
|
-
export declare enum MemberStatus {
|
|
1354
|
-
Invited = "INVITED",
|
|
1355
|
-
Registered = "REGISTERED"
|
|
1356
|
-
}
|
|
1357
|
-
/** The meter type of the feature */
|
|
1358
|
-
export declare enum MeterType {
|
|
1359
|
-
Fluctuating = "Fluctuating",
|
|
1360
|
-
Incremental = "Incremental",
|
|
1361
|
-
None = "None"
|
|
1362
|
-
}
|
|
1363
|
-
export declare type MeterTypeFilterComparison = {
|
|
1364
|
-
eq?: Maybe<MeterType>;
|
|
1365
|
-
gt?: Maybe<MeterType>;
|
|
1366
|
-
gte?: Maybe<MeterType>;
|
|
1367
|
-
iLike?: Maybe<MeterType>;
|
|
1368
|
-
in?: Maybe<Array<MeterType>>;
|
|
1369
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1370
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1371
|
-
like?: Maybe<MeterType>;
|
|
1372
|
-
lt?: Maybe<MeterType>;
|
|
1373
|
-
lte?: Maybe<MeterType>;
|
|
1374
|
-
neq?: Maybe<MeterType>;
|
|
1375
|
-
notILike?: Maybe<MeterType>;
|
|
1376
|
-
notIn?: Maybe<Array<MeterType>>;
|
|
1377
|
-
notLike?: Maybe<MeterType>;
|
|
1378
|
-
};
|
|
1379
|
-
export declare type MoneyInputDto = {
|
|
1380
|
-
amount: Scalars['Float'];
|
|
1381
|
-
currency?: Maybe<Currency>;
|
|
1382
|
-
};
|
|
1383
|
-
/** Montly reset period according to configuration */
|
|
1384
|
-
export declare enum MonthlyAccordingTo {
|
|
1385
|
-
StartOfTheMonth = "StartOfTheMonth",
|
|
1386
|
-
SubscriptionStart = "SubscriptionStart"
|
|
1387
|
-
}
|
|
1388
|
-
export declare type MonthlyResetPeriodConfigInput = {
|
|
1389
|
-
accordingTo: MonthlyAccordingTo;
|
|
1390
|
-
};
|
|
1391
|
-
export declare type NumberFieldComparison = {
|
|
1392
|
-
between?: Maybe<NumberFieldComparisonBetween>;
|
|
1393
|
-
eq?: Maybe<Scalars['Float']>;
|
|
1394
|
-
gt?: Maybe<Scalars['Float']>;
|
|
1395
|
-
gte?: Maybe<Scalars['Float']>;
|
|
1396
|
-
in?: Maybe<Array<Scalars['Float']>>;
|
|
1397
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1398
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1399
|
-
lt?: Maybe<Scalars['Float']>;
|
|
1400
|
-
lte?: Maybe<Scalars['Float']>;
|
|
1401
|
-
neq?: Maybe<Scalars['Float']>;
|
|
1402
|
-
notBetween?: Maybe<NumberFieldComparisonBetween>;
|
|
1403
|
-
notIn?: Maybe<Array<Scalars['Float']>>;
|
|
1404
|
-
};
|
|
1405
|
-
export declare type NumberFieldComparisonBetween = {
|
|
1406
|
-
lower: Scalars['Float'];
|
|
1407
|
-
upper: Scalars['Float'];
|
|
1408
|
-
};
|
|
1409
|
-
export declare type PackageDtoFilter = {
|
|
1410
|
-
and?: Maybe<Array<PackageDtoFilter>>;
|
|
1411
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
1412
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1413
|
-
description?: Maybe<StringFieldComparison>;
|
|
1414
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1415
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1416
|
-
id?: Maybe<StringFieldComparison>;
|
|
1417
|
-
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1418
|
-
or?: Maybe<Array<PackageDtoFilter>>;
|
|
1419
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
1420
|
-
productId?: Maybe<StringFieldComparison>;
|
|
1421
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1422
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
1423
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1424
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
1425
|
-
};
|
|
1426
|
-
export declare type PackageDtoSort = {
|
|
1427
|
-
direction: SortDirection;
|
|
1428
|
-
field: PackageDtoSortFields;
|
|
1429
|
-
nulls?: Maybe<SortNulls>;
|
|
1430
|
-
};
|
|
1431
|
-
export declare enum PackageDtoSortFields {
|
|
1432
|
-
BillingId = "billingId",
|
|
1433
|
-
CreatedAt = "createdAt",
|
|
1434
|
-
Description = "description",
|
|
1435
|
-
DisplayName = "displayName",
|
|
1436
|
-
EnvironmentId = "environmentId",
|
|
1437
|
-
Id = "id",
|
|
1438
|
-
IsLatest = "isLatest",
|
|
1439
|
-
PricingType = "pricingType",
|
|
1440
|
-
ProductId = "productId",
|
|
1441
|
-
RefId = "refId",
|
|
1442
|
-
Status = "status",
|
|
1443
|
-
UpdatedAt = "updatedAt",
|
|
1444
|
-
VersionNumber = "versionNumber"
|
|
1445
|
-
}
|
|
1446
|
-
export declare type PackageEntitlementFilter = {
|
|
1447
|
-
and?: Maybe<Array<PackageEntitlementFilter>>;
|
|
1448
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1449
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1450
|
-
feature?: Maybe<PackageEntitlementFilterFeatureFilter>;
|
|
1451
|
-
id?: Maybe<StringFieldComparison>;
|
|
1452
|
-
or?: Maybe<Array<PackageEntitlementFilter>>;
|
|
1453
|
-
package?: Maybe<PackageEntitlementFilterPackageDtoFilter>;
|
|
1454
|
-
packageId?: Maybe<StringFieldComparison>;
|
|
1455
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1456
|
-
};
|
|
1457
|
-
export declare type PackageEntitlementFilterFeatureFilter = {
|
|
1458
|
-
and?: Maybe<Array<PackageEntitlementFilterFeatureFilter>>;
|
|
1459
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1460
|
-
description?: Maybe<StringFieldComparison>;
|
|
1461
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1462
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1463
|
-
featureStatus?: Maybe<FeatureStatusFilterComparison>;
|
|
1464
|
-
featureType?: Maybe<FeatureTypeFilterComparison>;
|
|
1465
|
-
id?: Maybe<StringFieldComparison>;
|
|
1466
|
-
meterType?: Maybe<MeterTypeFilterComparison>;
|
|
1467
|
-
or?: Maybe<Array<PackageEntitlementFilterFeatureFilter>>;
|
|
1468
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1469
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1470
|
-
};
|
|
1471
|
-
export declare type PackageEntitlementFilterPackageDtoFilter = {
|
|
1472
|
-
and?: Maybe<Array<PackageEntitlementFilterPackageDtoFilter>>;
|
|
1473
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
1474
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1475
|
-
description?: Maybe<StringFieldComparison>;
|
|
1476
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1477
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1478
|
-
id?: Maybe<StringFieldComparison>;
|
|
1479
|
-
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1480
|
-
or?: Maybe<Array<PackageEntitlementFilterPackageDtoFilter>>;
|
|
1481
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
1482
|
-
productId?: Maybe<StringFieldComparison>;
|
|
1483
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1484
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
1485
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1486
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
1487
|
-
};
|
|
1488
|
-
export declare type PackageEntitlementInput = {
|
|
1489
|
-
description?: Maybe<Scalars['String']>;
|
|
1490
|
-
displayNameOverride?: Maybe<Scalars['String']>;
|
|
1491
|
-
environmentId: Scalars['String'];
|
|
1492
|
-
featureId: Scalars['String'];
|
|
1493
|
-
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
1494
|
-
hiddenFromWidgets?: Maybe<Array<WidgetType>>;
|
|
1495
|
-
isCustom?: Maybe<Scalars['Boolean']>;
|
|
1496
|
-
monthlyResetPeriodConfiguration?: Maybe<MonthlyResetPeriodConfigInput>;
|
|
1497
|
-
order?: Maybe<Scalars['Float']>;
|
|
1498
|
-
packageId: Scalars['String'];
|
|
1499
|
-
resetPeriod?: Maybe<EntitlementResetPeriod>;
|
|
1500
|
-
usageLimit?: Maybe<Scalars['Float']>;
|
|
1501
|
-
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
1502
|
-
};
|
|
1503
|
-
export declare type PackageEntitlementSort = {
|
|
1504
|
-
direction: SortDirection;
|
|
1505
|
-
field: PackageEntitlementSortFields;
|
|
1506
|
-
nulls?: Maybe<SortNulls>;
|
|
1507
|
-
};
|
|
1508
|
-
export declare enum PackageEntitlementSortFields {
|
|
1509
|
-
CreatedAt = "createdAt",
|
|
1510
|
-
EnvironmentId = "environmentId",
|
|
1511
|
-
Id = "id",
|
|
1512
|
-
PackageId = "packageId",
|
|
1513
|
-
UpdatedAt = "updatedAt"
|
|
1514
|
-
}
|
|
1515
|
-
export declare type PackageEntitlementUpdateInput = {
|
|
1516
|
-
description?: Maybe<Scalars['String']>;
|
|
1517
|
-
displayNameOverride?: Maybe<Scalars['String']>;
|
|
1518
|
-
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
1519
|
-
hiddenFromWidgets?: Maybe<Array<WidgetType>>;
|
|
1520
|
-
isCustom?: Maybe<Scalars['Boolean']>;
|
|
1521
|
-
monthlyResetPeriodConfiguration?: Maybe<MonthlyResetPeriodConfigInput>;
|
|
1522
|
-
order?: Maybe<Scalars['Float']>;
|
|
1523
|
-
resetPeriod?: Maybe<EntitlementResetPeriod>;
|
|
1524
|
-
usageLimit?: Maybe<Scalars['Float']>;
|
|
1525
|
-
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
1526
|
-
};
|
|
1527
|
-
export declare type PackagePricingInput = {
|
|
1528
|
-
environmentId: Scalars['String'];
|
|
1529
|
-
packageId: Scalars['String'];
|
|
1530
|
-
pricingModel?: Maybe<PricingModelCreateInput>;
|
|
1531
|
-
pricingType: PricingType;
|
|
1532
|
-
};
|
|
1533
|
-
export declare type PackagePublishInput = {
|
|
1534
|
-
id: Scalars['ID'];
|
|
1535
|
-
migrationType: PublishMigrationType;
|
|
1536
|
-
};
|
|
1537
|
-
/** Package status. */
|
|
1538
|
-
export declare enum PackageStatus {
|
|
1539
|
-
Archived = "ARCHIVED",
|
|
1540
|
-
Draft = "DRAFT",
|
|
1541
|
-
Published = "PUBLISHED"
|
|
1542
|
-
}
|
|
1543
|
-
export declare type PackageStatusFilterComparison = {
|
|
1544
|
-
eq?: Maybe<PackageStatus>;
|
|
1545
|
-
gt?: Maybe<PackageStatus>;
|
|
1546
|
-
gte?: Maybe<PackageStatus>;
|
|
1547
|
-
iLike?: Maybe<PackageStatus>;
|
|
1548
|
-
in?: Maybe<Array<PackageStatus>>;
|
|
1549
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1550
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1551
|
-
like?: Maybe<PackageStatus>;
|
|
1552
|
-
lt?: Maybe<PackageStatus>;
|
|
1553
|
-
lte?: Maybe<PackageStatus>;
|
|
1554
|
-
neq?: Maybe<PackageStatus>;
|
|
1555
|
-
notILike?: Maybe<PackageStatus>;
|
|
1556
|
-
notIn?: Maybe<Array<PackageStatus>>;
|
|
1557
|
-
notLike?: Maybe<PackageStatus>;
|
|
1558
|
-
};
|
|
1559
|
-
/** Type of a payment method */
|
|
1560
|
-
export declare enum PaymentMethodType {
|
|
1561
|
-
Bank = "BANK",
|
|
1562
|
-
Card = "CARD"
|
|
1563
|
-
}
|
|
1564
|
-
export declare type PaywallColorsPaletteInput = {
|
|
1565
|
-
backgroundColor?: Maybe<Scalars['String']>;
|
|
1566
|
-
borderColor?: Maybe<Scalars['String']>;
|
|
1567
|
-
currentPlanBackground?: Maybe<Scalars['String']>;
|
|
1568
|
-
primary?: Maybe<Scalars['String']>;
|
|
1569
|
-
textColor?: Maybe<Scalars['String']>;
|
|
1570
|
-
};
|
|
1571
|
-
export declare type PaywallConfigurationInput = {
|
|
1572
|
-
layout?: Maybe<PaywallLayoutConfigurationInput>;
|
|
1573
|
-
palette?: Maybe<PaywallColorsPaletteInput>;
|
|
1574
|
-
typography?: Maybe<TypographyConfigurationInput>;
|
|
1575
|
-
};
|
|
1576
|
-
export declare type PaywallLayoutConfigurationInput = {
|
|
1577
|
-
alignment?: Maybe<Alignment>;
|
|
1578
|
-
planMargin?: Maybe<Scalars['Float']>;
|
|
1579
|
-
planPadding?: Maybe<Scalars['Float']>;
|
|
1580
|
-
planWidth?: Maybe<Scalars['Float']>;
|
|
1581
|
-
};
|
|
1582
|
-
export declare type PlanCreateInput = {
|
|
1583
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1584
|
-
billingId?: Maybe<Scalars['String']>;
|
|
1585
|
-
description?: Maybe<Scalars['String']>;
|
|
1586
|
-
displayName: Scalars['String'];
|
|
1587
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1588
|
-
hiddenFromWidgets?: Maybe<Array<WidgetType>>;
|
|
1589
|
-
parentPlanId?: Maybe<Scalars['String']>;
|
|
1590
|
-
productId: Scalars['String'];
|
|
1591
|
-
refId?: Maybe<Scalars['String']>;
|
|
1592
|
-
status?: Maybe<PackageStatus>;
|
|
1593
|
-
};
|
|
1594
|
-
export declare type PlanFilter = {
|
|
1595
|
-
and?: Maybe<Array<PlanFilter>>;
|
|
1596
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
1597
|
-
compatibleAddons?: Maybe<PlanFilterAddonFilter>;
|
|
1598
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1599
|
-
description?: Maybe<StringFieldComparison>;
|
|
1600
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1601
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1602
|
-
id?: Maybe<StringFieldComparison>;
|
|
1603
|
-
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1604
|
-
or?: Maybe<Array<PlanFilter>>;
|
|
1605
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
1606
|
-
product?: Maybe<PlanFilterProductFilter>;
|
|
1607
|
-
productId?: Maybe<StringFieldComparison>;
|
|
1608
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1609
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
1610
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1611
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
1612
|
-
};
|
|
1613
|
-
export declare type PlanFilterAddonFilter = {
|
|
1614
|
-
and?: Maybe<Array<PlanFilterAddonFilter>>;
|
|
1615
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
1616
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1617
|
-
description?: Maybe<StringFieldComparison>;
|
|
1618
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1619
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1620
|
-
id?: Maybe<StringFieldComparison>;
|
|
1621
|
-
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1622
|
-
or?: Maybe<Array<PlanFilterAddonFilter>>;
|
|
1623
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
1624
|
-
productId?: Maybe<StringFieldComparison>;
|
|
1625
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1626
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
1627
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1628
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
1629
|
-
};
|
|
1630
|
-
export declare type PlanFilterProductFilter = {
|
|
1631
|
-
and?: Maybe<Array<PlanFilterProductFilter>>;
|
|
1632
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1633
|
-
description?: Maybe<StringFieldComparison>;
|
|
1634
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1635
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1636
|
-
id?: Maybe<StringFieldComparison>;
|
|
1637
|
-
isDefaultProduct?: Maybe<BooleanFieldComparison>;
|
|
1638
|
-
or?: Maybe<Array<PlanFilterProductFilter>>;
|
|
1639
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1640
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1641
|
-
};
|
|
1642
|
-
export declare type PlanSort = {
|
|
1643
|
-
direction: SortDirection;
|
|
1644
|
-
field: PlanSortFields;
|
|
1645
|
-
nulls?: Maybe<SortNulls>;
|
|
1646
|
-
};
|
|
1647
|
-
export declare enum PlanSortFields {
|
|
1648
|
-
BillingId = "billingId",
|
|
1649
|
-
CreatedAt = "createdAt",
|
|
1650
|
-
Description = "description",
|
|
1651
|
-
DisplayName = "displayName",
|
|
1652
|
-
EnvironmentId = "environmentId",
|
|
1653
|
-
Id = "id",
|
|
1654
|
-
IsLatest = "isLatest",
|
|
1655
|
-
PricingType = "pricingType",
|
|
1656
|
-
ProductId = "productId",
|
|
1657
|
-
RefId = "refId",
|
|
1658
|
-
Status = "status",
|
|
1659
|
-
UpdatedAt = "updatedAt",
|
|
1660
|
-
VersionNumber = "versionNumber"
|
|
1661
|
-
}
|
|
1662
|
-
export declare type PlanUpdateInput = {
|
|
1663
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1664
|
-
billingId?: Maybe<Scalars['String']>;
|
|
1665
|
-
defaultTrialConfig?: Maybe<DefaultTrialConfigInputDto>;
|
|
1666
|
-
description?: Maybe<Scalars['String']>;
|
|
1667
|
-
displayName?: Maybe<Scalars['String']>;
|
|
1668
|
-
hiddenFromWidgets?: Maybe<Array<WidgetType>>;
|
|
1669
|
-
id: Scalars['String'];
|
|
1670
|
-
parentPlanId?: Maybe<Scalars['String']>;
|
|
1671
|
-
status?: Maybe<PackageStatus>;
|
|
1672
|
-
};
|
|
1673
|
-
export declare type PriceFilter = {
|
|
1674
|
-
and?: Maybe<Array<PriceFilter>>;
|
|
1675
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
1676
|
-
billingModel?: Maybe<BillingModelFilterComparison>;
|
|
1677
|
-
billingPeriod?: Maybe<BillingPeriodFilterComparison>;
|
|
1678
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1679
|
-
id?: Maybe<StringFieldComparison>;
|
|
1680
|
-
or?: Maybe<Array<PriceFilter>>;
|
|
1681
|
-
package?: Maybe<PriceFilterPackageDtoFilter>;
|
|
1682
|
-
};
|
|
1683
|
-
export declare type PriceFilterPackageDtoFilter = {
|
|
1684
|
-
and?: Maybe<Array<PriceFilterPackageDtoFilter>>;
|
|
1685
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
1686
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1687
|
-
description?: Maybe<StringFieldComparison>;
|
|
1688
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1689
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1690
|
-
id?: Maybe<StringFieldComparison>;
|
|
1691
|
-
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1692
|
-
or?: Maybe<Array<PriceFilterPackageDtoFilter>>;
|
|
1693
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
1694
|
-
productId?: Maybe<StringFieldComparison>;
|
|
1695
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1696
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
1697
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1698
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
1699
|
-
};
|
|
1700
|
-
export declare type PricePeriodInput = {
|
|
1701
|
-
billingCountryCode?: Maybe<Scalars['String']>;
|
|
1702
|
-
billingPeriod: BillingPeriod;
|
|
1703
|
-
price: MoneyInputDto;
|
|
1704
|
-
};
|
|
1705
|
-
export declare type PriceSort = {
|
|
1706
|
-
direction: SortDirection;
|
|
1707
|
-
field: PriceSortFields;
|
|
1708
|
-
nulls?: Maybe<SortNulls>;
|
|
1709
|
-
};
|
|
1710
|
-
export declare enum PriceSortFields {
|
|
1711
|
-
BillingId = "billingId",
|
|
1712
|
-
BillingModel = "billingModel",
|
|
1713
|
-
BillingPeriod = "billingPeriod",
|
|
1714
|
-
CreatedAt = "createdAt",
|
|
1715
|
-
Id = "id"
|
|
1716
|
-
}
|
|
1717
|
-
export declare type PricingModelCreateInput = {
|
|
1718
|
-
billingModel: BillingModel;
|
|
1719
|
-
featureId?: Maybe<Scalars['String']>;
|
|
1720
|
-
maxUnitQuantity?: Maybe<Scalars['Float']>;
|
|
1721
|
-
minUnitQuantity?: Maybe<Scalars['Float']>;
|
|
1722
|
-
pricePeriods: Array<PricePeriodInput>;
|
|
1723
|
-
};
|
|
1724
|
-
/** Package pricing type. */
|
|
1725
|
-
export declare enum PricingType {
|
|
1726
|
-
Custom = "CUSTOM",
|
|
1727
|
-
Free = "FREE",
|
|
1728
|
-
Paid = "PAID"
|
|
1729
|
-
}
|
|
1730
|
-
export declare type PricingTypeFilterComparison = {
|
|
1731
|
-
eq?: Maybe<PricingType>;
|
|
1732
|
-
gt?: Maybe<PricingType>;
|
|
1733
|
-
gte?: Maybe<PricingType>;
|
|
1734
|
-
iLike?: Maybe<PricingType>;
|
|
1735
|
-
in?: Maybe<Array<PricingType>>;
|
|
1736
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1737
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1738
|
-
like?: Maybe<PricingType>;
|
|
1739
|
-
lt?: Maybe<PricingType>;
|
|
1740
|
-
lte?: Maybe<PricingType>;
|
|
1741
|
-
neq?: Maybe<PricingType>;
|
|
1742
|
-
notILike?: Maybe<PricingType>;
|
|
1743
|
-
notIn?: Maybe<Array<PricingType>>;
|
|
1744
|
-
notLike?: Maybe<PricingType>;
|
|
1745
|
-
};
|
|
1746
|
-
export declare type ProductCreateInput = {
|
|
1747
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1748
|
-
description?: Maybe<Scalars['String']>;
|
|
1749
|
-
displayName?: Maybe<Scalars['String']>;
|
|
1750
|
-
environmentId: Scalars['String'];
|
|
1751
|
-
refId: Scalars['String'];
|
|
1752
|
-
};
|
|
1753
|
-
export declare type ProductFilter = {
|
|
1754
|
-
and?: Maybe<Array<ProductFilter>>;
|
|
1755
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1756
|
-
description?: Maybe<StringFieldComparison>;
|
|
1757
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1758
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1759
|
-
id?: Maybe<StringFieldComparison>;
|
|
1760
|
-
isDefaultProduct?: Maybe<BooleanFieldComparison>;
|
|
1761
|
-
or?: Maybe<Array<ProductFilter>>;
|
|
1762
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1763
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1764
|
-
};
|
|
1765
|
-
export declare type ProductSettingsInput = {
|
|
1766
|
-
downgradeAtEndOfBillingPeriod?: Maybe<Scalars['String']>;
|
|
1767
|
-
downgradePlanId?: Maybe<Scalars['String']>;
|
|
1768
|
-
subscriptionCancellationTime: SubscriptionCancellationTime;
|
|
1769
|
-
subscriptionEndSetup: SubscriptionEndSetup;
|
|
1770
|
-
subscriptionStartPlanId?: Maybe<Scalars['String']>;
|
|
1771
|
-
subscriptionStartSetup: SubscriptionStartSetup;
|
|
1772
|
-
};
|
|
1773
|
-
export declare type ProductSort = {
|
|
1774
|
-
direction: SortDirection;
|
|
1775
|
-
field: ProductSortFields;
|
|
1776
|
-
nulls?: Maybe<SortNulls>;
|
|
1777
|
-
};
|
|
1778
|
-
export declare enum ProductSortFields {
|
|
1779
|
-
CreatedAt = "createdAt",
|
|
1780
|
-
Description = "description",
|
|
1781
|
-
DisplayName = "displayName",
|
|
1782
|
-
EnvironmentId = "environmentId",
|
|
1783
|
-
Id = "id",
|
|
1784
|
-
IsDefaultProduct = "isDefaultProduct",
|
|
1785
|
-
RefId = "refId",
|
|
1786
|
-
UpdatedAt = "updatedAt"
|
|
1787
|
-
}
|
|
1788
|
-
export declare type ProductUpdateInput = {
|
|
1789
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1790
|
-
description?: Maybe<Scalars['String']>;
|
|
1791
|
-
displayName?: Maybe<Scalars['String']>;
|
|
1792
|
-
productSettings?: Maybe<ProductSettingsInput>;
|
|
1793
|
-
};
|
|
1794
|
-
export declare type PromotionalEntitlementFilter = {
|
|
1795
|
-
and?: Maybe<Array<PromotionalEntitlementFilter>>;
|
|
1796
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1797
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1798
|
-
id?: Maybe<StringFieldComparison>;
|
|
1799
|
-
or?: Maybe<Array<PromotionalEntitlementFilter>>;
|
|
1800
|
-
status?: Maybe<PromotionalEntitlementStatusFilterComparison>;
|
|
1801
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1802
|
-
};
|
|
1803
|
-
export declare type PromotionalEntitlementInput = {
|
|
1804
|
-
customerId: Scalars['String'];
|
|
1805
|
-
description?: Maybe<Scalars['String']>;
|
|
1806
|
-
endDate?: Maybe<Scalars['DateTime']>;
|
|
1807
|
-
environmentId: Scalars['String'];
|
|
1808
|
-
featureId: Scalars['String'];
|
|
1809
|
-
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
1810
|
-
isVisible: Scalars['Boolean'];
|
|
1811
|
-
monthlyResetPeriodConfiguration?: Maybe<MonthlyResetPeriodConfigInput>;
|
|
1812
|
-
period: PromotionalEntitlementPeriod;
|
|
1813
|
-
resetPeriod?: Maybe<EntitlementResetPeriod>;
|
|
1814
|
-
usageLimit?: Maybe<Scalars['Float']>;
|
|
1815
|
-
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
1816
|
-
};
|
|
1817
|
-
/** Promotional entitlement duration */
|
|
1818
|
-
export declare enum PromotionalEntitlementPeriod {
|
|
1819
|
-
Custom = "CUSTOM",
|
|
1820
|
-
Lifetime = "LIFETIME",
|
|
1821
|
-
OneMonth = "ONE_MONTH",
|
|
1822
|
-
OneWeek = "ONE_WEEK",
|
|
1823
|
-
OneYear = "ONE_YEAR",
|
|
1824
|
-
SixMonth = "SIX_MONTH"
|
|
1825
|
-
}
|
|
1826
|
-
export declare type PromotionalEntitlementSort = {
|
|
1827
|
-
direction: SortDirection;
|
|
1828
|
-
field: PromotionalEntitlementSortFields;
|
|
1829
|
-
nulls?: Maybe<SortNulls>;
|
|
1830
|
-
};
|
|
1831
|
-
export declare enum PromotionalEntitlementSortFields {
|
|
1832
|
-
CreatedAt = "createdAt",
|
|
1833
|
-
EnvironmentId = "environmentId",
|
|
1834
|
-
Id = "id",
|
|
1835
|
-
Status = "status",
|
|
1836
|
-
UpdatedAt = "updatedAt"
|
|
1837
|
-
}
|
|
1838
|
-
/** Promotional entitlement status */
|
|
1839
|
-
export declare enum PromotionalEntitlementStatus {
|
|
1840
|
-
Active = "Active",
|
|
1841
|
-
Expired = "Expired",
|
|
1842
|
-
Paused = "Paused"
|
|
1843
|
-
}
|
|
1844
|
-
export declare type PromotionalEntitlementStatusFilterComparison = {
|
|
1845
|
-
eq?: Maybe<PromotionalEntitlementStatus>;
|
|
1846
|
-
gt?: Maybe<PromotionalEntitlementStatus>;
|
|
1847
|
-
gte?: Maybe<PromotionalEntitlementStatus>;
|
|
1848
|
-
iLike?: Maybe<PromotionalEntitlementStatus>;
|
|
1849
|
-
in?: Maybe<Array<PromotionalEntitlementStatus>>;
|
|
1850
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1851
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1852
|
-
like?: Maybe<PromotionalEntitlementStatus>;
|
|
1853
|
-
lt?: Maybe<PromotionalEntitlementStatus>;
|
|
1854
|
-
lte?: Maybe<PromotionalEntitlementStatus>;
|
|
1855
|
-
neq?: Maybe<PromotionalEntitlementStatus>;
|
|
1856
|
-
notILike?: Maybe<PromotionalEntitlementStatus>;
|
|
1857
|
-
notIn?: Maybe<Array<PromotionalEntitlementStatus>>;
|
|
1858
|
-
notLike?: Maybe<PromotionalEntitlementStatus>;
|
|
1859
|
-
};
|
|
1860
|
-
export declare type PromotionalEntitlementUpdateInput = {
|
|
1861
|
-
description?: Maybe<Scalars['String']>;
|
|
1862
|
-
endDate?: Maybe<Scalars['DateTime']>;
|
|
1863
|
-
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
1864
|
-
isVisible: Scalars['Boolean'];
|
|
1865
|
-
monthlyResetPeriodConfiguration?: Maybe<MonthlyResetPeriodConfigInput>;
|
|
1866
|
-
period: PromotionalEntitlementPeriod;
|
|
1867
|
-
resetPeriod?: Maybe<EntitlementResetPeriod>;
|
|
1868
|
-
usageLimit?: Maybe<Scalars['Float']>;
|
|
1869
|
-
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
1870
|
-
};
|
|
1871
|
-
export declare enum ProrationBehavior {
|
|
1872
|
-
CreateProrations = "CREATE_PRORATIONS",
|
|
1873
|
-
InvoiceImmediately = "INVOICE_IMMEDIATELY"
|
|
1874
|
-
}
|
|
1875
|
-
export declare type ProvisionCustomerInput = {
|
|
1876
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1877
|
-
billingId?: Maybe<Scalars['String']>;
|
|
1878
|
-
billingInformation?: Maybe<CustomerBillingInfo>;
|
|
1879
|
-
couponRefId?: Maybe<Scalars['String']>;
|
|
1880
|
-
createdAt?: Maybe<Scalars['DateTime']>;
|
|
1881
|
-
crmId?: Maybe<Scalars['String']>;
|
|
1882
|
-
customerId?: Maybe<Scalars['String']>;
|
|
1883
|
-
email?: Maybe<Scalars['String']>;
|
|
1884
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
1885
|
-
excludeFromExperiment?: Maybe<Scalars['Boolean']>;
|
|
1886
|
-
name?: Maybe<Scalars['String']>;
|
|
1887
|
-
refId?: Maybe<Scalars['String']>;
|
|
1888
|
-
shouldSyncFree?: Maybe<Scalars['Boolean']>;
|
|
1889
|
-
subscriptionParams?: Maybe<ProvisionCustomerSubscriptionInput>;
|
|
1890
|
-
};
|
|
1891
|
-
export declare type ProvisionCustomerSubscriptionInput = {
|
|
1892
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1893
|
-
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
1894
|
-
awaitPaymentConfirmation?: Maybe<Scalars['Boolean']>;
|
|
1895
|
-
billingInformation?: Maybe<SubscriptionBillingInfo>;
|
|
1896
|
-
billingPeriod?: Maybe<BillingPeriod>;
|
|
1897
|
-
planId: Scalars['String'];
|
|
1898
|
-
priceUnitAmount?: Maybe<Scalars['Float']>;
|
|
1899
|
-
promotionCode?: Maybe<Scalars['String']>;
|
|
1900
|
-
refId?: Maybe<Scalars['String']>;
|
|
1901
|
-
resourceId?: Maybe<Scalars['String']>;
|
|
1902
|
-
startDate?: Maybe<Scalars['DateTime']>;
|
|
1903
|
-
subscriptionId?: Maybe<Scalars['String']>;
|
|
1904
|
-
};
|
|
1905
|
-
export declare type ProvisionSubscription = {
|
|
1906
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1907
|
-
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
1908
|
-
awaitPaymentConfirmation?: Maybe<Scalars['Boolean']>;
|
|
1909
|
-
billingInformation?: Maybe<SubscriptionBillingInfo>;
|
|
1910
|
-
billingPeriod?: Maybe<BillingPeriod>;
|
|
1911
|
-
checkoutOptions?: Maybe<CheckoutOptions>;
|
|
1912
|
-
customerId: Scalars['String'];
|
|
1913
|
-
planId: Scalars['String'];
|
|
1914
|
-
priceUnitAmount?: Maybe<Scalars['Float']>;
|
|
1915
|
-
promotionCode?: Maybe<Scalars['String']>;
|
|
1916
|
-
refId?: Maybe<Scalars['String']>;
|
|
1917
|
-
resourceId?: Maybe<Scalars['String']>;
|
|
1918
|
-
skipTrial?: Maybe<Scalars['Boolean']>;
|
|
1919
|
-
startDate?: Maybe<Scalars['DateTime']>;
|
|
1920
|
-
subscriptionId?: Maybe<Scalars['String']>;
|
|
1921
|
-
};
|
|
1922
|
-
export declare type ProvisionSubscriptionInput = {
|
|
1923
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
1924
|
-
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
1925
|
-
awaitPaymentConfirmation?: Maybe<Scalars['Boolean']>;
|
|
1926
|
-
billingInformation?: Maybe<SubscriptionBillingInfo>;
|
|
1927
|
-
billingPeriod?: Maybe<BillingPeriod>;
|
|
1928
|
-
checkoutOptions?: Maybe<CheckoutOptions>;
|
|
1929
|
-
customerId: Scalars['String'];
|
|
1930
|
-
planId: Scalars['String'];
|
|
1931
|
-
priceUnitAmount?: Maybe<Scalars['Float']>;
|
|
1932
|
-
promotionCode?: Maybe<Scalars['String']>;
|
|
1933
|
-
refId?: Maybe<Scalars['String']>;
|
|
1934
|
-
resourceId?: Maybe<Scalars['String']>;
|
|
1935
|
-
skipTrial?: Maybe<Scalars['Boolean']>;
|
|
1936
|
-
startDate?: Maybe<Scalars['DateTime']>;
|
|
1937
|
-
subscriptionId?: Maybe<Scalars['String']>;
|
|
1938
|
-
};
|
|
1939
|
-
/** Provision subscription status */
|
|
1940
|
-
export declare enum ProvisionSubscriptionStatus {
|
|
1941
|
-
PaymentRequired = "PAYMENT_REQUIRED",
|
|
1942
|
-
Success = "SUCCESS"
|
|
1943
|
-
}
|
|
1944
|
-
/** PublishMigrationType */
|
|
1945
|
-
export declare enum PublishMigrationType {
|
|
1946
|
-
AllCustomers = "ALL_CUSTOMERS",
|
|
1947
|
-
NewCustomers = "NEW_CUSTOMERS"
|
|
1948
|
-
}
|
|
1949
|
-
export declare type RemoveBasePlanFromPlanInput = {
|
|
1950
|
-
/** The id of the record. */
|
|
1951
|
-
id: Scalars['String'];
|
|
1952
|
-
/** The id of relation. */
|
|
1953
|
-
relationId: Scalars['String'];
|
|
1954
|
-
};
|
|
1955
|
-
export declare type RemoveCompatibleAddonsFromPlanInput = {
|
|
1956
|
-
/** The id of the record. */
|
|
1957
|
-
id: Scalars['String'];
|
|
1958
|
-
/** The ids of the relations. */
|
|
1959
|
-
relationIds: Array<Scalars['String']>;
|
|
1960
|
-
};
|
|
1961
|
-
export declare type RemoveCouponFromCustomerInput = {
|
|
1962
|
-
/** The id of the record. */
|
|
1963
|
-
id: Scalars['String'];
|
|
1964
|
-
/** The id of relation. */
|
|
1965
|
-
relationId: Scalars['String'];
|
|
1966
|
-
};
|
|
1967
|
-
export declare type RemoveCouponFromCustomerSubscriptionInput = {
|
|
1968
|
-
/** The id of the record. */
|
|
1969
|
-
id: Scalars['String'];
|
|
1970
|
-
/** The id of relation. */
|
|
1971
|
-
relationId: Scalars['String'];
|
|
1972
|
-
};
|
|
1973
|
-
export declare type RemoveExperimentFromCustomerInput = {
|
|
1974
|
-
/** The id of the record. */
|
|
1975
|
-
id: Scalars['String'];
|
|
1976
|
-
/** The id of relation. */
|
|
1977
|
-
relationId: Scalars['String'];
|
|
1978
|
-
};
|
|
1979
|
-
export declare type RemoveExperimentFromCustomerSubscriptionInput = {
|
|
1980
|
-
/** The id of the record. */
|
|
1981
|
-
id: Scalars['String'];
|
|
1982
|
-
/** The id of relation. */
|
|
1983
|
-
relationId: Scalars['String'];
|
|
1984
|
-
};
|
|
1985
|
-
export declare type ResyncIntegrationInput = {
|
|
1986
|
-
environmentId: Scalars['String'];
|
|
1987
|
-
vendorIdentifier: VendorIdentifier;
|
|
1988
|
-
};
|
|
1989
|
-
export declare type SetBasePlanOnPlanInput = {
|
|
1990
|
-
/** The id of the record. */
|
|
1991
|
-
id: Scalars['String'];
|
|
1992
|
-
/** The id of relation. */
|
|
1993
|
-
relationId: Scalars['String'];
|
|
1994
|
-
};
|
|
1995
|
-
export declare type SetCompatibleAddonsOnPlanInput = {
|
|
1996
|
-
/** The id of the record. */
|
|
1997
|
-
id: Scalars['String'];
|
|
1998
|
-
/** The ids of the relations. */
|
|
1999
|
-
relationIds: Array<Scalars['String']>;
|
|
2000
|
-
};
|
|
2001
|
-
export declare type SetCouponOnCustomerInput = {
|
|
2002
|
-
/** The id of the record. */
|
|
2003
|
-
id: Scalars['String'];
|
|
2004
|
-
/** The id of relation. */
|
|
2005
|
-
relationId: Scalars['String'];
|
|
2006
|
-
};
|
|
2007
|
-
export declare type SetCouponOnCustomerSubscriptionInput = {
|
|
2008
|
-
/** The id of the record. */
|
|
2009
|
-
id: Scalars['String'];
|
|
2010
|
-
/** The id of relation. */
|
|
2011
|
-
relationId: Scalars['String'];
|
|
2012
|
-
};
|
|
2013
|
-
export declare type SetExperimentOnCustomerInput = {
|
|
2014
|
-
/** The id of the record. */
|
|
2015
|
-
id: Scalars['String'];
|
|
2016
|
-
/** The id of relation. */
|
|
2017
|
-
relationId: Scalars['String'];
|
|
2018
|
-
};
|
|
2019
|
-
export declare type SetExperimentOnCustomerSubscriptionInput = {
|
|
2020
|
-
/** The id of the record. */
|
|
2021
|
-
id: Scalars['String'];
|
|
2022
|
-
/** The id of relation. */
|
|
2023
|
-
relationId: Scalars['String'];
|
|
2024
|
-
};
|
|
2025
|
-
/** Sort Directions */
|
|
2026
|
-
export declare enum SortDirection {
|
|
2027
|
-
Asc = "ASC",
|
|
2028
|
-
Desc = "DESC"
|
|
2029
|
-
}
|
|
2030
|
-
/** Sort Nulls Options */
|
|
2031
|
-
export declare enum SortNulls {
|
|
2032
|
-
NullsFirst = "NULLS_FIRST",
|
|
2033
|
-
NullsLast = "NULLS_LAST"
|
|
2034
|
-
}
|
|
2035
|
-
export declare enum SourceType {
|
|
2036
|
-
JsClientSdk = "JS_CLIENT_SDK",
|
|
2037
|
-
NodeServerSdk = "NODE_SERVER_SDK"
|
|
2038
|
-
}
|
|
2039
|
-
export declare type StartExperimentInput = {
|
|
2040
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2041
|
-
refId: Scalars['String'];
|
|
2042
|
-
};
|
|
2043
|
-
export declare type StopExperimentInput = {
|
|
2044
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2045
|
-
refId: Scalars['String'];
|
|
2046
|
-
};
|
|
2047
|
-
export declare type StringFieldComparison = {
|
|
2048
|
-
eq?: Maybe<Scalars['String']>;
|
|
2049
|
-
gt?: Maybe<Scalars['String']>;
|
|
2050
|
-
gte?: Maybe<Scalars['String']>;
|
|
2051
|
-
iLike?: Maybe<Scalars['String']>;
|
|
2052
|
-
in?: Maybe<Array<Scalars['String']>>;
|
|
2053
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
2054
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
2055
|
-
like?: Maybe<Scalars['String']>;
|
|
2056
|
-
lt?: Maybe<Scalars['String']>;
|
|
2057
|
-
lte?: Maybe<Scalars['String']>;
|
|
2058
|
-
neq?: Maybe<Scalars['String']>;
|
|
2059
|
-
notILike?: Maybe<Scalars['String']>;
|
|
2060
|
-
notIn?: Maybe<Array<Scalars['String']>>;
|
|
2061
|
-
notLike?: Maybe<Scalars['String']>;
|
|
2062
|
-
};
|
|
2063
|
-
export declare type StripeCredentialsInput = {
|
|
2064
|
-
accountId?: Maybe<Scalars['String']>;
|
|
2065
|
-
authorizationCode: Scalars['String'];
|
|
2066
|
-
isTestMode: Scalars['Boolean'];
|
|
2067
|
-
};
|
|
2068
|
-
export declare type StripeCustomerSearchInput = {
|
|
2069
|
-
customerName?: Maybe<Scalars['String']>;
|
|
2070
|
-
environmentId: Scalars['String'];
|
|
2071
|
-
nextPage?: Maybe<Scalars['String']>;
|
|
2072
|
-
};
|
|
2073
|
-
export declare type StripeProductSearchInput = {
|
|
2074
|
-
environmentId: Scalars['String'];
|
|
2075
|
-
nextPage?: Maybe<Scalars['String']>;
|
|
2076
|
-
productName?: Maybe<Scalars['String']>;
|
|
2077
|
-
};
|
|
2078
|
-
export declare type StripeSubscriptionSearchInput = {
|
|
2079
|
-
environmentId: Scalars['String'];
|
|
2080
|
-
nextPage?: Maybe<Scalars['String']>;
|
|
2081
|
-
};
|
|
2082
|
-
export declare type SubscriptionAddonFilter = {
|
|
2083
|
-
addon?: Maybe<SubscriptionAddonFilterAddonFilter>;
|
|
2084
|
-
and?: Maybe<Array<SubscriptionAddonFilter>>;
|
|
2085
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2086
|
-
id?: Maybe<StringFieldComparison>;
|
|
2087
|
-
or?: Maybe<Array<SubscriptionAddonFilter>>;
|
|
2088
|
-
price?: Maybe<SubscriptionAddonFilterPriceFilter>;
|
|
2089
|
-
quantity?: Maybe<NumberFieldComparison>;
|
|
2090
|
-
subscription?: Maybe<SubscriptionAddonFilterCustomerSubscriptionFilter>;
|
|
2091
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
2092
|
-
};
|
|
2093
|
-
export declare type SubscriptionAddonFilterAddonFilter = {
|
|
2094
|
-
and?: Maybe<Array<SubscriptionAddonFilterAddonFilter>>;
|
|
2095
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
2096
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2097
|
-
description?: Maybe<StringFieldComparison>;
|
|
2098
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
2099
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2100
|
-
id?: Maybe<StringFieldComparison>;
|
|
2101
|
-
isLatest?: Maybe<BooleanFieldComparison>;
|
|
2102
|
-
or?: Maybe<Array<SubscriptionAddonFilterAddonFilter>>;
|
|
2103
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
2104
|
-
productId?: Maybe<StringFieldComparison>;
|
|
2105
|
-
refId?: Maybe<StringFieldComparison>;
|
|
2106
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
2107
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
2108
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
2109
|
-
};
|
|
2110
|
-
export declare type SubscriptionAddonFilterCustomerSubscriptionFilter = {
|
|
2111
|
-
and?: Maybe<Array<SubscriptionAddonFilterCustomerSubscriptionFilter>>;
|
|
2112
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
2113
|
-
cancelReason?: Maybe<SubscriptionCancelReasonFilterComparison>;
|
|
2114
|
-
cancellationDate?: Maybe<DateFieldComparison>;
|
|
2115
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2116
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
2117
|
-
crmLinkUrl?: Maybe<StringFieldComparison>;
|
|
2118
|
-
effectiveEndDate?: Maybe<DateFieldComparison>;
|
|
2119
|
-
endDate?: Maybe<DateFieldComparison>;
|
|
2120
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2121
|
-
id?: Maybe<StringFieldComparison>;
|
|
2122
|
-
oldBillingId?: Maybe<StringFieldComparison>;
|
|
2123
|
-
or?: Maybe<Array<SubscriptionAddonFilterCustomerSubscriptionFilter>>;
|
|
2124
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
2125
|
-
refId?: Maybe<StringFieldComparison>;
|
|
2126
|
-
startDate?: Maybe<DateFieldComparison>;
|
|
2127
|
-
status?: Maybe<SubscriptionStatusFilterComparison>;
|
|
2128
|
-
subscriptionId?: Maybe<StringFieldComparison>;
|
|
2129
|
-
trialEndDate?: Maybe<DateFieldComparison>;
|
|
2130
|
-
};
|
|
2131
|
-
export declare type SubscriptionAddonFilterPriceFilter = {
|
|
2132
|
-
and?: Maybe<Array<SubscriptionAddonFilterPriceFilter>>;
|
|
2133
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
2134
|
-
billingModel?: Maybe<BillingModelFilterComparison>;
|
|
2135
|
-
billingPeriod?: Maybe<BillingPeriodFilterComparison>;
|
|
2136
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2137
|
-
id?: Maybe<StringFieldComparison>;
|
|
2138
|
-
or?: Maybe<Array<SubscriptionAddonFilterPriceFilter>>;
|
|
2139
|
-
};
|
|
2140
|
-
export declare type SubscriptionAddonInput = {
|
|
2141
|
-
addonId: Scalars['String'];
|
|
2142
|
-
quantity?: Maybe<Scalars['Int']>;
|
|
2143
|
-
};
|
|
2144
|
-
export declare type SubscriptionAddonSort = {
|
|
2145
|
-
direction: SortDirection;
|
|
2146
|
-
field: SubscriptionAddonSortFields;
|
|
2147
|
-
nulls?: Maybe<SortNulls>;
|
|
2148
|
-
};
|
|
2149
|
-
export declare enum SubscriptionAddonSortFields {
|
|
2150
|
-
CreatedAt = "createdAt",
|
|
2151
|
-
Id = "id",
|
|
2152
|
-
Quantity = "quantity",
|
|
2153
|
-
UpdatedAt = "updatedAt"
|
|
2154
|
-
}
|
|
2155
|
-
export declare type SubscriptionBillingInfo = {
|
|
2156
|
-
taxRateIds?: Maybe<Array<Scalars['String']>>;
|
|
2157
|
-
};
|
|
2158
|
-
/** Subscription cancellation status */
|
|
2159
|
-
export declare enum SubscriptionCancelReason {
|
|
2160
|
-
CancelledByBilling = "CancelledByBilling",
|
|
2161
|
-
DetachBilling = "DetachBilling",
|
|
2162
|
-
Expired = "Expired",
|
|
2163
|
-
Immediate = "Immediate",
|
|
2164
|
-
PendingPaymentExpired = "PendingPaymentExpired",
|
|
2165
|
-
ScheduledCancellation = "ScheduledCancellation",
|
|
2166
|
-
TrialConverted = "TrialConverted",
|
|
2167
|
-
TrialEnded = "TrialEnded",
|
|
2168
|
-
UpgradeOrDowngrade = "UpgradeOrDowngrade"
|
|
2169
|
-
}
|
|
2170
|
-
export declare type SubscriptionCancelReasonFilterComparison = {
|
|
2171
|
-
eq?: Maybe<SubscriptionCancelReason>;
|
|
2172
|
-
gt?: Maybe<SubscriptionCancelReason>;
|
|
2173
|
-
gte?: Maybe<SubscriptionCancelReason>;
|
|
2174
|
-
iLike?: Maybe<SubscriptionCancelReason>;
|
|
2175
|
-
in?: Maybe<Array<SubscriptionCancelReason>>;
|
|
2176
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
2177
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
2178
|
-
like?: Maybe<SubscriptionCancelReason>;
|
|
2179
|
-
lt?: Maybe<SubscriptionCancelReason>;
|
|
2180
|
-
lte?: Maybe<SubscriptionCancelReason>;
|
|
2181
|
-
neq?: Maybe<SubscriptionCancelReason>;
|
|
2182
|
-
notILike?: Maybe<SubscriptionCancelReason>;
|
|
2183
|
-
notIn?: Maybe<Array<SubscriptionCancelReason>>;
|
|
2184
|
-
notLike?: Maybe<SubscriptionCancelReason>;
|
|
2185
|
-
};
|
|
2186
|
-
export declare type SubscriptionCancellationInput = {
|
|
2187
|
-
endDate?: Maybe<Scalars['DateTime']>;
|
|
2188
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2189
|
-
subscriptionCancellationTime?: Maybe<SubscriptionCancellationTime>;
|
|
2190
|
-
subscriptionRefId: Scalars['String'];
|
|
2191
|
-
};
|
|
2192
|
-
export declare enum SubscriptionCancellationTime {
|
|
2193
|
-
EndOfBillingPeriod = "END_OF_BILLING_PERIOD",
|
|
2194
|
-
Immediate = "IMMEDIATE",
|
|
2195
|
-
SpecificDate = "SPECIFIC_DATE"
|
|
2196
|
-
}
|
|
2197
|
-
/** Subscription decision strategy */
|
|
2198
|
-
export declare enum SubscriptionDecisionStrategy {
|
|
2199
|
-
PredefinedFreePlan = "PREDEFINED_FREE_PLAN",
|
|
2200
|
-
PredefinedTrialPlan = "PREDEFINED_TRIAL_PLAN",
|
|
2201
|
-
RequestedPlan = "REQUESTED_PLAN",
|
|
2202
|
-
SkippedSubscriptionCreation = "SKIPPED_SUBSCRIPTION_CREATION"
|
|
2203
|
-
}
|
|
2204
|
-
export declare enum SubscriptionEndSetup {
|
|
2205
|
-
CancelSubscription = "CANCEL_SUBSCRIPTION",
|
|
2206
|
-
DowngradeToFree = "DOWNGRADE_TO_FREE"
|
|
2207
|
-
}
|
|
2208
|
-
export declare type SubscriptionEntitlementFilter = {
|
|
2209
|
-
and?: Maybe<Array<SubscriptionEntitlementFilter>>;
|
|
2210
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2211
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2212
|
-
feature?: Maybe<SubscriptionEntitlementFilterFeatureFilter>;
|
|
2213
|
-
id?: Maybe<StringFieldComparison>;
|
|
2214
|
-
or?: Maybe<Array<SubscriptionEntitlementFilter>>;
|
|
2215
|
-
subscription?: Maybe<SubscriptionEntitlementFilterCustomerSubscriptionFilter>;
|
|
2216
|
-
subscriptionId?: Maybe<StringFieldComparison>;
|
|
2217
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
2218
|
-
};
|
|
2219
|
-
export declare type SubscriptionEntitlementFilterCustomerSubscriptionFilter = {
|
|
2220
|
-
and?: Maybe<Array<SubscriptionEntitlementFilterCustomerSubscriptionFilter>>;
|
|
2221
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
2222
|
-
cancelReason?: Maybe<SubscriptionCancelReasonFilterComparison>;
|
|
2223
|
-
cancellationDate?: Maybe<DateFieldComparison>;
|
|
2224
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2225
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
2226
|
-
crmLinkUrl?: Maybe<StringFieldComparison>;
|
|
2227
|
-
effectiveEndDate?: Maybe<DateFieldComparison>;
|
|
2228
|
-
endDate?: Maybe<DateFieldComparison>;
|
|
2229
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2230
|
-
id?: Maybe<StringFieldComparison>;
|
|
2231
|
-
oldBillingId?: Maybe<StringFieldComparison>;
|
|
2232
|
-
or?: Maybe<Array<SubscriptionEntitlementFilterCustomerSubscriptionFilter>>;
|
|
2233
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
2234
|
-
refId?: Maybe<StringFieldComparison>;
|
|
2235
|
-
startDate?: Maybe<DateFieldComparison>;
|
|
2236
|
-
status?: Maybe<SubscriptionStatusFilterComparison>;
|
|
2237
|
-
subscriptionId?: Maybe<StringFieldComparison>;
|
|
2238
|
-
trialEndDate?: Maybe<DateFieldComparison>;
|
|
2239
|
-
};
|
|
2240
|
-
export declare type SubscriptionEntitlementFilterFeatureFilter = {
|
|
2241
|
-
and?: Maybe<Array<SubscriptionEntitlementFilterFeatureFilter>>;
|
|
2242
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2243
|
-
description?: Maybe<StringFieldComparison>;
|
|
2244
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
2245
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2246
|
-
featureStatus?: Maybe<FeatureStatusFilterComparison>;
|
|
2247
|
-
featureType?: Maybe<FeatureTypeFilterComparison>;
|
|
2248
|
-
id?: Maybe<StringFieldComparison>;
|
|
2249
|
-
meterType?: Maybe<MeterTypeFilterComparison>;
|
|
2250
|
-
or?: Maybe<Array<SubscriptionEntitlementFilterFeatureFilter>>;
|
|
2251
|
-
refId?: Maybe<StringFieldComparison>;
|
|
2252
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
2253
|
-
};
|
|
2254
|
-
export declare type SubscriptionEntitlementInput = {
|
|
2255
|
-
description?: Maybe<Scalars['String']>;
|
|
2256
|
-
featureId: Scalars['String'];
|
|
2257
|
-
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
2258
|
-
monthlyResetPeriodConfiguration?: Maybe<MonthlyResetPeriodConfigInput>;
|
|
2259
|
-
resetPeriod?: Maybe<EntitlementResetPeriod>;
|
|
2260
|
-
usageLimit?: Maybe<Scalars['Float']>;
|
|
2261
|
-
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
2262
|
-
};
|
|
2263
|
-
export declare type SubscriptionEntitlementSort = {
|
|
2264
|
-
direction: SortDirection;
|
|
2265
|
-
field: SubscriptionEntitlementSortFields;
|
|
2266
|
-
nulls?: Maybe<SortNulls>;
|
|
2267
|
-
};
|
|
2268
|
-
export declare enum SubscriptionEntitlementSortFields {
|
|
2269
|
-
CreatedAt = "createdAt",
|
|
2270
|
-
EnvironmentId = "environmentId",
|
|
2271
|
-
Id = "id",
|
|
2272
|
-
SubscriptionId = "subscriptionId",
|
|
2273
|
-
UpdatedAt = "updatedAt"
|
|
2274
|
-
}
|
|
2275
|
-
export declare type SubscriptionInput = {
|
|
2276
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
2277
|
-
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
2278
|
-
awaitPaymentConfirmation?: Maybe<Scalars['Boolean']>;
|
|
2279
|
-
billingId?: Maybe<Scalars['String']>;
|
|
2280
|
-
billingInformation?: Maybe<SubscriptionBillingInfo>;
|
|
2281
|
-
billingPeriod?: Maybe<BillingPeriod>;
|
|
2282
|
-
crmId?: Maybe<Scalars['String']>;
|
|
2283
|
-
customerId: Scalars['String'];
|
|
2284
|
-
endDate?: Maybe<Scalars['DateTime']>;
|
|
2285
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2286
|
-
isCustomPriceSubscription?: Maybe<Scalars['Boolean']>;
|
|
2287
|
-
isOverridingTrialConfig?: Maybe<Scalars['Boolean']>;
|
|
2288
|
-
isTrial?: Maybe<Scalars['Boolean']>;
|
|
2289
|
-
planId: Scalars['String'];
|
|
2290
|
-
priceUnitAmount?: Maybe<Scalars['Float']>;
|
|
2291
|
-
promotionCode?: Maybe<Scalars['String']>;
|
|
2292
|
-
refId?: Maybe<Scalars['String']>;
|
|
2293
|
-
resourceId?: Maybe<Scalars['String']>;
|
|
2294
|
-
startDate?: Maybe<Scalars['DateTime']>;
|
|
2295
|
-
subscriptionEntitlements?: Maybe<Array<SubscriptionEntitlementInput>>;
|
|
2296
|
-
subscriptionId?: Maybe<Scalars['String']>;
|
|
2297
|
-
};
|
|
2298
|
-
export declare type SubscriptionMigrationInput = {
|
|
2299
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2300
|
-
subscriptionId: Scalars['String'];
|
|
2301
|
-
};
|
|
2302
|
-
export declare type SubscriptionMigrationTaskFilter = {
|
|
2303
|
-
and?: Maybe<Array<SubscriptionMigrationTaskFilter>>;
|
|
2304
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2305
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2306
|
-
id?: Maybe<StringFieldComparison>;
|
|
2307
|
-
or?: Maybe<Array<SubscriptionMigrationTaskFilter>>;
|
|
2308
|
-
status?: Maybe<TaskStatusFilterComparison>;
|
|
2309
|
-
taskType?: Maybe<TaskTypeFilterComparison>;
|
|
2310
|
-
};
|
|
2311
|
-
export declare type SubscriptionMigrationTaskSort = {
|
|
2312
|
-
direction: SortDirection;
|
|
2313
|
-
field: SubscriptionMigrationTaskSortFields;
|
|
2314
|
-
nulls?: Maybe<SortNulls>;
|
|
2315
|
-
};
|
|
2316
|
-
export declare enum SubscriptionMigrationTaskSortFields {
|
|
2317
|
-
CreatedAt = "createdAt",
|
|
2318
|
-
EnvironmentId = "environmentId",
|
|
2319
|
-
Id = "id",
|
|
2320
|
-
Status = "status",
|
|
2321
|
-
TaskType = "taskType"
|
|
2322
|
-
}
|
|
2323
|
-
export declare type SubscriptionPriceFilter = {
|
|
2324
|
-
and?: Maybe<Array<SubscriptionPriceFilter>>;
|
|
2325
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2326
|
-
id?: Maybe<StringFieldComparison>;
|
|
2327
|
-
or?: Maybe<Array<SubscriptionPriceFilter>>;
|
|
2328
|
-
price?: Maybe<SubscriptionPriceFilterPriceFilter>;
|
|
2329
|
-
subscription?: Maybe<SubscriptionPriceFilterCustomerSubscriptionFilter>;
|
|
2330
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
2331
|
-
usageLimit?: Maybe<NumberFieldComparison>;
|
|
2332
|
-
};
|
|
2333
|
-
export declare type SubscriptionPriceFilterCustomerSubscriptionFilter = {
|
|
2334
|
-
and?: Maybe<Array<SubscriptionPriceFilterCustomerSubscriptionFilter>>;
|
|
2335
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
2336
|
-
cancelReason?: Maybe<SubscriptionCancelReasonFilterComparison>;
|
|
2337
|
-
cancellationDate?: Maybe<DateFieldComparison>;
|
|
2338
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2339
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
2340
|
-
crmLinkUrl?: Maybe<StringFieldComparison>;
|
|
2341
|
-
effectiveEndDate?: Maybe<DateFieldComparison>;
|
|
2342
|
-
endDate?: Maybe<DateFieldComparison>;
|
|
2343
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2344
|
-
id?: Maybe<StringFieldComparison>;
|
|
2345
|
-
oldBillingId?: Maybe<StringFieldComparison>;
|
|
2346
|
-
or?: Maybe<Array<SubscriptionPriceFilterCustomerSubscriptionFilter>>;
|
|
2347
|
-
pricingType?: Maybe<PricingTypeFilterComparison>;
|
|
2348
|
-
refId?: Maybe<StringFieldComparison>;
|
|
2349
|
-
startDate?: Maybe<DateFieldComparison>;
|
|
2350
|
-
status?: Maybe<SubscriptionStatusFilterComparison>;
|
|
2351
|
-
subscriptionId?: Maybe<StringFieldComparison>;
|
|
2352
|
-
trialEndDate?: Maybe<DateFieldComparison>;
|
|
2353
|
-
};
|
|
2354
|
-
export declare type SubscriptionPriceFilterPriceFilter = {
|
|
2355
|
-
and?: Maybe<Array<SubscriptionPriceFilterPriceFilter>>;
|
|
2356
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
2357
|
-
billingModel?: Maybe<BillingModelFilterComparison>;
|
|
2358
|
-
billingPeriod?: Maybe<BillingPeriodFilterComparison>;
|
|
2359
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2360
|
-
id?: Maybe<StringFieldComparison>;
|
|
2361
|
-
or?: Maybe<Array<SubscriptionPriceFilterPriceFilter>>;
|
|
2362
|
-
};
|
|
2363
|
-
export declare type SubscriptionPriceSort = {
|
|
2364
|
-
direction: SortDirection;
|
|
2365
|
-
field: SubscriptionPriceSortFields;
|
|
2366
|
-
nulls?: Maybe<SortNulls>;
|
|
2367
|
-
};
|
|
2368
|
-
export declare enum SubscriptionPriceSortFields {
|
|
2369
|
-
CreatedAt = "createdAt",
|
|
2370
|
-
Id = "id",
|
|
2371
|
-
UpdatedAt = "updatedAt",
|
|
2372
|
-
UsageLimit = "usageLimit"
|
|
2373
|
-
}
|
|
2374
|
-
/** Subscription scheduled schedule status */
|
|
2375
|
-
export declare enum SubscriptionScheduleStatus {
|
|
2376
|
-
Canceled = "Canceled",
|
|
2377
|
-
Done = "Done",
|
|
2378
|
-
Failed = "Failed",
|
|
2379
|
-
Scheduled = "Scheduled"
|
|
2380
|
-
}
|
|
2381
|
-
/** Subscription scheduled schedule type */
|
|
2382
|
-
export declare enum SubscriptionScheduleType {
|
|
2383
|
-
BillingPeriod = "BillingPeriod",
|
|
2384
|
-
Downgrade = "Downgrade",
|
|
2385
|
-
UnitAmount = "UnitAmount"
|
|
2386
|
-
}
|
|
2387
|
-
export declare enum SubscriptionStartSetup {
|
|
2388
|
-
FreePlan = "FREE_PLAN",
|
|
2389
|
-
PlanSelection = "PLAN_SELECTION",
|
|
2390
|
-
TrialPeriod = "TRIAL_PERIOD"
|
|
2391
|
-
}
|
|
2392
|
-
/** Subscription status */
|
|
2393
|
-
export declare enum SubscriptionStatus {
|
|
2394
|
-
Active = "ACTIVE",
|
|
2395
|
-
Canceled = "CANCELED",
|
|
2396
|
-
Expired = "EXPIRED",
|
|
2397
|
-
InTrial = "IN_TRIAL",
|
|
2398
|
-
NotStarted = "NOT_STARTED",
|
|
2399
|
-
PaymentPending = "PAYMENT_PENDING"
|
|
2400
|
-
}
|
|
2401
|
-
export declare type SubscriptionStatusFilterComparison = {
|
|
2402
|
-
eq?: Maybe<SubscriptionStatus>;
|
|
2403
|
-
gt?: Maybe<SubscriptionStatus>;
|
|
2404
|
-
gte?: Maybe<SubscriptionStatus>;
|
|
2405
|
-
iLike?: Maybe<SubscriptionStatus>;
|
|
2406
|
-
in?: Maybe<Array<SubscriptionStatus>>;
|
|
2407
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
2408
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
2409
|
-
like?: Maybe<SubscriptionStatus>;
|
|
2410
|
-
lt?: Maybe<SubscriptionStatus>;
|
|
2411
|
-
lte?: Maybe<SubscriptionStatus>;
|
|
2412
|
-
neq?: Maybe<SubscriptionStatus>;
|
|
2413
|
-
notILike?: Maybe<SubscriptionStatus>;
|
|
2414
|
-
notIn?: Maybe<Array<SubscriptionStatus>>;
|
|
2415
|
-
notLike?: Maybe<SubscriptionStatus>;
|
|
2416
|
-
};
|
|
2417
|
-
export declare type SubscriptionUpdateScheduleCancellationInput = {
|
|
2418
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2419
|
-
subscriptionId: Scalars['String'];
|
|
2420
|
-
};
|
|
2421
|
-
/** Status of the integration sync */
|
|
2422
|
-
export declare enum SyncStatus {
|
|
2423
|
-
Error = "ERROR",
|
|
2424
|
-
NoSyncRequired = "NO_SYNC_REQUIRED",
|
|
2425
|
-
Pending = "PENDING",
|
|
2426
|
-
Success = "SUCCESS"
|
|
2427
|
-
}
|
|
2428
|
-
export declare enum TaskStatus {
|
|
2429
|
-
Completed = "COMPLETED",
|
|
2430
|
-
Failed = "FAILED",
|
|
2431
|
-
InProgress = "IN_PROGRESS",
|
|
2432
|
-
PartiallyFailed = "PARTIALLY_FAILED",
|
|
2433
|
-
Pending = "PENDING"
|
|
2434
|
-
}
|
|
2435
|
-
export declare type TaskStatusFilterComparison = {
|
|
2436
|
-
eq?: Maybe<TaskStatus>;
|
|
2437
|
-
gt?: Maybe<TaskStatus>;
|
|
2438
|
-
gte?: Maybe<TaskStatus>;
|
|
2439
|
-
iLike?: Maybe<TaskStatus>;
|
|
2440
|
-
in?: Maybe<Array<TaskStatus>>;
|
|
2441
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
2442
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
2443
|
-
like?: Maybe<TaskStatus>;
|
|
2444
|
-
lt?: Maybe<TaskStatus>;
|
|
2445
|
-
lte?: Maybe<TaskStatus>;
|
|
2446
|
-
neq?: Maybe<TaskStatus>;
|
|
2447
|
-
notILike?: Maybe<TaskStatus>;
|
|
2448
|
-
notIn?: Maybe<Array<TaskStatus>>;
|
|
2449
|
-
notLike?: Maybe<TaskStatus>;
|
|
2450
|
-
};
|
|
2451
|
-
export declare enum TaskType {
|
|
2452
|
-
ImportIntegrationCatalog = "IMPORT_INTEGRATION_CATALOG",
|
|
2453
|
-
ImportIntegrationCustomers = "IMPORT_INTEGRATION_CUSTOMERS",
|
|
2454
|
-
ResyncIntegration = "RESYNC_INTEGRATION",
|
|
2455
|
-
SubscriptionMigration = "SUBSCRIPTION_MIGRATION"
|
|
2456
|
-
}
|
|
2457
|
-
export declare type TaskTypeFilterComparison = {
|
|
2458
|
-
eq?: Maybe<TaskType>;
|
|
2459
|
-
gt?: Maybe<TaskType>;
|
|
2460
|
-
gte?: Maybe<TaskType>;
|
|
2461
|
-
iLike?: Maybe<TaskType>;
|
|
2462
|
-
in?: Maybe<Array<TaskType>>;
|
|
2463
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
2464
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
2465
|
-
like?: Maybe<TaskType>;
|
|
2466
|
-
lt?: Maybe<TaskType>;
|
|
2467
|
-
lte?: Maybe<TaskType>;
|
|
2468
|
-
neq?: Maybe<TaskType>;
|
|
2469
|
-
notILike?: Maybe<TaskType>;
|
|
2470
|
-
notIn?: Maybe<Array<TaskType>>;
|
|
2471
|
-
notLike?: Maybe<TaskType>;
|
|
2472
|
-
};
|
|
2473
|
-
export declare type TaxExempt = {
|
|
2474
|
-
type: Scalars['String'];
|
|
2475
|
-
value: Scalars['String'];
|
|
2476
|
-
};
|
|
2477
|
-
export declare type TestHookInput = {
|
|
2478
|
-
endpointUrl: Scalars['String'];
|
|
2479
|
-
environmentId: Scalars['String'];
|
|
2480
|
-
hookEventType: EventLogType;
|
|
2481
|
-
};
|
|
2482
|
-
/** day or month. */
|
|
2483
|
-
export declare enum TrialPeriodUnits {
|
|
2484
|
-
Day = "DAY",
|
|
2485
|
-
Month = "MONTH"
|
|
2486
|
-
}
|
|
2487
|
-
export declare type TypographyConfigurationInput = {
|
|
2488
|
-
body?: Maybe<FontVariantInput>;
|
|
2489
|
-
fontFamily?: Maybe<Scalars['String']>;
|
|
2490
|
-
h1?: Maybe<FontVariantInput>;
|
|
2491
|
-
h2?: Maybe<FontVariantInput>;
|
|
2492
|
-
h3?: Maybe<FontVariantInput>;
|
|
2493
|
-
};
|
|
2494
|
-
export declare type UpdateAccountInput = {
|
|
2495
|
-
displayName: Scalars['String'];
|
|
2496
|
-
id: Scalars['String'];
|
|
2497
|
-
subscriptionBillingAnchor?: Maybe<BillingAnchor>;
|
|
2498
|
-
subscriptionProrationBehavior?: Maybe<ProrationBehavior>;
|
|
2499
|
-
timezone?: Maybe<Scalars['String']>;
|
|
2500
|
-
};
|
|
2501
|
-
export declare type UpdateCouponInput = {
|
|
2502
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
2503
|
-
description?: Maybe<Scalars['String']>;
|
|
2504
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2505
|
-
name: Scalars['String'];
|
|
2506
|
-
refId: Scalars['String'];
|
|
2507
|
-
};
|
|
2508
|
-
export declare type UpdateCustomerInput = {
|
|
2509
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
2510
|
-
billingId?: Maybe<Scalars['String']>;
|
|
2511
|
-
billingInformation?: Maybe<CustomerBillingInfo>;
|
|
2512
|
-
couponRefId?: Maybe<Scalars['String']>;
|
|
2513
|
-
crmId?: Maybe<Scalars['String']>;
|
|
2514
|
-
customerId?: Maybe<Scalars['String']>;
|
|
2515
|
-
email?: Maybe<Scalars['String']>;
|
|
2516
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2517
|
-
name?: Maybe<Scalars['String']>;
|
|
2518
|
-
refId?: Maybe<Scalars['String']>;
|
|
2519
|
-
};
|
|
2520
|
-
export declare type UpdateEnvironment = {
|
|
2521
|
-
createdAt?: Maybe<Scalars['DateTime']>;
|
|
2522
|
-
description?: Maybe<Scalars['String']>;
|
|
2523
|
-
displayName?: Maybe<Scalars['String']>;
|
|
2524
|
-
hardenClientAccessEnabled?: Maybe<Scalars['Boolean']>;
|
|
2525
|
-
id?: Maybe<Scalars['String']>;
|
|
2526
|
-
provisionStatus?: Maybe<EnvironmentProvisionStatus>;
|
|
2527
|
-
signingToken?: Maybe<Scalars['String']>;
|
|
2528
|
-
slug?: Maybe<Scalars['String']>;
|
|
2529
|
-
};
|
|
2530
|
-
export declare type UpdateExperimentInput = {
|
|
2531
|
-
controlGroupName?: Maybe<Scalars['String']>;
|
|
2532
|
-
description?: Maybe<Scalars['String']>;
|
|
2533
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2534
|
-
name?: Maybe<Scalars['String']>;
|
|
2535
|
-
productId?: Maybe<Scalars['String']>;
|
|
2536
|
-
productSettings?: Maybe<ProductSettingsInput>;
|
|
2537
|
-
refId: Scalars['String'];
|
|
2538
|
-
variantGroupName?: Maybe<Scalars['String']>;
|
|
2539
|
-
variantPercentage?: Maybe<Scalars['Float']>;
|
|
2540
|
-
};
|
|
2541
|
-
export declare type UpdateFeature = {
|
|
2542
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
2543
|
-
createdAt?: Maybe<Scalars['DateTime']>;
|
|
2544
|
-
description?: Maybe<Scalars['String']>;
|
|
2545
|
-
displayName?: Maybe<Scalars['String']>;
|
|
2546
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2547
|
-
featureStatus?: Maybe<FeatureStatus>;
|
|
2548
|
-
featureType?: Maybe<FeatureType>;
|
|
2549
|
-
featureUnits?: Maybe<Scalars['String']>;
|
|
2550
|
-
featureUnitsPlural?: Maybe<Scalars['String']>;
|
|
2551
|
-
id?: Maybe<Scalars['String']>;
|
|
2552
|
-
meterType?: Maybe<MeterType>;
|
|
2553
|
-
refId?: Maybe<Scalars['String']>;
|
|
2554
|
-
updatedAt?: Maybe<Scalars['DateTime']>;
|
|
2555
|
-
};
|
|
2556
|
-
export declare type UpdateFeatureInput = {
|
|
2557
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
2558
|
-
description?: Maybe<Scalars['String']>;
|
|
2559
|
-
displayName?: Maybe<Scalars['String']>;
|
|
2560
|
-
environmentId: Scalars['String'];
|
|
2561
|
-
featureUnits?: Maybe<Scalars['String']>;
|
|
2562
|
-
featureUnitsPlural?: Maybe<Scalars['String']>;
|
|
2563
|
-
refId: Scalars['String'];
|
|
2564
|
-
};
|
|
2565
|
-
export declare type UpdateHook = {
|
|
2566
|
-
createdAt?: Maybe<Scalars['DateTime']>;
|
|
2567
|
-
description?: Maybe<Scalars['String']>;
|
|
2568
|
-
endpoint?: Maybe<Scalars['String']>;
|
|
2569
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2570
|
-
eventLogTypes?: Maybe<Array<EventLogType>>;
|
|
2571
|
-
id?: Maybe<Scalars['String']>;
|
|
2572
|
-
secretKey?: Maybe<Scalars['String']>;
|
|
2573
|
-
status?: Maybe<HookStatus>;
|
|
2574
|
-
};
|
|
2575
|
-
export declare type UpdateIntegrationInput = {
|
|
2576
|
-
stripeCredentials?: Maybe<StripeCredentialsInput>;
|
|
2577
|
-
vendorIdentifier: VendorIdentifier;
|
|
2578
|
-
zuoraCredentials?: Maybe<ZuoraCredentialsInput>;
|
|
2579
|
-
};
|
|
2580
|
-
export declare type UpdateOneEnvironmentInput = {
|
|
2581
|
-
/** The id of the record to update */
|
|
2582
|
-
id: Scalars['String'];
|
|
2583
|
-
/** The update to apply. */
|
|
2584
|
-
update: UpdateEnvironment;
|
|
2585
|
-
};
|
|
2586
|
-
export declare type UpdateOneFeatureInput = {
|
|
2587
|
-
/** The id of the record to update */
|
|
2588
|
-
id: Scalars['String'];
|
|
2589
|
-
/** The update to apply. */
|
|
2590
|
-
update: UpdateFeature;
|
|
2591
|
-
};
|
|
2592
|
-
export declare type UpdateOneHookInput = {
|
|
2593
|
-
/** The id of the record to update */
|
|
2594
|
-
id: Scalars['String'];
|
|
2595
|
-
/** The update to apply. */
|
|
2596
|
-
update: UpdateHook;
|
|
2597
|
-
};
|
|
2598
|
-
export declare type UpdateOneIntegrationInput = {
|
|
2599
|
-
/** The id of the record to update */
|
|
2600
|
-
id: Scalars['String'];
|
|
2601
|
-
/** The update to apply. */
|
|
2602
|
-
update: UpdateIntegrationInput;
|
|
2603
|
-
};
|
|
2604
|
-
export declare type UpdateOnePackageEntitlementInput = {
|
|
2605
|
-
/** The id of the record to update */
|
|
2606
|
-
id: Scalars['String'];
|
|
2607
|
-
/** The update to apply. */
|
|
2608
|
-
update: PackageEntitlementUpdateInput;
|
|
2609
|
-
};
|
|
2610
|
-
export declare type UpdateOneProductInput = {
|
|
2611
|
-
/** The id of the record to update */
|
|
2612
|
-
id: Scalars['String'];
|
|
2613
|
-
/** The update to apply. */
|
|
2614
|
-
update: ProductUpdateInput;
|
|
2615
|
-
};
|
|
2616
|
-
export declare type UpdateOnePromotionalEntitlementInput = {
|
|
2617
|
-
/** The id of the record to update */
|
|
2618
|
-
id: Scalars['String'];
|
|
2619
|
-
/** The update to apply. */
|
|
2620
|
-
update: PromotionalEntitlementUpdateInput;
|
|
2621
|
-
};
|
|
2622
|
-
export declare type UpdatePackageEntitlementOrderInput = {
|
|
2623
|
-
entitlements: Array<UpdatePackageEntitlementOrderItemInput>;
|
|
2624
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2625
|
-
packageId: Scalars['String'];
|
|
2626
|
-
};
|
|
2627
|
-
export declare type UpdatePackageEntitlementOrderItemInput = {
|
|
2628
|
-
id: Scalars['String'];
|
|
2629
|
-
order?: Maybe<Scalars['Float']>;
|
|
2630
|
-
};
|
|
2631
|
-
export declare type UpdateSubscriptionEntitlementInput = {
|
|
2632
|
-
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
2633
|
-
id: Scalars['String'];
|
|
2634
|
-
monthlyResetPeriodConfiguration?: Maybe<MonthlyResetPeriodConfigInput>;
|
|
2635
|
-
resetPeriod?: Maybe<EntitlementResetPeriod>;
|
|
2636
|
-
usageLimit?: Maybe<Scalars['Float']>;
|
|
2637
|
-
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
2638
|
-
};
|
|
2639
|
-
export declare type UpdateSubscriptionInput = {
|
|
2640
|
-
additionalMetaData?: Maybe<Scalars['JSON']>;
|
|
2641
|
-
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
2642
|
-
billingPeriod?: Maybe<BillingPeriod>;
|
|
2643
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2644
|
-
promotionCode?: Maybe<Scalars['String']>;
|
|
2645
|
-
refId?: Maybe<Scalars['String']>;
|
|
2646
|
-
subscriptionEntitlements?: Maybe<Array<UpdateSubscriptionEntitlementInput>>;
|
|
2647
|
-
subscriptionId?: Maybe<Scalars['String']>;
|
|
2648
|
-
trialEndDate?: Maybe<Scalars['DateTime']>;
|
|
2649
|
-
unitQuantity?: Maybe<Scalars['Float']>;
|
|
2650
|
-
};
|
|
2651
|
-
export declare type UsageHistoryInput = {
|
|
2652
|
-
customerRefId: Scalars['String'];
|
|
2653
|
-
endDate?: Maybe<Scalars['DateTime']>;
|
|
2654
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2655
|
-
featureRefId: Scalars['String'];
|
|
2656
|
-
monthlyResetPeriodConfiguration?: Maybe<MonthlyResetPeriodConfigInput>;
|
|
2657
|
-
resetPeriod?: Maybe<EntitlementResetPeriod>;
|
|
2658
|
-
startDate: Scalars['DateTime'];
|
|
2659
|
-
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
2660
|
-
};
|
|
2661
|
-
export declare type UsageMeasurementCreateInput = {
|
|
2662
|
-
createdAt?: Maybe<Scalars['DateTime']>;
|
|
2663
|
-
customerId: Scalars['String'];
|
|
2664
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2665
|
-
featureId: Scalars['String'];
|
|
2666
|
-
resourceId?: Maybe<Scalars['String']>;
|
|
2667
|
-
value: Scalars['Float'];
|
|
2668
|
-
};
|
|
2669
|
-
export declare type UsageMeasurementFilter = {
|
|
2670
|
-
and?: Maybe<Array<UsageMeasurementFilter>>;
|
|
2671
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2672
|
-
customer?: Maybe<UsageMeasurementFilterCustomerFilter>;
|
|
2673
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2674
|
-
feature?: Maybe<UsageMeasurementFilterFeatureFilter>;
|
|
2675
|
-
id?: Maybe<StringFieldComparison>;
|
|
2676
|
-
or?: Maybe<Array<UsageMeasurementFilter>>;
|
|
2677
|
-
};
|
|
2678
|
-
export declare type UsageMeasurementFilterCustomerFilter = {
|
|
2679
|
-
and?: Maybe<Array<UsageMeasurementFilterCustomerFilter>>;
|
|
2680
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
2681
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2682
|
-
crmHubspotCompanyId?: Maybe<StringFieldComparison>;
|
|
2683
|
-
crmHubspotCompanyUrl?: Maybe<StringFieldComparison>;
|
|
2684
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
2685
|
-
customerId?: Maybe<StringFieldComparison>;
|
|
2686
|
-
email?: Maybe<StringFieldComparison>;
|
|
2687
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2688
|
-
id?: Maybe<StringFieldComparison>;
|
|
2689
|
-
name?: Maybe<StringFieldComparison>;
|
|
2690
|
-
or?: Maybe<Array<UsageMeasurementFilterCustomerFilter>>;
|
|
2691
|
-
refId?: Maybe<StringFieldComparison>;
|
|
2692
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
2693
|
-
};
|
|
2694
|
-
export declare type UsageMeasurementFilterFeatureFilter = {
|
|
2695
|
-
and?: Maybe<Array<UsageMeasurementFilterFeatureFilter>>;
|
|
2696
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
2697
|
-
description?: Maybe<StringFieldComparison>;
|
|
2698
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
2699
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
2700
|
-
featureStatus?: Maybe<FeatureStatusFilterComparison>;
|
|
2701
|
-
featureType?: Maybe<FeatureTypeFilterComparison>;
|
|
2702
|
-
id?: Maybe<StringFieldComparison>;
|
|
2703
|
-
meterType?: Maybe<MeterTypeFilterComparison>;
|
|
2704
|
-
or?: Maybe<Array<UsageMeasurementFilterFeatureFilter>>;
|
|
2705
|
-
refId?: Maybe<StringFieldComparison>;
|
|
2706
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
2707
|
-
};
|
|
2708
|
-
export declare type UsageMeasurementSort = {
|
|
2709
|
-
direction: SortDirection;
|
|
2710
|
-
field: UsageMeasurementSortFields;
|
|
2711
|
-
nulls?: Maybe<SortNulls>;
|
|
2712
|
-
};
|
|
2713
|
-
export declare enum UsageMeasurementSortFields {
|
|
2714
|
-
CreatedAt = "createdAt",
|
|
2715
|
-
EnvironmentId = "environmentId",
|
|
2716
|
-
Id = "id"
|
|
2717
|
-
}
|
|
2718
|
-
export declare enum VendorIdentifier {
|
|
2719
|
-
Hubspot = "HUBSPOT",
|
|
2720
|
-
Stripe = "STRIPE",
|
|
2721
|
-
Zuora = "ZUORA"
|
|
2722
|
-
}
|
|
2723
|
-
export declare type VendorIdentifierFilterComparison = {
|
|
2724
|
-
eq?: Maybe<VendorIdentifier>;
|
|
2725
|
-
gt?: Maybe<VendorIdentifier>;
|
|
2726
|
-
gte?: Maybe<VendorIdentifier>;
|
|
2727
|
-
iLike?: Maybe<VendorIdentifier>;
|
|
2728
|
-
in?: Maybe<Array<VendorIdentifier>>;
|
|
2729
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
2730
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
2731
|
-
like?: Maybe<VendorIdentifier>;
|
|
2732
|
-
lt?: Maybe<VendorIdentifier>;
|
|
2733
|
-
lte?: Maybe<VendorIdentifier>;
|
|
2734
|
-
neq?: Maybe<VendorIdentifier>;
|
|
2735
|
-
notILike?: Maybe<VendorIdentifier>;
|
|
2736
|
-
notIn?: Maybe<Array<VendorIdentifier>>;
|
|
2737
|
-
notLike?: Maybe<VendorIdentifier>;
|
|
2738
|
-
};
|
|
2739
|
-
/** Weekly reset period according to configuration */
|
|
2740
|
-
export declare enum WeeklyAccordingTo {
|
|
2741
|
-
EveryFriday = "EveryFriday",
|
|
2742
|
-
EveryMonday = "EveryMonday",
|
|
2743
|
-
EverySaturday = "EverySaturday",
|
|
2744
|
-
EverySunday = "EverySunday",
|
|
2745
|
-
EveryThursday = "EveryThursday",
|
|
2746
|
-
EveryTuesday = "EveryTuesday",
|
|
2747
|
-
EveryWednesday = "EveryWednesday",
|
|
2748
|
-
SubscriptionStart = "SubscriptionStart"
|
|
2749
|
-
}
|
|
2750
|
-
export declare type WeeklyResetPeriodConfigInput = {
|
|
2751
|
-
accordingTo: WeeklyAccordingTo;
|
|
2752
|
-
};
|
|
2753
|
-
export declare type WidgetConfigurationUpdateInput = {
|
|
2754
|
-
customerPortalConfiguration?: Maybe<CustomerPortalConfigurationInput>;
|
|
2755
|
-
environmentId?: Maybe<Scalars['String']>;
|
|
2756
|
-
paywallConfiguration?: Maybe<PaywallConfigurationInput>;
|
|
2757
|
-
};
|
|
2758
|
-
/** The widget type */
|
|
2759
|
-
export declare enum WidgetType {
|
|
2760
|
-
CustomerPortal = "CUSTOMER_PORTAL",
|
|
2761
|
-
Paywall = "PAYWALL"
|
|
2762
|
-
}
|
|
2763
|
-
export declare type ZuoraCredentialsInput = {
|
|
2764
|
-
baseUrl: Scalars['String'];
|
|
2765
|
-
clientId: Scalars['String'];
|
|
2766
|
-
clientSecret: Scalars['String'];
|
|
2767
|
-
};
|
|
2768
|
-
/** The group of the experiment */
|
|
2769
|
-
export declare enum ExperimentGroupType {
|
|
2770
|
-
Control = "CONTROL",
|
|
2771
|
-
Variant = "VARIANT"
|
|
2772
|
-
}
|
|
2773
|
-
export declare type CouponFragment = {
|
|
2774
|
-
__typename?: 'Coupon';
|
|
2775
|
-
id: string;
|
|
2776
|
-
discountValue: number;
|
|
2777
|
-
type: CouponType;
|
|
2778
|
-
additionalMetaData?: any | null | undefined;
|
|
2779
|
-
refId: string;
|
|
2780
|
-
name: string;
|
|
2781
|
-
description?: string | null | undefined;
|
|
2782
|
-
createdAt: any;
|
|
2783
|
-
updatedAt: any;
|
|
2784
|
-
billingId?: string | null | undefined;
|
|
2785
|
-
billingLinkUrl?: string | null | undefined;
|
|
2786
|
-
status: CouponStatus;
|
|
2787
|
-
syncStates?: Array<{
|
|
2788
|
-
__typename?: 'SyncState';
|
|
2789
|
-
vendorIdentifier: VendorIdentifier;
|
|
2790
|
-
status: SyncStatus;
|
|
2791
|
-
}> | null | undefined;
|
|
2792
|
-
customers?: Array<{
|
|
2793
|
-
__typename?: 'Customer';
|
|
2794
|
-
id: string;
|
|
2795
|
-
}> | null | undefined;
|
|
2796
|
-
};
|
|
2797
|
-
export declare type FetchCouponsQueryVariables = Exact<{
|
|
2798
|
-
filter?: Maybe<CouponFilter>;
|
|
2799
|
-
sorting?: Maybe<Array<CouponSort> | CouponSort>;
|
|
2800
|
-
paging?: Maybe<CursorPaging>;
|
|
2801
|
-
}>;
|
|
2802
|
-
export declare type FetchCouponsQuery = {
|
|
2803
|
-
__typename?: 'Query';
|
|
2804
|
-
coupons: {
|
|
2805
|
-
__typename?: 'CouponConnection';
|
|
2806
|
-
edges: Array<{
|
|
2807
|
-
__typename?: 'CouponEdge';
|
|
2808
|
-
node: {
|
|
2809
|
-
__typename?: 'Coupon';
|
|
2810
|
-
} & CouponFragment;
|
|
2811
|
-
}>;
|
|
2812
|
-
};
|
|
2813
|
-
};
|
|
2814
|
-
export declare type PriceFragment = {
|
|
2815
|
-
__typename?: 'Price';
|
|
2816
|
-
billingModel: BillingModel;
|
|
2817
|
-
billingPeriod: BillingPeriod;
|
|
2818
|
-
billingId?: string | null | undefined;
|
|
2819
|
-
minUnitQuantity?: number | null | undefined;
|
|
2820
|
-
maxUnitQuantity?: number | null | undefined;
|
|
2821
|
-
price: {
|
|
2822
|
-
__typename?: 'Money';
|
|
2823
|
-
amount: number;
|
|
2824
|
-
currency: Currency;
|
|
2825
|
-
};
|
|
2826
|
-
feature?: {
|
|
2827
|
-
__typename?: 'Feature';
|
|
2828
|
-
featureUnits?: string | null | undefined;
|
|
2829
|
-
featureUnitsPlural?: string | null | undefined;
|
|
2830
|
-
displayName: string;
|
|
2831
|
-
} | null | undefined;
|
|
2832
|
-
};
|
|
2833
|
-
export declare type TotalPriceFragment = {
|
|
2834
|
-
__typename?: 'CustomerSubscriptionTotalPrice';
|
|
2835
|
-
subTotal: {
|
|
2836
|
-
__typename?: 'Money';
|
|
2837
|
-
amount: number;
|
|
2838
|
-
currency: Currency;
|
|
2839
|
-
};
|
|
2840
|
-
total: {
|
|
2841
|
-
__typename?: 'Money';
|
|
2842
|
-
amount: number;
|
|
2843
|
-
currency: Currency;
|
|
2844
|
-
};
|
|
2845
|
-
};
|
|
2846
|
-
export declare type SlimSubscriptionFragment = {
|
|
2847
|
-
__typename?: 'CustomerSubscription';
|
|
2848
|
-
id: string;
|
|
2849
|
-
refId: string;
|
|
2850
|
-
status: SubscriptionStatus;
|
|
2851
|
-
additionalMetaData?: any | null | undefined;
|
|
2852
|
-
billingId?: string | null | undefined;
|
|
2853
|
-
billingLinkUrl?: string | null | undefined;
|
|
2854
|
-
effectiveEndDate?: any | null | undefined;
|
|
2855
|
-
currentBillingPeriodEnd?: any | null | undefined;
|
|
2856
|
-
pricingType: PricingType;
|
|
2857
|
-
experimentInfo?: {
|
|
2858
|
-
__typename?: 'experimentInfo';
|
|
2859
|
-
name: string;
|
|
2860
|
-
id: string;
|
|
2861
|
-
groupName: string;
|
|
2862
|
-
groupType: ExperimentGroupType;
|
|
2863
|
-
} | null | undefined;
|
|
2864
|
-
prices?: Array<{
|
|
2865
|
-
__typename?: 'SubscriptionPrice';
|
|
2866
|
-
usageLimit?: number | null | undefined;
|
|
2867
|
-
price?: ({
|
|
2868
|
-
__typename?: 'Price';
|
|
2869
|
-
} & PriceFragment) | null | undefined;
|
|
2870
|
-
}> | null | undefined;
|
|
2871
|
-
totalPrice?: ({
|
|
2872
|
-
__typename?: 'CustomerSubscriptionTotalPrice';
|
|
2873
|
-
} & TotalPriceFragment) | null | undefined;
|
|
2874
|
-
plan: {
|
|
2875
|
-
__typename?: 'Plan';
|
|
2876
|
-
id: string;
|
|
2877
|
-
refId: string;
|
|
2878
|
-
};
|
|
2879
|
-
addons?: Array<{
|
|
2880
|
-
__typename?: 'SubscriptionAddon';
|
|
2881
|
-
quantity: number;
|
|
2882
|
-
addon: {
|
|
2883
|
-
__typename?: 'Addon';
|
|
2884
|
-
id: string;
|
|
2885
|
-
refId: string;
|
|
2886
|
-
};
|
|
2887
|
-
}> | null | undefined;
|
|
2888
|
-
customer: {
|
|
2889
|
-
__typename?: 'Customer';
|
|
2890
|
-
id: string;
|
|
2891
|
-
refId: string;
|
|
2892
|
-
};
|
|
2893
|
-
};
|
|
2894
|
-
export declare type SubscriptionPreviewFragment = {
|
|
2895
|
-
__typename?: 'SubscriptionPreview';
|
|
2896
|
-
subTotal: {
|
|
2897
|
-
__typename?: 'Money';
|
|
2898
|
-
amount: number;
|
|
2899
|
-
currency: Currency;
|
|
2900
|
-
};
|
|
2901
|
-
total: {
|
|
2902
|
-
__typename?: 'Money';
|
|
2903
|
-
amount: number;
|
|
2904
|
-
currency: Currency;
|
|
2905
|
-
};
|
|
2906
|
-
billingPeriodRange: {
|
|
2907
|
-
__typename?: 'DateRange';
|
|
2908
|
-
start?: any | null | undefined;
|
|
2909
|
-
end?: any | null | undefined;
|
|
2910
|
-
};
|
|
2911
|
-
discount?: {
|
|
2912
|
-
__typename?: 'SubscriptionPreviewDiscountDTO';
|
|
2913
|
-
type: DiscountType;
|
|
2914
|
-
value: number;
|
|
2915
|
-
durationType: DiscountDurationType;
|
|
2916
|
-
durationInMonths?: number | null | undefined;
|
|
2917
|
-
} | null | undefined;
|
|
2918
|
-
subscription?: {
|
|
2919
|
-
__typename?: 'SubscriptionPricePreviewDTO';
|
|
2920
|
-
subTotal: {
|
|
2921
|
-
__typename?: 'Money';
|
|
2922
|
-
amount: number;
|
|
2923
|
-
currency: Currency;
|
|
2924
|
-
};
|
|
2925
|
-
total: {
|
|
2926
|
-
__typename?: 'Money';
|
|
2927
|
-
amount: number;
|
|
2928
|
-
currency: Currency;
|
|
2929
|
-
};
|
|
2930
|
-
} | null | undefined;
|
|
2931
|
-
proration?: {
|
|
2932
|
-
__typename?: 'SubscriptionPreviewProrations';
|
|
2933
|
-
prorationDate: any;
|
|
2934
|
-
credit: {
|
|
2935
|
-
__typename?: 'Money';
|
|
2936
|
-
amount: number;
|
|
2937
|
-
currency: Currency;
|
|
2938
|
-
};
|
|
2939
|
-
debit: {
|
|
2940
|
-
__typename?: 'Money';
|
|
2941
|
-
amount: number;
|
|
2942
|
-
currency: Currency;
|
|
2943
|
-
};
|
|
2944
|
-
netAmount: {
|
|
2945
|
-
__typename?: 'Money';
|
|
2946
|
-
amount: number;
|
|
2947
|
-
currency: Currency;
|
|
2948
|
-
};
|
|
2949
|
-
} | null | undefined;
|
|
2950
|
-
};
|
|
2951
|
-
export declare type CreateUsageMeasurementMutationVariables = Exact<{
|
|
2952
|
-
usageMeasurement: UsageMeasurementCreateInput;
|
|
2953
|
-
}>;
|
|
2954
|
-
export declare type CreateUsageMeasurementMutation = {
|
|
2955
|
-
__typename?: 'Mutation';
|
|
2956
|
-
createUsageMeasurement: {
|
|
2957
|
-
__typename?: 'UsageMeasurementWithCurrentUsage';
|
|
2958
|
-
id: string;
|
|
2959
|
-
currentUsage?: number | null | undefined;
|
|
2960
|
-
nextResetDate?: any | null | undefined;
|
|
2961
|
-
timestamp: any;
|
|
2962
|
-
};
|
|
2963
|
-
};
|
|
2964
|
-
export declare type ReportEntitlementCheckRequestedMutationVariables = Exact<{
|
|
2965
|
-
entitlementCheckRequested: EntitlementCheckRequested;
|
|
2966
|
-
}>;
|
|
2967
|
-
export declare type ReportEntitlementCheckRequestedMutation = {
|
|
2968
|
-
__typename?: 'Mutation';
|
|
2969
|
-
reportEntitlementCheckRequested: boolean;
|
|
2970
|
-
};
|
|
2971
|
-
export declare type UpdatedEntitlementFragment = {
|
|
2972
|
-
__typename?: 'Entitlement';
|
|
2973
|
-
isGranted: boolean;
|
|
2974
|
-
accessDeniedReason?: AccessDeniedReason | null | undefined;
|
|
2975
|
-
customerId?: string | null | undefined;
|
|
2976
|
-
usageLimit?: number | null | undefined;
|
|
2977
|
-
hasUnlimitedUsage: boolean;
|
|
2978
|
-
currentUsage?: number | null | undefined;
|
|
2979
|
-
requestedUsage?: number | null | undefined;
|
|
2980
|
-
usageUpdatedAt?: any | null | undefined;
|
|
2981
|
-
entitlementUpdatedAt?: any | null | undefined;
|
|
2982
|
-
nextResetDate?: any | null | undefined;
|
|
2983
|
-
resetPeriod?: EntitlementResetPeriod | null | undefined;
|
|
2984
|
-
resetPeriodConfiguration?: ({
|
|
2985
|
-
__typename?: 'MonthlyResetPeriodConfig';
|
|
2986
|
-
} & ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_) | ({
|
|
2987
|
-
__typename?: 'WeeklyResetPeriodConfig';
|
|
2988
|
-
} & ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_) | null | undefined;
|
|
2989
|
-
feature?: {
|
|
2990
|
-
__typename?: 'EntitlementFeature';
|
|
2991
|
-
featureType: FeatureType;
|
|
2992
|
-
meterType?: MeterType | null | undefined;
|
|
2993
|
-
featureUnits?: string | null | undefined;
|
|
2994
|
-
featureUnitsPlural?: string | null | undefined;
|
|
2995
|
-
description?: string | null | undefined;
|
|
2996
|
-
displayName: string;
|
|
2997
|
-
refId: string;
|
|
2998
|
-
} | null | undefined;
|
|
2999
|
-
};
|
|
3000
|
-
declare type ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ = {
|
|
3001
|
-
__typename: 'MonthlyResetPeriodConfig';
|
|
3002
|
-
} & MonthlyResetPeriodConfigFragment;
|
|
3003
|
-
declare type ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_ = {
|
|
3004
|
-
__typename: 'WeeklyResetPeriodConfig';
|
|
3005
|
-
} & WeeklyResetPeriodConfigFragment;
|
|
3006
|
-
export declare type ResetPeriodConfigurationFragment = ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ | ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_;
|
|
3007
|
-
export declare type MonthlyResetPeriodConfigFragment = {
|
|
3008
|
-
__typename?: 'MonthlyResetPeriodConfig';
|
|
3009
|
-
monthlyAccordingTo?: MonthlyAccordingTo | null | undefined;
|
|
3010
|
-
};
|
|
3011
|
-
export declare type WeeklyResetPeriodConfigFragment = {
|
|
3012
|
-
__typename?: 'WeeklyResetPeriodConfig';
|
|
3013
|
-
weeklyAccordingTo?: WeeklyAccordingTo | null | undefined;
|
|
3014
|
-
};
|
|
3015
|
-
export declare type EntitlementsUpdatedSubscriptionVariables = Exact<{
|
|
3016
|
-
[key: string]: never;
|
|
3017
|
-
}>;
|
|
3018
|
-
export declare type EntitlementsUpdatedSubscription = {
|
|
3019
|
-
__typename?: 'Subscription';
|
|
3020
|
-
entitlementsUpdated: {
|
|
3021
|
-
__typename?: 'EntitlementsUpdated';
|
|
3022
|
-
} & EntitlementsUpdatedPayloadFragment;
|
|
3023
|
-
};
|
|
3024
|
-
export declare type EntitlementsUpdatedPayloadFragment = {
|
|
3025
|
-
__typename?: 'EntitlementsUpdated';
|
|
3026
|
-
customerId: string;
|
|
3027
|
-
entitlements: Array<{
|
|
3028
|
-
__typename?: 'Entitlement';
|
|
3029
|
-
} & UpdatedEntitlementFragment>;
|
|
3030
|
-
};
|
|
3031
|
-
export declare type UsageUpdatedSubscriptionVariables = Exact<{
|
|
3032
|
-
[key: string]: never;
|
|
3033
|
-
}>;
|
|
3034
|
-
export declare type UsageUpdatedSubscription = {
|
|
3035
|
-
__typename?: 'Subscription';
|
|
3036
|
-
usageUpdated: {
|
|
3037
|
-
__typename?: 'UsageUpdated';
|
|
3038
|
-
} & EntitlementUsageUpdatedFragment;
|
|
3039
|
-
};
|
|
3040
|
-
export declare type EntitlementUsageUpdatedFragment = {
|
|
3041
|
-
__typename?: 'UsageUpdated';
|
|
3042
|
-
usage: {
|
|
3043
|
-
__typename?: 'UsageMeasurementUpdated';
|
|
3044
|
-
customerId: string;
|
|
3045
|
-
featureId: string;
|
|
3046
|
-
currentUsage: number;
|
|
3047
|
-
nextResetDate?: number | null | undefined;
|
|
3048
|
-
};
|
|
3049
|
-
entitlement: {
|
|
3050
|
-
__typename?: 'Entitlement';
|
|
3051
|
-
} & UpdatedEntitlementFragment;
|
|
3052
|
-
};
|
|
3053
|
-
export declare type CreateCustomerMutationVariables = Exact<{
|
|
3054
|
-
input: CustomerInput;
|
|
3055
|
-
}>;
|
|
3056
|
-
export declare type CreateCustomerMutation = {
|
|
3057
|
-
__typename?: 'Mutation';
|
|
3058
|
-
createOneCustomer: {
|
|
3059
|
-
__typename?: 'Customer';
|
|
3060
|
-
refId: string;
|
|
3061
|
-
};
|
|
3062
|
-
};
|
|
3063
|
-
export declare type ProvisionCustomerMutationVariables = Exact<{
|
|
3064
|
-
input: ProvisionCustomerInput;
|
|
3065
|
-
}>;
|
|
3066
|
-
export declare type ProvisionCustomerMutation = {
|
|
3067
|
-
__typename?: 'Mutation';
|
|
3068
|
-
provisionCustomer: {
|
|
3069
|
-
__typename?: 'ProvisionedCustomer';
|
|
3070
|
-
subscriptionDecisionStrategy: SubscriptionDecisionStrategy;
|
|
3071
|
-
customer: {
|
|
3072
|
-
__typename?: 'Customer';
|
|
3073
|
-
refId: string;
|
|
3074
|
-
};
|
|
3075
|
-
subscription?: ({
|
|
3076
|
-
__typename?: 'CustomerSubscription';
|
|
3077
|
-
} & SlimSubscriptionFragment) | null | undefined;
|
|
3078
|
-
};
|
|
3079
|
-
};
|
|
3080
|
-
export declare type ImportCustomerMutationVariables = Exact<{
|
|
3081
|
-
input: ImportCustomerInput;
|
|
3082
|
-
}>;
|
|
3083
|
-
export declare type ImportCustomerMutation = {
|
|
3084
|
-
__typename?: 'Mutation';
|
|
3085
|
-
importOneCustomer: {
|
|
3086
|
-
__typename?: 'Customer';
|
|
3087
|
-
refId: string;
|
|
3088
|
-
};
|
|
3089
|
-
};
|
|
3090
|
-
export declare type UpdateOneCustomerMutationVariables = Exact<{
|
|
3091
|
-
input: UpdateCustomerInput;
|
|
3092
|
-
}>;
|
|
3093
|
-
export declare type UpdateOneCustomerMutation = {
|
|
3094
|
-
__typename?: 'Mutation';
|
|
3095
|
-
updateOneCustomer: {
|
|
3096
|
-
__typename?: 'Customer';
|
|
3097
|
-
refId: string;
|
|
3098
|
-
};
|
|
3099
|
-
};
|
|
3100
|
-
export declare type UpdateOneSubscriptionMutationVariables = Exact<{
|
|
3101
|
-
input: UpdateSubscriptionInput;
|
|
3102
|
-
}>;
|
|
3103
|
-
export declare type UpdateOneSubscriptionMutation = {
|
|
3104
|
-
__typename?: 'Mutation';
|
|
3105
|
-
updateOneSubscription: {
|
|
3106
|
-
__typename?: 'CustomerSubscription';
|
|
3107
|
-
} & SlimSubscriptionFragment;
|
|
3108
|
-
};
|
|
3109
|
-
export declare type CreateSubscriptionMutationVariables = Exact<{
|
|
3110
|
-
input: SubscriptionInput;
|
|
3111
|
-
}>;
|
|
3112
|
-
export declare type CreateSubscriptionMutation = {
|
|
3113
|
-
__typename?: 'Mutation';
|
|
3114
|
-
createSubscription: {
|
|
3115
|
-
__typename?: 'CustomerSubscription';
|
|
3116
|
-
} & SlimSubscriptionFragment;
|
|
3117
|
-
};
|
|
3118
|
-
export declare type ProvisionSubscriptionMutationVariables = Exact<{
|
|
3119
|
-
input: ProvisionSubscription;
|
|
3120
|
-
}>;
|
|
3121
|
-
export declare type ProvisionSubscriptionMutation = {
|
|
3122
|
-
__typename?: 'Mutation';
|
|
3123
|
-
provisionSubscription: {
|
|
3124
|
-
__typename?: 'ProvisionSubscriptionResult';
|
|
3125
|
-
checkoutUrl?: string | null | undefined;
|
|
3126
|
-
status: ProvisionSubscriptionStatus;
|
|
3127
|
-
subscription?: ({
|
|
3128
|
-
__typename?: 'CustomerSubscription';
|
|
3129
|
-
} & SlimSubscriptionFragment) | null | undefined;
|
|
3130
|
-
};
|
|
3131
|
-
};
|
|
3132
|
-
export declare type CancelSubscriptionMutationVariables = Exact<{
|
|
3133
|
-
input: SubscriptionCancellationInput;
|
|
3134
|
-
}>;
|
|
3135
|
-
export declare type CancelSubscriptionMutation = {
|
|
3136
|
-
__typename?: 'Mutation';
|
|
3137
|
-
cancelSubscription: {
|
|
3138
|
-
__typename?: 'CustomerSubscription';
|
|
3139
|
-
} & SlimSubscriptionFragment;
|
|
3140
|
-
};
|
|
3141
|
-
export declare type InitiateCheckoutMutationVariables = Exact<{
|
|
3142
|
-
input: InitiateCheckoutInput;
|
|
3143
|
-
}>;
|
|
3144
|
-
export declare type InitiateCheckoutMutation = {
|
|
3145
|
-
__typename?: 'Mutation';
|
|
3146
|
-
initiateCheckout: {
|
|
3147
|
-
__typename?: 'Checkout';
|
|
3148
|
-
checkoutUrl: string;
|
|
3149
|
-
checkoutBillingId: string;
|
|
3150
|
-
};
|
|
3151
|
-
};
|
|
3152
|
-
export declare type EstimateSubscriptionMutationVariables = Exact<{
|
|
3153
|
-
input: EstimateSubscriptionInput;
|
|
3154
|
-
}>;
|
|
3155
|
-
export declare type EstimateSubscriptionMutation = {
|
|
3156
|
-
__typename?: 'Mutation';
|
|
3157
|
-
estimateSubscription: {
|
|
3158
|
-
__typename?: 'SubscriptionPreview';
|
|
3159
|
-
} & SubscriptionPreviewFragment;
|
|
3160
|
-
};
|
|
3161
|
-
export declare type EstimateSubscriptionUpdateMutationVariables = Exact<{
|
|
3162
|
-
input: EstimateSubscriptionUpdateInput;
|
|
3163
|
-
}>;
|
|
3164
|
-
export declare type EstimateSubscriptionUpdateMutation = {
|
|
3165
|
-
__typename?: 'Mutation';
|
|
3166
|
-
estimateSubscriptionUpdate: {
|
|
3167
|
-
__typename?: 'SubscriptionPreview';
|
|
3168
|
-
} & SubscriptionPreviewFragment;
|
|
3169
|
-
};
|
|
3170
|
-
export declare type CancelSubscriptionUpdatesMutationVariables = Exact<{
|
|
3171
|
-
input: SubscriptionUpdateScheduleCancellationInput;
|
|
3172
|
-
}>;
|
|
3173
|
-
export declare type CancelSubscriptionUpdatesMutation = {
|
|
3174
|
-
__typename?: 'Mutation';
|
|
3175
|
-
cancelSchedule: string;
|
|
3176
|
-
};
|
|
3177
|
-
export declare type ProductFragment = {
|
|
3178
|
-
__typename?: 'Product';
|
|
3179
|
-
refId: string;
|
|
3180
|
-
displayName?: string | null | undefined;
|
|
3181
|
-
description?: string | null | undefined;
|
|
3182
|
-
additionalMetaData?: any | null | undefined;
|
|
3183
|
-
productSettings: {
|
|
3184
|
-
__typename?: 'ProductSettings';
|
|
3185
|
-
downgradePlan?: {
|
|
3186
|
-
__typename?: 'Plan';
|
|
3187
|
-
refId: string;
|
|
3188
|
-
displayName: string;
|
|
3189
|
-
} | null | undefined;
|
|
3190
|
-
};
|
|
3191
|
-
};
|
|
3192
|
-
export declare type FetchProductsQueryVariables = Exact<{
|
|
3193
|
-
filter?: Maybe<ProductFilter>;
|
|
3194
|
-
sorting?: Maybe<Array<ProductSort> | ProductSort>;
|
|
3195
|
-
paging?: Maybe<CursorPaging>;
|
|
3196
|
-
}>;
|
|
3197
|
-
export declare type FetchProductsQuery = {
|
|
3198
|
-
__typename?: 'Query';
|
|
3199
|
-
products: {
|
|
3200
|
-
__typename?: 'ProductConnection';
|
|
3201
|
-
edges: Array<{
|
|
3202
|
-
__typename?: 'ProductEdge';
|
|
3203
|
-
node: {
|
|
3204
|
-
__typename?: 'Product';
|
|
3205
|
-
} & ProductFragment;
|
|
3206
|
-
}>;
|
|
3207
|
-
};
|
|
3208
|
-
};
|
|
3209
|
-
export declare type SdkConfigurationQueryVariables = Exact<{
|
|
3210
|
-
[key: string]: never;
|
|
3211
|
-
}>;
|
|
3212
|
-
export declare type SdkConfigurationQuery = {
|
|
3213
|
-
__typename?: 'Query';
|
|
3214
|
-
sdkConfiguration?: {
|
|
3215
|
-
__typename?: 'SdkConfiguration';
|
|
3216
|
-
sentryDsn?: string | null | undefined;
|
|
3217
|
-
} | null | undefined;
|
|
3218
|
-
};
|
|
3219
|
-
export {};
|