@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 ADDED
@@ -0,0 +1,7 @@
1
+ # @deliverart/sdk-js-integration
2
+
3
+ ## 0.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 10b3f20: fix uuid version
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((val) => /^\/integrations\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(val), {
470
- message: "Invalid integration path format"
471
- });
472
- var integrationNullablePathSchema = import_zod.z.string().nullable().refine((val) => val == null || /^\/integrations\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(val), {
473
- message: "Invalid integration path format"
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\/[a-z_]+\/[0-9a-fA-F-]{36}\/sync_menu_processes\/[a-z_]+\/[0-9a-fA-F-]{36}\/error_logs\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(
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\/[a-z_]+\/[0-9a-fA-F-]{36}\/sync_menu_processes\/[a-z_]+\/[0-9a-fA-F-]{36}\/error_logs\/[a-z_]+\/[0-9a-fA-F-]{36}$/.test(
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
  {