@lessly/sdk-app 124.0.0 → 124.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -12
- package/dist/_types/gen/client.gen.d.ts +56 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/organization/index.d.ts +1 -1
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +25 -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 +70 -0
- package/dist/_types/gen/types.gen.d.ts +374 -0
- package/dist/chunk-XSWIGIE3.js +12565 -0
- package/dist/chunk-XSWIGIE3.js.map +1 -0
- package/dist/index.cjs +309 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -12270
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +30 -0
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +25 -1
- package/dist/organization/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -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 +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +292 -1
- package/src/gen/client.gen.ts +101 -0
- package/src/gen/manifest.gen.ts +27 -1
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +42 -0
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +435 -0
|
@@ -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, OrganizationBillingBudgetClearInput, OrganizationBillingBudgetClearOutput, OrganizationBillingBudgetResumeInput, OrganizationBillingBudgetResumeOutput, OrganizationBillingBudgetSetInput, OrganizationBillingBudgetSetOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingInvoicesListInput, OrganizationBillingInvoicesListOutput, OrganizationBillingOverviewGetInput, OrganizationBillingOverviewGetOutput, OrganizationBillingPlanGetInput, OrganizationBillingPlanGetOutput, OrganizationBillingProductUsageGetInput, OrganizationBillingProductUsageGetOutput, OrganizationBillingUsageDailyGetInput, OrganizationBillingUsageDailyGetOutput, OrganizationBillingUsageGetInput, OrganizationBillingUsageGetOutput, 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';
|
|
@@ -8,6 +8,18 @@ import type {
|
|
|
8
8
|
OrganizationBillingBudgetSetInput,
|
|
9
9
|
OrganizationBillingBudgetsGetInput,
|
|
10
10
|
OrganizationBillingBudgetsGetOutput,
|
|
11
|
+
OrganizationBillingInvoicesListInput,
|
|
12
|
+
OrganizationBillingInvoicesListOutput,
|
|
13
|
+
OrganizationBillingOverviewGetInput,
|
|
14
|
+
OrganizationBillingOverviewGetOutput,
|
|
15
|
+
OrganizationBillingPlanGetInput,
|
|
16
|
+
OrganizationBillingPlanGetOutput,
|
|
17
|
+
OrganizationBillingProductUsageGetInput,
|
|
18
|
+
OrganizationBillingProductUsageGetOutput,
|
|
19
|
+
OrganizationBillingUsageDailyGetInput,
|
|
20
|
+
OrganizationBillingUsageDailyGetOutput,
|
|
21
|
+
OrganizationBillingUsageGetInput,
|
|
22
|
+
OrganizationBillingUsageGetOutput,
|
|
11
23
|
OrganizationBindingsListInput,
|
|
12
24
|
OrganizationBindingsListOutput,
|
|
13
25
|
OrganizationClickupInstallInput,
|
|
@@ -153,6 +165,36 @@ export const organizationBillingBudgetsGetQueryOptions = (sdk: GeneratedClient,
|
|
|
153
165
|
queryFn: () => sdk['organization']['billing-budgets']['get'](input),
|
|
154
166
|
});
|
|
155
167
|
|
|
168
|
+
export const organizationBillingInvoicesListQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingInvoicesListInput) => ({
|
|
169
|
+
queryKey: ['organization', 'billing-invoices', 'list', input] as const,
|
|
170
|
+
queryFn: () => sdk['organization']['billing-invoices']['list'](input),
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
export const organizationBillingOverviewGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingOverviewGetInput) => ({
|
|
174
|
+
queryKey: ['organization', 'billing-overview', 'get', input] as const,
|
|
175
|
+
queryFn: () => sdk['organization']['billing-overview']['get'](input),
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
export const organizationBillingPlanGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingPlanGetInput) => ({
|
|
179
|
+
queryKey: ['organization', 'billing-plan', 'get', input] as const,
|
|
180
|
+
queryFn: () => sdk['organization']['billing-plan']['get'](input),
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
export const organizationBillingProductUsageGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingProductUsageGetInput) => ({
|
|
184
|
+
queryKey: ['organization', 'billing-product-usage', 'get', input] as const,
|
|
185
|
+
queryFn: () => sdk['organization']['billing-product-usage']['get'](input),
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
export const organizationBillingUsageDailyGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingUsageDailyGetInput) => ({
|
|
189
|
+
queryKey: ['organization', 'billing-usage-daily', 'get', input] as const,
|
|
190
|
+
queryFn: () => sdk['organization']['billing-usage-daily']['get'](input),
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
export const organizationBillingUsageGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingUsageGetInput) => ({
|
|
194
|
+
queryKey: ['organization', 'billing-usage', 'get', input] as const,
|
|
195
|
+
queryFn: () => sdk['organization']['billing-usage']['get'](input),
|
|
196
|
+
});
|
|
197
|
+
|
|
156
198
|
export const organizationBindingsListQueryOptions = (sdk: GeneratedClient, input: OrganizationBindingsListInput) => ({
|
|
157
199
|
queryKey: ['organization', 'bindings', 'list', input] as const,
|
|
158
200
|
queryFn: () => sdk['organization']['bindings']['list'](input),
|
|
@@ -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
|
+
});
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -378761,6 +378761,67 @@ export interface OrganizationBillingBudgetsGetOutput {
|
|
|
378761
378761
|
[k: string]: unknown
|
|
378762
378762
|
}
|
|
378763
378763
|
|
|
378764
|
+
export interface OrganizationBillingInvoicesListInput {
|
|
378765
|
+
/**
|
|
378766
|
+
* Invoices per page, at most 100.
|
|
378767
|
+
*/
|
|
378768
|
+
limit?: number
|
|
378769
|
+
/**
|
|
378770
|
+
* next_cursor from the previous page.
|
|
378771
|
+
*/
|
|
378772
|
+
starting_after?: string
|
|
378773
|
+
}
|
|
378774
|
+
|
|
378775
|
+
export interface OrganizationBillingInvoicesListOutput {
|
|
378776
|
+
[k: string]: unknown
|
|
378777
|
+
}
|
|
378778
|
+
|
|
378779
|
+
export interface OrganizationBillingOverviewGetInput {
|
|
378780
|
+
|
|
378781
|
+
}
|
|
378782
|
+
|
|
378783
|
+
export interface OrganizationBillingOverviewGetOutput {
|
|
378784
|
+
[k: string]: unknown
|
|
378785
|
+
}
|
|
378786
|
+
|
|
378787
|
+
export interface OrganizationBillingPlanGetInput {
|
|
378788
|
+
|
|
378789
|
+
}
|
|
378790
|
+
|
|
378791
|
+
export interface OrganizationBillingPlanGetOutput {
|
|
378792
|
+
[k: string]: unknown
|
|
378793
|
+
}
|
|
378794
|
+
|
|
378795
|
+
export interface OrganizationBillingProductUsageGetInput {
|
|
378796
|
+
|
|
378797
|
+
}
|
|
378798
|
+
|
|
378799
|
+
export interface OrganizationBillingProductUsageGetOutput {
|
|
378800
|
+
[k: string]: unknown
|
|
378801
|
+
}
|
|
378802
|
+
|
|
378803
|
+
export interface OrganizationBillingUsageDailyGetInput {
|
|
378804
|
+
/**
|
|
378805
|
+
* UTC calendar month: "current" (the default) or "previous".
|
|
378806
|
+
*/
|
|
378807
|
+
window?: ("current" | "previous")
|
|
378808
|
+
}
|
|
378809
|
+
|
|
378810
|
+
export interface OrganizationBillingUsageDailyGetOutput {
|
|
378811
|
+
[k: string]: unknown
|
|
378812
|
+
}
|
|
378813
|
+
|
|
378814
|
+
export interface OrganizationBillingUsageGetInput {
|
|
378815
|
+
/**
|
|
378816
|
+
* UTC calendar month: "current" (the default) or "previous".
|
|
378817
|
+
*/
|
|
378818
|
+
window?: ("current" | "previous")
|
|
378819
|
+
}
|
|
378820
|
+
|
|
378821
|
+
export interface OrganizationBillingUsageGetOutput {
|
|
378822
|
+
[k: string]: unknown
|
|
378823
|
+
}
|
|
378824
|
+
|
|
378764
378825
|
export interface OrganizationBindingsListInput {
|
|
378765
378826
|
domainId: string
|
|
378766
378827
|
productId: string
|
|
@@ -378841,6 +378902,7 @@ id: string
|
|
|
378841
378902
|
|
|
378842
378903
|
export interface OrganizationConnectorsDeleteOutput {
|
|
378843
378904
|
success: boolean
|
|
378905
|
+
cleanupErrors?: string[]
|
|
378844
378906
|
}
|
|
378845
378907
|
|
|
378846
378908
|
export interface OrganizationConnectorsDenyRequestInput {
|
|
@@ -378966,6 +379028,7 @@ id: string
|
|
|
378966
379028
|
|
|
378967
379029
|
export interface OrganizationConnectorsRemoveOutput {
|
|
378968
379030
|
success: boolean
|
|
379031
|
+
cleanupErrors?: string[]
|
|
378969
379032
|
}
|
|
378970
379033
|
|
|
378971
379034
|
export interface OrganizationConnectorsRequestInput {
|
|
@@ -381992,6 +382055,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
381992
382055
|
url: string
|
|
381993
382056
|
}
|
|
381994
382057
|
|
|
382058
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
382059
|
+
/**
|
|
382060
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
382061
|
+
*/
|
|
382062
|
+
limit?: number
|
|
382063
|
+
}
|
|
382064
|
+
|
|
382065
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
382066
|
+
ok: boolean
|
|
382067
|
+
minted: boolean
|
|
382068
|
+
overview?: unknown
|
|
382069
|
+
http_status: number
|
|
382070
|
+
}
|
|
382071
|
+
|
|
382072
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
382073
|
+
|
|
382074
|
+
}
|
|
382075
|
+
|
|
382076
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
382077
|
+
ok: boolean
|
|
382078
|
+
minted: boolean
|
|
382079
|
+
http_status: number
|
|
382080
|
+
entitlements?: unknown
|
|
382081
|
+
}
|
|
382082
|
+
|
|
382083
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
382084
|
+
/**
|
|
382085
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
382086
|
+
*/
|
|
382087
|
+
value?: number
|
|
382088
|
+
}
|
|
382089
|
+
|
|
382090
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
382091
|
+
minted: boolean
|
|
382092
|
+
accepted: (number | null)
|
|
382093
|
+
recorded: boolean
|
|
382094
|
+
duplicates: (number | null)
|
|
382095
|
+
http_status: number
|
|
382096
|
+
}
|
|
382097
|
+
|
|
382098
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
382099
|
+
/**
|
|
382100
|
+
* Task title; defaults to a fixture label
|
|
382101
|
+
*/
|
|
382102
|
+
name?: string
|
|
382103
|
+
/**
|
|
382104
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
382105
|
+
*/
|
|
382106
|
+
listId?: string
|
|
382107
|
+
}
|
|
382108
|
+
|
|
382109
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
382110
|
+
minted: boolean
|
|
382111
|
+
task_id: (string | null)
|
|
382112
|
+
list_status: number
|
|
382113
|
+
vend_status: number
|
|
382114
|
+
clickup_status: number
|
|
382115
|
+
installation_count: number
|
|
382116
|
+
}
|
|
382117
|
+
|
|
382118
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
382119
|
+
|
|
382120
|
+
}
|
|
382121
|
+
|
|
382122
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
382123
|
+
payload: string
|
|
382124
|
+
event_id: string
|
|
382125
|
+
provider: string
|
|
382126
|
+
verified: boolean
|
|
382127
|
+
product_id: string
|
|
382128
|
+
occurred_at: string
|
|
382129
|
+
connector_id: string
|
|
382130
|
+
clickup_event: (string | null)
|
|
382131
|
+
receipt_count: number
|
|
382132
|
+
} | {
|
|
382133
|
+
found: false
|
|
382134
|
+
})
|
|
382135
|
+
|
|
382136
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
382137
|
+
|
|
382138
|
+
}
|
|
382139
|
+
|
|
382140
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
382141
|
+
team: ({
|
|
382142
|
+
teamId: string
|
|
382143
|
+
teamName: string
|
|
382144
|
+
} | null)
|
|
382145
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
382146
|
+
tasks: {
|
|
382147
|
+
id: string
|
|
382148
|
+
name: string
|
|
382149
|
+
status: (string | null)
|
|
382150
|
+
}[]
|
|
382151
|
+
minted: boolean
|
|
382152
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
382153
|
+
list_status: number
|
|
382154
|
+
vend_status: number
|
|
382155
|
+
lists_status: number
|
|
382156
|
+
tasks_status: number
|
|
382157
|
+
spaces_status: number
|
|
382158
|
+
folders_status: number
|
|
382159
|
+
installation_count: number
|
|
382160
|
+
}
|
|
382161
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
382162
|
+
id: string
|
|
382163
|
+
name: string
|
|
382164
|
+
}
|
|
382165
|
+
|
|
382166
|
+
export interface PlaygroundEchoPingInput {
|
|
382167
|
+
/**
|
|
382168
|
+
* The text to echo back, 1–1024 characters
|
|
382169
|
+
*/
|
|
382170
|
+
message: string
|
|
382171
|
+
}
|
|
382172
|
+
|
|
382173
|
+
export interface PlaygroundEchoPingOutput {
|
|
382174
|
+
/**
|
|
382175
|
+
* The message exactly as it was received
|
|
382176
|
+
*/
|
|
382177
|
+
message: string
|
|
382178
|
+
/**
|
|
382179
|
+
* The product the call was resolved to
|
|
382180
|
+
*/
|
|
382181
|
+
productId: string
|
|
382182
|
+
/**
|
|
382183
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
382184
|
+
*/
|
|
382185
|
+
receivedAt: string
|
|
382186
|
+
}
|
|
382187
|
+
|
|
382188
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
382189
|
+
|
|
382190
|
+
}
|
|
382191
|
+
|
|
382192
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
382193
|
+
file_id: string
|
|
382194
|
+
removed: boolean
|
|
382195
|
+
file_name: (string | null)
|
|
382196
|
+
mime_type: (string | null)
|
|
382197
|
+
product_id: string
|
|
382198
|
+
occurred_at: string
|
|
382199
|
+
connector_id: string
|
|
382200
|
+
resource_state: string
|
|
382201
|
+
} | {
|
|
382202
|
+
found: false
|
|
382203
|
+
})
|
|
382204
|
+
|
|
382205
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
382206
|
+
/**
|
|
382207
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
382208
|
+
*/
|
|
382209
|
+
fileId?: string
|
|
382210
|
+
}
|
|
382211
|
+
|
|
382212
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
382213
|
+
minted: boolean
|
|
382214
|
+
file_id: (string | null)
|
|
382215
|
+
file_name: (string | null)
|
|
382216
|
+
mime_type: (string | null)
|
|
382217
|
+
file_count: number
|
|
382218
|
+
get_status: number
|
|
382219
|
+
list_status: number
|
|
382220
|
+
vend_status: number
|
|
382221
|
+
content_bytes: (number | null)
|
|
382222
|
+
}
|
|
382223
|
+
|
|
382224
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
382225
|
+
|
|
382226
|
+
}
|
|
382227
|
+
|
|
382228
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
382229
|
+
minted: boolean
|
|
382230
|
+
vended: boolean
|
|
382231
|
+
customer_id: (string | null)
|
|
382232
|
+
vend_status: number
|
|
382233
|
+
result_count: number
|
|
382234
|
+
search_status: number
|
|
382235
|
+
login_customer_id: (string | null)
|
|
382236
|
+
}
|
|
382237
|
+
|
|
382238
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
382239
|
+
|
|
382240
|
+
}
|
|
382241
|
+
|
|
382242
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
382243
|
+
blocked: boolean
|
|
382244
|
+
archived: boolean
|
|
382245
|
+
productId: string
|
|
382246
|
+
lastBlockTransition: ({
|
|
382247
|
+
eventId: string
|
|
382248
|
+
eventName: string
|
|
382249
|
+
productId: string
|
|
382250
|
+
occurredAt: string
|
|
382251
|
+
recordedAt: string
|
|
382252
|
+
receiptCount: number
|
|
382253
|
+
organizationId: string
|
|
382254
|
+
cascadedFromOrg: boolean
|
|
382255
|
+
} | null)
|
|
382256
|
+
lastArchiveTransition: ({
|
|
382257
|
+
eventId: string
|
|
382258
|
+
eventName: string
|
|
382259
|
+
productId: string
|
|
382260
|
+
occurredAt: string
|
|
382261
|
+
recordedAt: string
|
|
382262
|
+
receiptCount: number
|
|
382263
|
+
organizationId: string
|
|
382264
|
+
cascadedFromOrg: boolean
|
|
382265
|
+
} | null)
|
|
382266
|
+
}
|
|
382267
|
+
|
|
382268
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
382269
|
+
|
|
382270
|
+
}
|
|
382271
|
+
|
|
382272
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
382273
|
+
eventId: string
|
|
382274
|
+
eventName: string
|
|
382275
|
+
productId: string
|
|
382276
|
+
occurredAt: string
|
|
382277
|
+
recordedAt: string
|
|
382278
|
+
receiptCount: number
|
|
382279
|
+
organizationId: string
|
|
382280
|
+
cascadedFromOrg: boolean
|
|
382281
|
+
}[]
|
|
382282
|
+
|
|
382283
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
382284
|
+
|
|
382285
|
+
}
|
|
382286
|
+
|
|
382287
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
382288
|
+
payload?: unknown
|
|
382289
|
+
event_id: string
|
|
382290
|
+
provider: string
|
|
382291
|
+
verified: boolean
|
|
382292
|
+
product_id: string
|
|
382293
|
+
occurred_at: string
|
|
382294
|
+
connector_id: string
|
|
382295
|
+
delivery_count: number
|
|
382296
|
+
} | {
|
|
382297
|
+
found: false
|
|
382298
|
+
})
|
|
382299
|
+
|
|
382300
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
382301
|
+
/**
|
|
382302
|
+
* The text to store, 1–1024 characters
|
|
382303
|
+
*/
|
|
382304
|
+
note: string
|
|
382305
|
+
/**
|
|
382306
|
+
* Optional labels stored alongside the note, at most 20
|
|
382307
|
+
*
|
|
382308
|
+
* @maxItems 20
|
|
382309
|
+
*/
|
|
382310
|
+
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]
|
|
382311
|
+
}
|
|
382312
|
+
|
|
382313
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
382314
|
+
/**
|
|
382315
|
+
* Identifier of the stored echo
|
|
382316
|
+
*/
|
|
382317
|
+
id: string
|
|
382318
|
+
/**
|
|
382319
|
+
* The note exactly as it was received
|
|
382320
|
+
*/
|
|
382321
|
+
note: string
|
|
382322
|
+
/**
|
|
382323
|
+
* The tags exactly as they were received
|
|
382324
|
+
*/
|
|
382325
|
+
tags: string[]
|
|
382326
|
+
/**
|
|
382327
|
+
* 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.
|
|
382328
|
+
*/
|
|
382329
|
+
echo_id: string
|
|
382330
|
+
/**
|
|
382331
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
382332
|
+
*/
|
|
382333
|
+
received_at: string
|
|
382334
|
+
}
|
|
382335
|
+
|
|
382336
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
382337
|
+
|
|
382338
|
+
}
|
|
382339
|
+
|
|
382340
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
382341
|
+
/**
|
|
382342
|
+
* Identifier of the stored echo
|
|
382343
|
+
*/
|
|
382344
|
+
id: string
|
|
382345
|
+
/**
|
|
382346
|
+
* The note exactly as it was received
|
|
382347
|
+
*/
|
|
382348
|
+
note: string
|
|
382349
|
+
/**
|
|
382350
|
+
* The tags exactly as they were received
|
|
382351
|
+
*/
|
|
382352
|
+
tags: string[]
|
|
382353
|
+
/**
|
|
382354
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
382355
|
+
*/
|
|
382356
|
+
received_at: string
|
|
382357
|
+
}[]
|
|
382358
|
+
|
|
382359
|
+
export interface PlaygroundWorkflowPingInput {
|
|
382360
|
+
/**
|
|
382361
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
382362
|
+
*/
|
|
382363
|
+
kind?: string
|
|
382364
|
+
}
|
|
382365
|
+
|
|
382366
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
382367
|
+
/**
|
|
382368
|
+
* 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.
|
|
382369
|
+
*/
|
|
382370
|
+
id: string
|
|
382371
|
+
/**
|
|
382372
|
+
* The name of the event that was published
|
|
382373
|
+
*/
|
|
382374
|
+
event: string
|
|
382375
|
+
}
|
|
382376
|
+
|
|
382377
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
382378
|
+
/**
|
|
382379
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
382380
|
+
*/
|
|
382381
|
+
limit?: number
|
|
382382
|
+
/**
|
|
382383
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
382384
|
+
*/
|
|
382385
|
+
cursor?: string
|
|
382386
|
+
/**
|
|
382387
|
+
* 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.
|
|
382388
|
+
*/
|
|
382389
|
+
last_activity_after?: string
|
|
382390
|
+
/**
|
|
382391
|
+
* 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.
|
|
382392
|
+
*/
|
|
382393
|
+
last_activity_before?: string
|
|
382394
|
+
}
|
|
382395
|
+
|
|
382396
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
382397
|
+
/**
|
|
382398
|
+
* This page of subjects, most recently active first
|
|
382399
|
+
*/
|
|
382400
|
+
items: {
|
|
382401
|
+
/**
|
|
382402
|
+
* 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.
|
|
382403
|
+
*/
|
|
382404
|
+
subject_key: string
|
|
382405
|
+
/**
|
|
382406
|
+
* Human-readable name of the subject
|
|
382407
|
+
*/
|
|
382408
|
+
display_name: string
|
|
382409
|
+
/**
|
|
382410
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
382411
|
+
*/
|
|
382412
|
+
last_activity_at: string
|
|
382413
|
+
}[]
|
|
382414
|
+
/**
|
|
382415
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
382416
|
+
*/
|
|
382417
|
+
has_more: boolean
|
|
382418
|
+
/**
|
|
382419
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
382420
|
+
*/
|
|
382421
|
+
next_cursor: (string | null)
|
|
382422
|
+
}
|
|
382423
|
+
|
|
382424
|
+
export interface PlaygroundWsEchoInput {
|
|
382425
|
+
|
|
382426
|
+
}
|
|
382427
|
+
|
|
382428
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
382429
|
+
|
|
381995
382430
|
export interface RealtimeArchiveExportInput {
|
|
381996
382431
|
/**
|
|
381997
382432
|
* Only entries with ts <= to_ts (epoch ms)
|