@acomo/cli 1.0.18 → 1.0.19

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/index.js CHANGED
@@ -5164,6 +5164,10 @@ __export(src_exports, {
5164
5164
  UserEntityToJSONTyped: () => UserEntityToJSONTyped,
5165
5165
  UserEntityTypeEnum: () => UserEntityTypeEnum,
5166
5166
  UsersApi: () => UsersApi,
5167
+ ValidateWorkflowModelSchemaRequestFromJSON: () => ValidateWorkflowModelSchemaRequestFromJSON,
5168
+ ValidateWorkflowModelSchemaRequestFromJSONTyped: () => ValidateWorkflowModelSchemaRequestFromJSONTyped,
5169
+ ValidateWorkflowModelSchemaRequestToJSON: () => ValidateWorkflowModelSchemaRequestToJSON,
5170
+ ValidateWorkflowModelSchemaRequestToJSONTyped: () => ValidateWorkflowModelSchemaRequestToJSONTyped,
5167
5171
  VoidApiResponse: () => VoidApiResponse,
5168
5172
  WorkflowModelEntityFromJSON: () => WorkflowModelEntityFromJSON,
5169
5173
  WorkflowModelEntityFromJSONTyped: () => WorkflowModelEntityFromJSONTyped,
@@ -5237,6 +5241,7 @@ __export(src_exports, {
5237
5241
  instanceOfUrlEntity: () => instanceOfUrlEntity,
5238
5242
  instanceOfUserAuthInfoEntity: () => instanceOfUserAuthInfoEntity,
5239
5243
  instanceOfUserEntity: () => instanceOfUserEntity,
5244
+ instanceOfValidateWorkflowModelSchemaRequest: () => instanceOfValidateWorkflowModelSchemaRequest,
5240
5245
  instanceOfWorkflowModelEntity: () => instanceOfWorkflowModelEntity,
5241
5246
  instanceOfWorkflowProcessEntity: () => instanceOfWorkflowProcessEntity,
5242
5247
  mapValues: () => mapValues,
@@ -8250,6 +8255,37 @@ function UserAuthInfoEntityToJSONTyped(value, ignoreDiscriminator = false) {
8250
8255
  };
8251
8256
  }
8252
8257
 
8258
+ // ../acomo-client/dist/src/client/models/ValidateWorkflowModelSchemaRequest.js
8259
+ function instanceOfValidateWorkflowModelSchemaRequest(value) {
8260
+ return true;
8261
+ }
8262
+ function ValidateWorkflowModelSchemaRequestFromJSON(json) {
8263
+ return ValidateWorkflowModelSchemaRequestFromJSONTyped(json, false);
8264
+ }
8265
+ function ValidateWorkflowModelSchemaRequestFromJSONTyped(json, ignoreDiscriminator) {
8266
+ if (json == null) {
8267
+ return json;
8268
+ }
8269
+ return {
8270
+ "definition": json["definition"] == null ? void 0 : json["definition"],
8271
+ "dataSchema": json["dataSchema"] == null ? void 0 : json["dataSchema"],
8272
+ "policy": json["policy"] == null ? void 0 : json["policy"]
8273
+ };
8274
+ }
8275
+ function ValidateWorkflowModelSchemaRequestToJSON(json) {
8276
+ return ValidateWorkflowModelSchemaRequestToJSONTyped(json, false);
8277
+ }
8278
+ function ValidateWorkflowModelSchemaRequestToJSONTyped(value, ignoreDiscriminator = false) {
8279
+ if (value == null) {
8280
+ return value;
8281
+ }
8282
+ return {
8283
+ "definition": value["definition"],
8284
+ "dataSchema": value["dataSchema"],
8285
+ "policy": value["policy"]
8286
+ };
8287
+ }
8288
+
8253
8289
  // ../acomo-client/dist/src/client/apis/AccountApi.js
8254
8290
  var AccountApi = class extends BaseAPI {
8255
8291
  async createMyOrganizationRaw(initOverrides) {
@@ -11603,6 +11639,26 @@ var SchemaApi = class extends BaseAPI {
11603
11639
  const response = await this.getWorkflowModelSchemasRaw(requestParameters, initOverrides);
11604
11640
  return await response.value();
11605
11641
  }
11642
+ async validateWorkflowModelSchemaRaw(requestParameters, initOverrides) {
11643
+ if (requestParameters["validateWorkflowModelSchemaRequest"] == null) {
11644
+ throw new RequiredError("validateWorkflowModelSchemaRequest", 'Required parameter "validateWorkflowModelSchemaRequest" was null or undefined when calling validateWorkflowModelSchema().');
11645
+ }
11646
+ const queryParameters = {};
11647
+ const headerParameters = {};
11648
+ headerParameters["Content-Type"] = "application/json";
11649
+ const response = await this.request({
11650
+ path: `/api/v1/schemas/model/validate`,
11651
+ method: "POST",
11652
+ headers: headerParameters,
11653
+ query: queryParameters,
11654
+ body: ValidateWorkflowModelSchemaRequestToJSON(requestParameters["validateWorkflowModelSchemaRequest"])
11655
+ }, initOverrides);
11656
+ return new JSONApiResponse(response);
11657
+ }
11658
+ async validateWorkflowModelSchema(requestParameters, initOverrides) {
11659
+ const response = await this.validateWorkflowModelSchemaRaw(requestParameters, initOverrides);
11660
+ return await response.value();
11661
+ }
11606
11662
  };
11607
11663
  var GetWorkflowModelSchemasTypeEnum = {
11608
11664
  Definition: "definition",
@@ -12928,7 +12984,8 @@ var operationDescriptions = {
12928
12984
  "updateWorkflowProcess": "\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u30D7\u30ED\u30BB\u30B9\u30921\u4EF6\u4FDD\u5B58\u3059\u308B\u3002",
12929
12985
  "uploadMyProcessDataFile": "\u81EA\u8EAB\u306E\u30D7\u30ED\u30BB\u30B9\u30C7\u30FC\u30BF\u306B\u7D10\u3065\u3044\u305F\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3059\u308B",
12930
12986
  "uploadProcessDataFile": "\u30D7\u30ED\u30BB\u30B9\u30C7\u30FC\u30BF\u306B\u7D10\u3065\u3044\u305F\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3059\u308B",
12931
- "validateExpression": "expression\u304C\u6B63\u3057\u3044\u304B\u3092\u8FD4\u3057\u307E\u3059\u3002"
12987
+ "validateExpression": "expression\u304C\u6B63\u3057\u3044\u304B\u3092\u8FD4\u3057\u307E\u3059\u3002",
12988
+ "validateWorkflowModelSchema": "\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u30E2\u30C7\u30EB\u306E definition / dataSchema / policy \u3092 JSON Schema \u306B\u5BFE\u3057\u3066\u30D0\u30EA\u30C7\u30FC\u30B7\u30E7\u30F3\u3059\u308B\u3002\u30E2\u30C7\u30EB\u306E\u516C\u958B\u524D\u306B\u4F7F\u7528\u3059\u308B\u3002"
12932
12989
  };
12933
12990
 
12934
12991
  // src/generated/operation-params.ts
@@ -13956,6 +14013,11 @@ var operationParams = {
13956
14013
  params: [
13957
14014
  { name: "expressionJson", in: "path", required: true, type: "string", description: "" }
13958
14015
  ]
14016
+ },
14017
+ "validateWorkflowModelSchema": {
14018
+ httpMethod: "POST",
14019
+ path: "/api/v1/schemas/model/validate",
14020
+ params: []
13959
14021
  }
13960
14022
  };
13961
14023