@lessly/sdk-app 49.1.0 → 50.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/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +5 -0
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +6 -2
- package/dist/brain/index.d.ts +6 -2
- package/dist/brain/index.js +5 -1
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-C39RGAWI.d.cts → client.gen-Dw0AIIZi.d.cts} +399 -4706
- package/dist/{client.gen-C39RGAWI.d.ts → client.gen-Dw0AIIZi.d.ts} +399 -4706
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/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 +138 -758
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -4
- package/dist/index.d.ts +83 -4
- package/dist/index.js +8016 -2
- 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/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/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 +2 -12
- package/src/gen/bindings.gen.ts +137 -765
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +7 -0
- package/src/gen/client.gen.ts +5 -165
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +222 -4319
- package/dist/chunk-YVDZDXA7.js +0 -8648
- package/dist/chunk-YVDZDXA7.js.map +0 -1
- package/dist/content/index.cjs +0 -161
- package/dist/content/index.cjs.map +0 -1
- package/dist/content/index.d.cts +0 -128
- package/dist/content/index.d.ts +0 -128
- package/dist/content/index.js +0 -129
- package/dist/content/index.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 -55
- package/dist/playground/index.d.ts +0 -55
- package/dist/playground/index.js +0 -58
- package/dist/playground/index.js.map +0 -1
- package/dist/types-gTIUAUsP.d.cts +0 -82
- package/dist/types-gTIUAUsP.d.ts +0 -82
- package/src/gen/content/index.ts +0 -3
- package/src/gen/content/queryOptions.gen.ts +0 -202
- 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
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { G as GeneratedClient, kc as PlaygroundAnalyticsOverviewInput, kd as PlaygroundAnalyticsOverviewOutput, ke as PlaygroundBillingEntitlementsInput, kf as PlaygroundBillingEntitlementsOutput, kg as PlaygroundBillingRecordUsageInput, kh as PlaygroundBillingRecordUsageOutput, ki as PlaygroundClickupCreateTaskInput, kj as PlaygroundClickupCreateTaskOutput, kk as PlaygroundClickupGetLastWebhookInput, kl as PlaygroundClickupGetLastWebhookOutput, km as PlaygroundClickupGetOverviewInput, kn as PlaygroundClickupGetOverviewOutput, ko as PlaygroundGdriveGetLastChangeInput, kp as PlaygroundGdriveGetLastChangeOutput, kq as PlaygroundGdriveReadFileInput, kr as PlaygroundGdriveReadFileOutput, ks as PlaygroundGoogleadsReadCustomerInput, kt as PlaygroundGoogleadsReadCustomerOutput, ku as PlaygroundLifecycleGetStateInput, kv as PlaygroundLifecycleGetStateOutput, kw as PlaygroundLifecycleListEventsInput, kx as PlaygroundLifecycleListEventsOutput, ky as PlaygroundWebhookGetLastInput, kz as PlaygroundWebhookGetLastOutput, kA as PlaygroundWsEchoInput } from '../client.gen-C39RGAWI.cjs';
|
|
2
|
-
import { L as LesslyStreamOpener, a as LesslyStream } from '../types-gTIUAUsP.cjs';
|
|
3
|
-
|
|
4
|
-
declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
|
|
5
|
-
queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
|
|
6
|
-
queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
7
|
-
};
|
|
8
|
-
declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
|
|
9
|
-
queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
|
|
10
|
-
queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
|
|
11
|
-
};
|
|
12
|
-
declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
|
|
13
|
-
mutationKey: string[];
|
|
14
|
-
mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>;
|
|
15
|
-
};
|
|
16
|
-
declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
|
|
17
|
-
mutationKey: string[];
|
|
18
|
-
mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>;
|
|
19
|
-
};
|
|
20
|
-
declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
|
|
21
|
-
queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
|
|
22
|
-
queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
23
|
-
};
|
|
24
|
-
declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
|
|
25
|
-
queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
|
|
26
|
-
queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
|
|
27
|
-
};
|
|
28
|
-
declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
|
|
29
|
-
queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
|
|
30
|
-
queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
31
|
-
};
|
|
32
|
-
declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
|
|
33
|
-
queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
|
|
34
|
-
queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
|
|
35
|
-
};
|
|
36
|
-
declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
|
|
37
|
-
queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
|
|
38
|
-
queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
39
|
-
};
|
|
40
|
-
declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
|
|
41
|
-
queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
|
|
42
|
-
queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
|
|
43
|
-
};
|
|
44
|
-
declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
|
|
45
|
-
queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
|
|
46
|
-
queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
|
|
47
|
-
};
|
|
48
|
-
declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
|
|
49
|
-
queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
|
|
50
|
-
queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
declare const playgroundWsEchoConnect: (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput) => LesslyStream;
|
|
54
|
-
|
|
55
|
-
export { 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, playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWsEchoConnect };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { G as GeneratedClient, kc as PlaygroundAnalyticsOverviewInput, kd as PlaygroundAnalyticsOverviewOutput, ke as PlaygroundBillingEntitlementsInput, kf as PlaygroundBillingEntitlementsOutput, kg as PlaygroundBillingRecordUsageInput, kh as PlaygroundBillingRecordUsageOutput, ki as PlaygroundClickupCreateTaskInput, kj as PlaygroundClickupCreateTaskOutput, kk as PlaygroundClickupGetLastWebhookInput, kl as PlaygroundClickupGetLastWebhookOutput, km as PlaygroundClickupGetOverviewInput, kn as PlaygroundClickupGetOverviewOutput, ko as PlaygroundGdriveGetLastChangeInput, kp as PlaygroundGdriveGetLastChangeOutput, kq as PlaygroundGdriveReadFileInput, kr as PlaygroundGdriveReadFileOutput, ks as PlaygroundGoogleadsReadCustomerInput, kt as PlaygroundGoogleadsReadCustomerOutput, ku as PlaygroundLifecycleGetStateInput, kv as PlaygroundLifecycleGetStateOutput, kw as PlaygroundLifecycleListEventsInput, kx as PlaygroundLifecycleListEventsOutput, ky as PlaygroundWebhookGetLastInput, kz as PlaygroundWebhookGetLastOutput, kA as PlaygroundWsEchoInput } from '../client.gen-C39RGAWI.js';
|
|
2
|
-
import { L as LesslyStreamOpener, a as LesslyStream } from '../types-gTIUAUsP.js';
|
|
3
|
-
|
|
4
|
-
declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
|
|
5
|
-
queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
|
|
6
|
-
queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
7
|
-
};
|
|
8
|
-
declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
|
|
9
|
-
queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
|
|
10
|
-
queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
|
|
11
|
-
};
|
|
12
|
-
declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
|
|
13
|
-
mutationKey: string[];
|
|
14
|
-
mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>;
|
|
15
|
-
};
|
|
16
|
-
declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
|
|
17
|
-
mutationKey: string[];
|
|
18
|
-
mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>;
|
|
19
|
-
};
|
|
20
|
-
declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
|
|
21
|
-
queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
|
|
22
|
-
queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
23
|
-
};
|
|
24
|
-
declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
|
|
25
|
-
queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
|
|
26
|
-
queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
|
|
27
|
-
};
|
|
28
|
-
declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
|
|
29
|
-
queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
|
|
30
|
-
queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
31
|
-
};
|
|
32
|
-
declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
|
|
33
|
-
queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
|
|
34
|
-
queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
|
|
35
|
-
};
|
|
36
|
-
declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
|
|
37
|
-
queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
|
|
38
|
-
queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
39
|
-
};
|
|
40
|
-
declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
|
|
41
|
-
queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
|
|
42
|
-
queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
|
|
43
|
-
};
|
|
44
|
-
declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
|
|
45
|
-
queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
|
|
46
|
-
queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
|
|
47
|
-
};
|
|
48
|
-
declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
|
|
49
|
-
queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
|
|
50
|
-
queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
declare const playgroundWsEchoConnect: (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput) => LesslyStream;
|
|
54
|
-
|
|
55
|
-
export { 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, playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWsEchoConnect };
|
package/dist/playground/index.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { wsBindings } from '../chunk-YVDZDXA7.js';
|
|
2
|
-
|
|
3
|
-
// src/gen/playground/queryOptions.gen.ts
|
|
4
|
-
var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
|
|
5
|
-
queryKey: ["playground", "analytics", "overview", input],
|
|
6
|
-
queryFn: () => sdk["playground"]["analytics"]["overview"](input)
|
|
7
|
-
});
|
|
8
|
-
var playgroundBillingEntitlementsQueryOptions = (sdk, input) => ({
|
|
9
|
-
queryKey: ["playground", "billing", "entitlements", input],
|
|
10
|
-
queryFn: () => sdk["playground"]["billing"]["entitlements"](input)
|
|
11
|
-
});
|
|
12
|
-
var playgroundBillingRecordUsageMutationOptions = (sdk) => ({
|
|
13
|
-
mutationKey: ["playground", "billing", "record-usage"],
|
|
14
|
-
mutationFn: (input) => sdk["playground"]["billing"]["record-usage"](input)
|
|
15
|
-
});
|
|
16
|
-
var playgroundClickupCreateTaskMutationOptions = (sdk) => ({
|
|
17
|
-
mutationKey: ["playground", "clickup", "create-task"],
|
|
18
|
-
mutationFn: (input) => sdk["playground"]["clickup"]["create-task"](input)
|
|
19
|
-
});
|
|
20
|
-
var playgroundClickupGetLastWebhookQueryOptions = (sdk, input) => ({
|
|
21
|
-
queryKey: ["playground", "clickup", "get-last-webhook", input],
|
|
22
|
-
queryFn: () => sdk["playground"]["clickup"]["get-last-webhook"](input)
|
|
23
|
-
});
|
|
24
|
-
var playgroundClickupGetOverviewQueryOptions = (sdk, input) => ({
|
|
25
|
-
queryKey: ["playground", "clickup", "get-overview", input],
|
|
26
|
-
queryFn: () => sdk["playground"]["clickup"]["get-overview"](input)
|
|
27
|
-
});
|
|
28
|
-
var playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
|
|
29
|
-
queryKey: ["playground", "gdrive", "get-last-change", input],
|
|
30
|
-
queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
|
|
31
|
-
});
|
|
32
|
-
var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
|
|
33
|
-
queryKey: ["playground", "gdrive", "read-file", input],
|
|
34
|
-
queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
|
|
35
|
-
});
|
|
36
|
-
var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
|
|
37
|
-
queryKey: ["playground", "googleads", "read-customer", input],
|
|
38
|
-
queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
|
|
39
|
-
});
|
|
40
|
-
var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
|
|
41
|
-
queryKey: ["playground", "lifecycle", "get-state", input],
|
|
42
|
-
queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
|
|
43
|
-
});
|
|
44
|
-
var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
|
|
45
|
-
queryKey: ["playground", "lifecycle", "list-events", input],
|
|
46
|
-
queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
|
|
47
|
-
});
|
|
48
|
-
var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
|
|
49
|
-
queryKey: ["playground", "webhook", "get-last", input],
|
|
50
|
-
queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
// src/gen/playground/connect.gen.ts
|
|
54
|
-
var playgroundWsEchoConnect = (sdk, input) => sdk.openStream(wsBindings["playground"]["ws"]["echo"], input);
|
|
55
|
-
|
|
56
|
-
export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWsEchoConnect };
|
|
57
|
-
//# sourceMappingURL=index.js.map
|
|
58
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts","../../src/gen/playground/connect.gen.ts"],"names":[],"mappings":"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","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n","// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport { wsBindings } from '../bindings.gen';\nimport type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';\nimport type {\n PlaygroundWsEchoInput,\n} from '../types.gen';\n\nexport const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>\n sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);\n"]}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
2
|
-
type ParamIn = 'path' | 'query' | 'body';
|
|
3
|
-
interface ParamSpec {
|
|
4
|
-
name: string;
|
|
5
|
-
in: ParamIn;
|
|
6
|
-
}
|
|
7
|
-
interface Binding {
|
|
8
|
-
method: HttpMethod;
|
|
9
|
-
path: string;
|
|
10
|
-
readOnly: boolean;
|
|
11
|
-
params?: ParamSpec[];
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* The streaming counterpart of `Binding`: the upgrade route of a ws-bound tool. No method (an
|
|
15
|
-
* upgrade is always a GET) and no `readOnly` (a socket is neither a read nor a write — the tool's
|
|
16
|
-
* own description defines its framing).
|
|
17
|
-
*/
|
|
18
|
-
interface WsBinding {
|
|
19
|
-
path: string;
|
|
20
|
-
params?: ParamSpec[];
|
|
21
|
-
}
|
|
22
|
-
type ActionBindings = Record<string, Binding>;
|
|
23
|
-
type ResourceBindings = Record<string, ActionBindings>;
|
|
24
|
-
type BindingsMap = Record<string, ResourceBindings>;
|
|
25
|
-
type WsActionBindings = Record<string, WsBinding>;
|
|
26
|
-
type WsResourceBindings = Record<string, WsActionBindings>;
|
|
27
|
-
type WsBindingsMap = Record<string, WsResourceBindings>;
|
|
28
|
-
/** Close information, as delivered to every `onClose` subscriber. */
|
|
29
|
-
interface StreamCloseInfo {
|
|
30
|
-
code: number;
|
|
31
|
-
reason: string;
|
|
32
|
-
wasClean: boolean;
|
|
33
|
-
}
|
|
34
|
-
/** Frame payload, exactly as the socket delivered it — never parsed by the SDK. */
|
|
35
|
-
type StreamData = string | ArrayBufferLike | ArrayBufferView | Blob;
|
|
36
|
-
/**
|
|
37
|
-
* The handle returned by `connectStream`. Deliberately small: no reconnection, no backoff, no
|
|
38
|
-
* heartbeat and no framing. A dropped connection surfaces once, through `onClose` with the close
|
|
39
|
-
* code; deciding whether and how to reconnect is the App's business, not the SDK's.
|
|
40
|
-
*/
|
|
41
|
-
interface LesslyStream {
|
|
42
|
-
/** Queued until the socket is OPEN, then flushed in order. Ignored once the stream is closed. */
|
|
43
|
-
send(data: StreamData): void;
|
|
44
|
-
close(code?: number, reason?: string): void;
|
|
45
|
-
/** Delivers `MessageEvent.data` as-is. Returns an unsubscribe function. */
|
|
46
|
-
onMessage(cb: (data: StreamData) => void): () => void;
|
|
47
|
-
/** Returns an unsubscribe function. */
|
|
48
|
-
onClose(cb: (info: StreamCloseInfo) => void): () => void;
|
|
49
|
-
/** The underlying socket's readyState (0 CONNECTING, 1 OPEN, 2 CLOSING, 3 CLOSED). */
|
|
50
|
-
readonly readyState: number;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* What a generated `<tool>Connect` factory needs from the client: the ability to open a stream
|
|
54
|
-
* for a binding. `createLesslyApp`'s client implements it (see `LesslyClientBase`).
|
|
55
|
-
*/
|
|
56
|
-
interface LesslyStreamOpener {
|
|
57
|
-
openStream(binding: WsBinding, input?: Record<string, unknown>): LesslyStream;
|
|
58
|
-
}
|
|
59
|
-
/** The shape of `globalThis.WebSocket` this SDK relies on — injectable, like `fetch`. */
|
|
60
|
-
type WebSocketCtor = new (url: string) => WebSocketLike;
|
|
61
|
-
interface WebSocketLike {
|
|
62
|
-
readonly readyState: number;
|
|
63
|
-
send(data: StreamData): void;
|
|
64
|
-
close(code?: number, reason?: string): void;
|
|
65
|
-
addEventListener(type: string, cb: (ev: never) => void): void;
|
|
66
|
-
removeEventListener(type: string, cb: (ev: never) => void): void;
|
|
67
|
-
}
|
|
68
|
-
interface LesslyAppOptions {
|
|
69
|
-
/**
|
|
70
|
-
* Absolute origin ("https://api.lessly.dev") or a path relative to the page
|
|
71
|
-
* ("/api", ""), which is resolved against globalThis.location and therefore
|
|
72
|
-
* only works in a browser.
|
|
73
|
-
*/
|
|
74
|
-
baseUrl: string;
|
|
75
|
-
productId: string;
|
|
76
|
-
getCsrfToken?: () => string | null | undefined;
|
|
77
|
-
fetch?: typeof fetch;
|
|
78
|
-
/** Injectable WebSocket constructor for `connectStream`; defaults to `globalThis.WebSocket`. */
|
|
79
|
-
WebSocket?: WebSocketCtor;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type { Binding as B, HttpMethod as H, LesslyStreamOpener as L, ParamIn as P, StreamCloseInfo as S, WsBinding as W, LesslyStream as a, LesslyAppOptions as b, BindingsMap as c, ParamSpec as d, StreamData as e, WebSocketCtor as f, WebSocketLike as g, WsBindingsMap as h };
|
package/dist/types-gTIUAUsP.d.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
2
|
-
type ParamIn = 'path' | 'query' | 'body';
|
|
3
|
-
interface ParamSpec {
|
|
4
|
-
name: string;
|
|
5
|
-
in: ParamIn;
|
|
6
|
-
}
|
|
7
|
-
interface Binding {
|
|
8
|
-
method: HttpMethod;
|
|
9
|
-
path: string;
|
|
10
|
-
readOnly: boolean;
|
|
11
|
-
params?: ParamSpec[];
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* The streaming counterpart of `Binding`: the upgrade route of a ws-bound tool. No method (an
|
|
15
|
-
* upgrade is always a GET) and no `readOnly` (a socket is neither a read nor a write — the tool's
|
|
16
|
-
* own description defines its framing).
|
|
17
|
-
*/
|
|
18
|
-
interface WsBinding {
|
|
19
|
-
path: string;
|
|
20
|
-
params?: ParamSpec[];
|
|
21
|
-
}
|
|
22
|
-
type ActionBindings = Record<string, Binding>;
|
|
23
|
-
type ResourceBindings = Record<string, ActionBindings>;
|
|
24
|
-
type BindingsMap = Record<string, ResourceBindings>;
|
|
25
|
-
type WsActionBindings = Record<string, WsBinding>;
|
|
26
|
-
type WsResourceBindings = Record<string, WsActionBindings>;
|
|
27
|
-
type WsBindingsMap = Record<string, WsResourceBindings>;
|
|
28
|
-
/** Close information, as delivered to every `onClose` subscriber. */
|
|
29
|
-
interface StreamCloseInfo {
|
|
30
|
-
code: number;
|
|
31
|
-
reason: string;
|
|
32
|
-
wasClean: boolean;
|
|
33
|
-
}
|
|
34
|
-
/** Frame payload, exactly as the socket delivered it — never parsed by the SDK. */
|
|
35
|
-
type StreamData = string | ArrayBufferLike | ArrayBufferView | Blob;
|
|
36
|
-
/**
|
|
37
|
-
* The handle returned by `connectStream`. Deliberately small: no reconnection, no backoff, no
|
|
38
|
-
* heartbeat and no framing. A dropped connection surfaces once, through `onClose` with the close
|
|
39
|
-
* code; deciding whether and how to reconnect is the App's business, not the SDK's.
|
|
40
|
-
*/
|
|
41
|
-
interface LesslyStream {
|
|
42
|
-
/** Queued until the socket is OPEN, then flushed in order. Ignored once the stream is closed. */
|
|
43
|
-
send(data: StreamData): void;
|
|
44
|
-
close(code?: number, reason?: string): void;
|
|
45
|
-
/** Delivers `MessageEvent.data` as-is. Returns an unsubscribe function. */
|
|
46
|
-
onMessage(cb: (data: StreamData) => void): () => void;
|
|
47
|
-
/** Returns an unsubscribe function. */
|
|
48
|
-
onClose(cb: (info: StreamCloseInfo) => void): () => void;
|
|
49
|
-
/** The underlying socket's readyState (0 CONNECTING, 1 OPEN, 2 CLOSING, 3 CLOSED). */
|
|
50
|
-
readonly readyState: number;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* What a generated `<tool>Connect` factory needs from the client: the ability to open a stream
|
|
54
|
-
* for a binding. `createLesslyApp`'s client implements it (see `LesslyClientBase`).
|
|
55
|
-
*/
|
|
56
|
-
interface LesslyStreamOpener {
|
|
57
|
-
openStream(binding: WsBinding, input?: Record<string, unknown>): LesslyStream;
|
|
58
|
-
}
|
|
59
|
-
/** The shape of `globalThis.WebSocket` this SDK relies on — injectable, like `fetch`. */
|
|
60
|
-
type WebSocketCtor = new (url: string) => WebSocketLike;
|
|
61
|
-
interface WebSocketLike {
|
|
62
|
-
readonly readyState: number;
|
|
63
|
-
send(data: StreamData): void;
|
|
64
|
-
close(code?: number, reason?: string): void;
|
|
65
|
-
addEventListener(type: string, cb: (ev: never) => void): void;
|
|
66
|
-
removeEventListener(type: string, cb: (ev: never) => void): void;
|
|
67
|
-
}
|
|
68
|
-
interface LesslyAppOptions {
|
|
69
|
-
/**
|
|
70
|
-
* Absolute origin ("https://api.lessly.dev") or a path relative to the page
|
|
71
|
-
* ("/api", ""), which is resolved against globalThis.location and therefore
|
|
72
|
-
* only works in a browser.
|
|
73
|
-
*/
|
|
74
|
-
baseUrl: string;
|
|
75
|
-
productId: string;
|
|
76
|
-
getCsrfToken?: () => string | null | undefined;
|
|
77
|
-
fetch?: typeof fetch;
|
|
78
|
-
/** Injectable WebSocket constructor for `connectStream`; defaults to `globalThis.WebSocket`. */
|
|
79
|
-
WebSocket?: WebSocketCtor;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type { Binding as B, HttpMethod as H, LesslyStreamOpener as L, ParamIn as P, StreamCloseInfo as S, WsBinding as W, LesslyStream as a, LesslyAppOptions as b, BindingsMap as c, ParamSpec as d, StreamData as e, WebSocketCtor as f, WebSocketLike as g, WsBindingsMap as h };
|
package/src/gen/content/index.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
export * from './queryOptions.gen';
|
|
3
|
-
export type { ContentChannelsBindInput, ContentChannelsBindOutput, ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsResumeInput, ContentChannelsResumeOutput, ContentChannelsUnbindInput, ContentChannelsUnbindOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentMediaCreateUploadUrlInput, ContentMediaCreateUploadUrlOutput, ContentMediaFinalizeInput, ContentMediaFinalizeOutput, ContentMediaGetInput, ContentMediaGetOutput, ContentMediaListInput, ContentMediaListOutput, ContentMediaUploadInput, ContentMediaUploadOutput, ContentMetricsChannelSeriesInput, ContentMetricsChannelSeriesOutput, ContentMetricsPostSeriesInput, ContentMetricsPostSeriesOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsAttachMediaInput, ContentPostsAttachMediaOutput, ContentPostsCreateInput, ContentPostsCreateOutput, ContentPostsDetachMediaInput, ContentPostsDetachMediaOutput, ContentPostsGetInput, ContentPostsGetOutput, ContentPostsListInput, ContentPostsListOutput, ContentPostsSubmitInput, ContentPostsSubmitOutput, ContentPostsUpdateInput, ContentPostsUpdateOutput, ContentPostsVersionsInput, ContentPostsVersionsOutput, ContentPublicationsCancelInput, ContentPublicationsCancelOutput, ContentPublicationsConfirmInput, ContentPublicationsConfirmOutput, ContentPublicationsGetInput, ContentPublicationsGetOutput, ContentPublicationsListInput, ContentPublicationsListOutput, ContentPublicationsPublishInput, ContentPublicationsPublishOutput, ContentPublicationsRemindInput, ContentPublicationsRemindOutput, ContentPublicationsRescheduleInput, ContentPublicationsRescheduleOutput, ContentPublicationsScheduleInput, ContentPublicationsScheduleOutput, ContentPublicationsValidateInput, ContentPublicationsValidateOutput } from '../types.gen';
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
import type { GeneratedClient } from '../client.gen';
|
|
3
|
-
import type {
|
|
4
|
-
ContentChannelsBindInput,
|
|
5
|
-
ContentChannelsGetInput,
|
|
6
|
-
ContentChannelsGetOutput,
|
|
7
|
-
ContentChannelsListInput,
|
|
8
|
-
ContentChannelsListOutput,
|
|
9
|
-
ContentChannelsResumeInput,
|
|
10
|
-
ContentChannelsUnbindInput,
|
|
11
|
-
ContentChannelsUpdateInput,
|
|
12
|
-
ContentMediaCreateUploadUrlInput,
|
|
13
|
-
ContentMediaFinalizeInput,
|
|
14
|
-
ContentMediaGetInput,
|
|
15
|
-
ContentMediaGetOutput,
|
|
16
|
-
ContentMediaListInput,
|
|
17
|
-
ContentMediaListOutput,
|
|
18
|
-
ContentMediaUploadInput,
|
|
19
|
-
ContentMetricsChannelSeriesInput,
|
|
20
|
-
ContentMetricsChannelSeriesOutput,
|
|
21
|
-
ContentMetricsPostSeriesInput,
|
|
22
|
-
ContentMetricsPostSeriesOutput,
|
|
23
|
-
ContentPostsApproveInput,
|
|
24
|
-
ContentPostsAttachMediaInput,
|
|
25
|
-
ContentPostsCreateInput,
|
|
26
|
-
ContentPostsDetachMediaInput,
|
|
27
|
-
ContentPostsGetInput,
|
|
28
|
-
ContentPostsGetOutput,
|
|
29
|
-
ContentPostsListInput,
|
|
30
|
-
ContentPostsListOutput,
|
|
31
|
-
ContentPostsSubmitInput,
|
|
32
|
-
ContentPostsUpdateInput,
|
|
33
|
-
ContentPostsVersionsInput,
|
|
34
|
-
ContentPostsVersionsOutput,
|
|
35
|
-
ContentPublicationsCancelInput,
|
|
36
|
-
ContentPublicationsConfirmInput,
|
|
37
|
-
ContentPublicationsGetInput,
|
|
38
|
-
ContentPublicationsGetOutput,
|
|
39
|
-
ContentPublicationsListInput,
|
|
40
|
-
ContentPublicationsListOutput,
|
|
41
|
-
ContentPublicationsPublishInput,
|
|
42
|
-
ContentPublicationsRemindInput,
|
|
43
|
-
ContentPublicationsRescheduleInput,
|
|
44
|
-
ContentPublicationsScheduleInput,
|
|
45
|
-
ContentPublicationsValidateInput,
|
|
46
|
-
ContentPublicationsValidateOutput,
|
|
47
|
-
} from '../types.gen';
|
|
48
|
-
|
|
49
|
-
export const contentChannelsBindMutationOptions = (sdk: GeneratedClient) => ({
|
|
50
|
-
mutationKey: ['content', 'channels', 'bind'],
|
|
51
|
-
mutationFn: (input: ContentChannelsBindInput) => sdk['content']['channels']['bind'](input),
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export const contentChannelsGetQueryOptions = (sdk: GeneratedClient, input: ContentChannelsGetInput) => ({
|
|
55
|
-
queryKey: ['content', 'channels', 'get', input] as const,
|
|
56
|
-
queryFn: () => sdk['content']['channels']['get'](input),
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
export const contentChannelsListQueryOptions = (sdk: GeneratedClient, input: ContentChannelsListInput) => ({
|
|
60
|
-
queryKey: ['content', 'channels', 'list', input] as const,
|
|
61
|
-
queryFn: () => sdk['content']['channels']['list'](input),
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
export const contentChannelsResumeMutationOptions = (sdk: GeneratedClient) => ({
|
|
65
|
-
mutationKey: ['content', 'channels', 'resume'],
|
|
66
|
-
mutationFn: (input: ContentChannelsResumeInput) => sdk['content']['channels']['resume'](input),
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
export const contentChannelsUnbindMutationOptions = (sdk: GeneratedClient) => ({
|
|
70
|
-
mutationKey: ['content', 'channels', 'unbind'],
|
|
71
|
-
mutationFn: (input: ContentChannelsUnbindInput) => sdk['content']['channels']['unbind'](input),
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
export const contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
75
|
-
mutationKey: ['content', 'channels', 'update'],
|
|
76
|
-
mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](input),
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
export const contentMediaCreateUploadUrlMutationOptions = (sdk: GeneratedClient) => ({
|
|
80
|
-
mutationKey: ['content', 'media-create-upload', 'url'],
|
|
81
|
-
mutationFn: (input: ContentMediaCreateUploadUrlInput) => sdk['content']['media-create-upload']['url'](input),
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
export const contentMediaFinalizeMutationOptions = (sdk: GeneratedClient) => ({
|
|
85
|
-
mutationKey: ['content', 'media', 'finalize'],
|
|
86
|
-
mutationFn: (input: ContentMediaFinalizeInput) => sdk['content']['media']['finalize'](input),
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
export const contentMediaGetQueryOptions = (sdk: GeneratedClient, input: ContentMediaGetInput) => ({
|
|
90
|
-
queryKey: ['content', 'media', 'get', input] as const,
|
|
91
|
-
queryFn: () => sdk['content']['media']['get'](input),
|
|
92
|
-
});
|
|
93
|
-
|
|
94
|
-
export const contentMediaListQueryOptions = (sdk: GeneratedClient, input: ContentMediaListInput) => ({
|
|
95
|
-
queryKey: ['content', 'media', 'list', input] as const,
|
|
96
|
-
queryFn: () => sdk['content']['media']['list'](input),
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
export const contentMediaUploadMutationOptions = (sdk: GeneratedClient) => ({
|
|
100
|
-
mutationKey: ['content', 'media', 'upload'],
|
|
101
|
-
mutationFn: (input: ContentMediaUploadInput) => sdk['content']['media']['upload'](input),
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
export const contentMetricsChannelSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsChannelSeriesInput) => ({
|
|
105
|
-
queryKey: ['content', 'metrics-channel', 'series', input] as const,
|
|
106
|
-
queryFn: () => sdk['content']['metrics-channel']['series'](input),
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
export const contentMetricsPostSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsPostSeriesInput) => ({
|
|
110
|
-
queryKey: ['content', 'metrics-post', 'series', input] as const,
|
|
111
|
-
queryFn: () => sdk['content']['metrics-post']['series'](input),
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
export const contentPostsApproveMutationOptions = (sdk: GeneratedClient) => ({
|
|
115
|
-
mutationKey: ['content', 'posts', 'approve'],
|
|
116
|
-
mutationFn: (input: ContentPostsApproveInput) => sdk['content']['posts']['approve'](input),
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
export const contentPostsAttachMediaMutationOptions = (sdk: GeneratedClient) => ({
|
|
120
|
-
mutationKey: ['content', 'posts-attach', 'media'],
|
|
121
|
-
mutationFn: (input: ContentPostsAttachMediaInput) => sdk['content']['posts-attach']['media'](input),
|
|
122
|
-
});
|
|
123
|
-
|
|
124
|
-
export const contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
125
|
-
mutationKey: ['content', 'posts', 'create'],
|
|
126
|
-
mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](input),
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
export const contentPostsDetachMediaMutationOptions = (sdk: GeneratedClient) => ({
|
|
130
|
-
mutationKey: ['content', 'posts-detach', 'media'],
|
|
131
|
-
mutationFn: (input: ContentPostsDetachMediaInput) => sdk['content']['posts-detach']['media'](input),
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
export const contentPostsGetQueryOptions = (sdk: GeneratedClient, input: ContentPostsGetInput) => ({
|
|
135
|
-
queryKey: ['content', 'posts', 'get', input] as const,
|
|
136
|
-
queryFn: () => sdk['content']['posts']['get'](input),
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
export const contentPostsListQueryOptions = (sdk: GeneratedClient, input: ContentPostsListInput) => ({
|
|
140
|
-
queryKey: ['content', 'posts', 'list', input] as const,
|
|
141
|
-
queryFn: () => sdk['content']['posts']['list'](input),
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
export const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({
|
|
145
|
-
mutationKey: ['content', 'posts', 'submit'],
|
|
146
|
-
mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
export const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
150
|
-
mutationKey: ['content', 'posts', 'update'],
|
|
151
|
-
mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),
|
|
152
|
-
});
|
|
153
|
-
|
|
154
|
-
export const contentPostsVersionsQueryOptions = (sdk: GeneratedClient, input: ContentPostsVersionsInput) => ({
|
|
155
|
-
queryKey: ['content', 'posts', 'versions', input] as const,
|
|
156
|
-
queryFn: () => sdk['content']['posts']['versions'](input),
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
export const contentPublicationsCancelMutationOptions = (sdk: GeneratedClient) => ({
|
|
160
|
-
mutationKey: ['content', 'publications', 'cancel'],
|
|
161
|
-
mutationFn: (input: ContentPublicationsCancelInput) => sdk['content']['publications']['cancel'](input),
|
|
162
|
-
});
|
|
163
|
-
|
|
164
|
-
export const contentPublicationsConfirmMutationOptions = (sdk: GeneratedClient) => ({
|
|
165
|
-
mutationKey: ['content', 'publications', 'confirm'],
|
|
166
|
-
mutationFn: (input: ContentPublicationsConfirmInput) => sdk['content']['publications']['confirm'](input),
|
|
167
|
-
});
|
|
168
|
-
|
|
169
|
-
export const contentPublicationsGetQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsGetInput) => ({
|
|
170
|
-
queryKey: ['content', 'publications', 'get', input] as const,
|
|
171
|
-
queryFn: () => sdk['content']['publications']['get'](input),
|
|
172
|
-
});
|
|
173
|
-
|
|
174
|
-
export const contentPublicationsListQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsListInput) => ({
|
|
175
|
-
queryKey: ['content', 'publications', 'list', input] as const,
|
|
176
|
-
queryFn: () => sdk['content']['publications']['list'](input),
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
export const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient) => ({
|
|
180
|
-
mutationKey: ['content', 'publications', 'publish'],
|
|
181
|
-
mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),
|
|
182
|
-
});
|
|
183
|
-
|
|
184
|
-
export const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({
|
|
185
|
-
mutationKey: ['content', 'publications', 'remind'],
|
|
186
|
-
mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),
|
|
187
|
-
});
|
|
188
|
-
|
|
189
|
-
export const contentPublicationsRescheduleMutationOptions = (sdk: GeneratedClient) => ({
|
|
190
|
-
mutationKey: ['content', 'publications', 'reschedule'],
|
|
191
|
-
mutationFn: (input: ContentPublicationsRescheduleInput) => sdk['content']['publications']['reschedule'](input),
|
|
192
|
-
});
|
|
193
|
-
|
|
194
|
-
export const contentPublicationsScheduleMutationOptions = (sdk: GeneratedClient) => ({
|
|
195
|
-
mutationKey: ['content', 'publications', 'schedule'],
|
|
196
|
-
mutationFn: (input: ContentPublicationsScheduleInput) => sdk['content']['publications']['schedule'](input),
|
|
197
|
-
});
|
|
198
|
-
|
|
199
|
-
export const contentPublicationsValidateQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsValidateInput) => ({
|
|
200
|
-
queryKey: ['content', 'publications', 'validate', input] as const,
|
|
201
|
-
queryFn: () => sdk['content']['publications']['validate'](input),
|
|
202
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
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>);
|
|
@@ -1,4 +0,0 @@
|
|
|
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';
|