@parra/parra-js-sdk 0.3.565 → 0.3.567
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/dist/ParraAPI.d.ts +17 -7
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -55,6 +55,7 @@ export interface ImageAssetStub {
|
|
55
55
|
size: Size;
|
56
56
|
url: string;
|
57
57
|
blur_hash?: string | null;
|
58
|
+
alt_text?: string | null;
|
58
59
|
thumbnails?: ImageAssetThumbnails | null;
|
59
60
|
}
|
60
61
|
export interface TicketFeatured {
|
@@ -124,6 +125,7 @@ export interface ReleaseHeader {
|
|
124
125
|
size: Size;
|
125
126
|
url: string;
|
126
127
|
blur_hash?: string | null;
|
128
|
+
alt_text?: string | null;
|
127
129
|
thumbnails?: ImageAssetThumbnails | null;
|
128
130
|
}
|
129
131
|
export declare enum ReleaseType {
|
@@ -610,9 +612,23 @@ export interface ImageAsset {
|
|
610
612
|
group: string;
|
611
613
|
file_type: string;
|
612
614
|
mime_type: string;
|
615
|
+
alt_text?: string | null;
|
613
616
|
blur_hash?: string | null;
|
614
617
|
thumbnails?: ImageAssetThumbnails | null;
|
615
618
|
}
|
619
|
+
export interface CollectionResponse {
|
620
|
+
page: number;
|
621
|
+
page_count: number;
|
622
|
+
page_size: number;
|
623
|
+
total_count: number;
|
624
|
+
}
|
625
|
+
export interface ImageAssetCollectionResponse {
|
626
|
+
page: number;
|
627
|
+
page_count: number;
|
628
|
+
page_size: number;
|
629
|
+
total_count: number;
|
630
|
+
data: Array<ImageAsset>;
|
631
|
+
}
|
616
632
|
export interface UploadImageRequestBody {
|
617
633
|
image: File;
|
618
634
|
}
|
@@ -707,12 +723,6 @@ export interface ContentCard {
|
|
707
723
|
badge?: string | null;
|
708
724
|
action?: ContentCardAction | null;
|
709
725
|
}
|
710
|
-
export interface CollectionResponse {
|
711
|
-
page: number;
|
712
|
-
page_count: number;
|
713
|
-
page_size: number;
|
714
|
-
total_count: number;
|
715
|
-
}
|
716
726
|
export interface ContentCardCollectionResponse {
|
717
727
|
page: number;
|
718
728
|
page_count: number;
|
@@ -6415,7 +6425,7 @@ declare class ParraAPI {
|
|
6415
6425
|
ids?: string;
|
6416
6426
|
group?: string;
|
6417
6427
|
file_type?: string;
|
6418
|
-
}, options?: Options) => Promise<
|
6428
|
+
}, options?: Options) => Promise<ImageAssetCollectionResponse>;
|
6419
6429
|
uploadImageAssetForTenantById: (tenant_id: string, body?: UploadImageAssetRequestBody, options?: Options) => Promise<ImageAsset>;
|
6420
6430
|
uploadAvatarForUser: (body: UploadImageRequestBody, options?: Options) => Promise<ImageAssetStub>;
|
6421
6431
|
uploadAvatarForTenantUser: (tenant_id: string, body: UploadImageRequestBody, options?: Options) => Promise<ImageAssetStub>;
|