wapi-client 0.17.0 → 0.17.1

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.
@@ -24,7 +24,7 @@ __export(env_exports, {
24
24
  getEnvConfig: () => getEnvConfig
25
25
  });
26
26
  module.exports = __toCommonJS(env_exports);
27
- var CLIENT_VERSION = "0.17.0";
27
+ var CLIENT_VERSION = "0.17.1";
28
28
  function getEnvConfig(key, defaultValue) {
29
29
  const val = getVariable(key);
30
30
  if (val === void 0) {
@@ -1,5 +1,5 @@
1
1
  // src/lib/env.ts
2
- var CLIENT_VERSION = "0.17.0";
2
+ var CLIENT_VERSION = "0.17.1";
3
3
  function getEnvConfig(key, defaultValue) {
4
4
  const val = getVariable(key);
5
5
  if (val === void 0) {
package/dist/lib/env.cjs CHANGED
@@ -24,7 +24,7 @@ __export(env_exports, {
24
24
  getEnvConfig: () => getEnvConfig
25
25
  });
26
26
  module.exports = __toCommonJS(env_exports);
27
- var CLIENT_VERSION = "0.17.0";
27
+ var CLIENT_VERSION = "0.17.1";
28
28
  function getEnvConfig(key, defaultValue) {
29
29
  const val = getVariable(key);
30
30
  if (val === void 0) {
package/dist/lib/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/lib/env.ts
2
- var CLIENT_VERSION = "0.17.0";
2
+ var CLIENT_VERSION = "0.17.1";
3
3
  function getEnvConfig(key, defaultValue) {
4
4
  const val = getVariable(key);
5
5
  if (val === void 0) {
@@ -12166,6 +12166,7 @@ var findApikeyManyTxInputOptionsSchema = external_exports.object(__spreadProps(_
12166
12166
  deselect: import_wapi_apikey_schema_zod.wapiApikeyTableSchema.keyof().array()
12167
12167
  })).partial();
12168
12168
  var apikeyFilterObjectInputSchema = external_exports.object({
12169
+ apikey: import_wapi_apikey_schema_zod.wapiApikeyTableSchema.shape.apikey,
12169
12170
  type: import_wapi_apikey_schema_zod.wapiApikeyTableTypeSchema,
12170
12171
  status: import_wapi_apikey_schema_zod.wapiApikeyTableStatusSchema,
12171
12172
  metadata: import_consts2.MetadataSchema,
@@ -12151,6 +12151,7 @@ var findApikeyManyTxInputOptionsSchema = external_exports.object(__spreadProps(_
12151
12151
  deselect: wapiApikeyTableSchema.keyof().array()
12152
12152
  })).partial();
12153
12153
  var apikeyFilterObjectInputSchema = external_exports.object({
12154
+ apikey: wapiApikeyTableSchema.shape.apikey,
12154
12155
  type: wapiApikeyTableTypeSchema,
12155
12156
  status: wapiApikeyTableStatusSchema,
12156
12157
  metadata: MetadataSchema,
@@ -58,6 +58,7 @@ var findApikeyManyTxInputOptionsSchema = import_zod.z.object(__spreadProps(__spr
58
58
  deselect: import_wapi_apikey_schema_zod.wapiApikeyTableSchema.keyof().array()
59
59
  })).partial();
60
60
  var apikeyFilterObjectInputSchema = import_zod.z.object({
61
+ apikey: import_wapi_apikey_schema_zod.wapiApikeyTableSchema.shape.apikey,
61
62
  type: import_wapi_apikey_schema_zod.wapiApikeyTableTypeSchema,
62
63
  status: import_wapi_apikey_schema_zod.wapiApikeyTableStatusSchema,
63
64
  metadata: import_consts2.MetadataSchema,
@@ -41,6 +41,7 @@ var findApikeyManyTxInputOptionsSchema = z.object(__spreadProps(__spreadValues(_
41
41
  deselect: wapiApikeyTableSchema.keyof().array()
42
42
  })).partial();
43
43
  var apikeyFilterObjectInputSchema = z.object({
44
+ apikey: wapiApikeyTableSchema.shape.apikey,
44
45
  type: wapiApikeyTableTypeSchema,
45
46
  status: wapiApikeyTableStatusSchema,
46
47
  metadata: MetadataSchema,
@@ -19426,6 +19426,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19426
19426
  transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19427
19427
  }, z.core.$strip>;
19428
19428
  export const apikeyFilterObjectInputSchema: z.ZodObject<{
19429
+ apikey: z.ZodOptional<z.ZodString>;
19429
19430
  type: z.ZodOptional<z.ZodEnum<{
19430
19431
  limited: "limited";
19431
19432
  admin: "admin";
@@ -19440,6 +19441,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19440
19441
  valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
19441
19442
  }, z.core.$strip>;
19442
19443
  export const apikeyFilterFullInputSchema: z.ZodObject<{
19444
+ apikey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19443
19445
  type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
19444
19446
  limited: "limited";
19445
19447
  admin: "admin";
@@ -19455,6 +19457,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19455
19457
  updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
19456
19458
  }, z.core.$strip>;
19457
19459
  export const advancedApikeyFilterSchema: z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
19460
+ apikey?: string | undefined;
19458
19461
  type?: "limited" | "admin" | "root" | undefined;
19459
19462
  status?: "active" | "deleted" | undefined;
19460
19463
  metadata?: import("wapi-client/db/consts").Metadata | undefined;
@@ -19462,6 +19465,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19462
19465
  valid_until?: string | null | undefined;
19463
19466
  updated_at?: string | undefined;
19464
19467
  }, z.ZodObject<{
19468
+ apikey: z.ZodOptional<z.ZodString>;
19465
19469
  type: z.ZodOptional<z.ZodEnum<{
19466
19470
  limited: "limited";
19467
19471
  admin: "admin";
@@ -19475,6 +19479,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19475
19479
  description: z.ZodOptional<z.ZodString>;
19476
19480
  valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
19477
19481
  }, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
19482
+ apikey?: string | undefined;
19478
19483
  type?: "limited" | "admin" | "root" | undefined;
19479
19484
  status?: "active" | "deleted" | undefined;
19480
19485
  metadata?: import("wapi-client/db/consts").Metadata | undefined;
@@ -19482,6 +19487,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19482
19487
  valid_until?: string | null | undefined;
19483
19488
  updated_at?: string | undefined;
19484
19489
  }, z.ZodObject<{
19490
+ apikey: z.ZodOptional<z.ZodString>;
19485
19491
  type: z.ZodOptional<z.ZodEnum<{
19486
19492
  limited: "limited";
19487
19493
  admin: "admin";
@@ -19496,6 +19502,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19496
19502
  valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
19497
19503
  }, z.core.$strip>>, unknown>>;
19498
19504
  export const apikeyFilterSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
19505
+ apikey?: string | undefined;
19499
19506
  type?: "limited" | "admin" | "root" | undefined;
19500
19507
  status?: "active" | "deleted" | undefined;
19501
19508
  metadata?: import("wapi-client/db/consts").Metadata | undefined;
@@ -19503,6 +19510,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19503
19510
  valid_until?: string | null | undefined;
19504
19511
  updated_at?: string | undefined;
19505
19512
  }, z.ZodObject<{
19513
+ apikey: z.ZodOptional<z.ZodString>;
19506
19514
  type: z.ZodOptional<z.ZodEnum<{
19507
19515
  limited: "limited";
19508
19516
  admin: "admin";
@@ -19516,6 +19524,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19516
19524
  description: z.ZodOptional<z.ZodString>;
19517
19525
  valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
19518
19526
  }, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
19527
+ apikey?: string | undefined;
19519
19528
  type?: "limited" | "admin" | "root" | undefined;
19520
19529
  status?: "active" | "deleted" | undefined;
19521
19530
  metadata?: import("wapi-client/db/consts").Metadata | undefined;
@@ -19523,6 +19532,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19523
19532
  valid_until?: string | null | undefined;
19524
19533
  updated_at?: string | undefined;
19525
19534
  }, z.ZodObject<{
19535
+ apikey: z.ZodOptional<z.ZodString>;
19526
19536
  type: z.ZodOptional<z.ZodEnum<{
19527
19537
  limited: "limited";
19528
19538
  admin: "admin";
@@ -19536,6 +19546,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19536
19546
  description: z.ZodOptional<z.ZodString>;
19537
19547
  valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
19538
19548
  }, z.core.$strip>>, unknown>>>, z.ZodObject<{
19549
+ apikey: z.ZodOptional<z.ZodString>;
19539
19550
  type: z.ZodOptional<z.ZodEnum<{
19540
19551
  limited: "limited";
19541
19552
  admin: "admin";
@@ -19551,6 +19562,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19551
19562
  }, z.core.$strip>]>;
19552
19563
  export const findApikeyManyTxInputSchema: z.ZodObject<{
19553
19564
  apikey: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
19565
+ apikey?: string | undefined;
19554
19566
  type?: "limited" | "admin" | "root" | undefined;
19555
19567
  status?: "active" | "deleted" | undefined;
19556
19568
  metadata?: import("wapi-client/db/consts").Metadata | undefined;
@@ -19558,6 +19570,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19558
19570
  valid_until?: string | null | undefined;
19559
19571
  updated_at?: string | undefined;
19560
19572
  }, z.ZodObject<{
19573
+ apikey: z.ZodOptional<z.ZodString>;
19561
19574
  type: z.ZodOptional<z.ZodEnum<{
19562
19575
  limited: "limited";
19563
19576
  admin: "admin";
@@ -19571,6 +19584,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19571
19584
  description: z.ZodOptional<z.ZodString>;
19572
19585
  valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
19573
19586
  }, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
19587
+ apikey?: string | undefined;
19574
19588
  type?: "limited" | "admin" | "root" | undefined;
19575
19589
  status?: "active" | "deleted" | undefined;
19576
19590
  metadata?: import("wapi-client/db/consts").Metadata | undefined;
@@ -19578,6 +19592,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19578
19592
  valid_until?: string | null | undefined;
19579
19593
  updated_at?: string | undefined;
19580
19594
  }, z.ZodObject<{
19595
+ apikey: z.ZodOptional<z.ZodString>;
19581
19596
  type: z.ZodOptional<z.ZodEnum<{
19582
19597
  limited: "limited";
19583
19598
  admin: "admin";
@@ -19591,6 +19606,7 @@ declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
19591
19606
  description: z.ZodOptional<z.ZodString>;
19592
19607
  valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
19593
19608
  }, z.core.$strip>>, unknown>>>, z.ZodObject<{
19609
+ apikey: z.ZodOptional<z.ZodString>;
19594
19610
  type: z.ZodOptional<z.ZodEnum<{
19595
19611
  limited: "limited";
19596
19612
  admin: "admin";
@@ -29886,6 +29902,7 @@ declare module "wapi-client/fns/find-apikeys/find-apikeys" {
29886
29902
  description: import("zod").ZodOptional<import("zod").ZodString>;
29887
29903
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
29888
29904
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
29905
+ apikey: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
29889
29906
  type: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
29890
29907
  limited: "limited";
29891
29908
  admin: "admin";
@@ -34891,6 +34908,7 @@ declare module "client.js" {
34891
34908
  description: import("zod").ZodOptional<import("zod").ZodString>;
34892
34909
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
34893
34910
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
34911
+ apikey: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
34894
34912
  type: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
34895
34913
  limited: "limited";
34896
34914
  admin: "admin";