@stigg/api-client-js 2.412.2 → 2.415.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.
@@ -32,12 +32,17 @@ var AccountAccessMethod;
32
32
  /** Account access role of the user */
33
33
  var AccountAccessRole;
34
34
  (function (AccountAccessRole) {
35
+ /** User can view and manage environments they have been granted access to */
35
36
  AccountAccessRole["Member"] = "MEMBER";
37
+ /** User has full ownership and control over the account */
36
38
  AccountAccessRole["Owner"] = "OWNER";
37
39
  })(AccountAccessRole = exports.AccountAccessRole || (exports.AccountAccessRole = {}));
40
+ /** Account status */
38
41
  var AccountStatus;
39
42
  (function (AccountStatus) {
43
+ /** The account is active and in use */
40
44
  AccountStatus["Active"] = "ACTIVE";
45
+ /** The account is blocked and cannot be used */
41
46
  AccountStatus["Blocked"] = "BLOCKED";
42
47
  })(AccountStatus = exports.AccountStatus || (exports.AccountStatus = {}));
43
48
  var AddonSortFields;
@@ -59,11 +64,17 @@ var AddonSortFields;
59
64
  /** Aggregation function */
60
65
  var AggregationFunction;
61
66
  (function (AggregationFunction) {
67
+ /** Average value */
62
68
  AggregationFunction["Avg"] = "AVG";
69
+ /** Count of the values */
63
70
  AggregationFunction["Count"] = "COUNT";
71
+ /** Maximum value */
64
72
  AggregationFunction["Max"] = "MAX";
73
+ /** Minimum value */
65
74
  AggregationFunction["Min"] = "MIN";
75
+ /** Sum of the values */
66
76
  AggregationFunction["Sum"] = "SUM";
77
+ /** Unique values */
67
78
  AggregationFunction["Unique"] = "UNIQUE";
68
79
  })(AggregationFunction = exports.AggregationFunction || (exports.AggregationFunction = {}));
69
80
  /** Alignment */
@@ -77,69 +88,102 @@ var ApiKeySortFields;
77
88
  (function (ApiKeySortFields) {
78
89
  ApiKeySortFields["Id"] = "id";
79
90
  })(ApiKeySortFields = exports.ApiKeySortFields || (exports.ApiKeySortFields = {}));
91
+ /** The type of API key */
80
92
  var ApiKeyType;
81
93
  (function (ApiKeyType) {
94
+ /** Client-side API key */
82
95
  ApiKeyType["Client"] = "CLIENT";
96
+ /** Salesforce API key */
83
97
  ApiKeyType["Salesforce"] = "SALESFORCE";
98
+ /** Server-side API key */
84
99
  ApiKeyType["Server"] = "SERVER";
100
+ /** Workflow API key */
85
101
  ApiKeyType["Workflow"] = "WORKFLOW";
86
102
  })(ApiKeyType = exports.ApiKeyType || (exports.ApiKeyType = {}));
87
- /** Auth0 application type. */
103
+ /** Auth0 application type */
88
104
  var Auth0ApplicationType;
89
105
  (function (Auth0ApplicationType) {
106
+ /** Both individual and organization Auth0 application types */
90
107
  Auth0ApplicationType["Both"] = "BOTH";
108
+ /** Individual Auth0 application type */
91
109
  Auth0ApplicationType["Individual"] = "INDIVIDUAL";
110
+ /** Organization Auth0 application type */
92
111
  Auth0ApplicationType["Organization"] = "ORGANIZATION";
93
112
  })(Auth0ApplicationType = exports.Auth0ApplicationType || (exports.Auth0ApplicationType = {}));
113
+ /** Billing anchor for subscription billing */
94
114
  var BillingAnchor;
95
115
  (function (BillingAnchor) {
116
+ /** Billing will be anchored to the start of the month */
96
117
  BillingAnchor["StartOfTheMonth"] = "START_OF_THE_MONTH";
118
+ /** Subscriptions will consolidate billing to the start of the month */
97
119
  BillingAnchor["SubscriptionsConsolidateBilling"] = "SUBSCRIPTIONS_CONSOLIDATE_BILLING";
120
+ /** Billing will be anchored to the start of the subscription */
98
121
  BillingAnchor["SubscriptionStart"] = "SUBSCRIPTION_START";
99
122
  })(BillingAnchor = exports.BillingAnchor || (exports.BillingAnchor = {}));
100
- /** Billing Cadence. */
123
+ /** Billing Cadence */
101
124
  var BillingCadence;
102
125
  (function (BillingCadence) {
126
+ /** One off */
103
127
  BillingCadence["OneOff"] = "ONE_OFF";
128
+ /** Recurring */
104
129
  BillingCadence["Recurring"] = "RECURRING";
105
130
  })(BillingCadence = exports.BillingCadence || (exports.BillingCadence = {}));
106
- /** Billing model. */
131
+ /** Billing model */
107
132
  var BillingModel;
108
133
  (function (BillingModel) {
134
+ /** Flat fee */
109
135
  BillingModel["FlatFee"] = "FLAT_FEE";
136
+ /** Minimum spend */
110
137
  BillingModel["MinimumSpend"] = "MINIMUM_SPEND";
138
+ /** Per unit */
111
139
  BillingModel["PerUnit"] = "PER_UNIT";
140
+ /** Usage based */
112
141
  BillingModel["UsageBased"] = "USAGE_BASED";
113
142
  })(BillingModel = exports.BillingModel || (exports.BillingModel = {}));
114
- /** Billing period. */
143
+ /** Billing period */
115
144
  var BillingPeriod;
116
145
  (function (BillingPeriod) {
146
+ /** Annually */
117
147
  BillingPeriod["Annually"] = "ANNUALLY";
148
+ /** Monthly */
118
149
  BillingPeriod["Monthly"] = "MONTHLY";
119
150
  })(BillingPeriod = exports.BillingPeriod || (exports.BillingPeriod = {}));
120
151
  /** Billing vendor identifiers */
121
152
  var BillingVendorIdentifier;
