@wix/ditto-codegen-public 1.0.400 → 1.0.401

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 (2) hide show
  1. package/dist/out.js +30 -0
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -6594,6 +6594,7 @@ var require_http_impl = __commonJS({
6594
6594
  exports2.stopGeneration = stopGeneration;
6595
6595
  exports2.submitUserDecision = submitUserDecision;
6596
6596
  exports2.cleanupStaleJobs = cleanupStaleJobs;
6597
+ exports2.handleValidationErrors = handleValidationErrors;
6597
6598
  var metro_runtime_1 = require_build();
6598
6599
  var ambassador_1 = require_ambassador_index();
6599
6600
  var metro_runtime_2 = require_build();
@@ -6605,6 +6606,8 @@ var require_http_impl = __commonJS({
6605
6606
  var _createTaskResponse = { job: "_job" };
6606
6607
  var _getJobRequest = {};
6607
6608
  var _getJobResponse = { job: "_job" };
6609
+ var _handleValidationErrorsRequest = { costUsd: "DOUBLE" };
6610
+ var _handleValidationErrorsResponse = {};
6608
6611
  var _job = {
6609
6612
  createdAt: "google.protobuf.Timestamp",
6610
6613
  updatedAt: "google.protobuf.Timestamp",
@@ -7025,6 +7028,33 @@ var require_http_impl = __commonJS({
7025
7028
  __cleanupStaleJobs.__isAmbassador = true;
7026
7029
  return __cleanupStaleJobs;
7027
7030
  }
7031
+ function handleValidationErrors(payload) {
7032
+ var _a = (0, ambassador_1.serializer)(_handleValidationErrorsRequest, {}), toReq = _a.toJSON, fromReq = _a.fromJSON;
7033
+ var fromRes = (0, ambassador_1.serializer)(_handleValidationErrorsResponse, {}).fromJSON;
7034
+ function __handleValidationErrors(_a2) {
7035
+ var host = _a2.host;
7036
+ var serializedData = toReq(payload);
7037
+ var metadata = {
7038
+ entityFqdn: "wix.ctp.codegen_job_service.v1.job",
7039
+ method: "POST",
7040
+ methodFqn: "com.wixpress.ditto.codegen_job_service.api.CodegenJobService.HandleValidationErrors",
7041
+ migrationOptions: {
7042
+ optInTransformResponse: true
7043
+ },
7044
+ url: resolveComWixpressDittoCodegenJobServiceApiCodegenJobServiceUrl({
7045
+ protoPath: "/v1/validation-errors",
7046
+ data: serializedData,
7047
+ host
7048
+ }),
7049
+ data: serializedData,
7050
+ transformResponse: fromRes
7051
+ };
7052
+ return metadata;
7053
+ }
7054
+ __handleValidationErrors.fromReq = fromReq;
7055
+ __handleValidationErrors.__isAmbassador = true;
7056
+ return __handleValidationErrors;
7057
+ }
7028
7058
  }
7029
7059
  });
7030
7060
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.400",
3
+ "version": "1.0.401",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -29,5 +29,5 @@
29
29
  "esbuild": "^0.27.2",
30
30
  "vitest": "^4.0.16"
31
31
  },
32
- "falconPackageHash": "56e2d6ea84efd7e94a772c5ef8b1a809a34753f4fb8c03d8f7f07f84"
32
+ "falconPackageHash": "d334a6c2006988703898fcc80ea93c020eff7e47c3f6d7628b2d0e30"
33
33
  }