@joai/core 4.16.0 → 5.0.1
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/index.d.mts +342 -151
- package/dist/index.mjs +238 -2
- package/package.json +2 -13
- package/dist/react/index.d.mts +0 -362
- package/dist/react/index.mjs +0 -729
package/dist/index.d.mts
CHANGED
|
@@ -374,7 +374,7 @@ type ShippingCarrierOption = {
|
|
|
374
374
|
};
|
|
375
375
|
type Fulfillment = {
|
|
376
376
|
id: string;
|
|
377
|
-
orderId:
|
|
377
|
+
orderId: string;
|
|
378
378
|
method: FulfillmentMethod;
|
|
379
379
|
status: FulfillmentStatus;
|
|
380
380
|
carrierCode: string | null;
|
|
@@ -390,7 +390,8 @@ type Fulfillment = {
|
|
|
390
390
|
};
|
|
391
391
|
type Return = {
|
|
392
392
|
id: string;
|
|
393
|
-
orderId:
|
|
393
|
+
orderId: string;
|
|
394
|
+
fulfillmentId?: string | null;
|
|
394
395
|
status: ReturnStatus;
|
|
395
396
|
reason: string;
|
|
396
397
|
merchantNote: string | null;
|
|
@@ -398,8 +399,12 @@ type Return = {
|
|
|
398
399
|
orderItemId: number;
|
|
399
400
|
quantity: number;
|
|
400
401
|
condition: string | null;
|
|
402
|
+
name?: string | null;
|
|
401
403
|
}[];
|
|
402
404
|
refundAmount: number | null;
|
|
405
|
+
suggestedRefundAmount?: number | null;
|
|
406
|
+
createdAt?: string;
|
|
407
|
+
order?: Order | null;
|
|
403
408
|
};
|
|
404
409
|
type SubscriptionDelivery = {
|
|
405
410
|
fulfillmentMethod: FulfillmentMethod | null;
|
|
@@ -584,7 +589,7 @@ type Media = {
|
|
|
584
589
|
};
|
|
585
590
|
//#endregion
|
|
586
591
|
//#region src/integration/types.d.ts
|
|
587
|
-
type IntegrationType = 'none' | 'webhook' | 'api-token' | 'telegram' | 'slack' | 'whatsapp' | 'whatsapp-personal' | 'twilio' | 'sms' | 'n8n' | 'apple-health' | 'mcp' | 'x' | 'xchat' | 'instagram' | 'facebook' | 'linkedin' | 'grok' | 'cloudflare' | 'email' | 'calendar' | 'embed' | 'discord' | 'github' | 'push' | 'sentry' | 'readwise';
|
|
592
|
+
type IntegrationType = 'none' | 'webhook' | 'api-token' | 'telegram' | 'slack' | 'whatsapp' | 'whatsapp-personal' | 'twilio' | 'sms' | 'n8n' | 'apple-health' | 'mcp' | 'x' | 'xchat' | 'instagram' | 'facebook' | 'linkedin' | 'grok' | 'cloudflare' | 'google-search-console' | 'email' | 'calendar' | 'embed' | 'discord' | 'github' | 'push' | 'sentry' | 'readwise';
|
|
588
593
|
type IntegrationDetails = {
|
|
589
594
|
type: IntegrationType;
|
|
590
595
|
name: string;
|
|
@@ -778,151 +783,6 @@ type Room = {
|
|
|
778
783
|
integration: Integration | null;
|
|
779
784
|
};
|
|
780
785
|
//#endregion
|
|
781
|
-
//#region src/meeting/types.d.ts
|
|
782
|
-
type MeetingSessionState = 'idle' | 'listening' | 'ended';
|
|
783
|
-
type TranscriptEntry = {
|
|
784
|
-
id: string;
|
|
785
|
-
text: string;
|
|
786
|
-
isFinal: boolean;
|
|
787
|
-
timestamp: number;
|
|
788
|
-
speakerId?: number;
|
|
789
|
-
speakerName?: string;
|
|
790
|
-
};
|
|
791
|
-
type BookmarkEntry = {
|
|
792
|
-
id: string;
|
|
793
|
-
timestamp: number;
|
|
794
|
-
transcriptEntryId: string;
|
|
795
|
-
};
|
|
796
|
-
type MeetingParticipant = {
|
|
797
|
-
name: string | null;
|
|
798
|
-
profileImageUrl: string | null;
|
|
799
|
-
};
|
|
800
|
-
type MeetingSpeakerAssignment = {
|
|
801
|
-
speakerId: number;
|
|
802
|
-
name: string;
|
|
803
|
-
contactId: string | null;
|
|
804
|
-
};
|
|
805
|
-
type Meeting = {
|
|
806
|
-
id: string;
|
|
807
|
-
code: string;
|
|
808
|
-
name: string | null;
|
|
809
|
-
room: Room | null;
|
|
810
|
-
inviteUrl: string;
|
|
811
|
-
status: MeetingStatus;
|
|
812
|
-
conferenceProvider: MeetingConferenceProvider | null;
|
|
813
|
-
conferenceUrl: string | null;
|
|
814
|
-
conferenceExternalId: string | null;
|
|
815
|
-
configuration?: Configuration;
|
|
816
|
-
captureMode: 'desktop_local' | null;
|
|
817
|
-
transcriptUrl: string | null;
|
|
818
|
-
summaryUrl: string | null;
|
|
819
|
-
participants?: MeetingParticipant[]; /** CRM contacts linked to an appointment booking, when available. */
|
|
820
|
-
contacts?: Contact[];
|
|
821
|
-
speakerAssignments?: MeetingSpeakerAssignment[] | null;
|
|
822
|
-
scheduledAt: string | null;
|
|
823
|
-
scheduledEndAt?: string | null;
|
|
824
|
-
timezone?: string | null;
|
|
825
|
-
calendarEventId: number | null;
|
|
826
|
-
startedAt: string | null;
|
|
827
|
-
endedAt: string | null;
|
|
828
|
-
createdAt: string;
|
|
829
|
-
};
|
|
830
|
-
type MeetingStatus = 'active' | 'completed' | 'analyzed' | 'scheduled' | 'cancelled';
|
|
831
|
-
type MeetingConferenceProvider = 'google_meet' | 'teams' | 'zoom';
|
|
832
|
-
type MeetingFeature = 'transcription' | 'summary' | 'insights' | 'actions';
|
|
833
|
-
type MeetingJoinTeam = {
|
|
834
|
-
slug: string;
|
|
835
|
-
name: string;
|
|
836
|
-
logo: string | null;
|
|
837
|
-
};
|
|
838
|
-
type MeetingJoinInfo = {
|
|
839
|
-
id: string;
|
|
840
|
-
code: string;
|
|
841
|
-
name: string | null;
|
|
842
|
-
inviteUrl: string;
|
|
843
|
-
agentName: string;
|
|
844
|
-
team: MeetingJoinTeam;
|
|
845
|
-
status: MeetingStatus;
|
|
846
|
-
isPhysical: boolean;
|
|
847
|
-
scheduledAt: string | null;
|
|
848
|
-
scheduledEndAt: string | null;
|
|
849
|
-
timezone: string;
|
|
850
|
-
conferenceUrl: string | null;
|
|
851
|
-
conferenceProvider: MeetingConferenceProvider | null;
|
|
852
|
-
endedAt: string | null;
|
|
853
|
-
canCancel: boolean;
|
|
854
|
-
features: Record<MeetingFeature, boolean>;
|
|
855
|
-
};
|
|
856
|
-
type MeetingTranscriptEntry = {
|
|
857
|
-
speaker: 'user' | 'agent';
|
|
858
|
-
text: string;
|
|
859
|
-
timestamp: string;
|
|
860
|
-
};
|
|
861
|
-
type MeetingUsage = {
|
|
862
|
-
current: number;
|
|
863
|
-
limit: number;
|
|
864
|
-
reached: boolean;
|
|
865
|
-
remainingWords: number | null;
|
|
866
|
-
};
|
|
867
|
-
type MeetingSummary = {
|
|
868
|
-
content: string;
|
|
869
|
-
};
|
|
870
|
-
//#endregion
|
|
871
|
-
//#region src/site/types.d.ts
|
|
872
|
-
type SiteType = 'undefined' | 'shop';
|
|
873
|
-
type SiteTeam = {
|
|
874
|
-
name: string;
|
|
875
|
-
slug: string;
|
|
876
|
-
logoUrl: string | null;
|
|
877
|
-
};
|
|
878
|
-
type SiteAgent = {
|
|
879
|
-
uuid: string | null;
|
|
880
|
-
};
|
|
881
|
-
type Site = {
|
|
882
|
-
id: number;
|
|
883
|
-
slug: string;
|
|
884
|
-
name: string | null;
|
|
885
|
-
url: string | null;
|
|
886
|
-
type: SiteType;
|
|
887
|
-
brandSlug: string | null;
|
|
888
|
-
customDomain: string | null;
|
|
889
|
-
enabled: boolean;
|
|
890
|
-
contactId?: string | null;
|
|
891
|
-
metricsSource?: string | null;
|
|
892
|
-
metricsResource?: string | null;
|
|
893
|
-
monthlyReport?: boolean;
|
|
894
|
-
team: SiteTeam | null;
|
|
895
|
-
agent: SiteAgent | null;
|
|
896
|
-
settings: Record<string, JsonValue>;
|
|
897
|
-
};
|
|
898
|
-
type SiteRoute = {
|
|
899
|
-
path: string;
|
|
900
|
-
warp: string;
|
|
901
|
-
label: WarpI18nText;
|
|
902
|
-
nav?: boolean;
|
|
903
|
-
hiddenFields?: string[];
|
|
904
|
-
};
|
|
905
|
-
type BrandSiteConfig = {
|
|
906
|
-
enabled: boolean;
|
|
907
|
-
auth?: boolean;
|
|
908
|
-
indexPath: string;
|
|
909
|
-
routes: SiteRoute[];
|
|
910
|
-
name?: string;
|
|
911
|
-
logoUrl?: string | null;
|
|
912
|
-
};
|
|
913
|
-
type SiteBrand = {
|
|
914
|
-
slug: string;
|
|
915
|
-
configureRoute: Pick<SiteRoute, 'path' | 'label'> | null;
|
|
916
|
-
};
|
|
917
|
-
type AggregatedRoute = {
|
|
918
|
-
path: string;
|
|
919
|
-
warp: string;
|
|
920
|
-
label: WarpI18nText;
|
|
921
|
-
nav?: boolean;
|
|
922
|
-
hiddenFields?: string[];
|
|
923
|
-
moduleSlug?: string;
|
|
924
|
-
};
|
|
925
|
-
//#endregion
|
|
926
786
|
//#region src/flow/types.d.ts
|
|
927
787
|
type FlowCategory = 'none' | 'defi' | 'nft' | 'social' | 'devtools' | 'productivity' | 'trading' | 'portfolio';
|
|
928
788
|
type FlowStatus = 'draft' | 'published';
|
|
@@ -968,6 +828,7 @@ declare const UserPermissions: {
|
|
|
968
828
|
readonly ContentPublish: "content-publish";
|
|
969
829
|
readonly TeamMemberInvite: "team-member-invite";
|
|
970
830
|
readonly TeamMemberRemove: "team-member-remove";
|
|
831
|
+
readonly TeamMemberRole: "team-member-role";
|
|
971
832
|
readonly TeamSecretView: "team-secret-view";
|
|
972
833
|
readonly TeamSecretManage: "team-secret-manage";
|
|
973
834
|
readonly AgentExecute: "agent-execute";
|
|
@@ -1001,6 +862,9 @@ declare const isUserRole: (value: string) => value is UserRole;
|
|
|
1001
862
|
declare const InviteableTeamRoles: readonly ["member", "developer", "admin"];
|
|
1002
863
|
declare const DefaultInviteTeamRole: "member";
|
|
1003
864
|
declare const inviteableTeamRoles: () => UserRole[];
|
|
865
|
+
/** Roles assignable to an existing member — unlike invites, ownership can be transferred. */
|
|
866
|
+
declare const AssignableTeamRoles: readonly ["owner", "admin", "developer", "member"];
|
|
867
|
+
declare const assignableTeamRoles: () => UserRole[];
|
|
1004
868
|
declare const defaultInviteTeamRole: () => UserRole;
|
|
1005
869
|
//#endregion
|
|
1006
870
|
//#region src/user/types.d.ts
|
|
@@ -1128,6 +992,7 @@ declare const NativeApps: {
|
|
|
1128
992
|
readonly Social: "social";
|
|
1129
993
|
readonly Studio: "studio";
|
|
1130
994
|
readonly Loyalty: "loyalty";
|
|
995
|
+
readonly Documents: "documents";
|
|
1131
996
|
};
|
|
1132
997
|
type NativeApp = (typeof NativeApps)[keyof typeof NativeApps];
|
|
1133
998
|
declare const nativeAppSlugs: NativeApp[];
|
|
@@ -1194,6 +1059,7 @@ type TeamMeta = {
|
|
|
1194
1059
|
'shop.legal.withdrawal_url'?: string | null;
|
|
1195
1060
|
'shop.legal.imprint_url'?: string | null;
|
|
1196
1061
|
'orders.notify_emails'?: string[];
|
|
1062
|
+
'orders.payment_reminders'?: boolean;
|
|
1197
1063
|
contactPropertyMaskWarp?: string;
|
|
1198
1064
|
branding?: TeamBrand | null;
|
|
1199
1065
|
settings: Record<string, unknown> & {
|
|
@@ -1321,6 +1187,7 @@ type TeamSettings = {
|
|
|
1321
1187
|
'shop.legal.withdrawal_url'?: string | null;
|
|
1322
1188
|
'shop.legal.imprint_url'?: string | null;
|
|
1323
1189
|
'orders.notify_emails'?: string[];
|
|
1190
|
+
'orders.payment_reminders'?: boolean;
|
|
1324
1191
|
branding?: TeamBrand | null;
|
|
1325
1192
|
};
|
|
1326
1193
|
type TeamUsage = Partial<Record<PlanFeature, TeamFeatureUsage>> & {
|
|
@@ -1378,6 +1245,152 @@ type AiCostsResponse = {
|
|
|
1378
1245
|
};
|
|
1379
1246
|
};
|
|
1380
1247
|
//#endregion
|
|
1248
|
+
//#region src/meeting/types.d.ts
|
|
1249
|
+
type MeetingSessionState = 'idle' | 'listening' | 'ended';
|
|
1250
|
+
type TranscriptEntry = {
|
|
1251
|
+
id: string;
|
|
1252
|
+
text: string;
|
|
1253
|
+
isFinal: boolean;
|
|
1254
|
+
timestamp: number;
|
|
1255
|
+
speakerId?: number;
|
|
1256
|
+
speakerName?: string;
|
|
1257
|
+
};
|
|
1258
|
+
type BookmarkEntry = {
|
|
1259
|
+
id: string;
|
|
1260
|
+
timestamp: number;
|
|
1261
|
+
transcriptEntryId: string;
|
|
1262
|
+
};
|
|
1263
|
+
type MeetingParticipant = {
|
|
1264
|
+
name: string | null;
|
|
1265
|
+
profileImageUrl: string | null;
|
|
1266
|
+
};
|
|
1267
|
+
type MeetingSpeakerAssignment = {
|
|
1268
|
+
speakerId: number;
|
|
1269
|
+
name: string;
|
|
1270
|
+
contactId: string | null;
|
|
1271
|
+
};
|
|
1272
|
+
type Meeting = {
|
|
1273
|
+
id: string;
|
|
1274
|
+
code: string;
|
|
1275
|
+
name: string | null;
|
|
1276
|
+
room: Room | null;
|
|
1277
|
+
inviteUrl: string;
|
|
1278
|
+
status: MeetingStatus;
|
|
1279
|
+
conferenceProvider: MeetingConferenceProvider | null;
|
|
1280
|
+
conferenceUrl: string | null;
|
|
1281
|
+
conferenceExternalId: string | null;
|
|
1282
|
+
configuration?: Configuration;
|
|
1283
|
+
captureMode: 'desktop_local' | null;
|
|
1284
|
+
transcriptUrl: string | null;
|
|
1285
|
+
summaryUrl: string | null;
|
|
1286
|
+
participants?: MeetingParticipant[]; /** CRM contacts linked to an appointment booking, when available. */
|
|
1287
|
+
contacts?: Contact[];
|
|
1288
|
+
speakerAssignments?: MeetingSpeakerAssignment[] | null;
|
|
1289
|
+
scheduledAt: string | null;
|
|
1290
|
+
scheduledEndAt?: string | null;
|
|
1291
|
+
timezone?: string | null;
|
|
1292
|
+
calendarEventId: number | null;
|
|
1293
|
+
startedAt: string | null;
|
|
1294
|
+
endedAt: string | null;
|
|
1295
|
+
createdAt: string;
|
|
1296
|
+
};
|
|
1297
|
+
type MeetingStatus = 'active' | 'completed' | 'analyzed' | 'scheduled' | 'cancelled';
|
|
1298
|
+
type MeetingConferenceProvider = 'google_meet' | 'teams' | 'zoom';
|
|
1299
|
+
type MeetingFeature = 'transcription' | 'summary' | 'insights' | 'actions';
|
|
1300
|
+
type MeetingJoinTeam = {
|
|
1301
|
+
slug: string;
|
|
1302
|
+
name: string;
|
|
1303
|
+
logo: string | null;
|
|
1304
|
+
place?: TeamPlace | null;
|
|
1305
|
+
};
|
|
1306
|
+
type MeetingJoinInfo = {
|
|
1307
|
+
id: string;
|
|
1308
|
+
code: string;
|
|
1309
|
+
name: string | null;
|
|
1310
|
+
inviteUrl: string;
|
|
1311
|
+
agentName: string;
|
|
1312
|
+
team: MeetingJoinTeam;
|
|
1313
|
+
status: MeetingStatus;
|
|
1314
|
+
isPhysical: boolean;
|
|
1315
|
+
scheduledAt: string | null;
|
|
1316
|
+
scheduledEndAt: string | null;
|
|
1317
|
+
timezone: string;
|
|
1318
|
+
conferenceUrl: string | null;
|
|
1319
|
+
conferenceProvider: MeetingConferenceProvider | null;
|
|
1320
|
+
endedAt: string | null;
|
|
1321
|
+
canCancel: boolean;
|
|
1322
|
+
features: Record<MeetingFeature, boolean>;
|
|
1323
|
+
};
|
|
1324
|
+
type MeetingTranscriptEntry = {
|
|
1325
|
+
speaker: 'user' | 'agent';
|
|
1326
|
+
text: string;
|
|
1327
|
+
timestamp: string;
|
|
1328
|
+
};
|
|
1329
|
+
type MeetingUsage = {
|
|
1330
|
+
current: number;
|
|
1331
|
+
limit: number;
|
|
1332
|
+
reached: boolean;
|
|
1333
|
+
remainingWords: number | null;
|
|
1334
|
+
};
|
|
1335
|
+
type MeetingSummary = {
|
|
1336
|
+
content: string;
|
|
1337
|
+
};
|
|
1338
|
+
//#endregion
|
|
1339
|
+
//#region src/site/types.d.ts
|
|
1340
|
+
type SiteType = 'undefined' | 'shop';
|
|
1341
|
+
type SiteTeam = {
|
|
1342
|
+
name: string;
|
|
1343
|
+
slug: string;
|
|
1344
|
+
logoUrl: string | null;
|
|
1345
|
+
};
|
|
1346
|
+
type SiteAgent = {
|
|
1347
|
+
uuid: string | null;
|
|
1348
|
+
};
|
|
1349
|
+
type Site = {
|
|
1350
|
+
id: number;
|
|
1351
|
+
slug: string;
|
|
1352
|
+
name: string | null;
|
|
1353
|
+
url: string | null;
|
|
1354
|
+
type: SiteType;
|
|
1355
|
+
brandSlug: string | null;
|
|
1356
|
+
customDomain: string | null;
|
|
1357
|
+
enabled: boolean;
|
|
1358
|
+
contactId?: string | null;
|
|
1359
|
+
metricsSource?: string | null;
|
|
1360
|
+
metricsResource?: string | null;
|
|
1361
|
+
monthlyReport?: boolean;
|
|
1362
|
+
team: SiteTeam | null;
|
|
1363
|
+
agent: SiteAgent | null;
|
|
1364
|
+
settings: Record<string, JsonValue>;
|
|
1365
|
+
};
|
|
1366
|
+
type SiteRoute = {
|
|
1367
|
+
path: string;
|
|
1368
|
+
warp: string;
|
|
1369
|
+
label: WarpI18nText;
|
|
1370
|
+
nav?: boolean;
|
|
1371
|
+
hiddenFields?: string[];
|
|
1372
|
+
};
|
|
1373
|
+
type BrandSiteConfig = {
|
|
1374
|
+
enabled: boolean;
|
|
1375
|
+
auth?: boolean;
|
|
1376
|
+
indexPath: string;
|
|
1377
|
+
routes: SiteRoute[];
|
|
1378
|
+
name?: string;
|
|
1379
|
+
logoUrl?: string | null;
|
|
1380
|
+
};
|
|
1381
|
+
type SiteBrand = {
|
|
1382
|
+
slug: string;
|
|
1383
|
+
configureRoute: Pick<SiteRoute, 'path' | 'label'> | null;
|
|
1384
|
+
};
|
|
1385
|
+
type AggregatedRoute = {
|
|
1386
|
+
path: string;
|
|
1387
|
+
warp: string;
|
|
1388
|
+
label: WarpI18nText;
|
|
1389
|
+
nav?: boolean;
|
|
1390
|
+
hiddenFields?: string[];
|
|
1391
|
+
moduleSlug?: string;
|
|
1392
|
+
};
|
|
1393
|
+
//#endregion
|
|
1381
1394
|
//#region src/billing/types.d.ts
|
|
1382
1395
|
type TranslatableValue = Partial<Record<WarpLocale, string>>;
|
|
1383
1396
|
type OrderStatus = 'pending' | 'confirmed' | 'processing' | 'shipped' | 'completed' | 'delivered' | 'canceled' | 'returned';
|
|
@@ -2311,6 +2324,11 @@ type ArtifactDeliverPayload = {
|
|
|
2311
2324
|
contactIds?: string[];
|
|
2312
2325
|
agentId?: string;
|
|
2313
2326
|
};
|
|
2327
|
+
type ArtifactDeliveryPreview = {
|
|
2328
|
+
subject: string | null;
|
|
2329
|
+
integration: ArtifactDeliverIntegration;
|
|
2330
|
+
message: string;
|
|
2331
|
+
};
|
|
2314
2332
|
type ArtifactDelivery = {
|
|
2315
2333
|
id: string;
|
|
2316
2334
|
contactId: string;
|
|
@@ -2335,6 +2353,7 @@ type Service = {
|
|
|
2335
2353
|
digital: boolean;
|
|
2336
2354
|
public: boolean;
|
|
2337
2355
|
bookable: boolean;
|
|
2356
|
+
order?: number | null;
|
|
2338
2357
|
taxClassId?: string | null;
|
|
2339
2358
|
settings?: Record<string, unknown> | null;
|
|
2340
2359
|
createdAt: string;
|
|
@@ -2440,7 +2459,7 @@ type AppointmentRequest = {
|
|
|
2440
2459
|
};
|
|
2441
2460
|
//#endregion
|
|
2442
2461
|
//#region src/automation/types.d.ts
|
|
2443
|
-
type AutomationTriggerType = 'prop' | 'segment' | 'manual' | 'webhook';
|
|
2462
|
+
type AutomationTriggerType = 'prop' | 'segment' | 'manual' | 'webhook' | 'site_monthly_report';
|
|
2444
2463
|
type AutomationActionType = 'wait' | 'halt' | 'warp' | 'branch';
|
|
2445
2464
|
type AutomationEnrollmentStatus = 'active' | 'completed' | 'skipped';
|
|
2446
2465
|
type AutomationEnrollmentChange = 'created' | 'advanced' | 'sent' | 'completed' | 'skipped' | 'errored';
|
|
@@ -2654,6 +2673,45 @@ type PatchContentInput = {
|
|
|
2654
2673
|
publish?: boolean;
|
|
2655
2674
|
};
|
|
2656
2675
|
//#endregion
|
|
2676
|
+
//#region src/content/image-processing.d.ts
|
|
2677
|
+
type ImageDimensions = {
|
|
2678
|
+
width: number;
|
|
2679
|
+
height: number;
|
|
2680
|
+
};
|
|
2681
|
+
type ImageCropState = {
|
|
2682
|
+
x: number;
|
|
2683
|
+
y: number;
|
|
2684
|
+
zoom: number;
|
|
2685
|
+
};
|
|
2686
|
+
type ImageCropRectangle = {
|
|
2687
|
+
x: number;
|
|
2688
|
+
y: number;
|
|
2689
|
+
width: number;
|
|
2690
|
+
height: number;
|
|
2691
|
+
};
|
|
2692
|
+
type ImageDimensionRules = {
|
|
2693
|
+
minWidth?: number;
|
|
2694
|
+
minHeight?: number;
|
|
2695
|
+
maxWidth?: number;
|
|
2696
|
+
maxHeight?: number;
|
|
2697
|
+
maxPixels?: number;
|
|
2698
|
+
};
|
|
2699
|
+
type ImageCompressionOptions = {
|
|
2700
|
+
maxWidth?: number;
|
|
2701
|
+
maxHeight?: number;
|
|
2702
|
+
mimeType?: 'image/jpeg' | 'image/png' | 'image/webp';
|
|
2703
|
+
quality?: number;
|
|
2704
|
+
};
|
|
2705
|
+
type ImageCropOptions = {
|
|
2706
|
+
aspectRatio: number;
|
|
2707
|
+
outputWidth?: number;
|
|
2708
|
+
outputHeight?: number;
|
|
2709
|
+
};
|
|
2710
|
+
declare const validateImageDimensions: (dimensions: ImageDimensions, rules: ImageDimensionRules) => "too-small" | "too-large" | null;
|
|
2711
|
+
declare const imageCropRectangle: (dimensions: ImageDimensions, aspectRatio: number, crop: ImageCropState) => ImageCropRectangle;
|
|
2712
|
+
declare const containedImageDimensions: (source: ImageDimensions, options: ImageCompressionOptions) => ImageDimensions;
|
|
2713
|
+
declare const cropOutputDimensions: (source: ImageDimensions, options: ImageCropOptions, compression: ImageCompressionOptions) => ImageDimensions;
|
|
2714
|
+
//#endregion
|
|
2657
2715
|
//#region src/address/formatAddressSnapshot.d.ts
|
|
2658
2716
|
/** Accepts camelCase API snapshots and legacy snake_case stored snapshots. */
|
|
2659
2717
|
declare const formatAddressSnapshotLines: (address: AddressSnapshot | null | undefined) => string[];
|
|
@@ -2718,6 +2776,39 @@ declare const cartLineTotal: <T extends CartLine>(items: T[]) => number;
|
|
|
2718
2776
|
declare const cartPayableTotal: <T extends CartLine>(items: T[], discountCents?: number) => number;
|
|
2719
2777
|
declare const isCompleteAddressInput: (address: Pick<AddressInput, "name" | "addressOne" | "city" | "zipCode" | "country">) => boolean;
|
|
2720
2778
|
//#endregion
|
|
2779
|
+
//#region src/commerce/returns.d.ts
|
|
2780
|
+
/** Pickup "collected" is `delivered`; goods must have left the shop before a return makes sense. */
|
|
2781
|
+
declare const RETURNABLE_FULFILLMENT_STATUSES: readonly FulfillmentStatus[];
|
|
2782
|
+
type ReturnableItem = {
|
|
2783
|
+
item: OrderItem;
|
|
2784
|
+
orderItemId: number;
|
|
2785
|
+
quantity: number; /** Prefer this fulfillment when creating the return; null when quantity spans multiple. */
|
|
2786
|
+
fulfillmentId: string | null;
|
|
2787
|
+
};
|
|
2788
|
+
type ReturnCreatePayload = {
|
|
2789
|
+
fulfillmentId?: string;
|
|
2790
|
+
items: {
|
|
2791
|
+
orderItemId: number;
|
|
2792
|
+
quantity: number;
|
|
2793
|
+
condition?: string;
|
|
2794
|
+
}[];
|
|
2795
|
+
};
|
|
2796
|
+
/** Physical quantities of a paid order that were shipped/delivered and are not yet in a non-rejected return. */
|
|
2797
|
+
declare const getReturnableItems: (order: Pick<Order, "items" | "status" | "fulfillments" | "returns">, returns?: Pick<Return, "status" | "items" | "fulfillmentId">[]) => ReturnableItem[];
|
|
2798
|
+
/**
|
|
2799
|
+
* Split selected return quantities into create payloads, one per fulfillment when possible.
|
|
2800
|
+
* Quantities without a single fulfillment go in an unscoped payload.
|
|
2801
|
+
*/
|
|
2802
|
+
declare const buildReturnCreatePayloads: (order: Pick<Order, "items" | "status" | "fulfillments" | "returns">, selected: {
|
|
2803
|
+
orderItemId: number;
|
|
2804
|
+
quantity: number;
|
|
2805
|
+
condition?: string;
|
|
2806
|
+
}[], returns?: Pick<Return, "status" | "items" | "fulfillmentId">[]) => ReturnCreatePayload[];
|
|
2807
|
+
/** Customer-paid amount for returned units (includes proportional tax when prices are net). */
|
|
2808
|
+
declare const getReturnRefundAmount: (order: Pick<Order, "items" | "total"> & {
|
|
2809
|
+
priceMode?: OrderPriceMode | null;
|
|
2810
|
+
}, request: Pick<Return, "items" | "suggestedRefundAmount" | "refundAmount">, alreadyRefunded?: number) => number;
|
|
2811
|
+
//#endregion
|
|
2721
2812
|
//#region src/budget/types.d.ts
|
|
2722
2813
|
type Budget = {
|
|
2723
2814
|
id: number;
|
|
@@ -3204,7 +3295,7 @@ declare const buildMcpServerName: (slug: string, teamName?: string) => string;
|
|
|
3204
3295
|
declare const buildAgentMcpServerName: (agentName: string, teamName?: string) => string;
|
|
3205
3296
|
//#endregion
|
|
3206
3297
|
//#region src/metric/types.d.ts
|
|
3207
|
-
type MetricSource = 'cloudflare';
|
|
3298
|
+
type MetricSource = 'cloudflare' | 'google_search_console';
|
|
3208
3299
|
type Metric = {
|
|
3209
3300
|
key: string;
|
|
3210
3301
|
value: number;
|
|
@@ -4227,6 +4318,96 @@ type LoyaltyProgram = {
|
|
|
4227
4318
|
rewardCount: number;
|
|
4228
4319
|
tierCount: number;
|
|
4229
4320
|
memberCount: number;
|
|
4321
|
+
rewards?: LoyaltyReward[];
|
|
4322
|
+
tiers?: LoyaltyTier[]; /** Public view: collectable points only. Team view: all of them (edit through `updateProgram` settings.collect_points). */
|
|
4323
|
+
collectPoints?: LoyaltyCollectPoint[];
|
|
4324
|
+
};
|
|
4325
|
+
type LoyaltyCollectLimit = 'once' | 'daily' | 'per_window';
|
|
4326
|
+
/** `daily`: the code changes every calendar day (team timezone, hard cut at midnight), so shared links stop working. */
|
|
4327
|
+
type LoyaltyCollectCodeRotation = 'none' | 'daily';
|
|
4328
|
+
type LoyaltyCollectPoint = {
|
|
4329
|
+
id: number;
|
|
4330
|
+
key: string;
|
|
4331
|
+
name: string;
|
|
4332
|
+
source: string;
|
|
4333
|
+
points: number;
|
|
4334
|
+
limit: LoyaltyCollectLimit;
|
|
4335
|
+
windowMinutes: number | null;
|
|
4336
|
+
startsAt: string | null;
|
|
4337
|
+
endsAt: string | null;
|
|
4338
|
+
active: boolean;
|
|
4339
|
+
requiresCode: boolean; /** Present on every program view. `daily` means the code changes each team calendar day. */
|
|
4340
|
+
codeRotation: LoyaltyCollectCodeRotation;
|
|
4341
|
+
meta: Record<string, JsonValue> | null;
|
|
4342
|
+
/**
|
|
4343
|
+
* Staff / team program view only (`loyalty.getProgram()` without `team`), and only when
|
|
4344
|
+
* `codeRotation` is `daily`: the code valid right now. Signed-in team members only: never on the public or customer
|
|
4345
|
+
* view, and never for agent auth keys — do not rely on it there.
|
|
4346
|
+
*/
|
|
4347
|
+
codeToday?: string; /** Same visibility as `codeToday` (signed-in team members only): when it stops working (next midnight in the team timezone). */
|
|
4348
|
+
codeValidUntil?: string; /** Only for a signed-in customer with an account: a collect now would answer `already` (respects the limit window). */
|
|
4349
|
+
collected?: boolean; /** Only for a signed-in customer: their latest collect at this point, also from earlier windows. */
|
|
4350
|
+
collectedAt?: string | null; /** Only for a signed-in customer: when the next window opens while `collected` (daily / per_window). */
|
|
4351
|
+
nextAvailableAt?: string | null;
|
|
4352
|
+
};
|
|
4353
|
+
/**
|
|
4354
|
+
* One entry of `settings.collect_points` in `updateProgram`. The list replaces all collect points; entries match by key.
|
|
4355
|
+
* Omit `code` to keep the existing one, `null` removes it. `codeRotation: 'daily'` replaces a fixed code with a daily
|
|
4356
|
+
* code (do not send `code` then); omit `codeRotation` to keep the current mode.
|
|
4357
|
+
*/
|
|
4358
|
+
type LoyaltyCollectPointInput = {
|
|
4359
|
+
key: string;
|
|
4360
|
+
name: string;
|
|
4361
|
+
source: string;
|
|
4362
|
+
points: number;
|
|
4363
|
+
limit?: LoyaltyCollectLimit;
|
|
4364
|
+
windowMinutes?: number | null;
|
|
4365
|
+
startsAt?: string | null;
|
|
4366
|
+
endsAt?: string | null;
|
|
4367
|
+
active?: boolean;
|
|
4368
|
+
code?: string | null;
|
|
4369
|
+
codeRotation?: LoyaltyCollectCodeRotation;
|
|
4370
|
+
meta?: Record<string, JsonValue> | null;
|
|
4371
|
+
};
|
|
4372
|
+
type LoyaltyWalletAccount = {
|
|
4373
|
+
contactId: string;
|
|
4374
|
+
team: {
|
|
4375
|
+
slug: string;
|
|
4376
|
+
name: string;
|
|
4377
|
+
logoUrl: string | null;
|
|
4378
|
+
};
|
|
4379
|
+
program: {
|
|
4380
|
+
name: string;
|
|
4381
|
+
settings: ProgramSettings;
|
|
4382
|
+
};
|
|
4383
|
+
points: number;
|
|
4384
|
+
lifetimePoints: number;
|
|
4385
|
+
tier: {
|
|
4386
|
+
name: string;
|
|
4387
|
+
multiplier: number;
|
|
4388
|
+
} | null;
|
|
4389
|
+
rewards: LoyaltyReward[];
|
|
4390
|
+
updatedAt: string;
|
|
4391
|
+
};
|
|
4392
|
+
type LoyaltyJoinResponse = {
|
|
4393
|
+
joined: boolean;
|
|
4394
|
+
account: LoyaltyWalletAccount;
|
|
4395
|
+
};
|
|
4396
|
+
type LoyaltyCollectResponse = {
|
|
4397
|
+
collected: boolean;
|
|
4398
|
+
already: boolean;
|
|
4399
|
+
joined: boolean;
|
|
4400
|
+
points: number;
|
|
4401
|
+
balance: number;
|
|
4402
|
+
lifetimePoints: number;
|
|
4403
|
+
tier: string | null;
|
|
4404
|
+
nextAvailableAt: string | null;
|
|
4405
|
+
collectPoint: {
|
|
4406
|
+
id: number;
|
|
4407
|
+
key: string;
|
|
4408
|
+
name: string;
|
|
4409
|
+
source: string;
|
|
4410
|
+
};
|
|
4230
4411
|
};
|
|
4231
4412
|
type LoyaltyReward = {
|
|
4232
4413
|
id: string;
|
|
@@ -4295,6 +4476,8 @@ type LoyaltyTransaction = {
|
|
|
4295
4476
|
points: number;
|
|
4296
4477
|
balanceAfter: number;
|
|
4297
4478
|
description: string | null;
|
|
4479
|
+
collectPointId?: number | null;
|
|
4480
|
+
expiresAt?: string | null;
|
|
4298
4481
|
createdAt: string;
|
|
4299
4482
|
};
|
|
4300
4483
|
type EarnResponse = {
|
|
@@ -4531,9 +4714,14 @@ type UpdateStats = {
|
|
|
4531
4714
|
//#region src/social-post/types.d.ts
|
|
4532
4715
|
type SocialPostPlatform = 'instagram' | 'x' | 'facebook' | 'linkedin';
|
|
4533
4716
|
type SocialPostStatus = 'draft' | 'scheduled' | 'publishing' | 'published' | 'failed' | 'cancelled';
|
|
4717
|
+
type SocialPostAccount = {
|
|
4718
|
+
id: string;
|
|
4719
|
+
displayName: string;
|
|
4720
|
+
};
|
|
4534
4721
|
type SocialPost = {
|
|
4535
4722
|
id: string;
|
|
4536
4723
|
platform: SocialPostPlatform;
|
|
4724
|
+
accountId: string | null;
|
|
4537
4725
|
status: SocialPostStatus;
|
|
4538
4726
|
body: string | null;
|
|
4539
4727
|
media: Media[];
|
|
@@ -4561,6 +4749,7 @@ type SharedSocialPost = {
|
|
|
4561
4749
|
};
|
|
4562
4750
|
type SocialPostCreatePayload = {
|
|
4563
4751
|
platform: SocialPostPlatform;
|
|
4752
|
+
accountId?: string | null;
|
|
4564
4753
|
body?: string | null;
|
|
4565
4754
|
media?: string[];
|
|
4566
4755
|
exportId?: string | null;
|
|
@@ -4587,6 +4776,7 @@ type SocialPostConnection = {
|
|
|
4587
4776
|
platform: SocialPostPlatform;
|
|
4588
4777
|
connected: boolean;
|
|
4589
4778
|
displayName: string | null;
|
|
4779
|
+
accounts: SocialPostAccount[];
|
|
4590
4780
|
minImages: number;
|
|
4591
4781
|
maxImages: number;
|
|
4592
4782
|
maxBodyLength: number;
|
|
@@ -4677,6 +4867,7 @@ declare const PermissionPresetNames: {
|
|
|
4677
4867
|
readonly SecretManage: "secretManage";
|
|
4678
4868
|
readonly TeamMemberInvite: "teamMemberInvite";
|
|
4679
4869
|
readonly TeamMemberRemove: "teamMemberRemove";
|
|
4870
|
+
readonly TeamMemberRole: "teamMemberRole";
|
|
4680
4871
|
readonly AgentWalletManage: "agentWalletManage";
|
|
4681
4872
|
readonly SwarmCreate: "swarmCreate";
|
|
4682
4873
|
};
|
|
@@ -4865,4 +5056,4 @@ type CliSessionStatus = {
|
|
|
4865
5056
|
meta: CliSessionMeta | null;
|
|
4866
5057
|
};
|
|
4867
5058
|
//#endregion
|
|
4868
|
-
export { AUTOMATION_SEND_CHANNELS, Achievement, Address, AddressCreatePayload, AddressInput, AddressSnapshot, type AddressType, AddressTypes, AddressUpdatePayload, Affiliate, AffiliateStatus, AffiliateTier, AffiliateTierName, Agent, AgentActionHistoryEntry, AgentCharacter, AgentDelegatable, AgentEngine, AgentExecuteHandler, AgentExecuteOptions, AgentGender, AgentMessageMeta, AgentMessageOptions, AgentPrivate, AgentSettings, AgentSetupTarget, AgentSimple, AgentToolingAccess, AgentTrustedActionRule, AgentWalletMode, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppAccessRule, AppEnv, AppFile, AppFileType, AppIngestion, AppSetupTarget, AppendKvEntryResult, AppointmentAvailability, AppointmentAvailabilityService, AppointmentAvailabilitySlot, AppointmentBooking, AppointmentBookingContext, AppointmentPolicy, AppointmentPolicySync, AppointmentPolicyUpsert, AppointmentRequest, AppointmentSlot, Artifact, ArtifactBlock, ArtifactBlockType, ArtifactContactSummary, ArtifactCreatePayload, ArtifactDeliverIntegration, ArtifactDeliverPayload, ArtifactDelivery, ArtifactLink, ArtifactStatus, ArtifactType, ArtifactUpdatePayload, AuthUser, Automation, AutomationAction, AutomationActionConfig, AutomationActionInput, AutomationActionType, AutomationAudiencePreview, AutomationCreatePayload, AutomationEnrollment, AutomationEnrollmentChange, AutomationEnrollmentStatus, AutomationEnrollmentUpdatedPayload, AutomationSendChannel, AutomationSendChannelId, AutomationSkipReason, AutomationStats, AutomationTriggerConfig, AutomationTriggerType, AutomationUpdatePayload, BillingManageAccess, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CAMPAIGN_CHANNELS, CONTACT_MESSAGE_SEND_WARP, CalendarProvider, CalendarStatus, Campaign, CampaignApproval, CampaignAudiencePreview, CampaignAudiencePreviewPayload, CampaignCategory, CampaignChannel, CampaignChannelId, CampaignCreatePayload, CampaignRecipient, CampaignRecipientStatus, CampaignSkipReason, CampaignSkipReasons, CampaignStats, CampaignStatus, CampaignUpdatePayload, Card, Cart, CartItem, CartLine, Challenge, Challenges, ChangelogEntry, Character, ChatClientAction, ChatClientThought, ChatStreamData, ChatStreamEventType, CheckoutSnapshot, CheckoutSnapshotRequest, CliSessionMeta, CliSessionStatus, CommissionAgreement, Configuration, Contact, ContactActivity, ContactActivityAuthor, ContactActivityType, ContactConsent, ContactConsentStatus, ContactCreatePayload, ContactFormData, ContactHealth, ContactRelation, ContactRelationCategory, ContactRelationContact, ContactRelationDirection, ContactRelationPayload, ContactRelationType, ContactRelationUpdatePayload, ContactViewable, Content, ContentDefinition, ContentEntry, ContentField, ContentFieldType, ContentPatch, ContentStatus, ContentValue, ContentVersion, Contract, ContractCategoryDisplayNames, ContractCategoryName, ContractCodeMetadata, ContractEntity, ContractOnNetwork, ContractVersion, ContractsAddressConfig, CortexExecuteOptions, Coupon, CouponCondition, CouponRestrictedItem, CouponRestrictedItemType, CreateContentInput, CreateHookPayload, CreateInboundHookPayload, CreateInternalHookPayload, CreateKvFieldPayload, CreateWarpLinkedHookPayload, CreateWebHookPayload, DefaultAppLocale, DefaultCodeMetadata, DefaultInviteTeamRole, DemoFlow, DemoMessage, Desk, DeskItem, DeskItemRole, Document, EarnResponse, Earning, Element, ElementSpec, ElementType, ElementVariation, EmailProvider, EmbedStatus, EncryptionStatus, Entity, EntityDirectExecuteRequest, EntityProposable, EntitySignable, EntityTemplate, Experience, FeatureSetupTarget, FileInfo, FileMetadata, Flow, FlowCategory, FlowInputMapping, FlowStatus, FlowStep, Fulfillment, FulfillmentFlowAction, FulfillmentFlowStep, FulfillmentLocation, type FulfillmentMethod, FulfillmentMethods, type FulfillmentStatus, FulfillmentStatuses, GamificationData, GamificationEventType, Goal, GoalCreatePayload, GoalPriority, GoalProgressViewable, GoalStatus, GuestBuyer, HintOptions, HintPosition, Hook, HookSample, HookTrigger, HookTriggerCondition, HookTriggerInput, HttpService, IAppResponse, IHttpService, IRequestOptions, IngestionSourceType, IngestionStatus, Inquiry, InquiryStatus, InquiryType, Integration, IntegrationConnectionDetails, IntegrationDetails, IntegrationMeta, IntegrationType, Intent, InviteableTeamRoles, Item, ItemCreatePayload, ItemExecutionStatus, ItemPriority, ItemStatus, ItemUpdatePayload, ItemViewable, JoaiUrls, JsonValue, KvEntry, KvEntryPayload, KvField, KvFieldWithEntries, KvValue, Kyc, KycStatus, Link, LinkCreatePayload, LinkScanHistory, LinkStats, LinkUpdatePayload, LinkVariation, LinkVariationBatchCreatePayload, LinkVariationCreatePayload, LocalAgentWallet, LoyaltyAccount, LoyaltyMember, LoyaltyNextTier, LoyaltyProgram, LoyaltyPromotion, LoyaltyReward, LoyaltyStatus, LoyaltyTier, LoyaltyTierInfo, LoyaltyTransaction, McpToolCall, McpToolCallBroadcast, McpToolCallStatus, Media, MediaAspectRatio, MediaAttributes, MediaItems, MediaLibraryAttributes, MediaMime, Meeting, MeetingConferenceProvider, MeetingFeature, MeetingJoinInfo, MeetingJoinTeam, MeetingParticipant, MeetingSessionState, MeetingSpeakerAssignment, MeetingStatus, MeetingSummary, MeetingTranscriptEntry, MeetingUsage, Memory, Message, MessageId, MessageRole, Metric, MetricSource, MetricsResult, Milestone, MilestoneType, Mission, MissionBudget, MissionCreatePayload, MissionPlan, MissionPriority, MissionSchedule, MissionStatus, MissionViewable, MollieTerminalPaymentResult, MultimodalContent, MultimodalFile, NATIVE_AUTH_TOKEN_PARAM, NativeApp, NativeApps, Notification, NotificationAction, NotificationAgent, NotificationChannel, NotificationSetting, OG_IMAGE_CONFIG, OG_IMAGE_HEIGHT, OG_IMAGE_WIDTH, ORDER_FULFILLMENT_STATUSES, ORDER_POST_CHECKOUT_STATUSES, OUTBOUND_CHANNELS, OfficeAgent, OfficeEntity, OfficeEntityKind, OfficeLiveOverrides, OfficeMember, OfficeSnapshot, OfficeStatus, OfficeStatusFilter, OfficeTypeFilter, OgImageColors, Order, OrderConfigurationItem, OrderContext, OrderItem, OrderPriceMode, OrderSource, OrderStatus, OrderStatusDisplay, OrderType, OutboundChannel, OutboundChannelId, PLATFORM_CURRENCY, PaginatedResponse, Pass, PatchContentInput, PaymentAccount, PaymentAccountOnboarding, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PermissionPresetName, PermissionPresetNames, PersonaQuestionable, PickupNextAction, Plan, PlanBenefit, PlanExtra, PlanFeature, PlanInterval, PolicyMethod, PolicySetting, PricingModel, Product, ProductDetailKind, ProductDetailRow, ProductDetailSection, ProductDetailText, ProductDiscount, ProductMeta, ProductPieces, ProductRating, ProductRelation, ProductRelationType, ProductVariation, ProductVariationMeta, ProductVariationType, ProgramSettings, Project, ProjectAspectRatio, ProjectAssembly, ProjectCaptionStyle, ProjectClipCandidate, ProjectClips, ProjectExport, ProjectExportAsset, ProjectExportResponse, ProjectImages, ProjectInputAssistIntent, ProjectInputAssistResponse, ProjectMutation, ProjectOutputPreset, ProjectOutputType, ProjectPlan, ProjectRender, ProjectRenderMode, ProjectSelectedClip, ProjectShot, ProjectSoundtrack, ProjectSourceMedia, ProjectStatus, ProjectStudioHistoryEntry, ProjectStudioQuestion, ProjectStudioResponse, ProjectStudioStage, ProjectStudioState, ProjectStudioSummary, ProjectStyleDirection, ProjectTranscript, ProjectTranscriptSegment, Proposal, ProposalAction, ProposalActionPayment, ProposalActionPaymentSerializable, ProposalActionSerializable, ProposalPollOption, ProposalStatus, PublicFormResults, PurchaseOptions, PurchaseResult, RampProvider, RampProviderInfo, Reactions, RecentExperience, RedeemResponse, Reminder, Return, type ReturnStatus, ReturnStatuses, ReturnUpdateStatus, ReturnUpdateStatuses, Room, RoomId, RoomKind, ScInfo, SchedulePreset, SecretAuthorizable, SecretSettable, Segment, SegmentCondition, SegmentConditionType, SegmentCountPayload, SegmentCountResult, SegmentCreatePayload, SegmentGroup, SendableActivityUpdate, SendableAgentAction, SendableAgentMessage, SendableAgentThought, SendableMedia, SendableUserMessage, Service, SetKvEntryResult, SharedSocialPost, ShippingCarrierOption, ShippingRate, ShippingZone, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, SiteType, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, SocialPost, SocialPostConnection, SocialPostCreatePayload, SocialPostGenerateCaptionPayload, SocialPostGeneratedCaption, SocialPostPlatform, SocialPostStatus, SocialPostUpdatePayload, StampResponse, StoreAgent, StoreCheckoutItem, StoreData, StoreEntityType, StoreInfo, StoreItem, StoreListing, StorePriceTier, StorePricing, StorePurchasable, StorePurchaseResult, Streak, Subscription, SubscriptionDelivery, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, SupportedAppLocale, SupportedAppLocales, Swarm, Tag, TagType, Task, TaxBreakdownRow, TaxClass, Team, TeamAccessCatalog, TeamAccessConfig, TeamBrand, TeamCategory, TeamCurrencySource, TeamEarning, TeamEarningsBalance, TeamFeature, TeamFeatureAccess, TeamFeatureArea, TeamFeatureUsage, TeamManageAccess, TeamMember, TeamMeta, TeamOrderStats, TeamPayout, TeamPayoutAddress, TeamPlace, TeamPrivate, TeamSettings, TeamUsage, TeamViewAccess, TerminalConnectionToken, TerminalPaymentIntent, Tier, TierFeature, TierName, ToggleKvFieldResult, TranscriptEntry, TranscriptionCorrection, TranscriptionResponse, TranslatableValue, UNIFIED_MCP_SERVER_NAME, Update, UpdateCreatePayload, UpdateRelation, UpdateStats, UpdateStatus, UpdateType, UpdateUpdatePayload, Upgrade, UpgradeSourceType, UpgradeStatus, User, UserInterest, UserMode, type UserPermission, UserPermissions, UserPrivate, type UserRole, UserRoles, UserSettings, UserSocialAccount, UserStats, VolumePrice, Wallet, WalletList, WarpApprovable, WarpBackend, WarpBackendStatus, WarpBatchItem, WarpBatchable, WarpCloudExecutable, WarpCreateable, WarpExecutable, WarpExecutionBackend, WarpExtras, WarpExtrasFaq, WarpInputable, WarpScreenshotVariant, WarpSearchHit, WarpSelectable, WarpSelectableDetails, WarpSuggestion, WarpTestable, WarpViewable, WebHookTriggerEvent, WorkspaceCloudFile, WorkspaceContext, WorkspaceInfo, WorkspaceSettings, XIntegrationStatus, abbreviateNumber, addressTypeValues, automationSendChannel, buildAgentMcpServerName, buildAgentSetupClipboardText, buildAppSetupClipboardText, buildFeatureSetupClipboardText, buildMcpServerName, canOpenFulfillmentFlow, canTransitionOrderStatus, cartLineTotal, cartPayableTotal, createCursorMcpInstallLink, defaultInviteTeamRole, documentShareUrl, firstValidationMessage, formatAddressSnapshotLines, fulfillmentMethodValues, fulfillmentStatusValues, getAgentSetupPromptUrl, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getDocumentsBaseUrl, getEditableOrderStatuses, getFormsBaseUrl, getFulfillmentFlowAction, getFulfillmentFlowStepperIndex, getGenBaseUrl, getInvoiceEditableStatuses, getLoginUrl, getMcpServerAgentUrl, getMcpServerUrl, getPickupEditableStatuses, getPickupNextAction, getShippingEditableStatuses, getSiteUrl, getSitesBaseUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, hasAllPermissions, hasAllTeamPermissions, hasAnyPermissions, hasPermission, hasTeamPermission, integrationSlugForChannel, inviteableTeamRoles, isAutomationSendChannelId, isCampaignChannelId, isCompleteAddressInput, isContactMessageAction, isContactMessageWarpId, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, isNativeApp, isNativeAppAccessible, isNativeAppGated, isNativeAppLocked, isOrderCanceled, isOrderInFulfillment, isOrderPending, isOrderPostCheckout, isPickupOrderReady, isPickupReady, isSupportedAppLocale, isTeamFeatureAccessible, isTeamFeatureGated, isTeamFeatureLocked, isUnifiedMcpUrl, isUserRole, localize, nativeAppSlugs, normalizeAutomationActionType, ogImageUrl, outboundChannel, permissionPresetRules, resolveAccessCatalog, resolveAgentMcpUrl, resolveConnectMcpUrl, resolveFulfillmentFlowStep, resolveOrderStatusDisplay, resolveTeamCurrency, resolveWarpText, returnStatusValues, returnUpdateStatusValues, sanitizeAlphanumeric, sanitizeNumeric, slugifyMcpSegment, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, userPermissionValues, userRoleValues, validationMessageFor, withRetry };
|
|
5059
|
+
export { AUTOMATION_SEND_CHANNELS, Achievement, Address, AddressCreatePayload, AddressInput, AddressSnapshot, type AddressType, AddressTypes, AddressUpdatePayload, Affiliate, AffiliateStatus, AffiliateTier, AffiliateTierName, Agent, AgentActionHistoryEntry, AgentCharacter, AgentDelegatable, AgentEngine, AgentExecuteHandler, AgentExecuteOptions, AgentGender, AgentMessageMeta, AgentMessageOptions, AgentPrivate, AgentSettings, AgentSetupTarget, AgentSimple, AgentToolingAccess, AgentTrustedActionRule, AgentWalletMode, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppAccessRule, AppEnv, AppFile, AppFileType, AppIngestion, AppSetupTarget, AppendKvEntryResult, AppointmentAvailability, AppointmentAvailabilityService, AppointmentAvailabilitySlot, AppointmentBooking, AppointmentBookingContext, AppointmentPolicy, AppointmentPolicySync, AppointmentPolicyUpsert, AppointmentRequest, AppointmentSlot, Artifact, ArtifactBlock, ArtifactBlockType, ArtifactContactSummary, ArtifactCreatePayload, ArtifactDeliverIntegration, ArtifactDeliverPayload, ArtifactDelivery, ArtifactDeliveryPreview, ArtifactLink, ArtifactStatus, ArtifactType, ArtifactUpdatePayload, AssignableTeamRoles, AuthUser, Automation, AutomationAction, AutomationActionConfig, AutomationActionInput, AutomationActionType, AutomationAudiencePreview, AutomationCreatePayload, AutomationEnrollment, AutomationEnrollmentChange, AutomationEnrollmentStatus, AutomationEnrollmentUpdatedPayload, AutomationSendChannel, AutomationSendChannelId, AutomationSkipReason, AutomationStats, AutomationTriggerConfig, AutomationTriggerType, AutomationUpdatePayload, BillingManageAccess, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CAMPAIGN_CHANNELS, CONTACT_MESSAGE_SEND_WARP, CalendarProvider, CalendarStatus, Campaign, CampaignApproval, CampaignAudiencePreview, CampaignAudiencePreviewPayload, CampaignCategory, CampaignChannel, CampaignChannelId, CampaignCreatePayload, CampaignRecipient, CampaignRecipientStatus, CampaignSkipReason, CampaignSkipReasons, CampaignStats, CampaignStatus, CampaignUpdatePayload, Card, Cart, CartItem, CartLine, Challenge, Challenges, ChangelogEntry, Character, ChatClientAction, ChatClientThought, ChatStreamData, ChatStreamEventType, CheckoutSnapshot, CheckoutSnapshotRequest, CliSessionMeta, CliSessionStatus, CommissionAgreement, Configuration, Contact, ContactActivity, ContactActivityAuthor, ContactActivityType, ContactConsent, ContactConsentStatus, ContactCreatePayload, ContactFormData, ContactHealth, ContactRelation, ContactRelationCategory, ContactRelationContact, ContactRelationDirection, ContactRelationPayload, ContactRelationType, ContactRelationUpdatePayload, ContactViewable, Content, ContentDefinition, ContentEntry, ContentField, ContentFieldType, ContentPatch, ContentStatus, ContentValue, ContentVersion, Contract, ContractCategoryDisplayNames, ContractCategoryName, ContractCodeMetadata, ContractEntity, ContractOnNetwork, ContractVersion, ContractsAddressConfig, CortexExecuteOptions, Coupon, CouponCondition, CouponRestrictedItem, CouponRestrictedItemType, CreateContentInput, CreateHookPayload, CreateInboundHookPayload, CreateInternalHookPayload, CreateKvFieldPayload, CreateWarpLinkedHookPayload, CreateWebHookPayload, DefaultAppLocale, DefaultCodeMetadata, DefaultInviteTeamRole, DemoFlow, DemoMessage, Desk, DeskItem, DeskItemRole, Document, EarnResponse, Earning, Element, ElementSpec, ElementType, ElementVariation, EmailProvider, EmbedStatus, EncryptionStatus, Entity, EntityDirectExecuteRequest, EntityProposable, EntitySignable, EntityTemplate, Experience, FeatureSetupTarget, FileInfo, FileMetadata, Flow, FlowCategory, FlowInputMapping, FlowStatus, FlowStep, Fulfillment, FulfillmentFlowAction, FulfillmentFlowStep, FulfillmentLocation, type FulfillmentMethod, FulfillmentMethods, type FulfillmentStatus, FulfillmentStatuses, GamificationData, GamificationEventType, Goal, GoalCreatePayload, GoalPriority, GoalProgressViewable, GoalStatus, GuestBuyer, HintOptions, HintPosition, Hook, HookSample, HookTrigger, HookTriggerCondition, HookTriggerInput, HttpService, IAppResponse, IHttpService, IRequestOptions, ImageCompressionOptions, ImageCropOptions, ImageCropRectangle, ImageCropState, ImageDimensionRules, ImageDimensions, IngestionSourceType, IngestionStatus, Inquiry, InquiryStatus, InquiryType, Integration, IntegrationConnectionDetails, IntegrationDetails, IntegrationMeta, IntegrationType, Intent, InviteableTeamRoles, Item, ItemCreatePayload, ItemExecutionStatus, ItemPriority, ItemStatus, ItemUpdatePayload, ItemViewable, JoaiUrls, JsonValue, KvEntry, KvEntryPayload, KvField, KvFieldWithEntries, KvValue, Kyc, KycStatus, Link, LinkCreatePayload, LinkScanHistory, LinkStats, LinkUpdatePayload, LinkVariation, LinkVariationBatchCreatePayload, LinkVariationCreatePayload, LocalAgentWallet, LoyaltyAccount, LoyaltyCollectCodeRotation, LoyaltyCollectLimit, LoyaltyCollectPoint, LoyaltyCollectPointInput, LoyaltyCollectResponse, LoyaltyJoinResponse, LoyaltyMember, LoyaltyNextTier, LoyaltyProgram, LoyaltyPromotion, LoyaltyReward, LoyaltyStatus, LoyaltyTier, LoyaltyTierInfo, LoyaltyTransaction, LoyaltyWalletAccount, McpToolCall, McpToolCallBroadcast, McpToolCallStatus, Media, MediaAspectRatio, MediaAttributes, MediaItems, MediaLibraryAttributes, MediaMime, Meeting, MeetingConferenceProvider, MeetingFeature, MeetingJoinInfo, MeetingJoinTeam, MeetingParticipant, MeetingSessionState, MeetingSpeakerAssignment, MeetingStatus, MeetingSummary, MeetingTranscriptEntry, MeetingUsage, Memory, Message, MessageId, MessageRole, Metric, MetricSource, MetricsResult, Milestone, MilestoneType, Mission, MissionBudget, MissionCreatePayload, MissionPlan, MissionPriority, MissionSchedule, MissionStatus, MissionViewable, MollieTerminalPaymentResult, MultimodalContent, MultimodalFile, NATIVE_AUTH_TOKEN_PARAM, NativeApp, NativeApps, Notification, NotificationAction, NotificationAgent, NotificationChannel, NotificationSetting, OG_IMAGE_CONFIG, OG_IMAGE_HEIGHT, OG_IMAGE_WIDTH, ORDER_FULFILLMENT_STATUSES, ORDER_POST_CHECKOUT_STATUSES, OUTBOUND_CHANNELS, OfficeAgent, OfficeEntity, OfficeEntityKind, OfficeLiveOverrides, OfficeMember, OfficeSnapshot, OfficeStatus, OfficeStatusFilter, OfficeTypeFilter, OgImageColors, Order, OrderConfigurationItem, OrderContext, OrderItem, OrderPriceMode, OrderSource, OrderStatus, OrderStatusDisplay, OrderType, OutboundChannel, OutboundChannelId, PLATFORM_CURRENCY, PaginatedResponse, Pass, PatchContentInput, PaymentAccount, PaymentAccountOnboarding, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PermissionPresetName, PermissionPresetNames, PersonaQuestionable, PickupNextAction, Plan, PlanBenefit, PlanExtra, PlanFeature, PlanInterval, PolicyMethod, PolicySetting, PricingModel, Product, ProductDetailKind, ProductDetailRow, ProductDetailSection, ProductDetailText, ProductDiscount, ProductMeta, ProductPieces, ProductRating, ProductRelation, ProductRelationType, ProductVariation, ProductVariationMeta, ProductVariationType, ProgramSettings, Project, ProjectAspectRatio, ProjectAssembly, ProjectCaptionStyle, ProjectClipCandidate, ProjectClips, ProjectExport, ProjectExportAsset, ProjectExportResponse, ProjectImages, ProjectInputAssistIntent, ProjectInputAssistResponse, ProjectMutation, ProjectOutputPreset, ProjectOutputType, ProjectPlan, ProjectRender, ProjectRenderMode, ProjectSelectedClip, ProjectShot, ProjectSoundtrack, ProjectSourceMedia, ProjectStatus, ProjectStudioHistoryEntry, ProjectStudioQuestion, ProjectStudioResponse, ProjectStudioStage, ProjectStudioState, ProjectStudioSummary, ProjectStyleDirection, ProjectTranscript, ProjectTranscriptSegment, Proposal, ProposalAction, ProposalActionPayment, ProposalActionPaymentSerializable, ProposalActionSerializable, ProposalPollOption, ProposalStatus, PublicFormResults, PurchaseOptions, PurchaseResult, RETURNABLE_FULFILLMENT_STATUSES, RampProvider, RampProviderInfo, Reactions, RecentExperience, RedeemResponse, Reminder, Return, ReturnCreatePayload, type ReturnStatus, ReturnStatuses, ReturnUpdateStatus, ReturnUpdateStatuses, ReturnableItem, Room, RoomId, RoomKind, ScInfo, SchedulePreset, SecretAuthorizable, SecretSettable, Segment, SegmentCondition, SegmentConditionType, SegmentCountPayload, SegmentCountResult, SegmentCreatePayload, SegmentGroup, SendableActivityUpdate, SendableAgentAction, SendableAgentMessage, SendableAgentThought, SendableMedia, SendableUserMessage, Service, SetKvEntryResult, SharedSocialPost, ShippingCarrierOption, ShippingRate, ShippingZone, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, SiteType, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, SocialPost, SocialPostAccount, SocialPostConnection, SocialPostCreatePayload, SocialPostGenerateCaptionPayload, SocialPostGeneratedCaption, SocialPostPlatform, SocialPostStatus, SocialPostUpdatePayload, StampResponse, StoreAgent, StoreCheckoutItem, StoreData, StoreEntityType, StoreInfo, StoreItem, StoreListing, StorePriceTier, StorePricing, StorePurchasable, StorePurchaseResult, Streak, Subscription, SubscriptionDelivery, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, SupportedAppLocale, SupportedAppLocales, Swarm, Tag, TagType, Task, TaxBreakdownRow, TaxClass, Team, TeamAccessCatalog, TeamAccessConfig, TeamBrand, TeamCategory, TeamCurrencySource, TeamEarning, TeamEarningsBalance, TeamFeature, TeamFeatureAccess, TeamFeatureArea, TeamFeatureUsage, TeamManageAccess, TeamMember, TeamMeta, TeamOrderStats, TeamPayout, TeamPayoutAddress, TeamPlace, TeamPrivate, TeamSettings, TeamUsage, TeamViewAccess, TerminalConnectionToken, TerminalPaymentIntent, Tier, TierFeature, TierName, ToggleKvFieldResult, TranscriptEntry, TranscriptionCorrection, TranscriptionResponse, TranslatableValue, UNIFIED_MCP_SERVER_NAME, Update, UpdateCreatePayload, UpdateRelation, UpdateStats, UpdateStatus, UpdateType, UpdateUpdatePayload, Upgrade, UpgradeSourceType, UpgradeStatus, User, UserInterest, UserMode, type UserPermission, UserPermissions, UserPrivate, type UserRole, UserRoles, UserSettings, UserSocialAccount, UserStats, VolumePrice, Wallet, WalletList, WarpApprovable, WarpBackend, WarpBackendStatus, WarpBatchItem, WarpBatchable, WarpCloudExecutable, WarpCreateable, WarpExecutable, WarpExecutionBackend, WarpExtras, WarpExtrasFaq, WarpInputable, WarpScreenshotVariant, WarpSearchHit, WarpSelectable, WarpSelectableDetails, WarpSuggestion, WarpTestable, WarpViewable, WebHookTriggerEvent, WorkspaceCloudFile, WorkspaceContext, WorkspaceInfo, WorkspaceSettings, XIntegrationStatus, abbreviateNumber, addressTypeValues, assignableTeamRoles, automationSendChannel, buildAgentMcpServerName, buildAgentSetupClipboardText, buildAppSetupClipboardText, buildFeatureSetupClipboardText, buildMcpServerName, buildReturnCreatePayloads, canOpenFulfillmentFlow, canTransitionOrderStatus, cartLineTotal, cartPayableTotal, containedImageDimensions, createCursorMcpInstallLink, cropOutputDimensions, defaultInviteTeamRole, documentShareUrl, firstValidationMessage, formatAddressSnapshotLines, fulfillmentMethodValues, fulfillmentStatusValues, getAgentSetupPromptUrl, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getDocumentsBaseUrl, getEditableOrderStatuses, getFormsBaseUrl, getFulfillmentFlowAction, getFulfillmentFlowStepperIndex, getGenBaseUrl, getInvoiceEditableStatuses, getLoginUrl, getMcpServerAgentUrl, getMcpServerUrl, getPickupEditableStatuses, getPickupNextAction, getReturnRefundAmount, getReturnableItems, getShippingEditableStatuses, getSiteUrl, getSitesBaseUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, hasAllPermissions, hasAllTeamPermissions, hasAnyPermissions, hasPermission, hasTeamPermission, imageCropRectangle, integrationSlugForChannel, inviteableTeamRoles, isAutomationSendChannelId, isCampaignChannelId, isCompleteAddressInput, isContactMessageAction, isContactMessageWarpId, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, isNativeApp, isNativeAppAccessible, isNativeAppGated, isNativeAppLocked, isOrderCanceled, isOrderInFulfillment, isOrderPending, isOrderPostCheckout, isPickupOrderReady, isPickupReady, isSupportedAppLocale, isTeamFeatureAccessible, isTeamFeatureGated, isTeamFeatureLocked, isUnifiedMcpUrl, isUserRole, localize, nativeAppSlugs, normalizeAutomationActionType, ogImageUrl, outboundChannel, permissionPresetRules, resolveAccessCatalog, resolveAgentMcpUrl, resolveConnectMcpUrl, resolveFulfillmentFlowStep, resolveOrderStatusDisplay, resolveTeamCurrency, resolveWarpText, returnStatusValues, returnUpdateStatusValues, sanitizeAlphanumeric, sanitizeNumeric, slugifyMcpSegment, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, userPermissionValues, userRoleValues, validateImageDimensions, validationMessageFor, withRetry };
|