122
153
  (function (BillingVendorIdentifier) {
123
- /** Stripe billing vendor */
154
+ /** Stripe */
124
155
  BillingVendorIdentifier["Stripe"] = "STRIPE";
125
156
  })(BillingVendorIdentifier = exports.BillingVendorIdentifier || (exports.BillingVendorIdentifier = {}));
157
+ /** Change type enum */
126
158
  var ChangeType;
127
159
  (function (ChangeType) {
160
+ /** Added */
128
161
  ChangeType["Added"] = "ADDED";
162
+ /** Deleted */
129
163
  ChangeType["Deleted"] = "DELETED";
164
+ /** Modified */
130
165
  ChangeType["Modified"] = "MODIFIED";
166
+ /** Reordered */
131
167
  ChangeType["Reordered"] = "REORDERED";
132
168
  })(ChangeType = exports.ChangeType || (exports.ChangeType = {}));
133
169
  /** Condition operation */
134
170
  var ConditionOperation;
135
171
  (function (ConditionOperation) {
172
+ /** Equals operation */
136
173
  ConditionOperation["Equals"] = "EQUALS";
174
+ /** Greater than operation */
137
175
  ConditionOperation["GreaterThan"] = "GREATER_THAN";
176
+ /** Greater than or equal operation */
138
177
  ConditionOperation["GreaterThanOrEqual"] = "GREATER_THAN_OR_EQUAL";
178
+ /** Is not null operation */
139
179
  ConditionOperation["IsNotNull"] = "IS_NOT_NULL";
180
+ /** Is null operation */
140
181
  ConditionOperation["IsNull"] = "IS_NULL";
182
+ /** Less than operation */
141
183
  ConditionOperation["LessThan"] = "LESS_THAN";
184
+ /** Less than or equal operation */
142
185
  ConditionOperation["LessThanOrEqual"] = "LESS_THAN_OR_EQUAL";
186
+ /** Not equals operation */
143
187
  ConditionOperation["NotEquals"] = "NOT_EQUALS";
144
188
  })(ConditionOperation = exports.ConditionOperation || (exports.ConditionOperation = {}));
145
189
  var CouponSortFields;
@@ -159,20 +203,27 @@ var CouponSortFields;
159
203
  /** The source of the coupon */
160
204
  var CouponSource;
161
205
  (function (CouponSource) {
206
+ /** Stigg */
162
207
  CouponSource["Stigg"] = "STIGG";
208
+ /** Stigg adhoc */
163
209
  CouponSource["StiggAdhoc"] = "STIGG_ADHOC";
210
+ /** Stripe */
164
211
  CouponSource["Stripe"] = "STRIPE";
165
212
  })(CouponSource = exports.CouponSource || (exports.CouponSource = {}));
166
213
  /** The status of the coupon */
167
214
  var CouponStatus;
168
215
  (function (CouponStatus) {
216
+ /** Active */
169
217
  CouponStatus["Active"] = "ACTIVE";
218
+ /** Archived */
170
219
  CouponStatus["Archived"] = "ARCHIVED";
171
220
  })(CouponStatus = exports.CouponStatus || (exports.CouponStatus = {}));
172
221
  /** The type of the coupon */
173
222
  var CouponType;
174
223
  (function (CouponType) {
224
+ /** Fixed */
175
225
  CouponType["Fixed"] = "FIXED";
226
+ /** Percentage */
176
227
  CouponType["Percentage"] = "PERCENTAGE";
177
228
  })(CouponType = exports.CouponType || (exports.CouponType = {}));
178
229
  /** Currency */
@@ -344,14 +395,22 @@ var CustomerSubscriptionSortFields;
344
395
  CustomerSubscriptionSortFields["SubscriptionId"] = "subscriptionId";
345
396
  CustomerSubscriptionSortFields["TrialEndDate"] = "trialEndDate";
346
397
  })(CustomerSubscriptionSortFields = exports.CustomerSubscriptionSortFields || (exports.CustomerSubscriptionSortFields = {}));
398
+ /** The department the user belongs to */
347
399
  var Department;
348
400
  (function (Department) {
401
+ /** CEO or Founder */
349
402
  Department["CeoOrFounder"] = "CEO_OR_FOUNDER";
403
+ /** Engineering */
350
404
  Department["Engineering"] = "ENGINEERING";
405
+ /** Growth */
351
406
  Department["Growth"] = "GROWTH";
407
+ /** Marketing */
352
408
  Department["Marketing"] = "MARKETING";
409
+ /** Monetization */
353
410
  Department["Monetization"] = "MONETIZATION";
411
+ /** Other */
354
412
  Department["Other"] = "OTHER";
413
+ /** Product */
355
414
  Department["Product"] = "PRODUCT";
356
415
  })(Department = exports.Department || (exports.Department = {}));
357
416
  /** The type of the discount duration */
@@ -375,34 +434,50 @@ var EntitlementBehavior;
375
434
  /** Override the value of the entitlement */
376
435
  EntitlementBehavior["Override"] = "Override";
377
436
  })(EntitlementBehavior = exports.EntitlementBehavior || (exports.EntitlementBehavior = {}));
378
- /** Entitlement reset period. */
437
+ /** Entitlement reset period */
379
438
  var EntitlementResetPeriod;
380
439
  (function (EntitlementResetPeriod) {
440
+ /** Day */
381
441
  EntitlementResetPeriod["Day"] = "DAY";
442
+ /** Hour */
382
443
  EntitlementResetPeriod["Hour"] = "HOUR";
444
+ /** Month */
383
445
  EntitlementResetPeriod["Month"] = "MONTH";
446
+ /** Week */
384
447
  EntitlementResetPeriod["Week"] = "WEEK";
448
+ /** Year */
385
449
  EntitlementResetPeriod["Year"] = "YEAR";
386
450
  })(EntitlementResetPeriod = exports.EntitlementResetPeriod || (exports.EntitlementResetPeriod = {}));
451
+ /** Mode for selecting which entities to import */
387
452
  var EntitySelectionMode;
