@lessly/sdk-app 30.6.0 → 31.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-DK6VpzBG.d.cts → client.gen-Cn7kIdt-.d.cts} +128 -3
- package/dist/{client.gen-DK6VpzBG.d.ts → client.gen-Cn7kIdt-.d.ts} +128 -3
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +88 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +88 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/organization/index.cjs +30 -0
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.d.cts +26 -2
- package/dist/organization/index.d.ts +26 -2
- package/dist/organization/index.js +25 -1
- package/dist/organization/index.js.map +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +88 -0
- package/src/gen/client.gen.ts +22 -0
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +38 -0
- package/src/gen/types.gen.ts +130 -2
|
@@ -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, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingBudgetsSetInput, OrganizationBillingBudgetsSetOutput, 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, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, 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, OrganizationProductAcceptInvitationInput, OrganizationProductAcceptInvitationOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductInviteInput, OrganizationProductInviteOutput, OrganizationProductListInput, OrganizationProductListInvitationsInput, OrganizationProductListInvitationsOutput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductRevokeInvitationInput, OrganizationProductRevokeInvitationOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput } from '../types.gen';
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingBudgetsSetInput, OrganizationBillingBudgetsSetOutput, 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, 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, OrganizationProductAcceptInvitationInput, OrganizationProductAcceptInvitationOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductInviteInput, OrganizationProductInviteOutput, OrganizationProductListInput, OrganizationProductListInvitationsInput, OrganizationProductListInvitationsOutput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductResendInvitationInput, OrganizationProductResendInvitationOutput, OrganizationProductRevokeInvitationInput, OrganizationProductRevokeInvitationOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput } from '../types.gen';
|
|
@@ -38,6 +38,7 @@ import type {
|
|
|
38
38
|
OrganizationDomainsListInput,
|
|
39
39
|
OrganizationDomainsListOutput,
|
|
40
40
|
OrganizationDomainsRemoveInput,
|
|
41
|
+
OrganizationDomainsSetModeInput,
|
|
41
42
|
OrganizationExtensionsListInstalledInput,
|
|
42
43
|
OrganizationExtensionsListInstalledOutput,
|
|
43
44
|
OrganizationFeedbackSubmitInput,
|
|
@@ -75,6 +76,7 @@ import type {
|
|
|
75
76
|
OrganizationProductListOutput,
|
|
76
77
|
OrganizationProductListRolesInput,
|
|
77
78
|
OrganizationProductListRolesOutput,
|
|
79
|
+
OrganizationProductResendInvitationInput,
|
|
78
80
|
OrganizationProductRevokeInvitationInput,
|
|
79
81
|
OrganizationProductSelectInput,
|
|
80
82
|
OrganizationProductUpdateInput,
|
|
@@ -94,6 +96,12 @@ import type {
|
|
|
94
96
|
OrganizationRolesUpdateInput,
|
|
95
97
|
OrganizationSecurityMfaEnableInput,
|
|
96
98
|
OrganizationSelectInput,
|
|
99
|
+
OrganizationSupportThreadCreateInput,
|
|
100
|
+
OrganizationSupportThreadGetInput,
|
|
101
|
+
OrganizationSupportThreadGetOutput,
|
|
102
|
+
OrganizationSupportThreadReplyInput,
|
|
103
|
+
OrganizationSupportThreadsListInput,
|
|
104
|
+
OrganizationSupportThreadsListOutput,
|
|
97
105
|
} from '../types.gen';
|
|
98
106
|
|
|
99
107
|
export const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: OrganizationAuthMeInput) => ({
|
|
@@ -226,6 +234,11 @@ export const organizationDomainsRemoveMutationOptions = (sdk: GeneratedClient) =
|
|
|
226
234
|
mutationFn: (input: OrganizationDomainsRemoveInput) => sdk['organization']['domains']['remove'](input),
|
|
227
235
|
});
|
|
228
236
|
|
|
237
|
+
export const organizationDomainsSetModeMutationOptions = (sdk: GeneratedClient) => ({
|
|
238
|
+
mutationKey: ['organization', 'domains', 'set-mode'],
|
|
239
|
+
mutationFn: (input: OrganizationDomainsSetModeInput) => sdk['organization']['domains']['set-mode'](input),
|
|
240
|
+
});
|
|
241
|
+
|
|
229
242
|
export const organizationExtensionsListInstalledQueryOptions = (sdk: GeneratedClient, input: OrganizationExtensionsListInstalledInput) => ({
|
|
230
243
|
queryKey: ['organization', 'extensions', 'list-installed', input] as const,
|
|
231
244
|
queryFn: () => sdk['organization']['extensions']['list-installed'](input),
|
|
@@ -356,6 +369,11 @@ export const organizationProductListRolesQueryOptions = (sdk: GeneratedClient, i
|
|
|
356
369
|
queryFn: () => sdk['organization']['product']['list-roles'](input),
|
|
357
370
|
});
|
|
358
371
|
|
|
372
|
+
export const organizationProductResendInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
373
|
+
mutationKey: ['organization', 'product', 'resend-invitation'],
|
|
374
|
+
mutationFn: (input: OrganizationProductResendInvitationInput) => sdk['organization']['product']['resend-invitation'](input),
|
|
375
|
+
});
|
|
376
|
+
|
|
359
377
|
export const organizationProductRevokeInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
360
378
|
mutationKey: ['organization', 'product', 'revoke-invitation'],
|
|
361
379
|
mutationFn: (input: OrganizationProductRevokeInvitationInput) => sdk['organization']['product']['revoke-invitation'](input),
|
|
@@ -430,3 +448,23 @@ export const organizationSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
430
448
|
mutationKey: ['organization', 'select'],
|
|
431
449
|
mutationFn: (input: OrganizationSelectInput) => sdk['organization']['select'](input),
|
|
432
450
|
});
|
|
451
|
+
|
|
452
|
+
export const organizationSupportThreadCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
453
|
+
mutationKey: ['organization', 'support-thread', 'create'],
|
|
454
|
+
mutationFn: (input: OrganizationSupportThreadCreateInput) => sdk['organization']['support-thread']['create'](input),
|
|
455
|
+
});
|
|
456
|
+
|
|
457
|
+
export const organizationSupportThreadGetQueryOptions = (sdk: GeneratedClient, input: OrganizationSupportThreadGetInput) => ({
|
|
458
|
+
queryKey: ['organization', 'support-thread', 'get', input] as const,
|
|
459
|
+
queryFn: () => sdk['organization']['support-thread']['get'](input),
|
|
460
|
+
});
|
|
461
|
+
|
|
462
|
+
export const organizationSupportThreadReplyMutationOptions = (sdk: GeneratedClient) => ({
|
|
463
|
+
mutationKey: ['organization', 'support-thread', 'reply'],
|
|
464
|
+
mutationFn: (input: OrganizationSupportThreadReplyInput) => sdk['organization']['support-thread']['reply'](input),
|
|
465
|
+
});
|
|
466
|
+
|
|
467
|
+
export const organizationSupportThreadsListQueryOptions = (sdk: GeneratedClient, input: OrganizationSupportThreadsListInput) => ({
|
|
468
|
+
queryKey: ['organization', 'support-threads', 'list', input] as const,
|
|
469
|
+
queryFn: () => sdk['organization']['support-threads']['list'](input),
|
|
470
|
+
});
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -12701,6 +12701,7 @@ provider: string
|
|
|
12701
12701
|
externalId: string
|
|
12702
12702
|
displayName: string
|
|
12703
12703
|
requestStatus: (("pending" | "denied") | null)
|
|
12704
|
+
organizationId: string
|
|
12704
12705
|
}[]
|
|
12705
12706
|
|
|
12706
12707
|
export interface OrganizationConnectorsListOrgInput {
|
|
@@ -12796,6 +12797,12 @@ domain: string
|
|
|
12796
12797
|
createdAt: string
|
|
12797
12798
|
createdBy: string
|
|
12798
12799
|
productId: string
|
|
12800
|
+
managedDns: ({
|
|
12801
|
+
tool: "organization_domains_set-mode"
|
|
12802
|
+
provider: "cloudflare"
|
|
12803
|
+
available: true
|
|
12804
|
+
providerConnectorId: string
|
|
12805
|
+
} | null)
|
|
12799
12806
|
providerConnectorId: (string | null)
|
|
12800
12807
|
}
|
|
12801
12808
|
|
|
@@ -12840,6 +12847,23 @@ export interface OrganizationDomainsRemoveOutput {
|
|
|
12840
12847
|
[k: string]: unknown
|
|
12841
12848
|
}
|
|
12842
12849
|
|
|
12850
|
+
export interface OrganizationDomainsSetModeInput {
|
|
12851
|
+
mode: ("managed" | "external")
|
|
12852
|
+
domainId: string
|
|
12853
|
+
productId: string
|
|
12854
|
+
providerConnectorId?: string
|
|
12855
|
+
}
|
|
12856
|
+
|
|
12857
|
+
export interface OrganizationDomainsSetModeOutput {
|
|
12858
|
+
id: string
|
|
12859
|
+
mode: ("external" | "managed")
|
|
12860
|
+
domain: string
|
|
12861
|
+
createdAt: string
|
|
12862
|
+
createdBy: string
|
|
12863
|
+
productId: string
|
|
12864
|
+
providerConnectorId: (string | null)
|
|
12865
|
+
}
|
|
12866
|
+
|
|
12843
12867
|
export interface OrganizationExtensionsListInstalledInput {
|
|
12844
12868
|
productId: string
|
|
12845
12869
|
}
|
|
@@ -12865,8 +12889,9 @@ details: string
|
|
|
12865
12889
|
}
|
|
12866
12890
|
|
|
12867
12891
|
export interface OrganizationFeedbackSubmitOutput {
|
|
12868
|
-
url: string
|
|
12869
|
-
number: number
|
|
12892
|
+
url: (string | null)
|
|
12893
|
+
number: (number | null)
|
|
12894
|
+
supportThreadId?: string
|
|
12870
12895
|
}
|
|
12871
12896
|
|
|
12872
12897
|
export interface OrganizationGdriveInstallInput {
|
|
@@ -12889,6 +12914,7 @@ connectors: {
|
|
|
12889
12914
|
id: string
|
|
12890
12915
|
externalId: string
|
|
12891
12916
|
displayName: string
|
|
12917
|
+
organizationId: string
|
|
12892
12918
|
attachedToThisProduct: boolean
|
|
12893
12919
|
}[]
|
|
12894
12920
|
}
|
|
@@ -12923,6 +12949,7 @@ name: string
|
|
|
12923
12949
|
role: ("owner" | "admin" | "member")
|
|
12924
12950
|
active: boolean
|
|
12925
12951
|
blockedAt: (string | null)
|
|
12952
|
+
blockReason: (("no_subscription" | "under_review") | null)
|
|
12926
12953
|
}[]
|
|
12927
12954
|
}
|
|
12928
12955
|
|
|
@@ -13273,6 +13300,20 @@ productId: (string | null)
|
|
|
13273
13300
|
}[]
|
|
13274
13301
|
}
|
|
13275
13302
|
|
|
13303
|
+
export interface OrganizationProductResendInvitationInput {
|
|
13304
|
+
productId: string
|
|
13305
|
+
invitationId: string
|
|
13306
|
+
}
|
|
13307
|
+
|
|
13308
|
+
export interface OrganizationProductResendInvitationOutput {
|
|
13309
|
+
id: string
|
|
13310
|
+
role: string
|
|
13311
|
+
email: (string | null)
|
|
13312
|
+
status: string
|
|
13313
|
+
createdAt: string
|
|
13314
|
+
expiresAt: string
|
|
13315
|
+
}
|
|
13316
|
+
|
|
13276
13317
|
export interface OrganizationProductRevokeInvitationInput {
|
|
13277
13318
|
productId: string
|
|
13278
13319
|
invitationId: string
|
|
@@ -13516,6 +13557,93 @@ name: string
|
|
|
13516
13557
|
activeProductId: (string | null)
|
|
13517
13558
|
}
|
|
13518
13559
|
|
|
13560
|
+
export interface OrganizationSupportThreadCreateInput {
|
|
13561
|
+
body: string
|
|
13562
|
+
title: string
|
|
13563
|
+
}
|
|
13564
|
+
|
|
13565
|
+
export interface OrganizationSupportThreadCreateOutput {
|
|
13566
|
+
id: string
|
|
13567
|
+
title: string
|
|
13568
|
+
status: string
|
|
13569
|
+
category: ("open" | "pending" | "resolved" | "closed")
|
|
13570
|
+
messages: {
|
|
13571
|
+
id: string
|
|
13572
|
+
body: string
|
|
13573
|
+
author: {
|
|
13574
|
+
kind: ("user" | "agent")
|
|
13575
|
+
name: string
|
|
13576
|
+
}
|
|
13577
|
+
createdAt: string
|
|
13578
|
+
}[]
|
|
13579
|
+
createdAt: string
|
|
13580
|
+
lastMessageAt: string
|
|
13581
|
+
lastMessagePreview: (string | null)
|
|
13582
|
+
}
|
|
13583
|
+
|
|
13584
|
+
export interface OrganizationSupportThreadGetInput {
|
|
13585
|
+
id: string
|
|
13586
|
+
}
|
|
13587
|
+
|
|
13588
|
+
export interface OrganizationSupportThreadGetOutput {
|
|
13589
|
+
id: string
|
|
13590
|
+
title: string
|
|
13591
|
+
status: string
|
|
13592
|
+
category: ("open" | "pending" | "resolved" | "closed")
|
|
13593
|
+
messages: {
|
|
13594
|
+
id: string
|
|
13595
|
+
body: string
|
|
13596
|
+
author: {
|
|
13597
|
+
kind: ("user" | "agent")
|
|
13598
|
+
name: string
|
|
13599
|
+
}
|
|
13600
|
+
createdAt: string
|
|
13601
|
+
}[]
|
|
13602
|
+
createdAt: string
|
|
13603
|
+
lastMessageAt: string
|
|
13604
|
+
lastMessagePreview: (string | null)
|
|
13605
|
+
}
|
|
13606
|
+
|
|
13607
|
+
export interface OrganizationSupportThreadReplyInput {
|
|
13608
|
+
id: string
|
|
13609
|
+
body: string
|
|
13610
|
+
}
|
|
13611
|
+
|
|
13612
|
+
export interface OrganizationSupportThreadReplyOutput {
|
|
13613
|
+
id: string
|
|
13614
|
+
title: string
|
|
13615
|
+
status: string
|
|
13616
|
+
category: ("open" | "pending" | "resolved" | "closed")
|
|
13617
|
+
messages: {
|
|
13618
|
+
id: string
|
|
13619
|
+
body: string
|
|
13620
|
+
author: {
|
|
13621
|
+
kind: ("user" | "agent")
|
|
13622
|
+
name: string
|
|
13623
|
+
}
|
|
13624
|
+
createdAt: string
|
|
13625
|
+
}[]
|
|
13626
|
+
createdAt: string
|
|
13627
|
+
lastMessageAt: string
|
|
13628
|
+
lastMessagePreview: (string | null)
|
|
13629
|
+
}
|
|
13630
|
+
|
|
13631
|
+
export interface OrganizationSupportThreadsListInput {
|
|
13632
|
+
|
|
13633
|
+
}
|
|
13634
|
+
|
|
13635
|
+
export interface OrganizationSupportThreadsListOutput {
|
|
13636
|
+
threads: {
|
|
13637
|
+
id: string
|
|
13638
|
+
title: string
|
|
13639
|
+
status: string
|
|
13640
|
+
category: ("open" | "pending" | "resolved" | "closed")
|
|
13641
|
+
createdAt: string
|
|
13642
|
+
lastMessageAt: string
|
|
13643
|
+
lastMessagePreview: (string | null)
|
|
13644
|
+
}[]
|
|
13645
|
+
}
|
|
13646
|
+
|
|
13519
13647
|
export interface PlaygroundAnalyticsOverviewInput {
|
|
13520
13648
|
/**
|
|
13521
13649
|
* Max records per entity in recent[]; omit for the endpoint default
|