@lessly/sdk-app 94.1.0 → 95.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +10 -5
  2. package/dist/_types/gen/client.gen.d.ts +42 -6
  3. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  4. package/dist/_types/gen/organization/index.d.ts +1 -1
  5. package/dist/_types/gen/organization/queryOptions.gen.d.ts +8 -12
  6. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  7. package/dist/_types/gen/playground/index.d.ts +3 -0
  8. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  9. package/dist/_types/gen/types.gen.d.ts +9753 -1313
  10. package/dist/chunk-HIAGROHK.js +11695 -0
  11. package/dist/chunk-HIAGROHK.js.map +1 -0
  12. package/dist/index.cjs +263 -38
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.js +28 -11484
  15. package/dist/index.js.map +1 -1
  16. package/dist/organization/index.cjs +10 -15
  17. package/dist/organization/index.cjs.map +1 -1
  18. package/dist/organization/index.js +9 -13
  19. package/dist/organization/index.js.map +1 -1
  20. package/dist/playground/index.cjs +106 -0
  21. package/dist/playground/index.cjs.map +1 -0
  22. package/dist/playground/index.d.cts +1 -0
  23. package/dist/playground/index.d.ts +1 -0
  24. package/dist/playground/index.js +78 -0
  25. package/dist/playground/index.js.map +1 -0
  26. package/package.json +12 -2
  27. package/src/gen/bindings.gen.ts +246 -32
  28. package/src/gen/client.gen.ts +79 -11
  29. package/src/gen/manifest.gen.ts +27 -8
  30. package/src/gen/organization/index.ts +1 -1
  31. package/src/gen/organization/queryOptions.gen.ts +11 -17
  32. package/src/gen/playground/connect.gen.ts +9 -0
  33. package/src/gen/playground/index.ts +4 -0
  34. package/src/gen/playground/queryOptions.gen.ts +119 -0
  35. package/src/gen/types.gen.ts +9482 -1460
@@ -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', 'workflow'] as const;
4
+ export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
5
5
 
