@stigg/node-server-sdk 0.19.0 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/entitlements/entitlementsApi.d.ts +1 -4
- package/dist/api/entitlements/entitlementsApi.js +1 -16
- package/dist/api/generated/types.d.ts +125 -835
- package/dist/api/generated/types.js +37 -14
- package/dist/api/initApolloClient.d.ts +2 -2
- package/dist/api/initApolloClient.js +3 -3
- package/dist/api/managementApi.d.ts +3 -2
- package/dist/api/managementApi.js +30 -1
- package/dist/client.d.ts +51 -17
- package/dist/client.js +83 -51
- package/dist/configuration.d.ts +3 -11
- package/dist/configuration.js +7 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models.d.ts +89 -41
- package/dist/models.js +39 -15
- package/dist/services/cache/cachedEntitlement.d.ts +2 -5
- package/dist/services/cache/cachedEntitlement.js +1 -1
- package/dist/services/entitlementDecisionService.d.ts +2 -2
- package/dist/services/entitlementDecisionService.js +12 -14
- package/dist/services/entitlementsService.d.ts +8 -2
- package/dist/services/entitlementsService.js +71 -21
- package/dist/services/generateRandomSlug.d.ts +1 -0
- package/dist/services/generateRandomSlug.js +10 -0
- package/dist/services/loggerService.d.ts +8 -1
- package/dist/services/loggerService.js +1 -1
- package/dist/utils/ModelMapper.d.ts +7 -3
- package/dist/utils/ModelMapper.js +64 -58
- package/package.json +6 -2
|
@@ -31,48 +31,12 @@ export declare enum AccessDeniedReason {
|
|
|
31
31
|
RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit",
|
|
32
32
|
Unknown = "Unknown"
|
|
33
33
|
}
|
|
34
|
-
export declare type AddAddonsToCustomerSubscriptionInput = {
|
|
35
|
-
/** The id of the record. */
|
|
36
|
-
id: Scalars['String'];
|
|
37
|
-
/** The ids of the relations. */
|
|
38
|
-
relationIds: Array<Scalars['String']>;
|
|
39
|
-
};
|
|
40
|
-
export declare type AddApiKeysToEnvironmentInput = {
|
|
41
|
-
/** The id of the record. */
|
|
42
|
-
id: Scalars['String'];
|
|
43
|
-
/** The ids of the relations. */
|
|
44
|
-
relationIds: Array<Scalars['String']>;
|
|
45
|
-
};
|
|
46
34
|
export declare type AddCompatibleAddonsToPlanInput = {
|
|
47
35
|
/** The id of the record. */
|
|
48
36
|
id: Scalars['String'];
|
|
49
37
|
/** The ids of the relations. */
|
|
50
38
|
relationIds: Array<Scalars['String']>;
|
|
51
39
|
};
|
|
52
|
-
export declare type AddPricesToAddonInput = {
|
|
53
|
-
/** The id of the record. */
|
|
54
|
-
id: Scalars['String'];
|
|
55
|
-
/** The ids of the relations. */
|
|
56
|
-
relationIds: Array<Scalars['String']>;
|
|
57
|
-
};
|
|
58
|
-
export declare type AddPricesToCustomerSubscriptionInput = {
|
|
59
|
-
/** The id of the record. */
|
|
60
|
-
id: Scalars['String'];
|
|
61
|
-
/** The ids of the relations. */
|
|
62
|
-
relationIds: Array<Scalars['String']>;
|
|
63
|
-
};
|
|
64
|
-
export declare type AddPricesToPlanInput = {
|
|
65
|
-
/** The id of the record. */
|
|
66
|
-
id: Scalars['String'];
|
|
67
|
-
/** The ids of the relations. */
|
|
68
|
-
relationIds: Array<Scalars['String']>;
|
|
69
|
-
};
|
|
70
|
-
export declare type AddSubscriptionsToCustomerInput = {
|
|
71
|
-
/** The id of the record. */
|
|
72
|
-
id: Scalars['String'];
|
|
73
|
-
/** The ids of the relations. */
|
|
74
|
-
relationIds: Array<Scalars['String']>;
|
|
75
|
-
};
|
|
76
40
|
export declare type AddonCreateInput = {
|
|
77
41
|
billingId?: Maybe<Scalars['String']>;
|
|
78
42
|
description?: Maybe<Scalars['String']>;
|
|
@@ -82,20 +46,6 @@ export declare type AddonCreateInput = {
|
|
|
82
46
|
refId: Scalars['String'];
|
|
83
47
|
status?: Maybe<PackageStatus>;
|
|
84
48
|
};
|
|
85
|
-
export declare type AddonDeleteFilter = {
|
|
86
|
-
and?: Maybe<Array<AddonDeleteFilter>>;
|
|
87
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
88
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
89
|
-
description?: Maybe<StringFieldComparison>;
|
|
90
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
91
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
92
|
-
id?: Maybe<StringFieldComparison>;
|
|
93
|
-
or?: Maybe<Array<AddonDeleteFilter>>;
|
|
94
|
-
productId?: Maybe<StringFieldComparison>;
|
|
95
|
-
refId?: Maybe<StringFieldComparison>;
|
|
96
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
97
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
98
|
-
};
|
|
99
49
|
export declare type AddonFilter = {
|
|
100
50
|
and?: Maybe<Array<AddonFilter>>;
|
|
101
51
|
billingId?: Maybe<StringFieldComparison>;
|
|
@@ -104,11 +54,13 @@ export declare type AddonFilter = {
|
|
|
104
54
|
displayName?: Maybe<StringFieldComparison>;
|
|
105
55
|
environmentId?: Maybe<StringFieldComparison>;
|
|
106
56
|
id?: Maybe<StringFieldComparison>;
|
|
57
|
+
isLatest?: Maybe<BooleanFieldComparison>;
|
|
107
58
|
or?: Maybe<Array<AddonFilter>>;
|
|
108
59
|
productId?: Maybe<StringFieldComparison>;
|
|
109
60
|
refId?: Maybe<StringFieldComparison>;
|
|
110
61
|
status?: Maybe<PackageStatusFilterComparison>;
|
|
111
62
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
63
|
+
versionNumber?: Maybe<IntFieldComparison>;
|
|
112
64
|
};
|
|
113
65
|
export declare type AddonSort = {
|
|
114
66
|
direction: SortDirection;
|
|
@@ -122,29 +74,18 @@ export declare enum AddonSortFields {
|
|
|
122
74
|
DisplayName = "displayName",
|
|
123
75
|
EnvironmentId = "environmentId",
|
|
124
76
|
Id = "id",
|
|
77
|
+
IsLatest = "isLatest",
|
|
125
78
|
ProductId = "productId",
|
|
126
79
|
RefId = "refId",
|
|
127
80
|
Status = "status",
|
|
128
|
-
UpdatedAt = "updatedAt"
|
|
81
|
+
UpdatedAt = "updatedAt",
|
|
82
|
+
VersionNumber = "versionNumber"
|
|
129
83
|
}
|
|
130
|
-
export declare type AddonUpdateFilter = {
|
|
131
|
-
and?: Maybe<Array<AddonUpdateFilter>>;
|
|
132
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
133
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
134
|
-
description?: Maybe<StringFieldComparison>;
|
|
135
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
136
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
137
|
-
id?: Maybe<StringFieldComparison>;
|
|
138
|
-
or?: Maybe<Array<AddonUpdateFilter>>;
|
|
139
|
-
productId?: Maybe<StringFieldComparison>;
|
|
140
|
-
refId?: Maybe<StringFieldComparison>;
|
|
141
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
142
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
143
|
-
};
|
|
144
84
|
export declare type AddonUpdateInput = {
|
|
145
85
|
billingId?: Maybe<Scalars['String']>;
|
|
146
86
|
description?: Maybe<Scalars['String']>;
|
|
147
87
|
displayName: Scalars['String'];
|
|
88
|
+
id: Scalars['String'];
|
|
148
89
|
status?: Maybe<PackageStatus>;
|
|
149
90
|
};
|
|
150
91
|
export declare type ApiKeyFilter = {
|
|
@@ -211,6 +152,11 @@ export declare type BooleanFieldComparison = {
|
|
|
211
152
|
is?: Maybe<Scalars['Boolean']>;
|
|
212
153
|
isNot?: Maybe<Scalars['Boolean']>;
|
|
213
154
|
};
|
|
155
|
+
export declare enum ChangeType {
|
|
156
|
+
Added = "ADDED",
|
|
157
|
+
Deleted = "DELETED",
|
|
158
|
+
Modified = "MODIFIED"
|
|
159
|
+
}
|
|
214
160
|
export declare type CheckoutAddonInput = {
|
|
215
161
|
addonId: Scalars['String'];
|
|
216
162
|
quantity?: Maybe<Scalars['Int']>;
|
|
@@ -251,42 +197,14 @@ export declare type CreateIntegrationInput = {
|
|
|
251
197
|
vendorIdentifier: VendorIdentifier;
|
|
252
198
|
zuoraCredentials?: Maybe<ZuoraCredentialsInput>;
|
|
253
199
|
};
|
|
254
|
-
export declare type CreateManyAddonsInput = {
|
|
255
|
-
/** Array of records to create */
|
|
256
|
-
addons: Array<AddonCreateInput>;
|
|
257
|
-
};
|
|
258
|
-
export declare type CreateManyCustomersInput = {
|
|
259
|
-
/** Array of records to create */
|
|
260
|
-
customers: Array<CustomerInput>;
|
|
261
|
-
};
|
|
262
|
-
export declare type CreateManyEnvironmentsInput = {
|
|
263
|
-
/** Array of records to create */
|
|
264
|
-
environments: Array<CreateEnvironment>;
|
|
265
|
-
};
|
|
266
|
-
export declare type CreateManyHooksInput = {
|
|
267
|
-
/** Array of records to create */
|
|
268
|
-
hooks: Array<CreateHook>;
|
|
269
|
-
};
|
|
270
|
-
export declare type CreateManyIntegrationsInput = {
|
|
271
|
-
/** Array of records to create */
|
|
272
|
-
integrations: Array<CreateIntegrationInput>;
|
|
273
|
-
};
|
|
274
200
|
export declare type CreateManyPackageEntitlementsInput = {
|
|
275
201
|
/** Array of records to create */
|
|
276
202
|
packageEntitlements: Array<PackageEntitlementInput>;
|
|
277
203
|
};
|
|
278
|
-
export declare type CreateManyProductsInput = {
|
|
279
|
-
/** Array of records to create */
|
|
280
|
-
products: Array<ProductCreateInput>;
|
|
281
|
-
};
|
|
282
204
|
export declare type CreateManyPromotionalEntitlementsInput = {
|
|
283
205
|
/** Array of records to create */
|
|
284
206
|
promotionalEntitlements: Array<PromotionalEntitlementInput>;
|
|
285
207
|
};
|
|
286
|
-
export declare type CreateOneAddonInput = {
|
|
287
|
-
/** The record to create */
|
|
288
|
-
addon: AddonCreateInput;
|
|
289
|
-
};
|
|
290
208
|
export declare type CreateOneCustomerInput = {
|
|
291
209
|
/** The record to create */
|
|
292
210
|
customer: CustomerInput;
|
|
@@ -307,18 +225,10 @@ export declare type CreateOneIntegrationInput = {
|
|
|
307
225
|
/** The record to create */
|
|
308
226
|
integration: CreateIntegrationInput;
|
|
309
227
|
};
|
|
310
|
-
export declare type CreateOnePackageEntitlementInput = {
|
|
311
|
-
/** The record to create */
|
|
312
|
-
packageEntitlement: PackageEntitlementInput;
|
|
313
|
-
};
|
|
314
228
|
export declare type CreateOneProductInput = {
|
|
315
229
|
/** The record to create */
|
|
316
230
|
product: ProductCreateInput;
|
|
317
231
|
};
|
|
318
|
-
export declare type CreateOnePromotionalEntitlementInput = {
|
|
319
|
-
/** The record to create */
|
|
320
|
-
promotionalEntitlement: PromotionalEntitlementInput;
|
|
321
|
-
};
|
|
322
232
|
/** Currency */
|
|
323
233
|
export declare enum Currency {
|
|
324
234
|
Usd = "USD"
|
|
@@ -333,19 +243,6 @@ export declare type CursorPaging = {
|
|
|
333
243
|
/** Paginate last */
|
|
334
244
|
last?: Maybe<Scalars['Int']>;
|
|
335
245
|
};
|
|
336
|
-
export declare type CustomerDeleteFilter = {
|
|
337
|
-
and?: Maybe<Array<CustomerDeleteFilter>>;
|
|
338
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
339
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
340
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
341
|
-
email?: Maybe<StringFieldComparison>;
|
|
342
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
343
|
-
id?: Maybe<StringFieldComparison>;
|
|
344
|
-
name?: Maybe<StringFieldComparison>;
|
|
345
|
-
or?: Maybe<Array<CustomerDeleteFilter>>;
|
|
346
|
-
refId?: Maybe<StringFieldComparison>;
|
|
347
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
348
|
-
};
|
|
349
246
|
export declare type CustomerFilter = {
|
|
350
247
|
and?: Maybe<Array<CustomerFilter>>;
|
|
351
248
|
billingId?: Maybe<StringFieldComparison>;
|
|
@@ -463,19 +360,6 @@ export declare enum CustomerSubscriptionSortFields {
|
|
|
463
360
|
StartDate = "startDate",
|
|
464
361
|
Status = "status"
|
|
465
362
|
}
|
|
466
|
-
export declare type CustomerUpdateFilter = {
|
|
467
|
-
and?: Maybe<Array<CustomerUpdateFilter>>;
|
|
468
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
469
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
470
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
471
|
-
email?: Maybe<StringFieldComparison>;
|
|
472
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
473
|
-
id?: Maybe<StringFieldComparison>;
|
|
474
|
-
name?: Maybe<StringFieldComparison>;
|
|
475
|
-
or?: Maybe<Array<CustomerUpdateFilter>>;
|
|
476
|
-
refId?: Maybe<StringFieldComparison>;
|
|
477
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
478
|
-
};
|
|
479
363
|
export declare type DateFieldComparison = {
|
|
480
364
|
between?: Maybe<DateFieldComparisonBetween>;
|
|
481
365
|
eq?: Maybe<Scalars['DateTime']>;
|
|
@@ -498,50 +382,6 @@ export declare type DefaultTrialConfigInputDto = {
|
|
|
498
382
|
duration: Scalars['Float'];
|
|
499
383
|
units: TrialPeriodUnits;
|
|
500
384
|
};
|
|
501
|
-
export declare type DeleteManyAddonsInput = {
|
|
502
|
-
/** Filter to find records to delete */
|
|
503
|
-
filter: AddonDeleteFilter;
|
|
504
|
-
};
|
|
505
|
-
export declare type DeleteManyCustomersInput = {
|
|
506
|
-
/** Filter to find records to delete */
|
|
507
|
-
filter: CustomerDeleteFilter;
|
|
508
|
-
};
|
|
509
|
-
export declare type DeleteManyEnvironmentsInput = {
|
|
510
|
-
/** Filter to find records to delete */
|
|
511
|
-
filter: EnvironmentDeleteFilter;
|
|
512
|
-
};
|
|
513
|
-
export declare type DeleteManyEventLogsInput = {
|
|
514
|
-
/** Filter to find records to delete */
|
|
515
|
-
filter: EventLogDeleteFilter;
|
|
516
|
-
};
|
|
517
|
-
export declare type DeleteManyHooksInput = {
|
|
518
|
-
/** Filter to find records to delete */
|
|
519
|
-
filter: HookDeleteFilter;
|
|
520
|
-
};
|
|
521
|
-
export declare type DeleteManyIntegrationsInput = {
|
|
522
|
-
/** Filter to find records to delete */
|
|
523
|
-
filter: IntegrationDeleteFilter;
|
|
524
|
-
};
|
|
525
|
-
export declare type DeleteManyPackageEntitlementsInput = {
|
|
526
|
-
/** Filter to find records to delete */
|
|
527
|
-
filter: PackageEntitlementDeleteFilter;
|
|
528
|
-
};
|
|
529
|
-
export declare type DeleteManyPlansInput = {
|
|
530
|
-
/** Filter to find records to delete */
|
|
531
|
-
filter: PlanDeleteFilter;
|
|
532
|
-
};
|
|
533
|
-
export declare type DeleteManyPricesInput = {
|
|
534
|
-
/** Filter to find records to delete */
|
|
535
|
-
filter: PriceDeleteFilter;
|
|
536
|
-
};
|
|
537
|
-
export declare type DeleteManyProductsInput = {
|
|
538
|
-
/** Filter to find records to delete */
|
|
539
|
-
filter: ProductDeleteFilter;
|
|
540
|
-
};
|
|
541
|
-
export declare type DeleteManyPromotionalEntitlementsInput = {
|
|
542
|
-
/** Filter to find records to delete */
|
|
543
|
-
filter: PromotionalEntitlementDeleteFilter;
|
|
544
|
-
};
|
|
545
385
|
export declare type DeleteOneAddonInput = {
|
|
546
386
|
/** The id of the record to delete. */
|
|
547
387
|
id: Scalars['String'];
|
|
@@ -554,10 +394,6 @@ export declare type DeleteOneEnvironmentInput = {
|
|
|
554
394
|
/** The id of the record to delete. */
|
|
555
395
|
id: Scalars['String'];
|
|
556
396
|
};
|
|
557
|
-
export declare type DeleteOneEventLogInput = {
|
|
558
|
-
/** The id of the record to delete. */
|
|
559
|
-
id: Scalars['String'];
|
|
560
|
-
};
|
|
561
397
|
export declare type DeleteOneFeatureInput = {
|
|
562
398
|
/** The id of the record to delete. */
|
|
563
399
|
id: Scalars['String'];
|
|
@@ -590,6 +426,10 @@ export declare type DeleteOnePromotionalEntitlementInput = {
|
|
|
590
426
|
/** The id of the record to delete. */
|
|
591
427
|
id: Scalars['String'];
|
|
592
428
|
};
|
|
429
|
+
export declare type DiscardPackageDraftInput = {
|
|
430
|
+
environmentId: Scalars['String'];
|
|
431
|
+
refId: Scalars['String'];
|
|
432
|
+
};
|
|
593
433
|
export declare type EntitlementOptions = {
|
|
594
434
|
requestedUsage?: Maybe<Scalars['Float']>;
|
|
595
435
|
shouldTrack?: Maybe<Scalars['Boolean']>;
|
|
@@ -601,12 +441,6 @@ export declare enum EntitlementResetPeriod {
|
|
|
601
441
|
Month = "MONTH",
|
|
602
442
|
Week = "WEEK"
|
|
603
443
|
}
|
|
604
|
-
export declare type EnvironmentDeleteFilter = {
|
|
605
|
-
and?: Maybe<Array<EnvironmentDeleteFilter>>;
|
|
606
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
607
|
-
id?: Maybe<StringFieldComparison>;
|
|
608
|
-
or?: Maybe<Array<EnvironmentDeleteFilter>>;
|
|
609
|
-
};
|
|
610
444
|
export declare type EnvironmentFilter = {
|
|
611
445
|
and?: Maybe<Array<EnvironmentFilter>>;
|
|
612
446
|
displayName?: Maybe<StringFieldComparison>;
|
|
@@ -622,12 +456,6 @@ export declare enum EnvironmentSortFields {
|
|
|
622
456
|
DisplayName = "displayName",
|
|
623
457
|
Id = "id"
|
|
624
458
|
}
|
|
625
|
-
export declare type EnvironmentUpdateFilter = {
|
|
626
|
-
and?: Maybe<Array<EnvironmentUpdateFilter>>;
|
|
627
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
628
|
-
id?: Maybe<StringFieldComparison>;
|
|
629
|
-
or?: Maybe<Array<EnvironmentUpdateFilter>>;
|
|
630
|
-
};
|
|
631
459
|
/** error codes */
|
|
632
460
|
export declare enum ErrorCode {
|
|
633
461
|
AddonNotFound = "AddonNotFound",
|
|
@@ -645,10 +473,12 @@ export declare enum ErrorCode {
|
|
|
645
473
|
MemberNotFound = "MemberNotFound",
|
|
646
474
|
MeteringNotAvailableForFeatureType = "MeteringNotAvailableForFeatureType",
|
|
647
475
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription",
|
|
476
|
+
PackageAlreadyPublished = "PackageAlreadyPublished",
|
|
648
477
|
PlanAlreadyExtended = "PlanAlreadyExtended",
|
|
649
478
|
PlanNotFound = "PlanNotFound",
|
|
650
479
|
PlansCircularDependencyError = "PlansCircularDependencyError",
|
|
651
480
|
PriceNotFound = "PriceNotFound",
|
|
481
|
+
SubscriptionNotFound = "SubscriptionNotFound",
|
|
652
482
|
TrialsNotAllowedInProduct = "TrialsNotAllowedInProduct",
|
|
653
483
|
UnPublishedPackage = "UnPublishedPackage",
|
|
654
484
|
UncompatibleSubscriptionAddon = "UncompatibleSubscriptionAddon",
|
|
@@ -656,27 +486,6 @@ export declare enum ErrorCode {
|
|
|
656
486
|
UnsupportedFeatureType = "UnsupportedFeatureType",
|
|
657
487
|
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
658
488
|
}
|
|
659
|
-
export declare type EventLogDeleteFilter = {
|
|
660
|
-
and?: Maybe<Array<EventLogDeleteFilter>>;
|
|
661
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
662
|
-
id?: Maybe<StringFieldComparison>;
|
|
663
|
-
or?: Maybe<Array<EventLogDeleteFilter>>;
|
|
664
|
-
};
|
|
665
|
-
export declare type EventLogFilter = {
|
|
666
|
-
and?: Maybe<Array<EventLogFilter>>;
|
|
667
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
668
|
-
id?: Maybe<StringFieldComparison>;
|
|
669
|
-
or?: Maybe<Array<EventLogFilter>>;
|
|
670
|
-
};
|
|
671
|
-
export declare type EventLogSort = {
|
|
672
|
-
direction: SortDirection;
|
|
673
|
-
field: EventLogSortFields;
|
|
674
|
-
nulls?: Maybe<SortNulls>;
|
|
675
|
-
};
|
|
676
|
-
export declare enum EventLogSortFields {
|
|
677
|
-
EnvironmentId = "environmentId",
|
|
678
|
-
Id = "id"
|
|
679
|
-
}
|
|
680
489
|
/** EventLogType */
|
|
681
490
|
export declare enum EventLogType {
|
|
682
491
|
AddonCreated = "ADDON_CREATED",
|
|
@@ -692,6 +501,7 @@ export declare enum EventLogType {
|
|
|
692
501
|
FeatureDeleted = "FEATURE_DELETED",
|
|
693
502
|
FeatureUpdated = "FEATURE_UPDATED",
|
|
694
503
|
MeasurementReported = "MEASUREMENT_REPORTED",
|
|
504
|
+
PackagePublished = "PACKAGE_PUBLISHED",
|
|
695
505
|
PlanCreated = "PLAN_CREATED",
|
|
696
506
|
PlanDeleted = "PLAN_DELETED",
|
|
697
507
|
PlanUpdated = "PLAN_UPDATED",
|
|
@@ -702,6 +512,10 @@ export declare enum EventLogType {
|
|
|
702
512
|
SubscriptionCanceled = "SUBSCRIPTION_CANCELED",
|
|
703
513
|
SubscriptionCreated = "SUBSCRIPTION_CREATED",
|
|
704
514
|
SubscriptionExpired = "SUBSCRIPTION_EXPIRED",
|
|
515
|
+
SubscriptionTrialConverted = "SUBSCRIPTION_TRIAL_CONVERTED",
|
|
516
|
+
SubscriptionTrialEndsSoon = "SUBSCRIPTION_TRIAL_ENDS_SOON",
|
|
517
|
+
SubscriptionTrialExpired = "SUBSCRIPTION_TRIAL_EXPIRED",
|
|
518
|
+
SubscriptionTrialStarted = "SUBSCRIPTION_TRIAL_STARTED",
|
|
705
519
|
SubscriptionUpdated = "SUBSCRIPTION_UPDATED"
|
|
706
520
|
}
|
|
707
521
|
export declare type FeatureFilter = {
|
|
@@ -788,14 +602,10 @@ export declare type FetchEntitlementsQuery = {
|
|
|
788
602
|
customerId: Scalars['String'];
|
|
789
603
|
environmentId?: Maybe<Scalars['String']>;
|
|
790
604
|
};
|
|
791
|
-
export declare type
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
796
|
-
id?: Maybe<StringFieldComparison>;
|
|
797
|
-
or?: Maybe<Array<HookDeleteFilter>>;
|
|
798
|
-
status?: Maybe<HookStatusFilterComparison>;
|
|
605
|
+
export declare type GetPackageByRefIdInput = {
|
|
606
|
+
environmentId: Scalars['String'];
|
|
607
|
+
refId: Scalars['String'];
|
|
608
|
+
versionNumber?: Maybe<Scalars['Float']>;
|
|
799
609
|
};
|
|
800
610
|
export declare type HookFilter = {
|
|
801
611
|
and?: Maybe<Array<HookFilter>>;
|
|
@@ -839,15 +649,6 @@ export declare type HookStatusFilterComparison = {
|
|
|
839
649
|
notIn?: Maybe<Array<HookStatus>>;
|
|
840
650
|
notLike?: Maybe<HookStatus>;
|
|
841
651
|
};
|
|
842
|
-
export declare type HookUpdateFilter = {
|
|
843
|
-
and?: Maybe<Array<HookUpdateFilter>>;
|
|
844
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
845
|
-
endpoint?: Maybe<StringFieldComparison>;
|
|
846
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
847
|
-
id?: Maybe<StringFieldComparison>;
|
|
848
|
-
or?: Maybe<Array<HookUpdateFilter>>;
|
|
849
|
-
status?: Maybe<HookStatusFilterComparison>;
|
|
850
|
-
};
|
|
851
652
|
export declare type InitiateCheckoutInput = {
|
|
852
653
|
addons?: Maybe<Array<CheckoutAddonInput>>;
|
|
853
654
|
billingPeriod: BillingPeriod;
|
|
@@ -857,12 +658,23 @@ export declare type InitiateCheckoutInput = {
|
|
|
857
658
|
planId: Scalars['String'];
|
|
858
659
|
successUrl: Scalars['String'];
|
|
859
660
|
};
|
|
860
|
-
export declare type
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
661
|
+
export declare type IntFieldComparison = {
|
|
662
|
+
between?: Maybe<IntFieldComparisonBetween>;
|
|
663
|
+
eq?: Maybe<Scalars['Int']>;
|
|
664
|
+
gt?: Maybe<Scalars['Int']>;
|
|
665
|
+
gte?: Maybe<Scalars['Int']>;
|
|
666
|
+
in?: Maybe<Array<Scalars['Int']>>;
|
|
667
|
+
is?: Maybe<Scalars['Boolean']>;
|
|
668
|
+
isNot?: Maybe<Scalars['Boolean']>;
|
|
669
|
+
lt?: Maybe<Scalars['Int']>;
|
|
670
|
+
lte?: Maybe<Scalars['Int']>;
|
|
671
|
+
neq?: Maybe<Scalars['Int']>;
|
|
672
|
+
notBetween?: Maybe<IntFieldComparisonBetween>;
|
|
673
|
+
notIn?: Maybe<Array<Scalars['Int']>>;
|
|
674
|
+
};
|
|
675
|
+
export declare type IntFieldComparisonBetween = {
|
|
676
|
+
lower: Scalars['Int'];
|
|
677
|
+
upper: Scalars['Int'];
|
|
866
678
|
};
|
|
867
679
|
export declare type IntegrationFilter = {
|
|
868
680
|
and?: Maybe<Array<IntegrationFilter>>;
|
|
@@ -881,13 +693,6 @@ export declare enum IntegrationSortFields {
|
|
|
881
693
|
Id = "id",
|
|
882
694
|
VendorIdentifier = "vendorIdentifier"
|
|
883
695
|
}
|
|
884
|
-
export declare type IntegrationUpdateFilter = {
|
|
885
|
-
and?: Maybe<Array<IntegrationUpdateFilter>>;
|
|
886
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
887
|
-
id?: Maybe<StringFieldComparison>;
|
|
888
|
-
or?: Maybe<Array<IntegrationUpdateFilter>>;
|
|
889
|
-
vendorIdentifier?: Maybe<VendorIdentifierFilterComparison>;
|
|
890
|
-
};
|
|
891
696
|
export declare type MemberFilter = {
|
|
892
697
|
and?: Maybe<Array<MemberFilter>>;
|
|
893
698
|
id?: Maybe<StringFieldComparison>;
|
|
@@ -958,15 +763,6 @@ export declare type NumberFieldComparisonBetween = {
|
|
|
958
763
|
lower: Scalars['Float'];
|
|
959
764
|
upper: Scalars['Float'];
|
|
960
765
|
};
|
|
961
|
-
export declare type PackageEntitlementDeleteFilter = {
|
|
962
|
-
and?: Maybe<Array<PackageEntitlementDeleteFilter>>;
|
|
963
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
964
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
965
|
-
id?: Maybe<StringFieldComparison>;
|
|
966
|
-
or?: Maybe<Array<PackageEntitlementDeleteFilter>>;
|
|
967
|
-
packageId?: Maybe<StringFieldComparison>;
|
|
968
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
969
|
-
};
|
|
970
766
|
export declare type PackageEntitlementFilter = {
|
|
971
767
|
and?: Maybe<Array<PackageEntitlementFilter>>;
|
|
972
768
|
createdAt?: Maybe<DateFieldComparison>;
|
|
@@ -1000,11 +796,13 @@ export declare type PackageEntitlementFilterPackageDtoFilter = {
|
|
|
1000
796
|
displayName?: Maybe<StringFieldComparison>;
|
|
1001
797
|
environmentId?: Maybe<StringFieldComparison>;
|
|
1002
798
|
id?: Maybe<StringFieldComparison>;
|
|
799
|
+
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1003
800
|
or?: Maybe<Array<PackageEntitlementFilterPackageDtoFilter>>;
|
|
1004
801
|
productId?: Maybe<StringFieldComparison>;
|
|
1005
802
|
refId?: Maybe<StringFieldComparison>;
|
|
1006
803
|
status?: Maybe<PackageStatusFilterComparison>;
|
|
1007
804
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
805
|
+
versionNumber?: Maybe<IntFieldComparison>;
|
|
1008
806
|
};
|
|
1009
807
|
export declare type PackageEntitlementInput = {
|
|
1010
808
|
description?: Maybe<Scalars['String']>;
|
|
@@ -1029,15 +827,6 @@ export declare enum PackageEntitlementSortFields {
|
|
|
1029
827
|
PackageId = "packageId",
|
|
1030
828
|
UpdatedAt = "updatedAt"
|
|
1031
829
|
}
|
|
1032
|
-
export declare type PackageEntitlementUpdateFilter = {
|
|
1033
|
-
and?: Maybe<Array<PackageEntitlementUpdateFilter>>;
|
|
1034
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1035
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1036
|
-
id?: Maybe<StringFieldComparison>;
|
|
1037
|
-
or?: Maybe<Array<PackageEntitlementUpdateFilter>>;
|
|
1038
|
-
packageId?: Maybe<StringFieldComparison>;
|
|
1039
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1040
|
-
};
|
|
1041
830
|
export declare type PackageEntitlementUpdateInput = {
|
|
1042
831
|
description?: Maybe<Scalars['String']>;
|
|
1043
832
|
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
@@ -1046,6 +835,10 @@ export declare type PackageEntitlementUpdateInput = {
|
|
|
1046
835
|
usageLimit?: Maybe<Scalars['Float']>;
|
|
1047
836
|
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
1048
837
|
};
|
|
838
|
+
export declare type PackagePublishInput = {
|
|
839
|
+
id: Scalars['ID'];
|
|
840
|
+
migrationType: PublishMigrationType;
|
|
841
|
+
};
|
|
1049
842
|
/** Package status. */
|
|
1050
843
|
export declare enum PackageStatus {
|
|
1051
844
|
Draft = "DRAFT",
|
|
@@ -1077,32 +870,33 @@ export declare type PlanCreateInput = {
|
|
|
1077
870
|
refId: Scalars['String'];
|
|
1078
871
|
status?: Maybe<PackageStatus>;
|
|
1079
872
|
};
|
|
1080
|
-
export declare type
|
|
1081
|
-
and?: Maybe<Array<
|
|
873
|
+
export declare type PlanFilter = {
|
|
874
|
+
and?: Maybe<Array<PlanFilter>>;
|
|
1082
875
|
billingId?: Maybe<StringFieldComparison>;
|
|
1083
876
|
createdAt?: Maybe<DateFieldComparison>;
|
|
1084
877
|
description?: Maybe<StringFieldComparison>;
|
|
1085
878
|
displayName?: Maybe<StringFieldComparison>;
|
|
1086
879
|
environmentId?: Maybe<StringFieldComparison>;
|
|
1087
880
|
id?: Maybe<StringFieldComparison>;
|
|
1088
|
-
|
|
881
|
+
isLatest?: Maybe<BooleanFieldComparison>;
|
|
882
|
+
or?: Maybe<Array<PlanFilter>>;
|
|
883
|
+
product?: Maybe<PlanFilterProductFilter>;
|
|
1089
884
|
productId?: Maybe<StringFieldComparison>;
|
|
1090
885
|
refId?: Maybe<StringFieldComparison>;
|
|
1091
886
|
status?: Maybe<PackageStatusFilterComparison>;
|
|
1092
887
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
888
|
+
versionNumber?: Maybe<IntFieldComparison>;
|
|
1093
889
|
};
|
|
1094
|
-
export declare type
|
|
1095
|
-
and?: Maybe<Array<
|
|
1096
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
890
|
+
export declare type PlanFilterProductFilter = {
|
|
891
|
+
and?: Maybe<Array<PlanFilterProductFilter>>;
|
|
1097
892
|
createdAt?: Maybe<DateFieldComparison>;
|
|
1098
893
|
description?: Maybe<StringFieldComparison>;
|
|
1099
894
|
displayName?: Maybe<StringFieldComparison>;
|
|
1100
895
|
environmentId?: Maybe<StringFieldComparison>;
|
|
1101
896
|
id?: Maybe<StringFieldComparison>;
|
|
1102
|
-
|
|
1103
|
-
|
|
897
|
+
isDefaultProduct?: Maybe<BooleanFieldComparison>;
|
|
898
|
+
or?: Maybe<Array<PlanFilterProductFilter>>;
|
|
1104
899
|
refId?: Maybe<StringFieldComparison>;
|
|
1105
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
1106
900
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
1107
901
|
};
|
|
1108
902
|
export declare type PlanSort = {
|
|
@@ -1117,10 +911,12 @@ export declare enum PlanSortFields {
|
|
|
1117
911
|
DisplayName = "displayName",
|
|
1118
912
|
EnvironmentId = "environmentId",
|
|
1119
913
|
Id = "id",
|
|
914
|
+
IsLatest = "isLatest",
|
|
1120
915
|
ProductId = "productId",
|
|
1121
916
|
RefId = "refId",
|
|
1122
917
|
Status = "status",
|
|
1123
|
-
UpdatedAt = "updatedAt"
|
|
918
|
+
UpdatedAt = "updatedAt",
|
|
919
|
+
VersionNumber = "versionNumber"
|
|
1124
920
|
}
|
|
1125
921
|
export declare type PlanUpdateInput = {
|
|
1126
922
|
billingId?: Maybe<Scalars['String']>;
|
|
@@ -1139,13 +935,6 @@ export declare type PriceCreateInput = {
|
|
|
1139
935
|
packageId: Scalars['String'];
|
|
1140
936
|
price: MoneyInputDto;
|
|
1141
937
|
};
|
|
1142
|
-
export declare type PriceDeleteFilter = {
|
|
1143
|
-
and?: Maybe<Array<PriceDeleteFilter>>;
|
|
1144
|
-
billingModel?: Maybe<BillingModelFilterComparison>;
|
|
1145
|
-
billingPeriod?: Maybe<BillingPeriodFilterComparison>;
|
|
1146
|
-
id?: Maybe<StringFieldComparison>;
|
|
1147
|
-
or?: Maybe<Array<PriceDeleteFilter>>;
|
|
1148
|
-
};
|
|
1149
938
|
export declare type PriceFilter = {
|
|
1150
939
|
and?: Maybe<Array<PriceFilter>>;
|
|
1151
940
|
billingModel?: Maybe<BillingModelFilterComparison>;
|
|
@@ -1162,11 +951,13 @@ export declare type PriceFilterPackageDtoFilter = {
|
|
|
1162
951
|
displayName?: Maybe<StringFieldComparison>;
|
|
1163
952
|
environmentId?: Maybe<StringFieldComparison>;
|
|
1164
953
|
id?: Maybe<StringFieldComparison>;
|
|
954
|
+
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1165
955
|
or?: Maybe<Array<PriceFilterPackageDtoFilter>>;
|
|
1166
956
|
productId?: Maybe<StringFieldComparison>;
|
|
1167
957
|
refId?: Maybe<StringFieldComparison>;
|
|
1168
958
|
status?: Maybe<PackageStatusFilterComparison>;
|
|
1169
959
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
960
|
+
versionNumber?: Maybe<IntFieldComparison>;
|
|
1170
961
|
};
|
|
1171
962
|
export declare type PriceSort = {
|
|
1172
963
|
direction: SortDirection;
|
|
@@ -1193,18 +984,6 @@ export declare type ProductCreateInput = {
|
|
|
1193
984
|
environmentId: Scalars['String'];
|
|
1194
985
|
refId: Scalars['String'];
|
|
1195
986
|
};
|
|
1196
|
-
export declare type ProductDeleteFilter = {
|
|
1197
|
-
and?: Maybe<Array<ProductDeleteFilter>>;
|
|
1198
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1199
|
-
description?: Maybe<StringFieldComparison>;
|
|
1200
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1201
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1202
|
-
id?: Maybe<StringFieldComparison>;
|
|
1203
|
-
isDefaultProduct?: Maybe<BooleanFieldComparison>;
|
|
1204
|
-
or?: Maybe<Array<ProductDeleteFilter>>;
|
|
1205
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1206
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1207
|
-
};
|
|
1208
987
|
export declare type ProductFilter = {
|
|
1209
988
|
and?: Maybe<Array<ProductFilter>>;
|
|
1210
989
|
createdAt?: Maybe<DateFieldComparison>;
|
|
@@ -1217,6 +996,11 @@ export declare type ProductFilter = {
|
|
|
1217
996
|
refId?: Maybe<StringFieldComparison>;
|
|
1218
997
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
1219
998
|
};
|
|
999
|
+
export declare type ProductSettingsInput = {
|
|
1000
|
+
downgradePlanId?: Maybe<Scalars['String']>;
|
|
1001
|
+
subscriptionCancellationTime: SubscriptionCancellationTime;
|
|
1002
|
+
subscriptionEndSetup: SubscriptionEndSetup;
|
|
1003
|
+
};
|
|
1220
1004
|
export declare type ProductSort = {
|
|
1221
1005
|
direction: SortDirection;
|
|
1222
1006
|
field: ProductSortFields;
|
|
@@ -1232,32 +1016,10 @@ export declare enum ProductSortFields {
|
|
|
1232
1016
|
RefId = "refId",
|
|
1233
1017
|
UpdatedAt = "updatedAt"
|
|
1234
1018
|
}
|
|
1235
|
-
export declare type ProductUpdateFilter = {
|
|
1236
|
-
and?: Maybe<Array<ProductUpdateFilter>>;
|
|
1237
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1238
|
-
description?: Maybe<StringFieldComparison>;
|
|
1239
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1240
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1241
|
-
id?: Maybe<StringFieldComparison>;
|
|
1242
|
-
isDefaultProduct?: Maybe<BooleanFieldComparison>;
|
|
1243
|
-
or?: Maybe<Array<ProductUpdateFilter>>;
|
|
1244
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1245
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1246
|
-
};
|
|
1247
1019
|
export declare type ProductUpdateInput = {
|
|
1248
1020
|
description?: Maybe<Scalars['String']>;
|
|
1249
1021
|
displayName?: Maybe<Scalars['String']>;
|
|
1250
|
-
|
|
1251
|
-
trialSetup?: Maybe<TrialSetup>;
|
|
1252
|
-
};
|
|
1253
|
-
export declare type PromotionalEntitlementDeleteFilter = {
|
|
1254
|
-
and?: Maybe<Array<PromotionalEntitlementDeleteFilter>>;
|
|
1255
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1256
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1257
|
-
id?: Maybe<StringFieldComparison>;
|
|
1258
|
-
or?: Maybe<Array<PromotionalEntitlementDeleteFilter>>;
|
|
1259
|
-
status?: Maybe<PromotionalEntitlementStatusFilterComparison>;
|
|
1260
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1022
|
+
productSettings?: Maybe<ProductSettingsInput>;
|
|
1261
1023
|
};
|
|
1262
1024
|
export declare type PromotionalEntitlementFilter = {
|
|
1263
1025
|
and?: Maybe<Array<PromotionalEntitlementFilter>>;
|
|
@@ -1325,15 +1087,6 @@ export declare type PromotionalEntitlementStatusFilterComparison = {
|
|
|
1325
1087
|
notIn?: Maybe<Array<PromotionalEntitlementStatus>>;
|
|
1326
1088
|
notLike?: Maybe<PromotionalEntitlementStatus>;
|
|
1327
1089
|
};
|
|
1328
|
-
export declare type PromotionalEntitlementUpdateFilter = {
|
|
1329
|
-
and?: Maybe<Array<PromotionalEntitlementUpdateFilter>>;
|
|
1330
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1331
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1332
|
-
id?: Maybe<StringFieldComparison>;
|
|
1333
|
-
or?: Maybe<Array<PromotionalEntitlementUpdateFilter>>;
|
|
1334
|
-
status?: Maybe<PromotionalEntitlementStatusFilterComparison>;
|
|
1335
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1336
|
-
};
|
|
1337
1090
|
export declare type PromotionalEntitlementUpdateInput = {
|
|
1338
1091
|
description?: Maybe<Scalars['String']>;
|
|
1339
1092
|
endDate?: Maybe<Scalars['DateTime']>;
|
|
@@ -1345,48 +1098,11 @@ export declare type PromotionalEntitlementUpdateInput = {
|
|
|
1345
1098
|
usageLimit?: Maybe<Scalars['Float']>;
|
|
1346
1099
|
weeklyResetPeriodConfiguration?: Maybe<WeeklyResetPeriodConfigInput>;
|
|
1347
1100
|
};
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
};
|
|
1354
|
-
export declare type RemoveAccountFromFeatureInput = {
|
|
1355
|
-
/** The id of the record. */
|
|
1356
|
-
id: Scalars['String'];
|
|
1357
|
-
/** The id of relation. */
|
|
1358
|
-
relationId: Scalars['String'];
|
|
1359
|
-
};
|
|
1360
|
-
export declare type RemoveAccountFromHookInput = {
|
|
1361
|
-
/** The id of the record. */
|
|
1362
|
-
id: Scalars['String'];
|
|
1363
|
-
/** The id of relation. */
|
|
1364
|
-
relationId: Scalars['String'];
|
|
1365
|
-
};
|
|
1366
|
-
export declare type RemoveAccountFromIntegrationInput = {
|
|
1367
|
-
/** The id of the record. */
|
|
1368
|
-
id: Scalars['String'];
|
|
1369
|
-
/** The id of relation. */
|
|
1370
|
-
relationId: Scalars['String'];
|
|
1371
|
-
};
|
|
1372
|
-
export declare type RemoveAccountFromMemberInput = {
|
|
1373
|
-
/** The id of the record. */
|
|
1374
|
-
id: Scalars['String'];
|
|
1375
|
-
/** The id of relation. */
|
|
1376
|
-
relationId: Scalars['String'];
|
|
1377
|
-
};
|
|
1378
|
-
export declare type RemoveAddonFromSubscriptionAddonInput = {
|
|
1379
|
-
/** The id of the record. */
|
|
1380
|
-
id: Scalars['String'];
|
|
1381
|
-
/** The id of relation. */
|
|
1382
|
-
relationId: Scalars['String'];
|
|
1383
|
-
};
|
|
1384
|
-
export declare type RemoveAddonsFromCustomerSubscriptionInput = {
|
|
1385
|
-
/** The id of the record. */
|
|
1386
|
-
id: Scalars['String'];
|
|
1387
|
-
/** The ids of the relations. */
|
|
1388
|
-
relationIds: Array<Scalars['String']>;
|
|
1389
|
-
};
|
|
1101
|
+
/** PublishMigrationType */
|
|
1102
|
+
export declare enum PublishMigrationType {
|
|
1103
|
+
AllCustomers = "ALL_CUSTOMERS",
|
|
1104
|
+
NewCustomers = "NEW_CUSTOMERS"
|
|
1105
|
+
}
|
|
1390
1106
|
export declare type RemoveBasePlanFromPlanInput = {
|
|
1391
1107
|
/** The id of the record. */
|
|
1392
1108
|
id: Scalars['String'];
|
|
@@ -1399,419 +1115,17 @@ export declare type RemoveCompatibleAddonsFromPlanInput = {
|
|
|
1399
1115
|
/** The ids of the relations. */
|
|
1400
1116
|
relationIds: Array<Scalars['String']>;
|
|
1401
1117
|
};
|
|
1402
|
-
export declare type
|
|
1118
|
+
export declare type SetBasePlanOnPlanInput = {
|
|
1403
1119
|
/** The id of the record. */
|
|
1404
1120
|
id: Scalars['String'];
|
|
1405
1121
|
/** The id of relation. */
|
|
1406
1122
|
relationId: Scalars['String'];
|
|
1407
1123
|
};
|
|
1408
|
-
export declare type
|
|
1124
|
+
export declare type SetCompatibleAddonsOnPlanInput = {
|
|
1409
1125
|
/** The id of the record. */
|
|
1410
1126
|
id: Scalars['String'];
|
|
1411
|
-
/** The
|
|
1412
|
-
|
|
1413
|
-
};
|
|
1414
|
-
export declare type RemoveCustomerFromUsageMeasurementInput = {
|
|
1415
|
-
/** The id of the record. */
|
|
1416
|
-
id: Scalars['String'];
|
|
1417
|
-
/** The id of relation. */
|
|
1418
|
-
relationId: Scalars['String'];
|
|
1419
|
-
};
|
|
1420
|
-
export declare type RemoveDowngradePlanFromProductInput = {
|
|
1421
|
-
/** The id of the record. */
|
|
1422
|
-
id: Scalars['String'];
|
|
1423
|
-
/** The id of relation. */
|
|
1424
|
-
relationId: Scalars['String'];
|
|
1425
|
-
};
|
|
1426
|
-
export declare type RemoveEnvironmentFromAddonInput = {
|
|
1427
|
-
/** The id of the record. */
|
|
1428
|
-
id: Scalars['String'];
|
|
1429
|
-
/** The id of relation. */
|
|
1430
|
-
relationId: Scalars['String'];
|
|
1431
|
-
};
|
|
1432
|
-
export declare type RemoveEnvironmentFromCustomerInput = {
|
|
1433
|
-
/** The id of the record. */
|
|
1434
|
-
id: Scalars['String'];
|
|
1435
|
-
/** The id of relation. */
|
|
1436
|
-
relationId: Scalars['String'];
|
|
1437
|
-
};
|
|
1438
|
-
export declare type RemoveEnvironmentFromCustomerSubscriptionInput = {
|
|
1439
|
-
/** The id of the record. */
|
|
1440
|
-
id: Scalars['String'];
|
|
1441
|
-
/** The id of relation. */
|
|
1442
|
-
relationId: Scalars['String'];
|
|
1443
|
-
};
|
|
1444
|
-
export declare type RemoveEnvironmentFromEventLogInput = {
|
|
1445
|
-
/** The id of the record. */
|
|
1446
|
-
id: Scalars['String'];
|
|
1447
|
-
/** The id of relation. */
|
|
1448
|
-
relationId: Scalars['String'];
|
|
1449
|
-
};
|
|
1450
|
-
export declare type RemoveEnvironmentFromFeatureInput = {
|
|
1451
|
-
/** The id of the record. */
|
|
1452
|
-
id: Scalars['String'];
|
|
1453
|
-
/** The id of relation. */
|
|
1454
|
-
relationId: Scalars['String'];
|
|
1455
|
-
};
|
|
1456
|
-
export declare type RemoveEnvironmentFromHookInput = {
|
|
1457
|
-
/** The id of the record. */
|
|
1458
|
-
id: Scalars['String'];
|
|
1459
|
-
/** The id of relation. */
|
|
1460
|
-
relationId: Scalars['String'];
|
|
1461
|
-
};
|
|
1462
|
-
export declare type RemoveEnvironmentFromIntegrationInput = {
|
|
1463
|
-
/** The id of the record. */
|
|
1464
|
-
id: Scalars['String'];
|
|
1465
|
-
/** The id of relation. */
|
|
1466
|
-
relationId: Scalars['String'];
|
|
1467
|
-
};
|
|
1468
|
-
export declare type RemoveEnvironmentFromPlanInput = {
|
|
1469
|
-
/** The id of the record. */
|
|
1470
|
-
id: Scalars['String'];
|
|
1471
|
-
/** The id of relation. */
|
|
1472
|
-
relationId: Scalars['String'];
|
|
1473
|
-
};
|
|
1474
|
-
export declare type RemoveEnvironmentFromProductInput = {
|
|
1475
|
-
/** The id of the record. */
|
|
1476
|
-
id: Scalars['String'];
|
|
1477
|
-
/** The id of relation. */
|
|
1478
|
-
relationId: Scalars['String'];
|
|
1479
|
-
};
|
|
1480
|
-
export declare type RemoveEnvironmentFromUsageMeasurementInput = {
|
|
1481
|
-
/** The id of the record. */
|
|
1482
|
-
id: Scalars['String'];
|
|
1483
|
-
/** The id of relation. */
|
|
1484
|
-
relationId: Scalars['String'];
|
|
1485
|
-
};
|
|
1486
|
-
export declare type RemoveFeatureFromPackageEntitlementInput = {
|
|
1487
|
-
/** The id of the record. */
|
|
1488
|
-
id: Scalars['String'];
|
|
1489
|
-
/** The id of relation. */
|
|
1490
|
-
relationId: Scalars['String'];
|
|
1491
|
-
};
|
|
1492
|
-
export declare type RemoveFeatureFromPromotionalEntitlementInput = {
|
|
1493
|
-
/** The id of the record. */
|
|
1494
|
-
id: Scalars['String'];
|
|
1495
|
-
/** The id of relation. */
|
|
1496
|
-
relationId: Scalars['String'];
|
|
1497
|
-
};
|
|
1498
|
-
export declare type RemoveFeatureFromUsageMeasurementInput = {
|
|
1499
|
-
/** The id of the record. */
|
|
1500
|
-
id: Scalars['String'];
|
|
1501
|
-
/** The id of relation. */
|
|
1502
|
-
relationId: Scalars['String'];
|
|
1503
|
-
};
|
|
1504
|
-
export declare type RemovePackageFromPackageEntitlementInput = {
|
|
1505
|
-
/** The id of the record. */
|
|
1506
|
-
id: Scalars['String'];
|
|
1507
|
-
/** The id of relation. */
|
|
1508
|
-
relationId: Scalars['String'];
|
|
1509
|
-
};
|
|
1510
|
-
export declare type RemovePackageFromPriceInput = {
|
|
1511
|
-
/** The id of the record. */
|
|
1512
|
-
id: Scalars['String'];
|
|
1513
|
-
/** The id of relation. */
|
|
1514
|
-
relationId: Scalars['String'];
|
|
1515
|
-
};
|
|
1516
|
-
export declare type RemovePlanFromCustomerSubscriptionInput = {
|
|
1517
|
-
/** The id of the record. */
|
|
1518
|
-
id: Scalars['String'];
|
|
1519
|
-
/** The id of relation. */
|
|
1520
|
-
relationId: Scalars['String'];
|
|
1521
|
-
};
|
|
1522
|
-
export declare type RemovePriceFromSubscriptionAddonInput = {
|
|
1523
|
-
/** The id of the record. */
|
|
1524
|
-
id: Scalars['String'];
|
|
1525
|
-
/** The id of relation. */
|
|
1526
|
-
relationId: Scalars['String'];
|
|
1527
|
-
};
|
|
1528
|
-
export declare type RemovePriceFromSubscriptionPriceInput = {
|
|
1529
|
-
/** The id of the record. */
|
|
1530
|
-
id: Scalars['String'];
|
|
1531
|
-
/** The id of relation. */
|
|
1532
|
-
relationId: Scalars['String'];
|
|
1533
|
-
};
|
|
1534
|
-
export declare type RemovePricesFromAddonInput = {
|
|
1535
|
-
/** The id of the record. */
|
|
1536
|
-
id: Scalars['String'];
|
|
1537
|
-
/** The ids of the relations. */
|
|
1538
|
-
relationIds: Array<Scalars['String']>;
|
|
1539
|
-
};
|
|
1540
|
-
export declare type RemovePricesFromCustomerSubscriptionInput = {
|
|
1541
|
-
/** The id of the record. */
|
|
1542
|
-
id: Scalars['String'];
|
|
1543
|
-
/** The ids of the relations. */
|
|
1544
|
-
relationIds: Array<Scalars['String']>;
|
|
1545
|
-
};
|
|
1546
|
-
export declare type RemovePricesFromPlanInput = {
|
|
1547
|
-
/** The id of the record. */
|
|
1548
|
-
id: Scalars['String'];
|
|
1549
|
-
/** The ids of the relations. */
|
|
1550
|
-
relationIds: Array<Scalars['String']>;
|
|
1551
|
-
};
|
|
1552
|
-
export declare type RemoveSubscriptionFromSubscriptionAddonInput = {
|
|
1553
|
-
/** The id of the record. */
|
|
1554
|
-
id: Scalars['String'];
|
|
1555
|
-
/** The id of relation. */
|
|
1556
|
-
relationId: Scalars['String'];
|
|
1557
|
-
};
|
|
1558
|
-
export declare type RemoveSubscriptionFromSubscriptionPriceInput = {
|
|
1559
|
-
/** The id of the record. */
|
|
1560
|
-
id: Scalars['String'];
|
|
1561
|
-
/** The id of relation. */
|
|
1562
|
-
relationId: Scalars['String'];
|
|
1563
|
-
};
|
|
1564
|
-
export declare type RemoveUserFromMemberInput = {
|
|
1565
|
-
/** The id of the record. */
|
|
1566
|
-
id: Scalars['String'];
|
|
1567
|
-
/** The id of relation. */
|
|
1568
|
-
relationId: Scalars['String'];
|
|
1569
|
-
};
|
|
1570
|
-
export declare type SetAccountOnEnvironmentInput = {
|
|
1571
|
-
/** The id of the record. */
|
|
1572
|
-
id: Scalars['String'];
|
|
1573
|
-
/** The id of relation. */
|
|
1574
|
-
relationId: Scalars['String'];
|
|
1575
|
-
};
|
|
1576
|
-
export declare type SetAccountOnFeatureInput = {
|
|
1577
|
-
/** The id of the record. */
|
|
1578
|
-
id: Scalars['String'];
|
|
1579
|
-
/** The id of relation. */
|
|
1580
|
-
relationId: Scalars['String'];
|
|
1581
|
-
};
|
|
1582
|
-
export declare type SetAccountOnHookInput = {
|
|
1583
|
-
/** The id of the record. */
|
|
1584
|
-
id: Scalars['String'];
|
|
1585
|
-
/** The id of relation. */
|
|
1586
|
-
relationId: Scalars['String'];
|
|
1587
|
-
};
|
|
1588
|
-
export declare type SetAccountOnIntegrationInput = {
|
|
1589
|
-
/** The id of the record. */
|
|
1590
|
-
id: Scalars['String'];
|
|
1591
|
-
/** The id of relation. */
|
|
1592
|
-
relationId: Scalars['String'];
|
|
1593
|
-
};
|
|
1594
|
-
export declare type SetAccountOnMemberInput = {
|
|
1595
|
-
/** The id of the record. */
|
|
1596
|
-
id: Scalars['String'];
|
|
1597
|
-
/** The id of relation. */
|
|
1598
|
-
relationId: Scalars['String'];
|
|
1599
|
-
};
|
|
1600
|
-
export declare type SetAddonOnSubscriptionAddonInput = {
|
|
1601
|
-
/** The id of the record. */
|
|
1602
|
-
id: Scalars['String'];
|
|
1603
|
-
/** The id of relation. */
|
|
1604
|
-
relationId: Scalars['String'];
|
|
1605
|
-
};
|
|
1606
|
-
export declare type SetAddonsOnCustomerSubscriptionInput = {
|
|
1607
|
-
/** The id of the record. */
|
|
1608
|
-
id: Scalars['String'];
|
|
1609
|
-
/** The ids of the relations. */
|
|
1610
|
-
relationIds: Array<Scalars['String']>;
|
|
1611
|
-
};
|
|
1612
|
-
export declare type SetApiKeysOnEnvironmentInput = {
|
|
1613
|
-
/** The id of the record. */
|
|
1614
|
-
id: Scalars['String'];
|
|
1615
|
-
/** The ids of the relations. */
|
|
1616
|
-
relationIds: Array<Scalars['String']>;
|
|
1617
|
-
};
|
|
1618
|
-
export declare type SetBasePlanOnPlanInput = {
|
|
1619
|
-
/** The id of the record. */
|
|
1620
|
-
id: Scalars['String'];
|
|
1621
|
-
/** The id of relation. */
|
|
1622
|
-
relationId: Scalars['String'];
|
|
1623
|
-
};
|
|
1624
|
-
export declare type SetCompatibleAddonsOnPlanInput = {
|
|
1625
|
-
/** The id of the record. */
|
|
1626
|
-
id: Scalars['String'];
|
|
1627
|
-
/** The ids of the relations. */
|
|
1628
|
-
relationIds: Array<Scalars['String']>;
|
|
1629
|
-
};
|
|
1630
|
-
export declare type SetCustomerOnCustomerSubscriptionInput = {
|
|
1631
|
-
/** The id of the record. */
|
|
1632
|
-
id: Scalars['String'];
|
|
1633
|
-
/** The id of relation. */
|
|
1634
|
-
relationId: Scalars['String'];
|
|
1635
|
-
};
|
|
1636
|
-
export declare type SetCustomerOnPromotionalEntitlementInput = {
|
|
1637
|
-
/** The id of the record. */
|
|
1638
|
-
id: Scalars['String'];
|
|
1639
|
-
/** The id of relation. */
|
|
1640
|
-
relationId: Scalars['String'];
|
|
1641
|
-
};
|
|
1642
|
-
export declare type SetCustomerOnUsageMeasurementInput = {
|
|
1643
|
-
/** The id of the record. */
|
|
1644
|
-
id: Scalars['String'];
|
|
1645
|
-
/** The id of relation. */
|
|
1646
|
-
relationId: Scalars['String'];
|
|
1647
|
-
};
|
|
1648
|
-
export declare type SetDowngradePlanOnProductInput = {
|
|
1649
|
-
/** The id of the record. */
|
|
1650
|
-
id: Scalars['String'];
|
|
1651
|
-
/** The id of relation. */
|
|
1652
|
-
relationId: Scalars['String'];
|
|
1653
|
-
};
|
|
1654
|
-
export declare type SetEnvironmentOnAddonInput = {
|
|
1655
|
-
/** The id of the record. */
|
|
1656
|
-
id: Scalars['String'];
|
|
1657
|
-
/** The id of relation. */
|
|
1658
|
-
relationId: Scalars['String'];
|
|
1659
|
-
};
|
|
1660
|
-
export declare type SetEnvironmentOnCustomerInput = {
|
|
1661
|
-
/** The id of the record. */
|
|
1662
|
-
id: Scalars['String'];
|
|
1663
|
-
/** The id of relation. */
|
|
1664
|
-
relationId: Scalars['String'];
|
|
1665
|
-
};
|
|
1666
|
-
export declare type SetEnvironmentOnCustomerSubscriptionInput = {
|
|
1667
|
-
/** The id of the record. */
|
|
1668
|
-
id: Scalars['String'];
|
|
1669
|
-
/** The id of relation. */
|
|
1670
|
-
relationId: Scalars['String'];
|
|
1671
|
-
};
|
|
1672
|
-
export declare type SetEnvironmentOnEventLogInput = {
|
|
1673
|
-
/** The id of the record. */
|
|
1674
|
-
id: Scalars['String'];
|
|
1675
|
-
/** The id of relation. */
|
|
1676
|
-
relationId: Scalars['String'];
|
|
1677
|
-
};
|
|
1678
|
-
export declare type SetEnvironmentOnFeatureInput = {
|
|
1679
|
-
/** The id of the record. */
|
|
1680
|
-
id: Scalars['String'];
|
|
1681
|
-
/** The id of relation. */
|
|
1682
|
-
relationId: Scalars['String'];
|
|
1683
|
-
};
|
|
1684
|
-
export declare type SetEnvironmentOnHookInput = {
|
|
1685
|
-
/** The id of the record. */
|
|
1686
|
-
id: Scalars['String'];
|
|
1687
|
-
/** The id of relation. */
|
|
1688
|
-
relationId: Scalars['String'];
|
|
1689
|
-
};
|
|
1690
|
-
export declare type SetEnvironmentOnIntegrationInput = {
|
|
1691
|
-
/** The id of the record. */
|
|
1692
|
-
id: Scalars['String'];
|
|
1693
|
-
/** The id of relation. */
|
|
1694
|
-
relationId: Scalars['String'];
|
|
1695
|
-
};
|
|
1696
|
-
export declare type SetEnvironmentOnPlanInput = {
|
|
1697
|
-
/** The id of the record. */
|
|
1698
|
-
id: Scalars['String'];
|
|
1699
|
-
/** The id of relation. */
|
|
1700
|
-
relationId: Scalars['String'];
|
|
1701
|
-
};
|
|
1702
|
-
export declare type SetEnvironmentOnProductInput = {
|
|
1703
|
-
/** The id of the record. */
|
|
1704
|
-
id: Scalars['String'];
|
|
1705
|
-
/** The id of relation. */
|
|
1706
|
-
relationId: Scalars['String'];
|
|
1707
|
-
};
|
|
1708
|
-
export declare type SetEnvironmentOnUsageMeasurementInput = {
|
|
1709
|
-
/** The id of the record. */
|
|
1710
|
-
id: Scalars['String'];
|
|
1711
|
-
/** The id of relation. */
|
|
1712
|
-
relationId: Scalars['String'];
|
|
1713
|
-
};
|
|
1714
|
-
export declare type SetFeatureOnPackageEntitlementInput = {
|
|
1715
|
-
/** The id of the record. */
|
|
1716
|
-
id: Scalars['String'];
|
|
1717
|
-
/** The id of relation. */
|
|
1718
|
-
relationId: Scalars['String'];
|
|
1719
|
-
};
|
|
1720
|
-
export declare type SetFeatureOnPromotionalEntitlementInput = {
|
|
1721
|
-
/** The id of the record. */
|
|
1722
|
-
id: Scalars['String'];
|
|
1723
|
-
/** The id of relation. */
|
|
1724
|
-
relationId: Scalars['String'];
|
|
1725
|
-
};
|
|
1726
|
-
export declare type SetFeatureOnUsageMeasurementInput = {
|
|
1727
|
-
/** The id of the record. */
|
|
1728
|
-
id: Scalars['String'];
|
|
1729
|
-
/** The id of relation. */
|
|
1730
|
-
relationId: Scalars['String'];
|
|
1731
|
-
};
|
|
1732
|
-
export declare type SetPackageOnPackageEntitlementInput = {
|
|
1733
|
-
/** The id of the record. */
|
|
1734
|
-
id: Scalars['String'];
|
|
1735
|
-
/** The id of relation. */
|
|
1736
|
-
relationId: Scalars['String'];
|
|
1737
|
-
};
|
|
1738
|
-
export declare type SetPackageOnPriceInput = {
|
|
1739
|
-
/** The id of the record. */
|
|
1740
|
-
id: Scalars['String'];
|
|
1741
|
-
/** The id of relation. */
|
|
1742
|
-
relationId: Scalars['String'];
|
|
1743
|
-
};
|
|
1744
|
-
export declare type SetPlanOnCustomerSubscriptionInput = {
|
|
1745
|
-
/** The id of the record. */
|
|
1746
|
-
id: Scalars['String'];
|
|
1747
|
-
/** The id of relation. */
|
|
1748
|
-
relationId: Scalars['String'];
|
|
1749
|
-
};
|
|
1750
|
-
export declare type SetPriceOnSubscriptionAddonInput = {
|
|
1751
|
-
/** The id of the record. */
|
|
1752
|
-
id: Scalars['String'];
|
|
1753
|
-
/** The id of relation. */
|
|
1754
|
-
relationId: Scalars['String'];
|
|
1755
|
-
};
|
|
1756
|
-
export declare type SetPriceOnSubscriptionPriceInput = {
|
|
1757
|
-
/** The id of the record. */
|
|
1758
|
-
id: Scalars['String'];
|
|
1759
|
-
/** The id of relation. */
|
|
1760
|
-
relationId: Scalars['String'];
|
|
1761
|
-
};
|
|
1762
|
-
export declare type SetPricesOnAddonInput = {
|
|
1763
|
-
/** The id of the record. */
|
|
1764
|
-
id: Scalars['String'];
|
|
1765
|
-
/** The ids of the relations. */
|
|
1766
|
-
relationIds: Array<Scalars['String']>;
|
|
1767
|
-
};
|
|
1768
|
-
export declare type SetPricesOnCustomerSubscriptionInput = {
|
|
1769
|
-
/** The id of the record. */
|
|
1770
|
-
id: Scalars['String'];
|
|
1771
|
-
/** The ids of the relations. */
|
|
1772
|
-
relationIds: Array<Scalars['String']>;
|
|
1773
|
-
};
|
|
1774
|
-
export declare type SetPricesOnPlanInput = {
|
|
1775
|
-
/** The id of the record. */
|
|
1776
|
-
id: Scalars['String'];
|
|
1777
|
-
/** The ids of the relations. */
|
|
1778
|
-
relationIds: Array<Scalars['String']>;
|
|
1779
|
-
};
|
|
1780
|
-
export declare type SetProductOnAddonInput = {
|
|
1781
|
-
/** The id of the record. */
|
|
1782
|
-
id: Scalars['String'];
|
|
1783
|
-
/** The id of relation. */
|
|
1784
|
-
relationId: Scalars['String'];
|
|
1785
|
-
};
|
|
1786
|
-
export declare type SetProductOnPlanInput = {
|
|
1787
|
-
/** The id of the record. */
|
|
1788
|
-
id: Scalars['String'];
|
|
1789
|
-
/** The id of relation. */
|
|
1790
|
-
relationId: Scalars['String'];
|
|
1791
|
-
};
|
|
1792
|
-
export declare type SetSubscriptionOnSubscriptionAddonInput = {
|
|
1793
|
-
/** The id of the record. */
|
|
1794
|
-
id: Scalars['String'];
|
|
1795
|
-
/** The id of relation. */
|
|
1796
|
-
relationId: Scalars['String'];
|
|
1797
|
-
};
|
|
1798
|
-
export declare type SetSubscriptionOnSubscriptionPriceInput = {
|
|
1799
|
-
/** The id of the record. */
|
|
1800
|
-
id: Scalars['String'];
|
|
1801
|
-
/** The id of relation. */
|
|
1802
|
-
relationId: Scalars['String'];
|
|
1803
|
-
};
|
|
1804
|
-
export declare type SetSubscriptionsOnCustomerInput = {
|
|
1805
|
-
/** The id of the record. */
|
|
1806
|
-
id: Scalars['String'];
|
|
1807
|
-
/** The ids of the relations. */
|
|
1808
|
-
relationIds: Array<Scalars['String']>;
|
|
1809
|
-
};
|
|
1810
|
-
export declare type SetUserOnMemberInput = {
|
|
1811
|
-
/** The id of the record. */
|
|
1812
|
-
id: Scalars['String'];
|
|
1813
|
-
/** The id of relation. */
|
|
1814
|
-
relationId: Scalars['String'];
|
|
1127
|
+
/** The ids of the relations. */
|
|
1128
|
+
relationIds: Array<Scalars['String']>;
|
|
1815
1129
|
};
|
|
1816
1130
|
/** Sort Directions */
|
|
1817
1131
|
export declare enum SortDirection {
|
|
@@ -1862,11 +1176,13 @@ export declare type SubscriptionAddonFilterAddonFilter = {
|
|
|
1862
1176
|
displayName?: Maybe<StringFieldComparison>;
|
|
1863
1177
|
environmentId?: Maybe<StringFieldComparison>;
|
|
1864
1178
|
id?: Maybe<StringFieldComparison>;
|
|
1179
|
+
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1865
1180
|
or?: Maybe<Array<SubscriptionAddonFilterAddonFilter>>;
|
|
1866
1181
|
productId?: Maybe<StringFieldComparison>;
|
|
1867
1182
|
refId?: Maybe<StringFieldComparison>;
|
|
1868
1183
|
status?: Maybe<PackageStatusFilterComparison>;
|
|
1869
1184
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
1185
|
+
versionNumber?: Maybe<IntFieldComparison>;
|
|
1870
1186
|
};
|
|
1871
1187
|
export declare type SubscriptionAddonFilterCustomerSubscriptionFilter = {
|
|
1872
1188
|
and?: Maybe<Array<SubscriptionAddonFilterCustomerSubscriptionFilter>>;
|
|
@@ -1902,6 +1218,20 @@ export declare enum SubscriptionAddonSortFields {
|
|
|
1902
1218
|
Quantity = "quantity",
|
|
1903
1219
|
UpdatedAt = "updatedAt"
|
|
1904
1220
|
}
|
|
1221
|
+
export declare type SubscriptionCancellationInput = {
|
|
1222
|
+
endDate?: Maybe<Scalars['DateTime']>;
|
|
1223
|
+
environmentId: Scalars['String'];
|
|
1224
|
+
subscriptionCancellationTime?: Maybe<SubscriptionCancellationTime>;
|
|
1225
|
+
subscriptionRefId: Scalars['String'];
|
|
1226
|
+
};
|
|
1227
|
+
export declare enum SubscriptionCancellationTime {
|
|
1228
|
+
EndOfBillingPeriod = "END_OF_BILLING_PERIOD",
|
|
1229
|
+
Immediate = "IMMEDIATE"
|
|
1230
|
+
}
|
|
1231
|
+
export declare enum SubscriptionEndSetup {
|
|
1232
|
+
CancelSubscription = "CANCEL_SUBSCRIPTION",
|
|
1233
|
+
DowngradeToFree = "DOWNGRADE_TO_FREE"
|
|
1234
|
+
}
|
|
1905
1235
|
export declare type SubscriptionInput = {
|
|
1906
1236
|
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
1907
1237
|
billingId?: Maybe<Scalars['String']>;
|
|
@@ -1916,6 +1246,9 @@ export declare type SubscriptionInput = {
|
|
|
1916
1246
|
refId?: Maybe<Scalars['String']>;
|
|
1917
1247
|
startDate: Scalars['DateTime'];
|
|
1918
1248
|
};
|
|
1249
|
+
export declare type SubscriptionMigrationInput = {
|
|
1250
|
+
subscriptionId: Scalars['String'];
|
|
1251
|
+
};
|
|
1919
1252
|
export declare type SubscriptionPriceFilter = {
|
|
1920
1253
|
and?: Maybe<Array<SubscriptionPriceFilter>>;
|
|
1921
1254
|
id?: Maybe<StringFieldComparison>;
|
|
@@ -1957,9 +1290,10 @@ export declare enum SubscriptionPriceSortFields {
|
|
|
1957
1290
|
/** Subscription status */
|
|
1958
1291
|
export declare enum SubscriptionStatus {
|
|
1959
1292
|
Active = "ACTIVE",
|
|
1293
|
+
Canceled = "CANCELED",
|
|
1960
1294
|
Expired = "EXPIRED",
|
|
1961
|
-
|
|
1962
|
-
|
|
1295
|
+
InTrial = "IN_TRIAL",
|
|
1296
|
+
NotStarted = "NOT_STARTED"
|
|
1963
1297
|
}
|
|
1964
1298
|
export declare type SubscriptionStatusFilterComparison = {
|
|
1965
1299
|
eq?: Maybe<SubscriptionStatus>;
|
|
@@ -1986,11 +1320,6 @@ export declare enum TrialPeriodUnits {
|
|
|
1986
1320
|
Day = "DAY",
|
|
1987
1321
|
Month = "MONTH"
|
|
1988
1322
|
}
|
|
1989
|
-
export declare enum TrialSetup {
|
|
1990
|
-
CancelSubscription = "CANCEL_SUBSCRIPTION",
|
|
1991
|
-
DowngradeToFree = "DOWNGRADE_TO_FREE",
|
|
1992
|
-
NoTrials = "NO_TRIALS"
|
|
1993
|
-
}
|
|
1994
1323
|
export declare type UpdateCustomer = {
|
|
1995
1324
|
billingId?: Maybe<Scalars['String']>;
|
|
1996
1325
|
billingLinkUrl?: Maybe<Scalars['String']>;
|
|
@@ -2038,60 +1367,6 @@ export declare type UpdateIntegrationInput = {
|
|
|
2038
1367
|
vendorIdentifier: VendorIdentifier;
|
|
2039
1368
|
zuoraCredentials?: Maybe<ZuoraCredentialsInput>;
|
|
2040
1369
|
};
|
|
2041
|
-
export declare type UpdateManyAddonsInput = {
|
|
2042
|
-
/** Filter used to find fields to update */
|
|
2043
|
-
filter: AddonUpdateFilter;
|
|
2044
|
-
/** The update to apply to all records found using the filter */
|
|
2045
|
-
update: AddonUpdateInput;
|
|
2046
|
-
};
|
|
2047
|
-
export declare type UpdateManyCustomersInput = {
|
|
2048
|
-
/** Filter used to find fields to update */
|
|
2049
|
-
filter: CustomerUpdateFilter;
|
|
2050
|
-
/** The update to apply to all records found using the filter */
|
|
2051
|
-
update: UpdateCustomer;
|
|
2052
|
-
};
|
|
2053
|
-
export declare type UpdateManyEnvironmentsInput = {
|
|
2054
|
-
/** Filter used to find fields to update */
|
|
2055
|
-
filter: EnvironmentUpdateFilter;
|
|
2056
|
-
/** The update to apply to all records found using the filter */
|
|
2057
|
-
update: UpdateEnvironment;
|
|
2058
|
-
};
|
|
2059
|
-
export declare type UpdateManyHooksInput = {
|
|
2060
|
-
/** Filter used to find fields to update */
|
|
2061
|
-
filter: HookUpdateFilter;
|
|
2062
|
-
/** The update to apply to all records found using the filter */
|
|
2063
|
-
update: UpdateHook;
|
|
2064
|
-
};
|
|
2065
|
-
export declare type UpdateManyIntegrationsInput = {
|
|
2066
|
-
/** Filter used to find fields to update */
|
|
2067
|
-
filter: IntegrationUpdateFilter;
|
|
2068
|
-
/** The update to apply to all records found using the filter */
|
|
2069
|
-
update: UpdateIntegrationInput;
|
|
2070
|
-
};
|
|
2071
|
-
export declare type UpdateManyPackageEntitlementsInput = {
|
|
2072
|
-
/** Filter used to find fields to update */
|
|
2073
|
-
filter: PackageEntitlementUpdateFilter;
|
|
2074
|
-
/** The update to apply to all records found using the filter */
|
|
2075
|
-
update: PackageEntitlementUpdateInput;
|
|
2076
|
-
};
|
|
2077
|
-
export declare type UpdateManyProductsInput = {
|
|
2078
|
-
/** Filter used to find fields to update */
|
|
2079
|
-
filter: ProductUpdateFilter;
|
|
2080
|
-
/** The update to apply to all records found using the filter */
|
|
2081
|
-
update: ProductUpdateInput;
|
|
2082
|
-
};
|
|
2083
|
-
export declare type UpdateManyPromotionalEntitlementsInput = {
|
|
2084
|
-
/** Filter used to find fields to update */
|
|
2085
|
-
filter: PromotionalEntitlementUpdateFilter;
|
|
2086
|
-
/** The update to apply to all records found using the filter */
|
|
2087
|
-
update: PromotionalEntitlementUpdateInput;
|
|
2088
|
-
};
|
|
2089
|
-
export declare type UpdateOneAddonInput = {
|
|
2090
|
-
/** The id of the record to update */
|
|
2091
|
-
id: Scalars['String'];
|
|
2092
|
-
/** The update to apply. */
|
|
2093
|
-
update: AddonUpdateInput;
|
|
2094
|
-
};
|
|
2095
1370
|
export declare type UpdateOneCustomerInput = {
|
|
2096
1371
|
/** The id of the record to update */
|
|
2097
1372
|
id: Scalars['String'];
|
|
@@ -2249,15 +1524,6 @@ export declare type GetEnvironmentQuery = {
|
|
|
2249
1524
|
__typename?: 'Query';
|
|
2250
1525
|
currentEnvironment: string;
|
|
2251
1526
|
};
|
|
2252
|
-
export declare type EntitlementQueryVariables = Exact<{
|
|
2253
|
-
query: FetchEntitlementQuery;
|
|
2254
|
-
}>;
|
|
2255
|
-
export declare type EntitlementQuery = {
|
|
2256
|
-
__typename?: 'Query';
|
|
2257
|
-
entitlement: {
|
|
2258
|
-
__typename?: 'Entitlement';
|
|
2259
|
-
} & EntitlementFragment;
|
|
2260
|
-
};
|
|
2261
1527
|
export declare type CachedEntitlementsQueryVariables = Exact<{
|
|
2262
1528
|
query: FetchEntitlementsQuery;
|
|
2263
1529
|
}>;
|
|
@@ -2365,6 +1631,30 @@ export declare type CreateSubscriptionMutation = {
|
|
|
2365
1631
|
};
|
|
2366
1632
|
};
|
|
2367
1633
|
};
|
|
1634
|
+
export declare type CancelSubscriptionMutationVariables = Exact<{
|
|
1635
|
+
input: SubscriptionCancellationInput;
|
|
1636
|
+
}>;
|
|
1637
|
+
export declare type CancelSubscriptionMutation = {
|
|
1638
|
+
__typename?: 'Mutation';
|
|
1639
|
+
cancelSubscription: {
|
|
1640
|
+
__typename?: 'CustomerSubscription';
|
|
1641
|
+
plan: {
|
|
1642
|
+
__typename?: 'Plan';
|
|
1643
|
+
refId: string;
|
|
1644
|
+
};
|
|
1645
|
+
addons?: Array<{
|
|
1646
|
+
__typename?: 'SubscriptionAddon';
|
|
1647
|
+
addon: {
|
|
1648
|
+
__typename?: 'Addon';
|
|
1649
|
+
refId: string;
|
|
1650
|
+
};
|
|
1651
|
+
}> | null | undefined;
|
|
1652
|
+
customer: {
|
|
1653
|
+
__typename?: 'Customer';
|
|
1654
|
+
refId: string;
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
2368
1658
|
export declare type InitiateCheckoutMutationVariables = Exact<{
|
|
2369
1659
|
input: InitiateCheckoutInput;
|
|
2370
1660
|
}>;
|