388
453
  (function (EntitySelectionMode) {
454
+ /** Exclude specified entities from import */
389
455
  EntitySelectionMode["BlackList"] = "BLACK_LIST";
456
+ /** Only import specified entities */
390
457
  EntitySelectionMode["WhiteList"] = "WHITE_LIST";
391
458
  })(EntitySelectionMode = exports.EntitySelectionMode || (exports.EntitySelectionMode = {}));
392
459
  /** Environment access role of the user */
393
460
  var EnvironmentAccessRole;
394
461
  (function (EnvironmentAccessRole) {
462
+ /** User has administrative access to the environment */
395
463
  EnvironmentAccessRole["Admin"] = "ADMIN";
464
+ /** User has no access to the environment */
396
465
  EnvironmentAccessRole["None"] = "NONE";
466
+ /** User has support-level access to the environment to manage customers and subscriptions */
397
467
  EnvironmentAccessRole["Support"] = "SUPPORT";
468
+ /** User has read-only access to the environment */
398
469
  EnvironmentAccessRole["Viewer"] = "VIEWER";
399
470
  })(EnvironmentAccessRole = exports.EnvironmentAccessRole || (exports.EnvironmentAccessRole = {}));
400
- /** EnvironmentProvisionStatus. */
471
+ /** Represents the provisioning status of an environment */
401
472
  var EnvironmentProvisionStatus;
402
473
  (function (EnvironmentProvisionStatus) {
474
+ /** The environment has been successfully provisioned */
403
475
  EnvironmentProvisionStatus["Done"] = "DONE";
476
+ /** The environment provisioning process has failed */
404
477
  EnvironmentProvisionStatus["Failed"] = "FAILED";
478
+ /** The environment provisioning process is currently in progress */
405
479
  EnvironmentProvisionStatus["InProgress"] = "IN_PROGRESS";
480
+ /** The environment has not yet started the provisioning process */
406
481
  EnvironmentProvisionStatus["NotProvisioned"] = "NOT_PROVISIONED";
407
482
  })(EnvironmentProvisionStatus = exports.EnvironmentProvisionStatus || (exports.EnvironmentProvisionStatus = {}));
408
483
  var EnvironmentSortFields;
@@ -413,11 +488,14 @@ var EnvironmentSortFields;
413
488
  EnvironmentSortFields["PermanentDeletionDate"] = "permanentDeletionDate";
414
489
  EnvironmentSortFields["Slug"] = "slug";
415
490
  })(EnvironmentSortFields = exports.EnvironmentSortFields || (exports.EnvironmentSortFields = {}));
416
- /** EnvironmentType. */
491
+ /** EnvironmentType */
417
492
  var EnvironmentType;
418
493
  (function (EnvironmentType) {
494
+ /** Development environment, used for testing and development purposes */
419
495
  EnvironmentType["Development"] = "DEVELOPMENT";
496
+ /** Production environment, used for live applications and services */
420
497
  EnvironmentType["Production"] = "PRODUCTION";
498
+ /** Sandbox environment, used for isolated testing and experimentation */
421
499
  EnvironmentType["Sandbox"] = "SANDBOX";
422
500
  })(EnvironmentType = exports.EnvironmentType || (exports.EnvironmentType = {}));
423
501
  /** error codes */
@@ -668,71 +746,134 @@ var EventLogSortFields;
668
746
  EventLogSortFields["Id"] = "id";
669
747
  EventLogSortFields["ParentEntityId"] = "parentEntityId";
670
748
  })(EventLogSortFields = exports.EventLogSortFields || (exports.EventLogSortFields = {}));
671
- /** EventLogType */
749
+ /** Event log type */
672
750
  var EventLogType;