6
6
  export const operations: Record<string, ToolLevel> = {
7
7
  'analytics_catalog_get': 'read',
@@ -313,10 +313,9 @@ export const operations: Record<string, ToolLevel> = {
313
313
  'observe_webhooks_rotate_secret': 'admin',
314
314
  'observe_webhooks_update': 'write',
315
315
  'organization_auth_me': 'read',
316
- 'organization_billing_budget_clear': 'write',
317
- 'organization_billing_budget_resume': 'write',
318
- 'organization_billing_budget_set': 'write',
319
316
  'organization_billing_budgets_get': 'read',
317
+ 'organization_billing_caps_clear': 'write',
318
+ 'organization_billing_caps_set': 'write',
320
319
  'organization_bindings_list': 'read',
321
320
  'organization_clickup_install': 'read',
322
321
  'organization_clickup_list-installations': 'read',
@@ -403,6 +402,23 @@ export const operations: Record<string, ToolLevel> = {
403
402
  'organization_support_threads_list': 'read',
404
403
  'organization_x_install': 'read',
405
404
  'organization_youtube_install': 'read',
405
+ 'playground_analytics_overview': 'read',
406
+ 'playground_billing_entitlements': 'read',
407
+ 'playground_billing_record-usage': 'write',
408
+ 'playground_clickup_create-task': 'write',
409
+ 'playground_clickup_get-last-webhook': 'read',
410
+ 'playground_clickup_get-overview': 'read',
411
+ 'playground_echo_ping': 'read',
412
+ 'playground_gdrive_get-last-change': 'read',
413
+ 'playground_gdrive_read-file': 'read',
414
+ 'playground_googleads_read-customer': 'read',
415
+ 'playground_lifecycle_get-state': 'read',
416
+ 'playground_lifecycle_list-events': 'read',
417
+ 'playground_webhook_get-last': 'read',
418
+ 'playground_workflow_echo': 'write',
419
+ 'playground_workflow_echo-list': 'read',
420
+ 'playground_workflow_ping': 'write',
421
+ 'playground_workflow_subjects-list': 'read',
406
422
  'realtime_archive_export': 'admin',
407
423
  'realtime_archive_export_status': 'read',
408
424
  'realtime_archive_get': 'read',
@@ -633,10 +649,10 @@ export const compositions: Record<string, ToolComposition> = {
633
649
  'brain_memory_update': {"pii":["input.content"],"label":"Update memory","options":{"memory_id":"brain_memory_list"}},
634
650
  'brain_usage_report': {"label":"Get usage report"},
635
651
  'content_metrics_post_series': {"label":"Read post metrics","options":{"id":"content_publications_list"}},
636
- 'content_posts_create': {"pii":["output.author","output.text","output.media"],"label":"Create draft post"},
637
- 'content_posts_get': {"pii":["output.author","output.text","output.media"],"label":"Get post","options":{"id":"content_posts_list"}},
638
- 'content_posts_list': {"pii":["output.posts[].author","output.posts[].text","output.posts[].media"],"label":"List posts"},
639
- 'content_posts_submit': {"pii":["output.author","output.text","output.media"],"label":"Submit post for approval","options":{"id":"content_posts_list"}},
652
+ 'content_posts_create': {"pii":["output.author","output.text","output.media","output.targets"],"label":"Create draft post"},
653
+ 'content_posts_get': {"pii":["output.author","output.text","output.media","output.targets"],"label":"Get post","options":{"id":"content_posts_list"}},
654
+ 'content_posts_list': {"pii":["output.posts[].author","output.posts[].text","output.posts[].media","output.posts[].targets"],"label":"List posts"},
655
+ 'content_posts_submit': {"pii":["output.author","output.text","output.media","output.targets"],"label":"Submit post for approval","options":{"id":"content_posts_list"}},
640
656
  'content_publications_cancel': {"label":"Cancel publication","options":{"id":"content_publications_list"}},
641
657
  'content_publications_publish': {"label":"Publish now","options":{"postId":"content_posts_list","channelId":"content_channels_list"},"completion_event":"content/publication.settled"},
642
658
  'content_publications_schedule': {"label":"Schedule publication","options":{"postId":"content_posts_list","channelId":"content_channels_list"},"completion_event":"content/publication.settled"},
@@ -686,6 +702,9 @@ export const compositions: Record<string, ToolComposition> = {
686
702
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
687
703
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
688
704
  'mail_usage_get': {"label":"Get usage"},
705
+ 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
706
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
707
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
689
708
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
690
709
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
691
710
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetClearInput, OrganizationBillingBudgetClearOutput, OrganizationBillingBudgetResumeInput, OrganizationBillingBudgetResumeOutput, OrganizationBillingBudgetSetInput, OrganizationBillingBudgetSetOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationPrincipalGrantsApproveInput, OrganizationPrincipalGrantsApproveOutput, OrganizationPrincipalGrantsListInput, OrganizationPrincipalGrantsListOutput, OrganizationPrincipalGrantsRevokeInput, OrganizationPrincipalGrantsRevokeOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductErasureGetInput, OrganizationProductErasureGetOutput, OrganizationProductErasureListInput, OrganizationProductErasureListOutput, OrganizationProductErasureRequestInput, OrganizationProductErasureRequestOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
3
+ export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationPrincipalGrantsApproveInput, OrganizationPrincipalGrantsApproveOutput, OrganizationPrincipalGrantsListInput, OrganizationPrincipalGrantsListOutput, OrganizationPrincipalGrantsRevokeInput, OrganizationPrincipalGrantsRevokeOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductErasureGetInput, OrganizationProductErasureGetOutput, OrganizationProductErasureListInput, OrganizationProductErasureListOutput, OrganizationProductErasureRequestInput, OrganizationProductErasureRequestOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
@@ -3,11 +3,10 @@ import type { GeneratedClient } from '../client.gen';
3
3
  import type {
4
4
  OrganizationAuthMeInput,
5
5
  OrganizationAuthMeOutput,
6
- OrganizationBillingBudgetClearInput,
7
- OrganizationBillingBudgetResumeInput,
8
- OrganizationBillingBudgetSetInput,
9
6
  OrganizationBillingBudgetsGetInput,
10
7
  OrganizationBillingBudgetsGetOutput,
8
+ OrganizationBillingCapsClearInput,
9
+ OrganizationBillingCapsSetInput,
11
10
  OrganizationBindingsListInput,
12
11
  OrganizationBindingsListOutput,
13
12
  OrganizationClickupInstallInput,
@@ -133,24 +132,19 @@ export const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: Orga
133
132
  queryFn: () => sdk['organization']['auth']['me'](input),
134
133
  });
135
134
 
136
- export const organizationBillingBudgetClearMutationOptions = (sdk: GeneratedClient) => ({
137
- mutationKey: ['organization', 'billing-budget', 'clear'],
138
- mutationFn: (input: OrganizationBillingBudgetClearInput) => sdk['organization']['billing-budget']['clear'](input),
139
- });
140
-
141
- export const organizationBillingBudgetResumeMutationOptions = (sdk: GeneratedClient) => ({
142
- mutationKey: ['organization', 'billing-budget', 'resume'],
143
- mutationFn: (input: OrganizationBillingBudgetResumeInput) => sdk['organization']['billing-budget']['resume'](input),
135
+ export const organizationBillingBudgetsGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingBudgetsGetInput) => ({
136
+ queryKey: ['organization', 'billing-budgets', 'get', input] as const,
137
+ queryFn: () => sdk['organization']['billing-budgets']['get'](input),
144
138
  });
145
139
 
146
- export const organizationBillingBudgetSetMutationOptions = (sdk: GeneratedClient) => ({
147
- mutationKey: ['organization', 'billing-budget', 'set'],
148
- mutationFn: (input: OrganizationBillingBudgetSetInput) => sdk['organization']['billing-budget']['set'](input),
140
+ export const organizationBillingCapsClearMutationOptions = (sdk: GeneratedClient) => ({
141
+ mutationKey: ['organization', 'billing-caps', 'clear'],
142
+ mutationFn: (input: OrganizationBillingCapsClearInput) => sdk['organization']['billing-caps']['clear'](input),
149
143
  });
150
144
 
151
- export const organizationBillingBudgetsGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingBudgetsGetInput) => ({
152
- queryKey: ['organization', 'billing-budgets', 'get', input] as const,
153
- queryFn: () => sdk['organization']['billing-budgets']['get'](input),
145
+ export const organizationBillingCapsSetMutationOptions = (sdk: GeneratedClient) => ({
146
+ mutationKey: ['organization', 'billing-caps', 'set'],
147
+ mutationFn: (input: OrganizationBillingCapsSetInput) => sdk['organization']['billing-caps']['set'](input),
154
148
  });
155
149
 
156
150
  export const organizationBindingsListQueryOptions = (sdk: GeneratedClient, input: OrganizationBindingsListInput) => ({
@@ -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, PlaygroundEchoPingInput, PlaygroundEchoPingOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen';
@@ -0,0 +1,119 @@
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
+ PlaygroundEchoPingInput,
15
+ PlaygroundEchoPingOutput,
16
+ PlaygroundGdriveGetLastChangeInput,
17
+ PlaygroundGdriveGetLastChangeOutput,
18
+ PlaygroundGdriveReadFileInput,
19
+ PlaygroundGdriveReadFileOutput,
20
+ PlaygroundGoogleadsReadCustomerInput,
21
+ PlaygroundGoogleadsReadCustomerOutput,
22
+ PlaygroundLifecycleGetStateInput,
23
+ PlaygroundLifecycleGetStateOutput,
24
+ PlaygroundLifecycleListEventsInput,
25
+ PlaygroundLifecycleListEventsOutput,
26
+ PlaygroundWebhookGetLastInput,
27
+ PlaygroundWebhookGetLastOutput,
28
+ PlaygroundWorkflowEchoInput,
29
+ PlaygroundWorkflowEchoListInput,
30
+ PlaygroundWorkflowEchoListOutput,
31
+ PlaygroundWorkflowPingInput,
32
+ PlaygroundWorkflowSubjectsListInput,
33
+ PlaygroundWorkflowSubjectsListOutput,
34
+ } from '../types.gen';
35
+
36
+ export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
37
+ queryKey: ['playground', 'analytics', 'overview', input] as const,
38
+ queryFn: () => sdk['playground']['analytics']['overview'](input),
39
+ });
40
+
41
+ export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
42
+ queryKey: ['playground', 'billing', 'entitlements', input] as const,
43
+ queryFn: () => sdk['playground']['billing']['entitlements'](input),
44
+ });
45
+
46
+ export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
47
+ mutationKey: ['playground', 'billing', 'record-usage'],
48
+ mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
49
+ });
50
+
51
+ export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
52
+ mutationKey: ['playground', 'clickup', 'create-task'],
53
+ mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
54
+ });
55
+
56
+ export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
57
+ queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
58
+ queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
59
+ });
60
+
61
+ export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
62
+ queryKey: ['playground', 'clickup', 'get-overview', input] as const,
63
+ queryFn: () => sdk['playground']['clickup']['get-overview'](input),
64
+ });
65
+
66
+ export const playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({
67
+ queryKey: ['playground', 'echo', 'ping', input] as const,
68
+ queryFn: () => sdk['playground']['echo']['ping'](input),
69
+ });
70
+
71
+ export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
72
+ queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
73
+ queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
74
+ });
75
+
76
+ export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
77
+ queryKey: ['playground', 'gdrive', 'read-file', input] as const,
78
+ queryFn: () => sdk['playground']['gdrive']['read-file'](input),
79
+ });
80
+
81
+ export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
82
+ queryKey: ['playground', 'googleads', 'read-customer', input] as const,
83
+ queryFn: () => sdk['playground']['googleads']['read-customer'](input),
84
+ });
85
+
86
+ export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
87
+ queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
88
+ queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
89
+ });
90
+
91
+ export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
92
+ queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
93
+ queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
94
+ });
95
+
96
+ export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
97
+ queryKey: ['playground', 'webhook', 'get-last', input] as const,
98
+ queryFn: () => sdk['playground']['webhook']['get-last'](input),
99
+ });
100
+
101
+ export const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({
102
+ mutationKey: ['playground', 'workflow', 'echo'],
103
+ mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),
104
+ });
105
+
106
+ export const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({
107
+ queryKey: ['playground', 'workflow', 'echo-list', input] as const,
108
+ queryFn: () => sdk['playground']['workflow']['echo-list'](input),
109
+ });
110
+
111
+ export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({
112
+ mutationKey: ['playground', 'workflow', 'ping'],
113
+ mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
114
+ });
115
+
116
+ export const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({
117
+ queryKey: ['playground', 'workflow', 'subjects-list', input] as const,
118
+ queryFn: () => sdk['playground']['workflow']['subjects-list'](input),
119
+ });