skedyul 1.7.16 → 1.7.17
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/dist/.build-stamp +1 -1
- package/dist/esm/index.mjs +15 -2
- package/dist/index.js +16 -2
- package/dist/schemas.d.ts +43 -0
- package/package.json +1 -1
package/dist/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1786320274767
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1340,6 +1340,14 @@ var EntityRelationshipDefinitionSchema = z8.object({
|
|
|
1340
1340
|
targetEntity: z8.string().optional(),
|
|
1341
1341
|
description: z8.string().optional()
|
|
1342
1342
|
});
|
|
1343
|
+
var EntityCrmMapDefaultsSchema = z8.object({
|
|
1344
|
+
modelHandle: z8.string(),
|
|
1345
|
+
matchFieldHandle: z8.string().optional(),
|
|
1346
|
+
matchRuleEntityPaths: z8.array(z8.string()).optional(),
|
|
1347
|
+
fieldHandles: z8.record(z8.string(), z8.string()),
|
|
1348
|
+
relationshipHandles: z8.record(z8.string(), z8.string()).optional(),
|
|
1349
|
+
valueAliases: z8.record(z8.string(), z8.record(z8.string(), z8.string())).optional()
|
|
1350
|
+
});
|
|
1343
1351
|
var EntityDefinitionSchema = z8.object({
|
|
1344
1352
|
handle: z8.string(),
|
|
1345
1353
|
label: z8.string(),
|
|
@@ -1347,7 +1355,8 @@ var EntityDefinitionSchema = z8.object({
|
|
|
1347
1355
|
description: z8.string().optional(),
|
|
1348
1356
|
fields: z8.array(EntityFieldDefinitionSchema),
|
|
1349
1357
|
contextFields: z8.array(EntityFieldDefinitionSchema).optional(),
|
|
1350
|
-
relationships: z8.array(EntityRelationshipDefinitionSchema).optional()
|
|
1358
|
+
relationships: z8.array(EntityRelationshipDefinitionSchema).optional(),
|
|
1359
|
+
crmMapDefaults: EntityCrmMapDefaultsSchema.optional()
|
|
1351
1360
|
});
|
|
1352
1361
|
var RelationshipCardinalitySchema = z8.enum([
|
|
1353
1362
|
"ONE_TO_ONE",
|
|
@@ -1919,7 +1928,10 @@ var SetupStepDefinitionSchema = z8.object({
|
|
|
1919
1928
|
envKeys: z8.array(z8.string()).optional(),
|
|
1920
1929
|
listenToCrm: z8.boolean().optional(),
|
|
1921
1930
|
listenToEnv: z8.boolean().optional(),
|
|
1922
|
-
capabilities: z8.array(z8.string()).optional()
|
|
1931
|
+
capabilities: z8.array(z8.string()).optional(),
|
|
1932
|
+
actionTool: z8.string().optional(),
|
|
1933
|
+
actionLabel: z8.string().optional(),
|
|
1934
|
+
href: z8.string().optional()
|
|
1923
1935
|
});
|
|
1924
1936
|
var BatchPaginationSchema = z8.object({
|
|
1925
1937
|
hasMore: z8.boolean(),
|
|
@@ -8834,6 +8846,7 @@ export {
|
|
|
8834
8846
|
DatePickerComponentDefinitionSchema,
|
|
8835
8847
|
DayOfWeekSchema,
|
|
8836
8848
|
EmptyFormComponentDefinitionSchema,
|
|
8849
|
+
EntityCrmMapDefaultsSchema,
|
|
8837
8850
|
EntityDefinitionSchema,
|
|
8838
8851
|
EntityFieldDefinitionSchema,
|
|
8839
8852
|
EntityRelationshipDefinitionSchema,
|
package/dist/index.js
CHANGED
|
@@ -88,6 +88,7 @@ __export(index_exports, {
|
|
|
88
88
|
DatePickerComponentDefinitionSchema: () => DatePickerComponentDefinitionSchema,
|
|
89
89
|
DayOfWeekSchema: () => DayOfWeekSchema,
|
|
90
90
|
EmptyFormComponentDefinitionSchema: () => EmptyFormComponentDefinitionSchema,
|
|
91
|
+
EntityCrmMapDefaultsSchema: () => EntityCrmMapDefaultsSchema,
|
|
91
92
|
EntityDefinitionSchema: () => EntityDefinitionSchema,
|
|
92
93
|
EntityFieldDefinitionSchema: () => EntityFieldDefinitionSchema,
|
|
93
94
|
EntityRelationshipDefinitionSchema: () => EntityRelationshipDefinitionSchema,
|
|
@@ -1728,6 +1729,14 @@ var EntityRelationshipDefinitionSchema = import_v48.z.object({
|
|
|
1728
1729
|
targetEntity: import_v48.z.string().optional(),
|
|
1729
1730
|
description: import_v48.z.string().optional()
|
|
1730
1731
|
});
|
|
1732
|
+
var EntityCrmMapDefaultsSchema = import_v48.z.object({
|
|
1733
|
+
modelHandle: import_v48.z.string(),
|
|
1734
|
+
matchFieldHandle: import_v48.z.string().optional(),
|
|
1735
|
+
matchRuleEntityPaths: import_v48.z.array(import_v48.z.string()).optional(),
|
|
1736
|
+
fieldHandles: import_v48.z.record(import_v48.z.string(), import_v48.z.string()),
|
|
1737
|
+
relationshipHandles: import_v48.z.record(import_v48.z.string(), import_v48.z.string()).optional(),
|
|
1738
|
+
valueAliases: import_v48.z.record(import_v48.z.string(), import_v48.z.record(import_v48.z.string(), import_v48.z.string())).optional()
|
|
1739
|
+
});
|
|
1731
1740
|
var EntityDefinitionSchema = import_v48.z.object({
|
|
1732
1741
|
handle: import_v48.z.string(),
|
|
1733
1742
|
label: import_v48.z.string(),
|
|
@@ -1735,7 +1744,8 @@ var EntityDefinitionSchema = import_v48.z.object({
|
|
|
1735
1744
|
description: import_v48.z.string().optional(),
|
|
1736
1745
|
fields: import_v48.z.array(EntityFieldDefinitionSchema),
|
|
1737
1746
|
contextFields: import_v48.z.array(EntityFieldDefinitionSchema).optional(),
|
|
1738
|
-
relationships: import_v48.z.array(EntityRelationshipDefinitionSchema).optional()
|
|
1747
|
+
relationships: import_v48.z.array(EntityRelationshipDefinitionSchema).optional(),
|
|
1748
|
+
crmMapDefaults: EntityCrmMapDefaultsSchema.optional()
|
|
1739
1749
|
});
|
|
1740
1750
|
var RelationshipCardinalitySchema = import_v48.z.enum([
|
|
1741
1751
|
"ONE_TO_ONE",
|
|
@@ -2307,7 +2317,10 @@ var SetupStepDefinitionSchema = import_v48.z.object({
|
|
|
2307
2317
|
envKeys: import_v48.z.array(import_v48.z.string()).optional(),
|
|
2308
2318
|
listenToCrm: import_v48.z.boolean().optional(),
|
|
2309
2319
|
listenToEnv: import_v48.z.boolean().optional(),
|
|
2310
|
-
capabilities: import_v48.z.array(import_v48.z.string()).optional()
|
|
2320
|
+
capabilities: import_v48.z.array(import_v48.z.string()).optional(),
|
|
2321
|
+
actionTool: import_v48.z.string().optional(),
|
|
2322
|
+
actionLabel: import_v48.z.string().optional(),
|
|
2323
|
+
href: import_v48.z.string().optional()
|
|
2311
2324
|
});
|
|
2312
2325
|
var BatchPaginationSchema = import_v48.z.object({
|
|
2313
2326
|
hasMore: import_v48.z.boolean(),
|
|
@@ -9223,6 +9236,7 @@ var index_default = { z: import_v414.z };
|
|
|
9223
9236
|
DatePickerComponentDefinitionSchema,
|
|
9224
9237
|
DayOfWeekSchema,
|
|
9225
9238
|
EmptyFormComponentDefinitionSchema,
|
|
9239
|
+
EntityCrmMapDefaultsSchema,
|
|
9226
9240
|
EntityDefinitionSchema,
|
|
9227
9241
|
EntityFieldDefinitionSchema,
|
|
9228
9242
|
EntityRelationshipDefinitionSchema,
|
package/dist/schemas.d.ts
CHANGED
|
@@ -394,6 +394,15 @@ export declare const EntityRelationshipDefinitionSchema: z.ZodObject<{
|
|
|
394
394
|
targetEntity: z.ZodOptional<z.ZodString>;
|
|
395
395
|
description: z.ZodOptional<z.ZodString>;
|
|
396
396
|
}, z.core.$strip>;
|
|
397
|
+
/** Suggested CRM map defaults declared on an entity (consumed generically by core). */
|
|
398
|
+
export declare const EntityCrmMapDefaultsSchema: z.ZodObject<{
|
|
399
|
+
modelHandle: z.ZodString;
|
|
400
|
+
matchFieldHandle: z.ZodOptional<z.ZodString>;
|
|
401
|
+
matchRuleEntityPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
402
|
+
fieldHandles: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
403
|
+
relationshipHandles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
404
|
+
valueAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
405
|
+
}, z.core.$strip>;
|
|
397
406
|
export declare const EntityDefinitionSchema: z.ZodObject<{
|
|
398
407
|
handle: z.ZodString;
|
|
399
408
|
label: z.ZodString;
|
|
@@ -447,6 +456,14 @@ export declare const EntityDefinitionSchema: z.ZodObject<{
|
|
|
447
456
|
targetEntity: z.ZodOptional<z.ZodString>;
|
|
448
457
|
description: z.ZodOptional<z.ZodString>;
|
|
449
458
|
}, z.core.$strip>>>;
|
|
459
|
+
crmMapDefaults: z.ZodOptional<z.ZodObject<{
|
|
460
|
+
modelHandle: z.ZodString;
|
|
461
|
+
matchFieldHandle: z.ZodOptional<z.ZodString>;
|
|
462
|
+
matchRuleEntityPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
463
|
+
fieldHandles: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
464
|
+
relationshipHandles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
465
|
+
valueAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
466
|
+
}, z.core.$strip>>;
|
|
450
467
|
}, z.core.$strip>;
|
|
451
468
|
export declare const RelationshipCardinalitySchema: z.ZodEnum<{
|
|
452
469
|
ONE_TO_ONE: "ONE_TO_ONE";
|
|
@@ -3400,6 +3417,9 @@ export declare const SetupStepDefinitionSchema: z.ZodObject<{
|
|
|
3400
3417
|
listenToCrm: z.ZodOptional<z.ZodBoolean>;
|
|
3401
3418
|
listenToEnv: z.ZodOptional<z.ZodBoolean>;
|
|
3402
3419
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3420
|
+
actionTool: z.ZodOptional<z.ZodString>;
|
|
3421
|
+
actionLabel: z.ZodOptional<z.ZodString>;
|
|
3422
|
+
href: z.ZodOptional<z.ZodString>;
|
|
3403
3423
|
}, z.core.$strip>;
|
|
3404
3424
|
export declare const BatchPaginationSchema: z.ZodObject<{
|
|
3405
3425
|
hasMore: z.ZodBoolean;
|
|
@@ -3632,6 +3652,14 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
3632
3652
|
targetEntity: z.ZodOptional<z.ZodString>;
|
|
3633
3653
|
description: z.ZodOptional<z.ZodString>;
|
|
3634
3654
|
}, z.core.$strip>>>;
|
|
3655
|
+
crmMapDefaults: z.ZodOptional<z.ZodObject<{
|
|
3656
|
+
modelHandle: z.ZodString;
|
|
3657
|
+
matchFieldHandle: z.ZodOptional<z.ZodString>;
|
|
3658
|
+
matchRuleEntityPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3659
|
+
fieldHandles: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3660
|
+
relationshipHandles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3661
|
+
valueAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3662
|
+
}, z.core.$strip>>;
|
|
3635
3663
|
}, z.core.$strip>>>;
|
|
3636
3664
|
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3637
3665
|
source: z.ZodObject<{
|
|
@@ -4270,6 +4298,9 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
4270
4298
|
listenToCrm: z.ZodOptional<z.ZodBoolean>;
|
|
4271
4299
|
listenToEnv: z.ZodOptional<z.ZodBoolean>;
|
|
4272
4300
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4301
|
+
actionTool: z.ZodOptional<z.ZodString>;
|
|
4302
|
+
actionLabel: z.ZodOptional<z.ZodString>;
|
|
4303
|
+
href: z.ZodOptional<z.ZodString>;
|
|
4273
4304
|
}, z.core.$strip>>>;
|
|
4274
4305
|
batchOperations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4275
4306
|
handle: z.ZodString;
|
|
@@ -4481,6 +4512,14 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
4481
4512
|
targetEntity: z.ZodOptional<z.ZodString>;
|
|
4482
4513
|
description: z.ZodOptional<z.ZodString>;
|
|
4483
4514
|
}, z.core.$strip>>>;
|
|
4515
|
+
crmMapDefaults: z.ZodOptional<z.ZodObject<{
|
|
4516
|
+
modelHandle: z.ZodString;
|
|
4517
|
+
matchFieldHandle: z.ZodOptional<z.ZodString>;
|
|
4518
|
+
matchRuleEntityPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4519
|
+
fieldHandles: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4520
|
+
relationshipHandles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4521
|
+
valueAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4522
|
+
}, z.core.$strip>>;
|
|
4484
4523
|
}, z.core.$strip>>>;
|
|
4485
4524
|
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4486
4525
|
source: z.ZodObject<{
|
|
@@ -5119,6 +5158,9 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
5119
5158
|
listenToCrm: z.ZodOptional<z.ZodBoolean>;
|
|
5120
5159
|
listenToEnv: z.ZodOptional<z.ZodBoolean>;
|
|
5121
5160
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5161
|
+
actionTool: z.ZodOptional<z.ZodString>;
|
|
5162
|
+
actionLabel: z.ZodOptional<z.ZodString>;
|
|
5163
|
+
href: z.ZodOptional<z.ZodString>;
|
|
5122
5164
|
}, z.core.$strip>>>;
|
|
5123
5165
|
batchOperations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5124
5166
|
handle: z.ZodString;
|
|
@@ -5188,6 +5230,7 @@ export type ModelFieldDefinition = z.infer<typeof ModelFieldDefinitionSchema>;
|
|
|
5188
5230
|
export type ModelDefinition = z.infer<typeof ModelDefinitionSchema>;
|
|
5189
5231
|
export type EntityFieldDefinition = z.infer<typeof EntityFieldDefinitionSchema>;
|
|
5190
5232
|
export type EntityRelationshipDefinition = z.infer<typeof EntityRelationshipDefinitionSchema>;
|
|
5233
|
+
export type EntityCrmMapDefaults = z.infer<typeof EntityCrmMapDefaultsSchema>;
|
|
5191
5234
|
export type EntityDefinition = z.infer<typeof EntityDefinitionSchema>;
|
|
5192
5235
|
export type ChannelCapabilityType = z.infer<typeof ChannelCapabilityTypeSchema>;
|
|
5193
5236
|
export type ChannelCapability = z.infer<typeof ChannelCapabilitySchema>;
|