@wix/auto_sdk_benefit-programs_pool-definitions 1.0.66 → 1.0.67

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.
Files changed (35) hide show
  1. package/build/cjs/index.js +2 -4
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +5 -9
  4. package/build/cjs/index.typings.js +1 -3
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/schemas.js +28 -24
  8. package/build/cjs/schemas.js.map +1 -1
  9. package/build/es/index.mjs +2 -4
  10. package/build/es/index.mjs.map +1 -1
  11. package/build/es/index.typings.d.mts +5 -9
  12. package/build/es/index.typings.mjs +1 -3
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.mjs.map +1 -1
  15. package/build/es/schemas.mjs +28 -24
  16. package/build/es/schemas.mjs.map +1 -1
  17. package/build/internal/cjs/index.js +2 -4
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/index.typings.d.ts +94 -9
  20. package/build/internal/cjs/index.typings.js +1 -3
  21. package/build/internal/cjs/index.typings.js.map +1 -1
  22. package/build/internal/cjs/meta.d.ts +122 -0
  23. package/build/internal/cjs/meta.js.map +1 -1
  24. package/build/internal/cjs/schemas.js +28 -24
  25. package/build/internal/cjs/schemas.js.map +1 -1
  26. package/build/internal/es/index.mjs +2 -4
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/index.typings.d.mts +94 -9
  29. package/build/internal/es/index.typings.mjs +1 -3
  30. package/build/internal/es/index.typings.mjs.map +1 -1
  31. package/build/internal/es/meta.d.mts +122 -0
  32. package/build/internal/es/meta.mjs.map +1 -1
  33. package/build/internal/es/schemas.mjs +28 -24
  34. package/build/internal/es/schemas.mjs.map +1 -1
  35. package/package.json +4 -4
@@ -57,7 +57,7 @@ module.exports = __toCommonJS(schemas_exports);
57
57
 
58
58
  // src/benefit-programs-v1-pool-definition-pool-definitions.schemas.ts
59
59
  var z = __toESM(require("zod"));
