@lessly/sdk-app 44.1.0 → 45.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-DlCqQAIZ.d.cts → client.gen-BC3cJSSd.d.cts} +3720 -725
- package/dist/{client.gen-DlCqQAIZ.d.ts → client.gen-BC3cJSSd.d.ts} +3720 -725
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/content/index.cjs +65 -0
- package/dist/content/index.cjs.map +1 -1
- package/dist/content/index.d.cts +54 -2
- package/dist/content/index.d.ts +54 -2
- package/dist/content/index.js +53 -1
- package/dist/content/index.js.map +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +219 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +219 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +219 -0
- package/src/gen/client.gen.ts +51 -0
- package/src/gen/content/index.ts +1 -1
- package/src/gen/content/queryOptions.gen.ts +83 -0
- package/src/gen/types.gen.ts +3276 -510
package/dist/consent/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, at as ConsentConfigCookieDomainUpsertInput, au as ConsentConfigCookieDomainUpsertOutput, av as ConsentConfigCustomizationUpsertInput, aw as ConsentConfigCustomizationUpsertOutput, ax as ConsentConfigFloatingIconUpsertInput, ay as ConsentConfigFloatingIconUpsertOutput, az as ConsentConfigThemeUpsertInput, aA as ConsentConfigThemeUpsertOutput, aB as ConsentDashboardConfigGetInput, aC as ConsentDashboardConfigGetOutput, aD as ConsentDashboardDecisionsListInput, aE as ConsentDashboardDecisionsListOutput, aF as ConsentDashboardEmbedSnippetGetInput, aG as ConsentDashboardEmbedSnippetGetOutput, aH as ConsentDashboardStatsGetInput, aI as ConsentDashboardStatsGetOutput, aJ as ConsentEmbedGetInput, aK as ConsentEmbedGetOutput, aL as ConsentProvidersCreateInput, aM as ConsentProvidersCreateOutput, aN as ConsentProvidersDeleteInput, aO as ConsentProvidersDeleteOutput, aP as ConsentProvidersListInput, aQ as ConsentProvidersListOutput, aR as ConsentProvidersUpdateInput, aS as ConsentProvidersUpdateOutput, aT as ConsentRecordsExportInput, aU as ConsentRecordsExportOutput, aV as ConsentStatsGetInput, aW as ConsentStatsGetOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, at as ConsentConfigCookieDomainUpsertInput, au as ConsentConfigCookieDomainUpsertOutput, av as ConsentConfigCustomizationUpsertInput, aw as ConsentConfigCustomizationUpsertOutput, ax as ConsentConfigFloatingIconUpsertInput, ay as ConsentConfigFloatingIconUpsertOutput, az as ConsentConfigThemeUpsertInput, aA as ConsentConfigThemeUpsertOutput, aB as ConsentDashboardConfigGetInput, aC as ConsentDashboardConfigGetOutput, aD as ConsentDashboardDecisionsListInput, aE as ConsentDashboardDecisionsListOutput, aF as ConsentDashboardEmbedSnippetGetInput, aG as ConsentDashboardEmbedSnippetGetOutput, aH as ConsentDashboardStatsGetInput, aI as ConsentDashboardStatsGetOutput, aJ as ConsentEmbedGetInput, aK as ConsentEmbedGetOutput, aL as ConsentProvidersCreateInput, aM as ConsentProvidersCreateOutput, aN as ConsentProvidersDeleteInput, aO as ConsentProvidersDeleteOutput, aP as ConsentProvidersListInput, aQ as ConsentProvidersListOutput, aR as ConsentProvidersUpdateInput, aS as ConsentProvidersUpdateOutput, aT as ConsentRecordsExportInput, aU as ConsentRecordsExportOutput, aV as ConsentStatsGetInput, aW as ConsentStatsGetOutput } from '../client.gen-BC3cJSSd.cjs';
|
|
2
2
|
|
|
3
3
|
declare const consentConfigCookieDomainUpsertMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
package/dist/consent/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient, at as ConsentConfigCookieDomainUpsertInput, au as ConsentConfigCookieDomainUpsertOutput, av as ConsentConfigCustomizationUpsertInput, aw as ConsentConfigCustomizationUpsertOutput, ax as ConsentConfigFloatingIconUpsertInput, ay as ConsentConfigFloatingIconUpsertOutput, az as ConsentConfigThemeUpsertInput, aA as ConsentConfigThemeUpsertOutput, aB as ConsentDashboardConfigGetInput, aC as ConsentDashboardConfigGetOutput, aD as ConsentDashboardDecisionsListInput, aE as ConsentDashboardDecisionsListOutput, aF as ConsentDashboardEmbedSnippetGetInput, aG as ConsentDashboardEmbedSnippetGetOutput, aH as ConsentDashboardStatsGetInput, aI as ConsentDashboardStatsGetOutput, aJ as ConsentEmbedGetInput, aK as ConsentEmbedGetOutput, aL as ConsentProvidersCreateInput, aM as ConsentProvidersCreateOutput, aN as ConsentProvidersDeleteInput, aO as ConsentProvidersDeleteOutput, aP as ConsentProvidersListInput, aQ as ConsentProvidersListOutput, aR as ConsentProvidersUpdateInput, aS as ConsentProvidersUpdateOutput, aT as ConsentRecordsExportInput, aU as ConsentRecordsExportOutput, aV as ConsentStatsGetInput, aW as ConsentStatsGetOutput } from '../client.gen-
|
|
1
|
+
import { G as GeneratedClient, at as ConsentConfigCookieDomainUpsertInput, au as ConsentConfigCookieDomainUpsertOutput, av as ConsentConfigCustomizationUpsertInput, aw as ConsentConfigCustomizationUpsertOutput, ax as ConsentConfigFloatingIconUpsertInput, ay as ConsentConfigFloatingIconUpsertOutput, az as ConsentConfigThemeUpsertInput, aA as ConsentConfigThemeUpsertOutput, aB as ConsentDashboardConfigGetInput, aC as ConsentDashboardConfigGetOutput, aD as ConsentDashboardDecisionsListInput, aE as ConsentDashboardDecisionsListOutput, aF as ConsentDashboardEmbedSnippetGetInput, aG as ConsentDashboardEmbedSnippetGetOutput, aH as ConsentDashboardStatsGetInput, aI as ConsentDashboardStatsGetOutput, aJ as ConsentEmbedGetInput, aK as ConsentEmbedGetOutput, aL as ConsentProvidersCreateInput, aM as ConsentProvidersCreateOutput, aN as ConsentProvidersDeleteInput, aO as ConsentProvidersDeleteOutput, aP as ConsentProvidersListInput, aQ as ConsentProvidersListOutput, aR as ConsentProvidersUpdateInput, aS as ConsentProvidersUpdateOutput, aT as ConsentRecordsExportInput, aU as ConsentRecordsExportOutput, aV as ConsentStatsGetInput, aW as ConsentStatsGetOutput } from '../client.gen-BC3cJSSd.js';
|
|
2
2
|
|
|
3
3
|
declare const consentConfigCookieDomainUpsertMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
package/dist/content/index.cjs
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
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
|
+
});
|
|
4
8
|
var contentChannelsGetQueryOptions = (sdk, input) => ({
|
|
5
9
|
queryKey: ["content", "channels", "get", input],
|
|
6
10
|
queryFn: () => sdk["content"]["channels"]["get"](input)
|
|
@@ -9,18 +13,62 @@ var contentChannelsListQueryOptions = (sdk, input) => ({
|
|
|
9
13
|
queryKey: ["content", "channels", "list", input],
|
|
10
14
|
queryFn: () => sdk["content"]["channels"]["list"](input)
|
|
11
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
|
+
});
|
|
12
24
|
var contentChannelsUpdateMutationOptions = (sdk) => ({
|
|
13
25
|
mutationKey: ["content", "channels", "update"],
|
|
14
26
|
mutationFn: (input) => sdk["content"]["channels"]["update"](input)
|
|
15
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
|
+
});
|
|
16
56
|
var contentPostsApproveMutationOptions = (sdk) => ({
|
|
17
57
|
mutationKey: ["content", "posts", "approve"],
|
|
18
58
|
mutationFn: (input) => sdk["content"]["posts"]["approve"](input)
|
|
19
59
|
});
|
|
60
|
+
var contentPostsAttachMediaMutationOptions = (sdk) => ({
|
|
61
|
+
mutationKey: ["content", "posts-attach", "media"],
|
|
62
|
+
mutationFn: (input) => sdk["content"]["posts-attach"]["media"](input)
|
|
63
|
+
});
|
|
20
64
|
var contentPostsCreateMutationOptions = (sdk) => ({
|
|
21
65
|
mutationKey: ["content", "posts", "create"],
|
|
22
66
|
mutationFn: (input) => sdk["content"]["posts"]["create"](input)
|
|
23
67
|
});
|
|
68
|
+
var contentPostsDetachMediaMutationOptions = (sdk) => ({
|
|
69
|
+
mutationKey: ["content", "posts-detach", "media"],
|
|
70
|
+
mutationFn: (input) => sdk["content"]["posts-detach"]["media"](input)
|
|
71
|
+
});
|
|
24
72
|
var contentPostsGetQueryOptions = (sdk, input) => ({
|
|
25
73
|
queryKey: ["content", "posts", "get", input],
|
|
26
74
|
queryFn: () => sdk["content"]["posts"]["get"](input)
|
|
@@ -73,12 +121,28 @@ var contentPublicationsScheduleMutationOptions = (sdk) => ({
|
|
|
73
121
|
mutationKey: ["content", "publications", "schedule"],
|
|
74
122
|
mutationFn: (input) => sdk["content"]["publications"]["schedule"](input)
|
|
75
123
|
});
|
|
124
|
+
var contentPublicationsValidateQueryOptions = (sdk, input) => ({
|
|
125
|
+
queryKey: ["content", "publications", "validate", input],
|
|
126
|
+
queryFn: () => sdk["content"]["publications"]["validate"](input)
|
|
127
|
+
});
|
|
76
128
|
|
|
129
|
+
exports.contentChannelsBindMutationOptions = contentChannelsBindMutationOptions;
|
|
77
130
|
exports.contentChannelsGetQueryOptions = contentChannelsGetQueryOptions;
|
|
78
131
|
exports.contentChannelsListQueryOptions = contentChannelsListQueryOptions;
|
|
132
|
+
exports.contentChannelsResumeMutationOptions = contentChannelsResumeMutationOptions;
|
|
133
|
+
exports.contentChannelsUnbindMutationOptions = contentChannelsUnbindMutationOptions;
|
|
79
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;
|
|
80
142
|
exports.contentPostsApproveMutationOptions = contentPostsApproveMutationOptions;
|
|
143
|
+
exports.contentPostsAttachMediaMutationOptions = contentPostsAttachMediaMutationOptions;
|
|
81
144
|
exports.contentPostsCreateMutationOptions = contentPostsCreateMutationOptions;
|
|
145
|
+
exports.contentPostsDetachMediaMutationOptions = contentPostsDetachMediaMutationOptions;
|
|
82
146
|
exports.contentPostsGetQueryOptions = contentPostsGetQueryOptions;
|
|
83
147
|
exports.contentPostsListQueryOptions = contentPostsListQueryOptions;
|
|
84
148
|
exports.contentPostsSubmitMutationOptions = contentPostsSubmitMutationOptions;
|
|
@@ -92,5 +156,6 @@ exports.contentPublicationsPublishMutationOptions = contentPublicationsPublishMu
|
|
|
92
156
|
exports.contentPublicationsRemindMutationOptions = contentPublicationsRemindMutationOptions;
|
|
93
157
|
exports.contentPublicationsRescheduleMutationOptions = contentPublicationsRescheduleMutationOptions;
|
|
94
158
|
exports.contentPublicationsScheduleMutationOptions = contentPublicationsScheduleMutationOptions;
|
|
159
|
+
exports.contentPublicationsValidateQueryOptions = contentPublicationsValidateQueryOptions;
|
|
95
160
|
//# sourceMappingURL=index.cjs.map
|
|
96
161
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/gen/content/queryOptions.gen.ts"],"names":[],"mappings":";;;AA8BO,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,QAAQ,CAAA;AAAA,EAC7C,UAAA,EAAY,CAAC,KAAA,KAAsC,GAAA,CAAI,SAAS,EAAE,UAAU,CAAA,CAAE,QAAQ,CAAA,CAA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MAAyC;AAAA,EACjH,QAAA,EAAU,CAAC,SAAA,EAAW,cAAA,EAAgB,QAAQ,KAAK,CAAA;AAAA,EACnD,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,cAAc,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AAC7D,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,MAA0B;AAAA,EAClF,WAAA,EAAa,CAAC,SAAA,EAAW,cAAA,EAAgB,SAAS,CAAA;AAAA,EAClD,UAAA,EAAY,CAAC,KAAA,KAA2C,GAAA,CAAI,SAAS,EAAE,cAAc,CAAA,CAAE,SAAS,CAAA,CAAE,KAAK;AACzG,CAAA;AAEO,IAAM,wCAAA,GAA2C,CAAC,GAAA,MAA0B;AAAA,EACjF,WAAA,EAAa,CAAC,SAAA,EAAW,cAAA,EAAgB,QAAQ,CAAA;AAAA,EACjD,UAAA,EAAY,CAAC,KAAA,KAA0C,GAAA,CAAI,SAAS,EAAE,cAAc,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACvG,CAAA;AAEO,IAAM,4CAAA,GAA+C,CAAC,GAAA,MAA0B;AAAA,EACrF,WAAA,EAAa,CAAC,SAAA,EAAW,cAAA,EAAgB,YAAY,CAAA;AAAA,EACrD,UAAA,EAAY,CAAC,KAAA,KAA8C,GAAA,CAAI,SAAS,EAAE,cAAc,CAAA,CAAE,YAAY,CAAA,CAAE,KAAK;AAC/G,CAAA;AAEO,IAAM,0CAAA,GAA6C,CAAC,GAAA,MAA0B;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","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n ContentChannelsGetInput,\n ContentChannelsGetOutput,\n ContentChannelsListInput,\n ContentChannelsListOutput,\n ContentChannelsUpdateInput,\n ContentPostsApproveInput,\n ContentPostsCreateInput,\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} from '../types.gen';\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 contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'update'],\n mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](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 contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'create'],\n mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](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"]}
|
|
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,QAAQ,CAAA;AAAA,EAC7C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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.cjs","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"]}
|
package/dist/content/index.d.cts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { G as GeneratedClient, aX as
|
|
1
|
+
import { G as GeneratedClient, aX as ContentChannelsBindInput, aY as ContentChannelsBindOutput, aZ as ContentChannelsGetInput, a_ as ContentChannelsGetOutput, a$ as ContentChannelsListInput, b0 as ContentChannelsListOutput, b1 as ContentChannelsResumeInput, b2 as ContentChannelsResumeOutput, b3 as ContentChannelsUnbindInput, b4 as ContentChannelsUnbindOutput, b5 as ContentChannelsUpdateInput, b6 as ContentChannelsUpdateOutput, b7 as ContentMediaCreateUploadUrlInput, b8 as ContentMediaCreateUploadUrlOutput, b9 as ContentMediaFinalizeInput, ba as ContentMediaFinalizeOutput, bb as ContentMediaGetInput, bc as ContentMediaGetOutput, bd as ContentMediaListInput, be as ContentMediaListOutput, bf as ContentMediaUploadInput, bg as ContentMediaUploadOutput, bh as ContentMetricsChannelSeriesInput, bi as ContentMetricsChannelSeriesOutput, bj as ContentMetricsPostSeriesInput, bk as ContentMetricsPostSeriesOutput, bl as ContentPostsApproveInput, bm as ContentPostsApproveOutput, bn as ContentPostsAttachMediaInput, bo as ContentPostsAttachMediaOutput, bp as ContentPostsCreateInput, bq as ContentPostsCreateOutput, br as ContentPostsDetachMediaInput, bs as ContentPostsDetachMediaOutput, bt as ContentPostsGetInput, bu as ContentPostsGetOutput, bv as ContentPostsListInput, bw as ContentPostsListOutput, bx as ContentPostsSubmitInput, by as ContentPostsSubmitOutput, bz as ContentPostsUpdateInput, bA as ContentPostsUpdateOutput, bB as ContentPostsVersionsInput, bC as ContentPostsVersionsOutput, bD as ContentPublicationsCancelInput, bE as ContentPublicationsCancelOutput, bF as ContentPublicationsConfirmInput, bG as ContentPublicationsConfirmOutput, bH as ContentPublicationsGetInput, bI as ContentPublicationsGetOutput, bJ as ContentPublicationsListInput, bK as ContentPublicationsListOutput, bL as ContentPublicationsPublishInput, bM as ContentPublicationsPublishOutput, bN as ContentPublicationsRemindInput, bO as ContentPublicationsRemindOutput, bP as ContentPublicationsRescheduleInput, bQ as ContentPublicationsRescheduleOutput, bR as ContentPublicationsScheduleInput, bS as ContentPublicationsScheduleOutput, bT as ContentPublicationsValidateInput, bU as ContentPublicationsValidateOutput } from '../client.gen-BC3cJSSd.cjs';
|
|
2
2
|
|
|
3
|
+
declare const contentChannelsBindMutationOptions: (sdk: GeneratedClient) => {
|
|
4
|
+
mutationKey: string[];
|
|
5
|
+
mutationFn: (input: ContentChannelsBindInput) => Promise<ContentChannelsBindOutput>;
|
|
6
|
+
};
|
|
3
7
|
declare const contentChannelsGetQueryOptions: (sdk: GeneratedClient, input: ContentChannelsGetInput) => {
|
|
4
8
|
queryKey: readonly ["content", "channels", "get", ContentChannelsGetInput];
|
|
5
9
|
queryFn: () => Promise<ContentChannelsGetOutput>;
|
|
@@ -8,18 +12,62 @@ declare const contentChannelsListQueryOptions: (sdk: GeneratedClient, input: Con
|
|
|
8
12
|
queryKey: readonly ["content", "channels", "list", ContentChannelsListInput];
|
|
9
13
|
queryFn: () => Promise<ContentChannelsListOutput>;
|
|
10
14
|
};
|
|
15
|
+
declare const contentChannelsResumeMutationOptions: (sdk: GeneratedClient) => {
|
|
16
|
+
mutationKey: string[];
|
|
17
|
+
mutationFn: (input: ContentChannelsResumeInput) => Promise<ContentChannelsResumeOutput>;
|
|
18
|
+
};
|
|
19
|
+
declare const contentChannelsUnbindMutationOptions: (sdk: GeneratedClient) => {
|
|
20
|
+
mutationKey: string[];
|
|
21
|
+
mutationFn: (input: ContentChannelsUnbindInput) => Promise<ContentChannelsUnbindOutput>;
|
|
22
|
+
};
|
|
11
23
|
declare const contentChannelsUpdateMutationOptions: (sdk: GeneratedClient) => {
|
|
12
24
|
mutationKey: string[];
|
|
13
25
|
mutationFn: (input: ContentChannelsUpdateInput) => Promise<ContentChannelsUpdateOutput>;
|
|
14
26
|
};
|
|
27
|
+
declare const contentMediaCreateUploadUrlMutationOptions: (sdk: GeneratedClient) => {
|
|
28
|
+
mutationKey: string[];
|
|
29
|
+
mutationFn: (input: ContentMediaCreateUploadUrlInput) => Promise<ContentMediaCreateUploadUrlOutput>;
|
|
30
|
+
};
|
|
31
|
+
declare const contentMediaFinalizeMutationOptions: (sdk: GeneratedClient) => {
|
|
32
|
+
mutationKey: string[];
|
|
33
|
+
mutationFn: (input: ContentMediaFinalizeInput) => Promise<ContentMediaFinalizeOutput>;
|
|
34
|
+
};
|
|
35
|
+
declare const contentMediaGetQueryOptions: (sdk: GeneratedClient, input: ContentMediaGetInput) => {
|
|
36
|
+
queryKey: readonly ["content", "media", "get", ContentMediaGetInput];
|
|
37
|
+
queryFn: () => Promise<ContentMediaGetOutput>;
|
|
38
|
+
};
|
|
39
|
+
declare const contentMediaListQueryOptions: (sdk: GeneratedClient, input: ContentMediaListInput) => {
|
|
40
|
+
queryKey: readonly ["content", "media", "list", ContentMediaListInput];
|
|
41
|
+
queryFn: () => Promise<ContentMediaListOutput>;
|
|
42
|
+
};
|
|
43
|
+
declare const contentMediaUploadMutationOptions: (sdk: GeneratedClient) => {
|
|
44
|
+
mutationKey: string[];
|
|
45
|
+
mutationFn: (input: ContentMediaUploadInput) => Promise<ContentMediaUploadOutput>;
|
|
46
|
+
};
|
|
47
|
+
declare const contentMetricsChannelSeriesQueryOptions: (sdk: GeneratedClient, input: ContentMetricsChannelSeriesInput) => {
|
|
48
|
+
queryKey: readonly ["content", "metrics-channel", "series", ContentMetricsChannelSeriesInput];
|
|
49
|
+
queryFn: () => Promise<ContentMetricsChannelSeriesOutput>;
|
|
50
|
+
};
|
|
51
|
+
declare const contentMetricsPostSeriesQueryOptions: (sdk: GeneratedClient, input: ContentMetricsPostSeriesInput) => {
|
|
52
|
+
queryKey: readonly ["content", "metrics-post", "series", ContentMetricsPostSeriesInput];
|
|
53
|
+
queryFn: () => Promise<ContentMetricsPostSeriesOutput>;
|
|
54
|
+
};
|
|
15
55
|
declare const contentPostsApproveMutationOptions: (sdk: GeneratedClient) => {
|
|
16
56
|
mutationKey: string[];
|
|
17
57
|
mutationFn: (input: ContentPostsApproveInput) => Promise<ContentPostsApproveOutput>;
|
|
18
58
|
};
|
|
59
|
+
declare const contentPostsAttachMediaMutationOptions: (sdk: GeneratedClient) => {
|
|
60
|
+
mutationKey: string[];
|
|
61
|
+
mutationFn: (input: ContentPostsAttachMediaInput) => Promise<ContentPostsAttachMediaOutput>;
|
|
62
|
+
};
|
|
19
63
|
declare const contentPostsCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
20
64
|
mutationKey: string[];
|
|
21
65
|
mutationFn: (input: ContentPostsCreateInput) => Promise<ContentPostsCreateOutput>;
|
|
22
66
|
};
|
|
67
|
+
declare const contentPostsDetachMediaMutationOptions: (sdk: GeneratedClient) => {
|
|
68
|
+
mutationKey: string[];
|
|
69
|
+
mutationFn: (input: ContentPostsDetachMediaInput) => Promise<ContentPostsDetachMediaOutput>;
|
|
70
|
+
};
|
|
23
71
|
declare const contentPostsGetQueryOptions: (sdk: GeneratedClient, input: ContentPostsGetInput) => {
|
|
24
72
|
queryKey: readonly ["content", "posts", "get", ContentPostsGetInput];
|
|
25
73
|
queryFn: () => Promise<ContentPostsGetOutput>;
|
|
@@ -72,5 +120,9 @@ declare const contentPublicationsScheduleMutationOptions: (sdk: GeneratedClient)
|
|
|
72
120
|
mutationKey: string[];
|
|
73
121
|
mutationFn: (input: ContentPublicationsScheduleInput) => Promise<ContentPublicationsScheduleOutput>;
|
|
74
122
|
};
|
|
123
|
+
declare const contentPublicationsValidateQueryOptions: (sdk: GeneratedClient, input: ContentPublicationsValidateInput) => {
|
|
124
|
+
queryKey: readonly ["content", "publications", "validate", ContentPublicationsValidateInput];
|
|
125
|
+
queryFn: () => Promise<ContentPublicationsValidateOutput>;
|
|
126
|
+
};
|
|
75
127
|
|
|
76
|
-
export { ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsCreateInput, ContentPostsCreateOutput, 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, contentChannelsGetQueryOptions, contentChannelsListQueryOptions, contentChannelsUpdateMutationOptions, contentPostsApproveMutationOptions, contentPostsCreateMutationOptions, contentPostsGetQueryOptions, contentPostsListQueryOptions, contentPostsSubmitMutationOptions, contentPostsUpdateMutationOptions, contentPostsVersionsQueryOptions, contentPublicationsCancelMutationOptions, contentPublicationsConfirmMutationOptions, contentPublicationsGetQueryOptions, contentPublicationsListQueryOptions, contentPublicationsPublishMutationOptions, contentPublicationsRemindMutationOptions, contentPublicationsRescheduleMutationOptions, contentPublicationsScheduleMutationOptions };
|
|
128
|
+
export { 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, 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 };
|
package/dist/content/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { G as GeneratedClient, aX as
|
|
1
|
+
import { G as GeneratedClient, aX as ContentChannelsBindInput, aY as ContentChannelsBindOutput, aZ as ContentChannelsGetInput, a_ as ContentChannelsGetOutput, a$ as ContentChannelsListInput, b0 as ContentChannelsListOutput, b1 as ContentChannelsResumeInput, b2 as ContentChannelsResumeOutput, b3 as ContentChannelsUnbindInput, b4 as ContentChannelsUnbindOutput, b5 as ContentChannelsUpdateInput, b6 as ContentChannelsUpdateOutput, b7 as ContentMediaCreateUploadUrlInput, b8 as ContentMediaCreateUploadUrlOutput, b9 as ContentMediaFinalizeInput, ba as ContentMediaFinalizeOutput, bb as ContentMediaGetInput, bc as ContentMediaGetOutput, bd as ContentMediaListInput, be as ContentMediaListOutput, bf as ContentMediaUploadInput, bg as ContentMediaUploadOutput, bh as ContentMetricsChannelSeriesInput, bi as ContentMetricsChannelSeriesOutput, bj as ContentMetricsPostSeriesInput, bk as ContentMetricsPostSeriesOutput, bl as ContentPostsApproveInput, bm as ContentPostsApproveOutput, bn as ContentPostsAttachMediaInput, bo as ContentPostsAttachMediaOutput, bp as ContentPostsCreateInput, bq as ContentPostsCreateOutput, br as ContentPostsDetachMediaInput, bs as ContentPostsDetachMediaOutput, bt as ContentPostsGetInput, bu as ContentPostsGetOutput, bv as ContentPostsListInput, bw as ContentPostsListOutput, bx as ContentPostsSubmitInput, by as ContentPostsSubmitOutput, bz as ContentPostsUpdateInput, bA as ContentPostsUpdateOutput, bB as ContentPostsVersionsInput, bC as ContentPostsVersionsOutput, bD as ContentPublicationsCancelInput, bE as ContentPublicationsCancelOutput, bF as ContentPublicationsConfirmInput, bG as ContentPublicationsConfirmOutput, bH as ContentPublicationsGetInput, bI as ContentPublicationsGetOutput, bJ as ContentPublicationsListInput, bK as ContentPublicationsListOutput, bL as ContentPublicationsPublishInput, bM as ContentPublicationsPublishOutput, bN as ContentPublicationsRemindInput, bO as ContentPublicationsRemindOutput, bP as ContentPublicationsRescheduleInput, bQ as ContentPublicationsRescheduleOutput, bR as ContentPublicationsScheduleInput, bS as ContentPublicationsScheduleOutput, bT as ContentPublicationsValidateInput, bU as ContentPublicationsValidateOutput } from '../client.gen-BC3cJSSd.js';
|
|
2
2
|
|
|
3
|
+
declare const contentChannelsBindMutationOptions: (sdk: GeneratedClient) => {
|
|
4
|
+
mutationKey: string[];
|
|
5
|
+
mutationFn: (input: ContentChannelsBindInput) => Promise<ContentChannelsBindOutput>;
|
|
6
|
+
};
|
|
3
7
|
declare const contentChannelsGetQueryOptions: (sdk: GeneratedClient, input: ContentChannelsGetInput) => {
|
|
4
8
|
queryKey: readonly ["content", "channels", "get", ContentChannelsGetInput];
|
|
5
9
|
queryFn: () => Promise<ContentChannelsGetOutput>;
|
|
@@ -8,18 +12,62 @@ declare const contentChannelsListQueryOptions: (sdk: GeneratedClient, input: Con
|
|
|
8
12
|
queryKey: readonly ["content", "channels", "list", ContentChannelsListInput];
|
|
9
13
|
queryFn: () => Promise<ContentChannelsListOutput>;
|
|
10
14
|
};
|
|
15
|
+
declare const contentChannelsResumeMutationOptions: (sdk: GeneratedClient) => {
|
|
16
|
+
mutationKey: string[];
|
|
17
|
+
mutationFn: (input: ContentChannelsResumeInput) => Promise<ContentChannelsResumeOutput>;
|
|
18
|
+
};
|
|
19
|
+
declare const contentChannelsUnbindMutationOptions: (sdk: GeneratedClient) => {
|
|
20
|
+
mutationKey: string[];
|
|
21
|
+
mutationFn: (input: ContentChannelsUnbindInput) => Promise<ContentChannelsUnbindOutput>;
|
|
22
|
+
};
|
|
11
23
|
declare const contentChannelsUpdateMutationOptions: (sdk: GeneratedClient) => {
|
|
12
24
|
mutationKey: string[];
|
|
13
25
|
mutationFn: (input: ContentChannelsUpdateInput) => Promise<ContentChannelsUpdateOutput>;
|
|
14
26
|
};
|
|
27
|
+
declare const contentMediaCreateUploadUrlMutationOptions: (sdk: GeneratedClient) => {
|
|
28
|
+
mutationKey: string[];
|
|
29
|
+
mutationFn: (input: ContentMediaCreateUploadUrlInput) => Promise<ContentMediaCreateUploadUrlOutput>;
|
|
30
|
+
};
|
|
31
|
+
declare const contentMediaFinalizeMutationOptions: (sdk: GeneratedClient) => {
|
|
32
|
+
mutationKey: string[];
|
|
33
|
+
mutationFn: (input: ContentMediaFinalizeInput) => Promise<ContentMediaFinalizeOutput>;
|
|
34
|
+
};
|
|
35
|
+
declare const contentMediaGetQueryOptions: (sdk: GeneratedClient, input: ContentMediaGetInput) => {
|
|
36
|
+
queryKey: readonly ["content", "media", "get", ContentMediaGetInput];
|
|
37
|
+
queryFn: () => Promise<ContentMediaGetOutput>;
|
|
38
|
+
};
|
|
39
|
+
declare const contentMediaListQueryOptions: (sdk: GeneratedClient, input: ContentMediaListInput) => {
|
|
40
|
+
queryKey: readonly ["content", "media", "list", ContentMediaListInput];
|
|
41
|
+
queryFn: () => Promise<ContentMediaListOutput>;
|
|
42
|
+
};
|
|
43
|
+
declare const contentMediaUploadMutationOptions: (sdk: GeneratedClient) => {
|
|
44
|
+
mutationKey: string[];
|
|
45
|
+
mutationFn: (input: ContentMediaUploadInput) => Promise<ContentMediaUploadOutput>;
|
|
46
|
+
};
|
|
47
|
+
declare const contentMetricsChannelSeriesQueryOptions: (sdk: GeneratedClient, input: ContentMetricsChannelSeriesInput) => {
|
|
48
|
+
queryKey: readonly ["content", "metrics-channel", "series", ContentMetricsChannelSeriesInput];
|
|
49
|
+
queryFn: () => Promise<ContentMetricsChannelSeriesOutput>;
|
|
50
|
+
};
|
|
51
|
+
declare const contentMetricsPostSeriesQueryOptions: (sdk: GeneratedClient, input: ContentMetricsPostSeriesInput) => {
|
|
52
|
+
queryKey: readonly ["content", "metrics-post", "series", ContentMetricsPostSeriesInput];
|
|
53
|
+
queryFn: () => Promise<ContentMetricsPostSeriesOutput>;
|
|
54
|
+
};
|
|
15
55
|
declare const contentPostsApproveMutationOptions: (sdk: GeneratedClient) => {
|
|
16
56
|
mutationKey: string[];
|
|
17
57
|
mutationFn: (input: ContentPostsApproveInput) => Promise<ContentPostsApproveOutput>;
|
|
18
58
|
};
|
|
59
|
+
declare const contentPostsAttachMediaMutationOptions: (sdk: GeneratedClient) => {
|
|
60
|
+
mutationKey: string[];
|
|
61
|
+
mutationFn: (input: ContentPostsAttachMediaInput) => Promise<ContentPostsAttachMediaOutput>;
|
|
62
|
+
};
|
|
19
63
|
declare const contentPostsCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
20
64
|
mutationKey: string[];
|
|
21
65
|
mutationFn: (input: ContentPostsCreateInput) => Promise<ContentPostsCreateOutput>;
|
|
22
66
|
};
|
|
67
|
+
declare const contentPostsDetachMediaMutationOptions: (sdk: GeneratedClient) => {
|
|
68
|
+
mutationKey: string[];
|
|
69
|
+
mutationFn: (input: ContentPostsDetachMediaInput) => Promise<ContentPostsDetachMediaOutput>;
|
|
70
|
+
};
|
|
23
71
|
declare const contentPostsGetQueryOptions: (sdk: GeneratedClient, input: ContentPostsGetInput) => {
|
|
24
72
|
queryKey: readonly ["content", "posts", "get", ContentPostsGetInput];
|
|
25
73
|
queryFn: () => Promise<ContentPostsGetOutput>;
|
|
@@ -72,5 +120,9 @@ declare const contentPublicationsScheduleMutationOptions: (sdk: GeneratedClient)
|
|
|
72
120
|
mutationKey: string[];
|
|
73
121
|
mutationFn: (input: ContentPublicationsScheduleInput) => Promise<ContentPublicationsScheduleOutput>;
|
|
74
122
|
};
|
|
123
|
+
declare const contentPublicationsValidateQueryOptions: (sdk: GeneratedClient, input: ContentPublicationsValidateInput) => {
|
|
124
|
+
queryKey: readonly ["content", "publications", "validate", ContentPublicationsValidateInput];
|
|
125
|
+
queryFn: () => Promise<ContentPublicationsValidateOutput>;
|
|
126
|
+
};
|
|
75
127
|
|
|
76
|
-
export { ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsCreateInput, ContentPostsCreateOutput, 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, contentChannelsGetQueryOptions, contentChannelsListQueryOptions, contentChannelsUpdateMutationOptions, contentPostsApproveMutationOptions, contentPostsCreateMutationOptions, contentPostsGetQueryOptions, contentPostsListQueryOptions, contentPostsSubmitMutationOptions, contentPostsUpdateMutationOptions, contentPostsVersionsQueryOptions, contentPublicationsCancelMutationOptions, contentPublicationsConfirmMutationOptions, contentPublicationsGetQueryOptions, contentPublicationsListQueryOptions, contentPublicationsPublishMutationOptions, contentPublicationsRemindMutationOptions, contentPublicationsRescheduleMutationOptions, contentPublicationsScheduleMutationOptions };
|
|
128
|
+
export { 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, 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 };
|
package/dist/content/index.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
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
|
+
});
|
|
2
6
|
var contentChannelsGetQueryOptions = (sdk, input) => ({
|
|
3
7
|
queryKey: ["content", "channels", "get", input],
|
|
4
8
|
queryFn: () => sdk["content"]["channels"]["get"](input)
|
|
@@ -7,18 +11,62 @@ var contentChannelsListQueryOptions = (sdk, input) => ({
|
|
|
7
11
|
queryKey: ["content", "channels", "list", input],
|
|
8
12
|
queryFn: () => sdk["content"]["channels"]["list"](input)
|
|
9
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
|
+
});
|
|
10
22
|
var contentChannelsUpdateMutationOptions = (sdk) => ({
|
|
11
23
|
mutationKey: ["content", "channels", "update"],
|
|
12
24
|
mutationFn: (input) => sdk["content"]["channels"]["update"](input)
|
|
13
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
|
+
});
|
|
14
54
|
var contentPostsApproveMutationOptions = (sdk) => ({
|
|
15
55
|
mutationKey: ["content", "posts", "approve"],
|
|
16
56
|
mutationFn: (input) => sdk["content"]["posts"]["approve"](input)
|
|
17
57
|
});
|
|
58
|
+
var contentPostsAttachMediaMutationOptions = (sdk) => ({
|
|
59
|
+
mutationKey: ["content", "posts-attach", "media"],
|
|
60
|
+
mutationFn: (input) => sdk["content"]["posts-attach"]["media"](input)
|
|
61
|
+
});
|
|
18
62
|
var contentPostsCreateMutationOptions = (sdk) => ({
|
|
19
63
|
mutationKey: ["content", "posts", "create"],
|
|
20
64
|
mutationFn: (input) => sdk["content"]["posts"]["create"](input)
|
|
21
65
|
});
|
|
66
|
+
var contentPostsDetachMediaMutationOptions = (sdk) => ({
|
|
67
|
+
mutationKey: ["content", "posts-detach", "media"],
|
|
68
|
+
mutationFn: (input) => sdk["content"]["posts-detach"]["media"](input)
|
|
69
|
+
});
|
|
22
70
|
var contentPostsGetQueryOptions = (sdk, input) => ({
|
|
23
71
|
queryKey: ["content", "posts", "get", input],
|
|
24
72
|
queryFn: () => sdk["content"]["posts"]["get"](input)
|
|
@@ -71,7 +119,11 @@ var contentPublicationsScheduleMutationOptions = (sdk) => ({
|
|
|
71
119
|
mutationKey: ["content", "publications", "schedule"],
|
|
72
120
|
mutationFn: (input) => sdk["content"]["publications"]["schedule"](input)
|
|
73
121
|
});
|
|
122
|
+
var contentPublicationsValidateQueryOptions = (sdk, input) => ({
|
|
123
|
+
queryKey: ["content", "publications", "validate", input],
|
|
124
|
+
queryFn: () => sdk["content"]["publications"]["validate"](input)
|
|
125
|
+
});
|
|
74
126
|
|
|
75
|
-
export { contentChannelsGetQueryOptions, contentChannelsListQueryOptions, contentChannelsUpdateMutationOptions, contentPostsApproveMutationOptions, contentPostsCreateMutationOptions, contentPostsGetQueryOptions, contentPostsListQueryOptions, contentPostsSubmitMutationOptions, contentPostsUpdateMutationOptions, contentPostsVersionsQueryOptions, contentPublicationsCancelMutationOptions, contentPublicationsConfirmMutationOptions, contentPublicationsGetQueryOptions, contentPublicationsListQueryOptions, contentPublicationsPublishMutationOptions, contentPublicationsRemindMutationOptions, contentPublicationsRescheduleMutationOptions, contentPublicationsScheduleMutationOptions };
|
|
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 };
|
|
76
128
|
//# sourceMappingURL=index.js.map
|
|
77
129
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/gen/content/queryOptions.gen.ts"],"names":[],"mappings":";AA8BO,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,O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AA6C,CAAC,GAAA,MAA0B;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","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n ContentChannelsGetInput,\n ContentChannelsGetOutput,\n ContentChannelsListInput,\n ContentChannelsListOutput,\n ContentChannelsUpdateInput,\n ContentPostsApproveInput,\n ContentPostsCreateInput,\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} from '../types.gen';\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 contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'channels', 'update'],\n mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](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 contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['content', 'posts', 'create'],\n mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](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"]}
|
|
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;A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A;AAEO,IAAM,4CAAA,GAA+C,CAAC,GAAA,MAA0B;AAAA,EACrF,WAAA,EAAa,CAAC,SAAA,EAAW,cAAA,EAAgB,YAAY,CAAA;AAAA,EACrD,UAAA,EAAY,CAAC,KAAA,KAA8C,GAAA,CAAI,SAAS,EAAE,cAAc,CAAA,CAAE,YAAY,CAAA,CAAE,KAAK;AAC/G,CAAA;AAEO,IAAM,0CAAA,GAA6C,CAAC,GAAA,MAA0B;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"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, bV as DeploymentAlertCreateInput, bW as DeploymentAlertCreateOutput, bX as DeploymentAlertDeleteInput, bY as DeploymentAlertDeleteOutput, bZ as DeploymentAlertEventsListInput, b_ as DeploymentAlertEventsListOutput, b$ as DeploymentAlertListInput, c0 as DeploymentAlertListOutput, c1 as DeploymentAlertUpdateInput, c2 as DeploymentAlertUpdateOutput, c3 as DeploymentAnalyticsQueryInput, c4 as DeploymentAnalyticsQueryOutput, c5 as DeploymentAuditListInput, c6 as DeploymentAuditListOutput, c7 as DeploymentBuildGetInput, c8 as DeploymentBuildGetOutput, c9 as DeploymentBuildListInput, ca as DeploymentBuildListOutput, cb as DeploymentBuildLogsInput, cc as DeploymentBuildLogsOutput, cd as DeploymentCanvasGetInput, ce as DeploymentCanvasGetOutput, cf as DeploymentCanvasMoveNodeInput, cg as DeploymentCanvasMoveNodeOutput, ch as DeploymentCloudSqlBackfillLogFlagsInput, ci as DeploymentCloudSqlBackfillLogFlagsOutput, cj as DeploymentCloudSqlDatabaseAttachInput, ck as DeploymentCloudSqlDatabaseAttachOutput, cl as DeploymentCloudSqlDatabaseCreateInput, cm as DeploymentCloudSqlDatabaseCreateOutput, cn as DeploymentCloudSqlDatabaseDeleteInput, co as DeploymentCloudSqlDatabaseDeleteOutput, cp as DeploymentCloudSqlDatabaseDetachInput, cq as DeploymentCloudSqlDatabaseDetachOutput, cr as DeploymentCloudSqlDatabaseGetInput, cs as DeploymentCloudSqlDatabaseGetOutput, ct as DeploymentCloudSqlDatabaseListInput, cu as DeploymentCloudSqlDatabaseListOutput, cv as DeploymentCloudSqlInstanceBackupListInput, cw as DeploymentCloudSqlInstanceBackupListOutput, cx as DeploymentCloudSqlInstanceBackupInput, cy as DeploymentCloudSqlInstanceBackupOutput, cz as DeploymentCloudSqlInstanceCreateInput, cA as DeploymentCloudSqlInstanceCreateOutput, cB as DeploymentCloudSqlInstanceDeleteInput, cC as DeploymentCloudSqlInstanceDeleteOutput, cD as DeploymentCloudSqlInstanceGetInput, cE as DeploymentCloudSqlInstanceGetOutput, cF as DeploymentCloudSqlInstanceListInput, cG as DeploymentCloudSqlInstanceListOutput, cH as DeploymentCloudSqlInstanceResizeInput, cI as DeploymentCloudSqlInstanceResizeOutput, cJ as DeploymentCloudSqlInstanceRestoreInput, cK as DeploymentCloudSqlInstanceRestoreOutput, cL as DeploymentCloudSqlLogsInput, cM as DeploymentCloudSqlLogsOutput, cN as DeploymentDeploymentCancelInput, cO as DeploymentDeploymentCancelOutput, cP as DeploymentDeploymentGetInput, cQ as DeploymentDeploymentGetOutput, cR as DeploymentDeploymentListInput, cS as DeploymentDeploymentListOutput, cT as DeploymentDomainAddInput, cU as DeploymentDomainAddOutput, cV as DeploymentDomainAllowedListInput, cW as DeploymentDomainAllowedListOutput, cX as DeploymentDomainGetInput, cY as DeploymentDomainGetOutput, cZ as DeploymentDomainListByServiceInput, c_ as DeploymentDomainListByServiceOutput, c$ as DeploymentDomainListInput, d0 as DeploymentDomainListOutput, d1 as DeploymentDomainRedirectWwwInput, d2 as DeploymentDomainRedirectWwwOutput, d3 as DeploymentDomainRemoveInput, d4 as DeploymentDomainRemoveOutput, d5 as DeploymentDomainRoutesAddInput, d6 as DeploymentDomainRoutesAddOutput, d7 as DeploymentDomainRoutesListInput, d8 as DeploymentDomainRoutesListOutput, d9 as DeploymentDomainRoutesRemoveInput, da as DeploymentDomainRoutesRemoveOutput, db as DeploymentDomainRoutesUpdateInput, dc as DeploymentDomainRoutesUpdateOutput, dd as DeploymentDomainVerifyInput, de as DeploymentDomainVerifyOutput, df as DeploymentEnvironmentCreateInput, dg as DeploymentEnvironmentCreateOutput, dh as DeploymentEnvironmentDeleteInput, di as DeploymentEnvironmentDeleteOutput, dj as DeploymentEnvironmentForkInput, dk as DeploymentEnvironmentForkOutput, dl as DeploymentEnvironmentGetInput, dm as DeploymentEnvironmentGetOutput, dn as DeploymentEnvironmentListInput, dp as DeploymentEnvironmentListOutput, dq as DeploymentEnvironmentReconcileInput, dr as DeploymentEnvironmentReconcileOutput, ds as DeploymentEnvironmentUpdateInput, dt as DeploymentEnvironmentUpdateOutput, du as DeploymentEventsListByEnvironmentInput, dv as DeploymentEventsListByEnvironmentOutput, dw as DeploymentEventsListByServiceInput, dx as DeploymentEventsListByServiceOutput, dy as DeploymentManagedServiceBackupListInput, dz as DeploymentManagedServiceBackupListOutput, dA as DeploymentManagedServiceBackupInput, dB as DeploymentManagedServiceBackupOutput, dC as DeploymentManagedServiceConnectInfoInput, dD as DeploymentManagedServiceConnectInfoOutput, dE as DeploymentManagedServiceDeleteInput, dF as DeploymentManagedServiceDeleteOutput, dG as DeploymentManagedServiceGetInput, dH as DeploymentManagedServiceGetOutput, dI as DeploymentManagedServiceListInput, dJ as DeploymentManagedServiceListOutput, dK as DeploymentManagedServiceLogsInput, dL as DeploymentManagedServiceLogsOutput, dM as DeploymentManagedServiceProvisionInput, dN as DeploymentManagedServiceProvisionOutput, dO as DeploymentManagedServiceReconcileInput, dP as DeploymentManagedServiceReconcileOutput, dQ as DeploymentManagedServiceResizeInput, dR as DeploymentManagedServiceResizeOutput, dS as DeploymentManagedServiceRestoreInput, dT as DeploymentManagedServiceRestoreOutput, dU as DeploymentManagedServiceStartInput, dV as DeploymentManagedServiceStartOutput, dW as DeploymentManagedServiceStopInput, dX as DeploymentManagedServiceStopOutput, dY as DeploymentManagedServiceTypesInput, dZ as DeploymentManagedServiceTypesOutput, d_ as DeploymentMetricsGetInput, d$ as DeploymentMetricsGetOutput, e0 as DeploymentPreviewEnvironmentCreateInput, e1 as DeploymentPreviewEnvironmentCreateOutput, e2 as DeploymentPreviewEnvironmentDeleteInput, e3 as DeploymentPreviewEnvironmentDeleteOutput, e4 as DeploymentPreviewEnvironmentListInput, e5 as DeploymentPreviewEnvironmentListOutput, e6 as DeploymentPreviewPolicyGetInput, e7 as DeploymentPreviewPolicyGetOutput, e8 as DeploymentPreviewPolicySetInput, e9 as DeploymentPreviewPolicySetOutput, ea as DeploymentServiceCreateInput, eb as DeploymentServiceCreateOutput, ec as DeploymentServiceDeleteInput, ed as DeploymentServiceDeleteOutput, ee as DeploymentServiceExecInput, ef as DeploymentServiceExecOutput, eg as DeploymentServiceGetInput, eh as DeploymentServiceGetOutput, ei as DeploymentServiceListInput, ej as DeploymentServiceListOutput, ek as DeploymentServiceLogsInput, el as DeploymentServiceLogsOutput, em as DeploymentServiceRedeployInput, en as DeploymentServiceRedeployOutput, eo as DeploymentServiceRestartInput, ep as DeploymentServiceRestartOutput, eq as DeploymentServiceRollbackInput, er as DeploymentServiceRollbackOutput, es as DeploymentServiceScaleInput, et as DeploymentServiceScaleOutput, eu as DeploymentServiceUpdateInput, ev as DeploymentServiceUpdateOutput, ew as DeploymentServiceWakeInput, ex as DeploymentServiceWakeOutput, ey as DeploymentSshCommandInput, ez as DeploymentSshCommandOutput, eA as DeploymentSshKeyDeleteInput, eB as DeploymentSshKeyDeleteOutput, eC as DeploymentSshKeyListInput, eD as DeploymentSshKeyListOutput, eE as DeploymentSshKeyRegisterInput, eF as DeploymentSshKeyRegisterOutput, eG as DeploymentSuspensionGetInput, eH as DeploymentSuspensionGetOutput, eI as DeploymentVariableListEnvInput, eJ as DeploymentVariableListEnvOutput, eK as DeploymentVariableListProductInput, eL as DeploymentVariableListProductOutput, eM as DeploymentVariableListInput, eN as DeploymentVariableListOutput, eO as DeploymentVariableSetEnvInput, eP as DeploymentVariableSetEnvOutput, eQ as DeploymentVariableSetInput, eR as DeploymentVariableSetOutput, eS as DeploymentVariableSetProductInput, eT as DeploymentVariableSetProductOutput, eU as DeploymentVariableUnsetEnvInput, eV as DeploymentVariableUnsetEnvOutput, eW as DeploymentVariableUnsetInput, eX as DeploymentVariableUnsetOutput, eY as DeploymentVariableUnsetProductInput, eZ as DeploymentVariableUnsetProductOutput, e_ as DeploymentVcsBranchListInput, e$ as DeploymentVcsBranchListOutput, f0 as DeploymentVcsConnectionListInput, f1 as DeploymentVcsConnectionListOutput, f2 as DeploymentVcsRepoListInput, f3 as DeploymentVcsRepoListOutput, f4 as DeploymentVolumeCreateInput, f5 as DeploymentVolumeCreateOutput, f6 as DeploymentVolumeDeleteInput, f7 as DeploymentVolumeDeleteOutput, f8 as DeploymentVolumeDetachInput, f9 as DeploymentVolumeDetachOutput, fa as DeploymentVolumeGetInput, fb as DeploymentVolumeGetOutput, fc as DeploymentVolumeListInput, fd as DeploymentVolumeListOutput, fe as DeploymentVolumeResizeInput, ff as DeploymentVolumeResizeOutput } from '../client.gen-BC3cJSSd.cjs';
|
|
2
2
|
|
|
3
3
|
declare const deploymentAlertCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|