@stigg/js-client-sdk 0.46.2 → 0.48.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 +91 -29
- package/dist/client.d.ts +0 -1
- package/dist/configuration.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +2 -0
- package/package.json +1 -1
|
@@ -130,9 +130,10 @@ export declare type ArchivePlanInput = {
|
|
|
130
130
|
id: Scalars['String'];
|
|
131
131
|
};
|
|
132
132
|
export declare type AttachCustomerPaymentMethodInput = {
|
|
133
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
133
134
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
134
135
|
paymentMethodId: Scalars['String'];
|
|
135
|
-
refId
|
|
136
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
136
137
|
vendorIdentifier: VendorIdentifier;
|
|
137
138
|
};
|
|
138
139
|
export declare enum BillingAnchor {
|
|
@@ -191,6 +192,12 @@ export declare enum ChangeType {
|
|
|
191
192
|
Deleted = "DELETED",
|
|
192
193
|
Modified = "MODIFIED"
|
|
193
194
|
}
|
|
195
|
+
export declare type CheckoutOptions = {
|
|
196
|
+
allowPromoCodes?: InputMaybe<Scalars['Boolean']>;
|
|
197
|
+
cancelUrl: Scalars['String'];
|
|
198
|
+
collectBillingAddress?: InputMaybe<Scalars['Boolean']>;
|
|
199
|
+
successUrl: Scalars['String'];
|
|
200
|
+
};
|
|
194
201
|
export declare type CouponFilter = {
|
|
195
202
|
and?: InputMaybe<Array<CouponFilter>>;
|
|
196
203
|
billingId?: InputMaybe<StringFieldComparison>;
|
|
@@ -213,6 +220,7 @@ export declare type CouponFilterCustomerFilter = {
|
|
|
213
220
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
214
221
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
215
222
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
223
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
216
224
|
email?: InputMaybe<StringFieldComparison>;
|
|
217
225
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
218
226
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -386,6 +394,7 @@ export declare type CustomerFilter = {
|
|
|
386
394
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
387
395
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
388
396
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
397
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
389
398
|
email?: InputMaybe<StringFieldComparison>;
|
|
390
399
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
391
400
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -413,6 +422,7 @@ export declare type CustomerFilterCustomerSubscriptionFilter = {
|
|
|
413
422
|
refId?: InputMaybe<StringFieldComparison>;
|
|
414
423
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
415
424
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
425
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
416
426
|
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
417
427
|
};
|
|
418
428
|
export declare type CustomerFilterPromotionalEntitlementFilter = {
|
|
@@ -429,11 +439,13 @@ export declare type CustomerInput = {
|
|
|
429
439
|
billingId?: InputMaybe<Scalars['String']>;
|
|
430
440
|
billingInformation?: InputMaybe<CustomerBillingInfo>;
|
|
431
441
|
couponRefId?: InputMaybe<Scalars['String']>;
|
|
442
|
+
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
432
443
|
crmId?: InputMaybe<Scalars['String']>;
|
|
444
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
433
445
|
email?: InputMaybe<Scalars['String']>;
|
|
434
446
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
435
447
|
name?: InputMaybe<Scalars['String']>;
|
|
436
|
-
refId
|
|
448
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
437
449
|
shouldSyncFree?: InputMaybe<Scalars['Boolean']>;
|
|
438
450
|
};
|
|
439
451
|
export declare type CustomerSort = {
|
|
@@ -447,6 +459,7 @@ export declare enum CustomerSortFields {
|
|
|
447
459
|
CrmHubspotCompanyId = "crmHubspotCompanyId",
|
|
448
460
|
CrmHubspotCompanyUrl = "crmHubspotCompanyUrl",
|
|
449
461
|
CrmId = "crmId",
|
|
462
|
+
CustomerId = "customerId",
|
|
450
463
|
Email = "email",
|
|
451
464
|
EnvironmentId = "environmentId",
|
|
452
465
|
Id = "id",
|
|
@@ -474,6 +487,7 @@ export declare type CustomerSubscriptionFilter = {
|
|
|
474
487
|
refId?: InputMaybe<StringFieldComparison>;
|
|
475
488
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
476
489
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
490
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
477
491
|
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
478
492
|
};
|
|
479
493
|
export declare type CustomerSubscriptionFilterCustomerFilter = {
|
|
@@ -483,6 +497,7 @@ export declare type CustomerSubscriptionFilterCustomerFilter = {
|
|
|
483
497
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
484
498
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
485
499
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
500
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
486
501
|
email?: InputMaybe<StringFieldComparison>;
|
|
487
502
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
488
503
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -527,6 +542,7 @@ export declare enum CustomerSubscriptionSortFields {
|
|
|
527
542
|
RefId = "refId",
|
|
528
543
|
StartDate = "startDate",
|
|
529
544
|
Status = "status",
|
|
545
|
+
SubscriptionId = "subscriptionId",
|
|
530
546
|
TrialEndDate = "trialEndDate"
|
|
531
547
|
}
|
|
532
548
|
export declare type DateFieldComparison = {
|
|
@@ -671,6 +687,7 @@ export declare enum ErrorCode {
|
|
|
671
687
|
CannotDeleteFeatureError = "CannotDeleteFeatureError",
|
|
672
688
|
CannotEditPackageInNonDraftMode = "CannotEditPackageInNonDraftMode",
|
|
673
689
|
CheckoutIsNotSupported = "CheckoutIsNotSupported",
|
|
690
|
+
CheckoutOptionsMissing = "CheckoutOptionsMissing",
|
|
674
691
|
CouponNotFound = "CouponNotFound",
|
|
675
692
|
CustomerHasNoPaymentMethod = "CustomerHasNoPaymentMethod",
|
|
676
693
|
CustomerNoBillingId = "CustomerNoBillingId",
|
|
@@ -679,6 +696,7 @@ export declare enum ErrorCode {
|
|
|
679
696
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed",
|
|
680
697
|
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError",
|
|
681
698
|
EntitlementsMustBelongToSamePackage = "EntitlementsMustBelongToSamePackage",
|
|
699
|
+
EntityIdDifferentFromRefIdError = "EntityIdDifferentFromRefIdError",
|
|
682
700
|
EnvironmentMissing = "EnvironmentMissing",
|
|
683
701
|
ExperimentAlreadyRunning = "ExperimentAlreadyRunning",
|
|
684
702
|
ExperimentNotFoundError = "ExperimentNotFoundError",
|
|
@@ -702,6 +720,7 @@ export declare enum ErrorCode {
|
|
|
702
720
|
MemberInvitationError = "MemberInvitationError",
|
|
703
721
|
MemberNotFound = "MemberNotFound",
|
|
704
722
|
MeteringNotAvailableForFeatureType = "MeteringNotAvailableForFeatureType",
|
|
723
|
+
MissingEntityIdError = "MissingEntityIdError",
|
|
705
724
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription",
|
|
706
725
|
OperationNotAllowedDuringInProgressExperiment = "OperationNotAllowedDuringInProgressExperiment",
|
|
707
726
|
PackageAlreadyPublished = "PackageAlreadyPublished",
|
|
@@ -729,6 +748,22 @@ export declare enum ErrorCode {
|
|
|
729
748
|
UnsupportedFeatureType = "UnsupportedFeatureType",
|
|
730
749
|
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
731
750
|
}
|
|
751
|
+
export declare type EstimateSubscriptionInput = {
|
|
752
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
753
|
+
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
754
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
755
|
+
customerId: Scalars['String'];
|
|
756
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
757
|
+
planId?: InputMaybe<Scalars['String']>;
|
|
758
|
+
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
759
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
760
|
+
};
|
|
761
|
+
export declare type EstimateSubscriptionUpdateInput = {
|
|
762
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
763
|
+
environmentId?: InputMaybe<Scalars['String']>;
|
|
764
|
+
subscriptionId: Scalars['String'];
|
|
765
|
+
unitQuantity?: InputMaybe<Scalars['Float']>;
|
|
766
|
+
};
|
|
732
767
|
/** EventLogType */
|
|
733
768
|
export declare enum EventLogType {
|
|
734
769
|
AddonCreated = "ADDON_CREATED",
|
|
@@ -791,6 +826,7 @@ export declare type ExperimentFilterCustomerFilter = {
|
|
|
791
826
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
792
827
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
793
828
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
829
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
794
830
|
email?: InputMaybe<StringFieldComparison>;
|
|
795
831
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
796
832
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -990,10 +1026,11 @@ export declare type HubspotCredentialsInput = {
|
|
|
990
1026
|
};
|
|
991
1027
|
export declare type ImportCustomerInput = {
|
|
992
1028
|
billingId: Scalars['String'];
|
|
1029
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
993
1030
|
email?: InputMaybe<Scalars['String']>;
|
|
994
1031
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
995
1032
|
name?: InputMaybe<Scalars['String']>;
|
|
996
|
-
refId
|
|
1033
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
997
1034
|
};
|
|
998
1035
|
export declare type ImportIntegrationCatalogInput = {
|
|
999
1036
|
billingModel?: InputMaybe<BillingModel>;
|
|
@@ -1042,10 +1079,11 @@ export declare type InitAddStripeCustomerPaymentMethodInput = {
|
|
|
1042
1079
|
};
|
|
1043
1080
|
export declare type InitiateCheckoutInput = {
|
|
1044
1081
|
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1082
|
+
allowPromoCodes?: InputMaybe<Scalars['Boolean']>;
|
|
1045
1083
|
billingPeriod: BillingPeriod;
|
|
1046
1084
|
cancelUrl: Scalars['String'];
|
|
1085
|
+
collectBillingAddress?: InputMaybe<Scalars['Boolean']>;
|
|
1047
1086
|
customerId: Scalars['String'];
|
|
1048
|
-
environmentId?: InputMaybe<Scalars['String']>;
|
|
1049
1087
|
planId: Scalars['String'];
|
|
1050
1088
|
successUrl: Scalars['String'];
|
|
1051
1089
|
unitQuantity?: InputMaybe<Scalars['Int']>;
|
|
@@ -1441,6 +1479,8 @@ export declare enum PriceSortFields {
|
|
|
1441
1479
|
export declare type PricingModelCreateInput = {
|
|
1442
1480
|
billingModel: BillingModel;
|
|
1443
1481
|
featureId?: InputMaybe<Scalars['String']>;
|
|
1482
|
+
maxUnitQuantity?: InputMaybe<Scalars['Float']>;
|
|
1483
|
+
minUnitQuantity?: InputMaybe<Scalars['Float']>;
|
|
1444
1484
|
pricePeriods: Array<PricePeriodInput>;
|
|
1445
1485
|
};
|
|
1446
1486
|
/** Package pricing type. */
|
|
@@ -1594,15 +1634,49 @@ export declare type ProvisionCustomerInput = {
|
|
|
1594
1634
|
billingId?: InputMaybe<Scalars['String']>;
|
|
1595
1635
|
billingInformation?: InputMaybe<CustomerBillingInfo>;
|
|
1596
1636
|
couponRefId?: InputMaybe<Scalars['String']>;
|
|
1637
|
+
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
1597
1638
|
crmId?: InputMaybe<Scalars['String']>;
|
|
1639
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
1598
1640
|
email?: InputMaybe<Scalars['String']>;
|
|
1599
1641
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
1600
1642
|
excludeFromExperiment?: InputMaybe<Scalars['Boolean']>;
|
|
1601
1643
|
name?: InputMaybe<Scalars['String']>;
|
|
1602
|
-
refId
|
|
1644
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1603
1645
|
shouldSyncFree?: InputMaybe<Scalars['Boolean']>;
|
|
1604
|
-
subscriptionParams?: InputMaybe<
|
|
1646
|
+
subscriptionParams?: InputMaybe<ProvisionCustomerSubscriptionInput>;
|
|
1605
1647
|
};
|
|
1648
|
+
export declare type ProvisionCustomerSubscriptionInput = {
|
|
1649
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1650
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1651
|
+
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1652
|
+
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1653
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1654
|
+
planId?: InputMaybe<Scalars['String']>;
|
|
1655
|
+
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1656
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1657
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1658
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
1659
|
+
};
|
|
1660
|
+
export declare type ProvisionSubscription = {
|
|
1661
|
+
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1662
|
+
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1663
|
+
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1664
|
+
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1665
|
+
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1666
|
+
checkoutOptions?: InputMaybe<CheckoutOptions>;
|
|
1667
|
+
customerId: Scalars['String'];
|
|
1668
|
+
planId?: InputMaybe<Scalars['String']>;
|
|
1669
|
+
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1670
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
1671
|
+
skipTrial?: InputMaybe<Scalars['Boolean']>;
|
|
1672
|
+
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1673
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
1674
|
+
};
|
|
1675
|
+
/** Provision subscription status */
|
|
1676
|
+
export declare enum ProvisionSubscriptionStatus {
|
|
1677
|
+
PaymentRequired = "PAYMENT_REQUIRED",
|
|
1678
|
+
Success = "SUCCESS"
|
|
1679
|
+
}
|
|
1606
1680
|
/** PublishMigrationType */
|
|
1607
1681
|
export declare enum PublishMigrationType {
|
|
1608
1682
|
AllCustomers = "ALL_CUSTOMERS",
|
|
@@ -1774,6 +1848,7 @@ export declare type SubscriptionAddonFilterCustomerSubscriptionFilter = {
|
|
|
1774
1848
|
refId?: InputMaybe<StringFieldComparison>;
|
|
1775
1849
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
1776
1850
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
1851
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
1777
1852
|
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
1778
1853
|
};
|
|
1779
1854
|
export declare type SubscriptionAddonFilterPriceFilter = {
|
|
@@ -1799,25 +1874,6 @@ export declare enum SubscriptionAddonSortFields {
|
|
|
1799
1874
|
Quantity = "quantity",
|
|
1800
1875
|
UpdatedAt = "updatedAt"
|
|
1801
1876
|
}
|
|
1802
|
-
export declare type SubscriptionBaseInput = {
|
|
1803
|
-
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1804
|
-
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1805
|
-
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1806
|
-
billingCycleAnchor?: InputMaybe<Scalars['DateTime']>;
|
|
1807
|
-
billingId?: InputMaybe<Scalars['String']>;
|
|
1808
|
-
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1809
|
-
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1810
|
-
crmId?: InputMaybe<Scalars['String']>;
|
|
1811
|
-
currentBillingPeriodEnd?: InputMaybe<Scalars['DateTime']>;
|
|
1812
|
-
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
1813
|
-
isCustomPriceSubscription?: InputMaybe<Scalars['Boolean']>;
|
|
1814
|
-
isOverridingTrialConfig?: InputMaybe<Scalars['Boolean']>;
|
|
1815
|
-
isTrial?: InputMaybe<Scalars['Boolean']>;
|
|
1816
|
-
planId?: InputMaybe<Scalars['String']>;
|
|
1817
|
-
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1818
|
-
refId?: InputMaybe<Scalars['String']>;
|
|
1819
|
-
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1820
|
-
};
|
|
1821
1877
|
export declare type SubscriptionBillingInfo = {
|
|
1822
1878
|
taxRateIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1823
1879
|
};
|
|
@@ -1880,12 +1936,10 @@ export declare type SubscriptionInput = {
|
|
|
1880
1936
|
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
1881
1937
|
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
1882
1938
|
awaitPaymentConfirmation?: InputMaybe<Scalars['Boolean']>;
|
|
1883
|
-
billingCycleAnchor?: InputMaybe<Scalars['DateTime']>;
|
|
1884
1939
|
billingId?: InputMaybe<Scalars['String']>;
|
|
1885
1940
|
billingInformation?: InputMaybe<SubscriptionBillingInfo>;
|
|
1886
1941
|
billingPeriod?: InputMaybe<BillingPeriod>;
|
|
1887
1942
|
crmId?: InputMaybe<Scalars['String']>;
|
|
1888
|
-
currentBillingPeriodEnd?: InputMaybe<Scalars['DateTime']>;
|
|
1889
1943
|
customerId: Scalars['String'];
|
|
1890
1944
|
endDate?: InputMaybe<Scalars['DateTime']>;
|
|
1891
1945
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
@@ -1896,6 +1950,7 @@ export declare type SubscriptionInput = {
|
|
|
1896
1950
|
priceUnitAmount?: InputMaybe<Scalars['Float']>;
|
|
1897
1951
|
refId?: InputMaybe<Scalars['String']>;
|
|
1898
1952
|
startDate?: InputMaybe<Scalars['DateTime']>;
|
|
1953
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
1899
1954
|
};
|
|
1900
1955
|
export declare type SubscriptionMigrationInput = {
|
|
1901
1956
|
subscriptionId: Scalars['String'];
|
|
@@ -1948,6 +2003,7 @@ export declare type SubscriptionPriceFilterCustomerSubscriptionFilter = {
|
|
|
1948
2003
|
refId?: InputMaybe<StringFieldComparison>;
|
|
1949
2004
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
1950
2005
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
2006
|
+
subscriptionId?: InputMaybe<StringFieldComparison>;
|
|
1951
2007
|
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
1952
2008
|
};
|
|
1953
2009
|
export declare type SubscriptionPriceFilterPriceFilter = {
|
|
@@ -2084,10 +2140,11 @@ export declare type UpdateCustomerInput = {
|
|
|
2084
2140
|
billingInformation?: InputMaybe<CustomerBillingInfo>;
|
|
2085
2141
|
couponRefId?: InputMaybe<Scalars['String']>;
|
|
2086
2142
|
crmId?: InputMaybe<Scalars['String']>;
|
|
2143
|
+
customerId?: InputMaybe<Scalars['String']>;
|
|
2087
2144
|
email?: InputMaybe<Scalars['String']>;
|
|
2088
2145
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
2089
2146
|
name?: InputMaybe<Scalars['String']>;
|
|
2090
|
-
refId
|
|
2147
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
2091
2148
|
};
|
|
2092
2149
|
export declare type UpdateEnvironment = {
|
|
2093
2150
|
createdAt?: InputMaybe<Scalars['DateTime']>;
|
|
@@ -2183,7 +2240,9 @@ export declare type UpdateSubscriptionInput = {
|
|
|
2183
2240
|
additionalMetaData?: InputMaybe<Scalars['JSON']>;
|
|
2184
2241
|
addons?: InputMaybe<Array<SubscriptionAddonInput>>;
|
|
2185
2242
|
environmentId?: InputMaybe<Scalars['String']>;
|
|
2186
|
-
refId
|
|
2243
|
+
refId?: InputMaybe<Scalars['String']>;
|
|
2244
|
+
subscriptionId?: InputMaybe<Scalars['String']>;
|
|
2245
|
+
trialEndDate?: InputMaybe<Scalars['DateTime']>;
|
|
2187
2246
|
unitQuantity?: InputMaybe<Scalars['Float']>;
|
|
2188
2247
|
};
|
|
2189
2248
|
export declare type UsageHistoryInput = {
|
|
@@ -2219,6 +2278,7 @@ export declare type UsageMeasurementFilterCustomerFilter = {
|
|
|
2219
2278
|
crmHubspotCompanyId?: InputMaybe<StringFieldComparison>;
|
|
2220
2279
|
crmHubspotCompanyUrl?: InputMaybe<StringFieldComparison>;
|
|
2221
2280
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
2281
|
+
customerId?: InputMaybe<StringFieldComparison>;
|
|
2222
2282
|
email?: InputMaybe<StringFieldComparison>;
|
|
2223
2283
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
2224
2284
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -2682,6 +2742,8 @@ export declare type PriceFragment = {
|
|
|
2682
2742
|
__typename?: 'Price';
|
|
2683
2743
|
billingModel: BillingModel;
|
|
2684
2744
|
billingPeriod: BillingPeriod;
|
|
2745
|
+
minUnitQuantity?: number | null | undefined;
|
|
2746
|
+
maxUnitQuantity?: number | null | undefined;
|
|
2685
2747
|
price: {
|
|
2686
2748
|
__typename?: 'Money';
|
|
2687
2749
|
amount: number;
|
package/dist/client.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ export declare class Stigg implements StiggClient {
|
|
|
36
36
|
* @returns The new client instance.
|
|
37
37
|
*/
|
|
38
38
|
static initialize(configuration: ClientConfiguration): StiggClient;
|
|
39
|
-
private static loadCustomerById;
|
|
40
39
|
/**
|
|
41
40
|
* Returns a Promise that tracks the client's initialization state.
|
|
42
41
|
*
|
package/dist/configuration.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare type ClientConfiguration = {
|
|
|
9
9
|
entitlementPollingInterval?: number;
|
|
10
10
|
useEntitlementPolling?: boolean;
|
|
11
11
|
logConfiguration?: LogConfiguration;
|
|
12
|
+
lazyLoad?: boolean;
|
|
12
13
|
};
|
|
13
14
|
export declare function validateConfiguration(configuration: ClientConfiguration, loggerService: LoggerService): void;
|
|
14
15
|
export declare function getConfiguration(configuration: ClientConfiguration): Required<ClientConfiguration>;
|