@cartesia/cartesia-js 2.1.9 → 2.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/Client.d.ts +3 -3
- package/Client.js +3 -3
- package/README.md +3 -3
- package/api/resources/apiStatus/client/Client.js +1 -1
- package/api/resources/auth/client/Client.d.ts +51 -0
- package/api/resources/auth/client/Client.js +126 -0
- package/api/resources/auth/client/index.d.ts +1 -0
- package/api/resources/auth/types/TokenGrant.d.ts +7 -0
- package/api/resources/auth/types/TokenRequest.d.ts +10 -0
- package/api/resources/auth/types/TokenResponse.d.ts +7 -0
- package/api/resources/auth/types/index.d.ts +3 -0
- package/{dist/api/resources/datasets/client → api/resources/auth/types}/index.js +3 -1
- package/api/resources/index.d.ts +2 -3
- package/api/resources/index.js +3 -4
- package/api/resources/infill/client/Client.d.ts +1 -1
- package/api/resources/infill/client/Client.js +2 -2
- package/api/resources/infill/client/requests/InfillBytesRequest.d.ts +2 -2
- package/api/resources/tts/types/Emotion.d.ts +6 -1
- package/api/resources/tts/types/Emotion.js +5 -0
- package/api/resources/tts/types/FlushId.d.ts +2 -2
- package/api/resources/tts/types/GenerationRequest.d.ts +3 -1
- package/api/resources/tts/types/TtsRequest.d.ts +1 -1
- package/api/resources/tts/types/WebSocketTtsRequest.d.ts +2 -1
- package/api/resources/voices/client/Client.js +8 -8
- package/core/websocket/ws.d.ts +1 -0
- package/core/websocket/ws.js +1 -1
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +3 -3
- package/dist/api/resources/apiStatus/client/Client.js +1 -1
- package/dist/api/resources/auth/client/Client.d.ts +51 -0
- package/dist/api/resources/auth/client/Client.js +126 -0
- package/dist/api/resources/auth/client/index.d.ts +1 -0
- package/dist/api/resources/auth/types/TokenGrant.d.ts +7 -0
- package/dist/api/resources/auth/types/TokenRequest.d.ts +10 -0
- package/dist/api/resources/auth/types/TokenResponse.d.ts +7 -0
- package/dist/api/resources/auth/types/index.d.ts +3 -0
- package/{api/resources/datasets/client → dist/api/resources/auth/types}/index.js +3 -1
- package/dist/api/resources/index.d.ts +2 -3
- package/dist/api/resources/index.js +3 -4
- package/dist/api/resources/infill/client/Client.d.ts +1 -1
- package/dist/api/resources/infill/client/Client.js +2 -2
- package/dist/api/resources/infill/client/requests/InfillBytesRequest.d.ts +2 -2
- package/dist/api/resources/tts/types/Emotion.d.ts +6 -1
- package/dist/api/resources/tts/types/Emotion.js +5 -0
- package/dist/api/resources/tts/types/FlushId.d.ts +2 -2
- package/dist/api/resources/tts/types/GenerationRequest.d.ts +3 -1
- package/dist/api/resources/tts/types/TtsRequest.d.ts +1 -1
- package/dist/api/resources/tts/types/WebSocketTtsRequest.d.ts +2 -1
- package/dist/api/resources/voices/client/Client.js +8 -8
- package/dist/core/websocket/ws.d.ts +1 -0
- package/dist/core/websocket/ws.js +1 -1
- package/dist/serialization/resources/{datasets/types/Dataset.d.ts → auth/types/TokenGrant.d.ts} +3 -5
- package/{serialization/resources/datasets/types/FilePurpose.js → dist/serialization/resources/auth/types/TokenGrant.js} +4 -2
- package/dist/serialization/resources/auth/types/TokenRequest.d.ts +14 -0
- package/dist/serialization/resources/{datasets/types/DatasetFile.js → auth/types/TokenRequest.js} +5 -5
- package/{serialization/resources/datasets/types/Dataset.d.ts → dist/serialization/resources/auth/types/TokenResponse.d.ts} +3 -5
- package/dist/serialization/resources/{datasets/types/CreateDatasetRequest.js → auth/types/TokenResponse.js} +3 -3
- package/dist/serialization/resources/auth/types/index.d.ts +3 -0
- package/dist/serialization/resources/auth/types/index.js +19 -0
- package/dist/serialization/resources/index.d.ts +2 -2
- package/dist/serialization/resources/index.js +3 -3
- package/dist/serialization/resources/tts/types/Emotion.d.ts +1 -1
- package/dist/serialization/resources/tts/types/Emotion.js +5 -0
- package/dist/serialization/resources/tts/types/GenerationRequest.d.ts +1 -0
- package/dist/serialization/resources/tts/types/GenerationRequest.js +1 -0
- package/dist/serialization/resources/tts/types/WebSocketTtsRequest.d.ts +1 -0
- package/dist/serialization/resources/tts/types/WebSocketTtsRequest.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/Websocket.js +8 -2
- package/package.json +1 -1
- package/reference.md +15 -85
- package/{dist/serialization/resources/datasets/types/CreateDatasetRequest.d.ts → serialization/resources/auth/types/TokenGrant.d.ts} +3 -3
- package/{dist/serialization/resources/datasets/types/FilePurpose.js → serialization/resources/auth/types/TokenGrant.js} +4 -2
- package/serialization/resources/auth/types/TokenRequest.d.ts +14 -0
- package/{dist/serialization/resources/datasets/types/Dataset.js → serialization/resources/auth/types/TokenRequest.js} +5 -5
- package/serialization/resources/{datasets/types/CreateDatasetRequest.d.ts → auth/types/TokenResponse.d.ts} +3 -3
- package/serialization/resources/{datasets/types/CreateDatasetRequest.js → auth/types/TokenResponse.js} +3 -3
- package/serialization/resources/auth/types/index.d.ts +3 -0
- package/serialization/resources/auth/types/index.js +19 -0
- package/serialization/resources/index.d.ts +2 -2
- package/serialization/resources/index.js +3 -3
- package/serialization/resources/tts/types/Emotion.d.ts +1 -1
- package/serialization/resources/tts/types/Emotion.js +5 -0
- package/serialization/resources/tts/types/GenerationRequest.d.ts +1 -0
- package/serialization/resources/tts/types/GenerationRequest.js +1 -0
- package/serialization/resources/tts/types/WebSocketTtsRequest.d.ts +1 -0
- package/serialization/resources/tts/types/WebSocketTtsRequest.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/Websocket.js +8 -2
- package/api/resources/datasets/client/Client.d.ts +0 -70
- package/api/resources/datasets/client/Client.js +0 -268
- package/api/resources/datasets/client/index.d.ts +0 -1
- package/api/resources/datasets/client/requests/UploadDatasetFileRequest.d.ts +0 -7
- package/api/resources/datasets/client/requests/index.d.ts +0 -1
- package/api/resources/datasets/types/CreateDatasetRequest.d.ts +0 -6
- package/api/resources/datasets/types/Dataset.d.ts +0 -8
- package/api/resources/datasets/types/DatasetFile.d.ts +0 -8
- package/api/resources/datasets/types/FilePurpose.d.ts +0 -7
- package/api/resources/datasets/types/FilePurpose.js +0 -9
- package/api/resources/datasets/types/PaginatedDatasetFiles.d.ts +0 -8
- package/api/resources/datasets/types/PaginatedDatasets.d.ts +0 -8
- package/api/resources/datasets/types/index.d.ts +0 -6
- package/api/resources/datasets/types/index.js +0 -22
- package/dist/api/resources/datasets/client/Client.d.ts +0 -70
- package/dist/api/resources/datasets/client/Client.js +0 -268
- package/dist/api/resources/datasets/client/index.d.ts +0 -1
- package/dist/api/resources/datasets/client/requests/UploadDatasetFileRequest.d.ts +0 -7
- package/dist/api/resources/datasets/client/requests/UploadDatasetFileRequest.js +0 -5
- package/dist/api/resources/datasets/client/requests/index.d.ts +0 -1
- package/dist/api/resources/datasets/types/CreateDatasetRequest.d.ts +0 -6
- package/dist/api/resources/datasets/types/CreateDatasetRequest.js +0 -5
- package/dist/api/resources/datasets/types/Dataset.d.ts +0 -8
- package/dist/api/resources/datasets/types/Dataset.js +0 -5
- package/dist/api/resources/datasets/types/DatasetFile.d.ts +0 -8
- package/dist/api/resources/datasets/types/DatasetFile.js +0 -5
- package/dist/api/resources/datasets/types/FilePurpose.d.ts +0 -7
- package/dist/api/resources/datasets/types/FilePurpose.js +0 -9
- package/dist/api/resources/datasets/types/PaginatedDatasetFiles.d.ts +0 -8
- package/dist/api/resources/datasets/types/PaginatedDatasetFiles.js +0 -5
- package/dist/api/resources/datasets/types/PaginatedDatasets.d.ts +0 -8
- package/dist/api/resources/datasets/types/PaginatedDatasets.js +0 -5
- package/dist/api/resources/datasets/types/index.d.ts +0 -6
- package/dist/api/resources/datasets/types/index.js +0 -22
- package/dist/serialization/resources/datasets/types/DatasetFile.d.ts +0 -14
- package/dist/serialization/resources/datasets/types/FilePurpose.d.ts +0 -10
- package/dist/serialization/resources/datasets/types/PaginatedDatasetFiles.d.ts +0 -14
- package/dist/serialization/resources/datasets/types/PaginatedDatasetFiles.js +0 -45
- package/dist/serialization/resources/datasets/types/PaginatedDatasets.d.ts +0 -14
- package/dist/serialization/resources/datasets/types/PaginatedDatasets.js +0 -45
- package/dist/serialization/resources/datasets/types/index.d.ts +0 -6
- package/dist/serialization/resources/datasets/types/index.js +0 -22
- package/serialization/resources/datasets/types/Dataset.js +0 -45
- package/serialization/resources/datasets/types/DatasetFile.d.ts +0 -14
- package/serialization/resources/datasets/types/DatasetFile.js +0 -45
- package/serialization/resources/datasets/types/FilePurpose.d.ts +0 -10
- package/serialization/resources/datasets/types/PaginatedDatasetFiles.d.ts +0 -14
- package/serialization/resources/datasets/types/PaginatedDatasetFiles.js +0 -45
- package/serialization/resources/datasets/types/PaginatedDatasets.d.ts +0 -14
- package/serialization/resources/datasets/types/PaginatedDatasets.js +0 -45
- package/serialization/resources/datasets/types/index.d.ts +0 -6
- package/serialization/resources/datasets/types/index.js +0 -22
- /package/api/resources/{datasets/client/requests → auth/client}/index.js +0 -0
- /package/api/resources/{datasets → auth}/index.d.ts +0 -0
- /package/api/resources/{datasets → auth}/index.js +0 -0
- /package/api/resources/{datasets/client/requests/UploadDatasetFileRequest.js → auth/types/TokenGrant.js} +0 -0
- /package/api/resources/{datasets/types/CreateDatasetRequest.js → auth/types/TokenRequest.js} +0 -0
- /package/api/resources/{datasets/types/Dataset.js → auth/types/TokenResponse.js} +0 -0
- /package/dist/api/resources/{datasets/client/requests → auth/client}/index.js +0 -0
- /package/dist/api/resources/{datasets → auth}/index.d.ts +0 -0
- /package/dist/api/resources/{datasets → auth}/index.js +0 -0
- /package/{api/resources/datasets/types/DatasetFile.js → dist/api/resources/auth/types/TokenGrant.js} +0 -0
- /package/{api/resources/datasets/types/PaginatedDatasetFiles.js → dist/api/resources/auth/types/TokenRequest.js} +0 -0
- /package/{api/resources/datasets/types/PaginatedDatasets.js → dist/api/resources/auth/types/TokenResponse.js} +0 -0
- /package/dist/serialization/resources/{datasets → auth}/index.d.ts +0 -0
- /package/dist/serialization/resources/{datasets → auth}/index.js +0 -0
- /package/serialization/resources/{datasets → auth}/index.d.ts +0 -0
- /package/serialization/resources/{datasets → auth}/index.js +0 -0
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Dataset = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.Dataset = core.serialization.object({
|
|
42
|
-
id: core.serialization.string(),
|
|
43
|
-
name: core.serialization.string(),
|
|
44
|
-
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
45
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Cartesia from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const DatasetFile: core.serialization.ObjectSchema<serializers.DatasetFile.Raw, Cartesia.DatasetFile>;
|
|
8
|
-
export declare namespace DatasetFile {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id: string;
|
|
11
|
-
filename: string;
|
|
12
|
-
created_at: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.DatasetFile = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.DatasetFile = core.serialization.object({
|
|
42
|
-
id: core.serialization.string(),
|
|
43
|
-
filename: core.serialization.string(),
|
|
44
|
-
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
45
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Cartesia from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const FilePurpose: core.serialization.Schema<serializers.FilePurpose.Raw, Cartesia.FilePurpose>;
|
|
8
|
-
export declare namespace FilePurpose {
|
|
9
|
-
type Raw = "fine_tune";
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Cartesia from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { DatasetFile } from "./DatasetFile";
|
|
8
|
-
export declare const PaginatedDatasetFiles: core.serialization.ObjectSchema<serializers.PaginatedDatasetFiles.Raw, Cartesia.PaginatedDatasetFiles>;
|
|
9
|
-
export declare namespace PaginatedDatasetFiles {
|
|
10
|
-
interface Raw {
|
|
11
|
-
data: DatasetFile.Raw[];
|
|
12
|
-
has_more: boolean;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.PaginatedDatasetFiles = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const DatasetFile_1 = require("./DatasetFile");
|
|
42
|
-
exports.PaginatedDatasetFiles = core.serialization.object({
|
|
43
|
-
data: core.serialization.list(DatasetFile_1.DatasetFile),
|
|
44
|
-
hasMore: core.serialization.property("has_more", core.serialization.boolean()),
|
|
45
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Cartesia from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { Dataset } from "./Dataset";
|
|
8
|
-
export declare const PaginatedDatasets: core.serialization.ObjectSchema<serializers.PaginatedDatasets.Raw, Cartesia.PaginatedDatasets>;
|
|
9
|
-
export declare namespace PaginatedDatasets {
|
|
10
|
-
interface Raw {
|
|
11
|
-
data: Dataset.Raw[];
|
|
12
|
-
has_more: boolean;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.PaginatedDatasets = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const Dataset_1 = require("./Dataset");
|
|
42
|
-
exports.PaginatedDatasets = core.serialization.object({
|
|
43
|
-
data: core.serialization.list(Dataset_1.Dataset),
|
|
44
|
-
hasMore: core.serialization.property("has_more", core.serialization.boolean()),
|
|
45
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Dataset"), exports);
|
|
18
|
-
__exportStar(require("./CreateDatasetRequest"), exports);
|
|
19
|
-
__exportStar(require("./DatasetFile"), exports);
|
|
20
|
-
__exportStar(require("./FilePurpose"), exports);
|
|
21
|
-
__exportStar(require("./PaginatedDatasets"), exports);
|
|
22
|
-
__exportStar(require("./PaginatedDatasetFiles"), exports);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/api/resources/{datasets/types/CreateDatasetRequest.js → auth/types/TokenRequest.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{api/resources/datasets/types/DatasetFile.js → dist/api/resources/auth/types/TokenGrant.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|