@leonardo-ai/sdk 1.2.4 → 1.7.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.
- package/README.md +8 -4
- package/dist/internal/utils/headers.js +4 -4
- package/dist/internal/utils/pathparams.d.ts +1 -8
- package/dist/internal/utils/pathparams.js +11 -18
- package/dist/internal/utils/queryparams.d.ts +1 -2
- package/dist/internal/utils/queryparams.js +100 -50
- package/dist/internal/utils/requestbody.js +90 -57
- package/dist/internal/utils/security.js +69 -57
- package/dist/internal/utils/utils.d.ts +11 -2
- package/dist/internal/utils/utils.js +51 -15
- package/dist/sdk/dataset.js +11 -10
- package/dist/sdk/generation.js +11 -11
- package/dist/sdk/initimage.js +7 -6
- package/dist/sdk/model.js +7 -6
- package/dist/sdk/models/operations/createdataset.d.ts +2 -0
- package/dist/sdk/models/operations/createdataset.js +14 -4
- package/dist/sdk/models/operations/creategeneration.d.ts +2 -0
- package/dist/sdk/models/operations/creategeneration.js +42 -18
- package/dist/sdk/models/operations/createmodel.d.ts +2 -0
- package/dist/sdk/models/operations/createmodel.js +28 -11
- package/dist/sdk/models/operations/createvariationupscale.d.ts +2 -0
- package/dist/sdk/models/operations/createvariationupscale.js +12 -3
- package/dist/sdk/models/operations/deletedatasetbyid.d.ts +2 -0
- package/dist/sdk/models/operations/deletedatasetbyid.js +10 -2
- package/dist/sdk/models/operations/deletegenerationbyid.d.ts +2 -0
- package/dist/sdk/models/operations/deletegenerationbyid.js +10 -2
- package/dist/sdk/models/operations/deleteinitimagebyid.d.ts +2 -0
- package/dist/sdk/models/operations/deleteinitimagebyid.js +10 -2
- package/dist/sdk/models/operations/deletemodelbyid.d.ts +2 -0
- package/dist/sdk/models/operations/deletemodelbyid.js +10 -2
- package/dist/sdk/models/operations/getdatasetbyid.d.ts +2 -0
- package/dist/sdk/models/operations/getdatasetbyid.js +27 -10
- package/dist/sdk/models/operations/getgenerationbyid.d.ts +2 -0
- package/dist/sdk/models/operations/getgenerationbyid.js +60 -26
- package/dist/sdk/models/operations/getgenerationsbyuserid.d.ts +2 -0
- package/dist/sdk/models/operations/getgenerationsbyuserid.js +60 -26
- package/dist/sdk/models/operations/getinitimagebyid.d.ts +2 -0
- package/dist/sdk/models/operations/getinitimagebyid.js +14 -4
- package/dist/sdk/models/operations/getmodelbyid.d.ts +2 -0
- package/dist/sdk/models/operations/getmodelbyid.js +32 -13
- package/dist/sdk/models/operations/getuserself.d.ts +2 -0
- package/dist/sdk/models/operations/getuserself.js +17 -5
- package/dist/sdk/models/operations/getvariationbyid.d.ts +2 -0
- package/dist/sdk/models/operations/getvariationbyid.js +18 -6
- package/dist/sdk/models/operations/uploaddatasetimage.d.ts +2 -0
- package/dist/sdk/models/operations/uploaddatasetimage.js +18 -6
- package/dist/sdk/models/operations/uploaddatasetimagefromgen.d.ts +2 -0
- package/dist/sdk/models/operations/uploaddatasetimagefromgen.js +12 -3
- package/dist/sdk/models/operations/uploadinitimage.d.ts +2 -0
- package/dist/sdk/models/operations/uploadinitimage.js +20 -7
- package/dist/sdk/sdk.d.ts +2 -2
- package/dist/sdk/sdk.js +5 -4
- package/dist/sdk/user.js +4 -2
- package/dist/sdk/variation.js +5 -4
- package/package.json +2 -3
|
@@ -26,6 +26,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.GetDatasetByIdResponse = exports.GetDatasetById200ApplicationJSON = exports.GetDatasetById200ApplicationJSONDatasets = exports.GetDatasetById200ApplicationJSONDatasetsDatasetImages = exports.GetDatasetByIdRequest = exports.GetDatasetByIdPathParams = void 0;
|
|
28
28
|
var utils_1 = require("../../../internal/utils");
|
|
29
|
+
var class_transformer_1 = require("class-transformer");
|
|
29
30
|
var GetDatasetByIdPathParams = /** @class */ (function (_super) {
|
|
30
31
|
__extends(GetDatasetByIdPathParams, _super);
|
|
31
32
|
function GetDatasetByIdPathParams() {
|
|
@@ -60,15 +61,18 @@ var GetDatasetById200ApplicationJSONDatasetsDatasetImages = /** @class */ (funct
|
|
|
60
61
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
61
62
|
}
|
|
62
63
|
__decorate([
|
|
63
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
64
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
65
|
+
(0, class_transformer_1.Expose)({ name: "createdAt" }),
|
|
64
66
|
__metadata("design:type", String)
|
|
65
67
|
], GetDatasetById200ApplicationJSONDatasetsDatasetImages.prototype, "createdAt", void 0);
|
|
66
68
|
__decorate([
|
|
67
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
69
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
70
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
68
71
|
__metadata("design:type", String)
|
|
69
72
|
], GetDatasetById200ApplicationJSONDatasetsDatasetImages.prototype, "id", void 0);
|
|
70
73
|
__decorate([
|
|
71
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
75
|
+
(0, class_transformer_1.Expose)({ name: "url" }),
|
|
72
76
|
__metadata("design:type", String)
|
|
73
77
|
], GetDatasetById200ApplicationJSONDatasetsDatasetImages.prototype, "url", void 0);
|
|
74
78
|
return GetDatasetById200ApplicationJSONDatasetsDatasetImages;
|
|
@@ -84,27 +88,34 @@ var GetDatasetById200ApplicationJSONDatasets = /** @class */ (function (_super)
|
|
|
84
88
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
85
89
|
}
|
|
86
90
|
__decorate([
|
|
87
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
91
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
92
|
+
(0, class_transformer_1.Expose)({ name: "createdAt" }),
|
|
88
93
|
__metadata("design:type", String)
|
|
89
94
|
], GetDatasetById200ApplicationJSONDatasets.prototype, "createdAt", void 0);
|
|
90
95
|
__decorate([
|
|
91
|
-
(0, utils_1.SpeakeasyMetadata)({
|
|
96
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: GetDatasetById200ApplicationJSONDatasetsDatasetImages }),
|
|
97
|
+
(0, class_transformer_1.Expose)({ name: "dataset_images" }),
|
|
98
|
+
(0, class_transformer_1.Type)(function () { return GetDatasetById200ApplicationJSONDatasetsDatasetImages; }),
|
|
92
99
|
__metadata("design:type", Array)
|
|
93
100
|
], GetDatasetById200ApplicationJSONDatasets.prototype, "datasetImages", void 0);
|
|
94
101
|
__decorate([
|
|
95
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
102
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
103
|
+
(0, class_transformer_1.Expose)({ name: "description" }),
|
|
96
104
|
__metadata("design:type", String)
|
|
97
105
|
], GetDatasetById200ApplicationJSONDatasets.prototype, "description", void 0);
|
|
98
106
|
__decorate([
|
|
99
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
107
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
108
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
100
109
|
__metadata("design:type", String)
|
|
101
110
|
], GetDatasetById200ApplicationJSONDatasets.prototype, "id", void 0);
|
|
102
111
|
__decorate([
|
|
103
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
112
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
113
|
+
(0, class_transformer_1.Expose)({ name: "name" }),
|
|
104
114
|
__metadata("design:type", String)
|
|
105
115
|
], GetDatasetById200ApplicationJSONDatasets.prototype, "name", void 0);
|
|
106
116
|
__decorate([
|
|
107
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
117
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
118
|
+
(0, class_transformer_1.Expose)({ name: "updatedAt" }),
|
|
108
119
|
__metadata("design:type", String)
|
|
109
120
|
], GetDatasetById200ApplicationJSONDatasets.prototype, "updatedAt", void 0);
|
|
110
121
|
return GetDatasetById200ApplicationJSONDatasets;
|
|
@@ -116,7 +127,9 @@ var GetDatasetById200ApplicationJSON = /** @class */ (function (_super) {
|
|
|
116
127
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
117
128
|
}
|
|
118
129
|
__decorate([
|
|
119
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
130
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
131
|
+
(0, class_transformer_1.Expose)({ name: "datasets_by_pk" }),
|
|
132
|
+
(0, class_transformer_1.Type)(function () { return GetDatasetById200ApplicationJSONDatasets; }),
|
|
120
133
|
__metadata("design:type", GetDatasetById200ApplicationJSONDatasets)
|
|
121
134
|
], GetDatasetById200ApplicationJSON.prototype, "datasetsByPk", void 0);
|
|
122
135
|
return GetDatasetById200ApplicationJSON;
|
|
@@ -135,6 +148,10 @@ var GetDatasetByIdResponse = /** @class */ (function (_super) {
|
|
|
135
148
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
136
149
|
__metadata("design:type", Number)
|
|
137
150
|
], GetDatasetByIdResponse.prototype, "statusCode", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
153
|
+
__metadata("design:type", Object)
|
|
154
|
+
], GetDatasetByIdResponse.prototype, "rawResponse", void 0);
|
|
138
155
|
__decorate([
|
|
139
156
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
140
157
|
__metadata("design:type", GetDatasetById200ApplicationJSON)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import * as shared from "../shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
3
4
|
export declare class GetGenerationByIdPathParams extends SpeakeasyBase {
|
|
4
5
|
id: string;
|
|
5
6
|
}
|
|
@@ -52,5 +53,6 @@ export declare class GetGenerationById200ApplicationJSON extends SpeakeasyBase {
|
|
|
52
53
|
export declare class GetGenerationByIdResponse extends SpeakeasyBase {
|
|
53
54
|
contentType: string;
|
|
54
55
|
statusCode: number;
|
|
56
|
+
rawResponse?: AxiosResponse;
|
|
55
57
|
getGenerationById200ApplicationJSONObject?: GetGenerationById200ApplicationJSON;
|
|
56
58
|
}
|
|
@@ -50,6 +50,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
50
50
|
exports.GetGenerationByIdResponse = exports.GetGenerationById200ApplicationJSON = exports.GetGenerationById200ApplicationJSONGenerations = exports.GetGenerationById200ApplicationJSONGenerationsGeneratedImages = exports.GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric = exports.GetGenerationByIdRequest = exports.GetGenerationByIdPathParams = void 0;
|
|
51
51
|
var utils_1 = require("../../../internal/utils");
|
|
52
52
|
var shared = __importStar(require("../shared"));
|
|
53
|
+
var class_transformer_1 = require("class-transformer");
|
|
53
54
|
var GetGenerationByIdPathParams = /** @class */ (function (_super) {
|
|
54
55
|
__extends(GetGenerationByIdPathParams, _super);
|
|
55
56
|
function GetGenerationByIdPathParams() {
|
|
@@ -84,19 +85,23 @@ var GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageV
|
|
|
84
85
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
85
86
|
}
|
|
86
87
|
__decorate([
|
|
87
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
88
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
89
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
88
90
|
__metadata("design:type", String)
|
|
89
91
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "id", void 0);
|
|
90
92
|
__decorate([
|
|
91
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
93
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
94
|
+
(0, class_transformer_1.Expose)({ name: "status" }),
|
|
92
95
|
__metadata("design:type", String)
|
|
93
96
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "status", void 0);
|
|
94
97
|
__decorate([
|
|
95
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
98
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
99
|
+
(0, class_transformer_1.Expose)({ name: "transformType" }),
|
|
96
100
|
__metadata("design:type", String)
|
|
97
101
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "transformType", void 0);
|
|
98
102
|
__decorate([
|
|
99
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
103
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
104
|
+
(0, class_transformer_1.Expose)({ name: "url" }),
|
|
100
105
|
__metadata("design:type", String)
|
|
101
106
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "url", void 0);
|
|
102
107
|
return GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric;
|
|
@@ -112,23 +117,29 @@ var GetGenerationById200ApplicationJSONGenerationsGeneratedImages = /** @class *
|
|
|
112
117
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
113
118
|
}
|
|
114
119
|
__decorate([
|
|
115
|
-
(0, utils_1.SpeakeasyMetadata)({
|
|
120
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric }),
|
|
121
|
+
(0, class_transformer_1.Expose)({ name: "generated_image_variation_generics" }),
|
|
122
|
+
(0, class_transformer_1.Type)(function () { return GetGenerationById200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric; }),
|
|
116
123
|
__metadata("design:type", Array)
|
|
117
124
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImages.prototype, "generatedImageVariationGenerics", void 0);
|
|
118
125
|
__decorate([
|
|
119
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
126
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
127
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
120
128
|
__metadata("design:type", String)
|
|
121
129
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImages.prototype, "id", void 0);
|
|
122
130
|
__decorate([
|
|
123
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
131
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
132
|
+
(0, class_transformer_1.Expose)({ name: "likeCount" }),
|
|
124
133
|
__metadata("design:type", Number)
|
|
125
134
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImages.prototype, "likeCount", void 0);
|
|
126
135
|
__decorate([
|
|
127
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
136
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
137
|
+
(0, class_transformer_1.Expose)({ name: "nsfw" }),
|
|
128
138
|
__metadata("design:type", Boolean)
|
|
129
139
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImages.prototype, "nsfw", void 0);
|
|
130
140
|
__decorate([
|
|
131
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
141
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
142
|
+
(0, class_transformer_1.Expose)({ name: "url" }),
|
|
132
143
|
__metadata("design:type", String)
|
|
133
144
|
], GetGenerationById200ApplicationJSONGenerationsGeneratedImages.prototype, "url", void 0);
|
|
134
145
|
return GetGenerationById200ApplicationJSONGenerationsGeneratedImages;
|
|
@@ -144,67 +155,84 @@ var GetGenerationById200ApplicationJSONGenerations = /** @class */ (function (_s
|
|
|
144
155
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
145
156
|
}
|
|
146
157
|
__decorate([
|
|
147
|
-
(0, utils_1.SpeakeasyMetadata)({
|
|
158
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: GetGenerationById200ApplicationJSONGenerationsGeneratedImages }),
|
|
159
|
+
(0, class_transformer_1.Expose)({ name: "generated_images" }),
|
|
160
|
+
(0, class_transformer_1.Type)(function () { return GetGenerationById200ApplicationJSONGenerationsGeneratedImages; }),
|
|
148
161
|
__metadata("design:type", Array)
|
|
149
162
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "generatedImages", void 0);
|
|
150
163
|
__decorate([
|
|
151
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
164
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
165
|
+
(0, class_transformer_1.Expose)({ name: "guidanceScale" }),
|
|
152
166
|
__metadata("design:type", Number)
|
|
153
167
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "guidanceScale", void 0);
|
|
154
168
|
__decorate([
|
|
155
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
169
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
170
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
156
171
|
__metadata("design:type", String)
|
|
157
172
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "id", void 0);
|
|
158
173
|
__decorate([
|
|
159
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
174
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
175
|
+
(0, class_transformer_1.Expose)({ name: "imageHeight" }),
|
|
160
176
|
__metadata("design:type", Number)
|
|
161
177
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "imageHeight", void 0);
|
|
162
178
|
__decorate([
|
|
163
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
179
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
180
|
+
(0, class_transformer_1.Expose)({ name: "imageWidth" }),
|
|
164
181
|
__metadata("design:type", Number)
|
|
165
182
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "imageWidth", void 0);
|
|
166
183
|
__decorate([
|
|
167
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
184
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
185
|
+
(0, class_transformer_1.Expose)({ name: "inferenceSteps" }),
|
|
168
186
|
__metadata("design:type", Number)
|
|
169
187
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "inferenceSteps", void 0);
|
|
170
188
|
__decorate([
|
|
171
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
189
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
190
|
+
(0, class_transformer_1.Expose)({ name: "initStrength" }),
|
|
172
191
|
__metadata("design:type", Number)
|
|
173
192
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "initStrength", void 0);
|
|
174
193
|
__decorate([
|
|
175
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
194
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
195
|
+
(0, class_transformer_1.Expose)({ name: "modelId" }),
|
|
176
196
|
__metadata("design:type", String)
|
|
177
197
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "modelId", void 0);
|
|
178
198
|
__decorate([
|
|
179
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
199
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
200
|
+
(0, class_transformer_1.Expose)({ name: "negativePrompt" }),
|
|
180
201
|
__metadata("design:type", String)
|
|
181
202
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "negativePrompt", void 0);
|
|
182
203
|
__decorate([
|
|
183
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
204
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
205
|
+
(0, class_transformer_1.Expose)({ name: "presetStyle" }),
|
|
184
206
|
__metadata("design:type", String)
|
|
185
207
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "presetStyle", void 0);
|
|
186
208
|
__decorate([
|
|
187
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
209
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
210
|
+
(0, class_transformer_1.Expose)({ name: "prompt" }),
|
|
188
211
|
__metadata("design:type", String)
|
|
189
212
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "prompt", void 0);
|
|
190
213
|
__decorate([
|
|
191
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
214
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
215
|
+
(0, class_transformer_1.Expose)({ name: "public" }),
|
|
192
216
|
__metadata("design:type", Boolean)
|
|
193
217
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "public", void 0);
|
|
194
218
|
__decorate([
|
|
195
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
219
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
220
|
+
(0, class_transformer_1.Expose)({ name: "scheduler" }),
|
|
196
221
|
__metadata("design:type", String)
|
|
197
222
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "scheduler", void 0);
|
|
198
223
|
__decorate([
|
|
199
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
224
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
225
|
+
(0, class_transformer_1.Expose)({ name: "sdVersion" }),
|
|
200
226
|
__metadata("design:type", String)
|
|
201
227
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "sdVersion", void 0);
|
|
202
228
|
__decorate([
|
|
203
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
229
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
230
|
+
(0, class_transformer_1.Expose)({ name: "seed" }),
|
|
204
231
|
__metadata("design:type", Number)
|
|
205
232
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "seed", void 0);
|
|
206
233
|
__decorate([
|
|
207
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
234
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
235
|
+
(0, class_transformer_1.Expose)({ name: "status" }),
|
|
208
236
|
__metadata("design:type", String)
|
|
209
237
|
], GetGenerationById200ApplicationJSONGenerations.prototype, "status", void 0);
|
|
210
238
|
return GetGenerationById200ApplicationJSONGenerations;
|
|
@@ -216,7 +244,9 @@ var GetGenerationById200ApplicationJSON = /** @class */ (function (_super) {
|
|
|
216
244
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
217
245
|
}
|
|
218
246
|
__decorate([
|
|
219
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
247
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
248
|
+
(0, class_transformer_1.Expose)({ name: "generations_by_pk" }),
|
|
249
|
+
(0, class_transformer_1.Type)(function () { return GetGenerationById200ApplicationJSONGenerations; }),
|
|
220
250
|
__metadata("design:type", GetGenerationById200ApplicationJSONGenerations)
|
|
221
251
|
], GetGenerationById200ApplicationJSON.prototype, "generationsByPk", void 0);
|
|
222
252
|
return GetGenerationById200ApplicationJSON;
|
|
@@ -235,6 +265,10 @@ var GetGenerationByIdResponse = /** @class */ (function (_super) {
|
|
|
235
265
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
236
266
|
__metadata("design:type", Number)
|
|
237
267
|
], GetGenerationByIdResponse.prototype, "statusCode", void 0);
|
|
268
|
+
__decorate([
|
|
269
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
270
|
+
__metadata("design:type", Object)
|
|
271
|
+
], GetGenerationByIdResponse.prototype, "rawResponse", void 0);
|
|
238
272
|
__decorate([
|
|
239
273
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
240
274
|
__metadata("design:type", GetGenerationById200ApplicationJSON)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import * as shared from "../shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
3
4
|
export declare class GetGenerationsByUserIdPathParams extends SpeakeasyBase {
|
|
4
5
|
userId: string;
|
|
5
6
|
}
|
|
@@ -57,5 +58,6 @@ export declare class GetGenerationsByUserId200ApplicationJSON extends SpeakeasyB
|
|
|
57
58
|
export declare class GetGenerationsByUserIdResponse extends SpeakeasyBase {
|
|
58
59
|
contentType: string;
|
|
59
60
|
statusCode: number;
|
|
61
|
+
rawResponse?: AxiosResponse;
|
|
60
62
|
getGenerationsByUserId200ApplicationJSONObject?: GetGenerationsByUserId200ApplicationJSON;
|
|
61
63
|
}
|
|
@@ -50,6 +50,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
50
50
|
exports.GetGenerationsByUserIdResponse = exports.GetGenerationsByUserId200ApplicationJSON = exports.GetGenerationsByUserId200ApplicationJSONGenerations = exports.GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages = exports.GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric = exports.GetGenerationsByUserIdRequest = exports.GetGenerationsByUserIdQueryParams = exports.GetGenerationsByUserIdPathParams = void 0;
|
|
51
51
|
var utils_1 = require("../../../internal/utils");
|
|
52
52
|
var shared = __importStar(require("../shared"));
|
|
53
|
+
var class_transformer_1 = require("class-transformer");
|
|
53
54
|
var GetGenerationsByUserIdPathParams = /** @class */ (function (_super) {
|
|
54
55
|
__extends(GetGenerationsByUserIdPathParams, _super);
|
|
55
56
|
function GetGenerationsByUserIdPathParams() {
|
|
@@ -104,19 +105,23 @@ var GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedI
|
|
|
104
105
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
105
106
|
}
|
|
106
107
|
__decorate([
|
|
107
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
108
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
109
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
108
110
|
__metadata("design:type", String)
|
|
109
111
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "id", void 0);
|
|
110
112
|
__decorate([
|
|
111
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
113
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
114
|
+
(0, class_transformer_1.Expose)({ name: "status" }),
|
|
112
115
|
__metadata("design:type", String)
|
|
113
116
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "status", void 0);
|
|
114
117
|
__decorate([
|
|
115
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
118
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
119
|
+
(0, class_transformer_1.Expose)({ name: "transformType" }),
|
|
116
120
|
__metadata("design:type", String)
|
|
117
121
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "transformType", void 0);
|
|
118
122
|
__decorate([
|
|
119
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
123
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
124
|
+
(0, class_transformer_1.Expose)({ name: "url" }),
|
|
120
125
|
__metadata("design:type", String)
|
|
121
126
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "url", void 0);
|
|
122
127
|
return GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric;
|
|
@@ -132,23 +137,29 @@ var GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages = /** @cl
|
|
|
132
137
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
133
138
|
}
|
|
134
139
|
__decorate([
|
|
135
|
-
(0, utils_1.SpeakeasyMetadata)({
|
|
140
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric }),
|
|
141
|
+
(0, class_transformer_1.Expose)({ name: "generated_image_variation_generics" }),
|
|
142
|
+
(0, class_transformer_1.Type)(function () { return GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric; }),
|
|
136
143
|
__metadata("design:type", Array)
|
|
137
144
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "generatedImageVariationGenerics", void 0);
|
|
138
145
|
__decorate([
|
|
139
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
146
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
147
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
140
148
|
__metadata("design:type", String)
|
|
141
149
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "id", void 0);
|
|
142
150
|
__decorate([
|
|
143
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
151
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
152
|
+
(0, class_transformer_1.Expose)({ name: "likeCount" }),
|
|
144
153
|
__metadata("design:type", Number)
|
|
145
154
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "likeCount", void 0);
|
|
146
155
|
__decorate([
|
|
147
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
156
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
157
|
+
(0, class_transformer_1.Expose)({ name: "nsfw" }),
|
|
148
158
|
__metadata("design:type", Boolean)
|
|
149
159
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "nsfw", void 0);
|
|
150
160
|
__decorate([
|
|
151
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
161
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
162
|
+
(0, class_transformer_1.Expose)({ name: "url" }),
|
|
152
163
|
__metadata("design:type", String)
|
|
153
164
|
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "url", void 0);
|
|
154
165
|
return GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages;
|
|
@@ -164,67 +175,84 @@ var GetGenerationsByUserId200ApplicationJSONGenerations = /** @class */ (functio
|
|
|
164
175
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
165
176
|
}
|
|
166
177
|
__decorate([
|
|
167
|
-
(0, utils_1.SpeakeasyMetadata)({
|
|
178
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages }),
|
|
179
|
+
(0, class_transformer_1.Expose)({ name: "generated_images" }),
|
|
180
|
+
(0, class_transformer_1.Type)(function () { return GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages; }),
|
|
168
181
|
__metadata("design:type", Array)
|
|
169
182
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "generatedImages", void 0);
|
|
170
183
|
__decorate([
|
|
171
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
184
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
185
|
+
(0, class_transformer_1.Expose)({ name: "guidanceScale" }),
|
|
172
186
|
__metadata("design:type", Number)
|
|
173
187
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "guidanceScale", void 0);
|
|
174
188
|
__decorate([
|
|
175
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
189
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
190
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
176
191
|
__metadata("design:type", String)
|
|
177
192
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "id", void 0);
|
|
178
193
|
__decorate([
|
|
179
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
194
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
195
|
+
(0, class_transformer_1.Expose)({ name: "imageHeight" }),
|
|
180
196
|
__metadata("design:type", Number)
|
|
181
197
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "imageHeight", void 0);
|
|
182
198
|
__decorate([
|
|
183
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
199
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
200
|
+
(0, class_transformer_1.Expose)({ name: "imageWidth" }),
|
|
184
201
|
__metadata("design:type", Number)
|
|
185
202
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "imageWidth", void 0);
|
|
186
203
|
__decorate([
|
|
187
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
204
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
205
|
+
(0, class_transformer_1.Expose)({ name: "inferenceSteps" }),
|
|
188
206
|
__metadata("design:type", Number)
|
|
189
207
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "inferenceSteps", void 0);
|
|
190
208
|
__decorate([
|
|
191
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
209
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
210
|
+
(0, class_transformer_1.Expose)({ name: "initStrength" }),
|
|
192
211
|
__metadata("design:type", Number)
|
|
193
212
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "initStrength", void 0);
|
|
194
213
|
__decorate([
|
|
195
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
214
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
215
|
+
(0, class_transformer_1.Expose)({ name: "modelId" }),
|
|
196
216
|
__metadata("design:type", String)
|
|
197
217
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "modelId", void 0);
|
|
198
218
|
__decorate([
|
|
199
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
219
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
220
|
+
(0, class_transformer_1.Expose)({ name: "negativePrompt" }),
|
|
200
221
|
__metadata("design:type", String)
|
|
201
222
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "negativePrompt", void 0);
|
|
202
223
|
__decorate([
|
|
203
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
224
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
225
|
+
(0, class_transformer_1.Expose)({ name: "presetStyle" }),
|
|
204
226
|
__metadata("design:type", String)
|
|
205
227
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "presetStyle", void 0);
|
|
206
228
|
__decorate([
|
|
207
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
229
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
230
|
+
(0, class_transformer_1.Expose)({ name: "prompt" }),
|
|
208
231
|
__metadata("design:type", String)
|
|
209
232
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "prompt", void 0);
|
|
210
233
|
__decorate([
|
|
211
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
234
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
235
|
+
(0, class_transformer_1.Expose)({ name: "public" }),
|
|
212
236
|
__metadata("design:type", Boolean)
|
|
213
237
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "public", void 0);
|
|
214
238
|
__decorate([
|
|
215
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
239
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
240
|
+
(0, class_transformer_1.Expose)({ name: "scheduler" }),
|
|
216
241
|
__metadata("design:type", String)
|
|
217
242
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "scheduler", void 0);
|
|
218
243
|
__decorate([
|
|
219
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
244
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
245
|
+
(0, class_transformer_1.Expose)({ name: "sdVersion" }),
|
|
220
246
|
__metadata("design:type", String)
|
|
221
247
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "sdVersion", void 0);
|
|
222
248
|
__decorate([
|
|
223
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
249
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
250
|
+
(0, class_transformer_1.Expose)({ name: "seed" }),
|
|
224
251
|
__metadata("design:type", Number)
|
|
225
252
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "seed", void 0);
|
|
226
253
|
__decorate([
|
|
227
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
254
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
255
|
+
(0, class_transformer_1.Expose)({ name: "status" }),
|
|
228
256
|
__metadata("design:type", String)
|
|
229
257
|
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "status", void 0);
|
|
230
258
|
return GetGenerationsByUserId200ApplicationJSONGenerations;
|
|
@@ -236,7 +264,9 @@ var GetGenerationsByUserId200ApplicationJSON = /** @class */ (function (_super)
|
|
|
236
264
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
237
265
|
}
|
|
238
266
|
__decorate([
|
|
239
|
-
(0, utils_1.SpeakeasyMetadata)({
|
|
267
|
+
(0, utils_1.SpeakeasyMetadata)({ elemType: GetGenerationsByUserId200ApplicationJSONGenerations }),
|
|
268
|
+
(0, class_transformer_1.Expose)({ name: "generations" }),
|
|
269
|
+
(0, class_transformer_1.Type)(function () { return GetGenerationsByUserId200ApplicationJSONGenerations; }),
|
|
240
270
|
__metadata("design:type", Array)
|
|
241
271
|
], GetGenerationsByUserId200ApplicationJSON.prototype, "generations", void 0);
|
|
242
272
|
return GetGenerationsByUserId200ApplicationJSON;
|
|
@@ -255,6 +285,10 @@ var GetGenerationsByUserIdResponse = /** @class */ (function (_super) {
|
|
|
255
285
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
256
286
|
__metadata("design:type", Number)
|
|
257
287
|
], GetGenerationsByUserIdResponse.prototype, "statusCode", void 0);
|
|
288
|
+
__decorate([
|
|
289
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
290
|
+
__metadata("design:type", Object)
|
|
291
|
+
], GetGenerationsByUserIdResponse.prototype, "rawResponse", void 0);
|
|
258
292
|
__decorate([
|
|
259
293
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
260
294
|
__metadata("design:type", GetGenerationsByUserId200ApplicationJSON)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import { AxiosResponse } from "axios";
|
|
2
3
|
export declare class GetInitImageByIdPathParams extends SpeakeasyBase {
|
|
3
4
|
id: string;
|
|
4
5
|
}
|
|
@@ -19,5 +20,6 @@ export declare class GetInitImageById200ApplicationJSON extends SpeakeasyBase {
|
|
|
19
20
|
export declare class GetInitImageByIdResponse extends SpeakeasyBase {
|
|
20
21
|
contentType: string;
|
|
21
22
|
statusCode: number;
|
|
23
|
+
rawResponse?: AxiosResponse;
|
|
22
24
|
getInitImageById200ApplicationJSONObject?: GetInitImageById200ApplicationJSON;
|
|
23
25
|
}
|
|
@@ -26,6 +26,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.GetInitImageByIdResponse = exports.GetInitImageById200ApplicationJSON = exports.GetInitImageById200ApplicationJSONInitImages = exports.GetInitImageByIdRequest = exports.GetInitImageByIdPathParams = void 0;
|
|
28
28
|
var utils_1 = require("../../../internal/utils");
|
|
29
|
+
var class_transformer_1 = require("class-transformer");
|
|
29
30
|
var GetInitImageByIdPathParams = /** @class */ (function (_super) {
|
|
30
31
|
__extends(GetInitImageByIdPathParams, _super);
|
|
31
32
|
function GetInitImageByIdPathParams() {
|
|
@@ -60,15 +61,18 @@ var GetInitImageById200ApplicationJSONInitImages = /** @class */ (function (_sup
|
|
|
60
61
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
61
62
|
}
|
|
62
63
|
__decorate([
|
|
63
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
64
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
65
|
+
(0, class_transformer_1.Expose)({ name: "createdAt" }),
|
|
64
66
|
__metadata("design:type", String)
|
|
65
67
|
], GetInitImageById200ApplicationJSONInitImages.prototype, "createdAt", void 0);
|
|
66
68
|
__decorate([
|
|
67
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
69
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
70
|
+
(0, class_transformer_1.Expose)({ name: "id" }),
|
|
68
71
|
__metadata("design:type", String)
|
|
69
72
|
], GetInitImageById200ApplicationJSONInitImages.prototype, "id", void 0);
|
|
70
73
|
__decorate([
|
|
71
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
74
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
75
|
+
(0, class_transformer_1.Expose)({ name: "url" }),
|
|
72
76
|
__metadata("design:type", String)
|
|
73
77
|
], GetInitImageById200ApplicationJSONInitImages.prototype, "url", void 0);
|
|
74
78
|
return GetInitImageById200ApplicationJSONInitImages;
|
|
@@ -80,7 +84,9 @@ var GetInitImageById200ApplicationJSON = /** @class */ (function (_super) {
|
|
|
80
84
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
81
85
|
}
|
|
82
86
|
__decorate([
|
|
83
|
-
(0, utils_1.SpeakeasyMetadata)(
|
|
87
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
88
|
+
(0, class_transformer_1.Expose)({ name: "init_images_by_pk" }),
|
|
89
|
+
(0, class_transformer_1.Type)(function () { return GetInitImageById200ApplicationJSONInitImages; }),
|
|
84
90
|
__metadata("design:type", GetInitImageById200ApplicationJSONInitImages)
|
|
85
91
|
], GetInitImageById200ApplicationJSON.prototype, "initImagesByPk", void 0);
|
|
86
92
|
return GetInitImageById200ApplicationJSON;
|
|
@@ -99,6 +105,10 @@ var GetInitImageByIdResponse = /** @class */ (function (_super) {
|
|
|
99
105
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
100
106
|
__metadata("design:type", Number)
|
|
101
107
|
], GetInitImageByIdResponse.prototype, "statusCode", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
110
|
+
__metadata("design:type", Object)
|
|
111
|
+
], GetInitImageByIdResponse.prototype, "rawResponse", void 0);
|
|
102
112
|
__decorate([
|
|
103
113
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
104
114
|
__metadata("design:type", GetInitImageById200ApplicationJSON)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import * as shared from "../shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
3
4
|
export declare class GetModelByIdPathParams extends SpeakeasyBase {
|
|
4
5
|
id: string;
|
|
5
6
|
}
|
|
@@ -29,5 +30,6 @@ export declare class GetModelById200ApplicationJSON extends SpeakeasyBase {
|
|
|
29
30
|
export declare class GetModelByIdResponse extends SpeakeasyBase {
|
|
30
31
|
contentType: string;
|
|
31
32
|
statusCode: number;
|
|
33
|
+
rawResponse?: AxiosResponse;
|
|
32
34
|
getModelById200ApplicationJSONObject?: GetModelById200ApplicationJSON;
|
|
33
35
|
}
|