@openmeter/sdk 1.0.0-beta-463feed415a6 → 1.0.0-beta-da70866a8ddb

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.
@@ -6537,6 +6537,7 @@ export declare const createBillingProfileBodySupplierAddressesItemCountryMinOne:
6537
6537
  export declare const createBillingProfileBodySupplierAddressesItemCountryMaxOne: 2;
6538
6538
  export declare const createBillingProfileBodySupplierAddressesItemCountryRegExpOne: RegExp;
6539
6539
  export declare const createBillingProfileBodySupplierAddressesMax: 1;
6540
+ export declare const createBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo: RegExp;
6540
6541
  export declare const createBillingProfileBodyWorkflowCollectionAlignmentDefault: {
6541
6542
  readonly type: "subscription";
6542
6543
  };
@@ -6641,24 +6642,60 @@ export declare const createBillingProfileBody: zod.ZodObject<{
6641
6642
  }>;
6642
6643
  workflow: zod.ZodObject<{
6643
6644
  collection: zod.ZodOptional<zod.ZodObject<{
6644
- alignment: zod.ZodDefault<zod.ZodObject<{
6645
+ alignment: zod.ZodDefault<zod.ZodUnion<[zod.ZodObject<{
6645
6646
  type: zod.ZodEnum<["subscription"]>;
6646
6647
  }, "strip", zod.ZodTypeAny, {
6647
6648
  type: "subscription";
6648
6649
  }, {
6649
6650
  type: "subscription";
6650
- }>>;
6651
+ }>, zod.ZodObject<{
6652
+ recurringPeriod: zod.ZodObject<{
6653
+ anchor: zod.ZodDate;
6654
+ interval: zod.ZodUnion<[zod.ZodString, zod.ZodEnum<["DAY", "WEEK", "MONTH", "YEAR"]>]>;
6655
+ }, "strip", zod.ZodTypeAny, {
6656
+ anchor: Date;
6657
+ interval: string;
6658
+ }, {
6659
+ anchor: Date;
6660
+ interval: string;
6661
+ }>;
6662
+ type: zod.ZodEnum<["anchored"]>;
6663
+ }, "strip", zod.ZodTypeAny, {
6664
+ type: "anchored";
6665
+ recurringPeriod: {
6666
+ anchor: Date;
6667
+ interval: string;
6668
+ };
6669
+ }, {
6670
+ type: "anchored";
6671
+ recurringPeriod: {
6672
+ anchor: Date;
6673
+ interval: string;
6674
+ };
6675
+ }>]>>;
6651
6676
  interval: zod.ZodDefault<zod.ZodString>;
6652
6677
  }, "strip", zod.ZodTypeAny, {
6678
+ interval: string;
6653
6679
  alignment: {
6654
6680
  type: "subscription";
6681
+ } | {
6682
+ type: "anchored";
6683
+ recurringPeriod: {
6684
+ anchor: Date;
6685
+ interval: string;
6686
+ };
6655
6687
  };
6656
- interval: string;
6657
6688
  }, {
6689
+ interval?: string | undefined;
6658
6690
  alignment?: {
6659
6691
  type: "subscription";
6692
+ } | {
6693
+ type: "anchored";
6694
+ recurringPeriod: {
6695
+ anchor: Date;
6696
+ interval: string;
6697
+ };
6660
6698
  } | undefined;
6661
- interval?: string | undefined;
6662
6699
  }>>;
6663
6700
  invoicing: zod.ZodOptional<zod.ZodObject<{
6664
6701
  autoAdvance: zod.ZodDefault<zod.ZodBoolean>;
@@ -6768,10 +6805,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
6768
6805
  enforced?: boolean | undefined;
6769
6806
  } | undefined;
6770
6807
  collection?: {
6808
+ interval: string;
6771
6809
  alignment: {
6772
6810
  type: "subscription";
6811
+ } | {
6812
+ type: "anchored";
6813
+ recurringPeriod: {
6814
+ anchor: Date;
6815
+ interval: string;
6816
+ };
6773
6817
  };
6774
- interval: string;
6775
6818
  } | undefined;
6776
6819
  }, {
6777
6820
  invoicing?: {
@@ -6797,10 +6840,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
6797
6840
  enforced?: boolean | undefined;
6798
6841
  } | undefined;
6799
6842
  collection?: {
6843
+ interval?: string | undefined;
6800
6844
  alignment?: {
6801
6845
  type: "subscription";
6846
+ } | {
6847
+ type: "anchored";
6848
+ recurringPeriod: {
6849
+ anchor: Date;
6850
+ interval: string;
6851
+ };
6802
6852
  } | undefined;
6803
- interval?: string | undefined;
6804
6853
  } | undefined;
6805
6854
  }>;
