@openmeter/sdk 1.0.0-beta-8492bc853d1c → 1.0.0-beta-ef4f3399d89d

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.
@@ -9059,13 +9059,13 @@ export interface components {
9059
9059
  * @description The cadence start of the resource.
9060
9060
  * @example 2023-01-01T01:01:01.001Z
9061
9061
  */
9062
- activeFrom: Date;
9062
+ readonly activeFrom: Date;
9063
9063
  /**
9064
9064
  * Format: date-time
9065
9065
  * @description The cadence end of the resource.
9066
9066
  * @example 2023-01-01T01:01:01.001Z
9067
9067
  */
9068
- activeTo?: Date;
9068
+ readonly activeTo?: Date;
9069
9069
  /**
9070
9070
  * Addon
9071
9071
  * @description Partially populated add-on properties.
@@ -9157,18 +9157,6 @@ export interface components {
9157
9157
  * @description Additional metadata for the resource.
9158
9158
  */
9159
9159
  metadata?: components['schemas']['Metadata'] | null;
9160
- /**
9161
- * Format: date-time
9162
- * @description The cadence start of the resource.
9163
- * @example 2023-01-01T01:01:01.001Z
9164
- */
9165
- activeFrom: Date;
9166
- /**
9167
- * Format: date-time
9168
- * @description The cadence end of the resource.
9169
- * @example 2023-01-01T01:01:01.001Z
9170
- */
9171
- activeTo?: Date;
9172
9160
  /**
9173
9161
  * Quantity
9174
9162
  * @description The quantity of the add-on. Always 1 for single instance add-ons.
@@ -9243,18 +9231,6 @@ export interface components {
9243
9231
  * @description Additional metadata for the resource.
9244
9232
  */
9245
9233
  metadata?: components['schemas']['Metadata'] | null;
9246
- /**
9247
- * Format: date-time
9248
- * @description The cadence start of the resource.
9249
- * @example 2023-01-01T01:01:01.001Z
9250
- */
9251
- activeFrom?: Date;
9252
- /**
9253
- * Format: date-time
9254
- * @description The cadence end of the resource.
9255
- * @example 2023-01-01T01:01:01.001Z
9256
- */
9257
- activeTo?: Date;
9258
9234
  /**
9259
9235
  * Quantity
9260
9236
  * @description The quantity of the add-on. Always 1 for single instance add-ons.
@@ -10650,11 +10650,6 @@ exports.createSubscriptionAddonBodyQuantityMin = 0;
10650
10650
  exports.createSubscriptionAddonBodyAddonIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
10651
10651
  exports.createSubscriptionAddonBody = zod_1.z
10652
10652
  .object({
10653
- activeFrom: zod_1.z.date().describe('The cadence start of the resource.'),
10654
- activeTo: zod_1.z
10655
- .date()
10656
- .optional()
10657
- .describe('The cadence end of the resource.'),
10658
10653
  addon: zod_1.z
10659
10654
  .object({
10660
10655
  id: zod_1.z
@@ -10735,14 +10730,6 @@ exports.updateSubscriptionAddonBodyDescriptionMax = 1024;
10735
10730
  exports.updateSubscriptionAddonBodyQuantityMin = 0;
10736
10731
  exports.updateSubscriptionAddonBody = zod_1.z
10737
10732
  .object({
10738
- activeFrom: zod_1.z
10739
- .date()
10740
- .optional()
10741
- .describe('The cadence start of the resource.'),
10742
- activeTo: zod_1.z
10743
- .date()
10744
- .optional()
10745
- .describe('The cadence end of the resource.'),
10746
10733
  description: zod_1.z
10747
10734
  .string()
10748
10735
  .max(exports.updateSubscriptionAddonBodyDescriptionMax)
@@ -17779,8 +17779,6 @@ export declare const createSubscriptionAddonBodyDescriptionMax = 1024;
17779
17779
  export declare const createSubscriptionAddonBodyQuantityMin = 0;
17780
17780
  export declare const createSubscriptionAddonBodyAddonIdRegExp: RegExp;
17781
17781
  export declare const createSubscriptionAddonBody: zod.ZodObject<{
17782
- activeFrom: zod.ZodDate;
17783
- activeTo: zod.ZodOptional<zod.ZodDate>;
17784
17782
  addon: zod.ZodObject<{
17785
17783
  id: zod.ZodString;
17786
17784
  }, "strip", zod.ZodTypeAny, {
@@ -17795,7 +17793,6 @@ export declare const createSubscriptionAddonBody: zod.ZodObject<{
17795
17793
  timing: zod.ZodUnion<[zod.ZodEnum<["immediate", "next_billing_cycle"]>, zod.ZodDate]>;
17796
17794
  }, "strip", zod.ZodTypeAny, {
17797
17795
  name: string;
17798
- activeFrom: Date;
17799
17796
  quantity: number;
17800
17797
  addon: {
17801
17798
  id: string;
@@ -17803,10 +17800,8 @@ export declare const createSubscriptionAddonBody: zod.ZodObject<{
17803
17800
  timing: Date | "immediate" | "next_billing_cycle";
17804
17801
  description?: string | undefined;
17805
17802
  metadata?: Record<string, string> | null | undefined;
17806
- activeTo?: Date | undefined;
17807
17803
  }, {
17808
17804
  name: string;
17809
- activeFrom: Date;
17810
17805
  quantity: number;
17811
17806
  addon: {
17812
17807
  id: string;
@@ -17814,7 +17809,6 @@ export declare const createSubscriptionAddonBody: zod.ZodObject<{
17814
17809
  timing: Date | "immediate" | "next_billing_cycle";
17815
17810
  description?: string | undefined;
17816
17811
  metadata?: Record<string, string> | null | undefined;
17817
- activeTo?: Date | undefined;
17818
17812
  }>;
17819
17813
  /**
17820
17814
  * List all addons of a subscription. In the returned list will match to a set unique by addonId.
@@ -17864,8 +17858,6 @@ export declare const updateSubscriptionAddonBodyNameMax = 256;
17864
17858
  export declare const updateSubscriptionAddonBodyDescriptionMax = 1024;
17865
17859
  export declare const updateSubscriptionAddonBodyQuantityMin = 0;
17866
17860
  export declare const updateSubscriptionAddonBody: zod.ZodObject<{
17867
- activeFrom: zod.ZodOptional<zod.ZodDate>;
17868
- activeTo: zod.ZodOptional<zod.ZodDate>;
17869
17861
  description: zod.ZodOptional<zod.ZodString>;
17870
17862
  metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
17871
17863
  name: zod.ZodOptional<zod.ZodString>;
@@ -17874,17 +17866,13 @@ export declare const updateSubscriptionAddonBody: zod.ZodObject<{
17874
17866
  }, "strip", zod.ZodTypeAny, {
17875
17867
  name?: string | undefined;
17876
17868
  description?: string | undefined;
17877
- activeFrom?: Date | undefined;
17878
17869
  metadata?: Record<string, string> | null | undefined;
17879
- activeTo?: Date | undefined;
17880
17870
  quantity?: number | undefined;
17881
17871
  timing?: Date | "immediate" | "next_billing_cycle" | undefined;
17882
17872
  }, {
17883
17873
  name?: string | undefined;
17884
17874
  description?: string | undefined;
17885
- activeFrom?: Date | undefined;
17886
17875
  metadata?: Record<string, string> | null | undefined;
17887
- activeTo?: Date | undefined;
17888
17876
  quantity?: number | undefined;
17889
17877
  timing?: Date | "immediate" | "next_billing_cycle" | undefined;
17890
17878
  }>;