@lessly/sdk-app 57.0.0 → 58.0.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/_types/gen/brain/index.d.ts +1 -1
- package/dist/_types/gen/brain/queryOptions.gen.d.ts +1 -5
- package/dist/_types/gen/client.gen.d.ts +29 -4
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +50 -0
- package/dist/_types/gen/types.gen.d.ts +193 -90
- package/dist/brain/index.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/chunk-4RJR4UQ3.js +9121 -0
- package/dist/chunk-4RJR4UQ3.js.map +1 -0
- package/dist/index.cjs +104 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -9018
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +81 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +58 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +113 -14
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +52 -5
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +228 -92
package/src/gen/types.gen.ts
CHANGED
|
@@ -66539,98 +66539,6 @@ snapshotId: string
|
|
|
66539
66539
|
preRestoreSnapshotId: (string | null)
|
|
66540
66540
|
} | null)
|
|
66541
66541
|
|
|
66542
|
-
export interface BrainUsageReportInput {
|
|
66543
|
-
/**
|
|
66544
|
-
* How many UTC days of this product's ledger to return, ending today (default 30, max 90)
|
|
66545
|
-
*/
|
|
66546
|
-
days?: number
|
|
66547
|
-
}
|
|
66548
|
-
|
|
66549
|
-
export interface BrainUsageReportOutput {
|
|
66550
|
-
note: string
|
|
66551
|
-
/**
|
|
66552
|
-
* Brain's own ledger, for THIS product only
|
|
66553
|
-
*/
|
|
66554
|
-
product: {
|
|
66555
|
-
/**
|
|
66556
|
-
* Inclusive UTC end of the window (today), YYYY-MM-DD
|
|
66557
|
-
*/
|
|
66558
|
-
to: string
|
|
66559
|
-
/**
|
|
66560
|
-
* The window actually used, after clamping
|
|
66561
|
-
*/
|
|
66562
|
-
days: number
|
|
66563
|
-
/**
|
|
66564
|
-
* Inclusive UTC start of the window, YYYY-MM-DD
|
|
66565
|
-
*/
|
|
66566
|
-
from: string
|
|
66567
|
-
rows: {
|
|
66568
|
-
/**
|
|
66569
|
-
* 'sync' | 'batch'; '' when the push carried none
|
|
66570
|
-
*/
|
|
66571
|
-
mode: string
|
|
66572
|
-
/**
|
|
66573
|
-
* Manifest meter slug, e.g. llm-tokens
|
|
66574
|
-
*/
|
|
66575
|
-
meter: string
|
|
66576
|
-
/**
|
|
66577
|
-
* Model dimension; '' when the push carried none
|
|
66578
|
-
*/
|
|
66579
|
-
model: string
|
|
66580
|
-
/**
|
|
66581
|
-
* How many record() calls landed in this slice
|
|
66582
|
-
*/
|
|
66583
|
-
events: number
|
|
66584
|
-
/**
|
|
66585
|
-
* Tokens we metered for this slice, delivered or not
|
|
66586
|
-
*/
|
|
66587
|
-
tokens: number
|
|
66588
|
-
/**
|
|
66589
|
-
* Purpose dimension; '' when the push carried none
|
|
66590
|
-
*/
|
|
66591
|
-
purpose: string
|
|
66592
|
-
/**
|
|
66593
|
-
* UTC calendar day, YYYY-MM-DD
|
|
66594
|
-
*/
|
|
66595
|
-
usage_date: string
|
|
66596
|
-
/**
|
|
66597
|
-
* Of those events, how many billing did not accept
|
|
66598
|
-
*/
|
|
66599
|
-
delivery_failed: number
|
|
66600
|
-
}[]
|
|
66601
|
-
/**
|
|
66602
|
-
* The rows rolled up per meter across the whole window
|
|
66603
|
-
*/
|
|
66604
|
-
totals: {
|
|
66605
|
-
meter: string
|
|
66606
|
-
events: number
|
|
66607
|
-
tokens: number
|
|
66608
|
-
delivery_failed: number
|
|
66609
|
-
}[]
|
|
66610
|
-
product_id: string
|
|
66611
|
-
}
|
|
66612
|
-
/**
|
|
66613
|
-
* The platform billing aggregate for the whole ORG; null if it could not be read
|
|
66614
|
-
*/
|
|
66615
|
-
platform: ({
|
|
66616
|
-
plan: string
|
|
66617
|
-
scope: "org"
|
|
66618
|
-
meters: {
|
|
66619
|
-
unit?: string
|
|
66620
|
-
used?: number
|
|
66621
|
-
limit?: (number | null)
|
|
66622
|
-
remaining?: (number | null)
|
|
66623
|
-
unlimited?: boolean
|
|
66624
|
-
meter_slug: string
|
|
66625
|
-
}[]
|
|
66626
|
-
org_id: string
|
|
66627
|
-
} | null)
|
|
66628
|
-
/**
|
|
66629
|
-
* Why the platform aggregate is null; null when it was read successfully
|
|
66630
|
-
*/
|
|
66631
|
-
platform_error: (string | null)
|
|
66632
|
-
}
|
|
66633
|
-
|
|
66634
66542
|
export interface ConsentConfigCookieDomainUpsertInput {
|
|
66635
66543
|
cookieDomain: ("" | null | string)
|
|
66636
66544
|
}
|
|
@@ -66684,6 +66592,7 @@ dangerColor?: string
|
|
|
66684
66592
|
successColor?: string
|
|
66685
66593
|
warningColor?: string
|
|
66686
66594
|
backgroundColor?: string
|
|
66595
|
+
primaryTextColor?: string
|
|
66687
66596
|
}
|
|
66688
66597
|
brandColor?: string
|
|
66689
66598
|
}
|
|
@@ -85122,6 +85031,7 @@ displayName: (string | null)
|
|
|
85122
85031
|
orgRoles: {
|
|
85123
85032
|
id: string
|
|
85124
85033
|
name: string
|
|
85034
|
+
description: (string | null)
|
|
85125
85035
|
}[]
|
|
85126
85036
|
canManage: boolean
|
|
85127
85037
|
inherited: {
|
|
@@ -85518,6 +85428,232 @@ lastMessagePreview: (string | null)
|
|
|
85518
85428
|
}[]
|
|
85519
85429
|
}
|
|
85520
85430
|
|
|
85431
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
85432
|
+
/**
|
|
85433
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
85434
|
+
*/
|
|
85435
|
+
limit?: number
|
|
85436
|
+
}
|
|
85437
|
+
|
|
85438
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
85439
|
+
ok: boolean
|
|
85440
|
+
minted: boolean
|
|
85441
|
+
overview?: unknown
|
|
85442
|
+
http_status: number
|
|
85443
|
+
}
|
|
85444
|
+
|
|
85445
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
85446
|
+
|
|
85447
|
+
}
|
|
85448
|
+
|
|
85449
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
85450
|
+
ok: boolean
|
|
85451
|
+
minted: boolean
|
|
85452
|
+
http_status: number
|
|
85453
|
+
entitlements?: unknown
|
|
85454
|
+
}
|
|
85455
|
+
|
|
85456
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
85457
|
+
/**
|
|
85458
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
85459
|
+
*/
|
|
85460
|
+
value?: number
|
|
85461
|
+
}
|
|
85462
|
+
|
|
85463
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
85464
|
+
minted: boolean
|
|
85465
|
+
accepted: (number | null)
|
|
85466
|
+
recorded: boolean
|
|
85467
|
+
duplicates: (number | null)
|
|
85468
|
+
http_status: number
|
|
85469
|
+
}
|
|
85470
|
+
|
|
85471
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
85472
|
+
/**
|
|
85473
|
+
* Task title; defaults to a fixture label
|
|
85474
|
+
*/
|
|
85475
|
+
name?: string
|
|
85476
|
+
/**
|
|
85477
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
85478
|
+
*/
|
|
85479
|
+
listId?: string
|
|
85480
|
+
}
|
|
85481
|
+
|
|
85482
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
85483
|
+
minted: boolean
|
|
85484
|
+
task_id: (string | null)
|
|
85485
|
+
list_status: number
|
|
85486
|
+
vend_status: number
|
|
85487
|
+
clickup_status: number
|
|
85488
|
+
installation_count: number
|
|
85489
|
+
}
|
|
85490
|
+
|
|
85491
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
85492
|
+
|
|
85493
|
+
}
|
|
85494
|
+
|
|
85495
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
85496
|
+
payload: string
|
|
85497
|
+
event_id: string
|
|
85498
|
+
provider: string
|
|
85499
|
+
verified: boolean
|
|
85500
|
+
product_id: string
|
|
85501
|
+
occurred_at: string
|
|
85502
|
+
connector_id: string
|
|
85503
|
+
clickup_event: (string | null)
|
|
85504
|
+
receipt_count: number
|
|
85505
|
+
} | {
|
|
85506
|
+
found: false
|
|
85507
|
+
})
|
|
85508
|
+
|
|
85509
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
85510
|
+
|
|
85511
|
+
}
|
|
85512
|
+
|
|
85513
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
85514
|
+
team: ({
|
|
85515
|
+
teamId: string
|
|
85516
|
+
teamName: string
|
|
85517
|
+
} | null)
|
|
85518
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
85519
|
+
tasks: {
|
|
85520
|
+
id: string
|
|
85521
|
+
name: string
|
|
85522
|
+
status: (string | null)
|
|
85523
|
+
}[]
|
|
85524
|
+
minted: boolean
|
|
85525
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
85526
|
+
list_status: number
|
|
85527
|
+
vend_status: number
|
|
85528
|
+
lists_status: number
|
|
85529
|
+
tasks_status: number
|
|
85530
|
+
spaces_status: number
|
|
85531
|
+
folders_status: number
|
|
85532
|
+
installation_count: number
|
|
85533
|
+
}
|
|
85534
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
85535
|
+
id: string
|
|
85536
|
+
name: string
|
|
85537
|
+
}
|
|
85538
|
+
|
|
85539
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
85540
|
+
|
|
85541
|
+
}
|
|
85542
|
+
|
|
85543
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
85544
|
+
file_id: string
|
|
85545
|
+
removed: boolean
|
|
85546
|
+
file_name: (string | null)
|
|
85547
|
+
mime_type: (string | null)
|
|
85548
|
+
product_id: string
|
|
85549
|
+
occurred_at: string
|
|
85550
|
+
connector_id: string
|
|
85551
|
+
resource_state: string
|
|
85552
|
+
} | {
|
|
85553
|
+
found: false
|
|
85554
|
+
})
|
|
85555
|
+
|
|
85556
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
85557
|
+
/**
|
|
85558
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
85559
|
+
*/
|
|
85560
|
+
fileId?: string
|
|
85561
|
+
}
|
|
85562
|
+
|
|
85563
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
85564
|
+
minted: boolean
|
|
85565
|
+
file_id: (string | null)
|
|
85566
|
+
file_name: (string | null)
|
|
85567
|
+
mime_type: (string | null)
|
|
85568
|
+
file_count: number
|
|
85569
|
+
get_status: number
|
|
85570
|
+
list_status: number
|
|
85571
|
+
vend_status: number
|
|
85572
|
+
content_bytes: (number | null)
|
|
85573
|
+
}
|
|
85574
|
+
|
|
85575
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
85576
|
+
|
|
85577
|
+
}
|
|
85578
|
+
|
|
85579
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
85580
|
+
minted: boolean
|
|
85581
|
+
vended: boolean
|
|
85582
|
+
customer_id: (string | null)
|
|
85583
|
+
vend_status: number
|
|
85584
|
+
result_count: number
|
|
85585
|
+
search_status: number
|
|
85586
|
+
login_customer_id: (string | null)
|
|
85587
|
+
}
|
|
85588
|
+
|
|
85589
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
85590
|
+
|
|
85591
|
+
}
|
|
85592
|
+
|
|
85593
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
85594
|
+
blocked: boolean
|
|
85595
|
+
archived: boolean
|
|
85596
|
+
productId: string
|
|
85597
|
+
lastBlockTransition: ({
|
|
85598
|
+
eventId: string
|
|
85599
|
+
eventName: string
|
|
85600
|
+
productId: string
|
|
85601
|
+
occurredAt: string
|
|
85602
|
+
recordedAt: string
|
|
85603
|
+
receiptCount: number
|
|
85604
|
+
organizationId: string
|
|
85605
|
+
cascadedFromOrg: boolean
|
|
85606
|
+
} | null)
|
|
85607
|
+
lastArchiveTransition: ({
|
|
85608
|
+
eventId: string
|
|
85609
|
+
eventName: string
|
|
85610
|
+
productId: string
|
|
85611
|
+
occurredAt: string
|
|
85612
|
+
recordedAt: string
|
|
85613
|
+
receiptCount: number
|
|
85614
|
+
organizationId: string
|
|
85615
|
+
cascadedFromOrg: boolean
|
|
85616
|
+
} | null)
|
|
85617
|
+
}
|
|
85618
|
+
|
|
85619
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
85620
|
+
|
|
85621
|
+
}
|
|
85622
|
+
|
|
85623
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
85624
|
+
eventId: string
|
|
85625
|
+
eventName: string
|
|
85626
|
+
productId: string
|
|
85627
|
+
occurredAt: string
|
|
85628
|
+
recordedAt: string
|
|
85629
|
+
receiptCount: number
|
|
85630
|
+
organizationId: string
|
|
85631
|
+
cascadedFromOrg: boolean
|
|
85632
|
+
}[]
|
|
85633
|
+
|
|
85634
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
85635
|
+
|
|
85636
|
+
}
|
|
85637
|
+
|
|
85638
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
85639
|
+
payload?: unknown
|
|
85640
|
+
event_id: string
|
|
85641
|
+
provider: string
|
|
85642
|
+
verified: boolean
|
|
85643
|
+
product_id: string
|
|
85644
|
+
occurred_at: string
|
|
85645
|
+
connector_id: string
|
|
85646
|
+
delivery_count: number
|
|
85647
|
+
} | {
|
|
85648
|
+
found: false
|
|
85649
|
+
})
|
|
85650
|
+
|
|
85651
|
+
export interface PlaygroundWsEchoInput {
|
|
85652
|
+
|
|
85653
|
+
}
|
|
85654
|
+
|
|
85655
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
85656
|
+
|
|
85521
85657
|
export interface RealtimeArchiveExportInput {
|
|
85522
85658
|
/**
|
|
85523
85659
|
* Only entries with ts <= to_ts (epoch ms)
|