6806
6855
  }, "strip", zod.ZodTypeAny, {
@@ -6852,10 +6901,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
6852
6901
  enforced?: boolean | undefined;
6853
6902
  } | undefined;
6854
6903
  collection?: {
6904
+ interval: string;
6855
6905
  alignment: {
6856
6906
  type: "subscription";
6907
+ } | {
6908
+ type: "anchored";
6909
+ recurringPeriod: {
6910
+ anchor: Date;
6911
+ interval: string;
6912
+ };
6857
6913
  };
6858
- interval: string;
6859
6914
  } | undefined;
6860
6915
  };
6861
6916
  description?: string | undefined;
@@ -6909,10 +6964,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
6909
6964
  enforced?: boolean | undefined;
6910
6965
  } | undefined;
6911
6966
  collection?: {
6967
+ interval?: string | undefined;
6912
6968
  alignment?: {
6913
6969
  type: "subscription";
6970
+ } | {
6971
+ type: "anchored";
6972
+ recurringPeriod: {
6973
+ anchor: Date;
6974
+ interval: string;
6975
+ };
6914
6976
  } | undefined;
6915
- interval?: string | undefined;
6916
6977
  } | undefined;
6917
6978
  };
6918
6979
  description?: string | undefined;
@@ -6981,6 +7042,7 @@ export declare const updateBillingProfileBodySupplierAddressesItemCountryMinOne:
6981
7042
  export declare const updateBillingProfileBodySupplierAddressesItemCountryMaxOne: 2;
6982
7043
  export declare const updateBillingProfileBodySupplierAddressesItemCountryRegExpOne: RegExp;
6983
7044
  export declare const updateBillingProfileBodySupplierAddressesMax: 1;
7045
+ export declare const updateBillingProfileBodyWorkflowCollectionAlignmentRecurringPeriodIntervalRegExpTwo: RegExp;
6984
7046
  export declare const updateBillingProfileBodyWorkflowCollectionAlignmentDefault: {
6985
7047
  readonly type: "subscription";
6986
7048
  };
@@ -7069,24 +7131,60 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
7069
7131
  }>;
