@stigg/js-client-sdk 0.22.2 → 0.23.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,48 +32,12 @@ export declare enum AccessDeniedReason {
32
32
  RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit",
33
33
  Unknown = "Unknown"
34
34
  }
35
- export declare type AddAddonsToCustomerSubscriptionInput = {
36
- /** The id of the record. */
37
- id: Scalars['String'];
38
- /** The ids of the relations. */
39
- relationIds: Array<Scalars['String']>;
40
- };
41
- export declare type AddApiKeysToEnvironmentInput = {
42
- /** The id of the record. */
43
- id: Scalars['String'];
44
- /** The ids of the relations. */
45
- relationIds: Array<Scalars['String']>;
46
- };
47
35
  export declare type AddCompatibleAddonsToPlanInput = {
48
36
  /** The id of the record. */
49
37
  id: Scalars['String'];
50
38
  /** The ids of the relations. */
51
39
  relationIds: Array<Scalars['String']>;
52
40
  };
53
- export declare type AddPricesToAddonInput = {
54
- /** The id of the record. */
55
- id: Scalars['String'];
56
- /** The ids of the relations. */
57
- relationIds: Array<Scalars['String']>;
58
- };
59
- export declare type AddPricesToCustomerSubscriptionInput = {
60
- /** The id of the record. */
61
- id: Scalars['String'];
62
- /** The ids of the relations. */
63
- relationIds: Array<Scalars['String']>;
64
- };
65
- export declare type AddPricesToPlanInput = {
66
- /** The id of the record. */
67
- id: Scalars['String'];
68
- /** The ids of the relations. */
69
- relationIds: Array<Scalars['String']>;
70
- };
71
- export declare type AddSubscriptionsToCustomerInput = {
72
- /** The id of the record. */
73
- id: Scalars['String'];
74
- /** The ids of the relations. */
75
- relationIds: Array<Scalars['String']>;
76
- };
77
41
  export declare type AddonCreateInput = {
78
42
  billingId?: InputMaybe<Scalars['String']>;
79
43
  description?: InputMaybe<Scalars['String']>;
@@ -83,22 +47,6 @@ export declare type AddonCreateInput = {
83
47
  refId: Scalars['String'];
84
48
  status?: InputMaybe<PackageStatus>;
85
49
  };
86
- export declare type AddonDeleteFilter = {
87
- and?: InputMaybe<Array<AddonDeleteFilter>>;
88
- billingId?: InputMaybe<StringFieldComparison>;
89
- createdAt?: InputMaybe<DateFieldComparison>;
90
- description?: InputMaybe<StringFieldComparison>;
91
- displayName?: InputMaybe<StringFieldComparison>;
92
- environmentId?: InputMaybe<StringFieldComparison>;
93
- id?: InputMaybe<StringFieldComparison>;
94
- isLatest?: InputMaybe<BooleanFieldComparison>;
95
- or?: InputMaybe<Array<AddonDeleteFilter>>;
96
- productId?: InputMaybe<StringFieldComparison>;
97
- refId?: InputMaybe<StringFieldComparison>;
98
- status?: InputMaybe<PackageStatusFilterComparison>;
99
- updatedAt?: InputMaybe<DateFieldComparison>;
100
- versionNumber?: InputMaybe<IntFieldComparison>;
101
- };
102
50
  export declare type AddonFilter = {
103
51
  and?: InputMaybe<Array<AddonFilter>>;
104
52
  billingId?: InputMaybe<StringFieldComparison>;
@@ -250,30 +198,10 @@ export declare type CreateIntegrationInput = {
250
198
  vendorIdentifier: VendorIdentifier;
251
199
  zuoraCredentials?: InputMaybe<ZuoraCredentialsInput>;
252
200
  };
253
- export declare type CreateManyCustomersInput = {
254
- /** Array of records to create */
255
- customers: Array<CustomerInput>;
256
- };
257
- export declare type CreateManyEnvironmentsInput = {
258
- /** Array of records to create */
259
- environments: Array<CreateEnvironment>;
260
- };
261
- export declare type CreateManyHooksInput = {
262
- /** Array of records to create */
263
- hooks: Array<CreateHook>;
264
- };
265
- export declare type CreateManyIntegrationsInput = {
266
- /** Array of records to create */
267
- integrations: Array<CreateIntegrationInput>;
268
- };
269
201
  export declare type CreateManyPackageEntitlementsInput = {
270
202
  /** Array of records to create */
271
203
  packageEntitlements: Array<PackageEntitlementInput>;
272
204
  };
273
- export declare type CreateManyProductsInput = {
274
- /** Array of records to create */
275
- products: Array<ProductCreateInput>;
276
- };
277
205
  export declare type CreateManyPromotionalEntitlementsInput = {
278
206
  /** Array of records to create */
279
207
  promotionalEntitlements: Array<PromotionalEntitlementInput>;
@@ -298,18 +226,10 @@ export declare type CreateOneIntegrationInput = {
298
226
  /** The record to create */
299
227
  integration: CreateIntegrationInput;
300
228
  };
301
- export declare type CreateOnePackageEntitlementInput = {
302
- /** The record to create */
303
- packageEntitlement: PackageEntitlementInput;
304
- };
305
229
  export declare type CreateOneProductInput = {
306
230
  /** The record to create */
307
231
  product: ProductCreateInput;
308
232
  };
309
- export declare type CreateOnePromotionalEntitlementInput = {
310
- /** The record to create */
311
- promotionalEntitlement: PromotionalEntitlementInput;
312
- };
313
233
  /** Currency */
314
234
  export declare enum Currency {
315
235
  Usd = "USD"
@@ -324,19 +244,6 @@ export declare type CursorPaging = {
324
244
  /** Paginate last */
325
245
  last?: InputMaybe<Scalars['Int']>;
326
246
  };
327
- export declare type CustomerDeleteFilter = {
328
- and?: InputMaybe<Array<CustomerDeleteFilter>>;
329
- billingId?: InputMaybe<StringFieldComparison>;
330
- createdAt?: InputMaybe<DateFieldComparison>;
331
- crmId?: InputMaybe<StringFieldComparison>;
332
- email?: InputMaybe<StringFieldComparison>;
333
- environmentId?: InputMaybe<StringFieldComparison>;
334
- id?: InputMaybe<StringFieldComparison>;
335
- name?: InputMaybe<StringFieldComparison>;
336
- or?: InputMaybe<Array<CustomerDeleteFilter>>;
337
- refId?: InputMaybe<StringFieldComparison>;
338
- updatedAt?: InputMaybe<DateFieldComparison>;
339
- };
340
247
  export declare type CustomerFilter = {
341
248
  and?: InputMaybe<Array<CustomerFilter>>;
342
249
  billingId?: InputMaybe<StringFieldComparison>;
@@ -454,19 +361,6 @@ export declare enum CustomerSubscriptionSortFields {
454
361
  StartDate = "startDate",
455
362
  Status = "status"
456
363
  }
457
- export declare type CustomerUpdateFilter = {
458
- and?: InputMaybe<Array<CustomerUpdateFilter>>;
459
- billingId?: InputMaybe<StringFieldComparison>;
460
- createdAt?: InputMaybe<DateFieldComparison>;
461
- crmId?: InputMaybe<StringFieldComparison>;
462
- email?: InputMaybe<StringFieldComparison>;
463
- environmentId?: InputMaybe<StringFieldComparison>;
464
- id?: InputMaybe<StringFieldComparison>;
465
- name?: InputMaybe<StringFieldComparison>;
466
- or?: InputMaybe<Array<CustomerUpdateFilter>>;
467
- refId?: InputMaybe<StringFieldComparison>;
468
- updatedAt?: InputMaybe<DateFieldComparison>;
469
- };
470
364
  export declare type DateFieldComparison = {
471
365
  between?: InputMaybe<DateFieldComparisonBetween>;
472
366
  eq?: InputMaybe<Scalars['DateTime']>;
@@ -489,50 +383,6 @@ export declare type DefaultTrialConfigInputDto = {
489
383
  duration: Scalars['Float'];
490
384
  units: TrialPeriodUnits;
491
385
  };
492
- export declare type DeleteManyAddonsInput = {
493
- /** Filter to find records to delete */
494
- filter: AddonDeleteFilter;
495
- };
496
- export declare type DeleteManyCustomersInput = {
497
- /** Filter to find records to delete */
498
- filter: CustomerDeleteFilter;
499
- };
500
- export declare type DeleteManyEnvironmentsInput = {
501
- /** Filter to find records to delete */
502
- filter: EnvironmentDeleteFilter;
503
- };
504
- export declare type DeleteManyEventLogsInput = {
505
- /** Filter to find records to delete */
506
- filter: EventLogDeleteFilter;
507
- };
508
- export declare type DeleteManyHooksInput = {
509
- /** Filter to find records to delete */
510
- filter: HookDeleteFilter;
511
- };
512
- export declare type DeleteManyIntegrationsInput = {
513
- /** Filter to find records to delete */
514
- filter: IntegrationDeleteFilter;
515
- };
516
- export declare type DeleteManyPackageEntitlementsInput = {
517
- /** Filter to find records to delete */
518
- filter: PackageEntitlementDeleteFilter;
519
- };
520
- export declare type DeleteManyPlansInput = {
521
- /** Filter to find records to delete */
522
- filter: PlanDeleteFilter;
523
- };
524
- export declare type DeleteManyPricesInput = {
525
- /** Filter to find records to delete */
526
- filter: PriceDeleteFilter;
527
- };
528
- export declare type DeleteManyProductsInput = {
529
- /** Filter to find records to delete */
530
- filter: ProductDeleteFilter;
531
- };
532
- export declare type DeleteManyPromotionalEntitlementsInput = {
533
- /** Filter to find records to delete */
534
- filter: PromotionalEntitlementDeleteFilter;
535
- };
536
386
  export declare type DeleteOneAddonInput = {
537
387
  /** The id of the record to delete. */
538
388
  id: Scalars['String'];
@@ -545,10 +395,6 @@ export declare type DeleteOneEnvironmentInput = {
545
395
  /** The id of the record to delete. */
546
396
  id: Scalars['String'];
547
397
  };
548
- export declare type DeleteOneEventLogInput = {
549
- /** The id of the record to delete. */
550
- id: Scalars['String'];
551
- };
552
398
  export declare type DeleteOneFeatureInput = {
553
399
  /** The id of the record to delete. */
554
400
  id: Scalars['String'];
@@ -596,12 +442,6 @@ export declare enum EntitlementResetPeriod {
596
442
  Month = "MONTH",
597
443
  Week = "WEEK"
598
444
  }
599
- export declare type EnvironmentDeleteFilter = {
600
- and?: InputMaybe<Array<EnvironmentDeleteFilter>>;
601
- displayName?: InputMaybe<StringFieldComparison>;
602
- id?: InputMaybe<StringFieldComparison>;
603
- or?: InputMaybe<Array<EnvironmentDeleteFilter>>;
604
- };
605
445
  export declare type EnvironmentFilter = {
606
446
  and?: InputMaybe<Array<EnvironmentFilter>>;
607
447
  displayName?: InputMaybe<StringFieldComparison>;
@@ -617,12 +457,6 @@ export declare enum EnvironmentSortFields {
617
457
  DisplayName = "displayName",
618
458
  Id = "id"
619
459
  }
620
- export declare type EnvironmentUpdateFilter = {
621
- and?: InputMaybe<Array<EnvironmentUpdateFilter>>;
622
- displayName?: InputMaybe<StringFieldComparison>;
623
- id?: InputMaybe<StringFieldComparison>;
624
- or?: InputMaybe<Array<EnvironmentUpdateFilter>>;
625
- };
626
460
  /** error codes */
627
461
  export declare enum ErrorCode {
628
462
  AddonNotFound = "AddonNotFound",
@@ -645,6 +479,7 @@ export declare enum ErrorCode {
645
479
  PlanNotFound = "PlanNotFound",
646
480
  PlansCircularDependencyError = "PlansCircularDependencyError",
647
481
  PriceNotFound = "PriceNotFound",
482
+ SubscriptionNotFound = "SubscriptionNotFound",
648
483
  TrialsNotAllowedInProduct = "TrialsNotAllowedInProduct",
649
484
  UnPublishedPackage = "UnPublishedPackage",
650
485
  UncompatibleSubscriptionAddon = "UncompatibleSubscriptionAddon",
@@ -652,27 +487,6 @@ export declare enum ErrorCode {
652
487
  UnsupportedFeatureType = "UnsupportedFeatureType",
653
488
  UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
654
489
  }
655
- export declare type EventLogDeleteFilter = {
656
- and?: InputMaybe<Array<EventLogDeleteFilter>>;
657
- environmentId?: InputMaybe<StringFieldComparison>;
658
- id?: InputMaybe<StringFieldComparison>;
659
- or?: InputMaybe<Array<EventLogDeleteFilter>>;
660
- };
661
- export declare type EventLogFilter = {
662
- and?: InputMaybe<Array<EventLogFilter>>;
663
- environmentId?: InputMaybe<StringFieldComparison>;
664
- id?: InputMaybe<StringFieldComparison>;
665
- or?: InputMaybe<Array<EventLogFilter>>;
666
- };
667
- export declare type EventLogSort = {
668
- direction: SortDirection;
669
- field: EventLogSortFields;
670
- nulls?: InputMaybe<SortNulls>;
671
- };
672
- export declare enum EventLogSortFields {
673
- EnvironmentId = "environmentId",
674
- Id = "id"
675
- }
676
490
  /** EventLogType */
677
491
  export declare enum EventLogType {
678
492
  AddonCreated = "ADDON_CREATED",
@@ -794,15 +608,6 @@ export declare type GetPackageByRefIdInput = {
794
608
  refId: Scalars['String'];
795
609
  versionNumber?: InputMaybe<Scalars['Float']>;
796
610
  };
797
- export declare type HookDeleteFilter = {
798
- and?: InputMaybe<Array<HookDeleteFilter>>;
799
- createdAt?: InputMaybe<DateFieldComparison>;
800
- endpoint?: InputMaybe<StringFieldComparison>;
801
- environmentId?: InputMaybe<StringFieldComparison>;
802
- id?: InputMaybe<StringFieldComparison>;
803
- or?: InputMaybe<Array<HookDeleteFilter>>;
804
- status?: InputMaybe<HookStatusFilterComparison>;
805
- };
806
611
  export declare type HookFilter = {
807
612
  and?: InputMaybe<Array<HookFilter>>;
808
613
  createdAt?: InputMaybe<DateFieldComparison>;
@@ -845,15 +650,6 @@ export declare type HookStatusFilterComparison = {
845
650
  notIn?: InputMaybe<Array<HookStatus>>;
846
651
  notLike?: InputMaybe<HookStatus>;
847
652
  };
848
- export declare type HookUpdateFilter = {
849
- and?: InputMaybe<Array<HookUpdateFilter>>;
850
- createdAt?: InputMaybe<DateFieldComparison>;
851
- endpoint?: InputMaybe<StringFieldComparison>;
852
- environmentId?: InputMaybe<StringFieldComparison>;
853
- id?: InputMaybe<StringFieldComparison>;
854
- or?: InputMaybe<Array<HookUpdateFilter>>;
855
- status?: InputMaybe<HookStatusFilterComparison>;
856
- };
857
653
  export declare type InitiateCheckoutInput = {
858
654
  addons?: InputMaybe<Array<CheckoutAddonInput>>;
859
655
  billingPeriod: BillingPeriod;
@@ -881,13 +677,6 @@ export declare type IntFieldComparisonBetween = {
881
677
  lower: Scalars['Int'];
882
678
  upper: Scalars['Int'];
883
679
  };
884
- export declare type IntegrationDeleteFilter = {
885
- and?: InputMaybe<Array<IntegrationDeleteFilter>>;
886
- environmentId?: InputMaybe<StringFieldComparison>;
887
- id?: InputMaybe<StringFieldComparison>;
888
- or?: InputMaybe<Array<IntegrationDeleteFilter>>;
889
- vendorIdentifier?: InputMaybe<VendorIdentifierFilterComparison>;
890
- };
891
680
  export declare type IntegrationFilter = {
892
681
  and?: InputMaybe<Array<IntegrationFilter>>;
893
682
  environmentId?: InputMaybe<StringFieldComparison>;
@@ -905,13 +694,6 @@ export declare enum IntegrationSortFields {
905
694
  Id = "id",
906
695
  VendorIdentifier = "vendorIdentifier"
907
696
  }
908
- export declare type IntegrationUpdateFilter = {
909
- and?: InputMaybe<Array<IntegrationUpdateFilter>>;
910
- environmentId?: InputMaybe<StringFieldComparison>;
911
- id?: InputMaybe<StringFieldComparison>;
912
- or?: InputMaybe<Array<IntegrationUpdateFilter>>;
913
- vendorIdentifier?: InputMaybe<VendorIdentifierFilterComparison>;
914
- };
915
697
  export declare type MemberFilter = {
916
698
  and?: InputMaybe<Array<MemberFilter>>;
917
699
  id?: InputMaybe<StringFieldComparison>;
@@ -982,15 +764,6 @@ export declare type NumberFieldComparisonBetween = {
982
764
  lower: Scalars['Float'];
983
765
  upper: Scalars['Float'];
984
766
  };
985
- export declare type PackageEntitlementDeleteFilter = {
986
- and?: InputMaybe<Array<PackageEntitlementDeleteFilter>>;
987
- createdAt?: InputMaybe<DateFieldComparison>;
988
- environmentId?: InputMaybe<StringFieldComparison>;
989
- id?: InputMaybe<StringFieldComparison>;
990
- or?: InputMaybe<Array<PackageEntitlementDeleteFilter>>;
991
- packageId?: InputMaybe<StringFieldComparison>;
992
- updatedAt?: InputMaybe<DateFieldComparison>;
993
- };
994
767
  export declare type PackageEntitlementFilter = {
995
768
  and?: InputMaybe<Array<PackageEntitlementFilter>>;
996
769
  createdAt?: InputMaybe<DateFieldComparison>;
@@ -1055,15 +828,6 @@ export declare enum PackageEntitlementSortFields {
1055
828
  PackageId = "packageId",
1056
829
  UpdatedAt = "updatedAt"
1057
830
  }
1058
- export declare type PackageEntitlementUpdateFilter = {
1059
- and?: InputMaybe<Array<PackageEntitlementUpdateFilter>>;
1060
- createdAt?: InputMaybe<DateFieldComparison>;
1061
- environmentId?: InputMaybe<StringFieldComparison>;
1062
- id?: InputMaybe<StringFieldComparison>;
1063
- or?: InputMaybe<Array<PackageEntitlementUpdateFilter>>;
1064
- packageId?: InputMaybe<StringFieldComparison>;
1065
- updatedAt?: InputMaybe<DateFieldComparison>;
1066
- };
1067
831
  export declare type PackageEntitlementUpdateInput = {
1068
832
  description?: InputMaybe<Scalars['String']>;
1069
833
  hasUnlimitedUsage?: InputMaybe<Scalars['Boolean']>;
@@ -1107,22 +871,6 @@ export declare type PlanCreateInput = {
1107
871
  refId: Scalars['String'];
1108
872
  status?: InputMaybe<PackageStatus>;
1109
873
  };
1110
- export declare type PlanDeleteFilter = {
1111
- and?: InputMaybe<Array<PlanDeleteFilter>>;
1112
- billingId?: InputMaybe<StringFieldComparison>;
1113
- createdAt?: InputMaybe<DateFieldComparison>;
1114
- description?: InputMaybe<StringFieldComparison>;
1115
- displayName?: InputMaybe<StringFieldComparison>;
1116
- environmentId?: InputMaybe<StringFieldComparison>;
1117
- id?: InputMaybe<StringFieldComparison>;
1118
- isLatest?: InputMaybe<BooleanFieldComparison>;
1119
- or?: InputMaybe<Array<PlanDeleteFilter>>;
1120
- productId?: InputMaybe<StringFieldComparison>;
1121
- refId?: InputMaybe<StringFieldComparison>;
1122
- status?: InputMaybe<PackageStatusFilterComparison>;
1123
- updatedAt?: InputMaybe<DateFieldComparison>;
1124
- versionNumber?: InputMaybe<IntFieldComparison>;
1125
- };
1126
874
  export declare type PlanFilter = {
1127
875
  and?: InputMaybe<Array<PlanFilter>>;
1128
876
  billingId?: InputMaybe<StringFieldComparison>;
@@ -1188,13 +936,6 @@ export declare type PriceCreateInput = {
1188
936
  packageId: Scalars['String'];
1189
937
  price: MoneyInputDto;
1190
938
  };
1191
- export declare type PriceDeleteFilter = {
1192
- and?: InputMaybe<Array<PriceDeleteFilter>>;
1193
- billingModel?: InputMaybe<BillingModelFilterComparison>;
1194
- billingPeriod?: InputMaybe<BillingPeriodFilterComparison>;
1195
- id?: InputMaybe<StringFieldComparison>;
1196
- or?: InputMaybe<Array<PriceDeleteFilter>>;
1197
- };
1198
939
  export declare type PriceFilter = {
1199
940
  and?: InputMaybe<Array<PriceFilter>>;
1200
941
  billingModel?: InputMaybe<BillingModelFilterComparison>;
@@ -1244,18 +985,6 @@ export declare type ProductCreateInput = {
1244
985
  environmentId: Scalars['String'];
1245
986
  refId: Scalars['String'];
1246
987
  };
1247
- export declare type ProductDeleteFilter = {
1248
- and?: InputMaybe<Array<ProductDeleteFilter>>;
1249
- createdAt?: InputMaybe<DateFieldComparison>;
1250
- description?: InputMaybe<StringFieldComparison>;
1251
- displayName?: InputMaybe<StringFieldComparison>;
1252
- environmentId?: InputMaybe<StringFieldComparison>;
1253
- id?: InputMaybe<StringFieldComparison>;
1254
- isDefaultProduct?: InputMaybe<BooleanFieldComparison>;
1255
- or?: InputMaybe<Array<ProductDeleteFilter>>;
1256
- refId?: InputMaybe<StringFieldComparison>;
1257
- updatedAt?: InputMaybe<DateFieldComparison>;
1258
- };
1259
988
  export declare type ProductFilter = {
1260
989
  and?: InputMaybe<Array<ProductFilter>>;
1261
990
  createdAt?: InputMaybe<DateFieldComparison>;
@@ -1268,6 +997,11 @@ export declare type ProductFilter = {
1268
997
  refId?: InputMaybe<StringFieldComparison>;
1269
998
  updatedAt?: InputMaybe<DateFieldComparison>;
1270
999
  };
1000
+ export declare type ProductSettingsInput = {
1001
+ downgradePlanId?: InputMaybe<Scalars['String']>;
1002
+ subscriptionCancellationTime: SubscriptionCancellationTime;
1003
+ subscriptionEndSetup: SubscriptionEndSetup;
1004
+ };
1271
1005
  export declare type ProductSort = {
1272
1006
  direction: SortDirection;
1273
1007
  field: ProductSortFields;
@@ -1283,32 +1017,10 @@ export declare enum ProductSortFields {
1283
1017
  RefId = "refId",
1284
1018
  UpdatedAt = "updatedAt"
1285
1019
  }
1286
- export declare type ProductUpdateFilter = {
1287
- and?: InputMaybe<Array<ProductUpdateFilter>>;
1288
- createdAt?: InputMaybe<DateFieldComparison>;
1289
- description?: InputMaybe<StringFieldComparison>;
1290
- displayName?: InputMaybe<StringFieldComparison>;
1291
- environmentId?: InputMaybe<StringFieldComparison>;
1292
- id?: InputMaybe<StringFieldComparison>;
1293
- isDefaultProduct?: InputMaybe<BooleanFieldComparison>;
1294
- or?: InputMaybe<Array<ProductUpdateFilter>>;
1295
- refId?: InputMaybe<StringFieldComparison>;
1296
- updatedAt?: InputMaybe<DateFieldComparison>;
1297
- };
1298
1020
  export declare type ProductUpdateInput = {
1299
1021
  description?: InputMaybe<Scalars['String']>;
1300
1022
  displayName?: InputMaybe<Scalars['String']>;
1301
- downgradePlanId?: InputMaybe<Scalars['String']>;
1302
- trialSetup?: InputMaybe<TrialSetup>;
1303
- };
1304
- export declare type PromotionalEntitlementDeleteFilter = {
1305
- and?: InputMaybe<Array<PromotionalEntitlementDeleteFilter>>;
1306
- createdAt?: InputMaybe<DateFieldComparison>;
1307
- environmentId?: InputMaybe<StringFieldComparison>;
1308
- id?: InputMaybe<StringFieldComparison>;
1309
- or?: InputMaybe<Array<PromotionalEntitlementDeleteFilter>>;
1310
- status?: InputMaybe<PromotionalEntitlementStatusFilterComparison>;
1311
- updatedAt?: InputMaybe<DateFieldComparison>;
1023
+ productSettings?: InputMaybe<ProductSettingsInput>;
1312
1024
  };
1313
1025
  export declare type PromotionalEntitlementFilter = {
1314
1026
  and?: InputMaybe<Array<PromotionalEntitlementFilter>>;
@@ -1376,15 +1088,6 @@ export declare type PromotionalEntitlementStatusFilterComparison = {
1376
1088
  notIn?: InputMaybe<Array<PromotionalEntitlementStatus>>;
1377
1089
  notLike?: InputMaybe<PromotionalEntitlementStatus>;
1378
1090
  };
1379
- export declare type PromotionalEntitlementUpdateFilter = {
1380
- and?: InputMaybe<Array<PromotionalEntitlementUpdateFilter>>;
1381
- createdAt?: InputMaybe<DateFieldComparison>;
1382
- environmentId?: InputMaybe<StringFieldComparison>;
1383
- id?: InputMaybe<StringFieldComparison>;
1384
- or?: InputMaybe<Array<PromotionalEntitlementUpdateFilter>>;
1385
- status?: InputMaybe<PromotionalEntitlementStatusFilterComparison>;
1386
- updatedAt?: InputMaybe<DateFieldComparison>;
1387
- };
1388
1091
  export declare type PromotionalEntitlementUpdateInput = {
1389
1092
  description?: InputMaybe<Scalars['String']>;
1390
1093
  endDate?: InputMaybe<Scalars['DateTime']>;
@@ -1401,499 +1104,55 @@ export declare enum PublishMigrationType {
1401
1104
  AllCustomers = "ALL_CUSTOMERS",
1402
1105
  NewCustomers = "NEW_CUSTOMERS"
1403
1106
  }
1404
- export declare type RemoveAccountFromEnvironmentInput = {
1405
- /** The id of the record. */
1406
- id: Scalars['String'];
1407
- /** The id of relation. */
1408
- relationId: Scalars['String'];
1409
- };
1410
- export declare type RemoveAccountFromFeatureInput = {
1411
- /** The id of the record. */
1412
- id: Scalars['String'];
1413
- /** The id of relation. */
1414
- relationId: Scalars['String'];
1415
- };
1416
- export declare type RemoveAccountFromHookInput = {
1417
- /** The id of the record. */
1418
- id: Scalars['String'];
1419
- /** The id of relation. */
1420
- relationId: Scalars['String'];
1421
- };
1422
- export declare type RemoveAccountFromIntegrationInput = {
1423
- /** The id of the record. */
1424
- id: Scalars['String'];
1425
- /** The id of relation. */
1426
- relationId: Scalars['String'];
1427
- };
1428
- export declare type RemoveAccountFromMemberInput = {
1429
- /** The id of the record. */
1430
- id: Scalars['String'];
1431
- /** The id of relation. */
1432
- relationId: Scalars['String'];
1433
- };
1434
- export declare type RemoveAddonFromSubscriptionAddonInput = {
1107
+ export declare type RemoveBasePlanFromPlanInput = {
1435
1108
  /** The id of the record. */
1436
1109
  id: Scalars['String'];
1437
1110
  /** The id of relation. */
1438
1111
  relationId: Scalars['String'];
1439
1112
  };
1440
- export declare type RemoveAddonsFromCustomerSubscriptionInput = {
1113
+ export declare type RemoveCompatibleAddonsFromPlanInput = {
1441
1114
  /** The id of the record. */
1442
1115
  id: Scalars['String'];
1443
1116
  /** The ids of the relations. */
1444
1117
  relationIds: Array<Scalars['String']>;
1445
1118
  };
1446
- export declare type RemoveBasePlanFromPlanInput = {
1119
+ export declare type SetBasePlanOnPlanInput = {
1447
1120
  /** The id of the record. */
1448
1121
  id: Scalars['String'];
1449
1122
  /** The id of relation. */
1450
1123
  relationId: Scalars['String'];
1451
1124
  };
1452
- export declare type RemoveCompatibleAddonsFromPlanInput = {
1125
+ export declare type SetCompatibleAddonsOnPlanInput = {
1453
1126
  /** The id of the record. */
1454
1127
  id: Scalars['String'];
1455
1128
  /** The ids of the relations. */
1456
1129
  relationIds: Array<Scalars['String']>;
1457
1130
  };
1458
- export declare type RemoveCustomerFromCustomerSubscriptionInput = {
1459
- /** The id of the record. */
1460
- id: Scalars['String'];
1461
- /** The id of relation. */
1462
- relationId: Scalars['String'];
1463
- };
1464
- export declare type RemoveCustomerFromPromotionalEntitlementInput = {
1465
- /** The id of the record. */
1466
- id: Scalars['String'];
1467
- /** The id of relation. */
1468
- relationId: Scalars['String'];
1469
- };
1470
- export declare type RemoveCustomerFromUsageMeasurementInput = {
1471
- /** The id of the record. */
1472
- id: Scalars['String'];
1473
- /** The id of relation. */
1474
- relationId: Scalars['String'];
1475
- };
1476
- export declare type RemoveDowngradePlanFromProductInput = {
1477
- /** The id of the record. */
1478
- id: Scalars['String'];
1479
- /** The id of relation. */
1480
- relationId: Scalars['String'];
1481
- };
1482
- export declare type RemoveEnvironmentFromAddonInput = {
1483
- /** The id of the record. */
1484
- id: Scalars['String'];
1485
- /** The id of relation. */
1486
- relationId: Scalars['String'];
1487
- };
1488
- export declare type RemoveEnvironmentFromCustomerInput = {
1489
- /** The id of the record. */
1490
- id: Scalars['String'];
1491
- /** The id of relation. */
1492
- relationId: Scalars['String'];
1493
- };
1494
- export declare type RemoveEnvironmentFromCustomerSubscriptionInput = {
1495
- /** The id of the record. */
1496
- id: Scalars['String'];
1497
- /** The id of relation. */
1498
- relationId: Scalars['String'];
1499
- };
1500
- export declare type RemoveEnvironmentFromEventLogInput = {
1501
- /** The id of the record. */
1502
- id: Scalars['String'];
1503
- /** The id of relation. */
1504
- relationId: Scalars['String'];
1505
- };
1506
- export declare type RemoveEnvironmentFromFeatureInput = {
1507
- /** The id of the record. */
1508
- id: Scalars['String'];
1509
- /** The id of relation. */
1510
- relationId: Scalars['String'];
1511
- };
1512
- export declare type RemoveEnvironmentFromHookInput = {
1513
- /** The id of the record. */
1514
- id: Scalars['String'];
1515
- /** The id of relation. */
1516
- relationId: Scalars['String'];
1517
- };
1518
- export declare type RemoveEnvironmentFromIntegrationInput = {
1519
- /** The id of the record. */
1520
- id: Scalars['String'];
1521
- /** The id of relation. */
1522
- relationId: Scalars['String'];
1523
- };
1524
- export declare type RemoveEnvironmentFromPlanInput = {
1525
- /** The id of the record. */
1526
- id: Scalars['String'];
1527
- /** The id of relation. */
1528
- relationId: Scalars['String'];
1529
- };
1530
- export declare type RemoveEnvironmentFromProductInput = {
1531
- /** The id of the record. */
1532
- id: Scalars['String'];
1533
- /** The id of relation. */
1534
- relationId: Scalars['String'];
1535
- };
1536
- export declare type RemoveEnvironmentFromUsageMeasurementInput = {
1537
- /** The id of the record. */
1538
- id: Scalars['String'];
1539
- /** The id of relation. */
1540
- relationId: Scalars['String'];
1541
- };
1542
- export declare type RemoveFeatureFromPackageEntitlementInput = {
1543
- /** The id of the record. */
1544
- id: Scalars['String'];
1545
- /** The id of relation. */
1546
- relationId: Scalars['String'];
1547
- };
1548
- export declare type RemoveFeatureFromPromotionalEntitlementInput = {
1549
- /** The id of the record. */
1550
- id: Scalars['String'];
1551
- /** The id of relation. */
1552
- relationId: Scalars['String'];
1553
- };
1554
- export declare type RemoveFeatureFromUsageMeasurementInput = {
1555
- /** The id of the record. */
1556
- id: Scalars['String'];
1557
- /** The id of relation. */
1558
- relationId: Scalars['String'];
1559
- };
1560
- export declare type RemovePackageFromPackageEntitlementInput = {
1561
- /** The id of the record. */
1562
- id: Scalars['String'];
1563
- /** The id of relation. */
1564
- relationId: Scalars['String'];
1565
- };
1566
- export declare type RemovePackageFromPriceInput = {
1567
- /** The id of the record. */
1568
- id: Scalars['String'];
1569
- /** The id of relation. */
1570
- relationId: Scalars['String'];
1571
- };
1572
- export declare type RemovePlanFromCustomerSubscriptionInput = {
1573
- /** The id of the record. */
1574
- id: Scalars['String'];
1575
- /** The id of relation. */
1576
- relationId: Scalars['String'];
1577
- };
1578
- export declare type RemovePriceFromSubscriptionAddonInput = {
1579
- /** The id of the record. */
1580
- id: Scalars['String'];
1581
- /** The id of relation. */
1582
- relationId: Scalars['String'];
1583
- };
1584
- export declare type RemovePriceFromSubscriptionPriceInput = {
1585
- /** The id of the record. */
1586
- id: Scalars['String'];
1587
- /** The id of relation. */
1588
- relationId: Scalars['String'];
1589
- };
1590
- export declare type RemovePricesFromAddonInput = {
1591
- /** The id of the record. */
1592
- id: Scalars['String'];
1593
- /** The ids of the relations. */
1594
- relationIds: Array<Scalars['String']>;
1595
- };
1596
- export declare type RemovePricesFromCustomerSubscriptionInput = {
1597
- /** The id of the record. */
1598
- id: Scalars['String'];
1599
- /** The ids of the relations. */
1600
- relationIds: Array<Scalars['String']>;
1601
- };
1602
- export declare type RemovePricesFromPlanInput = {
1603
- /** The id of the record. */
1604
- id: Scalars['String'];
1605
- /** The ids of the relations. */
1606
- relationIds: Array<Scalars['String']>;
1607
- };
1608
- export declare type RemoveSubscriptionFromSubscriptionAddonInput = {
1609
- /** The id of the record. */
1610
- id: Scalars['String'];
1611
- /** The id of relation. */
1612
- relationId: Scalars['String'];
1613
- };
1614
- export declare type RemoveSubscriptionFromSubscriptionPriceInput = {
1615
- /** The id of the record. */
1616
- id: Scalars['String'];
1617
- /** The id of relation. */
1618
- relationId: Scalars['String'];
1619
- };
1620
- export declare type RemoveUserFromMemberInput = {
1621
- /** The id of the record. */
1622
- id: Scalars['String'];
1623
- /** The id of relation. */
1624
- relationId: Scalars['String'];
1625
- };
1626
- export declare type SetAccountOnEnvironmentInput = {
1627
- /** The id of the record. */
1628
- id: Scalars['String'];
1629
- /** The id of relation. */
1630
- relationId: Scalars['String'];
1631
- };
1632
- export declare type SetAccountOnFeatureInput = {
1633
- /** The id of the record. */
1634
- id: Scalars['String'];
1635
- /** The id of relation. */
1636
- relationId: Scalars['String'];
1637
- };
1638
- export declare type SetAccountOnHookInput = {
1639
- /** The id of the record. */
1640
- id: Scalars['String'];
1641
- /** The id of relation. */
1642
- relationId: Scalars['String'];
1643
- };
1644
- export declare type SetAccountOnIntegrationInput = {
1645
- /** The id of the record. */
1646
- id: Scalars['String'];
1647
- /** The id of relation. */
1648
- relationId: Scalars['String'];
1649
- };
1650
- export declare type SetAccountOnMemberInput = {
1651
- /** The id of the record. */
1652
- id: Scalars['String'];
1653
- /** The id of relation. */
1654
- relationId: Scalars['String'];
1655
- };
1656
- export declare type SetAddonOnSubscriptionAddonInput = {
1657
- /** The id of the record. */
1658
- id: Scalars['String'];
1659
- /** The id of relation. */
1660
- relationId: Scalars['String'];
1661
- };
1662
- export declare type SetAddonsOnCustomerSubscriptionInput = {
1663
- /** The id of the record. */
1664
- id: Scalars['String'];
1665
- /** The ids of the relations. */
1666
- relationIds: Array<Scalars['String']>;
1667
- };
1668
- export declare type SetApiKeysOnEnvironmentInput = {
1669
- /** The id of the record. */
1670
- id: Scalars['String'];
1671
- /** The ids of the relations. */
1672
- relationIds: Array<Scalars['String']>;
1673
- };
1674
- export declare type SetBasePlanOnPlanInput = {
1675
- /** The id of the record. */
1676
- id: Scalars['String'];
1677
- /** The id of relation. */
1678
- relationId: Scalars['String'];
1679
- };
1680
- export declare type SetCompatibleAddonsOnPlanInput = {
1681
- /** The id of the record. */
1682
- id: Scalars['String'];
1683
- /** The ids of the relations. */
1684
- relationIds: Array<Scalars['String']>;
1685
- };
1686
- export declare type SetCustomerOnCustomerSubscriptionInput = {
1687
- /** The id of the record. */
1688
- id: Scalars['String'];
1689
- /** The id of relation. */
1690
- relationId: Scalars['String'];
1691
- };
1692
- export declare type SetCustomerOnPromotionalEntitlementInput = {
1693
- /** The id of the record. */
1694
- id: Scalars['String'];
1695
- /** The id of relation. */
1696
- relationId: Scalars['String'];
1697
- };
1698
- export declare type SetCustomerOnUsageMeasurementInput = {
1699
- /** The id of the record. */
1700
- id: Scalars['String'];
1701
- /** The id of relation. */
1702
- relationId: Scalars['String'];
1703
- };
1704
- export declare type SetDowngradePlanOnProductInput = {
1705
- /** The id of the record. */
1706
- id: Scalars['String'];
1707
- /** The id of relation. */
1708
- relationId: Scalars['String'];
1709
- };
1710
- export declare type SetEnvironmentOnAddonInput = {
1711
- /** The id of the record. */
1712
- id: Scalars['String'];
1713
- /** The id of relation. */
1714
- relationId: Scalars['String'];
1715
- };
1716
- export declare type SetEnvironmentOnCustomerInput = {
1717
- /** The id of the record. */
1718
- id: Scalars['String'];
1719
- /** The id of relation. */
1720
- relationId: Scalars['String'];
1721
- };
1722
- export declare type SetEnvironmentOnCustomerSubscriptionInput = {
1723
- /** The id of the record. */
1724
- id: Scalars['String'];
1725
- /** The id of relation. */
1726
- relationId: Scalars['String'];
1727
- };
1728
- export declare type SetEnvironmentOnEventLogInput = {
1729
- /** The id of the record. */
1730
- id: Scalars['String'];
1731
- /** The id of relation. */
1732
- relationId: Scalars['String'];
1733
- };
1734
- export declare type SetEnvironmentOnFeatureInput = {
1735
- /** The id of the record. */
1736
- id: Scalars['String'];
1737
- /** The id of relation. */
1738
- relationId: Scalars['String'];
1739
- };
1740
- export declare type SetEnvironmentOnHookInput = {
1741
- /** The id of the record. */
1742
- id: Scalars['String'];
1743
- /** The id of relation. */
1744
- relationId: Scalars['String'];
1745
- };
1746
- export declare type SetEnvironmentOnIntegrationInput = {
1747
- /** The id of the record. */
1748
- id: Scalars['String'];
1749
- /** The id of relation. */
1750
- relationId: Scalars['String'];
1751
- };
1752
- export declare type SetEnvironmentOnPlanInput = {
1753
- /** The id of the record. */
1754
- id: Scalars['String'];
1755
- /** The id of relation. */
1756
- relationId: Scalars['String'];
1757
- };
1758
- export declare type SetEnvironmentOnProductInput = {
1759
- /** The id of the record. */
1760
- id: Scalars['String'];
1761
- /** The id of relation. */
1762
- relationId: Scalars['String'];
1763
- };
1764
- export declare type SetEnvironmentOnUsageMeasurementInput = {
1765
- /** The id of the record. */
1766
- id: Scalars['String'];
1767
- /** The id of relation. */
1768
- relationId: Scalars['String'];
1769
- };
1770
- export declare type SetFeatureOnPackageEntitlementInput = {
1771
- /** The id of the record. */
1772
- id: Scalars['String'];
1773
- /** The id of relation. */
1774
- relationId: Scalars['String'];
1775
- };
1776
- export declare type SetFeatureOnPromotionalEntitlementInput = {
1777
- /** The id of the record. */
1778
- id: Scalars['String'];
1779
- /** The id of relation. */
1780
- relationId: Scalars['String'];
1781
- };
1782
- export declare type SetFeatureOnUsageMeasurementInput = {
1783
- /** The id of the record. */
1784
- id: Scalars['String'];
1785
- /** The id of relation. */
1786
- relationId: Scalars['String'];
1787
- };
1788
- export declare type SetPackageOnPackageEntitlementInput = {
1789
- /** The id of the record. */
1790
- id: Scalars['String'];
1791
- /** The id of relation. */
1792
- relationId: Scalars['String'];
1793
- };
1794
- export declare type SetPackageOnPriceInput = {
1795
- /** The id of the record. */
1796
- id: Scalars['String'];
1797
- /** The id of relation. */
1798
- relationId: Scalars['String'];
1799
- };
1800
- export declare type SetPlanOnCustomerSubscriptionInput = {
1801
- /** The id of the record. */
1802
- id: Scalars['String'];
1803
- /** The id of relation. */
1804
- relationId: Scalars['String'];
1805
- };
1806
- export declare type SetPriceOnSubscriptionAddonInput = {
1807
- /** The id of the record. */
1808
- id: Scalars['String'];
1809
- /** The id of relation. */
1810
- relationId: Scalars['String'];
1811
- };
1812
- export declare type SetPriceOnSubscriptionPriceInput = {
1813
- /** The id of the record. */
1814
- id: Scalars['String'];
1815
- /** The id of relation. */
1816
- relationId: Scalars['String'];
1817
- };
1818
- export declare type SetPricesOnAddonInput = {
1819
- /** The id of the record. */
1820
- id: Scalars['String'];
1821
- /** The ids of the relations. */
1822
- relationIds: Array<Scalars['String']>;
1823
- };
1824
- export declare type SetPricesOnCustomerSubscriptionInput = {
1825
- /** The id of the record. */
1826
- id: Scalars['String'];
1827
- /** The ids of the relations. */
1828
- relationIds: Array<Scalars['String']>;
1829
- };
1830
- export declare type SetPricesOnPlanInput = {
1831
- /** The id of the record. */
1832
- id: Scalars['String'];
1833
- /** The ids of the relations. */
1834
- relationIds: Array<Scalars['String']>;
1835
- };
1836
- export declare type SetProductOnAddonInput = {
1837
- /** The id of the record. */
1838
- id: Scalars['String'];
1839
- /** The id of relation. */
1840
- relationId: Scalars['String'];
1841
- };
1842
- export declare type SetProductOnPlanInput = {
1843
- /** The id of the record. */
1844
- id: Scalars['String'];
1845
- /** The id of relation. */
1846
- relationId: Scalars['String'];
1847
- };
1848
- export declare type SetSubscriptionOnSubscriptionAddonInput = {
1849
- /** The id of the record. */
1850
- id: Scalars['String'];
1851
- /** The id of relation. */
1852
- relationId: Scalars['String'];
1853
- };
1854
- export declare type SetSubscriptionOnSubscriptionPriceInput = {
1855
- /** The id of the record. */
1856
- id: Scalars['String'];
1857
- /** The id of relation. */
1858
- relationId: Scalars['String'];
1859
- };
1860
- export declare type SetSubscriptionsOnCustomerInput = {
1861
- /** The id of the record. */
1862
- id: Scalars['String'];
1863
- /** The ids of the relations. */
1864
- relationIds: Array<Scalars['String']>;
1865
- };
1866
- export declare type SetUserOnMemberInput = {
1867
- /** The id of the record. */
1868
- id: Scalars['String'];
1869
- /** The id of relation. */
1870
- relationId: Scalars['String'];
1871
- };
1872
- /** Sort Directions */
1873
- export declare enum SortDirection {
1874
- Asc = "ASC",
1875
- Desc = "DESC"
1876
- }
1877
- /** Sort Nulls Options */
1878
- export declare enum SortNulls {
1879
- NullsFirst = "NULLS_FIRST",
1880
- NullsLast = "NULLS_LAST"
1881
- }
1882
- export declare type StringFieldComparison = {
1883
- eq?: InputMaybe<Scalars['String']>;
1884
- gt?: InputMaybe<Scalars['String']>;
1885
- gte?: InputMaybe<Scalars['String']>;
1886
- iLike?: InputMaybe<Scalars['String']>;
1887
- in?: InputMaybe<Array<Scalars['String']>>;
1888
- is?: InputMaybe<Scalars['Boolean']>;
1889
- isNot?: InputMaybe<Scalars['Boolean']>;
1890
- like?: InputMaybe<Scalars['String']>;
1891
- lt?: InputMaybe<Scalars['String']>;
1892
- lte?: InputMaybe<Scalars['String']>;
1893
- neq?: InputMaybe<Scalars['String']>;
1894
- notILike?: InputMaybe<Scalars['String']>;
1895
- notIn?: InputMaybe<Array<Scalars['String']>>;
1896
- notLike?: InputMaybe<Scalars['String']>;
1131
+ /** Sort Directions */
1132
+ export declare enum SortDirection {
1133
+ Asc = "ASC",
1134
+ Desc = "DESC"
1135
+ }
1136
+ /** Sort Nulls Options */
1137
+ export declare enum SortNulls {
1138
+ NullsFirst = "NULLS_FIRST",
1139
+ NullsLast = "NULLS_LAST"
1140
+ }
1141
+ export declare type StringFieldComparison = {
1142
+ eq?: InputMaybe<Scalars['String']>;
1143
+ gt?: InputMaybe<Scalars['String']>;
1144
+ gte?: InputMaybe<Scalars['String']>;
1145
+ iLike?: InputMaybe<Scalars['String']>;
1146
+ in?: InputMaybe<Array<Scalars['String']>>;
1147
+ is?: InputMaybe<Scalars['Boolean']>;
1148
+ isNot?: InputMaybe<Scalars['Boolean']>;
1149
+ like?: InputMaybe<Scalars['String']>;
1150
+ lt?: InputMaybe<Scalars['String']>;
1151
+ lte?: InputMaybe<Scalars['String']>;
1152
+ neq?: InputMaybe<Scalars['String']>;
1153
+ notILike?: InputMaybe<Scalars['String']>;
1154
+ notIn?: InputMaybe<Array<Scalars['String']>>;
1155
+ notLike?: InputMaybe<Scalars['String']>;
1897
1156
  };
1898
1157
  export declare type StripeCredentialsInput = {
1899
1158
  accountId?: InputMaybe<Scalars['String']>;
@@ -1960,6 +1219,20 @@ export declare enum SubscriptionAddonSortFields {
1960
1219
  Quantity = "quantity",
1961
1220
  UpdatedAt = "updatedAt"
1962
1221
  }
1222
+ export declare type SubscriptionCancellationInput = {
1223
+ endDate?: InputMaybe<Scalars['DateTime']>;
1224
+ environmentId: Scalars['String'];
1225
+ subscriptionCancellationTime?: InputMaybe<SubscriptionCancellationTime>;
1226
+ subscriptionRefId: Scalars['String'];
1227
+ };
1228
+ export declare enum SubscriptionCancellationTime {
1229
+ EndOfBillingPeriod = "END_OF_BILLING_PERIOD",
1230
+ Immediate = "IMMEDIATE"
1231
+ }
1232
+ export declare enum SubscriptionEndSetup {
1233
+ CancelSubscription = "CANCEL_SUBSCRIPTION",
1234
+ DowngradeToFree = "DOWNGRADE_TO_FREE"
1235
+ }
1963
1236
  export declare type SubscriptionInput = {
1964
1237
  addons?: InputMaybe<Array<SubscriptionAddonInput>>;
1965
1238
  billingId?: InputMaybe<Scalars['String']>;
@@ -2018,9 +1291,10 @@ export declare enum SubscriptionPriceSortFields {
2018
1291
  /** Subscription status */
2019
1292
  export declare enum SubscriptionStatus {
2020
1293
  Active = "ACTIVE",
1294
+ Canceled = "CANCELED",
2021
1295
  Expired = "EXPIRED",
2022
- Inactive = "INACTIVE",
2023
- InTrial = "IN_TRIAL"
1296
+ InTrial = "IN_TRIAL",
1297
+ NotStarted = "NOT_STARTED"
2024
1298
  }
2025
1299
  export declare type SubscriptionStatusFilterComparison = {
2026
1300
  eq?: InputMaybe<SubscriptionStatus>;
@@ -2047,11 +1321,6 @@ export declare enum TrialPeriodUnits {
2047
1321
  Day = "DAY",
2048
1322
  Month = "MONTH"
2049
1323
  }
2050
- export declare enum TrialSetup {
2051
- CancelSubscription = "CANCEL_SUBSCRIPTION",
2052
- DowngradeToFree = "DOWNGRADE_TO_FREE",
2053
- NoTrials = "NO_TRIALS"
2054
- }
2055
1324
  export declare type UpdateCustomer = {
2056
1325
  billingId?: InputMaybe<Scalars['String']>;
2057
1326
  billingLinkUrl?: InputMaybe<Scalars['String']>;
@@ -2099,48 +1368,6 @@ export declare type UpdateIntegrationInput = {
2099
1368
  vendorIdentifier: VendorIdentifier;
2100
1369
  zuoraCredentials?: InputMaybe<ZuoraCredentialsInput>;
2101
1370
  };
2102
- export declare type UpdateManyCustomersInput = {
2103
- /** Filter used to find fields to update */
2104
- filter: CustomerUpdateFilter;
2105
- /** The update to apply to all records found using the filter */
2106
- update: UpdateCustomer;
2107
- };
2108
- export declare type UpdateManyEnvironmentsInput = {
2109
- /** Filter used to find fields to update */
2110
- filter: EnvironmentUpdateFilter;
2111
- /** The update to apply to all records found using the filter */
2112
- update: UpdateEnvironment;
2113
- };
2114
- export declare type UpdateManyHooksInput = {
2115
- /** Filter used to find fields to update */
2116
- filter: HookUpdateFilter;
2117
- /** The update to apply to all records found using the filter */
2118
- update: UpdateHook;
2119
- };
2120
- export declare type UpdateManyIntegrationsInput = {
2121
- /** Filter used to find fields to update */
2122
- filter: IntegrationUpdateFilter;
2123
- /** The update to apply to all records found using the filter */
2124
- update: UpdateIntegrationInput;
2125
- };
2126
- export declare type UpdateManyPackageEntitlementsInput = {
2127
- /** Filter used to find fields to update */
2128
- filter: PackageEntitlementUpdateFilter;
2129
- /** The update to apply to all records found using the filter */
2130
- update: PackageEntitlementUpdateInput;
2131
- };
2132
- export declare type UpdateManyProductsInput = {
2133
- /** Filter used to find fields to update */
2134
- filter: ProductUpdateFilter;
2135
- /** The update to apply to all records found using the filter */
2136
- update: ProductUpdateInput;
2137
- };
2138
- export declare type UpdateManyPromotionalEntitlementsInput = {
2139
- /** Filter used to find fields to update */
2140
- filter: PromotionalEntitlementUpdateFilter;
2141
- /** The update to apply to all records found using the filter */
2142
- update: PromotionalEntitlementUpdateInput;
2143
- };
2144
1371
  export declare type UpdateOneCustomerInput = {
2145
1372
  /** The id of the record to update */
2146
1373
  id: Scalars['String'];
@@ -2435,40 +1662,6 @@ export declare type GetCustomerByRefIdQuery = {
2435
1662
  }>;
2436
1663
  };
2437
1664
  };
2438
- export declare type SlimEntitlementFragment = {
2439
- __typename?: 'Entitlement';
2440
- isGranted: boolean;
2441
- accessDeniedReason?: AccessDeniedReason | null | undefined;
2442
- customerId?: string | null | undefined;
2443
- usageLimit?: number | null | undefined;
2444
- hasUnlimitedUsage: boolean;
2445
- currentUsage?: number | null | undefined;
2446
- requestedUsage?: number | null | undefined;
2447
- nextResetDate?: any | null | undefined;
2448
- resetPeriod?: EntitlementResetPeriod | null | undefined;
2449
- resetPeriodConfiguration?: ({
2450
- __typename: 'MonthlyResetPeriodConfig';
2451
- } & MonthlyResetPeriodConfigFragment) | ({
2452
- __typename: 'WeeklyResetPeriodConfig';
2453
- } & WeeklyResetPeriodConfigFragment) | null | undefined;
2454
- feature?: ({
2455
- __typename?: 'EntitlementFeature';
2456
- } & SlimFeatureFragment) | null | undefined;
2457
- };
2458
- export declare type SlimFeatureFragment = {
2459
- __typename?: 'EntitlementFeature';
2460
- featureType: FeatureType;
2461
- meterType?: MeterType | null | undefined;
2462
- refId: string;
2463
- };
2464
- export declare type MonthlyResetPeriodConfigFragment = {
2465
- __typename?: 'MonthlyResetPeriodConfig';
2466
- monthlyAccordingTo?: MonthlyAccordingTo | null | undefined;
2467
- };
2468
- export declare type WeeklyResetPeriodConfigFragment = {
2469
- __typename?: 'WeeklyResetPeriodConfig';
2470
- weeklyAccordingTo?: WeeklyAccordingTo | null | undefined;
2471
- };
2472
1665
  export declare type EntitlementFragment = {
2473
1666
  __typename?: 'EntitlementWithSummary';
2474
1667
  isGranted: boolean;
@@ -2506,14 +1699,13 @@ export declare type FeatureFragment = {
2506
1699
  displayName: string;
2507
1700
  refId: string;
2508
1701
  };
2509
- export declare type EntitlementQueryVariables = Exact<{
2510
- query: FetchEntitlementQuery;
2511
- }>;
2512
- export declare type EntitlementQuery = {
2513
- __typename?: 'Query';
2514
- entitlement: {
2515
- __typename?: 'Entitlement';
2516
- } & SlimEntitlementFragment;
1702
+ export declare type MonthlyResetPeriodConfigFragment = {
1703
+ __typename?: 'MonthlyResetPeriodConfig';
1704
+ monthlyAccordingTo?: MonthlyAccordingTo | null | undefined;
1705
+ };
1706
+ export declare type WeeklyResetPeriodConfigFragment = {
1707
+ __typename?: 'WeeklyResetPeriodConfig';
1708
+ weeklyAccordingTo?: WeeklyAccordingTo | null | undefined;
2517
1709
  };
2518
1710
  export declare type GetEntitlementsQueryVariables = Exact<{
2519
1711
  query: FetchEntitlementsQuery;