wapi-client 0.15.5 → 0.15.8

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.15.5";
27
+ var CLIENT_VERSION = "0.15.8";
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.15.5";
2
+ var CLIENT_VERSION = "0.15.8";
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.15.5";
27
+ var CLIENT_VERSION = "0.15.8";
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.15.5";
2
+ var CLIENT_VERSION = "0.15.8";
3
3
  function getEnvConfig(key, defaultValue) {
4
4
  const val = getVariable(key);
5
5
  if (val === void 0) {
@@ -12154,6 +12154,7 @@ config(en_default());
12154
12154
 
12155
12155
  // src/txs/get-transfer-group/get-transfer-group.schema.zod.ts
12156
12156
  var import_consts = require("../consts.browser.cjs");
12157
+ var import_get_transfer_schema_zod = require("../get-transfer/get-transfer.schema.zod.browser.cjs");
12157
12158
  var import_transfer_group_schema_zod = require("../../db/transfer-group/transfer-group.schema.zod.browser.cjs");
12158
12159
  var uniqueTransferGroupFilter = import_consts.identifierFilter.describe(
12159
12160
  "Unique transferGroup filter"
@@ -12164,6 +12165,10 @@ var getTransferGroupTxInputOptionsSchema = import_consts.iTxGeneralOptions.exten
12164
12165
  ),
12165
12166
  return_only_id: external_exports.boolean().default(false).describe(
12166
12167
  "If true then the returning object is only guaranteed to have id"
12168
+ ),
12169
+ return_transfers: external_exports.boolean().default(false).describe("If true the returning object will include transfers"),
12170
+ return_reversed_by: external_exports.boolean().default(false).describe(
12171
+ "If true the returning object will include reversed_by_identifier -> identifier of the transfer_group that reverses this one"
12167
12172
  )
12168
12173
  }).partial();