673
751
  (function (EventLogType) {
752
+ /** Addon created */
674
753
  EventLogType["AddonCreated"] = "ADDON_CREATED";
754
+ /** Addon deleted */
675
755
  EventLogType["AddonDeleted"] = "ADDON_DELETED";
756
+ /** Addon updated */
676
757
  EventLogType["AddonUpdated"] = "ADDON_UPDATED";
758
+ /** Coupon archived */
677
759
  EventLogType["CouponArchived"] = "COUPON_ARCHIVED";
760
+ /** Coupon created */
678
761
  EventLogType["CouponCreated"] = "COUPON_CREATED";
762
+ /** Coupon updated */
679
763
  EventLogType["CouponUpdated"] = "COUPON_UPDATED";
764
+ /** Create subscription failed */
680
765
  EventLogType["CreateSubscriptionFailed"] = "CREATE_SUBSCRIPTION_FAILED";
766
+ /** Customer created */
681
767
  EventLogType["CustomerCreated"] = "CUSTOMER_CREATED";
768
+ /** Customer deleted */
682
769
  EventLogType["CustomerDeleted"] = "CUSTOMER_DELETED";
770
+ /** Customer entitlement calculation triggered */
683
771
  EventLogType["CustomerEntitlementCalculationTriggered"] = "CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED";
772
+ /** Customer payment failed */
684
773
  EventLogType["CustomerPaymentFailed"] = "CUSTOMER_PAYMENT_FAILED";
774
+ /** Customer resource entitlement calculation triggered */
685
775
  EventLogType["CustomerResourceEntitlementCalculationTriggered"] = "CUSTOMER_RESOURCE_ENTITLEMENT_CALCULATION_TRIGGERED";
776
+ /** Customer updated */
686
777
  EventLogType["CustomerUpdated"] = "CUSTOMER_UPDATED";
778
+ /** Edge API customer data resync */
687
779
  EventLogType["EdgeApiCustomerDataResync"] = "EDGE_API_CUSTOMER_DATA_RESYNC";
780
+ /** Edge API data resync */
688
781
  EventLogType["EdgeApiDataResync"] = "EDGE_API_DATA_RESYNC";
782
+ /** Edge API Doggo resync */
689
783
  EventLogType["EdgeApiDoggoResync"] = "EDGE_API_DOGGO_RESYNC";
784
+ /** Edge API package entitlements data resync */
690
785
  EventLogType["EdgeApiPackageEntitlementsDataResync"] = "EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC";
786
+ /** Edge API subscriptions data resync */
691
787
  EventLogType["EdgeApiSubscriptionsDataResync"] = "EDGE_API_SUBSCRIPTIONS_DATA_RESYNC";
788
+ /** Entitlements updated */
692
789
  EventLogType["EntitlementsUpdated"] = "ENTITLEMENTS_UPDATED";
790
+ /** Entitlement denied */
693
791
  EventLogType["EntitlementDenied"] = "ENTITLEMENT_DENIED";
792
+ /** Entitlement granted */
694
793
  EventLogType["EntitlementGranted"] = "ENTITLEMENT_GRANTED";
794
+ /** Entitlement requested */
695
795
  EventLogType["EntitlementRequested"] = "ENTITLEMENT_REQUESTED";
796
+ /** Entitlement usage exceeded */
696
797
  EventLogType["EntitlementUsageExceeded"] = "ENTITLEMENT_USAGE_EXCEEDED";
798
+ /** Environment deleted */
697
799
  EventLogType["EnvironmentDeleted"] = "ENVIRONMENT_DELETED";
800
+ /** Feature archived */
698
801
  EventLogType["FeatureArchived"] = "FEATURE_ARCHIVED";
802
+ /** Feature created */
699
803
  EventLogType["FeatureCreated"] = "FEATURE_CREATED";
804
+ /** Feature deleted */
700
805
  EventLogType["FeatureDeleted"] = "FEATURE_DELETED";
806
+ /** Feature updated */
701
807
  EventLogType["FeatureUpdated"] = "FEATURE_UPDATED";
808
+ /** Import integration catalog triggered */
702
809
  EventLogType["ImportIntegrationCatalogTriggered"] = "IMPORT_INTEGRATION_CATALOG_TRIGGERED";
810
+ /** Import integration customers triggered */
703
811
  EventLogType["ImportIntegrationCustomersTriggered"] = "IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED";
812
+ /** Import subscriptions bulk triggered */
704
813
  EventLogType["ImportSubscriptionsBulkTriggered"] = "IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED";
814
+ /** Measurement reported */
705
815
  EventLogType["MeasurementReported"] = "MEASUREMENT_REPORTED";
816
+ /** Package group created */
706
817
  EventLogType["PackageGroupCreated"] = "PACKAGE_GROUP_CREATED";
818
+ /** Package group updated */
707
819
  EventLogType["PackageGroupUpdated"] = "PACKAGE_GROUP_UPDATED";
820
+ /** Package published */
708
821
  EventLogType["PackagePublished"] = "PACKAGE_PUBLISHED";
822
+ /** Plan created */
709
823
  EventLogType["PlanCreated"] = "PLAN_CREATED";
824
+ /** Plan deleted */
710
825
  EventLogType["PlanDeleted"] = "PLAN_DELETED";
826
+ /** Plan updated */
711
827
  EventLogType["PlanUpdated"] = "PLAN_UPDATED";
828
+ /** Product created */
712
829
  EventLogType["ProductCreated"] = "PRODUCT_CREATED";
830
+ /** Product deleted */
713
831
  EventLogType["ProductDeleted"] = "PRODUCT_DELETED";
832
+ /** Product updated */
714
833
  EventLogType["ProductUpdated"] = "PRODUCT_UPDATED";
834
+ /** Promotional entitlement expired */
715
835
  EventLogType["PromotionalEntitlementExpired"] = "PROMOTIONAL_ENTITLEMENT_EXPIRED";
836
+ /** Promotional entitlement granted */
716
837
  EventLogType["PromotionalEntitlementGranted"] = "PROMOTIONAL_ENTITLEMENT_GRANTED";
838
+ /** Promotional entitlement revoked */
717
839
  EventLogType["PromotionalEntitlementRevoked"] = "PROMOTIONAL_ENTITLEMENT_REVOKED";
840
+ /** Promotional entitlement updated */
718
841
  EventLogType["PromotionalEntitlementUpdated"] = "PROMOTIONAL_ENTITLEMENT_UPDATED";
842
+ /** Recalculate entitlements triggered */
719
843
  EventLogType["RecalculateEntitlementsTriggered"] = "RECALCULATE_ENTITLEMENTS_TRIGGERED";
844
+ /** Resync integration triggered */
720
845
  EventLogType["ResyncIntegrationTriggered"] = "RESYNC_INTEGRATION_TRIGGERED";
846
+ /** Subscriptions migrated */
721
847
  EventLogType["SubscriptionsMigrated"] = "SUBSCRIPTIONS_MIGRATED";
848
+ /** Subscriptions migration triggered */
722
849
  EventLogType["SubscriptionsMigrationTriggered"] = "SUBSCRIPTIONS_MIGRATION_TRIGGERED";
850
+ /** Subscription billing month ends soon */
723
851
  EventLogType["SubscriptionBillingMonthEndsSoon"] = "SUBSCRIPTION_BILLING_MONTH_ENDS_SOON";
852
+ /** Subscription canceled */
724
853
  EventLogType["SubscriptionCanceled"] = "SUBSCRIPTION_CANCELED";
854
+ /** Subscription created */
725
855
  EventLogType["SubscriptionCreated"] = "SUBSCRIPTION_CREATED";
856
+ /** Subscription expired */
726
857
  EventLogType["SubscriptionExpired"] = "SUBSCRIPTION_EXPIRED";
858
+ /** Subscription spent limit exceeded */
727
859
  EventLogType["SubscriptionSpentLimitExceeded"] = "SUBSCRIPTION_SPENT_LIMIT_EXCEEDED";
860
+ /** Subscription trial converted */
728
861
  EventLogType["SubscriptionTrialConverted"] = "SUBSCRIPTION_TRIAL_CONVERTED";
862
+ /** Subscription trial ends soon */
729
863
  EventLogType["SubscriptionTrialEndsSoon"] = "SUBSCRIPTION_TRIAL_ENDS_SOON";
864
+ /** Subscription trial expired */
730
865
  EventLogType["SubscriptionTrialExpired"] = "SUBSCRIPTION_TRIAL_EXPIRED";
866
+ /** Subscription trial started */
731
867
  EventLogType["SubscriptionTrialStarted"] = "SUBSCRIPTION_TRIAL_STARTED";
868
+ /** Subscription updated */
732
869
  EventLogType["SubscriptionUpdated"] = "SUBSCRIPTION_UPDATED";
870
+ /** Subscription usage charge triggered */
733
871
  EventLogType["SubscriptionUsageChargeTriggered"] = "SUBSCRIPTION_USAGE_CHARGE_TRIGGERED";
872
+ /** Subscription usage updated */
734
873
  EventLogType["SubscriptionUsageUpdated"] = "SUBSCRIPTION_USAGE_UPDATED";
874
+ /** Sync failed */
735
875
  EventLogType["SyncFailed"] = "SYNC_FAILED";
876
+ /** Widget configuration updated */
736
877
  EventLogType["WidgetConfigurationUpdated"] = "WIDGET_CONFIGURATION_UPDATED";
737
878
  })(EventLogType = exports.EventLogType || (exports.EventLogType = {}));
