@adspireai/adspire-node-sdk 1.0.376 → 1.0.378
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-public/types.gen.d.ts +185 -80
- package/dist-public/types.gen.js +19 -4
- package/dist-public/types.gen.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ActivityEvent = 'post.created' | 'post.updated' | 'post.duplicated' | 'post.published' | 'post.publish_failed' | 'posts.generated' | 'approval_request.created' | 'approval_request.responded' | 'whiteboard_preview.reapplied';
|
|
1
|
+
export type ActivityEvent = 'post.created' | 'post.updated' | 'post.duplicated' | 'post.published' | 'post.publish_failed' | 'posts.generated' | 'approval_request.created' | 'approval_request.responded' | 'whiteboard_preview.reapplied' | 'connector.installed' | 'connector.install_failed' | 'connector.install_expired' | 'connector.uninstalled' | 'connector.sync_completed' | 'connector.sync_failed';
|
|
2
2
|
export declare const ActivityEvent: {
|
|
3
3
|
readonly POST_CREATED: "post.created";
|
|
4
4
|
readonly POST_UPDATED: "post.updated";
|
|
@@ -9,6 +9,12 @@ export declare const ActivityEvent: {
|
|
|
9
9
|
readonly APPROVAL_REQUEST_CREATED: "approval_request.created";
|
|
10
10
|
readonly APPROVAL_REQUEST_RESPONDED: "approval_request.responded";
|
|
11
11
|
readonly WHITEBOARD_PREVIEW_REAPPLIED: "whiteboard_preview.reapplied";
|
|
12
|
+
readonly CONNECTOR_INSTALLED: "connector.installed";
|
|
13
|
+
readonly CONNECTOR_INSTALL_FAILED: "connector.install_failed";
|
|
14
|
+
readonly CONNECTOR_INSTALL_EXPIRED: "connector.install_expired";
|
|
15
|
+
readonly CONNECTOR_UNINSTALLED: "connector.uninstalled";
|
|
16
|
+
readonly CONNECTOR_SYNC_COMPLETED: "connector.sync_completed";
|
|
17
|
+
readonly CONNECTOR_SYNC_FAILED: "connector.sync_failed";
|
|
12
18
|
};
|
|
13
19
|
export type ApprovalRequestAssigneeType = 'internal_user' | 'external_user' | 'external_invite';
|
|
14
20
|
export declare const ApprovalRequestAssigneeType: {
|
|
@@ -170,6 +176,18 @@ export declare const PostGenerationType: {
|
|
|
170
176
|
readonly CRAWL: "crawl";
|
|
171
177
|
readonly REPURPOSE: "repurpose";
|
|
172
178
|
};
|
|
179
|
+
/**
|
|
180
|
+
* generate creates a new small image from a description, upscale re-renders the post's current image at full resolution, reformat recomposes the post's current image for the post's aspect ratio at small resolution
|
|
181
|
+
*/
|
|
182
|
+
export type PostImageGenerationMode = 'generate' | 'upscale' | 'reformat';
|
|
183
|
+
/**
|
|
184
|
+
* generate creates a new small image from a description, upscale re-renders the post's current image at full resolution, reformat recomposes the post's current image for the post's aspect ratio at small resolution
|
|
185
|
+
*/
|
|
186
|
+
export declare const PostImageGenerationMode: {
|
|
187
|
+
readonly GENERATE: "generate";
|
|
188
|
+
readonly UPSCALE: "upscale";
|
|
189
|
+
readonly REFORMAT: "reformat";
|
|
190
|
+
};
|
|
173
191
|
export type PostPlatform = 'facebook' | 'linkedin' | 'blog' | 'google_ads' | 'google_business' | 'figma' | 'instagram' | 'x' | 'tiktok';
|
|
174
192
|
export declare const PostPlatform: {
|
|
175
193
|
readonly FACEBOOK: "facebook";
|
|
@@ -201,15 +219,16 @@ export declare const PostType: {
|
|
|
201
219
|
readonly DESIGN: "design";
|
|
202
220
|
};
|
|
203
221
|
/**
|
|
204
|
-
* quick: signed up with email and brand URL only and has not set a password yet
|
|
222
|
+
* quick: signed up with email and brand URL only and has not set a password yet. sale: signed up with email only through the sales funnel and has not paid yet
|
|
205
223
|
*/
|
|
206
|
-
export type RegisterType = 'regular' | 'quick';
|
|
224
|
+
export type RegisterType = 'regular' | 'quick' | 'sale';
|
|
207
225
|
/**
|
|
208
|
-
* quick: signed up with email and brand URL only and has not set a password yet
|
|
226
|
+
* quick: signed up with email and brand URL only and has not set a password yet. sale: signed up with email only through the sales funnel and has not paid yet
|
|
209
227
|
*/
|
|
210
228
|
export declare const RegisterType: {
|
|
211
229
|
readonly REGULAR: "regular";
|
|
212
230
|
readonly QUICK: "quick";
|
|
231
|
+
readonly SALE: "sale";
|
|
213
232
|
};
|
|
214
233
|
export type StudioAssetType = 'character' | 'location' | 'object';
|
|
215
234
|
export declare const StudioAssetType: {
|
|
@@ -313,6 +332,9 @@ export type ResetPasswordRequest = {
|
|
|
313
332
|
*/
|
|
314
333
|
password_confirmation: string;
|
|
315
334
|
};
|
|
335
|
+
export type SaleRegisterRequest = {
|
|
336
|
+
email: string;
|
|
337
|
+
};
|
|
316
338
|
export type SendPasswordResetLinkRequest = {
|
|
317
339
|
/**
|
|
318
340
|
* The email address requesting a password reset link
|
|
@@ -850,6 +872,16 @@ export type WhiteboardPostGenerateFromPromptRequest = {
|
|
|
850
872
|
*/
|
|
851
873
|
content: string;
|
|
852
874
|
};
|
|
875
|
+
export type WhiteboardPostImageGenerationRequest = {
|
|
876
|
+
/**
|
|
877
|
+
* What to run. generate (default) creates a new small image from the description. upscale re-renders the post's current image at full resolution. reformat recomposes the post's current image for the post's aspect ratio. upscale and reformat use the post's current image as the reference and require the post to have one. Upscale keeps the source generation's aspect ratio when the image is one of this workspace's generations. Null or omitted means generate.
|
|
878
|
+
*/
|
|
879
|
+
mode?: PostImageGenerationMode | null;
|
|
880
|
+
/**
|
|
881
|
+
* What the generated image should show. Required when mode is generate (or omitted) and ignored for upscale and reformat. It is wrapped in the image prompt template together with brand data and the post's aspect ratio.
|
|
882
|
+
*/
|
|
883
|
+
description?: string;
|
|
884
|
+
};
|
|
853
885
|
export type WhiteboardPostRepurposeRequest = {
|
|
854
886
|
/**
|
|
855
887
|
* Sqid of the selected brand content prompt
|
|
@@ -1434,6 +1466,16 @@ export type BrandGraph = {
|
|
|
1434
1466
|
offerings?: BrandGraphOfferings;
|
|
1435
1467
|
social_proof?: BrandGraphSocialProof;
|
|
1436
1468
|
};
|
|
1469
|
+
export type BrandMemoryHistory = {
|
|
1470
|
+
events?: Array<{
|
|
1471
|
+
id?: number;
|
|
1472
|
+
group?: string;
|
|
1473
|
+
fields?: Array<string>;
|
|
1474
|
+
source?: string | null;
|
|
1475
|
+
occurred_at?: string | null;
|
|
1476
|
+
}>;
|
|
1477
|
+
next_before_id?: number | null;
|
|
1478
|
+
};
|
|
1437
1479
|
export type BrandPrompt = {
|
|
1438
1480
|
id?: string;
|
|
1439
1481
|
/**
|
|
@@ -1491,60 +1533,32 @@ export type BrandSetting = {
|
|
|
1491
1533
|
*/
|
|
1492
1534
|
logo?: string | null;
|
|
1493
1535
|
};
|
|
1494
|
-
export type
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
*/
|
|
1498
|
-
snapshot_date?: string;
|
|
1499
|
-
/**
|
|
1500
|
-
* When the snapshot row was last captured
|
|
1501
|
-
*/
|
|
1502
|
-
captured_at?: string;
|
|
1503
|
-
snapshot?: BrandSignalSnapshotPayload;
|
|
1504
|
-
};
|
|
1505
|
-
export type BrandSignalSnapshotPayload = {
|
|
1506
|
-
/**
|
|
1507
|
-
* Latest signals received for the brand itself, at most 50 items, newest first
|
|
1508
|
-
*/
|
|
1536
|
+
export type BrandSignals = {
|
|
1537
|
+
window_start?: string | null;
|
|
1538
|
+
window_end?: string;
|
|
1509
1539
|
brand?: {
|
|
1510
|
-
/**
|
|
1511
|
-
* Number of distinct brand signals up to the snapshot time
|
|
1512
|
-
*/
|
|
1513
1540
|
total?: number;
|
|
1514
|
-
|
|
1515
|
-
items?: Array<BrandSignalSnapshotItem>;
|
|
1541
|
+
items?: Array<BrandSignalItem>;
|
|
1516
1542
|
};
|
|
1517
|
-
/**
|
|
1518
|
-
* Latest signals detected for the brand competitors, at most 50 items, newest first
|
|
1519
|
-
*/
|
|
1520
1543
|
competitors?: {
|
|
1521
|
-
/**
|
|
1522
|
-
* Number of distinct competitor signals up to the snapshot time
|
|
1523
|
-
*/
|
|
1524
1544
|
total?: number;
|
|
1525
|
-
|
|
1526
|
-
|
|
1545
|
+
items?: Array<BrandCompetitorSignalItem>;
|
|
1546
|
+
};
|
|
1547
|
+
recent?: {
|
|
1548
|
+
window_start?: string;
|
|
1549
|
+
brand_count?: number;
|
|
1550
|
+
competitor_count?: number;
|
|
1527
1551
|
};
|
|
1528
|
-
change_summary?: BrandSignalChangeSummary;
|
|
1529
|
-
/**
|
|
1530
|
-
* When the snapshot payload was built
|
|
1531
|
-
*/
|
|
1532
|
-
captured_at?: string;
|
|
1533
1552
|
};
|
|
1534
|
-
export type
|
|
1553
|
+
export type BrandSignalItem = {
|
|
1535
1554
|
source?: string;
|
|
1536
1555
|
external_id?: string;
|
|
1537
1556
|
type?: string;
|
|
1538
1557
|
status?: string;
|
|
1539
1558
|
received_at?: string | null;
|
|
1540
|
-
|
|
1541
|
-
* Free-form signal payload from the source. An empty payload is serialized as an empty JSON array [] because of the array cast, so clients must accept both an object and [].
|
|
1542
|
-
*/
|
|
1543
|
-
payload?: {
|
|
1544
|
-
[key: string]: unknown;
|
|
1545
|
-
} | null;
|
|
1559
|
+
payload?: unknown;
|
|
1546
1560
|
};
|
|
1547
|
-
export type
|
|
1561
|
+
export type BrandCompetitorSignalItem = {
|
|
1548
1562
|
competitor_id?: number | null;
|
|
1549
1563
|
competitor_name?: string | null;
|
|
1550
1564
|
source?: string | null;
|
|
@@ -1554,44 +1568,10 @@ export type BrandCompetitorSignalSnapshotItem = {
|
|
|
1554
1568
|
summary?: string | null;
|
|
1555
1569
|
main_url?: string | null;
|
|
1556
1570
|
tags?: Array<string> | null;
|
|
1557
|
-
/**
|
|
1558
|
-
* Data quality score between 0 and 1
|
|
1559
|
-
*/
|
|
1560
1571
|
quality_score?: number | null;
|
|
1561
1572
|
detected_at?: string | null;
|
|
1562
1573
|
published_at?: string | null;
|
|
1563
|
-
|
|
1564
|
-
* Free-form signal payload from the source. An empty payload is serialized as an empty JSON array [] because of the array cast, so clients must accept both an object and [].
|
|
1565
|
-
*/
|
|
1566
|
-
payload?: {
|
|
1567
|
-
[key: string]: unknown;
|
|
1568
|
-
} | null;
|
|
1569
|
-
};
|
|
1570
|
-
/**
|
|
1571
|
-
* Changes compared to the previous daily snapshot. The first snapshot of a brand is a baseline with no changes.
|
|
1572
|
-
*/
|
|
1573
|
-
export type BrandSignalChangeSummary = {
|
|
1574
|
-
has_changes?: boolean;
|
|
1575
|
-
brand_new_count?: number;
|
|
1576
|
-
brand_removed_count?: number;
|
|
1577
|
-
competitor_new_count?: number;
|
|
1578
|
-
competitor_removed_count?: number;
|
|
1579
|
-
/**
|
|
1580
|
-
* SHA1 keys of new brand signals, capped at 20
|
|
1581
|
-
*/
|
|
1582
|
-
brand_new_keys?: Array<string>;
|
|
1583
|
-
/**
|
|
1584
|
-
* SHA1 keys of removed brand signals, capped at 20
|
|
1585
|
-
*/
|
|
1586
|
-
brand_removed_keys?: Array<string>;
|
|
1587
|
-
/**
|
|
1588
|
-
* SHA1 keys of new competitor signals, capped at 20
|
|
1589
|
-
*/
|
|
1590
|
-
competitor_new_keys?: Array<string>;
|
|
1591
|
-
/**
|
|
1592
|
-
* SHA1 keys of removed competitor signals, capped at 20
|
|
1593
|
-
*/
|
|
1594
|
-
competitor_removed_keys?: Array<string>;
|
|
1574
|
+
payload?: unknown;
|
|
1595
1575
|
};
|
|
1596
1576
|
export type CampaignListItems = {
|
|
1597
1577
|
id: string;
|
|
@@ -1827,6 +1807,24 @@ export type PostGeneration = {
|
|
|
1827
1807
|
failure_reason?: PostGenerationFailureReason | null;
|
|
1828
1808
|
created_at?: string;
|
|
1829
1809
|
};
|
|
1810
|
+
export type PostImageGeneration = {
|
|
1811
|
+
/**
|
|
1812
|
+
* Media generation ID (sqid)
|
|
1813
|
+
*/
|
|
1814
|
+
id?: string;
|
|
1815
|
+
mode?: PostImageGenerationMode;
|
|
1816
|
+
status?: MediaGenerationStatus;
|
|
1817
|
+
/**
|
|
1818
|
+
* Stable signed address of the generated image, set when status is completed. It does not expire and redirects to a short-lived file URL.
|
|
1819
|
+
*/
|
|
1820
|
+
image_url?: string | null;
|
|
1821
|
+
/**
|
|
1822
|
+
* Set when status is failed
|
|
1823
|
+
*/
|
|
1824
|
+
failure_reason?: MediaGenerationFailureReason | null;
|
|
1825
|
+
created_at?: string;
|
|
1826
|
+
completed_at?: string | null;
|
|
1827
|
+
};
|
|
1830
1828
|
export type StudioListItems = {
|
|
1831
1829
|
id: string;
|
|
1832
1830
|
brand_id?: string;
|
|
@@ -1957,6 +1955,113 @@ export type WhiteboardPreviewsWithPosts = {
|
|
|
1957
1955
|
reviewed_at?: string | null;
|
|
1958
1956
|
posts?: Array<WhiteboardPreviewPosts>;
|
|
1959
1957
|
};
|
|
1958
|
+
export type WorkflowDefinition = {
|
|
1959
|
+
key?: string;
|
|
1960
|
+
name?: string;
|
|
1961
|
+
description?: string;
|
|
1962
|
+
steps?: Array<string>;
|
|
1963
|
+
};
|
|
1964
|
+
export type WorkflowSchedule = {
|
|
1965
|
+
day?: number;
|
|
1966
|
+
time?: string;
|
|
1967
|
+
timezone?: string;
|
|
1968
|
+
};
|
|
1969
|
+
export type Workflow = {
|
|
1970
|
+
id?: string;
|
|
1971
|
+
key?: string;
|
|
1972
|
+
status?: string;
|
|
1973
|
+
schedule?: WorkflowSchedule;
|
|
1974
|
+
settings?: {
|
|
1975
|
+
[key: string]: unknown;
|
|
1976
|
+
} | null;
|
|
1977
|
+
next_run_at?: string | null;
|
|
1978
|
+
last_run_at?: string | null;
|
|
1979
|
+
definition?: WorkflowDefinition | null;
|
|
1980
|
+
};
|
|
1981
|
+
export type WorkflowRunStep = {
|
|
1982
|
+
key?: string;
|
|
1983
|
+
status?: string;
|
|
1984
|
+
output?: {
|
|
1985
|
+
[key: string]: unknown;
|
|
1986
|
+
} | null;
|
|
1987
|
+
error?: string | null;
|
|
1988
|
+
started_at?: string | null;
|
|
1989
|
+
completed_at?: string | null;
|
|
1990
|
+
};
|
|
1991
|
+
/**
|
|
1992
|
+
* Legacy daily signal change summary retained in previously dispatched workflow runs.
|
|
1993
|
+
*/
|
|
1994
|
+
export type WorkflowRunSignalChangeSummary = {
|
|
1995
|
+
has_changes?: boolean;
|
|
1996
|
+
brand_new_count?: number;
|
|
1997
|
+
brand_removed_count?: number;
|
|
1998
|
+
competitor_new_count?: number;
|
|
1999
|
+
competitor_removed_count?: number;
|
|
2000
|
+
brand_new_count_total?: number;
|
|
2001
|
+
brand_removed_count_total?: number;
|
|
2002
|
+
competitor_new_count_total?: number;
|
|
2003
|
+
competitor_removed_count_total?: number;
|
|
2004
|
+
brand_new_keys?: Array<string>;
|
|
2005
|
+
brand_removed_keys?: Array<string>;
|
|
2006
|
+
competitor_new_keys?: Array<string>;
|
|
2007
|
+
competitor_removed_keys?: Array<string>;
|
|
2008
|
+
};
|
|
2009
|
+
/**
|
|
2010
|
+
* Signal data captured for the workflow run. Optional legacy fields are present only in older runs.
|
|
2011
|
+
*/
|
|
2012
|
+
export type WorkflowRunSignals = {
|
|
2013
|
+
window_start?: string | null;
|
|
2014
|
+
window_end?: string;
|
|
2015
|
+
brand?: {
|
|
2016
|
+
total?: number;
|
|
2017
|
+
items?: Array<BrandSignalItem>;
|
|
2018
|
+
};
|
|
2019
|
+
competitors?: {
|
|
2020
|
+
total?: number;
|
|
2021
|
+
items?: Array<BrandCompetitorSignalItem>;
|
|
2022
|
+
};
|
|
2023
|
+
change_summary?: WorkflowRunSignalChangeSummary;
|
|
2024
|
+
summary?: {
|
|
2025
|
+
brand_new_count_total?: number;
|
|
2026
|
+
competitor_new_count_total?: number;
|
|
2027
|
+
brand_removed_count_total?: number;
|
|
2028
|
+
competitor_removed_count_total?: number;
|
|
2029
|
+
};
|
|
2030
|
+
captured_at?: string;
|
|
2031
|
+
generated_at?: string;
|
|
2032
|
+
daily_changes?: Array<{
|
|
2033
|
+
[key: string]: unknown;
|
|
2034
|
+
}>;
|
|
2035
|
+
};
|
|
2036
|
+
/**
|
|
2037
|
+
* Immutable inputs captured when a workflow run was dispatched.
|
|
2038
|
+
*/
|
|
2039
|
+
export type WorkflowRunInputSnapshot = {
|
|
2040
|
+
workflow_key?: string;
|
|
2041
|
+
brand_id?: number;
|
|
2042
|
+
brand_graph?: {
|
|
2043
|
+
[key: string]: unknown;
|
|
2044
|
+
};
|
|
2045
|
+
signals?: WorkflowRunSignals;
|
|
2046
|
+
signals_snapshot_ref?: {
|
|
2047
|
+
[key: string]: unknown;
|
|
2048
|
+
} | null;
|
|
2049
|
+
};
|
|
2050
|
+
export type WorkflowRun = {
|
|
2051
|
+
id?: string;
|
|
2052
|
+
workflow_id?: string | null;
|
|
2053
|
+
period_start?: string;
|
|
2054
|
+
period_end?: string;
|
|
2055
|
+
status?: string;
|
|
2056
|
+
input_snapshot?: WorkflowRunInputSnapshot | null;
|
|
2057
|
+
output?: {
|
|
2058
|
+
[key: string]: unknown;
|
|
2059
|
+
} | null;
|
|
2060
|
+
error?: string | null;
|
|
2061
|
+
started_at?: string | null;
|
|
2062
|
+
completed_at?: string | null;
|
|
2063
|
+
steps?: Array<WorkflowRunStep>;
|
|
2064
|
+
};
|
|
1960
2065
|
export type WorkspaceDetail = {
|
|
1961
2066
|
id: string;
|
|
1962
2067
|
name: string;
|
package/dist-public/types.gen.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.WorkspaceInvitationStatus = exports.WhiteboardPreviewStatus = exports.UserType = exports.UserRole = exports.UsageEventType = exports.StudioStatus = exports.StudioSceneVersionKind = exports.StudioSceneFrameStatus = exports.StudioSceneAnimationStatus = exports.StudioAssetType = exports.RegisterType = exports.PostType = exports.PostStatus = exports.PostPlatform = exports.PostGenerationType = exports.PostGenerationStatus = exports.PostGenerationFailureReason = exports.PlanType = exports.NotificationType = exports.MediaGenerationType = exports.MediaGenerationStatus = exports.MediaGenerationFailureReason = exports.IndustryGroup = exports.DeploymentStatus = exports.ConnectorType = exports.ConnectorInstallationStatus = exports.CommentableType = exports.CampaignStatus = exports.BrandPromptType = exports.BrandGraphGroup = exports.BrandExtractionStatus = exports.BrandCompetitorChannelType = exports.ApprovalRequestStatus = exports.ApprovalRequestCandidateType = exports.ApprovalRequestAssigneeType = exports.ActivityEvent = void 0;
|
|
4
|
+
exports.WorkspaceInvitationStatus = exports.WhiteboardPreviewStatus = exports.UserType = exports.UserRole = exports.UsageEventType = exports.StudioStatus = exports.StudioSceneVersionKind = exports.StudioSceneFrameStatus = exports.StudioSceneAnimationStatus = exports.StudioAssetType = exports.RegisterType = exports.PostType = exports.PostStatus = exports.PostPlatform = exports.PostImageGenerationMode = exports.PostGenerationType = exports.PostGenerationStatus = exports.PostGenerationFailureReason = exports.PlanType = exports.NotificationType = exports.MediaGenerationType = exports.MediaGenerationStatus = exports.MediaGenerationFailureReason = exports.IndustryGroup = exports.DeploymentStatus = exports.ConnectorType = exports.ConnectorInstallationStatus = exports.CommentableType = exports.CampaignStatus = exports.BrandPromptType = exports.BrandGraphGroup = exports.BrandExtractionStatus = exports.BrandCompetitorChannelType = exports.ApprovalRequestStatus = exports.ApprovalRequestCandidateType = exports.ApprovalRequestAssigneeType = exports.ActivityEvent = void 0;
|
|
5
5
|
exports.ActivityEvent = {
|
|
6
6
|
POST_CREATED: 'post.created',
|
|
7
7
|
POST_UPDATED: 'post.updated',
|
|
@@ -11,7 +11,13 @@ exports.ActivityEvent = {
|
|
|
11
11
|
POSTS_GENERATED: 'posts.generated',
|
|
12
12
|
APPROVAL_REQUEST_CREATED: 'approval_request.created',
|
|
13
13
|
APPROVAL_REQUEST_RESPONDED: 'approval_request.responded',
|
|
14
|
-
WHITEBOARD_PREVIEW_REAPPLIED: 'whiteboard_preview.reapplied'
|
|
14
|
+
WHITEBOARD_PREVIEW_REAPPLIED: 'whiteboard_preview.reapplied',
|
|
15
|
+
CONNECTOR_INSTALLED: 'connector.installed',
|
|
16
|
+
CONNECTOR_INSTALL_FAILED: 'connector.install_failed',
|
|
17
|
+
CONNECTOR_INSTALL_EXPIRED: 'connector.install_expired',
|
|
18
|
+
CONNECTOR_UNINSTALLED: 'connector.uninstalled',
|
|
19
|
+
CONNECTOR_SYNC_COMPLETED: 'connector.sync_completed',
|
|
20
|
+
CONNECTOR_SYNC_FAILED: 'connector.sync_failed'
|
|
15
21
|
};
|
|
16
22
|
exports.ApprovalRequestAssigneeType = {
|
|
17
23
|
INTERNAL_USER: 'internal_user',
|
|
@@ -146,6 +152,14 @@ exports.PostGenerationType = {
|
|
|
146
152
|
CRAWL: 'crawl',
|
|
147
153
|
REPURPOSE: 'repurpose'
|
|
148
154
|
};
|
|
155
|
+
/**
|
|
156
|
+
* generate creates a new small image from a description, upscale re-renders the post's current image at full resolution, reformat recomposes the post's current image for the post's aspect ratio at small resolution
|
|
157
|
+
*/
|
|
158
|
+
exports.PostImageGenerationMode = {
|
|
159
|
+
GENERATE: 'generate',
|
|
160
|
+
UPSCALE: 'upscale',
|
|
161
|
+
REFORMAT: 'reformat'
|
|
162
|
+
};
|
|
149
163
|
exports.PostPlatform = {
|
|
150
164
|
FACEBOOK: 'facebook',
|
|
151
165
|
LINKEDIN: 'linkedin',
|
|
@@ -174,11 +188,12 @@ exports.PostType = {
|
|
|
174
188
|
DESIGN: 'design'
|
|
175
189
|
};
|
|
176
190
|
/**
|
|
177
|
-
* quick: signed up with email and brand URL only and has not set a password yet
|
|
191
|
+
* quick: signed up with email and brand URL only and has not set a password yet. sale: signed up with email only through the sales funnel and has not paid yet
|
|
178
192
|
*/
|
|
179
193
|
exports.RegisterType = {
|
|
180
194
|
REGULAR: 'regular',
|
|
181
|
-
QUICK: 'quick'
|
|
195
|
+
QUICK: 'quick',
|
|
196
|
+
SALE: 'sale'
|
|
182
197
|
};
|
|
183
198
|
exports.StudioAssetType = {
|
|
184
199
|
CHARACTER: 'character',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../src-public/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAIxC,QAAA,aAAa,GAAG;IAC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