60
- var CreatePoolDefinitionRequest = z.object({
60
+ var CreatePoolDefinitionRequest = /* @__PURE__ */ z.object({
61
61
  poolDefinition: z.object({
62
62
  _id: z.string().describe("Pool definition ID.").regex(
63
63
  /^[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}$/,
@@ -142,7 +142,7 @@ var CreatePoolDefinitionRequest = z.object({
142
142
  ]).optional()
143
143
  }).optional()
144
144
  });
145
- var CreatePoolDefinitionResponse = z.object({
145
+ var CreatePoolDefinitionResponse = /* @__PURE__ */ z.object({
146
146
  _id: z.string().describe("Pool definition ID.").regex(
147
147
  /^[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}$/,
148
148
  "Must be a valid GUID"
@@ -217,7 +217,7 @@ var CreatePoolDefinitionResponse = z.object({
217
217
  })
218
218
  ).max(20).optional()
219
219
  });
220
- var BulkCreatePoolDefinitionsRequest = z.object({
220
+ var BulkCreatePoolDefinitionsRequest = /* @__PURE__ */ z.object({
221
221
  poolDefinitions: z.array(
222
222
  z.object({
223
223
  _id: z.string().describe("Pool definition ID.").regex(
@@ -307,7 +307,7 @@ var BulkCreatePoolDefinitionsRequest = z.object({
307
307
  ).optional()
308
308
  }).optional()
309
309
  });
310
- var BulkCreatePoolDefinitionsResponse = z.object({
310
+ var BulkCreatePoolDefinitionsResponse = /* @__PURE__ */ z.object({
311
311
  results: z.array(
312
312
  z.object({
313
313
  itemMetadata: z.object({
@@ -416,7 +416,7 @@ var BulkCreatePoolDefinitionsResponse = z.object({
416
416
  ).optional()
417
417
  }).describe("Bulk action metadata.").optional()
418
418
  });
419
- var UpdatePoolDefinitionRequest = z.object({
419
+ var UpdatePoolDefinitionRequest = /* @__PURE__ */ z.object({
420
420
  _id: z.string().describe("Pool definition ID.").regex(
421
421
  /^[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}$/,
422
422
  "Must be a valid GUID"
@@ -505,7 +505,7 @@ var UpdatePoolDefinitionRequest = z.object({
505
505
  ]).optional()
506
506
  }).optional()
507
507
  });
508
- var UpdatePoolDefinitionResponse = z.object({
508
+ var UpdatePoolDefinitionResponse = /* @__PURE__ */ z.object({
509
509
  _id: z.string().describe("Pool definition ID.").regex(
510
510
  /^[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}$/,
511
511
  "Must be a valid GUID"
@@ -580,7 +580,7 @@ var UpdatePoolDefinitionResponse = z.object({
580
580
  })
581
581
  ).max(20).optional()
582
582
  });
583
- var BulkUpdatePoolDefinitionsRequest = z.object({
583
+ var BulkUpdatePoolDefinitionsRequest = /* @__PURE__ */ z.object({
584
584
  options: z.object({
585
585
  poolDefinitions: z.array(
586
586
  z.object({
@@ -681,7 +681,7 @@ var BulkUpdatePoolDefinitionsRequest = z.object({
681
681
  ).optional()
682
682
  }).optional()
683
683
  });
684
- var BulkUpdatePoolDefinitionsResponse = z.object({
684
+ var BulkUpdatePoolDefinitionsResponse = /* @__PURE__ */ z.object({
685
685
  results: z.array(
686
686
  z.object({
687
687
  itemMetadata: z.object({
@@ -790,7 +790,7 @@ var BulkUpdatePoolDefinitionsResponse = z.object({
790
790
  ).optional()
791
791
  }).describe("Bulk action metadata.").optional()
792
792
  });
793
- var DeletePoolDefinitionRequest = z.object({
793
+ var DeletePoolDefinitionRequest = /* @__PURE__ */ z.object({
794
794
  poolDefinitionId: z.string().describe("ID of the pool definition to delete.").regex(
795
795
  /^[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}$/,
796
796
  "Must be a valid GUID"
@@ -802,8 +802,8 @@ var DeletePoolDefinitionRequest = z.object({
802
802
  "FUTURE_PROVISIONS"
803
803
  ])
804
804
  });
805
- var DeletePoolDefinitionResponse = z.object({});
806
- var BulkDeletePoolDefinitionsRequest = z.object({
805
+ var DeletePoolDefinitionResponse = /* @__PURE__ */ z.object({});
806
+ var BulkDeletePoolDefinitionsRequest = /* @__PURE__ */ z.object({
807
807
  poolDefinitionIds: z.array(z.string()).min(1).max(100),
808
808
  options: z.object({
809
809
  cascade: z.enum([
@@ -814,7 +814,7 @@ var BulkDeletePoolDefinitionsRequest = z.object({
814
814
  ]).optional()
815
815
  }).optional()
816
816
  });
817
- var BulkDeletePoolDefinitionsResponse = z.object({
817
+ var BulkDeletePoolDefinitionsResponse = /* @__PURE__ */ z.object({
818
818
  results: z.array(
819
819
  z.object({
820
820
  itemMetadata: z.object({
@@ -923,13 +923,13 @@ var BulkDeletePoolDefinitionsResponse = z.object({
923
923
  ).optional()
924
924
  }).describe("Bulk action metadata.").optional()
925
925
  });
926
- var GetPoolDefinitionRequest = z.object({
926
+ var GetPoolDefinitionRequest = /* @__PURE__ */ z.object({
927
927
  poolDefinitionId: z.string().describe("ID of the pool definition to retrieve.").regex(
928
928
  /^[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}$/,
929
929
  "Must be a valid GUID"
930
930
  )
931
931
  });
932
- var GetPoolDefinitionResponse = z.object({
932
+ var GetPoolDefinitionResponse = /* @__PURE__ */ z.object({
933
933
  _id: z.string().describe("Pool definition ID.").regex(
934
934
  /^[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}$/,
935
935
  "Must be a valid GUID"
@@ -1004,7 +1004,7 @@ var GetPoolDefinitionResponse = z.object({
1004
1004
  })
1005
1005
  ).max(20).optional()
1006
1006
  });
1007
- var QueryPoolDefinitionsRequest = z.object({
1007
+ var QueryPoolDefinitionsRequest = /* @__PURE__ */ z.object({
1008
1008
  query: z.intersection(
1009
1009
  z.object({
1010
1010
  filter: z.record(z.string(), z.any()).describe(
@@ -1032,7 +1032,7 @@ var QueryPoolDefinitionsRequest = z.object({
1032
1032
  ])
1033
1033
  ).describe("Filter, sort, and paging to apply to the query.")
1034
1034
  });
1035
- var QueryPoolDefinitionsResponse = z.object({
1035
+ var QueryPoolDefinitionsResponse = /* @__PURE__ */ z.object({
1036
1036
  poolDefinitions: z.array(
1037
1037
  z.object({
1038
1038
  _id: z.string().describe("Pool definition ID.").regex(
@@ -1127,7 +1127,7 @@ var QueryPoolDefinitionsResponse = z.object({
1127
1127
  ).optional().nullable()
1128
1128
  }).describe("Metadata for the paginated results.").optional()
1129
1129
  });
1130
- var AddPoolDefinitionToProgramDefinitionRequest = z.object({
1130
+ var AddPoolDefinitionToProgramDefinitionRequest = /* @__PURE__ */ z.object({
1131
1131
  poolDefinitionId: z.string().describe("ID of the pool definition to add to the program definition.").regex(
1132
1132
  /^[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}$/,
1133
1133
  "Must be a valid GUID"
@@ -1145,7 +1145,7 @@ var AddPoolDefinitionToProgramDefinitionRequest = z.object({
1145
1145
  ])
1146
1146
  })
1147
1147
  });
1148
- var AddPoolDefinitionToProgramDefinitionResponse = z.object({
1148
+ var AddPoolDefinitionToProgramDefinitionResponse = /* @__PURE__ */ z.object({
1149
1149
  poolDefinition: z.object({
1150
1150
  _id: z.string().describe("Pool definition ID.").regex(
1151
1151
  /^[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}$/,
@@ -1222,7 +1222,7 @@ var AddPoolDefinitionToProgramDefinitionResponse = z.object({
1222
1222
  ).max(20).optional()
1223
1223
  }).describe("Updated pool definition.").optional()
1224
1224
  });
1225
- var RemovePoolDefinitionFromProgramDefinitionRequest = z.object({
1225
+ var RemovePoolDefinitionFromProgramDefinitionRequest = /* @__PURE__ */ z.object({
1226
1226
  poolDefinitionId: z.string().describe(
1227
1227
  "ID of the pool definition to remove from the program definition."
1228
1228
  ).regex(
@@ -1244,7 +1244,7 @@ var RemovePoolDefinitionFromProgramDefinitionRequest = z.object({
1244
1244
  ])
1245
1245
  })
1246
1246
  });
1247
- var RemovePoolDefinitionFromProgramDefinitionResponse = z.object({
1247
+ var RemovePoolDefinitionFromProgramDefinitionResponse = /* @__PURE__ */ z.object({
1248
1248
  poolDefinition: z.object({
1249
1249
  _id: z.string().describe("Pool definition ID.").regex(
1250
1250
  /^[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}$/,
@@ -1321,8 +1321,10 @@ var RemovePoolDefinitionFromProgramDefinitionResponse = z.object({
1321
1321
  ).max(20).optional()
1322
1322
  }).describe("Updated pool definition.").optional()
1323
1323
  });
1324
- var FindPoolDefinitionsByProgramDefinitionRequest = z.object({
1325
- programDefinitionId: z.string().describe("ID of the program definition to retrieve its pool definitions.").regex(
1324
+ var FindPoolDefinitionsByProgramDefinitionRequest = /* @__PURE__ */ z.object({
1325
+ programDefinitionId: z.string().describe(
1326
+ "ID of the program definition to retrieve its pool definitions."
1327
+ ).regex(
1326
1328
  /^[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}$/,
1327
1329
  "Must be a valid GUID"
1328
1330
  ),
@@ -1332,7 +1334,7 @@ var FindPoolDefinitionsByProgramDefinitionRequest = z.object({
1332
1334
  ).min(1).max(20)
1333
1335
  })
1334
1336
  });
1335
- var FindPoolDefinitionsByProgramDefinitionResponse = z.object({
1337
+ var FindPoolDefinitionsByProgramDefinitionResponse = /* @__PURE__ */ z.object({
1336
1338
  poolDefinitions: z.array(
1337
1339
  z.object({
1338
1340
  _id: z.string().describe("Pool definition ID.").regex(
@@ -1371,7 +1373,9 @@ var FindPoolDefinitionsByProgramDefinitionResponse = z.object({
1371
1373
  })
1372
1374
  ).max(10).optional(),
1373
1375
  creditConfiguration: z.object({
1374
- amount: z.string().describe("Initial available amount for associated balances.").optional(),
1376
+ amount: z.string().describe(
1377
+ "Initial available amount for associated balances."
1378
+ ).optional(),
1375
1379
  rolloverConfiguration: z.object({
1376
1380
  enabled: z.boolean().describe(
1377
1381
  "Whether unused credits roll over to a new cycle when a program renews."