738
879
  var ExperimentSortFields;
@@ -745,11 +886,14 @@ var ExperimentSortFields;
745
886
  ExperimentSortFields["RefId"] = "refId";
746
887
  ExperimentSortFields["Status"] = "status";
747
888
  })(ExperimentSortFields = exports.ExperimentSortFields || (exports.ExperimentSortFields = {}));
748
- /** The status of the EXPERIMENT */
889
+ /** The status of the experiment */
749
890
  var ExperimentStatus;
750
891
  (function (ExperimentStatus) {
892
+ /** Experiment has been completed */
751
893
  ExperimentStatus["Completed"] = "COMPLETED";
894
+ /** Experiment is in draft state */
752
895
  ExperimentStatus["Draft"] = "DRAFT";
896
+ /** Experiment is currently running */
753
897
  ExperimentStatus["InProgress"] = "IN_PROGRESS";
754
898
  })(ExperimentStatus = exports.ExperimentStatus || (exports.ExperimentStatus = {}));
755
899
  var FeatureSortFields;
@@ -765,17 +909,22 @@ var FeatureSortFields;
765
909
  FeatureSortFields["RefId"] = "refId";
766
910
  FeatureSortFields["UpdatedAt"] = "updatedAt";
767
911
  })(FeatureSortFields = exports.FeatureSortFields || (exports.FeatureSortFields = {}));
768
- /** Feature status. */
912
+ /** Feature status */
769
913
  var FeatureStatus;
770
914
  (function (FeatureStatus) {
915
+ /** Active feature */
771
916
  FeatureStatus["Active"] = "ACTIVE";
917
+ /** New feature */
772
918
  FeatureStatus["New"] = "NEW";
919
+ /** Suspended feature */
773
920
  FeatureStatus["Suspended"] = "SUSPENDED";
774
921
  })(FeatureStatus = exports.FeatureStatus || (exports.FeatureStatus = {}));
775
922
  /** The type of the feature */
776
923
  var FeatureType;
777
924
  (function (FeatureType) {
925
+ /** Boolean feature type */
778
926
  FeatureType["Boolean"] = "BOOLEAN";
927
+ /** Numeric feature type */
779
928
  FeatureType["Number"] = "NUMBER";
780
929
  })(FeatureType = exports.FeatureType || (exports.FeatureType = {}));
781
930
  /** Font weight */
@@ -792,10 +941,12 @@ var HookSortFields;
792
941
  HookSortFields["Id"] = "id";
793
942
  HookSortFields["Status"] = "status";
794
943
  })(HookSortFields = exports.HookSortFields || (exports.HookSortFields = {}));
795
- /** HookStatus. */
944
+ /** Hook status */
796
945
  var HookStatus;
797
946
  (function (HookStatus) {
947
+ /** Active */
798
948
  HookStatus["Active"] = "ACTIVE";
949
+ /** Inactive */
799
950
  HookStatus["Inactive"] = "INACTIVE";
800
951
  })(HookStatus = exports.HookStatus || (exports.HookStatus = {}));
801
952
  var ImportIntegrationTaskSortFields;
@@ -834,23 +985,30 @@ var MemberSortFields;
834
985
  MemberSortFields["Email"] = "email";
835
986
  MemberSortFields["Id"] = "id";
836
987
  })(MemberSortFields = exports.MemberSortFields || (exports.MemberSortFields = {}));
837
- /** Member Status. */
988
+ /** Member Status */
838
989
  var MemberStatus;
839
990
  (function (MemberStatus) {
991
+ /** User has been invited to the environment */
840
992
  MemberStatus["Invited"] = "INVITED";
993
+ /** User is a member of this environment */
841
994
  MemberStatus["Registered"] = "REGISTERED";
842
995
  })(MemberStatus = exports.MemberStatus || (exports.MemberStatus = {}));
843
996
  /** The meter type of the feature */
844
997
  var MeterType;
845
998
  (function (MeterType) {
999
+ /** Fluctuating */
846
1000
  MeterType["Fluctuating"] = "Fluctuating";
1001
+ /** Incremental */
847
1002
  MeterType["Incremental"] = "Incremental";
1003
+ /** None */
848
1004
  MeterType["None"] = "None";
849
1005
  })(MeterType = exports.MeterType || (exports.MeterType = {}));
850
1006
  /** Monthly reset period according to configuration */
851
1007
  var MonthlyAccordingTo;
852
1008
  (function (MonthlyAccordingTo) {
1009
+ /** Start of the month */
853
1010
  MonthlyAccordingTo["StartOfTheMonth"] = "StartOfTheMonth";
1011
+ /** Subscription start */
854
1012
  MonthlyAccordingTo["SubscriptionStart"] = "SubscriptionStart";
855
1013
  })(MonthlyAccordingTo = exports.MonthlyAccordingTo || (exports.MonthlyAccordingTo = {}));
856
1014
  /** Configures when the overage charge is billed. */
@@ -895,14 +1053,14 @@ var PackageGroupSortFields;
895
1053
  PackageGroupSortFields["UpdatedAt"] = "updatedAt";
896
1054
  PackageGroupSortFields["VersionNumber"] = "versionNumber";
