@veruna/api-contracts 6.34.0 → 6.34.1

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.
@@ -5,6 +5,7 @@ export declare namespace AdminModelRouteDeleteCommand {
5
5
  const Response: z.ZodObject<{
6
6
  uuid: z.ZodString;
7
7
  }, z.core.$strip>;
8
+ const URL: (uuid: string) => string;
8
9
  const METHOD = HttpMethod.DELETE;
9
10
  type RequestType = z.infer<typeof Request>;
10
11
  type ResponseType = z.infer<typeof Response>;
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdminModelRouteDeleteCommand = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const shared_1 = require("../../../../shared");
6
+ const rest_api_1 = require("../../../../rest-api");
6
7
  const http_method_enum_1 = require("../../../../shared/http-method.enum");
7
8
  var AdminModelRouteDeleteCommand;
8
9
  (function (AdminModelRouteDeleteCommand) {
9
10
  AdminModelRouteDeleteCommand.Request = zod_1.z.void();
10
11
  AdminModelRouteDeleteCommand.Response = shared_1.DeleteResponseSchema;
12
+ AdminModelRouteDeleteCommand.URL = rest_api_1.REST_API.V1.MODEL_ROUTES.ADMIN.DELETE;
11
13
  AdminModelRouteDeleteCommand.METHOD = http_method_enum_1.HttpMethod.DELETE;
12
14
  })(AdminModelRouteDeleteCommand || (exports.AdminModelRouteDeleteCommand = AdminModelRouteDeleteCommand = {}));
13
15
  //# sourceMappingURL=delete-model-route.command.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-model-route.command.js","sourceRoot":"","sources":["../../../../../v1/model-route/admin/commands/delete-model-route.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,+CAA0D;AAC1D,0EAAiE;AAEjE,IAAiB,4BAA4B,CAM5C;AAND,WAAiB,4BAA4B;IAC5B,oCAAO,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IACnB,qCAAQ,GAAG,6BAAoB,CAAC;IAChC,mCAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EANgB,4BAA4B,4CAA5B,4BAA4B,QAM5C"}
1
+ {"version":3,"file":"delete-model-route.command.js","sourceRoot":"","sources":["../../../../../v1/model-route/admin/commands/delete-model-route.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,+CAA0D;AAC1D,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC5B,oCAAO,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IACnB,qCAAQ,GAAG,6BAAoB,CAAC;IAChC,gCAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;IAC5C,mCAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C"}
@@ -93,6 +93,7 @@ export declare namespace AdminModelRouteUpdateCommand {
93
93
  createdAt: z.ZodString;
94
94
  updatedAt: z.ZodString;
95
95
  }, z.core.$strip>;
96
+ const URL: (uuid: string) => string;
96
97
  const METHOD = HttpMethod.PATCH;
97
98
  type RequestType = z.infer<typeof Request>;
98
99
  type ResponseType = z.infer<typeof Response>;
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdminModelRouteUpdateCommand = void 0;
4
4
  const update_model_route_request_schema_1 = require("../../schemas/update-model-route-request.schema");
5
5
  const model_route_response_schema_1 = require("../../schemas/model-route-response.schema");
6
+ const rest_api_1 = require("../../../../rest-api");
6
7
  const http_method_enum_1 = require("../../../../shared/http-method.enum");
7
8
  var AdminModelRouteUpdateCommand;
8
9
  (function (AdminModelRouteUpdateCommand) {
9
10
  AdminModelRouteUpdateCommand.Request = update_model_route_request_schema_1.UpdateModelRouteRequestSchema;
10
11
  AdminModelRouteUpdateCommand.Response = model_route_response_schema_1.ModelRouteResponseSchema;
12
+ AdminModelRouteUpdateCommand.URL = rest_api_1.REST_API.V1.MODEL_ROUTES.ADMIN.UPDATE;
11
13
  AdminModelRouteUpdateCommand.METHOD = http_method_enum_1.HttpMethod.PATCH;
12
14
  })(AdminModelRouteUpdateCommand || (exports.AdminModelRouteUpdateCommand = AdminModelRouteUpdateCommand = {}));
13
15
  //# sourceMappingURL=update-model-route.command.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-model-route.command.js","sourceRoot":"","sources":["../../../../../v1/model-route/admin/commands/update-model-route.command.ts"],"names":[],"mappings":";;;AACA,uGAAgG;AAChG,2FAAqF;AACrF,0EAAiE;AAEjE,IAAiB,4BAA4B,CAM5C;AAND,WAAiB,4BAA4B;IAC5B,oCAAO,GAAG,iEAA6B,CAAC;IACxC,qCAAQ,GAAG,sDAAwB,CAAC;IACpC,mCAAM,GAAG,6BAAU,CAAC,KAAK,CAAC;AAG3C,CAAC,EANgB,4BAA4B,4CAA5B,4BAA4B,QAM5C"}
1
+ {"version":3,"file":"update-model-route.command.js","sourceRoot":"","sources":["../../../../../v1/model-route/admin/commands/update-model-route.command.ts"],"names":[],"mappings":";;;AACA,uGAAgG;AAChG,2FAAqF;AACrF,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC5B,oCAAO,GAAG,iEAA6B,CAAC;IACxC,qCAAQ,GAAG,sDAAwB,CAAC;IACpC,gCAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC;IAC5C,mCAAM,GAAG,6BAAU,CAAC,KAAK,CAAC;AAG3C,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C"}
@@ -50,6 +50,7 @@ export declare namespace AdminModelRouteGetQuery {
50
50
  createdAt: z.ZodString;
51
51
  updatedAt: z.ZodString;
52
52
  }, z.core.$strip>;
53
+ const URL: (uuid: string) => string;
53
54
  const METHOD = HttpMethod.GET;
54
55
  type RequestType = z.infer<typeof Request>;
55
56
  type ResponseType = z.infer<typeof Response>;
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdminModelRouteGetQuery = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const model_route_response_schema_1 = require("../../schemas/model-route-response.schema");
6
+ const rest_api_1 = require("../../../../rest-api");
6
7
  const http_method_enum_1 = require("../../../../shared/http-method.enum");
7
8
  var AdminModelRouteGetQuery;
8
9
  (function (AdminModelRouteGetQuery) {
9
10
  AdminModelRouteGetQuery.Request = zod_1.z.void();
10
11
  AdminModelRouteGetQuery.Response = model_route_response_schema_1.ModelRouteResponseSchema;
12
+ AdminModelRouteGetQuery.URL = rest_api_1.REST_API.V1.MODEL_ROUTES.ADMIN.GET_BY_UUID;
11
13
  AdminModelRouteGetQuery.METHOD = http_method_enum_1.HttpMethod.GET;
12
14
  })(AdminModelRouteGetQuery || (exports.AdminModelRouteGetQuery = AdminModelRouteGetQuery = {}));
13
15
  //# sourceMappingURL=get-model-route.query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-model-route.query.js","sourceRoot":"","sources":["../../../../../v1/model-route/admin/queries/get-model-route.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2FAAqF;AACrF,0EAAiE;AAEjE,IAAiB,uBAAuB,CAMvC;AAND,WAAiB,uBAAuB;IACvB,+BAAO,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IACnB,gCAAQ,GAAG,sDAAwB,CAAC;IACpC,8BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EANgB,uBAAuB,uCAAvB,uBAAuB,QAMvC"}
1
+ {"version":3,"file":"get-model-route.query.js","sourceRoot":"","sources":["../../../../../v1/model-route/admin/queries/get-model-route.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2FAAqF;AACrF,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACvB,+BAAO,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IACnB,gCAAQ,GAAG,sDAAwB,CAAC;IACpC,2BAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC;IACjD,8BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC"}
@@ -60,6 +60,7 @@ export declare namespace AdminModelRouteListByModelQuery {
60
60
  updatedAt: z.ZodString;
61
61
  }, z.core.$strip>>;
62
62
  }, z.core.$strip>;
63
+ const URL: (modelUuid: string) => string;
63
64
  const METHOD = HttpMethod.GET;
64
65
  type RequestType = z.infer<typeof Request>;
65
66
  type ResponseType = z.infer<typeof Response>;
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdminModelRouteListByModelQuery = void 0;
4
4
  const list_model_routes_response_schema_1 = require("../../schemas/list-model-routes-response.schema");
5
5
  const list_model_routes_filters_schema_1 = require("../../schemas/list-model-routes-filters.schema");
6
+ const rest_api_1 = require("../../../../rest-api");
6
7
  const http_method_enum_1 = require("../../../../shared/http-method.enum");
7
8
  var AdminModelRouteListByModelQuery;
8
9
  (function (AdminModelRouteListByModelQuery) {
9
10
  AdminModelRouteListByModelQuery.Request = list_model_routes_filters_schema_1.ListModelRoutesFiltersSchema;
10
11
  AdminModelRouteListByModelQuery.Response = list_model_routes_response_schema_1.ListModelRoutesResponseSchema;
12
+ AdminModelRouteListByModelQuery.URL = rest_api_1.REST_API.V1.MODEL_ROUTES.ADMIN.LIST_BY_MODEL;
11
13
  AdminModelRouteListByModelQuery.METHOD = http_method_enum_1.HttpMethod.GET;
12
14
  })(AdminModelRouteListByModelQuery || (exports.AdminModelRouteListByModelQuery = AdminModelRouteListByModelQuery = {}));
13
15
  //# sourceMappingURL=list-model-routes-by-model.query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-model-routes-by-model.query.js","sourceRoot":"","sources":["../../../../../v1/model-route/admin/queries/list-model-routes-by-model.query.ts"],"names":[],"mappings":";;;AACA,uGAAgG;AAChG,qGAA8F;AAC9F,0EAAiE;AAEjE,IAAiB,+BAA+B,CAM/C;AAND,WAAiB,+BAA+B;IAC/B,uCAAO,GAAG,+DAA4B,CAAC;IACvC,wCAAQ,GAAG,iEAA6B,CAAC;IACzC,sCAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EANgB,+BAA+B,+CAA/B,+BAA+B,QAM/C"}
1
+ {"version":3,"file":"list-model-routes-by-model.query.js","sourceRoot":"","sources":["../../../../../v1/model-route/admin/queries/list-model-routes-by-model.query.ts"],"names":[],"mappings":";;;AACA,uGAAgG;AAChG,qGAA8F;AAC9F,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,+BAA+B,CAO/C;AAPD,WAAiB,+BAA+B;IAC/B,uCAAO,GAAG,+DAA4B,CAAC;IACvC,wCAAQ,GAAG,iEAA6B,CAAC;IACzC,mCAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC;IACnD,sCAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,+BAA+B,+CAA/B,+BAA+B,QAO/C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veruna/api-contracts",
3
- "version": "6.34.0",
3
+ "version": "6.34.1",
4
4
  "description": "API contracts for Veruna project - Zod schemas, types, and paths",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",