12169
12174
  var getTransferGroupTxInputSchema = external_exports.object({
@@ -12173,7 +12178,9 @@ var getTransferGroupTxInputSchema = external_exports.object({
12173
12178
  transfer_group: true
12174
12179
  }).describe("Input for getTransferGroup");
12175
12180
  var transferGroupOutputSchema = import_transfer_group_schema_zod.transferGroupTableSchema.extend({
12176
- reverses_identifier: import_transfer_group_schema_zod.transferGroupTableSchema.shape.identifier.nullable().describe(`Identifier of the transfer group this reverses`)
12181
+ reverses_identifier: import_transfer_group_schema_zod.transferGroupTableSchema.shape.identifier.nullable().describe(`Identifier of the transfer group this reverses`),
12182
+ transfers: import_get_transfer_schema_zod.transferOutputSchema.array().nullable(),
12183
+ reversed_by_identifier: import_transfer_group_schema_zod.transferGroupTableSchema.shape.identifier.nullable().describe("Identifier of the transfer group that reverses this one")
12177
12184
  }).partial().required({
12178
12185
  id: true
12179
12186
  }).describe("requested transfer_group");
@@ -12131,6 +12131,7 @@ config(en_default());
12131
12131
 
12132
12132
  // src/txs/get-transfer-group/get-transfer-group.schema.zod.ts
12133
12133
  import { identifierFilter, iTxGeneralOptions } from "../consts.browser.js";
12134
+ import { transferOutputSchema } from "../get-transfer/get-transfer.schema.zod.browser.js";
12134
12135
  import { transferGroupTableSchema } from "../../db/transfer-group/transfer-group.schema.zod.browser.js";
12135
12136
  var uniqueTransferGroupFilter = identifierFilter.describe(
12136
12137
  "Unique transferGroup filter"
@@ -12141,6 +12142,10 @@ var getTransferGroupTxInputOptionsSchema = iTxGeneralOptions.extend({
12141
12142
  ),
12142
12143
  return_only_id: external_exports.boolean().default(false).describe(
12143
12144
  "If true then the returning object is only guaranteed to have id"
12145
+ ),
12146
+ return_transfers: external_exports.boolean().default(false).describe("If true the returning object will include transfers"),
12147
+ return_reversed_by: external_exports.boolean().default(false).describe(
12148
+ "If true the returning object will include reversed_by_identifier -> identifier of the transfer_group that reverses this one"
12144
12149
  )
12145
12150
  }).partial();
12146
12151
  var getTransferGroupTxInputSchema = external_exports.object({
@@ -12150,7 +12155,9 @@ var getTransferGroupTxInputSchema = external_exports.object({
12150
12155
  transfer_group: true
12151
12156
  }).describe("Input for getTransferGroup");
12152
12157
  var transferGroupOutputSchema = transferGroupTableSchema.extend({
12153
- reverses_identifier: transferGroupTableSchema.shape.identifier.nullable().describe(`Identifier of the transfer group this reverses`)
12158
+ reverses_identifier: transferGroupTableSchema.shape.identifier.nullable().describe(`Identifier of the transfer group this reverses`),
12159
+ transfers: transferOutputSchema.array().nullable(),
12160
+ reversed_by_identifier: transferGroupTableSchema.shape.identifier.nullable().describe("Identifier of the transfer group that reverses this one")
12154
12161
  }).partial().required({
12155
12162
  id: true
12156
12163
  }).describe("requested transfer_group");
@@ -29,6 +29,7 @@ __export(get_transfer_group_schema_zod_exports, {
29
29
  module.exports = __toCommonJS(get_transfer_group_schema_zod_exports);
30
30
  var import_zod = require("zod");
31
31
  var import_consts = require("../consts.cjs");
32
+ var import_get_transfer_schema_zod = require("../get-transfer/get-transfer.schema.zod.cjs");
32
33
  var import_transfer_group_schema_zod = require("../../db/transfer-group/transfer-group.schema.zod.cjs");
33
34
  var uniqueTransferGroupFilter = import_consts.identifierFilter.describe(
34
35
  "Unique transferGroup filter"
@@ -39,6 +40,10 @@ var getTransferGroupTxInputOptionsSchema = import_consts.iTxGeneralOptions.exten
39
40
  ),
40
41
  return_only_id: import_zod.z.boolean().default(false).describe(
41
42
  "If true then the returning object is only guaranteed to have id"
43
+ ),
44
+ return_transfers: import_zod.z.boolean().default(false).describe("If true the returning object will include transfers"),
45
+ return_reversed_by: import_zod.z.boolean().default(false).describe(
46
+ "If true the returning object will include reversed_by_identifier -> identifier of the transfer_group that reverses this one"
42
47
  )
43
48
  }).partial();
44
49
  var getTransferGroupTxInputSchema = import_zod.z.object({
@@ -48,7 +53,9 @@ var getTransferGroupTxInputSchema = import_zod.z.object({
48
53
  transfer_group: true
49
54
  }).describe("Input for getTransferGroup");
50
55
  var transferGroupOutputSchema = import_transfer_group_schema_zod.transferGroupTableSchema.extend({
51
- reverses_identifier: import_transfer_group_schema_zod.transferGroupTableSchema.shape.identifier.nullable().describe(`Identifier of the transfer group this reverses`)
56
+ reverses_identifier: import_transfer_group_schema_zod.transferGroupTableSchema.shape.identifier.nullable().describe(`Identifier of the transfer group this reverses`),
57
+ transfers: import_get_transfer_schema_zod.transferOutputSchema.array().nullable(),
58
+ reversed_by_identifier: import_transfer_group_schema_zod.transferGroupTableSchema.shape.identifier.nullable().describe("Identifier of the transfer group that reverses this one")
52
59
  }).partial().required({
53
60
  id: true
54
61
  }).describe("requested transfer_group");
@@ -1,6 +1,7 @@
1
1
  // src/txs/get-transfer-group/get-transfer-group.schema.zod.ts
2
2
  import { z } from "zod";
3
3
  import { identifierFilter, iTxGeneralOptions } from "../consts.js";
4
+ import { transferOutputSchema } from "../get-transfer/get-transfer.schema.zod.js";
4
5
  import { transferGroupTableSchema } from "../../db/transfer-group/transfer-group.schema.zod.js";
5
6
  var uniqueTransferGroupFilter = identifierFilter.describe(
6
7
  "Unique transferGroup filter"
@@ -11,6 +12,10 @@ var getTransferGroupTxInputOptionsSchema = iTxGeneralOptions.extend({
11
12
  ),
12
13
  return_only_id: z.boolean().default(false).describe(
13
14
  "If true then the returning object is only guaranteed to have id"
15
+ ),
16
+ return_transfers: z.boolean().default(false).describe("If true the returning object will include transfers"),
17
+ return_reversed_by: z.boolean().default(false).describe(
18
+ "If true the returning object will include reversed_by_identifier -> identifier of the transfer_group that reverses this one"
14
19
  )
15
20
  }).partial();
16
21
  var getTransferGroupTxInputSchema = z.object({
@@ -20,7 +25,9 @@ var getTransferGroupTxInputSchema = z.object({
20
25
  transfer_group: true
21
26
  }).describe("Input for getTransferGroup");
22
27
  var transferGroupOutputSchema = transferGroupTableSchema.extend({
23
- reverses_identifier: transferGroupTableSchema.shape.identifier.nullable().describe(`Identifier of the transfer group this reverses`)
28
+ reverses_identifier: transferGroupTableSchema.shape.identifier.nullable().describe(`Identifier of the transfer group this reverses`),
29
+ transfers: transferOutputSchema.array().nullable(),
30
+ reversed_by_identifier: transferGroupTableSchema.shape.identifier.nullable().describe("Identifier of the transfer group that reverses this one")
24
31
  }).partial().required({
25
32
  id: true
26
33
  }).describe("requested transfer_group");