7070
7132
  workflow: zod.ZodObject<{
7071
7133
  collection: zod.ZodOptional<zod.ZodObject<{
7072
- alignment: zod.ZodDefault<zod.ZodObject<{
7134
+ alignment: zod.ZodDefault<zod.ZodUnion<[zod.ZodObject<{
7073
7135
  type: zod.ZodEnum<["subscription"]>;
7074
7136
  }, "strip", zod.ZodTypeAny, {
7075
7137
  type: "subscription";
7076
7138
  }, {
7077
7139
  type: "subscription";
7078
- }>>;
7140
+ }>, zod.ZodObject<{
7141
+ recurringPeriod: zod.ZodObject<{
7142
+ anchor: zod.ZodDate;
7143
+ interval: zod.ZodUnion<[zod.ZodString, zod.ZodEnum<["DAY", "WEEK", "MONTH", "YEAR"]>]>;
7144
+ }, "strip", zod.ZodTypeAny, {
7145
+ anchor: Date;
7146
+ interval: string;
7147
+ }, {
7148
+ anchor: Date;
7149
+ interval: string;
7150
+ }>;
7151
+ type: zod.ZodEnum<["anchored"]>;
7152
+ }, "strip", zod.ZodTypeAny, {
7153
+ type: "anchored";
7154
+ recurringPeriod: {
7155
+ anchor: Date;
7156
+ interval: string;
7157
+ };
7158
+ }, {
7159
+ type: "anchored";
7160
+ recurringPeriod: {
7161
+ anchor: Date;
7162
+ interval: string;
7163
+ };
7164
+ }>]>>;
7079
7165
  interval: zod.ZodDefault<zod.ZodString>;
7080
7166
  }, "strip", zod.ZodTypeAny, {
7167
+ interval: string;
7081
7168
  alignment: {
7082
7169
  type: "subscription";
7170
+ } | {
7171
+ type: "anchored";
7172
+ recurringPeriod: {
7173
+ anchor: Date;
7174
+ interval: string;
7175
+ };
7083
7176
  };
7084
- interval: string;
7085
7177
  }, {
7178
+ interval?: string | undefined;
7086
7179
  alignment?: {
7087
7180
  type: "subscription";
7181
+ } | {
7182
+ type: "anchored";
7183
+ recurringPeriod: {
7184
+ anchor: Date;
7185
+ interval: string;
7186
+ };
7088
7187
  } | undefined;
7089
- interval?: string | undefined;
7090
7188
  }>>;
7091
7189
  invoicing: zod.ZodOptional<zod.ZodObject<{
7092
7190
  autoAdvance: zod.ZodDefault<zod.ZodBoolean>;
@@ -7196,10 +7294,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
7196
7294
  enforced?: boolean | undefined;
7197
7295
  } | undefined;
7198
7296
  collection?: {
7297
+ interval: string;
7199
7298
  alignment: {
7200
7299
  type: "subscription";
7300
+ } | {
7301
+ type: "anchored";
7302
+ recurringPeriod: {
7303
+ anchor: Date;
7304
+ interval: string;
7305
+ };
7201
7306
  };
7202
- interval: string;
7203
7307
  } | undefined;
7204
7308
  }, {
7205
7309
  invoicing?: {
@@ -7225,10 +7329,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
7225
7329
  enforced?: boolean | undefined;
7226
7330
  } | undefined;
7227
7331
  collection?: {
7332
+ interval?: string | undefined;
7228
7333
  alignment?: {
7229
7334
  type: "subscription";
7335
+ } | {
7336
+ type: "anchored";
7337
+ recurringPeriod: {
7338
+ anchor: Date;
7339
+ interval: string;
7340
+ };
7230
7341
  } | undefined;
7231
- interval?: string | undefined;
7232
7342
  } | undefined;
7233
7343
  }>;
7234
7344
  }, "strip", zod.ZodTypeAny, {
@@ -7275,10 +7385,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
7275
7385
  enforced?: boolean | undefined;
7276
7386
  } | undefined;
7277
7387
  collection?: {
7388
+ interval: string;
7278
7389
  alignment: {
7279
7390
  type: "subscription";
7391
+ } | {
7392
+ type: "anchored";
7393
+ recurringPeriod: {
7394
+ anchor: Date;
7395
+ interval: string;
7396
+ };
7280
7397
  };
7281
- interval: string;
7282
7398
  } | undefined;
7283
7399
  };
7284
7400
  description?: string | undefined;
@@ -7327,10 +7443,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
7327
7443
  enforced?: boolean | undefined;
7328
7444
  } | undefined;
7329
7445
  collection?: {
7446
+ interval?: string | undefined;
7330
7447
  alignment?: {
7331
7448
  type: "subscription";
7449
+ } | {
7450
+ type: "anchored";
7451
+ recurringPeriod: {
7452
+ anchor: Date;
7453
+ interval: string;
7454
+ };
7332
7455
  } | undefined;
7333
- interval?: string | undefined;
7334
7456
  } | undefined;
7335
7457
  };
7336
7458
  description?: string | undefined;