@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,65 @@
|
|
|
1
|
+
// src/gen/consent/queryOptions.gen.ts
|
|
2
|
+
var consentConfigCookieDomainUpsertMutationOptions = (sdk) => ({
|
|
3
|
+
mutationKey: ["consent", "config-cookie-domain", "upsert"],
|
|
4
|
+
mutationFn: (input) => sdk["consent"]["config-cookie-domain"]["upsert"](input)
|
|
5
|
+
});
|
|
6
|
+
var consentConfigCustomizationUpsertMutationOptions = (sdk) => ({
|
|
7
|
+
mutationKey: ["consent", "config-customization", "upsert"],
|
|
8
|
+
mutationFn: (input) => sdk["consent"]["config-customization"]["upsert"](input)
|
|
9
|
+
});
|
|
10
|
+
var consentConfigFloatingIconUpsertMutationOptions = (sdk) => ({
|
|
11
|
+
mutationKey: ["consent", "config-floating-icon", "upsert"],
|
|
12
|
+
mutationFn: (input) => sdk["consent"]["config-floating-icon"]["upsert"](input)
|
|
13
|
+
});
|
|
14
|
+
var consentConfigThemeUpsertMutationOptions = (sdk) => ({
|
|
15
|
+
mutationKey: ["consent", "config-theme", "upsert"],
|
|
16
|
+
mutationFn: (input) => sdk["consent"]["config-theme"]["upsert"](input)
|
|
17
|
+
});
|
|
18
|
+
var consentDashboardConfigGetQueryOptions = (sdk, input) => ({
|
|
19
|
+
queryKey: ["consent", "dashboard-config", "get", input],
|
|
20
|
+
queryFn: () => sdk["consent"]["dashboard-config"]["get"](input)
|
|
21
|
+
});
|
|
22
|
+
var consentDashboardDecisionsListQueryOptions = (sdk, input) => ({
|
|
23
|
+
queryKey: ["consent", "dashboard-decisions", "list", input],
|
|
24
|
+
queryFn: () => sdk["consent"]["dashboard-decisions"]["list"](input)
|
|
25
|
+
});
|
|
26
|
+
var consentDashboardEmbedSnippetGetQueryOptions = (sdk, input) => ({
|
|
27
|
+
queryKey: ["consent", "dashboard-embed-snippet", "get", input],
|
|
28
|
+
queryFn: () => sdk["consent"]["dashboard-embed-snippet"]["get"](input)
|
|
29
|
+
});
|
|
30
|
+
var consentDashboardStatsGetQueryOptions = (sdk, input) => ({
|
|
31
|
+
queryKey: ["consent", "dashboard-stats", "get", input],
|
|
32
|
+
queryFn: () => sdk["consent"]["dashboard-stats"]["get"](input)
|
|
33
|
+
});
|
|
34
|
+
var consentEmbedGetQueryOptions = (sdk, input) => ({
|
|
35
|
+
queryKey: ["consent", "embed", "get", input],
|
|
36
|
+
queryFn: () => sdk["consent"]["embed"]["get"](input)
|
|
37
|
+
});
|
|
38
|
+
var consentProvidersCreateMutationOptions = (sdk) => ({
|
|
39
|
+
mutationKey: ["consent", "providers", "create"],
|
|
40
|
+
mutationFn: (input) => sdk["consent"]["providers"]["create"](input)
|
|
41
|
+
});
|
|
42
|
+
var consentProvidersDeleteMutationOptions = (sdk) => ({
|
|
43
|
+
mutationKey: ["consent", "providers", "delete"],
|
|
44
|
+
mutationFn: (input) => sdk["consent"]["providers"]["delete"](input)
|
|
45
|
+
});
|
|
46
|
+
var consentProvidersListQueryOptions = (sdk, input) => ({
|
|
47
|
+
queryKey: ["consent", "providers", "list", input],
|
|
48
|
+
queryFn: () => sdk["consent"]["providers"]["list"](input)
|
|
49
|
+
});
|
|
50
|
+
var consentProvidersUpdateMutationOptions = (sdk) => ({
|
|
51
|
+
mutationKey: ["consent", "providers", "update"],
|
|
52
|
+
mutationFn: (input) => sdk["consent"]["providers"]["update"](input)
|
|
53
|
+
});
|
|
54
|
+
var consentRecordsExportQueryOptions = (sdk, input) => ({
|
|
55
|
+
queryKey: ["consent", "records", "export", input],
|
|
56
|
+
queryFn: () => sdk["consent"]["records"]["export"](input)
|
|
57
|
+
});
|
|
58
|
+
var consentStatsGetQueryOptions = (sdk, input) => ({
|
|
59
|
+
queryKey: ["consent", "stats", "get", input],
|
|
60
|
+
queryFn: () => sdk["consent"]["stats"]["get"](input)
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export { consentConfigCookieDomainUpsertMutationOptions, consentConfigCustomizationUpsertMutationOptions, consentConfigFloatingIconUpsertMutationOptions, consentConfigThemeUpsertMutationOptions, consentDashboardConfigGetQueryOptions, consentDashboardDecisionsListQueryOptions, consentDashboardEmbedSnippetGetQueryOptions, consentDashboardStatsGetQueryOptions, consentEmbedGetQueryOptions, consentProvidersCreateMutationOptions, consentProvidersDeleteMutationOptions, consentProvidersListQueryOptions, consentProvidersUpdateMutationOptions, consentRecordsExportQueryOptions, consentStatsGetQueryOptions };
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
65
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/gen/consent/queryOptions.gen.ts"],"names":[],"mappings":";AA4BO,IAAM,8CAAA,GAAiD,CAAC,GAAA,MAA0B;AAAA,EACvF,WAAA,EAAa,CAAC,SAAA,EAAW,sBAAA,EAAwB,QAAQ,CAAA;AAAA,EACzD,UAAA,EAAY,CAAC,KAAA,KAAgD,GAAA,CAAI,SAAS,EAAE,sBAAsB,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACrH,CAAA;AAEO,IAAM,+CAAA,GAAkD,CAAC,GAAA,MAA0B;AAAA,EACxF,WAAA,EAAa,CAAC,SAAA,EAAW,sBAAA,EAAwB,QAAQ,CAAA;AAAA,EACzD,UAAA,EAAY,CAAC,KAAA,KAAiD,GAAA,CAAI,SAAS,EAAE,sBAAsB,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACtH,CAAA;AAEO,IAAM,8CAAA,GAAiD,CAAC,GAAA,MAA0B;AAAA,EACvF,WAAA,EAAa,CAAC,SAAA,EAAW,sBAAA,EAAw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C,KAAA,KAAuC,GAAA,CAAI,SAAS,EAAE,WAAW,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACjG,CAAA;AAEO,IAAM,gCAAA,GAAmC,CAAC,GAAA,EAAsB,KAAA,MAAsC;AAAA,EAC3G,QAAA,EAAU,CAAC,SAAA,EAAW,SAAA,EAAW,UAAU,KAAK,CAAA;AAAA,EAChD,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC1D,CAAA;AAEO,IAAM,2BAAA,GAA8B,CAAC,GAAA,EAAsB,KAAA,MAAiC;AAAA,EACjG,QAAA,EAAU,CAAC,SAAA,EAAW,OAAA,EAAS,OAAO,KAAK,CAAA;AAAA,EAC3C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACrD,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n ConsentConfigCookieDomainUpsertInput,\n ConsentConfigCustomizationUpsertInput,\n ConsentConfigFloatingIconUpsertInput,\n ConsentConfigThemeUpsertInput,\n ConsentDashboardConfigGetInput,\n ConsentDashboardConfigGetOutput,\n ConsentDashboardDecisionsListInput,\n ConsentDashboardDecisionsListOutput,\n ConsentDashboardEmbedSnippetGetInput,\n ConsentDashboardEmbedSnippetGetOutput,\n ConsentDashboardStatsGetInput,\n ConsentDashboardStatsGetOutput,\n ConsentEmbedGetInput,\n ConsentEmbedGetOutput,\n ConsentProvidersCreateInput,\n ConsentProvidersDeleteInput,\n ConsentProvidersListInput,\n ConsentProvidersListOutput,\n ConsentProvidersUpdateInput,\n ConsentRecordsExportInput,\n ConsentRecordsExportOutput,\n ConsentStatsGetInput,\n ConsentStatsGetOutput,\n} from '../types.gen';\n\nexport const consentConfigCookieDomainUpsertMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['consent', 'config-cookie-domain', 'upsert'],\n mutationFn: (input: ConsentConfigCookieDomainUpsertInput) => sdk['consent']['config-cookie-domain']['upsert'](input),\n});\n\nexport const consentConfigCustomizationUpsertMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['consent', 'config-customization', 'upsert'],\n mutationFn: (input: ConsentConfigCustomizationUpsertInput) => sdk['consent']['config-customization']['upsert'](input),\n});\n\nexport const consentConfigFloatingIconUpsertMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['consent', 'config-floating-icon', 'upsert'],\n mutationFn: (input: ConsentConfigFloatingIconUpsertInput) => sdk['consent']['config-floating-icon']['upsert'](input),\n});\n\nexport const consentConfigThemeUpsertMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['consent', 'config-theme', 'upsert'],\n mutationFn: (input: ConsentConfigThemeUpsertInput) => sdk['consent']['config-theme']['upsert'](input),\n});\n\nexport const consentDashboardConfigGetQueryOptions = (sdk: GeneratedClient, input: ConsentDashboardConfigGetInput) => ({\n queryKey: ['consent', 'dashboard-config', 'get', input] as const,\n queryFn: () => sdk['consent']['dashboard-config']['get'](input),\n});\n\nexport const consentDashboardDecisionsListQueryOptions = (sdk: GeneratedClient, input: ConsentDashboardDecisionsListInput) => ({\n queryKey: ['consent', 'dashboard-decisions', 'list', input] as const,\n queryFn: () => sdk['consent']['dashboard-decisions']['list'](input),\n});\n\nexport const consentDashboardEmbedSnippetGetQueryOptions = (sdk: GeneratedClient, input: ConsentDashboardEmbedSnippetGetInput) => ({\n queryKey: ['consent', 'dashboard-embed-snippet', 'get', input] as const,\n queryFn: () => sdk['consent']['dashboard-embed-snippet']['get'](input),\n});\n\nexport const consentDashboardStatsGetQueryOptions = (sdk: GeneratedClient, input: ConsentDashboardStatsGetInput) => ({\n queryKey: ['consent', 'dashboard-stats', 'get', input] as const,\n queryFn: () => sdk['consent']['dashboard-stats']['get'](input),\n});\n\nexport const consentEmbedGetQueryOptions = (sdk: GeneratedClient, input: ConsentEmbedGetInput) => ({\n queryKey: ['consent', 'embed', 'get', input] as const,\n queryFn: () => sdk['consent']['embed']['get'](input),\n});\n\nexport const consentProvidersCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['consent', 'providers', 'create'],\n mutationFn: (input: ConsentProvidersCreateInput) => sdk['consent']['providers']['create'](input),\n});\n\nexport const consentProvidersDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['consent', 'providers', 'delete'],\n mutationFn: (input: ConsentProvidersDeleteInput) => sdk['consent']['providers']['delete'](input),\n});\n\nexport const consentProvidersListQueryOptions = (sdk: GeneratedClient, input: ConsentProvidersListInput) => ({\n queryKey: ['consent', 'providers', 'list', input] as const,\n queryFn: () => sdk['consent']['providers']['list'](input),\n});\n\nexport const consentProvidersUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['consent', 'providers', 'update'],\n mutationFn: (input: ConsentProvidersUpdateInput) => sdk['consent']['providers']['update'](input),\n});\n\nexport const consentRecordsExportQueryOptions = (sdk: GeneratedClient, input: ConsentRecordsExportInput) => ({\n queryKey: ['consent', 'records', 'export', input] as const,\n queryFn: () => sdk['consent']['records']['export'](input),\n});\n\nexport const consentStatsGetQueryOptions = (sdk: GeneratedClient, input: ConsentStatsGetInput) => ({\n queryKey: ['consent', 'stats', 'get', input] as const,\n queryFn: () => sdk['consent']['stats']['get'](input),\n});\n"]}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/gen/content/queryOptions.gen.ts
|
|
4
|
+
var contentChannelsBindMutationOptions = (sdk) => ({
|
|
5
|
+
mutationKey: ["content", "channels", "bind"],
|
|
6
|
+
mutationFn: (input) => sdk["content"]["channels"]["bind"](input)
|
|
7
|
+
});
|
|
8
|
+
var contentChannelsGetQueryOptions = (sdk, input) => ({
|
|
9
|
+
queryKey: ["content", "channels", "get", input],
|
|
10
|
+
queryFn: () => sdk["content"]["channels"]["get"](input)
|
|
11
|
+
});
|
|
12
|
+
var contentChannelsListQueryOptions = (sdk, input) => ({
|
|
13
|
+
queryKey: ["content", "channels", "list", input],
|
|
14
|
+
queryFn: () => sdk["content"]["channels"]["list"](input)
|
|
15
|
+
});
|
|
16
|
+
var contentChannelsResumeMutationOptions = (sdk) => ({
|
|
17
|
+
mutationKey: ["content", "channels", "resume"],
|
|
18
|
+
mutationFn: (input) => sdk["content"]["channels"]["resume"](input)
|
|
19
|
+
});
|
|
20
|
+
var contentChannelsUnbindMutationOptions = (sdk) => ({
|
|
21
|
+
mutationKey: ["content", "channels", "unbind"],
|
|
22
|
+
mutationFn: (input) => sdk["content"]["channels"]["unbind"](input)
|
|
23
|
+
});
|
|
24
|
+
var contentChannelsUpdateMutationOptions = (sdk) => ({
|
|
25
|
+
mutationKey: ["content", "channels", "update"],
|
|
26
|
+
mutationFn: (input) => sdk["content"]["channels"]["update"](input)
|
|
27
|
+
});
|
|
28
|
+
var contentMediaCreateUploadUrlMutationOptions = (sdk) => ({
|
|
29
|
+
mutationKey: ["content", "media-create-upload", "url"],
|
|
30
|
+
mutationFn: (input) => sdk["content"]["media-create-upload"]["url"](input)
|
|
31
|
+
});
|
|
32
|
+
var contentMediaFinalizeMutationOptions = (sdk) => ({
|
|
33
|
+
mutationKey: ["content", "media", "finalize"],
|
|
34
|
+
mutationFn: (input) => sdk["content"]["media"]["finalize"](input)
|
|
35
|
+
});
|
|
36
|
+
var contentMediaGetQueryOptions = (sdk, input) => ({
|
|
37
|
+
queryKey: ["content", "media", "get", input],
|
|
38
|
+
queryFn: () => sdk["content"]["media"]["get"](input)
|
|
39
|
+
});
|
|
40
|
+
var contentMediaListQueryOptions = (sdk, input) => ({
|
|
41
|
+
queryKey: ["content", "media", "list", input],
|
|
42
|
+
queryFn: () => sdk["content"]["media"]["list"](input)
|
|
43
|
+
});
|
|
44
|
+
var contentMediaUploadMutationOptions = (sdk) => ({
|
|
45
|
+
mutationKey: ["content", "media", "upload"],
|
|
46
|
+
mutationFn: (input) => sdk["content"]["media"]["upload"](input)
|
|
47
|
+
});
|
|
48
|
+
var contentMetricsChannelSeriesQueryOptions = (sdk, input) => ({
|
|
49
|
+
queryKey: ["content", "metrics-channel", "series", input],
|
|
50
|
+
queryFn: () => sdk["content"]["metrics-channel"]["series"](input)
|
|
51
|
+
});
|
|
52
|
+
var contentMetricsPostSeriesQueryOptions = (sdk, input) => ({
|
|
53
|
+
queryKey: ["content", "metrics-post", "series", input],
|
|
54
|
+
queryFn: () => sdk["content"]["metrics-post"]["series"](input)
|
|
55
|
+
});
|
|
56
|
+
var contentPostsApproveMutationOptions = (sdk) => ({
|
|
57
|
+
mutationKey: ["content", "posts", "approve"],
|
|
58
|
+
mutationFn: (input) => sdk["content"]["posts"]["approve"](input)
|
|
59
|
+
});
|
|
60
|
+
var contentPostsAttachMediaMutationOptions = (sdk) => ({
|
|
61
|
+
mutationKey: ["content", "posts-attach", "media"],
|
|
62
|
+
mutationFn: (input) => sdk["content"]["posts-attach"]["media"](input)
|
|
63
|
+
});
|
|
64
|
+
var contentPostsCreateMutationOptions = (sdk) => ({
|
|
65
|
+
mutationKey: ["content", "posts", "create"],
|
|
66
|
+
mutationFn: (input) => sdk["content"]["posts"]["create"](input)
|
|
67
|
+
});
|
|
68
|
+
var contentPostsDetachMediaMutationOptions = (sdk) => ({
|
|
69
|
+
mutationKey: ["content", "posts-detach", "media"],
|
|
70
|
+
mutationFn: (input) => sdk["content"]["posts-detach"]["media"](input)
|
|
71
|
+
});
|
|
72
|
+
var contentPostsGetQueryOptions = (sdk, input) => ({
|
|
73
|
+
queryKey: ["content", "posts", "get", input],
|
|
74
|
+
queryFn: () => sdk["content"]["posts"]["get"](input)
|
|
75
|
+
});
|
|
76
|
+
var contentPostsListQueryOptions = (sdk, input) => ({
|
|
77
|
+
queryKey: ["content", "posts", "list", input],
|
|
78
|
+
queryFn: () => sdk["content"]["posts"]["list"](input)
|
|
79
|
+
});
|
|
80
|
+
var contentPostsSubmitMutationOptions = (sdk) => ({
|
|
81
|
+
mutationKey: ["content", "posts", "submit"],
|
|
82
|
+
mutationFn: (input) => sdk["content"]["posts"]["submit"](input)
|
|
83
|
+
});
|
|
84
|
+
var contentPostsUpdateMutationOptions = (sdk) => ({
|
|
85
|
+
mutationKey: ["content", "posts", "update"],
|
|
86
|
+
mutationFn: (input) => sdk["content"]["posts"]["update"](input)
|
|
87
|
+
});
|
|
88
|
+
var contentPostsVersionsQueryOptions = (sdk, input) => ({
|
|
89
|
+
queryKey: ["content", "posts", "versions", input],
|
|
90
|
+
queryFn: () => sdk["content"]["posts"]["versions"](input)
|
|
91
|
+
});
|
|
92
|
+
var contentPublicationsCancelMutationOptions = (sdk) => ({
|
|
93
|
+
mutationKey: ["content", "publications", "cancel"],
|
|
94
|
+
mutationFn: (input) => sdk["content"]["publications"]["cancel"](input)
|
|
95
|
+
});
|
|
96
|
+
var contentPublicationsConfirmMutationOptions = (sdk) => ({
|
|
97
|
+
mutationKey: ["content", "publications", "confirm"],
|
|
98
|
+
mutationFn: (input) => sdk["content"]["publications"]["confirm"](input)
|
|
99
|
+
});
|
|
100
|
+
var contentPublicationsGetQueryOptions = (sdk, input) => ({
|
|
101
|
+
queryKey: ["content", "publications", "get", input],
|
|
102
|
+
queryFn: () => sdk["content"]["publications"]["get"](input)
|
|
103
|
+
});
|
|
104
|
+
var contentPublicationsListQueryOptions = (sdk, input) => ({
|
|
105
|
+
queryKey: ["content", "publications", "list", input],
|
|
106
|
+
queryFn: () => sdk["content"]["publications"]["list"](input)
|
|
107
|
+
});
|
|
108
|
+
var contentPublicationsPublishMutationOptions = (sdk) => ({
|
|
109
|
+
mutationKey: ["content", "publications", "publish"],
|
|
110
|
+
mutationFn: (input) => sdk["content"]["publications"]["publish"](input)
|
|
111
|
+
});
|
|
112
|
+
var contentPublicationsRemindMutationOptions = (sdk) => ({
|
|
113
|
+
mutationKey: ["content", "publications", "remind"],
|
|
114
|
+
mutationFn: (input) => sdk["content"]["publications"]["remind"](input)
|
|
115
|
+
});
|
|
116
|
+
var contentPublicationsRescheduleMutationOptions = (sdk) => ({
|
|
117
|
+
mutationKey: ["content", "publications", "reschedule"],
|
|
118
|
+
mutationFn: (input) => sdk["content"]["publications"]["reschedule"](input)
|
|
119
|
+
});
|
|
120
|
+
var contentPublicationsScheduleMutationOptions = (sdk) => ({
|
|
121
|
+
mutationKey: ["content", "publications", "schedule"],
|
|
122
|
+
mutationFn: (input) => sdk["content"]["publications"]["schedule"](input)
|
|
123
|
+
});
|
|
124
|
+
var contentPublicationsValidateQueryOptions = (sdk, input) => ({
|
|
125
|
+
queryKey: ["content", "publications", "validate", input],
|
|
126
|
+
queryFn: () => sdk["content"]["publications"]["validate"](input)
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
exports.contentChannelsBindMutationOptions = contentChannelsBindMutationOptions;
|
|
130
|
+
exports.contentChannelsGetQueryOptions = contentChannelsGetQueryOptions;
|
|
131
|
+
exports.contentChannelsListQueryOptions = contentChannelsListQueryOptions;
|
|
132
|
+
exports.contentChannelsResumeMutationOptions = contentChannelsResumeMutationOptions;
|
|
133
|
+
exports.contentChannelsUnbindMutationOptions = contentChannelsUnbindMutationOptions;
|
|
134
|
+
exports.contentChannelsUpdateMutationOptions = contentChannelsUpdateMutationOptions;
|
|
135
|
+
exports.contentMediaCreateUploadUrlMutationOptions = contentMediaCreateUploadUrlMutationOptions;
|
|
136
|
+
exports.contentMediaFinalizeMutationOptions = contentMediaFinalizeMutationOptions;
|
|
137
|
+
exports.contentMediaGetQueryOptions = contentMediaGetQueryOptions;
|
|
138
|
+
exports.contentMediaListQueryOptions = contentMediaListQueryOptions;
|
|
139
|
+
exports.contentMediaUploadMutationOptions = contentMediaUploadMutationOptions;
|
|
140
|
+
exports.contentMetricsChannelSeriesQueryOptions = contentMetricsChannelSeriesQueryOptions;
|
|
141
|
+
exports.contentMetricsPostSeriesQueryOptions = contentMetricsPostSeriesQueryOptions;
|
|
142
|
+
exports.contentPostsApproveMutationOptions = contentPostsApproveMutationOptions;
|
|
143
|
+
exports.contentPostsAttachMediaMutationOptions = contentPostsAttachMediaMutationOptions;
|
|
144
|
+
exports.contentPostsCreateMutationOptions = contentPostsCreateMutationOptions;
|
|
145
|
+
exports.contentPostsDetachMediaMutationOptions = contentPostsDetachMediaMutationOptions;
|
|
146
|
+
exports.contentPostsGetQueryOptions = contentPostsGetQueryOptions;
|
|
147
|
+
exports.contentPostsListQueryOptions = contentPostsListQueryOptions;
|
|
148
|
+
exports.contentPostsSubmitMutationOptions = contentPostsSubmitMutationOptions;
|
|
149
|
+
exports.contentPostsUpdateMutationOptions = contentPostsUpdateMutationOptions;
|
|
150
|
+
exports.contentPostsVersionsQueryOptions = contentPostsVersionsQueryOptions;
|
|
151
|
+
exports.contentPublicationsCancelMutationOptions = contentPublicationsCancelMutationOptions;
|
|
152
|
+
exports.contentPublicationsConfirmMutationOptions = contentPublicationsConfirmMutationOptions;
|
|
153
|
+
exports.contentPublicationsGetQueryOptions = contentPublicationsGetQueryOptions;
|
|
154
|
+
exports.contentPublicationsListQueryOptions = contentPublicationsListQueryOptions;
|
|
155
|
+
exports.contentPublicationsPublishMutationOptions = contentPublicationsPublishMutationOptions;
|
|
156
|
+
exports.contentPublicationsRemindMutationOptions = contentPublicationsRemindMutationOptions;
|
|
157
|
+
exports.contentPublicationsRescheduleMutationOptions = contentPublicationsRescheduleMutationOptions;
|
|
158
|
+
exports.contentPublicationsScheduleMutationOptions = contentPublicationsScheduleMutationOptions;
|
|
159
|
+
exports.contentPublicationsValidateQueryOptions = contentPublicationsValidateQueryOptions;
|
|
160
|
+
//# sourceMappingURL=index.cjs.map
|
|
161
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/gen/content/queryOptions.gen.ts"],"names":[],"mappings":";;;AAgDO,IAAM,kCAAA,GAAqC,CAAC,GAAA,MAA0B;AAAA,EAC3E,WAAA,EAAa,CAAC,SAAA,EAAW,UAAA,EAA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\nimport type {\n ContentChannelsBindInput,\n ContentChannelsGetInput,\n ContentChannelsGetOutput,\n ContentChannelsListInput,\n ContentChannelsListOutput,\n ContentChannelsResumeInput,\n ContentChannelsUnbindInput,\n ContentChannelsUpdateInput,\n ContentMediaCreateUploadUrlInput,\n ContentMediaFinalizeInput,\n ContentMediaGetInput,\n ContentMediaGetOutput,\n ContentMediaListInput,\n ContentMediaListOutput,\n ContentMediaUploadInput,\n ContentMetricsChannelSeriesInput,\n ContentMetricsChannelSeriesOutput,\n ContentMetricsPostSeriesInput,\n ContentMetricsPostSeriesOutput,\n ContentPostsApproveInput,\n ContentPostsAttachMediaInput,\n ContentPostsCreateInput,\n ContentPostsDetachMediaInput,\n ContentPostsGetInput,\n ContentPostsGetOutput,\n ContentPostsListInput,\n ContentPostsListOutput,\n ContentPostsSubmitInput,\n ContentPostsUpdateInput,\n ContentPostsVersionsInput,\n ContentPostsVersionsOutput,\n ContentPublicationsCancelInput,\n ContentPublicationsConfirmInput,\n ContentPublicationsGetInput,\n ContentPublicationsGetOutput,\n ContentPublicationsListInput,\n ContentPublicationsListOutput,\n ContentPublicationsPublishInput,\n ContentPublicationsRemindInput,\n ContentPublicationsRescheduleInput,\n ContentPublicationsScheduleInput,\n ContentPublicationsValidateInput,\n ContentPublicationsValidateOutput,\n} from '../types.gen';\n\nexport const contentChannelsBindMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'bind'],\n mutationFn: (input: ContentChannelsBindInput) => sdk['content']['channels']['bind'](input),\n});\n\nexport const contentChannelsGetQueryOptions = (sdk: GeneratedClient, input: ContentChannelsGetInput) => ({\n queryKey: ['content', 'channels', 'get', input] as const,\n queryFn: () => sdk['content']['channels']['get'](input),\n});\n\nexport const contentChannelsListQueryOptions = (sdk: GeneratedClient, input: ContentChannelsListInput) => ({\n queryKey: ['content', 'channels', 'list', input] as const,\n queryFn: () => sdk['content']['channels']['list'](input),\n});\n\nexport const contentChannelsResumeMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'resume'],\n mutationFn: (input: ContentChannelsResumeInput) => sdk['content']['channels']['resume'](input),\n});\n\nexport const contentChannelsUnbindMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'unbind'],\n mutationFn: (input: ContentChannelsUnbindInput) => sdk['content']['channels']['unbind'](input),\n});\n\nexport const contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'update'],\n mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](input),\n});\n\nexport const contentMediaCreateUploadUrlMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'media-create-upload', 'url'],\n mutationFn: (input: ContentMediaCreateUploadUrlInput) => sdk['content']['media-create-upload']['url'](input),\n});\n\nexport const contentMediaFinalizeMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'media', 'finalize'],\n mutationFn: (input: ContentMediaFinalizeInput) => sdk['content']['media']['finalize'](input),\n});\n\nexport const contentMediaGetQueryOptions = (sdk: GeneratedClient, input: ContentMediaGetInput) => ({\n queryKey: ['content', 'media', 'get', input] as const,\n queryFn: () => sdk['content']['media']['get'](input),\n});\n\nexport const contentMediaListQueryOptions = (sdk: GeneratedClient, input: ContentMediaListInput) => ({\n queryKey: ['content', 'media', 'list', input] as const,\n queryFn: () => sdk['content']['media']['list'](input),\n});\n\nexport const contentMediaUploadMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'media', 'upload'],\n mutationFn: (input: ContentMediaUploadInput) => sdk['content']['media']['upload'](input),\n});\n\nexport const contentMetricsChannelSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsChannelSeriesInput) => ({\n queryKey: ['content', 'metrics-channel', 'series', input] as const,\n queryFn: () => sdk['content']['metrics-channel']['series'](input),\n});\n\nexport const contentMetricsPostSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsPostSeriesInput) => ({\n queryKey: ['content', 'metrics-post', 'series', input] as const,\n queryFn: () => sdk['content']['metrics-post']['series'](input),\n});\n\nexport const contentPostsApproveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'approve'],\n mutationFn: (input: ContentPostsApproveInput) => sdk['content']['posts']['approve'](input),\n});\n\nexport const contentPostsAttachMediaMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts-attach', 'media'],\n mutationFn: (input: ContentPostsAttachMediaInput) => sdk['content']['posts-attach']['media'](input),\n});\n\nexport const contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'create'],\n mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](input),\n});\n\nexport const contentPostsDetachMediaMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts-detach', 'media'],\n mutationFn: (input: ContentPostsDetachMediaInput) => sdk['content']['posts-detach']['media'](input),\n});\n\nexport const contentPostsGetQueryOptions = (sdk: GeneratedClient, input: ContentPostsGetInput) => ({\n queryKey: ['content', 'posts', 'get', input] as const,\n queryFn: () => sdk['content']['posts']['get'](input),\n});\n\nexport const contentPostsListQueryOptions = (sdk: GeneratedClient, input: ContentPostsListInput) => ({\n queryKey: ['content', 'posts', 'list', input] as const,\n queryFn: () => sdk['content']['posts']['list'](input),\n});\n\nexport const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'submit'],\n mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),\n});\n\nexport const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'update'],\n mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),\n});\n\nexport const contentPostsVersionsQueryOptions = (sdk: GeneratedClient, input: ContentPostsVersionsInput) => ({\n queryKey: ['content', 'posts', 'versions', input] as const,\n queryFn: () => sdk['content']['posts']['versions'](input),\n});\n\nexport const contentPublicationsCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'cancel'],\n mutationFn: (input: ContentPublicationsCancelInput) => sdk['content']['publications']['cancel'](input),\n});\n\nexport const contentPublicationsConfirmMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'confirm'],\n mutationFn: (input: ContentPublicationsConfirmInput) => sdk['content']['publications']['confirm'](input),\n});\n\nexport const contentPublicationsGetQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsGetInput) => ({\n queryKey: ['content', 'publications', 'get', input] as const,\n queryFn: () => sdk['content']['publications']['get'](input),\n});\n\nexport const contentPublicationsListQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsListInput) => ({\n queryKey: ['content', 'publications', 'list', input] as const,\n queryFn: () => sdk['content']['publications']['list'](input),\n});\n\nexport const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'publish'],\n mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),\n});\n\nexport const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'remind'],\n mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),\n});\n\nexport const contentPublicationsRescheduleMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'reschedule'],\n mutationFn: (input: ContentPublicationsRescheduleInput) => sdk['content']['publications']['reschedule'](input),\n});\n\nexport const contentPublicationsScheduleMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'schedule'],\n mutationFn: (input: ContentPublicationsScheduleInput) => sdk['content']['publications']['schedule'](input),\n});\n\nexport const contentPublicationsValidateQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsValidateInput) => ({\n queryKey: ['content', 'publications', 'validate', input] as const,\n queryFn: () => sdk['content']['publications']['validate'](input),\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../_types/gen/content/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../_types/gen/content/index.js';
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// src/gen/content/queryOptions.gen.ts
|
|
2
|
+
var contentChannelsBindMutationOptions = (sdk) => ({
|
|
3
|
+
mutationKey: ["content", "channels", "bind"],
|
|
4
|
+
mutationFn: (input) => sdk["content"]["channels"]["bind"](input)
|
|
5
|
+
});
|
|
6
|
+
var contentChannelsGetQueryOptions = (sdk, input) => ({
|
|
7
|
+
queryKey: ["content", "channels", "get", input],
|
|
8
|
+
queryFn: () => sdk["content"]["channels"]["get"](input)
|
|
9
|
+
});
|
|
10
|
+
var contentChannelsListQueryOptions = (sdk, input) => ({
|
|
11
|
+
queryKey: ["content", "channels", "list", input],
|
|
12
|
+
queryFn: () => sdk["content"]["channels"]["list"](input)
|
|
13
|
+
});
|
|
14
|
+
var contentChannelsResumeMutationOptions = (sdk) => ({
|
|
15
|
+
mutationKey: ["content", "channels", "resume"],
|
|
16
|
+
mutationFn: (input) => sdk["content"]["channels"]["resume"](input)
|
|
17
|
+
});
|
|
18
|
+
var contentChannelsUnbindMutationOptions = (sdk) => ({
|
|
19
|
+
mutationKey: ["content", "channels", "unbind"],
|
|
20
|
+
mutationFn: (input) => sdk["content"]["channels"]["unbind"](input)
|
|
21
|
+
});
|
|
22
|
+
var contentChannelsUpdateMutationOptions = (sdk) => ({
|
|
23
|
+
mutationKey: ["content", "channels", "update"],
|
|
24
|
+
mutationFn: (input) => sdk["content"]["channels"]["update"](input)
|
|
25
|
+
});
|
|
26
|
+
var contentMediaCreateUploadUrlMutationOptions = (sdk) => ({
|
|
27
|
+
mutationKey: ["content", "media-create-upload", "url"],
|
|
28
|
+
mutationFn: (input) => sdk["content"]["media-create-upload"]["url"](input)
|
|
29
|
+
});
|
|
30
|
+
var contentMediaFinalizeMutationOptions = (sdk) => ({
|
|
31
|
+
mutationKey: ["content", "media", "finalize"],
|
|
32
|
+
mutationFn: (input) => sdk["content"]["media"]["finalize"](input)
|
|
33
|
+
});
|
|
34
|
+
var contentMediaGetQueryOptions = (sdk, input) => ({
|
|
35
|
+
queryKey: ["content", "media", "get", input],
|
|
36
|
+
queryFn: () => sdk["content"]["media"]["get"](input)
|
|
37
|
+
});
|
|
38
|
+
var contentMediaListQueryOptions = (sdk, input) => ({
|
|
39
|
+
queryKey: ["content", "media", "list", input],
|
|
40
|
+
queryFn: () => sdk["content"]["media"]["list"](input)
|
|
41
|
+
});
|
|
42
|
+
var contentMediaUploadMutationOptions = (sdk) => ({
|
|
43
|
+
mutationKey: ["content", "media", "upload"],
|
|
44
|
+
mutationFn: (input) => sdk["content"]["media"]["upload"](input)
|
|
45
|
+
});
|
|
46
|
+
var contentMetricsChannelSeriesQueryOptions = (sdk, input) => ({
|
|
47
|
+
queryKey: ["content", "metrics-channel", "series", input],
|
|
48
|
+
queryFn: () => sdk["content"]["metrics-channel"]["series"](input)
|
|
49
|
+
});
|
|
50
|
+
var contentMetricsPostSeriesQueryOptions = (sdk, input) => ({
|
|
51
|
+
queryKey: ["content", "metrics-post", "series", input],
|
|
52
|
+
queryFn: () => sdk["content"]["metrics-post"]["series"](input)
|
|
53
|
+
});
|
|
54
|
+
var contentPostsApproveMutationOptions = (sdk) => ({
|
|
55
|
+
mutationKey: ["content", "posts", "approve"],
|
|
56
|
+
mutationFn: (input) => sdk["content"]["posts"]["approve"](input)
|
|
57
|
+
});
|
|
58
|
+
var contentPostsAttachMediaMutationOptions = (sdk) => ({
|
|
59
|
+
mutationKey: ["content", "posts-attach", "media"],
|
|
60
|
+
mutationFn: (input) => sdk["content"]["posts-attach"]["media"](input)
|
|
61
|
+
});
|
|
62
|
+
var contentPostsCreateMutationOptions = (sdk) => ({
|
|
63
|
+
mutationKey: ["content", "posts", "create"],
|
|
64
|
+
mutationFn: (input) => sdk["content"]["posts"]["create"](input)
|
|
65
|
+
});
|
|
66
|
+
var contentPostsDetachMediaMutationOptions = (sdk) => ({
|
|
67
|
+
mutationKey: ["content", "posts-detach", "media"],
|
|
68
|
+
mutationFn: (input) => sdk["content"]["posts-detach"]["media"](input)
|
|
69
|
+
});
|
|
70
|
+
var contentPostsGetQueryOptions = (sdk, input) => ({
|
|
71
|
+
queryKey: ["content", "posts", "get", input],
|
|
72
|
+
queryFn: () => sdk["content"]["posts"]["get"](input)
|
|
73
|
+
});
|
|
74
|
+
var contentPostsListQueryOptions = (sdk, input) => ({
|
|
75
|
+
queryKey: ["content", "posts", "list", input],
|
|
76
|
+
queryFn: () => sdk["content"]["posts"]["list"](input)
|
|
77
|
+
});
|
|
78
|
+
var contentPostsSubmitMutationOptions = (sdk) => ({
|
|
79
|
+
mutationKey: ["content", "posts", "submit"],
|
|
80
|
+
mutationFn: (input) => sdk["content"]["posts"]["submit"](input)
|
|
81
|
+
});
|
|
82
|
+
var contentPostsUpdateMutationOptions = (sdk) => ({
|
|
83
|
+
mutationKey: ["content", "posts", "update"],
|
|
84
|
+
mutationFn: (input) => sdk["content"]["posts"]["update"](input)
|
|
85
|
+
});
|
|
86
|
+
var contentPostsVersionsQueryOptions = (sdk, input) => ({
|
|
87
|
+
queryKey: ["content", "posts", "versions", input],
|
|
88
|
+
queryFn: () => sdk["content"]["posts"]["versions"](input)
|
|
89
|
+
});
|
|
90
|
+
var contentPublicationsCancelMutationOptions = (sdk) => ({
|
|
91
|
+
mutationKey: ["content", "publications", "cancel"],
|
|
92
|
+
mutationFn: (input) => sdk["content"]["publications"]["cancel"](input)
|
|
93
|
+
});
|
|
94
|
+
var contentPublicationsConfirmMutationOptions = (sdk) => ({
|
|
95
|
+
mutationKey: ["content", "publications", "confirm"],
|
|
96
|
+
mutationFn: (input) => sdk["content"]["publications"]["confirm"](input)
|
|
97
|
+
});
|
|
98
|
+
var contentPublicationsGetQueryOptions = (sdk, input) => ({
|
|
99
|
+
queryKey: ["content", "publications", "get", input],
|
|
100
|
+
queryFn: () => sdk["content"]["publications"]["get"](input)
|
|
101
|
+
});
|
|
102
|
+
var contentPublicationsListQueryOptions = (sdk, input) => ({
|
|
103
|
+
queryKey: ["content", "publications", "list", input],
|
|
104
|
+
queryFn: () => sdk["content"]["publications"]["list"](input)
|
|
105
|
+
});
|
|
106
|
+
var contentPublicationsPublishMutationOptions = (sdk) => ({
|
|
107
|
+
mutationKey: ["content", "publications", "publish"],
|
|
108
|
+
mutationFn: (input) => sdk["content"]["publications"]["publish"](input)
|
|
109
|
+
});
|
|
110
|
+
var contentPublicationsRemindMutationOptions = (sdk) => ({
|
|
111
|
+
mutationKey: ["content", "publications", "remind"],
|
|
112
|
+
mutationFn: (input) => sdk["content"]["publications"]["remind"](input)
|
|
113
|
+
});
|
|
114
|
+
var contentPublicationsRescheduleMutationOptions = (sdk) => ({
|
|
115
|
+
mutationKey: ["content", "publications", "reschedule"],
|
|
116
|
+
mutationFn: (input) => sdk["content"]["publications"]["reschedule"](input)
|
|
117
|
+
});
|
|
118
|
+
var contentPublicationsScheduleMutationOptions = (sdk) => ({
|
|
119
|
+
mutationKey: ["content", "publications", "schedule"],
|
|
120
|
+
mutationFn: (input) => sdk["content"]["publications"]["schedule"](input)
|
|
121
|
+
});
|
|
122
|
+
var contentPublicationsValidateQueryOptions = (sdk, input) => ({
|
|
123
|
+
queryKey: ["content", "publications", "validate", input],
|
|
124
|
+
queryFn: () => sdk["content"]["publications"]["validate"](input)
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
export { contentChannelsBindMutationOptions, contentChannelsGetQueryOptions, contentChannelsListQueryOptions, contentChannelsResumeMutationOptions, contentChannelsUnbindMutationOptions, contentChannelsUpdateMutationOptions, contentMediaCreateUploadUrlMutationOptions, contentMediaFinalizeMutationOptions, contentMediaGetQueryOptions, contentMediaListQueryOptions, contentMediaUploadMutationOptions, contentMetricsChannelSeriesQueryOptions, contentMetricsPostSeriesQueryOptions, contentPostsApproveMutationOptions, contentPostsAttachMediaMutationOptions, contentPostsCreateMutationOptions, contentPostsDetachMediaMutationOptions, contentPostsGetQueryOptions, contentPostsListQueryOptions, contentPostsSubmitMutationOptions, contentPostsUpdateMutationOptions, contentPostsVersionsQueryOptions, contentPublicationsCancelMutationOptions, contentPublicationsConfirmMutationOptions, contentPublicationsGetQueryOptions, contentPublicationsListQueryOptions, contentPublicationsPublishMutationOptions, contentPublicationsRemindMutationOptions, contentPublicationsRescheduleMutationOptions, contentPublicationsScheduleMutationOptions, contentPublicationsValidateQueryOptions };
|
|
128
|
+
//# sourceMappingURL=index.js.map
|
|
129
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/gen/content/queryOptions.gen.ts"],"names":[],"mappings":";AAgDO,IAAM,kCAAA,GAAqC,CAAC,GAAA,MAA0B;AAAA,EAC3E,WAAA,EAAa,CAAC,SAAA,EAAW,UAAA,EAAY,MAAM,CAAA;AAAA,EAC3C,UAAA,EAAY,CAAC,KAAA,KAAoC,GAAA,CAAI,SAAS,EAAE,UAAU,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AAC3F,CAAA;AAEO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,SAAA,EAAW,UAAA,EAAY,OAAO,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,UAAU,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,SAAA,EAAW,UAAA,EAAY,QAAQ,KAAK,CAAA;AAAA,EAC/C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,UAAU,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACzD,CAAA;AAEO,IAAM,oCAAA,GAAuC,CAAC,GAAA,MAA0B;AAAA,EAC7E,WAAA,EAAa,CAAC,SAAA,EAAW,UAAA,EAAY,Q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AAAA,EACnF,WAAA,EAAa,CAAC,SAAA,EAAW,cAAA,EAAgB,UAAU,CAAA;AAAA,EACnD,UAAA,EAAY,CAAC,KAAA,KAA4C,GAAA,CAAI,SAAS,EAAE,cAAc,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AAC3G,CAAA;AAEO,IAAM,uCAAA,GAA0C,CAAC,GAAA,EAAsB,KAAA,MAA6C;AAAA,EACzH,QAAA,EAAU,CAAC,SAAA,EAAW,cAAA,EAAgB,YAAY,KAAK,CAAA;AAAA,EACvD,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,cAAc,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AACjE,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n ContentChannelsBindInput,\n ContentChannelsGetInput,\n ContentChannelsGetOutput,\n ContentChannelsListInput,\n ContentChannelsListOutput,\n ContentChannelsResumeInput,\n ContentChannelsUnbindInput,\n ContentChannelsUpdateInput,\n ContentMediaCreateUploadUrlInput,\n ContentMediaFinalizeInput,\n ContentMediaGetInput,\n ContentMediaGetOutput,\n ContentMediaListInput,\n ContentMediaListOutput,\n ContentMediaUploadInput,\n ContentMetricsChannelSeriesInput,\n ContentMetricsChannelSeriesOutput,\n ContentMetricsPostSeriesInput,\n ContentMetricsPostSeriesOutput,\n ContentPostsApproveInput,\n ContentPostsAttachMediaInput,\n ContentPostsCreateInput,\n ContentPostsDetachMediaInput,\n ContentPostsGetInput,\n ContentPostsGetOutput,\n ContentPostsListInput,\n ContentPostsListOutput,\n ContentPostsSubmitInput,\n ContentPostsUpdateInput,\n ContentPostsVersionsInput,\n ContentPostsVersionsOutput,\n ContentPublicationsCancelInput,\n ContentPublicationsConfirmInput,\n ContentPublicationsGetInput,\n ContentPublicationsGetOutput,\n ContentPublicationsListInput,\n ContentPublicationsListOutput,\n ContentPublicationsPublishInput,\n ContentPublicationsRemindInput,\n ContentPublicationsRescheduleInput,\n ContentPublicationsScheduleInput,\n ContentPublicationsValidateInput,\n ContentPublicationsValidateOutput,\n} from '../types.gen';\n\nexport const contentChannelsBindMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'bind'],\n mutationFn: (input: ContentChannelsBindInput) => sdk['content']['channels']['bind'](input),\n});\n\nexport const contentChannelsGetQueryOptions = (sdk: GeneratedClient, input: ContentChannelsGetInput) => ({\n queryKey: ['content', 'channels', 'get', input] as const,\n queryFn: () => sdk['content']['channels']['get'](input),\n});\n\nexport const contentChannelsListQueryOptions = (sdk: GeneratedClient, input: ContentChannelsListInput) => ({\n queryKey: ['content', 'channels', 'list', input] as const,\n queryFn: () => sdk['content']['channels']['list'](input),\n});\n\nexport const contentChannelsResumeMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'resume'],\n mutationFn: (input: ContentChannelsResumeInput) => sdk['content']['channels']['resume'](input),\n});\n\nexport const contentChannelsUnbindMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'unbind'],\n mutationFn: (input: ContentChannelsUnbindInput) => sdk['content']['channels']['unbind'](input),\n});\n\nexport const contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'update'],\n mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](input),\n});\n\nexport const contentMediaCreateUploadUrlMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'media-create-upload', 'url'],\n mutationFn: (input: ContentMediaCreateUploadUrlInput) => sdk['content']['media-create-upload']['url'](input),\n});\n\nexport const contentMediaFinalizeMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'media', 'finalize'],\n mutationFn: (input: ContentMediaFinalizeInput) => sdk['content']['media']['finalize'](input),\n});\n\nexport const contentMediaGetQueryOptions = (sdk: GeneratedClient, input: ContentMediaGetInput) => ({\n queryKey: ['content', 'media', 'get', input] as const,\n queryFn: () => sdk['content']['media']['get'](input),\n});\n\nexport const contentMediaListQueryOptions = (sdk: GeneratedClient, input: ContentMediaListInput) => ({\n queryKey: ['content', 'media', 'list', input] as const,\n queryFn: () => sdk['content']['media']['list'](input),\n});\n\nexport const contentMediaUploadMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'media', 'upload'],\n mutationFn: (input: ContentMediaUploadInput) => sdk['content']['media']['upload'](input),\n});\n\nexport const contentMetricsChannelSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsChannelSeriesInput) => ({\n queryKey: ['content', 'metrics-channel', 'series', input] as const,\n queryFn: () => sdk['content']['metrics-channel']['series'](input),\n});\n\nexport const contentMetricsPostSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsPostSeriesInput) => ({\n queryKey: ['content', 'metrics-post', 'series', input] as const,\n queryFn: () => sdk['content']['metrics-post']['series'](input),\n});\n\nexport const contentPostsApproveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'approve'],\n mutationFn: (input: ContentPostsApproveInput) => sdk['content']['posts']['approve'](input),\n});\n\nexport const contentPostsAttachMediaMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts-attach', 'media'],\n mutationFn: (input: ContentPostsAttachMediaInput) => sdk['content']['posts-attach']['media'](input),\n});\n\nexport const contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'create'],\n mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](input),\n});\n\nexport const contentPostsDetachMediaMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts-detach', 'media'],\n mutationFn: (input: ContentPostsDetachMediaInput) => sdk['content']['posts-detach']['media'](input),\n});\n\nexport const contentPostsGetQueryOptions = (sdk: GeneratedClient, input: ContentPostsGetInput) => ({\n queryKey: ['content', 'posts', 'get', input] as const,\n queryFn: () => sdk['content']['posts']['get'](input),\n});\n\nexport const contentPostsListQueryOptions = (sdk: GeneratedClient, input: ContentPostsListInput) => ({\n queryKey: ['content', 'posts', 'list', input] as const,\n queryFn: () => sdk['content']['posts']['list'](input),\n});\n\nexport const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'submit'],\n mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),\n});\n\nexport const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'update'],\n mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),\n});\n\nexport const contentPostsVersionsQueryOptions = (sdk: GeneratedClient, input: ContentPostsVersionsInput) => ({\n queryKey: ['content', 'posts', 'versions', input] as const,\n queryFn: () => sdk['content']['posts']['versions'](input),\n});\n\nexport const contentPublicationsCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'cancel'],\n mutationFn: (input: ContentPublicationsCancelInput) => sdk['content']['publications']['cancel'](input),\n});\n\nexport const contentPublicationsConfirmMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'confirm'],\n mutationFn: (input: ContentPublicationsConfirmInput) => sdk['content']['publications']['confirm'](input),\n});\n\nexport const contentPublicationsGetQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsGetInput) => ({\n queryKey: ['content', 'publications', 'get', input] as const,\n queryFn: () => sdk['content']['publications']['get'](input),\n});\n\nexport const contentPublicationsListQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsListInput) => ({\n queryKey: ['content', 'publications', 'list', input] as const,\n queryFn: () => sdk['content']['publications']['list'](input),\n});\n\nexport const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'publish'],\n mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),\n});\n\nexport const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'remind'],\n mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),\n});\n\nexport const contentPublicationsRescheduleMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'reschedule'],\n mutationFn: (input: ContentPublicationsRescheduleInput) => sdk['content']['publications']['reschedule'](input),\n});\n\nexport const contentPublicationsScheduleMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'publications', 'schedule'],\n mutationFn: (input: ContentPublicationsScheduleInput) => sdk['content']['publications']['schedule'](input),\n});\n\nexport const contentPublicationsValidateQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsValidateInput) => ({\n queryKey: ['content', 'publications', 'validate', input] as const,\n queryFn: () => sdk['content']['publications']['validate'](input),\n});\n"]}
|