@leonardo-ai/sdk 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +98 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +17 -0
  5. package/dist/internal/utils/contenttype.d.ts +1 -0
  6. package/dist/internal/utils/contenttype.js +30 -0
  7. package/dist/internal/utils/headers.d.ts +4 -0
  8. package/dist/internal/utils/headers.js +85 -0
  9. package/dist/internal/utils/index.d.ts +8 -0
  10. package/dist/internal/utils/index.js +24 -0
  11. package/dist/internal/utils/pathparams.d.ts +9 -0
  12. package/dist/internal/utils/pathparams.js +58 -0
  13. package/dist/internal/utils/queryparams.d.ts +3 -0
  14. package/dist/internal/utils/queryparams.js +104 -0
  15. package/dist/internal/utils/requestbody.d.ts +1 -0
  16. package/dist/internal/utils/requestbody.js +266 -0
  17. package/dist/internal/utils/retries.d.ts +20 -0
  18. package/dist/internal/utils/retries.js +223 -0
  19. package/dist/internal/utils/security.d.ts +2 -0
  20. package/dist/internal/utils/security.js +156 -0
  21. package/dist/internal/utils/utils.d.ts +19 -0
  22. package/dist/internal/utils/utils.js +202 -0
  23. package/dist/sdk/creatingdatasets.d.ts +41 -0
  24. package/dist/sdk/creatingdatasets.js +235 -0
  25. package/dist/sdk/generatingimages.d.ts +35 -0
  26. package/dist/sdk/generatingimages.js +182 -0
  27. package/dist/sdk/imagevariations.d.ts +23 -0
  28. package/dist/sdk/imagevariations.js +120 -0
  29. package/dist/sdk/index.d.ts +1 -0
  30. package/dist/sdk/index.js +17 -0
  31. package/dist/sdk/initimages.d.ts +29 -0
  32. package/dist/sdk/initimages.js +151 -0
  33. package/dist/sdk/models/operations/deletedatasetsid.d.ts +12 -0
  34. package/dist/sdk/models/operations/deletedatasetsid.js +72 -0
  35. package/dist/sdk/models/operations/deletegenerationsid.d.ts +12 -0
  36. package/dist/sdk/models/operations/deletegenerationsid.js +72 -0
  37. package/dist/sdk/models/operations/deleteinitimageid.d.ts +12 -0
  38. package/dist/sdk/models/operations/deleteinitimageid.js +72 -0
  39. package/dist/sdk/models/operations/deletemodelsid.d.ts +12 -0
  40. package/dist/sdk/models/operations/deletemodelsid.js +72 -0
  41. package/dist/sdk/models/operations/getdatasetsid.d.ts +12 -0
  42. package/dist/sdk/models/operations/getdatasetsid.js +72 -0
  43. package/dist/sdk/models/operations/getgenerationsid.d.ts +12 -0
  44. package/dist/sdk/models/operations/getgenerationsid.js +72 -0
  45. package/dist/sdk/models/operations/getgenerationsuseruserid.d.ts +17 -0
  46. package/dist/sdk/models/operations/getgenerationsuseruserid.js +92 -0
  47. package/dist/sdk/models/operations/getinitimageid.d.ts +12 -0
  48. package/dist/sdk/models/operations/getinitimageid.js +72 -0
  49. package/dist/sdk/models/operations/getme.d.ts +6 -0
  50. package/dist/sdk/models/operations/getme.js +48 -0
  51. package/dist/sdk/models/operations/getmodelsid.d.ts +12 -0
  52. package/dist/sdk/models/operations/getmodelsid.js +72 -0
  53. package/dist/sdk/models/operations/getvariationsid.d.ts +12 -0
  54. package/dist/sdk/models/operations/getvariationsid.js +72 -0
  55. package/dist/sdk/models/operations/index.d.ts +18 -0
  56. package/dist/sdk/models/operations/index.js +34 -0
  57. package/dist/sdk/models/operations/postdatasets.d.ts +13 -0
  58. package/dist/sdk/models/operations/postdatasets.js +76 -0
  59. package/dist/sdk/models/operations/postdatasetsdatasetidupload.d.ts +16 -0
  60. package/dist/sdk/models/operations/postdatasetsdatasetidupload.js +88 -0
  61. package/dist/sdk/models/operations/postdatasetsdatasetiduploadgen.d.ts +16 -0
  62. package/dist/sdk/models/operations/postdatasetsdatasetiduploadgen.js +88 -0
  63. package/dist/sdk/models/operations/postgenerations.d.ts +27 -0
  64. package/dist/sdk/models/operations/postgenerations.js +132 -0
  65. package/dist/sdk/models/operations/postinitimage.d.ts +12 -0
  66. package/dist/sdk/models/operations/postinitimage.js +72 -0
  67. package/dist/sdk/models/operations/postmodels.d.ts +20 -0
  68. package/dist/sdk/models/operations/postmodels.js +104 -0
  69. package/dist/sdk/models/operations/postvariationsupscale.d.ts +12 -0
  70. package/dist/sdk/models/operations/postvariationsupscale.js +72 -0
  71. package/dist/sdk/models/shared/index.d.ts +1 -0
  72. package/dist/sdk/models/shared/index.js +17 -0
  73. package/dist/sdk/models/shared/security.d.ts +7 -0
  74. package/dist/sdk/models/shared/security.js +52 -0
  75. package/dist/sdk/sdk.d.ts +29 -0
  76. package/dist/sdk/sdk.js +68 -0
  77. package/dist/sdk/trainingmodels.d.ts +29 -0
  78. package/dist/sdk/trainingmodels.js +151 -0
  79. package/dist/sdk/userinformation.d.ts +17 -0
  80. package/dist/sdk/userinformation.js +76 -0
  81. package/package.json +41 -0
