@openmeter/sdk 1.0.0-beta.219 → 1.0.0-beta.220
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/Makefile +43 -0
- package/dist/cjs/src/client/schemas.d.cts +16 -0
- package/dist/cjs/src/zod/index.cjs +53 -19
- package/dist/cjs/src/zod/index.d.cts +26 -0
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.3fe7ed83.tsbuildinfo → tsconfig.ed1bfe74.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.b864c4b4.tsbuildinfo → tsconfig.f862b9eb.tsbuildinfo} +1 -1
- package/dist/src/client/schemas.d.ts +16 -0
- package/dist/src/zod/index.d.ts +26 -0
- package/dist/src/zod/index.js +34 -0
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -4785,11 +4785,13 @@ export declare const updateInvoiceParams: zod.ZodObject<{
|
|
|
4785
4785
|
invoiceId: string;
|
|
4786
4786
|
}>;
|
|
4787
4787
|
export declare const updateInvoiceBodyDescriptionMax = 1024;
|
|
4788
|
+
export declare const updateInvoiceBodySupplierKeyMax = 256;
|
|
4788
4789
|
export declare const updateInvoiceBodySupplierTaxIdCodeMaxOne = 32;
|
|
4789
4790
|
export declare const updateInvoiceBodySupplierAddressesItemCountryMinOne = 2;
|
|
4790
4791
|
export declare const updateInvoiceBodySupplierAddressesItemCountryMaxOne = 2;
|
|
4791
4792
|
export declare const updateInvoiceBodySupplierAddressesItemCountryRegExpOne: RegExp;
|
|
4792
4793
|
export declare const updateInvoiceBodySupplierAddressesMax = 1;
|
|
4794
|
+
export declare const updateInvoiceBodyCustomerKeyMax = 256;
|
|
4793
4795
|
export declare const updateInvoiceBodyCustomerTaxIdCodeMaxOne = 32;
|
|
4794
4796
|
export declare const updateInvoiceBodyCustomerAddressesItemCountryMinOne = 2;
|
|
4795
4797
|
export declare const updateInvoiceBodyCustomerAddressesItemCountryMaxOne = 2;
|
|
@@ -4875,6 +4877,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
4875
4877
|
postalCode?: string | undefined;
|
|
4876
4878
|
state?: string | undefined;
|
|
4877
4879
|
}>, "many">>;
|
|
4880
|
+
key: zod.ZodOptional<zod.ZodString>;
|
|
4878
4881
|
name: zod.ZodOptional<zod.ZodString>;
|
|
4879
4882
|
taxId: zod.ZodOptional<zod.ZodObject<{
|
|
4880
4883
|
code: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4884,6 +4887,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
4884
4887
|
code?: string | undefined;
|
|
4885
4888
|
}>>;
|
|
4886
4889
|
}, "strip", zod.ZodTypeAny, {
|
|
4890
|
+
key?: string | undefined;
|
|
4887
4891
|
name?: string | undefined;
|
|
4888
4892
|
addresses?: {
|
|
4889
4893
|
city?: string | undefined;
|
|
@@ -4898,6 +4902,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
4898
4902
|
code?: string | undefined;
|
|
4899
4903
|
} | undefined;
|
|
4900
4904
|
}, {
|
|
4905
|
+
key?: string | undefined;
|
|
4901
4906
|
name?: string | undefined;
|
|
4902
4907
|
addresses?: {
|
|
4903
4908
|
city?: string | undefined;
|
|
@@ -5697,6 +5702,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
5697
5702
|
postalCode?: string | undefined;
|
|
5698
5703
|
state?: string | undefined;
|
|
5699
5704
|
}>, "many">>;
|
|
5705
|
+
key: zod.ZodOptional<zod.ZodString>;
|
|
5700
5706
|
name: zod.ZodOptional<zod.ZodString>;
|
|
5701
5707
|
taxId: zod.ZodOptional<zod.ZodObject<{
|
|
5702
5708
|
code: zod.ZodOptional<zod.ZodString>;
|
|
@@ -5706,6 +5712,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
5706
5712
|
code?: string | undefined;
|
|
5707
5713
|
}>>;
|
|
5708
5714
|
}, "strip", zod.ZodTypeAny, {
|
|
5715
|
+
key?: string | undefined;
|
|
5709
5716
|
name?: string | undefined;
|
|
5710
5717
|
addresses?: {
|
|
5711
5718
|
city?: string | undefined;
|
|
@@ -5720,6 +5727,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
5720
5727
|
code?: string | undefined;
|
|
5721
5728
|
} | undefined;
|
|
5722
5729
|
}, {
|
|
5730
|
+
key?: string | undefined;
|
|
5723
5731
|
name?: string | undefined;
|
|
5724
5732
|
addresses?: {
|
|
5725
5733
|
city?: string | undefined;
|
|
@@ -5887,6 +5895,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
5887
5895
|
}>;
|
|
5888
5896
|
}, "strip", zod.ZodTypeAny, {
|
|
5889
5897
|
customer: {
|
|
5898
|
+
key?: string | undefined;
|
|
5890
5899
|
name?: string | undefined;
|
|
5891
5900
|
addresses?: {
|
|
5892
5901
|
city?: string | undefined;
|
|
@@ -6019,6 +6028,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
6019
6028
|
} | undefined;
|
|
6020
6029
|
}[];
|
|
6021
6030
|
supplier: {
|
|
6031
|
+
key?: string | undefined;
|
|
6022
6032
|
name?: string | undefined;
|
|
6023
6033
|
addresses?: {
|
|
6024
6034
|
city?: string | undefined;
|
|
@@ -6058,6 +6068,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
6058
6068
|
metadata?: Record<string, string> | null | undefined;
|
|
6059
6069
|
}, {
|
|
6060
6070
|
customer: {
|
|
6071
|
+
key?: string | undefined;
|
|
6061
6072
|
name?: string | undefined;
|
|
6062
6073
|
addresses?: {
|
|
6063
6074
|
city?: string | undefined;
|
|
@@ -6190,6 +6201,7 @@ export declare const updateInvoiceBody: zod.ZodObject<{
|
|
|
6190
6201
|
} | undefined;
|
|
6191
6202
|
}[];
|
|
6192
6203
|
supplier: {
|
|
6204
|
+
key?: string | undefined;
|
|
6193
6205
|
name?: string | undefined;
|
|
6194
6206
|
addresses?: {
|
|
6195
6207
|
city?: string | undefined;
|
|
@@ -6511,6 +6523,7 @@ can be applied to a billing profile to customize the billing behavior for a spec
|
|
|
6511
6523
|
*/
|
|
6512
6524
|
export declare const createBillingProfileBodyNameMax = 256;
|
|
6513
6525
|
export declare const createBillingProfileBodyDescriptionMax = 1024;
|
|
6526
|
+
export declare const createBillingProfileBodySupplierKeyMax = 256;
|
|
6514
6527
|
export declare const createBillingProfileBodySupplierTaxIdCodeMaxOne = 32;
|
|
6515
6528
|
export declare const createBillingProfileBodySupplierAddressesItemCountryMinOne = 2;
|
|
6516
6529
|
export declare const createBillingProfileBodySupplierAddressesItemCountryMaxOne = 2;
|
|
@@ -6576,6 +6589,7 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6576
6589
|
state?: string | undefined;
|
|
6577
6590
|
}>, "many">>;
|
|
6578
6591
|
id: zod.ZodOptional<zod.ZodString>;
|
|
6592
|
+
key: zod.ZodOptional<zod.ZodString>;
|
|
6579
6593
|
name: zod.ZodOptional<zod.ZodString>;
|
|
6580
6594
|
taxId: zod.ZodOptional<zod.ZodObject<{
|
|
6581
6595
|
code: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6586,6 +6600,7 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6586
6600
|
}>>;
|
|
6587
6601
|
}, "strip", zod.ZodTypeAny, {
|
|
6588
6602
|
id?: string | undefined;
|
|
6603
|
+
key?: string | undefined;
|
|
6589
6604
|
name?: string | undefined;
|
|
6590
6605
|
addresses?: {
|
|
6591
6606
|
city?: string | undefined;
|
|
@@ -6601,6 +6616,7 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6601
6616
|
} | undefined;
|
|
6602
6617
|
}, {
|
|
6603
6618
|
id?: string | undefined;
|
|
6619
|
+
key?: string | undefined;
|
|
6604
6620
|
name?: string | undefined;
|
|
6605
6621
|
addresses?: {
|
|
6606
6622
|
city?: string | undefined;
|
|
@@ -6789,6 +6805,7 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6789
6805
|
name: string;
|
|
6790
6806
|
supplier: {
|
|
6791
6807
|
id?: string | undefined;
|
|
6808
|
+
key?: string | undefined;
|
|
6792
6809
|
name?: string | undefined;
|
|
6793
6810
|
addresses?: {
|
|
6794
6811
|
city?: string | undefined;
|
|
@@ -6845,6 +6862,7 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
6845
6862
|
name: string;
|
|
6846
6863
|
supplier: {
|
|
6847
6864
|
id?: string | undefined;
|
|
6865
|
+
key?: string | undefined;
|
|
6848
6866
|
name?: string | undefined;
|
|
6849
6867
|
addresses?: {
|
|
6850
6868
|
city?: string | undefined;
|
|
@@ -6949,6 +6967,7 @@ export declare const updateBillingProfileParams: zod.ZodObject<{
|
|
|
6949
6967
|
}>;
|
|
6950
6968
|
export declare const updateBillingProfileBodyNameMax = 256;
|
|
6951
6969
|
export declare const updateBillingProfileBodyDescriptionMax = 1024;
|
|
6970
|
+
export declare const updateBillingProfileBodySupplierKeyMax = 256;
|
|
6952
6971
|
export declare const updateBillingProfileBodySupplierTaxIdCodeMaxOne = 32;
|
|
6953
6972
|
export declare const updateBillingProfileBodySupplierAddressesItemCountryMinOne = 2;
|
|
6954
6973
|
export declare const updateBillingProfileBodySupplierAddressesItemCountryMaxOne = 2;
|
|
@@ -6998,6 +7017,7 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
6998
7017
|
state?: string | undefined;
|
|
6999
7018
|
}>, "many">>;
|
|
7000
7019
|
id: zod.ZodOptional<zod.ZodString>;
|
|
7020
|
+
key: zod.ZodOptional<zod.ZodString>;
|
|
7001
7021
|
name: zod.ZodOptional<zod.ZodString>;
|
|
7002
7022
|
taxId: zod.ZodOptional<zod.ZodObject<{
|
|
7003
7023
|
code: zod.ZodOptional<zod.ZodString>;
|
|
@@ -7008,6 +7028,7 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7008
7028
|
}>>;
|
|
7009
7029
|
}, "strip", zod.ZodTypeAny, {
|
|
7010
7030
|
id?: string | undefined;
|
|
7031
|
+
key?: string | undefined;
|
|
7011
7032
|
name?: string | undefined;
|
|
7012
7033
|
addresses?: {
|
|
7013
7034
|
city?: string | undefined;
|
|
@@ -7023,6 +7044,7 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7023
7044
|
} | undefined;
|
|
7024
7045
|
}, {
|
|
7025
7046
|
id?: string | undefined;
|
|
7047
|
+
key?: string | undefined;
|
|
7026
7048
|
name?: string | undefined;
|
|
7027
7049
|
addresses?: {
|
|
7028
7050
|
city?: string | undefined;
|
|
@@ -7206,6 +7228,7 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7206
7228
|
name: string;
|
|
7207
7229
|
supplier: {
|
|
7208
7230
|
id?: string | undefined;
|
|
7231
|
+
key?: string | undefined;
|
|
7209
7232
|
name?: string | undefined;
|
|
7210
7233
|
addresses?: {
|
|
7211
7234
|
city?: string | undefined;
|
|
@@ -7257,6 +7280,7 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
7257
7280
|
name: string;
|
|
7258
7281
|
supplier: {
|
|
7259
7282
|
id?: string | undefined;
|
|
7283
|
+
key?: string | undefined;
|
|
7260
7284
|
name?: string | undefined;
|
|
7261
7285
|
addresses?: {
|
|
7262
7286
|
city?: string | undefined;
|
|
@@ -8582,6 +8606,7 @@ export declare const createCustomerEntitlementGrantParams: zod.ZodObject<{
|
|
|
8582
8606
|
}>;
|
|
8583
8607
|
export declare const createCustomerEntitlementGrantBodyAmountMin = 0;
|
|
8584
8608
|
export declare const createCustomerEntitlementGrantBodyPriorityMax = 255;
|
|
8609
|
+
export declare const createCustomerEntitlementGrantBodyExpirationCountMax = 1000;
|
|
8585
8610
|
export declare const createCustomerEntitlementGrantBodyMaxRolloverAmountDefault = 0;
|
|
8586
8611
|
export declare const createCustomerEntitlementGrantBodyMinRolloverAmountDefault = 0;
|
|
8587
8612
|
export declare const createCustomerEntitlementGrantBody: zod.ZodObject<{
|
|
@@ -13799,6 +13824,7 @@ export declare const createGrantParams: zod.ZodObject<{
|
|
|
13799
13824
|
}>;
|
|
13800
13825
|
export declare const createGrantBodyAmountMin = 0;
|
|
13801
13826
|
export declare const createGrantBodyPriorityMax = 255;
|
|
13827
|
+
export declare const createGrantBodyExpirationCountMax = 1000;
|
|
13802
13828
|
export declare const createGrantBodyMaxRolloverAmountDefault = 0;
|
|
13803
13829
|
export declare const createGrantBodyMinRolloverAmountDefault = 0;
|
|
13804
13830
|
export declare const createGrantBody: zod.ZodObject<{
|