@leonardo-ai/sdk 1.1.1 → 1.2.0
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 +28 -27
- package/dist/sdk/{creatingdatasets.d.ts → dataset.d.ts} +13 -13
- package/dist/sdk/{creatingdatasets.js → dataset.js} +46 -46
- package/dist/sdk/{generatingimages.d.ts → generation.d.ts} +12 -12
- package/dist/sdk/{generatingimages.js → generation.js} +45 -45
- package/dist/sdk/{initimages.d.ts → initimage.d.ts} +5 -5
- package/dist/sdk/{initimages.js → initimage.js} +15 -15
- package/dist/sdk/{trainingmodels.d.ts → model.d.ts} +9 -9
- package/dist/sdk/{trainingmodels.js → model.js} +38 -38
- package/dist/sdk/models/operations/createdataset.d.ts +22 -0
- package/dist/sdk/models/operations/createdataset.js +104 -0
- package/dist/sdk/models/operations/creategeneration.d.ts +33 -0
- package/dist/sdk/models/operations/{postgenerations.js → creategeneration.js} +62 -38
- package/dist/sdk/models/operations/createmodel.d.ts +26 -0
- package/dist/sdk/models/operations/{postmodels.js → createmodel.js} +55 -31
- package/dist/sdk/models/operations/createvariationupscale.d.ts +18 -0
- package/dist/sdk/models/operations/createvariationupscale.js +96 -0
- package/dist/sdk/models/operations/deletedatasetsid.d.ts +10 -1
- package/dist/sdk/models/operations/deletedatasetsid.js +31 -3
- package/dist/sdk/models/operations/deletegenerationsid.d.ts +10 -1
- package/dist/sdk/models/operations/deletegenerationsid.js +31 -3
- package/dist/sdk/models/operations/deleteinitimageid.d.ts +10 -1
- package/dist/sdk/models/operations/deleteinitimageid.js +31 -3
- package/dist/sdk/models/operations/deletemodelsid.d.ts +10 -1
- package/dist/sdk/models/operations/deletemodelsid.js +31 -3
- package/dist/sdk/models/operations/getdatasetbyid.d.ts +34 -0
- package/dist/sdk/models/operations/getdatasetbyid.js +144 -0
- package/dist/sdk/models/operations/getgenerationbyid.d.ts +55 -0
- package/dist/sdk/models/operations/getgenerationbyid.js +220 -0
- package/dist/sdk/models/operations/getgenerationsbyuserid.d.ts +60 -0
- package/dist/sdk/models/operations/getgenerationsbyuserid.js +240 -0
- package/dist/sdk/models/operations/getinitimagebyid.d.ts +23 -0
- package/dist/sdk/models/operations/getinitimagebyid.js +108 -0
- package/dist/sdk/models/operations/getmodelbyid.d.ts +32 -0
- package/dist/sdk/models/operations/getmodelbyid.js +144 -0
- package/dist/sdk/models/operations/getuserself.d.ts +23 -0
- package/dist/sdk/models/operations/getuserself.js +100 -0
- package/dist/sdk/models/operations/getvariationbyid.d.ts +25 -0
- package/dist/sdk/models/operations/getvariationbyid.js +116 -0
- package/dist/sdk/models/operations/index.d.ts +14 -14
- package/dist/sdk/models/operations/index.js +14 -14
- package/dist/sdk/models/operations/uploaddatasetimage.d.ts +25 -0
- package/dist/sdk/models/operations/uploaddatasetimage.js +124 -0
- package/dist/sdk/models/operations/uploaddatasetimagefromgen.d.ts +22 -0
- package/dist/sdk/models/operations/uploaddatasetimagefromgen.js +112 -0
- package/dist/sdk/models/operations/uploadinitimage.d.ts +22 -0
- package/dist/sdk/models/operations/uploadinitimage.js +112 -0
- package/dist/sdk/sdk.d.ts +12 -12
- package/dist/sdk/sdk.js +13 -13
- package/dist/sdk/{userinformation.d.ts → user.d.ts} +3 -3
- package/dist/sdk/{userinformation.js → user.js} +8 -8
- package/dist/sdk/{imagevariations.d.ts → variation.d.ts} +7 -7
- package/dist/sdk/{imagevariations.js → variation.js} +30 -30
- package/package.json +2 -19
- package/dist/sdk/models/operations/getdatasetsid.d.ts +0 -12
- package/dist/sdk/models/operations/getdatasetsid.js +0 -72
- package/dist/sdk/models/operations/getgenerationsid.d.ts +0 -12
- package/dist/sdk/models/operations/getgenerationsid.js +0 -72
- package/dist/sdk/models/operations/getgenerationsuseruserid.d.ts +0 -17
- package/dist/sdk/models/operations/getgenerationsuseruserid.js +0 -92
- package/dist/sdk/models/operations/getinitimageid.d.ts +0 -12
- package/dist/sdk/models/operations/getinitimageid.js +0 -72
- package/dist/sdk/models/operations/getme.d.ts +0 -6
- package/dist/sdk/models/operations/getme.js +0 -48
- package/dist/sdk/models/operations/getmodelsid.d.ts +0 -12
- package/dist/sdk/models/operations/getmodelsid.js +0 -72
- package/dist/sdk/models/operations/getvariationsid.d.ts +0 -12
- package/dist/sdk/models/operations/getvariationsid.js +0 -72
- package/dist/sdk/models/operations/postdatasets.d.ts +0 -13
- package/dist/sdk/models/operations/postdatasets.js +0 -76
- package/dist/sdk/models/operations/postdatasetsdatasetidupload.d.ts +0 -16
- package/dist/sdk/models/operations/postdatasetsdatasetidupload.js +0 -88
- package/dist/sdk/models/operations/postdatasetsdatasetiduploadgen.d.ts +0 -16
- package/dist/sdk/models/operations/postdatasetsdatasetiduploadgen.js +0 -88
- package/dist/sdk/models/operations/postgenerations.d.ts +0 -27
- package/dist/sdk/models/operations/postinitimage.d.ts +0 -12
- package/dist/sdk/models/operations/postinitimage.js +0 -72
- package/dist/sdk/models/operations/postmodels.d.ts +0 -20
- package/dist/sdk/models/operations/postvariationsupscale.d.ts +0 -12
- package/dist/sdk/models/operations/postvariationsupscale.js +0 -72
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.GetGenerationsByUserIdResponse = exports.GetGenerationsByUserId200ApplicationJSON = exports.GetGenerationsByUserId200ApplicationJSONGenerations = exports.GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages = exports.GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric = exports.GetGenerationsByUserIdRequest = exports.GetGenerationsByUserIdQueryParams = exports.GetGenerationsByUserIdPathParams = void 0;
|
|
28
|
+
var utils_1 = require("../../../internal/utils");
|
|
29
|
+
var GetGenerationsByUserIdPathParams = /** @class */ (function (_super) {
|
|
30
|
+
__extends(GetGenerationsByUserIdPathParams, _super);
|
|
31
|
+
function GetGenerationsByUserIdPathParams() {
|
|
32
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=userId" }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], GetGenerationsByUserIdPathParams.prototype, "userId", void 0);
|
|
38
|
+
return GetGenerationsByUserIdPathParams;
|
|
39
|
+
}(utils_1.SpeakeasyBase));
|
|
40
|
+
exports.GetGenerationsByUserIdPathParams = GetGenerationsByUserIdPathParams;
|
|
41
|
+
var GetGenerationsByUserIdQueryParams = /** @class */ (function (_super) {
|
|
42
|
+
__extends(GetGenerationsByUserIdQueryParams, _super);
|
|
43
|
+
function GetGenerationsByUserIdQueryParams() {
|
|
44
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
45
|
+
}
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=limit" }),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], GetGenerationsByUserIdQueryParams.prototype, "limit", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=offset" }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], GetGenerationsByUserIdQueryParams.prototype, "offset", void 0);
|
|
54
|
+
return GetGenerationsByUserIdQueryParams;
|
|
55
|
+
}(utils_1.SpeakeasyBase));
|
|
56
|
+
exports.GetGenerationsByUserIdQueryParams = GetGenerationsByUserIdQueryParams;
|
|
57
|
+
var GetGenerationsByUserIdRequest = /** @class */ (function (_super) {
|
|
58
|
+
__extends(GetGenerationsByUserIdRequest, _super);
|
|
59
|
+
function GetGenerationsByUserIdRequest() {
|
|
60
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
61
|
+
}
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
64
|
+
__metadata("design:type", GetGenerationsByUserIdPathParams)
|
|
65
|
+
], GetGenerationsByUserIdRequest.prototype, "pathParams", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
68
|
+
__metadata("design:type", GetGenerationsByUserIdQueryParams)
|
|
69
|
+
], GetGenerationsByUserIdRequest.prototype, "queryParams", void 0);
|
|
70
|
+
return GetGenerationsByUserIdRequest;
|
|
71
|
+
}(utils_1.SpeakeasyBase));
|
|
72
|
+
exports.GetGenerationsByUserIdRequest = GetGenerationsByUserIdRequest;
|
|
73
|
+
// GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric
|
|
74
|
+
/**
|
|
75
|
+
* columns and relationships of "generated_image_variation_generic"
|
|
76
|
+
**/
|
|
77
|
+
var GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric = /** @class */ (function (_super) {
|
|
78
|
+
__extends(GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric, _super);
|
|
79
|
+
function GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric() {
|
|
80
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
81
|
+
}
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=id" }),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "id", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=status" }),
|
|
88
|
+
__metadata("design:type", Object)
|
|
89
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "status", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=transformType" }),
|
|
92
|
+
__metadata("design:type", Object)
|
|
93
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "transformType", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=url" }),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric.prototype, "url", void 0);
|
|
98
|
+
return GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric;
|
|
99
|
+
}(utils_1.SpeakeasyBase));
|
|
100
|
+
exports.GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric = GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric;
|
|
101
|
+
// GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages
|
|
102
|
+
/**
|
|
103
|
+
* columns and relationships of "generated_images"
|
|
104
|
+
**/
|
|
105
|
+
var GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages = /** @class */ (function (_super) {
|
|
106
|
+
__extends(GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages, _super);
|
|
107
|
+
function GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages() {
|
|
108
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
109
|
+
}
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=generated_image_variation_generics", elemType: GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImagesGeneratedImageVariationGeneric }),
|
|
112
|
+
__metadata("design:type", Array)
|
|
113
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "generatedImageVariationGenerics", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=id" }),
|
|
116
|
+
__metadata("design:type", String)
|
|
117
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "id", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=likeCount" }),
|
|
120
|
+
__metadata("design:type", Number)
|
|
121
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "likeCount", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=nsfw" }),
|
|
124
|
+
__metadata("design:type", Boolean)
|
|
125
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "nsfw", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=url" }),
|
|
128
|
+
__metadata("design:type", String)
|
|
129
|
+
], GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages.prototype, "url", void 0);
|
|
130
|
+
return GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages;
|
|
131
|
+
}(utils_1.SpeakeasyBase));
|
|
132
|
+
exports.GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages = GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages;
|
|
133
|
+
// GetGenerationsByUserId200ApplicationJSONGenerations
|
|
134
|
+
/**
|
|
135
|
+
* columns and relationships of "generations"
|
|
136
|
+
**/
|
|
137
|
+
var GetGenerationsByUserId200ApplicationJSONGenerations = /** @class */ (function (_super) {
|
|
138
|
+
__extends(GetGenerationsByUserId200ApplicationJSONGenerations, _super);
|
|
139
|
+
function GetGenerationsByUserId200ApplicationJSONGenerations() {
|
|
140
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
141
|
+
}
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=generated_images", elemType: GetGenerationsByUserId200ApplicationJSONGenerationsGeneratedImages }),
|
|
144
|
+
__metadata("design:type", Array)
|
|
145
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "generatedImages", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=guidanceScale" }),
|
|
148
|
+
__metadata("design:type", Object)
|
|
149
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "guidanceScale", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=id" }),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "id", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=imageHeight" }),
|
|
156
|
+
__metadata("design:type", Number)
|
|
157
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "imageHeight", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=imageWidth" }),
|
|
160
|
+
__metadata("design:type", Number)
|
|
161
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "imageWidth", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=inferenceSteps" }),
|
|
164
|
+
__metadata("design:type", Number)
|
|
165
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "inferenceSteps", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=initStrength" }),
|
|
168
|
+
__metadata("design:type", Object)
|
|
169
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "initStrength", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=modelId" }),
|
|
172
|
+
__metadata("design:type", String)
|
|
173
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "modelId", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=negativePrompt" }),
|
|
176
|
+
__metadata("design:type", String)
|
|
177
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "negativePrompt", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=presetStyle" }),
|
|
180
|
+
__metadata("design:type", Object)
|
|
181
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "presetStyle", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=prompt" }),
|
|
184
|
+
__metadata("design:type", String)
|
|
185
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "prompt", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=public" }),
|
|
188
|
+
__metadata("design:type", Boolean)
|
|
189
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "public", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=scheduler" }),
|
|
192
|
+
__metadata("design:type", Object)
|
|
193
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "scheduler", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=sdVersion" }),
|
|
196
|
+
__metadata("design:type", Object)
|
|
197
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "sdVersion", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=seed" }),
|
|
200
|
+
__metadata("design:type", Object)
|
|
201
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "seed", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=status" }),
|
|
204
|
+
__metadata("design:type", Object)
|
|
205
|
+
], GetGenerationsByUserId200ApplicationJSONGenerations.prototype, "status", void 0);
|
|
206
|
+
return GetGenerationsByUserId200ApplicationJSONGenerations;
|
|
207
|
+
}(utils_1.SpeakeasyBase));
|
|
208
|
+
exports.GetGenerationsByUserId200ApplicationJSONGenerations = GetGenerationsByUserId200ApplicationJSONGenerations;
|
|
209
|
+
var GetGenerationsByUserId200ApplicationJSON = /** @class */ (function (_super) {
|
|
210
|
+
__extends(GetGenerationsByUserId200ApplicationJSON, _super);
|
|
211
|
+
function GetGenerationsByUserId200ApplicationJSON() {
|
|
212
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
213
|
+
}
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=generations", elemType: GetGenerationsByUserId200ApplicationJSONGenerations }),
|
|
216
|
+
__metadata("design:type", Array)
|
|
217
|
+
], GetGenerationsByUserId200ApplicationJSON.prototype, "generations", void 0);
|
|
218
|
+
return GetGenerationsByUserId200ApplicationJSON;
|
|
219
|
+
}(utils_1.SpeakeasyBase));
|
|
220
|
+
exports.GetGenerationsByUserId200ApplicationJSON = GetGenerationsByUserId200ApplicationJSON;
|
|
221
|
+
var GetGenerationsByUserIdResponse = /** @class */ (function (_super) {
|
|
222
|
+
__extends(GetGenerationsByUserIdResponse, _super);
|
|
223
|
+
function GetGenerationsByUserIdResponse() {
|
|
224
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
225
|
+
}
|
|
226
|
+
__decorate([
|
|
227
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
228
|
+
__metadata("design:type", String)
|
|
229
|
+
], GetGenerationsByUserIdResponse.prototype, "contentType", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
232
|
+
__metadata("design:type", Number)
|
|
233
|
+
], GetGenerationsByUserIdResponse.prototype, "statusCode", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
236
|
+
__metadata("design:type", GetGenerationsByUserId200ApplicationJSON)
|
|
237
|
+
], GetGenerationsByUserIdResponse.prototype, "getGenerationsByUserId200ApplicationJSONObject", void 0);
|
|
238
|
+
return GetGenerationsByUserIdResponse;
|
|
239
|
+
}(utils_1.SpeakeasyBase));
|
|
240
|
+
exports.GetGenerationsByUserIdResponse = GetGenerationsByUserIdResponse;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
export declare class GetInitImageByIdPathParams extends SpeakeasyBase {
|
|
3
|
+
id: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class GetInitImageByIdRequest extends SpeakeasyBase {
|
|
6
|
+
pathParams: GetInitImageByIdPathParams;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* columns and relationships of "init_images"
|
|
10
|
+
**/
|
|
11
|
+
export declare class GetInitImageById200ApplicationJSONInitImages extends SpeakeasyBase {
|
|
12
|
+
createdAt?: any;
|
|
13
|
+
id?: string;
|
|
14
|
+
url?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class GetInitImageById200ApplicationJSON extends SpeakeasyBase {
|
|
17
|
+
initImagesByPk?: GetInitImageById200ApplicationJSONInitImages;
|
|
18
|
+
}
|
|
19
|
+
export declare class GetInitImageByIdResponse extends SpeakeasyBase {
|
|
20
|
+
contentType: string;
|
|
21
|
+
statusCode: number;
|
|
22
|
+
getInitImageById200ApplicationJSONObject?: GetInitImageById200ApplicationJSON;
|
|
23
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.GetInitImageByIdResponse = exports.GetInitImageById200ApplicationJSON = exports.GetInitImageById200ApplicationJSONInitImages = exports.GetInitImageByIdRequest = exports.GetInitImageByIdPathParams = void 0;
|
|
28
|
+
var utils_1 = require("../../../internal/utils");
|
|
29
|
+
var GetInitImageByIdPathParams = /** @class */ (function (_super) {
|
|
30
|
+
__extends(GetInitImageByIdPathParams, _super);
|
|
31
|
+
function GetInitImageByIdPathParams() {
|
|
32
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], GetInitImageByIdPathParams.prototype, "id", void 0);
|
|
38
|
+
return GetInitImageByIdPathParams;
|
|
39
|
+
}(utils_1.SpeakeasyBase));
|
|
40
|
+
exports.GetInitImageByIdPathParams = GetInitImageByIdPathParams;
|
|
41
|
+
var GetInitImageByIdRequest = /** @class */ (function (_super) {
|
|
42
|
+
__extends(GetInitImageByIdRequest, _super);
|
|
43
|
+
function GetInitImageByIdRequest() {
|
|
44
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
45
|
+
}
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
48
|
+
__metadata("design:type", GetInitImageByIdPathParams)
|
|
49
|
+
], GetInitImageByIdRequest.prototype, "pathParams", void 0);
|
|
50
|
+
return GetInitImageByIdRequest;
|
|
51
|
+
}(utils_1.SpeakeasyBase));
|
|
52
|
+
exports.GetInitImageByIdRequest = GetInitImageByIdRequest;
|
|
53
|
+
// GetInitImageById200ApplicationJSONInitImages
|
|
54
|
+
/**
|
|
55
|
+
* columns and relationships of "init_images"
|
|
56
|
+
**/
|
|
57
|
+
var GetInitImageById200ApplicationJSONInitImages = /** @class */ (function (_super) {
|
|
58
|
+
__extends(GetInitImageById200ApplicationJSONInitImages, _super);
|
|
59
|
+
function GetInitImageById200ApplicationJSONInitImages() {
|
|
60
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
61
|
+
}
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=createdAt" }),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], GetInitImageById200ApplicationJSONInitImages.prototype, "createdAt", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=id" }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], GetInitImageById200ApplicationJSONInitImages.prototype, "id", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=url" }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], GetInitImageById200ApplicationJSONInitImages.prototype, "url", void 0);
|
|
74
|
+
return GetInitImageById200ApplicationJSONInitImages;
|
|
75
|
+
}(utils_1.SpeakeasyBase));
|
|
76
|
+
exports.GetInitImageById200ApplicationJSONInitImages = GetInitImageById200ApplicationJSONInitImages;
|
|
77
|
+
var GetInitImageById200ApplicationJSON = /** @class */ (function (_super) {
|
|
78
|
+
__extends(GetInitImageById200ApplicationJSON, _super);
|
|
79
|
+
function GetInitImageById200ApplicationJSON() {
|
|
80
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
81
|
+
}
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=init_images_by_pk" }),
|
|
84
|
+
__metadata("design:type", GetInitImageById200ApplicationJSONInitImages)
|
|
85
|
+
], GetInitImageById200ApplicationJSON.prototype, "initImagesByPk", void 0);
|
|
86
|
+
return GetInitImageById200ApplicationJSON;
|
|
87
|
+
}(utils_1.SpeakeasyBase));
|
|
88
|
+
exports.GetInitImageById200ApplicationJSON = GetInitImageById200ApplicationJSON;
|
|
89
|
+
var GetInitImageByIdResponse = /** @class */ (function (_super) {
|
|
90
|
+
__extends(GetInitImageByIdResponse, _super);
|
|
91
|
+
function GetInitImageByIdResponse() {
|
|
92
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
93
|
+
}
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], GetInitImageByIdResponse.prototype, "contentType", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
100
|
+
__metadata("design:type", Number)
|
|
101
|
+
], GetInitImageByIdResponse.prototype, "statusCode", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
104
|
+
__metadata("design:type", GetInitImageById200ApplicationJSON)
|
|
105
|
+
], GetInitImageByIdResponse.prototype, "getInitImageById200ApplicationJSONObject", void 0);
|
|
106
|
+
return GetInitImageByIdResponse;
|
|
107
|
+
}(utils_1.SpeakeasyBase));
|
|
108
|
+
exports.GetInitImageByIdResponse = GetInitImageByIdResponse;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
export declare class GetModelByIdPathParams extends SpeakeasyBase {
|
|
3
|
+
id: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class GetModelByIdRequest extends SpeakeasyBase {
|
|
6
|
+
pathParams: GetModelByIdPathParams;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* columns and relationships of "custom_models"
|
|
10
|
+
**/
|
|
11
|
+
export declare class GetModelById200ApplicationJSONCustomModels extends SpeakeasyBase {
|
|
12
|
+
createdAt?: any;
|
|
13
|
+
description?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
instancePrompt?: string;
|
|
16
|
+
modelHeight?: number;
|
|
17
|
+
modelWidth?: number;
|
|
18
|
+
name?: string;
|
|
19
|
+
public?: boolean;
|
|
20
|
+
sdVersion?: any;
|
|
21
|
+
status?: any;
|
|
22
|
+
type?: any;
|
|
23
|
+
updatedAt?: any;
|
|
24
|
+
}
|
|
25
|
+
export declare class GetModelById200ApplicationJSON extends SpeakeasyBase {
|
|
26
|
+
customModelsByPk?: GetModelById200ApplicationJSONCustomModels;
|
|
27
|
+
}
|
|
28
|
+
export declare class GetModelByIdResponse extends SpeakeasyBase {
|
|
29
|
+
contentType: string;
|
|
30
|
+
statusCode: number;
|
|
31
|
+
getModelById200ApplicationJSONObject?: GetModelById200ApplicationJSON;
|
|
32
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.GetModelByIdResponse = exports.GetModelById200ApplicationJSON = exports.GetModelById200ApplicationJSONCustomModels = exports.GetModelByIdRequest = exports.GetModelByIdPathParams = void 0;
|
|
28
|
+
var utils_1 = require("../../../internal/utils");
|
|
29
|
+
var GetModelByIdPathParams = /** @class */ (function (_super) {
|
|
30
|
+
__extends(GetModelByIdPathParams, _super);
|
|
31
|
+
function GetModelByIdPathParams() {
|
|
32
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], GetModelByIdPathParams.prototype, "id", void 0);
|
|
38
|
+
return GetModelByIdPathParams;
|
|
39
|
+
}(utils_1.SpeakeasyBase));
|
|
40
|
+
exports.GetModelByIdPathParams = GetModelByIdPathParams;
|
|
41
|
+
var GetModelByIdRequest = /** @class */ (function (_super) {
|
|
42
|
+
__extends(GetModelByIdRequest, _super);
|
|
43
|
+
function GetModelByIdRequest() {
|
|
44
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
45
|
+
}
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
48
|
+
__metadata("design:type", GetModelByIdPathParams)
|
|
49
|
+
], GetModelByIdRequest.prototype, "pathParams", void 0);
|
|
50
|
+
return GetModelByIdRequest;
|
|
51
|
+
}(utils_1.SpeakeasyBase));
|
|
52
|
+
exports.GetModelByIdRequest = GetModelByIdRequest;
|
|
53
|
+
// GetModelById200ApplicationJSONCustomModels
|
|
54
|
+
/**
|
|
55
|
+
* columns and relationships of "custom_models"
|
|
56
|
+
**/
|
|
57
|
+
var GetModelById200ApplicationJSONCustomModels = /** @class */ (function (_super) {
|
|
58
|
+
__extends(GetModelById200ApplicationJSONCustomModels, _super);
|
|
59
|
+
function GetModelById200ApplicationJSONCustomModels() {
|
|
60
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
61
|
+
}
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=createdAt" }),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "createdAt", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=description" }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "description", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=id" }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "id", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=instancePrompt" }),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "instancePrompt", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=modelHeight" }),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "modelHeight", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=modelWidth" }),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "modelWidth", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=name" }),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "name", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=public" }),
|
|
92
|
+
__metadata("design:type", Boolean)
|
|
93
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "public", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=sdVersion" }),
|
|
96
|
+
__metadata("design:type", Object)
|
|
97
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "sdVersion", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=status" }),
|
|
100
|
+
__metadata("design:type", Object)
|
|
101
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "status", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=type" }),
|
|
104
|
+
__metadata("design:type", Object)
|
|
105
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "type", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=updatedAt" }),
|
|
108
|
+
__metadata("design:type", Object)
|
|
109
|
+
], GetModelById200ApplicationJSONCustomModels.prototype, "updatedAt", void 0);
|
|
110
|
+
return GetModelById200ApplicationJSONCustomModels;
|
|
111
|
+
}(utils_1.SpeakeasyBase));
|
|
112
|
+
exports.GetModelById200ApplicationJSONCustomModels = GetModelById200ApplicationJSONCustomModels;
|
|
113
|
+
var GetModelById200ApplicationJSON = /** @class */ (function (_super) {
|
|
114
|
+
__extends(GetModelById200ApplicationJSON, _super);
|
|
115
|
+
function GetModelById200ApplicationJSON() {
|
|
116
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
117
|
+
}
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "json, name=custom_models_by_pk" }),
|
|
120
|
+
__metadata("design:type", GetModelById200ApplicationJSONCustomModels)
|
|
121
|
+
], GetModelById200ApplicationJSON.prototype, "customModelsByPk", void 0);
|
|
122
|
+
return GetModelById200ApplicationJSON;
|
|
123
|
+
}(utils_1.SpeakeasyBase));
|
|
124
|
+
exports.GetModelById200ApplicationJSON = GetModelById200ApplicationJSON;
|
|
125
|
+
var GetModelByIdResponse = /** @class */ (function (_super) {
|
|
126
|
+
__extends(GetModelByIdResponse, _super);
|
|
127
|
+
function GetModelByIdResponse() {
|
|
128
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
129
|
+
}
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], GetModelByIdResponse.prototype, "contentType", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
136
|
+
__metadata("design:type", Number)
|
|
137
|
+
], GetModelByIdResponse.prototype, "statusCode", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
140
|
+
__metadata("design:type", GetModelById200ApplicationJSON)
|
|
141
|
+
], GetModelByIdResponse.prototype, "getModelById200ApplicationJSONObject", void 0);
|
|
142
|
+
return GetModelByIdResponse;
|
|
143
|
+
}(utils_1.SpeakeasyBase));
|
|
144
|
+
exports.GetModelByIdResponse = GetModelByIdResponse;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
/**
|
|
3
|
+
* columns and relationships of "users"
|
|
4
|
+
**/
|
|
5
|
+
export declare class GetUserSelf200ApplicationJSONUserDetailsUsers extends SpeakeasyBase {
|
|
6
|
+
id?: string;
|
|
7
|
+
username?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* columns and relationships of "user_details"
|
|
11
|
+
**/
|
|
12
|
+
export declare class GetUserSelf200ApplicationJSONUserDetails extends SpeakeasyBase {
|
|
13
|
+
showNsfw?: boolean;
|
|
14
|
+
user?: GetUserSelf200ApplicationJSONUserDetailsUsers;
|
|
15
|
+
}
|
|
16
|
+
export declare class GetUserSelf200ApplicationJSON extends SpeakeasyBase {
|
|
17
|
+
userDetails?: GetUserSelf200ApplicationJSONUserDetails[];
|
|
18
|
+
}
|
|
19
|
+
export declare class GetUserSelfResponse extends SpeakeasyBase {
|
|
20
|
+
contentType: string;
|
|
21
|
+
statusCode: number;
|
|
22
|
+
getUserSelf200ApplicationJSONObject?: GetUserSelf200ApplicationJSON;
|
|
23
|
+
}
|