@stigg/js-client-sdk 0.28.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/generated/types.d.ts +28 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -194,6 +194,7 @@ export declare type CreateHook = {
|
|
|
194
194
|
};
|
|
195
195
|
export declare type CreateIntegrationInput = {
|
|
196
196
|
environmentId: Scalars['String'];
|
|
197
|
+
hubspotCredentials?: InputMaybe<HubspotCredentialsInput>;
|
|
197
198
|
stripeCredentials?: InputMaybe<StripeCredentialsInput>;
|
|
198
199
|
vendorIdentifier: VendorIdentifier;
|
|
199
200
|
zuoraCredentials?: InputMaybe<ZuoraCredentialsInput>;
|
|
@@ -534,6 +535,7 @@ export declare enum EventLogType {
|
|
|
534
535
|
CustomerCreated = "CUSTOMER_CREATED",
|
|
535
536
|
CustomerDeleted = "CUSTOMER_DELETED",
|
|
536
537
|
CustomerUpdated = "CUSTOMER_UPDATED",
|
|
538
|
+
EntitlementsUpdated = "ENTITLEMENTS_UPDATED",
|
|
537
539
|
EntitlementDenied = "ENTITLEMENT_DENIED",
|
|
538
540
|
EntitlementGranted = "ENTITLEMENT_GRANTED",
|
|
539
541
|
EntitlementRequested = "ENTITLEMENT_REQUESTED",
|
|
@@ -700,6 +702,10 @@ export declare type HookStatusFilterComparison = {
|
|
|
700
702
|
notIn?: InputMaybe<Array<HookStatus>>;
|
|
701
703
|
notLike?: InputMaybe<HookStatus>;
|
|
702
704
|
};
|
|
705
|
+
export declare type HubspotCredentialsInput = {
|
|
706
|
+
authorizationCode: Scalars['String'];
|
|
707
|
+
refreshToken?: InputMaybe<Scalars['String']>;
|
|
708
|
+
};
|
|
703
709
|
export declare type InitiateCheckoutInput = {
|
|
704
710
|
addons?: InputMaybe<Array<CheckoutAddonInput>>;
|
|
705
711
|
billingPeriod: BillingPeriod;
|
|
@@ -964,6 +970,7 @@ export declare type PlanCreateInput = {
|
|
|
964
970
|
export declare type PlanFilter = {
|
|
965
971
|
and?: InputMaybe<Array<PlanFilter>>;
|
|
966
972
|
billingId?: InputMaybe<StringFieldComparison>;
|
|
973
|
+
compatibleAddons?: InputMaybe<PlanFilterAddonFilter>;
|
|
967
974
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
968
975
|
description?: InputMaybe<StringFieldComparison>;
|
|
969
976
|
displayName?: InputMaybe<StringFieldComparison>;
|
|
@@ -978,6 +985,22 @@ export declare type PlanFilter = {
|
|
|
978
985
|
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
979
986
|
versionNumber?: InputMaybe<IntFieldComparison>;
|
|
980
987
|
};
|
|
988
|
+
export declare type PlanFilterAddonFilter = {
|
|
989
|
+
and?: InputMaybe<Array<PlanFilterAddonFilter>>;
|
|
990
|
+
billingId?: InputMaybe<StringFieldComparison>;
|
|
991
|
+
createdAt?: InputMaybe<DateFieldComparison>;
|
|
992
|
+
description?: InputMaybe<StringFieldComparison>;
|
|
993
|
+
displayName?: InputMaybe<StringFieldComparison>;
|
|
994
|
+
environmentId?: InputMaybe<StringFieldComparison>;
|
|
995
|
+
id?: InputMaybe<StringFieldComparison>;
|
|
996
|
+
isLatest?: InputMaybe<BooleanFieldComparison>;
|
|
997
|
+
or?: InputMaybe<Array<PlanFilterAddonFilter>>;
|
|
998
|
+
productId?: InputMaybe<StringFieldComparison>;
|
|
999
|
+
refId?: InputMaybe<StringFieldComparison>;
|
|
1000
|
+
status?: InputMaybe<PackageStatusFilterComparison>;
|
|
1001
|
+
updatedAt?: InputMaybe<DateFieldComparison>;
|
|
1002
|
+
versionNumber?: InputMaybe<IntFieldComparison>;
|
|
1003
|
+
};
|
|
981
1004
|
export declare type PlanFilterProductFilter = {
|
|
982
1005
|
and?: InputMaybe<Array<PlanFilterProductFilter>>;
|
|
983
1006
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
@@ -1638,6 +1661,7 @@ export declare enum UsageMeasurementSortFields {
|
|
|
1638
1661
|
Id = "id"
|
|
1639
1662
|
}
|
|
1640
1663
|
export declare enum VendorIdentifier {
|
|
1664
|
+
Hubspot = "HUBSPOT",
|
|
1641
1665
|
Stripe = "STRIPE",
|
|
1642
1666
|
Zuora = "ZUORA"
|
|
1643
1667
|
}
|
|
@@ -1935,9 +1959,6 @@ export declare type PlanFragment = {
|
|
|
1935
1959
|
inheritedEntitlements?: Array<{
|
|
1936
1960
|
__typename?: 'PackageEntitlement';
|
|
1937
1961
|
} & PackageEntitlementFragment> | null | undefined;
|
|
1938
|
-
compatibleAddons?: Array<{
|
|
1939
|
-
__typename?: 'Addon';
|
|
1940
|
-
} & AddonFragment> | null | undefined;
|
|
1941
1962
|
prices?: Array<{
|
|
1942
1963
|
__typename?: 'Price';
|
|
1943
1964
|
} & PriceFragment> | null | undefined;
|
|
@@ -1950,6 +1971,7 @@ export declare type PlanFragment = {
|
|
|
1950
1971
|
export declare type GetPlansQueryVariables = Exact<{
|
|
1951
1972
|
paging?: Maybe<CursorPaging>;
|
|
1952
1973
|
filter?: Maybe<PlanFilter>;
|
|
1974
|
+
addonFilter?: Maybe<AddonFilter>;
|
|
1953
1975
|
sorting?: Maybe<Array<PlanSort> | PlanSort>;
|
|
1954
1976
|
}>;
|
|
1955
1977
|
export declare type GetPlansQuery = {
|
|
@@ -1960,6 +1982,9 @@ export declare type GetPlansQuery = {
|
|
|
1960
1982
|
__typename?: 'PlanEdge';
|
|
1961
1983
|
node: {
|
|
1962
1984
|
__typename?: 'Plan';
|
|
1985
|
+
compatibleAddons?: Array<{
|
|
1986
|
+
__typename?: 'Addon';
|
|
1987
|
+
} & AddonFragment> | null | undefined;
|
|
1963
1988
|
} & PlanFragment;
|
|
1964
1989
|
}>;
|
|
1965
1990
|
};
|