897
1055
  })(PackageGroupSortFields = exports.PackageGroupSortFields || (exports.PackageGroupSortFields = {}));
898
- /** Package group status. */
1056
+ /** Package group status */
899
1057
  var PackageGroupStatus;
900
1058
  (function (PackageGroupStatus) {
901
- /** The package group is archived. */
1059
+ /** The package group is archived */
902
1060
  PackageGroupStatus["Archived"] = "ARCHIVED";
903
- /** The package group is a draft. */
1061
+ /** The package group is a draft */
904
1062
  PackageGroupStatus["Draft"] = "DRAFT";
905
- /** The package group is published. */
1063
+ /** The package group is published */
906
1064
  PackageGroupStatus["Published"] = "PUBLISHED";
907
1065
  })(PackageGroupStatus = exports.PackageGroupStatus || (exports.PackageGroupStatus = {}));
908
1066
  /** Package status. */
@@ -933,8 +1091,11 @@ var PaymentCollectionMethod;
933
1091
  /** Type of a payment method */
934
1092
  var PaymentMethodType;
935
1093
  (function (PaymentMethodType) {
1094
+ /** Bank Transfer */
936
1095
  PaymentMethodType["Bank"] = "BANK";
1096
+ /** Credit Card */
937
1097
  PaymentMethodType["Card"] = "CARD";
1098
+ /** Cash App */
938
1099
  PaymentMethodType["CashApp"] = "CASH_APP";
939
1100
  })(PaymentMethodType = exports.PaymentMethodType || (exports.PaymentMethodType = {}));
940
1101
  /** Type of the change between two plans of the same subscription */
@@ -998,10 +1159,15 @@ var ProductSortFields;
998
1159
  var PromotionalEntitlementPeriod;
999
1160
  (function (PromotionalEntitlementPeriod) {
1000
1161
  PromotionalEntitlementPeriod["Custom"] = "CUSTOM";
1162
+ /** Lifetime */
1001
1163
  PromotionalEntitlementPeriod["Lifetime"] = "LIFETIME";
1164
+ /** One month */
1002
1165
  PromotionalEntitlementPeriod["OneMonth"] = "ONE_MONTH";
1166
+ /** One week */
1003
1167
  PromotionalEntitlementPeriod["OneWeek"] = "ONE_WEEK";
1168
+ /** One year */
1004
1169
  PromotionalEntitlementPeriod["OneYear"] = "ONE_YEAR";
1170
+ /** Six months */
1005
1171
  PromotionalEntitlementPeriod["SixMonth"] = "SIX_MONTH";
1006
1172
  })(PromotionalEntitlementPeriod = exports.PromotionalEntitlementPeriod || (exports.PromotionalEntitlementPeriod = {}));
1007
1173
  var PromotionalEntitlementSortFields;
@@ -1015,13 +1181,19 @@ var PromotionalEntitlementSortFields;
1015
1181
  /** Promotional entitlement status */
1016
1182
  var PromotionalEntitlementStatus;
1017
1183
  (function (PromotionalEntitlementStatus) {
1184
+ /** Active */
1018
1185
  PromotionalEntitlementStatus["Active"] = "Active";
1186
+ /** Expired */
1019
1187
  PromotionalEntitlementStatus["Expired"] = "Expired";
1188
+ /** Paused */
1020
1189
  PromotionalEntitlementStatus["Paused"] = "Paused";
1021
1190
  })(PromotionalEntitlementStatus = exports.PromotionalEntitlementStatus || (exports.PromotionalEntitlementStatus = {}));
1191
+ /** Proration behavior for subscription billing */
1022
1192
  var ProrationBehavior;
1023
1193
  (function (ProrationBehavior) {
1194
+ /** Create proration invoice items for changes in the subscription */
1024
1195
  ProrationBehavior["CreateProrations"] = "CREATE_PRORATIONS";
1196
+ /** Invoice immediately for changes in the subscription without proration */
1025
1197
  ProrationBehavior["InvoiceImmediately"] = "INVOICE_IMMEDIATELY";
1026
1198
  })(ProrationBehavior = exports.ProrationBehavior || (exports.ProrationBehavior = {}));
1027
1199
  /** Provision subscription status */
@@ -1030,10 +1202,12 @@ var ProvisionSubscriptionStatus;
1030
1202
  ProvisionSubscriptionStatus["PaymentRequired"] = "PAYMENT_REQUIRED";
1031
1203
  ProvisionSubscriptionStatus["Success"] = "SUCCESS";
1032
1204
  })(ProvisionSubscriptionStatus = exports.ProvisionSubscriptionStatus || (exports.ProvisionSubscriptionStatus = {}));
1033
- /** PublishMigrationType */
1205
+ /** The migration type, either publish the new version to new customers or all customers */
1034
1206
  var PublishMigrationType;
1035
1207
  (function (PublishMigrationType) {
1208
+ /** Publish to all customers */
1036
1209
  PublishMigrationType["AllCustomers"] = "ALL_CUSTOMERS";
1210
+ /** Publish only to new customers */
1037
1211
  PublishMigrationType["NewCustomers"] = "NEW_CUSTOMERS";
1038
1212
  })(PublishMigrationType = exports.PublishMigrationType || (exports.PublishMigrationType = {}));
1039
1213
  /** Options for when a change for a paid subscription should take effect */
@@ -1086,15 +1260,22 @@ var SubscriptionCancelReason;
1086
1260
  SubscriptionCancelReason["TrialEnded"] = "TrialEnded";
1087
1261
  SubscriptionCancelReason["UpgradeOrDowngrade"] = "UpgradeOrDowngrade";
1088
1262
  })(SubscriptionCancelReason = exports.SubscriptionCancelReason || (exports.SubscriptionCancelReason = {}));
1263
+ /** Action to take when a subscription is cancelled */
1089
1264
  var SubscriptionCancellationAction;
1090
1265
  (function (SubscriptionCancellationAction) {
1266
+ /** Default action */
1091
1267
  SubscriptionCancellationAction["Default"] = "DEFAULT";
1268
+ /** Revoke entitlements action */
1092
1269
  SubscriptionCancellationAction["RevokeEntitlements"] = "REVOKE_ENTITLEMENTS";
1093
1270
  })(SubscriptionCancellationAction = exports.SubscriptionCancellationAction || (exports.SubscriptionCancellationAction = {}));
