@lessly/sdk-app 36.3.0 → 38.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.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -6
- package/dist/brain/index.d.ts +2 -6
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-C6K8y7em.d.cts → client.gen-Bv2flLeO.d.cts} +2163 -248
- package/dist/{client.gen-C6K8y7em.d.ts → client.gen-Bv2flLeO.d.ts} +2163 -248
- 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 +875 -217
- 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 +875 -217
- 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/observe/index.cjs +156 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +124 -0
- package/dist/observe/index.d.ts +124 -0
- package/dist/observe/index.js +125 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/organization/index.cjs +33 -18
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.d.cts +27 -15
- package/dist/organization/index.d.ts +27 -15
- package/dist/organization/index.js +27 -15
- package/dist/organization/index.js.map +1 -1
- package/dist/playground/index.cjs +66 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +52 -0
- package/dist/playground/index.d.ts +52 -0
- package/dist/playground/index.js +53 -0
- package/dist/playground/index.js.map +1 -0
- 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 +12 -2
- package/src/gen/bindings.gen.ts +875 -217
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +189 -17
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +200 -0
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +41 -21
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +2178 -248
|
@@ -65,19 +65,18 @@ import type {
|
|
|
65
65
|
OrganizationMembersAssignRoleInput,
|
|
66
66
|
OrganizationPermissionCatalogInput,
|
|
67
67
|
OrganizationPermissionCatalogOutput,
|
|
68
|
-
OrganizationProductAcceptInvitationInput,
|
|
69
68
|
OrganizationProductCreateInput,
|
|
70
|
-
|
|
69
|
+
OrganizationProductListAccessInput,
|
|
70
|
+
OrganizationProductListAccessOutput,
|
|
71
71
|
OrganizationProductListInput,
|
|
72
|
-
OrganizationProductListInvitationsInput,
|
|
73
|
-
OrganizationProductListInvitationsOutput,
|
|
74
72
|
OrganizationProductListMembersInput,
|
|
75
73
|
OrganizationProductListMembersOutput,
|
|
76
74
|
OrganizationProductListOutput,
|
|
77
75
|
OrganizationProductListRolesInput,
|
|
78
76
|
OrganizationProductListRolesOutput,
|
|
79
|
-
|
|
77
|
+
OrganizationProductRevokeAccessInput,
|
|
80
78
|
OrganizationProductSelectInput,
|
|
79
|
+
OrganizationProductSetAccessInput,
|
|
81
80
|
OrganizationProductUpdateInput,
|
|
82
81
|
OrganizationPublicKeysCreateInput,
|
|
83
82
|
OrganizationPublicKeysListInput,
|
|
@@ -95,6 +94,12 @@ import type {
|
|
|
95
94
|
OrganizationRolesUpdateInput,
|
|
96
95
|
OrganizationSecurityMfaEnableInput,
|
|
97
96
|
OrganizationSelectInput,
|
|
97
|
+
OrganizationSupportThreadCreateInput,
|
|
98
|
+
OrganizationSupportThreadGetInput,
|
|
99
|
+
OrganizationSupportThreadGetOutput,
|
|
100
|
+
OrganizationSupportThreadReplyInput,
|
|
101
|
+
OrganizationSupportThreadsListInput,
|
|
102
|
+
OrganizationSupportThreadsListOutput,
|
|
98
103
|
} from '../types.gen';
|
|
99
104
|
|
|
100
105
|
export const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: OrganizationAuthMeInput) => ({
|
|
@@ -327,29 +332,19 @@ export const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient,
|
|
|
327
332
|
queryFn: () => sdk['organization']['permission']['catalog'](input),
|
|
328
333
|
});
|
|
329
334
|
|
|
330
|
-
export const organizationProductAcceptInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
331
|
-
mutationKey: ['organization', 'product', 'accept-invitation'],
|
|
332
|
-
mutationFn: (input: OrganizationProductAcceptInvitationInput) => sdk['organization']['product']['accept-invitation'](input),
|
|
333
|
-
});
|
|
334
|
-
|
|
335
335
|
export const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
336
336
|
mutationKey: ['organization', 'product', 'create'],
|
|
337
337
|
mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),
|
|
338
338
|
});
|
|
339
339
|
|
|
340
|
-
export const organizationProductInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
341
|
-
mutationKey: ['organization', 'product', 'invite'],
|
|
342
|
-
mutationFn: (input: OrganizationProductInviteInput) => sdk['organization']['product']['invite'](input),
|
|
343
|
-
});
|
|
344
|
-
|
|
345
340
|
export const organizationProductListQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInput) => ({
|
|
346
341
|
queryKey: ['organization', 'product', 'list', input] as const,
|
|
347
342
|
queryFn: () => sdk['organization']['product']['list'](input),
|
|
348
343
|
});
|
|
349
344
|
|
|
350
|
-
export const
|
|
351
|
-
queryKey: ['organization', 'product', 'list-
|
|
352
|
-
queryFn: () => sdk['organization']['product']['list-
|
|
345
|
+
export const organizationProductListAccessQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListAccessInput) => ({
|
|
346
|
+
queryKey: ['organization', 'product', 'list-access', input] as const,
|
|
347
|
+
queryFn: () => sdk['organization']['product']['list-access'](input),
|
|
353
348
|
});
|
|
354
349
|
|
|
355
350
|
export const organizationProductListMembersQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListMembersInput) => ({
|
|
@@ -362,9 +357,9 @@ export const organizationProductListRolesQueryOptions = (sdk: GeneratedClient, i
|
|
|
362
357
|
queryFn: () => sdk['organization']['product']['list-roles'](input),
|
|
363
358
|
});
|
|
364
359
|
|
|
365
|
-
export const
|
|
366
|
-
mutationKey: ['organization', 'product', 'revoke-
|
|
367
|
-
mutationFn: (input:
|
|
360
|
+
export const organizationProductRevokeAccessMutationOptions = (sdk: GeneratedClient) => ({
|
|
361
|
+
mutationKey: ['organization', 'product', 'revoke-access'],
|
|
362
|
+
mutationFn: (input: OrganizationProductRevokeAccessInput) => sdk['organization']['product']['revoke-access'](input),
|
|
368
363
|
});
|
|
369
364
|
|
|
370
365
|
export const organizationProductSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
@@ -372,6 +367,11 @@ export const organizationProductSelectMutationOptions = (sdk: GeneratedClient) =
|
|
|
372
367
|
mutationFn: (input: OrganizationProductSelectInput) => sdk['organization']['product']['select'](input),
|
|
373
368
|
});
|
|
374
369
|
|
|
370
|
+
export const organizationProductSetAccessMutationOptions = (sdk: GeneratedClient) => ({
|
|
371
|
+
mutationKey: ['organization', 'product', 'set-access'],
|
|
372
|
+
mutationFn: (input: OrganizationProductSetAccessInput) => sdk['organization']['product']['set-access'](input),
|
|
373
|
+
});
|
|
374
|
+
|
|
375
375
|
export const organizationProductUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
376
376
|
mutationKey: ['organization', 'product', 'update'],
|
|
377
377
|
mutationFn: (input: OrganizationProductUpdateInput) => sdk['organization']['product']['update'](input),
|
|
@@ -436,3 +436,23 @@ export const organizationSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
436
436
|
mutationKey: ['organization', 'select'],
|
|
437
437
|
mutationFn: (input: OrganizationSelectInput) => sdk['organization']['select'](input),
|
|
438
438
|
});
|
|
439
|
+
|
|
440
|
+
export const organizationSupportThreadCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
441
|
+
mutationKey: ['organization', 'support-thread', 'create'],
|
|
442
|
+
mutationFn: (input: OrganizationSupportThreadCreateInput) => sdk['organization']['support-thread']['create'](input),
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
export const organizationSupportThreadGetQueryOptions = (sdk: GeneratedClient, input: OrganizationSupportThreadGetInput) => ({
|
|
446
|
+
queryKey: ['organization', 'support-thread', 'get', input] as const,
|
|
447
|
+
queryFn: () => sdk['organization']['support-thread']['get'](input),
|
|
448
|
+
});
|
|
449
|
+
|
|
450
|
+
export const organizationSupportThreadReplyMutationOptions = (sdk: GeneratedClient) => ({
|
|
451
|
+
mutationKey: ['organization', 'support-thread', 'reply'],
|
|
452
|
+
mutationFn: (input: OrganizationSupportThreadReplyInput) => sdk['organization']['support-thread']['reply'](input),
|
|
453
|
+
});
|
|
454
|
+
|
|
455
|
+
export const organizationSupportThreadsListQueryOptions = (sdk: GeneratedClient, input: OrganizationSupportThreadsListInput) => ({
|
|
456
|
+
queryKey: ['organization', 'support-threads', 'list', input] as const,
|
|
457
|
+
queryFn: () => sdk['organization']['support-threads']['list'](input),
|
|
458
|
+
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
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 } from '../types.gen';
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
PlaygroundAnalyticsOverviewInput,
|
|
5
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
6
|
+
PlaygroundBillingEntitlementsInput,
|
|
7
|
+
PlaygroundBillingEntitlementsOutput,
|
|
8
|
+
PlaygroundBillingRecordUsageInput,
|
|
9
|
+
PlaygroundClickupCreateTaskInput,
|
|
10
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
11
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
12
|
+
PlaygroundClickupGetOverviewInput,
|
|
13
|
+
PlaygroundClickupGetOverviewOutput,
|
|
14
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
15
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
16
|
+
PlaygroundGdriveReadFileInput,
|
|
17
|
+
PlaygroundGdriveReadFileOutput,
|
|
18
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
19
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
20
|
+
PlaygroundLifecycleGetStateInput,
|
|
21
|
+
PlaygroundLifecycleGetStateOutput,
|
|
22
|
+
PlaygroundLifecycleListEventsInput,
|
|
23
|
+
PlaygroundLifecycleListEventsOutput,
|
|
24
|
+
PlaygroundWebhookGetLastInput,
|
|
25
|
+
PlaygroundWebhookGetLastOutput,
|
|
26
|
+
} from '../types.gen';
|
|
27
|
+
|
|
28
|
+
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
29
|
+
queryKey: ['playground', 'analytics', 'overview', input] as const,
|
|
30
|
+
queryFn: () => sdk['playground']['analytics']['overview'](input),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
|
|
34
|
+
queryKey: ['playground', 'billing', 'entitlements', input] as const,
|
|
35
|
+
queryFn: () => sdk['playground']['billing']['entitlements'](input),
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
|
|
39
|
+
mutationKey: ['playground', 'billing', 'record-usage'],
|
|
40
|
+
mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
|
|
44
|
+
mutationKey: ['playground', 'clickup', 'create-task'],
|
|
45
|
+
mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
|
|
49
|
+
queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
|
|
50
|
+
queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
|
|
54
|
+
queryKey: ['playground', 'clickup', 'get-overview', input] as const,
|
|
55
|
+
queryFn: () => sdk['playground']['clickup']['get-overview'](input),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
|
|
59
|
+
queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
|
|
60
|
+
queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
|
|
64
|
+
queryKey: ['playground', 'gdrive', 'read-file', input] as const,
|
|
65
|
+
queryFn: () => sdk['playground']['gdrive']['read-file'](input),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
|
|
69
|
+
queryKey: ['playground', 'googleads', 'read-customer', input] as const,
|
|
70
|
+
queryFn: () => sdk['playground']['googleads']['read-customer'](input),
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
|
|
74
|
+
queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
|
|
75
|
+
queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
|
|
79
|
+
queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
|
|
80
|
+
queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
|
|
84
|
+
queryKey: ['playground', 'webhook', 'get-last', input] as const,
|
|
85
|
+
queryFn: () => sdk['playground']['webhook']['get-last'](input),
|
|
86
|
+
});
|