ts-openapi-codegen 2.1.0-beta.5 → 2.1.0-beta.6
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/README.md +3 -0
- package/README.rus.md +3 -0
- package/dist/cli/checkAndUpdateConfig/__tests__/checkConfig.test.d.ts +2 -0
- package/dist/cli/checkAndUpdateConfig/__tests__/checkConfig.test.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/__tests__/checkConfig.test.js +63 -0
- package/dist/cli/checkAndUpdateConfig/__tests__/updateConfig.test.d.ts +2 -0
- package/dist/cli/checkAndUpdateConfig/__tests__/updateConfig.test.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/__tests__/updateConfig.test.js +62 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/prepareConfigData.test.d.ts +2 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/prepareConfigData.test.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/prepareConfigData.test.js +20 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/removeDefaultConfigValues.test.d.ts +2 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/removeDefaultConfigValues.test.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/removeDefaultConfigValues.test.js +35 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/validateAndMigrateConfigData.test.d.ts +2 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/validateAndMigrateConfigData.test.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/__tests__/validateAndMigrateConfigData.test.js +59 -0
- package/dist/cli/index.js +2 -0
- package/dist/cli/initOpenApiConfig/__tests__/init.test.d.ts +2 -0
- package/dist/cli/initOpenApiConfig/__tests__/init.test.d.ts.map +1 -0
- package/dist/cli/initOpenApiConfig/__tests__/init.test.js +30 -0
- package/dist/cli/initOpenApiConfig/__tests__/initConfig.test.d.ts +2 -0
- package/dist/cli/initOpenApiConfig/__tests__/initConfig.test.d.ts.map +1 -0
- package/dist/cli/initOpenApiConfig/__tests__/initConfig.test.js +47 -0
- package/dist/cli/initOpenApiConfig/init.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/init.js +2 -0
- package/dist/cli/initOpenApiConfig/initCustomRequest.d.ts +1 -0
- package/dist/cli/initOpenApiConfig/initCustomRequest.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/initCustomRequest.js +2 -1
- package/dist/cli/initOpenApiConfig/utils/__tests__/buildConfig.test.d.ts +2 -0
- package/dist/cli/initOpenApiConfig/utils/__tests__/buildConfig.test.d.ts.map +1 -0
- package/dist/cli/initOpenApiConfig/utils/__tests__/buildConfig.test.js +99 -0
- package/dist/cli/initOpenApiConfig/utils/__tests__/findSpecFiles.test.d.ts +2 -0
- package/dist/cli/initOpenApiConfig/utils/__tests__/findSpecFiles.test.d.ts.map +1 -0
- package/dist/cli/initOpenApiConfig/utils/__tests__/findSpecFiles.test.js +45 -0
- package/dist/cli/initOpenApiConfig/utils/__tests__/validateSpecFiles.test.d.ts +2 -0
- package/dist/cli/initOpenApiConfig/utils/__tests__/validateSpecFiles.test.d.ts.map +1 -0
- package/dist/cli/initOpenApiConfig/utils/__tests__/validateSpecFiles.test.js +52 -0
- package/dist/cli/initOpenApiConfig/utils/buildConfig.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/utils/buildConfig.js +4 -0
- package/dist/cli/previewChanges/utils/__tests__/compareFiles.test.d.ts +2 -0
- package/dist/cli/previewChanges/utils/__tests__/compareFiles.test.d.ts.map +1 -0
- package/dist/cli/previewChanges/utils/__tests__/compareFiles.test.js +52 -0
- package/dist/cli/previewChanges/utils/__tests__/isDirectoryEmpty.test.d.ts +2 -0
- package/dist/cli/previewChanges/utils/__tests__/isDirectoryEmpty.test.d.ts.map +1 -0
- package/dist/cli/previewChanges/utils/__tests__/isDirectoryEmpty.test.js +43 -0
- package/dist/cli/previewChanges/utils/__tests__/readDirectoryRecursive.test.d.ts +2 -0
- package/dist/cli/previewChanges/utils/__tests__/readDirectoryRecursive.test.d.ts.map +1 -0
- package/dist/cli/previewChanges/utils/__tests__/readDirectoryRecursive.test.js +32 -0
- package/dist/cli/previewChanges/utils/__tests__/updateOutputPaths.test.d.ts +2 -0
- package/dist/cli/previewChanges/utils/__tests__/updateOutputPaths.test.d.ts.map +1 -0
- package/dist/cli/previewChanges/utils/__tests__/updateOutputPaths.test.js +68 -0
- package/dist/cli/schemas/__tests__/checkConfigAndUpdate.test.d.ts +2 -0
- package/dist/cli/schemas/__tests__/checkConfigAndUpdate.test.d.ts.map +1 -0
- package/dist/cli/schemas/__tests__/checkConfigAndUpdate.test.js +36 -0
- package/dist/cli/schemas/__tests__/generateOptionsSchema.test.d.ts +2 -0
- package/dist/cli/schemas/__tests__/generateOptionsSchema.test.d.ts.map +1 -0
- package/dist/cli/schemas/__tests__/generateOptionsSchema.test.js +59 -0
- package/dist/cli/schemas/__tests__/initOptionsSchema.test.d.ts +2 -0
- package/dist/cli/schemas/__tests__/initOptionsSchema.test.d.ts.map +1 -0
- package/dist/cli/schemas/__tests__/initOptionsSchema.test.js +43 -0
- package/dist/cli/schemas/__tests__/previewChangesSchema.test.d.ts +2 -0
- package/dist/cli/schemas/__tests__/previewChangesSchema.test.d.ts.map +1 -0
- package/dist/cli/schemas/__tests__/previewChangesSchema.test.js +31 -0
- package/dist/cli/schemas/init.d.ts +1 -0
- package/dist/cli/schemas/init.d.ts.map +1 -1
- package/dist/cli/schemas/init.js +1 -0
- package/dist/common/Consts.d.ts.map +1 -1
- package/dist/common/Consts.js +1 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedBase.d.ts +1 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedBase.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV1.d.ts +2 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV1.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.d.ts +2 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV3.d.ts +2 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV3.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV4.d.ts +2 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV4.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV5.d.ts +2 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV5.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedVersionedSchemas.d.ts +11 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedVersionedSchemas.d.ts.map +1 -1
- package/dist/common/VersionedSchema/CommonSchemas.d.ts +2 -0
- package/dist/common/VersionedSchema/CommonSchemas.d.ts.map +1 -1
- package/dist/common/VersionedSchema/CommonSchemas.js +1 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsMigrationPlan.d.ts.map +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsMigrationPlan.js +1 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV3.d.ts +1 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV3.d.ts.map +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV4.d.ts +1 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV4.d.ts.map +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV5.d.ts +1 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV5.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsMigrationPlans.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsMigrationPlans.js +1 -0
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV3.d.ts +1 -0
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV3.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV4.d.ts +1 -0
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV4.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/__mocks__/compatibilityCases.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/__mocks__/compatibilityCases.js +8 -2
- package/dist/common/utils/__tests__/convertArrayToObject.test.js +3 -0
- package/dist/common/utils/convertArrayToObject.d.ts.map +1 -1
- package/dist/common/utils/convertArrayToObject.js +2 -0
- package/dist/core/OpenApiClient.d.ts.map +1 -1
- package/dist/core/OpenApiClient.js +6 -1
- package/dist/core/WriteClient.d.ts +3 -1
- package/dist/core/WriteClient.d.ts.map +1 -1
- package/dist/core/WriteClient.js +3 -2
- package/dist/core/utils/GenerationCache.d.ts +18 -0
- package/dist/core/utils/GenerationCache.d.ts.map +1 -0
- package/dist/core/utils/GenerationCache.js +41 -0
- package/dist/core/utils/__tests__/GenerationCache.test.d.ts +2 -0
- package/dist/core/utils/__tests__/GenerationCache.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/GenerationCache.test.js +37 -0
- package/dist/core/utils/__tests__/loadDiffReport.test.d.ts +2 -0
- package/dist/core/utils/__tests__/loadDiffReport.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/loadDiffReport.test.js +97 -0
- package/dist/core/utils/__tests__/templateRendering.test.d.ts +2 -0
- package/dist/core/utils/__tests__/templateRendering.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/templateRendering.test.js +119 -0
- package/dist/core/utils/__tests__/writeClientServices.test.js +1 -0
- package/dist/core/utils/__tests__/writeFileIfChanged.test.d.ts +2 -0
- package/dist/core/utils/__tests__/writeFileIfChanged.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/writeFileIfChanged.test.js +30 -0
- package/dist/core/utils/writeClientCore.d.ts +2 -0
- package/dist/core/utils/writeClientCore.d.ts.map +1 -1
- package/dist/core/utils/writeClientCore.js +5 -4
- package/dist/core/utils/writeClientServices.d.ts +2 -0
- package/dist/core/utils/writeClientServices.d.ts.map +1 -1
- package/dist/core/utils/writeClientServices.js +2 -1
- package/dist/core/utils/writeFileIfChanged.d.ts +3 -0
- package/dist/core/utils/writeFileIfChanged.d.ts.map +1 -0
- package/dist/core/utils/writeFileIfChanged.js +22 -0
- package/dist/templatesCompiled/cli/customRequest.d.ts +6 -2
- package/dist/templatesCompiled/cli/customRequest.d.ts.map +1 -1
- package/dist/templatesCompiled/cli/customRequest.js +28 -8
- package/dist/templatesCompiled/cli/customRequestExecutor.d.ts +3 -0
- package/dist/templatesCompiled/cli/customRequestExecutor.d.ts.map +1 -1
- package/dist/templatesCompiled/cli/customRequestExecutor.js +28 -5
- package/dist/templatesCompiled/client/core/axios/request.d.ts +6 -2
- package/dist/templatesCompiled/client/core/axios/request.d.ts.map +1 -1
- package/dist/templatesCompiled/client/core/axios/request.js +22 -2
- package/dist/templatesCompiled/client/core/executor/createExecutorAdapter.d.ts +5 -2
- package/dist/templatesCompiled/client/core/executor/createExecutorAdapter.d.ts.map +1 -1
- package/dist/templatesCompiled/client/core/executor/createExecutorAdapter.js +42 -12
- package/dist/templatesCompiled/client/core/executor/requestExecutor.d.ts +2 -0
- package/dist/templatesCompiled/client/core/executor/requestExecutor.d.ts.map +1 -1
- package/dist/templatesCompiled/client/core/executor/requestExecutor.js +11 -3
- package/dist/templatesCompiled/client/core/fetch/request.d.ts +6 -2
- package/dist/templatesCompiled/client/core/fetch/request.d.ts.map +1 -1
- package/dist/templatesCompiled/client/core/fetch/request.js +22 -2
- package/dist/templatesCompiled/client/core/interceptors/withInterceptors.d.ts +2 -0
- package/dist/templatesCompiled/client/core/interceptors/withInterceptors.d.ts.map +1 -1
- package/dist/templatesCompiled/client/core/interceptors/withInterceptors.js +11 -3
- package/dist/templatesCompiled/client/core/node/request.d.ts +6 -2
- package/dist/templatesCompiled/client/core/node/request.d.ts.map +1 -1
- package/dist/templatesCompiled/client/core/node/request.js +22 -2
- package/dist/templatesCompiled/client/core/xhr/request.d.ts +6 -2
- package/dist/templatesCompiled/client/core/xhr/request.d.ts.map +1 -1
- package/dist/templatesCompiled/client/core/xhr/request.js +22 -2
- package/dist/templatesCompiled/client/exportService.d.ts +11 -9
- package/dist/templatesCompiled/client/exportService.d.ts.map +1 -1
- package/dist/templatesCompiled/client/exportService.js +82 -64
- package/package.json +1 -2
|
@@ -6,21 +6,23 @@ declare const _default: {
|
|
|
6
6
|
"7": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
7
7
|
"9": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
8
8
|
"11": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
9
|
-
"13": (container: any, depth0: any, helpers: any, partials: any, data: any
|
|
10
|
-
"
|
|
11
|
-
"16": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
12
|
-
"
|
|
13
|
-
"
|
|
9
|
+
"13": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
10
|
+
"15": (container: any, depth0: any, helpers: any, partials: any, data: any, blockParams: any, depths: any) => string;
|
|
11
|
+
"16": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
12
|
+
"18": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
13
|
+
"19": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
14
14
|
"20": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
15
15
|
"22": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
16
|
-
"24": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"24": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
17
|
+
"26": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
18
|
+
"27": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
19
19
|
"28": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
20
20
|
"30": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
21
21
|
"32": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
22
22
|
"34": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
23
|
-
"36": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
23
|
+
"36": (container: any, depth0: any, helpers: any, partials: any, data: any, blockParams: any, depths: any) => string;
|
|
24
|
+
"37": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
25
|
+
"39": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
24
26
|
compiler: (string | number)[];
|
|
25
27
|
main: (container: any, depth0: any, helpers: any, partials: any, data: any, blockParams: any, depths: any) => string;
|
|
26
28
|
usePartial: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exportService.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/exportService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"exportService.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/exportService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAoSoD"}
|
|
@@ -42,6 +42,16 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
42
42
|
+ ((stack1 = lookupProperty(helpers, "joinPath").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(data, "root"), "outputCore"), "CancelablePromise", { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 9, "column": 40 }, "end": { "line": 9, "column": 91 } } })) != null ? stack1 : "")
|
|
43
43
|
+ "';\n";
|
|
44
44
|
}, "7": function (container, depth0, helpers, partials, data) {
|
|
45
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
46
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
47
|
+
return parent[propertyName];
|
|
48
|
+
}
|
|
49
|
+
return undefined;
|
|
50
|
+
};
|
|
51
|
+
return "import type { ApiResult } from '"
|
|
52
|
+
+ ((stack1 = lookupProperty(helpers, "joinPath").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(data, "root"), "outputCore"), "ApiResult", { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 75 } } })) != null ? stack1 : "")
|
|
53
|
+
+ "';\n";
|
|
54
|
+
}, "9": function (container, depth0, helpers, partials, data) {
|
|
45
55
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
46
56
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
47
57
|
return parent[propertyName];
|
|
@@ -49,13 +59,13 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
49
59
|
return undefined;
|
|
50
60
|
};
|
|
51
61
|
return "const "
|
|
52
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
62
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 13 } }), depth0)) != null ? stack1 : "")
|
|
53
63
|
+ " = ("
|
|
54
64
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parameters"), depth0, { "name": "parameters", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
55
65
|
+ "): RequestConfig => ({\n "
|
|
56
66
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "serviceOption"), depth0, { "name": "serviceOption", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
57
67
|
+ "});\n\n";
|
|
58
|
-
}, "
|
|
68
|
+
}, "11": function (container, depth0, helpers, partials, data) {
|
|
59
69
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
60
70
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
61
71
|
return parent[propertyName];
|
|
@@ -63,18 +73,18 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
63
73
|
return undefined;
|
|
64
74
|
};
|
|
65
75
|
return " "
|
|
66
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
76
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 25, "column": 7 }, "end": { "line": 25, "column": 11 } }), depth0)) != null ? stack1 : "")
|
|
67
77
|
+ ": ("
|
|
68
78
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parametersDefinition"), depth0, { "name": "parametersDefinition", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
69
79
|
+ ") => RequestConfig;\n";
|
|
70
|
-
}, "
|
|
80
|
+
}, "13": function (container, depth0, helpers, partials, data) {
|
|
71
81
|
var stack1, alias1 = container.strict, alias2 = container.lambda;
|
|
72
82
|
return " "
|
|
73
|
-
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line":
|
|
83
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "column": 11 } }), depth0)) != null ? stack1 : "")
|
|
74
84
|
+ ": "
|
|
75
|
-
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line":
|
|
85
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 31, "column": 19 }, "end": { "line": 31, "column": 23 } }), depth0)) != null ? stack1 : "")
|
|
76
86
|
+ ",\n";
|
|
77
|
-
}, "
|
|
87
|
+
}, "15": function (container, depth0, helpers, partials, data, blockParams, depths) {
|
|
78
88
|
var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), alias2 = container.strict, alias3 = container.lambda, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
79
89
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
80
90
|
return parent[propertyName];
|
|
@@ -82,94 +92,85 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
82
92
|
return undefined;
|
|
83
93
|
};
|
|
84
94
|
return " /**\n"
|
|
85
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "deprecated"), { "name": "if", "hash": {}, "fn": container.program(
|
|
86
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "summary"), { "name": "if", "hash": {}, "fn": container.program(
|
|
87
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "description"), { "name": "if", "hash": {}, "fn": container.program(
|
|
88
|
-
+ ((stack1 = lookupProperty(helpers, "unless").call(alias1, lookupProperty(lookupProperty(data, "root"), "useOptions"), { "name": "unless", "hash": {}, "fn": container.program(
|
|
89
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "results"), { "name": "each", "hash": {}, "fn": container.program(
|
|
95
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "deprecated"), { "name": "if", "hash": {}, "fn": container.program(16, data, 0, blockParams, depths), "inverse": container.program(18, data, 0, blockParams, depths), "data": data, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 46, "column": 11 } } })) != null ? stack1 : "")
|
|
96
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "summary"), { "name": "if", "hash": {}, "fn": container.program(22, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 49, "column": 11 } } })) != null ? stack1 : "")
|
|
97
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "description"), { "name": "if", "hash": {}, "fn": container.program(24, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 52, "column": 11 } } })) != null ? stack1 : "")
|
|
98
|
+
+ ((stack1 = lookupProperty(helpers, "unless").call(alias1, lookupProperty(lookupProperty(data, "root"), "useOptions"), { "name": "unless", "hash": {}, "fn": container.program(26, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 59, "column": 15 } } })) != null ? stack1 : "")
|
|
99
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "results"), { "name": "each", "hash": {}, "fn": container.program(30, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 62, "column": 13 } } })) != null ? stack1 : "")
|
|
90
100
|
+ " * @throws ApiError\n */\n"
|
|
91
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(lookupProperty(data, "root"), "useCancelableRequest"), { "name": "if", "hash": {}, "fn": container.program(
|
|
101
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(lookupProperty(data, "root"), "useCancelableRequest"), { "name": "if", "hash": {}, "fn": container.program(32, data, 0, blockParams, depths), "inverse": container.program(34, data, 0, blockParams, depths), "data": data, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 75, "column": 11 } } })) != null ? stack1 : "")
|
|
92
102
|
+ " return this.executor.request<"
|
|
93
103
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "result"), depth0, { "name": "result", "hash": { "default": "void" }, "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
94
104
|
+ ">(\n "
|
|
95
|
-
+ ((stack1 = alias3(alias2(depths[1], "originName", { "start": { "line":
|
|
105
|
+
+ ((stack1 = alias3(alias2(depths[1], "originName", { "start": { "line": 77, "column": 15 }, "end": { "line": 77, "column": 28 } }), depth0)) != null ? stack1 : "")
|
|
96
106
|
+ "Options."
|
|
97
|
-
+ ((stack1 = alias3(alias2(depth0, "name", { "start": { "line":
|
|
107
|
+
+ ((stack1 = alias3(alias2(depth0, "name", { "start": { "line": 77, "column": 42 }, "end": { "line": 77, "column": 46 } }), depth0)) != null ? stack1 : "")
|
|
98
108
|
+ "("
|
|
99
109
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parameterValues"), depth0, { "name": "parameterValues", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
100
110
|
+ "),\n options\n );\n }\n\n"
|
|
101
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(lookupProperty(data, "root"), "
|
|
102
|
-
+ " return this.executor.requestRaw<"
|
|
103
|
-
+ ((stack1 = container.invokePartial(lookupProperty(partials, "result"), depth0, { "name": "result", "hash": { "default": "void" }, "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
104
|
-
+ ">(\n "
|
|
105
|
-
+ ((stack1 = alias3(alias2(depths[1], "originName", { "start": { "line": 92, "column": 15 }, "end": { "line": 92, "column": 28 } }), depth0)) != null ? stack1 : "")
|
|
106
|
-
+ "Options."
|
|
107
|
-
+ ((stack1 = alias3(alias2(depth0, "name", { "start": { "line": 92, "column": 42 }, "end": { "line": 92, "column": 46 } }), depth0)) != null ? stack1 : "")
|
|
108
|
-
+ "("
|
|
109
|
-
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parameterValues"), depth0, { "name": "parameterValues", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
110
|
-
+ "),\n options\n );\n }\n";
|
|
111
|
-
}, "14": function (container, depth0, helpers, partials, data) {
|
|
112
|
-
return " * @deprecated\n";
|
|
111
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(lookupProperty(data, "root"), "useRequestRaw"), { "name": "if", "hash": {}, "fn": container.program(36, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 99, "column": 11 } } })) != null ? stack1 : "");
|
|
113
112
|
}, "16": function (container, depth0, helpers, partials, data) {
|
|
113
|
+
return " * @deprecated\n";
|
|
114
|
+
}, "18": function (container, depth0, helpers, partials, data) {
|
|
114
115
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
115
116
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
116
117
|
return parent[propertyName];
|
|
117
118
|
}
|
|
118
119
|
return undefined;
|
|
119
120
|
};
|
|
120
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "diff"), { "name": "if", "hash": {}, "fn": container.program(
|
|
121
|
-
}, "
|
|
121
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "diff"), { "name": "if", "hash": {}, "fn": container.program(19, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 46, "column": 4 } } })) != null ? stack1 : "");
|
|
122
|
+
}, "19": function (container, depth0, helpers, partials, data) {
|
|
122
123
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
123
124
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
124
125
|
return parent[propertyName];
|
|
125
126
|
}
|
|
126
127
|
return undefined;
|
|
127
128
|
};
|
|
128
|
-
return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(depth0, "diff"), "action"), "removed", { "name": "equals", "hash": {}, "fn": container.program(
|
|
129
|
+
return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(depth0, "diff"), "action"), "removed", { "name": "equals", "hash": {}, "fn": container.program(20, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 45, "column": 15 } } })) != null ? stack1 : "")
|
|
129
130
|
+ " ";
|
|
130
|
-
}, "18": function (container, depth0, helpers, partials, data) {
|
|
131
|
-
return " * @deprecated Removed from API\n";
|
|
132
131
|
}, "20": function (container, depth0, helpers, partials, data) {
|
|
132
|
+
return " * @deprecated Removed from API\n";
|
|
133
|
+
}, "22": function (container, depth0, helpers, partials, data) {
|
|
133
134
|
var stack1;
|
|
134
135
|
return " * "
|
|
135
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "summary", { "start": { "line":
|
|
136
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "summary", { "start": { "line": 48, "column": 10 }, "end": { "line": 48, "column": 17 } }), depth0)) != null ? stack1 : "")
|
|
136
137
|
+ "\n";
|
|
137
|
-
}, "
|
|
138
|
+
}, "24": function (container, depth0, helpers, partials, data) {
|
|
138
139
|
var stack1;
|
|
139
140
|
return " * "
|
|
140
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "description", { "start": { "line":
|
|
141
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "description", { "start": { "line": 51, "column": 10 }, "end": { "line": 51, "column": 21 } }), depth0)) != null ? stack1 : "")
|
|
141
142
|
+ "\n";
|
|
142
|
-
}, "
|
|
143
|
+
}, "26": function (container, depth0, helpers, partials, data) {
|
|
143
144
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
144
145
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
145
146
|
return parent[propertyName];
|
|
146
147
|
}
|
|
147
148
|
return undefined;
|
|
148
149
|
};
|
|
149
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "parameters"), { "name": "if", "hash": {}, "fn": container.program(
|
|
150
|
-
}, "
|
|
150
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "parameters"), { "name": "if", "hash": {}, "fn": container.program(27, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 58, "column": 11 } } })) != null ? stack1 : "");
|
|
151
|
+
}, "27": function (container, depth0, helpers, partials, data) {
|
|
151
152
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
152
153
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
153
154
|
return parent[propertyName];
|
|
154
155
|
}
|
|
155
156
|
return undefined;
|
|
156
157
|
};
|
|
157
|
-
return ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "parameters"), { "name": "each", "hash": {}, "fn": container.program(
|
|
158
|
-
}, "
|
|
158
|
+
return ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "parameters"), { "name": "each", "hash": {}, "fn": container.program(28, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 57, "column": 13 } } })) != null ? stack1 : "");
|
|
159
|
+
}, "28": function (container, depth0, helpers, partials, data) {
|
|
159
160
|
var stack1, alias1 = container.strict, alias2 = container.lambda;
|
|
160
161
|
return " * @param "
|
|
161
|
-
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line":
|
|
162
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 21 } }), depth0)) != null ? stack1 : "")
|
|
162
163
|
+ " "
|
|
163
|
-
+ ((stack1 = alias2(alias1(depth0, "description", { "start": { "line":
|
|
164
|
+
+ ((stack1 = alias2(alias1(depth0, "description", { "start": { "line": 56, "column": 28 }, "end": { "line": 56, "column": 39 } }), depth0)) != null ? stack1 : "")
|
|
164
165
|
+ "\n";
|
|
165
|
-
}, "
|
|
166
|
+
}, "30": function (container, depth0, helpers, partials, data) {
|
|
166
167
|
var stack1, alias1 = container.strict, alias2 = container.lambda;
|
|
167
168
|
return " * @returns "
|
|
168
|
-
+ ((stack1 = alias2(alias1(depth0, "type", { "start": { "line":
|
|
169
|
+
+ ((stack1 = alias2(alias1(depth0, "type", { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 23 } }), depth0)) != null ? stack1 : "")
|
|
169
170
|
+ " "
|
|
170
|
-
+ ((stack1 = alias2(alias1(depth0, "description", { "start": { "line":
|
|
171
|
+
+ ((stack1 = alias2(alias1(depth0, "description", { "start": { "line": 61, "column": 30 }, "end": { "line": 61, "column": 41 } }), depth0)) != null ? stack1 : "")
|
|
171
172
|
+ "\n";
|
|
172
|
-
}, "
|
|
173
|
+
}, "32": function (container, depth0, helpers, partials, data) {
|
|
173
174
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
174
175
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
175
176
|
return parent[propertyName];
|
|
@@ -177,13 +178,13 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
177
178
|
return undefined;
|
|
178
179
|
};
|
|
179
180
|
return " public "
|
|
180
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
181
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 66, "column": 14 }, "end": { "line": 66, "column": 18 } }), depth0)) != null ? stack1 : "")
|
|
181
182
|
+ "(\n "
|
|
182
183
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parameters"), depth0, { "name": "parameters", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
183
184
|
+ " options?: TOptions,\n ): CancelablePromise<"
|
|
184
185
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "result"), depth0, { "name": "result", "hash": { "default": "void" }, "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
185
186
|
+ "> {\n";
|
|
186
|
-
}, "
|
|
187
|
+
}, "34": function (container, depth0, helpers, partials, data) {
|
|
187
188
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
188
189
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
189
190
|
return parent[propertyName];
|
|
@@ -191,13 +192,30 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
191
192
|
return undefined;
|
|
192
193
|
};
|
|
193
194
|
return " public "
|
|
194
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
195
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 71, "column": 14 }, "end": { "line": 71, "column": 18 } }), depth0)) != null ? stack1 : "")
|
|
195
196
|
+ "(\n "
|
|
196
197
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parameters"), depth0, { "name": "parameters", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
197
198
|
+ " options?: TOptions,\n ): Promise<"
|
|
198
199
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "result"), depth0, { "name": "result", "hash": { "default": "void" }, "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
199
200
|
+ "> {\n";
|
|
200
|
-
}, "
|
|
201
|
+
}, "36": function (container, depth0, helpers, partials, data, blockParams, depths) {
|
|
202
|
+
var stack1, alias1 = container.strict, alias2 = container.lambda, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
203
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
204
|
+
return parent[propertyName];
|
|
205
|
+
}
|
|
206
|
+
return undefined;
|
|
207
|
+
};
|
|
208
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(data, "root"), "useCancelableRequest"), { "name": "if", "hash": {}, "fn": container.program(37, data, 0, blockParams, depths), "inverse": container.program(39, data, 0, blockParams, depths), "data": data, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 93, "column": 11 } } })) != null ? stack1 : "")
|
|
209
|
+
+ " return this.executor.requestRaw<"
|
|
210
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials, "result"), depth0, { "name": "result", "hash": { "default": "void" }, "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
211
|
+
+ ">(\n "
|
|
212
|
+
+ ((stack1 = alias2(alias1(depths[1], "originName", { "start": { "line": 95, "column": 15 }, "end": { "line": 95, "column": 28 } }), depth0)) != null ? stack1 : "")
|
|
213
|
+
+ "Options."
|
|
214
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 95, "column": 42 }, "end": { "line": 95, "column": 46 } }), depth0)) != null ? stack1 : "")
|
|
215
|
+
+ "("
|
|
216
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parameterValues"), depth0, { "name": "parameterValues", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
217
|
+
+ "),\n options\n );\n }\n";
|
|
218
|
+
}, "37": function (container, depth0, helpers, partials, data) {
|
|
201
219
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
202
220
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
203
221
|
return parent[propertyName];
|
|
@@ -205,13 +223,13 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
205
223
|
return undefined;
|
|
206
224
|
};
|
|
207
225
|
return " public "
|
|
208
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
226
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 84, "column": 14 }, "end": { "line": 84, "column": 18 } }), depth0)) != null ? stack1 : "")
|
|
209
227
|
+ "Raw(\n "
|
|
210
228
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parameters"), depth0, { "name": "parameters", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
211
229
|
+ " options?: TOptions,\n ): CancelablePromise<ApiResult<"
|
|
212
230
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "result"), depth0, { "name": "result", "hash": { "default": "void" }, "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
213
231
|
+ ">> {\n";
|
|
214
|
-
}, "
|
|
232
|
+
}, "39": function (container, depth0, helpers, partials, data) {
|
|
215
233
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
216
234
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
217
235
|
return parent[propertyName];
|
|
@@ -219,7 +237,7 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
219
237
|
return undefined;
|
|
220
238
|
};
|
|
221
239
|
return " public "
|
|
222
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
240
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 89, "column": 14 }, "end": { "line": 89, "column": 18 } }), depth0)) != null ? stack1 : "")
|
|
223
241
|
+ "Raw(\n "
|
|
224
242
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "parameters"), depth0, { "name": "parameters", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
225
243
|
+ " options?: TOptions,\n ): Promise<ApiResult<"
|
|
@@ -238,23 +256,23 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
238
256
|
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(lookupProperty(data, "root"), "useCancelableRequest"), { "name": "if", "hash": {}, "fn": container.program(5, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 7 } } })) != null ? stack1 : "")
|
|
239
257
|
+ "import type { RequestExecutor, RequestConfig } from '"
|
|
240
258
|
+ ((stack1 = lookupProperty(helpers, "joinPath").call(alias1, lookupProperty(lookupProperty(data, "root"), "outputCore"), "./executor/requestExecutor", { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 11, "column": 53 }, "end": { "line": 11, "column": 113 } } })) != null ? stack1 : "")
|
|
241
|
-
+ "';\
|
|
242
|
-
+ ((stack1 = lookupProperty(helpers, "
|
|
243
|
-
+ "
|
|
244
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "operations"), { "name": "each", "hash": {}, "fn": container.program(
|
|
259
|
+
+ "';\n"
|
|
260
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(lookupProperty(data, "root"), "useRequestRaw"), { "name": "if", "hash": {}, "fn": container.program(7, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 14, "column": 7 } } })) != null ? stack1 : "")
|
|
261
|
+
+ "\n"
|
|
262
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "operations"), { "name": "each", "hash": {}, "fn": container.program(9, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 21, "column": 9 } } })) != null ? stack1 : "")
|
|
245
263
|
+ "\nexport type T"
|
|
246
|
-
+ ((stack1 = alias3(alias2(depth0, "originName", { "start": { "line":
|
|
264
|
+
+ ((stack1 = alias3(alias2(depth0, "originName", { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 26 } }), depth0)) != null ? stack1 : "")
|
|
247
265
|
+ "Options = {\n"
|
|
248
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "operations"), { "name": "each", "hash": {}, "fn": container.program(
|
|
266
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "operations"), { "name": "each", "hash": {}, "fn": container.program(11, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 9 } } })) != null ? stack1 : "")
|
|
249
267
|
+ "};\n\nexport const "
|
|
250
|
-
+ ((stack1 = alias3(alias2(depth0, "originName", { "start": { "line":
|
|
268
|
+
+ ((stack1 = alias3(alias2(depth0, "originName", { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 26 } }), depth0)) != null ? stack1 : "")
|
|
251
269
|
+ "Options: T"
|
|
252
|
-
+ ((stack1 = alias3(alias2(depth0, "originName", { "start": { "line":
|
|
270
|
+
+ ((stack1 = alias3(alias2(depth0, "originName", { "start": { "line": 29, "column": 42 }, "end": { "line": 29, "column": 52 } }), depth0)) != null ? stack1 : "")
|
|
253
271
|
+ "Options = {\n"
|
|
254
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "operations"), { "name": "each", "hash": {}, "fn": container.program(
|
|
272
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "operations"), { "name": "each", "hash": {}, "fn": container.program(13, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 32, "column": 9 } } })) != null ? stack1 : "")
|
|
255
273
|
+ "};\n\nexport class "
|
|
256
|
-
+ ((stack1 = alias3(alias2(depth0, "name", { "start": { "line":
|
|
274
|
+
+ ((stack1 = alias3(alias2(depth0, "name", { "start": { "line": 35, "column": 16 }, "end": { "line": 35, "column": 20 } }), depth0)) != null ? stack1 : "")
|
|
257
275
|
+ "<TOptions = unknown> {\n constructor(private readonly executor: RequestExecutor<TOptions>) {}\n\n"
|
|
258
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "operations"), { "name": "each", "hash": {}, "fn": container.program(
|
|
276
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "operations"), { "name": "each", "hash": {}, "fn": container.program(15, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 100, "column": 13 } } })) != null ? stack1 : "")
|
|
259
277
|
+ "}\n";
|
|
260
278
|
}, "usePartial": true, "useData": true, "useDepths": true };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-openapi-codegen",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.6",
|
|
4
4
|
"description": "Library that generates Typescript clients based on the OpenAPI specification. It bases on openapi-typescript-codegen",
|
|
5
5
|
"author": "Alexey Zverev",
|
|
6
6
|
"homepage": "https://github.com/ozonophore/openapi-codegen.git",
|
|
@@ -125,7 +125,6 @@
|
|
|
125
125
|
"puppeteer": "10.1.0",
|
|
126
126
|
"qs": "6.10.1",
|
|
127
127
|
"shx": "^0.4.0",
|
|
128
|
-
"ts-prune": "^0.10.3",
|
|
129
128
|
"tsx": "^4.20.3",
|
|
130
129
|
"typescript": "^5.8.3",
|
|
131
130
|
"zod": "^4.3.2"
|