@lessly/sdk-app 63.6.0 → 63.8.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/client.gen.d.ts +72 -1
- 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 +62 -0
- package/dist/_types/gen/types.gen.d.ts +913 -0
- package/dist/_types/gen/workflow/index.d.ts +2 -0
- package/dist/_types/gen/workflow/queryOptions.gen.d.ts +98 -0
- package/dist/chunk-ETSAJJIN.js +10902 -0
- package/dist/chunk-ETSAJJIN.js.map +1 -0
- package/dist/index.cjs +676 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +85 -10299
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +96 -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 +70 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/workflow/index.cjs +126 -0
- package/dist/workflow/index.cjs.map +1 -0
- package/dist/workflow/index.d.cts +1 -0
- package/dist/workflow/index.d.ts +1 -0
- package/dist/workflow/index.js +101 -0
- package/dist/workflow/index.js.map +1 -0
- package/package.json +22 -2
- package/src/gen/bindings.gen.ts +602 -1
- package/src/gen/client.gen.ts +149 -0
- package/src/gen/manifest.gen.ts +83 -2
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +105 -0
- package/src/gen/types.gen.ts +1004 -0
- package/src/gen/workflow/index.ts +3 -0
- package/src/gen/workflow/queryOptions.gen.ts +161 -0
package/src/gen/client.gen.ts
CHANGED
|
@@ -769,6 +769,36 @@ import type {
|
|
|
769
769
|
OrganizationXInstallOutput,
|
|
770
770
|
OrganizationYoutubeInstallInput,
|
|
771
771
|
OrganizationYoutubeInstallOutput,
|
|
772
|
+
PlaygroundAnalyticsOverviewInput,
|
|
773
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
774
|
+
PlaygroundBillingEntitlementsInput,
|
|
775
|
+
PlaygroundBillingEntitlementsOutput,
|
|
776
|
+
PlaygroundBillingRecordUsageInput,
|
|
777
|
+
PlaygroundBillingRecordUsageOutput,
|
|
778
|
+
PlaygroundClickupCreateTaskInput,
|
|
779
|
+
PlaygroundClickupCreateTaskOutput,
|
|
780
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
781
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
782
|
+
PlaygroundClickupGetOverviewInput,
|
|
783
|
+
PlaygroundClickupGetOverviewOutput,
|
|
784
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
785
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
786
|
+
PlaygroundGdriveReadFileInput,
|
|
787
|
+
PlaygroundGdriveReadFileOutput,
|
|
788
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
789
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
790
|
+
PlaygroundLifecycleGetStateInput,
|
|
791
|
+
PlaygroundLifecycleGetStateOutput,
|
|
792
|
+
PlaygroundLifecycleListEventsInput,
|
|
793
|
+
PlaygroundLifecycleListEventsOutput,
|
|
794
|
+
PlaygroundWebhookGetLastInput,
|
|
795
|
+
PlaygroundWebhookGetLastOutput,
|
|
796
|
+
PlaygroundWorkflowEchoInput,
|
|
797
|
+
PlaygroundWorkflowEchoListInput,
|
|
798
|
+
PlaygroundWorkflowEchoListOutput,
|
|
799
|
+
PlaygroundWorkflowEchoOutput,
|
|
800
|
+
PlaygroundWorkflowPingInput,
|
|
801
|
+
PlaygroundWorkflowPingOutput,
|
|
772
802
|
RealtimeArchiveExportInput,
|
|
773
803
|
RealtimeArchiveExportOutput,
|
|
774
804
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1087,6 +1117,54 @@ import type {
|
|
|
1087
1117
|
WaitlistSignupsFunnelOutput,
|
|
1088
1118
|
WaitlistSignupsListInput,
|
|
1089
1119
|
WaitlistSignupsListOutput,
|
|
1120
|
+
WorkflowCapabilityGetInput,
|
|
1121
|
+
WorkflowCapabilityGetOutput,
|
|
1122
|
+
WorkflowCapabilityListInput,
|
|
1123
|
+
WorkflowCapabilityListOutput,
|
|
1124
|
+
WorkflowConfigDeleteInput,
|
|
1125
|
+
WorkflowConfigDeleteOutput,
|
|
1126
|
+
WorkflowConfigListInput,
|
|
1127
|
+
WorkflowConfigListOutput,
|
|
1128
|
+
WorkflowConfigSetInput,
|
|
1129
|
+
WorkflowConfigSetOutput,
|
|
1130
|
+
WorkflowDefinitionCreateInput,
|
|
1131
|
+
WorkflowDefinitionCreateOutput,
|
|
1132
|
+
WorkflowDefinitionDisableInput,
|
|
1133
|
+
WorkflowDefinitionDisableOutput,
|
|
1134
|
+
WorkflowDefinitionDryrunInput,
|
|
1135
|
+
WorkflowDefinitionDryrunOutput,
|
|
1136
|
+
WorkflowDefinitionEnableInput,
|
|
1137
|
+
WorkflowDefinitionEnableOutput,
|
|
1138
|
+
WorkflowDefinitionExportInput,
|
|
1139
|
+
WorkflowDefinitionExportOutput,
|
|
1140
|
+
WorkflowDefinitionGetInput,
|
|
1141
|
+
WorkflowDefinitionGetOutput,
|
|
1142
|
+
WorkflowDefinitionImportInput,
|
|
1143
|
+
WorkflowDefinitionImportOutput,
|
|
1144
|
+
WorkflowDefinitionListInput,
|
|
1145
|
+
WorkflowDefinitionListOutput,
|
|
1146
|
+
WorkflowDefinitionPublishInput,
|
|
1147
|
+
WorkflowDefinitionPublishOutput,
|
|
1148
|
+
WorkflowDefinitionUpdateInput,
|
|
1149
|
+
WorkflowDefinitionUpdateOutput,
|
|
1150
|
+
WorkflowDefinitionValidateInput,
|
|
1151
|
+
WorkflowDefinitionValidateOutput,
|
|
1152
|
+
WorkflowHealthPingInput,
|
|
1153
|
+
WorkflowHealthPingOutput,
|
|
1154
|
+
WorkflowRunCancelInput,
|
|
1155
|
+
WorkflowRunCancelOutput,
|
|
1156
|
+
WorkflowRunGetInput,
|
|
1157
|
+
WorkflowRunGetOutput,
|
|
1158
|
+
WorkflowRunListInput,
|
|
1159
|
+
WorkflowRunListOutput,
|
|
1160
|
+
WorkflowRunReplayInput,
|
|
1161
|
+
WorkflowRunReplayOutput,
|
|
1162
|
+
WorkflowRunStartInput,
|
|
1163
|
+
WorkflowRunStartOutput,
|
|
1164
|
+
WorkflowVersionGetInput,
|
|
1165
|
+
WorkflowVersionGetOutput,
|
|
1166
|
+
WorkflowVersionListInput,
|
|
1167
|
+
WorkflowVersionListOutput,
|
|
1090
1168
|
} from './types.gen';
|
|
1091
1169
|
|
|
1092
1170
|
export interface GeneratedClient {
|
|
@@ -1778,6 +1856,39 @@ export interface GeneratedClient {
|
|
|
1778
1856
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
1779
1857
|
};
|
|
1780
1858
|
};
|
|
1859
|
+
playground: {
|
|
1860
|
+
analytics: {
|
|
1861
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
1862
|
+
};
|
|
1863
|
+
billing: {
|
|
1864
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
1865
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
1866
|
+
};
|
|
1867
|
+
clickup: {
|
|
1868
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
1869
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
1870
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
1871
|
+
};
|
|
1872
|
+
gdrive: {
|
|
1873
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
1874
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
1875
|
+
};
|
|
1876
|
+
googleads: {
|
|
1877
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
1878
|
+
};
|
|
1879
|
+
lifecycle: {
|
|
1880
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
1881
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
1882
|
+
};
|
|
1883
|
+
webhook: {
|
|
1884
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
1885
|
+
};
|
|
1886
|
+
workflow: {
|
|
1887
|
+
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
1888
|
+
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
1889
|
+
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
1890
|
+
};
|
|
1891
|
+
};
|
|
1781
1892
|
realtime: {
|
|
1782
1893
|
archive: {
|
|
1783
1894
|
export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
|
|
@@ -2079,4 +2190,42 @@ export interface GeneratedClient {
|
|
|
2079
2190
|
list: ((input: WaitlistSignupsListInput) => Promise<WaitlistSignupsListOutput>) & Operation;
|
|
2080
2191
|
};
|
|
2081
2192
|
};
|
|
2193
|
+
workflow: {
|
|
2194
|
+
capability: {
|
|
2195
|
+
get: ((input: WorkflowCapabilityGetInput) => Promise<WorkflowCapabilityGetOutput>) & Operation;
|
|
2196
|
+
list: ((input: WorkflowCapabilityListInput) => Promise<WorkflowCapabilityListOutput>) & Operation;
|
|
2197
|
+
};
|
|
2198
|
+
config: {
|
|
2199
|
+
delete: ((input: WorkflowConfigDeleteInput) => Promise<WorkflowConfigDeleteOutput>) & Operation;
|
|
2200
|
+
list: ((input: WorkflowConfigListInput) => Promise<WorkflowConfigListOutput>) & Operation;
|
|
2201
|
+
set: ((input: WorkflowConfigSetInput) => Promise<WorkflowConfigSetOutput>) & Operation;
|
|
2202
|
+
};
|
|
2203
|
+
definition: {
|
|
2204
|
+
create: ((input: WorkflowDefinitionCreateInput) => Promise<WorkflowDefinitionCreateOutput>) & Operation;
|
|
2205
|
+
disable: ((input: WorkflowDefinitionDisableInput) => Promise<WorkflowDefinitionDisableOutput>) & Operation;
|
|
2206
|
+
dryrun: ((input: WorkflowDefinitionDryrunInput) => Promise<WorkflowDefinitionDryrunOutput>) & Operation;
|
|
2207
|
+
enable: ((input: WorkflowDefinitionEnableInput) => Promise<WorkflowDefinitionEnableOutput>) & Operation;
|
|
2208
|
+
export: ((input: WorkflowDefinitionExportInput) => Promise<WorkflowDefinitionExportOutput>) & Operation;
|
|
2209
|
+
get: ((input: WorkflowDefinitionGetInput) => Promise<WorkflowDefinitionGetOutput>) & Operation;
|
|
2210
|
+
import: ((input: WorkflowDefinitionImportInput) => Promise<WorkflowDefinitionImportOutput>) & Operation;
|
|
2211
|
+
list: ((input: WorkflowDefinitionListInput) => Promise<WorkflowDefinitionListOutput>) & Operation;
|
|
2212
|
+
publish: ((input: WorkflowDefinitionPublishInput) => Promise<WorkflowDefinitionPublishOutput>) & Operation;
|
|
2213
|
+
update: ((input: WorkflowDefinitionUpdateInput) => Promise<WorkflowDefinitionUpdateOutput>) & Operation;
|
|
2214
|
+
validate: ((input: WorkflowDefinitionValidateInput) => Promise<WorkflowDefinitionValidateOutput>) & Operation;
|
|
2215
|
+
};
|
|
2216
|
+
health: {
|
|
2217
|
+
ping: ((input: WorkflowHealthPingInput) => Promise<WorkflowHealthPingOutput>) & Operation;
|
|
2218
|
+
};
|
|
2219
|
+
run: {
|
|
2220
|
+
cancel: ((input: WorkflowRunCancelInput) => Promise<WorkflowRunCancelOutput>) & Operation;
|
|
2221
|
+
get: ((input: WorkflowRunGetInput) => Promise<WorkflowRunGetOutput>) & Operation;
|
|
2222
|
+
list: ((input: WorkflowRunListInput) => Promise<WorkflowRunListOutput>) & Operation;
|
|
2223
|
+
replay: ((input: WorkflowRunReplayInput) => Promise<WorkflowRunReplayOutput>) & Operation;
|
|
2224
|
+
start: ((input: WorkflowRunStartInput) => Promise<WorkflowRunStartOutput>) & Operation;
|
|
2225
|
+
};
|
|
2226
|
+
version: {
|
|
2227
|
+
get: ((input: WorkflowVersionGetInput) => Promise<WorkflowVersionGetOutput>) & Operation;
|
|
2228
|
+
list: ((input: WorkflowVersionListInput) => Promise<WorkflowVersionListOutput>) & Operation;
|
|
2229
|
+
};
|
|
2230
|
+
};
|
|
2082
2231
|
}
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { ToolLevel, ToolComposition } from '../runtime/types';
|
|
3
3
|
|
|
4
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
4
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist', 'workflow'] as const;
|
|
5
5
|
|
|
6
6
|
export const operations: Record<string, ToolLevel> = {
|
|
7
7
|
'analytics_catalog_get': 'read',
|
|
@@ -388,6 +388,21 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
388
388
|
'organization_support_threads_list': 'read',
|
|
389
389
|
'organization_x_install': 'read',
|
|
390
390
|
'organization_youtube_install': 'read',
|
|
391
|
+
'playground_analytics_overview': 'read',
|
|
392
|
+
'playground_billing_entitlements': 'read',
|
|
393
|
+
'playground_billing_record-usage': 'write',
|
|
394
|
+
'playground_clickup_create-task': 'write',
|
|
395
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
396
|
+
'playground_clickup_get-overview': 'read',
|
|
397
|
+
'playground_gdrive_get-last-change': 'read',
|
|
398
|
+
'playground_gdrive_read-file': 'read',
|
|
399
|
+
'playground_googleads_read-customer': 'read',
|
|
400
|
+
'playground_lifecycle_get-state': 'read',
|
|
401
|
+
'playground_lifecycle_list-events': 'read',
|
|
402
|
+
'playground_webhook_get-last': 'read',
|
|
403
|
+
'playground_workflow_echo': 'write',
|
|
404
|
+
'playground_workflow_echo-list': 'read',
|
|
405
|
+
'playground_workflow_ping': 'write',
|
|
391
406
|
'realtime_archive_export': 'admin',
|
|
392
407
|
'realtime_archive_export_status': 'read',
|
|
393
408
|
'realtime_archive_get': 'read',
|
|
@@ -547,6 +562,72 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
547
562
|
'waitlist_signups_erase': 'write',
|
|
548
563
|
'waitlist_signups_funnel': 'read',
|
|
549
564
|
'waitlist_signups_list': 'read',
|
|
565
|
+
'workflow_capability_get': 'read',
|
|
566
|
+
'workflow_capability_list': 'read',
|
|
567
|
+
'workflow_config_delete': 'admin',
|
|
568
|
+
'workflow_config_list': 'read',
|
|
569
|
+
'workflow_config_set': 'write',
|
|
570
|
+
'workflow_definition_create': 'write',
|
|
571
|
+
'workflow_definition_disable': 'write',
|
|
572
|
+
'workflow_definition_dryrun': 'read',
|
|
573
|
+
'workflow_definition_enable': 'write',
|
|
574
|
+
'workflow_definition_export': 'read',
|
|
575
|
+
'workflow_definition_get': 'read',
|
|
576
|
+
'workflow_definition_import': 'write',
|
|
577
|
+
'workflow_definition_list': 'read',
|
|
578
|
+
'workflow_definition_publish': 'write',
|
|
579
|
+
'workflow_definition_update': 'write',
|
|
580
|
+
'workflow_definition_validate': 'read',
|
|
581
|
+
'workflow_health_ping': 'read',
|
|
582
|
+
'workflow_run_cancel': 'write',
|
|
583
|
+
'workflow_run_get': 'read',
|
|
584
|
+
'workflow_run_list': 'read',
|
|
585
|
+
'workflow_run_replay': 'write',
|
|
586
|
+
'workflow_run_start': 'write',
|
|
587
|
+
'workflow_version_get': 'read',
|
|
588
|
+
'workflow_version_list': 'read',
|
|
550
589
|
};
|
|
551
590
|
|
|
552
|
-
export const compositions: Record<string, ToolComposition> = {
|
|
591
|
+
export const compositions: Record<string, ToolComposition> = {
|
|
592
|
+
'mail_audience_create': {"label":"Create audience"},
|
|
593
|
+
'mail_audience_delete': {"label":"Delete audience"},
|
|
594
|
+
'mail_audience_get': {"label":"Get audience"},
|
|
595
|
+
'mail_audience_list': {"label":"List audiences"},
|
|
596
|
+
'mail_audience_update': {"label":"Rename audience"},
|
|
597
|
+
'mail_broadcast_cancel': {"pii":["output.from","output.replyTo"],"label":"Cancel broadcast"},
|
|
598
|
+
'mail_broadcast_create': {"pii":["input.from","input.replyTo","output.from","output.replyTo"],"label":"Create broadcast","options":{"audienceId":"mail_audience_list","template.id":"mail_template_list"}},
|
|
599
|
+
'mail_broadcast_delete': {"label":"Delete broadcast"},
|
|
600
|
+
'mail_broadcast_get': {"pii":["output.from","output.replyTo"],"label":"Get broadcast"},
|
|
601
|
+
'mail_broadcast_list': {"pii":["output.items[].from","output.items[].replyTo"],"label":"List broadcasts"},
|
|
602
|
+
'mail_broadcast_queue': {"pii":["output.from","output.replyTo"],"label":"Queue broadcast"},
|
|
603
|
+
'mail_broadcast_stats': {"label":"Broadcast stats"},
|
|
604
|
+
'mail_broadcast_update': {"pii":["input.from","input.replyTo","output.from","output.replyTo"],"label":"Update broadcast","options":{"audienceId":"mail_audience_list","template.id":"mail_template_list"}},
|
|
605
|
+
'mail_contact_create': {"pii":["input.email","input.properties","output.email","output.properties"],"label":"Create contact","options":{"audience_id":"mail_audience_list"}},
|
|
606
|
+
'mail_contact_delete': {"label":"Delete contact","options":{"audience_id":"mail_audience_list"}},
|
|
607
|
+
'mail_contact_get': {"pii":["output.email","output.properties"],"label":"Get contact","options":{"audience_id":"mail_audience_list"}},
|
|
608
|
+
'mail_contact_list': {"pii":["output.data[].email","output.data[].properties"],"label":"List contacts","options":{"audience_id":"mail_audience_list"}},
|
|
609
|
+
'mail_contact_update': {"pii":["input.properties","output.email","output.properties"],"label":"Update contact","options":{"audience_id":"mail_audience_list"}},
|
|
610
|
+
'mail_domain_allowed_list': {"label":"List allowed apex domains"},
|
|
611
|
+
'mail_domain_get': {"label":"Get domain"},
|
|
612
|
+
'mail_domain_list': {"label":"List domains"},
|
|
613
|
+
'mail_domain_verify': {"label":"Verify domain","completion_event":"mail/domain.verified"},
|
|
614
|
+
'mail_email_cancel': {"label":"Cancel email"},
|
|
615
|
+
'mail_email_get': {"pii":["output.from","output.to","output.cc","output.bcc"],"label":"Get email"},
|
|
616
|
+
'mail_email_send': {"pii":["input.from","input.to","input.cc","input.bcc","input.reply_to"],"label":"Send email","options":{"template.id":"mail_template_list"},"completion_event":"mail/email.delivered"},
|
|
617
|
+
'mail_email_send_batch': {"pii":["input.emails[].from","input.emails[].to","input.emails[].cc","input.emails[].bcc","input.emails[].reply_to"],"label":"Send email batch"},
|
|
618
|
+
'mail_email_update': {"label":"Reschedule email"},
|
|
619
|
+
'mail_reputation_get': {"label":"Get reputation status"},
|
|
620
|
+
'mail_stats_get': {"label":"Get sending stats"},
|
|
621
|
+
'mail_suppression_add': {"pii":["input.address","output.address"],"label":"Suppress address"},
|
|
622
|
+
'mail_suppression_list': {"pii":["input.q","output.items[].address"],"label":"List suppressions"},
|
|
623
|
+
'mail_suppression_remove': {"pii":["input.address","output.address"],"label":"Unsuppress address"},
|
|
624
|
+
'mail_template_create': {"label":"Create template"},
|
|
625
|
+
'mail_template_delete': {"label":"Delete template"},
|
|
626
|
+
'mail_template_get': {"label":"Get template"},
|
|
627
|
+
'mail_template_list': {"label":"List templates"},
|
|
628
|
+
'mail_template_publish': {"label":"Publish template"},
|
|
629
|
+
'mail_template_update': {"label":"Update template"},
|
|
630
|
+
'mail_usage_get': {"label":"Get usage"},
|
|
631
|
+
'playground_workflow_echo': {"pii":["input.note"],"label":"Store workflow echo"},
|
|
632
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
633
|
+
};
|
|
@@ -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, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWsEchoInput } from '../types.gen';
|
|
@@ -0,0 +1,105 @@
|
|
|
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
|
+
PlaygroundWorkflowEchoInput,
|
|
27
|
+
PlaygroundWorkflowEchoListInput,
|
|
28
|
+
PlaygroundWorkflowEchoListOutput,
|
|
29
|
+
PlaygroundWorkflowPingInput,
|
|
30
|
+
} from '../types.gen';
|
|
31
|
+
|
|
32
|
+
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
33
|
+
queryKey: ['playground', 'analytics', 'overview', input] as const,
|
|
34
|
+
queryFn: () => sdk['playground']['analytics']['overview'](input),
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
|
|
38
|
+
queryKey: ['playground', 'billing', 'entitlements', input] as const,
|
|
39
|
+
queryFn: () => sdk['playground']['billing']['entitlements'](input),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
|
|
43
|
+
mutationKey: ['playground', 'billing', 'record-usage'],
|
|
44
|
+
mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
|
|
48
|
+
mutationKey: ['playground', 'clickup', 'create-task'],
|
|
49
|
+
mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
|
|
53
|
+
queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
|
|
54
|
+
queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
|
|
58
|
+
queryKey: ['playground', 'clickup', 'get-overview', input] as const,
|
|
59
|
+
queryFn: () => sdk['playground']['clickup']['get-overview'](input),
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
|
|
63
|
+
queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
|
|
64
|
+
queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
|
|
68
|
+
queryKey: ['playground', 'gdrive', 'read-file', input] as const,
|
|
69
|
+
queryFn: () => sdk['playground']['gdrive']['read-file'](input),
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
|
|
73
|
+
queryKey: ['playground', 'googleads', 'read-customer', input] as const,
|
|
74
|
+
queryFn: () => sdk['playground']['googleads']['read-customer'](input),
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
|
|
78
|
+
queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
|
|
79
|
+
queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
|
|
83
|
+
queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
|
|
84
|
+
queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
|
|
88
|
+
queryKey: ['playground', 'webhook', 'get-last', input] as const,
|
|
89
|
+
queryFn: () => sdk['playground']['webhook']['get-last'](input),
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
export const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({
|
|
93
|
+
mutationKey: ['playground', 'workflow', 'echo'],
|
|
94
|
+
mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
export const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({
|
|
98
|
+
queryKey: ['playground', 'workflow', 'echo-list', input] as const,
|
|
99
|
+
queryFn: () => sdk['playground']['workflow']['echo-list'](input),
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({
|
|
103
|
+
mutationKey: ['playground', 'workflow', 'ping'],
|
|
104
|
+
mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
|
|
105
|
+
});
|