@openmeter/client 1.0.0-beta-7899b41aed9b → 1.0.0-beta-c0a553067e81
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/models/schemas.d.ts +6 -0
- package/dist/models/schemas.js +2 -0
- package/dist/models/types.d.ts +12 -0
- package/package.json +1 -1
package/dist/models/schemas.d.ts
CHANGED
|
@@ -763,12 +763,14 @@ export declare const costBasis: z.ZodObject<{
|
|
|
763
763
|
fiat_code: z.ZodString;
|
|
764
764
|
rate: z.ZodString;
|
|
765
765
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
766
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
766
767
|
created_at: z.ZodString;
|
|
767
768
|
}, z.core.$strip>;
|
|
768
769
|
export declare const createCostBasisRequest: z.ZodObject<{
|
|
769
770
|
fiat_code: z.ZodString;
|
|
770
771
|
rate: z.ZodString;
|
|
771
772
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
773
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
772
774
|
}, z.core.$strip>;
|
|
773
775
|
export declare const featureCostQueryRow: z.ZodObject<{
|
|
774
776
|
usage: z.ZodString;
|
|
@@ -2303,6 +2305,7 @@ export declare const costBasisPagePaginatedResponse: z.ZodObject<{
|
|
|
2303
2305
|
fiat_code: z.ZodString;
|
|
2304
2306
|
rate: z.ZodString;
|
|
2305
2307
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
2308
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
2306
2309
|
created_at: z.ZodString;
|
|
2307
2310
|
}, z.core.$strip>>;
|
|
2308
2311
|
meta: z.ZodObject<{
|
|
@@ -13063,6 +13066,7 @@ export declare const listCostBasesResponse: z.ZodObject<{
|
|
|
13063
13066
|
fiat_code: z.ZodString;
|
|
13064
13067
|
rate: z.ZodString;
|
|
13065
13068
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
13069
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
13066
13070
|
created_at: z.ZodString;
|
|
13067
13071
|
}, z.core.$strip>>;
|
|
13068
13072
|
meta: z.ZodObject<{
|
|
@@ -13080,12 +13084,14 @@ export declare const createCostBasisBody: z.ZodObject<{
|
|
|
13080
13084
|
fiat_code: z.ZodString;
|
|
13081
13085
|
rate: z.ZodString;
|
|
13082
13086
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
13087
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
13083
13088
|
}, z.core.$strip>;
|
|
13084
13089
|
export declare const createCostBasisResponse: z.ZodObject<{
|
|
13085
13090
|
id: z.ZodString;
|
|
13086
13091
|
fiat_code: z.ZodString;
|
|
13087
13092
|
rate: z.ZodString;
|
|
13088
13093
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
13094
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
13089
13095
|
created_at: z.ZodString;
|
|
13090
13096
|
}, z.core.$strip>;
|
|
13091
13097
|
export declare const listFeaturesQueryParams: z.ZodObject<{
|
package/dist/models/schemas.js
CHANGED
|
@@ -1284,6 +1284,7 @@ export const costBasis = z
|
|
|
1284
1284
|
fiat_code: currencyCode,
|
|
1285
1285
|
rate: numeric,
|
|
1286
1286
|
effective_from: dateTime.optional(),
|
|
1287
|
+
effective_to: dateTime.optional(),
|
|
1287
1288
|
created_at: dateTime,
|
|
1288
1289
|
})
|
|
1289
1290
|
.describe('Describes currency basis supported by billing system.');
|
|
@@ -1292,6 +1293,7 @@ export const createCostBasisRequest = z
|
|
|
1292
1293
|
fiat_code: currencyCode,
|
|
1293
1294
|
rate: numeric,
|
|
1294
1295
|
effective_from: dateTime.optional(),
|
|
1296
|
+
effective_to: dateTime.optional(),
|
|
1295
1297
|
})
|
|
1296
1298
|
.describe('CostBasis create request.');
|
|
1297
1299
|
export const featureCostQueryRow = z
|
package/dist/models/types.d.ts
CHANGED
|
@@ -895,6 +895,12 @@ export interface CostBasis {
|
|
|
895
895
|
* `now` by the system.
|
|
896
896
|
*/
|
|
897
897
|
effective_from?: string;
|
|
898
|
+
/**
|
|
899
|
+
* An ISO-8601 timestamp representation of the date until which the cost basis is
|
|
900
|
+
* effective. If provided, it must be later than `effective_from`. If not provided,
|
|
901
|
+
* it remains effective until superseded.
|
|
902
|
+
*/
|
|
903
|
+
effective_to?: string;
|
|
898
904
|
/** An ISO-8601 timestamp representation of entity creation date. */
|
|
899
905
|
created_at: string;
|
|
900
906
|
}
|
|
@@ -910,6 +916,12 @@ export interface CreateCostBasisRequest {
|
|
|
910
916
|
* `now` by the system.
|
|
911
917
|
*/
|
|
912
918
|
effective_from?: string;
|
|
919
|
+
/**
|
|
920
|
+
* An ISO-8601 timestamp representation of the date until which the cost basis is
|
|
921
|
+
* effective. If provided, it must be later than `effective_from`. If not provided,
|
|
922
|
+
* it remains effective until superseded.
|
|
923
|
+
*/
|
|
924
|
+
effective_to?: string;
|
|
913
925
|
}
|
|
914
926
|
/** A row in the result of a feature cost query. */
|
|
915
927
|
export interface FeatureCostQueryRow {
|