@@ -20628,6 +20628,39 @@ export function RegisterRoutes(app: Router) {
2062820628 }
2062920629 });
2063020630 // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
20631+ const argsAdminController_updateOrgPricingConfig: Record<string, TsoaRoute.ParameterSchema> = {
20632+ request: {"in":"request","name":"request","required":true,"dataType":"object"},
20633+ orgId: {"in":"path","name":"orgId","required":true,"dataType":"string"},
20634+ body: {"in":"body","name":"body","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"heliconePricingMultiplier":{"dataType":"double","required":true}}},
20635+ };
20636+ app.patch('/v1/admin/org/:orgId/pricing-config',
20637+ authenticateMiddleware([{"api_key":[]}]),
20638+ ...(fetchMiddlewares<RequestHandler>(AdminController)),
20639+ ...(fetchMiddlewares<RequestHandler>(AdminController.prototype.updateOrgPricingConfig)),
20640+
20641+ async function AdminController_updateOrgPricingConfig(request: ExRequest, response: ExResponse, next: any) {
20642+
20643+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
20644+
20645+ let validatedArgs: any[] = [];
20646+ try {
20647+ validatedArgs = templateService.getValidatedArgs({ args: argsAdminController_updateOrgPricingConfig, request, response });
20648+
20649+ const controller = new AdminController();
20650+
20651+ await templateService.apiHandler({
20652+ methodName: 'updateOrgPricingConfig',
20653+ controller,
20654+ response,
20655+ next,
20656+ validatedArgs,
20657+ successStatus: undefined,
20658+ });
20659+ } catch (err) {
20660+ return next(err);
20661+ }
20662+ });
20663+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
2063120664 const argsAdminController_deleteOrg: Record<string, TsoaRoute.ParameterSchema> = {
2063220665 request: {"in":"request","name":"request","required":true,"dataType":"object"},
2063320666 orgId: {"in":"path","name":"orgId","required":true,"dataType":"string"},
0 commit comments