@lessly/sdk-app 49.0.0 → 49.1.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/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/chunk-YVDZDXA7.js +8648 -0
- package/dist/chunk-YVDZDXA7.js.map +1 -0
- package/dist/{client.gen-CLRsCNvG.d.cts → client.gen-C39RGAWI.d.cts} +219 -1
- package/dist/{client.gen-CLRsCNvG.d.ts → client.gen-C39RGAWI.d.ts} +219 -1
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/content/index.d.cts +1 -1
- package/dist/content/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +104 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -83
- package/dist/index.d.ts +4 -83
- package/dist/index.js +2 -8532
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.cjs +81 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +55 -0
- package/dist/playground/index.d.ts +55 -0
- package/dist/playground/index.js +58 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/types-gTIUAUsP.d.cts +82 -0
- package/dist/types-gTIUAUsP.d.ts +82 -0
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +113 -1
- package/src/gen/client.gen.ts +52 -0
- 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 +226 -0
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -5669,6 +5669,110 @@ export const bindings: BindingsMap = {
|
|
|
5669
5669
|
}
|
|
5670
5670
|
}
|
|
5671
5671
|
},
|
|
5672
|
+
"playground": {
|
|
5673
|
+
"analytics": {
|
|
5674
|
+
"overview": {
|
|
5675
|
+
"method": "POST",
|
|
5676
|
+
"params": [
|
|
5677
|
+
{
|
|
5678
|
+
"in": "body",
|
|
5679
|
+
"name": "limit"
|
|
5680
|
+
}
|
|
5681
|
+
],
|
|
5682
|
+
"path": "/playground/analytics/overview",
|
|
5683
|
+
"readOnly": true
|
|
5684
|
+
}
|
|
5685
|
+
},
|
|
5686
|
+
"billing": {
|
|
5687
|
+
"entitlements": {
|
|
5688
|
+
"method": "POST",
|
|
5689
|
+
"path": "/playground/billing/entitlements",
|
|
5690
|
+
"readOnly": true
|
|
5691
|
+
},
|
|
5692
|
+
"record-usage": {
|
|
5693
|
+
"method": "POST",
|
|
5694
|
+
"params": [
|
|
5695
|
+
{
|
|
5696
|
+
"in": "body",
|
|
5697
|
+
"name": "value"
|
|
5698
|
+
}
|
|
5699
|
+
],
|
|
5700
|
+
"path": "/playground/billing/usage",
|
|
5701
|
+
"readOnly": false
|
|
5702
|
+
}
|
|
5703
|
+
},
|
|
5704
|
+
"clickup": {
|
|
5705
|
+
"create-task": {
|
|
5706
|
+
"method": "POST",
|
|
5707
|
+
"params": [
|
|
5708
|
+
{
|
|
5709
|
+
"in": "body",
|
|
5710
|
+
"name": "listId"
|
|
5711
|
+
},
|
|
5712
|
+
{
|
|
5713
|
+
"in": "body",
|
|
5714
|
+
"name": "name"
|
|
5715
|
+
}
|
|
5716
|
+
],
|
|
5717
|
+
"path": "/playground/clickup/tasks",
|
|
5718
|
+
"readOnly": false
|
|
5719
|
+
},
|
|
5720
|
+
"get-last-webhook": {
|
|
5721
|
+
"method": "GET",
|
|
5722
|
+
"path": "/playground/clickup/webhooks/last",
|
|
5723
|
+
"readOnly": true
|
|
5724
|
+
},
|
|
5725
|
+
"get-overview": {
|
|
5726
|
+
"method": "GET",
|
|
5727
|
+
"path": "/playground/clickup/overview",
|
|
5728
|
+
"readOnly": true
|
|
5729
|
+
}
|
|
5730
|
+
},
|
|
5731
|
+
"gdrive": {
|
|
5732
|
+
"get-last-change": {
|
|
5733
|
+
"method": "GET",
|
|
5734
|
+
"path": "/playground/gdrive/changes/last",
|
|
5735
|
+
"readOnly": true
|
|
5736
|
+
},
|
|
5737
|
+
"read-file": {
|
|
5738
|
+
"method": "POST",
|
|
5739
|
+
"params": [
|
|
5740
|
+
{
|
|
5741
|
+
"in": "body",
|
|
5742
|
+
"name": "fileId"
|
|
5743
|
+
}
|
|
5744
|
+
],
|
|
5745
|
+
"path": "/playground/gdrive/file",
|
|
5746
|
+
"readOnly": true
|
|
5747
|
+
}
|
|
5748
|
+
},
|
|
5749
|
+
"googleads": {
|
|
5750
|
+
"read-customer": {
|
|
5751
|
+
"method": "POST",
|
|
5752
|
+
"path": "/playground/googleads/customer",
|
|
5753
|
+
"readOnly": true
|
|
5754
|
+
}
|
|
5755
|
+
},
|
|
5756
|
+
"lifecycle": {
|
|
5757
|
+
"get-state": {
|
|
5758
|
+
"method": "GET",
|
|
5759
|
+
"path": "/playground/lifecycle/state",
|
|
5760
|
+
"readOnly": true
|
|
5761
|
+
},
|
|
5762
|
+
"list-events": {
|
|
5763
|
+
"method": "GET",
|
|
5764
|
+
"path": "/playground/lifecycle/events",
|
|
5765
|
+
"readOnly": true
|
|
5766
|
+
}
|
|
5767
|
+
},
|
|
5768
|
+
"webhook": {
|
|
5769
|
+
"get-last": {
|
|
5770
|
+
"method": "GET",
|
|
5771
|
+
"path": "/playground/webhooks/last",
|
|
5772
|
+
"readOnly": true
|
|
5773
|
+
}
|
|
5774
|
+
}
|
|
5775
|
+
},
|
|
5672
5776
|
"realtime": {
|
|
5673
5777
|
"archive": {
|
|
5674
5778
|
"export": {
|
|
@@ -8532,4 +8636,12 @@ export const bindings: BindingsMap = {
|
|
|
8532
8636
|
}
|
|
8533
8637
|
};
|
|
8534
8638
|
|
|
8535
|
-
export const wsBindings: WsBindingsMap = {
|
|
8639
|
+
export const wsBindings: WsBindingsMap = {
|
|
8640
|
+
"playground": {
|
|
8641
|
+
"ws": {
|
|
8642
|
+
"echo": {
|
|
8643
|
+
"path": "/playground/ws/echo"
|
|
8644
|
+
}
|
|
8645
|
+
}
|
|
8646
|
+
}
|
|
8647
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -702,6 +702,30 @@ import type {
|
|
|
702
702
|
OrganizationSupportThreadReplyOutput,
|
|
703
703
|
OrganizationSupportThreadsListInput,
|
|
704
704
|
OrganizationSupportThreadsListOutput,
|
|
705
|
+
PlaygroundAnalyticsOverviewInput,
|
|
706
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
707
|
+
PlaygroundBillingEntitlementsInput,
|
|
708
|
+
PlaygroundBillingEntitlementsOutput,
|
|
709
|
+
PlaygroundBillingRecordUsageInput,
|
|
710
|
+
PlaygroundBillingRecordUsageOutput,
|
|
711
|
+
PlaygroundClickupCreateTaskInput,
|
|
712
|
+
PlaygroundClickupCreateTaskOutput,
|
|
713
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
714
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
715
|
+
PlaygroundClickupGetOverviewInput,
|
|
716
|
+
PlaygroundClickupGetOverviewOutput,
|
|
717
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
718
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
719
|
+
PlaygroundGdriveReadFileInput,
|
|
720
|
+
PlaygroundGdriveReadFileOutput,
|
|
721
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
722
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
723
|
+
PlaygroundLifecycleGetStateInput,
|
|
724
|
+
PlaygroundLifecycleGetStateOutput,
|
|
725
|
+
PlaygroundLifecycleListEventsInput,
|
|
726
|
+
PlaygroundLifecycleListEventsOutput,
|
|
727
|
+
PlaygroundWebhookGetLastInput,
|
|
728
|
+
PlaygroundWebhookGetLastOutput,
|
|
705
729
|
RealtimeArchiveExportInput,
|
|
706
730
|
RealtimeArchiveExportOutput,
|
|
707
731
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1648,6 +1672,34 @@ export interface GeneratedClient {
|
|
|
1648
1672
|
list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
|
|
1649
1673
|
};
|
|
1650
1674
|
};
|
|
1675
|
+
playground: {
|
|
1676
|
+
analytics: {
|
|
1677
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1678
|
+
};
|
|
1679
|
+
billing: {
|
|
1680
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1681
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1682
|
+
};
|
|
1683
|
+
clickup: {
|
|
1684
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1685
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1686
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1687
|
+
};
|
|
1688
|
+
gdrive: {
|
|
1689
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1690
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1691
|
+
};
|
|
1692
|
+
googleads: {
|
|
1693
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1694
|
+
};
|
|
1695
|
+
lifecycle: {
|
|
1696
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1697
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1698
|
+
};
|
|
1699
|
+
webhook: {
|
|
1700
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1701
|
+
};
|
|
1702
|
+
};
|
|
1651
1703
|
realtime: {
|
|
1652
1704
|
archive: {
|
|
1653
1705
|
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import { wsBindings } from '../bindings.gen';
|
|
3
|
+
import type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';
|
|
4
|
+
import type {
|
|
5
|
+
PlaygroundWsEchoInput,
|
|
6
|
+
} from '../types.gen';
|
|
7
|
+
|
|
8
|
+
export const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>
|
|
9
|
+
sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export * from './connect.gen';
|
|
4
|
+
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';
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
PlaygroundAnalyticsOverviewInput,
|
|
5
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
6
|
+
PlaygroundBillingEntitlementsInput,
|
|
7
|
+
PlaygroundBillingEntitlementsOutput,
|
|
8
|
+
PlaygroundBillingRecordUsageInput,
|
|
9
|
+
PlaygroundClickupCreateTaskInput,
|
|
10
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
11
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
12
|
+
PlaygroundClickupGetOverviewInput,
|
|
13
|
+
PlaygroundClickupGetOverviewOutput,
|
|
14
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
15
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
16
|
+
PlaygroundGdriveReadFileInput,
|
|
17
|
+
PlaygroundGdriveReadFileOutput,
|
|
18
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
19
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
20
|
+
PlaygroundLifecycleGetStateInput,
|
|
21
|
+
PlaygroundLifecycleGetStateOutput,
|
|
22
|
+
PlaygroundLifecycleListEventsInput,
|
|
23
|
+
PlaygroundLifecycleListEventsOutput,
|
|
24
|
+
PlaygroundWebhookGetLastInput,
|
|
25
|
+
PlaygroundWebhookGetLastOutput,
|
|
26
|
+
} from '../types.gen';
|
|
27
|
+
|
|
28
|
+
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
29
|
+
queryKey: ['playground', 'analytics', 'overview', input] as const,
|
|
30
|
+
queryFn: () => sdk['playground']['analytics']['overview'](input),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
|
|
34
|
+
queryKey: ['playground', 'billing', 'entitlements', input] as const,
|
|
35
|
+
queryFn: () => sdk['playground']['billing']['entitlements'](input),
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
|
|
39
|
+
mutationKey: ['playground', 'billing', 'record-usage'],
|
|
40
|
+
mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
|
|
44
|
+
mutationKey: ['playground', 'clickup', 'create-task'],
|
|
45
|
+
mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
|
|
49
|
+
queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
|
|
50
|
+
queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
|
|
54
|
+
queryKey: ['playground', 'clickup', 'get-overview', input] as const,
|
|
55
|
+
queryFn: () => sdk['playground']['clickup']['get-overview'](input),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
|
|
59
|
+
queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
|
|
60
|
+
queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
|
|
64
|
+
queryKey: ['playground', 'gdrive', 'read-file', input] as const,
|
|
65
|
+
queryFn: () => sdk['playground']['gdrive']['read-file'](input),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
|
|
69
|
+
queryKey: ['playground', 'googleads', 'read-customer', input] as const,
|
|
70
|
+
queryFn: () => sdk['playground']['googleads']['read-customer'](input),
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
|
|
74
|
+
queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
|
|
75
|
+
queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
|
|
79
|
+
queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
|
|
80
|
+
queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
|
|
84
|
+
queryKey: ['playground', 'webhook', 'get-last', input] as const,
|
|
85
|
+
queryFn: () => sdk['playground']['webhook']['get-last'](input),
|
|
86
|
+
});
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -19764,6 +19764,232 @@ lastMessagePreview: (string | null)
|
|
|
19764
19764
|
}[]
|
|
19765
19765
|
}
|
|
19766
19766
|
|
|
19767
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
19768
|
+
/**
|
|
19769
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
19770
|
+
*/
|
|
19771
|
+
limit?: number
|
|
19772
|
+
}
|
|
19773
|
+
|
|
19774
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
19775
|
+
ok: boolean
|
|
19776
|
+
minted: boolean
|
|
19777
|
+
overview?: unknown
|
|
19778
|
+
http_status: number
|
|
19779
|
+
}
|
|
19780
|
+
|
|
19781
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
19782
|
+
|
|
19783
|
+
}
|
|
19784
|
+
|
|
19785
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
19786
|
+
ok: boolean
|
|
19787
|
+
minted: boolean
|
|
19788
|
+
http_status: number
|
|
19789
|
+
entitlements?: unknown
|
|
19790
|
+
}
|
|
19791
|
+
|
|
19792
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
19793
|
+
/**
|
|
19794
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
19795
|
+
*/
|
|
19796
|
+
value?: number
|
|
19797
|
+
}
|
|
19798
|
+
|
|
19799
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
19800
|
+
minted: boolean
|
|
19801
|
+
accepted: (number | null)
|
|
19802
|
+
recorded: boolean
|
|
19803
|
+
duplicates: (number | null)
|
|
19804
|
+
http_status: number
|
|
19805
|
+
}
|
|
19806
|
+
|
|
19807
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
19808
|
+
/**
|
|
19809
|
+
* Task title; defaults to a fixture label
|
|
19810
|
+
*/
|
|
19811
|
+
name?: string
|
|
19812
|
+
/**
|
|
19813
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
19814
|
+
*/
|
|
19815
|
+
listId?: string
|
|
19816
|
+
}
|
|
19817
|
+
|
|
19818
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
19819
|
+
minted: boolean
|
|
19820
|
+
task_id: (string | null)
|
|
19821
|
+
list_status: number
|
|
19822
|
+
vend_status: number
|
|
19823
|
+
clickup_status: number
|
|
19824
|
+
installation_count: number
|
|
19825
|
+
}
|
|
19826
|
+
|
|
19827
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
19828
|
+
|
|
19829
|
+
}
|
|
19830
|
+
|
|
19831
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
19832
|
+
payload: string
|
|
19833
|
+
event_id: string
|
|
19834
|
+
provider: string
|
|
19835
|
+
verified: boolean
|
|
19836
|
+
product_id: string
|
|
19837
|
+
occurred_at: string
|
|
19838
|
+
connector_id: string
|
|
19839
|
+
clickup_event: (string | null)
|
|
19840
|
+
receipt_count: number
|
|
19841
|
+
} | {
|
|
19842
|
+
found: false
|
|
19843
|
+
})
|
|
19844
|
+
|
|
19845
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
19846
|
+
|
|
19847
|
+
}
|
|
19848
|
+
|
|
19849
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
19850
|
+
team: ({
|
|
19851
|
+
teamId: string
|
|
19852
|
+
teamName: string
|
|
19853
|
+
} | null)
|
|
19854
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
19855
|
+
tasks: {
|
|
19856
|
+
id: string
|
|
19857
|
+
name: string
|
|
19858
|
+
status: (string | null)
|
|
19859
|
+
}[]
|
|
19860
|
+
minted: boolean
|
|
19861
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
19862
|
+
list_status: number
|
|
19863
|
+
vend_status: number
|
|
19864
|
+
lists_status: number
|
|
19865
|
+
tasks_status: number
|
|
19866
|
+
spaces_status: number
|
|
19867
|
+
folders_status: number
|
|
19868
|
+
installation_count: number
|
|
19869
|
+
}
|
|
19870
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
19871
|
+
id: string
|
|
19872
|
+
name: string
|
|
19873
|
+
}
|
|
19874
|
+
|
|
19875
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
19876
|
+
|
|
19877
|
+
}
|
|
19878
|
+
|
|
19879
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
19880
|
+
file_id: string
|
|
19881
|
+
removed: boolean
|
|
19882
|
+
file_name: (string | null)
|
|
19883
|
+
mime_type: (string | null)
|
|
19884
|
+
product_id: string
|
|
19885
|
+
occurred_at: string
|
|
19886
|
+
connector_id: string
|
|
19887
|
+
resource_state: string
|
|
19888
|
+
} | {
|
|
19889
|
+
found: false
|
|
19890
|
+
})
|
|
19891
|
+
|
|
19892
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
19893
|
+
/**
|
|
19894
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
19895
|
+
*/
|
|
19896
|
+
fileId?: string
|
|
19897
|
+
}
|
|
19898
|
+
|
|
19899
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
19900
|
+
minted: boolean
|
|
19901
|
+
file_id: (string | null)
|
|
19902
|
+
file_name: (string | null)
|
|
19903
|
+
mime_type: (string | null)
|
|
19904
|
+
file_count: number
|
|
19905
|
+
get_status: number
|
|
19906
|
+
list_status: number
|
|
19907
|
+
vend_status: number
|
|
19908
|
+
content_bytes: (number | null)
|
|
19909
|
+
}
|
|
19910
|
+
|
|
19911
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
19912
|
+
|
|
19913
|
+
}
|
|
19914
|
+
|
|
19915
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
19916
|
+
minted: boolean
|
|
19917
|
+
vended: boolean
|
|
19918
|
+
customer_id: (string | null)
|
|
19919
|
+
vend_status: number
|
|
19920
|
+
result_count: number
|
|
19921
|
+
search_status: number
|
|
19922
|
+
login_customer_id: (string | null)
|
|
19923
|
+
}
|
|
19924
|
+
|
|
19925
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
19926
|
+
|
|
19927
|
+
}
|
|
19928
|
+
|
|
19929
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
19930
|
+
blocked: boolean
|
|
19931
|
+
archived: boolean
|
|
19932
|
+
productId: string
|
|
19933
|
+
lastBlockTransition: ({
|
|
19934
|
+
eventId: string
|
|
19935
|
+
eventName: string
|
|
19936
|
+
productId: string
|
|
19937
|
+
occurredAt: string
|
|
19938
|
+
recordedAt: string
|
|
19939
|
+
receiptCount: number
|
|
19940
|
+
organizationId: string
|
|
19941
|
+
cascadedFromOrg: boolean
|
|
19942
|
+
} | null)
|
|
19943
|
+
lastArchiveTransition: ({
|
|
19944
|
+
eventId: string
|
|
19945
|
+
eventName: string
|
|
19946
|
+
productId: string
|
|
19947
|
+
occurredAt: string
|
|
19948
|
+
recordedAt: string
|
|
19949
|
+
receiptCount: number
|
|
19950
|
+
organizationId: string
|
|
19951
|
+
cascadedFromOrg: boolean
|
|
19952
|
+
} | null)
|
|
19953
|
+
}
|
|
19954
|
+
|
|
19955
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
19956
|
+
|
|
19957
|
+
}
|
|
19958
|
+
|
|
19959
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
19960
|
+
eventId: string
|
|
19961
|
+
eventName: string
|
|
19962
|
+
productId: string
|
|
19963
|
+
occurredAt: string
|
|
19964
|
+
recordedAt: string
|
|
19965
|
+
receiptCount: number
|
|
19966
|
+
organizationId: string
|
|
19967
|
+
cascadedFromOrg: boolean
|
|
19968
|
+
}[]
|
|
19969
|
+
|
|
19970
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
19971
|
+
|
|
19972
|
+
}
|
|
19973
|
+
|
|
19974
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
19975
|
+
payload?: unknown
|
|
19976
|
+
event_id: string
|
|
19977
|
+
provider: string
|
|
19978
|
+
verified: boolean
|
|
19979
|
+
product_id: string
|
|
19980
|
+
occurred_at: string
|
|
19981
|
+
connector_id: string
|
|
19982
|
+
delivery_count: number
|
|
19983
|
+
} | {
|
|
19984
|
+
found: false
|
|
19985
|
+
})
|
|
19986
|
+
|
|
19987
|
+
export interface PlaygroundWsEchoInput {
|
|
19988
|
+
|
|
19989
|
+
}
|
|
19990
|
+
|
|
19991
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
19992
|
+
|
|
19767
19993
|
export interface RealtimeArchiveExportInput {
|
|
19768
19994
|
/**
|
|
19769
19995
|
* Only entries with ts <= to_ts (epoch ms)
|