@stigg/js-client-sdk 0.26.1 → 0.28.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.
@@ -44,7 +44,7 @@ export declare type AddonCreateInput = {
44
44
  displayName: Scalars['String'];
45
45
  environmentId: Scalars['String'];
46
46
  productId: Scalars['String'];
47
- refId: Scalars['String'];
47
+ refId?: InputMaybe<Scalars['String']>;
48
48
  status?: InputMaybe<PackageStatus>;
49
49
  };
50
50
  export declare type AddonFilter = {
@@ -89,6 +89,15 @@ export declare type AddonUpdateInput = {
89
89
  id: Scalars['String'];
90
90
  status?: InputMaybe<PackageStatus>;
91
91
  };
92
+ export declare type Address = {
93
+ addressLine1?: InputMaybe<Scalars['String']>;
94
+ addressLine2?: InputMaybe<Scalars['String']>;
95
+ city?: InputMaybe<Scalars['String']>;
96
+ country?: InputMaybe<Scalars['String']>;
97
+ phoneNumber?: InputMaybe<Scalars['String']>;
98
+ postalCode?: InputMaybe<Scalars['String']>;
99
+ state?: InputMaybe<Scalars['String']>;
100
+ };
92
101
  export declare type ApiKeyFilter = {
93
102
  and?: InputMaybe<Array<ApiKeyFilter>>;
94
103
  id?: InputMaybe<StringFieldComparison>;
@@ -106,6 +115,10 @@ export declare enum ApiKeyType {
106
115
  Client = "CLIENT",
107
116
  Server = "SERVER"
108
117
  }
118
+ export declare type ArchivePlanInput = {
119
+ environmentId: Scalars['String'];
120
+ id: Scalars['String'];
121
+ };
109
122
  /** Billing model. */
110
123
  export declare enum BillingModel {
111
124
  FlatFee = "FLAT_FEE",
@@ -163,24 +176,11 @@ export declare type CheckoutAddonInput = {
163
176
  quantity?: InputMaybe<Scalars['Int']>;
164
177
  };
165
178
  export declare type CreateEnvironment = {
166
- description?: InputMaybe<Scalars['String']>;
167
- displayName?: InputMaybe<Scalars['String']>;
168
- id?: InputMaybe<Scalars['String']>;
169
- slug?: InputMaybe<Scalars['String']>;
170
- };
171
- export declare type CreateFeature = {
172
179
  createdAt?: InputMaybe<Scalars['DateTime']>;
173
180
  description?: InputMaybe<Scalars['String']>;
174
181
  displayName?: InputMaybe<Scalars['String']>;
175
- environmentId?: InputMaybe<Scalars['String']>;
176
- featureStatus?: InputMaybe<FeatureStatus>;
177
- featureType?: InputMaybe<FeatureType>;
178
- featureUnits?: InputMaybe<Scalars['String']>;
179
- featureUnitsPlural?: InputMaybe<Scalars['String']>;
180
182
  id?: InputMaybe<Scalars['String']>;
181
- meterType?: InputMaybe<MeterType>;
182
- refId?: InputMaybe<Scalars['String']>;
183
- updatedAt?: InputMaybe<Scalars['DateTime']>;
183
+ slug?: InputMaybe<Scalars['String']>;
184
184
  };
185
185
  export declare type CreateHook = {
186
186
  createdAt?: InputMaybe<Scalars['DateTime']>;
@@ -206,17 +206,13 @@ export declare type CreateManyPromotionalEntitlementsInput = {
206
206
  /** Array of records to create */
207
207
  promotionalEntitlements: Array<PromotionalEntitlementInput>;
208
208
  };
209
- export declare type CreateOneCustomerInput = {
210
- /** The record to create */
211
- customer: CustomerInput;
212
- };
213
209
  export declare type CreateOneEnvironmentInput = {
214
210
  /** The record to create */
215
211
  environment: CreateEnvironment;
216
212
  };
217
213
  export declare type CreateOneFeatureInput = {
218
214
  /** The record to create */
219
- feature: CreateFeature;
215
+ feature: FeatureInput;
220
216
  };
221
217
  export declare type CreateOneHookInput = {
222
218
  /** The record to create */
@@ -244,6 +240,14 @@ export declare type CursorPaging = {
244
240
  /** Paginate last */
245
241
  last?: InputMaybe<Scalars['Int']>;
246
242
  };
243
+ export declare type CustomerBillingInfo = {
244
+ billingAddress?: InputMaybe<Address>;
245
+ currency?: InputMaybe<Currency>;
246
+ language?: InputMaybe<Scalars['String']>;
247
+ shippingAddress?: InputMaybe<Address>;
248
+ taxIds?: InputMaybe<Array<TaxExempt>>;
249
+ timezone?: InputMaybe<Scalars['String']>;
250
+ };
247
251
  export declare type CustomerFilter = {
248
252
  and?: InputMaybe<Array<CustomerFilter>>;
249
253
  billingId?: InputMaybe<StringFieldComparison>;
@@ -262,6 +266,7 @@ export declare type CustomerFilter = {
262
266
  export declare type CustomerFilterCustomerSubscriptionFilter = {
263
267
  and?: InputMaybe<Array<CustomerFilterCustomerSubscriptionFilter>>;
264
268
  billingId?: InputMaybe<StringFieldComparison>;
269
+ createdAt?: InputMaybe<DateFieldComparison>;
265
270
  crmId?: InputMaybe<StringFieldComparison>;
266
271
  endDate?: InputMaybe<DateFieldComparison>;
267
272
  environmentId?: InputMaybe<StringFieldComparison>;
@@ -282,6 +287,7 @@ export declare type CustomerFilterPromotionalEntitlementFilter = {
282
287
  };
283
288
  export declare type CustomerInput = {
284
289
  billingId?: InputMaybe<Scalars['String']>;
290
+ billingInformation?: InputMaybe<CustomerBillingInfo>;
285
291
  crmId?: InputMaybe<Scalars['String']>;
286
292
  email?: InputMaybe<Scalars['String']>;
287
293
  environmentId?: InputMaybe<Scalars['String']>;
@@ -308,6 +314,7 @@ export declare type CustomerSubscriptionFilter = {
308
314
  addons?: InputMaybe<CustomerSubscriptionFilterSubscriptionAddonFilter>;
309
315
  and?: InputMaybe<Array<CustomerSubscriptionFilter>>;
310
316
  billingId?: InputMaybe<StringFieldComparison>;
317
+ createdAt?: InputMaybe<DateFieldComparison>;
311
318
  crmId?: InputMaybe<StringFieldComparison>;
312
319
  customer?: InputMaybe<CustomerSubscriptionFilterCustomerFilter>;
313
320
  endDate?: InputMaybe<DateFieldComparison>;
@@ -334,6 +341,7 @@ export declare type CustomerSubscriptionFilterCustomerFilter = {
334
341
  };
335
342
  export declare type CustomerSubscriptionFilterSubscriptionAddonFilter = {
336
343
  and?: InputMaybe<Array<CustomerSubscriptionFilterSubscriptionAddonFilter>>;
344
+ createdAt?: InputMaybe<DateFieldComparison>;
337
345
  id?: InputMaybe<StringFieldComparison>;
338
346
  or?: InputMaybe<Array<CustomerSubscriptionFilterSubscriptionAddonFilter>>;
339
347
  quantity?: InputMaybe<NumberFieldComparison>;
@@ -341,6 +349,7 @@ export declare type CustomerSubscriptionFilterSubscriptionAddonFilter = {
341
349
  };
342
350
  export declare type CustomerSubscriptionFilterSubscriptionPriceFilter = {
343
351
  and?: InputMaybe<Array<CustomerSubscriptionFilterSubscriptionPriceFilter>>;
352
+ createdAt?: InputMaybe<DateFieldComparison>;
344
353
  id?: InputMaybe<StringFieldComparison>;
345
354
  or?: InputMaybe<Array<CustomerSubscriptionFilterSubscriptionPriceFilter>>;
346
355
  updatedAt?: InputMaybe<DateFieldComparison>;
@@ -353,6 +362,7 @@ export declare type CustomerSubscriptionSort = {
353
362
  };
354
363
  export declare enum CustomerSubscriptionSortFields {
355
364
  BillingId = "billingId",
365
+ CreatedAt = "createdAt",
356
366
  CrmId = "crmId",
357
367
  EndDate = "endDate",
358
368
  EnvironmentId = "environmentId",
@@ -380,8 +390,8 @@ export declare type DateFieldComparisonBetween = {
380
390
  upper: Scalars['DateTime'];
381
391
  };
382
392
  export declare type DefaultTrialConfigInputDto = {
383
- duration: Scalars['Float'];
384
- units: TrialPeriodUnits;
393
+ duration?: InputMaybe<Scalars['Float']>;
394
+ units?: InputMaybe<TrialPeriodUnits>;
385
395
  };
386
396
  export declare type DeleteOneAddonInput = {
387
397
  /** The id of the record to delete. */
@@ -463,6 +473,7 @@ export declare enum EntitlementResetPeriod {
463
473
  }
464
474
  export declare type EnvironmentFilter = {
465
475
  and?: InputMaybe<Array<EnvironmentFilter>>;
476
+ createdAt?: InputMaybe<DateFieldComparison>;
466
477
  displayName?: InputMaybe<StringFieldComparison>;
467
478
  id?: InputMaybe<StringFieldComparison>;
468
479
  or?: InputMaybe<Array<EnvironmentFilter>>;
@@ -473,19 +484,25 @@ export declare type EnvironmentSort = {
473
484
  nulls?: InputMaybe<SortNulls>;
474
485
  };
475
486
  export declare enum EnvironmentSortFields {
487
+ CreatedAt = "createdAt",
476
488
  DisplayName = "displayName",
477
489
  Id = "id"
478
490
  }
479
491
  /** error codes */
480
492
  export declare enum ErrorCode {
481
493
  AddonNotFound = "AddonNotFound",
494
+ BadUserInput = "BadUserInput",
495
+ BillingPeriodMissingError = "BillingPeriodMissingError",
482
496
  CheckoutIsNotSupported = "CheckoutIsNotSupported",
497
+ CustomerHasNoPaymentMethod = "CustomerHasNoPaymentMethod",
483
498
  CustomerNotFound = "CustomerNotFound",
499
+ DraftPlanCantBeArchived = "DraftPlanCantBeArchived",
484
500
  DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed",
485
501
  EnvironmentMissing = "EnvironmentMissing",
486
502
  FeatureNotFound = "FeatureNotFound",
487
503
  IdentityForbidden = "IdentityForbidden",
488
504
  IntegrityViolation = "IntegrityViolation",
505
+ InvalidAddressError = "InvalidAddressError",
489
506
  InvalidEntitlementResetPeriod = "InvalidEntitlementResetPeriod",
490
507
  InvalidMemberDelete = "InvalidMemberDelete",
491
508
  InvalidUsageValueForIncrementalFeatureError = "InvalidUsageValueForIncrementalFeatureError",
@@ -496,11 +513,14 @@ export declare enum ErrorCode {
496
513
  PackageAlreadyPublished = "PackageAlreadyPublished",
497
514
  PlanAlreadyExtended = "PlanAlreadyExtended",
498
515
  PlanNotFound = "PlanNotFound",
516
+ PlanWithChildCantBeDeleted = "PlanWithChildCantBeDeleted",
499
517
  PlansCircularDependencyError = "PlansCircularDependencyError",
500
518
  PriceNotFound = "PriceNotFound",
519
+ RateLimitExceeded = "RateLimitExceeded",
501
520
  SubscriptionNotFound = "SubscriptionNotFound",
502
521
  TrialsNotAllowedInProduct = "TrialsNotAllowedInProduct",
503
522
  UnPublishedPackage = "UnPublishedPackage",
523
+ Unauthenticated = "Unauthenticated",
504
524
  UncompatibleSubscriptionAddon = "UncompatibleSubscriptionAddon",
505
525
  UnexpectedError = "UnexpectedError",
506
526
  UnsupportedFeatureType = "UnsupportedFeatureType",
@@ -552,6 +572,17 @@ export declare type FeatureFilter = {
552
572
  refId?: InputMaybe<StringFieldComparison>;
553
573
  updatedAt?: InputMaybe<DateFieldComparison>;
554
574
  };
575
+ export declare type FeatureInput = {
576
+ description?: InputMaybe<Scalars['String']>;
577
+ displayName?: InputMaybe<Scalars['String']>;
578
+ environmentId: Scalars['String'];
579
+ featureStatus?: InputMaybe<FeatureStatus>;
580
+ featureType: FeatureType;
581
+ featureUnits?: InputMaybe<Scalars['String']>;
582
+ featureUnitsPlural?: InputMaybe<Scalars['String']>;
583
+ meterType?: InputMaybe<MeterType>;
584
+ refId: Scalars['String'];
585
+ };
555
586
  export declare type FeatureSort = {
556
587
  direction: SortDirection;
557
588
  field: FeatureSortFields;
@@ -698,6 +729,7 @@ export declare type IntFieldComparisonBetween = {
698
729
  };
699
730
  export declare type IntegrationFilter = {
700
731
  and?: InputMaybe<Array<IntegrationFilter>>;
732
+ createdAt?: InputMaybe<DateFieldComparison>;
701
733
  environmentId?: InputMaybe<StringFieldComparison>;
702
734
  id?: InputMaybe<StringFieldComparison>;
703
735
  or?: InputMaybe<Array<IntegrationFilter>>;
@@ -709,12 +741,14 @@ export declare type IntegrationSort = {
709
741
  nulls?: InputMaybe<SortNulls>;
710
742
  };
711
743
  export declare enum IntegrationSortFields {
744
+ CreatedAt = "createdAt",
712
745
  EnvironmentId = "environmentId",
713
746
  Id = "id",
714
747
  VendorIdentifier = "vendorIdentifier"
715
748
  }
716
749
  export declare type MemberFilter = {
717
750
  and?: InputMaybe<Array<MemberFilter>>;
751
+ createdAt?: InputMaybe<DateFieldComparison>;
718
752
  id?: InputMaybe<StringFieldComparison>;
719
753
  or?: InputMaybe<Array<MemberFilter>>;
720
754
  };
@@ -724,6 +758,7 @@ export declare type MemberSort = {
724
758
  nulls?: InputMaybe<SortNulls>;
725
759
  };
726
760
  export declare enum MemberSortFields {
761
+ CreatedAt = "createdAt",
727
762
  Id = "id"
728
763
  }
729
764
  /** Member Status. */
@@ -783,6 +818,41 @@ export declare type NumberFieldComparisonBetween = {
783
818
  lower: Scalars['Float'];
784
819
  upper: Scalars['Float'];
785
820
  };
821
+ export declare type PackageDtoFilter = {
822
+ and?: InputMaybe<Array<PackageDtoFilter>>;
823
+ billingId?: InputMaybe<StringFieldComparison>;
824
+ createdAt?: InputMaybe<DateFieldComparison>;
825
+ description?: InputMaybe<StringFieldComparison>;
826
+ displayName?: InputMaybe<StringFieldComparison>;
827
+ environmentId?: InputMaybe<StringFieldComparison>;
828
+ id?: InputMaybe<StringFieldComparison>;
829
+ isLatest?: InputMaybe<BooleanFieldComparison>;
830
+ or?: InputMaybe<Array<PackageDtoFilter>>;
831
+ productId?: InputMaybe<StringFieldComparison>;
832
+ refId?: InputMaybe<StringFieldComparison>;
833
+ status?: InputMaybe<PackageStatusFilterComparison>;
834
+ updatedAt?: InputMaybe<DateFieldComparison>;
835
+ versionNumber?: InputMaybe<IntFieldComparison>;
836
+ };
837
+ export declare type PackageDtoSort = {
838
+ direction: SortDirection;
839
+ field: PackageDtoSortFields;
840
+ nulls?: InputMaybe<SortNulls>;
841
+ };
842
+ export declare enum PackageDtoSortFields {
843
+ BillingId = "billingId",
844
+ CreatedAt = "createdAt",
845
+ Description = "description",
846
+ DisplayName = "displayName",
847
+ EnvironmentId = "environmentId",
848
+ Id = "id",
849
+ IsLatest = "isLatest",
850
+ ProductId = "productId",
851
+ RefId = "refId",
852
+ Status = "status",
853
+ UpdatedAt = "updatedAt",
854
+ VersionNumber = "versionNumber"
855
+ }
786
856
  export declare type PackageEntitlementFilter = {
787
857
  and?: InputMaybe<Array<PackageEntitlementFilter>>;
788
858
  createdAt?: InputMaybe<DateFieldComparison>;
@@ -861,6 +931,7 @@ export declare type PackagePublishInput = {
861
931
  };
862
932
  /** Package status. */
863
933
  export declare enum PackageStatus {
934
+ Archived = "ARCHIVED",
864
935
  Draft = "DRAFT",
865
936
  Published = "PUBLISHED"
866
937
  }
@@ -887,7 +958,7 @@ export declare type PlanCreateInput = {
887
958
  environmentId: Scalars['String'];
888
959
  parentPlanId?: InputMaybe<Scalars['String']>;
889
960
  productId: Scalars['String'];
890
- refId: Scalars['String'];
961
+ refId?: InputMaybe<Scalars['String']>;
891
962
  status?: InputMaybe<PackageStatus>;
892
963
  };
893
964
  export declare type PlanFilter = {
@@ -959,6 +1030,7 @@ export declare type PriceFilter = {
959
1030
  and?: InputMaybe<Array<PriceFilter>>;
960
1031
  billingModel?: InputMaybe<BillingModelFilterComparison>;
961
1032
  billingPeriod?: InputMaybe<BillingPeriodFilterComparison>;
1033
+ createdAt?: InputMaybe<DateFieldComparison>;
962
1034
  id?: InputMaybe<StringFieldComparison>;
963
1035
  or?: InputMaybe<Array<PriceFilter>>;
964
1036
  package?: InputMaybe<PriceFilterPackageDtoFilter>;
@@ -987,6 +1059,7 @@ export declare type PriceSort = {
987
1059
  export declare enum PriceSortFields {
988
1060
  BillingModel = "billingModel",
989
1061
  BillingPeriod = "billingPeriod",
1062
+ CreatedAt = "createdAt",
990
1063
  Id = "id"
991
1064
  }
992
1065
  export declare type PriceUpdateInput = {
@@ -1181,6 +1254,7 @@ export declare type StripeCredentialsInput = {
1181
1254
  export declare type SubscriptionAddonFilter = {
1182
1255
  addon?: InputMaybe<SubscriptionAddonFilterAddonFilter>;
1183
1256
  and?: InputMaybe<Array<SubscriptionAddonFilter>>;
1257
+ createdAt?: InputMaybe<DateFieldComparison>;
1184
1258
  id?: InputMaybe<StringFieldComparison>;
1185
1259
  or?: InputMaybe<Array<SubscriptionAddonFilter>>;
1186
1260
  price?: InputMaybe<SubscriptionAddonFilterPriceFilter>;
@@ -1207,6 +1281,7 @@ export declare type SubscriptionAddonFilterAddonFilter = {
1207
1281
  export declare type SubscriptionAddonFilterCustomerSubscriptionFilter = {
1208
1282
  and?: InputMaybe<Array<SubscriptionAddonFilterCustomerSubscriptionFilter>>;
1209
1283
  billingId?: InputMaybe<StringFieldComparison>;
1284
+ createdAt?: InputMaybe<DateFieldComparison>;
1210
1285
  crmId?: InputMaybe<StringFieldComparison>;
1211
1286
  endDate?: InputMaybe<DateFieldComparison>;
1212
1287
  environmentId?: InputMaybe<StringFieldComparison>;
@@ -1220,12 +1295,13 @@ export declare type SubscriptionAddonFilterPriceFilter = {
1220
1295
  and?: InputMaybe<Array<SubscriptionAddonFilterPriceFilter>>;
1221
1296
  billingModel?: InputMaybe<BillingModelFilterComparison>;
1222
1297
  billingPeriod?: InputMaybe<BillingPeriodFilterComparison>;
1298
+ createdAt?: InputMaybe<DateFieldComparison>;
1223
1299
  id?: InputMaybe<StringFieldComparison>;
1224
1300
  or?: InputMaybe<Array<SubscriptionAddonFilterPriceFilter>>;
1225
1301
  };
1226
1302
  export declare type SubscriptionAddonInput = {
1227
1303
  addonId: Scalars['String'];
1228
- billingPeriod: BillingPeriod;
1304
+ billingPeriod?: InputMaybe<BillingPeriod>;
1229
1305
  quantity?: InputMaybe<Scalars['Int']>;
1230
1306
  };
1231
1307
  export declare type SubscriptionAddonSort = {
@@ -1234,6 +1310,7 @@ export declare type SubscriptionAddonSort = {
1234
1310
  nulls?: InputMaybe<SortNulls>;
1235
1311
  };
1236
1312
  export declare enum SubscriptionAddonSortFields {
1313
+ CreatedAt = "createdAt",
1237
1314
  Id = "id",
1238
1315
  Quantity = "quantity",
1239
1316
  UpdatedAt = "updatedAt"
@@ -1255,22 +1332,43 @@ export declare enum SubscriptionEndSetup {
1255
1332
  export declare type SubscriptionInput = {
1256
1333
  addons?: InputMaybe<Array<SubscriptionAddonInput>>;
1257
1334
  billingId?: InputMaybe<Scalars['String']>;
1258
- billingPeriod: BillingPeriod;
1335
+ billingPeriod?: InputMaybe<BillingPeriod>;
1259
1336
  crmId?: InputMaybe<Scalars['String']>;
1260
1337
  customerId: Scalars['String'];
1261
1338
  endDate?: InputMaybe<Scalars['DateTime']>;
1262
1339
  environmentId: Scalars['String'];
1340
+ isOverridingTrialConfig?: InputMaybe<Scalars['Boolean']>;
1263
1341
  isTrial?: InputMaybe<Scalars['Boolean']>;
1264
- planId: Scalars['String'];
1342
+ planId?: InputMaybe<Scalars['String']>;
1265
1343
  priceUnitAmount?: InputMaybe<Scalars['Float']>;
1266
1344
  refId?: InputMaybe<Scalars['String']>;
1267
- startDate: Scalars['DateTime'];
1345
+ startDate?: InputMaybe<Scalars['DateTime']>;
1268
1346
  };
1269
1347
  export declare type SubscriptionMigrationInput = {
1270
1348
  subscriptionId: Scalars['String'];
1271
1349
  };
1350
+ export declare type SubscriptionMigrationTaskFilter = {
1351
+ and?: InputMaybe<Array<SubscriptionMigrationTaskFilter>>;
1352
+ createdAt?: InputMaybe<DateFieldComparison>;
1353
+ id?: InputMaybe<StringFieldComparison>;
1354
+ or?: InputMaybe<Array<SubscriptionMigrationTaskFilter>>;
1355
+ status?: InputMaybe<TaskStatusFilterComparison>;
1356
+ taskType?: InputMaybe<TaskTypeFilterComparison>;
1357
+ };
1358
+ export declare type SubscriptionMigrationTaskSort = {
1359
+ direction: SortDirection;
1360
+ field: SubscriptionMigrationTaskSortFields;
1361
+ nulls?: InputMaybe<SortNulls>;
1362
+ };
1363
+ export declare enum SubscriptionMigrationTaskSortFields {
1364
+ CreatedAt = "createdAt",
1365
+ Id = "id",
1366
+ Status = "status",
1367
+ TaskType = "taskType"
1368
+ }
1272
1369
  export declare type SubscriptionPriceFilter = {
1273
1370
  and?: InputMaybe<Array<SubscriptionPriceFilter>>;
1371
+ createdAt?: InputMaybe<DateFieldComparison>;
1274
1372
  id?: InputMaybe<StringFieldComparison>;
1275
1373
  or?: InputMaybe<Array<SubscriptionPriceFilter>>;
1276
1374
  price?: InputMaybe<SubscriptionPriceFilterPriceFilter>;
@@ -1281,6 +1379,7 @@ export declare type SubscriptionPriceFilter = {
1281
1379
  export declare type SubscriptionPriceFilterCustomerSubscriptionFilter = {
1282
1380
  and?: InputMaybe<Array<SubscriptionPriceFilterCustomerSubscriptionFilter>>;
1283
1381
  billingId?: InputMaybe<StringFieldComparison>;
1382
+ createdAt?: InputMaybe<DateFieldComparison>;
1284
1383
  crmId?: InputMaybe<StringFieldComparison>;
1285
1384
  endDate?: InputMaybe<DateFieldComparison>;
1286
1385
  environmentId?: InputMaybe<StringFieldComparison>;
@@ -1294,6 +1393,7 @@ export declare type SubscriptionPriceFilterPriceFilter = {
1294
1393
  and?: InputMaybe<Array<SubscriptionPriceFilterPriceFilter>>;
1295
1394
  billingModel?: InputMaybe<BillingModelFilterComparison>;
1296
1395
  billingPeriod?: InputMaybe<BillingPeriodFilterComparison>;
1396
+ createdAt?: InputMaybe<DateFieldComparison>;
1297
1397
  id?: InputMaybe<StringFieldComparison>;
1298
1398
  or?: InputMaybe<Array<SubscriptionPriceFilterPriceFilter>>;
1299
1399
  };
@@ -1303,6 +1403,7 @@ export declare type SubscriptionPriceSort = {
1303
1403
  nulls?: InputMaybe<SortNulls>;
1304
1404
  };
1305
1405
  export declare enum SubscriptionPriceSortFields {
1406
+ CreatedAt = "createdAt",
1306
1407
  Id = "id",
1307
1408
  UpdatedAt = "updatedAt",
1308
1409
  UsageLimit = "usageLimit"
@@ -1331,6 +1432,52 @@ export declare type SubscriptionStatusFilterComparison = {
1331
1432
  notIn?: InputMaybe<Array<SubscriptionStatus>>;
1332
1433
  notLike?: InputMaybe<SubscriptionStatus>;
1333
1434
  };
1435
+ export declare enum TaskStatus {
1436
+ Completed = "COMPLETED",
1437
+ Failed = "FAILED",
1438
+ InProgress = "IN_PROGRESS",
1439
+ PartiallyCompleted = "PARTIALLY_COMPLETED",
1440
+ Pending = "PENDING"
1441
+ }
1442
+ export declare type TaskStatusFilterComparison = {
1443
+ eq?: InputMaybe<TaskStatus>;
1444
+ gt?: InputMaybe<TaskStatus>;
1445
+ gte?: InputMaybe<TaskStatus>;
1446
+ iLike?: InputMaybe<TaskStatus>;
1447
+ in?: InputMaybe<Array<TaskStatus>>;
1448
+ is?: InputMaybe<Scalars['Boolean']>;
1449
+ isNot?: InputMaybe<Scalars['Boolean']>;
1450
+ like?: InputMaybe<TaskStatus>;
1451
+ lt?: InputMaybe<TaskStatus>;
1452
+ lte?: InputMaybe<TaskStatus>;
1453
+ neq?: InputMaybe<TaskStatus>;
1454
+ notILike?: InputMaybe<TaskStatus>;
1455
+ notIn?: InputMaybe<Array<TaskStatus>>;
1456
+ notLike?: InputMaybe<TaskStatus>;
1457
+ };
1458
+ export declare enum TaskType {
1459
+ SubscriptionMigration = "SUBSCRIPTION_MIGRATION"
1460
+ }
1461
+ export declare type TaskTypeFilterComparison = {
1462
+ eq?: InputMaybe<TaskType>;
1463
+ gt?: InputMaybe<TaskType>;
1464
+ gte?: InputMaybe<TaskType>;
1465
+ iLike?: InputMaybe<TaskType>;
1466
+ in?: InputMaybe<Array<TaskType>>;
1467
+ is?: InputMaybe<Scalars['Boolean']>;
1468
+ isNot?: InputMaybe<Scalars['Boolean']>;
1469
+ like?: InputMaybe<TaskType>;
1470
+ lt?: InputMaybe<TaskType>;
1471
+ lte?: InputMaybe<TaskType>;
1472
+ neq?: InputMaybe<TaskType>;
1473
+ notILike?: InputMaybe<TaskType>;
1474
+ notIn?: InputMaybe<Array<TaskType>>;
1475
+ notLike?: InputMaybe<TaskType>;
1476
+ };
1477
+ export declare type TaxExempt = {
1478
+ type: Scalars['String'];
1479
+ value: Scalars['String'];
1480
+ };
1334
1481
  export declare type TestHookInput = {
1335
1482
  endpointUrl: Scalars['String'];
1336
1483
  hookEventType: EventLogType;
@@ -1340,19 +1487,17 @@ export declare enum TrialPeriodUnits {
1340
1487
  Day = "DAY",
1341
1488
  Month = "MONTH"
1342
1489
  }
1343
- export declare type UpdateCustomer = {
1490
+ export declare type UpdateCustomerInput = {
1344
1491
  billingId?: InputMaybe<Scalars['String']>;
1345
- billingLinkUrl?: InputMaybe<Scalars['String']>;
1346
- createdAt?: InputMaybe<Scalars['DateTime']>;
1492
+ billingInformation?: InputMaybe<CustomerBillingInfo>;
1347
1493
  crmId?: InputMaybe<Scalars['String']>;
1348
1494
  email?: InputMaybe<Scalars['String']>;
1349
1495
  environmentId?: InputMaybe<Scalars['String']>;
1350
- id?: InputMaybe<Scalars['String']>;
1351
1496
  name?: InputMaybe<Scalars['String']>;
1352
- refId?: InputMaybe<Scalars['String']>;
1353
- updatedAt?: InputMaybe<Scalars['DateTime']>;
1497
+ refId: Scalars['String'];
1354
1498
  };
1355
1499
  export declare type UpdateEnvironment = {
1500
+ createdAt?: InputMaybe<Scalars['DateTime']>;
1356
1501
  description?: InputMaybe<Scalars['String']>;
1357
1502
  displayName?: InputMaybe<Scalars['String']>;
1358
1503
  id?: InputMaybe<Scalars['String']>;
@@ -1387,12 +1532,6 @@ export declare type UpdateIntegrationInput = {
1387
1532
  vendorIdentifier: VendorIdentifier;
1388
1533
  zuoraCredentials?: InputMaybe<ZuoraCredentialsInput>;
1389
1534
  };
1390
- export declare type UpdateOneCustomerInput = {
1391
- /** The id of the record to update */
1392
- id: Scalars['String'];
1393
- /** The update to apply. */
1394
- update: UpdateCustomer;
1395
- };
1396
1535
  export declare type UpdateOneEnvironmentInput = {
1397
1536
  /** The id of the record to update */
1398
1537
  id: Scalars['String'];
@@ -1656,8 +1795,9 @@ export declare type CustomerFragment = {
1656
1795
  id: string;
1657
1796
  name?: string | null | undefined;
1658
1797
  email?: string | null | undefined;
1659
- createdAt: any;
1798
+ createdAt?: any | null | undefined;
1660
1799
  updatedAt: any;
1800
+ hasPaymentMethod: boolean;
1661
1801
  refId: string;
1662
1802
  promotionalEntitlements: Array<{
1663
1803
  __typename?: 'PromotionalEntitlement';
@@ -1767,6 +1907,9 @@ export declare type AddonFragment = {
1767
1907
  entitlements?: Array<{
1768
1908
  __typename?: 'PackageEntitlement';
1769
1909
  } & PackageEntitlementFragment> | null | undefined;
1910
+ prices?: Array<{
1911
+ __typename?: 'Price';
1912
+ } & PriceFragment> | null | undefined;
1770
1913
  };
1771
1914
  export declare type PlanFragment = {
1772
1915
  __typename?: 'Plan';
@@ -1778,6 +1921,7 @@ export declare type PlanFragment = {
1778
1921
  __typename?: 'Product';
1779
1922
  refId: string;
1780
1923
  displayName?: string | null | undefined;
1924
+ description?: string | null | undefined;
1781
1925
  };
1782
1926
  basePlan?: {
1783
1927
  __typename?: 'Plan';