@joai/core 4.4.0 → 4.6.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/dist/index.d.mts +533 -551
- package/dist/index.mjs +51 -2
- package/dist/react/index.d.mts +144 -2
- package/dist/react/index.mjs +369 -2
- package/dist/types-BbqlPvhU.d.mts +128 -0
- package/package.json +1 -1
- package/dist/types-CWSaEVa7.d.mts +0 -32
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as MediaMime, a as ContentFieldType, b as IHttpService, c as ContentValue, d as PatchContentInput, f as AppFile, g as MediaLibraryAttributes, h as MediaAspectRatio, i as ContentField, l as ContentVersion, m as Media, n as ContentDefinition, o as ContentPatch, p as AppFileType, r as ContentEntry, s as ContentStatus, t as Content, u as CreateContentInput, v as JsonValue, x as IRequestOptions, y as IAppResponse } from "./types-BbqlPvhU.mjs";
|
|
2
2
|
import { Warp, WarpActionInput, WarpBrandUrls, WarpChainInfo, WarpChainName, WarpI18nText, WarpLocale, WarpNativeValue, WarpSecret, WarpText, WarpWalletProvider } from "@joai/warps";
|
|
3
3
|
|
|
4
4
|
//#region src/auth/types.d.ts
|
|
@@ -24,6 +24,7 @@ declare const getFormsBaseUrl: (env: AppEnv) => "http://forms.joai--api.test:300
|
|
|
24
24
|
declare const getDigestBaseUrl: (env: AppEnv) => "http://localhost:3005" | "https://devnet-digests.joai.ai" | "https://testnet-digests.joai.ai" | "https://digests.joai.ai";
|
|
25
25
|
declare const getStoreBaseUrl: (env: AppEnv) => "http://localhost:3005" | "https://devnet-store.joai.ai" | "https://testnet-store.joai.ai" | "https://store.joai.ai";
|
|
26
26
|
declare const getAgentsBaseUrl: (env: AppEnv) => "http://localhost:3007" | "https://devnet-agents.joai.ai" | "https://testnet-agents.joai.ai" | "https://agents.joai.ai";
|
|
27
|
+
declare const getMcpServerUrl: (env: AppEnv) => string;
|
|
27
28
|
declare const getMcpServerAgentUrl: (env: AppEnv, agent: string) => string;
|
|
28
29
|
declare const getSitesBaseUrl: (env: AppEnv) => "http://sites.joai--api.test:3007" | "https://devnet-sites.joai.ai" | "https://testnet-sites.joai.ai" | "https://sites.joai.ai";
|
|
29
30
|
declare const getSitesRootDomain: (env: AppEnv) => string;
|
|
@@ -148,39 +149,202 @@ type Character = {
|
|
|
148
149
|
bio: WarpText | null;
|
|
149
150
|
};
|
|
150
151
|
//#endregion
|
|
151
|
-
//#region src/
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
//#region src/address/enums.d.ts
|
|
153
|
+
declare const AddressTypes: {
|
|
154
|
+
readonly Billing: "billing";
|
|
155
|
+
readonly Shipping: "shipping";
|
|
156
|
+
};
|
|
157
|
+
type AddressType = (typeof AddressTypes)[keyof typeof AddressTypes];
|
|
158
|
+
declare const addressTypeValues: [AddressType, ...AddressType[]];
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region src/address/types.d.ts
|
|
161
|
+
type Address = {
|
|
162
|
+
id: string;
|
|
163
|
+
type: AddressType;
|
|
157
164
|
name: string;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
company: string | null;
|
|
166
|
+
addressOne: string;
|
|
167
|
+
addressTwo: string | null;
|
|
168
|
+
city: string;
|
|
169
|
+
state: string | null;
|
|
170
|
+
zipCode: string;
|
|
171
|
+
country: string;
|
|
172
|
+
phone: string | null;
|
|
173
|
+
isDefault: boolean;
|
|
174
|
+
business: boolean;
|
|
175
|
+
vatId: string | null;
|
|
176
|
+
isEU: boolean;
|
|
177
|
+
isEEA: boolean;
|
|
168
178
|
};
|
|
169
|
-
type
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
179
|
+
type AddressSnapshot = Pick<Address, 'name' | 'company' | 'addressOne' | 'addressTwo' | 'city' | 'state' | 'zipCode' | 'country' | 'phone' | 'business' | 'vatId'>;
|
|
180
|
+
type AddressInput = {
|
|
181
|
+
name: string;
|
|
182
|
+
addressOne: string;
|
|
183
|
+
city: string;
|
|
184
|
+
zipCode: string;
|
|
185
|
+
country: string;
|
|
186
|
+
type?: AddressType;
|
|
187
|
+
company?: string | null;
|
|
188
|
+
addressTwo?: string | null;
|
|
189
|
+
state?: string | null;
|
|
190
|
+
phone?: string | null;
|
|
191
|
+
business?: boolean;
|
|
192
|
+
vatId?: string | null;
|
|
178
193
|
};
|
|
179
|
-
type
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
194
|
+
type AddressCreatePayload = {
|
|
195
|
+
name: string;
|
|
196
|
+
country: string;
|
|
197
|
+
type?: AddressType;
|
|
198
|
+
email?: string | null;
|
|
199
|
+
company?: string | null;
|
|
200
|
+
addressOne?: string | null;
|
|
201
|
+
addressTwo?: string | null;
|
|
202
|
+
city?: string | null;
|
|
203
|
+
state?: string | null;
|
|
204
|
+
zipCode?: string | null;
|
|
205
|
+
vatId?: string | null;
|
|
206
|
+
phone?: string | null;
|
|
207
|
+
isDefault?: boolean;
|
|
208
|
+
contact?: string;
|
|
209
|
+
team?: string;
|
|
210
|
+
};
|
|
211
|
+
type AddressUpdatePayload = Partial<Omit<AddressCreatePayload, 'contact' | 'team'>>;
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/commerce/enums.d.ts
|
|
214
|
+
declare const FulfillmentStatuses: {
|
|
215
|
+
readonly Pending: "pending";
|
|
216
|
+
readonly ReadyForPickup: "ready_for_pickup";
|
|
217
|
+
readonly Shipped: "shipped";
|
|
218
|
+
readonly Delivered: "delivered";
|
|
219
|
+
readonly Cancelled: "cancelled";
|
|
220
|
+
};
|
|
221
|
+
type FulfillmentStatus = (typeof FulfillmentStatuses)[keyof typeof FulfillmentStatuses];
|
|
222
|
+
declare const fulfillmentStatusValues: [FulfillmentStatus, ...FulfillmentStatus[]];
|
|
223
|
+
declare const FulfillmentMethods: {
|
|
224
|
+
readonly Shipping: "shipping";
|
|
225
|
+
readonly Pickup: "pickup";
|
|
226
|
+
};
|
|
227
|
+
type FulfillmentMethod = (typeof FulfillmentMethods)[keyof typeof FulfillmentMethods];
|
|
228
|
+
declare const fulfillmentMethodValues: [FulfillmentMethod, ...FulfillmentMethod[]];
|
|
229
|
+
declare const ReturnStatuses: {
|
|
230
|
+
readonly Requested: "requested";
|
|
231
|
+
readonly Approved: "approved";
|
|
232
|
+
readonly Rejected: "rejected";
|
|
233
|
+
readonly Received: "received";
|
|
234
|
+
readonly Closed: "closed";
|
|
235
|
+
};
|
|
236
|
+
type ReturnStatus = (typeof ReturnStatuses)[keyof typeof ReturnStatuses];
|
|
237
|
+
declare const returnStatusValues: [ReturnStatus, ...ReturnStatus[]];
|
|
238
|
+
declare const ReturnUpdateStatuses: {
|
|
239
|
+
readonly Approved: "approved";
|
|
240
|
+
readonly Rejected: "rejected";
|
|
241
|
+
readonly Received: "received";
|
|
242
|
+
readonly Closed: "closed";
|
|
243
|
+
};
|
|
244
|
+
type ReturnUpdateStatus = (typeof ReturnUpdateStatuses)[keyof typeof ReturnUpdateStatuses];
|
|
245
|
+
declare const returnUpdateStatusValues: [ReturnUpdateStatus, ...ReturnUpdateStatus[]];
|
|
246
|
+
//#endregion
|
|
247
|
+
//#region src/commerce/types.d.ts
|
|
248
|
+
type ShippingRate = {
|
|
249
|
+
id: number;
|
|
250
|
+
name: string;
|
|
251
|
+
price: number;
|
|
252
|
+
fee?: number;
|
|
253
|
+
freeShippingThreshold?: number | null;
|
|
254
|
+
minOrderValue?: number | null;
|
|
255
|
+
maxOrderValue?: number | null;
|
|
256
|
+
minWeight?: number | null;
|
|
257
|
+
maxWeight?: number | null;
|
|
258
|
+
estimatedMinDays?: number | null;
|
|
259
|
+
estimatedMaxDays?: number | null;
|
|
260
|
+
active?: boolean;
|
|
261
|
+
position?: number;
|
|
262
|
+
};
|
|
263
|
+
type CheckoutSnapshot = {
|
|
264
|
+
id: string;
|
|
265
|
+
fulfillmentMethod: FulfillmentMethod;
|
|
266
|
+
totals: {
|
|
267
|
+
subtotal: number;
|
|
268
|
+
shippingFee: number;
|
|
269
|
+
total: number;
|
|
270
|
+
};
|
|
271
|
+
expiresAt: string;
|
|
272
|
+
accessToken?: string | null;
|
|
273
|
+
};
|
|
274
|
+
type GuestBuyer = {
|
|
275
|
+
name: string;
|
|
276
|
+
email: string;
|
|
277
|
+
};
|
|
278
|
+
type CheckoutSnapshotRequest = {
|
|
279
|
+
fulfillmentMethod: FulfillmentMethod;
|
|
280
|
+
items: {
|
|
281
|
+
id: string;
|
|
282
|
+
type: 'product' | 'service' | 'coupon';
|
|
283
|
+
quantity: number;
|
|
284
|
+
}[];
|
|
285
|
+
billingAddressId?: number | null;
|
|
286
|
+
shippingAddressId?: number | null;
|
|
287
|
+
billingAddress?: AddressInput;
|
|
288
|
+
shippingAddress?: AddressInput;
|
|
289
|
+
shippingRateId?: number | null;
|
|
290
|
+
fulfillmentLocationId?: number | null;
|
|
291
|
+
};
|
|
292
|
+
type ShippingZone = {
|
|
293
|
+
id: number;
|
|
294
|
+
name: string;
|
|
295
|
+
countries: string[];
|
|
296
|
+
postalCodeRules: string[] | null;
|
|
297
|
+
active: boolean;
|
|
298
|
+
position: number;
|
|
299
|
+
rates: ShippingRate[];
|
|
300
|
+
};
|
|
301
|
+
type FulfillmentLocation = {
|
|
302
|
+
id: number;
|
|
303
|
+
name: string;
|
|
304
|
+
addressId: number | null;
|
|
305
|
+
address: Address | null;
|
|
306
|
+
instructions: string | null;
|
|
307
|
+
active: boolean;
|
|
308
|
+
};
|
|
309
|
+
type Fulfillment = {
|
|
310
|
+
id: string;
|
|
311
|
+
orderId: number;
|
|
312
|
+
method: FulfillmentMethod;
|
|
313
|
+
status: FulfillmentStatus;
|
|
314
|
+
carrierCode: string | null;
|
|
315
|
+
trackingNumber: string | null;
|
|
316
|
+
trackingUrl: string | null;
|
|
317
|
+
items: {
|
|
318
|
+
orderItemId: number;
|
|
319
|
+
quantity: number;
|
|
320
|
+
}[];
|
|
321
|
+
shippedAt: string | null;
|
|
322
|
+
readyForPickupAt: string | null;
|
|
323
|
+
deliveredAt: string | null;
|
|
324
|
+
};
|
|
325
|
+
type Return = {
|
|
326
|
+
id: string;
|
|
327
|
+
orderId: number;
|
|
328
|
+
status: ReturnStatus;
|
|
329
|
+
reason: string;
|
|
330
|
+
merchantNote: string | null;
|
|
331
|
+
items: {
|
|
332
|
+
orderItemId: number;
|
|
333
|
+
quantity: number;
|
|
334
|
+
condition: string | null;
|
|
335
|
+
}[];
|
|
336
|
+
refundAmount: number | null;
|
|
337
|
+
};
|
|
338
|
+
type SubscriptionDelivery = {
|
|
339
|
+
fulfillmentMethod: FulfillmentMethod | null;
|
|
340
|
+
nextOrderAt: string | null;
|
|
341
|
+
pausedAt: string | null;
|
|
342
|
+
shippingAddress?: AddressSnapshot | null;
|
|
343
|
+
shippingRate?: Pick<ShippingRate, 'name' | 'price'> | null;
|
|
344
|
+
fulfillmentLocation?: {
|
|
345
|
+
name: string;
|
|
346
|
+
instructions: string | null;
|
|
347
|
+
} | null;
|
|
184
348
|
};
|
|
185
349
|
//#endregion
|
|
186
350
|
//#region src/wallet/types.d.ts
|
|
@@ -197,22 +361,145 @@ type WalletList = Partial<Record<WarpChainName, {
|
|
|
197
361
|
address?: string;
|
|
198
362
|
}>>;
|
|
199
363
|
//#endregion
|
|
200
|
-
//#region src/
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
364
|
+
//#region src/contact/types.d.ts
|
|
365
|
+
type ContactHealth = 'active' | 'lukewarm' | 'cold' | 'stale' | 'unknown';
|
|
366
|
+
type ContactConsentStatus = 'pending' | 'confirmed' | 'superseded' | 'unsubscribed';
|
|
367
|
+
type ContactConsent = {
|
|
368
|
+
id: string;
|
|
369
|
+
purpose: string;
|
|
370
|
+
status: ContactConsentStatus;
|
|
371
|
+
email: string;
|
|
372
|
+
consentText: {
|
|
373
|
+
label?: string | Record<string, string>;
|
|
374
|
+
description?: string | Record<string, string> | null;
|
|
375
|
+
};
|
|
376
|
+
privacyUrl: string | null;
|
|
377
|
+
source: {
|
|
378
|
+
formIdentifier?: string | null;
|
|
379
|
+
formTitle?: string | Record<string, string> | null;
|
|
380
|
+
};
|
|
381
|
+
requestedAt: string;
|
|
382
|
+
confirmedAt: string | null;
|
|
383
|
+
unsubscribedAt: string | null;
|
|
213
384
|
};
|
|
214
|
-
type
|
|
215
|
-
|
|
385
|
+
type Contact = {
|
|
386
|
+
id: string;
|
|
387
|
+
name: string;
|
|
388
|
+
wallets: Wallet[];
|
|
389
|
+
email: string | null;
|
|
390
|
+
phone: string | null;
|
|
391
|
+
company: string | null;
|
|
392
|
+
title: string | null;
|
|
393
|
+
birthday: string | null;
|
|
394
|
+
website: string | null;
|
|
395
|
+
location: string | null;
|
|
396
|
+
socials: Record<string, string> | null;
|
|
397
|
+
notes: string | null;
|
|
398
|
+
tags: string[] | null;
|
|
399
|
+
userId: string | null;
|
|
400
|
+
locale?: string | null;
|
|
401
|
+
props?: Record<string, string> | null;
|
|
402
|
+
settings?: {
|
|
403
|
+
marketingOptOut?: boolean;
|
|
404
|
+
} | null;
|
|
405
|
+
consents?: ContactConsent[];
|
|
406
|
+
lastActivityAt?: string | null;
|
|
407
|
+
health?: ContactHealth;
|
|
408
|
+
nextFollowUpAt?: string | null;
|
|
409
|
+
followUpNote?: string | null;
|
|
410
|
+
};
|
|
411
|
+
type ContactActivityType = 'note' | 'call' | 'meeting' | 'task' | 'update' | 'custom' | 'form' | 'loyalty' | 'follow_up';
|
|
412
|
+
type ContactActivityAuthor = {
|
|
413
|
+
name: string;
|
|
414
|
+
imageUrl: string | null;
|
|
415
|
+
};
|
|
416
|
+
type ContactActivity = {
|
|
417
|
+
id: string;
|
|
418
|
+
type: ContactActivityType;
|
|
419
|
+
description: string | null;
|
|
420
|
+
meta: Record<string, JsonValue> | null;
|
|
421
|
+
agentName: string | null;
|
|
422
|
+
createdAt: string;
|
|
423
|
+
author?: ContactActivityAuthor | null;
|
|
424
|
+
};
|
|
425
|
+
type ContactFormData = {
|
|
426
|
+
name?: string;
|
|
427
|
+
email?: string | null;
|
|
428
|
+
phone?: string | null;
|
|
429
|
+
company?: string | null;
|
|
430
|
+
title?: string | null;
|
|
431
|
+
birthday?: string | null;
|
|
432
|
+
website?: string | null;
|
|
433
|
+
location?: string | null;
|
|
434
|
+
socials?: Record<string, string> | null;
|
|
435
|
+
notes?: string | null;
|
|
436
|
+
tags?: string[] | null;
|
|
437
|
+
locale?: string | null;
|
|
438
|
+
props?: Record<string, string> | null;
|
|
439
|
+
settings?: {
|
|
440
|
+
marketingOptOut?: boolean;
|
|
441
|
+
};
|
|
442
|
+
nextFollowUpAt?: string | null;
|
|
443
|
+
followUpNote?: string | null;
|
|
444
|
+
};
|
|
445
|
+
type ContactCreatePayload = ContactFormData & {
|
|
446
|
+
name: string;
|
|
447
|
+
wallets?: WalletList;
|
|
448
|
+
};
|
|
449
|
+
//#endregion
|
|
450
|
+
//#region src/flow/types.d.ts
|
|
451
|
+
type FlowCategory = 'none' | 'defi' | 'nft' | 'social' | 'devtools' | 'productivity' | 'trading' | 'portfolio';
|
|
452
|
+
type FlowStatus = 'draft' | 'published';
|
|
453
|
+
type Flow = {
|
|
454
|
+
slug: string;
|
|
455
|
+
team: Team;
|
|
456
|
+
name: string;
|
|
457
|
+
description: string | null;
|
|
458
|
+
category: FlowCategory;
|
|
459
|
+
status: FlowStatus;
|
|
460
|
+
publishedAt: string | null;
|
|
461
|
+
createdAt: string;
|
|
462
|
+
updatedAt: string;
|
|
463
|
+
steps: FlowStep[];
|
|
464
|
+
locales: WarpLocale[];
|
|
465
|
+
store: StoreInfo;
|
|
466
|
+
screenshots: string[];
|
|
467
|
+
};
|
|
468
|
+
type FlowStep = {
|
|
469
|
+
stepId: string;
|
|
470
|
+
order: number;
|
|
471
|
+
type: 'warp' | 'condition' | 'delay';
|
|
472
|
+
warpIdentifier: string | null;
|
|
473
|
+
dependsOn: string[] | null;
|
|
474
|
+
inputMappings: FlowInputMapping[] | null;
|
|
475
|
+
staticInputs: Record<string, any> | null;
|
|
476
|
+
condition: Record<string, any> | null;
|
|
477
|
+
};
|
|
478
|
+
type FlowInputMapping = {
|
|
479
|
+
sourceStepId: string;
|
|
480
|
+
sourceKey: string;
|
|
481
|
+
targetInput: string;
|
|
482
|
+
transform?: string;
|
|
483
|
+
};
|
|
484
|
+
//#endregion
|
|
485
|
+
//#region src/user/permissions.d.ts
|
|
486
|
+
/** Permission string values — must match joai--api `UserPermission::value`. */
|
|
487
|
+
declare const UserPermissions: {
|
|
488
|
+
readonly BillingManage: "billing-manage";
|
|
489
|
+
readonly TeamManage: "team-manage";
|
|
490
|
+
readonly TeamView: "team-view";
|
|
491
|
+
readonly ContentEdit: "content-edit";
|
|
492
|
+
readonly ContentPublish: "content-publish";
|
|
493
|
+
readonly TeamMemberInvite: "team-member-invite";
|
|
494
|
+
readonly TeamMemberRemove: "team-member-remove";
|
|
495
|
+
readonly TeamSecretView: "team-secret-view";
|
|
496
|
+
readonly TeamSecretManage: "team-secret-manage";
|
|
497
|
+
readonly AgentExecute: "agent-execute";
|
|
498
|
+
readonly AgentWalletManage: "agent-wallet-manage";
|
|
499
|
+
readonly SwarmCreate: "swarm-create";
|
|
500
|
+
};
|
|
501
|
+
type UserPermission = (typeof UserPermissions)[keyof typeof UserPermissions];
|
|
502
|
+
declare const userPermissionValues: [UserPermission, ...UserPermission[]];
|
|
216
503
|
declare const hasPermission: (granted: readonly UserPermission[] | undefined, required: UserPermission) => boolean;
|
|
217
504
|
declare const hasAllPermissions: (granted: readonly UserPermission[] | undefined, required: readonly UserPermission[]) => boolean;
|
|
218
505
|
declare const hasAnyPermissions: (granted: readonly UserPermission[] | undefined, required: readonly UserPermission[]) => boolean;
|
|
@@ -402,519 +689,200 @@ type TeamCategory = (typeof teamCategories)[number];
|
|
|
402
689
|
type TeamFeature = 'shop' | 'appointments';
|
|
403
690
|
type TeamMember = User & {
|
|
404
691
|
role: UserRole | null;
|
|
405
|
-
roleAcceptedAt: string | null;
|
|
406
|
-
email: string | null;
|
|
407
|
-
};
|
|
408
|
-
type TeamMeta = {
|
|
409
|
-
'extra.messages'?: number;
|
|
410
|
-
'limit.spending'?: number | null;
|
|
411
|
-
currency?: string;
|
|
412
|
-
'extra.usage.enabled'?: boolean;
|
|
413
|
-
'auto.reload.enabled'?: boolean;
|
|
414
|
-
'auto.reload.threshold_cents'?: number | null;
|
|
415
|
-
'auto.reload.amount_cents'?: number | null;
|
|
416
|
-
'llm.provider'?: 'openai' | 'anthropic' | 'google' | 'xai' | null;
|
|
417
|
-
'byok.providers'?: ByokProviders | null;
|
|
418
|
-
'board.auto.enabled'?: boolean;
|
|
419
|
-
'payments.online'?: boolean;
|
|
420
|
-
'payments.coupons'?: boolean;
|
|
421
|
-
'kiosk.enabled'?: boolean;
|
|
422
|
-
'stock.enabled'?: boolean;
|
|
423
|
-
contactPropertyMaskWarp?: string;
|
|
424
|
-
branding?: TeamBrand | null;
|
|
425
|
-
settings: Record<string, unknown> & {
|
|
426
|
-
apps?: NativeApp[];
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
type TeamPlace = {
|
|
430
|
-
provider: 'google';
|
|
431
|
-
sourceId: string;
|
|
432
|
-
name: string | null;
|
|
433
|
-
address: string | null;
|
|
434
|
-
location: {
|
|
435
|
-
lat: number | null;
|
|
436
|
-
lng: number | null;
|
|
437
|
-
};
|
|
438
|
-
rating?: number | null;
|
|
439
|
-
reviewCount?: number | null;
|
|
440
|
-
websiteUrl?: string | null;
|
|
441
|
-
mapsUrl?: string | null;
|
|
442
|
-
businessStatus?: string | null;
|
|
443
|
-
};
|
|
444
|
-
type Team = {
|
|
445
|
-
slug: string;
|
|
446
|
-
name: string;
|
|
447
|
-
personal: boolean;
|
|
448
|
-
category: TeamCategory;
|
|
449
|
-
tags?: string[] | null;
|
|
450
|
-
description: TranslatableValue | null;
|
|
451
|
-
locale: WarpLocale;
|
|
452
|
-
timezone: string;
|
|
453
|
-
place?: TeamPlace | null;
|
|
454
|
-
meta?: TeamMeta;
|
|
455
|
-
features?: TeamFeature[];
|
|
456
|
-
cover?: string | null;
|
|
457
|
-
logo: string | null;
|
|
458
|
-
tagline?: TranslatableValue | null;
|
|
459
|
-
public: boolean;
|
|
460
|
-
createdAt: string;
|
|
461
|
-
blueprints?: Blueprint[];
|
|
462
|
-
flows?: Flow[];
|
|
463
|
-
coupons?: Coupon[];
|
|
464
|
-
};
|
|
465
|
-
type TeamBrand = {
|
|
466
|
-
bg?: string;
|
|
467
|
-
fg?: string;
|
|
468
|
-
label?: string;
|
|
469
|
-
logo?: string;
|
|
470
|
-
bankAccountHolder?: string;
|
|
471
|
-
bankIban?: string;
|
|
472
|
-
bankBic?: string;
|
|
473
|
-
invoiceAddress?: string;
|
|
474
|
-
invoiceVat?: string;
|
|
475
|
-
invoiceCity?: string;
|
|
476
|
-
invoiceZip?: string;
|
|
477
|
-
invoiceCountry?: string;
|
|
478
|
-
};
|
|
479
|
-
type TeamPrivate = {
|
|
480
|
-
slug: string;
|
|
481
|
-
name: string;
|
|
482
|
-
personal: boolean;
|
|
483
|
-
description: TranslatableValue | null;
|
|
484
|
-
tags?: string[] | null;
|
|
485
|
-
tagline: TranslatableValue | null;
|
|
486
|
-
balance: number;
|
|
487
|
-
locale: WarpLocale;
|
|
488
|
-
timezone: string;
|
|
489
|
-
place?: TeamPlace | null;
|
|
490
|
-
logo: string | null;
|
|
491
|
-
cover: string | null;
|
|
492
|
-
subscription: {
|
|
493
|
-
premium: boolean;
|
|
494
|
-
lifetime: boolean;
|
|
495
|
-
plan: Plan;
|
|
496
|
-
provider: PaymentProvider | null;
|
|
497
|
-
payer: User | null;
|
|
498
|
-
gracePeriod: boolean;
|
|
499
|
-
autoRenew: boolean;
|
|
500
|
-
cycleEndsAt: string | null;
|
|
501
|
-
resetsAt: string | null;
|
|
502
|
-
startedAt: string | null;
|
|
503
|
-
renewedAt: string | null;
|
|
504
|
-
expiresAt: string | null;
|
|
505
|
-
};
|
|
506
|
-
meta: TeamMeta;
|
|
507
|
-
branding: TeamBrand;
|
|
508
|
-
category: TeamCategory;
|
|
509
|
-
createdAt: string;
|
|
510
|
-
justCreated: boolean;
|
|
511
|
-
role?: UserRole | null;
|
|
512
|
-
permissions?: UserPermission[];
|
|
513
|
-
access?: TeamFeatureAccess;
|
|
514
|
-
accessCatalog?: TeamAccessCatalog;
|
|
515
|
-
};
|
|
516
|
-
type ByokProviderConfig = {
|
|
517
|
-
apiKey?: string;
|
|
518
|
-
accessKey?: string;
|
|
519
|
-
secretKey?: string;
|
|
520
|
-
};
|
|
521
|
-
type ByokProviders = {
|
|
522
|
-
openai?: ByokProviderConfig;
|
|
523
|
-
anthropic?: ByokProviderConfig;
|
|
524
|
-
google?: ByokProviderConfig;
|
|
525
|
-
xai?: ByokProviderConfig;
|
|
526
|
-
klingai?: ByokProviderConfig;
|
|
527
|
-
};
|
|
528
|
-
type ByokProviderName = keyof ByokProviders;
|
|
529
|
-
type TeamSettings = {
|
|
530
|
-
'extra.messages': number;
|
|
531
|
-
'limit.spending': number | null;
|
|
532
|
-
currency: string;
|
|
533
|
-
'extra.usage.enabled'?: boolean;
|
|
534
|
-
'auto.reload.enabled'?: boolean;
|
|
535
|
-
'auto.reload.threshold_cents'?: number | null;
|
|
536
|
-
'auto.reload.amount_cents'?: number | null;
|
|
537
|
-
'llm.provider'?: 'openai' | 'anthropic' | 'google' | 'xai' | null;
|
|
538
|
-
'byok.providers'?: ByokProviders | null;
|
|
539
|
-
'board.auto.enabled'?: boolean;
|
|
540
|
-
'payments.online'?: boolean;
|
|
541
|
-
'payments.coupons'?: boolean;
|
|
542
|
-
'kiosk.enabled'?: boolean;
|
|
543
|
-
'stock.enabled'?: boolean;
|
|
544
|
-
branding?: TeamBrand | null;
|
|
545
|
-
};
|
|
546
|
-
type TeamUsage = Partial<Record<PlanFeature, TeamFeatureUsage>> & {
|
|
547
|
-
extraUsageEnabled?: boolean;
|
|
548
|
-
currentSpending?: number;
|
|
549
|
-
walletCloudUsed?: number;
|
|
550
|
-
walletCloudPremiumUsed?: number;
|
|
551
|
-
spendingLimit?: number | null;
|
|
552
|
-
cycleEndsAt?: string | null;
|
|
553
|
-
resetsAt?: string | null;
|
|
554
|
-
autoReload?: {
|
|
555
|
-
enabled: boolean;
|
|
556
|
-
thresholdCents: number | null;
|
|
557
|
-
amountCents: number | null;
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
type TeamFeatureUsage = {
|
|
561
|
-
current: number;
|
|
562
|
-
limit: number;
|
|
563
|
-
reached?: boolean;
|
|
564
|
-
};
|
|
565
|
-
type AiCostEntry = {
|
|
566
|
-
id: number;
|
|
567
|
-
model: string | null;
|
|
568
|
-
agent: {
|
|
569
|
-
name: string;
|
|
570
|
-
uuid: string;
|
|
571
|
-
} | null;
|
|
572
|
-
inputTokens: number;
|
|
573
|
-
outputTokens: number;
|
|
574
|
-
totalTokens: number;
|
|
575
|
-
costCents: number | null;
|
|
576
|
-
createdAt: string;
|
|
577
|
-
};
|
|
578
|
-
type AiCostsSummary = {
|
|
579
|
-
totalCostCents: number;
|
|
580
|
-
totalTokens: number;
|
|
581
|
-
totalRequests: number;
|
|
582
|
-
byModel: Record<string, {
|
|
583
|
-
costCents: number;
|
|
584
|
-
tokens: number;
|
|
585
|
-
count: number;
|
|
586
|
-
}>;
|
|
587
|
-
};
|
|
588
|
-
type AiCostsResponse = {
|
|
589
|
-
summary: AiCostsSummary;
|
|
590
|
-
usages: {
|
|
591
|
-
data: AiCostEntry[];
|
|
592
|
-
pagination: {
|
|
593
|
-
currentPage: number;
|
|
594
|
-
lastPage: number;
|
|
595
|
-
perPage: number;
|
|
596
|
-
total: number;
|
|
597
|
-
};
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
|
-
//#endregion
|
|
601
|
-
//#region src/address/enums.d.ts
|
|
602
|
-
declare const AddressTypes: {
|
|
603
|
-
readonly Billing: "billing";
|
|
604
|
-
readonly Shipping: "shipping";
|
|
605
|
-
};
|
|
606
|
-
type AddressType = (typeof AddressTypes)[keyof typeof AddressTypes];
|
|
607
|
-
declare const addressTypeValues: [AddressType, ...AddressType[]];
|
|
608
|
-
//#endregion
|
|
609
|
-
//#region src/address/types.d.ts
|
|
610
|
-
type Address = {
|
|
611
|
-
id: string;
|
|
612
|
-
type: AddressType;
|
|
613
|
-
name: string;
|
|
614
|
-
company: string | null;
|
|
615
|
-
addressOne: string;
|
|
616
|
-
addressTwo: string | null;
|
|
617
|
-
city: string;
|
|
618
|
-
state: string | null;
|
|
619
|
-
zipCode: string;
|
|
620
|
-
country: string;
|
|
621
|
-
phone: string | null;
|
|
622
|
-
isDefault: boolean;
|
|
623
|
-
business: boolean;
|
|
624
|
-
vatId: string | null;
|
|
625
|
-
isEU: boolean;
|
|
626
|
-
isEEA: boolean;
|
|
627
|
-
};
|
|
628
|
-
type AddressSnapshot = Pick<Address, 'name' | 'company' | 'addressOne' | 'addressTwo' | 'city' | 'state' | 'zipCode' | 'country' | 'phone' | 'business' | 'vatId'>;
|
|
629
|
-
type AddressInput = {
|
|
630
|
-
name: string;
|
|
631
|
-
addressOne: string;
|
|
632
|
-
city: string;
|
|
633
|
-
zipCode: string;
|
|
634
|
-
country: string;
|
|
635
|
-
type?: AddressType;
|
|
636
|
-
company?: string | null;
|
|
637
|
-
addressTwo?: string | null;
|
|
638
|
-
state?: string | null;
|
|
639
|
-
phone?: string | null;
|
|
640
|
-
business?: boolean;
|
|
641
|
-
vatId?: string | null;
|
|
642
|
-
};
|
|
643
|
-
type AddressCreatePayload = {
|
|
644
|
-
name: string;
|
|
645
|
-
country: string;
|
|
646
|
-
type?: AddressType;
|
|
647
|
-
email?: string | null;
|
|
648
|
-
company?: string | null;
|
|
649
|
-
addressOne?: string | null;
|
|
650
|
-
addressTwo?: string | null;
|
|
651
|
-
city?: string | null;
|
|
652
|
-
state?: string | null;
|
|
653
|
-
zipCode?: string | null;
|
|
654
|
-
vatId?: string | null;
|
|
655
|
-
phone?: string | null;
|
|
656
|
-
isDefault?: boolean;
|
|
657
|
-
contact?: string;
|
|
658
|
-
team?: string;
|
|
659
|
-
};
|
|
660
|
-
type AddressUpdatePayload = Partial<Omit<AddressCreatePayload, 'contact' | 'team'>>;
|
|
661
|
-
//#endregion
|
|
662
|
-
//#region src/commerce/enums.d.ts
|
|
663
|
-
declare const FulfillmentStatuses: {
|
|
664
|
-
readonly Pending: "pending";
|
|
665
|
-
readonly ReadyForPickup: "ready_for_pickup";
|
|
666
|
-
readonly Shipped: "shipped";
|
|
667
|
-
readonly Delivered: "delivered";
|
|
668
|
-
readonly Cancelled: "cancelled";
|
|
669
|
-
};
|
|
670
|
-
type FulfillmentStatus = (typeof FulfillmentStatuses)[keyof typeof FulfillmentStatuses];
|
|
671
|
-
declare const fulfillmentStatusValues: [FulfillmentStatus, ...FulfillmentStatus[]];
|
|
672
|
-
declare const FulfillmentMethods: {
|
|
673
|
-
readonly Shipping: "shipping";
|
|
674
|
-
readonly Pickup: "pickup";
|
|
675
|
-
};
|
|
676
|
-
type FulfillmentMethod = (typeof FulfillmentMethods)[keyof typeof FulfillmentMethods];
|
|
677
|
-
declare const fulfillmentMethodValues: [FulfillmentMethod, ...FulfillmentMethod[]];
|
|
678
|
-
declare const ReturnStatuses: {
|
|
679
|
-
readonly Requested: "requested";
|
|
680
|
-
readonly Approved: "approved";
|
|
681
|
-
readonly Rejected: "rejected";
|
|
682
|
-
readonly Received: "received";
|
|
683
|
-
readonly Closed: "closed";
|
|
684
|
-
};
|
|
685
|
-
type ReturnStatus = (typeof ReturnStatuses)[keyof typeof ReturnStatuses];
|
|
686
|
-
declare const returnStatusValues: [ReturnStatus, ...ReturnStatus[]];
|
|
687
|
-
declare const ReturnUpdateStatuses: {
|
|
688
|
-
readonly Approved: "approved";
|
|
689
|
-
readonly Rejected: "rejected";
|
|
690
|
-
readonly Received: "received";
|
|
691
|
-
readonly Closed: "closed";
|
|
692
|
-
};
|
|
693
|
-
type ReturnUpdateStatus = (typeof ReturnUpdateStatuses)[keyof typeof ReturnUpdateStatuses];
|
|
694
|
-
declare const returnUpdateStatusValues: [ReturnUpdateStatus, ...ReturnUpdateStatus[]];
|
|
695
|
-
//#endregion
|
|
696
|
-
//#region src/commerce/types.d.ts
|
|
697
|
-
type ShippingRate = {
|
|
698
|
-
id: number;
|
|
699
|
-
name: string;
|
|
700
|
-
price: number;
|
|
701
|
-
fee?: number;
|
|
702
|
-
freeShippingThreshold?: number | null;
|
|
703
|
-
minOrderValue?: number | null;
|
|
704
|
-
maxOrderValue?: number | null;
|
|
705
|
-
minWeight?: number | null;
|
|
706
|
-
maxWeight?: number | null;
|
|
707
|
-
estimatedMinDays?: number | null;
|
|
708
|
-
estimatedMaxDays?: number | null;
|
|
709
|
-
active?: boolean;
|
|
710
|
-
position?: number;
|
|
711
|
-
};
|
|
712
|
-
type CheckoutSnapshot = {
|
|
713
|
-
id: string;
|
|
714
|
-
fulfillmentMethod: FulfillmentMethod;
|
|
715
|
-
totals: {
|
|
716
|
-
subtotal: number;
|
|
717
|
-
shippingFee: number;
|
|
718
|
-
total: number;
|
|
719
|
-
};
|
|
720
|
-
expiresAt: string;
|
|
721
|
-
accessToken?: string | null;
|
|
722
|
-
};
|
|
723
|
-
type GuestBuyer = {
|
|
724
|
-
name: string;
|
|
725
|
-
email: string;
|
|
726
|
-
};
|
|
727
|
-
type CheckoutSnapshotRequest = {
|
|
728
|
-
fulfillmentMethod: FulfillmentMethod;
|
|
729
|
-
items: {
|
|
730
|
-
id: string;
|
|
731
|
-
type: 'product' | 'service' | 'coupon';
|
|
732
|
-
quantity: number;
|
|
733
|
-
}[];
|
|
734
|
-
billingAddressId?: number | null;
|
|
735
|
-
shippingAddressId?: number | null;
|
|
736
|
-
billingAddress?: AddressInput;
|
|
737
|
-
shippingAddress?: AddressInput;
|
|
738
|
-
shippingRateId?: number | null;
|
|
739
|
-
fulfillmentLocationId?: number | null;
|
|
740
|
-
};
|
|
741
|
-
type ShippingZone = {
|
|
742
|
-
id: number;
|
|
743
|
-
name: string;
|
|
744
|
-
countries: string[];
|
|
745
|
-
postal_code_rules: string[] | null;
|
|
746
|
-
active: boolean;
|
|
747
|
-
position: number;
|
|
748
|
-
rates: ShippingRate[];
|
|
749
|
-
};
|
|
750
|
-
type FulfillmentLocation = {
|
|
751
|
-
id: number;
|
|
752
|
-
name: string;
|
|
753
|
-
address_id: number | null;
|
|
754
|
-
address: Address | null;
|
|
755
|
-
instructions: string | null;
|
|
756
|
-
active: boolean;
|
|
757
|
-
};
|
|
758
|
-
type Fulfillment = {
|
|
759
|
-
id: string;
|
|
760
|
-
orderId: number;
|
|
761
|
-
method: FulfillmentMethod;
|
|
762
|
-
status: FulfillmentStatus;
|
|
763
|
-
carrierCode: string | null;
|
|
764
|
-
trackingNumber: string | null;
|
|
765
|
-
trackingUrl: string | null;
|
|
766
|
-
items: {
|
|
767
|
-
orderItemId: number;
|
|
768
|
-
quantity: number;
|
|
769
|
-
}[];
|
|
770
|
-
shippedAt: string | null;
|
|
771
|
-
readyForPickupAt: string | null;
|
|
772
|
-
deliveredAt: string | null;
|
|
773
|
-
};
|
|
774
|
-
type Return = {
|
|
775
|
-
id: string;
|
|
776
|
-
orderId: number;
|
|
777
|
-
status: ReturnStatus;
|
|
778
|
-
reason: string;
|
|
779
|
-
merchantNote: string | null;
|
|
780
|
-
items: {
|
|
781
|
-
orderItemId: number;
|
|
782
|
-
quantity: number;
|
|
783
|
-
condition: string | null;
|
|
784
|
-
}[];
|
|
785
|
-
refundAmount: number | null;
|
|
786
|
-
};
|
|
787
|
-
type SubscriptionDelivery = {
|
|
788
|
-
fulfillmentMethod: FulfillmentMethod | null;
|
|
789
|
-
nextOrderAt: string | null;
|
|
790
|
-
pausedAt: string | null;
|
|
791
|
-
shippingAddress?: AddressSnapshot | null;
|
|
792
|
-
shippingRate?: Pick<ShippingRate, 'name' | 'price'> | null;
|
|
793
|
-
fulfillmentLocation?: {
|
|
794
|
-
name: string;
|
|
795
|
-
instructions: string | null;
|
|
796
|
-
} | null;
|
|
797
|
-
};
|
|
798
|
-
//#endregion
|
|
799
|
-
//#region src/json/types.d.ts
|
|
800
|
-
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
801
|
-
[key: string]: JsonValue;
|
|
802
|
-
};
|
|
803
|
-
//#endregion
|
|
804
|
-
//#region src/contact/types.d.ts
|
|
805
|
-
type ContactHealth = 'active' | 'lukewarm' | 'cold' | 'stale' | 'unknown';
|
|
806
|
-
type ContactConsentStatus = 'pending' | 'confirmed' | 'superseded' | 'unsubscribed';
|
|
807
|
-
type ContactConsent = {
|
|
808
|
-
id: string;
|
|
809
|
-
purpose: string;
|
|
810
|
-
status: ContactConsentStatus;
|
|
811
|
-
email: string;
|
|
812
|
-
consentText: {
|
|
813
|
-
label?: string | Record<string, string>;
|
|
814
|
-
description?: string | Record<string, string> | null;
|
|
815
|
-
};
|
|
816
|
-
privacyUrl: string | null;
|
|
817
|
-
source: {
|
|
818
|
-
formIdentifier?: string | null;
|
|
819
|
-
formTitle?: string | Record<string, string> | null;
|
|
692
|
+
roleAcceptedAt: string | null;
|
|
693
|
+
email: string | null;
|
|
694
|
+
};
|
|
695
|
+
type TeamMeta = {
|
|
696
|
+
'extra.messages'?: number;
|
|
697
|
+
'limit.spending'?: number | null;
|
|
698
|
+
currency?: string;
|
|
699
|
+
'extra.usage.enabled'?: boolean;
|
|
700
|
+
'auto.reload.enabled'?: boolean;
|
|
701
|
+
'auto.reload.threshold_cents'?: number | null;
|
|
702
|
+
'auto.reload.amount_cents'?: number | null;
|
|
703
|
+
'llm.provider'?: 'openai' | 'anthropic' | 'google' | 'xai' | null;
|
|
704
|
+
'byok.providers'?: ByokProviders | null;
|
|
705
|
+
'board.auto.enabled'?: boolean;
|
|
706
|
+
'payments.online'?: boolean;
|
|
707
|
+
'payments.coupons'?: boolean;
|
|
708
|
+
'kiosk.enabled'?: boolean;
|
|
709
|
+
'stock.enabled'?: boolean;
|
|
710
|
+
contactPropertyMaskWarp?: string;
|
|
711
|
+
branding?: TeamBrand | null;
|
|
712
|
+
settings: Record<string, unknown> & {
|
|
713
|
+
apps?: NativeApp[];
|
|
820
714
|
};
|
|
821
|
-
requestedAt: string;
|
|
822
|
-
confirmedAt: string | null;
|
|
823
|
-
unsubscribedAt: string | null;
|
|
824
715
|
};
|
|
825
|
-
type
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
userId: string | null;
|
|
840
|
-
locale?: string | null;
|
|
841
|
-
props?: Record<string, string> | null;
|
|
842
|
-
settings?: {
|
|
843
|
-
marketingOptOut?: boolean;
|
|
844
|
-
} | null;
|
|
845
|
-
consents?: ContactConsent[];
|
|
846
|
-
lastActivityAt?: string | null;
|
|
847
|
-
health?: ContactHealth;
|
|
848
|
-
nextFollowUpAt?: string | null;
|
|
849
|
-
followUpNote?: string | null;
|
|
716
|
+
type TeamPlace = {
|
|
717
|
+
provider: 'google';
|
|
718
|
+
sourceId: string;
|
|
719
|
+
name: string | null;
|
|
720
|
+
address: string | null;
|
|
721
|
+
location: {
|
|
722
|
+
lat: number | null;
|
|
723
|
+
lng: number | null;
|
|
724
|
+
};
|
|
725
|
+
rating?: number | null;
|
|
726
|
+
reviewCount?: number | null;
|
|
727
|
+
websiteUrl?: string | null;
|
|
728
|
+
mapsUrl?: string | null;
|
|
729
|
+
businessStatus?: string | null;
|
|
850
730
|
};
|
|
851
|
-
type
|
|
852
|
-
|
|
731
|
+
type Team = {
|
|
732
|
+
slug: string;
|
|
853
733
|
name: string;
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
734
|
+
personal: boolean;
|
|
735
|
+
category: TeamCategory;
|
|
736
|
+
tags?: string[] | null;
|
|
737
|
+
description: TranslatableValue | null;
|
|
738
|
+
locale: WarpLocale;
|
|
739
|
+
timezone: string;
|
|
740
|
+
place?: TeamPlace | null;
|
|
741
|
+
meta?: TeamMeta;
|
|
742
|
+
features?: TeamFeature[];
|
|
743
|
+
cover?: string | null;
|
|
744
|
+
logo: string | null;
|
|
745
|
+
tagline?: TranslatableValue | null;
|
|
746
|
+
public: boolean;
|
|
862
747
|
createdAt: string;
|
|
863
|
-
|
|
748
|
+
blueprints?: Blueprint[];
|
|
749
|
+
flows?: Flow[];
|
|
750
|
+
coupons?: Coupon[];
|
|
864
751
|
};
|
|
865
|
-
type
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
752
|
+
type TeamBrand = {
|
|
753
|
+
bg?: string;
|
|
754
|
+
fg?: string;
|
|
755
|
+
label?: string;
|
|
756
|
+
logo?: string;
|
|
757
|
+
bankAccountHolder?: string;
|
|
758
|
+
bankIban?: string;
|
|
759
|
+
bankBic?: string;
|
|
760
|
+
invoiceAddress?: string;
|
|
761
|
+
invoiceVat?: string;
|
|
762
|
+
invoiceCity?: string;
|
|
763
|
+
invoiceZip?: string;
|
|
764
|
+
invoiceCountry?: string;
|
|
765
|
+
};
|
|
766
|
+
type TeamPrivate = {
|
|
767
|
+
slug: string;
|
|
768
|
+
name: string;
|
|
769
|
+
personal: boolean;
|
|
770
|
+
description: TranslatableValue | null;
|
|
876
771
|
tags?: string[] | null;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
772
|
+
tagline: TranslatableValue | null;
|
|
773
|
+
balance: number;
|
|
774
|
+
locale: WarpLocale;
|
|
775
|
+
timezone: string;
|
|
776
|
+
place?: TeamPlace | null;
|
|
777
|
+
logo: string | null;
|
|
778
|
+
cover: string | null;
|
|
779
|
+
subscription: {
|
|
780
|
+
premium: boolean;
|
|
781
|
+
lifetime: boolean;
|
|
782
|
+
plan: Plan;
|
|
783
|
+
provider: PaymentProvider | null;
|
|
784
|
+
payer: User | null;
|
|
785
|
+
gracePeriod: boolean;
|
|
786
|
+
autoRenew: boolean;
|
|
787
|
+
cycleEndsAt: string | null;
|
|
788
|
+
resetsAt: string | null;
|
|
789
|
+
startedAt: string | null;
|
|
790
|
+
renewedAt: string | null;
|
|
791
|
+
expiresAt: string | null;
|
|
881
792
|
};
|
|
882
|
-
|
|
883
|
-
|
|
793
|
+
meta: TeamMeta;
|
|
794
|
+
branding: TeamBrand;
|
|
795
|
+
category: TeamCategory;
|
|
796
|
+
createdAt: string;
|
|
797
|
+
justCreated: boolean;
|
|
798
|
+
role?: UserRole | null;
|
|
799
|
+
permissions?: UserPermission[];
|
|
800
|
+
access?: TeamFeatureAccess;
|
|
801
|
+
accessCatalog?: TeamAccessCatalog;
|
|
884
802
|
};
|
|
885
|
-
type
|
|
886
|
-
|
|
887
|
-
|
|
803
|
+
type ByokProviderConfig = {
|
|
804
|
+
apiKey?: string;
|
|
805
|
+
accessKey?: string;
|
|
806
|
+
secretKey?: string;
|
|
888
807
|
};
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
808
|
+
type ByokProviders = {
|
|
809
|
+
openai?: ByokProviderConfig;
|
|
810
|
+
anthropic?: ByokProviderConfig;
|
|
811
|
+
google?: ByokProviderConfig;
|
|
812
|
+
xai?: ByokProviderConfig;
|
|
813
|
+
klingai?: ByokProviderConfig;
|
|
895
814
|
};
|
|
896
|
-
type
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
815
|
+
type ByokProviderName = keyof ByokProviders;
|
|
816
|
+
type TeamSettings = {
|
|
817
|
+
'extra.messages': number;
|
|
818
|
+
'limit.spending': number | null;
|
|
819
|
+
currency: string;
|
|
820
|
+
'extra.usage.enabled'?: boolean;
|
|
821
|
+
'auto.reload.enabled'?: boolean;
|
|
822
|
+
'auto.reload.threshold_cents'?: number | null;
|
|
823
|
+
'auto.reload.amount_cents'?: number | null;
|
|
824
|
+
'llm.provider'?: 'openai' | 'anthropic' | 'google' | 'xai' | null;
|
|
825
|
+
'byok.providers'?: ByokProviders | null;
|
|
826
|
+
'board.auto.enabled'?: boolean;
|
|
827
|
+
'payments.online'?: boolean;
|
|
828
|
+
'payments.coupons'?: boolean;
|
|
829
|
+
'kiosk.enabled'?: boolean;
|
|
830
|
+
'stock.enabled'?: boolean;
|
|
831
|
+
branding?: TeamBrand | null;
|
|
832
|
+
};
|
|
833
|
+
type TeamUsage = Partial<Record<PlanFeature, TeamFeatureUsage>> & {
|
|
834
|
+
extraUsageEnabled?: boolean;
|
|
835
|
+
currentSpending?: number;
|
|
836
|
+
walletCloudUsed?: number;
|
|
837
|
+
walletCloudPremiumUsed?: number;
|
|
838
|
+
spendingLimit?: number | null;
|
|
839
|
+
cycleEndsAt?: string | null;
|
|
840
|
+
resetsAt?: string | null;
|
|
841
|
+
autoReload?: {
|
|
842
|
+
enabled: boolean;
|
|
843
|
+
thresholdCents: number | null;
|
|
844
|
+
amountCents: number | null;
|
|
902
845
|
};
|
|
903
|
-
preview_url: null | string;
|
|
904
|
-
original_url: null | string;
|
|
905
|
-
extension?: string;
|
|
906
|
-
size?: number;
|
|
907
846
|
};
|
|
908
|
-
type
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
847
|
+
type TeamFeatureUsage = {
|
|
848
|
+
current: number;
|
|
849
|
+
limit: number;
|
|
850
|
+
reached?: boolean;
|
|
851
|
+
};
|
|
852
|
+
type AiCostEntry = {
|
|
853
|
+
id: number;
|
|
854
|
+
model: string | null;
|
|
855
|
+
agent: {
|
|
856
|
+
name: string;
|
|
857
|
+
uuid: string;
|
|
858
|
+
} | null;
|
|
859
|
+
inputTokens: number;
|
|
860
|
+
outputTokens: number;
|
|
861
|
+
totalTokens: number;
|
|
862
|
+
costCents: number | null;
|
|
863
|
+
createdAt: string;
|
|
864
|
+
};
|
|
865
|
+
type AiCostsSummary = {
|
|
866
|
+
totalCostCents: number;
|
|
867
|
+
totalTokens: number;
|
|
868
|
+
totalRequests: number;
|
|
869
|
+
byModel: Record<string, {
|
|
870
|
+
costCents: number;
|
|
871
|
+
tokens: number;
|
|
872
|
+
count: number;
|
|
873
|
+
}>;
|
|
874
|
+
};
|
|
875
|
+
type AiCostsResponse = {
|
|
876
|
+
summary: AiCostsSummary;
|
|
877
|
+
usages: {
|
|
878
|
+
data: AiCostEntry[];
|
|
879
|
+
pagination: {
|
|
880
|
+
currentPage: number;
|
|
881
|
+
lastPage: number;
|
|
882
|
+
perPage: number;
|
|
883
|
+
total: number;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
918
886
|
};
|
|
919
887
|
//#endregion
|
|
920
888
|
//#region src/billing/types.d.ts
|
|
@@ -1175,7 +1143,7 @@ type Order = {
|
|
|
1175
1143
|
coupon?: Coupon | null;
|
|
1176
1144
|
plan: Plan | null;
|
|
1177
1145
|
user: UserPrivate | null;
|
|
1178
|
-
team: TeamPrivate | null;
|
|
1146
|
+
team: Team | TeamPrivate | null;
|
|
1179
1147
|
isSubscription: boolean;
|
|
1180
1148
|
};
|
|
1181
1149
|
type CartItem = {
|
|
@@ -1536,7 +1504,6 @@ type WarpExtras = {
|
|
|
1536
1504
|
faq?: Record<string, WarpExtrasFaq[]>;
|
|
1537
1505
|
notification?: {
|
|
1538
1506
|
enabled?: boolean;
|
|
1539
|
-
contact?: string | null;
|
|
1540
1507
|
};
|
|
1541
1508
|
optIn?: {
|
|
1542
1509
|
enabled?: boolean;
|
|
@@ -1594,7 +1561,7 @@ type BrandSourceConfig = {
|
|
|
1594
1561
|
contract?: string;
|
|
1595
1562
|
endpoints?: string[];
|
|
1596
1563
|
};
|
|
1597
|
-
type BrandIntegrationProvider = 'claude' | 'codex' | 'cursor' | 'openai';
|
|
1564
|
+
type BrandIntegrationProvider = 'claude' | 'codex' | 'cursor' | 'openai' | 'grok';
|
|
1598
1565
|
type BrandIntegrationAction = {
|
|
1599
1566
|
type: 'copy' | 'link' | 'deeplink';
|
|
1600
1567
|
label: string;
|
|
@@ -1921,12 +1888,13 @@ type Service = {
|
|
|
1921
1888
|
slug: string;
|
|
1922
1889
|
name: TranslatableValue;
|
|
1923
1890
|
price: number;
|
|
1924
|
-
durationMinutes: number;
|
|
1891
|
+
durationMinutes: number | null;
|
|
1925
1892
|
tags?: string[] | null;
|
|
1926
1893
|
description: TranslatableValue | null;
|
|
1927
1894
|
active: boolean;
|
|
1928
1895
|
digital: boolean;
|
|
1929
1896
|
public: boolean;
|
|
1897
|
+
bookable: boolean;
|
|
1930
1898
|
settings?: Record<string, unknown> | null;
|
|
1931
1899
|
createdAt: string;
|
|
1932
1900
|
updatedAt: string;
|
|
@@ -2575,10 +2543,24 @@ type AgentSetupTarget = {
|
|
|
2575
2543
|
agentUuid: string;
|
|
2576
2544
|
mcpUrl: string;
|
|
2577
2545
|
};
|
|
2546
|
+
type AppSetupTarget = {
|
|
2547
|
+
appName: string;
|
|
2548
|
+
appSlug: string;
|
|
2549
|
+
mcpUrl: string;
|
|
2550
|
+
};
|
|
2551
|
+
declare const UNIFIED_MCP_SERVER_NAME = "joai";
|
|
2552
|
+
declare const isUnifiedMcpUrl: (mcpUrl: string) => boolean;
|
|
2578
2553
|
declare const getAgentSetupPromptUrl: (env: AppEnv) => string;
|
|
2579
2554
|
declare const buildAgentSetupClipboardText: (env: AppEnv, target: AgentSetupTarget) => string;
|
|
2555
|
+
declare const buildAppSetupClipboardText: (env: AppEnv, target: AppSetupTarget) => string;
|
|
2580
2556
|
declare const createCursorMcpInstallLink: (mcpServerUrl: string, serverName: string) => string;
|
|
2557
|
+
/** Default owner/connect MCP URL. Optional agent UUID soft-prefills OAuth via `?agent=`. */
|
|
2558
|
+
declare const resolveConnectMcpUrl: (env: AppEnv, mcpEndpoint?: string | null, preferredAgentUuid?: string | null) => string;
|
|
2559
|
+
/** Agent-scoped MCP URL for public/direct addressing (Agent0, x402, marketplace). */
|
|
2581
2560
|
declare const resolveAgentMcpUrl: (env: AppEnv, agentUuid: string, mcpEndpoint?: string | null) => string;
|
|
2561
|
+
declare const slugifyMcpSegment: (value: string) => string;
|
|
2562
|
+
declare const buildMcpServerName: (slug: string, teamName?: string) => string;
|
|
2563
|
+
declare const buildAgentMcpServerName: (agentName: string, teamName?: string) => string;
|
|
2582
2564
|
//#endregion
|
|
2583
2565
|
//#region src/memory/types.d.ts
|
|
2584
2566
|
type Memory = {
|
|
@@ -4124,4 +4106,4 @@ type CliSessionStatus = {
|
|
|
4124
4106
|
meta: CliSessionMeta | null;
|
|
4125
4107
|
};
|
|
4126
4108
|
//#endregion
|
|
4127
|
-
export { 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, AgentWalletMode, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppAccessRule, AppEnv, AppFile, AppFileType, AppIngestion, AppendKvEntryResult, AppointmentAvailability, AppointmentAvailabilityService, AppointmentAvailabilitySlot, AppointmentBooking, AppointmentBookingContext, AppointmentPolicy, AppointmentPolicySync, AppointmentRequest, AppointmentSlot, AuthUser, BillingManageAccess, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CalendarProvider, CalendarStatus, Campaign, CampaignApproval, CampaignCategory, CampaignChannel, CampaignCreatePayload, 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, ContactViewable, Contract, ContractCategoryDisplayNames, ContractCategoryName, ContractCodeMetadata, ContractEntity, ContractOnNetwork, ContractVersion, ContractsAddressConfig, CortexExecuteOptions, Coupon, CouponCondition, CouponRestrictedItem, CouponRestrictedItemType, CreateHookPayload, CreateInboundHookPayload, CreateInternalHookPayload, CreateKvFieldPayload, CreateWarpLinkedHookPayload, CreateWebHookPayload, DefaultCodeMetadata, DefaultInviteTeamRole, DemoFlow, DemoMessage, Desk, DeskItem, DeskItemRole, Document, EarnResponse, Earning, Element, ElementSpec, ElementType, ElementVariation, EmailProvider, EmbedStatus, EncryptionStatus, Entity, EntityDirectExecuteRequest, EntityProposable, EntitySignable, EntityTemplate, Experience, FileInfo, FileMetadata, Flow, FlowCategory, FlowInputMapping, FlowStatus, FlowStep, Fulfillment, 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, 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, OfficeAgent, OfficeEntity, OfficeEntityKind, OfficeLiveOverrides, OfficeMember, OfficeSnapshot, OfficeStatus, OfficeStatusFilter, OfficeTypeFilter, OgImageColors, OgImageParams, OgImageType, Order, OrderConfigurationItem, OrderContext, OrderItem, OrderSource, OrderStatus, OrderType, PaginatedResponse, Pass, PaymentAccount, PaymentAccountOnboarding, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PermissionPresetName, PermissionPresetNames, PersonaQuestionable, Plan, PlanBenefit, PlanExtra, PlanFeature, PlanInterval, PolicyMethod, PolicySetting, PricingModel, Product, 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, ShippingRate, ShippingZone, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, StampResponse, StoreAgent, StoreCheckoutItem, StoreData, StoreEntityType, StoreInfo, StoreItem, StoreListing, StorePriceTier, StorePricing, StorePurchasable, StorePurchaseResult, Streak, Subscription, SubscriptionDelivery, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, Swarm, Tag, TagType, Task, Team, TeamAccessCatalog, TeamAccessConfig, TeamBrand, TeamCategory, TeamEarning, TeamEarningsBalance, TeamFeature, TeamFeatureAccess, TeamFeatureArea, TeamFeatureUsage, TeamManageAccess, TeamMember, TeamMeta, TeamPayout, TeamPayoutAddress, TeamPlace, TeamPrivate, TeamSettings, TeamUsage, TeamViewAccess, TerminalConnectionToken, TerminalPaymentIntent, Tier, TierFeature, TierName, ToggleKvFieldResult, TranscriptEntry, TranscriptionCorrection, TranscriptionResponse, TranslatableValue, 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, buildAgentSetupClipboardText, cartLineTotal, createCursorMcpInstallLink, defaultInviteTeamRole, fulfillmentMethodValues, fulfillmentStatusValues, getAgentSetupPromptUrl, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getLoginUrl, getMcpServerAgentUrl, getSiteUrl, getSitesBaseUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, hasAllPermissions, hasAllTeamPermissions, hasAnyPermissions, hasPermission, hasTeamPermission, inviteableTeamRoles, isCompleteAddressInput, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, isNativeApp, isNativeAppAccessible, isNativeAppGated, isNativeAppLocked, isTeamFeatureAccessible, isTeamFeatureGated, isTeamFeatureLocked, isUserRole, localize, nativeAppSlugs, ogImageUrl, permissionPresetRules, resolveAccessCatalog, resolveAgentMcpUrl, resolveWarpText, returnStatusValues, returnUpdateStatusValues, sanitizeAlphanumeric, sanitizeNumeric, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, userPermissionValues, userRoleValues, withRetry };
|
|
4109
|
+
export { 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, AgentWalletMode, AggregatedRoute, AiCostEntry, AiCostsResponse, AiCostsSummary, Alert, ApiToken, AppAccessRule, AppEnv, AppFile, AppFileType, AppIngestion, AppSetupTarget, AppendKvEntryResult, AppointmentAvailability, AppointmentAvailabilityService, AppointmentAvailabilitySlot, AppointmentBooking, AppointmentBookingContext, AppointmentPolicy, AppointmentPolicySync, AppointmentRequest, AppointmentSlot, AuthUser, BillingManageAccess, Blueprint, BlueprintOnboardingStep, BlueprintRedirect, BlueprintSettings, BlueprintShortcut, BlueprintTask, BlueprintTeam, BoardSummaryViewable, BookmarkEntry, BrandBackend, BrandIntegration, BrandIntegrationAction, BrandIntegrationProvider, BrandSearchHit, BrandSiteConfig, BrandSourceConfig, Budget, ByokProviderConfig, ByokProviderName, ByokProviders, CalendarProvider, CalendarStatus, Campaign, CampaignApproval, CampaignCategory, CampaignChannel, CampaignCreatePayload, 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, 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, DefaultCodeMetadata, DefaultInviteTeamRole, DemoFlow, DemoMessage, Desk, DeskItem, DeskItemRole, Document, EarnResponse, Earning, Element, ElementSpec, ElementType, ElementVariation, EmailProvider, EmbedStatus, EncryptionStatus, Entity, EntityDirectExecuteRequest, EntityProposable, EntitySignable, EntityTemplate, Experience, FileInfo, FileMetadata, Flow, FlowCategory, FlowInputMapping, FlowStatus, FlowStep, Fulfillment, 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, 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, OfficeAgent, OfficeEntity, OfficeEntityKind, OfficeLiveOverrides, OfficeMember, OfficeSnapshot, OfficeStatus, OfficeStatusFilter, OfficeTypeFilter, OgImageColors, OgImageParams, OgImageType, Order, OrderConfigurationItem, OrderContext, OrderItem, OrderSource, OrderStatus, OrderType, PaginatedResponse, Pass, PatchContentInput, PaymentAccount, PaymentAccountOnboarding, PaymentProvider, PayoutEntry, PeriodTypeLabels, PeriodTypeOptions, PermissionConfigType, PermissionPresetName, PermissionPresetNames, PersonaQuestionable, Plan, PlanBenefit, PlanExtra, PlanFeature, PlanInterval, PolicyMethod, PolicySetting, PricingModel, Product, 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, ShippingRate, ShippingZone, Shortcut, Site, SiteAgent, SiteBrand, SiteRoute, SiteTeam, Skill, SkillMediaBindingRole, SkillMediaBindingRoleValue, SkillScope, SkillScopeValue, SkillType, SkillTypeValue, SocialAuthProvider, SocialBot, SocialPlatform, StampResponse, StoreAgent, StoreCheckoutItem, StoreData, StoreEntityType, StoreInfo, StoreItem, StoreListing, StorePriceTier, StorePricing, StorePurchasable, StorePurchaseResult, Streak, Subscription, SubscriptionDelivery, SubscriptionInterval, SubscriptionPlan, SubscriptionStatus, Swarm, Tag, TagType, Task, Team, TeamAccessCatalog, TeamAccessConfig, TeamBrand, TeamCategory, TeamEarning, TeamEarningsBalance, TeamFeature, TeamFeatureAccess, TeamFeatureArea, TeamFeatureUsage, TeamManageAccess, TeamMember, TeamMeta, 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, buildAgentMcpServerName, buildAgentSetupClipboardText, buildAppSetupClipboardText, buildMcpServerName, cartLineTotal, createCursorMcpInstallLink, defaultInviteTeamRole, fulfillmentMethodValues, fulfillmentStatusValues, getAgentSetupPromptUrl, getAgentsBaseUrl, getApiBaseUrl, getAppBaseUrl, getAssetAppLogoUrl, getAssetChainLogoUrl, getAssetPartnerLogoUrl, getAssetTokenLogoUrl, getAssetWalletLogoUrl, getCortexBaseUrl, getDigestBaseUrl, getFormsBaseUrl, getLoginUrl, getMcpServerAgentUrl, getMcpServerUrl, getSiteUrl, getSitesBaseUrl, getSitesRootDomain, getStoreBaseUrl, getWarpScreenshotUrl, hasAllPermissions, hasAllTeamPermissions, hasAnyPermissions, hasPermission, hasTeamPermission, inviteableTeamRoles, isCompleteAddressInput, isFileFormatAudio, isFileFormatImage, isFileFormatVideo, isNativeApp, isNativeAppAccessible, isNativeAppGated, isNativeAppLocked, isTeamFeatureAccessible, isTeamFeatureGated, isTeamFeatureLocked, isUnifiedMcpUrl, isUserRole, localize, nativeAppSlugs, ogImageUrl, permissionPresetRules, resolveAccessCatalog, resolveAgentMcpUrl, resolveConnectMcpUrl, resolveWarpText, returnStatusValues, returnUpdateStatusValues, sanitizeAlphanumeric, sanitizeNumeric, slugifyMcpSegment, teamCategories, toCurrencyDisplay, toHexEncodedNonce, toNameInitials, toNftId, toPreviewText, userPermissionValues, userRoleValues, withRetry };
|