@stigg/js-client-sdk 0.40.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/generated/types.d.ts +199 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +10 -2
- package/package.json +1 -1
|
@@ -135,6 +135,10 @@ export declare type AttachCustomerPaymentMethodInput = {
|
|
|
135
135
|
refId: Scalars['String'];
|
|
136
136
|
vendorIdentifier: VendorIdentifier;
|
|
137
137
|
};
|
|
138
|
+
export declare enum BillingAnchor {
|
|
139
|
+
StartOfTheMonth = "START_OF_THE_MONTH",
|
|
140
|
+
SubscriptionStart = "SUBSCRIPTION_START"
|
|
141
|
+
}
|
|
138
142
|
/** Billing model. */
|
|
139
143
|
export declare enum BillingModel {
|
|
140
144
|
FlatFee = "FLAT_FEE",
|
|
@@ -292,6 +296,19 @@ export declare type CreateEnvironment = {
|
|
|
292
296
|
id?: InputMaybe<Scalars['String']>;
|
|
293
297
|
slug?: InputMaybe<Scalars['String']>;
|
|
294
298
|
};
|
|
299
|
+
export declare type CreateEnvironmentOptions = {
|
|
300
|
+
createDefaultProduct?: InputMaybe<Scalars['Boolean']>;
|
|
301
|
+
};
|
|
302
|
+
export declare type CreateExperimentInput = {
|
|
303
|
+
controlGroupName: Scalars['String'];
|
|
304
|
+
description?: InputMaybe<Scalars['String']>;
|
|
305
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
306
|
+
name: Scalars['String'];
|
|
307
|
+
productId: Scalars['String'];
|
|
308
|
+
productSettings?: InputMaybe<ProductSettingsInput>;
|
|
309
|
+
variantGroupName: Scalars['String'];
|
|
310
|
+
variantPercentage: Scalars['Float'];
|
|
311
|
+
};
|
|
295
312
|
export declare type CreateHook = {
|
|
296
313
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
297
314
|
description?: InputMaybe<Scalars['String']>;
|
|
@@ -318,8 +335,8 @@ export declare type CreateManyPromotionalEntitlementsInput = {
|
|
|
318
335
|
promotionalEntitlements: Array<PromotionalEntitlementInput>;
|
|
319
336
|
};
|
|
320
337
|
export declare type CreateOneEnvironmentInput = {
|
|
321
|
-
/** The record to create */
|
|
322
338
|
environment: CreateEnvironment;
|
|
339
|
+
options?: InputMaybe<CreateEnvironmentOptions>;
|
|
323
340
|
};
|
|
324
341
|
export declare type CreateOneFeatureInput = {
|
|
325
342
|
/** The record to create */
|
|
@@ -416,6 +433,7 @@ export declare type CustomerInput = {
|
|
|
416
433
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
417
434
|
name?: InputMaybe<Scalars['String']>;
|
|
418
435
|
refId: Scalars['String'];
|
|
436
|
+
shouldSyncFree?: InputMaybe<Scalars['Boolean']>;
|
|
419
437
|
};
|
|
420
438
|
export declare type CustomerSort = {
|
|
421
439
|
direction: SortDirection;
|
|
@@ -635,6 +653,7 @@ export declare enum EnvironmentSortFields {
|
|
|
635
653
|
}
|
|
636
654
|
/** error codes */
|
|
637
655
|
export declare enum ErrorCode {
|
|
656
|
+
AccountNotFoundError = "AccountNotFoundError",
|
|
638
657
|
AddonHasToHavePriceError = "AddonHasToHavePriceError",
|
|
639
658
|
AddonNotFound = "AddonNotFound",
|
|
640
659
|
ArchivedCouponCantBeApplied = "ArchivedCouponCantBeApplied",
|
|
@@ -642,6 +661,7 @@ export declare enum ErrorCode {
|
|
|
642
661
|
BillingPeriodMissingError = "BillingPeriodMissingError",
|
|
643
662
|
CannotDeleteCustomerError = "CannotDeleteCustomerError",
|
|
644
663
|
CannotDeleteFeatureError = "CannotDeleteFeatureError",
|
|
664
|
+
CantCreateExperiment = "CantCreateExperiment",
|
|
645
665
|
CheckoutIsNotSupported = "CheckoutIsNotSupported",
|
|
646
666
|
CouponNotFound = "CouponNotFound",
|
|
647
667
|
CustomerHasNoPaymentMethod = "CustomerHasNoPaymentMethod",
|
|
@@ -651,6 +671,8 @@ export declare enum ErrorCode {
|
|
|
651
671
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed",
|
|
652
672
|
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError",
|
|
653
673
|
EnvironmentMissing = "EnvironmentMissing",
|
|
674
|
+
ExperimentNotFoundError = "ExperimentNotFoundError",
|
|
675
|
+
ExperimentStatusError = "ExperimentStatusError",
|
|
654
676
|
FailedToImportCustomer = "FailedToImportCustomer",
|
|
655
677
|
FeatureNotFound = "FeatureNotFound",
|
|
656
678
|
IdentityForbidden = "IdentityForbidden",
|
|
@@ -674,6 +696,8 @@ export declare enum ErrorCode {
|
|
|
674
696
|
PackageAlreadyPublished = "PackageAlreadyPublished",
|
|
675
697
|
PackagePricingTypeNotSet = "PackagePricingTypeNotSet",
|
|
676
698
|
PlanAlreadyExtended = "PlanAlreadyExtended",
|
|
699
|
+
PlanIsUsedAsDefaultStartPlan = "PlanIsUsedAsDefaultStartPlan",
|
|
700
|
+
PlanIsUsedAsDowngradePlan = "PlanIsUsedAsDowngradePlan",
|
|
677
701
|
PlanNotFound = "PlanNotFound",
|
|
678
702
|
PlanWithChildCantBeDeleted = "PlanWithChildCantBeDeleted",
|
|
679
703
|
PlansCircularDependencyError = "PlansCircularDependencyError",
|
|
@@ -687,7 +711,6 @@ export declare enum ErrorCode {
|
|
|
687
711
|
SubscriptionNotFound = "SubscriptionNotFound",
|
|
688
712
|
TrialMinDateError = "TrialMinDateError",
|
|
689
713
|
TrialMustBeCancelledImmediately = "TrialMustBeCancelledImmediately",
|
|
690
|
-
TrialsNotAllowedInProduct = "TrialsNotAllowedInProduct",
|
|
691
714
|
UnPublishedPackage = "UnPublishedPackage",
|
|
692
715
|
Unauthenticated = "Unauthenticated",
|
|
693
716
|
UncompatibleSubscriptionAddon = "UncompatibleSubscriptionAddon",
|
|
@@ -738,6 +761,69 @@ export declare enum EventLogType {
|
|
|
738
761
|
SubscriptionUsageUpdated = "SUBSCRIPTION_USAGE_UPDATED",
|
|
739
762
|
SyncFailed = "SYNC_FAILED"
|
|
740
763
|
}
|
|
764
|
+
export declare type ExperimentFilter = {
|
|
765
|
+
and?: InputMaybe<Array<ExperimentFilter>>;
|
|
766
|
+
createdAt?: InputMaybe<DateFieldComparison>;
|
|
767
|
+
customers?: InputMaybe<ExperimentFilterCustomerFilter>;
|
|
768
|
+
environmentId?: InputMaybe<StringFieldComparison>;
|
|
769
|
+
id?: InputMaybe<StringFieldComparison>;
|
|
770
|
+
name?: InputMaybe<StringFieldComparison>;
|
|
771
|
+
or?: InputMaybe<Array<ExperimentFilter>>;
|
|
772
|
+
productId?: InputMaybe<StringFieldComparison>;
|
|
773
|
+
refId?: InputMaybe<StringFieldComparison>;
|
|
774
|
+
status?: InputMaybe<ExperimentStatusFilterComparison>;
|
|
775
|
+
};
|
|
776
|
+
export declare type ExperimentFilterCustomerFilter = {
|
|
777
|
+
and?: InputMaybe<Array<ExperimentFilterCustomerFilter>>;
|
|
778
|
+
billingId?: InputMaybe<StringFieldComparison>;
|
|
779
|
+
createdAt?: InputMaybe<DateFieldComparison>;
|
|
780
|
+
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
781
|
+
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
782
|
+
crmId?: InputMaybe<StringFieldComparison>;
|
|
783
|
+
email?: InputMaybe<StringFieldComparison>;
|
|
784
|
+
environmentId?: InputMaybe<StringFieldComparison>;
|
|
785
|
+
id?: InputMaybe<StringFieldComparison>;
|
|
786
|
+
name?: InputMaybe<StringFieldComparison>;
|
|
787
|
+
or?: InputMaybe<Array<ExperimentFilterCustomerFilter>>;
|
|
788
|
+
refId?: InputMaybe<StringFieldComparison>;
|
|
789
|
+
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
790
|
+
};
|
|
791
|
+
export declare type ExperimentSort = {
|
|
792
|
+
direction: SortDirection;
|
|
793
|
+
field: ExperimentSortFields;
|
|
794
|
+
nulls?: InputMaybe<SortNulls>;
|
|
795
|
+
};
|
|
796
|
+
export declare enum ExperimentSortFields {
|
|
797
|
+
CreatedAt = "createdAt",
|
|
798
|
+
EnvironmentId = "environmentId",
|
|
799
|
+
Id = "id",
|
|
800
|
+
Name = "name",
|
|
801
|
+
ProductId = "productId",
|
|
802
|
+
RefId = "refId",
|
|
803
|
+
Status = "status"
|
|
804
|
+
}
|
|
805
|
+
/** The status of the EXPERIMENT */
|
|
806
|
+
export declare enum ExperimentStatus {
|
|
807
|
+
Completed = "COMPLETED",
|
|
808
|
+
Draft = "DRAFT",
|
|
809
|
+
InProgress = "IN_PROGRESS"
|
|
810
|
+
}
|
|
811
|
+
export declare type ExperimentStatusFilterComparison = {
|
|
812
|
+
eq?: InputMaybe<ExperimentStatus>;
|
|
813
|
+
gt?: InputMaybe<ExperimentStatus>;
|
|
814
|
+
gte?: InputMaybe<ExperimentStatus>;
|
|
815
|
+
iLike?: InputMaybe<ExperimentStatus>;
|
|
816
|
+
in?: InputMaybe<Array<ExperimentStatus>>;
|
|
817
|
+
is?: InputMaybe<Scalars['Boolean']>;
|
|
818
|
+
isNot?: InputMaybe<Scalars['Boolean']>;
|
|
819
|
+
like?: InputMaybe<ExperimentStatus>;
|
|
820
|
+
lt?: InputMaybe<ExperimentStatus>;
|
|
821
|
+
lte?: InputMaybe<ExperimentStatus>;
|
|
822
|
+
neq?: InputMaybe<ExperimentStatus>;
|
|
823
|
+
notILike?: InputMaybe<ExperimentStatus>;
|
|
824
|
+
notIn?: InputMaybe<Array<ExperimentStatus>>;
|
|
825
|
+
notLike?: InputMaybe<ExperimentStatus>;
|
|
826
|
+
};
|
|
741
827
|
export declare type FeatureFilter = {
|
|
742
828
|
and?: InputMaybe<Array<FeatureFilter>>;
|
|
743
829
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
@@ -1382,6 +1468,8 @@ export declare type ProductSettingsInput = {
|
|
|
1382
1468
|
downgradePlanId?: InputMaybe<Scalars['String']>;
|
|
1383
1469
|
subscriptionCancellationTime: SubscriptionCancellationTime;
|
|
1384
1470
|
subscriptionEndSetup: SubscriptionEndSetup;
|
|
1471
|
+
subscriptionStartPlanId?: InputMaybe<Scalars['String']>;
|
|
1472
|
+
subscriptionStartSetup: SubscriptionStartSetup;
|
|
1385
1473
|
};
|
|
1386
1474
|
export declare type ProductSort = {
|
|
1387
1475
|
direction: SortDirection;
|
|
@@ -1481,6 +1569,19 @@ export declare type PromotionalEntitlementUpdateInput = {
|
|
|
1481
1569
|
usageLimit?: InputMaybe<Scalars['Float']>;
|
|
1482
1570
|
weeklyResetPeriodConfiguration?: InputMaybe<WeeklyResetPeriodConfigInput>;
|
|
1483
1571
|
};
|
|
1572
|
+
export declare type ProvisionCustomerInput = {
|
|
1573
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1574
|
+
billingId?: InputMaybe<Scalars['String']>;
|
|
1575
|
+
billingInformation?: InputMaybe<CustomerBillingInfo>;
|
|
1576
|
+
couponRefId?: InputMaybe<Scalars['String']>;
|
|
1577
|
+
crmId?: InputMaybe<Scalars['String']>;
|
|
1578
|
+
email?: InputMaybe<Scalars['String']>;
|
|
1579
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
1580
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1581
|
+
refId: Scalars['String'];
|
|
1582
|
+
shouldSyncFree?: InputMaybe<Scalars['Boolean']>;
|
|
1583
|
+
subscriptionParams?: InputMaybe<SubscriptionBaseInput>;
|
|
1584
|
+
};
|
|
1484
1585
|
/** PublishMigrationType */
|
|
1485
1586
|
export declare enum PublishMigrationType {
|
|
1486
1587
|
AllCustomers = "ALL_CUSTOMERS",
|
|
@@ -1504,6 +1605,18 @@ export declare type RemoveCouponFromCustomerInput = {
|
|
|
1504
1605
|
/** The id of relation. */
|
|
1505
1606
|
relationId: Scalars['String'];
|
|
1506
1607
|
};
|
|
1608
|
+
export declare type RemoveExperimentFromCustomerInput = {
|
|
1609
|
+
/** The id of the record. */
|
|
1610
|
+
id: Scalars['String'];
|
|
1611
|
+
/** The id of relation. */
|
|
1612
|
+
relationId: Scalars['String'];
|
|
1613
|
+
};
|
|
1614
|
+
export declare type RemoveExperimentFromCustomerSubscriptionInput = {
|
|
1615
|
+
/** The id of the record. */
|
|
1616
|
+
id: Scalars['String'];
|
|
1617
|
+
/** The id of relation. */
|
|
1618
|
+
relationId: Scalars['String'];
|
|
1619
|
+
};
|
|
1507
1620
|
export declare type ResyncIntegrationInput = {
|
|
1508
1621
|
environmentId: Scalars['String'];
|
|
1509
1622
|
vendorIdentifier: VendorIdentifier;
|
|
@@ -1526,6 +1639,18 @@ export declare type SetCouponOnCustomerInput = {
|
|
|
1526
1639
|
/** The id of relation. */
|
|
1527
1640
|
relationId: Scalars['String'];
|
|
1528
1641
|
};
|
|
1642
|
+
export declare type SetExperimentOnCustomerInput = {
|
|
1643
|
+
/** The id of the record. */
|
|
1644
|
+
id: Scalars['String'];
|
|
1645
|
+
/** The id of relation. */
|
|
1646
|
+
relationId: Scalars['String'];
|
|
1647
|
+
};
|
|
1648
|
+
export declare type SetExperimentOnCustomerSubscriptionInput = {
|
|
1649
|
+
/** The id of the record. */
|
|
1650
|
+
id: Scalars['String'];
|
|
1651
|
+
/** The id of relation. */
|
|
1652
|
+
relationId: Scalars['String'];
|
|
1653
|
+
};
|
|
1529
1654
|
/** Sort Directions */
|
|
1530
1655
|
export declare enum SortDirection {
|
|
1531
1656
|
Asc = "ASC",
|
|
@@ -1540,6 +1665,14 @@ export declare enum SourceType {
|
|
|
1540
1665
|
JsClientSdk = "JS_CLIENT_SDK",
|
|
1541
1666
|
NodeServerSdk = "NODE_SERVER_SDK"
|
|
1542
1667
|
}
|
|
1668
|
+
export declare type StartExperimentInput = {
|
|
1669
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
1670
|
+
refId: Scalars['String'];
|
|
1671
|
+
};
|
|
1672
|
+
export declare type StopExperimentInput = {
|
|
1673
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
1674
|
+
refId: Scalars['String'];
|
|
1675
|
+
};
|
|
1543
1676
|
export declare type StringFieldComparison = {
|
|
1544
1677
|
eq?: InputMaybe<Scalars['String']>;
|
|
1545
1678
|
gt?: InputMaybe<Scalars['String']>;
|
|
@@ -1646,6 +1779,25 @@ export declare enum SubscriptionAddonSortFields {
|
|
|
1646
1779
|
Quantity = "quantity",
|
|
1647
1780
|
UpdatedAt = "updatedAt"
|
|
1648
1781
|
}
|
|
1782
|
+
export declare type SubscriptionBaseInput = {
|
|
1783
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1784
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1785
|
+
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1786
|
+
billingCycleAnchor?: InputMaybe<Scalars['DateTime']>;
|
|
1787
|
+
billingId?: InputMaybe<Scalars['String']>;
|
|
1788
|
+
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1789
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1790
|
+
crmId?: InputMaybe<Scalars['String']>;
|
|
1791
|
+
currentBillingPeriodEnd?: InputMaybe<Scalars['DateTime']>;
|
|
1792
|
+
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
1793
|
+
isCustomPriceSubscription?: InputMaybe<Scalars['Boolean']>;
|
|
1794
|
+
isOverridingTrialConfig?: InputMaybe<Scalars['Boolean']>;
|
|
1795
|
+
isTrial?: InputMaybe<Scalars['Boolean']>;
|
|
1796
|
+
planId?: InputMaybe<Scalars['String']>;
|
|
1797
|
+
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1798
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1799
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1800
|
+
};
|
|
1649
1801
|
export declare type SubscriptionBillingInfo = {
|
|
1650
1802
|
taxRateIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1651
1803
|
};
|
|
@@ -1701,6 +1853,7 @@ export declare type SubscriptionInput = {
|
|
|
1701
1853
|
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1702
1854
|
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1703
1855
|
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1856
|
+
billingCycleAnchor?: InputMaybe<Scalars['DateTime']>;
|
|
1704
1857
|
billingId?: InputMaybe<Scalars['String']>;
|
|
1705
1858
|
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1706
1859
|
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
@@ -1789,6 +1942,11 @@ export declare enum SubscriptionPriceSortFields {
|
|
|
1789
1942
|
UpdatedAt = "updatedAt",
|
|
1790
1943
|
UsageLimit = "usageLimit"
|
|
1791
1944
|
}
|
|
1945
|
+
export declare enum SubscriptionStartSetup {
|
|
1946
|
+
FreePlan = "FREE_PLAN",
|
|
1947
|
+
PlanSelection = "PLAN_SELECTION",
|
|
1948
|
+
TrialPeriod = "TRIAL_PERIOD"
|
|
1949
|
+
}
|
|
1792
1950
|
/** Subscription status */
|
|
1793
1951
|
export declare enum SubscriptionStatus {
|
|
1794
1952
|
Active = "ACTIVE",
|
|
@@ -1814,6 +1972,13 @@ export declare type SubscriptionStatusFilterComparison = {
|
|
|
1814
1972
|
notIn?: InputMaybe<Array<SubscriptionStatus>>;
|
|
1815
1973
|
notLike?: InputMaybe<SubscriptionStatus>;
|
|
1816
1974
|
};
|
|
1975
|
+
/** Subscription strategy decision */
|
|
1976
|
+
export declare enum SubscriptionStrategyDecision {
|
|
1977
|
+
PredefinedFreePlan = "PREDEFINED_FREE_PLAN",
|
|
1978
|
+
PredefinedTrialPlan = "PREDEFINED_TRIAL_PLAN",
|
|
1979
|
+
RequestedPlan = "REQUESTED_PLAN",
|
|
1980
|
+
SkippedSubscriptionCreation = "SKIPPED_SUBSCRIPTION_CREATION"
|
|
1981
|
+
}
|
|
1817
1982
|
/** Status of the integration sync */
|
|
1818
1983
|
export declare enum SyncStatus {
|
|
1819
1984
|
Error = "ERROR",
|
|
@@ -1872,6 +2037,7 @@ export declare type TaxExempt = {
|
|
|
1872
2037
|
};
|
|
1873
2038
|
export declare type TestHookInput = {
|
|
1874
2039
|
endpointUrl: Scalars['String'];
|
|
2040
|
+
environmentId: Scalars['String'];
|
|
1875
2041
|
hookEventType: EventLogType;
|
|
1876
2042
|
};
|
|
1877
2043
|
/** day or month. */
|
|
@@ -1882,6 +2048,7 @@ export declare enum TrialPeriodUnits {
|
|
|
1882
2048
|
export declare type UpdateAccountInput = {
|
|
1883
2049
|
displayName: Scalars['String'];
|
|
1884
2050
|
id: Scalars['String'];
|
|
2051
|
+
subscriptionBillingAnchor?: InputMaybe<BillingAnchor>;
|
|
1885
2052
|
timezone?: InputMaybe<Scalars['String']>;
|
|
1886
2053
|
};
|
|
1887
2054
|
export declare type UpdateCouponInput = {
|
|
@@ -1909,6 +2076,17 @@ export declare type UpdateEnvironment = {
|
|
|
1909
2076
|
id?: InputMaybe<Scalars['String']>;
|
|
1910
2077
|
slug?: InputMaybe<Scalars['String']>;
|
|
1911
2078
|
};
|
|
2079
|
+
export declare type UpdateExperimentInput = {
|
|
2080
|
+
controlGroupName?: InputMaybe<Scalars['String']>;
|
|
2081
|
+
description?: InputMaybe<Scalars['String']>;
|
|
2082
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
2083
|
+
name?: InputMaybe<Scalars['String']>;
|
|
2084
|
+
productId?: InputMaybe<Scalars['String']>;
|
|
2085
|
+
productSettings?: InputMaybe<ProductSettingsInput>;
|
|
2086
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
2087
|
+
variantGroupName?: InputMaybe<Scalars['String']>;
|
|
2088
|
+
variantPercentage?: InputMaybe<Scalars['Float']>;
|
|
2089
|
+
};
|
|
1912
2090
|
export declare type UpdateFeature = {
|
|
1913
2091
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
1914
2092
|
description?: InputMaybe<Scalars['String']>;
|
|
@@ -2091,6 +2269,11 @@ export declare type ZuoraCredentialsInput = {
|
|
|
2091
2269
|
clientId: Scalars['String'];
|
|
2092
2270
|
clientSecret: Scalars['String'];
|
|
2093
2271
|
};
|
|
2272
|
+
/** The group of the experiment */
|
|
2273
|
+
export declare enum ExperimentGroupType {
|
|
2274
|
+
Control = "CONTROL",
|
|
2275
|
+
Variant = "VARIANT"
|
|
2276
|
+
}
|
|
2094
2277
|
export declare type CouponFragment = {
|
|
2095
2278
|
__typename?: 'Coupon';
|
|
2096
2279
|
id: string;
|
|
@@ -2158,6 +2341,13 @@ export declare type SubscriptionFragment = {
|
|
|
2158
2341
|
currentBillingPeriodEnd?: any | null | undefined;
|
|
2159
2342
|
additionalMetaData?: any | null | undefined;
|
|
2160
2343
|
pricingType: PricingType;
|
|
2344
|
+
experimentInfo?: {
|
|
2345
|
+
__typename?: 'experimentInfo';
|
|
2346
|
+
name: string;
|
|
2347
|
+
groupName: string;
|
|
2348
|
+
groupType?: ExperimentGroupType | null | undefined;
|
|
2349
|
+
id: string;
|
|
2350
|
+
} | null | undefined;
|
|
2161
2351
|
prices?: Array<{
|
|
2162
2352
|
__typename?: 'SubscriptionPrice';
|
|
2163
2353
|
usageLimit?: number | null | undefined;
|
|
@@ -2280,6 +2470,13 @@ export declare type CustomerFragment = {
|
|
|
2280
2470
|
hasPaymentMethod: boolean;
|
|
2281
2471
|
refId: string;
|
|
2282
2472
|
additionalMetaData?: any | null | undefined;
|
|
2473
|
+
experimentInfo?: {
|
|
2474
|
+
__typename?: 'experimentInfo';
|
|
2475
|
+
name: string;
|
|
2476
|
+
groupType?: ExperimentGroupType | null | undefined;
|
|
2477
|
+
groupName: string;
|
|
2478
|
+
id: string;
|
|
2479
|
+
} | null | undefined;
|
|
2283
2480
|
trialedPlans?: Array<{
|
|
2284
2481
|
__typename?: 'TrialedPlan';
|
|
2285
2482
|
productId?: string | null | undefined;
|