@openmeter/client 1.0.0-beta-2b50cff9e992 → 1.0.0-beta-ae95f83a2a40
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/README.md +2 -0
- package/dist/funcs/customers.d.ts +20 -1
- package/dist/funcs/customers.js +91 -0
- package/dist/index.d.ts +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/models/operations/customers.d.ts +34 -1
- package/dist/models/schemas.d.ts +709 -88
- package/dist/models/schemas.js +149 -66
- package/dist/models/types.d.ts +39 -20
- package/dist/sdk/internal.d.ts +33 -2
- package/dist/sdk/internal.js +38 -1
- package/package.json +1 -1
package/dist/models/schemas.d.ts
CHANGED
|
@@ -179,6 +179,11 @@ export declare const entitlementMeasureUsageFromPreset: z.ZodEnum<{
|
|
|
179
179
|
now: "now";
|
|
180
180
|
}>;
|
|
181
181
|
export declare const entitlementHistoryWindowSize: z.ZodUnion<readonly [z.ZodLiteral<"PT1H">, z.ZodLiteral<"P1D">]>;
|
|
182
|
+
export declare const stringFieldFilterExact: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
183
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
184
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
185
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, z.core.$strip>]>;
|
|
182
187
|
export declare const createLabels: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
183
188
|
export declare const creditFundingMethod: z.ZodEnum<{
|
|
184
189
|
external: "external";
|
|
@@ -207,11 +212,6 @@ export declare const validationIssueSeverity: z.ZodEnum<{
|
|
|
207
212
|
critical: "critical";
|
|
208
213
|
warning: "warning";
|
|
209
214
|
}>;
|
|
210
|
-
export declare const stringFieldFilterExact: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
211
|
-
eq: z.ZodOptional<z.ZodString>;
|
|
212
|
-
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
213
|
-
neq: z.ZodOptional<z.ZodString>;
|
|
214
|
-
}, z.core.$strip>]>;
|
|
215
215
|
export declare const creditGrantVoidPaymentAdjustment: z.ZodEnum<{
|
|
216
216
|
none: "none";
|
|
217
217
|
}>;
|
|
@@ -1406,45 +1406,6 @@ export declare const entitlementMeasureUsageFrom: z.ZodUnion<readonly [z.ZodEnum
|
|
|
1406
1406
|
current_period_start: "current_period_start";
|
|
1407
1407
|
now: "now";
|
|
1408
1408
|
}>, z.ZodDate]>;
|
|
1409
|
-
export declare const updateCreditGrantExternalSettlementRequest: z.ZodObject<{
|
|
1410
|
-
status: z.ZodEnum<{
|
|
1411
|
-
authorized: "authorized";
|
|
1412
|
-
pending: "pending";
|
|
1413
|
-
settled: "settled";
|
|
1414
|
-
}>;
|
|
1415
|
-
}, z.core.$strip>;
|
|
1416
|
-
export declare const listCreditGrantsParamsFilter: z.ZodObject<{
|
|
1417
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
1418
|
-
active: "active";
|
|
1419
|
-
expired: "expired";
|
|
1420
|
-
pending: "pending";
|
|
1421
|
-
voided: "voided";
|
|
1422
|
-
}>>;
|
|
1423
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
1424
|
-
key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1425
|
-
eq: z.ZodOptional<z.ZodString>;
|
|
1426
|
-
neq: z.ZodOptional<z.ZodString>;
|
|
1427
|
-
contains: z.ZodOptional<z.ZodString>;
|
|
1428
|
-
ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1429
|
-
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1430
|
-
gt: z.ZodOptional<z.ZodString>;
|
|
1431
|
-
gte: z.ZodOptional<z.ZodString>;
|
|
1432
|
-
lt: z.ZodOptional<z.ZodString>;
|
|
1433
|
-
lte: z.ZodOptional<z.ZodString>;
|
|
1434
|
-
exists: z.ZodOptional<z.ZodBoolean>;
|
|
1435
|
-
}, z.core.$strip>]>>;
|
|
1436
|
-
}, z.core.$strip>;
|
|
1437
|
-
export declare const validationIssue: z.ZodObject<{
|
|
1438
|
-
code: z.ZodString;
|
|
1439
|
-
message: z.ZodString;
|
|
1440
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1441
|
-
severity: z.ZodEnum<{
|
|
1442
|
-
critical: "critical";
|
|
1443
|
-
warning: "warning";
|
|
1444
|
-
}>;
|
|
1445
|
-
field: z.ZodOptional<z.ZodString>;
|
|
1446
|
-
component: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
}, z.core.$strip>;
|
|
1448
1409
|
export declare const getCreditBalanceParamsFilter: z.ZodObject<{
|
|
1449
1410
|
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1450
1411
|
eq: z.ZodOptional<z.ZodString>;
|
|
@@ -1500,6 +1461,45 @@ export declare const listPlansParamsFilter: z.ZodObject<{
|
|
|
1500
1461
|
neq: z.ZodOptional<z.ZodString>;
|
|
1501
1462
|
}, z.core.$strip>]>>;
|
|
1502
1463
|
}, z.core.$strip>;
|
|
1464
|
+
export declare const updateCreditGrantExternalSettlementRequest: z.ZodObject<{
|
|
1465
|
+
status: z.ZodEnum<{
|
|
1466
|
+
authorized: "authorized";
|
|
1467
|
+
pending: "pending";
|
|
1468
|
+
settled: "settled";
|
|
1469
|
+
}>;
|
|
1470
|
+
}, z.core.$strip>;
|
|
1471
|
+
export declare const listCreditGrantsParamsFilter: z.ZodObject<{
|
|
1472
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1473
|
+
active: "active";
|
|
1474
|
+
expired: "expired";
|
|
1475
|
+
pending: "pending";
|
|
1476
|
+
voided: "voided";
|
|
1477
|
+
}>>;
|
|
1478
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1480
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1484
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1485
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
exists: z.ZodOptional<z.ZodBoolean>;
|
|
1490
|
+
}, z.core.$strip>]>>;
|
|
1491
|
+
}, z.core.$strip>;
|
|
1492
|
+
export declare const validationIssue: z.ZodObject<{
|
|
1493
|
+
code: z.ZodString;
|
|
1494
|
+
message: z.ZodString;
|
|
1495
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1496
|
+
severity: z.ZodEnum<{
|
|
1497
|
+
critical: "critical";
|
|
1498
|
+
warning: "warning";
|
|
1499
|
+
}>;
|
|
1500
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1501
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
}, z.core.$strip>;
|
|
1503
1503
|
export declare const voidCreditGrantRequest: z.ZodObject<{
|
|
1504
1504
|
paymentAdjustment: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1505
1505
|
none: "none";
|
|
@@ -1989,6 +1989,23 @@ export declare const listCustomersParamsFilter: z.ZodObject<{
|
|
|
1989
1989
|
neq: z.ZodOptional<z.ZodString>;
|
|
1990
1990
|
}, z.core.$strip>]>>;
|
|
1991
1991
|
}, z.core.$strip>;
|
|
1992
|
+
export declare const listCustomerEntitlementsParamsFilter: z.ZodObject<{
|
|
1993
|
+
featureId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1994
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
1995
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1996
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
1997
|
+
}, z.core.$strip>]>>;
|
|
1998
|
+
featureKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1999
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2000
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2001
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2002
|
+
}, z.core.$strip>]>>;
|
|
2003
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2004
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
2005
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2006
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
2007
|
+
}, z.core.$strip>]>>;
|
|
2008
|
+
}, z.core.$strip>;
|
|
1992
2009
|
export declare const listSubscriptionsParamsFilter: z.ZodObject<{
|
|
1993
2010
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1994
2011
|
eq: z.ZodOptional<z.ZodString>;
|
|
@@ -5722,6 +5739,96 @@ export declare const createEntitlementRequest: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
5722
5739
|
anchor: z.ZodOptional<z.ZodDate>;
|
|
5723
5740
|
}, z.core.$strip>>;
|
|
5724
5741
|
}, z.core.$strip>], "type">;
|
|
5742
|
+
export declare const entitlementPagePaginatedResponse: z.ZodObject<{
|
|
5743
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5744
|
+
id: z.ZodString;
|
|
5745
|
+
type: z.ZodLiteral<"metered">;
|
|
5746
|
+
feature: z.ZodObject<{
|
|
5747
|
+
id: z.ZodString;
|
|
5748
|
+
}, z.core.$strip>;
|
|
5749
|
+
customer: z.ZodObject<{
|
|
5750
|
+
id: z.ZodString;
|
|
5751
|
+
}, z.core.$strip>;
|
|
5752
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5753
|
+
activeFrom: z.ZodDate;
|
|
5754
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
5755
|
+
createdAt: z.ZodDate;
|
|
5756
|
+
updatedAt: z.ZodDate;
|
|
5757
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
5758
|
+
usagePeriod: z.ZodObject<{
|
|
5759
|
+
anchor: z.ZodDate;
|
|
5760
|
+
interval: z.ZodString;
|
|
5761
|
+
}, z.core.$strip>;
|
|
5762
|
+
currentUsagePeriod: z.ZodObject<{
|
|
5763
|
+
from: z.ZodDate;
|
|
5764
|
+
to: z.ZodDate;
|
|
5765
|
+
}, z.core.$strip>;
|
|
5766
|
+
isSoftLimit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5767
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
5768
|
+
amount: z.ZodString;
|
|
5769
|
+
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5770
|
+
}, z.core.$strip>>;
|
|
5771
|
+
issueAfterReset: z.ZodOptional<z.ZodString>;
|
|
5772
|
+
issueAfterResetPriority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5773
|
+
preserveOverageAtReset: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5774
|
+
measureUsageFrom: z.ZodDate;
|
|
5775
|
+
lastReset: z.ZodDate;
|
|
5776
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5777
|
+
id: z.ZodString;
|
|
5778
|
+
type: z.ZodLiteral<"static">;
|
|
5779
|
+
feature: z.ZodObject<{
|
|
5780
|
+
id: z.ZodString;
|
|
5781
|
+
}, z.core.$strip>;
|
|
5782
|
+
customer: z.ZodObject<{
|
|
5783
|
+
id: z.ZodString;
|
|
5784
|
+
}, z.core.$strip>;
|
|
5785
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5786
|
+
usagePeriod: z.ZodOptional<z.ZodObject<{
|
|
5787
|
+
anchor: z.ZodDate;
|
|
5788
|
+
interval: z.ZodString;
|
|
5789
|
+
}, z.core.$strip>>;
|
|
5790
|
+
currentUsagePeriod: z.ZodOptional<z.ZodObject<{
|
|
5791
|
+
from: z.ZodDate;
|
|
5792
|
+
to: z.ZodDate;
|
|
5793
|
+
}, z.core.$strip>>;
|
|
5794
|
+
activeFrom: z.ZodDate;
|
|
5795
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
5796
|
+
createdAt: z.ZodDate;
|
|
5797
|
+
updatedAt: z.ZodDate;
|
|
5798
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
5799
|
+
config: z.ZodUnknown;
|
|
5800
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5801
|
+
id: z.ZodString;
|
|
5802
|
+
type: z.ZodLiteral<"boolean">;
|
|
5803
|
+
feature: z.ZodObject<{
|
|
5804
|
+
id: z.ZodString;
|
|
5805
|
+
}, z.core.$strip>;
|
|
5806
|
+
customer: z.ZodObject<{
|
|
5807
|
+
id: z.ZodString;
|
|
5808
|
+
}, z.core.$strip>;
|
|
5809
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5810
|
+
usagePeriod: z.ZodOptional<z.ZodObject<{
|
|
5811
|
+
anchor: z.ZodDate;
|
|
5812
|
+
interval: z.ZodString;
|
|
5813
|
+
}, z.core.$strip>>;
|
|
5814
|
+
currentUsagePeriod: z.ZodOptional<z.ZodObject<{
|
|
5815
|
+
from: z.ZodDate;
|
|
5816
|
+
to: z.ZodDate;
|
|
5817
|
+
}, z.core.$strip>>;
|
|
5818
|
+
activeFrom: z.ZodDate;
|
|
5819
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
5820
|
+
createdAt: z.ZodDate;
|
|
5821
|
+
updatedAt: z.ZodDate;
|
|
5822
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
5823
|
+
}, z.core.$strip>], "type">>;
|
|
5824
|
+
meta: z.ZodObject<{
|
|
5825
|
+
page: z.ZodObject<{
|
|
5826
|
+
number: z.ZodNumber;
|
|
5827
|
+
size: z.ZodNumber;
|
|
5828
|
+
total: z.ZodNumber;
|
|
5829
|
+
}, z.core.$strip>;
|
|
5830
|
+
}, z.core.$strip>;
|
|
5831
|
+
}, z.core.$strip>;
|
|
5725
5832
|
export declare const workflowCollectionSettings: z.ZodObject<{
|
|
5726
5833
|
alignment: z.ZodDefault<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5727
5834
|
type: z.ZodLiteral<"subscription">;
|
|
@@ -18432,6 +18539,211 @@ export declare const getCustomerEntitlementHistoryResponse: z.ZodObject<{
|
|
|
18432
18539
|
}, z.core.$strip>>;
|
|
18433
18540
|
}, z.core.$strip>>;
|
|
18434
18541
|
}, z.core.$strip>;
|
|
18542
|
+
export declare const getCustomerEntitlementPathParams: z.ZodObject<{
|
|
18543
|
+
customerId: z.ZodString;
|
|
18544
|
+
entitlementId: z.ZodString;
|
|
18545
|
+
}, z.core.$strip>;
|
|
18546
|
+
export declare const getCustomerEntitlementResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18547
|
+
id: z.ZodString;
|
|
18548
|
+
type: z.ZodLiteral<"metered">;
|
|
18549
|
+
feature: z.ZodObject<{
|
|
18550
|
+
id: z.ZodString;
|
|
18551
|
+
}, z.core.$strip>;
|
|
18552
|
+
customer: z.ZodObject<{
|
|
18553
|
+
id: z.ZodString;
|
|
18554
|
+
}, z.core.$strip>;
|
|
18555
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18556
|
+
activeFrom: z.ZodDate;
|
|
18557
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
18558
|
+
createdAt: z.ZodDate;
|
|
18559
|
+
updatedAt: z.ZodDate;
|
|
18560
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18561
|
+
usagePeriod: z.ZodObject<{
|
|
18562
|
+
anchor: z.ZodDate;
|
|
18563
|
+
interval: z.ZodString;
|
|
18564
|
+
}, z.core.$strip>;
|
|
18565
|
+
currentUsagePeriod: z.ZodObject<{
|
|
18566
|
+
from: z.ZodDate;
|
|
18567
|
+
to: z.ZodDate;
|
|
18568
|
+
}, z.core.$strip>;
|
|
18569
|
+
isSoftLimit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18570
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
18571
|
+
amount: z.ZodString;
|
|
18572
|
+
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
18573
|
+
}, z.core.$strip>>;
|
|
18574
|
+
issueAfterReset: z.ZodOptional<z.ZodString>;
|
|
18575
|
+
issueAfterResetPriority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
18576
|
+
preserveOverageAtReset: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18577
|
+
measureUsageFrom: z.ZodDate;
|
|
18578
|
+
lastReset: z.ZodDate;
|
|
18579
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18580
|
+
id: z.ZodString;
|
|
18581
|
+
type: z.ZodLiteral<"static">;
|
|
18582
|
+
feature: z.ZodObject<{
|
|
18583
|
+
id: z.ZodString;
|
|
18584
|
+
}, z.core.$strip>;
|
|
18585
|
+
customer: z.ZodObject<{
|
|
18586
|
+
id: z.ZodString;
|
|
18587
|
+
}, z.core.$strip>;
|
|
18588
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18589
|
+
usagePeriod: z.ZodOptional<z.ZodObject<{
|
|
18590
|
+
anchor: z.ZodDate;
|
|
18591
|
+
interval: z.ZodString;
|
|
18592
|
+
}, z.core.$strip>>;
|
|
18593
|
+
currentUsagePeriod: z.ZodOptional<z.ZodObject<{
|
|
18594
|
+
from: z.ZodDate;
|
|
18595
|
+
to: z.ZodDate;
|
|
18596
|
+
}, z.core.$strip>>;
|
|
18597
|
+
activeFrom: z.ZodDate;
|
|
18598
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
18599
|
+
createdAt: z.ZodDate;
|
|
18600
|
+
updatedAt: z.ZodDate;
|
|
18601
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18602
|
+
config: z.ZodUnknown;
|
|
18603
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18604
|
+
id: z.ZodString;
|
|
18605
|
+
type: z.ZodLiteral<"boolean">;
|
|
18606
|
+
feature: z.ZodObject<{
|
|
18607
|
+
id: z.ZodString;
|
|
18608
|
+
}, z.core.$strip>;
|
|
18609
|
+
customer: z.ZodObject<{
|
|
18610
|
+
id: z.ZodString;
|
|
18611
|
+
}, z.core.$strip>;
|
|
18612
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18613
|
+
usagePeriod: z.ZodOptional<z.ZodObject<{
|
|
18614
|
+
anchor: z.ZodDate;
|
|
18615
|
+
interval: z.ZodString;
|
|
18616
|
+
}, z.core.$strip>>;
|
|
18617
|
+
currentUsagePeriod: z.ZodOptional<z.ZodObject<{
|
|
18618
|
+
from: z.ZodDate;
|
|
18619
|
+
to: z.ZodDate;
|
|
18620
|
+
}, z.core.$strip>>;
|
|
18621
|
+
activeFrom: z.ZodDate;
|
|
18622
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
18623
|
+
createdAt: z.ZodDate;
|
|
18624
|
+
updatedAt: z.ZodDate;
|
|
18625
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18626
|
+
}, z.core.$strip>], "type">;
|
|
18627
|
+
export declare const listCustomerEntitlementsPathParams: z.ZodObject<{
|
|
18628
|
+
customerId: z.ZodString;
|
|
18629
|
+
}, z.core.$strip>;
|
|
18630
|
+
export declare const listCustomerEntitlementsQueryParams: z.ZodObject<{
|
|
18631
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
18632
|
+
size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
18633
|
+
number: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
18634
|
+
}, z.core.$strip>>;
|
|
18635
|
+
sort: z.ZodOptional<z.ZodObject<{
|
|
18636
|
+
by: z.ZodString;
|
|
18637
|
+
order: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"asc">, z.ZodLiteral<"desc">]>>>;
|
|
18638
|
+
}, z.core.$strip>>;
|
|
18639
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
18640
|
+
featureId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18641
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
18642
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18643
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
18644
|
+
}, z.core.$strip>]>>;
|
|
18645
|
+
featureKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18646
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
18647
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18648
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
18649
|
+
}, z.core.$strip>]>>;
|
|
18650
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18651
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
18652
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18653
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
18654
|
+
}, z.core.$strip>]>>;
|
|
18655
|
+
}, z.core.$strip>>;
|
|
18656
|
+
}, z.core.$strip>;
|
|
18657
|
+
export declare const listCustomerEntitlementsResponse: z.ZodObject<{
|
|
18658
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18659
|
+
id: z.ZodString;
|
|
18660
|
+
type: z.ZodLiteral<"metered">;
|
|
18661
|
+
feature: z.ZodObject<{
|
|
18662
|
+
id: z.ZodString;
|
|
18663
|
+
}, z.core.$strip>;
|
|
18664
|
+
customer: z.ZodObject<{
|
|
18665
|
+
id: z.ZodString;
|
|
18666
|
+
}, z.core.$strip>;
|
|
18667
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18668
|
+
activeFrom: z.ZodDate;
|
|
18669
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
18670
|
+
createdAt: z.ZodDate;
|
|
18671
|
+
updatedAt: z.ZodDate;
|
|
18672
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18673
|
+
usagePeriod: z.ZodObject<{
|
|
18674
|
+
anchor: z.ZodDate;
|
|
18675
|
+
interval: z.ZodString;
|
|
18676
|
+
}, z.core.$strip>;
|
|
18677
|
+
currentUsagePeriod: z.ZodObject<{
|
|
18678
|
+
from: z.ZodDate;
|
|
18679
|
+
to: z.ZodDate;
|
|
18680
|
+
}, z.core.$strip>;
|
|
18681
|
+
isSoftLimit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18682
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
18683
|
+
amount: z.ZodString;
|
|
18684
|
+
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
18685
|
+
}, z.core.$strip>>;
|
|
18686
|
+
issueAfterReset: z.ZodOptional<z.ZodString>;
|
|
18687
|
+
issueAfterResetPriority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
18688
|
+
preserveOverageAtReset: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
18689
|
+
measureUsageFrom: z.ZodDate;
|
|
18690
|
+
lastReset: z.ZodDate;
|
|
18691
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18692
|
+
id: z.ZodString;
|
|
18693
|
+
type: z.ZodLiteral<"static">;
|
|
18694
|
+
feature: z.ZodObject<{
|
|
18695
|
+
id: z.ZodString;
|
|
18696
|
+
}, z.core.$strip>;
|
|
18697
|
+
customer: z.ZodObject<{
|
|
18698
|
+
id: z.ZodString;
|
|
18699
|
+
}, z.core.$strip>;
|
|
18700
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18701
|
+
usagePeriod: z.ZodOptional<z.ZodObject<{
|
|
18702
|
+
anchor: z.ZodDate;
|
|
18703
|
+
interval: z.ZodString;
|
|
18704
|
+
}, z.core.$strip>>;
|
|
18705
|
+
currentUsagePeriod: z.ZodOptional<z.ZodObject<{
|
|
18706
|
+
from: z.ZodDate;
|
|
18707
|
+
to: z.ZodDate;
|
|
18708
|
+
}, z.core.$strip>>;
|
|
18709
|
+
activeFrom: z.ZodDate;
|
|
18710
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
18711
|
+
createdAt: z.ZodDate;
|
|
18712
|
+
updatedAt: z.ZodDate;
|
|
18713
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18714
|
+
config: z.ZodUnknown;
|
|
18715
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18716
|
+
id: z.ZodString;
|
|
18717
|
+
type: z.ZodLiteral<"boolean">;
|
|
18718
|
+
feature: z.ZodObject<{
|
|
18719
|
+
id: z.ZodString;
|
|
18720
|
+
}, z.core.$strip>;
|
|
18721
|
+
customer: z.ZodObject<{
|
|
18722
|
+
id: z.ZodString;
|
|
18723
|
+
}, z.core.$strip>;
|
|
18724
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18725
|
+
usagePeriod: z.ZodOptional<z.ZodObject<{
|
|
18726
|
+
anchor: z.ZodDate;
|
|
18727
|
+
interval: z.ZodString;
|
|
18728
|
+
}, z.core.$strip>>;
|
|
18729
|
+
currentUsagePeriod: z.ZodOptional<z.ZodObject<{
|
|
18730
|
+
from: z.ZodDate;
|
|
18731
|
+
to: z.ZodDate;
|
|
18732
|
+
}, z.core.$strip>>;
|
|
18733
|
+
activeFrom: z.ZodDate;
|
|
18734
|
+
activeTo: z.ZodOptional<z.ZodDate>;
|
|
18735
|
+
createdAt: z.ZodDate;
|
|
18736
|
+
updatedAt: z.ZodDate;
|
|
18737
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
18738
|
+
}, z.core.$strip>], "type">>;
|
|
18739
|
+
meta: z.ZodObject<{
|
|
18740
|
+
page: z.ZodObject<{
|
|
18741
|
+
number: z.ZodNumber;
|
|
18742
|
+
size: z.ZodNumber;
|
|
18743
|
+
total: z.ZodNumber;
|
|
18744
|
+
}, z.core.$strip>;
|
|
18745
|
+
}, z.core.$strip>;
|
|
18746
|
+
}, z.core.$strip>;
|
|
18435
18747
|
export declare const createCreditGrantPathParams: z.ZodObject<{
|
|
18436
18748
|
customerId: z.ZodString;
|
|
18437
18749
|
}, z.core.$strip>;
|
|
@@ -33465,6 +33777,11 @@ export declare const entitlementMeasureUsageFromPresetWire: z.ZodEnum<{
|
|
|
33465
33777
|
now: "now";
|
|
33466
33778
|
}>;
|
|
33467
33779
|
export declare const entitlementHistoryWindowSizeWire: z.ZodUnion<readonly [z.ZodLiteral<"PT1H">, z.ZodLiteral<"P1D">]>;
|
|
33780
|
+
export declare const stringFieldFilterExactWire: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
33781
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
33782
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33783
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
33784
|
+
}, z.core.$strict>]>;
|
|
33468
33785
|
export declare const createLabelsWire: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
33469
33786
|
export declare const creditFundingMethodWire: z.ZodEnum<{
|
|
33470
33787
|
external: "external";
|
|
@@ -33493,11 +33810,6 @@ export declare const validationIssueSeverityWire: z.ZodEnum<{
|
|
|
33493
33810
|
critical: "critical";
|
|
33494
33811
|
warning: "warning";
|
|
33495
33812
|
}>;
|
|
33496
|
-
export declare const stringFieldFilterExactWire: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
33497
|
-
eq: z.ZodOptional<z.ZodString>;
|
|
33498
|
-
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33499
|
-
neq: z.ZodOptional<z.ZodString>;
|
|
33500
|
-
}, z.core.$strict>]>;
|
|
33501
33813
|
export declare const creditGrantVoidPaymentAdjustmentWire: z.ZodEnum<{
|
|
33502
33814
|
none: "none";
|
|
33503
33815
|
}>;
|
|
@@ -34692,45 +35004,6 @@ export declare const entitlementMeasureUsageFromWire: z.ZodUnion<readonly [z.Zod
|
|
|
34692
35004
|
current_period_start: "current_period_start";
|
|
34693
35005
|
now: "now";
|
|
34694
35006
|
}>, z.ZodString]>;
|
|
34695
|
-
export declare const updateCreditGrantExternalSettlementRequestWire: z.ZodObject<{
|
|
34696
|
-
status: z.ZodEnum<{
|
|
34697
|
-
authorized: "authorized";
|
|
34698
|
-
pending: "pending";
|
|
34699
|
-
settled: "settled";
|
|
34700
|
-
}>;
|
|
34701
|
-
}, z.core.$strict>;
|
|
34702
|
-
export declare const listCreditGrantsParamsFilterWire: z.ZodObject<{
|
|
34703
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
34704
|
-
active: "active";
|
|
34705
|
-
expired: "expired";
|
|
34706
|
-
pending: "pending";
|
|
34707
|
-
voided: "voided";
|
|
34708
|
-
}>>;
|
|
34709
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
34710
|
-
key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
34711
|
-
eq: z.ZodOptional<z.ZodString>;
|
|
34712
|
-
neq: z.ZodOptional<z.ZodString>;
|
|
34713
|
-
contains: z.ZodOptional<z.ZodString>;
|
|
34714
|
-
ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34715
|
-
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34716
|
-
gt: z.ZodOptional<z.ZodString>;
|
|
34717
|
-
gte: z.ZodOptional<z.ZodString>;
|
|
34718
|
-
lt: z.ZodOptional<z.ZodString>;
|
|
34719
|
-
lte: z.ZodOptional<z.ZodString>;
|
|
34720
|
-
exists: z.ZodOptional<z.ZodBoolean>;
|
|
34721
|
-
}, z.core.$strict>]>>;
|
|
34722
|
-
}, z.core.$strict>;
|
|
34723
|
-
export declare const validationIssueWire: z.ZodObject<{
|
|
34724
|
-
code: z.ZodString;
|
|
34725
|
-
message: z.ZodString;
|
|
34726
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
34727
|
-
severity: z.ZodEnum<{
|
|
34728
|
-
critical: "critical";
|
|
34729
|
-
warning: "warning";
|
|
34730
|
-
}>;
|
|
34731
|
-
field: z.ZodOptional<z.ZodString>;
|
|
34732
|
-
component: z.ZodOptional<z.ZodString>;
|
|
34733
|
-
}, z.core.$strict>;
|
|
34734
35007
|
export declare const getCreditBalanceParamsFilterWire: z.ZodObject<{
|
|
34735
35008
|
currency: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
34736
35009
|
eq: z.ZodOptional<z.ZodString>;
|
|
@@ -34786,6 +35059,45 @@ export declare const listPlansParamsFilterWire: z.ZodObject<{
|
|
|
34786
35059
|
neq: z.ZodOptional<z.ZodString>;
|
|
34787
35060
|
}, z.core.$strict>]>>;
|
|
34788
35061
|
}, z.core.$strict>;
|
|
35062
|
+
export declare const updateCreditGrantExternalSettlementRequestWire: z.ZodObject<{
|
|
35063
|
+
status: z.ZodEnum<{
|
|
35064
|
+
authorized: "authorized";
|
|
35065
|
+
pending: "pending";
|
|
35066
|
+
settled: "settled";
|
|
35067
|
+
}>;
|
|
35068
|
+
}, z.core.$strict>;
|
|
35069
|
+
export declare const listCreditGrantsParamsFilterWire: z.ZodObject<{
|
|
35070
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
35071
|
+
active: "active";
|
|
35072
|
+
expired: "expired";
|
|
35073
|
+
pending: "pending";
|
|
35074
|
+
voided: "voided";
|
|
35075
|
+
}>>;
|
|
35076
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
35077
|
+
key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35078
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35079
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35080
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
35081
|
+
ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35082
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35083
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
35084
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
35085
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
35086
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
35087
|
+
exists: z.ZodOptional<z.ZodBoolean>;
|
|
35088
|
+
}, z.core.$strict>]>>;
|
|
35089
|
+
}, z.core.$strict>;
|
|
35090
|
+
export declare const validationIssueWire: z.ZodObject<{
|
|
35091
|
+
code: z.ZodString;
|
|
35092
|
+
message: z.ZodString;
|
|
35093
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
35094
|
+
severity: z.ZodEnum<{
|
|
35095
|
+
critical: "critical";
|
|
35096
|
+
warning: "warning";
|
|
35097
|
+
}>;
|
|
35098
|
+
field: z.ZodOptional<z.ZodString>;
|
|
35099
|
+
component: z.ZodOptional<z.ZodString>;
|
|
35100
|
+
}, z.core.$strict>;
|
|
34789
35101
|
export declare const voidCreditGrantRequestWire: z.ZodObject<{
|
|
34790
35102
|
payment_adjustment: z.ZodOptional<z.ZodEnum<{
|
|
34791
35103
|
none: "none";
|
|
@@ -35275,6 +35587,23 @@ export declare const listCustomersParamsFilterWire: z.ZodObject<{
|
|
|
35275
35587
|
neq: z.ZodOptional<z.ZodString>;
|
|
35276
35588
|
}, z.core.$strict>]>>;
|
|
35277
35589
|
}, z.core.$strict>;
|
|
35590
|
+
export declare const listCustomerEntitlementsParamsFilterWire: z.ZodObject<{
|
|
35591
|
+
feature_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35592
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35593
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35594
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35595
|
+
}, z.core.$strict>]>>;
|
|
35596
|
+
feature_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35597
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35598
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35599
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35600
|
+
}, z.core.$strict>]>>;
|
|
35601
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35602
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
35603
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35604
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
35605
|
+
}, z.core.$strict>]>>;
|
|
35606
|
+
}, z.core.$strict>;
|
|
35278
35607
|
export declare const listSubscriptionsParamsFilterWire: z.ZodObject<{
|
|
35279
35608
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
35280
35609
|
eq: z.ZodOptional<z.ZodString>;
|
|
@@ -39008,6 +39337,96 @@ export declare const createEntitlementRequestWire: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
39008
39337
|
anchor: z.ZodOptional<z.ZodString>;
|
|
39009
39338
|
}, z.core.$strict>>;
|
|
39010
39339
|
}, z.core.$strict>], "type">;
|
|
39340
|
+
export declare const entitlementPagePaginatedResponseWire: z.ZodObject<{
|
|
39341
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39342
|
+
id: z.ZodString;
|
|
39343
|
+
type: z.ZodLiteral<"metered">;
|
|
39344
|
+
feature: z.ZodObject<{
|
|
39345
|
+
id: z.ZodString;
|
|
39346
|
+
}, z.core.$strict>;
|
|
39347
|
+
customer: z.ZodObject<{
|
|
39348
|
+
id: z.ZodString;
|
|
39349
|
+
}, z.core.$strict>;
|
|
39350
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
39351
|
+
active_from: z.ZodString;
|
|
39352
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
39353
|
+
created_at: z.ZodString;
|
|
39354
|
+
updated_at: z.ZodString;
|
|
39355
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
39356
|
+
usage_period: z.ZodObject<{
|
|
39357
|
+
anchor: z.ZodString;
|
|
39358
|
+
interval: z.ZodString;
|
|
39359
|
+
}, z.core.$strict>;
|
|
39360
|
+
current_usage_period: z.ZodObject<{
|
|
39361
|
+
from: z.ZodString;
|
|
39362
|
+
to: z.ZodString;
|
|
39363
|
+
}, z.core.$strict>;
|
|
39364
|
+
is_soft_limit: z.ZodOptional<z.ZodBoolean>;
|
|
39365
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
39366
|
+
amount: z.ZodString;
|
|
39367
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
39368
|
+
}, z.core.$strict>>;
|
|
39369
|
+
issue_after_reset: z.ZodOptional<z.ZodString>;
|
|
39370
|
+
issue_after_reset_priority: z.ZodOptional<z.ZodNumber>;
|
|
39371
|
+
preserve_overage_at_reset: z.ZodOptional<z.ZodBoolean>;
|
|
39372
|
+
measure_usage_from: z.ZodString;
|
|
39373
|
+
last_reset: z.ZodString;
|
|
39374
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39375
|
+
id: z.ZodString;
|
|
39376
|
+
type: z.ZodLiteral<"static">;
|
|
39377
|
+
feature: z.ZodObject<{
|
|
39378
|
+
id: z.ZodString;
|
|
39379
|
+
}, z.core.$strict>;
|
|
39380
|
+
customer: z.ZodObject<{
|
|
39381
|
+
id: z.ZodString;
|
|
39382
|
+
}, z.core.$strict>;
|
|
39383
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
39384
|
+
usage_period: z.ZodOptional<z.ZodObject<{
|
|
39385
|
+
anchor: z.ZodString;
|
|
39386
|
+
interval: z.ZodString;
|
|
39387
|
+
}, z.core.$strict>>;
|
|
39388
|
+
current_usage_period: z.ZodOptional<z.ZodObject<{
|
|
39389
|
+
from: z.ZodString;
|
|
39390
|
+
to: z.ZodString;
|
|
39391
|
+
}, z.core.$strict>>;
|
|
39392
|
+
active_from: z.ZodString;
|
|
39393
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
39394
|
+
created_at: z.ZodString;
|
|
39395
|
+
updated_at: z.ZodString;
|
|
39396
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
39397
|
+
config: z.ZodUnknown;
|
|
39398
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39399
|
+
id: z.ZodString;
|
|
39400
|
+
type: z.ZodLiteral<"boolean">;
|
|
39401
|
+
feature: z.ZodObject<{
|
|
39402
|
+
id: z.ZodString;
|
|
39403
|
+
}, z.core.$strict>;
|
|
39404
|
+
customer: z.ZodObject<{
|
|
39405
|
+
id: z.ZodString;
|
|
39406
|
+
}, z.core.$strict>;
|
|
39407
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
39408
|
+
usage_period: z.ZodOptional<z.ZodObject<{
|
|
39409
|
+
anchor: z.ZodString;
|
|
39410
|
+
interval: z.ZodString;
|
|
39411
|
+
}, z.core.$strict>>;
|
|
39412
|
+
current_usage_period: z.ZodOptional<z.ZodObject<{
|
|
39413
|
+
from: z.ZodString;
|
|
39414
|
+
to: z.ZodString;
|
|
39415
|
+
}, z.core.$strict>>;
|
|
39416
|
+
active_from: z.ZodString;
|
|
39417
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
39418
|
+
created_at: z.ZodString;
|
|
39419
|
+
updated_at: z.ZodString;
|
|
39420
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
39421
|
+
}, z.core.$strict>], "type">>;
|
|
39422
|
+
meta: z.ZodObject<{
|
|
39423
|
+
page: z.ZodObject<{
|
|
39424
|
+
number: z.ZodNumber;
|
|
39425
|
+
size: z.ZodNumber;
|
|
39426
|
+
total: z.ZodNumber;
|
|
39427
|
+
}, z.core.$strict>;
|
|
39428
|
+
}, z.core.$strict>;
|
|
39429
|
+
}, z.core.$strict>;
|
|
39011
39430
|
export declare const workflowCollectionSettingsWire: z.ZodObject<{
|
|
39012
39431
|
alignment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39013
39432
|
type: z.ZodLiteral<"subscription">;
|
|
@@ -51709,6 +52128,208 @@ export declare const getCustomerEntitlementHistoryResponseWire: z.ZodObject<{
|
|
|
51709
52128
|
}, z.core.$strict>>;
|
|
51710
52129
|
}, z.core.$strict>>;
|
|
51711
52130
|
}, z.core.$strict>;
|
|
52131
|
+
export declare const getCustomerEntitlementPathParamsWire: z.ZodObject<{
|
|
52132
|
+
customerId: z.ZodString;
|
|
52133
|
+
entitlementId: z.ZodString;
|
|
52134
|
+
}, z.core.$strip>;
|
|
52135
|
+
export declare const getCustomerEntitlementResponseWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
52136
|
+
id: z.ZodString;
|
|
52137
|
+
type: z.ZodLiteral<"metered">;
|
|
52138
|
+
feature: z.ZodObject<{
|
|
52139
|
+
id: z.ZodString;
|
|
52140
|
+
}, z.core.$strict>;
|
|
52141
|
+
customer: z.ZodObject<{
|
|
52142
|
+
id: z.ZodString;
|
|
52143
|
+
}, z.core.$strict>;
|
|
52144
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52145
|
+
active_from: z.ZodString;
|
|
52146
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
52147
|
+
created_at: z.ZodString;
|
|
52148
|
+
updated_at: z.ZodString;
|
|
52149
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
52150
|
+
usage_period: z.ZodObject<{
|
|
52151
|
+
anchor: z.ZodString;
|
|
52152
|
+
interval: z.ZodString;
|
|
52153
|
+
}, z.core.$strict>;
|
|
52154
|
+
current_usage_period: z.ZodObject<{
|
|
52155
|
+
from: z.ZodString;
|
|
52156
|
+
to: z.ZodString;
|
|
52157
|
+
}, z.core.$strict>;
|
|
52158
|
+
is_soft_limit: z.ZodOptional<z.ZodBoolean>;
|
|
52159
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
52160
|
+
amount: z.ZodString;
|
|
52161
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
52162
|
+
}, z.core.$strict>>;
|
|
52163
|
+
issue_after_reset: z.ZodOptional<z.ZodString>;
|
|
52164
|
+
issue_after_reset_priority: z.ZodOptional<z.ZodNumber>;
|
|
52165
|
+
preserve_overage_at_reset: z.ZodOptional<z.ZodBoolean>;
|
|
52166
|
+
measure_usage_from: z.ZodString;
|
|
52167
|
+
last_reset: z.ZodString;
|
|
52168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
52169
|
+
id: z.ZodString;
|
|
52170
|
+
type: z.ZodLiteral<"static">;
|
|
52171
|
+
feature: z.ZodObject<{
|
|
52172
|
+
id: z.ZodString;
|
|
52173
|
+
}, z.core.$strict>;
|
|
52174
|
+
customer: z.ZodObject<{
|
|
52175
|
+
id: z.ZodString;
|
|
52176
|
+
}, z.core.$strict>;
|
|
52177
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52178
|
+
usage_period: z.ZodOptional<z.ZodObject<{
|
|
52179
|
+
anchor: z.ZodString;
|
|
52180
|
+
interval: z.ZodString;
|
|
52181
|
+
}, z.core.$strict>>;
|
|
52182
|
+
current_usage_period: z.ZodOptional<z.ZodObject<{
|
|
52183
|
+
from: z.ZodString;
|
|
52184
|
+
to: z.ZodString;
|
|
52185
|
+
}, z.core.$strict>>;
|
|
52186
|
+
active_from: z.ZodString;
|
|
52187
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
52188
|
+
created_at: z.ZodString;
|
|
52189
|
+
updated_at: z.ZodString;
|
|
52190
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
52191
|
+
config: z.ZodUnknown;
|
|
52192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
52193
|
+
id: z.ZodString;
|
|
52194
|
+
type: z.ZodLiteral<"boolean">;
|
|
52195
|
+
feature: z.ZodObject<{
|
|
52196
|
+
id: z.ZodString;
|
|
52197
|
+
}, z.core.$strict>;
|
|
52198
|
+
customer: z.ZodObject<{
|
|
52199
|
+
id: z.ZodString;
|
|
52200
|
+
}, z.core.$strict>;
|
|
52201
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52202
|
+
usage_period: z.ZodOptional<z.ZodObject<{
|
|
52203
|
+
anchor: z.ZodString;
|
|
52204
|
+
interval: z.ZodString;
|
|
52205
|
+
}, z.core.$strict>>;
|
|
52206
|
+
current_usage_period: z.ZodOptional<z.ZodObject<{
|
|
52207
|
+
from: z.ZodString;
|
|
52208
|
+
to: z.ZodString;
|
|
52209
|
+
}, z.core.$strict>>;
|
|
52210
|
+
active_from: z.ZodString;
|
|
52211
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
52212
|
+
created_at: z.ZodString;
|
|
52213
|
+
updated_at: z.ZodString;
|
|
52214
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
52215
|
+
}, z.core.$strict>], "type">;
|
|
52216
|
+
export declare const listCustomerEntitlementsPathParamsWire: z.ZodObject<{
|
|
52217
|
+
customerId: z.ZodString;
|
|
52218
|
+
}, z.core.$strip>;
|
|
52219
|
+
export declare const listCustomerEntitlementsQueryParamsWire: z.ZodObject<{
|
|
52220
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
52221
|
+
size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
52222
|
+
number: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
52223
|
+
}, z.core.$strict>>;
|
|
52224
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
52225
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
52226
|
+
feature_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
52227
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
52228
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52229
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
52230
|
+
}, z.core.$strict>]>>;
|
|
52231
|
+
feature_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
52232
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
52233
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52234
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
52235
|
+
}, z.core.$strict>]>>;
|
|
52236
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
52237
|
+
eq: z.ZodOptional<z.ZodString>;
|
|
52238
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52239
|
+
neq: z.ZodOptional<z.ZodString>;
|
|
52240
|
+
}, z.core.$strict>]>>;
|
|
52241
|
+
}, z.core.$strict>>;
|
|
52242
|
+
}, z.core.$strip>;
|
|
52243
|
+
export declare const listCustomerEntitlementsResponseWire: z.ZodObject<{
|
|
52244
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
52245
|
+
id: z.ZodString;
|
|
52246
|
+
type: z.ZodLiteral<"metered">;
|
|
52247
|
+
feature: z.ZodObject<{
|
|
52248
|
+
id: z.ZodString;
|
|
52249
|
+
}, z.core.$strict>;
|
|
52250
|
+
customer: z.ZodObject<{
|
|
52251
|
+
id: z.ZodString;
|
|
52252
|
+
}, z.core.$strict>;
|
|
52253
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52254
|
+
active_from: z.ZodString;
|
|
52255
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
52256
|
+
created_at: z.ZodString;
|
|
52257
|
+
updated_at: z.ZodString;
|
|
52258
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
52259
|
+
usage_period: z.ZodObject<{
|
|
52260
|
+
anchor: z.ZodString;
|
|
52261
|
+
interval: z.ZodString;
|
|
52262
|
+
}, z.core.$strict>;
|
|
52263
|
+
current_usage_period: z.ZodObject<{
|
|
52264
|
+
from: z.ZodString;
|
|
52265
|
+
to: z.ZodString;
|
|
52266
|
+
}, z.core.$strict>;
|
|
52267
|
+
is_soft_limit: z.ZodOptional<z.ZodBoolean>;
|
|
52268
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
52269
|
+
amount: z.ZodString;
|
|
52270
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
52271
|
+
}, z.core.$strict>>;
|
|
52272
|
+
issue_after_reset: z.ZodOptional<z.ZodString>;
|
|
52273
|
+
issue_after_reset_priority: z.ZodOptional<z.ZodNumber>;
|
|
52274
|
+
preserve_overage_at_reset: z.ZodOptional<z.ZodBoolean>;
|
|
52275
|
+
measure_usage_from: z.ZodString;
|
|
52276
|
+
last_reset: z.ZodString;
|
|
52277
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
52278
|
+
id: z.ZodString;
|
|
52279
|
+
type: z.ZodLiteral<"static">;
|
|
52280
|
+
feature: z.ZodObject<{
|
|
52281
|
+
id: z.ZodString;
|
|
52282
|
+
}, z.core.$strict>;
|
|
52283
|
+
customer: z.ZodObject<{
|
|
52284
|
+
id: z.ZodString;
|
|
52285
|
+
}, z.core.$strict>;
|
|
52286
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52287
|
+
usage_period: z.ZodOptional<z.ZodObject<{
|
|
52288
|
+
anchor: z.ZodString;
|
|
52289
|
+
interval: z.ZodString;
|
|
52290
|
+
}, z.core.$strict>>;
|
|
52291
|
+
current_usage_period: z.ZodOptional<z.ZodObject<{
|
|
52292
|
+
from: z.ZodString;
|
|
52293
|
+
to: z.ZodString;
|
|
52294
|
+
}, z.core.$strict>>;
|
|
52295
|
+
active_from: z.ZodString;
|
|
52296
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
52297
|
+
created_at: z.ZodString;
|
|
52298
|
+
updated_at: z.ZodString;
|
|
52299
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
52300
|
+
config: z.ZodUnknown;
|
|
52301
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
52302
|
+
id: z.ZodString;
|
|
52303
|
+
type: z.ZodLiteral<"boolean">;
|
|
52304
|
+
feature: z.ZodObject<{
|
|
52305
|
+
id: z.ZodString;
|
|
52306
|
+
}, z.core.$strict>;
|
|
52307
|
+
customer: z.ZodObject<{
|
|
52308
|
+
id: z.ZodString;
|
|
52309
|
+
}, z.core.$strict>;
|
|
52310
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52311
|
+
usage_period: z.ZodOptional<z.ZodObject<{
|
|
52312
|
+
anchor: z.ZodString;
|
|
52313
|
+
interval: z.ZodString;
|
|
52314
|
+
}, z.core.$strict>>;
|
|
52315
|
+
current_usage_period: z.ZodOptional<z.ZodObject<{
|
|
52316
|
+
from: z.ZodString;
|
|
52317
|
+
to: z.ZodString;
|
|
52318
|
+
}, z.core.$strict>>;
|
|
52319
|
+
active_from: z.ZodString;
|
|
52320
|
+
active_to: z.ZodOptional<z.ZodString>;
|
|
52321
|
+
created_at: z.ZodString;
|
|
52322
|
+
updated_at: z.ZodString;
|
|
52323
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
52324
|
+
}, z.core.$strict>], "type">>;
|
|
52325
|
+
meta: z.ZodObject<{
|
|
52326
|
+
page: z.ZodObject<{
|
|
52327
|
+
number: z.ZodNumber;
|
|
52328
|
+
size: z.ZodNumber;
|
|
52329
|
+
total: z.ZodNumber;
|
|
52330
|
+
}, z.core.$strict>;
|
|
52331
|
+
}, z.core.$strict>;
|
|
52332
|
+
}, z.core.$strict>;
|
|
51712
52333
|
export declare const createCreditGrantPathParamsWire: z.ZodObject<{
|
|
51713
52334
|
customerId: z.ZodString;
|
|
51714
52335
|
}, z.core.$strip>;
|