@wix/auto_sdk_benefit-programs_pools 1.0.76 → 1.0.77
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/build/cjs/index.js +3 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -12
- package/build/cjs/index.typings.js +2 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +18 -18
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +3 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -12
- package/build/es/index.typings.mjs +2 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +18 -18
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +3 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +138 -12
- package/build/internal/cjs/index.typings.js +2 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +239 -0
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +18 -18
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +3 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +138 -12
- package/build/internal/es/index.typings.mjs +2 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +239 -0
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +18 -18
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/schemas.js
CHANGED
|
@@ -53,13 +53,13 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
53
53
|
|
|
54
54
|
// src/benefit-programs-v1-pool-pools.schemas.ts
|
|
55
55
|
var z = __toESM(require("zod"));
|
|
56
|
-
var GetPoolRequest = z.object({
|
|
56
|
+
var GetPoolRequest = /* @__PURE__ */ z.object({
|
|
57
57
|
poolId: z.string().describe("ID of the pool to retrieve.").regex(
|
|
58
58
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
59
59
|
"Must be a valid GUID"
|
|
60
60
|
)
|
|
61
61
|
});
|
|
62
|
-
var GetPoolResponse = z.object({
|
|
62
|
+
var GetPoolResponse = /* @__PURE__ */ z.object({
|
|
63
63
|
_id: z.string().describe("Pool ID.").regex(
|
|
64
64
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
65
65
|
"Must be a valid GUID"
|
|
@@ -195,7 +195,7 @@ var GetPoolResponse = z.object({
|
|
|
195
195
|
poolDefinitionRevision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Version of the pool definition that this pool was created from.").optional().nullable(),
|
|
196
196
|
renewalCount: z.number().int().describe("Number of times this pool has been renewed.").optional().nullable()
|
|
197
197
|
});
|
|
198
|
-
var UpdatePoolRequest = z.object({
|
|
198
|
+
var UpdatePoolRequest = /* @__PURE__ */ z.object({
|
|
199
199
|
_id: z.string().describe("Pool ID.").regex(
|
|
200
200
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
201
201
|
"Must be a valid GUID"
|
|
@@ -348,7 +348,7 @@ var UpdatePoolRequest = z.object({
|
|
|
348
348
|
renewalCount: z.number().int().describe("Number of times this pool has been renewed.").optional().nullable()
|
|
349
349
|
}).describe("Pool to update.")
|
|
350
350
|
});
|
|
351
|
-
var UpdatePoolResponse = z.object({
|
|
351
|
+
var UpdatePoolResponse = /* @__PURE__ */ z.object({
|
|
352
352
|
_id: z.string().describe("Pool ID.").regex(
|
|
353
353
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
354
354
|
"Must be a valid GUID"
|
|
@@ -484,7 +484,7 @@ var UpdatePoolResponse = z.object({
|
|
|
484
484
|
poolDefinitionRevision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Version of the pool definition that this pool was created from.").optional().nullable(),
|
|
485
485
|
renewalCount: z.number().int().describe("Number of times this pool has been renewed.").optional().nullable()
|
|
486
486
|
});
|
|
487
|
-
var QueryPoolsRequest = z.object({
|
|
487
|
+
var QueryPoolsRequest = /* @__PURE__ */ z.object({
|
|
488
488
|
query: z.intersection(
|
|
489
489
|
z.object({
|
|
490
490
|
filter: z.record(z.string(), z.any()).describe(
|
|
@@ -512,7 +512,7 @@ var QueryPoolsRequest = z.object({
|
|
|
512
512
|
])
|
|
513
513
|
).describe("Filter, sort, and paging to apply to the query.")
|
|
514
514
|
});
|
|
515
|
-
var QueryPoolsResponse = z.object({
|
|
515
|
+
var QueryPoolsResponse = /* @__PURE__ */ z.object({
|
|
516
516
|
pools: z.array(
|
|
517
517
|
z.object({
|
|
518
518
|
_id: z.string().describe("Pool ID.").regex(
|
|
@@ -679,7 +679,7 @@ var QueryPoolsResponse = z.object({
|
|
|
679
679
|
).optional().nullable()
|
|
680
680
|
}).describe("Metadata for the paginated results.").optional()
|
|
681
681
|
});
|
|
682
|
-
var RedeemBenefitRequest = z.object({
|
|
682
|
+
var RedeemBenefitRequest = /* @__PURE__ */ z.object({
|
|
683
683
|
poolId: z.string().describe("ID of the pool that contains the benefit to redeem.").regex(
|
|
684
684
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
685
685
|
"Must be a valid GUID"
|
|
@@ -746,7 +746,7 @@ var RedeemBenefitRequest = z.object({
|
|
|
746
746
|
).min(1).max(20)
|
|
747
747
|
})
|
|
748
748
|
});
|
|
749
|
-
var RedeemBenefitResponse = z.object({
|
|
749
|
+
var RedeemBenefitResponse = /* @__PURE__ */ z.object({
|
|
750
750
|
transactionId: z.string().describe(
|
|
751
751
|
"ID of the transaction recording the associated change in balance."
|
|
752
752
|
).regex(
|
|
@@ -754,7 +754,7 @@ var RedeemBenefitResponse = z.object({
|
|
|
754
754
|
"Must be a valid GUID"
|
|
755
755
|
).optional()
|
|
756
756
|
});
|
|
757
|
-
var CheckBenefitEligibilityRequest = z.object({
|
|
757
|
+
var CheckBenefitEligibilityRequest = /* @__PURE__ */ z.object({
|
|
758
758
|
poolId: z.string().describe("ID of the pool that the benefit to check belongs to.").regex(
|
|
759
759
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
760
760
|
"Must be a valid GUID"
|
|
@@ -820,7 +820,7 @@ var CheckBenefitEligibilityRequest = z.object({
|
|
|
820
820
|
).min(1).max(20)
|
|
821
821
|
})
|
|
822
822
|
});
|
|
823
|
-
var CheckBenefitEligibilityResponse = z.object({
|
|
823
|
+
var CheckBenefitEligibilityResponse = /* @__PURE__ */ z.object({
|
|
824
824
|
result: z.object({
|
|
825
825
|
benefitResults: z.array(
|
|
826
826
|
z.intersection(
|
|
@@ -990,7 +990,7 @@ var CheckBenefitEligibilityResponse = z.object({
|
|
|
990
990
|
).max(10).optional()
|
|
991
991
|
}).describe("Result of the eligibility check.").optional()
|
|
992
992
|
});
|
|
993
|
-
var BulkCheckBenefitEligibilityRequest = z.object({
|
|
993
|
+
var BulkCheckBenefitEligibilityRequest = /* @__PURE__ */ z.object({
|
|
994
994
|
options: z.object({
|
|
995
995
|
benefitSelectors: z.array(
|
|
996
996
|
z.object({
|
|
@@ -1060,7 +1060,7 @@ var BulkCheckBenefitEligibilityRequest = z.object({
|
|
|
1060
1060
|
).describe("Pool beneficiary.").optional()
|
|
1061
1061
|
})
|
|
1062
1062
|
});
|
|
1063
|
-
var BulkCheckBenefitEligibilityResponse = z.object({
|
|
1063
|
+
var BulkCheckBenefitEligibilityResponse = /* @__PURE__ */ z.object({
|
|
1064
1064
|
results: z.array(
|
|
1065
1065
|
z.object({
|
|
1066
1066
|
benefitSelector: z.object({
|
|
@@ -1267,7 +1267,7 @@ var BulkCheckBenefitEligibilityResponse = z.object({
|
|
|
1267
1267
|
})
|
|
1268
1268
|
).min(1).max(100).optional()
|
|
1269
1269
|
});
|
|
1270
|
-
var GetEligibleBenefitsRequest = z.object({
|
|
1270
|
+
var GetEligibleBenefitsRequest = /* @__PURE__ */ z.object({
|
|
1271
1271
|
itemReference: z.object({
|
|
1272
1272
|
externalId: z.string().describe("External ID of the item.").regex(
|
|
1273
1273
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
@@ -1328,7 +1328,7 @@ var GetEligibleBenefitsRequest = z.object({
|
|
|
1328
1328
|
).min(1).max(20)
|
|
1329
1329
|
})
|
|
1330
1330
|
});
|
|
1331
|
-
var GetEligibleBenefitsResponse = z.object({
|
|
1331
|
+
var GetEligibleBenefitsResponse = /* @__PURE__ */ z.object({
|
|
1332
1332
|
eligibleBenefits: z.array(
|
|
1333
1333
|
z.object({
|
|
1334
1334
|
poolId: z.string().describe("Pool ID.").regex(
|
|
@@ -1351,7 +1351,7 @@ var GetEligibleBenefitsResponse = z.object({
|
|
|
1351
1351
|
})
|
|
1352
1352
|
).optional()
|
|
1353
1353
|
});
|
|
1354
|
-
var BulkUpdatePoolsRequest = z.object({
|
|
1354
|
+
var BulkUpdatePoolsRequest = /* @__PURE__ */ z.object({
|
|
1355
1355
|
options: z.object({
|
|
1356
1356
|
pools: z.array(
|
|
1357
1357
|
z.object({
|
|
@@ -1520,7 +1520,7 @@ var BulkUpdatePoolsRequest = z.object({
|
|
|
1520
1520
|
).optional()
|
|
1521
1521
|
}).optional()
|
|
1522
1522
|
});
|
|
1523
|
-
var BulkUpdatePoolsResponse = z.object({
|
|
1523
|
+
var BulkUpdatePoolsResponse = /* @__PURE__ */ z.object({
|
|
1524
1524
|
results: z.array(
|
|
1525
1525
|
z.object({
|
|
1526
1526
|
itemMetadata: z.object({
|
|
@@ -1701,7 +1701,7 @@ var BulkUpdatePoolsResponse = z.object({
|
|
|
1701
1701
|
).optional()
|
|
1702
1702
|
}).describe("Bulk action metadata.").optional()
|
|
1703
1703
|
});
|
|
1704
|
-
var CheckBenefitEligibilityByFilterRequest = z.object({
|
|
1704
|
+
var CheckBenefitEligibilityByFilterRequest = /* @__PURE__ */ z.object({
|
|
1705
1705
|
options: z.object({
|
|
1706
1706
|
poolFilter: z.object({
|
|
1707
1707
|
filter: z.record(z.string(), z.any()).describe(
|
|
@@ -1791,7 +1791,7 @@ var CheckBenefitEligibilityByFilterRequest = z.object({
|
|
|
1791
1791
|
).optional()
|
|
1792
1792
|
})
|
|
1793
1793
|
});
|
|
1794
|
-
var CheckBenefitEligibilityByFilterResponse = z.object({
|
|
1794
|
+
var CheckBenefitEligibilityByFilterResponse = /* @__PURE__ */ z.object({
|
|
1795
1795
|
results: z.array(
|
|
1796
1796
|
z.object({
|
|
1797
1797
|
benefitResults: z.array(
|