@lepsto/sdk-app 84.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/README.md +233 -0
- package/dist/_types/gen/analytics/index.d.ts +2 -0
- package/dist/_types/gen/analytics/queryOptions.gen.d.ts +74 -0
- package/dist/_types/gen/bindings.gen.d.ts +3 -0
- package/dist/_types/gen/brain/index.d.ts +2 -0
- package/dist/_types/gen/brain/queryOptions.gen.d.ts +166 -0
- package/dist/_types/gen/client.gen.d.ts +1087 -0
- package/dist/_types/gen/consent/index.d.ts +2 -0
- package/dist/_types/gen/consent/queryOptions.gen.d.ts +62 -0
- package/dist/_types/gen/content/index.d.ts +2 -0
- package/dist/_types/gen/content/queryOptions.gen.d.ts +126 -0
- package/dist/_types/gen/deployment/index.d.ts +2 -0
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +438 -0
- package/dist/_types/gen/mail/index.d.ts +2 -0
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +206 -0
- package/dist/_types/gen/manifest.gen.d.ts +4 -0
- package/dist/_types/gen/observe/index.d.ts +2 -0
- package/dist/_types/gen/observe/queryOptions.gen.d.ts +142 -0
- package/dist/_types/gen/organization/index.d.ts +2 -0
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +362 -0
- package/dist/_types/gen/realtime/index.d.ts +2 -0
- package/dist/_types/gen/realtime/queryOptions.gen.d.ts +114 -0
- package/dist/_types/gen/support/index.d.ts +2 -0
- package/dist/_types/gen/support/queryOptions.gen.d.ts +206 -0
- package/dist/_types/gen/tracking/index.d.ts +2 -0
- package/dist/_types/gen/tracking/queryOptions.gen.d.ts +150 -0
- package/dist/_types/gen/types.gen.d.ts +126011 -0
- package/dist/_types/gen/users/index.d.ts +2 -0
- package/dist/_types/gen/users/queryOptions.gen.d.ts +182 -0
- package/dist/_types/gen/waitlist/index.d.ts +2 -0
- package/dist/_types/gen/waitlist/queryOptions.gen.d.ts +30 -0
- package/dist/_types/gen/workflow/index.d.ts +2 -0
- package/dist/_types/gen/workflow/queryOptions.gen.d.ts +166 -0
- package/dist/_types/index.d.ts +11 -0
- package/dist/_types/package.json +1 -0
- package/dist/_types/react/index.d.ts +33 -0
- package/dist/_types/runtime/access-reason.d.ts +27 -0
- package/dist/_types/runtime/access.d.ts +40 -0
- package/dist/_types/runtime/compositions.d.ts +16 -0
- package/dist/_types/runtime/connectStream.d.ts +15 -0
- package/dist/_types/runtime/createLesslyApp.d.ts +10 -0
- package/dist/_types/runtime/csrf.d.ts +1 -0
- package/dist/_types/runtime/errors.d.ts +18 -0
- package/dist/_types/runtime/name.d.ts +26 -0
- package/dist/_types/runtime/operations.d.ts +13 -0
- package/dist/_types/runtime/permission-match.d.ts +62 -0
- package/dist/_types/runtime/request.d.ts +9 -0
- package/dist/_types/runtime/types.d.ts +129 -0
- package/dist/analytics/index.cjs +96 -0
- package/dist/analytics/index.cjs.map +1 -0
- package/dist/analytics/index.d.cts +1 -0
- package/dist/analytics/index.d.ts +1 -0
- package/dist/analytics/index.js +77 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/brain/index.cjs +211 -0
- package/dist/brain/index.cjs.map +1 -0
- package/dist/brain/index.d.cts +1 -0
- package/dist/brain/index.d.ts +1 -0
- package/dist/brain/index.js +169 -0
- package/dist/brain/index.js.map +1 -0
- package/dist/consent/index.cjs +81 -0
- package/dist/consent/index.cjs.map +1 -0
- package/dist/consent/index.d.cts +1 -0
- package/dist/consent/index.d.ts +1 -0
- package/dist/consent/index.js +65 -0
- package/dist/consent/index.js.map +1 -0
- package/dist/content/index.cjs +161 -0
- package/dist/content/index.cjs.map +1 -0
- package/dist/content/index.d.cts +1 -0
- package/dist/content/index.d.ts +1 -0
- package/dist/content/index.js +129 -0
- package/dist/content/index.js.map +1 -0
- package/dist/deployment/index.cjs +551 -0
- package/dist/deployment/index.cjs.map +1 -0
- package/dist/deployment/index.d.cts +1 -0
- package/dist/deployment/index.d.ts +1 -0
- package/dist/deployment/index.js +441 -0
- package/dist/deployment/index.js.map +1 -0
- package/dist/index.cjs +12565 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12557 -0
- package/dist/index.js.map +1 -0
- package/dist/mail/index.cjs +261 -0
- package/dist/mail/index.cjs.map +1 -0
- package/dist/mail/index.d.cts +1 -0
- package/dist/mail/index.d.ts +1 -0
- package/dist/mail/index.js +209 -0
- package/dist/mail/index.js.map +1 -0
- package/dist/observe/index.cjs +181 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +1 -0
- package/dist/observe/index.d.ts +1 -0
- package/dist/observe/index.js +145 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/organization/index.cjs +456 -0
- package/dist/organization/index.cjs.map +1 -0
- package/dist/organization/index.d.cts +1 -0
- package/dist/organization/index.d.ts +1 -0
- package/dist/organization/index.js +365 -0
- package/dist/organization/index.js.map +1 -0
- package/dist/react/index.cjs +29 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +1 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +26 -0
- package/dist/react/index.js.map +1 -0
- package/dist/realtime/index.cjs +146 -0
- package/dist/realtime/index.cjs.map +1 -0
- package/dist/realtime/index.d.cts +1 -0
- package/dist/realtime/index.d.ts +1 -0
- package/dist/realtime/index.js +117 -0
- package/dist/realtime/index.js.map +1 -0
- package/dist/support/index.cjs +261 -0
- package/dist/support/index.cjs.map +1 -0
- package/dist/support/index.d.cts +1 -0
- package/dist/support/index.d.ts +1 -0
- package/dist/support/index.js +209 -0
- package/dist/support/index.js.map +1 -0
- package/dist/tracking/index.cjs +191 -0
- package/dist/tracking/index.cjs.map +1 -0
- package/dist/tracking/index.d.cts +1 -0
- package/dist/tracking/index.d.ts +1 -0
- package/dist/tracking/index.js +153 -0
- package/dist/tracking/index.js.map +1 -0
- package/dist/users/index.cjs +231 -0
- package/dist/users/index.cjs.map +1 -0
- package/dist/users/index.d.cts +1 -0
- package/dist/users/index.d.ts +1 -0
- package/dist/users/index.js +185 -0
- package/dist/users/index.js.map +1 -0
- package/dist/waitlist/index.cjs +41 -0
- package/dist/waitlist/index.cjs.map +1 -0
- package/dist/waitlist/index.d.cts +1 -0
- package/dist/waitlist/index.d.ts +1 -0
- package/dist/waitlist/index.js +33 -0
- package/dist/waitlist/index.js.map +1 -0
- package/dist/workflow/index.cjs +211 -0
- package/dist/workflow/index.cjs.map +1 -0
- package/dist/workflow/index.d.cts +1 -0
- package/dist/workflow/index.d.ts +1 -0
- package/dist/workflow/index.js +169 -0
- package/dist/workflow/index.js.map +1 -0
- package/docs/README.md +89 -0
- package/docs/recipes/access.md +781 -0
- package/docs/recipes/federation.md +285 -0
- package/docs/recipes/local-dev.md +111 -0
- package/docs/recipes/sdk-usage.md +194 -0
- package/docs/rules.md +522 -0
- package/package.json +212 -0
- package/src/gen/analytics/index.ts +3 -0
- package/src/gen/analytics/queryOptions.gen.ts +124 -0
- package/src/gen/bindings.gen.ts +11330 -0
- package/src/gen/brain/index.ts +3 -0
- package/src/gen/brain/queryOptions.gen.ts +278 -0
- package/src/gen/client.gen.ts +2288 -0
- package/src/gen/consent/index.ts +3 -0
- package/src/gen/consent/queryOptions.gen.ts +102 -0
- package/src/gen/content/index.ts +3 -0
- package/src/gen/content/queryOptions.gen.ts +202 -0
- package/src/gen/deployment/index.ts +3 -0
- package/src/gen/deployment/queryOptions.gen.ts +707 -0
- package/src/gen/mail/index.ts +3 -0
- package/src/gen/mail/queryOptions.gen.ts +331 -0
- package/src/gen/manifest.gen.ts +780 -0
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +235 -0
- package/src/gen/organization/index.ts +3 -0
- package/src/gen/organization/queryOptions.gen.ts +578 -0
- package/src/gen/realtime/index.ts +3 -0
- package/src/gen/realtime/queryOptions.gen.ts +185 -0
- package/src/gen/support/index.ts +3 -0
- package/src/gen/support/queryOptions.gen.ts +331 -0
- package/src/gen/tracking/index.ts +3 -0
- package/src/gen/tracking/queryOptions.gen.ts +249 -0
- package/src/gen/types.gen.ts +119506 -0
- package/src/gen/users/index.ts +3 -0
- package/src/gen/users/queryOptions.gen.ts +295 -0
- package/src/gen/waitlist/index.ts +3 -0
- package/src/gen/waitlist/queryOptions.gen.ts +50 -0
- package/src/gen/workflow/index.ts +3 -0
- package/src/gen/workflow/queryOptions.gen.ts +274 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { ConsentConfigCookieDomainUpsertInput, ConsentConfigCookieDomainUpsertOutput, ConsentConfigCustomizationUpsertInput, ConsentConfigCustomizationUpsertOutput, ConsentConfigFloatingIconUpsertInput, ConsentConfigFloatingIconUpsertOutput, ConsentConfigThemeUpsertInput, ConsentConfigThemeUpsertOutput, ConsentDashboardConfigGetInput, ConsentDashboardConfigGetOutput, ConsentDashboardDecisionsListInput, ConsentDashboardDecisionsListOutput, ConsentDashboardEmbedSnippetGetInput, ConsentDashboardEmbedSnippetGetOutput, ConsentDashboardStatsGetInput, ConsentDashboardStatsGetOutput, ConsentEmbedGetInput, ConsentEmbedGetOutput, ConsentProvidersCreateInput, ConsentProvidersCreateOutput, ConsentProvidersDeleteInput, ConsentProvidersDeleteOutput, ConsentProvidersListInput, ConsentProvidersListOutput, ConsentProvidersUpdateInput, ConsentProvidersUpdateOutput, ConsentRecordsExportInput, ConsentRecordsExportOutput, ConsentStatsGetInput, ConsentStatsGetOutput } from '../types.gen';
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
ConsentConfigCookieDomainUpsertInput,
|
|
5
|
+
ConsentConfigCustomizationUpsertInput,
|
|
6
|
+
ConsentConfigFloatingIconUpsertInput,
|
|
7
|
+
ConsentConfigThemeUpsertInput,
|
|
8
|
+
ConsentDashboardConfigGetInput,
|
|
9
|
+
ConsentDashboardConfigGetOutput,
|
|
10
|
+
ConsentDashboardDecisionsListInput,
|
|
11
|
+
ConsentDashboardDecisionsListOutput,
|
|
12
|
+
ConsentDashboardEmbedSnippetGetInput,
|
|
13
|
+
ConsentDashboardEmbedSnippetGetOutput,
|
|
14
|
+
ConsentDashboardStatsGetInput,
|
|
15
|
+
ConsentDashboardStatsGetOutput,
|
|
16
|
+
ConsentEmbedGetInput,
|
|
17
|
+
ConsentEmbedGetOutput,
|
|
18
|
+
ConsentProvidersCreateInput,
|
|
19
|
+
ConsentProvidersDeleteInput,
|
|
20
|
+
ConsentProvidersListInput,
|
|
21
|
+
ConsentProvidersListOutput,
|
|
22
|
+
ConsentProvidersUpdateInput,
|
|
23
|
+
ConsentRecordsExportInput,
|
|
24
|
+
ConsentRecordsExportOutput,
|
|
25
|
+
ConsentStatsGetInput,
|
|
26
|
+
ConsentStatsGetOutput,
|
|
27
|
+
} from '../types.gen';
|
|
28
|
+
|
|
29
|
+
export const consentConfigCookieDomainUpsertMutationOptions = (sdk: GeneratedClient) => ({
|
|
30
|
+
mutationKey: ['consent', 'config-cookie-domain', 'upsert'],
|
|
31
|
+
mutationFn: (input: ConsentConfigCookieDomainUpsertInput) => sdk['consent']['config-cookie-domain']['upsert'](input),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export const consentConfigCustomizationUpsertMutationOptions = (sdk: GeneratedClient) => ({
|
|
35
|
+
mutationKey: ['consent', 'config-customization', 'upsert'],
|
|
36
|
+
mutationFn: (input: ConsentConfigCustomizationUpsertInput) => sdk['consent']['config-customization']['upsert'](input),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export const consentConfigFloatingIconUpsertMutationOptions = (sdk: GeneratedClient) => ({
|
|
40
|
+
mutationKey: ['consent', 'config-floating-icon', 'upsert'],
|
|
41
|
+
mutationFn: (input: ConsentConfigFloatingIconUpsertInput) => sdk['consent']['config-floating-icon']['upsert'](input),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
export const consentConfigThemeUpsertMutationOptions = (sdk: GeneratedClient) => ({
|
|
45
|
+
mutationKey: ['consent', 'config-theme', 'upsert'],
|
|
46
|
+
mutationFn: (input: ConsentConfigThemeUpsertInput) => sdk['consent']['config-theme']['upsert'](input),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export const consentDashboardConfigGetQueryOptions = (sdk: GeneratedClient, input: ConsentDashboardConfigGetInput) => ({
|
|
50
|
+
queryKey: ['consent', 'dashboard-config', 'get', input] as const,
|
|
51
|
+
queryFn: () => sdk['consent']['dashboard-config']['get'](input),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export const consentDashboardDecisionsListQueryOptions = (sdk: GeneratedClient, input: ConsentDashboardDecisionsListInput) => ({
|
|
55
|
+
queryKey: ['consent', 'dashboard-decisions', 'list', input] as const,
|
|
56
|
+
queryFn: () => sdk['consent']['dashboard-decisions']['list'](input),
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export const consentDashboardEmbedSnippetGetQueryOptions = (sdk: GeneratedClient, input: ConsentDashboardEmbedSnippetGetInput) => ({
|
|
60
|
+
queryKey: ['consent', 'dashboard-embed-snippet', 'get', input] as const,
|
|
61
|
+
queryFn: () => sdk['consent']['dashboard-embed-snippet']['get'](input),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export const consentDashboardStatsGetQueryOptions = (sdk: GeneratedClient, input: ConsentDashboardStatsGetInput) => ({
|
|
65
|
+
queryKey: ['consent', 'dashboard-stats', 'get', input] as const,
|
|
66
|
+
queryFn: () => sdk['consent']['dashboard-stats']['get'](input),
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export const consentEmbedGetQueryOptions = (sdk: GeneratedClient, input: ConsentEmbedGetInput) => ({
|
|
70
|
+
queryKey: ['consent', 'embed', 'get', input] as const,
|
|
71
|
+
queryFn: () => sdk['consent']['embed']['get'](input),
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
export const consentProvidersCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
75
|
+
mutationKey: ['consent', 'providers', 'create'],
|
|
76
|
+
mutationFn: (input: ConsentProvidersCreateInput) => sdk['consent']['providers']['create'](input),
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export const consentProvidersDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
80
|
+
mutationKey: ['consent', 'providers', 'delete'],
|
|
81
|
+
mutationFn: (input: ConsentProvidersDeleteInput) => sdk['consent']['providers']['delete'](input),
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
export const consentProvidersListQueryOptions = (sdk: GeneratedClient, input: ConsentProvidersListInput) => ({
|
|
85
|
+
queryKey: ['consent', 'providers', 'list', input] as const,
|
|
86
|
+
queryFn: () => sdk['consent']['providers']['list'](input),
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export const consentProvidersUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
90
|
+
mutationKey: ['consent', 'providers', 'update'],
|
|
91
|
+
mutationFn: (input: ConsentProvidersUpdateInput) => sdk['consent']['providers']['update'](input),
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
export const consentRecordsExportQueryOptions = (sdk: GeneratedClient, input: ConsentRecordsExportInput) => ({
|
|
95
|
+
queryKey: ['consent', 'records', 'export', input] as const,
|
|
96
|
+
queryFn: () => sdk['consent']['records']['export'](input),
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
export const consentStatsGetQueryOptions = (sdk: GeneratedClient, input: ConsentStatsGetInput) => ({
|
|
100
|
+
queryKey: ['consent', 'stats', 'get', input] as const,
|
|
101
|
+
queryFn: () => sdk['consent']['stats']['get'](input),
|
|
102
|
+
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { ContentChannelsBindInput, ContentChannelsBindOutput, ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsResumeInput, ContentChannelsResumeOutput, ContentChannelsUnbindInput, ContentChannelsUnbindOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentMediaCreateUploadUrlInput, ContentMediaCreateUploadUrlOutput, ContentMediaFinalizeInput, ContentMediaFinalizeOutput, ContentMediaGetInput, ContentMediaGetOutput, ContentMediaListInput, ContentMediaListOutput, ContentMediaUploadInput, ContentMediaUploadOutput, ContentMetricsChannelSeriesInput, ContentMetricsChannelSeriesOutput, ContentMetricsPostSeriesInput, ContentMetricsPostSeriesOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsAttachMediaInput, ContentPostsAttachMediaOutput, ContentPostsCreateInput, ContentPostsCreateOutput, ContentPostsDetachMediaInput, ContentPostsDetachMediaOutput, ContentPostsGetInput, ContentPostsGetOutput, ContentPostsListInput, ContentPostsListOutput, ContentPostsSubmitInput, ContentPostsSubmitOutput, ContentPostsUpdateInput, ContentPostsUpdateOutput, ContentPostsVersionsInput, ContentPostsVersionsOutput, ContentPublicationsCancelInput, ContentPublicationsCancelOutput, ContentPublicationsConfirmInput, ContentPublicationsConfirmOutput, ContentPublicationsGetInput, ContentPublicationsGetOutput, ContentPublicationsListInput, ContentPublicationsListOutput, ContentPublicationsPublishInput, ContentPublicationsPublishOutput, ContentPublicationsRemindInput, ContentPublicationsRemindOutput, ContentPublicationsRescheduleInput, ContentPublicationsRescheduleOutput, ContentPublicationsScheduleInput, ContentPublicationsScheduleOutput, ContentPublicationsValidateInput, ContentPublicationsValidateOutput } from '../types.gen';
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
ContentChannelsBindInput,
|
|
5
|
+
ContentChannelsGetInput,
|
|
6
|
+
ContentChannelsGetOutput,
|
|
7
|
+
ContentChannelsListInput,
|
|
8
|
+
ContentChannelsListOutput,
|
|
9
|
+
ContentChannelsResumeInput,
|
|
10
|
+
ContentChannelsUnbindInput,
|
|
11
|
+
ContentChannelsUpdateInput,
|
|
12
|
+
ContentMediaCreateUploadUrlInput,
|
|
13
|
+
ContentMediaFinalizeInput,
|
|
14
|
+
ContentMediaGetInput,
|
|
15
|
+
ContentMediaGetOutput,
|
|
16
|
+
ContentMediaListInput,
|
|
17
|
+
ContentMediaListOutput,
|
|
18
|
+
ContentMediaUploadInput,
|
|
19
|
+
ContentMetricsChannelSeriesInput,
|
|
20
|
+
ContentMetricsChannelSeriesOutput,
|
|
21
|
+
ContentMetricsPostSeriesInput,
|
|
22
|
+
ContentMetricsPostSeriesOutput,
|
|
23
|
+
ContentPostsApproveInput,
|
|
24
|
+
ContentPostsAttachMediaInput,
|
|
25
|
+
ContentPostsCreateInput,
|
|
26
|
+
ContentPostsDetachMediaInput,
|
|
27
|
+
ContentPostsGetInput,
|
|
28
|
+
ContentPostsGetOutput,
|
|
29
|
+
ContentPostsListInput,
|
|
30
|
+
ContentPostsListOutput,
|
|
31
|
+
ContentPostsSubmitInput,
|
|
32
|
+
ContentPostsUpdateInput,
|
|
33
|
+
ContentPostsVersionsInput,
|
|
34
|
+
ContentPostsVersionsOutput,
|
|
35
|
+
ContentPublicationsCancelInput,
|
|
36
|
+
ContentPublicationsConfirmInput,
|
|
37
|
+
ContentPublicationsGetInput,
|
|
38
|
+
ContentPublicationsGetOutput,
|
|
39
|
+
ContentPublicationsListInput,
|
|
40
|
+
ContentPublicationsListOutput,
|
|
41
|
+
ContentPublicationsPublishInput,
|
|
42
|
+
ContentPublicationsRemindInput,
|
|
43
|
+
ContentPublicationsRescheduleInput,
|
|
44
|
+
ContentPublicationsScheduleInput,
|
|
45
|
+
ContentPublicationsValidateInput,
|
|
46
|
+
ContentPublicationsValidateOutput,
|
|
47
|
+
} from '../types.gen';
|
|
48
|
+
|
|
49
|
+
export const contentChannelsBindMutationOptions = (sdk: GeneratedClient) => ({
|
|
50
|
+
mutationKey: ['content', 'channels', 'bind'],
|
|
51
|
+
mutationFn: (input: ContentChannelsBindInput) => sdk['content']['channels']['bind'](input),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export const contentChannelsGetQueryOptions = (sdk: GeneratedClient, input: ContentChannelsGetInput) => ({
|
|
55
|
+
queryKey: ['content', 'channels', 'get', input] as const,
|
|
56
|
+
queryFn: () => sdk['content']['channels']['get'](input),
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export const contentChannelsListQueryOptions = (sdk: GeneratedClient, input: ContentChannelsListInput) => ({
|
|
60
|
+
queryKey: ['content', 'channels', 'list', input] as const,
|
|
61
|
+
queryFn: () => sdk['content']['channels']['list'](input),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export const contentChannelsResumeMutationOptions = (sdk: GeneratedClient) => ({
|
|
65
|
+
mutationKey: ['content', 'channels', 'resume'],
|
|
66
|
+
mutationFn: (input: ContentChannelsResumeInput) => sdk['content']['channels']['resume'](input),
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export const contentChannelsUnbindMutationOptions = (sdk: GeneratedClient) => ({
|
|
70
|
+
mutationKey: ['content', 'channels', 'unbind'],
|
|
71
|
+
mutationFn: (input: ContentChannelsUnbindInput) => sdk['content']['channels']['unbind'](input),
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
export const contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
75
|
+
mutationKey: ['content', 'channels', 'update'],
|
|
76
|
+
mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](input),
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export const contentMediaCreateUploadUrlMutationOptions = (sdk: GeneratedClient) => ({
|
|
80
|
+
mutationKey: ['content', 'media-create-upload', 'url'],
|
|
81
|
+
mutationFn: (input: ContentMediaCreateUploadUrlInput) => sdk['content']['media-create-upload']['url'](input),
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
export const contentMediaFinalizeMutationOptions = (sdk: GeneratedClient) => ({
|
|
85
|
+
mutationKey: ['content', 'media', 'finalize'],
|
|
86
|
+
mutationFn: (input: ContentMediaFinalizeInput) => sdk['content']['media']['finalize'](input),
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export const contentMediaGetQueryOptions = (sdk: GeneratedClient, input: ContentMediaGetInput) => ({
|
|
90
|
+
queryKey: ['content', 'media', 'get', input] as const,
|
|
91
|
+
queryFn: () => sdk['content']['media']['get'](input),
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
export const contentMediaListQueryOptions = (sdk: GeneratedClient, input: ContentMediaListInput) => ({
|
|
95
|
+
queryKey: ['content', 'media', 'list', input] as const,
|
|
96
|
+
queryFn: () => sdk['content']['media']['list'](input),
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
export const contentMediaUploadMutationOptions = (sdk: GeneratedClient) => ({
|
|
100
|
+
mutationKey: ['content', 'media', 'upload'],
|
|
101
|
+
mutationFn: (input: ContentMediaUploadInput) => sdk['content']['media']['upload'](input),
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
export const contentMetricsChannelSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsChannelSeriesInput) => ({
|
|
105
|
+
queryKey: ['content', 'metrics-channel', 'series', input] as const,
|
|
106
|
+
queryFn: () => sdk['content']['metrics-channel']['series'](input),
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
export const contentMetricsPostSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsPostSeriesInput) => ({
|
|
110
|
+
queryKey: ['content', 'metrics-post', 'series', input] as const,
|
|
111
|
+
queryFn: () => sdk['content']['metrics-post']['series'](input),
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
export const contentPostsApproveMutationOptions = (sdk: GeneratedClient) => ({
|
|
115
|
+
mutationKey: ['content', 'posts', 'approve'],
|
|
116
|
+
mutationFn: (input: ContentPostsApproveInput) => sdk['content']['posts']['approve'](input),
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
export const contentPostsAttachMediaMutationOptions = (sdk: GeneratedClient) => ({
|
|
120
|
+
mutationKey: ['content', 'posts-attach', 'media'],
|
|
121
|
+
mutationFn: (input: ContentPostsAttachMediaInput) => sdk['content']['posts-attach']['media'](input),
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
export const contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
125
|
+
mutationKey: ['content', 'posts', 'create'],
|
|
126
|
+
mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](input),
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
export const contentPostsDetachMediaMutationOptions = (sdk: GeneratedClient) => ({
|
|
130
|
+
mutationKey: ['content', 'posts-detach', 'media'],
|
|
131
|
+
mutationFn: (input: ContentPostsDetachMediaInput) => sdk['content']['posts-detach']['media'](input),
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
export const contentPostsGetQueryOptions = (sdk: GeneratedClient, input: ContentPostsGetInput) => ({
|
|
135
|
+
queryKey: ['content', 'posts', 'get', input] as const,
|
|
136
|
+
queryFn: () => sdk['content']['posts']['get'](input),
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
export const contentPostsListQueryOptions = (sdk: GeneratedClient, input: ContentPostsListInput) => ({
|
|
140
|
+
queryKey: ['content', 'posts', 'list', input] as const,
|
|
141
|
+
queryFn: () => sdk['content']['posts']['list'](input),
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
export const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({
|
|
145
|
+
mutationKey: ['content', 'posts', 'submit'],
|
|
146
|
+
mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
export const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
150
|
+
mutationKey: ['content', 'posts', 'update'],
|
|
151
|
+
mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
export const contentPostsVersionsQueryOptions = (sdk: GeneratedClient, input: ContentPostsVersionsInput) => ({
|
|
155
|
+
queryKey: ['content', 'posts', 'versions', input] as const,
|
|
156
|
+
queryFn: () => sdk['content']['posts']['versions'](input),
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
export const contentPublicationsCancelMutationOptions = (sdk: GeneratedClient) => ({
|
|
160
|
+
mutationKey: ['content', 'publications', 'cancel'],
|
|
161
|
+
mutationFn: (input: ContentPublicationsCancelInput) => sdk['content']['publications']['cancel'](input),
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
export const contentPublicationsConfirmMutationOptions = (sdk: GeneratedClient) => ({
|
|
165
|
+
mutationKey: ['content', 'publications', 'confirm'],
|
|
166
|
+
mutationFn: (input: ContentPublicationsConfirmInput) => sdk['content']['publications']['confirm'](input),
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
export const contentPublicationsGetQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsGetInput) => ({
|
|
170
|
+
queryKey: ['content', 'publications', 'get', input] as const,
|
|
171
|
+
queryFn: () => sdk['content']['publications']['get'](input),
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
export const contentPublicationsListQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsListInput) => ({
|
|
175
|
+
queryKey: ['content', 'publications', 'list', input] as const,
|
|
176
|
+
queryFn: () => sdk['content']['publications']['list'](input),
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
export const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient) => ({
|
|
180
|
+
mutationKey: ['content', 'publications', 'publish'],
|
|
181
|
+
mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
export const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({
|
|
185
|
+
mutationKey: ['content', 'publications', 'remind'],
|
|
186
|
+
mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
export const contentPublicationsRescheduleMutationOptions = (sdk: GeneratedClient) => ({
|
|
190
|
+
mutationKey: ['content', 'publications', 'reschedule'],
|
|
191
|
+
mutationFn: (input: ContentPublicationsRescheduleInput) => sdk['content']['publications']['reschedule'](input),
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
export const contentPublicationsScheduleMutationOptions = (sdk: GeneratedClient) => ({
|
|
195
|
+
mutationKey: ['content', 'publications', 'schedule'],
|
|
196
|
+
mutationFn: (input: ContentPublicationsScheduleInput) => sdk['content']['publications']['schedule'](input),
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
export const contentPublicationsValidateQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsValidateInput) => ({
|
|
200
|
+
queryKey: ['content', 'publications', 'validate', input] as const,
|
|
201
|
+
queryFn: () => sdk['content']['publications']['validate'](input),
|
|
202
|
+
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentJobRunInput, DeploymentJobRunLogsInput, DeploymentJobRunLogsOutput, DeploymentJobRunOutput, DeploymentJobRunsListInput, DeploymentJobRunsListOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentServiceWakeInput, DeploymentServiceWakeOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentSuspensionGetInput, DeploymentSuspensionGetOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
|