@rixl/sdk 0.1.0 → 0.2.2
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 +163 -88
- package/dist/index.d.ts +1665 -5
- package/dist/index.js +1021 -5
- package/dist/index.js.map +1 -0
- package/package.json +34 -30
- package/dist/feeds/index.d.ts +0 -21
- package/dist/feeds/index.js +0 -21
- package/dist/feeds/item/creators/index.d.ts +0 -21
- package/dist/feeds/item/creators/index.js +0 -20
- package/dist/feeds/item/creators/item/index.d.ts +0 -42
- package/dist/feeds/item/creators/item/index.js +0 -28
- package/dist/feeds/item/index.d.ts +0 -58
- package/dist/feeds/item/index.js +0 -44
- package/dist/feeds/item/item/index.d.ts +0 -29
- package/dist/feeds/item/item/index.js +0 -28
- package/dist/images/index.d.ts +0 -68
- package/dist/images/index.js +0 -46
- package/dist/images/item/index.d.ts +0 -48
- package/dist/images/item/index.js +0 -43
- package/dist/images/upload/complete/index.d.ts +0 -35
- package/dist/images/upload/complete/index.js +0 -36
- package/dist/images/upload/index.d.ts +0 -24
- package/dist/images/upload/index.js +0 -24
- package/dist/images/upload/init/index.d.ts +0 -33
- package/dist/images/upload/init/index.js +0 -33
- package/dist/models/github_com_rixlhq_api_db_sqlc/index.d.ts +0 -13
- package/dist/models/github_com_rixlhq_api_db_sqlc/index.js +0 -16
- package/dist/models/github_com_rixlhq_api_internal_errors/index.d.ts +0 -37
- package/dist/models/github_com_rixlhq_api_internal_errors/index.js +0 -40
- package/dist/models/github_com_rixlhq_api_internal_videos/index.d.ts +0 -72
- package/dist/models/github_com_rixlhq_api_internal_videos/index.js +0 -65
- package/dist/models/github_com_rixlhq_api_internal_videos_handler_upload/index.d.ts +0 -70
- package/dist/models/github_com_rixlhq_api_internal_videos_handler_upload/index.js +0 -78
- package/dist/models/github_com_rixlhq_api_internal_videos_types/index.d.ts +0 -30
- package/dist/models/github_com_rixlhq_api_internal_videos_types/index.js +0 -38
- package/dist/models/index.d.ts +0 -548
- package/dist/models/index.js +0 -543
- package/dist/models/internal_images_handler/index.d.ts +0 -98
- package/dist/models/internal_images_handler/index.js +0 -112
- package/dist/models/internal_videos_handler_subtitles/index.d.ts +0 -30
- package/dist/models/internal_videos_handler_subtitles/index.js +0 -38
- package/dist/models/pagination/index.d.ts +0 -125
- package/dist/models/pagination/index.js +0 -153
- package/dist/rixlClient.d.ts +0 -34
- package/dist/rixlClient.js +0 -69
- package/dist/videos/index.d.ts +0 -73
- package/dist/videos/index.js +0 -52
- package/dist/videos/item/audioTracks/index.d.ts +0 -38
- package/dist/videos/item/audioTracks/index.js +0 -33
- package/dist/videos/item/audioTracks/item/index.d.ts +0 -70
- package/dist/videos/item/audioTracks/item/index.js +0 -67
- package/dist/videos/item/chapters/index.d.ts +0 -50
- package/dist/videos/item/chapters/index.js +0 -46
- package/dist/videos/item/delete/index.d.ts +0 -30
- package/dist/videos/item/delete/index.js +0 -28
- package/dist/videos/item/index.d.ts +0 -61
- package/dist/videos/item/index.js +0 -63
- package/dist/videos/item/subtitles/index.d.ts +0 -38
- package/dist/videos/item/subtitles/index.js +0 -33
- package/dist/videos/item/subtitles/item/index.d.ts +0 -70
- package/dist/videos/item/subtitles/item/index.js +0 -67
- package/dist/videos/item/thumbnail/index.d.ts +0 -59
- package/dist/videos/item/thumbnail/index.js +0 -68
- package/dist/videos/languages/index.d.ts +0 -27
- package/dist/videos/languages/index.js +0 -22
- package/dist/videos/upload/complete/index.d.ts +0 -35
- package/dist/videos/upload/complete/index.js +0 -36
- package/dist/videos/upload/index.d.ts +0 -24
- package/dist/videos/upload/index.js +0 -24
- package/dist/videos/upload/init/index.d.ts +0 -34
- package/dist/videos/upload/init/index.js +0 -35
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { type AdditionalDataHolder, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
-
/**
|
|
3
|
-
* Video upload completion request
|
|
4
|
-
*/
|
|
5
|
-
export interface CompleteRequest extends AdditionalDataHolder, Parsable {
|
|
6
|
-
/**
|
|
7
|
-
* The video_id property
|
|
8
|
-
*/
|
|
9
|
-
videoId?: string | null;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
13
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
14
|
-
* @returns {CompleteRequest}
|
|
15
|
-
*/
|
|
16
|
-
export declare function createCompleteRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
17
|
-
/**
|
|
18
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
-
* @returns {InitResponse}
|
|
21
|
-
*/
|
|
22
|
-
export declare function createInitResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
23
|
-
/**
|
|
24
|
-
* The deserialization information for the current model
|
|
25
|
-
* @param CompleteRequest The instance to deserialize into.
|
|
26
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
27
|
-
*/
|
|
28
|
-
export declare function deserializeIntoCompleteRequest(completeRequest?: Partial<CompleteRequest> | undefined): Record<string, (node: ParseNode) => void>;
|
|
29
|
-
/**
|
|
30
|
-
* The deserialization information for the current model
|
|
31
|
-
* @param InitResponse The instance to deserialize into.
|
|
32
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
33
|
-
*/
|
|
34
|
-
export declare function deserializeIntoInitResponse(initResponse?: Partial<InitResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
35
|
-
export interface InitResponse extends AdditionalDataHolder, Parsable {
|
|
36
|
-
/**
|
|
37
|
-
* The poster_id property
|
|
38
|
-
*/
|
|
39
|
-
posterId?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
* The poster_presigned_url property
|
|
42
|
-
*/
|
|
43
|
-
posterPresignedUrl?: string | null;
|
|
44
|
-
/**
|
|
45
|
-
* The upload_expires property
|
|
46
|
-
*/
|
|
47
|
-
uploadExpires?: number | null;
|
|
48
|
-
/**
|
|
49
|
-
* The video_id property
|
|
50
|
-
*/
|
|
51
|
-
videoId?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
* The video_presigned_url property
|
|
54
|
-
*/
|
|
55
|
-
videoPresignedUrl?: string | null;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Serializes information the current object
|
|
59
|
-
* @param CompleteRequest The instance to serialize from.
|
|
60
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
61
|
-
* @param writer Serialization writer to use to serialize this model
|
|
62
|
-
*/
|
|
63
|
-
export declare function serializeCompleteRequest(writer: SerializationWriter, completeRequest?: Partial<CompleteRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
64
|
-
/**
|
|
65
|
-
* Serializes information the current object
|
|
66
|
-
* @param InitResponse The instance to serialize from.
|
|
67
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
68
|
-
* @param writer Serialization writer to use to serialize this model
|
|
69
|
-
*/
|
|
70
|
-
export declare function serializeInitResponse(writer: SerializationWriter, initResponse?: Partial<InitResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
3
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
4
|
-
* @returns {CompleteRequest}
|
|
5
|
-
*/
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
export function createCompleteRequestFromDiscriminatorValue(parseNode) {
|
|
8
|
-
return deserializeIntoCompleteRequest;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
12
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
13
|
-
* @returns {InitResponse}
|
|
14
|
-
*/
|
|
15
|
-
// @ts-ignore
|
|
16
|
-
export function createInitResponseFromDiscriminatorValue(parseNode) {
|
|
17
|
-
return deserializeIntoInitResponse;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* The deserialization information for the current model
|
|
21
|
-
* @param CompleteRequest The instance to deserialize into.
|
|
22
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
23
|
-
*/
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
export function deserializeIntoCompleteRequest(completeRequest = {}) {
|
|
26
|
-
return {
|
|
27
|
-
"video_id": n => { completeRequest.videoId = n.getStringValue(); },
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* The deserialization information for the current model
|
|
32
|
-
* @param InitResponse The instance to deserialize into.
|
|
33
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
34
|
-
*/
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
export function deserializeIntoInitResponse(initResponse = {}) {
|
|
37
|
-
return {
|
|
38
|
-
"poster_id": n => { initResponse.posterId = n.getStringValue(); },
|
|
39
|
-
"poster_presigned_url": n => { initResponse.posterPresignedUrl = n.getStringValue(); },
|
|
40
|
-
"upload_expires": n => { initResponse.uploadExpires = n.getNumberValue(); },
|
|
41
|
-
"video_id": n => { initResponse.videoId = n.getStringValue(); },
|
|
42
|
-
"video_presigned_url": n => { initResponse.videoPresignedUrl = n.getStringValue(); },
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Serializes information the current object
|
|
47
|
-
* @param CompleteRequest The instance to serialize from.
|
|
48
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
49
|
-
* @param writer Serialization writer to use to serialize this model
|
|
50
|
-
*/
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
export function serializeCompleteRequest(writer, completeRequest = {}, isSerializingDerivedType = false) {
|
|
53
|
-
if (!completeRequest || isSerializingDerivedType) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
writer.writeStringValue("video_id", completeRequest.videoId);
|
|
57
|
-
writer.writeAdditionalData(completeRequest.additionalData);
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Serializes information the current object
|
|
61
|
-
* @param InitResponse The instance to serialize from.
|
|
62
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
63
|
-
* @param writer Serialization writer to use to serialize this model
|
|
64
|
-
*/
|
|
65
|
-
// @ts-ignore
|
|
66
|
-
export function serializeInitResponse(writer, initResponse = {}, isSerializingDerivedType = false) {
|
|
67
|
-
if (!initResponse || isSerializingDerivedType) {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
writer.writeStringValue("poster_id", initResponse.posterId);
|
|
71
|
-
writer.writeStringValue("poster_presigned_url", initResponse.posterPresignedUrl);
|
|
72
|
-
writer.writeNumberValue("upload_expires", initResponse.uploadExpires);
|
|
73
|
-
writer.writeStringValue("video_id", initResponse.videoId);
|
|
74
|
-
writer.writeStringValue("video_presigned_url", initResponse.videoPresignedUrl);
|
|
75
|
-
writer.writeAdditionalData(initResponse.additionalData);
|
|
76
|
-
}
|
|
77
|
-
/* tslint:enable */
|
|
78
|
-
/* eslint-enable */
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { type AdditionalDataHolder, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
-
export interface ChapterInput extends AdditionalDataHolder, Parsable {
|
|
3
|
-
/**
|
|
4
|
-
* The start_time_sec property
|
|
5
|
-
*/
|
|
6
|
-
startTimeSec?: number | null;
|
|
7
|
-
/**
|
|
8
|
-
* The title property
|
|
9
|
-
*/
|
|
10
|
-
title?: string | null;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
14
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15
|
-
* @returns {ChapterInput}
|
|
16
|
-
*/
|
|
17
|
-
export declare function createChapterInputFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
18
|
-
/**
|
|
19
|
-
* The deserialization information for the current model
|
|
20
|
-
* @param ChapterInput The instance to deserialize into.
|
|
21
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
22
|
-
*/
|
|
23
|
-
export declare function deserializeIntoChapterInput(chapterInput?: Partial<ChapterInput> | undefined): Record<string, (node: ParseNode) => void>;
|
|
24
|
-
/**
|
|
25
|
-
* Serializes information the current object
|
|
26
|
-
* @param ChapterInput The instance to serialize from.
|
|
27
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
28
|
-
* @param writer Serialization writer to use to serialize this model
|
|
29
|
-
*/
|
|
30
|
-
export declare function serializeChapterInput(writer: SerializationWriter, chapterInput?: Partial<ChapterInput> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
3
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
4
|
-
* @returns {ChapterInput}
|
|
5
|
-
*/
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
export function createChapterInputFromDiscriminatorValue(parseNode) {
|
|
8
|
-
return deserializeIntoChapterInput;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The deserialization information for the current model
|
|
12
|
-
* @param ChapterInput The instance to deserialize into.
|
|
13
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
14
|
-
*/
|
|
15
|
-
// @ts-ignore
|
|
16
|
-
export function deserializeIntoChapterInput(chapterInput = {}) {
|
|
17
|
-
return {
|
|
18
|
-
"start_time_sec": n => { chapterInput.startTimeSec = n.getNumberValue(); },
|
|
19
|
-
"title": n => { chapterInput.title = n.getStringValue(); },
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Serializes information the current object
|
|
24
|
-
* @param ChapterInput The instance to serialize from.
|
|
25
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
26
|
-
* @param writer Serialization writer to use to serialize this model
|
|
27
|
-
*/
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
export function serializeChapterInput(writer, chapterInput = {}, isSerializingDerivedType = false) {
|
|
30
|
-
if (!chapterInput || isSerializingDerivedType) {
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
writer.writeNumberValue("start_time_sec", chapterInput.startTimeSec);
|
|
34
|
-
writer.writeStringValue("title", chapterInput.title);
|
|
35
|
-
writer.writeAdditionalData(chapterInput.additionalData);
|
|
36
|
-
}
|
|
37
|
-
/* tslint:enable */
|
|
38
|
-
/* eslint-enable */
|