@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.
Files changed (183) hide show
  1. package/README.md +233 -0
  2. package/dist/_types/gen/analytics/index.d.ts +2 -0
  3. package/dist/_types/gen/analytics/queryOptions.gen.d.ts +74 -0
  4. package/dist/_types/gen/bindings.gen.d.ts +3 -0
  5. package/dist/_types/gen/brain/index.d.ts +2 -0
  6. package/dist/_types/gen/brain/queryOptions.gen.d.ts +166 -0
  7. package/dist/_types/gen/client.gen.d.ts +1087 -0
  8. package/dist/_types/gen/consent/index.d.ts +2 -0
  9. package/dist/_types/gen/consent/queryOptions.gen.d.ts +62 -0
  10. package/dist/_types/gen/content/index.d.ts +2 -0
  11. package/dist/_types/gen/content/queryOptions.gen.d.ts +126 -0
  12. package/dist/_types/gen/deployment/index.d.ts +2 -0
  13. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +438 -0
  14. package/dist/_types/gen/mail/index.d.ts +2 -0
  15. package/dist/_types/gen/mail/queryOptions.gen.d.ts +206 -0
  16. package/dist/_types/gen/manifest.gen.d.ts +4 -0
  17. package/dist/_types/gen/observe/index.d.ts +2 -0
  18. package/dist/_types/gen/observe/queryOptions.gen.d.ts +142 -0
  19. package/dist/_types/gen/organization/index.d.ts +2 -0
  20. package/dist/_types/gen/organization/queryOptions.gen.d.ts +362 -0
  21. package/dist/_types/gen/realtime/index.d.ts +2 -0
  22. package/dist/_types/gen/realtime/queryOptions.gen.d.ts +114 -0
  23. package/dist/_types/gen/support/index.d.ts +2 -0
  24. package/dist/_types/gen/support/queryOptions.gen.d.ts +206 -0
  25. package/dist/_types/gen/tracking/index.d.ts +2 -0
  26. package/dist/_types/gen/tracking/queryOptions.gen.d.ts +150 -0
  27. package/dist/_types/gen/types.gen.d.ts +126011 -0
  28. package/dist/_types/gen/users/index.d.ts +2 -0
  29. package/dist/_types/gen/users/queryOptions.gen.d.ts +182 -0
  30. package/dist/_types/gen/waitlist/index.d.ts +2 -0
  31. package/dist/_types/gen/waitlist/queryOptions.gen.d.ts +30 -0
  32. package/dist/_types/gen/workflow/index.d.ts +2 -0
  33. package/dist/_types/gen/workflow/queryOptions.gen.d.ts +166 -0
  34. package/dist/_types/index.d.ts +11 -0
  35. package/dist/_types/package.json +1 -0
  36. package/dist/_types/react/index.d.ts +33 -0
  37. package/dist/_types/runtime/access-reason.d.ts +27 -0
  38. package/dist/_types/runtime/access.d.ts +40 -0
  39. package/dist/_types/runtime/compositions.d.ts +16 -0
  40. package/dist/_types/runtime/connectStream.d.ts +15 -0
  41. package/dist/_types/runtime/createLesslyApp.d.ts +10 -0
  42. package/dist/_types/runtime/csrf.d.ts +1 -0
  43. package/dist/_types/runtime/errors.d.ts +18 -0
  44. package/dist/_types/runtime/name.d.ts +26 -0
  45. package/dist/_types/runtime/operations.d.ts +13 -0
  46. package/dist/_types/runtime/permission-match.d.ts +62 -0
  47. package/dist/_types/runtime/request.d.ts +9 -0
  48. package/dist/_types/runtime/types.d.ts +129 -0
  49. package/dist/analytics/index.cjs +96 -0
  50. package/dist/analytics/index.cjs.map +1 -0
  51. package/dist/analytics/index.d.cts +1 -0
  52. package/dist/analytics/index.d.ts +1 -0
  53. package/dist/analytics/index.js +77 -0
  54. package/dist/analytics/index.js.map +1 -0
  55. package/dist/brain/index.cjs +211 -0
  56. package/dist/brain/index.cjs.map +1 -0
  57. package/dist/brain/index.d.cts +1 -0
  58. package/dist/brain/index.d.ts +1 -0
  59. package/dist/brain/index.js +169 -0
  60. package/dist/brain/index.js.map +1 -0
  61. package/dist/consent/index.cjs +81 -0
  62. package/dist/consent/index.cjs.map +1 -0
  63. package/dist/consent/index.d.cts +1 -0
  64. package/dist/consent/index.d.ts +1 -0
  65. package/dist/consent/index.js +65 -0
  66. package/dist/consent/index.js.map +1 -0
  67. package/dist/content/index.cjs +161 -0
  68. package/dist/content/index.cjs.map +1 -0
  69. package/dist/content/index.d.cts +1 -0
  70. package/dist/content/index.d.ts +1 -0
  71. package/dist/content/index.js +129 -0
  72. package/dist/content/index.js.map +1 -0
  73. package/dist/deployment/index.cjs +551 -0
  74. package/dist/deployment/index.cjs.map +1 -0
  75. package/dist/deployment/index.d.cts +1 -0
  76. package/dist/deployment/index.d.ts +1 -0
  77. package/dist/deployment/index.js +441 -0
  78. package/dist/deployment/index.js.map +1 -0
  79. package/dist/index.cjs +12565 -0
  80. package/dist/index.cjs.map +1 -0
  81. package/dist/index.d.cts +1 -0
  82. package/dist/index.d.ts +1 -0
  83. package/dist/index.js +12557 -0
  84. package/dist/index.js.map +1 -0
  85. package/dist/mail/index.cjs +261 -0
  86. package/dist/mail/index.cjs.map +1 -0
  87. package/dist/mail/index.d.cts +1 -0
  88. package/dist/mail/index.d.ts +1 -0
  89. package/dist/mail/index.js +209 -0
  90. package/dist/mail/index.js.map +1 -0
  91. package/dist/observe/index.cjs +181 -0
  92. package/dist/observe/index.cjs.map +1 -0
  93. package/dist/observe/index.d.cts +1 -0
  94. package/dist/observe/index.d.ts +1 -0
  95. package/dist/observe/index.js +145 -0
  96. package/dist/observe/index.js.map +1 -0
  97. package/dist/organization/index.cjs +456 -0
  98. package/dist/organization/index.cjs.map +1 -0
  99. package/dist/organization/index.d.cts +1 -0
  100. package/dist/organization/index.d.ts +1 -0
  101. package/dist/organization/index.js +365 -0
  102. package/dist/organization/index.js.map +1 -0
  103. package/dist/react/index.cjs +29 -0
  104. package/dist/react/index.cjs.map +1 -0
  105. package/dist/react/index.d.cts +1 -0
  106. package/dist/react/index.d.ts +1 -0
  107. package/dist/react/index.js +26 -0
  108. package/dist/react/index.js.map +1 -0
  109. package/dist/realtime/index.cjs +146 -0
  110. package/dist/realtime/index.cjs.map +1 -0
  111. package/dist/realtime/index.d.cts +1 -0
  112. package/dist/realtime/index.d.ts +1 -0
  113. package/dist/realtime/index.js +117 -0
  114. package/dist/realtime/index.js.map +1 -0
  115. package/dist/support/index.cjs +261 -0
  116. package/dist/support/index.cjs.map +1 -0
  117. package/dist/support/index.d.cts +1 -0
  118. package/dist/support/index.d.ts +1 -0
  119. package/dist/support/index.js +209 -0
  120. package/dist/support/index.js.map +1 -0
  121. package/dist/tracking/index.cjs +191 -0
  122. package/dist/tracking/index.cjs.map +1 -0
  123. package/dist/tracking/index.d.cts +1 -0
  124. package/dist/tracking/index.d.ts +1 -0
  125. package/dist/tracking/index.js +153 -0
  126. package/dist/tracking/index.js.map +1 -0
  127. package/dist/users/index.cjs +231 -0
  128. package/dist/users/index.cjs.map +1 -0
  129. package/dist/users/index.d.cts +1 -0
  130. package/dist/users/index.d.ts +1 -0
  131. package/dist/users/index.js +185 -0
  132. package/dist/users/index.js.map +1 -0
  133. package/dist/waitlist/index.cjs +41 -0
  134. package/dist/waitlist/index.cjs.map +1 -0
  135. package/dist/waitlist/index.d.cts +1 -0
  136. package/dist/waitlist/index.d.ts +1 -0
  137. package/dist/waitlist/index.js +33 -0
  138. package/dist/waitlist/index.js.map +1 -0
  139. package/dist/workflow/index.cjs +211 -0
  140. package/dist/workflow/index.cjs.map +1 -0
  141. package/dist/workflow/index.d.cts +1 -0
  142. package/dist/workflow/index.d.ts +1 -0
  143. package/dist/workflow/index.js +169 -0
  144. package/dist/workflow/index.js.map +1 -0
  145. package/docs/README.md +89 -0
  146. package/docs/recipes/access.md +781 -0
  147. package/docs/recipes/federation.md +285 -0
  148. package/docs/recipes/local-dev.md +111 -0
  149. package/docs/recipes/sdk-usage.md +194 -0
  150. package/docs/rules.md +522 -0
  151. package/package.json +212 -0
  152. package/src/gen/analytics/index.ts +3 -0
  153. package/src/gen/analytics/queryOptions.gen.ts +124 -0
  154. package/src/gen/bindings.gen.ts +11330 -0
  155. package/src/gen/brain/index.ts +3 -0
  156. package/src/gen/brain/queryOptions.gen.ts +278 -0
  157. package/src/gen/client.gen.ts +2288 -0
  158. package/src/gen/consent/index.ts +3 -0
  159. package/src/gen/consent/queryOptions.gen.ts +102 -0
  160. package/src/gen/content/index.ts +3 -0
  161. package/src/gen/content/queryOptions.gen.ts +202 -0
  162. package/src/gen/deployment/index.ts +3 -0
  163. package/src/gen/deployment/queryOptions.gen.ts +707 -0
  164. package/src/gen/mail/index.ts +3 -0
  165. package/src/gen/mail/queryOptions.gen.ts +331 -0
  166. package/src/gen/manifest.gen.ts +780 -0
  167. package/src/gen/observe/index.ts +3 -0
  168. package/src/gen/observe/queryOptions.gen.ts +235 -0
  169. package/src/gen/organization/index.ts +3 -0
  170. package/src/gen/organization/queryOptions.gen.ts +578 -0
  171. package/src/gen/realtime/index.ts +3 -0
  172. package/src/gen/realtime/queryOptions.gen.ts +185 -0
  173. package/src/gen/support/index.ts +3 -0
  174. package/src/gen/support/queryOptions.gen.ts +331 -0
  175. package/src/gen/tracking/index.ts +3 -0
  176. package/src/gen/tracking/queryOptions.gen.ts +249 -0
  177. package/src/gen/types.gen.ts +119506 -0
  178. package/src/gen/users/index.ts +3 -0
  179. package/src/gen/users/queryOptions.gen.ts +295 -0
  180. package/src/gen/waitlist/index.ts +3 -0
  181. package/src/gen/waitlist/queryOptions.gen.ts +50 -0
  182. package/src/gen/workflow/index.ts +3 -0
  183. 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';