@povio/openapi-codegen-cli 4.0.0-rc.2 → 4.0.0-rc.4

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 (31) hide show
  1. package/README.md +5 -5
  2. package/dist/{config-CiLFKLAY.d.mts → config-BSYiW3xV.d.mts} +1 -1
  3. package/dist/config.d.mts +2 -2
  4. package/dist/{generate.runner-BuSwqeff.mjs → generate.runner-BMqvEp4L.mjs} +6 -110
  5. package/dist/{generate.utils-BJxdEik8.cjs → generate.utils-D4eHo3wO.cjs} +3 -269
  6. package/dist/{generateCodeFromOpenAPIDoc-Cc34c6zl.cjs → generateCodeFromOpenAPIDoc-DRLE112u.cjs} +104 -528
  7. package/dist/{generateCodeFromOpenAPIDoc-B68pSpWW.mjs → generateCodeFromOpenAPIDoc-oe5uj0P4.mjs} +61 -502
  8. package/dist/generator.d.mts +1 -1
  9. package/dist/generator.mjs +3 -3
  10. package/dist/{getDataFromOpenAPIDoc-B_URkLm6.mjs → getDataFromOpenAPIDoc-BqEeVt1w.mjs} +19 -2
  11. package/dist/index.d.mts +4 -4
  12. package/dist/index.mjs +1 -1
  13. package/dist/metro.cjs +3 -3
  14. package/dist/metro.d.mts +3 -3
  15. package/dist/metro.mjs +1 -1
  16. package/dist/openapi-codegen-native-darwin-arm64.node +0 -0
  17. package/dist/openapi-codegen-native-linux-x64.node +0 -0
  18. package/dist/openapi-codegen-native-win32-x64.node +0 -0
  19. package/dist/{openapi-codegen.runner-G25v_q9z.mjs → openapi-codegen.runner-R_Dnb1mt.mjs} +1 -1
  20. package/dist/{openapi-source.runner-DIOvAX_R.d.mts → openapi-source.runner-DEtp4qCv.d.mts} +1 -1
  21. package/dist/{options-X0zju7gw.d.mts → options-BV720uS2.d.mts} +2 -10
  22. package/dist/query.d.mts +3 -3
  23. package/dist/query.mjs +1 -1
  24. package/dist/{queryConfig.context-yl7x_NdW.d.mts → queryConfig.context-BbLtDfIH.d.mts} +25 -7
  25. package/dist/sh.mjs +3 -8
  26. package/dist/tiny.d.mts +1 -1
  27. package/dist/{useMutationEffects-PB1fvKWM.mjs → useMutationEffects-CNVMVAbn.mjs} +1 -1
  28. package/dist/{useMutationEffects-CjGlHDg_.d.mts → useMutationEffects-CmGB4BOV.d.mts} +1 -1
  29. package/dist/vite.d.mts +3 -3
  30. package/dist/vite.mjs +1 -1
  31. package/package.json +1 -1
package/README.md CHANGED
@@ -122,7 +122,6 @@ bunx openapi-codegen generate --config my-config.ts
122
122
  --acl Generate ACL related files (default: true)
123
123
  --checkAcl Add ACL check to queries (default: true)
124
124
 
125
- --builderConfigs Generate configs for builders (default: false)
126
125
 
127
126
  --baseUrl (Requires `--restClientImportPath` to NOT be set) Base URL for the generated REST client; falls back to the OpenAPI spec if not provided
128
127
  ```
@@ -285,20 +284,21 @@ import { OpenApiQueryConfig } from "@povio/openapi-codegen-cli/query";
285
284
 
286
285
  ### Typed invalidation maps
287
286
 
288
- With `mutationEffects` (the default), `queryModules.ts` exports `QueryModuleMutations`: for each module, the `data` and `variables` of its mutation hooks. Pass it to `InvalidationMap` to type each module's callback from the spec.
287
+ With `mutationEffects` (the default), `queryModules.ts` exports `QueryModuleMutations` (for each module, the `data` and `variables` of its mutation hooks) and registers it globally, so `InvalidationMap<QueryModule>` types each module's callback from the spec:
289
288
 
290
289
  ```ts
291
290
  import type { InvalidationMap } from "@povio/openapi-codegen-cli/query";
292
- import { QueryModule, type QueryModuleMutations } from "@/data/queryModules";
291
+ import { QueryModule } from "@/data/queryModules";
293
292
 
