@stigg/api-client-js 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generated/sdk.d.ts +1064 -336
- package/src/generated/sdk.js +689 -196
- package/src/generated/sdk.js.map +1 -1
package/src/generated/sdk.d.ts
CHANGED
|
@@ -36,6 +36,10 @@ export declare enum AccessDeniedReason {
|
|
|
36
36
|
RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit",
|
|
37
37
|
Unknown = "Unknown"
|
|
38
38
|
}
|
|
39
|
+
export declare enum AccountStatus {
|
|
40
|
+
Active = "ACTIVE",
|
|
41
|
+
Blocked = "BLOCKED"
|
|
42
|
+
}
|
|
39
43
|
export declare type AddCompatibleAddonsToPlanInput = {
|
|
40
44
|
/** The id of the record. */
|
|
41
45
|
id: Scalars['String'];
|
|
@@ -48,6 +52,7 @@ export declare type AddonCreateInput = {
|
|
|
48
52
|
description?: InputMaybe<Scalars['String']>;
|
|
49
53
|
displayName: Scalars['String'];
|
|
50
54
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
55
|
+
hiddenFromWidgets?: InputMaybe<Array<WidgetType>>;
|
|
51
56
|
productId: Scalars['String'];
|
|
52
57
|
refId?: InputMaybe<Scalars['String']>;
|
|
53
58
|
status?: InputMaybe<PackageStatus>;
|
|
@@ -94,6 +99,7 @@ export declare type AddonUpdateInput = {
|
|
|
94
99
|
billingId?: InputMaybe<Scalars['String']>;
|
|
95
100
|
description?: InputMaybe<Scalars['String']>;
|
|
96
101
|
displayName: Scalars['String'];
|
|
102
|
+
hiddenFromWidgets?: InputMaybe<Array<WidgetType>>;
|
|
97
103
|
id: Scalars['String'];
|
|
98
104
|
status?: InputMaybe<PackageStatus>;
|
|
99
105
|
};
|
|
@@ -106,6 +112,12 @@ export declare type Address = {
|
|
|
106
112
|
postalCode?: InputMaybe<Scalars['String']>;
|
|
107
113
|
state?: InputMaybe<Scalars['String']>;
|
|
108
114
|
};
|
|
115
|
+
/** Alignment */
|
|
116
|
+
export declare enum Alignment {
|
|
117
|
+
Center = "CENTER",
|
|
118
|
+
Left = "LEFT",
|
|
119
|
+
Right = "RIGHT"
|
|
120
|
+
}
|
|
109
121
|
export declare type ApiKeyFilter = {
|
|
110
122
|
and?: InputMaybe<Array<ApiKeyFilter>>;
|
|
111
123
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -132,9 +144,10 @@ export declare type ArchivePlanInput = {
|
|
|
132
144
|
id: Scalars['String'];
|
|
133
145
|
};
|
|
134
146
|
export declare type AttachCustomerPaymentMethodInput = {
|
|
147
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
135
148
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
136
149
|
paymentMethodId: Scalars['String'];
|
|
137
|
-
refId
|
|
150
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
138
151
|
vendorIdentifier: VendorIdentifier;
|
|
139
152
|
};
|
|
140
153
|
export declare enum BillingAnchor {
|
|
@@ -191,8 +204,17 @@ export declare type BooleanFieldComparison = {
|
|
|
191
204
|
export declare enum ChangeType {
|
|
192
205
|
Added = "ADDED",
|
|
193
206
|
Deleted = "DELETED",
|
|
194
|
-
Modified = "MODIFIED"
|
|
207
|
+
Modified = "MODIFIED",
|
|
208
|
+
Reordered = "REORDERED"
|
|
195
209
|
}
|
|
210
|
+
export declare type CheckoutOptions = {
|
|
211
|
+
allowPromoCodes?: InputMaybe<Scalars['Boolean']>;
|
|
212
|
+
allowTaxIdCollection?: InputMaybe<Scalars['Boolean']>;
|
|
213
|
+
cancelUrl: Scalars['String'];
|
|
214
|
+
collectBillingAddress?: InputMaybe<Scalars['Boolean']>;
|
|
215
|
+
referenceId?: InputMaybe<Scalars['String']>;
|
|
216
|
+
successUrl: Scalars['String'];
|
|
217
|
+
};
|
|
196
218
|
export declare type CouponFilter = {
|
|
197
219
|
and?: InputMaybe<Array<CouponFilter>>;
|
|
198
220
|
billingId?: InputMaybe<StringFieldComparison>;
|
|
@@ -215,9 +237,9 @@ export declare type CouponFilterCustomerFilter = {
|
|
|
215
237
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
216
238
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
217
239
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
240
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
218
241
|
email?: InputMaybe<StringFieldComparison>;
|
|
219
242
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
220
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
221
243
|
id?: InputMaybe<StringFieldComparison>;
|
|
222
244
|
name?: InputMaybe<StringFieldComparison>;
|
|
223
245
|
or?: InputMaybe<Array<CouponFilterCustomerFilter>>;
|
|
@@ -296,7 +318,9 @@ export declare type CreateEnvironment = {
|
|
|
296
318
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
297
319
|
description?: InputMaybe<Scalars['String']>;
|
|
298
320
|
displayName?: InputMaybe<Scalars['String']>;
|
|
321
|
+
hardenClientAccessEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
299
322
|
id?: InputMaybe<Scalars['String']>;
|
|
323
|
+
provisionStatus?: InputMaybe<EnvironmentProvisionStatus>;
|
|
300
324
|
slug?: InputMaybe<Scalars['String']>;
|
|
301
325
|
};
|
|
302
326
|
export declare type CreateEnvironmentOptions = {
|
|
@@ -359,7 +383,121 @@ export declare type CreateOneProductInput = {
|
|
|
359
383
|
};
|
|
360
384
|
/** Currency */
|
|
361
385
|
export declare enum Currency {
|
|
362
|
-
|
|
386
|
+
Aed = "AED",
|
|
387
|
+
All = "ALL",
|
|
388
|
+
Amd = "AMD",
|
|
389
|
+
Ang = "ANG",
|
|
390
|
+
Aud = "AUD",
|
|
391
|
+
Awg = "AWG",
|
|
392
|
+
Azn = "AZN",
|
|
393
|
+
Bam = "BAM",
|
|
394
|
+
Bbd = "BBD",
|
|
395
|
+
Bdt = "BDT",
|
|
396
|
+
Bgn = "BGN",
|
|
397
|
+
Bif = "BIF",
|
|
398
|
+
Bmd = "BMD",
|
|
399
|
+
Bnd = "BND",
|
|
400
|
+
Bsd = "BSD",
|
|
401
|
+
Bwp = "BWP",
|
|
402
|
+
Byn = "BYN",
|
|
403
|
+
Bzd = "BZD",
|
|
404
|
+
Cad = "CAD",
|
|
405
|
+
Cdf = "CDF",
|
|
406
|
+
Chf = "CHF",
|
|
407
|
+
Clp = "CLP",
|
|
408
|
+
Cny = "CNY",
|
|
409
|
+
Czk = "CZK",
|
|
410
|
+
Djf = "DJF",
|
|
411
|
+
Dkk = "DKK",
|
|
412
|
+
Dop = "DOP",
|
|
413
|
+
Dzd = "DZD",
|
|
414
|
+
Egp = "EGP",
|
|
415
|
+
Etb = "ETB",
|
|
416
|
+
Eur = "EUR",
|
|
417
|
+
Fjd = "FJD",
|
|
418
|
+
Gbp = "GBP",
|
|
419
|
+
Gel = "GEL",
|
|
420
|
+
Gip = "GIP",
|
|
421
|
+
Gmd = "GMD",
|
|
422
|
+
Gnf = "GNF",
|
|
423
|
+
Gyd = "GYD",
|
|
424
|
+
Hkd = "HKD",
|
|
425
|
+
Hrk = "HRK",
|
|
426
|
+
Htg = "HTG",
|
|
427
|
+
Idr = "IDR",
|
|
428
|
+
Ils = "ILS",
|
|
429
|
+
Inr = "INR",
|
|
430
|
+
Isk = "ISK",
|
|
431
|
+
Jmd = "JMD",
|
|
432
|
+
Jpy = "JPY",
|
|
433
|
+
Kes = "KES",
|
|
434
|
+
Kgs = "KGS",
|
|
435
|
+
Khr = "KHR",
|
|
436
|
+
Kmf = "KMF",
|
|
437
|
+
Krw = "KRW",
|
|
438
|
+
Kyd = "KYD",
|
|
439
|
+
Kzt = "KZT",
|
|
440
|
+
Lbp = "LBP",
|
|
441
|
+
Lkr = "LKR",
|
|
442
|
+
Lrd = "LRD",
|
|
443
|
+
Lsl = "LSL",
|
|
444
|
+
Mad = "MAD",
|
|
445
|
+
Mdl = "MDL",
|
|
446
|
+
Mga = "MGA",
|
|
447
|
+
Mkd = "MKD",
|
|
448
|
+
Mmk = "MMK",
|
|
449
|
+
Mnt = "MNT",
|
|
450
|
+
Mop = "MOP",
|
|
451
|
+
Mro = "MRO",
|
|
452
|
+
Mvr = "MVR",
|
|
453
|
+
Mwk = "MWK",
|
|
454
|
+
Mxn = "MXN",
|
|
455
|
+
Myr = "MYR",
|
|
456
|
+
Mzn = "MZN",
|
|
457
|
+
Nad = "NAD",
|
|
458
|
+
Ngn = "NGN",
|
|
459
|
+
Nok = "NOK",
|
|
460
|
+
Npr = "NPR",
|
|
461
|
+
Nzd = "NZD",
|
|
462
|
+
Pgk = "PGK",
|
|
463
|
+
Php = "PHP",
|
|
464
|
+
Pkr = "PKR",
|
|
465
|
+
Pln = "PLN",
|
|
466
|
+
Pyg = "PYG",
|
|
467
|
+
Qar = "QAR",
|
|
468
|
+
Ron = "RON",
|
|
469
|
+
Rsd = "RSD",
|
|
470
|
+
Rub = "RUB",
|
|
471
|
+
Rwf = "RWF",
|
|
472
|
+
Sar = "SAR",
|
|
473
|
+
Sbd = "SBD",
|
|
474
|
+
Scr = "SCR",
|
|
475
|
+
Sek = "SEK",
|
|
476
|
+
Sgd = "SGD",
|
|
477
|
+
Sle = "SLE",
|
|
478
|
+
Sll = "SLL",
|
|
479
|
+
Sos = "SOS",
|
|
480
|
+
Szl = "SZL",
|
|
481
|
+
Thb = "THB",
|
|
482
|
+
Tjs = "TJS",
|
|
483
|
+
Top = "TOP",
|
|
484
|
+
Try = "TRY",
|
|
485
|
+
Ttd = "TTD",
|
|
486
|
+
Tzs = "TZS",
|
|
487
|
+
Uah = "UAH",
|
|
488
|
+
Ugx = "UGX",
|
|
489
|
+
Usd = "USD",
|
|
490
|
+
Uzs = "UZS",
|
|
491
|
+
Vnd = "VND",
|
|
492
|
+
Vuv = "VUV",
|
|
493
|
+
Wst = "WST",
|
|
494
|
+
Xaf = "XAF",
|
|
495
|
+
Xcd = "XCD",
|
|
496
|
+
Xof = "XOF",
|
|
497
|
+
Xpf = "XPF",
|
|
498
|
+
Yer = "YER",
|
|
499
|
+
Zar = "ZAR",
|
|
500
|
+
Zmw = "ZMW"
|
|
363
501
|
}
|
|
364
502
|
export declare type CursorPaging = {
|
|
365
503
|
/** Paginate after opaque cursor */
|
|
@@ -388,9 +526,9 @@ export declare type CustomerFilter = {
|
|
|
388
526
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
389
527
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
390
528
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
529
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
391
530
|
email?: InputMaybe<StringFieldComparison>;
|
|
392
531
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
393
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
394
532
|
id?: InputMaybe<StringFieldComparison>;
|
|
395
533
|
name?: InputMaybe<StringFieldComparison>;
|
|
396
534
|
or?: InputMaybe<Array<CustomerFilter>>;
|
|
@@ -410,13 +548,14 @@ export declare type CustomerFilterCustomerSubscriptionFilter = {
|
|
|
410
548
|
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
411
549
|
endDate?: InputMaybe<DateFieldComparison>;
|
|
412
550
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
413
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
414
551
|
id?: InputMaybe<StringFieldComparison>;
|
|
552
|
+
oldBillingId?: InputMaybe<StringFieldComparison>;
|
|
415
553
|
or?: InputMaybe<Array<CustomerFilterCustomerSubscriptionFilter>>;
|
|
416
554
|
pricingType?: InputMaybe<PricingTypeFilterComparison>;
|
|
417
555
|
refId?: InputMaybe<StringFieldComparison>;
|
|
418
556
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
419
557
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
558
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
420
559
|
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
421
560
|
};
|
|
422
561
|
export declare type CustomerFilterPromotionalEntitlementFilter = {
|
|
@@ -433,13 +572,31 @@ export declare type CustomerInput = {
|
|
|
433
572
|
billingId?: InputMaybe<Scalars['String']>;
|
|
434
573
|
billingInformation?: InputMaybe<CustomerBillingInfo>;
|
|
435
574
|
couponRefId?: InputMaybe<Scalars['String']>;
|
|
575
|
+
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
436
576
|
crmId?: InputMaybe<Scalars['String']>;
|
|
577
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
437
578
|
email?: InputMaybe<Scalars['String']>;
|
|
438
579
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
439
580
|
name?: InputMaybe<Scalars['String']>;
|
|
440
|
-
refId
|
|
581
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
441
582
|
shouldSyncFree?: InputMaybe<Scalars['Boolean']>;
|
|
442
583
|
};
|
|
584
|
+
export declare type CustomerPortalColorsPaletteInput = {
|
|
585
|
+
backgroundColor?: InputMaybe<Scalars['String']>;
|
|
586
|
+
borderColor?: InputMaybe<Scalars['String']>;
|
|
587
|
+
currentPlanBackground?: InputMaybe<Scalars['String']>;
|
|
588
|
+
iconsColor?: InputMaybe<Scalars['String']>;
|
|
589
|
+
paywallBackgroundColor?: InputMaybe<Scalars['String']>;
|
|
590
|
+
primary?: InputMaybe<Scalars['String']>;
|
|
591
|
+
textColor?: InputMaybe<Scalars['String']>;
|
|
592
|
+
};
|
|
593
|
+
export declare type CustomerPortalConfigurationInput = {
|
|
594
|
+
palette?: InputMaybe<CustomerPortalColorsPaletteInput>;
|
|
595
|
+
typography?: InputMaybe<TypographyConfigurationInput>;
|
|
596
|
+
};
|
|
597
|
+
export declare type CustomerPortalInput = {
|
|
598
|
+
customerId: Scalars['String'];
|
|
599
|
+
};
|
|
443
600
|
export declare type CustomerSort = {
|
|
444
601
|
direction: SortDirection;
|
|
445
602
|
field: CustomerSortFields;
|
|
@@ -451,9 +608,9 @@ export declare enum CustomerSortFields {
|
|
|
451
608
|
CrmHubspotCompanyId = "crmHubspotCompanyId",
|
|
452
609
|
CrmHubspotCompanyUrl = "crmHubspotCompanyUrl",
|
|
453
610
|
CrmId = "crmId",
|
|
611
|
+
CustomerId = "customerId",
|
|
454
612
|
Email = "email",
|
|
455
613
|
EnvironmentId = "environmentId",
|
|
456
|
-
ExperimentGroup = "experimentGroup",
|
|
457
614
|
Id = "id",
|
|
458
615
|
Name = "name",
|
|
459
616
|
RefId = "refId",
|
|
@@ -472,14 +629,16 @@ export declare type CustomerSubscriptionFilter = {
|
|
|
472
629
|
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
473
630
|
endDate?: InputMaybe<DateFieldComparison>;
|
|
474
631
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
475
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
476
632
|
id?: InputMaybe<StringFieldComparison>;
|
|
633
|
+
oldBillingId?: InputMaybe<StringFieldComparison>;
|
|
477
634
|
or?: InputMaybe<Array<CustomerSubscriptionFilter>>;
|
|
478
635
|
prices?: InputMaybe<CustomerSubscriptionFilterSubscriptionPriceFilter>;
|
|
479
636
|
pricingType?: InputMaybe<PricingTypeFilterComparison>;
|
|
480
637
|
refId?: InputMaybe<StringFieldComparison>;
|
|
481
638
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
482
639
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
640
|
+
subscriptionEntitlements?: InputMaybe<CustomerSubscriptionFilterSubscriptionEntitlementFilter>;
|
|
641
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
483
642
|
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
484
643
|
};
|
|
485
644
|
export declare type CustomerSubscriptionFilterCustomerFilter = {
|
|
@@ -489,9 +648,9 @@ export declare type CustomerSubscriptionFilterCustomerFilter = {
|
|
|
489
648
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
490
649
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
491
650
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
651
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
492
652
|
email?: InputMaybe<StringFieldComparison>;
|
|
493
653
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
494
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
495
654
|
id?: InputMaybe<StringFieldComparison>;
|
|
496
655
|
name?: InputMaybe<StringFieldComparison>;
|
|
497
656
|
or?: InputMaybe<Array<CustomerSubscriptionFilterCustomerFilter>>;
|
|
@@ -506,6 +665,15 @@ export declare type CustomerSubscriptionFilterSubscriptionAddonFilter = {
|
|
|
506
665
|
quantity?: InputMaybe<NumberFieldComparison>;
|
|
507
666
|
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
508
667
|
};
|
|
668
|
+
export declare type CustomerSubscriptionFilterSubscriptionEntitlementFilter = {
|
|
669
|
+
and?: InputMaybe<Array<CustomerSubscriptionFilterSubscriptionEntitlementFilter>>;
|
|
670
|
+
createdAt?: InputMaybe<DateFieldComparison>;
|
|
671
|
+
environmentId?: InputMaybe<StringFieldComparison>;
|
|
672
|
+
id?: InputMaybe<StringFieldComparison>;
|
|
673
|
+
or?: InputMaybe<Array<CustomerSubscriptionFilterSubscriptionEntitlementFilter>>;
|
|
674
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
675
|
+
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
676
|
+
};
|
|
509
677
|
export declare type CustomerSubscriptionFilterSubscriptionPriceFilter = {
|
|
510
678
|
and?: InputMaybe<Array<CustomerSubscriptionFilterSubscriptionPriceFilter>>;
|
|
511
679
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
@@ -529,12 +697,13 @@ export declare enum CustomerSubscriptionSortFields {
|
|
|
529
697
|
EffectiveEndDate = "effectiveEndDate",
|
|
530
698
|
EndDate = "endDate",
|
|
531
699
|
EnvironmentId = "environmentId",
|
|
532
|
-
ExperimentGroup = "experimentGroup",
|
|
533
700
|
Id = "id",
|
|
701
|
+
OldBillingId = "oldBillingId",
|
|
534
702
|
PricingType = "pricingType",
|
|
535
703
|
RefId = "refId",
|
|
536
704
|
StartDate = "startDate",
|
|
537
705
|
Status = "status",
|
|
706
|
+
SubscriptionId = "subscriptionId",
|
|
538
707
|
TrialEndDate = "trialEndDate"
|
|
539
708
|
}
|
|
540
709
|
export declare type DateFieldComparison = {
|
|
@@ -587,10 +756,6 @@ export declare type DeleteOnePackageEntitlementInput = {
|
|
|
587
756
|
/** The id of the record to delete. */
|
|
588
757
|
id: Scalars['String'];
|
|
589
758
|
};
|
|
590
|
-
export declare type DeleteOnePlanInput = {
|
|
591
|
-
/** The id of the record to delete. */
|
|
592
|
-
id: Scalars['String'];
|
|
593
|
-
};
|
|
594
759
|
export declare type DeleteOnePriceInput = {
|
|
595
760
|
/** The id of the record to delete. */
|
|
596
761
|
id: Scalars['String'];
|
|
@@ -649,6 +814,13 @@ export declare type EnvironmentFilter = {
|
|
|
649
814
|
or?: InputMaybe<Array<EnvironmentFilter>>;
|
|
650
815
|
slug?: InputMaybe<StringFieldComparison>;
|
|
651
816
|
};
|
|
817
|
+
/** EnvironmentProvisionStatus. */
|
|
818
|
+
export declare enum EnvironmentProvisionStatus {
|
|
819
|
+
Done = "DONE",
|
|
820
|
+
Failed = "FAILED",
|
|
821
|
+
InProgress = "IN_PROGRESS",
|
|
822
|
+
NotProvisioned = "NOT_PROVISIONED"
|
|
823
|
+
}
|
|
652
824
|
export declare type EnvironmentSort = {
|
|
653
825
|
direction: SortDirection;
|
|
654
826
|
field: EnvironmentSortFields;
|
|
@@ -666,22 +838,31 @@ export declare enum ErrorCode {
|
|
|
666
838
|
AddonHasToHavePriceError = "AddonHasToHavePriceError",
|
|
667
839
|
AddonNotFound = "AddonNotFound",
|
|
668
840
|
ArchivedCouponCantBeApplied = "ArchivedCouponCantBeApplied",
|
|
841
|
+
AuthCustomerMismatch = "AuthCustomerMismatch",
|
|
669
842
|
BadUserInput = "BadUserInput",
|
|
670
843
|
BillingPeriodMissingError = "BillingPeriodMissingError",
|
|
671
844
|
CannotDeleteCustomerError = "CannotDeleteCustomerError",
|
|
672
845
|
CannotDeleteFeatureError = "CannotDeleteFeatureError",
|
|
673
|
-
|
|
846
|
+
CannotEditPackageInNonDraftMode = "CannotEditPackageInNonDraftMode",
|
|
674
847
|
CheckoutIsNotSupported = "CheckoutIsNotSupported",
|
|
848
|
+
CheckoutOptionsMissing = "CheckoutOptionsMissing",
|
|
675
849
|
CouponNotFound = "CouponNotFound",
|
|
850
|
+
CustomerAlreadyHaveCustomerCoupon = "CustomerAlreadyHaveCustomerCoupon",
|
|
851
|
+
CustomerAlreadyUsesCoupon = "CustomerAlreadyUsesCoupon",
|
|
676
852
|
CustomerHasNoPaymentMethod = "CustomerHasNoPaymentMethod",
|
|
677
853
|
CustomerNoBillingId = "CustomerNoBillingId",
|
|
678
854
|
CustomerNotFound = "CustomerNotFound",
|
|
855
|
+
DowngradeBillingPeriodNotSupportedError = "DowngradeBillingPeriodNotSupportedError",
|
|
679
856
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived",
|
|
680
857
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed",
|
|
681
858
|
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError",
|
|
859
|
+
EntitlementsMustBelongToSamePackage = "EntitlementsMustBelongToSamePackage",
|
|
860
|
+
EntityIdDifferentFromRefIdError = "EntityIdDifferentFromRefIdError",
|
|
682
861
|
EnvironmentMissing = "EnvironmentMissing",
|
|
862
|
+
ExperimentAlreadyRunning = "ExperimentAlreadyRunning",
|
|
683
863
|
ExperimentNotFoundError = "ExperimentNotFoundError",
|
|
684
864
|
ExperimentStatusError = "ExperimentStatusError",
|
|
865
|
+
FailedToCreateCheckoutSessionError = "FailedToCreateCheckoutSessionError",
|
|
685
866
|
FailedToImportCustomer = "FailedToImportCustomer",
|
|
686
867
|
FeatureNotFound = "FeatureNotFound",
|
|
687
868
|
IdentityForbidden = "IdentityForbidden",
|
|
@@ -701,16 +882,26 @@ export declare enum ErrorCode {
|
|
|
701
882
|
MemberInvitationError = "MemberInvitationError",
|
|
702
883
|
MemberNotFound = "MemberNotFound",
|
|
703
884
|
MeteringNotAvailableForFeatureType = "MeteringNotAvailableForFeatureType",
|
|
885
|
+
MissingEntityIdError = "MissingEntityIdError",
|
|
704
886
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription",
|
|
887
|
+
NoProductsAvailable = "NoProductsAvailable",
|
|
888
|
+
OperationNotAllowedDuringInProgressExperiment = "OperationNotAllowedDuringInProgressExperiment",
|
|
705
889
|
PackageAlreadyPublished = "PackageAlreadyPublished",
|
|
706
890
|
PackagePricingTypeNotSet = "PackagePricingTypeNotSet",
|
|
707
891
|
PlanAlreadyExtended = "PlanAlreadyExtended",
|
|
892
|
+
PlanCannotBePublishWhenBasePlanIsDraft = "PlanCannotBePublishWhenBasePlanIsDraft",
|
|
708
893
|
PlanIsUsedAsDefaultStartPlan = "PlanIsUsedAsDefaultStartPlan",
|
|
709
894
|
PlanIsUsedAsDowngradePlan = "PlanIsUsedAsDowngradePlan",
|
|
710
895
|
PlanNotFound = "PlanNotFound",
|
|
711
896
|
PlanWithChildCantBeDeleted = "PlanWithChildCantBeDeleted",
|
|
712
897
|
PlansCircularDependencyError = "PlansCircularDependencyError",
|
|
713
898
|
PriceNotFound = "PriceNotFound",
|
|
899
|
+
PromotionCodeCustomerNotFirstPurchase = "PromotionCodeCustomerNotFirstPurchase",
|
|
900
|
+
PromotionCodeMaxRedemptionsReached = "PromotionCodeMaxRedemptionsReached",
|
|
901
|
+
PromotionCodeMinimumAmountNotReached = "PromotionCodeMinimumAmountNotReached",
|
|
902
|
+
PromotionCodeNotActive = "PromotionCodeNotActive",
|
|
903
|
+
PromotionCodeNotForCustomer = "PromotionCodeNotForCustomer",
|
|
904
|
+
PromotionCodeNotFound = "PromotionCodeNotFound",
|
|
714
905
|
RateLimitExceeded = "RateLimitExceeded",
|
|
715
906
|
ResyncAlreadyInProgress = "ResyncAlreadyInProgress",
|
|
716
907
|
SelectedBillingModelDoesntMatchImportedItemError = "SelectedBillingModelDoesntMatchImportedItemError",
|
|
@@ -725,8 +916,27 @@ export declare enum ErrorCode {
|
|
|
725
916
|
UncompatibleSubscriptionAddon = "UncompatibleSubscriptionAddon",
|
|
726
917
|
UnexpectedError = "UnexpectedError",
|
|
727
918
|
UnsupportedFeatureType = "UnsupportedFeatureType",
|
|
919
|
+
UnsupportedSubscriptionScheduleType = "UnsupportedSubscriptionScheduleType",
|
|
728
920
|
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
729
921
|
}
|
|
922
|
+
export declare type EstimateSubscriptionInput = {
|
|
923
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
924
|
+
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
925
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
926
|
+
customerId: Scalars['String'];
|
|
927
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
928
|
+
planId: Scalars['String'];
|
|
929
|
+
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
930
|
+
promotionCode?: InputMaybe<Scalars['String']>;
|
|
931
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
932
|
+
};
|
|
933
|
+
export declare type EstimateSubscriptionUpdateInput = {
|
|
934
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
935
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
936
|
+
promotionCode?: InputMaybe<Scalars['String']>;
|
|
937
|
+
subscriptionId: Scalars['String'];
|
|
938
|
+
unitQuantity?: InputMaybe<Scalars['Float']>;
|
|
939
|
+
};
|
|
730
940
|
/** EventLogType */
|
|
731
941
|
export declare enum EventLogType {
|
|
732
942
|
AddonCreated = "ADDON_CREATED",
|
|
@@ -740,10 +950,12 @@ export declare enum EventLogType {
|
|
|
740
950
|
CustomerDeleted = "CUSTOMER_DELETED",
|
|
741
951
|
CustomerPaymentFailed = "CUSTOMER_PAYMENT_FAILED",
|
|
742
952
|
CustomerUpdated = "CUSTOMER_UPDATED",
|
|
953
|
+
EdgeApiDataResync = "EDGE_API_DATA_RESYNC",
|
|
743
954
|
EntitlementsUpdated = "ENTITLEMENTS_UPDATED",
|
|
744
955
|
EntitlementDenied = "ENTITLEMENT_DENIED",
|
|
745
956
|
EntitlementGranted = "ENTITLEMENT_GRANTED",
|
|
746
957
|
EntitlementRequested = "ENTITLEMENT_REQUESTED",
|
|
958
|
+
EnvironmentDeleted = "ENVIRONMENT_DELETED",
|
|
747
959
|
FeatureCreated = "FEATURE_CREATED",
|
|
748
960
|
FeatureDeleted = "FEATURE_DELETED",
|
|
749
961
|
FeatureUpdated = "FEATURE_UPDATED",
|
|
@@ -754,6 +966,9 @@ export declare enum EventLogType {
|
|
|
754
966
|
PlanCreated = "PLAN_CREATED",
|
|
755
967
|
PlanDeleted = "PLAN_DELETED",
|
|
756
968
|
PlanUpdated = "PLAN_UPDATED",
|
|
969
|
+
ProductCreated = "PRODUCT_CREATED",
|
|
970
|
+
ProductDeleted = "PRODUCT_DELETED",
|
|
971
|
+
ProductUpdated = "PRODUCT_UPDATED",
|
|
757
972
|
PromotionalEntitlementExpired = "PROMOTIONAL_ENTITLEMENT_EXPIRED",
|
|
758
973
|
PromotionalEntitlementGranted = "PROMOTIONAL_ENTITLEMENT_GRANTED",
|
|
759
974
|
PromotionalEntitlementRevoked = "PROMOTIONAL_ENTITLEMENT_REVOKED",
|
|
@@ -768,7 +983,8 @@ export declare enum EventLogType {
|
|
|
768
983
|
SubscriptionTrialStarted = "SUBSCRIPTION_TRIAL_STARTED",
|
|
769
984
|
SubscriptionUpdated = "SUBSCRIPTION_UPDATED",
|
|
770
985
|
SubscriptionUsageUpdated = "SUBSCRIPTION_USAGE_UPDATED",
|
|
771
|
-
SyncFailed = "SYNC_FAILED"
|
|
986
|
+
SyncFailed = "SYNC_FAILED",
|
|
987
|
+
WidgetConfigurationUpdated = "WIDGET_CONFIGURATION_UPDATED"
|
|
772
988
|
}
|
|
773
989
|
export declare type ExperimentFilter = {
|
|
774
990
|
and?: InputMaybe<Array<ExperimentFilter>>;
|
|
@@ -789,36 +1005,15 @@ export declare type ExperimentFilterCustomerFilter = {
|
|
|
789
1005
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
790
1006
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
791
1007
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
1008
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
792
1009
|
email?: InputMaybe<StringFieldComparison>;
|
|
793
1010
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
794
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
795
1011
|
id?: InputMaybe<StringFieldComparison>;
|
|
796
1012
|
name?: InputMaybe<StringFieldComparison>;
|
|
797
1013
|
or?: InputMaybe<Array<ExperimentFilterCustomerFilter>>;
|
|
798
1014
|
refId?: InputMaybe<StringFieldComparison>;
|
|
799
1015
|
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
800
1016
|
};
|
|
801
|
-
/** The group of the experiment */
|
|
802
|
-
export declare enum ExperimentGroup {
|
|
803
|
-
Control = "CONTROL",
|
|
804
|
-
Variant = "VARIANT"
|
|
805
|
-
}
|
|
806
|
-
export declare type ExperimentGroupFilterComparison = {
|
|
807
|
-
eq?: InputMaybe<ExperimentGroup>;
|
|
808
|
-
gt?: InputMaybe<ExperimentGroup>;
|
|
809
|
-
gte?: InputMaybe<ExperimentGroup>;
|
|
810
|
-
iLike?: InputMaybe<ExperimentGroup>;
|
|
811
|
-
in?: InputMaybe<Array<ExperimentGroup>>;
|
|
812
|
-
is?: InputMaybe<Scalars['Boolean']>;
|
|
813
|
-
isNot?: InputMaybe<Scalars['Boolean']>;
|
|
814
|
-
like?: InputMaybe<ExperimentGroup>;
|
|
815
|
-
lt?: InputMaybe<ExperimentGroup>;
|
|
816
|
-
lte?: InputMaybe<ExperimentGroup>;
|
|
817
|
-
neq?: InputMaybe<ExperimentGroup>;
|
|
818
|
-
notILike?: InputMaybe<ExperimentGroup>;
|
|
819
|
-
notIn?: InputMaybe<Array<ExperimentGroup>>;
|
|
820
|
-
notLike?: InputMaybe<ExperimentGroup>;
|
|
821
|
-
};
|
|
822
1017
|
export declare type ExperimentSort = {
|
|
823
1018
|
direction: SortDirection;
|
|
824
1019
|
field: ExperimentSortFields;
|
|
@@ -833,6 +1028,10 @@ export declare enum ExperimentSortFields {
|
|
|
833
1028
|
RefId = "refId",
|
|
834
1029
|
Status = "status"
|
|
835
1030
|
}
|
|
1031
|
+
export declare type ExperimentStatsQuery = {
|
|
1032
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
1033
|
+
experimentRefId: Scalars['String'];
|
|
1034
|
+
};
|
|
836
1035
|
/** The status of the EXPERIMENT */
|
|
837
1036
|
export declare enum ExperimentStatus {
|
|
838
1037
|
Completed = "COMPLETED",
|
|
@@ -870,8 +1069,9 @@ export declare type FeatureFilter = {
|
|
|
870
1069
|
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
871
1070
|
};
|
|
872
1071
|
export declare type FeatureInput = {
|
|
1072
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
873
1073
|
description?: InputMaybe<Scalars['String']>;
|
|
874
|
-
displayName
|
|
1074
|
+
displayName: Scalars['String'];
|
|
875
1075
|
environmentId: Scalars['String'];
|
|
876
1076
|
featureStatus?: InputMaybe<FeatureStatus>;
|
|
877
1077
|
featureType: FeatureType;
|
|
@@ -950,11 +1150,33 @@ export declare type FetchEntitlementsQuery = {
|
|
|
950
1150
|
customerId: Scalars['String'];
|
|
951
1151
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
952
1152
|
};
|
|
1153
|
+
export declare type FontVariantInput = {
|
|
1154
|
+
fontSize?: InputMaybe<Scalars['Float']>;
|
|
1155
|
+
fontWeight?: InputMaybe<FontWeight>;
|
|
1156
|
+
};
|
|
1157
|
+
/** Font weight */
|
|
1158
|
+
export declare enum FontWeight {
|
|
1159
|
+
Bold = "BOLD",
|
|
1160
|
+
Normal = "NORMAL"
|
|
1161
|
+
}
|
|
1162
|
+
export declare type GetCustomerByRefIdInput = {
|
|
1163
|
+
customerId: Scalars['String'];
|
|
1164
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
1165
|
+
};
|
|
953
1166
|
export declare type GetPackageByRefIdInput = {
|
|
954
1167
|
environmentId: Scalars['String'];
|
|
955
1168
|
refId: Scalars['String'];
|
|
956
1169
|
versionNumber?: InputMaybe<Scalars['Float']>;
|
|
957
1170
|
};
|
|
1171
|
+
export declare type GetPaywallInput = {
|
|
1172
|
+
context?: InputMaybe<WidgetType>;
|
|
1173
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
1174
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
1175
|
+
productId?: InputMaybe<Scalars['String']>;
|
|
1176
|
+
};
|
|
1177
|
+
export declare type GetWidgetConfigurationInput = {
|
|
1178
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
1179
|
+
};
|
|
958
1180
|
export declare type HookFilter = {
|
|
959
1181
|
and?: InputMaybe<Array<HookFilter>>;
|
|
960
1182
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
@@ -1002,11 +1224,13 @@ export declare type HubspotCredentialsInput = {
|
|
|
1002
1224
|
refreshToken?: InputMaybe<Scalars['String']>;
|
|
1003
1225
|
};
|
|
1004
1226
|
export declare type ImportCustomerInput = {
|
|
1227
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1005
1228
|
billingId: Scalars['String'];
|
|
1229
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
1006
1230
|
email?: InputMaybe<Scalars['String']>;
|
|
1007
1231
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
1008
1232
|
name?: InputMaybe<Scalars['String']>;
|
|
1009
|
-
refId
|
|
1233
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1010
1234
|
};
|
|
1011
1235
|
export declare type ImportIntegrationCatalogInput = {
|
|
1012
1236
|
billingModel?: InputMaybe<BillingModel>;
|
|
@@ -1055,10 +1279,12 @@ export declare type InitAddStripeCustomerPaymentMethodInput = {
|
|
|
1055
1279
|
};
|
|
1056
1280
|
export declare type InitiateCheckoutInput = {
|
|
1057
1281
|
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1282
|
+
allowPromoCodes?: InputMaybe<Scalars['Boolean']>;
|
|
1283
|
+
allowTaxIdCollection?: InputMaybe<Scalars['Boolean']>;
|
|
1058
1284
|
billingPeriod: BillingPeriod;
|
|
1059
1285
|
cancelUrl: Scalars['String'];
|
|
1286
|
+
collectBillingAddress?: InputMaybe<Scalars['Boolean']>;
|
|
1060
1287
|
customerId: Scalars['String'];
|
|
1061
|
-
environmentId?: InputMaybe<Scalars['String']>;
|
|
1062
1288
|
planId: Scalars['String'];
|
|
1063
1289
|
successUrl: Scalars['String'];
|
|
1064
1290
|
unitQuantity?: InputMaybe<Scalars['Int']>;
|
|
@@ -1253,10 +1479,14 @@ export declare type PackageEntitlementFilterPackageDtoFilter = {
|
|
|
1253
1479
|
};
|
|
1254
1480
|
export declare type PackageEntitlementInput = {
|
|
1255
1481
|
description?: InputMaybe<Scalars['String']>;
|
|
1482
|
+
displayNameOverride?: InputMaybe<Scalars['String']>;
|
|
1256
1483
|
environmentId: Scalars['String'];
|
|
1257
1484
|
featureId: Scalars['String'];
|
|
1258
1485
|
hasUnlimitedUsage?: InputMaybe<Scalars['Boolean']>;
|
|
1486
|
+
hiddenFromWidgets?: InputMaybe<Array<WidgetType>>;
|
|
1487
|
+
isCustom?: InputMaybe<Scalars['Boolean']>;
|
|
1259
1488
|
monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>;
|
|
1489
|
+
order?: InputMaybe<Scalars['Float']>;
|
|
1260
1490
|
packageId: Scalars['String'];
|
|
1261
1491
|
resetPeriod?: InputMaybe<EntitlementResetPeriod>;
|
|
1262
1492
|
usageLimit?: InputMaybe<Scalars['Float']>;
|
|
@@ -1276,8 +1506,12 @@ export declare enum PackageEntitlementSortFields {
|
|
|
1276
1506
|
}
|
|
1277
1507
|
export declare type PackageEntitlementUpdateInput = {
|
|
1278
1508
|
description?: InputMaybe<Scalars['String']>;
|
|
1509
|
+
displayNameOverride?: InputMaybe<Scalars['String']>;
|
|
1279
1510
|
hasUnlimitedUsage?: InputMaybe<Scalars['Boolean']>;
|
|
1511
|
+
hiddenFromWidgets?: InputMaybe<Array<WidgetType>>;
|
|
1512
|
+
isCustom?: InputMaybe<Scalars['Boolean']>;
|
|
1280
1513
|
monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>;
|
|
1514
|
+
order?: InputMaybe<Scalars['Float']>;
|
|
1281
1515
|
resetPeriod?: InputMaybe<EntitlementResetPeriod>;
|
|
1282
1516
|
usageLimit?: InputMaybe<Scalars['Float']>;
|
|
1283
1517
|
weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>;
|
|
@@ -1319,12 +1553,31 @@ export declare enum PaymentMethodType {
|
|
|
1319
1553
|
Bank = "BANK",
|
|
1320
1554
|
Card = "CARD"
|
|
1321
1555
|
}
|
|
1556
|
+
export declare type PaywallColorsPaletteInput = {
|
|
1557
|
+
backgroundColor?: InputMaybe<Scalars['String']>;
|
|
1558
|
+
borderColor?: InputMaybe<Scalars['String']>;
|
|
1559
|
+
currentPlanBackground?: InputMaybe<Scalars['String']>;
|
|
1560
|
+
primary?: InputMaybe<Scalars['String']>;
|
|
1561
|
+
textColor?: InputMaybe<Scalars['String']>;
|
|
1562
|
+
};
|
|
1563
|
+
export declare type PaywallConfigurationInput = {
|
|
1564
|
+
layout?: InputMaybe<PaywallLayoutConfigurationInput>;
|
|
1565
|
+
palette?: InputMaybe<PaywallColorsPaletteInput>;
|
|
1566
|
+
typography?: InputMaybe<TypographyConfigurationInput>;
|
|
1567
|
+
};
|
|
1568
|
+
export declare type PaywallLayoutConfigurationInput = {
|
|
1569
|
+
alignment?: InputMaybe<Alignment>;
|
|
1570
|
+
planMargin?: InputMaybe<Scalars['Float']>;
|
|
1571
|
+
planPadding?: InputMaybe<Scalars['Float']>;
|
|
1572
|
+
planWidth?: InputMaybe<Scalars['Float']>;
|
|
1573
|
+
};
|
|
1322
1574
|
export declare type PlanCreateInput = {
|
|
1323
1575
|
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1324
1576
|
billingId?: InputMaybe<Scalars['String']>;
|
|
1325
1577
|
description?: InputMaybe<Scalars['String']>;
|
|
1326
1578
|
displayName: Scalars['String'];
|
|
1327
1579
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
1580
|
+
hiddenFromWidgets?: InputMaybe<Array<WidgetType>>;
|
|
1328
1581
|
parentPlanId?: InputMaybe<Scalars['String']>;
|
|
1329
1582
|
productId: Scalars['String'];
|
|
1330
1583
|
refId?: InputMaybe<Scalars['String']>;
|
|
@@ -1404,12 +1657,14 @@ export declare type PlanUpdateInput = {
|
|
|
1404
1657
|
defaultTrialConfig?: InputMaybe<DefaultTrialConfigInputDto>;
|
|
1405
1658
|
description?: InputMaybe<Scalars['String']>;
|
|
1406
1659
|
displayName?: InputMaybe<Scalars['String']>;
|
|
1660
|
+
hiddenFromWidgets?: InputMaybe<Array<WidgetType>>;
|
|
1407
1661
|
id: Scalars['String'];
|
|
1408
1662
|
parentPlanId?: InputMaybe<Scalars['String']>;
|
|
1409
1663
|
status?: InputMaybe<PackageStatus>;
|
|
1410
1664
|
};
|
|
1411
1665
|
export declare type PriceFilter = {
|
|
1412
1666
|
and?: InputMaybe<Array<PriceFilter>>;
|
|
1667
|
+
billingId?: InputMaybe<StringFieldComparison>;
|
|
1413
1668
|
billingModel?: InputMaybe<BillingModelFilterComparison>;
|
|
1414
1669
|
billingPeriod?: InputMaybe<BillingPeriodFilterComparison>;
|
|
1415
1670
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
@@ -1435,6 +1690,7 @@ export declare type PriceFilterPackageDtoFilter = {
|
|
|
1435
1690
|
versionNumber?: InputMaybe<IntFieldComparison>;
|
|
1436
1691
|
};
|
|
1437
1692
|
export declare type PricePeriodInput = {
|
|
1693
|
+
billingCountryCode?: InputMaybe<Scalars['String']>;
|
|
1438
1694
|
billingPeriod: BillingPeriod;
|
|
1439
1695
|
price: MoneyInputDto;
|
|
1440
1696
|
};
|
|
@@ -1444,6 +1700,7 @@ export declare type PriceSort = {
|
|
|
1444
1700
|
nulls?: InputMaybe<SortNulls>;
|
|
1445
1701
|
};
|
|
1446
1702
|
export declare enum PriceSortFields {
|
|
1703
|
+
BillingId = "billingId",
|
|
1447
1704
|
BillingModel = "billingModel",
|
|
1448
1705
|
BillingPeriod = "billingPeriod",
|
|
1449
1706
|
CreatedAt = "createdAt",
|
|
@@ -1452,6 +1709,8 @@ export declare enum PriceSortFields {
|
|
|
1452
1709
|
export declare type PricingModelCreateInput = {
|
|
1453
1710
|
billingModel: BillingModel;
|
|
1454
1711
|
featureId?: InputMaybe<Scalars['String']>;
|
|
1712
|
+
maxUnitQuantity?: InputMaybe<Scalars['Float']>;
|
|
1713
|
+
minUnitQuantity?: InputMaybe<Scalars['Float']>;
|
|
1455
1714
|
pricePeriods: Array<PricePeriodInput>;
|
|
1456
1715
|
};
|
|
1457
1716
|
/** Package pricing type. */
|
|
@@ -1496,6 +1755,7 @@ export declare type ProductFilter = {
|
|
|
1496
1755
|
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
1497
1756
|
};
|
|
1498
1757
|
export declare type ProductSettingsInput = {
|
|
1758
|
+
downgradeAtEndOfBillingPeriod?: InputMaybe<Scalars['String']>;
|
|
1499
1759
|
downgradePlanId?: InputMaybe<Scalars['String']>;
|
|
1500
1760
|
subscriptionCancellationTime: SubscriptionCancellationTime;
|
|
1501
1761
|
subscriptionEndSetup: SubscriptionEndSetup;
|
|
@@ -1600,19 +1860,76 @@ export declare type PromotionalEntitlementUpdateInput = {
|
|
|
1600
1860
|
usageLimit?: InputMaybe<Scalars['Float']>;
|
|
1601
1861
|
weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>;
|
|
1602
1862
|
};
|
|
1863
|
+
export declare enum ProrationBehavior {
|
|
1864
|
+
CreateProrations = "CREATE_PRORATIONS",
|
|
1865
|
+
InvoiceImmediately = "INVOICE_IMMEDIATELY"
|
|
1866
|
+
}
|
|
1603
1867
|
export declare type ProvisionCustomerInput = {
|
|
1604
1868
|
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1605
1869
|
billingId?: InputMaybe<Scalars['String']>;
|
|
1606
1870
|
billingInformation?: InputMaybe<CustomerBillingInfo>;
|
|
1607
1871
|
couponRefId?: InputMaybe<Scalars['String']>;
|
|
1872
|
+
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
1608
1873
|
crmId?: InputMaybe<Scalars['String']>;
|
|
1874
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
1609
1875
|
email?: InputMaybe<Scalars['String']>;
|
|
1610
1876
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
1877
|
+
excludeFromExperiment?: InputMaybe<Scalars['Boolean']>;
|
|
1611
1878
|
name?: InputMaybe<Scalars['String']>;
|
|
1612
|
-
refId
|
|
1879
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1613
1880
|
shouldSyncFree?: InputMaybe<Scalars['Boolean']>;
|
|
1614
|
-
subscriptionParams?: InputMaybe<
|
|
1881
|
+
subscriptionParams?: InputMaybe<ProvisionCustomerSubscriptionInput>;
|
|
1882
|
+
};
|
|
1883
|
+
export declare type ProvisionCustomerSubscriptionInput = {
|
|
1884
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1885
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1886
|
+
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1887
|
+
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1888
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1889
|
+
planId: Scalars['String'];
|
|
1890
|
+
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1891
|
+
promotionCode?: InputMaybe<Scalars['String']>;
|
|
1892
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1893
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1894
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
1895
|
+
};
|
|
1896
|
+
export declare type ProvisionSubscription = {
|
|
1897
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1898
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1899
|
+
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1900
|
+
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1901
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1902
|
+
checkoutOptions?: InputMaybe<CheckoutOptions>;
|
|
1903
|
+
customerId: Scalars['String'];
|
|
1904
|
+
planId: Scalars['String'];
|
|
1905
|
+
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1906
|
+
promotionCode?: InputMaybe<Scalars['String']>;
|
|
1907
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1908
|
+
skipTrial?: InputMaybe<Scalars['Boolean']>;
|
|
1909
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1910
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
1911
|
+
};
|
|
1912
|
+
export declare type ProvisionSubscriptionInput = {
|
|
1913
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1914
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1915
|
+
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1916
|
+
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1917
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1918
|
+
checkoutOptions?: InputMaybe<CheckoutOptions>;
|
|
1919
|
+
customerId: Scalars['String'];
|
|
1920
|
+
planId: Scalars['String'];
|
|
1921
|
+
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1922
|
+
promotionCode?: InputMaybe<Scalars['String']>;
|
|
1923
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1924
|
+
skipTrial?: InputMaybe<Scalars['Boolean']>;
|
|
1925
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1926
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
1615
1927
|
};
|
|
1928
|
+
/** Provision subscription status */
|
|
1929
|
+
export declare enum ProvisionSubscriptionStatus {
|
|
1930
|
+
PaymentRequired = "PAYMENT_REQUIRED",
|
|
1931
|
+
Success = "SUCCESS"
|
|
1932
|
+
}
|
|
1616
1933
|
/** PublishMigrationType */
|
|
1617
1934
|
export declare enum PublishMigrationType {
|
|
1618
1935
|
AllCustomers = "ALL_CUSTOMERS",
|
|
@@ -1636,6 +1953,12 @@ export declare type RemoveCouponFromCustomerInput = {
|
|
|
1636
1953
|
/** The id of relation. */
|
|
1637
1954
|
relationId: Scalars['String'];
|
|
1638
1955
|
};
|
|
1956
|
+
export declare type RemoveCouponFromCustomerSubscriptionInput = {
|
|
1957
|
+
/** The id of the record. */
|
|
1958
|
+
id: Scalars['String'];
|
|
1959
|
+
/** The id of relation. */
|
|
1960
|
+
relationId: Scalars['String'];
|
|
1961
|
+
};
|
|
1639
1962
|
export declare type RemoveExperimentFromCustomerInput = {
|
|
1640
1963
|
/** The id of the record. */
|
|
1641
1964
|
id: Scalars['String'];
|
|
@@ -1670,6 +1993,12 @@ export declare type SetCouponOnCustomerInput = {
|
|
|
1670
1993
|
/** The id of relation. */
|
|
1671
1994
|
relationId: Scalars['String'];
|
|
1672
1995
|
};
|
|
1996
|
+
export declare type SetCouponOnCustomerSubscriptionInput = {
|
|
1997
|
+
/** The id of the record. */
|
|
1998
|
+
id: Scalars['String'];
|
|
1999
|
+
/** The id of relation. */
|
|
2000
|
+
relationId: Scalars['String'];
|
|
2001
|
+
};
|
|
1673
2002
|
export declare type SetExperimentOnCustomerInput = {
|
|
1674
2003
|
/** The id of the record. */
|
|
1675
2004
|
id: Scalars['String'];
|
|
@@ -1778,17 +2107,19 @@ export declare type SubscriptionAddonFilterCustomerSubscriptionFilter = {
|
|
|
1778
2107
|
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
1779
2108
|
endDate?: InputMaybe<DateFieldComparison>;
|
|
1780
2109
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
1781
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
1782
2110
|
id?: InputMaybe<StringFieldComparison>;
|
|
2111
|
+
oldBillingId?: InputMaybe<StringFieldComparison>;
|
|
1783
2112
|
or?: InputMaybe<Array<SubscriptionAddonFilterCustomerSubscriptionFilter>>;
|
|
1784
2113
|
pricingType?: InputMaybe<PricingTypeFilterComparison>;
|
|
1785
2114
|
refId?: InputMaybe<StringFieldComparison>;
|
|
1786
2115
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
1787
2116
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
2117
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
1788
2118
|
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
1789
2119
|
};
|
|
1790
2120
|
export declare type SubscriptionAddonFilterPriceFilter = {
|
|
1791
2121
|
and?: InputMaybe<Array<SubscriptionAddonFilterPriceFilter>>;
|
|
2122
|
+
billingId?: InputMaybe<StringFieldComparison>;
|
|
1792
2123
|
billingModel?: InputMaybe<BillingModelFilterComparison>;
|
|
1793
2124
|
billingPeriod?: InputMaybe<BillingPeriodFilterComparison>;
|
|
1794
2125
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
@@ -1797,7 +2128,6 @@ export declare type SubscriptionAddonFilterPriceFilter = {
|
|
|
1797
2128
|
};
|
|
1798
2129
|
export declare type SubscriptionAddonInput = {
|
|
1799
2130
|
addonId: Scalars['String'];
|
|
1800
|
-
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1801
2131
|
quantity?: InputMaybe<Scalars['Int']>;
|
|
1802
2132
|
};
|
|
1803
2133
|
export declare type SubscriptionAddonSort = {
|
|
@@ -1811,25 +2141,6 @@ export declare enum SubscriptionAddonSortFields {
|
|
|
1811
2141
|
Quantity = "quantity",
|
|
1812
2142
|
UpdatedAt = "updatedAt"
|
|
1813
2143
|
}
|
|
1814
|
-
export declare type SubscriptionBaseInput = {
|
|
1815
|
-
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1816
|
-
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1817
|
-
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1818
|
-
billingCycleAnchor?: InputMaybe<Scalars['DateTime']>;
|
|
1819
|
-
billingId?: InputMaybe<Scalars['String']>;
|
|
1820
|
-
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1821
|
-
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1822
|
-
crmId?: InputMaybe<Scalars['String']>;
|
|
1823
|
-
currentBillingPeriodEnd?: InputMaybe<Scalars['DateTime']>;
|
|
1824
|
-
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
1825
|
-
isCustomPriceSubscription?: InputMaybe<Scalars['Boolean']>;
|
|
1826
|
-
isOverridingTrialConfig?: InputMaybe<Scalars['Boolean']>;
|
|
1827
|
-
isTrial?: InputMaybe<Scalars['Boolean']>;
|
|
1828
|
-
planId?: InputMaybe<Scalars['String']>;
|
|
1829
|
-
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1830
|
-
refId?: InputMaybe<Scalars['String']>;
|
|
1831
|
-
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1832
|
-
};
|
|
1833
2144
|
export declare type SubscriptionBillingInfo = {
|
|
1834
2145
|
taxRateIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1835
2146
|
};
|
|
@@ -1872,37 +2183,108 @@ export declare enum SubscriptionCancellationTime {
|
|
|
1872
2183
|
Immediate = "IMMEDIATE",
|
|
1873
2184
|
SpecificDate = "SPECIFIC_DATE"
|
|
1874
2185
|
}
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
2186
|
+
/** Subscription decision strategy */
|
|
2187
|
+
export declare enum SubscriptionDecisionStrategy {
|
|
2188
|
+
PredefinedFreePlan = "PREDEFINED_FREE_PLAN",
|
|
2189
|
+
PredefinedTrialPlan = "PREDEFINED_TRIAL_PLAN",
|
|
2190
|
+
RequestedPlan = "REQUESTED_PLAN",
|
|
2191
|
+
SkippedSubscriptionCreation = "SKIPPED_SUBSCRIPTION_CREATION"
|
|
2192
|
+
}
|
|
1880
2193
|
export declare enum SubscriptionEndSetup {
|
|
1881
2194
|
CancelSubscription = "CANCEL_SUBSCRIPTION",
|
|
1882
2195
|
DowngradeToFree = "DOWNGRADE_TO_FREE"
|
|
1883
2196
|
}
|
|
2197
|
+
export declare type SubscriptionEntitlementFilter = {
|
|
2198
|
+
and?: InputMaybe<Array<SubscriptionEntitlementFilter>>;
|
|
2199
|
+
createdAt?: InputMaybe<DateFieldComparison>;
|
|
2200
|
+
environmentId?: InputMaybe<StringFieldComparison>;
|
|
2201
|
+
feature?: InputMaybe<SubscriptionEntitlementFilterFeatureFilter>;
|
|
2202
|
+
id?: InputMaybe<StringFieldComparison>;
|
|
2203
|
+
or?: InputMaybe<Array<SubscriptionEntitlementFilter>>;
|
|
2204
|
+
subscription?: InputMaybe<SubscriptionEntitlementFilterCustomerSubscriptionFilter>;
|
|
2205
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
2206
|
+
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
2207
|
+
};
|
|
2208
|
+
export declare type SubscriptionEntitlementFilterCustomerSubscriptionFilter = {
|
|
2209
|
+
and?: InputMaybe<Array<SubscriptionEntitlementFilterCustomerSubscriptionFilter>>;
|
|
2210
|
+
billingId?: InputMaybe<StringFieldComparison>;
|
|
2211
|
+
cancelReason?: InputMaybe<SubscriptionCancelReasonFilterComparison>;
|
|
2212
|
+
cancellationDate?: InputMaybe<DateFieldComparison>;
|
|
2213
|
+
createdAt?: InputMaybe<DateFieldComparison>;
|
|
2214
|
+
crmId?: InputMaybe<StringFieldComparison>;
|
|
2215
|
+
crmLinkUrl?: InputMaybe<StringFieldComparison>;
|
|
2216
|
+
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
2217
|
+
endDate?: InputMaybe<DateFieldComparison>;
|
|
2218
|
+
environmentId?: InputMaybe<StringFieldComparison>;
|
|
2219
|
+
id?: InputMaybe<StringFieldComparison>;
|
|
2220
|
+
oldBillingId?: InputMaybe<StringFieldComparison>;
|
|
2221
|
+
or?: InputMaybe<Array<SubscriptionEntitlementFilterCustomerSubscriptionFilter>>;
|
|
2222
|
+
pricingType?: InputMaybe<PricingTypeFilterComparison>;
|
|
2223
|
+
refId?: InputMaybe<StringFieldComparison>;
|
|
2224
|
+
startDate?: InputMaybe<DateFieldComparison>;
|
|
2225
|
+
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
2226
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
2227
|
+
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
2228
|
+
};
|
|
2229
|
+
export declare type SubscriptionEntitlementFilterFeatureFilter = {
|
|
2230
|
+
and?: InputMaybe<Array<SubscriptionEntitlementFilterFeatureFilter>>;
|
|
2231
|
+
createdAt?: InputMaybe<DateFieldComparison>;
|
|
2232
|
+
description?: InputMaybe<StringFieldComparison>;
|
|
2233
|
+
displayName?: InputMaybe<StringFieldComparison>;
|
|
2234
|
+
environmentId?: InputMaybe<StringFieldComparison>;
|
|
2235
|
+
featureStatus?: InputMaybe<FeatureStatusFilterComparison>;
|
|
2236
|
+
featureType?: InputMaybe<FeatureTypeFilterComparison>;
|
|
2237
|
+
id?: InputMaybe<StringFieldComparison>;
|
|
2238
|
+
meterType?: InputMaybe<MeterTypeFilterComparison>;
|
|
2239
|
+
or?: InputMaybe<Array<SubscriptionEntitlementFilterFeatureFilter>>;
|
|
2240
|
+
refId?: InputMaybe<StringFieldComparison>;
|
|
2241
|
+
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
2242
|
+
};
|
|
2243
|
+
export declare type SubscriptionEntitlementInput = {
|
|
2244
|
+
description?: InputMaybe<Scalars['String']>;
|
|
2245
|
+
featureId: Scalars['String'];
|
|
2246
|
+
hasUnlimitedUsage?: InputMaybe<Scalars['Boolean']>;
|
|
2247
|
+
monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>;
|
|
2248
|
+
resetPeriod?: InputMaybe<EntitlementResetPeriod>;
|
|
2249
|
+
usageLimit?: InputMaybe<Scalars['Float']>;
|
|
2250
|
+
weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>;
|
|
2251
|
+
};
|
|
2252
|
+
export declare type SubscriptionEntitlementSort = {
|
|
2253
|
+
direction: SortDirection;
|
|
2254
|
+
field: SubscriptionEntitlementSortFields;
|
|
2255
|
+
nulls?: InputMaybe<SortNulls>;
|
|
2256
|
+
};
|
|
2257
|
+
export declare enum SubscriptionEntitlementSortFields {
|
|
2258
|
+
CreatedAt = "createdAt",
|
|
2259
|
+
EnvironmentId = "environmentId",
|
|
2260
|
+
Id = "id",
|
|
2261
|
+
SubscriptionId = "subscriptionId",
|
|
2262
|
+
UpdatedAt = "updatedAt"
|
|
2263
|
+
}
|
|
1884
2264
|
export declare type SubscriptionInput = {
|
|
1885
2265
|
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1886
2266
|
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1887
2267
|
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1888
|
-
billingCycleAnchor?: InputMaybe<Scalars['DateTime']>;
|
|
1889
2268
|
billingId?: InputMaybe<Scalars['String']>;
|
|
1890
2269
|
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1891
2270
|
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1892
2271
|
crmId?: InputMaybe<Scalars['String']>;
|
|
1893
|
-
currentBillingPeriodEnd?: InputMaybe<Scalars['DateTime']>;
|
|
1894
2272
|
customerId: Scalars['String'];
|
|
1895
2273
|
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
1896
2274
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
1897
2275
|
isCustomPriceSubscription?: InputMaybe<Scalars['Boolean']>;
|
|
1898
2276
|
isOverridingTrialConfig?: InputMaybe<Scalars['Boolean']>;
|
|
1899
2277
|
isTrial?: InputMaybe<Scalars['Boolean']>;
|
|
1900
|
-
planId
|
|
2278
|
+
planId: Scalars['String'];
|
|
1901
2279
|
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
2280
|
+
promotionCode?: InputMaybe<Scalars['String']>;
|
|
1902
2281
|
refId?: InputMaybe<Scalars['String']>;
|
|
1903
2282
|
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
2283
|
+
subscriptionEntitlements?: InputMaybe<Array<SubscriptionEntitlementInput>>;
|
|
2284
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
1904
2285
|
};
|
|
1905
2286
|
export declare type SubscriptionMigrationInput = {
|
|
2287
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
1906
2288
|
subscriptionId: Scalars['String'];
|
|
1907
2289
|
};
|
|
1908
2290
|
export declare type SubscriptionMigrationTaskFilter = {
|
|
@@ -1947,17 +2329,19 @@ export declare type SubscriptionPriceFilterCustomerSubscriptionFilter = {
|
|
|
1947
2329
|
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
1948
2330
|
endDate?: InputMaybe<DateFieldComparison>;
|
|
1949
2331
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
1950
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
1951
2332
|
id?: InputMaybe<StringFieldComparison>;
|
|
2333
|
+
oldBillingId?: InputMaybe<StringFieldComparison>;
|
|
1952
2334
|
or?: InputMaybe<Array<SubscriptionPriceFilterCustomerSubscriptionFilter>>;
|
|
1953
2335
|
pricingType?: InputMaybe<PricingTypeFilterComparison>;
|
|
1954
2336
|
refId?: InputMaybe<StringFieldComparison>;
|
|
1955
2337
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
1956
2338
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
2339
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
1957
2340
|
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
1958
2341
|
};
|
|
1959
2342
|
export declare type SubscriptionPriceFilterPriceFilter = {
|
|
1960
2343
|
and?: InputMaybe<Array<SubscriptionPriceFilterPriceFilter>>;
|
|
2344
|
+
billingId?: InputMaybe<StringFieldComparison>;
|
|
1961
2345
|
billingModel?: InputMaybe<BillingModelFilterComparison>;
|
|
1962
2346
|
billingPeriod?: InputMaybe<BillingPeriodFilterComparison>;
|
|
1963
2347
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
@@ -1975,6 +2359,19 @@ export declare enum SubscriptionPriceSortFields {
|
|
|
1975
2359
|
UpdatedAt = "updatedAt",
|
|
1976
2360
|
UsageLimit = "usageLimit"
|
|
1977
2361
|
}
|
|
2362
|
+
/** Subscription scheduled schedule status */
|
|
2363
|
+
export declare enum SubscriptionScheduleStatus {
|
|
2364
|
+
Canceled = "Canceled",
|
|
2365
|
+
Done = "Done",
|
|
2366
|
+
Failed = "Failed",
|
|
2367
|
+
Scheduled = "Scheduled"
|
|
2368
|
+
}
|
|
2369
|
+
/** Subscription scheduled schedule type */
|
|
2370
|
+
export declare enum SubscriptionScheduleType {
|
|
2371
|
+
BillingPeriod = "BillingPeriod",
|
|
2372
|
+
Downgrade = "Downgrade",
|
|
2373
|
+
UnitAmount = "UnitAmount"
|
|
2374
|
+
}
|
|
1978
2375
|
export declare enum SubscriptionStartSetup {
|
|
1979
2376
|
FreePlan = "FREE_PLAN",
|
|
1980
2377
|
PlanSelection = "PLAN_SELECTION",
|
|
@@ -2005,13 +2402,10 @@ export declare type SubscriptionStatusFilterComparison = {
|
|
|
2005
2402
|
notIn?: InputMaybe<Array<SubscriptionStatus>>;
|
|
2006
2403
|
notLike?: InputMaybe<SubscriptionStatus>;
|
|
2007
2404
|
};
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
RequestedPlan = "REQUESTED_PLAN",
|
|
2013
|
-
SkippedSubscriptionCreation = "SKIPPED_SUBSCRIPTION_CREATION"
|
|
2014
|
-
}
|
|
2405
|
+
export declare type SubscriptionUpdateScheduleCancellationInput = {
|
|
2406
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
2407
|
+
subscriptionId: Scalars['String'];
|
|
2408
|
+
};
|
|
2015
2409
|
/** Status of the integration sync */
|
|
2016
2410
|
export declare enum SyncStatus {
|
|
2017
2411
|
Error = "ERROR",
|
|
@@ -2078,10 +2472,18 @@ export declare enum TrialPeriodUnits {
|
|
|
2078
2472
|
Day = "DAY",
|
|
2079
2473
|
Month = "MONTH"
|
|
2080
2474
|
}
|
|
2475
|
+
export declare type TypographyConfigurationInput = {
|
|
2476
|
+
body?: InputMaybe<FontVariantInput>;
|
|
2477
|
+
fontFamily?: InputMaybe<Scalars['String']>;
|
|
2478
|
+
h1?: InputMaybe<FontVariantInput>;
|
|
2479
|
+
h2?: InputMaybe<FontVariantInput>;
|
|
2480
|
+
h3?: InputMaybe<FontVariantInput>;
|
|
2481
|
+
};
|
|
2081
2482
|
export declare type UpdateAccountInput = {
|
|
2082
2483
|
displayName: Scalars['String'];
|
|
2083
2484
|
id: Scalars['String'];
|
|
2084
2485
|
subscriptionBillingAnchor?: InputMaybe<BillingAnchor>;
|
|
2486
|
+
subscriptionProrationBehavior?: InputMaybe<ProrationBehavior>;
|
|
2085
2487
|
timezone?: InputMaybe<Scalars['String']>;
|
|
2086
2488
|
};
|
|
2087
2489
|
export declare type UpdateCouponInput = {
|
|
@@ -2097,16 +2499,20 @@ export declare type UpdateCustomerInput = {
|
|
|
2097
2499
|
billingInformation?: InputMaybe<CustomerBillingInfo>;
|
|
2098
2500
|
couponRefId?: InputMaybe<Scalars['String']>;
|
|
2099
2501
|
crmId?: InputMaybe<Scalars['String']>;
|
|
2502
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
2100
2503
|
email?: InputMaybe<Scalars['String']>;
|
|
2101
2504
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
2102
2505
|
name?: InputMaybe<Scalars['String']>;
|
|
2103
|
-
refId
|
|
2506
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
2104
2507
|
};
|
|
2105
2508
|
export declare type UpdateEnvironment = {
|
|
2106
2509
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
2107
2510
|
description?: InputMaybe<Scalars['String']>;
|
|
2108
2511
|
displayName?: InputMaybe<Scalars['String']>;
|
|
2512
|
+
hardenClientAccessEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
2109
2513
|
id?: InputMaybe<Scalars['String']>;
|
|
2514
|
+
provisionStatus?: InputMaybe<EnvironmentProvisionStatus>;
|
|
2515
|
+
signingToken?: InputMaybe<Scalars['String']>;
|
|
2110
2516
|
slug?: InputMaybe<Scalars['String']>;
|
|
2111
2517
|
};
|
|
2112
2518
|
export declare type UpdateExperimentInput = {
|
|
@@ -2116,11 +2522,12 @@ export declare type UpdateExperimentInput = {
|
|
|
2116
2522
|
name?: InputMaybe<Scalars['String']>;
|
|
2117
2523
|
productId?: InputMaybe<Scalars['String']>;
|
|
2118
2524
|
productSettings?: InputMaybe<ProductSettingsInput>;
|
|
2119
|
-
refId
|
|
2525
|
+
refId: Scalars['String'];
|
|
2120
2526
|
variantGroupName?: InputMaybe<Scalars['String']>;
|
|
2121
2527
|
variantPercentage?: InputMaybe<Scalars['Float']>;
|
|
2122
2528
|
};
|
|
2123
2529
|
export declare type UpdateFeature = {
|
|
2530
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
2124
2531
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
2125
2532
|
description?: InputMaybe<Scalars['String']>;
|
|
2126
2533
|
displayName?: InputMaybe<Scalars['String']>;
|
|
@@ -2134,6 +2541,15 @@ export declare type UpdateFeature = {
|
|
|
2134
2541
|
refId?: InputMaybe<Scalars['String']>;
|
|
2135
2542
|
updatedAt?: InputMaybe<Scalars['DateTime']>;
|
|
2136
2543
|
};
|
|
2544
|
+
export declare type UpdateFeatureInput = {
|
|
2545
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
2546
|
+
description?: InputMaybe<Scalars['String']>;
|
|
2547
|
+
displayName?: InputMaybe<Scalars['String']>;
|
|
2548
|
+
environmentId: Scalars['String'];
|
|
2549
|
+
featureUnits?: InputMaybe<Scalars['String']>;
|
|
2550
|
+
featureUnitsPlural?: InputMaybe<Scalars['String']>;
|
|
2551
|
+
refId: Scalars['String'];
|
|
2552
|
+
};
|
|
2137
2553
|
export declare type UpdateHook = {
|
|
2138
2554
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
2139
2555
|
description?: InputMaybe<Scalars['String']>;
|
|
@@ -2191,10 +2607,33 @@ export declare type UpdateOnePromotionalEntitlementInput = {
|
|
|
2191
2607
|
/** The update to apply. */
|
|
2192
2608
|
update: PromotionalEntitlementUpdateInput;
|
|
2193
2609
|
};
|
|
2610
|
+
export declare type UpdatePackageEntitlementOrderInput = {
|
|
2611
|
+
entitlements: Array<UpdatePackageEntitlementOrderItemInput>;
|
|
2612
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
2613
|
+
packageId: Scalars['String'];
|
|
2614
|
+
};
|
|
2615
|
+
export declare type UpdatePackageEntitlementOrderItemInput = {
|
|
2616
|
+
id: Scalars['String'];
|
|
2617
|
+
order?: InputMaybe<Scalars['Float']>;
|
|
2618
|
+
};
|
|
2619
|
+
export declare type UpdateSubscriptionEntitlementInput = {
|
|
2620
|
+
hasUnlimitedUsage?: InputMaybe<Scalars['Boolean']>;
|
|
2621
|
+
id: Scalars['String'];
|
|
2622
|
+
monthlyResetPeriodConfiguration?: InputMaybe<MonthlyResetPeriodConfigInput>;
|
|
2623
|
+
resetPeriod?: InputMaybe<EntitlementResetPeriod>;
|
|
2624
|
+
usageLimit?: InputMaybe<Scalars['Float']>;
|
|
2625
|
+
weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>;
|
|
2626
|
+
};
|
|
2194
2627
|
export declare type UpdateSubscriptionInput = {
|
|
2195
2628
|
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
2629
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
2630
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
2196
2631
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
2197
|
-
|
|
2632
|
+
promotionCode?: InputMaybe<Scalars['String']>;
|
|
2633
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
2634
|
+
subscriptionEntitlements?: InputMaybe<Array<UpdateSubscriptionEntitlementInput>>;
|
|
2635
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
2636
|
+
trialEndDate?: InputMaybe<Scalars['DateTime']>;
|
|
2198
2637
|
unitQuantity?: InputMaybe<Scalars['Float']>;
|
|
2199
2638
|
};
|
|
2200
2639
|
export declare type UsageHistoryInput = {
|
|
@@ -2230,9 +2669,9 @@ export declare type UsageMeasurementFilterCustomerFilter = {
|
|
|
2230
2669
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
2231
2670
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
2232
2671
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
2672
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
2233
2673
|
email?: InputMaybe<StringFieldComparison>;
|
|
2234
2674
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
2235
|
-
experimentGroup?: InputMaybe<ExperimentGroupFilterComparison>;
|
|
2236
2675
|
id?: InputMaybe<StringFieldComparison>;
|
|
2237
2676
|
name?: InputMaybe<StringFieldComparison>;
|
|
2238
2677
|
or?: InputMaybe<Array<UsageMeasurementFilterCustomerFilter>>;
|
|
@@ -2298,45 +2737,67 @@ export declare enum WeeklyAccordingTo {
|
|
|
2298
2737
|
export declare type WeeklyResetPeriodConfigInput = {
|
|
2299
2738
|
accordingTo: WeeklyAccordingTo;
|
|
2300
2739
|
};
|
|
2740
|
+
export declare type WidgetConfigurationUpdateInput = {
|
|
2741
|
+
customerPortalConfiguration?: InputMaybe<CustomerPortalConfigurationInput>;
|
|
2742
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
2743
|
+
paywallConfiguration?: InputMaybe<PaywallConfigurationInput>;
|
|
2744
|
+
};
|
|
2745
|
+
/** The widget type */
|
|
2746
|
+
export declare enum WidgetType {
|
|
2747
|
+
CustomerPortal = "CUSTOMER_PORTAL",
|
|
2748
|
+
Paywall = "PAYWALL"
|
|
2749
|
+
}
|
|
2301
2750
|
export declare type ZuoraCredentialsInput = {
|
|
2302
2751
|
baseUrl: Scalars['String'];
|
|
2303
2752
|
clientId: Scalars['String'];
|
|
2304
2753
|
clientSecret: Scalars['String'];
|
|
2305
2754
|
};
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2755
|
+
/** The group of the experiment */
|
|
2756
|
+
export declare enum ExperimentGroupType {
|
|
2757
|
+
Control = "CONTROL",
|
|
2758
|
+
Variant = "VARIANT"
|
|
2759
|
+
}
|
|
2760
|
+
export declare type CouponFragment = {
|
|
2761
|
+
__typename?: 'Coupon';
|
|
2762
|
+
id: string;
|
|
2763
|
+
discountValue: number;
|
|
2764
|
+
type: CouponType;
|
|
2765
|
+
additionalMetaData?: any | null;
|
|
2766
|
+
refId: string;
|
|
2767
|
+
name: string;
|
|
2768
|
+
description?: string | null;
|
|
2769
|
+
createdAt: any;
|
|
2770
|
+
updatedAt: any;
|
|
2771
|
+
billingId?: string | null;
|
|
2772
|
+
billingLinkUrl?: string | null;
|
|
2773
|
+
status: CouponStatus;
|
|
2774
|
+
syncStates?: Array<{
|
|
2775
|
+
__typename?: 'SyncState';
|
|
2776
|
+
vendorIdentifier: VendorIdentifier;
|
|
2777
|
+
status: SyncStatus;
|
|
2778
|
+
}> | null;
|
|
2779
|
+
customers?: Array<{
|
|
2780
|
+
__typename?: 'Customer';
|
|
2317
2781
|
id: string;
|
|
2782
|
+
}> | null;
|
|
2783
|
+
};
|
|
2784
|
+
export declare type PriceFragment = {
|
|
2785
|
+
__typename?: 'Price';
|
|
2786
|
+
billingModel: BillingModel;
|
|
2787
|
+
billingPeriod: BillingPeriod;
|
|
2788
|
+
billingId?: string | null;
|
|
2789
|
+
minUnitQuantity?: number | null;
|
|
2790
|
+
maxUnitQuantity?: number | null;
|
|
2791
|
+
price: {
|
|
2792
|
+
__typename?: 'Money';
|
|
2793
|
+
amount: number;
|
|
2794
|
+
currency: Currency;
|
|
2318
2795
|
};
|
|
2319
|
-
|
|
2320
|
-
__typename?: '
|
|
2796
|
+
feature?: {
|
|
2797
|
+
__typename?: 'Feature';
|
|
2798
|
+
featureUnits?: string | null;
|
|
2799
|
+
featureUnitsPlural?: string | null;
|
|
2321
2800
|
displayName: string;
|
|
2322
|
-
id: string;
|
|
2323
|
-
} | null;
|
|
2324
|
-
entitlements?: Array<({
|
|
2325
|
-
__typename?: 'PackageEntitlement';
|
|
2326
|
-
} & PackageEntitlementFragment)> | null;
|
|
2327
|
-
inheritedEntitlements?: Array<({
|
|
2328
|
-
__typename?: 'PackageEntitlement';
|
|
2329
|
-
} & PackageEntitlementFragment)> | null;
|
|
2330
|
-
compatibleAddons?: Array<({
|
|
2331
|
-
__typename?: 'Addon';
|
|
2332
|
-
} & AddonFragment)> | null;
|
|
2333
|
-
prices?: Array<({
|
|
2334
|
-
__typename?: 'Price';
|
|
2335
|
-
} & PriceFragment)> | null;
|
|
2336
|
-
defaultTrialConfig?: {
|
|
2337
|
-
__typename?: 'DefaultTrialConfig';
|
|
2338
|
-
duration: number;
|
|
2339
|
-
units: TrialPeriodUnits;
|
|
2340
2801
|
} | null;
|
|
2341
2802
|
};
|
|
2342
2803
|
export declare type TotalPriceFragment = {
|
|
@@ -2352,60 +2813,190 @@ export declare type TotalPriceFragment = {
|
|
|
2352
2813
|
currency: Currency;
|
|
2353
2814
|
};
|
|
2354
2815
|
};
|
|
2355
|
-
export declare type PriceFragment = {
|
|
2356
|
-
__typename?: 'Price';
|
|
2357
|
-
billingModel: BillingModel;
|
|
2358
|
-
billingPeriod: BillingPeriod;
|
|
2359
|
-
price: {
|
|
2360
|
-
__typename?: 'Money';
|
|
2361
|
-
amount: number;
|
|
2362
|
-
currency: Currency;
|
|
2363
|
-
};
|
|
2364
|
-
feature?: ({
|
|
2365
|
-
__typename?: 'Feature';
|
|
2366
|
-
} & FeatureFragment) | null;
|
|
2367
|
-
};
|
|
2368
2816
|
export declare type PackageEntitlementFragment = {
|
|
2369
2817
|
__typename?: 'PackageEntitlement';
|
|
2370
2818
|
usageLimit?: number | null;
|
|
2371
2819
|
hasUnlimitedUsage?: boolean | null;
|
|
2372
2820
|
featureId: string;
|
|
2373
2821
|
resetPeriod?: EntitlementResetPeriod | null;
|
|
2374
|
-
|
|
2822
|
+
hiddenFromWidgets?: Array<WidgetType> | null;
|
|
2823
|
+
isCustom?: boolean | null;
|
|
2824
|
+
displayNameOverride?: string | null;
|
|
2825
|
+
feature: {
|
|
2375
2826
|
__typename?: 'Feature';
|
|
2376
|
-
|
|
2827
|
+
featureType: FeatureType;
|
|
2828
|
+
meterType?: MeterType | null;
|
|
2829
|
+
featureUnits?: string | null;
|
|
2830
|
+
featureUnitsPlural?: string | null;
|
|
2831
|
+
displayName: string;
|
|
2832
|
+
description?: string | null;
|
|
2833
|
+
refId: string;
|
|
2834
|
+
additionalMetaData?: any | null;
|
|
2835
|
+
};
|
|
2377
2836
|
};
|
|
2378
2837
|
export declare type AddonFragment = {
|
|
2379
2838
|
__typename?: 'Addon';
|
|
2839
|
+
id: string;
|
|
2840
|
+
refId: string;
|
|
2841
|
+
billingId?: string | null;
|
|
2380
2842
|
displayName: string;
|
|
2381
2843
|
description?: string | null;
|
|
2844
|
+
additionalMetaData?: any | null;
|
|
2382
2845
|
pricingType?: PricingType | null;
|
|
2846
|
+
entitlements?: Array<({
|
|
2847
|
+
__typename?: 'PackageEntitlement';
|
|
2848
|
+
} & PackageEntitlementFragment)> | null;
|
|
2849
|
+
prices?: Array<({
|
|
2850
|
+
__typename?: 'Price';
|
|
2851
|
+
} & PriceFragment)> | null;
|
|
2852
|
+
};
|
|
2853
|
+
export declare type PlanFragment = {
|
|
2854
|
+
__typename?: 'Plan';
|
|
2383
2855
|
id: string;
|
|
2384
|
-
|
|
2856
|
+
refId: string;
|
|
2857
|
+
displayName: string;
|
|
2858
|
+
description?: string | null;
|
|
2859
|
+
billingId?: string | null;
|
|
2860
|
+
additionalMetaData?: any | null;
|
|
2861
|
+
pricingType?: PricingType | null;
|
|
2862
|
+
product: {
|
|
2863
|
+
__typename?: 'Product';
|
|
2864
|
+
refId: string;
|
|
2865
|
+
displayName?: string | null;
|
|
2866
|
+
description?: string | null;
|
|
2867
|
+
additionalMetaData?: any | null;
|
|
2868
|
+
productSettings: {
|
|
2869
|
+
__typename?: 'ProductSettings';
|
|
2870
|
+
downgradePlan?: {
|
|
2871
|
+
__typename?: 'Plan';
|
|
2872
|
+
refId: string;
|
|
2873
|
+
displayName: string;
|
|
2874
|
+
} | null;
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
basePlan?: {
|
|
2878
|
+
__typename?: 'Plan';
|
|
2879
|
+
refId: string;
|
|
2880
|
+
displayName: string;
|
|
2881
|
+
} | null;
|
|
2385
2882
|
entitlements?: Array<({
|
|
2386
2883
|
__typename?: 'PackageEntitlement';
|
|
2387
2884
|
} & PackageEntitlementFragment)> | null;
|
|
2885
|
+
inheritedEntitlements?: Array<({
|
|
2886
|
+
__typename?: 'PackageEntitlement';
|
|
2887
|
+
} & PackageEntitlementFragment)> | null;
|
|
2888
|
+
compatibleAddons?: Array<({
|
|
2889
|
+
__typename?: 'Addon';
|
|
2890
|
+
} & AddonFragment)> | null;
|
|
2891
|
+
prices?: Array<({
|
|
2892
|
+
__typename?: 'Price';
|
|
2893
|
+
} & PriceFragment)> | null;
|
|
2894
|
+
defaultTrialConfig?: {
|
|
2895
|
+
__typename?: 'DefaultTrialConfig';
|
|
2896
|
+
duration: number;
|
|
2897
|
+
units: TrialPeriodUnits;
|
|
2898
|
+
} | null;
|
|
2388
2899
|
};
|
|
2389
|
-
export declare type
|
|
2900
|
+
export declare type SlimSubscriptionFragment = {
|
|
2390
2901
|
__typename?: 'CustomerSubscription';
|
|
2902
|
+
id: string;
|
|
2903
|
+
refId: string;
|
|
2391
2904
|
status: SubscriptionStatus;
|
|
2905
|
+
additionalMetaData?: any | null;
|
|
2906
|
+
billingId?: string | null;
|
|
2907
|
+
billingLinkUrl?: string | null;
|
|
2908
|
+
effectiveEndDate?: any | null;
|
|
2909
|
+
currentBillingPeriodEnd?: any | null;
|
|
2910
|
+
pricingType: PricingType;
|
|
2911
|
+
experimentInfo?: {
|
|
2912
|
+
__typename?: 'experimentInfo';
|
|
2913
|
+
name: string;
|
|
2914
|
+
id: string;
|
|
2915
|
+
groupName: string;
|
|
2916
|
+
groupType: ExperimentGroupType;
|
|
2917
|
+
} | null;
|
|
2918
|
+
prices?: Array<{
|
|
2919
|
+
__typename?: 'SubscriptionPrice';
|
|
2920
|
+
usageLimit?: number | null;
|
|
2921
|
+
price?: ({
|
|
2922
|
+
__typename?: 'Price';
|
|
2923
|
+
} & PriceFragment) | null;
|
|
2924
|
+
}> | null;
|
|
2925
|
+
totalPrice?: ({
|
|
2926
|
+
__typename?: 'CustomerSubscriptionTotalPrice';
|
|
2927
|
+
} & TotalPriceFragment) | null;
|
|
2928
|
+
plan: {
|
|
2929
|
+
__typename?: 'Plan';
|
|
2930
|
+
id: string;
|
|
2931
|
+
refId: string;
|
|
2932
|
+
};
|
|
2933
|
+
addons?: Array<{
|
|
2934
|
+
__typename?: 'SubscriptionAddon';
|
|
2935
|
+
quantity: number;
|
|
2936
|
+
addon: {
|
|
2937
|
+
__typename?: 'Addon';
|
|
2938
|
+
id: string;
|
|
2939
|
+
refId: string;
|
|
2940
|
+
};
|
|
2941
|
+
}> | null;
|
|
2942
|
+
customer: {
|
|
2943
|
+
__typename?: 'Customer';
|
|
2944
|
+
id: string;
|
|
2945
|
+
refId: string;
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
export declare type SubscriptionScheduledUpdateDataFragment = {
|
|
2949
|
+
__typename?: 'SubscriptionScheduledUpdate';
|
|
2950
|
+
subscriptionScheduleType: SubscriptionScheduleType;
|
|
2951
|
+
scheduleStatus: SubscriptionScheduleStatus;
|
|
2952
|
+
scheduledExecutionTime: any;
|
|
2953
|
+
targetPackage?: {
|
|
2954
|
+
__typename?: 'PackageDTO';
|
|
2955
|
+
id: string;
|
|
2956
|
+
refId: string;
|
|
2957
|
+
displayName: string;
|
|
2958
|
+
} | null;
|
|
2959
|
+
scheduleVariables?: {
|
|
2960
|
+
__typename?: 'BillingPeriodChangeVariables';
|
|
2961
|
+
billingPeriod?: BillingPeriod | null;
|
|
2962
|
+
} | {
|
|
2963
|
+
__typename?: 'DowngradeChangeVariables';
|
|
2964
|
+
addonRefIds?: string | null;
|
|
2965
|
+
billingPeriod?: BillingPeriod | null;
|
|
2966
|
+
downgradePlanRefId: string;
|
|
2967
|
+
} | {
|
|
2968
|
+
__typename?: 'UnitAmountChangeVariables';
|
|
2969
|
+
newUnitAmount?: number | null;
|
|
2970
|
+
} | null;
|
|
2971
|
+
};
|
|
2972
|
+
export declare type SubscriptionFragment = {
|
|
2973
|
+
__typename?: 'CustomerSubscription';
|
|
2974
|
+
id: string;
|
|
2392
2975
|
startDate: any;
|
|
2393
2976
|
endDate?: any | null;
|
|
2394
2977
|
trialEndDate?: any | null;
|
|
2395
2978
|
cancellationDate?: any | null;
|
|
2396
2979
|
effectiveEndDate?: any | null;
|
|
2980
|
+
status: SubscriptionStatus;
|
|
2981
|
+
refId: string;
|
|
2397
2982
|
currentBillingPeriodEnd?: any | null;
|
|
2983
|
+
additionalMetaData?: any | null;
|
|
2398
2984
|
billingId?: string | null;
|
|
2399
2985
|
billingLinkUrl?: string | null;
|
|
2400
2986
|
pricingType: PricingType;
|
|
2401
|
-
|
|
2402
|
-
|
|
2987
|
+
experimentInfo?: {
|
|
2988
|
+
__typename?: 'experimentInfo';
|
|
2989
|
+
name: string;
|
|
2990
|
+
groupType: ExperimentGroupType;
|
|
2991
|
+
groupName: string;
|
|
2992
|
+
id: string;
|
|
2993
|
+
} | null;
|
|
2403
2994
|
prices?: Array<{
|
|
2404
2995
|
__typename?: 'SubscriptionPrice';
|
|
2405
2996
|
usageLimit?: number | null;
|
|
2406
|
-
price
|
|
2997
|
+
price?: ({
|
|
2407
2998
|
__typename?: 'Price';
|
|
2408
|
-
} & PriceFragment);
|
|
2999
|
+
} & PriceFragment) | null;
|
|
2409
3000
|
}> | null;
|
|
2410
3001
|
totalPrice?: ({
|
|
2411
3002
|
__typename?: 'CustomerSubscriptionTotalPrice';
|
|
@@ -2421,6 +3012,9 @@ export declare type SubscriptionFragment = {
|
|
|
2421
3012
|
__typename?: 'Addon';
|
|
2422
3013
|
} & AddonFragment);
|
|
2423
3014
|
}> | null;
|
|
3015
|
+
scheduledUpdates?: Array<({
|
|
3016
|
+
__typename?: 'SubscriptionScheduledUpdate';
|
|
3017
|
+
} & SubscriptionScheduledUpdateDataFragment)> | null;
|
|
2424
3018
|
};
|
|
2425
3019
|
export declare type PromotionalEntitlementFragment = {
|
|
2426
3020
|
__typename?: 'PromotionalEntitlement';
|
|
@@ -2431,124 +3025,140 @@ export declare type PromotionalEntitlementFragment = {
|
|
|
2431
3025
|
resetPeriod?: EntitlementResetPeriod | null;
|
|
2432
3026
|
endDate?: any | null;
|
|
2433
3027
|
isVisible: boolean;
|
|
2434
|
-
feature:
|
|
3028
|
+
feature: {
|
|
2435
3029
|
__typename?: 'Feature';
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
updatedAt: any;
|
|
2446
|
-
billingId?: string | null;
|
|
2447
|
-
billingLinkUrl?: string | null;
|
|
2448
|
-
status: CouponStatus;
|
|
2449
|
-
id: string;
|
|
2450
|
-
metadata?: any | null;
|
|
3030
|
+
featureType: FeatureType;
|
|
3031
|
+
meterType?: MeterType | null;
|
|
3032
|
+
featureUnits?: string | null;
|
|
3033
|
+
featureUnitsPlural?: string | null;
|
|
3034
|
+
displayName: string;
|
|
3035
|
+
description?: string | null;
|
|
3036
|
+
refId: string;
|
|
3037
|
+
additionalMetaData?: any | null;
|
|
3038
|
+
};
|
|
2451
3039
|
};
|
|
2452
3040
|
export declare type CustomerFragment = {
|
|
2453
3041
|
__typename?: 'Customer';
|
|
3042
|
+
id: string;
|
|
2454
3043
|
name?: string | null;
|
|
2455
3044
|
email?: string | null;
|
|
2456
3045
|
createdAt?: any | null;
|
|
2457
3046
|
updatedAt: any;
|
|
2458
3047
|
hasPaymentMethod: boolean;
|
|
3048
|
+
refId: string;
|
|
2459
3049
|
billingId?: string | null;
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
3050
|
+
defaultPaymentExpirationMonth?: number | null;
|
|
3051
|
+
defaultPaymentExpirationYear?: number | null;
|
|
3052
|
+
defaultPaymentMethodLast4Digits?: string | null;
|
|
3053
|
+
additionalMetaData?: any | null;
|
|
3054
|
+
trialedPlans?: Array<{
|
|
3055
|
+
__typename?: 'TrialedPlan';
|
|
3056
|
+
productId?: string | null;
|
|
3057
|
+
productRefId?: string | null;
|
|
3058
|
+
planRefId?: string | null;
|
|
3059
|
+
planId?: string | null;
|
|
3060
|
+
}> | null;
|
|
3061
|
+
experimentInfo?: {
|
|
3062
|
+
__typename?: 'experimentInfo';
|
|
3063
|
+
groupType: ExperimentGroupType;
|
|
3064
|
+
groupName: string;
|
|
3065
|
+
id: string;
|
|
3066
|
+
name: string;
|
|
3067
|
+
} | null;
|
|
2469
3068
|
coupon?: ({
|
|
2470
3069
|
__typename?: 'Coupon';
|
|
2471
3070
|
} & CouponFragment) | null;
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
billingLinkUrl?: string | null;
|
|
2478
|
-
effectiveEndDate?: any | null;
|
|
2479
|
-
currentBillingPeriodEnd?: any | null;
|
|
2480
|
-
pricingType: PricingType;
|
|
2481
|
-
id: string;
|
|
2482
|
-
metadata?: any | null;
|
|
2483
|
-
prices?: Array<{
|
|
2484
|
-
__typename?: 'SubscriptionPrice';
|
|
2485
|
-
usageLimit?: number | null;
|
|
2486
|
-
price: ({
|
|
2487
|
-
__typename?: 'Price';
|
|
2488
|
-
} & PriceFragment);
|
|
3071
|
+
eligibleForTrial?: Array<{
|
|
3072
|
+
__typename?: 'EligibleForTrial';
|
|
3073
|
+
productId?: string | null;
|
|
3074
|
+
productRefId?: string | null;
|
|
3075
|
+
eligible: boolean;
|
|
2489
3076
|
}> | null;
|
|
2490
|
-
|
|
2491
|
-
__typename?: '
|
|
2492
|
-
} &
|
|
2493
|
-
|
|
2494
|
-
__typename?: '
|
|
2495
|
-
|
|
3077
|
+
promotionalEntitlements: Array<({
|
|
3078
|
+
__typename?: 'PromotionalEntitlement';
|
|
3079
|
+
} & PromotionalEntitlementFragment)>;
|
|
3080
|
+
subscriptions?: Array<({
|
|
3081
|
+
__typename?: 'CustomerSubscription';
|
|
3082
|
+
} & SubscriptionFragment)> | null;
|
|
3083
|
+
};
|
|
3084
|
+
export declare type SubscriptionPreviewFragment = {
|
|
3085
|
+
__typename?: 'SubscriptionPreview';
|
|
3086
|
+
subTotal: {
|
|
3087
|
+
__typename?: 'Money';
|
|
3088
|
+
amount: number;
|
|
3089
|
+
currency: Currency;
|
|
2496
3090
|
};
|
|
2497
|
-
|
|
2498
|
-
__typename?: '
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
__typename?: 'Addon';
|
|
2502
|
-
id: string;
|
|
2503
|
-
};
|
|
2504
|
-
}> | null;
|
|
2505
|
-
customer: {
|
|
2506
|
-
__typename?: 'Customer';
|
|
2507
|
-
id: string;
|
|
3091
|
+
total: {
|
|
3092
|
+
__typename?: 'Money';
|
|
3093
|
+
amount: number;
|
|
3094
|
+
currency: Currency;
|
|
2508
3095
|
};
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
displayName: string;
|
|
2514
|
-
pricingType?: PricingType | null;
|
|
2515
|
-
id: string;
|
|
2516
|
-
metadata?: any | null;
|
|
2517
|
-
product: {
|
|
2518
|
-
__typename?: 'Product';
|
|
2519
|
-
displayName?: string | null;
|
|
2520
|
-
description?: string | null;
|
|
2521
|
-
id: string;
|
|
3096
|
+
billingPeriodRange: {
|
|
3097
|
+
__typename?: 'DateRange';
|
|
3098
|
+
start?: any | null;
|
|
3099
|
+
end?: any | null;
|
|
2522
3100
|
};
|
|
2523
|
-
|
|
2524
|
-
__typename?: '
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
} & PaywallPriceFragment)> | null;
|
|
2537
|
-
defaultTrialConfig?: {
|
|
2538
|
-
__typename?: 'DefaultTrialConfig';
|
|
2539
|
-
duration: number;
|
|
2540
|
-
units: TrialPeriodUnits;
|
|
3101
|
+
proration?: {
|
|
3102
|
+
__typename?: 'SubscriptionPreviewProrations';
|
|
3103
|
+
prorationDate: any;
|
|
3104
|
+
credit: {
|
|
3105
|
+
__typename?: 'Money';
|
|
3106
|
+
amount: number;
|
|
3107
|
+
currency: Currency;
|
|
3108
|
+
};
|
|
3109
|
+
debit: {
|
|
3110
|
+
__typename?: 'Money';
|
|
3111
|
+
amount: number;
|
|
3112
|
+
currency: Currency;
|
|
3113
|
+
};
|
|
2541
3114
|
} | null;
|
|
2542
3115
|
};
|
|
2543
3116
|
export declare type FeatureFragment = {
|
|
2544
|
-
__typename?: '
|
|
3117
|
+
__typename?: 'EntitlementFeature';
|
|
2545
3118
|
featureType: FeatureType;
|
|
2546
3119
|
meterType?: MeterType | null;
|
|
2547
3120
|
featureUnits?: string | null;
|
|
2548
3121
|
featureUnitsPlural?: string | null;
|
|
2549
|
-
displayName: string;
|
|
2550
3122
|
description?: string | null;
|
|
2551
|
-
|
|
3123
|
+
displayName: string;
|
|
3124
|
+
refId: string;
|
|
3125
|
+
};
|
|
3126
|
+
declare type ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ = ({
|
|
3127
|
+
__typename: 'MonthlyResetPeriodConfig';
|
|
3128
|
+
} & MonthlyResetPeriodConfigFragment);
|
|
3129
|
+
declare type ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_ = ({
|
|
3130
|
+
__typename: 'WeeklyResetPeriodConfig';
|
|
3131
|
+
} & WeeklyResetPeriodConfigFragment);
|
|
3132
|
+
export declare type ResetPeriodConfigurationFragment = ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_ | ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_;
|
|
3133
|
+
export declare type MonthlyResetPeriodConfigFragment = {
|
|
3134
|
+
__typename?: 'MonthlyResetPeriodConfig';
|
|
3135
|
+
monthlyAccordingTo?: MonthlyAccordingTo | null;
|
|
3136
|
+
};
|
|
3137
|
+
export declare type WeeklyResetPeriodConfigFragment = {
|
|
3138
|
+
__typename?: 'WeeklyResetPeriodConfig';
|
|
3139
|
+
weeklyAccordingTo?: WeeklyAccordingTo | null;
|
|
3140
|
+
};
|
|
3141
|
+
export declare type EntitlementFragment = {
|
|
3142
|
+
__typename?: 'Entitlement';
|
|
3143
|
+
isGranted: boolean;
|
|
3144
|
+
accessDeniedReason?: AccessDeniedReason | null;
|
|
3145
|
+
customerId?: string | null;
|
|
3146
|
+
usageLimit?: number | null;
|
|
3147
|
+
hasUnlimitedUsage: boolean;
|
|
3148
|
+
currentUsage?: number | null;
|
|
3149
|
+
requestedUsage?: number | null;
|
|
3150
|
+
entitlementUpdatedAt?: number | null;
|
|
3151
|
+
usageUpdatedAt?: number | null;
|
|
3152
|
+
nextResetDate?: any | null;
|
|
3153
|
+
resetPeriod?: EntitlementResetPeriod | null;
|
|
3154
|
+
resetPeriodConfiguration?: ({
|
|
3155
|
+
__typename?: 'MonthlyResetPeriodConfig';
|
|
3156
|
+
} & ResetPeriodConfigurationFragment_MonthlyResetPeriodConfig_) | ({
|
|
3157
|
+
__typename?: 'WeeklyResetPeriodConfig';
|
|
3158
|
+
} & ResetPeriodConfigurationFragment_WeeklyResetPeriodConfig_) | null;
|
|
3159
|
+
feature?: ({
|
|
3160
|
+
__typename?: 'EntitlementFeature';
|
|
3161
|
+
} & FeatureFragment) | null;
|
|
2552
3162
|
};
|
|
2553
3163
|
export declare type PaywallPackageEntitlementFragment = {
|
|
2554
3164
|
__typename?: 'PackageEntitlement';
|
|
@@ -2556,67 +3166,133 @@ export declare type PaywallPackageEntitlementFragment = {
|
|
|
2556
3166
|
hasUnlimitedUsage?: boolean | null;
|
|
2557
3167
|
featureId: string;
|
|
2558
3168
|
resetPeriod?: EntitlementResetPeriod | null;
|
|
2559
|
-
feature:
|
|
3169
|
+
feature: {
|
|
2560
3170
|
__typename?: 'Feature';
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
__typename?: 'Money';
|
|
2569
|
-
amount: number;
|
|
2570
|
-
currency: Currency;
|
|
3171
|
+
featureType: FeatureType;
|
|
3172
|
+
meterType?: MeterType | null;
|
|
3173
|
+
featureUnits?: string | null;
|
|
3174
|
+
featureUnitsPlural?: string | null;
|
|
3175
|
+
displayName: string;
|
|
3176
|
+
description?: string | null;
|
|
3177
|
+
refId: string;
|
|
2571
3178
|
};
|
|
2572
|
-
feature?: ({
|
|
2573
|
-
__typename?: 'Feature';
|
|
2574
|
-
} & FeatureFragment) | null;
|
|
2575
3179
|
};
|
|
2576
3180
|
export declare type PaywallAddonFragment = {
|
|
2577
3181
|
__typename?: 'Addon';
|
|
3182
|
+
id: string;
|
|
3183
|
+
refId: string;
|
|
3184
|
+
billingId?: string | null;
|
|
2578
3185
|
displayName: string;
|
|
2579
3186
|
description?: string | null;
|
|
3187
|
+
additionalMetaData?: any | null;
|
|
2580
3188
|
pricingType?: PricingType | null;
|
|
2581
|
-
id: string;
|
|
2582
|
-
metadata?: any | null;
|
|
2583
3189
|
entitlements?: Array<({
|
|
2584
3190
|
__typename?: 'PackageEntitlement';
|
|
2585
3191
|
} & PaywallPackageEntitlementFragment)> | null;
|
|
2586
3192
|
prices?: Array<({
|
|
2587
3193
|
__typename?: 'Price';
|
|
2588
|
-
} &
|
|
3194
|
+
} & PriceFragment)> | null;
|
|
2589
3195
|
};
|
|
2590
|
-
export declare type
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
3196
|
+
export declare type PaywallPlanFragment = {
|
|
3197
|
+
__typename?: 'Plan';
|
|
3198
|
+
id: string;
|
|
3199
|
+
refId: string;
|
|
3200
|
+
description?: string | null;
|
|
3201
|
+
displayName: string;
|
|
3202
|
+
billingId?: string | null;
|
|
3203
|
+
additionalMetaData?: any | null;
|
|
3204
|
+
pricingType?: PricingType | null;
|
|
3205
|
+
product: {
|
|
3206
|
+
__typename?: 'Product';
|
|
3207
|
+
refId: string;
|
|
3208
|
+
displayName?: string | null;
|
|
3209
|
+
description?: string | null;
|
|
3210
|
+
additionalMetaData?: any | null;
|
|
3211
|
+
productSettings: {
|
|
3212
|
+
__typename?: 'ProductSettings';
|
|
3213
|
+
downgradePlan?: {
|
|
3214
|
+
__typename?: 'Plan';
|
|
3215
|
+
refId: string;
|
|
3216
|
+
displayName: string;
|
|
3217
|
+
} | null;
|
|
3218
|
+
};
|
|
3219
|
+
};
|
|
3220
|
+
basePlan?: {
|
|
3221
|
+
__typename?: 'Plan';
|
|
3222
|
+
refId: string;
|
|
3223
|
+
displayName: string;
|
|
3224
|
+
} | null;
|
|
3225
|
+
entitlements?: Array<({
|
|
3226
|
+
__typename?: 'PackageEntitlement';
|
|
3227
|
+
} & PaywallPackageEntitlementFragment)> | null;
|
|
3228
|
+
inheritedEntitlements?: Array<({
|
|
3229
|
+
__typename?: 'PackageEntitlement';
|
|
3230
|
+
} & PaywallPackageEntitlementFragment)> | null;
|
|
3231
|
+
prices?: Array<({
|
|
3232
|
+
__typename?: 'Price';
|
|
3233
|
+
} & PriceFragment)> | null;
|
|
3234
|
+
defaultTrialConfig?: {
|
|
3235
|
+
__typename?: 'DefaultTrialConfig';
|
|
3236
|
+
duration: number;
|
|
3237
|
+
units: TrialPeriodUnits;
|
|
3238
|
+
} | null;
|
|
3239
|
+
compatibleAddons?: Array<({
|
|
3240
|
+
__typename?: 'Addon';
|
|
3241
|
+
} & PaywallAddonFragment)> | null;
|
|
3242
|
+
};
|
|
3243
|
+
export declare type TypographyConfigurationFragment = {
|
|
3244
|
+
__typename?: 'TypographyConfiguration';
|
|
3245
|
+
fontFamily?: string | null;
|
|
3246
|
+
h1?: ({
|
|
3247
|
+
__typename?: 'FontVariant';
|
|
3248
|
+
} & FontVariantFragment) | null;
|
|
3249
|
+
h2?: ({
|
|
3250
|
+
__typename?: 'FontVariant';
|
|
3251
|
+
} & FontVariantFragment) | null;
|
|
3252
|
+
h3?: ({
|
|
3253
|
+
__typename?: 'FontVariant';
|
|
3254
|
+
} & FontVariantFragment) | null;
|
|
3255
|
+
body?: ({
|
|
3256
|
+
__typename?: 'FontVariant';
|
|
3257
|
+
} & FontVariantFragment) | null;
|
|
3258
|
+
};
|
|
3259
|
+
export declare type FontVariantFragment = {
|
|
3260
|
+
__typename?: 'FontVariant';
|
|
3261
|
+
fontSize?: number | null;
|
|
3262
|
+
fontWeight?: FontWeight | null;
|
|
3263
|
+
};
|
|
3264
|
+
export declare type LayoutConfigurationFragment = {
|
|
3265
|
+
__typename?: 'PaywallLayoutConfiguration';
|
|
3266
|
+
alignment?: Alignment | null;
|
|
3267
|
+
planWidth?: number | null;
|
|
3268
|
+
planMargin?: number | null;
|
|
3269
|
+
planPadding?: number | null;
|
|
3270
|
+
};
|
|
3271
|
+
export declare type PaywallConfigurationFragment = {
|
|
3272
|
+
__typename?: 'PaywallConfiguration';
|
|
3273
|
+
palette?: {
|
|
3274
|
+
__typename?: 'PaywallColorsPalette';
|
|
3275
|
+
primary?: string | null;
|
|
3276
|
+
textColor?: string | null;
|
|
3277
|
+
backgroundColor?: string | null;
|
|
3278
|
+
borderColor?: string | null;
|
|
3279
|
+
currentPlanBackground?: string | null;
|
|
3280
|
+
} | null;
|
|
3281
|
+
typography?: ({
|
|
3282
|
+
__typename?: 'TypographyConfiguration';
|
|
3283
|
+
} & TypographyConfigurationFragment) | null;
|
|
3284
|
+
layout?: ({
|
|
3285
|
+
__typename?: 'PaywallLayoutConfiguration';
|
|
3286
|
+
} & LayoutConfigurationFragment) | null;
|
|
2604
3287
|
};
|
|
2605
3288
|
export declare type ProvisionCustomerMutationVariables = Exact<{
|
|
2606
|
-
|
|
2607
|
-
email?: InputMaybe<Scalars['String']>;
|
|
2608
|
-
name?: InputMaybe<Scalars['String']>;
|
|
2609
|
-
billingInfo?: InputMaybe<CustomerBillingInfo>;
|
|
2610
|
-
metadata?: InputMaybe<Scalars['JSON']>;
|
|
2611
|
-
couponId?: InputMaybe<Scalars['String']>;
|
|
2612
|
-
shouldSyncFree?: InputMaybe<Scalars['Boolean']>;
|
|
2613
|
-
subscriptionParams?: InputMaybe<SubscriptionBaseInput>;
|
|
3289
|
+
input: ProvisionCustomerInput;
|
|
2614
3290
|
}>;
|
|
2615
3291
|
export declare type ProvisionCustomerMutation = {
|
|
2616
3292
|
__typename?: 'Mutation';
|
|
2617
3293
|
provisionCustomer: {
|
|
2618
3294
|
__typename?: 'ProvisionedCustomer';
|
|
2619
|
-
|
|
3295
|
+
subscriptionDecisionStrategy: SubscriptionDecisionStrategy;
|
|
2620
3296
|
customer: ({
|
|
2621
3297
|
__typename?: 'Customer';
|
|
2622
3298
|
} & CustomerFragment);
|
|
@@ -2626,10 +3302,7 @@ export declare type ProvisionCustomerMutation = {
|
|
|
2626
3302
|
};
|
|
2627
3303
|
};
|
|
2628
3304
|
export declare type ImportCustomerMutationVariables = Exact<{
|
|
2629
|
-
|
|
2630
|
-
billingId: Scalars['String'];
|
|
2631
|
-
email?: InputMaybe<Scalars['String']>;
|
|
2632
|
-
name?: InputMaybe<Scalars['String']>;
|
|
3305
|
+
input: ImportCustomerInput;
|
|
2633
3306
|
}>;
|
|
2634
3307
|
export declare type ImportCustomerMutation = {
|
|
2635
3308
|
__typename?: 'Mutation';
|
|
@@ -2638,12 +3311,7 @@ export declare type ImportCustomerMutation = {
|
|
|
2638
3311
|
} & CustomerFragment);
|
|
2639
3312
|
};
|
|
2640
3313
|
export declare type UpdateCustomerMutationVariables = Exact<{
|
|
2641
|
-
|
|
2642
|
-
billingInfo?: InputMaybe<CustomerBillingInfo>;
|
|
2643
|
-
couponId?: InputMaybe<Scalars['String']>;
|
|
2644
|
-
email?: InputMaybe<Scalars['String']>;
|
|
2645
|
-
name?: InputMaybe<Scalars['String']>;
|
|
2646
|
-
customerId: Scalars['String'];
|
|
3314
|
+
input: UpdateCustomerInput;
|
|
2647
3315
|
}>;
|
|
2648
3316
|
export declare type UpdateCustomerMutation = {
|
|
2649
3317
|
__typename?: 'Mutation';
|
|
@@ -2651,42 +3319,31 @@ export declare type UpdateCustomerMutation = {
|
|
|
2651
3319
|
__typename?: 'Customer';
|
|
2652
3320
|
} & CustomerFragment);
|
|
2653
3321
|
};
|
|
2654
|
-
export declare type
|
|
2655
|
-
|
|
2656
|
-
subscriptionId: Scalars['String'];
|
|
2657
|
-
unitQuantity?: InputMaybe<Scalars['Float']>;
|
|
3322
|
+
export declare type ProvisionSubscriptionMutationVariables = Exact<{
|
|
3323
|
+
input: ProvisionSubscriptionInput;
|
|
2658
3324
|
}>;
|
|
2659
|
-
export declare type
|
|
3325
|
+
export declare type ProvisionSubscriptionMutation = {
|
|
2660
3326
|
__typename?: 'Mutation';
|
|
2661
|
-
|
|
2662
|
-
__typename?: '
|
|
2663
|
-
|
|
3327
|
+
provisionSubscriptionV2: {
|
|
3328
|
+
__typename?: 'ProvisionSubscriptionResult';
|
|
3329
|
+
checkoutUrl?: string | null;
|
|
3330
|
+
status: ProvisionSubscriptionStatus;
|
|
3331
|
+
subscription?: ({
|
|
3332
|
+
__typename?: 'CustomerSubscription';
|
|
3333
|
+
} & SlimSubscriptionFragment) | null;
|
|
3334
|
+
};
|
|
2664
3335
|
};
|
|
2665
|
-
export declare type
|
|
2666
|
-
|
|
2667
|
-
addons?: InputMaybe<Array<SubscriptionAddonInput> | SubscriptionAddonInput>;
|
|
2668
|
-
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
2669
|
-
billingId?: InputMaybe<Scalars['String']>;
|
|
2670
|
-
billingInfo?: InputMaybe<SubscriptionBillingInfo>;
|
|
2671
|
-
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
2672
|
-
customerId: Scalars['String'];
|
|
2673
|
-
isTrial?: InputMaybe<Scalars['Boolean']>;
|
|
2674
|
-
isOverridingTrialConfig?: InputMaybe<Scalars['Boolean']>;
|
|
2675
|
-
planId?: InputMaybe<Scalars['String']>;
|
|
2676
|
-
unitQuantity?: InputMaybe<Scalars['Float']>;
|
|
2677
|
-
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
2678
|
-
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
3336
|
+
export declare type UpdateSubscriptionMutationVariables = Exact<{
|
|
3337
|
+
input: UpdateSubscriptionInput;
|
|
2679
3338
|
}>;
|
|
2680
|
-
export declare type
|
|
3339
|
+
export declare type UpdateSubscriptionMutation = {
|
|
2681
3340
|
__typename?: 'Mutation';
|
|
2682
|
-
|
|
3341
|
+
updateSubscription: ({
|
|
2683
3342
|
__typename?: 'CustomerSubscription';
|
|
2684
3343
|
} & SlimSubscriptionFragment);
|
|
2685
3344
|
};
|
|
2686
3345
|
export declare type CancelSubscriptionMutationVariables = Exact<{
|
|
2687
|
-
|
|
2688
|
-
cancellationTime?: InputMaybe<SubscriptionCancellationTime>;
|
|
2689
|
-
subscriptionId: Scalars['String'];
|
|
3346
|
+
input: SubscriptionCancellationInput;
|
|
2690
3347
|
}>;
|
|
2691
3348
|
export declare type CancelSubscriptionMutation = {
|
|
2692
3349
|
__typename?: 'Mutation';
|
|
@@ -2695,37 +3352,52 @@ export declare type CancelSubscriptionMutation = {
|
|
|
2695
3352
|
} & SlimSubscriptionFragment);
|
|
2696
3353
|
};
|
|
2697
3354
|
export declare type InitiateCheckoutMutationVariables = Exact<{
|
|
2698
|
-
|
|
2699
|
-
billingPeriod: BillingPeriod;
|
|
2700
|
-
cancelUrl: Scalars['String'];
|
|
2701
|
-
customerId: Scalars['String'];
|
|
2702
|
-
planId: Scalars['String'];
|
|
2703
|
-
successUrl: Scalars['String'];
|
|
2704
|
-
unitQuantity?: InputMaybe<Scalars['Int']>;
|
|
3355
|
+
input: InitiateCheckoutInput;
|
|
2705
3356
|
}>;
|
|
2706
3357
|
export declare type InitiateCheckoutMutation = {
|
|
2707
3358
|
__typename?: 'Mutation';
|
|
2708
3359
|
initiateCheckout: {
|
|
2709
3360
|
__typename?: 'Checkout';
|
|
2710
|
-
id: string;
|
|
2711
3361
|
checkoutUrl: string;
|
|
2712
3362
|
checkoutBillingId: string;
|
|
2713
3363
|
};
|
|
2714
3364
|
};
|
|
3365
|
+
export declare type EstimateSubscriptionMutationVariables = Exact<{
|
|
3366
|
+
input: EstimateSubscriptionInput;
|
|
3367
|
+
}>;
|
|
3368
|
+
export declare type EstimateSubscriptionMutation = {
|
|
3369
|
+
__typename?: 'Mutation';
|
|
3370
|
+
estimateSubscription: ({
|
|
3371
|
+
__typename?: 'SubscriptionPreview';
|
|
3372
|
+
} & SubscriptionPreviewFragment);
|
|
3373
|
+
};
|
|
3374
|
+
export declare type EstimateSubscriptionUpdateMutationVariables = Exact<{
|
|
3375
|
+
input: EstimateSubscriptionUpdateInput;
|
|
3376
|
+
}>;
|
|
3377
|
+
export declare type EstimateSubscriptionUpdateMutation = {
|
|
3378
|
+
__typename?: 'Mutation';
|
|
3379
|
+
estimateSubscriptionUpdate: ({
|
|
3380
|
+
__typename?: 'SubscriptionPreview';
|
|
3381
|
+
} & SubscriptionPreviewFragment);
|
|
3382
|
+
};
|
|
3383
|
+
export declare type ReportUsageMutationVariables = Exact<{
|
|
3384
|
+
input: UsageMeasurementCreateInput;
|
|
3385
|
+
}>;
|
|
3386
|
+
export declare type ReportUsageMutation = {
|
|
3387
|
+
__typename?: 'Mutation';
|
|
3388
|
+
createUsageMeasurement: {
|
|
3389
|
+
__typename?: 'UsageMeasurement';
|
|
3390
|
+
id: string;
|
|
3391
|
+
};
|
|
3392
|
+
};
|
|
2715
3393
|
export declare type GetCustomerByIdQueryVariables = Exact<{
|
|
2716
|
-
|
|
3394
|
+
input: GetCustomerByRefIdInput;
|
|
2717
3395
|
}>;
|
|
2718
3396
|
export declare type GetCustomerByIdQuery = {
|
|
2719
3397
|
__typename?: 'Query';
|
|
2720
|
-
|
|
2721
|
-
__typename?: '
|
|
2722
|
-
|
|
2723
|
-
__typename?: 'CustomerEdge';
|
|
2724
|
-
node: ({
|
|
2725
|
-
__typename?: 'Customer';
|
|
2726
|
-
} & CustomerFragment);
|
|
2727
|
-
}>;
|
|
2728
|
-
};
|
|
3398
|
+
getCustomerByRefId?: ({
|
|
3399
|
+
__typename?: 'Customer';
|
|
3400
|
+
} & CustomerFragment) | null;
|
|
2729
3401
|
};
|
|
2730
3402
|
export declare type GetCouponsQueryVariables = Exact<{
|
|
2731
3403
|
[key: string]: never;
|
|
@@ -2742,42 +3414,98 @@ export declare type GetCouponsQuery = {
|
|
|
2742
3414
|
}>;
|
|
2743
3415
|
};
|
|
2744
3416
|
};
|
|
2745
|
-
export declare
|
|
3417
|
+
export declare type GetPaywallQueryVariables = Exact<{
|
|
3418
|
+
input: GetPaywallInput;
|
|
3419
|
+
}>;
|
|
3420
|
+
export declare type GetPaywallQuery = {
|
|
3421
|
+
__typename?: 'Query';
|
|
3422
|
+
paywall: {
|
|
3423
|
+
__typename?: 'Paywall';
|
|
3424
|
+
plans: Array<({
|
|
3425
|
+
__typename?: 'Plan';
|
|
3426
|
+
} & PlanFragment)>;
|
|
3427
|
+
configuration?: ({
|
|
3428
|
+
__typename?: 'PaywallConfiguration';
|
|
3429
|
+
} & PaywallConfigurationFragment) | null;
|
|
3430
|
+
customer?: ({
|
|
3431
|
+
__typename?: 'Customer';
|
|
3432
|
+
} & CustomerFragment) | null;
|
|
3433
|
+
};
|
|
3434
|
+
};
|
|
3435
|
+
export declare type GetEntitlementsQueryVariables = Exact<{
|
|
3436
|
+
query: FetchEntitlementsQuery;
|
|
3437
|
+
}>;
|
|
3438
|
+
export declare type GetEntitlementsQuery = {
|
|
3439
|
+
__typename?: 'Query';
|
|
3440
|
+
entitlements: Array<({
|
|
3441
|
+
__typename?: 'Entitlement';
|
|
3442
|
+
} & EntitlementFragment)>;
|
|
3443
|
+
};
|
|
3444
|
+
export declare type GetEntitlementQueryVariables = Exact<{
|
|
3445
|
+
query: FetchEntitlementQuery;
|
|
3446
|
+
}>;
|
|
3447
|
+
export declare type GetEntitlementQuery = {
|
|
3448
|
+
__typename?: 'Query';
|
|
3449
|
+
entitlement: ({
|
|
3450
|
+
__typename?: 'Entitlement';
|
|
3451
|
+
} & EntitlementFragment);
|
|
3452
|
+
};
|
|
2746
3453
|
export declare const PriceFragmentDoc: import("graphql").DocumentNode;
|
|
2747
3454
|
export declare const TotalPriceFragmentDoc: import("graphql").DocumentNode;
|
|
3455
|
+
export declare const SlimSubscriptionFragmentDoc: import("graphql").DocumentNode;
|
|
3456
|
+
export declare const CouponFragmentDoc: import("graphql").DocumentNode;
|
|
3457
|
+
export declare const PromotionalEntitlementFragmentDoc: import("graphql").DocumentNode;
|
|
2748
3458
|
export declare const PackageEntitlementFragmentDoc: import("graphql").DocumentNode;
|
|
2749
3459
|
export declare const AddonFragmentDoc: import("graphql").DocumentNode;
|
|
2750
3460
|
export declare const PlanFragmentDoc: import("graphql").DocumentNode;
|
|
3461
|
+
export declare const SubscriptionScheduledUpdateDataFragmentDoc: import("graphql").DocumentNode;
|
|
2751
3462
|
export declare const SubscriptionFragmentDoc: import("graphql").DocumentNode;
|
|
2752
|
-
export declare const PromotionalEntitlementFragmentDoc: import("graphql").DocumentNode;
|
|
2753
|
-
export declare const CouponFragmentDoc: import("graphql").DocumentNode;
|
|
2754
3463
|
export declare const CustomerFragmentDoc: import("graphql").DocumentNode;
|
|
2755
|
-
export declare const
|
|
3464
|
+
export declare const SubscriptionPreviewFragmentDoc: import("graphql").DocumentNode;
|
|
3465
|
+
export declare const MonthlyResetPeriodConfigFragmentDoc: import("graphql").DocumentNode;
|
|
3466
|
+
export declare const WeeklyResetPeriodConfigFragmentDoc: import("graphql").DocumentNode;
|
|
3467
|
+
export declare const ResetPeriodConfigurationFragmentDoc: import("graphql").DocumentNode;
|
|
3468
|
+
export declare const FeatureFragmentDoc: import("graphql").DocumentNode;
|
|
3469
|
+
export declare const EntitlementFragmentDoc: import("graphql").DocumentNode;
|
|
2756
3470
|
export declare const PaywallPackageEntitlementFragmentDoc: import("graphql").DocumentNode;
|
|
2757
|
-
export declare const PaywallPriceFragmentDoc: import("graphql").DocumentNode;
|
|
2758
|
-
export declare const PaywallPlanFragmentDoc: import("graphql").DocumentNode;
|
|
2759
3471
|
export declare const PaywallAddonFragmentDoc: import("graphql").DocumentNode;
|
|
2760
|
-
export declare const
|
|
3472
|
+
export declare const PaywallPlanFragmentDoc: import("graphql").DocumentNode;
|
|
3473
|
+
export declare const FontVariantFragmentDoc: import("graphql").DocumentNode;
|
|
3474
|
+
export declare const TypographyConfigurationFragmentDoc: import("graphql").DocumentNode;
|
|
3475
|
+
export declare const LayoutConfigurationFragmentDoc: import("graphql").DocumentNode;
|
|
3476
|
+
export declare const PaywallConfigurationFragmentDoc: import("graphql").DocumentNode;
|
|
2761
3477
|
export declare const ProvisionCustomerDocument: import("graphql").DocumentNode;
|
|
2762
3478
|
export declare const ImportCustomerDocument: import("graphql").DocumentNode;
|
|
2763
3479
|
export declare const UpdateCustomerDocument: import("graphql").DocumentNode;
|
|
3480
|
+
export declare const ProvisionSubscriptionDocument: import("graphql").DocumentNode;
|
|
2764
3481
|
export declare const UpdateSubscriptionDocument: import("graphql").DocumentNode;
|
|
2765
|
-
export declare const CreateSubscriptionDocument: import("graphql").DocumentNode;
|
|
2766
3482
|
export declare const CancelSubscriptionDocument: import("graphql").DocumentNode;
|
|
2767
3483
|
export declare const InitiateCheckoutDocument: import("graphql").DocumentNode;
|
|
3484
|
+
export declare const EstimateSubscriptionDocument: import("graphql").DocumentNode;
|
|
3485
|
+
export declare const EstimateSubscriptionUpdateDocument: import("graphql").DocumentNode;
|
|
3486
|
+
export declare const ReportUsageDocument: import("graphql").DocumentNode;
|
|
2768
3487
|
export declare const GetCustomerByIdDocument: import("graphql").DocumentNode;
|
|
2769
3488
|
export declare const GetCouponsDocument: import("graphql").DocumentNode;
|
|
3489
|
+
export declare const GetPaywallDocument: import("graphql").DocumentNode;
|
|
3490
|
+
export declare const GetEntitlementsDocument: import("graphql").DocumentNode;
|
|
3491
|
+
export declare const GetEntitlementDocument: import("graphql").DocumentNode;
|
|
2770
3492
|
export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
|
|
2771
3493
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
2772
|
-
createCustomer(variables: CreateCustomerMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateCustomerMutation>;
|
|
2773
3494
|
provisionCustomer(variables: ProvisionCustomerMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ProvisionCustomerMutation>;
|
|
2774
3495
|
importCustomer(variables: ImportCustomerMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ImportCustomerMutation>;
|
|
2775
3496
|
updateCustomer(variables: UpdateCustomerMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateCustomerMutation>;
|
|
3497
|
+
provisionSubscription(variables: ProvisionSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ProvisionSubscriptionMutation>;
|
|
2776
3498
|
updateSubscription(variables: UpdateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<UpdateSubscriptionMutation>;
|
|
2777
|
-
createSubscription(variables: CreateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CreateSubscriptionMutation>;
|
|
2778
3499
|
cancelSubscription(variables: CancelSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<CancelSubscriptionMutation>;
|
|
2779
3500
|
initiateCheckout(variables: InitiateCheckoutMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<InitiateCheckoutMutation>;
|
|
2780
|
-
|
|
3501
|
+
estimateSubscription(variables: EstimateSubscriptionMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<EstimateSubscriptionMutation>;
|
|
3502
|
+
estimateSubscriptionUpdate(variables: EstimateSubscriptionUpdateMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<EstimateSubscriptionUpdateMutation>;
|
|
3503
|
+
reportUsage(variables: ReportUsageMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<ReportUsageMutation>;
|
|
3504
|
+
getCustomerById(variables: GetCustomerByIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetCustomerByIdQuery>;
|
|
2781
3505
|
getCoupons(variables?: GetCouponsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetCouponsQuery>;
|
|
3506
|
+
getPaywall(variables: GetPaywallQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetPaywallQuery>;
|
|
3507
|
+
getEntitlements(variables: GetEntitlementsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetEntitlementsQuery>;
|
|
3508
|
+
getEntitlement(variables: GetEntitlementQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetEntitlementQuery>;
|
|
2782
3509
|
};
|
|
2783
3510
|
export declare type Sdk = ReturnType<typeof getSdk>;
|
|
3511
|
+
export {};
|