@inf-monkeys-tech/monkeys 1.0.63 → 1.0.65
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/lib/contracts/tenant.d.ts +54 -1
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +25 -2
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +19 -1
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +19 -1
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +17 -1
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +19 -1
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/tenant-product-config.schema.json +49 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +49 -0
- package/lib/schemas/index.d.ts +23 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +4 -2
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/tenant-product-config.public.json +9 -0
package/lib/esm/index.mjs
CHANGED
|
@@ -11662,11 +11662,24 @@ var TenantTrendRadarSourceSchema = z15.object({
|
|
|
11662
11662
|
var TenantTrendRadarCollectionTargetSchema = z15.object({
|
|
11663
11663
|
ontologyId: ContractIdentifierSchema
|
|
11664
11664
|
}).strict();
|
|
11665
|
+
var TenantTrendRadarEvaluationSchema = z15.object({
|
|
11666
|
+
workflowId: ContractIdentifierSchema
|
|
11667
|
+
}).strict();
|
|
11668
|
+
var TenantTrendRadarDerivedMetricsSchema = z15.object({
|
|
11669
|
+
productCountFieldKey: ContractIdentifierSchema,
|
|
11670
|
+
salesValueCountFieldKey: ContractIdentifierSchema,
|
|
11671
|
+
salesSumFieldKey: ContractIdentifierSchema
|
|
11672
|
+
}).strict().refine(
|
|
11673
|
+
({ productCountFieldKey, salesValueCountFieldKey, salesSumFieldKey }) => (/* @__PURE__ */ new Set([productCountFieldKey, salesValueCountFieldKey, salesSumFieldKey])).size === 3,
|
|
11674
|
+
{ message: "Trend Radar derived metric Field Keys must be distinct." }
|
|
11675
|
+
);
|
|
11665
11676
|
var TenantTrendRadarSourcesSchema = z15.object({
|
|
11666
11677
|
products: TenantTrendRadarSourceSchema.optional(),
|
|
11667
11678
|
hotwords: TenantTrendRadarSourceSchema.optional(),
|
|
11668
11679
|
brands: TenantTrendRadarSourceSchema.optional(),
|
|
11669
|
-
collection: TenantTrendRadarCollectionTargetSchema.optional()
|
|
11680
|
+
collection: TenantTrendRadarCollectionTargetSchema.optional(),
|
|
11681
|
+
derivedMetrics: TenantTrendRadarDerivedMetricsSchema.optional(),
|
|
11682
|
+
evaluation: TenantTrendRadarEvaluationSchema.optional()
|
|
11670
11683
|
}).strict();
|
|
11671
11684
|
var AssetVariantsSchema = z15.object({
|
|
11672
11685
|
light: z15.string().optional(),
|
|
@@ -12137,6 +12150,9 @@ var TenantApplicationConfigSchema = z15.object({
|
|
|
12137
12150
|
registrationEnabled: z15.boolean().optional(),
|
|
12138
12151
|
disableAutoRegister: z15.boolean().optional()
|
|
12139
12152
|
}).strict().optional(),
|
|
12153
|
+
registrationApproval: z15.object({
|
|
12154
|
+
enabled: z15.boolean().optional()
|
|
12155
|
+
}).strict().optional(),
|
|
12140
12156
|
hideAuthToast: z15.boolean().optional(),
|
|
12141
12157
|
autoReload: z15.boolean().optional(),
|
|
12142
12158
|
defaultOtherTeam: z15.boolean().optional()
|
|
@@ -15351,6 +15367,8 @@ export {
|
|
|
15351
15367
|
TenantProductConfigSchema,
|
|
15352
15368
|
TenantRuntimeConfigSchema,
|
|
15353
15369
|
TenantTrendRadarCollectionTargetSchema,
|
|
15370
|
+
TenantTrendRadarDerivedMetricsSchema,
|
|
15371
|
+
TenantTrendRadarEvaluationSchema,
|
|
15354
15372
|
TenantTrendRadarSourceSchema,
|
|
15355
15373
|
TenantTrendRadarSourcesSchema,
|
|
15356
15374
|
TenantWorkbenchConfigSchema,
|