294
- export const invalidationMap: InvalidationMap<QueryModule, QueryModuleMutations> = {
293
+ export const invalidationMap: InvalidationMap<QueryModule> = {
295
294
  // `data` is any of the module's mutation responses; variables that only some
296
295
  // of its mutations take (here `id`) are optional.
297
296
  [QueryModule.Items]: (data, { officeId, id }) => [["items", officeId, id]],
298
297
  };
299
298
  ```
300
299
 
301
- Without `QueryModuleMutations`, callbacks receive `unknown`; annotate their parameters to read them.
300
+ The registration is global, so a program with several generated clients should pass the mutations explicitly
301
+ instead: `InvalidationMap<QueryModule, QueryModuleMutations>`.
302
302
 
303
303
  ### Runtime response validation
304
304
 
@@ -1,4 +1,4 @@
1
- import { t as GenerateOptions } from "./options-X0zju7gw.mjs";
1
+ import { t as GenerateOptions } from "./options-BV720uS2.mjs";
2
2
  //#region src/generators/types/config.d.ts
3
3
  type OpenAPICodegenConfig = Partial<GenerateOptions>;
4
4
  //#endregion
package/dist/config.d.mts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { i as resources, n as configureTranslations, r as ns, t as TranslateFunction } from "./i18n-B_brQh4X.mjs";
2
2
  import { n as useWorkspaceContext, r as OpenApiRouter, t as OpenApiWorkspaceContext } from "./workspace.context-isVY9ves.mjs";
3
- import { a as MutationEffectsTypes, i as MutationEffectsOf, n as InvalidationMapFunc, o as OpenApiQueryConfig, r as MergedMutationVariables, s as QueryModule, t as InvalidationMap } from "./queryConfig.context-yl7x_NdW.mjs";
4
- export { type InvalidationMap, type InvalidationMapFunc, type MergedMutationVariables, type MutationEffectsOf, type MutationEffectsTypes, OpenApiQueryConfig, OpenApiRouter, OpenApiWorkspaceContext, type QueryModule, type TranslateFunction, configureTranslations, ns, resources, useWorkspaceContext };
3
+ import { a as MutationEffectsTypes, c as RegisteredQueryModule, i as MutationEffectsOf, n as InvalidationMapFunc, o as OpenApiQueryConfig, r as MergedMutationVariables, s as QueryModule, t as InvalidationMap } from "./queryConfig.context-BbLtDfIH.mjs";
4
+ export { type InvalidationMap, type InvalidationMapFunc, type MergedMutationVariables, type MutationEffectsOf, type MutationEffectsTypes, OpenApiQueryConfig, OpenApiRouter, OpenApiWorkspaceContext, type QueryModule, type RegisteredQueryModule, type TranslateFunction, configureTranslations, ns, resources, useWorkspaceContext };
@@ -394,10 +394,6 @@ const ERROR_HANDLERS = {
394
394
  SharedErrorHandler: "SharedErrorHandler"
395
395
  };
396
396
  ERROR_HANDLERS.ErrorHandler, ERROR_HANDLERS.SharedErrorHandler;
397
- const BUILDERS_UTILS = {
398
- dynamicInputs: "dynamicInputs",
399
- dynamicColumns: "dynamicColumns"
400
- };
401
397
  const QUERY_MODULE_ENUM = "QueryModule";
402
398
  const QUERY_MODULES_FILE = {
403
399
  fileName: "queryModules",
@@ -437,21 +433,6 @@ function getResponseZodSchemaName({ statusCode, operationName, isUniqueOperation
437
433
  const isValidPropertyName = (str) => /^(?:[a-zA-Z_$][a-zA-Z0-9_$]*|[0-9]+)$/.test(str);
438
434
  const invalidVariableNameCharactersToCamel = (str) => str.replace(/^[^a-zA-Z_$]*/g, "").replace(/[^a-zA-Z0-9_$]+(\w)?/g, (_, char) => char?.toUpperCase() ?? "");
439
435
  //#endregion
440
- //#region src/generators/utils/endpoint.utils.ts
441
- const isGetEndpoint = (endpoint) => endpoint.method === OpenAPIV3.HttpMethods.GET;
442
- const isPaginatedGetEndpoint = (endpoint, options) => isGetEndpoint(endpoint) && Object.values(options.infiniteQueryParamNames).every((infiniteQueryParam) => endpoint.parameters.some((param) => param.name === infiniteQueryParam && param.type === "Query"));
443
- const isReadAllEndpoint = (endpoint, options) => endpoint.method === OpenAPIV3.HttpMethods.GET && !isPathSegmentParam(endpoint.pathSegments.at(-1)) && isPaginatedGetEndpoint(endpoint, options);
444
- const isReadEndpoint = (endpoint, readAllEndpoint) => endpoint.method === OpenAPIV3.HttpMethods.GET && hasMatchingPathWithTrailingParam(endpoint, readAllEndpoint);
445
- const isCreateEndpoint = (endpoint, readAllEndpoint) => endpoint.method === OpenAPIV3.HttpMethods.POST && hasMatchingPathWithoutTrailingParam(endpoint, readAllEndpoint);
446
- const isUpdateEndpoint = (endpoint, readAllEndpoint) => [OpenAPIV3.HttpMethods.PUT, OpenAPIV3.HttpMethods.PATCH].includes(endpoint.method) && hasMatchingPathWithTrailingParam(endpoint, readAllEndpoint);
447
- const isDeleteEndpoint = (endpoint, readAllEndpoint) => endpoint.method === OpenAPIV3.HttpMethods.DELETE && hasMatchingPathWithTrailingParam(endpoint, readAllEndpoint);
448
- const isBulkDeleteEndpoint = (endpoint, readAllEndpoint) => endpoint.method === OpenAPIV3.HttpMethods.DELETE && hasMatchingPathWithoutTrailingParam(endpoint, readAllEndpoint);
449
- const getPathSegments = (path) => path.split("/").filter(Boolean);
450
- const isPathSegmentParam = (pathSegment) => pathSegment?.startsWith(":");
451
- const hasMatchingPath = (endpoint, readAllEndpoint) => readAllEndpoint.pathSegments.every((segment, index) => isPathSegmentParam(segment) && isPathSegmentParam(endpoint.pathSegments[index]) || segment === endpoint.pathSegments[index]);
452
- const hasMatchingPathWithoutTrailingParam = (endpoint, readAllEndpoint) => endpoint.pathSegments.length === readAllEndpoint.pathSegments.length && hasMatchingPath(endpoint, readAllEndpoint);
453
- const hasMatchingPathWithTrailingParam = (endpoint, readAllEndpoint) => endpoint.pathSegments.length - 1 === readAllEndpoint.pathSegments.length && isPathSegmentParam(endpoint.pathSegments.at(-1)) && hasMatchingPath(endpoint, readAllEndpoint);
454
- //#endregion
455
436
  //#region src/generators/const/options.const.ts
456
437
  const DEFAULT_GENERATE_OPTIONS = {
457
438
  input: "http://localhost:4000/docs-json/",
@@ -484,10 +465,6 @@ const DEFAULT_GENERATE_OPTIONS = {
484
465
  ["acl"]: {
485
466
  outputFileNameSuffix: "acl",
486
467
  namespaceSuffix: "Acl"
487
- },
488
- ["configs"]: {
489
- outputFileNameSuffix: "configs",
490
- namespaceSuffix: "Configs"
491
468
  }
492
469
  },
493
470
  baseUrl: "",
@@ -528,12 +505,7 @@ const DEFAULT_GENERATE_OPTIONS = {
528
505
  checkAcl: true,
529
506
  abilityContextGenericAppAbilities: false,
530
507
  abilityContextImportPath: "",
531
- aclCheckImportPath: "@povio/openapi-codegen-cli/acl",
532
- builderConfigs: false,
533
- filterParamName: "filter",
534
- dataResponseParamNames: ["data", "items"],
535
- dynamicInputsImportPath: "@povio/ui",
536
- dynamicColumnsImportPath: "@povio/ui"
508
+ aclCheckImportPath: "@povio/openapi-codegen-cli/acl"
537
509
  };
538
510
  //#endregion
539
511
  //#region src/generators/utils/array.utils.ts
@@ -790,49 +762,6 @@ function renderAclCheckCall(resolver, endpoint, replacements, indent = "") {
790
762
  return `${indent}checkAcl(${getImportedAbilityFunctionName(endpoint, resolver.options)}(${args}));`;
791
763
  }
792
764
  //#endregion
793
- //#region src/generators/utils/generate/generate.query.utils.ts
794
- const operationNameByEndpoint = /* @__PURE__ */ new WeakMap();
795
- const capitalizedOperationNameByEndpoint = /* @__PURE__ */ new WeakMap();
796
- function getOperationName(endpoint) {
797
- let name = operationNameByEndpoint.get(endpoint);
798
- if (name === void 0) {
799
- name = snakeToCamel(endpoint.operationName);
800
- operationNameByEndpoint.set(endpoint, name);
801
- }
802
- return name;
803
- }
804
- function getCapitalizedOperationName(endpoint) {
805
- let name = capitalizedOperationNameByEndpoint.get(endpoint);
806
- if (name === void 0) {
807
- name = capitalize(getOperationName(endpoint));
808
- capitalizedOperationNameByEndpoint.set(endpoint, name);
809
- }
810
- return name;
811
- }
812
- const getQueryName = (endpoint, mutation) => {
813
- const addMutationSuffix = isQuery(endpoint) && isMutation(endpoint) && mutation;
814
- return `use${getCapitalizedOperationName(endpoint)}${addMutationSuffix ? "Mutation" : ""}`;
815
- };
816
- const getInfiniteQueryName = (endpoint) => `use${getCapitalizedOperationName(endpoint)}Infinite`;
817
- const getQueryOptionsName = (endpoint) => `${getOperationName(endpoint)}QueryOptions`;
818
- const getInfiniteQueryOptionsName = (endpoint) => `${getOperationName(endpoint)}InfiniteQueryOptions`;
819
- const getPrefetchQueryName = (endpoint) => `prefetch${getCapitalizedOperationName(endpoint)}`;
820
- const getPrefetchInfiniteQueryName = (endpoint) => `prefetch${getCapitalizedOperationName(endpoint)}Infinite`;
821
- const getImportedQueryName = (endpoint, options) => {
822
- return `${options.tsNamespaces ? `${getNamespaceName({
823
- type: "queries",
824
- tag: getEndpointTag(endpoint, options),
825
- options
826
- })}.` : ""}${getQueryName(endpoint)}`;
827
- };
828
- const getImportedInfiniteQueryName = (endpoint, options) => {
829
- return `${options.tsNamespaces ? `${getNamespaceName({
830
- type: "queries",
831
- tag: getEndpointTag(endpoint, options),
832
- options
833
- })}.` : ""}${getInfiniteQueryName(endpoint)}`;
834
- };
835
- //#endregion
836
765
  //#region src/generators/utils/generate/generate.imports.utils.ts
837
766
  function getModelsImports({ resolver, tag, zodSchemas = [], zodSchemasAsTypes = [] }) {
838
767
  const type = "models";
@@ -868,26 +797,6 @@ function getEndpointsImports({ tag, endpoints, options }) {
868
797
  options
869
798
  });
870
799
  }
871
- function getQueriesImports({ tag, endpoints, options }) {
872
- return getImports({
873
- type: "queries",
874
- tag,
875
- entities: endpoints,
876
- getTag: (endpoint) => getEndpointTag(endpoint, options),
877
- getEntityName: getQueryName,
878
- options
879
- });
880
- }
881
- function getInfiniteQueriesImports({ tag, endpoints, options }) {
882
- return getImports({
883
- type: "queries",
884
- tag,
885
- entities: endpoints,
886
- getTag: (endpoint) => getEndpointTag(endpoint, options),
887
- getEntityName: getInfiniteQueryName,
888
- options
889
- });
890
- }
891
800
  function getAclImports({ tag, endpoints, options }) {
892
801
  return getImports({
893
802
  type: "acl",
@@ -1250,9 +1159,8 @@ function createEndpointConfig(endpoint) {
1250
1159
  };
1251
1160
  }
1252
1161
  /** Renders the body of a media-upload mutationFn: call the endpoint (without the file arg) to
1253
- * get upload instructions, then upload the file itself to the returned URL. Shared between
1254
- * renderMutation (*.queries.ts) and renderMutationContent (*.configs.ts / builderConfigs) so
1255
- * both mutation paths stay in sync. Lines are relative to the caller's own indent. */
1162
+ * get upload instructions, then upload the file itself to the returned URL. Lines are relative
1163
+ * to the caller's own indent. */
1256
1164
  function renderMediaUploadMutationBody({ resolver, endpointFunction, resolvedEndpointArgs }) {
1257
1165
  return [
1258
1166
  `const uploadInstructions = await ${endpointFunction}(${resolvedEndpointArgs}${resolver.options.axiosRequestConfig ? `${resolvedEndpointArgs ? ", " : ""}${AXIOS_REQUEST_CONFIG_NAME}` : ""});`,
@@ -1283,18 +1191,6 @@ function renderMediaUploadMutationBody({ resolver, endpointFunction, resolvedEnd
1283
1191
  ];
1284
1192
  }
1285
1193
  //#endregion
1286
- //#region src/generators/utils/query.utils.ts
1287
- const isQuery = (endpoint) => isGetEndpoint(endpoint);
1288
- const isMutation = (endpoint) => !isGetEndpoint(endpoint) || !!endpoint.mediaDownload;
1289
- const isInfiniteQuery = (endpoint, options) => isPaginatedGetEndpoint(endpoint, options);
1290
- const getDestructuredVariables = (resolver, endpoint, updateQueryEndpoints) => {
1291
- const requiredUpdateQueryParams = updateQueryEndpoints.reduce((acc, updateEndpoint) => [...acc, ...mapEndpointParamsToFunctionParams(resolver, updateEndpoint, { includeOnlyRequiredParams: true }).map((param) => param.name)], []);
1292
- return mapEndpointParamsToFunctionParams(resolver, endpoint, {
1293
- includeOnlyRequiredParams: true,
1294
- excludeBodyParam: true
1295
- }).filter((param) => requiredUpdateQueryParams.includes(param.name)).map((param) => param.name);
1296
- };
1297
- //#endregion
1298
1194
  //#region src/generators/utils/object.utils.ts
1299
1195
  /** Pick given properties in object */
1300
1196
  function pick(obj, paths) {
@@ -1532,7 +1428,7 @@ function generateFilesFromNativeOpenAPI(source, yaml, options) {
1532
1428
  return files;
1533
1429
  }
1534
1430
  function supportsCompleteNativeRender(options) {
1535
- return options.splitByTags && !options.inlineEndpoints && !options.builderConfigs && (options.workspaceContext?.length ?? 0) === 0;
1431
+ return options.splitByTags && !options.inlineEndpoints && (options.workspaceContext?.length ?? 0) === 0;
1536
1432
  }
1537
1433
  function taggedFile(options, tag, type, content) {
1538
1434
  return outputFile(options, getTagFileName({
@@ -1576,7 +1472,7 @@ async function runGenerate({ fileConfig, params, formatGeneratedFile, profiler =
1576
1472
  const nativeFiles = generateFilesFromNativeOpenAPI(nativeInput.source, nativeInput.yaml, config);
1577
1473
  if (nativeFiles) return nativeFiles;
1578
1474
  }
1579
- const { generateCodeFromOpenAPIDoc } = await import("./generateCodeFromOpenAPIDoc-B68pSpWW.mjs").then((n) => n.n);
1475
+ const { generateCodeFromOpenAPIDoc } = await import("./generateCodeFromOpenAPIDoc-oe5uj0P4.mjs").then((n) => n.n);
1580
1476
  return generateCodeFromOpenAPIDoc(openApiDoc, config, profiler, {
1581
1477
  source: nativeInput.source,
1582
1478
  yaml: nativeInput.yaml
@@ -1664,4 +1560,4 @@ function getGenerateStats(filesData, config) {
1664
1560
  };
1665
1561
  }
1666
1562
  //#endregion
1667
- export { getImportedAbilityFunctionName as $, isPrimitiveType as $t, getEndpointsImports as A, NATIVE_RESPONSE_TYPE as An, APP_REST_CLIENT_NAME as At, getPrefetchInfiniteQueryName as B, getMostCommonAdjacentCombinationSplit as Bn, NATIVE_PACKAGE_IMPORT_PATH as Bt, getAppRestClientImportPath as C, ZOD_IMPORT as Cn, getParamZodSchemaName as Ct, getTagFileName as D, AXIOS_REQUEST_CONFIG_TYPE as Dn, isEnumZodSchema as Dt, getQueryTypesImportPath as E, AXIOS_REQUEST_CONFIG_NAME as En, getZodSchemaOperationName as Et, mergeImports as F, isTagIncluded as Fn, QUERY_MODULE_ENUM as Ft, getAbilityConditionType as G, getParameterEnumNames as Gt, getQueryName as H, removeWord as Hn, getNamespaceName as Ht, getImportedInfiniteQueryName as I, shouldInlineEndpointsForTag as In, QUERY_OPTIONS_TYPES as It, getAbilityFunctionName as J, isErrorStatus as Jt, getAbilityConditionsTypes as K, getSchemaNameByRef as Kt, getImportedQueryName as L, camelToSpaceSeparated as Ln, ZOD_EXTENDED as Lt, getInfiniteQueriesImports as M, formatTag as Mn, DOMAIN_ERRORS_FILE as Mt, getModelsImports as N, getEndpointTag as Nn, MUTATION_EFFECTS as Nt, getTagImportPath as O, BODY_PARAMETER_NAME as On, isNamedZodSchema as Ot, getQueriesImports as P, getOperationTag as Pn, QUERY_MODULES_FILE as Pt, getAppAbilitiesType as Q, isPathExcluded as Qt, getInfiniteQueryName as R, capitalize as Rn, AXIOS_PACKAGE_IMPORT_PATH as Rt, getTsTypeBase as S, VOID_SCHEMA as Sn, getEnumZodSchemaName as St, getQueryModulesImportPath as T, AXIOS_IMPORT as Tn, getZodSchemaName as Tt, getQueryOptionsName as U, snakeToCamel as Un, autocorrectRef as Ut, getPrefetchQueryName as V, kebabToCamel as Vn, REST_PACKAGE_IMPORT_PATH as Vt, getAbilityAction as W, Profiler as Wn, escapeControlCharacters as Wt, getAbilitySubjectTypes as X, isMediaTypeAllowed as Xt, getAbilitySubject as Y, isMainResponseStatus as Yt, getAclData as Z, isParamMediaTypeAllowed as Zt, hasEndpointConfig as _, INT_SCHEMA as _n, isReadAllEndpoint as _t, resolveConfig as a, wrapWithQuotesIfNeeded as an, getZodSchemaInferedTypeName as at, requiresBody as b, URL_SCHEMA as bn, invalidVariableNameCharactersToCamel as bt, getDestructuredVariables as c, isReferenceObject as cn, getSchemaDescriptions as ct, isQuery as d, ALLOWED_PATH_IN as dn, DEFAULT_GENERATE_OPTIONS as dt, isSortingParameterObject as en, hasAbilityConditions as et, getEndpointBody as f, ANY_SCHEMA as fn, getPathSegments as ft, getImportedEndpointName as g, ENUM_SCHEMA as gn, isPathSegmentParam as gt, getEndpointPath as h, EMAIL_SCHEMA as hn, isDeleteEndpoint as ht, shouldUseNativeCodegen as i, unwrapQuotesIfNeeded as in, getZodSchemaDescription as it, getImportPath as j, getRequestConfigTypeName as jn, BUILDERS_UTILS as jt, getAclImports as k, JSON_APPLICATION_FORMAT as kn, APP_REST_CLIENT_FILE as kt, isInfiniteQuery as l, isSchemaObject as ln, iterateSchema as lt, getEndpointName as m, DATETIME_SCHEMA as mn, isCreateEndpoint as mt, runGenerate as n, pathToVariableName as nn, getImportedZodSchemaInferedTypeName as nt, getOutputFileName as o, inferRequiredSchema as on, getZodSchemaPropertyDescriptions as ot, getEndpointConfig as p, BLOB_SCHEMA as pn, isBulkDeleteEndpoint as pt, getAbilityDescription as q, getSchemaRef as qt, compileNativeData as r, replaceHyphenatedPath as rn, getImportedZodSchemaName as rt, pick as s, isArraySchemaObject as sn, getZodSchemaType as st, getOpenApiDoc as t, pathParamToVariableName as tn, renderAclCheckCall as tt, isMutation as u, ALLOWED_METHODS as un, getUniqueArray as ut, mapEndpointParamsToFunctionParams as v, NUMBER_SCHEMA as vn, isReadEndpoint as vt, getFileNameWithExtension as w, AXIOS_DEFAULT_IMPORT_NAME as wn, getResponseZodSchemaName as wt, getSchemaTsMetaType as x, UUID_SCHEMA as xn, getBodyZodSchemaName as xt, renderMediaUploadMutationBody as y, STRING_SCHEMA as yn, isUpdateEndpoint as yt, getInfiniteQueryOptionsName as z, decapitalize as zn, CONFIG_PACKAGE_IMPORT_PATH as zt };
1563
+ export { getParamZodSchemaName as $, AXIOS_DEFAULT_IMPORT_NAME as $t, getAbilityConditionType as A, pathParamToVariableName as At, getImportedZodSchemaInferedTypeName as B, ALLOWED_PATH_IN as Bt, getTagFileName as C, isErrorStatus as Ct, getImportPath as D, isPathExcluded as Dt, getEndpointsImports as E, isParamMediaTypeAllowed as Et, getAbilitySubjectTypes as F, inferRequiredSchema as Ft, getZodSchemaType as G, ENUM_SCHEMA as Gt, getZodSchemaDescription as H, BLOB_SCHEMA as Ht, getAclData as I, isArraySchemaObject as It, getUniqueArray as J, STRING_SCHEMA as Jt, getSchemaDescriptions as K, INT_SCHEMA as Kt, getAppAbilitiesType as L, isReferenceObject as Lt, getAbilityDescription as M, replaceHyphenatedPath as Mt, getAbilityFunctionName as N, unwrapQuotesIfNeeded as Nt, getModelsImports as O, isPrimitiveType as Ot, getAbilitySubject as P, wrapWithQuotesIfNeeded as Pt, getEnumZodSchemaName as Q, ZOD_IMPORT as Qt, hasAbilityConditions as R, isSchemaObject as Rt, getQueryTypesImportPath as S, getSchemaRef as St, getAclImports as T, isMediaTypeAllowed as Tt, getZodSchemaInferedTypeName as U, DATETIME_SCHEMA as Ut, getImportedZodSchemaName as V, ANY_SCHEMA as Vt, getZodSchemaPropertyDescriptions as W, EMAIL_SCHEMA as Wt, invalidVariableNameCharactersToCamel as X, UUID_SCHEMA as Xt, DEFAULT_GENERATE_OPTIONS as Y, URL_SCHEMA as Yt, getBodyZodSchemaName as Z, VOID_SCHEMA as Zt, getSchemaTsMetaType as _, Profiler as _n, getNamespaceName as _t, resolveConfig as a, NATIVE_RESPONSE_TYPE as an, APP_REST_CLIENT_FILE as at, getFileNameWithExtension as b, getParameterEnumNames as bt, getEndpointBody as c, getEndpointTag as cn, MUTATION_EFFECTS as ct, getEndpointPath as d, shouldInlineEndpointsForTag as dn, QUERY_OPTIONS_TYPES as dt, AXIOS_IMPORT as en, getResponseZodSchemaName as et, getImportedEndpointName as f, capitalize as fn, ZOD_EXTENDED as ft, requiresBody as g, snakeToCamel as gn, REST_PACKAGE_IMPORT_PATH as gt, renderMediaUploadMutationBody as h, removeWord as hn, NATIVE_PACKAGE_IMPORT_PATH as ht, shouldUseNativeCodegen as i, JSON_APPLICATION_FORMAT as in, isNamedZodSchema as it, getAbilityConditionsTypes as j, pathToVariableName as jt, getAbilityAction as k, isSortingParameterObject as kt, getEndpointConfig as l, getOperationTag as ln, QUERY_MODULES_FILE as lt, mapEndpointParamsToFunctionParams as m, getMostCommonAdjacentCombinationSplit as mn, CONFIG_PACKAGE_IMPORT_PATH as mt, runGenerate as n, AXIOS_REQUEST_CONFIG_TYPE as nn, getZodSchemaOperationName as nt, getOutputFileName as o, getRequestConfigTypeName as on, APP_REST_CLIENT_NAME as ot, hasEndpointConfig as p, decapitalize as pn, AXIOS_PACKAGE_IMPORT_PATH as pt, iterateSchema as q, NUMBER_SCHEMA as qt, compileNativeData as r, BODY_PARAMETER_NAME as rn, isEnumZodSchema as rt, pick as s, formatTag as sn, DOMAIN_ERRORS_FILE as st, getOpenApiDoc as t, AXIOS_REQUEST_CONFIG_NAME as tn, getZodSchemaName as tt, getEndpointName as u, isTagIncluded as un, QUERY_MODULE_ENUM as ut, getTsTypeBase as v, autocorrectRef as vt, getTagImportPath as w, isMainResponseStatus as wt, getQueryModulesImportPath as x, getSchemaNameByRef as xt, getAppRestClientImportPath as y, escapeControlCharacters as yt, renderAclCheckCall as z, ALLOWED_METHODS as zt };
@@ -94,10 +94,6 @@ const DEFAULT_GENERATE_OPTIONS = {
94
94
  ["acl"]: {
95
95
  outputFileNameSuffix: "acl",
96
96
  namespaceSuffix: "Acl"
97
- },
98
- ["configs"]: {
99
- outputFileNameSuffix: "configs",
100
- namespaceSuffix: "Configs"
101
97
  }
102
98
  },
103
99
  baseUrl: "",
@@ -138,12 +134,7 @@ const DEFAULT_GENERATE_OPTIONS = {
138
134
  checkAcl: true,
139
135
  abilityContextGenericAppAbilities: false,
140
136
  abilityContextImportPath: "",
141
- aclCheckImportPath: "@povio/openapi-codegen-cli/acl",
142
- builderConfigs: false,
143
- filterParamName: "filter",
144
- dataResponseParamNames: ["data", "items"],
145
- dynamicInputsImportPath: "@povio/ui",
146
- dynamicColumnsImportPath: "@povio/ui"
137
+ aclCheckImportPath: "@povio/openapi-codegen-cli/acl"
147
138
  };
148
139
  //#endregion
149
140
  //#region src/generators/utils/object.utils.ts
@@ -401,10 +392,6 @@ const ERROR_HANDLERS = {
401
392
  SharedErrorHandler: "SharedErrorHandler"
402
393
  };
403
394
  ERROR_HANDLERS.ErrorHandler, ERROR_HANDLERS.SharedErrorHandler;
404
- const BUILDERS_UTILS = {
405
- dynamicInputs: "dynamicInputs",
406
- dynamicColumns: "dynamicColumns"
407
- };
408
395
  const QUERY_MODULE_ENUM = "QueryModule";
409
396
  const QUERY_MODULES_FILE = {
410
397
  fileName: "queryModules",
@@ -985,33 +972,6 @@ function getRequestConfigTypeName(restClient) {
985
972
  return restClient === "native" ? NATIVE_REQUEST_CONFIG_TYPE : AXIOS_REQUEST_CONFIG_TYPE;
986
973
  }
987
974
  //#endregion
988
- //#region src/generators/utils/endpoint.utils.ts
989
- const isGetEndpoint = (endpoint) => endpoint.method === openapi_types.OpenAPIV3.HttpMethods.GET;
990
- const isPaginatedGetEndpoint = (endpoint, options) => isGetEndpoint(endpoint) && Object.values(options.infiniteQueryParamNames).every((infiniteQueryParam) => endpoint.parameters.some((param) => param.name === infiniteQueryParam && param.type === "Query"));
991
- const isReadAllEndpoint = (endpoint, options) => endpoint.method === openapi_types.OpenAPIV3.HttpMethods.GET && !isPathSegmentParam(endpoint.pathSegments.at(-1)) && isPaginatedGetEndpoint(endpoint, options);
992
- const isReadEndpoint = (endpoint, readAllEndpoint) => endpoint.method === openapi_types.OpenAPIV3.HttpMethods.GET && hasMatchingPathWithTrailingParam(endpoint, readAllEndpoint);
993
- const isCreateEndpoint = (endpoint, readAllEndpoint) => endpoint.method === openapi_types.OpenAPIV3.HttpMethods.POST && hasMatchingPathWithoutTrailingParam(endpoint, readAllEndpoint);
994
- const isUpdateEndpoint = (endpoint, readAllEndpoint) => [openapi_types.OpenAPIV3.HttpMethods.PUT, openapi_types.OpenAPIV3.HttpMethods.PATCH].includes(endpoint.method) && hasMatchingPathWithTrailingParam(endpoint, readAllEndpoint);
995
- const isDeleteEndpoint = (endpoint, readAllEndpoint) => endpoint.method === openapi_types.OpenAPIV3.HttpMethods.DELETE && hasMatchingPathWithTrailingParam(endpoint, readAllEndpoint);
996
- const isBulkDeleteEndpoint = (endpoint, readAllEndpoint) => endpoint.method === openapi_types.OpenAPIV3.HttpMethods.DELETE && hasMatchingPathWithoutTrailingParam(endpoint, readAllEndpoint);
997
- const getPathSegments = (path) => path.split("/").filter(Boolean);
998
- const isPathSegmentParam = (pathSegment) => pathSegment?.startsWith(":");
999
- const hasMatchingPath = (endpoint, readAllEndpoint) => readAllEndpoint.pathSegments.every((segment, index) => isPathSegmentParam(segment) && isPathSegmentParam(endpoint.pathSegments[index]) || segment === endpoint.pathSegments[index]);
1000
- const hasMatchingPathWithoutTrailingParam = (endpoint, readAllEndpoint) => endpoint.pathSegments.length === readAllEndpoint.pathSegments.length && hasMatchingPath(endpoint, readAllEndpoint);
1001
- const hasMatchingPathWithTrailingParam = (endpoint, readAllEndpoint) => endpoint.pathSegments.length - 1 === readAllEndpoint.pathSegments.length && isPathSegmentParam(endpoint.pathSegments.at(-1)) && hasMatchingPath(endpoint, readAllEndpoint);
1002
- //#endregion
1003
- //#region src/generators/utils/query.utils.ts
1004
- const isQuery = (endpoint) => isGetEndpoint(endpoint);
1005
- const isMutation = (endpoint) => !isGetEndpoint(endpoint) || !!endpoint.mediaDownload;
1006
- const isInfiniteQuery = (endpoint, options) => isPaginatedGetEndpoint(endpoint, options);
1007
- const getDestructuredVariables = (resolver, endpoint, updateQueryEndpoints) => {
1008
- const requiredUpdateQueryParams = updateQueryEndpoints.reduce((acc, updateEndpoint) => [...acc, ...mapEndpointParamsToFunctionParams(resolver, updateEndpoint, { includeOnlyRequiredParams: true }).map((param) => param.name)], []);
1009
- return mapEndpointParamsToFunctionParams(resolver, endpoint, {
1010
- includeOnlyRequiredParams: true,
1011
- excludeBodyParam: true
1012
- }).filter((param) => requiredUpdateQueryParams.includes(param.name)).map((param) => param.name);
1013
- };
1014
- //#endregion
1015
975
  //#region src/generators/utils/ts.utils.ts
1016
976
  function primitiveTypeToTsType(type) {
1017
977
  switch (type) {
@@ -1135,9 +1095,8 @@ function createEndpointConfig(endpoint) {
1135
1095
  };
1136
1096
  }
1137
1097
  /** Renders the body of a media-upload mutationFn: call the endpoint (without the file arg) to
1138
- * get upload instructions, then upload the file itself to the returned URL. Shared between
1139
- * renderMutation (*.queries.ts) and renderMutationContent (*.configs.ts / builderConfigs) so
1140
- * both mutation paths stay in sync. Lines are relative to the caller's own indent. */
1098
+ * get upload instructions, then upload the file itself to the returned URL. Lines are relative
1099
+ * to the caller's own indent. */
1141
1100
  function renderMediaUploadMutationBody({ resolver, endpointFunction, resolvedEndpointArgs }) {
1142
1101
  return [
1143
1102
  `const uploadInstructions = await ${endpointFunction}(${resolvedEndpointArgs}${resolver.options.axiosRequestConfig ? `${resolvedEndpointArgs ? ", " : ""}${AXIOS_REQUEST_CONFIG_NAME}` : ""});`,
@@ -1168,49 +1127,6 @@ function renderMediaUploadMutationBody({ resolver, endpointFunction, resolvedEnd
1168
1127
  ];
1169
1128
  }
1170
1129
  //#endregion
1171
- //#region src/generators/utils/generate/generate.query.utils.ts
1172
- const operationNameByEndpoint = /* @__PURE__ */ new WeakMap();
1173
- const capitalizedOperationNameByEndpoint = /* @__PURE__ */ new WeakMap();
1174
- function getOperationName(endpoint) {
1175
- let name = operationNameByEndpoint.get(endpoint);
1176
- if (name === void 0) {
1177
- name = snakeToCamel(endpoint.operationName);
1178
- operationNameByEndpoint.set(endpoint, name);
1179
- }
1180
- return name;
1181
- }
1182
- function getCapitalizedOperationName(endpoint) {
1183
- let name = capitalizedOperationNameByEndpoint.get(endpoint);
1184
- if (name === void 0) {
1185
- name = capitalize(getOperationName(endpoint));
1186
- capitalizedOperationNameByEndpoint.set(endpoint, name);
1187
- }
1188
- return name;
1189
- }
1190
- const getQueryName = (endpoint, mutation) => {
1191
- const addMutationSuffix = isQuery(endpoint) && isMutation(endpoint) && mutation;
1192
- return `use${getCapitalizedOperationName(endpoint)}${addMutationSuffix ? "Mutation" : ""}`;
1193
- };
1194
- const getInfiniteQueryName = (endpoint) => `use${getCapitalizedOperationName(endpoint)}Infinite`;
1195
- const getQueryOptionsName = (endpoint) => `${getOperationName(endpoint)}QueryOptions`;
1196
- const getInfiniteQueryOptionsName = (endpoint) => `${getOperationName(endpoint)}InfiniteQueryOptions`;
1197
- const getPrefetchQueryName = (endpoint) => `prefetch${getCapitalizedOperationName(endpoint)}`;
1198
- const getPrefetchInfiniteQueryName = (endpoint) => `prefetch${getCapitalizedOperationName(endpoint)}Infinite`;
1199
- const getImportedQueryName = (endpoint, options) => {
1200
- return `${options.tsNamespaces ? `${getNamespaceName({
1201
- type: "queries",
1202
- tag: getEndpointTag(endpoint, options),
1203
- options
1204
- })}.` : ""}${getQueryName(endpoint)}`;
1205
- };
1206
- const getImportedInfiniteQueryName = (endpoint, options) => {
1207
- return `${options.tsNamespaces ? `${getNamespaceName({
1208
- type: "queries",
1209
- tag: getEndpointTag(endpoint, options),
1210
- options
1211
- })}.` : ""}${getInfiniteQueryName(endpoint)}`;
1212
- };
1213
- //#endregion
1214
1130
  //#region src/generators/utils/generate/generate.imports.utils.ts
1215
1131
  function getModelsImports({ resolver, tag, zodSchemas = [], zodSchemasAsTypes = [] }) {
1216
1132
  const type = "models";
@@ -1246,26 +1162,6 @@ function getEndpointsImports({ tag, endpoints, options }) {
1246
1162
  options
1247
1163
  });
1248
1164
  }
1249
- function getQueriesImports({ tag, endpoints, options }) {
1250
- return getImports({
1251
- type: "queries",
1252
- tag,
1253
- entities: endpoints,
1254
- getTag: (endpoint) => getEndpointTag(endpoint, options),
1255
- getEntityName: getQueryName,
1256
- options
1257
- });
1258
- }
1259
- function getInfiniteQueriesImports({ tag, endpoints, options }) {
1260
- return getImports({
1261
- type: "queries",
1262
- tag,
1263
- entities: endpoints,
1264
- getTag: (endpoint) => getEndpointTag(endpoint, options),
1265
- getEntityName: getInfiniteQueryName,
1266
- options
1267
- });
1268
- }
1269
1165
  function getAclImports({ tag, endpoints, options }) {
1270
1166
  return getImports({
1271
1167
  type: "acl",
@@ -1433,12 +1329,6 @@ Object.defineProperty(exports, "BODY_PARAMETER_NAME", {
1433
1329
  return BODY_PARAMETER_NAME;
1434
1330
  }
1435
1331
  });
1436
- Object.defineProperty(exports, "BUILDERS_UTILS", {
1437
- enumerable: true,
1438
- get: function() {
1439
- return BUILDERS_UTILS;
1440
- }
1441
- });
1442
1332
  Object.defineProperty(exports, "CONFIG_PACKAGE_IMPORT_PATH", {
1443
1333
  enumerable: true,
1444
1334
  get: function() {
@@ -1589,12 +1479,6 @@ Object.defineProperty(exports, "autocorrectRef", {
1589
1479
  return autocorrectRef;
1590
1480
  }
1591
1481
  });
1592
- Object.defineProperty(exports, "camelToSpaceSeparated", {
1593
- enumerable: true,
1594
- get: function() {
1595
- return camelToSpaceSeparated;
1596
- }
1597
- });
1598
1482
  Object.defineProperty(exports, "capitalize", {
1599
1483
  enumerable: true,
1600
1484
  get: function() {
@@ -1703,12 +1587,6 @@ Object.defineProperty(exports, "getBodyZodSchemaName", {
1703
1587
  return getBodyZodSchemaName;
1704
1588
  }
1705
1589
  });
1706
- Object.defineProperty(exports, "getDestructuredVariables", {
1707
- enumerable: true,
1708
- get: function() {
1709
- return getDestructuredVariables;
1710
- }
1711
- });
1712
1590
  Object.defineProperty(exports, "getEndpointBody", {
1713
1591
  enumerable: true,
1714
1592
  get: function() {
@@ -1763,30 +1641,12 @@ Object.defineProperty(exports, "getImportPath", {
1763
1641
  return getImportPath;
1764
1642
  }
1765
1643
  });
1766
- Object.defineProperty(exports, "getImportedAbilityFunctionName", {
1767
- enumerable: true,
1768
- get: function() {
1769
- return getImportedAbilityFunctionName;
1770
- }
1771
- });
1772
1644
  Object.defineProperty(exports, "getImportedEndpointName", {
1773
1645
  enumerable: true,
1774
1646
  get: function() {
1775
1647
  return getImportedEndpointName;
1776
1648
  }
1777
1649
  });
1778
- Object.defineProperty(exports, "getImportedInfiniteQueryName", {
1779
- enumerable: true,
1780
- get: function() {
1781
- return getImportedInfiniteQueryName;
1782
- }
1783
- });
1784
- Object.defineProperty(exports, "getImportedQueryName", {
1785
- enumerable: true,
1786
- get: function() {
1787
- return getImportedQueryName;
1788
- }
1789
- });
1790
1650
  Object.defineProperty(exports, "getImportedZodSchemaInferedTypeName", {
1791
1651
  enumerable: true,
1792
1652
  get: function() {
@@ -1799,24 +1659,6 @@ Object.defineProperty(exports, "getImportedZodSchemaName", {
1799
1659
  return getImportedZodSchemaName;
1800
1660
  }
1801
1661
  });
1802
- Object.defineProperty(exports, "getInfiniteQueriesImports", {
1803
- enumerable: true,
1804
- get: function() {
1805
- return getInfiniteQueriesImports;
1806
- }
1807
- });
1808
- Object.defineProperty(exports, "getInfiniteQueryName", {
1809
- enumerable: true,
1810
- get: function() {
1811
- return getInfiniteQueryName;
1812
- }
1813
- });
1814
- Object.defineProperty(exports, "getInfiniteQueryOptionsName", {
1815
- enumerable: true,
1816
- get: function() {
1817
- return getInfiniteQueryOptionsName;
1818
- }
1819
- });
1820
1662
  Object.defineProperty(exports, "getModelsImports", {
1821
1663
  enumerable: true,
1822
1664
  get: function() {
@@ -1859,48 +1701,12 @@ Object.defineProperty(exports, "getParameterEnumNames", {
1859
1701
  return getParameterEnumNames;
1860
1702
  }
1861
1703
  });
1862
- Object.defineProperty(exports, "getPathSegments", {
1863
- enumerable: true,
1864
- get: function() {
1865
- return getPathSegments;
1866
- }
1867
- });
1868
- Object.defineProperty(exports, "getPrefetchInfiniteQueryName", {
1869
- enumerable: true,
1870
- get: function() {
1871
- return getPrefetchInfiniteQueryName;
1872
- }
1873
- });
1874
- Object.defineProperty(exports, "getPrefetchQueryName", {
1875
- enumerable: true,
1876
- get: function() {
1877
- return getPrefetchQueryName;
1878
- }
1879
- });
1880
- Object.defineProperty(exports, "getQueriesImports", {
1881
- enumerable: true,
1882
- get: function() {
1883
- return getQueriesImports;
1884
- }
1885
- });
1886
1704
  Object.defineProperty(exports, "getQueryModulesImportPath", {
1887
1705
  enumerable: true,
1888
1706
  get: function() {
1889
1707
  return getQueryModulesImportPath;
1890
1708
  }
1891
1709
  });
1892
- Object.defineProperty(exports, "getQueryName", {
1893
- enumerable: true,
1894
- get: function() {
1895
- return getQueryName;
1896
- }
1897
- });
1898
- Object.defineProperty(exports, "getQueryOptionsName", {
1899
- enumerable: true,
1900
- get: function() {
1901
- return getQueryOptionsName;
1902
- }
1903
- });
1904
1710
  Object.defineProperty(exports, "getQueryTypesImportPath", {
1905
1711
  enumerable: true,
1906
1712
  get: function() {
@@ -2021,24 +1827,6 @@ Object.defineProperty(exports, "isArraySchemaObject", {
2021
1827
  return isArraySchemaObject;
2022
1828
  }
2023
1829
  });
2024
- Object.defineProperty(exports, "isBulkDeleteEndpoint", {
2025
- enumerable: true,
2026
- get: function() {
2027
- return isBulkDeleteEndpoint;
2028
- }
2029
- });
2030
- Object.defineProperty(exports, "isCreateEndpoint", {
2031
- enumerable: true,
2032
- get: function() {
2033
- return isCreateEndpoint;
2034
- }
2035
- });
2036
- Object.defineProperty(exports, "isDeleteEndpoint", {
2037
- enumerable: true,
2038
- get: function() {
2039
- return isDeleteEndpoint;
2040
- }
2041
- });
2042
1830
  Object.defineProperty(exports, "isEnumZodSchema", {
2043
1831
  enumerable: true,
2044
1832
  get: function() {
@@ -2051,12 +1839,6 @@ Object.defineProperty(exports, "isErrorStatus", {
2051
1839
  return isErrorStatus;
2052
1840
  }
2053
1841
  });
2054
- Object.defineProperty(exports, "isInfiniteQuery", {
2055
- enumerable: true,
2056
- get: function() {
2057
- return isInfiniteQuery;
2058
- }
2059
- });
2060
1842
  Object.defineProperty(exports, "isMainResponseStatus", {
2061
1843
  enumerable: true,
2062
1844
  get: function() {
@@ -2069,12 +1851,6 @@ Object.defineProperty(exports, "isMediaTypeAllowed", {
2069
1851
  return isMediaTypeAllowed;
2070
1852
  }
2071
1853
  });
2072
- Object.defineProperty(exports, "isMutation", {
2073
- enumerable: true,
2074
- get: function() {
2075
- return isMutation;
2076
- }
2077
- });
2078
1854
  Object.defineProperty(exports, "isNamedZodSchema", {
2079
1855
  enumerable: true,
2080
1856
  get: function() {
@@ -2093,36 +1869,12 @@ Object.defineProperty(exports, "isPathExcluded", {
2093
1869
  return isPathExcluded;
2094
1870
  }
2095
1871
  });
2096
- Object.defineProperty(exports, "isPathSegmentParam", {
2097
- enumerable: true,
2098
- get: function() {
2099
- return isPathSegmentParam;
2100
- }
2101
- });
2102
1872
  Object.defineProperty(exports, "isPrimitiveType", {
2103
1873
  enumerable: true,
2104
1874
  get: function() {
2105
1875
  return isPrimitiveType;
2106
1876
  }
2107
1877
  });
2108
- Object.defineProperty(exports, "isQuery", {
2109
- enumerable: true,
2110
- get: function() {
2111
- return isQuery;
2112
- }
2113
- });
2114
- Object.defineProperty(exports, "isReadAllEndpoint", {
2115
- enumerable: true,
2116
- get: function() {
2117
- return isReadAllEndpoint;
2118
- }
2119
- });
2120
- Object.defineProperty(exports, "isReadEndpoint", {
2121
- enumerable: true,
2122
- get: function() {
2123
- return isReadEndpoint;
2124
- }
2125
- });
2126
1878
  Object.defineProperty(exports, "isReferenceObject", {
2127
1879
  enumerable: true,
2128
1880
  get: function() {
@@ -2147,36 +1899,18 @@ Object.defineProperty(exports, "isTagIncluded", {
2147
1899
  return isTagIncluded;
2148
1900
  }
2149
1901
  });
2150
- Object.defineProperty(exports, "isUpdateEndpoint", {
2151
- enumerable: true,
2152
- get: function() {
2153
- return isUpdateEndpoint;
2154
- }
2155
- });
2156
1902
  Object.defineProperty(exports, "iterateSchema", {
2157
1903
  enumerable: true,
2158
1904
  get: function() {
2159
1905
  return iterateSchema;
2160
1906
  }
2161
1907
  });
2162
- Object.defineProperty(exports, "kebabToCamel", {
2163
- enumerable: true,
2164
- get: function() {
2165
- return kebabToCamel;
2166
- }
2167
- });
2168
1908
  Object.defineProperty(exports, "mapEndpointParamsToFunctionParams", {
2169
1909
  enumerable: true,
2170
1910
  get: function() {
2171
1911
  return mapEndpointParamsToFunctionParams;
2172
1912
  }
2173
1913
  });
2174
- Object.defineProperty(exports, "mergeImports", {
2175
- enumerable: true,
2176
- get: function() {
2177
- return mergeImports;
2178
- }
2179
- });
2180
1914
  Object.defineProperty(exports, "pathParamToVariableName", {
2181
1915
  enumerable: true,
2182
1916
  get: function() {