1271
+ /** When the subscription will be cancelled */
1094
1272
  var SubscriptionCancellationTime;
1095
1273
  (function (SubscriptionCancellationTime) {
1274
+ /** At the end of the billing period */
1096
1275
  SubscriptionCancellationTime["EndOfBillingPeriod"] = "END_OF_BILLING_PERIOD";
1276
+ /** Immediately */
1097
1277
  SubscriptionCancellationTime["Immediate"] = "IMMEDIATE";
1278
+ /** On a specific date */
1098
1279
  SubscriptionCancellationTime["SpecificDate"] = "SPECIFIC_DATE";
1099
1280
  })(SubscriptionCancellationTime = exports.SubscriptionCancellationTime || (exports.SubscriptionCancellationTime = {}));
1100
1281
  /** The status of the subscription coupon */
@@ -1112,9 +1293,12 @@ var SubscriptionDecisionStrategy;
1112
1293
  SubscriptionDecisionStrategy["RequestedPlan"] = "REQUESTED_PLAN";
1113
1294
  SubscriptionDecisionStrategy["SkippedSubscriptionCreation"] = "SKIPPED_SUBSCRIPTION_CREATION";
1114
1295
  })(SubscriptionDecisionStrategy = exports.SubscriptionDecisionStrategy || (exports.SubscriptionDecisionStrategy = {}));
1296
+ /** Setup for the end of the subscription */
1115
1297
  var SubscriptionEndSetup;
1116
1298
  (function (SubscriptionEndSetup) {
1299
+ /** Cancel subscription */
1117
1300
  SubscriptionEndSetup["CancelSubscription"] = "CANCEL_SUBSCRIPTION";
1301
+ /** Downgrade to free plan */
1118
1302
  SubscriptionEndSetup["DowngradeToFree"] = "DOWNGRADE_TO_FREE";
1119
1303
  })(SubscriptionEndSetup = exports.SubscriptionEndSetup || (exports.SubscriptionEndSetup = {}));
1120
1304
  var SubscriptionEntitlementSortFields;
@@ -1205,10 +1389,14 @@ var SubscriptionScheduleType;
1205
1389
  /** Unit amount change */
1206
1390
  SubscriptionScheduleType["UnitAmount"] = "UnitAmount";
1207
1391
  })(SubscriptionScheduleType = exports.SubscriptionScheduleType || (exports.SubscriptionScheduleType = {}));
1392
+ /** Setup for the start of the subscription */
1208
1393
  var SubscriptionStartSetup;
1209
1394
  (function (SubscriptionStartSetup) {
1395
+ /** Start with a free plan */
1210
1396
  SubscriptionStartSetup["FreePlan"] = "FREE_PLAN";
1397
+ /** Select a plan */
1211
1398
  SubscriptionStartSetup["PlanSelection"] = "PLAN_SELECTION";
1399
+ /** Start with a trial period */
1212
1400
  SubscriptionStartSetup["TrialPeriod"] = "TRIAL_PERIOD";
1213
1401
  })(SubscriptionStartSetup = exports.SubscriptionStartSetup || (exports.SubscriptionStartSetup = {}));
1214
1402
  /** Subscription status */
@@ -1234,35 +1422,57 @@ var SubscriptionUpdateUsageCutoffBehavior;
1234
1422
  /** Status of the integration sync */
1235
1423
  var SyncStatus;
1236
1424
  (function (SyncStatus) {
1425
+ /** Error sync status */
1237
1426
  SyncStatus["Error"] = "ERROR";
1427
+ /** No sync required status */
1238
1428
  SyncStatus["NoSyncRequired"] = "NO_SYNC_REQUIRED";
1429
+ /** Pending sync status */
1239
1430
  SyncStatus["Pending"] = "PENDING";
1431
+ /** Successful sync status */
1240
1432
  SyncStatus["Success"] = "SUCCESS";
1241
1433
  })(SyncStatus = exports.SyncStatus || (exports.SyncStatus = {}));
1434
+ /** The status of the task */
1242
1435
  var TaskStatus;
1243
1436
  (function (TaskStatus) {
1437
+ /** The task is canceled */
1244
1438
  TaskStatus["Canceled"] = "CANCELED";
1439
+ /** The task is completed */
1245
1440
  TaskStatus["Completed"] = "COMPLETED";
1441
+ /** The task is failed */
1246
1442
  TaskStatus["Failed"] = "FAILED";
1443
+ /** The task is in progress */
1247
1444
  TaskStatus["InProgress"] = "IN_PROGRESS";
1445
+ /** The task is partially failed */
1248
1446
  TaskStatus["PartiallyFailed"] = "PARTIALLY_FAILED";
1447
+ /** The task is pending */
1249
1448
  TaskStatus["Pending"] = "PENDING";
1250
1449
  })(TaskStatus = exports.TaskStatus || (exports.TaskStatus = {}));
1450
+ /** The type of the task */
1251
1451
  var TaskType;
1252
1452
  (function (TaskType) {
1453
+ /** The task is an import of product catalog from integration */
1253
1454
  TaskType["ImportIntegrationCatalog"] = "IMPORT_INTEGRATION_CATALOG";
1455
+ /** The task is an import of customers from integration */
1254
1456
  TaskType["ImportIntegrationCustomers"] = "IMPORT_INTEGRATION_CUSTOMERS";
1457
+ /** The task is an import of subscriptions in bulk */
1255
1458
  TaskType["ImportSubscriptionsBulk"] = "IMPORT_SUBSCRIPTIONS_BULK";
1459
+ /** The task is a batch recalculation of entitlements */
1256
1460
  TaskType["RecalculateBatchEntitlements"] = "RECALCULATE_BATCH_ENTITLEMENTS";
1461
+ /** The task is a recalculation of entitlements */
1257
1462
  TaskType["RecalculateEntitlements"] = "RECALCULATE_ENTITLEMENTS";
1463
+ /** The task is a resync integration */
1258
1464
  TaskType["ResyncIntegration"] = "RESYNC_INTEGRATION";
1465
+ /** The task is a subscription migration v1 */
1259
1466
  TaskType["SubscriptionMigration"] = "SUBSCRIPTION_MIGRATION";
1467
+ /** The task is a subscription migration v2 */
1260
1468
  TaskType["SubscriptionMigrationV2"] = "SUBSCRIPTION_MIGRATION_V2";
1261
1469
  })(TaskType = exports.TaskType || (exports.TaskType = {}));
