@lessly/sdk-app 60.0.0 → 61.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/README.md +53 -2
- package/dist/_types/gen/client.gen.d.ts +532 -559
- package/dist/_types/gen/manifest.gen.d.ts +3 -1
- package/dist/_types/gen/types.gen.d.ts +0 -192
- package/dist/_types/index.d.ts +1 -1
- package/dist/_types/runtime/request.d.ts +3 -3
- package/dist/_types/runtime/types.d.ts +31 -2
- package/dist/index.cjs +1064 -105
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10082 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -12
- package/src/gen/bindings.gen.ts +1061 -113
- package/src/gen/client.gen.ts +531 -582
- package/src/gen/manifest.gen.ts +536 -1
- package/src/gen/types.gen.ts +0 -227
- package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
- package/dist/_types/gen/playground/index.d.ts +0 -3
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -50
- package/dist/chunk-SOHPEC6O.js +0 -9134
- package/dist/chunk-SOHPEC6O.js.map +0 -1
- package/dist/playground/index.cjs +0 -81
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -1
- package/dist/playground/index.d.ts +0 -1
- package/dist/playground/index.js +0 -58
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/connect.gen.ts +0 -9
- package/src/gen/playground/index.ts +0 -4
- package/src/gen/playground/queryOptions.gen.ts +0 -86
package/src/gen/types.gen.ts
CHANGED
|
@@ -85128,7 +85128,6 @@ displayName: (string | null)
|
|
|
85128
85128
|
orgRoles: {
|
|
85129
85129
|
id: string
|
|
85130
85130
|
name: string
|
|
85131
|
-
description: (string | null)
|
|
85132
85131
|
}[]
|
|
85133
85132
|
canManage: boolean
|
|
85134
85133
|
inherited: {
|
|
@@ -85525,232 +85524,6 @@ lastMessagePreview: (string | null)
|
|
|
85525
85524
|
}[]
|
|
85526
85525
|
}
|
|
85527
85526
|
|
|
85528
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
85529
|
-
/**
|
|
85530
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
85531
|
-
*/
|
|
85532
|
-
limit?: number
|
|
85533
|
-
}
|
|
85534
|
-
|
|
85535
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
85536
|
-
ok: boolean
|
|
85537
|
-
minted: boolean
|
|
85538
|
-
overview?: unknown
|
|
85539
|
-
http_status: number
|
|
85540
|
-
}
|
|
85541
|
-
|
|
85542
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
85543
|
-
|
|
85544
|
-
}
|
|
85545
|
-
|
|
85546
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
85547
|
-
ok: boolean
|
|
85548
|
-
minted: boolean
|
|
85549
|
-
http_status: number
|
|
85550
|
-
entitlements?: unknown
|
|
85551
|
-
}
|
|
85552
|
-
|
|
85553
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
85554
|
-
/**
|
|
85555
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
85556
|
-
*/
|
|
85557
|
-
value?: number
|
|
85558
|
-
}
|
|
85559
|
-
|
|
85560
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
85561
|
-
minted: boolean
|
|
85562
|
-
accepted: (number | null)
|
|
85563
|
-
recorded: boolean
|
|
85564
|
-
duplicates: (number | null)
|
|
85565
|
-
http_status: number
|
|
85566
|
-
}
|
|
85567
|
-
|
|
85568
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
85569
|
-
/**
|
|
85570
|
-
* Task title; defaults to a fixture label
|
|
85571
|
-
*/
|
|
85572
|
-
name?: string
|
|
85573
|
-
/**
|
|
85574
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
85575
|
-
*/
|
|
85576
|
-
listId?: string
|
|
85577
|
-
}
|
|
85578
|
-
|
|
85579
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
85580
|
-
minted: boolean
|
|
85581
|
-
task_id: (string | null)
|
|
85582
|
-
list_status: number
|
|
85583
|
-
vend_status: number
|
|
85584
|
-
clickup_status: number
|
|
85585
|
-
installation_count: number
|
|
85586
|
-
}
|
|
85587
|
-
|
|
85588
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
85589
|
-
|
|
85590
|
-
}
|
|
85591
|
-
|
|
85592
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
85593
|
-
payload: string
|
|
85594
|
-
event_id: string
|
|
85595
|
-
provider: string
|
|
85596
|
-
verified: boolean
|
|
85597
|
-
product_id: string
|
|
85598
|
-
occurred_at: string
|
|
85599
|
-
connector_id: string
|
|
85600
|
-
clickup_event: (string | null)
|
|
85601
|
-
receipt_count: number
|
|
85602
|
-
} | {
|
|
85603
|
-
found: false
|
|
85604
|
-
})
|
|
85605
|
-
|
|
85606
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
85607
|
-
|
|
85608
|
-
}
|
|
85609
|
-
|
|
85610
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
85611
|
-
team: ({
|
|
85612
|
-
teamId: string
|
|
85613
|
-
teamName: string
|
|
85614
|
-
} | null)
|
|
85615
|
-
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
85616
|
-
tasks: {
|
|
85617
|
-
id: string
|
|
85618
|
-
name: string
|
|
85619
|
-
status: (string | null)
|
|
85620
|
-
}[]
|
|
85621
|
-
minted: boolean
|
|
85622
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
85623
|
-
list_status: number
|
|
85624
|
-
vend_status: number
|
|
85625
|
-
lists_status: number
|
|
85626
|
-
tasks_status: number
|
|
85627
|
-
spaces_status: number
|
|
85628
|
-
folders_status: number
|
|
85629
|
-
installation_count: number
|
|
85630
|
-
}
|
|
85631
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
85632
|
-
id: string
|
|
85633
|
-
name: string
|
|
85634
|
-
}
|
|
85635
|
-
|
|
85636
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
85637
|
-
|
|
85638
|
-
}
|
|
85639
|
-
|
|
85640
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
85641
|
-
file_id: string
|
|
85642
|
-
removed: boolean
|
|
85643
|
-
file_name: (string | null)
|
|
85644
|
-
mime_type: (string | null)
|
|
85645
|
-
product_id: string
|
|
85646
|
-
occurred_at: string
|
|
85647
|
-
connector_id: string
|
|
85648
|
-
resource_state: string
|
|
85649
|
-
} | {
|
|
85650
|
-
found: false
|
|
85651
|
-
})
|
|
85652
|
-
|
|
85653
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
85654
|
-
/**
|
|
85655
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
85656
|
-
*/
|
|
85657
|
-
fileId?: string
|
|
85658
|
-
}
|
|
85659
|
-
|
|
85660
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
85661
|
-
minted: boolean
|
|
85662
|
-
file_id: (string | null)
|
|
85663
|
-
file_name: (string | null)
|
|
85664
|
-
mime_type: (string | null)
|
|
85665
|
-
file_count: number
|
|
85666
|
-
get_status: number
|
|
85667
|
-
list_status: number
|
|
85668
|
-
vend_status: number
|
|
85669
|
-
content_bytes: (number | null)
|
|
85670
|
-
}
|
|
85671
|
-
|
|
85672
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
85673
|
-
|
|
85674
|
-
}
|
|
85675
|
-
|
|
85676
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
85677
|
-
minted: boolean
|
|
85678
|
-
vended: boolean
|
|
85679
|
-
customer_id: (string | null)
|
|
85680
|
-
vend_status: number
|
|
85681
|
-
result_count: number
|
|
85682
|
-
search_status: number
|
|
85683
|
-
login_customer_id: (string | null)
|
|
85684
|
-
}
|
|
85685
|
-
|
|
85686
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
85687
|
-
|
|
85688
|
-
}
|
|
85689
|
-
|
|
85690
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
85691
|
-
blocked: boolean
|
|
85692
|
-
archived: boolean
|
|
85693
|
-
productId: string
|
|
85694
|
-
lastBlockTransition: ({
|
|
85695
|
-
eventId: string
|
|
85696
|
-
eventName: string
|
|
85697
|
-
productId: string
|
|
85698
|
-
occurredAt: string
|
|
85699
|
-
recordedAt: string
|
|
85700
|
-
receiptCount: number
|
|
85701
|
-
organizationId: string
|
|
85702
|
-
cascadedFromOrg: boolean
|
|
85703
|
-
} | null)
|
|
85704
|
-
lastArchiveTransition: ({
|
|
85705
|
-
eventId: string
|
|
85706
|
-
eventName: string
|
|
85707
|
-
productId: string
|
|
85708
|
-
occurredAt: string
|
|
85709
|
-
recordedAt: string
|
|
85710
|
-
receiptCount: number
|
|
85711
|
-
organizationId: string
|
|
85712
|
-
cascadedFromOrg: boolean
|
|
85713
|
-
} | null)
|
|
85714
|
-
}
|
|
85715
|
-
|
|
85716
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
85717
|
-
|
|
85718
|
-
}
|
|
85719
|
-
|
|
85720
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
85721
|
-
eventId: string
|
|
85722
|
-
eventName: string
|
|
85723
|
-
productId: string
|
|
85724
|
-
occurredAt: string
|
|
85725
|
-
recordedAt: string
|
|
85726
|
-
receiptCount: number
|
|
85727
|
-
organizationId: string
|
|
85728
|
-
cascadedFromOrg: boolean
|
|
85729
|
-
}[]
|
|
85730
|
-
|
|
85731
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
85732
|
-
|
|
85733
|
-
}
|
|
85734
|
-
|
|
85735
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
85736
|
-
payload?: unknown
|
|
85737
|
-
event_id: string
|
|
85738
|
-
provider: string
|
|
85739
|
-
verified: boolean
|
|
85740
|
-
product_id: string
|
|
85741
|
-
occurred_at: string
|
|
85742
|
-
connector_id: string
|
|
85743
|
-
delivery_count: number
|
|
85744
|
-
} | {
|
|
85745
|
-
found: false
|
|
85746
|
-
})
|
|
85747
|
-
|
|
85748
|
-
export interface PlaygroundWsEchoInput {
|
|
85749
|
-
|
|
85750
|
-
}
|
|
85751
|
-
|
|
85752
|
-
export type PlaygroundWsEchoOutput = unknown;
|
|
85753
|
-
|
|
85754
85527
|
export interface RealtimeArchiveExportInput {
|
|
85755
85528
|
/**
|
|
85756
85529
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './queryOptions.gen.js';
|
|
2
|
-
export * from './connect.gen.js';
|
|
3
|
-
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWsEchoInput } from '../types.gen.js';
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { GeneratedClient } from '../client.gen.js';
|
|
2
|
-
import type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundClickupCreateTaskInput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput } from '../types.gen.js';
|
|
3
|
-
export declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
|
|
4
|
-
queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
|
|
5
|
-
queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
6
|
-
};
|
|
7
|
-
export declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
|
|
8
|
-
queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
|
|
9
|
-
queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
|
|
10
|
-
};
|
|
11
|
-
export declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
|
|
12
|
-
mutationKey: string[];
|
|
13
|
-
mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<import(".").PlaygroundBillingRecordUsageOutput>;
|
|
14
|
-
};
|
|
15
|
-
export declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
|
|
16
|
-
mutationKey: string[];
|
|
17
|
-
mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<import(".").PlaygroundClickupCreateTaskOutput>;
|
|
18
|
-
};
|
|
19
|
-
export declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
|
|
20
|
-
queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
|
|
21
|
-
queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
22
|
-
};
|
|
23
|
-
export declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
|
|
24
|
-
queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
|
|
25
|
-
queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
|
|
26
|
-
};
|
|
27
|
-
export declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
|
|
28
|
-
queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
|
|
29
|
-
queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
30
|
-
};
|
|
31
|
-
export declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
|
|
32
|
-
queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
|
|
33
|
-
queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
|
|
34
|
-
};
|
|
35
|
-
export declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
|
|
36
|
-
queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
|
|
37
|
-
queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
38
|
-
};
|
|
39
|
-
export declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
|
|
40
|
-
queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
|
|
41
|
-
queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
|
|
42
|
-
};
|
|
43
|
-
export declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
|
|
44
|
-
queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
|
|
45
|
-
queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
|
|
46
|
-
};
|
|
47
|
-
export declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
|
|
48
|
-
queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
|
|
49
|
-
queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
|
|
50
|
-
};
|