@openmeter/sdk 1.0.0-beta-2a1bf153b503 → 1.0.0-beta-e7b9cf531d3c

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.
@@ -8928,7 +8928,7 @@ export interface components {
8928
8928
  * }
8929
8929
  */
8930
8930
  metadata?: {
8931
- [key: string]: string;
8931
+ [key: string]: unknown;
8932
8932
  } | null;
8933
8933
  /**
8934
8934
  * Format: date-time
@@ -8981,7 +8981,7 @@ export interface components {
8981
8981
  * }
8982
8982
  */
8983
8983
  metadata?: {
8984
- [key: string]: string;
8984
+ [key: string]: unknown;
8985
8985
  } | null;
8986
8986
  /**
8987
8987
  * Format: date-time
@@ -21,7 +21,7 @@ export declare class Subjects {
21
21
  key: string;
22
22
  displayName?: string | null;
23
23
  metadata?: {
24
- [key: string]: string;
24
+ [key: string]: unknown;
25
25
  } | null;
26
26
  currentPeriodStart?: Date;
27
27
  currentPeriodEnd?: Date;
@@ -38,7 +38,7 @@ export declare class Subjects {
38
38
  key: string;
39
39
  displayName?: string | null;
40
40
  metadata?: {
41
- [key: string]: string;
41
+ [key: string]: unknown;
42
42
  } | null;
43
43
  currentPeriodStart?: Date;
44
44
  currentPeriodEnd?: Date;
@@ -54,7 +54,7 @@ export declare class Subjects {
54
54
  key: string;
55
55
  displayName?: string | null;
56
56
  metadata?: {
57
- [key: string]: string;
57
+ [key: string]: unknown;
58
58
  } | null;
59
59
  currentPeriodStart?: Date;
60
60
  currentPeriodEnd?: Date;
@@ -8740,7 +8740,7 @@ exports.upsertSubjectBodyItem = zod_1.z
8740
8740
  .string()
8741
8741
  .describe('A unique, human-readable identifier for the subject.\nThis is typically a database ID or a customer key.'),
8742
8742
  metadata: zod_1.z
8743
- .record(zod_1.z.string(), zod_1.z.string())
8743
+ .record(zod_1.z.string(), zod_1.z.any())
8744
8744
  .nullish()
8745
8745
  .describe('Metadata for the subject.'),
8746
8746
  stripeCustomerId: zod_1.z
@@ -14128,18 +14128,18 @@ export declare const upsertSubjectBodyItem: zod.ZodObject<{
14128
14128
  currentPeriodStart: zod.ZodOptional<zod.ZodDate>;
14129
14129
  displayName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
14130
14130
  key: zod.ZodString;
14131
- metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
14131
+ metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
14132
14132
  stripeCustomerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
14133
14133
  }, "strip", zod.ZodTypeAny, {
14134
14134
  key: string;
14135
- metadata?: Record<string, string> | null | undefined;
14135
+ metadata?: Record<string, any> | null | undefined;
14136
14136
  stripeCustomerId?: string | null | undefined;
14137
14137
  currentPeriodEnd?: Date | undefined;
14138
14138
  currentPeriodStart?: Date | undefined;
14139
14139
  displayName?: string | null | undefined;
14140
14140
  }, {
14141
14141
  key: string;
14142
- metadata?: Record<string, string> | null | undefined;
14142
+ metadata?: Record<string, any> | null | undefined;
14143
14143
  stripeCustomerId?: string | null | undefined;
14144
14144
  currentPeriodEnd?: Date | undefined;
14145
14145
  currentPeriodStart?: Date | undefined;
@@ -14150,18 +14150,18 @@ export declare const upsertSubjectBody: zod.ZodArray<zod.ZodObject<{
14150
14150
  currentPeriodStart: zod.ZodOptional<zod.ZodDate>;
14151
14151
  displayName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
14152
14152
  key: zod.ZodString;
14153
- metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
14153
+ metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
14154
14154
  stripeCustomerId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
14155
14155
  }, "strip", zod.ZodTypeAny, {
14156
14156
  key: string;
14157
- metadata?: Record<string, string> | null | undefined;
14157
+ metadata?: Record<string, any> | null | undefined;
14158
14158
  stripeCustomerId?: string | null | undefined;
14159
14159
  currentPeriodEnd?: Date | undefined;
14160
14160
  currentPeriodStart?: Date | undefined;
14161
14161
  displayName?: string | null | undefined;
14162
14162
  }, {
14163
14163
  key: string;
14164
- metadata?: Record<string, string> | null | undefined;
14164
+ metadata?: Record<string, any> | null | undefined;
14165
14165
  stripeCustomerId?: string | null | undefined;
14166
14166
  currentPeriodEnd?: Date | undefined;
14167
14167
  currentPeriodStart?: Date | undefined;