@deliverart/sdk-js-integration 0.0.1 → 0.0.2
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/CHANGELOG.md +7 -0
- package/dist/index.cjs +18 -8
- package/dist/index.d.cts +420 -420
- package/dist/index.d.ts +420 -420
- package/dist/index.js +18 -8
- package/package.json +5 -5
- package/src/types.ts +21 -8
package/CHANGELOG.md
ADDED
package/dist/index.cjs
CHANGED
|
@@ -466,14 +466,24 @@ var integrationJustEatPathSchema = integrationPathSchemas.justeat.pathSchema;
|
|
|
466
466
|
var integrationJustEatNullablePathSchema = integrationPathSchemas.justeat.nullablePathSchema;
|
|
467
467
|
var integrationCassaInCloudPathSchema = integrationPathSchemas.cassa_in_cloud.pathSchema;
|
|
468
468
|
var integrationCassaInCloudNullablePathSchema = integrationPathSchemas.cassa_in_cloud.nullablePathSchema;
|
|
469
|
-
var integrationPathSchema = import_zod.z.string().refine(
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
469
|
+
var integrationPathSchema = import_zod.z.string().refine(
|
|
470
|
+
(val) => /^\/integrations\/[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}$/.test(
|
|
471
|
+
val
|
|
472
|
+
),
|
|
473
|
+
{
|
|
474
|
+
message: "Invalid integration path format"
|
|
475
|
+
}
|
|
476
|
+
);
|
|
477
|
+
var integrationNullablePathSchema = import_zod.z.string().nullable().refine(
|
|
478
|
+
(val) => val == null || /^\/integrations\/[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}$/.test(
|
|
479
|
+
val
|
|
480
|
+
),
|
|
481
|
+
{
|
|
482
|
+
message: "Invalid integration path format"
|
|
483
|
+
}
|
|
484
|
+
);
|
|
475
485
|
var integrationCassaInCloudSyncMenuErrorLogPathSchema = import_zod.z.string().refine(
|
|
476
|
-
(val) => /^\/integrations\/cassa_in_cloud\/[
|
|
486
|
+
(val) => /^\/integrations\/cassa_in_cloud\/[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}\/sync_menu_processes\/[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}\/error_logs\/[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}$/.test(
|
|
477
487
|
val
|
|
478
488
|
),
|
|
479
489
|
{
|
|
@@ -481,7 +491,7 @@ var integrationCassaInCloudSyncMenuErrorLogPathSchema = import_zod.z.string().re
|
|
|
481
491
|
}
|
|
482
492
|
);
|
|
483
493
|
var integrationCassaInCloudSyncMenuErrorLogNullablePathSchema = import_zod.z.string().nullable().refine(
|
|
484
|
-
(val) => val == null || /^\/integrations\/cassa_in_cloud\/[
|
|
494
|
+
(val) => val == null || /^\/integrations\/cassa_in_cloud\/[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}\/sync_menu_processes\/[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}\/error_logs\/[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}$/.test(
|
|
485
495
|
val
|
|
486
496
|
),
|
|
487
497
|
{
|