@lessly/sdk-app 72.1.0 → 73.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.
@@ -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', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist', 'workflow'] as const;
4
+ export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist', 'workflow'] as const;
5
5
 
6
6
  export const operations: Record<string, ToolLevel> = {
7
7
  'analytics_catalog_get': 'read',
@@ -394,22 +394,6 @@ export const operations: Record<string, ToolLevel> = {
394
394
  'organization_support_threads_list': 'read',
395
395
  'organization_x_install': 'read',
396
396
  'organization_youtube_install': 'read',
397
- 'playground_analytics_overview': 'read',
398
- 'playground_billing_entitlements': 'read',
399
- 'playground_billing_record-usage': 'write',
400
- 'playground_clickup_create-task': 'write',
401
- 'playground_clickup_get-last-webhook': 'read',
402
- 'playground_clickup_get-overview': 'read',
403
- 'playground_gdrive_get-last-change': 'read',
404
- 'playground_gdrive_read-file': 'read',
405
- 'playground_googleads_read-customer': 'read',
406
- 'playground_lifecycle_get-state': 'read',
407
- 'playground_lifecycle_list-events': 'read',
408
- 'playground_webhook_get-last': 'read',
409
- 'playground_workflow_echo': 'write',
410
- 'playground_workflow_echo-list': 'read',
411
- 'playground_workflow_ping': 'write',
412
- 'playground_workflow_subjects-list': 'read',
413
397
  'realtime_archive_export': 'admin',
414
398
  'realtime_archive_export_status': 'read',
415
399
  'realtime_archive_get': 'read',
@@ -489,7 +473,6 @@ export const operations: Record<string, ToolLevel> = {
489
473
  'tracking_domains_verify': 'write',
490
474
  'tracking_event-names_archive': 'write',
491
475
  'tracking_event-names_list': 'read',
492
- 'tracking_event-names_set-conversion': 'write',
493
476
  'tracking_event-names_unarchive': 'write',
494
477
  'tracking_googleads_connection_status': 'read',
495
478
  'tracking_googleads_conversion_actions': 'read',
@@ -612,33 +595,6 @@ export const operations: Record<string, ToolLevel> = {
612
595
  };
613
596
 
614
597
  export const compositions: Record<string, ToolComposition> = {
615
- 'brain_cognition_digest': {"label":"Run cognition digest","completion_event":"brain/cognition.digest-completed"},
616
- 'brain_cognition_sweep': {"label":"Run cognition sweep","completion_event":"brain/cognition.sweep-completed"},
617
- 'brain_daemon_reingest': {"label":"Reingest daemon source","options":{"id":"brain_daemons_list"}},
618
- 'brain_daemon_run': {"label":"Run ingestion daemon","options":{"id":"brain_daemons_list"},"completion_event":"brain/daemon.run-completed"},
619
- 'brain_daemon_runs': {"label":"List daemon runs","options":{"id":"brain_daemons_list"}},
620
- 'brain_daemon_status': {"label":"Get daemon status","options":{"id":"brain_daemons_list"}},
621
- 'brain_daemons_list': {"label":"List daemons"},
622
- 'brain_knowledge_entity_memories': {"pii":["input.entity_ref","output.entity.canonical_name","output.entity.display_name","output.entity.aliases","output.entity.description","output.memories[].content","output.memories[].custom"],"label":"List entity memories"},
623
- 'brain_knowledge_graph': {"pii":["output.nodes[].canonical_name","output.nodes[].display_name","output.nodes[].aliases","output.nodes[].description","output.edges[].reason"],"label":"Export knowledge graph"},
624
- 'brain_knowledge_neighborhood': {"pii":["input.entity_ref","output.root.canonical_name","output.root.display_name","output.root.aliases","output.root.description","output.entities[].canonical_name","output.entities[].display_name","output.entities[].aliases","output.entities[].description","output.relations[].source_display_name","output.relations[].source_canonical_name","output.relations[].target_display_name","output.relations[].target_canonical_name","output.relations[].reason"],"label":"Expand entity neighborhood"},
625
- 'brain_knowledge_relations': {"pii":["input.source_entity","input.target_entity","output.relations[].source_display_name","output.relations[].source_canonical_name","output.relations[].target_display_name","output.relations[].target_canonical_name","output.relations[].reason"],"label":"List knowledge relations"},
626
- 'brain_knowledge_search': {"pii":["input.name","output.entities[].canonical_name","output.entities[].display_name","output.entities[].aliases","output.entities[].description"],"label":"Search knowledge entities"},
627
- 'brain_memory_add': {"pii":["input.content","input.metadata"],"label":"Add memory"},
628
- 'brain_memory_delete': {"label":"Delete memory"},
629
- 'brain_memory_get': {"pii":["output.content"],"label":"Get memory"},
630
- 'brain_memory_list': {"pii":["output.memories[].content","output.memories[].custom"],"label":"List memories"},
631
- 'brain_memory_search': {"pii":["input.query","output.profile[].content","output.normal[].content","output.proactive[].content"],"label":"Search memories"},
632
- 'brain_memory_stats': {"label":"Memory stats"},
633
- 'brain_memory_update': {"pii":["input.content"],"label":"Update memory"},
634
- 'brain_usage_report': {"label":"Get usage report"},
635
- 'content_metrics_post_series': {"label":"Read post metrics","options":{"id":"content_publications_list"}},
636
- 'content_posts_create': {"pii":["output.author"],"label":"Create draft post"},
637
- 'content_posts_submit': {"pii":["output.author"],"label":"Submit post for approval","options":{"id":"content_posts_list"}},
638
- 'content_publications_cancel': {"label":"Cancel publication","options":{"id":"content_publications_list"}},
639
- 'content_publications_publish': {"label":"Publish now","options":{"postId":"content_posts_list","channelId":"content_channels_list"},"completion_event":"content/publication.published"},
640
- 'content_publications_schedule': {"label":"Schedule publication","options":{"postId":"content_posts_list","channelId":"content_channels_list"},"completion_event":"content/publication.published"},
641
- 'content_publications_validate': {"label":"Validate post against channels","options":{"postId":"content_posts_list"}},
642
598
  'mail_audience_create': {"label":"Create audience"},
643
599
  'mail_audience_delete': {"label":"Delete audience"},
644
600
  'mail_audience_get': {"label":"Get audience"},
@@ -678,9 +634,6 @@ export const compositions: Record<string, ToolComposition> = {
678
634
  'mail_template_publish': {"label":"Publish template"},
679
635
  'mail_template_update': {"label":"Update template"},
680
636
  'mail_usage_get': {"label":"Get usage"},
681
- 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
682
- 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
683
- 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
684
637
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent profile"},
685
638
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
686
639
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
@@ -715,42 +668,6 @@ export const compositions: Record<string, ToolComposition> = {
715
668
  'support_thread_list': {"pii":["input.authorExternalId","output.threads[].title","output.threads[].authorExternalId","output.threads[].authorDisplay"],"label":"List support threads","options":{"labelIds":"support_label_list","statusId":"support_status_list","assignedAgentId":"support_agent_list"}},
716
669
  'support_thread_status_set': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Move thread to status","options":{"id":"support_thread_list","statusId":"support_status_list"}},
717
670
  'support_thread_update': {"pii":["input.title","output.title","output.authorExternalId","output.authorDisplay"],"label":"Update thread","options":{"id":"support_thread_list","labelIds":"support_label_list"}},
718
- 'tracking_domains_create': {"label":"Claim tracking host","options":{"domainId":"tracking_domains_list"}},
719
- 'tracking_domains_delete': {"label":"Release domain binding","options":{"bindingId":"tracking_domains_list"}},
720
- 'tracking_domains_get': {"label":"Get domain binding","options":{"bindingId":"tracking_domains_list"}},
721
- 'tracking_domains_list': {"label":"List tracking domains"},
722
- 'tracking_domains_verify': {"label":"Verify domain binding","options":{"bindingId":"tracking_domains_list"},"completion_event":"tracking/domain.verification-completed"},
723
- 'tracking_event-names_archive': {"label":"Archive event name","options":{"name":"tracking_event-names_list"}},
724
- 'tracking_event-names_list': {"label":"List event names"},
725
- 'tracking_event-names_set-conversion': {"label":"Mark event as workflow trigger","options":{"name":"tracking_event-names_list"}},
726
- 'tracking_event-names_unarchive': {"label":"Unarchive event name","options":{"name":"tracking_event-names_list"}},
727
- 'tracking_googleads_connection_status': {"label":"Google Ads connection status"},
728
- 'tracking_googleads_conversion_actions': {"label":"List Google conversion actions"},
729
- 'tracking_googleads_feedback_config_get': {"label":"Get conversion-feedback config"},
730
- 'tracking_googleads_feedback_config_set': {"label":"Set conversion-feedback config","options":{"rules[].event":"tracking_event-names_list","rules[].conversionAction":"tracking_googleads_conversion_actions"}},
731
- 'tracking_googleads_feedback_run': {"label":"Run conversion-feedback upload","completion_event":"tracking/googleads.feedback-completed"},
732
- 'tracking_googleads_feedback_status': {"label":"Conversion-feedback status"},
733
- 'tracking_googleads_roas_report': {"label":"Google Ads ROAS report","options":{"domain":"tracking_install-domains_list"}},
734
- 'tracking_googleads_sync_now': {"label":"Sync Google Ads data","completion_event":"tracking/googleads.sync-completed"},
735
- 'tracking_googleads_tracking_health': {"pii":["output.sampleUntaggedUrls"],"label":"Google Ads tracking health"},
736
- 'tracking_googleads_us_vs_platform': {"label":"Our data vs Google Ads","options":{"domain":"tracking_install-domains_list"}},
737
- 'tracking_identity_health': {"label":"Identity match-rate health"},
738
- 'tracking_install-domains_create': {"label":"Register install domain"},
739
- 'tracking_install-domains_delete': {"label":"Unregister install domain","options":{"domain":"tracking_install-domains_list"}},
740
- 'tracking_install-domains_list': {"label":"List install-verification domains"},
741
- 'tracking_link-domains_create': {"label":"Add domain to linking group"},
742
- 'tracking_link-domains_delete': {"label":"Remove domain from linking group","options":{"domain":"tracking_link-domains_list"}},
743
- 'tracking_link-domains_list': {"label":"List cross-domain linking group"},
744
- 'tracking_live-events_list': {"pii":["output.events[].anonymousId","output.events[].url","output.events[].title","output.events[].source.referrer"],"label":"List live events","options":{"domain":"tracking_install-domains_list"}},
745
- 'tracking_profiles_delete': {"pii":["input.profileId","output.profileId"],"label":"Erase person (GDPR)","completion_event":"tracking/profile.erasure-completed"},
746
- 'tracking_profiles_export': {"pii":["input.profileId","output.profile.profileId","output.signals.emails","output.signals.phones","output.signals.clickIds[].value","output.journey[].url","output.journey[].title","output.journey[].referrer","output.journey[].source.clickId"],"label":"Export person"},
747
- 'tracking_profiles_get': {"pii":["input.profileId","output.profile.profileId","output.signals.emails","output.signals.phones","output.signals.clickIds[].value","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Get person"},
748
- 'tracking_profiles_list': {"pii":["input.email","output.profiles[].profileId","output.profiles[].emails"],"label":"List people"},
749
- 'tracking_reports_attributed_journey': {"pii":["input.profileId","output.profileId","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Attributed journey"},
750
- 'tracking_reports_event_volume': {"label":"Event volume report","options":{"domain":"tracking_install-domains_list"}},
751
- 'tracking_reports_revenue_by_source': {"label":"Revenue by source","options":{"domain":"tracking_install-domains_list"}},
752
- 'tracking_reports_source_people': {"pii":["output.people[].profileId"],"label":"People behind a source","options":{"domain":"tracking_install-domains_list"}},
753
- 'tracking_snippets_get': {"label":"Get tracking snippet"},
754
671
  'users_apikeys_create': {"label":"Create API key","secrets":["output.key"]},
755
672
  'users_apikeys_revoke': {"label":"Revoke API key","options":{"id":"users_apikeys_list"}},
756
673
  'users_audit_list': {"pii":["output.events[].ip","output.events[].userAgent","output.events[].metadata"],"label":"List audit events"},
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { TrackingDomainsCreateInput, TrackingDomainsCreateOutput, TrackingDomainsDeleteInput, TrackingDomainsDeleteOutput, TrackingDomainsGetInput, TrackingDomainsGetOutput, TrackingDomainsListInput, TrackingDomainsListOutput, TrackingDomainsVerifyInput, TrackingDomainsVerifyOutput, TrackingEventNamesArchiveInput, TrackingEventNamesArchiveOutput, TrackingEventNamesListInput, TrackingEventNamesListOutput, TrackingEventNamesSetConversionInput, TrackingEventNamesSetConversionOutput, TrackingEventNamesUnarchiveInput, TrackingEventNamesUnarchiveOutput, TrackingGoogleadsConnectionStatusInput, TrackingGoogleadsConnectionStatusOutput, TrackingGoogleadsConversionActionsInput, TrackingGoogleadsConversionActionsOutput, TrackingGoogleadsFeedbackConfigGetInput, TrackingGoogleadsFeedbackConfigGetOutput, TrackingGoogleadsFeedbackConfigSetInput, TrackingGoogleadsFeedbackConfigSetOutput, TrackingGoogleadsFeedbackRunInput, TrackingGoogleadsFeedbackRunOutput, TrackingGoogleadsFeedbackStatusInput, TrackingGoogleadsFeedbackStatusOutput, TrackingGoogleadsFeedbackUploadsInput, TrackingGoogleadsFeedbackUploadsOutput, TrackingGoogleadsRoasReportInput, TrackingGoogleadsRoasReportOutput, TrackingGoogleadsSyncNowInput, TrackingGoogleadsSyncNowOutput, TrackingGoogleadsTrackingHealthInput, TrackingGoogleadsTrackingHealthOutput, TrackingGoogleadsUsVsPlatformInput, TrackingGoogleadsUsVsPlatformOutput, TrackingIdentityHealthInput, TrackingIdentityHealthOutput, TrackingInstallDomainsCreateInput, TrackingInstallDomainsCreateOutput, TrackingInstallDomainsDeleteInput, TrackingInstallDomainsDeleteOutput, TrackingInstallDomainsListInput, TrackingInstallDomainsListOutput, TrackingLinkDomainsCreateInput, TrackingLinkDomainsCreateOutput, TrackingLinkDomainsDeleteInput, TrackingLinkDomainsDeleteOutput, TrackingLinkDomainsListInput, TrackingLinkDomainsListOutput, TrackingLiveEventsListInput, TrackingLiveEventsListOutput, TrackingProfilesDeleteInput, TrackingProfilesDeleteOutput, TrackingProfilesExportInput, TrackingProfilesExportOutput, TrackingProfilesGetInput, TrackingProfilesGetOutput, TrackingProfilesListInput, TrackingProfilesListOutput, TrackingReportsAttributedJourneyInput, TrackingReportsAttributedJourneyOutput, TrackingReportsEventVolumeInput, TrackingReportsEventVolumeOutput, TrackingReportsRevenueBySourceInput, TrackingReportsRevenueBySourceOutput, TrackingReportsSourcePeopleInput, TrackingReportsSourcePeopleOutput, TrackingSnippetsGetInput, TrackingSnippetsGetOutput } from '../types.gen';
3
+ export type { TrackingDomainsCreateInput, TrackingDomainsCreateOutput, TrackingDomainsDeleteInput, TrackingDomainsDeleteOutput, TrackingDomainsGetInput, TrackingDomainsGetOutput, TrackingDomainsListInput, TrackingDomainsListOutput, TrackingDomainsVerifyInput, TrackingDomainsVerifyOutput, TrackingEventNamesArchiveInput, TrackingEventNamesArchiveOutput, TrackingEventNamesListInput, TrackingEventNamesListOutput, TrackingEventNamesUnarchiveInput, TrackingEventNamesUnarchiveOutput, TrackingGoogleadsConnectionStatusInput, TrackingGoogleadsConnectionStatusOutput, TrackingGoogleadsConversionActionsInput, TrackingGoogleadsConversionActionsOutput, TrackingGoogleadsFeedbackConfigGetInput, TrackingGoogleadsFeedbackConfigGetOutput, TrackingGoogleadsFeedbackConfigSetInput, TrackingGoogleadsFeedbackConfigSetOutput, TrackingGoogleadsFeedbackRunInput, TrackingGoogleadsFeedbackRunOutput, TrackingGoogleadsFeedbackStatusInput, TrackingGoogleadsFeedbackStatusOutput, TrackingGoogleadsFeedbackUploadsInput, TrackingGoogleadsFeedbackUploadsOutput, TrackingGoogleadsRoasReportInput, TrackingGoogleadsRoasReportOutput, TrackingGoogleadsSyncNowInput, TrackingGoogleadsSyncNowOutput, TrackingGoogleadsTrackingHealthInput, TrackingGoogleadsTrackingHealthOutput, TrackingGoogleadsUsVsPlatformInput, TrackingGoogleadsUsVsPlatformOutput, TrackingIdentityHealthInput, TrackingIdentityHealthOutput, TrackingInstallDomainsCreateInput, TrackingInstallDomainsCreateOutput, TrackingInstallDomainsDeleteInput, TrackingInstallDomainsDeleteOutput, TrackingInstallDomainsListInput, TrackingInstallDomainsListOutput, TrackingLinkDomainsCreateInput, TrackingLinkDomainsCreateOutput, TrackingLinkDomainsDeleteInput, TrackingLinkDomainsDeleteOutput, TrackingLinkDomainsListInput, TrackingLinkDomainsListOutput, TrackingLiveEventsListInput, TrackingLiveEventsListOutput, TrackingProfilesDeleteInput, TrackingProfilesDeleteOutput, TrackingProfilesExportInput, TrackingProfilesExportOutput, TrackingProfilesGetInput, TrackingProfilesGetOutput, TrackingProfilesListInput, TrackingProfilesListOutput, TrackingReportsAttributedJourneyInput, TrackingReportsAttributedJourneyOutput, TrackingReportsEventVolumeInput, TrackingReportsEventVolumeOutput, TrackingReportsRevenueBySourceInput, TrackingReportsRevenueBySourceOutput, TrackingReportsSourcePeopleInput, TrackingReportsSourcePeopleOutput, TrackingSnippetsGetInput, TrackingSnippetsGetOutput } from '../types.gen';
@@ -11,7 +11,6 @@ import type {
11
11
  TrackingEventNamesArchiveInput,
12
12
  TrackingEventNamesListInput,
13
13
  TrackingEventNamesListOutput,
14
- TrackingEventNamesSetConversionInput,
15
14
  TrackingEventNamesUnarchiveInput,
16
15
  TrackingGoogleadsConnectionStatusInput,
17
16
  TrackingGoogleadsConnectionStatusOutput,
@@ -98,11 +97,6 @@ export const trackingEventNamesListQueryOptions = (sdk: GeneratedClient, input:
98
97
  queryFn: () => sdk['tracking']['event-names']['list'](input),
99
98
  });
100
99
 
101
- export const trackingEventNamesSetConversionMutationOptions = (sdk: GeneratedClient) => ({
102
- mutationKey: ['tracking', 'event-names', 'set-conversion'],
103
- mutationFn: (input: TrackingEventNamesSetConversionInput) => sdk['tracking']['event-names']['set-conversion'](input),
104
- });
105
-
106
100
  export const trackingEventNamesUnarchiveMutationOptions = (sdk: GeneratedClient) => ({
107
101
  mutationKey: ['tracking', 'event-names', 'unarchive'],
108
102
  mutationFn: (input: TrackingEventNamesUnarchiveInput) => sdk['tracking']['event-names']['unarchive'](input),
@@ -85971,356 +85971,6 @@ export interface OrganizationYoutubeInstallOutput {
85971
85971
  url: string
85972
85972
  }
85973
85973
 
85974
- export interface PlaygroundAnalyticsOverviewInput {
85975
- /**
85976
- * Max records per entity in recent[]; omit for the endpoint default
85977
- */
85978
- limit?: number
85979
- }
85980
-
85981
- export interface PlaygroundAnalyticsOverviewOutput {
85982
- ok: boolean
85983
- minted: boolean
85984
- overview?: unknown
85985
- http_status: number
85986
- }
85987
-
85988
- export interface PlaygroundBillingEntitlementsInput {
85989
-
85990
- }
85991
-
85992
- export interface PlaygroundBillingEntitlementsOutput {
85993
- ok: boolean
85994
- minted: boolean
85995
- http_status: number
85996
- entitlements?: unknown
85997
- }
85998
-
85999
- export interface PlaygroundBillingRecordUsageInput {
86000
- /**
86001
- * Quantity of events to record against playground-events (SUM); defaults to 1
86002
- */
86003
- value?: number
86004
- }
86005
-
86006
- export interface PlaygroundBillingRecordUsageOutput {
86007
- minted: boolean
86008
- accepted: (number | null)
86009
- recorded: boolean
86010
- duplicates: (number | null)
86011
- http_status: number
86012
- }
86013
-
86014
- export interface PlaygroundClickupCreateTaskInput {
86015
- /**
86016
- * Task title; defaults to a fixture label
86017
- */
86018
- name?: string
86019
- /**
86020
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
86021
- */
86022
- listId?: string
86023
- }
86024
-
86025
- export interface PlaygroundClickupCreateTaskOutput {
86026
- minted: boolean
86027
- task_id: (string | null)
86028
- list_status: number
86029
- vend_status: number
86030
- clickup_status: number
86031
- installation_count: number
86032
- }
86033
-
86034
- export interface PlaygroundClickupGetLastWebhookInput {
86035
-
86036
- }
86037
-
86038
- export type PlaygroundClickupGetLastWebhookOutput = ({
86039
- payload: string
86040
- event_id: string
86041
- provider: string
86042
- verified: boolean
86043
- product_id: string
86044
- occurred_at: string
86045
- connector_id: string
86046
- clickup_event: (string | null)
86047
- receipt_count: number
86048
- } | {
86049
- found: false
86050
- })
86051
-
86052
- export interface PlaygroundClickupGetOverviewInput {
86053
-
86054
- }
86055
-
86056
- export interface PlaygroundClickupGetOverviewOutput {
86057
- team: ({
86058
- teamId: string
86059
- teamName: string
86060
- } | null)
86061
- lists: PlaygroundClickupGetOverviewOutputItems[]
86062
- tasks: {
86063
- id: string
86064
- name: string
86065
- status: (string | null)
86066
- }[]
86067
- minted: boolean
86068
- spaces: PlaygroundClickupGetOverviewOutputItems[]
86069
- list_status: number
86070
- vend_status: number
86071
- lists_status: number
86072
- tasks_status: number
86073
- spaces_status: number
86074
- folders_status: number
86075
- installation_count: number
86076
- }
86077
- export interface PlaygroundClickupGetOverviewOutputItems {
86078
- id: string
86079
- name: string
86080
- }
86081
-
86082
- export interface PlaygroundGdriveGetLastChangeInput {
86083
-
86084
- }
86085
-
86086
- export type PlaygroundGdriveGetLastChangeOutput = ({
86087
- file_id: string
86088
- removed: boolean
86089
- file_name: (string | null)
86090
- mime_type: (string | null)
86091
- product_id: string
86092
- occurred_at: string
86093
- connector_id: string
86094
- resource_state: string
86095
- } | {
86096
- found: false
86097
- })
86098
-
86099
- export interface PlaygroundGdriveReadFileInput {
86100
- /**
86101
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
86102
- */
86103
- fileId?: string
86104
- }
86105
-
86106
- export interface PlaygroundGdriveReadFileOutput {
86107
- minted: boolean
86108
- file_id: (string | null)
86109
- file_name: (string | null)
86110
- mime_type: (string | null)
86111
- file_count: number
86112
- get_status: number
86113
- list_status: number
86114
- vend_status: number
86115
- content_bytes: (number | null)
86116
- }
86117
-
86118
- export interface PlaygroundGoogleadsReadCustomerInput {
86119
-
86120
- }
86121
-
86122
- export interface PlaygroundGoogleadsReadCustomerOutput {
86123
- minted: boolean
86124
- vended: boolean
86125
- customer_id: (string | null)
86126
- vend_status: number
86127
- result_count: number
86128
- search_status: number
86129
- login_customer_id: (string | null)
86130
- }
86131
-
86132
- export interface PlaygroundLifecycleGetStateInput {
86133
-
86134
- }
86135
-
86136
- export interface PlaygroundLifecycleGetStateOutput {
86137
- blocked: boolean
86138
- archived: boolean
86139
- productId: string
86140
- lastBlockTransition: ({
86141
- eventId: string
86142
- eventName: string
86143
- productId: string
86144
- occurredAt: string
86145
- recordedAt: string
86146
- receiptCount: number
86147
- organizationId: string
86148
- cascadedFromOrg: boolean
86149
- } | null)
86150
- lastArchiveTransition: ({
86151
- eventId: string
86152
- eventName: string
86153
- productId: string
86154
- occurredAt: string
86155
- recordedAt: string
86156
- receiptCount: number
86157
- organizationId: string
86158
- cascadedFromOrg: boolean
86159
- } | null)
86160
- }
86161
-
86162
- export interface PlaygroundLifecycleListEventsInput {
86163
-
86164
- }
86165
-
86166
- export type PlaygroundLifecycleListEventsOutput = {
86167
- eventId: string
86168
- eventName: string
86169
- productId: string
86170
- occurredAt: string
86171
- recordedAt: string
86172
- receiptCount: number
86173
- organizationId: string
86174
- cascadedFromOrg: boolean
86175
- }[]
86176
-
86177
- export interface PlaygroundWebhookGetLastInput {
86178
-
86179
- }
86180
-
86181
- export type PlaygroundWebhookGetLastOutput = ({
86182
- payload?: unknown
86183
- event_id: string
86184
- provider: string
86185
- verified: boolean
86186
- product_id: string
86187
- occurred_at: string
86188
- connector_id: string
86189
- delivery_count: number
86190
- } | {
86191
- found: false
86192
- })
86193
-
86194
- export interface PlaygroundWorkflowEchoInput {
86195
- /**
86196
- * The text to store, 1–1024 characters
86197
- */
86198
- note: string
86199
- /**
86200
- * Optional labels stored alongside the note, at most 20
86201
- *
86202
- * @maxItems 20
86203
- */
86204
- tags?: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
86205
- }
86206
-
86207
- export interface PlaygroundWorkflowEchoOutput {
86208
- /**
86209
- * Identifier of the stored echo
86210
- */
86211
- id: string
86212
- /**
86213
- * The note exactly as it was received
86214
- */
86215
- note: string
86216
- /**
86217
- * The tags exactly as they were received
86218
- */
86219
- tags: string[]
86220
- /**
86221
- * Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
86222
- */
86223
- echo_id: string
86224
- /**
86225
- * ISO-8601 instant (UTC) at which the echo was stored
86226
- */
86227
- received_at: string
86228
- }
86229
-
86230
- export interface PlaygroundWorkflowEchoListInput {
86231
-
86232
- }
86233
-
86234
- export type PlaygroundWorkflowEchoListOutput = {
86235
- /**
86236
- * Identifier of the stored echo
86237
- */
86238
- id: string
86239
- /**
86240
- * The note exactly as it was received
86241
- */
86242
- note: string
86243
- /**
86244
- * The tags exactly as they were received
86245
- */
86246
- tags: string[]
86247
- /**
86248
- * ISO-8601 instant (UTC) at which the echo was stored
86249
- */
86250
- received_at: string
86251
- }[]
86252
-
86253
- export interface PlaygroundWorkflowPingInput {
86254
- /**
86255
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
86256
- */
86257
- kind?: string
86258
- }
86259
-
86260
- export interface PlaygroundWorkflowPingOutput {
86261
- /**
86262
- * Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
86263
- */
86264
- id: string
86265
- /**
86266
- * The name of the event that was published
86267
- */
86268
- event: string
86269
- }
86270
-
86271
- export interface PlaygroundWorkflowSubjectsListInput {
86272
- /**
86273
- * How many subjects to return, 1–100. Defaults to 25.
86274
- */
86275
- limit?: number
86276
- /**
86277
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
86278
- */
86279
- cursor?: string
86280
- /**
86281
- * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
86282
- */
86283
- last_activity_after?: string
86284
- /**
86285
- * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
86286
- */
86287
- last_activity_before?: string
86288
- }
86289
-
86290
- export interface PlaygroundWorkflowSubjectsListOutput {
86291
- /**
86292
- * This page of subjects, most recently active first
86293
- */
86294
- items: {
86295
- /**
86296
- * Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
86297
- */
86298
- subject_key: string
86299
- /**
86300
- * Human-readable name of the subject
86301
- */
86302
- display_name: string
86303
- /**
86304
- * ISO-8601 instant (UTC) of the subject last activity
86305
- */
86306
- last_activity_at: string
86307
- }[]
86308
- /**
86309
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
86310
- */
86311
- has_more: boolean
86312
- /**
86313
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
86314
- */
86315
- next_cursor: (string | null)
86316
- }
86317
-
86318
- export interface PlaygroundWsEchoInput {
86319
-
86320
- }
86321
-
86322
- export type PlaygroundWsEchoOutput = unknown;
86323
-
86324
85974
  export interface RealtimeArchiveExportInput {
86325
85975
  /**
86326
85976
  * Only entries with ts <= to_ts (epoch ms)
@@ -107477,22 +107127,6 @@ isConversion: boolean
107477
107127
  }[]
107478
107128
  }
107479
107129
 
107480
- export interface TrackingEventNamesSetConversionInput {
107481
- /**
107482
- * The event name to mark or unmark
107483
- */
107484
- name: string
107485
- /**
107486
- * true makes this event name a workflow trigger; false stops it being one
107487
- */
107488
- isConversion: boolean
107489
- }
107490
-
107491
- export interface TrackingEventNamesSetConversionOutput {
107492
- name: string
107493
- isConversion: boolean
107494
- }
107495
-
107496
107130
  export interface TrackingEventNamesUnarchiveInput {
107497
107131
  /**
107498
107132
  * The event name to archive/unarchive
@@ -107777,7 +107411,6 @@ window: {
107777
107411
  end: string
107778
107412
  start: string
107779
107413
  }
107780
- productId: string
107781
107414
  lastSyncedAt: (string | null)
107782
107415
  }
107783
107416
 
@@ -1,3 +0,0 @@
1
- import type { LesslyStream, LesslyStreamOpener } from '../../runtime/types.js';
2
- import type { PlaygroundWsEchoInput } from '../types.gen.js';
3
- export declare const playgroundWsEchoConnect: (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput) => LesslyStream;
@@ -1,3 +0,0 @@
1
- export * from './queryOptions.gen.js';
2
- export * from './connect.gen.js';
3
- export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen.js';
@@ -1,66 +0,0 @@
1
- import type { GeneratedClient } from '../client.gen.js';
2
- import type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundClickupCreateTaskInput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput } from '../types.gen.js';
3
- export declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
4
- queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
5
- queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
6
- };
7
- export declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
8
- queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
9
- queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
10
- };
11
- export declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
12
- mutationKey: string[];
13
- mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<import(".").PlaygroundBillingRecordUsageOutput>;
14
- };
15
- export declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
16
- mutationKey: string[];
17
- mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<import(".").PlaygroundClickupCreateTaskOutput>;
18
- };
19
- export declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
20
- queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
21
- queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
22
- };
23
- export declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
24
- queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
25
- queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
26
- };
27
- export declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
28
- queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
29
- queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
30
- };
31
- export declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
32
- queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
33
- queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
34
- };
35
- export declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
36
- queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
37
- queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
38
- };
39
- export declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
40
- queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
41
- queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
42
- };
43
- export declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
44
- queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
45
- queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
46
- };
47
- export declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
48
- queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
49
- queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
50
- };
51
- export declare const playgroundWorkflowEchoMutationOptions: (sdk: GeneratedClient) => {
52
- mutationKey: string[];
53
- mutationFn: (input: PlaygroundWorkflowEchoInput) => Promise<import(".").PlaygroundWorkflowEchoOutput>;
54
- };
55
- export declare const playgroundWorkflowEchoListQueryOptions: (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => {
56
- queryKey: readonly ["playground", "workflow", "echo-list", PlaygroundWorkflowEchoListInput];
57
- queryFn: () => Promise<PlaygroundWorkflowEchoListOutput>;
58
- };
59
- export declare const playgroundWorkflowPingMutationOptions: (sdk: GeneratedClient) => {
60
- mutationKey: string[];
61
- mutationFn: (input: PlaygroundWorkflowPingInput) => Promise<import(".").PlaygroundWorkflowPingOutput>;
62
- };
63
- export declare const playgroundWorkflowSubjectsListQueryOptions: (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => {
64
- queryKey: readonly ["playground", "workflow", "subjects-list", PlaygroundWorkflowSubjectsListInput];
65
- queryFn: () => Promise<PlaygroundWorkflowSubjectsListOutput>;
66
- };