@openmeter/sdk 1.0.0-beta.224 → 1.0.0-beta.225
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/README.md +200 -0
- package/dist/cjs/src/client/features.d.cts +9 -0
- package/dist/cjs/src/client/notifications.d.cts +6 -0
- package/dist/cjs/src/client/schemas.d.cts +719 -98
- package/dist/cjs/src/client/subscriptions.d.cts +5 -0
- package/dist/cjs/src/zod/index.cjs +372 -37
- package/dist/cjs/src/zod/index.d.cts +398 -16
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.041f8f6a.tsbuildinfo → tsconfig.7db92107.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.c55e75d7.tsbuildinfo → tsconfig.94dd8c51.tsbuildinfo} +1 -1
- package/dist/src/client/features.d.ts +9 -0
- package/dist/src/client/notifications.d.ts +6 -0
- package/dist/src/client/schemas.d.ts +719 -98
- package/dist/src/client/subscriptions.d.ts +5 -0
- package/dist/src/zod/index.d.ts +398 -16
- package/dist/src/zod/index.js +352 -18
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -8476,14 +8598,23 @@ export declare const listCustomerSubscriptionsQueryPageDefault: 1;
|
|
|
8476
8598
|
export declare const listCustomerSubscriptionsQueryPageSizeDefault: 100;
|
|
8477
8599
|
export declare const listCustomerSubscriptionsQueryPageSizeMax: 1000;
|
|
8478
8600
|
export declare const listCustomerSubscriptionsQueryParams: zod.ZodObject<{
|
|
8601
|
+
order: zod.ZodOptional<zod.ZodEnum<["ASC", "DESC"]>>;
|
|
8602
|
+
orderBy: zod.ZodOptional<zod.ZodEnum<["activeFrom", "activeTo"]>>;
|
|
8479
8603
|
page: zod.ZodDefault<zod.ZodNumber>;
|
|
8480
8604
|
pageSize: zod.ZodDefault<zod.ZodNumber>;
|
|
8605
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<["active", "inactive", "canceled", "scheduled"]>, "many">>;
|
|
8481
8606
|
}, "strip", zod.ZodTypeAny, {
|
|
8482
8607
|
page: number;
|
|
8483
8608
|
pageSize: number;
|
|
8609
|
+
status?: ("active" | "scheduled" | "inactive" | "canceled")[] | undefined;
|
|
8610
|
+
order?: "ASC" | "DESC" | undefined;
|
|
8611
|
+
orderBy?: "activeFrom" | "activeTo" | undefined;
|
|
8484
8612
|
}, {
|
|
8613
|
+
status?: ("active" | "scheduled" | "inactive" | "canceled")[] | undefined;
|
|
8485
8614
|
page?: number | undefined;
|
|
8486
8615
|
pageSize?: number | undefined;
|
|
8616
|
+
order?: "ASC" | "DESC" | undefined;
|
|
8617
|
+
orderBy?: "activeFrom" | "activeTo" | undefined;
|
|
8487
8618
|
}>;
|
|
8488
8619
|
/**
|
|
8489
8620
|
* List all entitlements for all the subjects and features. This endpoint is intended for administrative purposes only.
|
|
@@ -8705,6 +8836,52 @@ export declare const createFeatureBodyKeyRegExp: RegExp;
|
|
|
8705
8836
|
export declare const createFeatureBodyMeterSlugMax: 64;
|
|
8706
8837
|
export declare const createFeatureBodyMeterSlugRegExp: RegExp;
|
|
8707
8838
|
export declare const createFeatureBody: zod.ZodObject<{
|
|
8839
|
+
advancedMeterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
8840
|
+
$and: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
8841
|
+
$eq: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8842
|
+
$gt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8843
|
+
$gte: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8844
|
+
$ilike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8845
|
+
$in: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
8846
|
+
$like: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8847
|
+
$lt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8848
|
+
$lte: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8849
|
+
$ne: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8850
|
+
$nilike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8851
|
+
$nin: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
8852
|
+
$nlike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
8853
|
+
$or: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
8854
|
+
}, "strip", zod.ZodTypeAny, {
|
|
8855
|
+
$and?: any[] | null | undefined;
|
|
8856
|
+
$eq?: string | null | undefined;
|
|
8857
|
+
$gt?: string | null | undefined;
|
|
8858
|
+
$gte?: string | null | undefined;
|
|
8859
|
+
$ilike?: string | null | undefined;
|
|
8860
|
+
$in?: string[] | null | undefined;
|
|
8861
|
+
$like?: string | null | undefined;
|
|
8862
|
+
$lt?: string | null | undefined;
|
|
8863
|
+
$lte?: string | null | undefined;
|
|
8864
|
+
$ne?: string | null | undefined;
|
|
8865
|
+
$nilike?: string | null | undefined;
|
|
8866
|
+
$nin?: string[] | null | undefined;
|
|
8867
|
+
$nlike?: string | null | undefined;
|
|
8868
|
+
$or?: any[] | null | undefined;
|
|
8869
|
+
}, {
|
|
8870
|
+
$and?: any[] | null | undefined;
|
|
8871
|
+
$eq?: string | null | undefined;
|
|
8872
|
+
$gt?: string | null | undefined;
|
|
8873
|
+
$gte?: string | null | undefined;
|
|
8874
|
+
$ilike?: string | null | undefined;
|
|
8875
|
+
$in?: string[] | null | undefined;
|
|
8876
|
+
$like?: string | null | undefined;
|
|
8877
|
+
$lt?: string | null | undefined;
|
|
8878
|
+
$lte?: string | null | undefined;
|
|
8879
|
+
$ne?: string | null | undefined;
|
|
8880
|
+
$nilike?: string | null | undefined;
|
|
8881
|
+
$nin?: string[] | null | undefined;
|
|
8882
|
+
$nlike?: string | null | undefined;
|
|
8883
|
+
$or?: any[] | null | undefined;
|
|
8884
|
+
}>>>;
|
|
8708
8885
|
key: zod.ZodString;
|
|
8709
8886
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
8710
8887
|
meterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
@@ -8715,12 +8892,44 @@ export declare const createFeatureBody: zod.ZodObject<{
|
|
|
8715
8892
|
name: string;
|
|
8716
8893
|
meterSlug?: string | undefined;
|
|
8717
8894
|
metadata?: Record<string, string> | undefined;
|
|
8895
|
+
advancedMeterGroupByFilters?: Record<string, {
|
|
8896
|
+
$and?: any[] | null | undefined;
|
|
8897
|
+
$eq?: string | null | undefined;
|
|
8898
|
+
$gt?: string | null | undefined;
|
|
8899
|
+
$gte?: string | null | undefined;
|
|
8900
|
+
$ilike?: string | null | undefined;
|
|
8901
|
+
$in?: string[] | null | undefined;
|
|
8902
|
+
$like?: string | null | undefined;
|
|
8903
|
+
$lt?: string | null | undefined;
|
|
8904
|
+
$lte?: string | null | undefined;
|
|
8905
|
+
$ne?: string | null | undefined;
|
|
8906
|
+
$nilike?: string | null | undefined;
|
|
8907
|
+
$nin?: string[] | null | undefined;
|
|
8908
|
+
$nlike?: string | null | undefined;
|
|
8909
|
+
$or?: any[] | null | undefined;
|
|
8910
|
+
}> | undefined;
|
|
8718
8911
|
meterGroupByFilters?: Record<string, string> | undefined;
|
|
8719
8912
|
}, {
|
|
8720
8913
|
key: string;
|
|
8721
8914
|
name: string;
|
|
8722
8915
|
meterSlug?: string | undefined;
|
|
8723
8916
|
metadata?: Record<string, string> | undefined;
|
|
8917
|
+
advancedMeterGroupByFilters?: Record<string, {
|
|
8918
|
+
$and?: any[] | null | undefined;
|
|
8919
|
+
$eq?: string | null | undefined;
|
|
8920
|
+
$gt?: string | null | undefined;
|
|
8921
|
+
$gte?: string | null | undefined;
|
|
8922
|
+
$ilike?: string | null | undefined;
|
|
8923
|
+
$in?: string[] | null | undefined;
|
|
8924
|
+
$like?: string | null | undefined;
|
|
8925
|
+
$lt?: string | null | undefined;
|
|
8926
|
+
$lte?: string | null | undefined;
|
|
8927
|
+
$ne?: string | null | undefined;
|
|
8928
|
+
$nilike?: string | null | undefined;
|
|
8929
|
+
$nin?: string[] | null | undefined;
|
|
8930
|
+
$nlike?: string | null | undefined;
|
|
8931
|
+
$or?: any[] | null | undefined;
|
|
8932
|
+
}> | undefined;
|
|
8724
8933
|
meterGroupByFilters?: Record<string, string> | undefined;
|
|
8725
8934
|
}>;
|
|
8726
8935
|
/**
|
|
@@ -9057,6 +9266,32 @@ export declare const deleteMeterParams: zod.ZodObject<{
|
|
|
9057
9266
|
}, {
|
|
9058
9267
|
meterIdOrSlug: string;
|
|
9059
9268
|
}>;
|
|
9269
|
+
/**
|
|
9270
|
+
* List meter group by values.
|
|
9271
|
+
* @summary List meter group by values
|
|
9272
|
+
*/
|
|
9273
|
+
export declare const listMeterGroupByValuesPathMeterIdOrSlugMax: 64;
|
|
9274
|
+
export declare const listMeterGroupByValuesPathMeterIdOrSlugRegExp: RegExp;
|
|
9275
|
+
export declare const listMeterGroupByValuesParams: zod.ZodObject<{
|
|
9276
|
+
groupByKey: zod.ZodString;
|
|
9277
|
+
meterIdOrSlug: zod.ZodString;
|
|
9278
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9279
|
+
meterIdOrSlug: string;
|
|
9280
|
+
groupByKey: string;
|
|
9281
|
+
}, {
|
|
9282
|
+
meterIdOrSlug: string;
|
|
9283
|
+
groupByKey: string;
|
|
9284
|
+
}>;
|
|
9285
|
+
export declare const listMeterGroupByValuesQueryParams: zod.ZodObject<{
|
|
9286
|
+
from: zod.ZodOptional<zod.ZodDate>;
|
|
9287
|
+
to: zod.ZodOptional<zod.ZodDate>;
|
|
9288
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9289
|
+
from?: Date | undefined;
|
|
9290
|
+
to?: Date | undefined;
|
|
9291
|
+
}, {
|
|
9292
|
+
from?: Date | undefined;
|
|
9293
|
+
to?: Date | undefined;
|
|
9294
|
+
}>;
|
|
9060
9295
|
/**
|
|
9061
9296
|
* Query meter for usage.
|
|
9062
9297
|
* @summary Query meter
|
|
@@ -9122,6 +9357,52 @@ export declare const queryMeterPostBodySubjectMax: 100;
|
|
|
9122
9357
|
export declare const queryMeterPostBodyFilterCustomerIdMax: 100;
|
|
9123
9358
|
export declare const queryMeterPostBodyGroupByMax: 100;
|
|
9124
9359
|
export declare const queryMeterPostBody: zod.ZodObject<{
|
|
9360
|
+
advancedMeterGroupByFilters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
9361
|
+
$and: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
9362
|
+
$eq: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9363
|
+
$gt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9364
|
+
$gte: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9365
|
+
$ilike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9366
|
+
$in: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
9367
|
+
$like: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9368
|
+
$lt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9369
|
+
$lte: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9370
|
+
$ne: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9371
|
+
$nilike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9372
|
+
$nin: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
9373
|
+
$nlike: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
9374
|
+
$or: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
9375
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9376
|
+
$and?: any[] | null | undefined;
|
|
9377
|
+
$eq?: string | null | undefined;
|
|
9378
|
+
$gt?: string | null | undefined;
|
|
9379
|
+
$gte?: string | null | undefined;
|
|
9380
|
+
$ilike?: string | null | undefined;
|
|
9381
|
+
$in?: string[] | null | undefined;
|
|
9382
|
+
$like?: string | null | undefined;
|
|
9383
|
+
$lt?: string | null | undefined;
|
|
9384
|
+
$lte?: string | null | undefined;
|
|
9385
|
+
$ne?: string | null | undefined;
|
|
9386
|
+
$nilike?: string | null | undefined;
|
|
9387
|
+
$nin?: string[] | null | undefined;
|
|
9388
|
+
$nlike?: string | null | undefined;
|
|
9389
|
+
$or?: any[] | null | undefined;
|
|
9390
|
+
}, {
|
|
9391
|
+
$and?: any[] | null | undefined;
|
|
9392
|
+
$eq?: string | null | undefined;
|
|
9393
|
+
$gt?: string | null | undefined;
|
|
9394
|
+
$gte?: string | null | undefined;
|
|
9395
|
+
$ilike?: string | null | undefined;
|
|
9396
|
+
$in?: string[] | null | undefined;
|
|
9397
|
+
$like?: string | null | undefined;
|
|
9398
|
+
$lt?: string | null | undefined;
|
|
9399
|
+
$lte?: string | null | undefined;
|
|
9400
|
+
$ne?: string | null | undefined;
|
|
9401
|
+
$nilike?: string | null | undefined;
|
|
9402
|
+
$nin?: string[] | null | undefined;
|
|
9403
|
+
$nlike?: string | null | undefined;
|
|
9404
|
+
$or?: any[] | null | undefined;
|
|
9405
|
+
}>>>;
|
|
9125
9406
|
clientId: zod.ZodOptional<zod.ZodString>;
|
|
9126
9407
|
filterCustomerId: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9127
9408
|
filterGroupBy: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.ZodString, "many">>>;
|
|
@@ -9138,6 +9419,22 @@ export declare const queryMeterPostBody: zod.ZodObject<{
|
|
|
9138
9419
|
to?: Date | undefined;
|
|
9139
9420
|
subject?: string[] | undefined;
|
|
9140
9421
|
clientId?: string | undefined;
|
|
9422
|
+
advancedMeterGroupByFilters?: Record<string, {
|
|
9423
|
+
$and?: any[] | null | undefined;
|
|
9424
|
+
$eq?: string | null | undefined;
|
|
9425
|
+
$gt?: string | null | undefined;
|
|
9426
|
+
$gte?: string | null | undefined;
|
|
9427
|
+
$ilike?: string | null | undefined;
|
|
9428
|
+
$in?: string[] | null | undefined;
|
|
9429
|
+
$like?: string | null | undefined;
|
|
9430
|
+
$lt?: string | null | undefined;
|
|
9431
|
+
$lte?: string | null | undefined;
|
|
9432
|
+
$ne?: string | null | undefined;
|
|
9433
|
+
$nilike?: string | null | undefined;
|
|
9434
|
+
$nin?: string[] | null | undefined;
|
|
9435
|
+
$nlike?: string | null | undefined;
|
|
9436
|
+
$or?: any[] | null | undefined;
|
|
9437
|
+
}> | undefined;
|
|
9141
9438
|
groupBy?: string[] | undefined;
|
|
9142
9439
|
filterCustomerId?: string[] | undefined;
|
|
9143
9440
|
filterGroupBy?: Record<string, string[]> | undefined;
|
|
@@ -9148,6 +9445,22 @@ export declare const queryMeterPostBody: zod.ZodObject<{
|
|
|
9148
9445
|
windowTimeZone?: string | undefined;
|
|
9149
9446
|
subject?: string[] | undefined;
|
|
9150
9447
|
clientId?: string | undefined;
|
|
9448
|
+
advancedMeterGroupByFilters?: Record<string, {
|
|
9449
|
+
$and?: any[] | null | undefined;
|
|
9450
|
+
$eq?: string | null | undefined;
|
|
9451
|
+
$gt?: string | null | undefined;
|
|
9452
|
+
$gte?: string | null | undefined;
|
|
9453
|
+
$ilike?: string | null | undefined;
|
|
9454
|
+
$in?: string[] | null | undefined;
|
|
9455
|
+
$like?: string | null | undefined;
|
|
9456
|
+
$lt?: string | null | undefined;
|
|
9457
|
+
$lte?: string | null | undefined;
|
|
9458
|
+
$ne?: string | null | undefined;
|
|
9459
|
+
$nilike?: string | null | undefined;
|
|
9460
|
+
$nin?: string[] | null | undefined;
|
|
9461
|
+
$nlike?: string | null | undefined;
|
|
9462
|
+
$or?: any[] | null | undefined;
|
|
9463
|
+
}> | undefined;
|
|
9151
9464
|
groupBy?: string[] | undefined;
|
|
9152
9465
|
filterCustomerId?: string[] | undefined;
|
|
9153
9466
|
filterGroupBy?: Record<string, string[]> | undefined;
|
|
@@ -9165,6 +9478,16 @@ export declare const listMeterSubjectsParams: zod.ZodObject<{
|
|
|
9165
9478
|
}, {
|
|
9166
9479
|
meterIdOrSlug: string;
|
|
9167
9480
|
}>;
|
|
9481
|
+
export declare const listMeterSubjectsQueryParams: zod.ZodObject<{
|
|
9482
|
+
from: zod.ZodOptional<zod.ZodDate>;
|
|
9483
|
+
to: zod.ZodOptional<zod.ZodDate>;
|
|
9484
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9485
|
+
from?: Date | undefined;
|
|
9486
|
+
to?: Date | undefined;
|
|
9487
|
+
}, {
|
|
9488
|
+
from?: Date | undefined;
|
|
9489
|
+
to?: Date | undefined;
|
|
9490
|
+
}>;
|
|
9168
9491
|
/**
|
|
9169
9492
|
* List all notification channels.
|
|
9170
9493
|
* @summary List notification channels
|
|
@@ -9200,11 +9523,13 @@ export declare const listNotificationChannelsQueryParams: zod.ZodObject<{
|
|
|
9200
9523
|
* Create a new notification channel.
|
|
9201
9524
|
* @summary Create a notification channel
|
|
9202
9525
|
*/
|
|
9526
|
+
export declare const createNotificationChannelBodyNameMax: 256;
|
|
9203
9527
|
export declare const createNotificationChannelBodyDisabledDefault: false;
|
|
9204
9528
|
export declare const createNotificationChannelBodySigningSecretRegExp: RegExp;
|
|
9205
9529
|
export declare const createNotificationChannelBody: zod.ZodObject<{
|
|
9206
9530
|
customHeaders: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
9207
9531
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9532
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9208
9533
|
name: zod.ZodString;
|
|
9209
9534
|
signingSecret: zod.ZodOptional<zod.ZodString>;
|
|
9210
9535
|
type: zod.ZodEnum<["WEBHOOK"]>;
|
|
@@ -9213,6 +9538,7 @@ export declare const createNotificationChannelBody: zod.ZodObject<{
|
|
|
9213
9538
|
name: string;
|
|
9214
9539
|
type: "WEBHOOK";
|
|
9215
9540
|
url: string;
|
|
9541
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9216
9542
|
customHeaders?: Record<string, string> | undefined;
|
|
9217
9543
|
disabled?: boolean | undefined;
|
|
9218
9544
|
signingSecret?: string | undefined;
|
|
@@ -9220,6 +9546,7 @@ export declare const createNotificationChannelBody: zod.ZodObject<{
|
|
|
9220
9546
|
name: string;
|
|
9221
9547
|
type: "WEBHOOK";
|
|
9222
9548
|
url: string;
|
|
9549
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9223
9550
|
customHeaders?: Record<string, string> | undefined;
|
|
9224
9551
|
disabled?: boolean | undefined;
|
|
9225
9552
|
signingSecret?: string | undefined;
|
|
@@ -9236,11 +9563,13 @@ export declare const updateNotificationChannelParams: zod.ZodObject<{
|
|
|
9236
9563
|
}, {
|
|
9237
9564
|
channelId: string;
|
|
9238
9565
|
}>;
|
|
9566
|
+
export declare const updateNotificationChannelBodyNameMax: 256;
|
|
9239
9567
|
export declare const updateNotificationChannelBodyDisabledDefault: false;
|
|
9240
9568
|
export declare const updateNotificationChannelBodySigningSecretRegExp: RegExp;
|
|
9241
9569
|
export declare const updateNotificationChannelBody: zod.ZodObject<{
|
|
9242
9570
|
customHeaders: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
9243
9571
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9572
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9244
9573
|
name: zod.ZodString;
|
|
9245
9574
|
signingSecret: zod.ZodOptional<zod.ZodString>;
|
|
9246
9575
|
type: zod.ZodEnum<["WEBHOOK"]>;
|
|
@@ -9249,6 +9578,7 @@ export declare const updateNotificationChannelBody: zod.ZodObject<{
|
|
|
9249
9578
|
name: string;
|
|
9250
9579
|
type: "WEBHOOK";
|
|
9251
9580
|
url: string;
|
|
9581
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9252
9582
|
customHeaders?: Record<string, string> | undefined;
|
|
9253
9583
|
disabled?: boolean | undefined;
|
|
9254
9584
|
signingSecret?: string | undefined;
|
|
@@ -9256,6 +9586,7 @@ export declare const updateNotificationChannelBody: zod.ZodObject<{
|
|
|
9256
9586
|
name: string;
|
|
9257
9587
|
type: "WEBHOOK";
|
|
9258
9588
|
url: string;
|
|
9589
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9259
9590
|
customHeaders?: Record<string, string> | undefined;
|
|
9260
9591
|
disabled?: boolean | undefined;
|
|
9261
9592
|
signingSecret?: string | undefined;
|
|
@@ -9340,6 +9671,25 @@ export declare const getNotificationEventParams: zod.ZodObject<{
|
|
|
9340
9671
|
}, {
|
|
9341
9672
|
eventId: string;
|
|
9342
9673
|
}>;
|
|
9674
|
+
/**
|
|
9675
|
+
* @summary Re-send notification event
|
|
9676
|
+
*/
|
|
9677
|
+
export declare const resendNotificationEventPathEventIdRegExp: RegExp;
|
|
9678
|
+
export declare const resendNotificationEventParams: zod.ZodObject<{
|
|
9679
|
+
eventId: zod.ZodString;
|
|
9680
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9681
|
+
eventId: string;
|
|
9682
|
+
}, {
|
|
9683
|
+
eventId: string;
|
|
9684
|
+
}>;
|
|
9685
|
+
export declare const resendNotificationEventBodyChannelsItemRegExp: RegExp;
|
|
9686
|
+
export declare const resendNotificationEventBody: zod.ZodObject<{
|
|
9687
|
+
channels: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9688
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9689
|
+
channels?: string[] | undefined;
|
|
9690
|
+
}, {
|
|
9691
|
+
channels?: string[] | undefined;
|
|
9692
|
+
}>;
|
|
9343
9693
|
/**
|
|
9344
9694
|
* List all notification rules.
|
|
9345
9695
|
* @summary List notification rules
|
|
@@ -9383,23 +9733,28 @@ export declare const listNotificationRulesQueryParams: zod.ZodObject<{
|
|
|
9383
9733
|
* Create a new notification rule.
|
|
9384
9734
|
* @summary Create a notification rule
|
|
9385
9735
|
*/
|
|
9736
|
+
export declare const createNotificationRuleBodyNameMax: 256;
|
|
9386
9737
|
export declare const createNotificationRuleBodyDisabledDefault: false;
|
|
9387
9738
|
export declare const createNotificationRuleBodyThresholdsMax: 10;
|
|
9388
9739
|
export declare const createNotificationRuleBodyChannelsItemRegExp: RegExp;
|
|
9389
9740
|
export declare const createNotificationRuleBodyFeaturesItemMax: 64;
|
|
9390
9741
|
export declare const createNotificationRuleBodyFeaturesItemRegExp: RegExp;
|
|
9742
|
+
export declare const createNotificationRuleBodyNameMaxOne: 256;
|
|
9391
9743
|
export declare const createNotificationRuleBodyDisabledDefaultOne: false;
|
|
9392
9744
|
export declare const createNotificationRuleBodyChannelsItemRegExpOne: RegExp;
|
|
9393
9745
|
export declare const createNotificationRuleBodyFeaturesItemMaxOne: 64;
|
|
9394
9746
|
export declare const createNotificationRuleBodyFeaturesItemRegExpOne: RegExp;
|
|
9747
|
+
export declare const createNotificationRuleBodyNameMaxTwo: 256;
|
|
9395
9748
|
export declare const createNotificationRuleBodyDisabledDefaultTwo: false;
|
|
9396
9749
|
export declare const createNotificationRuleBodyChannelsItemRegExpTwo: RegExp;
|
|
9750
|
+
export declare const createNotificationRuleBodyNameMaxThree: 256;
|
|
9397
9751
|
export declare const createNotificationRuleBodyDisabledDefaultThree: false;
|
|
9398
9752
|
export declare const createNotificationRuleBodyChannelsItemRegExpThree: RegExp;
|
|
9399
9753
|
export declare const createNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
9400
9754
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9401
9755
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9402
9756
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9757
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9403
9758
|
name: zod.ZodString;
|
|
9404
9759
|
thresholds: zod.ZodArray<zod.ZodObject<{
|
|
9405
9760
|
type: zod.ZodEnum<["PERCENT", "NUMBER", "balance_value", "usage_percentage", "usage_value"]>;
|
|
@@ -9420,6 +9775,7 @@ export declare const createNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9420
9775
|
type: "PERCENT" | "NUMBER" | "balance_value" | "usage_percentage" | "usage_value";
|
|
9421
9776
|
value: number;
|
|
9422
9777
|
}[];
|
|
9778
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9423
9779
|
disabled?: boolean | undefined;
|
|
9424
9780
|
features?: string[] | undefined;
|
|
9425
9781
|
}, {
|
|
@@ -9430,55 +9786,65 @@ export declare const createNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9430
9786
|
type: "PERCENT" | "NUMBER" | "balance_value" | "usage_percentage" | "usage_value";
|
|
9431
9787
|
value: number;
|
|
9432
9788
|
}[];
|
|
9789
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9433
9790
|
disabled?: boolean | undefined;
|
|
9434
9791
|
features?: string[] | undefined;
|
|
9435
9792
|
}>, zod.ZodObject<{
|
|
9436
9793
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9437
9794
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9438
9795
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9796
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9439
9797
|
name: zod.ZodString;
|
|
9440
9798
|
type: zod.ZodEnum<["entitlements.reset"]>;
|
|
9441
9799
|
}, "strip", zod.ZodTypeAny, {
|
|
9442
9800
|
name: string;
|
|
9443
9801
|
type: "entitlements.reset";
|
|
9444
9802
|
channels: string[];
|
|
9803
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9445
9804
|
disabled?: boolean | undefined;
|
|
9446
9805
|
features?: string[] | undefined;
|
|
9447
9806
|
}, {
|
|
9448
9807
|
name: string;
|
|
9449
9808
|
type: "entitlements.reset";
|
|
9450
9809
|
channels: string[];
|
|
9810
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9451
9811
|
disabled?: boolean | undefined;
|
|
9452
9812
|
features?: string[] | undefined;
|
|
9453
9813
|
}>, zod.ZodObject<{
|
|
9454
9814
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9455
9815
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9816
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9456
9817
|
name: zod.ZodString;
|
|
9457
9818
|
type: zod.ZodEnum<["invoice.created"]>;
|
|
9458
9819
|
}, "strip", zod.ZodTypeAny, {
|
|
9459
9820
|
name: string;
|
|
9460
9821
|
type: "invoice.created";
|
|
9461
9822
|
channels: string[];
|
|
9823
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9462
9824
|
disabled?: boolean | undefined;
|
|
9463
9825
|
}, {
|
|
9464
9826
|
name: string;
|
|
9465
9827
|
type: "invoice.created";
|
|
9466
9828
|
channels: string[];
|
|
9829
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9467
9830
|
disabled?: boolean | undefined;
|
|
9468
9831
|
}>, zod.ZodObject<{
|
|
9469
9832
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9470
9833
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9834
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9471
9835
|
name: zod.ZodString;
|
|
9472
9836
|
type: zod.ZodEnum<["invoice.updated"]>;
|
|
9473
9837
|
}, "strip", zod.ZodTypeAny, {
|
|
9474
9838
|
name: string;
|
|
9475
9839
|
type: "invoice.updated";
|
|
9476
9840
|
channels: string[];
|
|
9841
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9477
9842
|
disabled?: boolean | undefined;
|
|
9478
9843
|
}, {
|
|
9479
9844
|
name: string;
|
|
9480
9845
|
type: "invoice.updated";
|
|
9481
9846
|
channels: string[];
|
|
9847
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9482
9848
|
disabled?: boolean | undefined;
|
|
9483
9849
|
}>]>;
|
|
9484
9850
|
/**
|
|
@@ -9493,23 +9859,28 @@ export declare const updateNotificationRuleParams: zod.ZodObject<{
|
|
|
9493
9859
|
}, {
|
|
9494
9860
|
ruleId: string;
|
|
9495
9861
|
}>;
|
|
9862
|
+
export declare const updateNotificationRuleBodyNameMax: 256;
|
|
9496
9863
|
export declare const updateNotificationRuleBodyDisabledDefault: false;
|
|
9497
9864
|
export declare const updateNotificationRuleBodyThresholdsMax: 10;
|
|
9498
9865
|
export declare const updateNotificationRuleBodyChannelsItemRegExp: RegExp;
|
|
9499
9866
|
export declare const updateNotificationRuleBodyFeaturesItemMax: 64;
|
|
9500
9867
|
export declare const updateNotificationRuleBodyFeaturesItemRegExp: RegExp;
|
|
9868
|
+
export declare const updateNotificationRuleBodyNameMaxOne: 256;
|
|
9501
9869
|
export declare const updateNotificationRuleBodyDisabledDefaultOne: false;
|
|
9502
9870
|
export declare const updateNotificationRuleBodyChannelsItemRegExpOne: RegExp;
|
|
9503
9871
|
export declare const updateNotificationRuleBodyFeaturesItemMaxOne: 64;
|
|
9504
9872
|
export declare const updateNotificationRuleBodyFeaturesItemRegExpOne: RegExp;
|
|
9873
|
+
export declare const updateNotificationRuleBodyNameMaxTwo: 256;
|
|
9505
9874
|
export declare const updateNotificationRuleBodyDisabledDefaultTwo: false;
|
|
9506
9875
|
export declare const updateNotificationRuleBodyChannelsItemRegExpTwo: RegExp;
|
|
9876
|
+
export declare const updateNotificationRuleBodyNameMaxThree: 256;
|
|
9507
9877
|
export declare const updateNotificationRuleBodyDisabledDefaultThree: false;
|
|
9508
9878
|
export declare const updateNotificationRuleBodyChannelsItemRegExpThree: RegExp;
|
|
9509
9879
|
export declare const updateNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
9510
9880
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9511
9881
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9512
9882
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9883
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9513
9884
|
name: zod.ZodString;
|
|
9514
9885
|
thresholds: zod.ZodArray<zod.ZodObject<{
|
|
9515
9886
|
type: zod.ZodEnum<["PERCENT", "NUMBER", "balance_value", "usage_percentage", "usage_value"]>;
|
|
@@ -9530,6 +9901,7 @@ export declare const updateNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9530
9901
|
type: "PERCENT" | "NUMBER" | "balance_value" | "usage_percentage" | "usage_value";
|
|
9531
9902
|
value: number;
|
|
9532
9903
|
}[];
|
|
9904
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9533
9905
|
disabled?: boolean | undefined;
|
|
9534
9906
|
features?: string[] | undefined;
|
|
9535
9907
|
}, {
|
|
@@ -9540,55 +9912,65 @@ export declare const updateNotificationRuleBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9540
9912
|
type: "PERCENT" | "NUMBER" | "balance_value" | "usage_percentage" | "usage_value";
|
|
9541
9913
|
value: number;
|
|
9542
9914
|
}[];
|
|
9915
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9543
9916
|
disabled?: boolean | undefined;
|
|
9544
9917
|
features?: string[] | undefined;
|
|
9545
9918
|
}>, zod.ZodObject<{
|
|
9546
9919
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9547
9920
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9548
9921
|
features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
9922
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9549
9923
|
name: zod.ZodString;
|
|
9550
9924
|
type: zod.ZodEnum<["entitlements.reset"]>;
|
|
9551
9925
|
}, "strip", zod.ZodTypeAny, {
|
|
9552
9926
|
name: string;
|
|
9553
9927
|
type: "entitlements.reset";
|
|
9554
9928
|
channels: string[];
|
|
9929
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9555
9930
|
disabled?: boolean | undefined;
|
|
9556
9931
|
features?: string[] | undefined;
|
|
9557
9932
|
}, {
|
|
9558
9933
|
name: string;
|
|
9559
9934
|
type: "entitlements.reset";
|
|
9560
9935
|
channels: string[];
|
|
9936
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9561
9937
|
disabled?: boolean | undefined;
|
|
9562
9938
|
features?: string[] | undefined;
|
|
9563
9939
|
}>, zod.ZodObject<{
|
|
9564
9940
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9565
9941
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9942
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9566
9943
|
name: zod.ZodString;
|
|
9567
9944
|
type: zod.ZodEnum<["invoice.created"]>;
|
|
9568
9945
|
}, "strip", zod.ZodTypeAny, {
|
|
9569
9946
|
name: string;
|
|
9570
9947
|
type: "invoice.created";
|
|
9571
9948
|
channels: string[];
|
|
9949
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9572
9950
|
disabled?: boolean | undefined;
|
|
9573
9951
|
}, {
|
|
9574
9952
|
name: string;
|
|
9575
9953
|
type: "invoice.created";
|
|
9576
9954
|
channels: string[];
|
|
9955
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9577
9956
|
disabled?: boolean | undefined;
|
|
9578
9957
|
}>, zod.ZodObject<{
|
|
9579
9958
|
channels: zod.ZodArray<zod.ZodString, "many">;
|
|
9580
9959
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
9960
|
+
metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
9581
9961
|
name: zod.ZodString;
|
|
9582
9962
|
type: zod.ZodEnum<["invoice.updated"]>;
|
|
9583
9963
|
}, "strip", zod.ZodTypeAny, {
|
|
9584
9964
|
name: string;
|
|
9585
9965
|
type: "invoice.updated";
|
|
9586
9966
|
channels: string[];
|
|
9967
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9587
9968
|
disabled?: boolean | undefined;
|
|
9588
9969
|
}, {
|
|
9589
9970
|
name: string;
|
|
9590
9971
|
type: "invoice.updated";
|
|
9591
9972
|
channels: string[];
|
|
9973
|
+
metadata?: Record<string, string> | null | undefined;
|
|
9592
9974
|
disabled?: boolean | undefined;
|
|
9593
9975
|
}>]>;
|
|
9594
9976
|
/**
|