@openmeter/client 1.0.0-beta-512413d7e829 → 1.0.0-beta-d6537cb0bf58
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/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/models/schemas.d.ts +40 -30
- package/dist/models/schemas.js +6 -4
- package/dist/models/types.d.ts +4 -2
- package/package.json +1 -1
package/dist/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.0-beta-
|
|
1
|
+
export declare const SDK_VERSION = "1.0.0-beta-d6537cb0bf58";
|
package/dist/lib/version.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
// The committed value is a dev placeholder. The publish flow
|
|
3
3
|
// (`make -C api/spec publish-aip-sdk`) stamps the real release version here
|
|
4
4
|
// before `pnpm publish`, after `pnpm version` updates package.json.
|
|
5
|
-
export const SDK_VERSION = '1.0.0-beta-
|
|
5
|
+
export const SDK_VERSION = '1.0.0-beta-d6537cb0bf58';
|
package/dist/models/schemas.d.ts
CHANGED
|
@@ -199,7 +199,7 @@ export declare const taxBehavior: z.ZodEnum<{
|
|
|
199
199
|
}>;
|
|
200
200
|
export declare const createVersionFilter: z.ZodObject<{
|
|
201
201
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
202
|
-
|
|
202
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
203
203
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
204
204
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
205
205
|
}, z.core.$strip>;
|
|
@@ -210,7 +210,7 @@ export declare const creditPurchasePaymentSettlementStatus: z.ZodEnum<{
|
|
|
210
210
|
}>;
|
|
211
211
|
export declare const versionFilter: z.ZodObject<{
|
|
212
212
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
213
|
-
|
|
213
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
214
214
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
215
215
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
216
216
|
}, z.core.$strip>;
|
|
@@ -1488,7 +1488,7 @@ export declare const createCreditGrantPlanFilter: z.ZodObject<{
|
|
|
1488
1488
|
key: z.ZodString;
|
|
1489
1489
|
version: z.ZodOptional<z.ZodObject<{
|
|
1490
1490
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
1491
|
-
|
|
1491
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1492
1492
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
1493
1493
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
1494
1494
|
}, z.core.$strip>>;
|
|
@@ -1504,7 +1504,7 @@ export declare const creditGrantPlanFilter: z.ZodObject<{
|
|
|
1504
1504
|
key: z.ZodString;
|
|
1505
1505
|
version: z.ZodOptional<z.ZodObject<{
|
|
1506
1506
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
1507
|
-
|
|
1507
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1508
1508
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
1509
1509
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
1510
1510
|
}, z.core.$strip>>;
|
|
@@ -3443,6 +3443,7 @@ export declare const entitlementBoolean: z.ZodObject<{
|
|
|
3443
3443
|
export declare const entitlementGrant: z.ZodObject<{
|
|
3444
3444
|
id: z.ZodString;
|
|
3445
3445
|
entitlementId: z.ZodString;
|
|
3446
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
3446
3447
|
amount: z.ZodString;
|
|
3447
3448
|
priority: z.ZodNumber;
|
|
3448
3449
|
effectiveAt: z.ZodDate;
|
|
@@ -3495,7 +3496,7 @@ export declare const createCreditGrantFilters: z.ZodObject<{
|
|
|
3495
3496
|
key: z.ZodString;
|
|
3496
3497
|
version: z.ZodOptional<z.ZodObject<{
|
|
3497
3498
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
3498
|
-
|
|
3499
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3499
3500
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
3500
3501
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
3501
3502
|
}, z.core.$strip>>;
|
|
@@ -3507,7 +3508,7 @@ export declare const creditGrantFilters: z.ZodObject<{
|
|
|
3507
3508
|
key: z.ZodString;
|
|
3508
3509
|
version: z.ZodOptional<z.ZodObject<{
|
|
3509
3510
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
3510
|
-
|
|
3511
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3511
3512
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
3512
3513
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
3513
3514
|
}, z.core.$strip>>;
|
|
@@ -4785,6 +4786,7 @@ export declare const entitlementGrantPagePaginatedResponse: z.ZodObject<{
|
|
|
4785
4786
|
data: z.ZodArray<z.ZodObject<{
|
|
4786
4787
|
id: z.ZodString;
|
|
4787
4788
|
entitlementId: z.ZodString;
|
|
4789
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
4788
4790
|
amount: z.ZodString;
|
|
4789
4791
|
priority: z.ZodNumber;
|
|
4790
4792
|
effectiveAt: z.ZodDate;
|
|
@@ -5610,7 +5612,7 @@ export declare const createCreditGrantRequest: z.ZodObject<{
|
|
|
5610
5612
|
key: z.ZodString;
|
|
5611
5613
|
version: z.ZodOptional<z.ZodObject<{
|
|
5612
5614
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
5613
|
-
|
|
5615
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
5614
5616
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
5615
5617
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
5616
5618
|
}, z.core.$strip>>;
|
|
@@ -5676,7 +5678,7 @@ export declare const creditGrant: z.ZodObject<{
|
|
|
5676
5678
|
key: z.ZodString;
|
|
5677
5679
|
version: z.ZodOptional<z.ZodObject<{
|
|
5678
5680
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
5679
|
-
|
|
5681
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
5680
5682
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
5681
5683
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
5682
5684
|
}, z.core.$strip>>;
|
|
@@ -7175,7 +7177,7 @@ export declare const creditGrantPagePaginatedResponse: z.ZodObject<{
|
|
|
7175
7177
|
key: z.ZodString;
|
|
7176
7178
|
version: z.ZodOptional<z.ZodObject<{
|
|
7177
7179
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
7178
|
-
|
|
7180
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
7179
7181
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
7180
7182
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
7181
7183
|
}, z.core.$strip>>;
|
|
@@ -19435,6 +19437,7 @@ export declare const createCustomerEntitlementGrantBody: z.ZodObject<{
|
|
|
19435
19437
|
export declare const createCustomerEntitlementGrantResponse: z.ZodObject<{
|
|
19436
19438
|
id: z.ZodString;
|
|
19437
19439
|
entitlementId: z.ZodString;
|
|
19440
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
19438
19441
|
amount: z.ZodString;
|
|
19439
19442
|
priority: z.ZodNumber;
|
|
19440
19443
|
effectiveAt: z.ZodDate;
|
|
@@ -19472,6 +19475,7 @@ export declare const listCustomerEntitlementGrantsResponse: z.ZodObject<{
|
|
|
19472
19475
|
data: z.ZodArray<z.ZodObject<{
|
|
19473
19476
|
id: z.ZodString;
|
|
19474
19477
|
entitlementId: z.ZodString;
|
|
19478
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
19475
19479
|
amount: z.ZodString;
|
|
19476
19480
|
priority: z.ZodNumber;
|
|
19477
19481
|
effectiveAt: z.ZodDate;
|
|
@@ -19552,6 +19556,7 @@ export declare const listGrantsResponse: z.ZodObject<{
|
|
|
19552
19556
|
data: z.ZodArray<z.ZodObject<{
|
|
19553
19557
|
id: z.ZodString;
|
|
19554
19558
|
entitlementId: z.ZodString;
|
|
19559
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
19555
19560
|
amount: z.ZodString;
|
|
19556
19561
|
priority: z.ZodNumber;
|
|
19557
19562
|
effectiveAt: z.ZodDate;
|
|
@@ -19632,7 +19637,7 @@ export declare const createCreditGrantBody: z.ZodObject<{
|
|
|
19632
19637
|
key: z.ZodString;
|
|
19633
19638
|
version: z.ZodOptional<z.ZodObject<{
|
|
19634
19639
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
19635
|
-
|
|
19640
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
19636
19641
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
19637
19642
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
19638
19643
|
}, z.core.$strip>>;
|
|
@@ -19698,7 +19703,7 @@ export declare const createCreditGrantResponse: z.ZodObject<{
|
|
|
19698
19703
|
key: z.ZodString;
|
|
19699
19704
|
version: z.ZodOptional<z.ZodObject<{
|
|
19700
19705
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
19701
|
-
|
|
19706
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
19702
19707
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
19703
19708
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
19704
19709
|
}, z.core.$strip>>;
|
|
@@ -19786,7 +19791,7 @@ export declare const getCreditGrantResponse: z.ZodObject<{
|
|
|
19786
19791
|
key: z.ZodString;
|
|
19787
19792
|
version: z.ZodOptional<z.ZodObject<{
|
|
19788
19793
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
19789
|
-
|
|
19794
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
19790
19795
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
19791
19796
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
19792
19797
|
}, z.core.$strip>>;
|
|
@@ -19901,7 +19906,7 @@ export declare const listCreditGrantsResponse: z.ZodObject<{
|
|
|
19901
19906
|
key: z.ZodString;
|
|
19902
19907
|
version: z.ZodOptional<z.ZodObject<{
|
|
19903
19908
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
19904
|
-
|
|
19909
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
19905
19910
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
19906
19911
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
19907
19912
|
}, z.core.$strip>>;
|
|
@@ -20054,7 +20059,7 @@ export declare const voidCreditGrantResponse: z.ZodObject<{
|
|
|
20054
20059
|
key: z.ZodString;
|
|
20055
20060
|
version: z.ZodOptional<z.ZodObject<{
|
|
20056
20061
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
20057
|
-
|
|
20062
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
20058
20063
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
20059
20064
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
20060
20065
|
}, z.core.$strip>>;
|
|
@@ -20149,7 +20154,7 @@ export declare const updateCreditGrantExternalSettlementResponse: z.ZodObject<{
|
|
|
20149
20154
|
key: z.ZodString;
|
|
20150
20155
|
version: z.ZodOptional<z.ZodObject<{
|
|
20151
20156
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
20152
|
-
|
|
20157
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
20153
20158
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
20154
20159
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
20155
20160
|
}, z.core.$strip>>;
|
|
@@ -34842,7 +34847,7 @@ export declare const taxBehaviorWire: z.ZodEnum<{
|
|
|
34842
34847
|
}>;
|
|
34843
34848
|
export declare const createVersionFilterWire: z.ZodObject<{
|
|
34844
34849
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
34845
|
-
|
|
34850
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
34846
34851
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
34847
34852
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
34848
34853
|
}, z.core.$strict>;
|
|
@@ -34853,7 +34858,7 @@ export declare const creditPurchasePaymentSettlementStatusWire: z.ZodEnum<{
|
|
|
34853
34858
|
}>;
|
|
34854
34859
|
export declare const versionFilterWire: z.ZodObject<{
|
|
34855
34860
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
34856
|
-
|
|
34861
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
34857
34862
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
34858
34863
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
34859
34864
|
}, z.core.$strict>;
|
|
@@ -36131,7 +36136,7 @@ export declare const createCreditGrantPlanFilterWire: z.ZodObject<{
|
|
|
36131
36136
|
key: z.ZodString;
|
|
36132
36137
|
version: z.ZodOptional<z.ZodObject<{
|
|
36133
36138
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
36134
|
-
|
|
36139
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
36135
36140
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
36136
36141
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
36137
36142
|
}, z.core.$strict>>;
|
|
@@ -36147,7 +36152,7 @@ export declare const creditGrantPlanFilterWire: z.ZodObject<{
|
|
|
36147
36152
|
key: z.ZodString;
|
|
36148
36153
|
version: z.ZodOptional<z.ZodObject<{
|
|
36149
36154
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
36150
|
-
|
|
36155
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
36151
36156
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
36152
36157
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
36153
36158
|
}, z.core.$strict>>;
|
|
@@ -38086,6 +38091,7 @@ export declare const entitlementBooleanWire: z.ZodObject<{
|
|
|
38086
38091
|
export declare const entitlementGrantWire: z.ZodObject<{
|
|
38087
38092
|
id: z.ZodString;
|
|
38088
38093
|
entitlement_id: z.ZodString;
|
|
38094
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
38089
38095
|
amount: z.ZodString;
|
|
38090
38096
|
priority: z.ZodNumber;
|
|
38091
38097
|
effective_at: z.ZodString;
|
|
@@ -38138,7 +38144,7 @@ export declare const createCreditGrantFiltersWire: z.ZodObject<{
|
|
|
38138
38144
|
key: z.ZodString;
|
|
38139
38145
|
version: z.ZodOptional<z.ZodObject<{
|
|
38140
38146
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
38141
|
-
|
|
38147
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
38142
38148
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
38143
38149
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
38144
38150
|
}, z.core.$strict>>;
|
|
@@ -38150,7 +38156,7 @@ export declare const creditGrantFiltersWire: z.ZodObject<{
|
|
|
38150
38156
|
key: z.ZodString;
|
|
38151
38157
|
version: z.ZodOptional<z.ZodObject<{
|
|
38152
38158
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
38153
|
-
|
|
38159
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
38154
38160
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
38155
38161
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
38156
38162
|
}, z.core.$strict>>;
|
|
@@ -39428,6 +39434,7 @@ export declare const entitlementGrantPagePaginatedResponseWire: z.ZodObject<{
|
|
|
39428
39434
|
data: z.ZodArray<z.ZodObject<{
|
|
39429
39435
|
id: z.ZodString;
|
|
39430
39436
|
entitlement_id: z.ZodString;
|
|
39437
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
39431
39438
|
amount: z.ZodString;
|
|
39432
39439
|
priority: z.ZodNumber;
|
|
39433
39440
|
effective_at: z.ZodString;
|
|
@@ -40253,7 +40260,7 @@ export declare const createCreditGrantRequestWire: z.ZodObject<{
|
|
|
40253
40260
|
key: z.ZodString;
|
|
40254
40261
|
version: z.ZodOptional<z.ZodObject<{
|
|
40255
40262
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
40256
|
-
|
|
40263
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
40257
40264
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
40258
40265
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
40259
40266
|
}, z.core.$strict>>;
|
|
@@ -40319,7 +40326,7 @@ export declare const creditGrantWire: z.ZodObject<{
|
|
|
40319
40326
|
key: z.ZodString;
|
|
40320
40327
|
version: z.ZodOptional<z.ZodObject<{
|
|
40321
40328
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
40322
|
-
|
|
40329
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
40323
40330
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
40324
40331
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
40325
40332
|
}, z.core.$strict>>;
|
|
@@ -41818,7 +41825,7 @@ export declare const creditGrantPagePaginatedResponseWire: z.ZodObject<{
|
|
|
41818
41825
|
key: z.ZodString;
|
|
41819
41826
|
version: z.ZodOptional<z.ZodObject<{
|
|
41820
41827
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
41821
|
-
|
|
41828
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
41822
41829
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
41823
41830
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
41824
41831
|
}, z.core.$strict>>;
|
|
@@ -54063,6 +54070,7 @@ export declare const createCustomerEntitlementGrantBodyWire: z.ZodObject<{
|
|
|
54063
54070
|
export declare const createCustomerEntitlementGrantResponseWire: z.ZodObject<{
|
|
54064
54071
|
id: z.ZodString;
|
|
54065
54072
|
entitlement_id: z.ZodString;
|
|
54073
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
54066
54074
|
amount: z.ZodString;
|
|
54067
54075
|
priority: z.ZodNumber;
|
|
54068
54076
|
effective_at: z.ZodString;
|
|
@@ -54097,6 +54105,7 @@ export declare const listCustomerEntitlementGrantsResponseWire: z.ZodObject<{
|
|
|
54097
54105
|
data: z.ZodArray<z.ZodObject<{
|
|
54098
54106
|
id: z.ZodString;
|
|
54099
54107
|
entitlement_id: z.ZodString;
|
|
54108
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
54100
54109
|
amount: z.ZodString;
|
|
54101
54110
|
priority: z.ZodNumber;
|
|
54102
54111
|
effective_at: z.ZodString;
|
|
@@ -54174,6 +54183,7 @@ export declare const listGrantsResponseWire: z.ZodObject<{
|
|
|
54174
54183
|
data: z.ZodArray<z.ZodObject<{
|
|
54175
54184
|
id: z.ZodString;
|
|
54176
54185
|
entitlement_id: z.ZodString;
|
|
54186
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
54177
54187
|
amount: z.ZodString;
|
|
54178
54188
|
priority: z.ZodNumber;
|
|
54179
54189
|
effective_at: z.ZodString;
|
|
@@ -54254,7 +54264,7 @@ export declare const createCreditGrantBodyWire: z.ZodObject<{
|
|
|
54254
54264
|
key: z.ZodString;
|
|
54255
54265
|
version: z.ZodOptional<z.ZodObject<{
|
|
54256
54266
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
54257
|
-
|
|
54267
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
54258
54268
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
54259
54269
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
54260
54270
|
}, z.core.$strict>>;
|
|
@@ -54320,7 +54330,7 @@ export declare const createCreditGrantResponseWire: z.ZodObject<{
|
|
|
54320
54330
|
key: z.ZodString;
|
|
54321
54331
|
version: z.ZodOptional<z.ZodObject<{
|
|
54322
54332
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
54323
|
-
|
|
54333
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
54324
54334
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
54325
54335
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
54326
54336
|
}, z.core.$strict>>;
|
|
@@ -54408,7 +54418,7 @@ export declare const getCreditGrantResponseWire: z.ZodObject<{
|
|
|
54408
54418
|
key: z.ZodString;
|
|
54409
54419
|
version: z.ZodOptional<z.ZodObject<{
|
|
54410
54420
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
54411
|
-
|
|
54421
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
54412
54422
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
54413
54423
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
54414
54424
|
}, z.core.$strict>>;
|
|
@@ -54523,7 +54533,7 @@ export declare const listCreditGrantsResponseWire: z.ZodObject<{
|
|
|
54523
54533
|
key: z.ZodString;
|
|
54524
54534
|
version: z.ZodOptional<z.ZodObject<{
|
|
54525
54535
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
54526
|
-
|
|
54536
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
54527
54537
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
54528
54538
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
54529
54539
|
}, z.core.$strict>>;
|
|
@@ -54676,7 +54686,7 @@ export declare const voidCreditGrantResponseWire: z.ZodObject<{
|
|
|
54676
54686
|
key: z.ZodString;
|
|
54677
54687
|
version: z.ZodOptional<z.ZodObject<{
|
|
54678
54688
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
54679
|
-
|
|
54689
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
54680
54690
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
54681
54691
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
54682
54692
|
}, z.core.$strict>>;
|
|
@@ -54771,7 +54781,7 @@ export declare const updateCreditGrantExternalSettlementResponseWire: z.ZodObjec
|
|
|
54771
54781
|
key: z.ZodString;
|
|
54772
54782
|
version: z.ZodOptional<z.ZodObject<{
|
|
54773
54783
|
eq: z.ZodOptional<z.ZodNumber>;
|
|
54774
|
-
|
|
54784
|
+
oeq: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
54775
54785
|
gte: z.ZodOptional<z.ZodNumber>;
|
|
54776
54786
|
lte: z.ZodOptional<z.ZodNumber>;
|
|
54777
54787
|
}, z.core.$strict>>;
|
package/dist/models/schemas.js
CHANGED
|
@@ -428,7 +428,7 @@ export const createVersionFilter = z
|
|
|
428
428
|
.lte(2147483647)
|
|
429
429
|
.optional()
|
|
430
430
|
.describe('Match this exact version.'),
|
|
431
|
-
|
|
431
|
+
oeq: z
|
|
432
432
|
.array(z.number().int().gte(-2147483648).lte(2147483647))
|
|
433
433
|
.min(1)
|
|
434
434
|
.max(100)
|
|
@@ -462,7 +462,7 @@ export const versionFilter = z
|
|
|
462
462
|
.lte(2147483647)
|
|
463
463
|
.optional()
|
|
464
464
|
.describe('Match this exact version.'),
|
|
465
|
-
|
|
465
|
+
oeq: z
|
|
466
466
|
.array(z.number().int().gte(-2147483648).lte(2147483647))
|
|
467
467
|
.min(1)
|
|
468
468
|
.max(100)
|
|
@@ -3613,6 +3613,7 @@ export const entitlementGrant = z
|
|
|
3613
3613
|
.object({
|
|
3614
3614
|
id: ulid,
|
|
3615
3615
|
entitlementId: ulid,
|
|
3616
|
+
customerId: ulid.optional(),
|
|
3616
3617
|
amount: numeric,
|
|
3617
3618
|
priority: z
|
|
3618
3619
|
.number()
|
|
@@ -7099,7 +7100,7 @@ export const createVersionFilterWire = z
|
|
|
7099
7100
|
.lte(2147483647)
|
|
7100
7101
|
.optional()
|
|
7101
7102
|
.describe('Match this exact version.'),
|
|
7102
|
-
|
|
7103
|
+
oeq: z
|
|
7103
7104
|
.array(z.number().int().gte(-2147483648).lte(2147483647))
|
|
7104
7105
|
.min(1)
|
|
7105
7106
|
.max(100)
|
|
@@ -7133,7 +7134,7 @@ export const versionFilterWire = z
|
|
|
7133
7134
|
.lte(2147483647)
|
|
7134
7135
|
.optional()
|
|
7135
7136
|
.describe('Match this exact version.'),
|
|
7136
|
-
|
|
7137
|
+
oeq: z
|
|
7137
7138
|
.array(z.number().int().gte(-2147483648).lte(2147483647))
|
|
7138
7139
|
.min(1)
|
|
7139
7140
|
.max(100)
|
|
@@ -10250,6 +10251,7 @@ export const entitlementGrantWire = z
|
|
|
10250
10251
|
.strictObject({
|
|
10251
10252
|
id: ulidWire,
|
|
10252
10253
|
entitlement_id: ulidWire,
|
|
10254
|
+
customer_id: ulidWire.optional(),
|
|
10253
10255
|
amount: numericWire,
|
|
10254
10256
|
priority: z
|
|
10255
10257
|
.number()
|
package/dist/models/types.d.ts
CHANGED
|
@@ -152,7 +152,7 @@ export interface CreateVersionFilter {
|
|
|
152
152
|
/** Match this exact version. */
|
|
153
153
|
eq?: number;
|
|
154
154
|
/** Match one of these versions. */
|
|
155
|
-
|
|
155
|
+
oeq?: number[];
|
|
156
156
|
/** Match this version and later versions. */
|
|
157
157
|
gte?: number;
|
|
158
158
|
/** Match this version and earlier versions. */
|
|
@@ -163,7 +163,7 @@ export interface VersionFilter {
|
|
|
163
163
|
/** Match this exact version. */
|
|
164
164
|
eq?: number;
|
|
165
165
|
/** Match one of these versions. */
|
|
166
|
-
|
|
166
|
+
oeq?: number[];
|
|
167
167
|
/** Match this version and later versions. */
|
|
168
168
|
gte?: number;
|
|
169
169
|
/** Match this version and earlier versions. */
|
|
@@ -3709,6 +3709,8 @@ export interface EntitlementGrant {
|
|
|
3709
3709
|
id: string;
|
|
3710
3710
|
/** The ID of the entitlement the grant belongs to. */
|
|
3711
3711
|
entitlementId: string;
|
|
3712
|
+
/** The ID of the customer the grant belongs to. */
|
|
3713
|
+
customerId?: string;
|
|
3712
3714
|
/** The granted amount, in the feature's unit. */
|
|
3713
3715
|
amount: string;
|
|
3714
3716
|
/**
|