1262
- /** Tiers mode. */
1470
+ /** Tiers mode */
1263
1471
  var TiersMode;
1264
1472
  (function (TiersMode) {
1473
+ /** Tiered */
1265
1474
  TiersMode["Graduated"] = "GRADUATED";
1475
+ /** Volume */
1266
1476
  TiersMode["Volume"] = "VOLUME";
1267
1477
  })(TiersMode = exports.TiersMode || (exports.TiersMode = {}));
1268
1478
  /** Indicates the behavior of the subscription when the trial is expired. */
@@ -1301,21 +1511,34 @@ var UsageMeasurementSortFields;
1301
1511
  UsageMeasurementSortFields["EnvironmentId"] = "environmentId";
1302
1512
  UsageMeasurementSortFields["Id"] = "id";
1303
1513
  })(UsageMeasurementSortFields = exports.UsageMeasurementSortFields || (exports.UsageMeasurementSortFields = {}));
1514
+ /** Update behavior */
1304
1515
  var UsageUpdateBehavior;
1305
1516
  (function (UsageUpdateBehavior) {
1517
+ /** Delta update */
1306
1518
  UsageUpdateBehavior["Delta"] = "DELTA";
1519
+ /** Set update */
1307
1520
  UsageUpdateBehavior["Set"] = "SET";
1308
1521
  })(UsageUpdateBehavior = exports.UsageUpdateBehavior || (exports.UsageUpdateBehavior = {}));
1522
+ /** A vendor identifier object */
1309
1523
  var VendorIdentifier;
1310
1524
  (function (VendorIdentifier) {
1525
+ /** Auth0 integration vendor identifier */
1311
1526
  VendorIdentifier["Auth0"] = "AUTH0";
1527
+ /** AWS Marketplace integration vendor identifier */
1312
1528
  VendorIdentifier["AwsMarketplace"] = "AWS_MARKETPLACE";
1529
+ /** Google BigQuery integration vendor identifier */
1313
1530
  VendorIdentifier["BigQuery"] = "BIG_QUERY";
1531
+ /** HubSpot integration vendor identifier */
1314
1532
  VendorIdentifier["Hubspot"] = "HUBSPOT";
1533
+ /** OpenFGA integration vendor identifier */
1315
1534
  VendorIdentifier["OpenFga"] = "OPEN_FGA";
1535
+ /** Salesforce integration vendor identifier */
1316
1536
  VendorIdentifier["Salesforce"] = "SALESFORCE";
1537
+ /** Snowflake integration vendor identifier */
1317
1538
  VendorIdentifier["Snowflake"] = "SNOWFLAKE";
1539
+ /** Stripe integration vendor identifier */
1318
1540
  VendorIdentifier["Stripe"] = "STRIPE";
1541
+ /** Zuora integration vendor identifier */
1319
1542
  VendorIdentifier["Zuora"] = "ZUORA";
1320
1543
  })(VendorIdentifier = exports.VendorIdentifier || (exports.VendorIdentifier = {}));
1321
1544
  /** The type of integration */
@@ -1336,12 +1559,18 @@ var VendorType;
1336
1559
  var WeeklyAccordingTo;
1337
1560
  (function (WeeklyAccordingTo) {
1338
1561
  WeeklyAccordingTo["EveryFriday"] = "EveryFriday";
1562
+ /** Every Monday */
1339
1563
  WeeklyAccordingTo["EveryMonday"] = "EveryMonday";
1340
1564
  WeeklyAccordingTo["EverySaturday"] = "EverySaturday";
1565
+ /** Every Sunday */
1341
1566
  WeeklyAccordingTo["EverySunday"] = "EverySunday";
1567
+ /** Every Thursday */
1342
1568
  WeeklyAccordingTo["EveryThursday"] = "EveryThursday";
1569
+ /** Every Tuesday */
1343
1570
  WeeklyAccordingTo["EveryTuesday"] = "EveryTuesday";
1571
+ /** Every Wednesday */
1344
1572
  WeeklyAccordingTo["EveryWednesday"] = "EveryWednesday";
1573
+ /** Subscription start */
1345
1574
  WeeklyAccordingTo["SubscriptionStart"] = "SubscriptionStart";
1346
1575
  })(WeeklyAccordingTo = exports.WeeklyAccordingTo || (exports.WeeklyAccordingTo = {}));
1347
1576
  /** The widget type */
@@ -1354,12 +1583,15 @@ var WidgetType;
1354
1583
  /** Yearly reset period according to configuration */
1355
1584
  var YearlyAccordingTo;
1356
1585
  (function (YearlyAccordingTo) {
1586
+ /** Subscription start */
1357
1587
  YearlyAccordingTo["SubscriptionStart"] = "SubscriptionStart";
1358
1588
  })(YearlyAccordingTo = exports.YearlyAccordingTo || (exports.YearlyAccordingTo = {}));
1359
- /** The group of the experiment */
1589
+ /** The group type of the experiment */
1360
1590
  var ExperimentGroupType;
1361
1591
  (function (ExperimentGroupType) {
1592
+ /** Control group of the experiment */
1362
1593
  ExperimentGroupType["Control"] = "CONTROL";
1594
+ /** Variant group of the experiment */
1363
1595
  ExperimentGroupType["Variant"] = "VARIANT";
1364
1596
  })(ExperimentGroupType = exports.ExperimentGroupType || (exports.ExperimentGroupType = {}));
1365
1597
  exports.SlimSubscriptionFragmentV2FragmentDoc = (0, graphql_tag_1.default) `