@@ -0,0 +1,72 @@
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.DeleteGenerationsIdResponse = exports.DeleteGenerationsIdRequest = exports.DeleteGenerationsIdPathParams = void 0;
28
+ var utils_1 = require("../../../internal/utils");
29
+ var DeleteGenerationsIdPathParams = /** @class */ (function (_super) {
30
+ __extends(DeleteGenerationsIdPathParams, _super);
31
+ function DeleteGenerationsIdPathParams() {
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
+ ], DeleteGenerationsIdPathParams.prototype, "id", void 0);
38
+ return DeleteGenerationsIdPathParams;
39
+ }(utils_1.SpeakeasyBase));
40
+ exports.DeleteGenerationsIdPathParams = DeleteGenerationsIdPathParams;
41
+ var DeleteGenerationsIdRequest = /** @class */ (function (_super) {
42
+ __extends(DeleteGenerationsIdRequest, _super);
43
+ function DeleteGenerationsIdRequest() {
44
+ return _super !== null && _super.apply(this, arguments) || this;
45
+ }
46
+ __decorate([
47
+ (0, utils_1.SpeakeasyMetadata)(),
48
+ __metadata("design:type", DeleteGenerationsIdPathParams)
49
+ ], DeleteGenerationsIdRequest.prototype, "pathParams", void 0);
50
+ return DeleteGenerationsIdRequest;
51
+ }(utils_1.SpeakeasyBase));
52
+ exports.DeleteGenerationsIdRequest = DeleteGenerationsIdRequest;
53
+ var DeleteGenerationsIdResponse = /** @class */ (function (_super) {
54
+ __extends(DeleteGenerationsIdResponse, _super);
55
+ function DeleteGenerationsIdResponse() {
56
+ return _super !== null && _super.apply(this, arguments) || this;
57
+ }
58
+ __decorate([
59
+ (0, utils_1.SpeakeasyMetadata)(),
60
+ __metadata("design:type", String)
61
+ ], DeleteGenerationsIdResponse.prototype, "contentType", void 0);
62
+ __decorate([
63
+ (0, utils_1.SpeakeasyMetadata)(),
64
+ __metadata("design:type", Number)
65
+ ], DeleteGenerationsIdResponse.prototype, "statusCode", void 0);
66
+ __decorate([
67
+ (0, utils_1.SpeakeasyMetadata)(),
68
+ __metadata("design:type", Object)
69
+ ], DeleteGenerationsIdResponse.prototype, "deleteGenerationsId200ApplicationJSONAny", void 0);
70
+ return DeleteGenerationsIdResponse;
71
+ }(utils_1.SpeakeasyBase));
72
+ exports.DeleteGenerationsIdResponse = DeleteGenerationsIdResponse;
@@ -0,0 +1,12 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare class DeleteInitImageIdPathParams extends SpeakeasyBase {
3
+ id: string;
4
+ }
5
+ export declare class DeleteInitImageIdRequest extends SpeakeasyBase {
6
+ pathParams: DeleteInitImageIdPathParams;
7
+ }
8
+ export declare class DeleteInitImageIdResponse extends SpeakeasyBase {
9
+ contentType: string;
10
+ statusCode: number;
11
+ deleteInitImageId200ApplicationJSONAny?: any;
12
+ }
@@ -0,0 +1,72 @@
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.DeleteInitImageIdResponse = exports.DeleteInitImageIdRequest = exports.DeleteInitImageIdPathParams = void 0;
28
+ var utils_1 = require("../../../internal/utils");
29
+ var DeleteInitImageIdPathParams = /** @class */ (function (_super) {
30
+ __extends(DeleteInitImageIdPathParams, _super);
31
+ function DeleteInitImageIdPathParams() {
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
+ ], DeleteInitImageIdPathParams.prototype, "id", void 0);
38
+ return DeleteInitImageIdPathParams;
39
+ }(utils_1.SpeakeasyBase));
40
+ exports.DeleteInitImageIdPathParams = DeleteInitImageIdPathParams;
41
+ var DeleteInitImageIdRequest = /** @class */ (function (_super) {
42
+ __extends(DeleteInitImageIdRequest, _super);
43
+ function DeleteInitImageIdRequest() {
44
+ return _super !== null && _super.apply(this, arguments) || this;
45
+ }
46
+ __decorate([
47
+ (0, utils_1.SpeakeasyMetadata)(),
48
+ __metadata("design:type", DeleteInitImageIdPathParams)
49
+ ], DeleteInitImageIdRequest.prototype, "pathParams", void 0);
50
+ return DeleteInitImageIdRequest;
51
+ }(utils_1.SpeakeasyBase));
52
+ exports.DeleteInitImageIdRequest = DeleteInitImageIdRequest;
53
+ var DeleteInitImageIdResponse = /** @class */ (function (_super) {
54
+ __extends(DeleteInitImageIdResponse, _super);
55
+ function DeleteInitImageIdResponse() {
56
+ return _super !== null && _super.apply(this, arguments) || this;
57
+ }
58
+ __decorate([
59
+ (0, utils_1.SpeakeasyMetadata)(),
60
+ __metadata("design:type", String)
61
+ ], DeleteInitImageIdResponse.prototype, "contentType", void 0);
62
+ __decorate([
63
+ (0, utils_1.SpeakeasyMetadata)(),
64
+ __metadata("design:type", Number)
65
+ ], DeleteInitImageIdResponse.prototype, "statusCode", void 0);
66
+ __decorate([
67
+ (0, utils_1.SpeakeasyMetadata)(),
68
+ __metadata("design:type", Object)
69
+ ], DeleteInitImageIdResponse.prototype, "deleteInitImageId200ApplicationJSONAny", void 0);
70
+ return DeleteInitImageIdResponse;
71
+ }(utils_1.SpeakeasyBase));
72
+ exports.DeleteInitImageIdResponse = DeleteInitImageIdResponse;
@@ -0,0 +1,12 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare class DeleteModelsIdPathParams extends SpeakeasyBase {
3
+ id: string;
4
+ }
5
+ export declare class DeleteModelsIdRequest extends SpeakeasyBase {
6
+ pathParams: DeleteModelsIdPathParams;
7
+ }
8
+ export declare class DeleteModelsIdResponse extends SpeakeasyBase {
9
+ contentType: string;
10
+ statusCode: number;
11
+ deleteModelsId200ApplicationJSONAny?: any;
12
+ }
@@ -0,0 +1,72 @@
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.DeleteModelsIdResponse = exports.DeleteModelsIdRequest = exports.DeleteModelsIdPathParams = void 0;
28
+ var utils_1 = require("../../../internal/utils");
29
+ var DeleteModelsIdPathParams = /** @class */ (function (_super) {
30
+ __extends(DeleteModelsIdPathParams, _super);
31
+ function DeleteModelsIdPathParams() {
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
+ ], DeleteModelsIdPathParams.prototype, "id", void 0);
38
+ return DeleteModelsIdPathParams;
39
+ }(utils_1.SpeakeasyBase));
40
+ exports.DeleteModelsIdPathParams = DeleteModelsIdPathParams;
41
+ var DeleteModelsIdRequest = /** @class */ (function (_super) {
42
+ __extends(DeleteModelsIdRequest, _super);
43
+ function DeleteModelsIdRequest() {
44
+ return _super !== null && _super.apply(this, arguments) || this;
45
+ }
46
+ __decorate([
47
+ (0, utils_1.SpeakeasyMetadata)(),
48
+ __metadata("design:type", DeleteModelsIdPathParams)
49
+ ], DeleteModelsIdRequest.prototype, "pathParams", void 0);
50
+ return DeleteModelsIdRequest;
51
+ }(utils_1.SpeakeasyBase));
52
+ exports.DeleteModelsIdRequest = DeleteModelsIdRequest;
53
+ var DeleteModelsIdResponse = /** @class */ (function (_super) {
54
+ __extends(DeleteModelsIdResponse, _super);
55
+ function DeleteModelsIdResponse() {
56
+ return _super !== null && _super.apply(this, arguments) || this;
57
+ }
58
+ __decorate([
59
+ (0, utils_1.SpeakeasyMetadata)(),
60
+ __metadata("design:type", String)
61
+ ], DeleteModelsIdResponse.prototype, "contentType", void 0);
62
+ __decorate([
63
+ (0, utils_1.SpeakeasyMetadata)(),
64
+ __metadata("design:type", Number)
65
+ ], DeleteModelsIdResponse.prototype, "statusCode", void 0);
66
+ __decorate([
67
+ (0, utils_1.SpeakeasyMetadata)(),
68
+ __metadata("design:type", Object)
69
+ ], DeleteModelsIdResponse.prototype, "deleteModelsId200ApplicationJSONAny", void 0);
70
+ return DeleteModelsIdResponse;
71
+ }(utils_1.SpeakeasyBase));
72
+ exports.DeleteModelsIdResponse = DeleteModelsIdResponse;
@@ -0,0 +1,12 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare class GetDatasetsIdPathParams extends SpeakeasyBase {
3
+ id: string;
4
+ }
5
+ export declare class GetDatasetsIdRequest extends SpeakeasyBase {
6
+ pathParams: GetDatasetsIdPathParams;
7
+ }
8
+ export declare class GetDatasetsIdResponse extends SpeakeasyBase {
9
+ contentType: string;
10
+ statusCode: number;
11
+ getDatasetsId200ApplicationJSONAny?: any;
12
+ }
@@ -0,0 +1,72 @@
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.GetDatasetsIdResponse = exports.GetDatasetsIdRequest = exports.GetDatasetsIdPathParams = void 0;
28
+ var utils_1 = require("../../../internal/utils");
29
+ var GetDatasetsIdPathParams = /** @class */ (function (_super) {
30
+ __extends(GetDatasetsIdPathParams, _super);
31
+ function GetDatasetsIdPathParams() {
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
+ ], GetDatasetsIdPathParams.prototype, "id", void 0);
38
+ return GetDatasetsIdPathParams;
39
+ }(utils_1.SpeakeasyBase));
40
+ exports.GetDatasetsIdPathParams = GetDatasetsIdPathParams;
41
+ var GetDatasetsIdRequest = /** @class */ (function (_super) {
42
+ __extends(GetDatasetsIdRequest, _super);
43
+ function GetDatasetsIdRequest() {
44
+ return _super !== null && _super.apply(this, arguments) || this;
45
+ }
46
+ __decorate([
47
+ (0, utils_1.SpeakeasyMetadata)(),
48
+ __metadata("design:type", GetDatasetsIdPathParams)
49
+ ], GetDatasetsIdRequest.prototype, "pathParams", void 0);
50
+ return GetDatasetsIdRequest;
51
+ }(utils_1.SpeakeasyBase));
52
+ exports.GetDatasetsIdRequest = GetDatasetsIdRequest;
53
+ var GetDatasetsIdResponse = /** @class */ (function (_super) {
54
+ __extends(GetDatasetsIdResponse, _super);
55
+ function GetDatasetsIdResponse() {
56
+ return _super !== null && _super.apply(this, arguments) || this;
57
+ }
58
+ __decorate([
59
+ (0, utils_1.SpeakeasyMetadata)(),
60
+ __metadata("design:type", String)
61
+ ], GetDatasetsIdResponse.prototype, "contentType", void 0);
62
+ __decorate([
63
+ (0, utils_1.SpeakeasyMetadata)(),
64
+ __metadata("design:type", Number)
65
+ ], GetDatasetsIdResponse.prototype, "statusCode", void 0);
66
+ __decorate([
67
+ (0, utils_1.SpeakeasyMetadata)(),
68
+ __metadata("design:type", Object)
69
+ ], GetDatasetsIdResponse.prototype, "getDatasetsId200ApplicationJSONAny", void 0);
70
+ return GetDatasetsIdResponse;
71
+ }(utils_1.SpeakeasyBase));
72
+ exports.GetDatasetsIdResponse = GetDatasetsIdResponse;
@@ -0,0 +1,12 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare class GetGenerationsIdPathParams extends SpeakeasyBase {
3
+ id: string;
4
+ }
5
+ export declare class GetGenerationsIdRequest extends SpeakeasyBase {
6
+ pathParams: GetGenerationsIdPathParams;
7
+ }
8
+ export declare class GetGenerationsIdResponse extends SpeakeasyBase {
9
+ contentType: string;
10
+ statusCode: number;
11
+ getGenerationsId200ApplicationJSONAny?: any;
12
+ }
@@ -0,0 +1,72 @@
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.GetGenerationsIdResponse = exports.GetGenerationsIdRequest = exports.GetGenerationsIdPathParams = void 0;
28
+ var utils_1 = require("../../../internal/utils");
29
+ var GetGenerationsIdPathParams = /** @class */ (function (_super) {
30
+ __extends(GetGenerationsIdPathParams, _super);
31
+ function GetGenerationsIdPathParams() {
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
+ ], GetGenerationsIdPathParams.prototype, "id", void 0);
38
+ return GetGenerationsIdPathParams;
39
+ }(utils_1.SpeakeasyBase));
40
+ exports.GetGenerationsIdPathParams = GetGenerationsIdPathParams;
41
+ var GetGenerationsIdRequest = /** @class */ (function (_super) {
42
+ __extends(GetGenerationsIdRequest, _super);
43
+ function GetGenerationsIdRequest() {
44
+ return _super !== null && _super.apply(this, arguments) || this;
45
+ }
46
+ __decorate([
47
+ (0, utils_1.SpeakeasyMetadata)(),
48
+ __metadata("design:type", GetGenerationsIdPathParams)
49
+ ], GetGenerationsIdRequest.prototype, "pathParams", void 0);
50
+ return GetGenerationsIdRequest;
51
+ }(utils_1.SpeakeasyBase));
52
+ exports.GetGenerationsIdRequest = GetGenerationsIdRequest;
53
+ var GetGenerationsIdResponse = /** @class */ (function (_super) {
54
+ __extends(GetGenerationsIdResponse, _super);
55
+ function GetGenerationsIdResponse() {
56
+ return _super !== null && _super.apply(this, arguments) || this;
57
+ }
58
+ __decorate([
59
+ (0, utils_1.SpeakeasyMetadata)(),
60
+ __metadata("design:type", String)
61
+ ], GetGenerationsIdResponse.prototype, "contentType", void 0);
62
+ __decorate([
63
+ (0, utils_1.SpeakeasyMetadata)(),
64
+ __metadata("design:type", Number)
65
+ ], GetGenerationsIdResponse.prototype, "statusCode", void 0);
66
+ __decorate([
67
+ (0, utils_1.SpeakeasyMetadata)(),
68
+ __metadata("design:type", Object)
69
+ ], GetGenerationsIdResponse.prototype, "getGenerationsId200ApplicationJSONAny", void 0);
70
+ return GetGenerationsIdResponse;
71
+ }(utils_1.SpeakeasyBase));
72
+ exports.GetGenerationsIdResponse = GetGenerationsIdResponse;
@@ -0,0 +1,17 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare class GetGenerationsUserUserIdPathParams extends SpeakeasyBase {
3
+ userId: string;
4
+ }
5
+ export declare class GetGenerationsUserUserIdQueryParams extends SpeakeasyBase {
6
+ limit?: number;
7
+ offset?: number;
8
+ }
9
+ export declare class GetGenerationsUserUserIdRequest extends SpeakeasyBase {
10
+ pathParams: GetGenerationsUserUserIdPathParams;
11
+ queryParams: GetGenerationsUserUserIdQueryParams;
12
+ }
13
+ export declare class GetGenerationsUserUserIdResponse extends SpeakeasyBase {
14
+ contentType: string;
15
+ statusCode: number;
16
+ getGenerationsUserUserId200ApplicationJSONAny?: any;
17
+ }
@@ -0,0 +1,92 @@
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.GetGenerationsUserUserIdResponse = exports.GetGenerationsUserUserIdRequest = exports.GetGenerationsUserUserIdQueryParams = exports.GetGenerationsUserUserIdPathParams = void 0;
28
+ var utils_1 = require("../../../internal/utils");
29
+ var GetGenerationsUserUserIdPathParams = /** @class */ (function (_super) {
30
+ __extends(GetGenerationsUserUserIdPathParams, _super);
31
+ function GetGenerationsUserUserIdPathParams() {
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
+ ], GetGenerationsUserUserIdPathParams.prototype, "userId", void 0);
38
+ return GetGenerationsUserUserIdPathParams;
39
+ }(utils_1.SpeakeasyBase));
40
+ exports.GetGenerationsUserUserIdPathParams = GetGenerationsUserUserIdPathParams;
41
+ var GetGenerationsUserUserIdQueryParams = /** @class */ (function (_super) {
42
+ __extends(GetGenerationsUserUserIdQueryParams, _super);
43
+ function GetGenerationsUserUserIdQueryParams() {
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
+ ], GetGenerationsUserUserIdQueryParams.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
+ ], GetGenerationsUserUserIdQueryParams.prototype, "offset", void 0);
54
+ return GetGenerationsUserUserIdQueryParams;
55
+ }(utils_1.SpeakeasyBase));
56
+ exports.GetGenerationsUserUserIdQueryParams = GetGenerationsUserUserIdQueryParams;
57
+ var GetGenerationsUserUserIdRequest = /** @class */ (function (_super) {
58
+ __extends(GetGenerationsUserUserIdRequest, _super);
59
+ function GetGenerationsUserUserIdRequest() {
60
+ return _super !== null && _super.apply(this, arguments) || this;
61
+ }
62
+ __decorate([
63
+ (0, utils_1.SpeakeasyMetadata)(),
64
+ __metadata("design:type", GetGenerationsUserUserIdPathParams)
65
+ ], GetGenerationsUserUserIdRequest.prototype, "pathParams", void 0);
66
+ __decorate([
67
+ (0, utils_1.SpeakeasyMetadata)(),
68
+ __metadata("design:type", GetGenerationsUserUserIdQueryParams)
69
+ ], GetGenerationsUserUserIdRequest.prototype, "queryParams", void 0);
70
+ return GetGenerationsUserUserIdRequest;
71
+ }(utils_1.SpeakeasyBase));
72
+ exports.GetGenerationsUserUserIdRequest = GetGenerationsUserUserIdRequest;
73
+ var GetGenerationsUserUserIdResponse = /** @class */ (function (_super) {
74
+ __extends(GetGenerationsUserUserIdResponse, _super);
75
+ function GetGenerationsUserUserIdResponse() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ __decorate([
79
+ (0, utils_1.SpeakeasyMetadata)(),
80
+ __metadata("design:type", String)
81
+ ], GetGenerationsUserUserIdResponse.prototype, "contentType", void 0);
82
+ __decorate([
83
+ (0, utils_1.SpeakeasyMetadata)(),
84
+ __metadata("design:type", Number)
85
+ ], GetGenerationsUserUserIdResponse.prototype, "statusCode", void 0);
86
+ __decorate([
87
+ (0, utils_1.SpeakeasyMetadata)(),
88
+ __metadata("design:type", Object)
89
+ ], GetGenerationsUserUserIdResponse.prototype, "getGenerationsUserUserId200ApplicationJSONAny", void 0);
90
+ return GetGenerationsUserUserIdResponse;
91
+ }(utils_1.SpeakeasyBase));
92
+ exports.GetGenerationsUserUserIdResponse = GetGenerationsUserUserIdResponse;
@@ -0,0 +1,12 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare class GetInitImageIdPathParams extends SpeakeasyBase {
3
+ id: string;
4
+ }
5
+ export declare class GetInitImageIdRequest extends SpeakeasyBase {
6
+ pathParams: GetInitImageIdPathParams;
7
+ }
8
+ export declare class GetInitImageIdResponse extends SpeakeasyBase {
9
+ contentType: string;
10
+ statusCode: number;
11
+ getInitImageId200ApplicationJSONAny?: any;
12
+ }
@@ -0,0 +1,72 @@
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.GetInitImageIdResponse = exports.GetInitImageIdRequest = exports.GetInitImageIdPathParams = void 0;
28
+ var utils_1 = require("../../../internal/utils");
29
+ var GetInitImageIdPathParams = /** @class */ (function (_super) {
30
+ __extends(GetInitImageIdPathParams, _super);
31
+ function GetInitImageIdPathParams() {
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
+ ], GetInitImageIdPathParams.prototype, "id", void 0);
38
+ return GetInitImageIdPathParams;
39
+ }(utils_1.SpeakeasyBase));
40
+ exports.GetInitImageIdPathParams = GetInitImageIdPathParams;
41
+ var GetInitImageIdRequest = /** @class */ (function (_super) {
42
+ __extends(GetInitImageIdRequest, _super);
43
+ function GetInitImageIdRequest() {
44
+ return _super !== null && _super.apply(this, arguments) || this;
45
+ }
46
+ __decorate([
47
+ (0, utils_1.SpeakeasyMetadata)(),
48
+ __metadata("design:type", GetInitImageIdPathParams)
49
+ ], GetInitImageIdRequest.prototype, "pathParams", void 0);
50
+ return GetInitImageIdRequest;
51
+ }(utils_1.SpeakeasyBase));
52
+ exports.GetInitImageIdRequest = GetInitImageIdRequest;
53
+ var GetInitImageIdResponse = /** @class */ (function (_super) {
54
+ __extends(GetInitImageIdResponse, _super);
55
+ function GetInitImageIdResponse() {
56
+ return _super !== null && _super.apply(this, arguments) || this;
57
+ }
58
+ __decorate([
59
+ (0, utils_1.SpeakeasyMetadata)(),
60
+ __metadata("design:type", String)
61
+ ], GetInitImageIdResponse.prototype, "contentType", void 0);
62
+ __decorate([
63
+ (0, utils_1.SpeakeasyMetadata)(),
64
+ __metadata("design:type", Number)
65
+ ], GetInitImageIdResponse.prototype, "statusCode", void 0);
66
+ __decorate([
67
+ (0, utils_1.SpeakeasyMetadata)(),
68
+ __metadata("design:type", Object)
69
+ ], GetInitImageIdResponse.prototype, "getInitImageId200ApplicationJSONAny", void 0);
70
+ return GetInitImageIdResponse;
71
+ }(utils_1.SpeakeasyBase));
72
+ exports.GetInitImageIdResponse = GetInitImageIdResponse;
@@ -0,0 +1,6 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ export declare class GetMeResponse extends SpeakeasyBase {
3
+ contentType: string;
4
+ statusCode: number;
5
+ getMe200ApplicationJSONAny?: any;
6
+ }