@runwayml/sdk 4.27.0 → 4.29.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/CHANGELOG.md +18 -0
- package/README.md +2 -2
- package/package.json +1 -1
- package/resources/avatar-conversations.d.mts +1 -1
- package/resources/avatar-conversations.d.mts.map +1 -1
- package/resources/avatar-conversations.d.ts +1 -1
- package/resources/avatar-conversations.d.ts.map +1 -1
- package/resources/avatar-conversations.js +1 -1
- package/resources/avatar-conversations.js.map +1 -1
- package/resources/avatar-conversations.mjs +1 -1
- package/resources/avatar-conversations.mjs.map +1 -1
- package/resources/avatars.d.mts +2 -4
- package/resources/avatars.d.mts.map +1 -1
- package/resources/avatars.d.ts +2 -4
- package/resources/avatars.d.ts.map +1 -1
- package/resources/avatars.js +2 -4
- package/resources/avatars.js.map +1 -1
- package/resources/avatars.mjs +2 -4
- package/resources/avatars.mjs.map +1 -1
- package/resources/documents.d.mts +4 -10
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +4 -10
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +2 -8
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +2 -8
- package/resources/documents.mjs.map +1 -1
- package/resources/image-to-video.d.mts +72 -1
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +72 -1
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +52 -3
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +52 -3
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/webapp/audit-logs.d.mts +110 -16
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +110 -16
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/organization/webapp/audit-logs.js +1 -1
- package/resources/organization/webapp/audit-logs.js.map +1 -1
- package/resources/organization/webapp/audit-logs.mjs +1 -1
- package/resources/organization/webapp/audit-logs.mjs.map +1 -1
- package/resources/organization/webapp/webapp.d.mts +36 -1
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +36 -1
- package/resources/organization/webapp/webapp.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.js.map +1 -1
- package/resources/organization/webapp/webapp.mjs.map +1 -1
- package/resources/routers.d.mts +32 -26
- package/resources/routers.d.mts.map +1 -1
- package/resources/routers.d.ts +32 -26
- package/resources/routers.d.ts.map +1 -1
- package/resources/routers.js +2 -2
- package/resources/routers.js.map +1 -1
- package/resources/routers.mjs +2 -2
- package/resources/routers.mjs.map +1 -1
- package/resources/tasks.d.mts +2 -2
- package/resources/tasks.d.ts +2 -2
- package/resources/text-to-image.d.mts +122 -1
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +122 -1
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +71 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +71 -1
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +87 -1
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +87 -1
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +117 -3
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +117 -3
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/voices.d.mts +1 -1
- package/resources/voices.d.mts.map +1 -1
- package/resources/voices.d.ts +1 -1
- package/resources/voices.d.ts.map +1 -1
- package/resources/voices.js +1 -1
- package/resources/voices.js.map +1 -1
- package/resources/voices.mjs +1 -1
- package/resources/voices.mjs.map +1 -1
- package/src/resources/avatar-conversations.ts +1 -1
- package/src/resources/avatars.ts +2 -4
- package/src/resources/documents.ts +4 -10
- package/src/resources/image-to-video.ts +98 -1
- package/src/resources/organization/organization.ts +70 -1
- package/src/resources/organization/webapp/audit-logs.ts +226 -14
- package/src/resources/organization/webapp/webapp.ts +53 -1
- package/src/resources/routers.ts +38 -26
- package/src/resources/tasks.ts +2 -2
- package/src/resources/text-to-image.ts +221 -0
- package/src/resources/text-to-speech.ts +86 -0
- package/src/resources/text-to-video.ts +115 -1
- package/src/resources/video-to-video.ts +160 -3
- package/src/resources/voices.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -13,7 +13,7 @@ export declare class Organization extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Fetch credit usage data broken down by model and day for the organization
|
|
15
15
|
* associated with the API key used to make the request. Up to 90 days of data can
|
|
16
|
-
* be queried at a time.
|
|
16
|
+
* be queried at a time. Usage updates hourly; recent activity may not appear yet.
|
|
17
17
|
*/
|
|
18
18
|
retrieveUsage(body?: OrganizationRetrieveUsageParams | null | undefined, options?: RequestOptions): APIPromise<OrganizationRetrieveUsageResponse>;
|
|
19
19
|
}
|
|
@@ -88,7 +88,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
88
88
|
/**
|
|
89
89
|
* The list of models with usage during the queried time range.
|
|
90
90
|
*/
|
|
91
|
-
models: Array<'gen4.5' | 'gen3a_turbo' | 'gen4_turbo' | 'ideogram_vector' | 'recraft_v4_1_vector' | 'gen4_image' | 'gen4_image_turbo' | 'gpt_image_2' | 'gpt_image_2_5_flare' | 'gpt_image_2_5_sunburst' | 'gpt_image_2_6_flare' | 'gpt_image_2_6_sunburst' | 'act_two' | 'gen4_aleph' | 'veo3' | 'veo3.1' | 'veo3.1_fast' | 'gemini_2.5_flash' | 'gemini_image3_pro' | 'gemini_image3.1_flash' | 'gemini_image3.1_flash_lite' | 'nano_banana_2.1' | 'recraft_v4_1_flash' | 'seedream5_pro_layers' | 'seedream5_pro' | 'seedream5_flash' | 'seedream5_lite' | 'gemini_omni_flash' | 'gemini_omni_flash_1.2' | 'gemini_omni_flash_1.1' | 'eleven_multilingual_v2' | 'seed_audio' | 'eleven_v3' | 'eleven_v4' | 'eleven_text_to_sound_v2' | 'mirelo_sfx_2_0' | 'eleven_music_v2_5' | 'eleven_voice_isolation' | 'eleven_voice_dubbing' | 'eleven_multilingual_sts_v2' | 'eleven_scribe_v2' | 'gwm1_avatars' | 'gwm1_avatar_async_audio_to_video' | 'gwm1_avatar_async_text_to_video' | 'voice_processing' | 'seedance2' | 'seedance2_5' | 'seedance2_fast' | 'seedance2_mini' | 'hailuo3' | 'hailuo3_highspeed' | 'hailuo3_lite' | 'h3_max' | 'wan3' | 'wan3_prime' | 'grok_imagine_1_5' | 'grok_imagine_1_5_lite' | 'grok_imagine_image_2' | 'muse_image' | 'bria_fibo_1_5' | 'bria_fibo_edit_1_5' | 'ideogram_4_0' | 'ideogram_4_5' | 'magnific_precision_upscaler_v2' | 'magnific_video_upscaler_creative' | 'ruby' | 'enhance_frame_rate' | 'kling2.5_turbo_pro' | 'kling_4_flash' | 'kling_4' | 'kling3.0_pro' | 'kling3.0_4k' | 'kling3.0_standard' | 'klingO3_pro' | 'klingO3_standard' | 'klingO3_4k' | 'happyhorse_1_0' | 'aleph2' | 'product_swap' | 'product_ad' | 'multi_shot_video' | 'product_ugc' | 'marketing_stock_image' | 'product_campaign_image' | 'ad_localization'>;
|
|
91
|
+
models: Array<'gen4.5' | 'gen3a_turbo' | 'gen4_turbo' | 'ideogram_vector' | 'recraft_v4_1_vector' | 'gen4_image' | 'gen4_image_turbo' | 'gpt_image_2' | 'gpt_image_2_5_flare' | 'gpt_image_2_5_sunburst' | 'gpt_image_2_6_flare' | 'gpt_image_2_6_sunburst' | 'act_two' | 'gen4_aleph' | 'veo3' | 'veo3.1' | 'veo3.1_fast' | 'gemini_2.5_flash' | 'gemini_image3_pro' | 'gemini_image3.1_flash' | 'gemini_image3.1_flash_lite' | 'nano_banana_2.1' | 'recraft_v4_1_flash' | 'seedream5_pro_layers' | 'seedream5_pro' | 'seedream5_flash' | 'seedream5.5' | 'seedream5.5_layers' | 'seedream5_lite' | 'gemini_omni_flash' | 'gemini_omni_flash_1.2' | 'gemini_omni_flash_1.1' | 'eleven_multilingual_v2' | 'seed_audio' | 'eleven_v3' | 'eleven_v4' | 'gemini_3.8_flash_tts' | 'gemini_3.8_flash_lite_tts' | 'eleven_text_to_sound_v2' | 'mirelo_sfx_2_0' | 'eleven_music_v2_5' | 'eleven_voice_isolation' | 'eleven_voice_dubbing' | 'eleven_multilingual_sts_v2' | 'eleven_scribe_v2' | 'gwm1_avatars' | 'gwm1_avatar_async_audio_to_video' | 'gwm1_avatar_async_text_to_video' | 'voice_processing' | 'seedance2' | 'seedance2_5' | 'seedance2_5_flash' | 'seedance2_fast' | 'seedance2_mini' | 'hailuo3' | 'hailuo3_highspeed' | 'hailuo3_lite' | 'h3_max' | 'wan3' | 'wan3_prime' | 'grok_imagine_1_5' | 'grok_imagine_1_5_lite' | 'grok_imagine_image_2' | 'muse_image' | 'minimax_h3_image' | 'bria_fibo_1_5' | 'bria_fibo_edit_1_5' | 'ideogram_4_0' | 'ideogram_4_5' | 'magnific_precision_upscaler_v2' | 'magnific_video_upscaler_creative' | 'ruby' | 'enhance_frame_rate' | 'kling2.5_turbo_pro' | 'kling_4_flash' | 'kling_4' | 'kling3.0_pro' | 'kling3.0_4k' | 'kling3.0_standard' | 'klingO3_pro' | 'klingO3_standard' | 'klingO3_4k' | 'happyhorse_1_0' | 'aleph2' | 'product_swap' | 'product_ad' | 'multi_shot_video' | 'product_ugc' | 'marketing_stock_image' | 'product_campaign_image' | 'ad_localization'>;
|
|
92
92
|
results: Array<OrganizationRetrieveUsageResponse.Result>;
|
|
93
93
|
/**
|
|
94
94
|
* Reserved for future use.
|
|
@@ -98,6 +98,18 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
98
98
|
* Reserved for future use.
|
|
99
99
|
*/
|
|
100
100
|
resultsByApiKey?: Array<OrganizationRetrieveUsageResponse.ResultsByAPIKey>;
|
|
101
|
+
/**
|
|
102
|
+
* Credit usage broken down by tag, present when `groupBy` is set. With
|
|
103
|
+
* `groupBy: "tag"`, a generation with several tags counts toward each of them, so
|
|
104
|
+
* the buckets can add up to more than the total. With `groupBy: "tag:<key>"`, each
|
|
105
|
+
* generation counts once, under its `<key>:<value>` tag.
|
|
106
|
+
*/
|
|
107
|
+
resultsByTag?: Array<OrganizationRetrieveUsageResponse.ResultsByTag>;
|
|
108
|
+
/**
|
|
109
|
+
* The tags on usage in the queried time range, sorted alphabetically, present when
|
|
110
|
+
* `tags` or `groupBy` is set. Lists at most the 1,000 tags with the most credits.
|
|
111
|
+
*/
|
|
112
|
+
tags?: Array<string>;
|
|
101
113
|
}
|
|
102
114
|
export declare namespace OrganizationRetrieveUsageResponse {
|
|
103
115
|
interface Result {
|
|
@@ -121,7 +133,7 @@ export declare namespace OrganizationRetrieveUsageResponse {
|
|
|
121
133
|
/**
|
|
122
134
|
* The model that credits were spent on.
|
|
123
135
|
*/
|
|
124
|
-
model: 'gen4.5' | 'gen3a_turbo' | 'gen4_turbo' | 'ideogram_vector' | 'recraft_v4_1_vector' | 'gen4_image' | 'gen4_image_turbo' | 'gpt_image_2' | 'gpt_image_2_5_flare' | 'gpt_image_2_5_sunburst' | 'gpt_image_2_6_flare' | 'gpt_image_2_6_sunburst' | 'act_two' | 'gen4_aleph' | 'veo3' | 'veo3.1' | 'veo3.1_fast' | 'gemini_2.5_flash' | 'gemini_image3_pro' | 'gemini_image3.1_flash' | 'gemini_image3.1_flash_lite' | 'nano_banana_2.1' | 'recraft_v4_1_flash' | 'seedream5_pro_layers' | 'seedream5_pro' | 'seedream5_flash' | 'seedream5_lite' | 'gemini_omni_flash' | 'gemini_omni_flash_1.2' | 'gemini_omni_flash_1.1' | 'eleven_multilingual_v2' | 'seed_audio' | 'eleven_v3' | 'eleven_v4' | 'eleven_text_to_sound_v2' | 'mirelo_sfx_2_0' | 'eleven_music_v2_5' | 'eleven_voice_isolation' | 'eleven_voice_dubbing' | 'eleven_multilingual_sts_v2' | 'eleven_scribe_v2' | 'gwm1_avatars' | 'gwm1_avatar_async_audio_to_video' | 'gwm1_avatar_async_text_to_video' | 'voice_processing' | 'seedance2' | 'seedance2_5' | 'seedance2_fast' | 'seedance2_mini' | 'hailuo3' | 'hailuo3_highspeed' | 'hailuo3_lite' | 'h3_max' | 'wan3' | 'wan3_prime' | 'grok_imagine_1_5' | 'grok_imagine_1_5_lite' | 'grok_imagine_image_2' | 'muse_image' | 'bria_fibo_1_5' | 'bria_fibo_edit_1_5' | 'ideogram_4_0' | 'ideogram_4_5' | 'magnific_precision_upscaler_v2' | 'magnific_video_upscaler_creative' | 'ruby' | 'enhance_frame_rate' | 'kling2.5_turbo_pro' | 'kling_4_flash' | 'kling_4' | 'kling3.0_pro' | 'kling3.0_4k' | 'kling3.0_standard' | 'klingO3_pro' | 'klingO3_standard' | 'klingO3_4k' | 'happyhorse_1_0' | 'aleph2' | 'product_swap' | 'product_ad' | 'multi_shot_video' | 'product_ugc' | 'marketing_stock_image' | 'product_campaign_image' | 'ad_localization';
|
|
136
|
+
model: 'gen4.5' | 'gen3a_turbo' | 'gen4_turbo' | 'ideogram_vector' | 'recraft_v4_1_vector' | 'gen4_image' | 'gen4_image_turbo' | 'gpt_image_2' | 'gpt_image_2_5_flare' | 'gpt_image_2_5_sunburst' | 'gpt_image_2_6_flare' | 'gpt_image_2_6_sunburst' | 'act_two' | 'gen4_aleph' | 'veo3' | 'veo3.1' | 'veo3.1_fast' | 'gemini_2.5_flash' | 'gemini_image3_pro' | 'gemini_image3.1_flash' | 'gemini_image3.1_flash_lite' | 'nano_banana_2.1' | 'recraft_v4_1_flash' | 'seedream5_pro_layers' | 'seedream5_pro' | 'seedream5_flash' | 'seedream5.5' | 'seedream5.5_layers' | 'seedream5_lite' | 'gemini_omni_flash' | 'gemini_omni_flash_1.2' | 'gemini_omni_flash_1.1' | 'eleven_multilingual_v2' | 'seed_audio' | 'eleven_v3' | 'eleven_v4' | 'gemini_3.8_flash_tts' | 'gemini_3.8_flash_lite_tts' | 'eleven_text_to_sound_v2' | 'mirelo_sfx_2_0' | 'eleven_music_v2_5' | 'eleven_voice_isolation' | 'eleven_voice_dubbing' | 'eleven_multilingual_sts_v2' | 'eleven_scribe_v2' | 'gwm1_avatars' | 'gwm1_avatar_async_audio_to_video' | 'gwm1_avatar_async_text_to_video' | 'voice_processing' | 'seedance2' | 'seedance2_5' | 'seedance2_5_flash' | 'seedance2_fast' | 'seedance2_mini' | 'hailuo3' | 'hailuo3_highspeed' | 'hailuo3_lite' | 'h3_max' | 'wan3' | 'wan3_prime' | 'grok_imagine_1_5' | 'grok_imagine_1_5_lite' | 'grok_imagine_image_2' | 'muse_image' | 'minimax_h3_image' | 'bria_fibo_1_5' | 'bria_fibo_edit_1_5' | 'ideogram_4_0' | 'ideogram_4_5' | 'magnific_precision_upscaler_v2' | 'magnific_video_upscaler_creative' | 'ruby' | 'enhance_frame_rate' | 'kling2.5_turbo_pro' | 'kling_4_flash' | 'kling_4' | 'kling3.0_pro' | 'kling3.0_4k' | 'kling3.0_standard' | 'klingO3_pro' | 'klingO3_standard' | 'klingO3_4k' | 'happyhorse_1_0' | 'aleph2' | 'product_swap' | 'product_ad' | 'multi_shot_video' | 'product_ugc' | 'marketing_stock_image' | 'product_campaign_image' | 'ad_localization';
|
|
125
137
|
}
|
|
126
138
|
}
|
|
127
139
|
interface ResultsByAPIKey {
|
|
@@ -134,6 +146,30 @@ export declare namespace OrganizationRetrieveUsageResponse {
|
|
|
134
146
|
apiKeyId: string;
|
|
135
147
|
}
|
|
136
148
|
}
|
|
149
|
+
interface ResultsByTag {
|
|
150
|
+
/**
|
|
151
|
+
* The date of the usage data in ISO-8601 format (YYYY-MM-DD). All dates are in
|
|
152
|
+
* UTC.
|
|
153
|
+
*/
|
|
154
|
+
date: string;
|
|
155
|
+
/**
|
|
156
|
+
* The credits used per tag for the date.
|
|
157
|
+
*/
|
|
158
|
+
usedCredits: Array<ResultsByTag.UsedCredit>;
|
|
159
|
+
}
|
|
160
|
+
namespace ResultsByTag {
|
|
161
|
+
interface UsedCredit {
|
|
162
|
+
/**
|
|
163
|
+
* The net number of credits spent under the tag. May be negative if refunds
|
|
164
|
+
* exceeded charges on this day.
|
|
165
|
+
*/
|
|
166
|
+
amount: number;
|
|
167
|
+
/**
|
|
168
|
+
* The tag that credits were spent under, or null for usage without a matching tag.
|
|
169
|
+
*/
|
|
170
|
+
tag: string | null;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
137
173
|
}
|
|
138
174
|
export interface OrganizationRetrieveUsageParams {
|
|
139
175
|
/**
|
|
@@ -142,12 +178,25 @@ export interface OrganizationRetrieveUsageParams {
|
|
|
142
178
|
* less than or equal to 90 days after the start date. All dates are in UTC.
|
|
143
179
|
*/
|
|
144
180
|
beforeDate?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Also break usage down by tag in `resultsByTag`. `"tag"` gives one bucket per
|
|
183
|
+
* tag; a generation with several tags counts toward each of them. `"tag:<key>"`
|
|
184
|
+
* (for example `"tag:team"`) gives one bucket per value of that key, so each
|
|
185
|
+
* generation counts once. Generations without a matching tag fall under a `null`
|
|
186
|
+
* tag.
|
|
187
|
+
*/
|
|
188
|
+
groupBy?: string;
|
|
145
189
|
/**
|
|
146
190
|
* The start date of the usage data in ISO-8601 format (YYYY-MM-DD). If
|
|
147
191
|
* unspecified, it will default to 30 days before the current date. All dates are
|
|
148
192
|
* in UTC.
|
|
149
193
|
*/
|
|
150
194
|
startDate?: string;
|
|
195
|
+
/**
|
|
196
|
+
* Only count generations that were created with every one of these tags in the
|
|
197
|
+
* `X-Runway-Tags` header. Tags are case-insensitive. Up to 10 tags.
|
|
198
|
+
*/
|
|
199
|
+
tags?: Array<string>;
|
|
151
200
|
}
|
|
152
201
|
export declare namespace Organization {
|
|
153
202
|
export { type OrganizationRetrieveResponse as OrganizationRetrieveResponse, type OrganizationRetrieveUsageResponse as OrganizationRetrieveUsageResponse, type OrganizationRetrieveUsageParams as OrganizationRetrieveUsageParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,SAAS,2BAAwB;AAC7C,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,kCAAkC,EACnC,2BAAwB;AACzB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAI5E;;;;OAIG;IACH,aAAa,CACX,IAAI,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;CAGjD;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC;IAExC;;OAEG;IACH,KAAK,EAAE,4BAA4B,CAAC,KAAK,CAAC;CAC3C;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,MAAM,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC,MAAM,CAAA;SAAE,CAAC;KACxC;IAED,UAAiB,IAAI,CAAC;QACpB;;WAEG;QACH,UAAiB,MAAM;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AoB,GACpB,cAAc,GACd,cAAc,GACd,gCAAgC,GAChC,kCAAkC,GAClC,MAAM,GACN,oBAAoB,GACpB,oBAAoB,GACpB,eAAe,GACf,SAAS,GACT,cAAc,GACd,aAAa,GACb,mBAAmB,GACnB,aAAa,GACb,kBAAkB,GAClB,YAAY,GACZ,gBAAgB,GAChB,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,kBAAkB,GAClB,aAAa,GACb,uBAAuB,GACvB,wBAAwB,GACxB,iBAAiB,CACpB,CAAC;IAEF,OAAO,EAAE,KAAK,CAAC,iCAAiC,CAAC,MAAM,CAAC,CAAC;IAEzD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,iCAAiC,CAAC,eAAe,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,SAAS,2BAAwB;AAC7C,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,kCAAkC,EACnC,2BAAwB;AACzB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAI5E;;;;OAIG;IACH,aAAa,CACX,IAAI,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;CAGjD;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAE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kC,IAAI,kCAAkC,EAC7E,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -21,7 +21,7 @@ class Organization extends resource_1.APIResource {
|
|
|
21
21
|
/**
|
|
22
22
|
* Fetch credit usage data broken down by model and day for the organization
|
|
23
23
|
* associated with the API key used to make the request. Up to 90 days of data can
|
|
24
|
-
* be queried at a time.
|
|
24
|
+
* be queried at a time. Usage updates hourly; recent activity may not appear yet.
|
|
25
25
|
*/
|
|
26
26
|
retrieveUsage(body = {}, options) {
|
|
27
27
|
return this._client.post('/v1/organization/usage', { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,sEAA6C;AAC7C,+CAKyB;AAIzB,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqBhE,CAAC;IAnBC;;;OAGG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF;AAtBD,oCAsBC;
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,sEAA6C;AAC7C,+CAKyB;AAIzB,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqBhE,CAAC;IAnBC;;;OAGG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF;AAtBD,oCAsBC;AAyYD,YAAY,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -17,7 +17,7 @@ export class Organization extends APIResource {
|
|
|
17
17
|
/**
|
|
18
18
|
* Fetch credit usage data broken down by model and day for the organization
|
|
19
19
|
* associated with the API key used to make the request. Up to 90 days of data can
|
|
20
|
-
* be queried at a time.
|
|
20
|
+
* be queried at a time. Usage updates hourly; recent activity may not appear yet.
|
|
21
21
|
*/
|
|
22
22
|
retrieveUsage(body = {}, options) {
|
|
23
23
|
return this._client.post('/v1/organization/usage', { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EACL,MAAM,GAIP,4BAAwB;AAIzB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqBhE,CAAC;IAnBC;;;OAGG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EACL,MAAM,GAIP,4BAAwB;AAIzB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqBhE,CAAC;IAnBC;;;OAGG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF;AAyYD,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -14,14 +14,14 @@ export declare class AuditLogs extends APIResource {
|
|
|
14
14
|
* first. Authorized via the account link between this API project and the
|
|
15
15
|
* workspace.
|
|
16
16
|
*/
|
|
17
|
-
list(query
|
|
17
|
+
list(query?: AuditLogListParams | null | undefined, options?: RequestOptions): PagePromise<AuditLogListResponsesCursorPage, AuditLogListResponse>;
|
|
18
18
|
}
|
|
19
19
|
export type AuditLogListResponsesCursorPage = CursorPage<AuditLogListResponse>;
|
|
20
20
|
export interface AuditLogRetrieveResponse {
|
|
21
21
|
/**
|
|
22
22
|
* The action performed.
|
|
23
23
|
*/
|
|
24
|
-
action: 'UserLogin' | 'PasswordChanged' | 'EmailChangeRequested' | 'EmailChanged' | 'UserRegistered' | 'UserAccountDeleted' | 'WorkspaceCreated' | 'WorkspaceDeleted' | 'MemberInvited' | 'MemberInviteReminderSent' | 'MemberRemoved' | 'MemberRoleChanged' | 'InviteAccepted' | 'MemberJoinedViaDomain' | 'TeamSettingsUpdated' | 'InviteLinkToggled' | 'UserGroupCreated' | 'UserGroupUpdated' | 'UserGroupDeleted' | 'UserGroupArchived' | 'UserGroupRestored' | 'UserGroupMemberAdded' | 'UserGroupMemberRemoved' | 'UserGroupCreditCapUpdated' | 'UserGroupVisibilityUpdated' | 'SSOLogin' | 'SSOUserProvisioned' | 'SSOConfigCreated' | 'SSOUserAutoAddedToTeam' | 'SSODomainRegistrationCloned' | 'AssetCreated' | 'AssetUpdated' | 'AssetDeleted' | 'AssetDownloaded' | 'AssetShared' | 'AssetUnshared' | 'CommentCreated' | 'CommentEdited' | 'CommentDeleted' | 'CommentAgentCallRun' | 'CommentRemovedByModerator' | 'CommentRestoredByModerator' | 'CommentRemovalReasonChanged' | 'PermissionGranted' | 'PermissionUpdated' | 'PermissionRevoked' | 'PermissionAccepted' | 'SubscriptionCancelled' | 'SubscriptionReactivatedWithOffer' | 'SubscriptionPlanSwitched' | 'CreditsTransferred' | 'SeatsTransferred' | 'SessionShared' | 'SessionUnshared' | 'VideoProjectShared' | 'VideoProjectUnshared' | 'BrandKitShared' | 'BrandKitUnshared' | 'AgentCustomSkillCreated' | 'AgentCustomSkillDeleted' | 'AgentCustomSkillShared' | 'AgentCustomSkillUnshared' | 'AgentSessionShared' | 'AgentSessionUnshared' | 'AgentConnectorLinkTokenCreated' | 'AgentConnectorConnected' | 'AgentConnectorDisconnected' | 'AgentConnectorAssetExported' | 'AgentConnectorSessionEnabled' | 'AgentConnectorSessionDisabled' | 'GenerationCreated' | 'StudioSessionOpened' | 'AppStudioAiRunOpened' | 'AppStudioAppCreated' | 'AppStudioAppPublished' | 'AppStudioAppVisibilityChanged' | 'AppStudioAppRenamed' | 'AppStudioAppDeleted' | 'AppStudioAppCoOwnerChanged' | 'AppStudioAppSecretChanged' | 'AppStudioAppRunwayAccessGranted' | 'AppStudioAppRunwayAccessRevoked' | 'AccountLinkCreated' | 'AccountLinkDeleted' | 'AdConnectionAuthorizationStarted' | 'AdConnectionConnected' | 'AdAccountSelectionUpdated' | 'AdAccountSyncRequested' | 'AdConnectionDisconnected' | 'AdWorkspaceOnboardingUpdated' | 'AdCreativeReviewSubmitted' | 'AdCreativeReviewCancelled' | 'AdCreativeReviewDecided' | 'AdCreativeApprovalRevoked' | 'AdCreativeArchived' | 'AdCreativeUnarchived' | 'AdPublishBatchQueued' | 'AdPublishBatchCancelled' | 'AdPublishBatchRetried' | 'AdStatusChanged' | 'OrganizationSettingsUpdated' | 'OrganizationDisabledModelsUpdated' | 'OrganizationAgentSandboxUpdated' | 'OrganizationApiAccountReleased' | 'OrganizationApiAccountMemberInvited' | 'OrganizationApiAccountMemberRoleChanged' | 'OrganizationApiAccountMemberRemoved' | 'WorkspaceCountryLockUpdated' | 'WorkspaceTagCreated' | 'WorkspaceTagUpdated' | 'WorkspaceTagDeleted' | 'WorkspaceTagAssigned' | 'WorkspaceTagUnassigned' | 'MeteredBillingConfigUpdated' | 'MeteredBillingRefillTriggered' | 'MeteredBillingRetryTriggered' | 'EnterpriseSpendCapEnforcementUpdated' | 'OnboardingBonusGranted' | 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
24
|
+
action: 'AgentArtifactCommentCreated' | 'AgentArtifactCreated' | 'AgentArtifactVersionSaved' | 'AgentArtifactSessionAttached' | 'AgentArtifactSessionDetached' | 'UserLogin' | 'PasswordChanged' | 'EmailChangeRequested' | 'EmailChanged' | 'UserRegistered' | 'UserAccountDeleted' | 'WorkspaceCreated' | 'WorkspaceDeleted' | 'MemberInvited' | 'MemberInviteReminderSent' | 'MemberRemoved' | 'MemberRoleChanged' | 'InviteAccepted' | 'MemberJoinedViaDomain' | 'TeamSettingsUpdated' | 'InviteLinkToggled' | 'UserGroupCreated' | 'UserGroupUpdated' | 'UserGroupDeleted' | 'UserGroupArchived' | 'UserGroupRestored' | 'UserGroupMemberAdded' | 'UserGroupMemberRemoved' | 'UserGroupCreditCapUpdated' | 'UserGroupVisibilityUpdated' | 'SSOLogin' | 'SSOUserProvisioned' | 'SSOConfigCreated' | 'SSOUserAutoAddedToTeam' | 'SSODomainRegistrationCloned' | 'AssetCreated' | 'AssetUpdated' | 'AssetDeleted' | 'AssetDownloaded' | 'AssetShared' | 'AssetUnshared' | 'CommentCreated' | 'CommentEdited' | 'CommentDeleted' | 'CommentAgentCallRun' | 'CommentRemovedByModerator' | 'CommentRestoredByModerator' | 'CommentRemovalReasonChanged' | 'PermissionGranted' | 'PermissionUpdated' | 'PermissionRevoked' | 'PermissionAccepted' | 'SubscriptionCancelled' | 'SubscriptionReactivatedWithOffer' | 'SubscriptionPlanSwitched' | 'CreditsTransferred' | 'SeatsTransferred' | 'SessionShared' | 'SessionUnshared' | 'SessionMadePrivateByAdmin' | 'VideoProjectShared' | 'VideoProjectUnshared' | 'BrandKitShared' | 'BrandKitUnshared' | 'AgentCustomSkillCreated' | 'AgentCustomSkillDeleted' | 'AgentCustomSkillShared' | 'AgentCustomSkillUnshared' | 'AgentSessionShared' | 'AgentSessionUnshared' | 'AgentConnectorLinkTokenCreated' | 'AgentConnectorConnected' | 'AgentConnectorDisconnected' | 'AgentConnectorAssetExported' | 'AgentConnectorSessionEnabled' | 'AgentConnectorSessionDisabled' | 'GenerationCreated' | 'StudioSessionOpened' | 'AppStudioAiRunOpened' | 'AppStudioAppCreated' | 'AppStudioAppPublished' | 'AppStudioAppVisibilityChanged' | 'AppStudioAppRenamed' | 'AppStudioAppDeleted' | 'AppStudioAppCoOwnerChanged' | 'AppStudioAppSecretChanged' | 'AppStudioAppRunwayAccessGranted' | 'AppStudioAppRunwayAccessRevoked' | 'AppStudioConnectorConnected' | 'AppStudioConnectorDisconnected' | 'AppStudioConnectorAppGranted' | 'AppStudioConnectorAppRevoked' | 'AppStudioConnectorPolicyChanged' | 'AppStudioConnectorToolCalled' | 'AccountLinkCreated' | 'AccountLinkDeleted' | 'AdConnectionAuthorizationStarted' | 'AdConnectionConnected' | 'AdAccountSelectionUpdated' | 'AdAccountSyncRequested' | 'AdConnectionDisconnected' | 'AdWorkspaceOnboardingUpdated' | 'AdCreativeReviewSubmitted' | 'AdCreativeReviewCancelled' | 'AdCreativeReviewDecided' | 'AdCreativeApprovalRevoked' | 'AdCreativeArchived' | 'AdCreativeUnarchived' | 'AdPublishBatchQueued' | 'AdPublishBatchCancelled' | 'AdPublishBatchRetried' | 'AdStatusChanged' | 'AdCampaignSetupDrafted' | 'AdCampaignSetupDiscarded' | 'AdCampaignSetupConfirmed' | 'AdCampaignSetupCancelled' | 'AdCampaignSetupRetried' | 'OrganizationSettingsUpdated' | 'OrganizationDisabledModelsUpdated' | 'OrganizationAgentSandboxUpdated' | 'OrganizationApiAccountReleased' | 'OrganizationApiAccountMemberInvited' | 'OrganizationApiAccountMemberRoleChanged' | 'OrganizationApiAccountMemberRemoved' | 'WorkspaceCountryLockUpdated' | 'WorkspaceTagCreated' | 'WorkspaceTagUpdated' | 'WorkspaceTagDeleted' | 'WorkspaceTagAssigned' | 'WorkspaceTagUnassigned' | 'MeteredBillingConfigUpdated' | 'MeteredBillingRefillTriggered' | 'MeteredBillingRetryTriggered' | 'EnterpriseSpendCapEnforcementUpdated' | 'OnboardingBonusGranted' | 'PromotionCreditsGranted' | 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
25
25
|
/**
|
|
26
26
|
* Whether the acting user has since been deleted.
|
|
27
27
|
*/
|
|
@@ -85,6 +85,7 @@ export declare namespace AuditLogRetrieveResponse {
|
|
|
85
85
|
* Action-specific details.
|
|
86
86
|
*/
|
|
87
87
|
interface Metadata {
|
|
88
|
+
'Accepted by'?: string;
|
|
88
89
|
'Ad account ID'?: string;
|
|
89
90
|
'Ad creative ID'?: string;
|
|
90
91
|
'Ad level'?: string;
|
|
@@ -94,6 +95,7 @@ export declare namespace AuditLogRetrieveResponse {
|
|
|
94
95
|
'Ad sync end date'?: string;
|
|
95
96
|
'Ad sync run ID'?: string;
|
|
96
97
|
'Ad sync start date'?: string;
|
|
98
|
+
'Added member'?: string;
|
|
97
99
|
'Ads created as'?: string;
|
|
98
100
|
'Ads onboarding answers'?: Array<string>;
|
|
99
101
|
'Ads onboarding completed'?: boolean;
|
|
@@ -101,6 +103,7 @@ export declare namespace AuditLogRetrieveResponse {
|
|
|
101
103
|
'Agent tagged'?: boolean;
|
|
102
104
|
Amount?: number;
|
|
103
105
|
'Amount received'?: number;
|
|
106
|
+
Anonymous?: boolean;
|
|
104
107
|
'API account'?: string;
|
|
105
108
|
'API project ID'?: string;
|
|
106
109
|
'App Studio app'?: string | null;
|
|
@@ -108,32 +111,50 @@ export declare namespace AuditLogRetrieveResponse {
|
|
|
108
111
|
'App Studio deploy'?: string;
|
|
109
112
|
'App Studio session'?: string;
|
|
110
113
|
Application?: string;
|
|
114
|
+
'Asset ID'?: string;
|
|
111
115
|
'Asset name'?: string;
|
|
116
|
+
'Asset type'?: string;
|
|
117
|
+
Automatic?: boolean;
|
|
112
118
|
'AWS license'?: string;
|
|
113
119
|
'Brand kit ID'?: string;
|
|
120
|
+
'Campaign setup ID'?: string;
|
|
121
|
+
'Campaign setup type'?: string;
|
|
122
|
+
'Campaign setup version'?: number;
|
|
123
|
+
'Cancels at period end'?: boolean;
|
|
114
124
|
'Comment ID'?: string;
|
|
115
125
|
'Comment target ID'?: string;
|
|
116
126
|
'Comment target type'?: string;
|
|
117
127
|
'Comment text'?: string;
|
|
128
|
+
Connector?: string;
|
|
118
129
|
'Creatives cancelled'?: number;
|
|
119
130
|
'Creatives queued'?: number;
|
|
120
131
|
'Creatives retried'?: number;
|
|
132
|
+
'Credits used'?: number;
|
|
121
133
|
'Default project discoverability'?: string;
|
|
122
134
|
'Default task name template'?: string | null;
|
|
123
135
|
'Destination category ID'?: string;
|
|
124
136
|
Direction?: string;
|
|
137
|
+
'Downloaded by owner'?: boolean;
|
|
125
138
|
'Email domain'?: string;
|
|
139
|
+
Enabled?: boolean;
|
|
126
140
|
'Error code'?: string;
|
|
141
|
+
Filename?: string;
|
|
142
|
+
'Files moved'?: number;
|
|
143
|
+
'From workspace ID'?: number;
|
|
127
144
|
'Group name'?: string;
|
|
128
145
|
'Hard spend cap'?: boolean;
|
|
129
146
|
'Into a new test ad set'?: boolean;
|
|
130
147
|
'Invited member'?: string;
|
|
148
|
+
'Join policy'?: string;
|
|
131
149
|
'Language model or provider'?: string;
|
|
150
|
+
'Link type'?: string;
|
|
132
151
|
'Login method'?: string;
|
|
133
152
|
'Media included'?: boolean;
|
|
134
153
|
'Member email'?: string;
|
|
135
154
|
Mentions?: number;
|
|
155
|
+
Method?: string;
|
|
136
156
|
Model?: string;
|
|
157
|
+
'New email'?: string;
|
|
137
158
|
'New role'?: string;
|
|
138
159
|
'New text'?: string;
|
|
139
160
|
'New User'?: boolean;
|
|
@@ -147,26 +168,41 @@ export declare namespace AuditLogRetrieveResponse {
|
|
|
147
168
|
Platform?: string;
|
|
148
169
|
'Platform ad account ID'?: string;
|
|
149
170
|
'Platform object ID'?: string;
|
|
171
|
+
'Previous email'?: string;
|
|
150
172
|
'Previous project credit cap'?: number | null;
|
|
151
173
|
'Previous role'?: string | null;
|
|
152
174
|
'Previous text'?: string;
|
|
153
175
|
'Previous value'?: string | number | boolean | {
|
|
154
176
|
[key: string]: boolean;
|
|
155
177
|
} | null;
|
|
178
|
+
'Previously shared in project'?: string | null;
|
|
156
179
|
'Project credit cap'?: number | null;
|
|
180
|
+
'Project ID'?: string;
|
|
181
|
+
Promotion?: string;
|
|
157
182
|
Provider?: string;
|
|
183
|
+
'Read or write'?: string;
|
|
158
184
|
Reason?: string | null;
|
|
185
|
+
'Recharge amount (USD cents)'?: number;
|
|
186
|
+
'Recharge below (credits)'?: number;
|
|
159
187
|
'Removed member'?: string;
|
|
188
|
+
'Requested via'?: Array<string>;
|
|
189
|
+
Result?: string;
|
|
190
|
+
'Result metric ID'?: string | null;
|
|
160
191
|
'Review decision'?: string;
|
|
161
192
|
Role?: string;
|
|
162
193
|
'Root asset ID'?: string;
|
|
163
194
|
'Secret name'?: string;
|
|
164
195
|
Selected?: boolean;
|
|
165
196
|
Setting?: string;
|
|
197
|
+
'Shared in project'?: string | null;
|
|
166
198
|
'Shared with projects'?: Array<string>;
|
|
167
199
|
'Shared with workspace'?: boolean;
|
|
200
|
+
Source?: string;
|
|
201
|
+
'Source application'?: string;
|
|
168
202
|
'Source category ID'?: string;
|
|
203
|
+
'Source version asset ID'?: string;
|
|
169
204
|
'Spend cap'?: number;
|
|
205
|
+
'Spend cap (USD cents)'?: number;
|
|
170
206
|
'Spend cap change'?: number;
|
|
171
207
|
'Status after'?: string;
|
|
172
208
|
'Status before'?: string;
|
|
@@ -174,7 +210,12 @@ export declare namespace AuditLogRetrieveResponse {
|
|
|
174
210
|
'Tag color'?: string;
|
|
175
211
|
'Tag name'?: string;
|
|
176
212
|
'Target member'?: string | null;
|
|
213
|
+
'Task ID'?: string;
|
|
214
|
+
'To workspace ID'?: number;
|
|
215
|
+
Tool?: string;
|
|
216
|
+
'Updated fields'?: Array<string>;
|
|
177
217
|
'Via public API'?: boolean;
|
|
218
|
+
Watermarked?: boolean;
|
|
178
219
|
Workspace?: string | null;
|
|
179
220
|
'Workspace description'?: string | null;
|
|
180
221
|
'Workspace ID'?: number;
|
|
@@ -186,7 +227,7 @@ export interface AuditLogListResponse {
|
|
|
186
227
|
/**
|
|
187
228
|
* The action performed.
|
|
188
229
|
*/
|
|
189
|
-
action: 'UserLogin' | 'PasswordChanged' | 'EmailChangeRequested' | 'EmailChanged' | 'UserRegistered' | 'UserAccountDeleted' | 'WorkspaceCreated' | 'WorkspaceDeleted' | 'MemberInvited' | 'MemberInviteReminderSent' | 'MemberRemoved' | 'MemberRoleChanged' | 'InviteAccepted' | 'MemberJoinedViaDomain' | 'TeamSettingsUpdated' | 'InviteLinkToggled' | 'UserGroupCreated' | 'UserGroupUpdated' | 'UserGroupDeleted' | 'UserGroupArchived' | 'UserGroupRestored' | 'UserGroupMemberAdded' | 'UserGroupMemberRemoved' | 'UserGroupCreditCapUpdated' | 'UserGroupVisibilityUpdated' | 'SSOLogin' | 'SSOUserProvisioned' | 'SSOConfigCreated' | 'SSOUserAutoAddedToTeam' | 'SSODomainRegistrationCloned' | 'AssetCreated' | 'AssetUpdated' | 'AssetDeleted' | 'AssetDownloaded' | 'AssetShared' | 'AssetUnshared' | 'CommentCreated' | 'CommentEdited' | 'CommentDeleted' | 'CommentAgentCallRun' | 'CommentRemovedByModerator' | 'CommentRestoredByModerator' | 'CommentRemovalReasonChanged' | 'PermissionGranted' | 'PermissionUpdated' | 'PermissionRevoked' | 'PermissionAccepted' | 'SubscriptionCancelled' | 'SubscriptionReactivatedWithOffer' | 'SubscriptionPlanSwitched' | 'CreditsTransferred' | 'SeatsTransferred' | 'SessionShared' | 'SessionUnshared' | 'VideoProjectShared' | 'VideoProjectUnshared' | 'BrandKitShared' | 'BrandKitUnshared' | 'AgentCustomSkillCreated' | 'AgentCustomSkillDeleted' | 'AgentCustomSkillShared' | 'AgentCustomSkillUnshared' | 'AgentSessionShared' | 'AgentSessionUnshared' | 'AgentConnectorLinkTokenCreated' | 'AgentConnectorConnected' | 'AgentConnectorDisconnected' | 'AgentConnectorAssetExported' | 'AgentConnectorSessionEnabled' | 'AgentConnectorSessionDisabled' | 'GenerationCreated' | 'StudioSessionOpened' | 'AppStudioAiRunOpened' | 'AppStudioAppCreated' | 'AppStudioAppPublished' | 'AppStudioAppVisibilityChanged' | 'AppStudioAppRenamed' | 'AppStudioAppDeleted' | 'AppStudioAppCoOwnerChanged' | 'AppStudioAppSecretChanged' | 'AppStudioAppRunwayAccessGranted' | 'AppStudioAppRunwayAccessRevoked' | 'AccountLinkCreated' | 'AccountLinkDeleted' | 'AdConnectionAuthorizationStarted' | 'AdConnectionConnected' | 'AdAccountSelectionUpdated' | 'AdAccountSyncRequested' | 'AdConnectionDisconnected' | 'AdWorkspaceOnboardingUpdated' | 'AdCreativeReviewSubmitted' | 'AdCreativeReviewCancelled' | 'AdCreativeReviewDecided' | 'AdCreativeApprovalRevoked' | 'AdCreativeArchived' | 'AdCreativeUnarchived' | 'AdPublishBatchQueued' | 'AdPublishBatchCancelled' | 'AdPublishBatchRetried' | 'AdStatusChanged' | 'OrganizationSettingsUpdated' | 'OrganizationDisabledModelsUpdated' | 'OrganizationAgentSandboxUpdated' | 'OrganizationApiAccountReleased' | 'OrganizationApiAccountMemberInvited' | 'OrganizationApiAccountMemberRoleChanged' | 'OrganizationApiAccountMemberRemoved' | 'WorkspaceCountryLockUpdated' | 'WorkspaceTagCreated' | 'WorkspaceTagUpdated' | 'WorkspaceTagDeleted' | 'WorkspaceTagAssigned' | 'WorkspaceTagUnassigned' | 'MeteredBillingConfigUpdated' | 'MeteredBillingRefillTriggered' | 'MeteredBillingRetryTriggered' | 'EnterpriseSpendCapEnforcementUpdated' | 'OnboardingBonusGranted' | 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
230
|
+
action: 'AgentArtifactCommentCreated' | 'AgentArtifactCreated' | 'AgentArtifactVersionSaved' | 'AgentArtifactSessionAttached' | 'AgentArtifactSessionDetached' | 'UserLogin' | 'PasswordChanged' | 'EmailChangeRequested' | 'EmailChanged' | 'UserRegistered' | 'UserAccountDeleted' | 'WorkspaceCreated' | 'WorkspaceDeleted' | 'MemberInvited' | 'MemberInviteReminderSent' | 'MemberRemoved' | 'MemberRoleChanged' | 'InviteAccepted' | 'MemberJoinedViaDomain' | 'TeamSettingsUpdated' | 'InviteLinkToggled' | 'UserGroupCreated' | 'UserGroupUpdated' | 'UserGroupDeleted' | 'UserGroupArchived' | 'UserGroupRestored' | 'UserGroupMemberAdded' | 'UserGroupMemberRemoved' | 'UserGroupCreditCapUpdated' | 'UserGroupVisibilityUpdated' | 'SSOLogin' | 'SSOUserProvisioned' | 'SSOConfigCreated' | 'SSOUserAutoAddedToTeam' | 'SSODomainRegistrationCloned' | 'AssetCreated' | 'AssetUpdated' | 'AssetDeleted' | 'AssetDownloaded' | 'AssetShared' | 'AssetUnshared' | 'CommentCreated' | 'CommentEdited' | 'CommentDeleted' | 'CommentAgentCallRun' | 'CommentRemovedByModerator' | 'CommentRestoredByModerator' | 'CommentRemovalReasonChanged' | 'PermissionGranted' | 'PermissionUpdated' | 'PermissionRevoked' | 'PermissionAccepted' | 'SubscriptionCancelled' | 'SubscriptionReactivatedWithOffer' | 'SubscriptionPlanSwitched' | 'CreditsTransferred' | 'SeatsTransferred' | 'SessionShared' | 'SessionUnshared' | 'SessionMadePrivateByAdmin' | 'VideoProjectShared' | 'VideoProjectUnshared' | 'BrandKitShared' | 'BrandKitUnshared' | 'AgentCustomSkillCreated' | 'AgentCustomSkillDeleted' | 'AgentCustomSkillShared' | 'AgentCustomSkillUnshared' | 'AgentSessionShared' | 'AgentSessionUnshared' | 'AgentConnectorLinkTokenCreated' | 'AgentConnectorConnected' | 'AgentConnectorDisconnected' | 'AgentConnectorAssetExported' | 'AgentConnectorSessionEnabled' | 'AgentConnectorSessionDisabled' | 'GenerationCreated' | 'StudioSessionOpened' | 'AppStudioAiRunOpened' | 'AppStudioAppCreated' | 'AppStudioAppPublished' | 'AppStudioAppVisibilityChanged' | 'AppStudioAppRenamed' | 'AppStudioAppDeleted' | 'AppStudioAppCoOwnerChanged' | 'AppStudioAppSecretChanged' | 'AppStudioAppRunwayAccessGranted' | 'AppStudioAppRunwayAccessRevoked' | 'AppStudioConnectorConnected' | 'AppStudioConnectorDisconnected' | 'AppStudioConnectorAppGranted' | 'AppStudioConnectorAppRevoked' | 'AppStudioConnectorPolicyChanged' | 'AppStudioConnectorToolCalled' | 'AccountLinkCreated' | 'AccountLinkDeleted' | 'AdConnectionAuthorizationStarted' | 'AdConnectionConnected' | 'AdAccountSelectionUpdated' | 'AdAccountSyncRequested' | 'AdConnectionDisconnected' | 'AdWorkspaceOnboardingUpdated' | 'AdCreativeReviewSubmitted' | 'AdCreativeReviewCancelled' | 'AdCreativeReviewDecided' | 'AdCreativeApprovalRevoked' | 'AdCreativeArchived' | 'AdCreativeUnarchived' | 'AdPublishBatchQueued' | 'AdPublishBatchCancelled' | 'AdPublishBatchRetried' | 'AdStatusChanged' | 'AdCampaignSetupDrafted' | 'AdCampaignSetupDiscarded' | 'AdCampaignSetupConfirmed' | 'AdCampaignSetupCancelled' | 'AdCampaignSetupRetried' | 'OrganizationSettingsUpdated' | 'OrganizationDisabledModelsUpdated' | 'OrganizationAgentSandboxUpdated' | 'OrganizationApiAccountReleased' | 'OrganizationApiAccountMemberInvited' | 'OrganizationApiAccountMemberRoleChanged' | 'OrganizationApiAccountMemberRemoved' | 'WorkspaceCountryLockUpdated' | 'WorkspaceTagCreated' | 'WorkspaceTagUpdated' | 'WorkspaceTagDeleted' | 'WorkspaceTagAssigned' | 'WorkspaceTagUnassigned' | 'MeteredBillingConfigUpdated' | 'MeteredBillingRefillTriggered' | 'MeteredBillingRetryTriggered' | 'EnterpriseSpendCapEnforcementUpdated' | 'OnboardingBonusGranted' | 'PromotionCreditsGranted' | 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
190
231
|
/**
|
|
191
232
|
* Whether the acting user has since been deleted.
|
|
192
233
|
*/
|
|
@@ -225,6 +266,7 @@ export declare namespace AuditLogListResponse {
|
|
|
225
266
|
* Action-specific details.
|
|
226
267
|
*/
|
|
227
268
|
interface Metadata {
|
|
269
|
+
'Accepted by'?: string;
|
|
228
270
|
'Ad account ID'?: string;
|
|
229
271
|
'Ad creative ID'?: string;
|
|
230
272
|
'Ad level'?: string;
|
|
@@ -234,6 +276,7 @@ export declare namespace AuditLogListResponse {
|
|
|
234
276
|
'Ad sync end date'?: string;
|
|
235
277
|
'Ad sync run ID'?: string;
|
|
236
278
|
'Ad sync start date'?: string;
|
|
279
|
+
'Added member'?: string;
|
|
237
280
|
'Ads created as'?: string;
|
|
238
281
|
'Ads onboarding answers'?: Array<string>;
|
|
239
282
|
'Ads onboarding completed'?: boolean;
|
|
@@ -241,6 +284,7 @@ export declare namespace AuditLogListResponse {
|
|
|
241
284
|
'Agent tagged'?: boolean;
|
|
242
285
|
Amount?: number;
|
|
243
286
|
'Amount received'?: number;
|
|
287
|
+
Anonymous?: boolean;
|
|
244
288
|
'API account'?: string;
|
|
245
289
|
'API project ID'?: string;
|
|
246
290
|
'App Studio app'?: string | null;
|
|
@@ -248,32 +292,50 @@ export declare namespace AuditLogListResponse {
|
|
|
248
292
|
'App Studio deploy'?: string;
|
|
249
293
|
'App Studio session'?: string;
|
|
250
294
|
Application?: string;
|
|
295
|
+
'Asset ID'?: string;
|
|
251
296
|
'Asset name'?: string;
|
|
297
|
+
'Asset type'?: string;
|
|
298
|
+
Automatic?: boolean;
|
|
252
299
|
'AWS license'?: string;
|
|
253
300
|
'Brand kit ID'?: string;
|
|
301
|
+
'Campaign setup ID'?: string;
|
|
302
|
+
'Campaign setup type'?: string;
|
|
303
|
+
'Campaign setup version'?: number;
|
|
304
|
+
'Cancels at period end'?: boolean;
|
|
254
305
|
'Comment ID'?: string;
|
|
255
306
|
'Comment target ID'?: string;
|
|
256
307
|
'Comment target type'?: string;
|
|
257
308
|
'Comment text'?: string;
|
|
309
|
+
Connector?: string;
|
|
258
310
|
'Creatives cancelled'?: number;
|
|
259
311
|
'Creatives queued'?: number;
|
|
260
312
|
'Creatives retried'?: number;
|
|
313
|
+
'Credits used'?: number;
|
|
261
314
|
'Default project discoverability'?: string;
|
|
262
315
|
'Default task name template'?: string | null;
|
|
263
316
|
'Destination category ID'?: string;
|
|
264
317
|
Direction?: string;
|
|
318
|
+
'Downloaded by owner'?: boolean;
|
|
265
319
|
'Email domain'?: string;
|
|
320
|
+
Enabled?: boolean;
|
|
266
321
|
'Error code'?: string;
|
|
322
|
+
Filename?: string;
|
|
323
|
+
'Files moved'?: number;
|
|
324
|
+
'From workspace ID'?: number;
|
|
267
325
|
'Group name'?: string;
|
|
268
326
|
'Hard spend cap'?: boolean;
|
|
269
327
|
'Into a new test ad set'?: boolean;
|
|
270
328
|
'Invited member'?: string;
|
|
329
|
+
'Join policy'?: string;
|
|
271
330
|
'Language model or provider'?: string;
|
|
331
|
+
'Link type'?: string;
|
|
272
332
|
'Login method'?: string;
|
|
273
333
|
'Media included'?: boolean;
|
|
274
334
|
'Member email'?: string;
|
|
275
335
|
Mentions?: number;
|
|
336
|
+
Method?: string;
|
|
276
337
|
Model?: string;
|
|
338
|
+
'New email'?: string;
|
|
277
339
|
'New role'?: string;
|
|
278
340
|
'New text'?: string;
|
|
279
341
|
'New User'?: boolean;
|
|
@@ -287,26 +349,41 @@ export declare namespace AuditLogListResponse {
|
|
|
287
349
|
Platform?: string;
|
|
288
350
|
'Platform ad account ID'?: string;
|
|
289
351
|
'Platform object ID'?: string;
|
|
352
|
+
'Previous email'?: string;
|
|
290
353
|
'Previous project credit cap'?: number | null;
|
|
291
354
|
'Previous role'?: string | null;
|
|
292
355
|
'Previous text'?: string;
|
|
293
356
|
'Previous value'?: string | number | boolean | {
|
|
294
357
|
[key: string]: boolean;
|
|
295
358
|
} | null;
|
|
359
|
+
'Previously shared in project'?: string | null;
|
|
296
360
|
'Project credit cap'?: number | null;
|
|
361
|
+
'Project ID'?: string;
|
|
362
|
+
Promotion?: string;
|
|
297
363
|
Provider?: string;
|
|
364
|
+
'Read or write'?: string;
|
|
298
365
|
Reason?: string | null;
|
|
366
|
+
'Recharge amount (USD cents)'?: number;
|
|
367
|
+
'Recharge below (credits)'?: number;
|
|
299
368
|
'Removed member'?: string;
|
|
369
|
+
'Requested via'?: Array<string>;
|
|
370
|
+
Result?: string;
|
|
371
|
+
'Result metric ID'?: string | null;
|
|
300
372
|
'Review decision'?: string;
|
|
301
373
|
Role?: string;
|
|
302
374
|
'Root asset ID'?: string;
|
|
303
375
|
'Secret name'?: string;
|
|
304
376
|
Selected?: boolean;
|
|
305
377
|
Setting?: string;
|
|
378
|
+
'Shared in project'?: string | null;
|
|
306
379
|
'Shared with projects'?: Array<string>;
|
|
307
380
|
'Shared with workspace'?: boolean;
|
|
381
|
+
Source?: string;
|
|
382
|
+
'Source application'?: string;
|
|
308
383
|
'Source category ID'?: string;
|
|
384
|
+
'Source version asset ID'?: string;
|
|
309
385
|
'Spend cap'?: number;
|
|
386
|
+
'Spend cap (USD cents)'?: number;
|
|
310
387
|
'Spend cap change'?: number;
|
|
311
388
|
'Status after'?: string;
|
|
312
389
|
'Status before'?: string;
|
|
@@ -314,7 +391,12 @@ export declare namespace AuditLogListResponse {
|
|
|
314
391
|
'Tag color'?: string;
|
|
315
392
|
'Tag name'?: string;
|
|
316
393
|
'Target member'?: string | null;
|
|
394
|
+
'Task ID'?: string;
|
|
395
|
+
'To workspace ID'?: number;
|
|
396
|
+
Tool?: string;
|
|
397
|
+
'Updated fields'?: Array<string>;
|
|
317
398
|
'Via public API'?: boolean;
|
|
399
|
+
Watermarked?: boolean;
|
|
318
400
|
Workspace?: string | null;
|
|
319
401
|
'Workspace description'?: string | null;
|
|
320
402
|
'Workspace ID'?: number;
|
|
@@ -325,16 +407,20 @@ export declare namespace AuditLogListResponse {
|
|
|
325
407
|
export interface AuditLogRetrieveParams {
|
|
326
408
|
/**
|
|
327
409
|
* Organization to report on. Optional when this API project is linked to a single
|
|
328
|
-
* organization; required when it is linked to more than one.
|
|
410
|
+
* organization; required when it is linked to more than one. If it is missing
|
|
411
|
+
* then, the 400 response lists the IDs and names of the linked organizations in
|
|
412
|
+
* `details.organizations`.
|
|
329
413
|
*/
|
|
330
414
|
organizationId?: string;
|
|
331
415
|
}
|
|
332
416
|
export interface AuditLogListParams extends CursorPageParams {
|
|
333
417
|
/**
|
|
334
418
|
* Restrict results to these audit log actions, as a comma-separated list of up to
|
|
335
|
-
* 50 actions. Allowed values: `
|
|
336
|
-
* `
|
|
337
|
-
* `
|
|
419
|
+
* 50 actions. Allowed values: `AgentArtifactCommentCreated`,
|
|
420
|
+
* `AgentArtifactCreated`, `AgentArtifactVersionSaved`,
|
|
421
|
+
* `AgentArtifactSessionAttached`, `AgentArtifactSessionDetached`, `UserLogin`,
|
|
422
|
+
* `PasswordChanged`, `EmailChangeRequested`, `EmailChanged`, `UserRegistered`,
|
|
423
|
+
* `UserAccountDeleted`, `WorkspaceCreated`, `WorkspaceDeleted`, `MemberInvited`,
|
|
338
424
|
* `MemberInviteReminderSent`, `MemberRemoved`, `MemberRoleChanged`,
|
|
339
425
|
* `InviteAccepted`, `MemberJoinedViaDomain`, `TeamSettingsUpdated`,
|
|
340
426
|
* `InviteLinkToggled`, `UserGroupCreated`, `UserGroupUpdated`, `UserGroupDeleted`,
|
|
@@ -350,10 +436,10 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
350
436
|
* `PermissionAccepted`, `SubscriptionCancelled`,
|
|
351
437
|
* `SubscriptionReactivatedWithOffer`, `SubscriptionPlanSwitched`,
|
|
352
438
|
* `CreditsTransferred`, `SeatsTransferred`, `SessionShared`, `SessionUnshared`,
|
|
353
|
-
* `
|
|
354
|
-
* `
|
|
355
|
-
* `
|
|
356
|
-
* `AgentSessionUnshared`, `AgentConnectorLinkTokenCreated`,
|
|
439
|
+
* `SessionMadePrivateByAdmin`, `VideoProjectShared`, `VideoProjectUnshared`,
|
|
440
|
+
* `BrandKitShared`, `BrandKitUnshared`, `AgentCustomSkillCreated`,
|
|
441
|
+
* `AgentCustomSkillDeleted`, `AgentCustomSkillShared`, `AgentCustomSkillUnshared`,
|
|
442
|
+
* `AgentSessionShared`, `AgentSessionUnshared`, `AgentConnectorLinkTokenCreated`,
|
|
357
443
|
* `AgentConnectorConnected`, `AgentConnectorDisconnected`,
|
|
358
444
|
* `AgentConnectorAssetExported`, `AgentConnectorSessionEnabled`,
|
|
359
445
|
* `AgentConnectorSessionDisabled`, `GenerationCreated`, `StudioSessionOpened`,
|
|
@@ -361,22 +447,28 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
361
447
|
* `AppStudioAppVisibilityChanged`, `AppStudioAppRenamed`, `AppStudioAppDeleted`,
|
|
362
448
|
* `AppStudioAppCoOwnerChanged`, `AppStudioAppSecretChanged`,
|
|
363
449
|
* `AppStudioAppRunwayAccessGranted`, `AppStudioAppRunwayAccessRevoked`,
|
|
450
|
+
* `AppStudioConnectorConnected`, `AppStudioConnectorDisconnected`,
|
|
451
|
+
* `AppStudioConnectorAppGranted`, `AppStudioConnectorAppRevoked`,
|
|
452
|
+
* `AppStudioConnectorPolicyChanged`, `AppStudioConnectorToolCalled`,
|
|
364
453
|
* `AccountLinkCreated`, `AccountLinkDeleted`, `AdConnectionAuthorizationStarted`,
|
|
365
454
|
* `AdConnectionConnected`, `AdAccountSelectionUpdated`, `AdAccountSyncRequested`,
|
|
366
455
|
* `AdConnectionDisconnected`, `AdWorkspaceOnboardingUpdated`,
|
|
367
456
|
* `AdCreativeReviewSubmitted`, `AdCreativeReviewCancelled`,
|
|
368
457
|
* `AdCreativeReviewDecided`, `AdCreativeApprovalRevoked`, `AdCreativeArchived`,
|
|
369
458
|
* `AdCreativeUnarchived`, `AdPublishBatchQueued`, `AdPublishBatchCancelled`,
|
|
370
|
-
* `AdPublishBatchRetried`, `AdStatusChanged`, `
|
|
371
|
-
* `
|
|
372
|
-
* `
|
|
459
|
+
* `AdPublishBatchRetried`, `AdStatusChanged`, `AdCampaignSetupDrafted`,
|
|
460
|
+
* `AdCampaignSetupDiscarded`, `AdCampaignSetupConfirmed`,
|
|
461
|
+
* `AdCampaignSetupCancelled`, `AdCampaignSetupRetried`,
|
|
462
|
+
* `OrganizationSettingsUpdated`, `OrganizationDisabledModelsUpdated`,
|
|
463
|
+
* `OrganizationAgentSandboxUpdated`, `OrganizationApiAccountReleased`,
|
|
464
|
+
* `OrganizationApiAccountMemberInvited`,
|
|
373
465
|
* `OrganizationApiAccountMemberRoleChanged`,
|
|
374
466
|
* `OrganizationApiAccountMemberRemoved`, `WorkspaceCountryLockUpdated`,
|
|
375
467
|
* `WorkspaceTagCreated`, `WorkspaceTagUpdated`, `WorkspaceTagDeleted`,
|
|
376
468
|
* `WorkspaceTagAssigned`, `WorkspaceTagUnassigned`, `MeteredBillingConfigUpdated`,
|
|
377
469
|
* `MeteredBillingRefillTriggered`, `MeteredBillingRetryTriggered`,
|
|
378
470
|
* `EnterpriseSpendCapEnforcementUpdated`, `OnboardingBonusGranted`,
|
|
379
|
-
* `AwsMarketplaceEnterpriseSubscriptionLinked`.
|
|
471
|
+
* `PromotionCreditsGranted`, `AwsMarketplaceEnterpriseSubscriptionLinked`.
|
|
380
472
|
*/
|
|
381
473
|
actions?: string;
|
|
382
474
|
/**
|
|
@@ -390,7 +482,9 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
390
482
|
from?: string;
|
|
391
483
|
/**
|
|
392
484
|
* Organization to report on. Optional when this API project is linked to a single
|
|
393
|
-
* organization; required when it is linked to more than one.
|
|
485
|
+
* organization; required when it is linked to more than one. If it is missing
|
|
486
|
+
* then, the 400 response lists the IDs and names of the linked organizations in
|
|
487
|
+
* `details.organizations`.
|
|
394
488
|
*/
|
|
395
489
|
organizationId?: string;
|
|
396
490
|
/**
|