@adspireai/adspire-node-sdk 1.0.332 → 1.0.333
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.
|
@@ -93,6 +93,26 @@ export declare const ConnectorType: {
|
|
|
93
93
|
readonly PABBLY: "pabbly";
|
|
94
94
|
readonly ZAPIER: "zapier";
|
|
95
95
|
};
|
|
96
|
+
export type MediaGenerationFailureReason = 'content_rejected' | 'provider_error' | 'timed_out' | 'storage_failed' | 'unexpected_error';
|
|
97
|
+
export declare const MediaGenerationFailureReason: {
|
|
98
|
+
readonly CONTENT_REJECTED: "content_rejected";
|
|
99
|
+
readonly PROVIDER_ERROR: "provider_error";
|
|
100
|
+
readonly TIMED_OUT: "timed_out";
|
|
101
|
+
readonly STORAGE_FAILED: "storage_failed";
|
|
102
|
+
readonly UNEXPECTED_ERROR: "unexpected_error";
|
|
103
|
+
};
|
|
104
|
+
export type MediaGenerationStatus = 'pending' | 'processing' | 'completed' | 'failed';
|
|
105
|
+
export declare const MediaGenerationStatus: {
|
|
106
|
+
readonly PENDING: "pending";
|
|
107
|
+
readonly PROCESSING: "processing";
|
|
108
|
+
readonly COMPLETED: "completed";
|
|
109
|
+
readonly FAILED: "failed";
|
|
110
|
+
};
|
|
111
|
+
export type MediaGenerationType = 'image' | 'video';
|
|
112
|
+
export declare const MediaGenerationType: {
|
|
113
|
+
readonly IMAGE: "image";
|
|
114
|
+
readonly VIDEO: "video";
|
|
115
|
+
};
|
|
96
116
|
export type NotificationType = 'crawl_post_created' | 'repurpose_post_created' | 'preview_comment_created' | 'brand_extraction_completed' | 'brand_extraction_failed' | 'approval_request_approved' | 'approval_request_rejected';
|
|
97
117
|
export declare const NotificationType: {
|
|
98
118
|
readonly CRAWL_POST_CREATED: "crawl_post_created";
|
|
@@ -158,6 +178,37 @@ export declare const PostType: {
|
|
|
158
178
|
readonly ARTICLE: "article";
|
|
159
179
|
readonly DESIGN: "design";
|
|
160
180
|
};
|
|
181
|
+
export type StudioAssetType = 'character' | 'location' | 'object';
|
|
182
|
+
export declare const StudioAssetType: {
|
|
183
|
+
readonly CHARACTER: "character";
|
|
184
|
+
readonly LOCATION: "location";
|
|
185
|
+
readonly OBJECT: "object";
|
|
186
|
+
};
|
|
187
|
+
export type StudioSceneAnimationStatus = 'none' | 'pending' | 'generated' | 'failed';
|
|
188
|
+
export declare const StudioSceneAnimationStatus: {
|
|
189
|
+
readonly NONE: "none";
|
|
190
|
+
readonly PENDING: "pending";
|
|
191
|
+
readonly GENERATED: "generated";
|
|
192
|
+
readonly FAILED: "failed";
|
|
193
|
+
};
|
|
194
|
+
export type StudioSceneFrameStatus = 'draft' | 'pending' | 'generated' | 'failed';
|
|
195
|
+
export declare const StudioSceneFrameStatus: {
|
|
196
|
+
readonly DRAFT: "draft";
|
|
197
|
+
readonly PENDING: "pending";
|
|
198
|
+
readonly GENERATED: "generated";
|
|
199
|
+
readonly FAILED: "failed";
|
|
200
|
+
};
|
|
201
|
+
export type StudioSceneVersionKind = 'frame' | 'animation';
|
|
202
|
+
export declare const StudioSceneVersionKind: {
|
|
203
|
+
readonly FRAME: "frame";
|
|
204
|
+
readonly ANIMATION: "animation";
|
|
205
|
+
};
|
|
206
|
+
export type StudioStatus = 'draft' | 'active' | 'archived';
|
|
207
|
+
export declare const StudioStatus: {
|
|
208
|
+
readonly DRAFT: "draft";
|
|
209
|
+
readonly ACTIVE: "active";
|
|
210
|
+
readonly ARCHIVED: "archived";
|
|
211
|
+
};
|
|
161
212
|
export type UsageEventType = 'signup' | 'first_brand_created' | 'first_content_generated' | 'first_approval_sent' | 'team_member_invited' | 'upgrade_triggered';
|
|
162
213
|
export declare const UsageEventType: {
|
|
163
214
|
readonly SIGNUP: "signup";
|
|
@@ -613,6 +664,66 @@ export type CrawlUrlRequest = {
|
|
|
613
664
|
*/
|
|
614
665
|
whiteboard_id: string;
|
|
615
666
|
};
|
|
667
|
+
export type StudioStoreRequest = {
|
|
668
|
+
brand_id: string;
|
|
669
|
+
title: string;
|
|
670
|
+
status?: StudioStatus | null;
|
|
671
|
+
settings?: {
|
|
672
|
+
[key: string]: unknown;
|
|
673
|
+
} | null;
|
|
674
|
+
};
|
|
675
|
+
export type StudioAssetStoreRequest = {
|
|
676
|
+
type: StudioAssetType;
|
|
677
|
+
name: string;
|
|
678
|
+
reference_images?: Array<string> | null;
|
|
679
|
+
description?: string | null;
|
|
680
|
+
metadata?: {
|
|
681
|
+
[key: string]: unknown;
|
|
682
|
+
} | null;
|
|
683
|
+
};
|
|
684
|
+
export type StudioSceneAttachAssetRequest = {
|
|
685
|
+
studio_asset_id: string;
|
|
686
|
+
/**
|
|
687
|
+
* Scene-specific changes (e.g. expression, clothing) applied without changing the shared asset
|
|
688
|
+
*/
|
|
689
|
+
overrides?: {
|
|
690
|
+
[key: string]: unknown;
|
|
691
|
+
} | null;
|
|
692
|
+
};
|
|
693
|
+
export type StudioSceneGenerateAnimationRequest = {
|
|
694
|
+
/**
|
|
695
|
+
* Directly supplied animation clip (stub for the generation pipeline)
|
|
696
|
+
*/
|
|
697
|
+
video_url?: string | null;
|
|
698
|
+
};
|
|
699
|
+
export type StudioSceneGenerateFrameRequest = {
|
|
700
|
+
/**
|
|
701
|
+
* Idea/description prompt to queue frame generation
|
|
702
|
+
*/
|
|
703
|
+
prompt?: string | null;
|
|
704
|
+
/**
|
|
705
|
+
* Directly supplied image (upload or replace action)
|
|
706
|
+
*/
|
|
707
|
+
image_url?: string | null;
|
|
708
|
+
/**
|
|
709
|
+
* Use a previous scene's frame as a reference
|
|
710
|
+
*/
|
|
711
|
+
reference_scene_id?: string | null;
|
|
712
|
+
};
|
|
713
|
+
export type StudioSceneStoreRequest = {
|
|
714
|
+
title?: string | null;
|
|
715
|
+
prompt?: string | null;
|
|
716
|
+
camera?: {
|
|
717
|
+
[key: string]: unknown;
|
|
718
|
+
} | null;
|
|
719
|
+
duration_seconds?: number | null;
|
|
720
|
+
subject_action?: string | null;
|
|
721
|
+
end_frame_image_url?: string | null;
|
|
722
|
+
metadata?: {
|
|
723
|
+
[key: string]: unknown;
|
|
724
|
+
} | null;
|
|
725
|
+
order?: number | null;
|
|
726
|
+
};
|
|
616
727
|
export type UserStoreRequest = {
|
|
617
728
|
/**
|
|
618
729
|
* Full name of the user
|
|
@@ -1382,6 +1493,21 @@ export type PostGeneration = {
|
|
|
1382
1493
|
failure_reason?: PostGenerationFailureReason | null;
|
|
1383
1494
|
created_at?: string;
|
|
1384
1495
|
};
|
|
1496
|
+
export type StudioListItems = {
|
|
1497
|
+
id: string;
|
|
1498
|
+
brand_id?: string;
|
|
1499
|
+
brand_name?: string | null;
|
|
1500
|
+
workspace_id: string;
|
|
1501
|
+
title: string;
|
|
1502
|
+
status?: StudioStatus;
|
|
1503
|
+
scenes_count?: number;
|
|
1504
|
+
/**
|
|
1505
|
+
* Frame image from the first scene that has one
|
|
1506
|
+
*/
|
|
1507
|
+
cover_photo?: string | null;
|
|
1508
|
+
created_at?: string;
|
|
1509
|
+
updated_at?: string;
|
|
1510
|
+
};
|
|
1385
1511
|
export type Users = {
|
|
1386
1512
|
id?: string;
|
|
1387
1513
|
name?: string;
|
|
@@ -1579,6 +1705,84 @@ export type Packages = {
|
|
|
1579
1705
|
created_at?: string;
|
|
1580
1706
|
updated_at?: string;
|
|
1581
1707
|
};
|
|
1708
|
+
export type Studios = {
|
|
1709
|
+
id?: string;
|
|
1710
|
+
brand_id: string;
|
|
1711
|
+
workspace_id: string;
|
|
1712
|
+
title: string;
|
|
1713
|
+
status?: StudioStatus;
|
|
1714
|
+
settings?: {
|
|
1715
|
+
[key: string]: unknown;
|
|
1716
|
+
} | null;
|
|
1717
|
+
scenes?: Array<StudioScenes>;
|
|
1718
|
+
created_at?: string;
|
|
1719
|
+
updated_at?: string;
|
|
1720
|
+
};
|
|
1721
|
+
export type StudioAssets = {
|
|
1722
|
+
id?: string;
|
|
1723
|
+
brand_id: string;
|
|
1724
|
+
type: StudioAssetType;
|
|
1725
|
+
name: string;
|
|
1726
|
+
reference_images?: Array<string> | null;
|
|
1727
|
+
description?: string | null;
|
|
1728
|
+
/**
|
|
1729
|
+
* Type-specific fields: wardrobe/voice for characters, lighting/visual_style for locations, important appearance details for objects
|
|
1730
|
+
*/
|
|
1731
|
+
metadata?: {
|
|
1732
|
+
[key: string]: unknown;
|
|
1733
|
+
} | null;
|
|
1734
|
+
created_at?: string;
|
|
1735
|
+
updated_at?: string;
|
|
1736
|
+
};
|
|
1737
|
+
export type StudioScenes = {
|
|
1738
|
+
id?: string;
|
|
1739
|
+
studio_id: string;
|
|
1740
|
+
order?: number;
|
|
1741
|
+
title?: string | null;
|
|
1742
|
+
/**
|
|
1743
|
+
* Raw text including @mentions of referenced assets
|
|
1744
|
+
*/
|
|
1745
|
+
prompt?: string | null;
|
|
1746
|
+
frame_image_url?: string | null;
|
|
1747
|
+
frame_status?: StudioSceneFrameStatus;
|
|
1748
|
+
animation_video_url?: string | null;
|
|
1749
|
+
animation_status?: StudioSceneAnimationStatus;
|
|
1750
|
+
end_frame_image_url?: string | null;
|
|
1751
|
+
/**
|
|
1752
|
+
* e.g. {angle, movement}
|
|
1753
|
+
*/
|
|
1754
|
+
camera?: {
|
|
1755
|
+
[key: string]: unknown;
|
|
1756
|
+
} | null;
|
|
1757
|
+
duration_seconds?: number | null;
|
|
1758
|
+
subject_action?: string | null;
|
|
1759
|
+
/**
|
|
1760
|
+
* True when the frame changed after the current animation was generated
|
|
1761
|
+
*/
|
|
1762
|
+
is_animation_stale?: boolean;
|
|
1763
|
+
metadata?: {
|
|
1764
|
+
[key: string]: unknown;
|
|
1765
|
+
} | null;
|
|
1766
|
+
assets?: Array<{
|
|
1767
|
+
asset?: StudioAssets;
|
|
1768
|
+
/**
|
|
1769
|
+
* Scene-specific changes applied without changing the shared asset
|
|
1770
|
+
*/
|
|
1771
|
+
overrides?: {
|
|
1772
|
+
[key: string]: unknown;
|
|
1773
|
+
} | null;
|
|
1774
|
+
}>;
|
|
1775
|
+
versions?: Array<StudioSceneVersions>;
|
|
1776
|
+
created_at?: string;
|
|
1777
|
+
updated_at?: string;
|
|
1778
|
+
};
|
|
1779
|
+
export type StudioSceneVersions = {
|
|
1780
|
+
id?: string;
|
|
1781
|
+
kind?: StudioSceneVersionKind;
|
|
1782
|
+
url?: string | null;
|
|
1783
|
+
source_prompt?: string | null;
|
|
1784
|
+
created_at?: string;
|
|
1785
|
+
};
|
|
1582
1786
|
export type Whiteboards = {
|
|
1583
1787
|
id?: string;
|
|
1584
1788
|
campaign_id?: string | null;
|
|
@@ -1644,6 +1848,9 @@ export type WhiteboardPreviewPosts = {
|
|
|
1644
1848
|
keywords?: Array<string> | null;
|
|
1645
1849
|
notes?: string | null;
|
|
1646
1850
|
tags?: Array<string> | null;
|
|
1851
|
+
platform_metadata?: {
|
|
1852
|
+
[key: string]: unknown;
|
|
1853
|
+
} | null;
|
|
1647
1854
|
approval?: boolean;
|
|
1648
1855
|
audience?: Array<string> | null;
|
|
1649
1856
|
};
|
|
@@ -2690,6 +2897,584 @@ export type UpdateCompanyResponses = {
|
|
|
2690
2897
|
200: Companies;
|
|
2691
2898
|
};
|
|
2692
2899
|
export type UpdateCompanyResponse = UpdateCompanyResponses[keyof UpdateCompanyResponses];
|
|
2900
|
+
export type ListStudioAssetsData = {
|
|
2901
|
+
body?: never;
|
|
2902
|
+
path: {
|
|
2903
|
+
/**
|
|
2904
|
+
* Brand ID
|
|
2905
|
+
*/
|
|
2906
|
+
brand: string;
|
|
2907
|
+
};
|
|
2908
|
+
query?: {
|
|
2909
|
+
/**
|
|
2910
|
+
* Filter by type
|
|
2911
|
+
*/
|
|
2912
|
+
type?: StudioAssetType;
|
|
2913
|
+
};
|
|
2914
|
+
url: '/api/brands/{brand}/studio-assets';
|
|
2915
|
+
};
|
|
2916
|
+
export type ListStudioAssetsErrors = {
|
|
2917
|
+
/**
|
|
2918
|
+
* Invalid type value
|
|
2919
|
+
*/
|
|
2920
|
+
422: unknown;
|
|
2921
|
+
};
|
|
2922
|
+
export type ListStudioAssetsResponses = {
|
|
2923
|
+
/**
|
|
2924
|
+
* List of studio assets
|
|
2925
|
+
*/
|
|
2926
|
+
200: Array<StudioAssets>;
|
|
2927
|
+
};
|
|
2928
|
+
export type ListStudioAssetsResponse = ListStudioAssetsResponses[keyof ListStudioAssetsResponses];
|
|
2929
|
+
export type CreateStudioAssetData = {
|
|
2930
|
+
body: StudioAssetStoreRequest;
|
|
2931
|
+
path: {
|
|
2932
|
+
/**
|
|
2933
|
+
* Brand ID
|
|
2934
|
+
*/
|
|
2935
|
+
brand: string;
|
|
2936
|
+
};
|
|
2937
|
+
query?: never;
|
|
2938
|
+
url: '/api/brands/{brand}/studio-assets';
|
|
2939
|
+
};
|
|
2940
|
+
export type CreateStudioAssetErrors = {
|
|
2941
|
+
/**
|
|
2942
|
+
* Validation error
|
|
2943
|
+
*/
|
|
2944
|
+
422: unknown;
|
|
2945
|
+
};
|
|
2946
|
+
export type CreateStudioAssetResponses = {
|
|
2947
|
+
/**
|
|
2948
|
+
* Asset created
|
|
2949
|
+
*/
|
|
2950
|
+
201: StudioAssets;
|
|
2951
|
+
};
|
|
2952
|
+
export type CreateStudioAssetResponse = CreateStudioAssetResponses[keyof CreateStudioAssetResponses];
|
|
2953
|
+
export type DeleteStudioAssetData = {
|
|
2954
|
+
body?: never;
|
|
2955
|
+
path: {
|
|
2956
|
+
/**
|
|
2957
|
+
* Studio Asset ID
|
|
2958
|
+
*/
|
|
2959
|
+
studio_asset: string;
|
|
2960
|
+
};
|
|
2961
|
+
query?: never;
|
|
2962
|
+
url: '/api/studio-assets/{studio_asset}';
|
|
2963
|
+
};
|
|
2964
|
+
export type DeleteStudioAssetErrors = {
|
|
2965
|
+
/**
|
|
2966
|
+
* Forbidden
|
|
2967
|
+
*/
|
|
2968
|
+
403: unknown;
|
|
2969
|
+
};
|
|
2970
|
+
export type DeleteStudioAssetResponses = {
|
|
2971
|
+
/**
|
|
2972
|
+
* Asset deleted
|
|
2973
|
+
*/
|
|
2974
|
+
204: void;
|
|
2975
|
+
};
|
|
2976
|
+
export type DeleteStudioAssetResponse = DeleteStudioAssetResponses[keyof DeleteStudioAssetResponses];
|
|
2977
|
+
export type GetStudioAssetData = {
|
|
2978
|
+
body?: never;
|
|
2979
|
+
path: {
|
|
2980
|
+
/**
|
|
2981
|
+
* Studio Asset ID
|
|
2982
|
+
*/
|
|
2983
|
+
studio_asset: string;
|
|
2984
|
+
};
|
|
2985
|
+
query?: never;
|
|
2986
|
+
url: '/api/studio-assets/{studio_asset}';
|
|
2987
|
+
};
|
|
2988
|
+
export type GetStudioAssetErrors = {
|
|
2989
|
+
/**
|
|
2990
|
+
* Forbidden
|
|
2991
|
+
*/
|
|
2992
|
+
403: unknown;
|
|
2993
|
+
};
|
|
2994
|
+
export type GetStudioAssetResponses = {
|
|
2995
|
+
/**
|
|
2996
|
+
* Asset details
|
|
2997
|
+
*/
|
|
2998
|
+
200: StudioAssets;
|
|
2999
|
+
};
|
|
3000
|
+
export type GetStudioAssetResponse = GetStudioAssetResponses[keyof GetStudioAssetResponses];
|
|
3001
|
+
export type UpdateStudioAssetData = {
|
|
3002
|
+
body: {
|
|
3003
|
+
name?: string | null;
|
|
3004
|
+
reference_images?: Array<string> | null;
|
|
3005
|
+
description?: string | null;
|
|
3006
|
+
metadata?: {
|
|
3007
|
+
[key: string]: unknown;
|
|
3008
|
+
} | null;
|
|
3009
|
+
};
|
|
3010
|
+
path: {
|
|
3011
|
+
/**
|
|
3012
|
+
* Studio Asset ID
|
|
3013
|
+
*/
|
|
3014
|
+
studio_asset: string;
|
|
3015
|
+
};
|
|
3016
|
+
query?: never;
|
|
3017
|
+
url: '/api/studio-assets/{studio_asset}';
|
|
3018
|
+
};
|
|
3019
|
+
export type UpdateStudioAssetErrors = {
|
|
3020
|
+
/**
|
|
3021
|
+
* Forbidden
|
|
3022
|
+
*/
|
|
3023
|
+
403: unknown;
|
|
3024
|
+
};
|
|
3025
|
+
export type UpdateStudioAssetResponses = {
|
|
3026
|
+
/**
|
|
3027
|
+
* Asset updated
|
|
3028
|
+
*/
|
|
3029
|
+
200: StudioAssets;
|
|
3030
|
+
};
|
|
3031
|
+
export type UpdateStudioAssetResponse = UpdateStudioAssetResponses[keyof UpdateStudioAssetResponses];
|
|
3032
|
+
export type ListStudiosData = {
|
|
3033
|
+
body?: never;
|
|
3034
|
+
path?: never;
|
|
3035
|
+
query?: {
|
|
3036
|
+
/**
|
|
3037
|
+
* Filter by brand ID
|
|
3038
|
+
*/
|
|
3039
|
+
brand_id?: string;
|
|
3040
|
+
/**
|
|
3041
|
+
* Filter by status
|
|
3042
|
+
*/
|
|
3043
|
+
status?: StudioStatus;
|
|
3044
|
+
};
|
|
3045
|
+
url: '/api/studio';
|
|
3046
|
+
};
|
|
3047
|
+
export type ListStudiosErrors = {
|
|
3048
|
+
/**
|
|
3049
|
+
* No active workspace set, or invalid status value
|
|
3050
|
+
*/
|
|
3051
|
+
422: unknown;
|
|
3052
|
+
};
|
|
3053
|
+
export type ListStudiosResponses = {
|
|
3054
|
+
/**
|
|
3055
|
+
* List of studios
|
|
3056
|
+
*/
|
|
3057
|
+
200: Array<StudioListItems>;
|
|
3058
|
+
};
|
|
3059
|
+
export type ListStudiosResponse = ListStudiosResponses[keyof ListStudiosResponses];
|
|
3060
|
+
export type CreateStudioData = {
|
|
3061
|
+
body: StudioStoreRequest;
|
|
3062
|
+
path?: never;
|
|
3063
|
+
query?: never;
|
|
3064
|
+
url: '/api/studio';
|
|
3065
|
+
};
|
|
3066
|
+
export type CreateStudioErrors = {
|
|
3067
|
+
/**
|
|
3068
|
+
* No active workspace set, or validation error
|
|
3069
|
+
*/
|
|
3070
|
+
422: unknown;
|
|
3071
|
+
};
|
|
3072
|
+
export type CreateStudioResponses = {
|
|
3073
|
+
/**
|
|
3074
|
+
* Studio created
|
|
3075
|
+
*/
|
|
3076
|
+
201: Studios;
|
|
3077
|
+
};
|
|
3078
|
+
export type CreateStudioResponse = CreateStudioResponses[keyof CreateStudioResponses];
|
|
3079
|
+
export type DeleteStudioData = {
|
|
3080
|
+
body?: never;
|
|
3081
|
+
path: {
|
|
3082
|
+
/**
|
|
3083
|
+
* Studio ID
|
|
3084
|
+
*/
|
|
3085
|
+
studio: string;
|
|
3086
|
+
};
|
|
3087
|
+
query?: never;
|
|
3088
|
+
url: '/api/studio/{studio}';
|
|
3089
|
+
};
|
|
3090
|
+
export type DeleteStudioErrors = {
|
|
3091
|
+
/**
|
|
3092
|
+
* Forbidden
|
|
3093
|
+
*/
|
|
3094
|
+
403: unknown;
|
|
3095
|
+
};
|
|
3096
|
+
export type DeleteStudioResponses = {
|
|
3097
|
+
/**
|
|
3098
|
+
* Studio deleted
|
|
3099
|
+
*/
|
|
3100
|
+
204: void;
|
|
3101
|
+
};
|
|
3102
|
+
export type DeleteStudioResponse = DeleteStudioResponses[keyof DeleteStudioResponses];
|
|
3103
|
+
export type GetStudioData = {
|
|
3104
|
+
body?: never;
|
|
3105
|
+
path: {
|
|
3106
|
+
/**
|
|
3107
|
+
* Studio ID
|
|
3108
|
+
*/
|
|
3109
|
+
studio: string;
|
|
3110
|
+
};
|
|
3111
|
+
query?: never;
|
|
3112
|
+
url: '/api/studio/{studio}';
|
|
3113
|
+
};
|
|
3114
|
+
export type GetStudioErrors = {
|
|
3115
|
+
/**
|
|
3116
|
+
* Forbidden
|
|
3117
|
+
*/
|
|
3118
|
+
403: unknown;
|
|
3119
|
+
};
|
|
3120
|
+
export type GetStudioResponses = {
|
|
3121
|
+
/**
|
|
3122
|
+
* Studio details
|
|
3123
|
+
*/
|
|
3124
|
+
200: Studios;
|
|
3125
|
+
};
|
|
3126
|
+
export type GetStudioResponse = GetStudioResponses[keyof GetStudioResponses];
|
|
3127
|
+
export type UpdateStudioData = {
|
|
3128
|
+
body: {
|
|
3129
|
+
title?: string | null;
|
|
3130
|
+
status?: StudioStatus | null;
|
|
3131
|
+
settings?: {
|
|
3132
|
+
[key: string]: unknown;
|
|
3133
|
+
} | null;
|
|
3134
|
+
};
|
|
3135
|
+
path: {
|
|
3136
|
+
/**
|
|
3137
|
+
* Studio ID
|
|
3138
|
+
*/
|
|
3139
|
+
studio: string;
|
|
3140
|
+
};
|
|
3141
|
+
query?: never;
|
|
3142
|
+
url: '/api/studio/{studio}';
|
|
3143
|
+
};
|
|
3144
|
+
export type UpdateStudioErrors = {
|
|
3145
|
+
/**
|
|
3146
|
+
* Forbidden
|
|
3147
|
+
*/
|
|
3148
|
+
403: unknown;
|
|
3149
|
+
};
|
|
3150
|
+
export type UpdateStudioResponses = {
|
|
3151
|
+
/**
|
|
3152
|
+
* Studio updated
|
|
3153
|
+
*/
|
|
3154
|
+
200: Studios;
|
|
3155
|
+
};
|
|
3156
|
+
export type UpdateStudioResponse = UpdateStudioResponses[keyof UpdateStudioResponses];
|
|
3157
|
+
export type ListStudioScenesData = {
|
|
3158
|
+
body?: never;
|
|
3159
|
+
path: {
|
|
3160
|
+
/**
|
|
3161
|
+
* Studio ID
|
|
3162
|
+
*/
|
|
3163
|
+
studio: string;
|
|
3164
|
+
};
|
|
3165
|
+
query?: never;
|
|
3166
|
+
url: '/api/studio/{studio}/scenes';
|
|
3167
|
+
};
|
|
3168
|
+
export type ListStudioScenesErrors = {
|
|
3169
|
+
/**
|
|
3170
|
+
* Forbidden
|
|
3171
|
+
*/
|
|
3172
|
+
403: unknown;
|
|
3173
|
+
};
|
|
3174
|
+
export type ListStudioScenesResponses = {
|
|
3175
|
+
/**
|
|
3176
|
+
* List of studio scenes
|
|
3177
|
+
*/
|
|
3178
|
+
200: Array<StudioScenes>;
|
|
3179
|
+
};
|
|
3180
|
+
export type ListStudioScenesResponse = ListStudioScenesResponses[keyof ListStudioScenesResponses];
|
|
3181
|
+
export type CreateStudioSceneData = {
|
|
3182
|
+
body: StudioSceneStoreRequest;
|
|
3183
|
+
path: {
|
|
3184
|
+
/**
|
|
3185
|
+
* Studio ID
|
|
3186
|
+
*/
|
|
3187
|
+
studio: string;
|
|
3188
|
+
};
|
|
3189
|
+
query?: never;
|
|
3190
|
+
url: '/api/studio/{studio}/scenes';
|
|
3191
|
+
};
|
|
3192
|
+
export type CreateStudioSceneErrors = {
|
|
3193
|
+
/**
|
|
3194
|
+
* Forbidden
|
|
3195
|
+
*/
|
|
3196
|
+
403: unknown;
|
|
3197
|
+
/**
|
|
3198
|
+
* Validation error
|
|
3199
|
+
*/
|
|
3200
|
+
422: unknown;
|
|
3201
|
+
};
|
|
3202
|
+
export type CreateStudioSceneResponses = {
|
|
3203
|
+
/**
|
|
3204
|
+
* Scene created
|
|
3205
|
+
*/
|
|
3206
|
+
201: StudioScenes;
|
|
3207
|
+
};
|
|
3208
|
+
export type CreateStudioSceneResponse = CreateStudioSceneResponses[keyof CreateStudioSceneResponses];
|
|
3209
|
+
export type DeleteStudioSceneData = {
|
|
3210
|
+
body?: never;
|
|
3211
|
+
path: {
|
|
3212
|
+
/**
|
|
3213
|
+
* Studio ID
|
|
3214
|
+
*/
|
|
3215
|
+
studio: string;
|
|
3216
|
+
/**
|
|
3217
|
+
* Scene ID
|
|
3218
|
+
*/
|
|
3219
|
+
scene: string;
|
|
3220
|
+
};
|
|
3221
|
+
query?: never;
|
|
3222
|
+
url: '/api/studio/{studio}/scenes/{scene}';
|
|
3223
|
+
};
|
|
3224
|
+
export type DeleteStudioSceneErrors = {
|
|
3225
|
+
/**
|
|
3226
|
+
* Forbidden
|
|
3227
|
+
*/
|
|
3228
|
+
403: unknown;
|
|
3229
|
+
/**
|
|
3230
|
+
* Not found
|
|
3231
|
+
*/
|
|
3232
|
+
404: unknown;
|
|
3233
|
+
};
|
|
3234
|
+
export type DeleteStudioSceneResponses = {
|
|
3235
|
+
/**
|
|
3236
|
+
* Scene deleted
|
|
3237
|
+
*/
|
|
3238
|
+
204: void;
|
|
3239
|
+
};
|
|
3240
|
+
export type DeleteStudioSceneResponse = DeleteStudioSceneResponses[keyof DeleteStudioSceneResponses];
|
|
3241
|
+
export type GetStudioSceneData = {
|
|
3242
|
+
body?: never;
|
|
3243
|
+
path: {
|
|
3244
|
+
/**
|
|
3245
|
+
* Studio ID
|
|
3246
|
+
*/
|
|
3247
|
+
studio: string;
|
|
3248
|
+
/**
|
|
3249
|
+
* Scene ID
|
|
3250
|
+
*/
|
|
3251
|
+
scene: string;
|
|
3252
|
+
};
|
|
3253
|
+
query?: never;
|
|
3254
|
+
url: '/api/studio/{studio}/scenes/{scene}';
|
|
3255
|
+
};
|
|
3256
|
+
export type GetStudioSceneErrors = {
|
|
3257
|
+
/**
|
|
3258
|
+
* Forbidden
|
|
3259
|
+
*/
|
|
3260
|
+
403: unknown;
|
|
3261
|
+
/**
|
|
3262
|
+
* Not found
|
|
3263
|
+
*/
|
|
3264
|
+
404: unknown;
|
|
3265
|
+
};
|
|
3266
|
+
export type GetStudioSceneResponses = {
|
|
3267
|
+
/**
|
|
3268
|
+
* Scene details
|
|
3269
|
+
*/
|
|
3270
|
+
200: StudioScenes;
|
|
3271
|
+
};
|
|
3272
|
+
export type GetStudioSceneResponse = GetStudioSceneResponses[keyof GetStudioSceneResponses];
|
|
3273
|
+
export type UpdateStudioSceneData = {
|
|
3274
|
+
body: StudioSceneStoreRequest;
|
|
3275
|
+
path: {
|
|
3276
|
+
/**
|
|
3277
|
+
* Studio ID
|
|
3278
|
+
*/
|
|
3279
|
+
studio: string;
|
|
3280
|
+
/**
|
|
3281
|
+
* Scene ID
|
|
3282
|
+
*/
|
|
3283
|
+
scene: string;
|
|
3284
|
+
};
|
|
3285
|
+
query?: never;
|
|
3286
|
+
url: '/api/studio/{studio}/scenes/{scene}';
|
|
3287
|
+
};
|
|
3288
|
+
export type UpdateStudioSceneErrors = {
|
|
3289
|
+
/**
|
|
3290
|
+
* Forbidden
|
|
3291
|
+
*/
|
|
3292
|
+
403: unknown;
|
|
3293
|
+
/**
|
|
3294
|
+
* Not found
|
|
3295
|
+
*/
|
|
3296
|
+
404: unknown;
|
|
3297
|
+
};
|
|
3298
|
+
export type UpdateStudioSceneResponses = {
|
|
3299
|
+
/**
|
|
3300
|
+
* Scene updated
|
|
3301
|
+
*/
|
|
3302
|
+
200: StudioScenes;
|
|
3303
|
+
};
|
|
3304
|
+
export type UpdateStudioSceneResponse = UpdateStudioSceneResponses[keyof UpdateStudioSceneResponses];
|
|
3305
|
+
export type ReorderStudioScenesData = {
|
|
3306
|
+
body: {
|
|
3307
|
+
scenes: Array<{
|
|
3308
|
+
id: string;
|
|
3309
|
+
order: number;
|
|
3310
|
+
}>;
|
|
3311
|
+
};
|
|
3312
|
+
path: {
|
|
3313
|
+
/**
|
|
3314
|
+
* Studio ID
|
|
3315
|
+
*/
|
|
3316
|
+
studio: string;
|
|
3317
|
+
};
|
|
3318
|
+
query?: never;
|
|
3319
|
+
url: '/api/studio/{studio}/scenes/reorder';
|
|
3320
|
+
};
|
|
3321
|
+
export type ReorderStudioScenesErrors = {
|
|
3322
|
+
/**
|
|
3323
|
+
* Forbidden
|
|
3324
|
+
*/
|
|
3325
|
+
403: unknown;
|
|
3326
|
+
/**
|
|
3327
|
+
* Validation error
|
|
3328
|
+
*/
|
|
3329
|
+
422: unknown;
|
|
3330
|
+
};
|
|
3331
|
+
export type ReorderStudioScenesResponses = {
|
|
3332
|
+
/**
|
|
3333
|
+
* Scenes reordered
|
|
3334
|
+
*/
|
|
3335
|
+
200: Array<StudioScenes>;
|
|
3336
|
+
};
|
|
3337
|
+
export type ReorderStudioScenesResponse = ReorderStudioScenesResponses[keyof ReorderStudioScenesResponses];
|
|
3338
|
+
export type AttachStudioSceneAssetData = {
|
|
3339
|
+
body: StudioSceneAttachAssetRequest;
|
|
3340
|
+
path: {
|
|
3341
|
+
/**
|
|
3342
|
+
* Studio ID
|
|
3343
|
+
*/
|
|
3344
|
+
studio: string;
|
|
3345
|
+
/**
|
|
3346
|
+
* Scene ID
|
|
3347
|
+
*/
|
|
3348
|
+
scene: string;
|
|
3349
|
+
};
|
|
3350
|
+
query?: never;
|
|
3351
|
+
url: '/api/studio/{studio}/scenes/{scene}/assets';
|
|
3352
|
+
};
|
|
3353
|
+
export type AttachStudioSceneAssetErrors = {
|
|
3354
|
+
/**
|
|
3355
|
+
* Forbidden
|
|
3356
|
+
*/
|
|
3357
|
+
403: unknown;
|
|
3358
|
+
/**
|
|
3359
|
+
* Not found
|
|
3360
|
+
*/
|
|
3361
|
+
404: unknown;
|
|
3362
|
+
/**
|
|
3363
|
+
* Asset does not belong to this studio's brand
|
|
3364
|
+
*/
|
|
3365
|
+
422: unknown;
|
|
3366
|
+
};
|
|
3367
|
+
export type AttachStudioSceneAssetResponses = {
|
|
3368
|
+
/**
|
|
3369
|
+
* Asset attached
|
|
3370
|
+
*/
|
|
3371
|
+
200: StudioScenes;
|
|
3372
|
+
};
|
|
3373
|
+
export type AttachStudioSceneAssetResponse = AttachStudioSceneAssetResponses[keyof AttachStudioSceneAssetResponses];
|
|
3374
|
+
export type DetachStudioSceneAssetData = {
|
|
3375
|
+
body?: never;
|
|
3376
|
+
path: {
|
|
3377
|
+
/**
|
|
3378
|
+
* Studio ID
|
|
3379
|
+
*/
|
|
3380
|
+
studio: string;
|
|
3381
|
+
/**
|
|
3382
|
+
* Scene ID
|
|
3383
|
+
*/
|
|
3384
|
+
scene: string;
|
|
3385
|
+
/**
|
|
3386
|
+
* Studio Asset ID
|
|
3387
|
+
*/
|
|
3388
|
+
studio_asset: string;
|
|
3389
|
+
};
|
|
3390
|
+
query?: never;
|
|
3391
|
+
url: '/api/studio/{studio}/scenes/{scene}/assets/{studio_asset}';
|
|
3392
|
+
};
|
|
3393
|
+
export type DetachStudioSceneAssetErrors = {
|
|
3394
|
+
/**
|
|
3395
|
+
* Forbidden
|
|
3396
|
+
*/
|
|
3397
|
+
403: unknown;
|
|
3398
|
+
/**
|
|
3399
|
+
* Not found
|
|
3400
|
+
*/
|
|
3401
|
+
404: unknown;
|
|
3402
|
+
};
|
|
3403
|
+
export type DetachStudioSceneAssetResponses = {
|
|
3404
|
+
/**
|
|
3405
|
+
* Asset detached
|
|
3406
|
+
*/
|
|
3407
|
+
204: void;
|
|
3408
|
+
};
|
|
3409
|
+
export type DetachStudioSceneAssetResponse = DetachStudioSceneAssetResponses[keyof DetachStudioSceneAssetResponses];
|
|
3410
|
+
export type GenerateStudioSceneFrameData = {
|
|
3411
|
+
body: StudioSceneGenerateFrameRequest;
|
|
3412
|
+
path: {
|
|
3413
|
+
/**
|
|
3414
|
+
* Studio ID
|
|
3415
|
+
*/
|
|
3416
|
+
studio: string;
|
|
3417
|
+
/**
|
|
3418
|
+
* Scene ID
|
|
3419
|
+
*/
|
|
3420
|
+
scene: string;
|
|
3421
|
+
};
|
|
3422
|
+
query?: never;
|
|
3423
|
+
url: '/api/studio/{studio}/scenes/{scene}/generate-frame';
|
|
3424
|
+
};
|
|
3425
|
+
export type GenerateStudioSceneFrameErrors = {
|
|
3426
|
+
/**
|
|
3427
|
+
* Forbidden
|
|
3428
|
+
*/
|
|
3429
|
+
403: unknown;
|
|
3430
|
+
/**
|
|
3431
|
+
* Not found
|
|
3432
|
+
*/
|
|
3433
|
+
404: unknown;
|
|
3434
|
+
};
|
|
3435
|
+
export type GenerateStudioSceneFrameResponses = {
|
|
3436
|
+
/**
|
|
3437
|
+
* Frame queued or applied
|
|
3438
|
+
*/
|
|
3439
|
+
200: StudioScenes;
|
|
3440
|
+
};
|
|
3441
|
+
export type GenerateStudioSceneFrameResponse = GenerateStudioSceneFrameResponses[keyof GenerateStudioSceneFrameResponses];
|
|
3442
|
+
export type GenerateStudioSceneAnimationData = {
|
|
3443
|
+
body: StudioSceneGenerateAnimationRequest;
|
|
3444
|
+
path: {
|
|
3445
|
+
/**
|
|
3446
|
+
* Studio ID
|
|
3447
|
+
*/
|
|
3448
|
+
studio: string;
|
|
3449
|
+
/**
|
|
3450
|
+
* Scene ID
|
|
3451
|
+
*/
|
|
3452
|
+
scene: string;
|
|
3453
|
+
};
|
|
3454
|
+
query?: never;
|
|
3455
|
+
url: '/api/studio/{studio}/scenes/{scene}/generate-animation';
|
|
3456
|
+
};
|
|
3457
|
+
export type GenerateStudioSceneAnimationErrors = {
|
|
3458
|
+
/**
|
|
3459
|
+
* Forbidden
|
|
3460
|
+
*/
|
|
3461
|
+
403: unknown;
|
|
3462
|
+
/**
|
|
3463
|
+
* Not found
|
|
3464
|
+
*/
|
|
3465
|
+
404: unknown;
|
|
3466
|
+
/**
|
|
3467
|
+
* A generated frame is required before animating this scene
|
|
3468
|
+
*/
|
|
3469
|
+
422: unknown;
|
|
3470
|
+
};
|
|
3471
|
+
export type GenerateStudioSceneAnimationResponses = {
|
|
3472
|
+
/**
|
|
3473
|
+
* Animation queued or applied
|
|
3474
|
+
*/
|
|
3475
|
+
200: StudioScenes;
|
|
3476
|
+
};
|
|
3477
|
+
export type GenerateStudioSceneAnimationResponse = GenerateStudioSceneAnimationResponses[keyof GenerateStudioSceneAnimationResponses];
|
|
2693
3478
|
export type ListWebhookEventsData = {
|
|
2694
3479
|
body?: never;
|
|
2695
3480
|
path?: never;
|