@wix/evalforge-evaluator 0.209.0 → 0.211.0

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/build/index.js CHANGED
@@ -5735,6 +5735,12 @@ function resolveWixEvalforgeV1TestScenarioServiceUrl(opts) {
5735
5735
  srcPath: "/_api/evalforge-backend",
5736
5736
  destPath: ""
5737
5737
  }
5738
+ ],
5739
+ "www.wixapis.com": [
5740
+ {
5741
+ srcPath: "/_api/evalforge-backend",
5742
+ destPath: ""
5743
+ }
5738
5744
  ]
5739
5745
  };
5740
5746
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -6261,6 +6267,12 @@ function resolveWixEvalforgeV1CapabilityServiceUrl(opts) {
6261
6267
  srcPath: "/_api/evalforge-backend",
6262
6268
  destPath: ""
6263
6269
  }
6270
+ ],
6271
+ "www.wixapis.com": [
6272
+ {
6273
+ srcPath: "/_api/evalforge-backend",
6274
+ destPath: ""
6275
+ }
6264
6276
  ]
6265
6277
  };
6266
6278
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -6337,7 +6349,7 @@ function getLatestCapabilityVersion(payload) {
6337
6349
  optInTransformResponse: true
6338
6350
  },
6339
6351
  url: resolveWixEvalforgeV1CapabilityServiceUrl({
6340
- protoPath: "/v1/projects/{projectId}/capabilities/{capabilityId}/versions/latest",
6352
+ protoPath: "/v1/projects/{projectId}/capabilities/{capabilityId}/latest-version",
6341
6353
  data: serializedData,
6342
6354
  host
6343
6355
  }),
@@ -6461,6 +6473,12 @@ var WebhookIdentityType;
6461
6473
  WebhookIdentityType2["WIX_USER"] = "WIX_USER";
6462
6474
  WebhookIdentityType2["APP"] = "APP";
6463
6475
  })(WebhookIdentityType || (WebhookIdentityType = {}));
6476
+ var Status;
6477
+ (function(Status2) {
6478
+ Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
6479
+ Status2["VALID"] = "VALID";
6480
+ Status2["INVALID"] = "INVALID";
6481
+ })(Status || (Status = {}));
6464
6482
  var SiteBootstrapHttpMethod;
6465
6483
  (function(SiteBootstrapHttpMethod2) {
6466
6484
  SiteBootstrapHttpMethod2["SITE_BOOTSTRAP_HTTP_METHOD_UNSPECIFIED"] = "SITE_BOOTSTRAP_HTTP_METHOD_UNSPECIFIED";