@lessly/sdk-app 81.0.0 → 82.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/_types/gen/client.gen.d.ts +4 -1
- package/dist/_types/gen/support/index.d.ts +1 -1
- package/dist/_types/gen/support/queryOptions.gen.d.ts +13 -1
- package/dist/_types/gen/types.gen.d.ts +525 -9
- package/dist/index.cjs +50 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +50 -5
- package/dist/index.js.map +1 -1
- package/dist/support/index.cjs +15 -0
- package/dist/support/index.cjs.map +1 -1
- package/dist/support/index.js +13 -1
- package/dist/support/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +39 -0
- package/src/gen/client.gen.ts +9 -0
- package/src/gen/manifest.gen.ts +11 -5
- package/src/gen/support/index.ts +1 -1
- package/src/gen/support/queryOptions.gen.ts +21 -0
- package/src/gen/types.gen.ts +531 -9
package/dist/support/index.cjs
CHANGED
|
@@ -29,6 +29,10 @@ var supportLabelCreateMutationOptions = (sdk) => ({
|
|
|
29
29
|
mutationKey: ["support", "label", "create"],
|
|
30
30
|
mutationFn: (input) => sdk["support"]["label"]["create"](input)
|
|
31
31
|
});
|
|
32
|
+
var supportLabelGetQueryOptions = (sdk, input) => ({
|
|
33
|
+
queryKey: ["support", "label", "get", input],
|
|
34
|
+
queryFn: () => sdk["support"]["label"]["get"](input)
|
|
35
|
+
});
|
|
32
36
|
var supportLabelListQueryOptions = (sdk, input) => ({
|
|
33
37
|
queryKey: ["support", "label", "list", input],
|
|
34
38
|
queryFn: () => sdk["support"]["label"]["list"](input)
|
|
@@ -37,6 +41,10 @@ var supportMessageCreateMutationOptions = (sdk) => ({
|
|
|
37
41
|
mutationKey: ["support", "message", "create"],
|
|
38
42
|
mutationFn: (input) => sdk["support"]["message"]["create"](input)
|
|
39
43
|
});
|
|
44
|
+
var supportMessageGetQueryOptions = (sdk, input) => ({
|
|
45
|
+
queryKey: ["support", "message", "get", input],
|
|
46
|
+
queryFn: () => sdk["support"]["message"]["get"](input)
|
|
47
|
+
});
|
|
40
48
|
var supportMessageListQueryOptions = (sdk, input) => ({
|
|
41
49
|
queryKey: ["support", "message", "list", input],
|
|
42
50
|
queryFn: () => sdk["support"]["message"]["list"](input)
|
|
@@ -81,6 +89,10 @@ var supportStatusCreateMutationOptions = (sdk) => ({
|
|
|
81
89
|
mutationKey: ["support", "status", "create"],
|
|
82
90
|
mutationFn: (input) => sdk["support"]["status"]["create"](input)
|
|
83
91
|
});
|
|
92
|
+
var supportStatusGetQueryOptions = (sdk, input) => ({
|
|
93
|
+
queryKey: ["support", "status", "get", input],
|
|
94
|
+
queryFn: () => sdk["support"]["status"]["get"](input)
|
|
95
|
+
});
|
|
84
96
|
var supportStatusListQueryOptions = (sdk, input) => ({
|
|
85
97
|
queryKey: ["support", "status", "list", input],
|
|
86
98
|
queryFn: () => sdk["support"]["status"]["list"](input)
|
|
@@ -185,8 +197,10 @@ exports.supportAgentUpdateMutationOptions = supportAgentUpdateMutationOptions;
|
|
|
185
197
|
exports.supportAttachmentCreateMutationOptions = supportAttachmentCreateMutationOptions;
|
|
186
198
|
exports.supportAttachmentFinalizeMutationOptions = supportAttachmentFinalizeMutationOptions;
|
|
187
199
|
exports.supportLabelCreateMutationOptions = supportLabelCreateMutationOptions;
|
|
200
|
+
exports.supportLabelGetQueryOptions = supportLabelGetQueryOptions;
|
|
188
201
|
exports.supportLabelListQueryOptions = supportLabelListQueryOptions;
|
|
189
202
|
exports.supportMessageCreateMutationOptions = supportMessageCreateMutationOptions;
|
|
203
|
+
exports.supportMessageGetQueryOptions = supportMessageGetQueryOptions;
|
|
190
204
|
exports.supportMessageListQueryOptions = supportMessageListQueryOptions;
|
|
191
205
|
exports.supportResponseEscalateMutationOptions = supportResponseEscalateMutationOptions;
|
|
192
206
|
exports.supportResponseGetQueryOptions = supportResponseGetQueryOptions;
|
|
@@ -198,6 +212,7 @@ exports.supportRuleListQueryOptions = supportRuleListQueryOptions;
|
|
|
198
212
|
exports.supportRuleUpdateMutationOptions = supportRuleUpdateMutationOptions;
|
|
199
213
|
exports.supportStatusArchiveMutationOptions = supportStatusArchiveMutationOptions;
|
|
200
214
|
exports.supportStatusCreateMutationOptions = supportStatusCreateMutationOptions;
|
|
215
|
+
exports.supportStatusGetQueryOptions = supportStatusGetQueryOptions;
|
|
201
216
|
exports.supportStatusListQueryOptions = supportStatusListQueryOptions;
|
|
202
217
|
exports.supportStatusUpdateMutationOptions = supportStatusUpdateMutationOptions;
|
|
203
218
|
exports.supportSurveyArchiveMutationOptions = supportSurveyArchiveMutationOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/gen/support/queryOptions.gen.ts"],"names":[],"mappings":";;;AAkEO,IAAM,iCAAA,GAAoC,CAAC,GAAA,MAA0B;AAAA,EAC1E,WAAA,EAAa,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,CAAA;AAAA,EAC1C,UAAA,EAAY,CAAC,KAAA,KAAmC,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACzF,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;AAEO,IAAM,4BAAA,GAA+B,CAAC,GAAA,EAAsB,KAAA,MAAkC;AAAA,EACnG,QAAA,EAAU,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,KAAK,CAAA;AAAA,EAC5C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACtD,CAAA;AAEO,IAAM,iCAAA,GAA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ate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n SupportAgentCreateInput,\n SupportAgentGetInput,\n SupportAgentGetOutput,\n SupportAgentListInput,\n SupportAgentListOutput,\n SupportAgentUpdateInput,\n SupportAttachmentCreateInput,\n SupportAttachmentFinalizeInput,\n SupportLabelCreateInput,\n SupportLabelListInput,\n SupportLabelListOutput,\n SupportMessageCreateInput,\n SupportMessageListInput,\n SupportMessageListOutput,\n SupportResponseEscalateInput,\n SupportResponseGetInput,\n SupportResponseGetOutput,\n SupportResponseListInput,\n SupportResponseListOutput,\n SupportRuleCreateInput,\n SupportRuleDeleteInput,\n SupportRuleGetInput,\n SupportRuleGetOutput,\n SupportRuleListInput,\n SupportRuleListOutput,\n SupportRuleUpdateInput,\n SupportStatusArchiveInput,\n SupportStatusCreateInput,\n SupportStatusListInput,\n SupportStatusListOutput,\n SupportStatusUpdateInput,\n SupportSurveyArchiveInput,\n SupportSurveyCreateInput,\n SupportSurveyGetInput,\n SupportSurveyGetOutput,\n SupportSurveyListInput,\n SupportSurveyListOutput,\n SupportSurveyPublishInput,\n SupportSurveyStatsInput,\n SupportSurveyStatsOutput,\n SupportSurveyUnpublishInput,\n SupportSurveyUpdateInput,\n SupportThreadAssignInput,\n SupportThreadCreateInput,\n SupportThreadGetInput,\n SupportThreadGetOutput,\n SupportThreadListInput,\n SupportThreadListOutput,\n SupportThreadStatusSetInput,\n SupportThreadUpdateInput,\n SupportWebhookCreateInput,\n SupportWebhookDeleteInput,\n SupportWebhookDeliveriesListInput,\n SupportWebhookDeliveriesListOutput,\n SupportWebhookGetInput,\n SupportWebhookGetOutput,\n SupportWebhookListInput,\n SupportWebhookListOutput,\n SupportWebhookRedeliverInput,\n SupportWebhookRotateSecretInput,\n SupportWebhookUpdateInput,\n} from '../types.gen';\n\nexport const supportAgentCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'agent', 'create'],\n mutationFn: (input: SupportAgentCreateInput) => sdk['support']['agent']['create'](input),\n});\n\nexport const supportAgentGetQueryOptions = (sdk: GeneratedClient, input: SupportAgentGetInput) => ({\n queryKey: ['support', 'agent', 'get', input] as const,\n queryFn: () => sdk['support']['agent']['get'](input),\n});\n\nexport const supportAgentListQueryOptions = (sdk: GeneratedClient, input: SupportAgentListInput) => ({\n queryKey: ['support', 'agent', 'list', input] as const,\n queryFn: () => sdk['support']['agent']['list'](input),\n});\n\nexport const supportAgentUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'agent', 'update'],\n mutationFn: (input: SupportAgentUpdateInput) => sdk['support']['agent']['update'](input),\n});\n\nexport const supportAttachmentCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'attachment', 'create'],\n mutationFn: (input: SupportAttachmentCreateInput) => sdk['support']['attachment']['create'](input),\n});\n\nexport const supportAttachmentFinalizeMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'attachment', 'finalize'],\n mutationFn: (input: SupportAttachmentFinalizeInput) => sdk['support']['attachment']['finalize'](input),\n});\n\nexport const supportLabelCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'label', 'create'],\n mutationFn: (input: SupportLabelCreateInput) => sdk['support']['label']['create'](input),\n});\n\nexport const supportLabelListQueryOptions = (sdk: GeneratedClient, input: SupportLabelListInput) => ({\n queryKey: ['support', 'label', 'list', input] as const,\n queryFn: () => sdk['support']['label']['list'](input),\n});\n\nexport const supportMessageCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'message', 'create'],\n mutationFn: (input: SupportMessageCreateInput) => sdk['support']['message']['create'](input),\n});\n\nexport const supportMessageListQueryOptions = (sdk: GeneratedClient, input: SupportMessageListInput) => ({\n queryKey: ['support', 'message', 'list', input] as const,\n queryFn: () => sdk['support']['message']['list'](input),\n});\n\nexport const supportResponseEscalateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'response', 'escalate'],\n mutationFn: (input: SupportResponseEscalateInput) => sdk['support']['response']['escalate'](input),\n});\n\nexport const supportResponseGetQueryOptions = (sdk: GeneratedClient, input: SupportResponseGetInput) => ({\n queryKey: ['support', 'response', 'get', input] as const,\n queryFn: () => sdk['support']['response']['get'](input),\n});\n\nexport const supportResponseListQueryOptions = (sdk: GeneratedClient, input: SupportResponseListInput) => ({\n queryKey: ['support', 'response', 'list', input] as const,\n queryFn: () => sdk['support']['response']['list'](input),\n});\n\nexport const supportRuleCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'create'],\n mutationFn: (input: SupportRuleCreateInput) => sdk['support']['rule']['create'](input),\n});\n\nexport const supportRuleDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'delete'],\n mutationFn: (input: SupportRuleDeleteInput) => sdk['support']['rule']['delete'](input),\n});\n\nexport const supportRuleGetQueryOptions = (sdk: GeneratedClient, input: SupportRuleGetInput) => ({\n queryKey: ['support', 'rule', 'get', input] as const,\n queryFn: () => sdk['support']['rule']['get'](input),\n});\n\nexport const supportRuleListQueryOptions = (sdk: GeneratedClient, input: SupportRuleListInput) => ({\n queryKey: ['support', 'rule', 'list', input] as const,\n queryFn: () => sdk['support']['rule']['list'](input),\n});\n\nexport const supportRuleUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'update'],\n mutationFn: (input: SupportRuleUpdateInput) => sdk['support']['rule']['update'](input),\n});\n\nexport const supportStatusArchiveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'archive'],\n mutationFn: (input: SupportStatusArchiveInput) => sdk['support']['status']['archive'](input),\n});\n\nexport const supportStatusCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'create'],\n mutationFn: (input: SupportStatusCreateInput) => sdk['support']['status']['create'](input),\n});\n\nexport const supportStatusListQueryOptions = (sdk: GeneratedClient, input: SupportStatusListInput) => ({\n queryKey: ['support', 'status', 'list', input] as const,\n queryFn: () => sdk['support']['status']['list'](input),\n});\n\nexport const supportStatusUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'update'],\n mutationFn: (input: SupportStatusUpdateInput) => sdk['support']['status']['update'](input),\n});\n\nexport const supportSurveyArchiveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'archive'],\n mutationFn: (input: SupportSurveyArchiveInput) => sdk['support']['survey']['archive'](input),\n});\n\nexport const supportSurveyCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'create'],\n mutationFn: (input: SupportSurveyCreateInput) => sdk['support']['survey']['create'](input),\n});\n\nexport const supportSurveyGetQueryOptions = (sdk: GeneratedClient, input: SupportSurveyGetInput) => ({\n queryKey: ['support', 'survey', 'get', input] as const,\n queryFn: () => sdk['support']['survey']['get'](input),\n});\n\nexport const supportSurveyListQueryOptions = (sdk: GeneratedClient, input: SupportSurveyListInput) => ({\n queryKey: ['support', 'survey', 'list', input] as const,\n queryFn: () => sdk['support']['survey']['list'](input),\n});\n\nexport const supportSurveyPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'publish'],\n mutationFn: (input: SupportSurveyPublishInput) => sdk['support']['survey']['publish'](input),\n});\n\nexport const supportSurveyStatsQueryOptions = (sdk: GeneratedClient, input: SupportSurveyStatsInput) => ({\n queryKey: ['support', 'survey', 'stats', input] as const,\n queryFn: () => sdk['support']['survey']['stats'](input),\n});\n\nexport const supportSurveyUnpublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'unpublish'],\n mutationFn: (input: SupportSurveyUnpublishInput) => sdk['support']['survey']['unpublish'](input),\n});\n\nexport const supportSurveyUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'update'],\n mutationFn: (input: SupportSurveyUpdateInput) => sdk['support']['survey']['update'](input),\n});\n\nexport const supportThreadAssignMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'assign'],\n mutationFn: (input: SupportThreadAssignInput) => sdk['support']['thread']['assign'](input),\n});\n\nexport const supportThreadCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'create'],\n mutationFn: (input: SupportThreadCreateInput) => sdk['support']['thread']['create'](input),\n});\n\nexport const supportThreadGetQueryOptions = (sdk: GeneratedClient, input: SupportThreadGetInput) => ({\n queryKey: ['support', 'thread', 'get', input] as const,\n queryFn: () => sdk['support']['thread']['get'](input),\n});\n\nexport const supportThreadListQueryOptions = (sdk: GeneratedClient, input: SupportThreadListInput) => ({\n queryKey: ['support', 'thread', 'list', input] as const,\n queryFn: () => sdk['support']['thread']['list'](input),\n});\n\nexport const supportThreadStatusSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread-status', 'set'],\n mutationFn: (input: SupportThreadStatusSetInput) => sdk['support']['thread-status']['set'](input),\n});\n\nexport const supportThreadUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'update'],\n mutationFn: (input: SupportThreadUpdateInput) => sdk['support']['thread']['update'](input),\n});\n\nexport const supportWebhookCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'create'],\n mutationFn: (input: SupportWebhookCreateInput) => sdk['support']['webhook']['create'](input),\n});\n\nexport const supportWebhookDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'delete'],\n mutationFn: (input: SupportWebhookDeleteInput) => sdk['support']['webhook']['delete'](input),\n});\n\nexport const supportWebhookDeliveriesListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookDeliveriesListInput) => ({\n queryKey: ['support', 'webhook-deliveries', 'list', input] as const,\n queryFn: () => sdk['support']['webhook-deliveries']['list'](input),\n});\n\nexport const supportWebhookGetQueryOptions = (sdk: GeneratedClient, input: SupportWebhookGetInput) => ({\n queryKey: ['support', 'webhook', 'get', input] as const,\n queryFn: () => sdk['support']['webhook']['get'](input),\n});\n\nexport const supportWebhookListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookListInput) => ({\n queryKey: ['support', 'webhook', 'list', input] as const,\n queryFn: () => sdk['support']['webhook']['list'](input),\n});\n\nexport const supportWebhookRedeliverMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'redeliver'],\n mutationFn: (input: SupportWebhookRedeliverInput) => sdk['support']['webhook']['redeliver'](input),\n});\n\nexport const supportWebhookRotateSecretMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook-rotate', 'secret'],\n mutationFn: (input: SupportWebhookRotateSecretInput) => sdk['support']['webhook-rotate']['secret'](input),\n});\n\nexport const supportWebhookUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'update'],\n mutationFn: (input: SupportWebhookUpdateInput) => sdk['support']['webhook']['update'](input),\n});\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/gen/support/queryOptions.gen.ts"],"names":[],"mappings":";;;AAwEO,IAAM,iCAAA,GAAoC,CAAC,GAAA,MAA0B;AAAA,EAC1E,WAAA,EAAa,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,CAAA;AAAA,EAC1C,UAAA,EAAY,CAAC,KAAA,KAAmC,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACzF,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;AAEO,IAAM,4BAAA,GAA+B,CAAC,GAAA,EAAsB,KAAA,MAAkC;AAAA,EACnG,QAAA,EAAU,CAAC,SAAA,EAAW,OAAA,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,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,sCAAA,GAAyC,CAAC,GAAA,MAA0B;AAAA,EAC/E,WAAA,EAAa,CAAC,SAAA,EAAW,SAAA,EAAW,WAAW,CAAA;AAAA,EAC/C,UAAA,EAAY,CAAC,KAAA,KAAwC,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,WAAW,CAAA,CAAE,KAAK;AACnG,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,MAA0B;AAAA,EAClF,WAAA,EAAa,CAAC,SAAA,EAAW,gBAAA,EAAkB,QAAQ,CAAA;AAAA,EACnD,UAAA,EAAY,CAAC,KAAA,KAA2C,GAAA,CAAI,SAAS,EAAE,gBAAgB,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC1G,CAAA;AAEO,IAAM,mCAAA,GAAsC,CAAC,GAAA,MAA0B;AAAA,EAC5E,WAAA,EAAa,CAAC,SAAA,EAAW,SAAA,EAAW,QAAQ,CAAA;AAAA,EAC5C,UAAA,EAAY,CAAC,KAAA,KAAqC,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC7F,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n SupportAgentCreateInput,\n SupportAgentGetInput,\n SupportAgentGetOutput,\n SupportAgentListInput,\n SupportAgentListOutput,\n SupportAgentUpdateInput,\n SupportAttachmentCreateInput,\n SupportAttachmentFinalizeInput,\n SupportLabelCreateInput,\n SupportLabelGetInput,\n SupportLabelGetOutput,\n SupportLabelListInput,\n SupportLabelListOutput,\n SupportMessageCreateInput,\n SupportMessageGetInput,\n SupportMessageGetOutput,\n SupportMessageListInput,\n SupportMessageListOutput,\n SupportResponseEscalateInput,\n SupportResponseGetInput,\n SupportResponseGetOutput,\n SupportResponseListInput,\n SupportResponseListOutput,\n SupportRuleCreateInput,\n SupportRuleDeleteInput,\n SupportRuleGetInput,\n SupportRuleGetOutput,\n SupportRuleListInput,\n SupportRuleListOutput,\n SupportRuleUpdateInput,\n SupportStatusArchiveInput,\n SupportStatusCreateInput,\n SupportStatusGetInput,\n SupportStatusGetOutput,\n SupportStatusListInput,\n SupportStatusListOutput,\n SupportStatusUpdateInput,\n SupportSurveyArchiveInput,\n SupportSurveyCreateInput,\n SupportSurveyGetInput,\n SupportSurveyGetOutput,\n SupportSurveyListInput,\n SupportSurveyListOutput,\n SupportSurveyPublishInput,\n SupportSurveyStatsInput,\n SupportSurveyStatsOutput,\n SupportSurveyUnpublishInput,\n SupportSurveyUpdateInput,\n SupportThreadAssignInput,\n SupportThreadCreateInput,\n SupportThreadGetInput,\n SupportThreadGetOutput,\n SupportThreadListInput,\n SupportThreadListOutput,\n SupportThreadStatusSetInput,\n SupportThreadUpdateInput,\n SupportWebhookCreateInput,\n SupportWebhookDeleteInput,\n SupportWebhookDeliveriesListInput,\n SupportWebhookDeliveriesListOutput,\n SupportWebhookGetInput,\n SupportWebhookGetOutput,\n SupportWebhookListInput,\n SupportWebhookListOutput,\n SupportWebhookRedeliverInput,\n SupportWebhookRotateSecretInput,\n SupportWebhookUpdateInput,\n} from '../types.gen';\n\nexport const supportAgentCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'agent', 'create'],\n mutationFn: (input: SupportAgentCreateInput) => sdk['support']['agent']['create'](input),\n});\n\nexport const supportAgentGetQueryOptions = (sdk: GeneratedClient, input: SupportAgentGetInput) => ({\n queryKey: ['support', 'agent', 'get', input] as const,\n queryFn: () => sdk['support']['agent']['get'](input),\n});\n\nexport const supportAgentListQueryOptions = (sdk: GeneratedClient, input: SupportAgentListInput) => ({\n queryKey: ['support', 'agent', 'list', input] as const,\n queryFn: () => sdk['support']['agent']['list'](input),\n});\n\nexport const supportAgentUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'agent', 'update'],\n mutationFn: (input: SupportAgentUpdateInput) => sdk['support']['agent']['update'](input),\n});\n\nexport const supportAttachmentCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'attachment', 'create'],\n mutationFn: (input: SupportAttachmentCreateInput) => sdk['support']['attachment']['create'](input),\n});\n\nexport const supportAttachmentFinalizeMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'attachment', 'finalize'],\n mutationFn: (input: SupportAttachmentFinalizeInput) => sdk['support']['attachment']['finalize'](input),\n});\n\nexport const supportLabelCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'label', 'create'],\n mutationFn: (input: SupportLabelCreateInput) => sdk['support']['label']['create'](input),\n});\n\nexport const supportLabelGetQueryOptions = (sdk: GeneratedClient, input: SupportLabelGetInput) => ({\n queryKey: ['support', 'label', 'get', input] as const,\n queryFn: () => sdk['support']['label']['get'](input),\n});\n\nexport const supportLabelListQueryOptions = (sdk: GeneratedClient, input: SupportLabelListInput) => ({\n queryKey: ['support', 'label', 'list', input] as const,\n queryFn: () => sdk['support']['label']['list'](input),\n});\n\nexport const supportMessageCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'message', 'create'],\n mutationFn: (input: SupportMessageCreateInput) => sdk['support']['message']['create'](input),\n});\n\nexport const supportMessageGetQueryOptions = (sdk: GeneratedClient, input: SupportMessageGetInput) => ({\n queryKey: ['support', 'message', 'get', input] as const,\n queryFn: () => sdk['support']['message']['get'](input),\n});\n\nexport const supportMessageListQueryOptions = (sdk: GeneratedClient, input: SupportMessageListInput) => ({\n queryKey: ['support', 'message', 'list', input] as const,\n queryFn: () => sdk['support']['message']['list'](input),\n});\n\nexport const supportResponseEscalateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'response', 'escalate'],\n mutationFn: (input: SupportResponseEscalateInput) => sdk['support']['response']['escalate'](input),\n});\n\nexport const supportResponseGetQueryOptions = (sdk: GeneratedClient, input: SupportResponseGetInput) => ({\n queryKey: ['support', 'response', 'get', input] as const,\n queryFn: () => sdk['support']['response']['get'](input),\n});\n\nexport const supportResponseListQueryOptions = (sdk: GeneratedClient, input: SupportResponseListInput) => ({\n queryKey: ['support', 'response', 'list', input] as const,\n queryFn: () => sdk['support']['response']['list'](input),\n});\n\nexport const supportRuleCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'create'],\n mutationFn: (input: SupportRuleCreateInput) => sdk['support']['rule']['create'](input),\n});\n\nexport const supportRuleDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'delete'],\n mutationFn: (input: SupportRuleDeleteInput) => sdk['support']['rule']['delete'](input),\n});\n\nexport const supportRuleGetQueryOptions = (sdk: GeneratedClient, input: SupportRuleGetInput) => ({\n queryKey: ['support', 'rule', 'get', input] as const,\n queryFn: () => sdk['support']['rule']['get'](input),\n});\n\nexport const supportRuleListQueryOptions = (sdk: GeneratedClient, input: SupportRuleListInput) => ({\n queryKey: ['support', 'rule', 'list', input] as const,\n queryFn: () => sdk['support']['rule']['list'](input),\n});\n\nexport const supportRuleUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'update'],\n mutationFn: (input: SupportRuleUpdateInput) => sdk['support']['rule']['update'](input),\n});\n\nexport const supportStatusArchiveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'archive'],\n mutationFn: (input: SupportStatusArchiveInput) => sdk['support']['status']['archive'](input),\n});\n\nexport const supportStatusCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'create'],\n mutationFn: (input: SupportStatusCreateInput) => sdk['support']['status']['create'](input),\n});\n\nexport const supportStatusGetQueryOptions = (sdk: GeneratedClient, input: SupportStatusGetInput) => ({\n queryKey: ['support', 'status', 'get', input] as const,\n queryFn: () => sdk['support']['status']['get'](input),\n});\n\nexport const supportStatusListQueryOptions = (sdk: GeneratedClient, input: SupportStatusListInput) => ({\n queryKey: ['support', 'status', 'list', input] as const,\n queryFn: () => sdk['support']['status']['list'](input),\n});\n\nexport const supportStatusUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'update'],\n mutationFn: (input: SupportStatusUpdateInput) => sdk['support']['status']['update'](input),\n});\n\nexport const supportSurveyArchiveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'archive'],\n mutationFn: (input: SupportSurveyArchiveInput) => sdk['support']['survey']['archive'](input),\n});\n\nexport const supportSurveyCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'create'],\n mutationFn: (input: SupportSurveyCreateInput) => sdk['support']['survey']['create'](input),\n});\n\nexport const supportSurveyGetQueryOptions = (sdk: GeneratedClient, input: SupportSurveyGetInput) => ({\n queryKey: ['support', 'survey', 'get', input] as const,\n queryFn: () => sdk['support']['survey']['get'](input),\n});\n\nexport const supportSurveyListQueryOptions = (sdk: GeneratedClient, input: SupportSurveyListInput) => ({\n queryKey: ['support', 'survey', 'list', input] as const,\n queryFn: () => sdk['support']['survey']['list'](input),\n});\n\nexport const supportSurveyPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'publish'],\n mutationFn: (input: SupportSurveyPublishInput) => sdk['support']['survey']['publish'](input),\n});\n\nexport const supportSurveyStatsQueryOptions = (sdk: GeneratedClient, input: SupportSurveyStatsInput) => ({\n queryKey: ['support', 'survey', 'stats', input] as const,\n queryFn: () => sdk['support']['survey']['stats'](input),\n});\n\nexport const supportSurveyUnpublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'unpublish'],\n mutationFn: (input: SupportSurveyUnpublishInput) => sdk['support']['survey']['unpublish'](input),\n});\n\nexport const supportSurveyUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'update'],\n mutationFn: (input: SupportSurveyUpdateInput) => sdk['support']['survey']['update'](input),\n});\n\nexport const supportThreadAssignMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'assign'],\n mutationFn: (input: SupportThreadAssignInput) => sdk['support']['thread']['assign'](input),\n});\n\nexport const supportThreadCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'create'],\n mutationFn: (input: SupportThreadCreateInput) => sdk['support']['thread']['create'](input),\n});\n\nexport const supportThreadGetQueryOptions = (sdk: GeneratedClient, input: SupportThreadGetInput) => ({\n queryKey: ['support', 'thread', 'get', input] as const,\n queryFn: () => sdk['support']['thread']['get'](input),\n});\n\nexport const supportThreadListQueryOptions = (sdk: GeneratedClient, input: SupportThreadListInput) => ({\n queryKey: ['support', 'thread', 'list', input] as const,\n queryFn: () => sdk['support']['thread']['list'](input),\n});\n\nexport const supportThreadStatusSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread-status', 'set'],\n mutationFn: (input: SupportThreadStatusSetInput) => sdk['support']['thread-status']['set'](input),\n});\n\nexport const supportThreadUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'update'],\n mutationFn: (input: SupportThreadUpdateInput) => sdk['support']['thread']['update'](input),\n});\n\nexport const supportWebhookCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'create'],\n mutationFn: (input: SupportWebhookCreateInput) => sdk['support']['webhook']['create'](input),\n});\n\nexport const supportWebhookDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'delete'],\n mutationFn: (input: SupportWebhookDeleteInput) => sdk['support']['webhook']['delete'](input),\n});\n\nexport const supportWebhookDeliveriesListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookDeliveriesListInput) => ({\n queryKey: ['support', 'webhook-deliveries', 'list', input] as const,\n queryFn: () => sdk['support']['webhook-deliveries']['list'](input),\n});\n\nexport const supportWebhookGetQueryOptions = (sdk: GeneratedClient, input: SupportWebhookGetInput) => ({\n queryKey: ['support', 'webhook', 'get', input] as const,\n queryFn: () => sdk['support']['webhook']['get'](input),\n});\n\nexport const supportWebhookListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookListInput) => ({\n queryKey: ['support', 'webhook', 'list', input] as const,\n queryFn: () => sdk['support']['webhook']['list'](input),\n});\n\nexport const supportWebhookRedeliverMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'redeliver'],\n mutationFn: (input: SupportWebhookRedeliverInput) => sdk['support']['webhook']['redeliver'](input),\n});\n\nexport const supportWebhookRotateSecretMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook-rotate', 'secret'],\n mutationFn: (input: SupportWebhookRotateSecretInput) => sdk['support']['webhook-rotate']['secret'](input),\n});\n\nexport const supportWebhookUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'update'],\n mutationFn: (input: SupportWebhookUpdateInput) => sdk['support']['webhook']['update'](input),\n});\n"]}
|
package/dist/support/index.js
CHANGED
|
@@ -27,6 +27,10 @@ var supportLabelCreateMutationOptions = (sdk) => ({
|
|
|
27
27
|
mutationKey: ["support", "label", "create"],
|
|
28
28
|
mutationFn: (input) => sdk["support"]["label"]["create"](input)
|
|
29
29
|
});
|
|
30
|
+
var supportLabelGetQueryOptions = (sdk, input) => ({
|
|
31
|
+
queryKey: ["support", "label", "get", input],
|
|
32
|
+
queryFn: () => sdk["support"]["label"]["get"](input)
|
|
33
|
+
});
|
|
30
34
|
var supportLabelListQueryOptions = (sdk, input) => ({
|
|
31
35
|
queryKey: ["support", "label", "list", input],
|
|
32
36
|
queryFn: () => sdk["support"]["label"]["list"](input)
|
|
@@ -35,6 +39,10 @@ var supportMessageCreateMutationOptions = (sdk) => ({
|
|
|
35
39
|
mutationKey: ["support", "message", "create"],
|
|
36
40
|
mutationFn: (input) => sdk["support"]["message"]["create"](input)
|
|
37
41
|
});
|
|
42
|
+
var supportMessageGetQueryOptions = (sdk, input) => ({
|
|
43
|
+
queryKey: ["support", "message", "get", input],
|
|
44
|
+
queryFn: () => sdk["support"]["message"]["get"](input)
|
|
45
|
+
});
|
|
38
46
|
var supportMessageListQueryOptions = (sdk, input) => ({
|
|
39
47
|
queryKey: ["support", "message", "list", input],
|
|
40
48
|
queryFn: () => sdk["support"]["message"]["list"](input)
|
|
@@ -79,6 +87,10 @@ var supportStatusCreateMutationOptions = (sdk) => ({
|
|
|
79
87
|
mutationKey: ["support", "status", "create"],
|
|
80
88
|
mutationFn: (input) => sdk["support"]["status"]["create"](input)
|
|
81
89
|
});
|
|
90
|
+
var supportStatusGetQueryOptions = (sdk, input) => ({
|
|
91
|
+
queryKey: ["support", "status", "get", input],
|
|
92
|
+
queryFn: () => sdk["support"]["status"]["get"](input)
|
|
93
|
+
});
|
|
82
94
|
var supportStatusListQueryOptions = (sdk, input) => ({
|
|
83
95
|
queryKey: ["support", "status", "list", input],
|
|
84
96
|
queryFn: () => sdk["support"]["status"]["list"](input)
|
|
@@ -176,6 +188,6 @@ var supportWebhookUpdateMutationOptions = (sdk) => ({
|
|
|
176
188
|
mutationFn: (input) => sdk["support"]["webhook"]["update"](input)
|
|
177
189
|
});
|
|
178
190
|
|
|
179
|
-
export { supportAgentCreateMutationOptions, supportAgentGetQueryOptions, supportAgentListQueryOptions, supportAgentUpdateMutationOptions, supportAttachmentCreateMutationOptions, supportAttachmentFinalizeMutationOptions, supportLabelCreateMutationOptions, supportLabelListQueryOptions, supportMessageCreateMutationOptions, supportMessageListQueryOptions, supportResponseEscalateMutationOptions, supportResponseGetQueryOptions, supportResponseListQueryOptions, supportRuleCreateMutationOptions, supportRuleDeleteMutationOptions, supportRuleGetQueryOptions, supportRuleListQueryOptions, supportRuleUpdateMutationOptions, supportStatusArchiveMutationOptions, supportStatusCreateMutationOptions, supportStatusListQueryOptions, supportStatusUpdateMutationOptions, supportSurveyArchiveMutationOptions, supportSurveyCreateMutationOptions, supportSurveyGetQueryOptions, supportSurveyListQueryOptions, supportSurveyPublishMutationOptions, supportSurveyStatsQueryOptions, supportSurveyUnpublishMutationOptions, supportSurveyUpdateMutationOptions, supportThreadAssignMutationOptions, supportThreadCreateMutationOptions, supportThreadGetQueryOptions, supportThreadListQueryOptions, supportThreadStatusSetMutationOptions, supportThreadUpdateMutationOptions, supportWebhookCreateMutationOptions, supportWebhookDeleteMutationOptions, supportWebhookDeliveriesListQueryOptions, supportWebhookGetQueryOptions, supportWebhookListQueryOptions, supportWebhookRedeliverMutationOptions, supportWebhookRotateSecretMutationOptions, supportWebhookUpdateMutationOptions };
|
|
191
|
+
export { supportAgentCreateMutationOptions, supportAgentGetQueryOptions, supportAgentListQueryOptions, supportAgentUpdateMutationOptions, supportAttachmentCreateMutationOptions, supportAttachmentFinalizeMutationOptions, supportLabelCreateMutationOptions, supportLabelGetQueryOptions, supportLabelListQueryOptions, supportMessageCreateMutationOptions, supportMessageGetQueryOptions, supportMessageListQueryOptions, supportResponseEscalateMutationOptions, supportResponseGetQueryOptions, supportResponseListQueryOptions, supportRuleCreateMutationOptions, supportRuleDeleteMutationOptions, supportRuleGetQueryOptions, supportRuleListQueryOptions, supportRuleUpdateMutationOptions, supportStatusArchiveMutationOptions, supportStatusCreateMutationOptions, supportStatusGetQueryOptions, supportStatusListQueryOptions, supportStatusUpdateMutationOptions, supportSurveyArchiveMutationOptions, supportSurveyCreateMutationOptions, supportSurveyGetQueryOptions, supportSurveyListQueryOptions, supportSurveyPublishMutationOptions, supportSurveyStatsQueryOptions, supportSurveyUnpublishMutationOptions, supportSurveyUpdateMutationOptions, supportThreadAssignMutationOptions, supportThreadCreateMutationOptions, supportThreadGetQueryOptions, supportThreadListQueryOptions, supportThreadStatusSetMutationOptions, supportThreadUpdateMutationOptions, supportWebhookCreateMutationOptions, supportWebhookDeleteMutationOptions, supportWebhookDeliveriesListQueryOptions, supportWebhookGetQueryOptions, supportWebhookListQueryOptions, supportWebhookRedeliverMutationOptions, supportWebhookRotateSecretMutationOptions, supportWebhookUpdateMutationOptions };
|
|
180
192
|
//# sourceMappingURL=index.js.map
|
|
181
193
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/gen/support/queryOptions.gen.ts"],"names":[],"mappings":";AAkEO,IAAM,iCAAA,GAAoC,CAAC,GAAA,MAA0B;AAAA,EAC1E,WAAA,EAAa,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,CAAA;AAAA,EAC1C,UAAA,EAAY,CAAC,KAAA,KAAmC,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACzF,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;AAEO,IAAM,4BAAA,GAA+B,CAAC,GAAA,EAAsB,KAAA,MAAkC;AAAA,EACnG,QAAA,EAAU,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,KAAK,CAAA;AAAA,EAC5C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACtD,CAAA;AAEO,IAAM,iCAAA,GAAoC,CAAC,GAAA,MAA0B;AAAA,EAC1E,WAAA,EAAa,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,CAAA;AAAA,EAC1C,UAAA,EAAY,CAAC,KAAA,KAAmC,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACzF,CAAA;AAEO,IAAM,sCAAA,GAAyC,CAAC,GAAA,MAA0B;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AAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,SAAA,EAAW,SAAA,EAAW,QAAQ,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,sCAAA,GAAyC,CAAC,GAAA,MAA0B;AAAA,EAC/E,WAAA,EAAa,CAAC,SAAA,EAAW,SAAA,EAAW,WAAW,CAAA;AAAA,EAC/C,UAAA,EAAY,CAAC,KAAA,KAAwC,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,WAAW,CAAA,CAAE,KAAK;AACnG,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,MAA0B;AAAA,EAClF,WAAA,EAAa,CAAC,SAAA,EAAW,gBAAA,EAAkB,QAAQ,CAAA;AAAA,EACnD,UAAA,EAAY,CAAC,KAAA,KAA2C,GAAA,CAAI,SAAS,EAAE,gBAAgB,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC1G,CAAA;AAEO,IAAM,mCAAA,GAAsC,CAAC,GAAA,MAA0B;AAAA,EAC5E,WAAA,EAAa,CAAC,SAAA,EAAW,SAAA,EAAW,QAAQ,CAAA;AAAA,EAC5C,UAAA,EAAY,CAAC,KAAA,KAAqC,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC7F,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n SupportAgentCreateInput,\n SupportAgentGetInput,\n SupportAgentGetOutput,\n SupportAgentListInput,\n SupportAgentListOutput,\n SupportAgentUpdateInput,\n SupportAttachmentCreateInput,\n SupportAttachmentFinalizeInput,\n SupportLabelCreateInput,\n SupportLabelListInput,\n SupportLabelListOutput,\n SupportMessageCreateInput,\n SupportMessageListInput,\n SupportMessageListOutput,\n SupportResponseEscalateInput,\n SupportResponseGetInput,\n SupportResponseGetOutput,\n SupportResponseListInput,\n SupportResponseListOutput,\n SupportRuleCreateInput,\n SupportRuleDeleteInput,\n SupportRuleGetInput,\n SupportRuleGetOutput,\n SupportRuleListInput,\n SupportRuleListOutput,\n SupportRuleUpdateInput,\n SupportStatusArchiveInput,\n SupportStatusCreateInput,\n SupportStatusListInput,\n SupportStatusListOutput,\n SupportStatusUpdateInput,\n SupportSurveyArchiveInput,\n SupportSurveyCreateInput,\n SupportSurveyGetInput,\n SupportSurveyGetOutput,\n SupportSurveyListInput,\n SupportSurveyListOutput,\n SupportSurveyPublishInput,\n SupportSurveyStatsInput,\n SupportSurveyStatsOutput,\n SupportSurveyUnpublishInput,\n SupportSurveyUpdateInput,\n SupportThreadAssignInput,\n SupportThreadCreateInput,\n SupportThreadGetInput,\n SupportThreadGetOutput,\n SupportThreadListInput,\n SupportThreadListOutput,\n SupportThreadStatusSetInput,\n SupportThreadUpdateInput,\n SupportWebhookCreateInput,\n SupportWebhookDeleteInput,\n SupportWebhookDeliveriesListInput,\n SupportWebhookDeliveriesListOutput,\n SupportWebhookGetInput,\n SupportWebhookGetOutput,\n SupportWebhookListInput,\n SupportWebhookListOutput,\n SupportWebhookRedeliverInput,\n SupportWebhookRotateSecretInput,\n SupportWebhookUpdateInput,\n} from '../types.gen';\n\nexport const supportAgentCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'agent', 'create'],\n mutationFn: (input: SupportAgentCreateInput) => sdk['support']['agent']['create'](input),\n});\n\nexport const supportAgentGetQueryOptions = (sdk: GeneratedClient, input: SupportAgentGetInput) => ({\n queryKey: ['support', 'agent', 'get', input] as const,\n queryFn: () => sdk['support']['agent']['get'](input),\n});\n\nexport const supportAgentListQueryOptions = (sdk: GeneratedClient, input: SupportAgentListInput) => ({\n queryKey: ['support', 'agent', 'list', input] as const,\n queryFn: () => sdk['support']['agent']['list'](input),\n});\n\nexport const supportAgentUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'agent', 'update'],\n mutationFn: (input: SupportAgentUpdateInput) => sdk['support']['agent']['update'](input),\n});\n\nexport const supportAttachmentCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'attachment', 'create'],\n mutationFn: (input: SupportAttachmentCreateInput) => sdk['support']['attachment']['create'](input),\n});\n\nexport const supportAttachmentFinalizeMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'attachment', 'finalize'],\n mutationFn: (input: SupportAttachmentFinalizeInput) => sdk['support']['attachment']['finalize'](input),\n});\n\nexport const supportLabelCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'label', 'create'],\n mutationFn: (input: SupportLabelCreateInput) => sdk['support']['label']['create'](input),\n});\n\nexport const supportLabelListQueryOptions = (sdk: GeneratedClient, input: SupportLabelListInput) => ({\n queryKey: ['support', 'label', 'list', input] as const,\n queryFn: () => sdk['support']['label']['list'](input),\n});\n\nexport const supportMessageCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'message', 'create'],\n mutationFn: (input: SupportMessageCreateInput) => sdk['support']['message']['create'](input),\n});\n\nexport const supportMessageListQueryOptions = (sdk: GeneratedClient, input: SupportMessageListInput) => ({\n queryKey: ['support', 'message', 'list', input] as const,\n queryFn: () => sdk['support']['message']['list'](input),\n});\n\nexport const supportResponseEscalateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'response', 'escalate'],\n mutationFn: (input: SupportResponseEscalateInput) => sdk['support']['response']['escalate'](input),\n});\n\nexport const supportResponseGetQueryOptions = (sdk: GeneratedClient, input: SupportResponseGetInput) => ({\n queryKey: ['support', 'response', 'get', input] as const,\n queryFn: () => sdk['support']['response']['get'](input),\n});\n\nexport const supportResponseListQueryOptions = (sdk: GeneratedClient, input: SupportResponseListInput) => ({\n queryKey: ['support', 'response', 'list', input] as const,\n queryFn: () => sdk['support']['response']['list'](input),\n});\n\nexport const supportRuleCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'create'],\n mutationFn: (input: SupportRuleCreateInput) => sdk['support']['rule']['create'](input),\n});\n\nexport const supportRuleDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'delete'],\n mutationFn: (input: SupportRuleDeleteInput) => sdk['support']['rule']['delete'](input),\n});\n\nexport const supportRuleGetQueryOptions = (sdk: GeneratedClient, input: SupportRuleGetInput) => ({\n queryKey: ['support', 'rule', 'get', input] as const,\n queryFn: () => sdk['support']['rule']['get'](input),\n});\n\nexport const supportRuleListQueryOptions = (sdk: GeneratedClient, input: SupportRuleListInput) => ({\n queryKey: ['support', 'rule', 'list', input] as const,\n queryFn: () => sdk['support']['rule']['list'](input),\n});\n\nexport const supportRuleUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'update'],\n mutationFn: (input: SupportRuleUpdateInput) => sdk['support']['rule']['update'](input),\n});\n\nexport const supportStatusArchiveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'archive'],\n mutationFn: (input: SupportStatusArchiveInput) => sdk['support']['status']['archive'](input),\n});\n\nexport const supportStatusCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'create'],\n mutationFn: (input: SupportStatusCreateInput) => sdk['support']['status']['create'](input),\n});\n\nexport const supportStatusListQueryOptions = (sdk: GeneratedClient, input: SupportStatusListInput) => ({\n queryKey: ['support', 'status', 'list', input] as const,\n queryFn: () => sdk['support']['status']['list'](input),\n});\n\nexport const supportStatusUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'update'],\n mutationFn: (input: SupportStatusUpdateInput) => sdk['support']['status']['update'](input),\n});\n\nexport const supportSurveyArchiveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'archive'],\n mutationFn: (input: SupportSurveyArchiveInput) => sdk['support']['survey']['archive'](input),\n});\n\nexport const supportSurveyCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'create'],\n mutationFn: (input: SupportSurveyCreateInput) => sdk['support']['survey']['create'](input),\n});\n\nexport const supportSurveyGetQueryOptions = (sdk: GeneratedClient, input: SupportSurveyGetInput) => ({\n queryKey: ['support', 'survey', 'get', input] as const,\n queryFn: () => sdk['support']['survey']['get'](input),\n});\n\nexport const supportSurveyListQueryOptions = (sdk: GeneratedClient, input: SupportSurveyListInput) => ({\n queryKey: ['support', 'survey', 'list', input] as const,\n queryFn: () => sdk['support']['survey']['list'](input),\n});\n\nexport const supportSurveyPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'publish'],\n mutationFn: (input: SupportSurveyPublishInput) => sdk['support']['survey']['publish'](input),\n});\n\nexport const supportSurveyStatsQueryOptions = (sdk: GeneratedClient, input: SupportSurveyStatsInput) => ({\n queryKey: ['support', 'survey', 'stats', input] as const,\n queryFn: () => sdk['support']['survey']['stats'](input),\n});\n\nexport const supportSurveyUnpublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'unpublish'],\n mutationFn: (input: SupportSurveyUnpublishInput) => sdk['support']['survey']['unpublish'](input),\n});\n\nexport const supportSurveyUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'update'],\n mutationFn: (input: SupportSurveyUpdateInput) => sdk['support']['survey']['update'](input),\n});\n\nexport const supportThreadAssignMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'assign'],\n mutationFn: (input: SupportThreadAssignInput) => sdk['support']['thread']['assign'](input),\n});\n\nexport const supportThreadCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'create'],\n mutationFn: (input: SupportThreadCreateInput) => sdk['support']['thread']['create'](input),\n});\n\nexport const supportThreadGetQueryOptions = (sdk: GeneratedClient, input: SupportThreadGetInput) => ({\n queryKey: ['support', 'thread', 'get', input] as const,\n queryFn: () => sdk['support']['thread']['get'](input),\n});\n\nexport const supportThreadListQueryOptions = (sdk: GeneratedClient, input: SupportThreadListInput) => ({\n queryKey: ['support', 'thread', 'list', input] as const,\n queryFn: () => sdk['support']['thread']['list'](input),\n});\n\nexport const supportThreadStatusSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread-status', 'set'],\n mutationFn: (input: SupportThreadStatusSetInput) => sdk['support']['thread-status']['set'](input),\n});\n\nexport const supportThreadUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'update'],\n mutationFn: (input: SupportThreadUpdateInput) => sdk['support']['thread']['update'](input),\n});\n\nexport const supportWebhookCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'create'],\n mutationFn: (input: SupportWebhookCreateInput) => sdk['support']['webhook']['create'](input),\n});\n\nexport const supportWebhookDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'delete'],\n mutationFn: (input: SupportWebhookDeleteInput) => sdk['support']['webhook']['delete'](input),\n});\n\nexport const supportWebhookDeliveriesListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookDeliveriesListInput) => ({\n queryKey: ['support', 'webhook-deliveries', 'list', input] as const,\n queryFn: () => sdk['support']['webhook-deliveries']['list'](input),\n});\n\nexport const supportWebhookGetQueryOptions = (sdk: GeneratedClient, input: SupportWebhookGetInput) => ({\n queryKey: ['support', 'webhook', 'get', input] as const,\n queryFn: () => sdk['support']['webhook']['get'](input),\n});\n\nexport const supportWebhookListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookListInput) => ({\n queryKey: ['support', 'webhook', 'list', input] as const,\n queryFn: () => sdk['support']['webhook']['list'](input),\n});\n\nexport const supportWebhookRedeliverMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'redeliver'],\n mutationFn: (input: SupportWebhookRedeliverInput) => sdk['support']['webhook']['redeliver'](input),\n});\n\nexport const supportWebhookRotateSecretMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook-rotate', 'secret'],\n mutationFn: (input: SupportWebhookRotateSecretInput) => sdk['support']['webhook-rotate']['secret'](input),\n});\n\nexport const supportWebhookUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'update'],\n mutationFn: (input: SupportWebhookUpdateInput) => sdk['support']['webhook']['update'](input),\n});\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/gen/support/queryOptions.gen.ts"],"names":[],"mappings":";AAwEO,IAAM,iCAAA,GAAoC,CAAC,GAAA,MAA0B;AAAA,EAC1E,WAAA,EAAa,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,CAAA;AAAA,EAC1C,UAAA,EAAY,CAAC,KAAA,KAAmC,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACzF,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;AAEO,IAAM,4BAAA,GAA+B,CAAC,GAAA,EAAsB,KAAA,MAAkC;AAAA,EACnG,QAAA,EAAU,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,KAAK,CAAA;AAAA,EAC5C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,OAAO,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACtD,CAAA;AAEO,IAAM,iCAAA,GAAoC,CAAC,GAAA,MAA0B;AAAA,EAC1E,WAAA,EAAa,CAAC,SAAA,EAAW,OAAA,EAAS,QAAQ,CAAA;AAAA,EAC1C,UAA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C,KAAA,KAAwC,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,WAAW,CAAA,CAAE,KAAK;AACnG,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,MAA0B;AAAA,EAClF,WAAA,EAAa,CAAC,SAAA,EAAW,gBAAA,EAAkB,QAAQ,CAAA;AAAA,EACnD,UAAA,EAAY,CAAC,KAAA,KAA2C,GAAA,CAAI,SAAS,EAAE,gBAAgB,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC1G,CAAA;AAEO,IAAM,mCAAA,GAAsC,CAAC,GAAA,MAA0B;AAAA,EAC5E,WAAA,EAAa,CAAC,SAAA,EAAW,SAAA,EAAW,QAAQ,CAAA;AAAA,EAC5C,UAAA,EAAY,CAAC,KAAA,KAAqC,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC7F,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n SupportAgentCreateInput,\n SupportAgentGetInput,\n SupportAgentGetOutput,\n SupportAgentListInput,\n SupportAgentListOutput,\n SupportAgentUpdateInput,\n SupportAttachmentCreateInput,\n SupportAttachmentFinalizeInput,\n SupportLabelCreateInput,\n SupportLabelGetInput,\n SupportLabelGetOutput,\n SupportLabelListInput,\n SupportLabelListOutput,\n SupportMessageCreateInput,\n SupportMessageGetInput,\n SupportMessageGetOutput,\n SupportMessageListInput,\n SupportMessageListOutput,\n SupportResponseEscalateInput,\n SupportResponseGetInput,\n SupportResponseGetOutput,\n SupportResponseListInput,\n SupportResponseListOutput,\n SupportRuleCreateInput,\n SupportRuleDeleteInput,\n SupportRuleGetInput,\n SupportRuleGetOutput,\n SupportRuleListInput,\n SupportRuleListOutput,\n SupportRuleUpdateInput,\n SupportStatusArchiveInput,\n SupportStatusCreateInput,\n SupportStatusGetInput,\n SupportStatusGetOutput,\n SupportStatusListInput,\n SupportStatusListOutput,\n SupportStatusUpdateInput,\n SupportSurveyArchiveInput,\n SupportSurveyCreateInput,\n SupportSurveyGetInput,\n SupportSurveyGetOutput,\n SupportSurveyListInput,\n SupportSurveyListOutput,\n SupportSurveyPublishInput,\n SupportSurveyStatsInput,\n SupportSurveyStatsOutput,\n SupportSurveyUnpublishInput,\n SupportSurveyUpdateInput,\n SupportThreadAssignInput,\n SupportThreadCreateInput,\n SupportThreadGetInput,\n SupportThreadGetOutput,\n SupportThreadListInput,\n SupportThreadListOutput,\n SupportThreadStatusSetInput,\n SupportThreadUpdateInput,\n SupportWebhookCreateInput,\n SupportWebhookDeleteInput,\n SupportWebhookDeliveriesListInput,\n SupportWebhookDeliveriesListOutput,\n SupportWebhookGetInput,\n SupportWebhookGetOutput,\n SupportWebhookListInput,\n SupportWebhookListOutput,\n SupportWebhookRedeliverInput,\n SupportWebhookRotateSecretInput,\n SupportWebhookUpdateInput,\n} from '../types.gen';\n\nexport const supportAgentCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'agent', 'create'],\n mutationFn: (input: SupportAgentCreateInput) => sdk['support']['agent']['create'](input),\n});\n\nexport const supportAgentGetQueryOptions = (sdk: GeneratedClient, input: SupportAgentGetInput) => ({\n queryKey: ['support', 'agent', 'get', input] as const,\n queryFn: () => sdk['support']['agent']['get'](input),\n});\n\nexport const supportAgentListQueryOptions = (sdk: GeneratedClient, input: SupportAgentListInput) => ({\n queryKey: ['support', 'agent', 'list', input] as const,\n queryFn: () => sdk['support']['agent']['list'](input),\n});\n\nexport const supportAgentUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'agent', 'update'],\n mutationFn: (input: SupportAgentUpdateInput) => sdk['support']['agent']['update'](input),\n});\n\nexport const supportAttachmentCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'attachment', 'create'],\n mutationFn: (input: SupportAttachmentCreateInput) => sdk['support']['attachment']['create'](input),\n});\n\nexport const supportAttachmentFinalizeMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'attachment', 'finalize'],\n mutationFn: (input: SupportAttachmentFinalizeInput) => sdk['support']['attachment']['finalize'](input),\n});\n\nexport const supportLabelCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'label', 'create'],\n mutationFn: (input: SupportLabelCreateInput) => sdk['support']['label']['create'](input),\n});\n\nexport const supportLabelGetQueryOptions = (sdk: GeneratedClient, input: SupportLabelGetInput) => ({\n queryKey: ['support', 'label', 'get', input] as const,\n queryFn: () => sdk['support']['label']['get'](input),\n});\n\nexport const supportLabelListQueryOptions = (sdk: GeneratedClient, input: SupportLabelListInput) => ({\n queryKey: ['support', 'label', 'list', input] as const,\n queryFn: () => sdk['support']['label']['list'](input),\n});\n\nexport const supportMessageCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'message', 'create'],\n mutationFn: (input: SupportMessageCreateInput) => sdk['support']['message']['create'](input),\n});\n\nexport const supportMessageGetQueryOptions = (sdk: GeneratedClient, input: SupportMessageGetInput) => ({\n queryKey: ['support', 'message', 'get', input] as const,\n queryFn: () => sdk['support']['message']['get'](input),\n});\n\nexport const supportMessageListQueryOptions = (sdk: GeneratedClient, input: SupportMessageListInput) => ({\n queryKey: ['support', 'message', 'list', input] as const,\n queryFn: () => sdk['support']['message']['list'](input),\n});\n\nexport const supportResponseEscalateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'response', 'escalate'],\n mutationFn: (input: SupportResponseEscalateInput) => sdk['support']['response']['escalate'](input),\n});\n\nexport const supportResponseGetQueryOptions = (sdk: GeneratedClient, input: SupportResponseGetInput) => ({\n queryKey: ['support', 'response', 'get', input] as const,\n queryFn: () => sdk['support']['response']['get'](input),\n});\n\nexport const supportResponseListQueryOptions = (sdk: GeneratedClient, input: SupportResponseListInput) => ({\n queryKey: ['support', 'response', 'list', input] as const,\n queryFn: () => sdk['support']['response']['list'](input),\n});\n\nexport const supportRuleCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'create'],\n mutationFn: (input: SupportRuleCreateInput) => sdk['support']['rule']['create'](input),\n});\n\nexport const supportRuleDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'delete'],\n mutationFn: (input: SupportRuleDeleteInput) => sdk['support']['rule']['delete'](input),\n});\n\nexport const supportRuleGetQueryOptions = (sdk: GeneratedClient, input: SupportRuleGetInput) => ({\n queryKey: ['support', 'rule', 'get', input] as const,\n queryFn: () => sdk['support']['rule']['get'](input),\n});\n\nexport const supportRuleListQueryOptions = (sdk: GeneratedClient, input: SupportRuleListInput) => ({\n queryKey: ['support', 'rule', 'list', input] as const,\n queryFn: () => sdk['support']['rule']['list'](input),\n});\n\nexport const supportRuleUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'rule', 'update'],\n mutationFn: (input: SupportRuleUpdateInput) => sdk['support']['rule']['update'](input),\n});\n\nexport const supportStatusArchiveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'archive'],\n mutationFn: (input: SupportStatusArchiveInput) => sdk['support']['status']['archive'](input),\n});\n\nexport const supportStatusCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'create'],\n mutationFn: (input: SupportStatusCreateInput) => sdk['support']['status']['create'](input),\n});\n\nexport const supportStatusGetQueryOptions = (sdk: GeneratedClient, input: SupportStatusGetInput) => ({\n queryKey: ['support', 'status', 'get', input] as const,\n queryFn: () => sdk['support']['status']['get'](input),\n});\n\nexport const supportStatusListQueryOptions = (sdk: GeneratedClient, input: SupportStatusListInput) => ({\n queryKey: ['support', 'status', 'list', input] as const,\n queryFn: () => sdk['support']['status']['list'](input),\n});\n\nexport const supportStatusUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'status', 'update'],\n mutationFn: (input: SupportStatusUpdateInput) => sdk['support']['status']['update'](input),\n});\n\nexport const supportSurveyArchiveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'archive'],\n mutationFn: (input: SupportSurveyArchiveInput) => sdk['support']['survey']['archive'](input),\n});\n\nexport const supportSurveyCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'create'],\n mutationFn: (input: SupportSurveyCreateInput) => sdk['support']['survey']['create'](input),\n});\n\nexport const supportSurveyGetQueryOptions = (sdk: GeneratedClient, input: SupportSurveyGetInput) => ({\n queryKey: ['support', 'survey', 'get', input] as const,\n queryFn: () => sdk['support']['survey']['get'](input),\n});\n\nexport const supportSurveyListQueryOptions = (sdk: GeneratedClient, input: SupportSurveyListInput) => ({\n queryKey: ['support', 'survey', 'list', input] as const,\n queryFn: () => sdk['support']['survey']['list'](input),\n});\n\nexport const supportSurveyPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'publish'],\n mutationFn: (input: SupportSurveyPublishInput) => sdk['support']['survey']['publish'](input),\n});\n\nexport const supportSurveyStatsQueryOptions = (sdk: GeneratedClient, input: SupportSurveyStatsInput) => ({\n queryKey: ['support', 'survey', 'stats', input] as const,\n queryFn: () => sdk['support']['survey']['stats'](input),\n});\n\nexport const supportSurveyUnpublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'unpublish'],\n mutationFn: (input: SupportSurveyUnpublishInput) => sdk['support']['survey']['unpublish'](input),\n});\n\nexport const supportSurveyUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'survey', 'update'],\n mutationFn: (input: SupportSurveyUpdateInput) => sdk['support']['survey']['update'](input),\n});\n\nexport const supportThreadAssignMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'assign'],\n mutationFn: (input: SupportThreadAssignInput) => sdk['support']['thread']['assign'](input),\n});\n\nexport const supportThreadCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'create'],\n mutationFn: (input: SupportThreadCreateInput) => sdk['support']['thread']['create'](input),\n});\n\nexport const supportThreadGetQueryOptions = (sdk: GeneratedClient, input: SupportThreadGetInput) => ({\n queryKey: ['support', 'thread', 'get', input] as const,\n queryFn: () => sdk['support']['thread']['get'](input),\n});\n\nexport const supportThreadListQueryOptions = (sdk: GeneratedClient, input: SupportThreadListInput) => ({\n queryKey: ['support', 'thread', 'list', input] as const,\n queryFn: () => sdk['support']['thread']['list'](input),\n});\n\nexport const supportThreadStatusSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread-status', 'set'],\n mutationFn: (input: SupportThreadStatusSetInput) => sdk['support']['thread-status']['set'](input),\n});\n\nexport const supportThreadUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'thread', 'update'],\n mutationFn: (input: SupportThreadUpdateInput) => sdk['support']['thread']['update'](input),\n});\n\nexport const supportWebhookCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'create'],\n mutationFn: (input: SupportWebhookCreateInput) => sdk['support']['webhook']['create'](input),\n});\n\nexport const supportWebhookDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'delete'],\n mutationFn: (input: SupportWebhookDeleteInput) => sdk['support']['webhook']['delete'](input),\n});\n\nexport const supportWebhookDeliveriesListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookDeliveriesListInput) => ({\n queryKey: ['support', 'webhook-deliveries', 'list', input] as const,\n queryFn: () => sdk['support']['webhook-deliveries']['list'](input),\n});\n\nexport const supportWebhookGetQueryOptions = (sdk: GeneratedClient, input: SupportWebhookGetInput) => ({\n queryKey: ['support', 'webhook', 'get', input] as const,\n queryFn: () => sdk['support']['webhook']['get'](input),\n});\n\nexport const supportWebhookListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookListInput) => ({\n queryKey: ['support', 'webhook', 'list', input] as const,\n queryFn: () => sdk['support']['webhook']['list'](input),\n});\n\nexport const supportWebhookRedeliverMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'redeliver'],\n mutationFn: (input: SupportWebhookRedeliverInput) => sdk['support']['webhook']['redeliver'](input),\n});\n\nexport const supportWebhookRotateSecretMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook-rotate', 'secret'],\n mutationFn: (input: SupportWebhookRotateSecretInput) => sdk['support']['webhook-rotate']['secret'](input),\n});\n\nexport const supportWebhookUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['support', 'webhook', 'update'],\n mutationFn: (input: SupportWebhookUpdateInput) => sdk['support']['webhook']['update'](input),\n});\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "82.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -209,5 +209,5 @@
|
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
|
-
"sdkContentHash": "sha256:
|
|
212
|
+
"sdkContentHash": "sha256:593ed0527320b8b0fd2de57a12fe62931a39a7e15b4434bf5a44a373310842fd"
|
|
213
213
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -7955,6 +7955,19 @@ export const bindings: BindingsMap = {
|
|
|
7955
7955
|
"path": "/support/labels",
|
|
7956
7956
|
"readOnly": false
|
|
7957
7957
|
},
|
|
7958
|
+
"get": {
|
|
7959
|
+
"level": "read",
|
|
7960
|
+
"method": "GET",
|
|
7961
|
+
"operationKey": "support_label_get",
|
|
7962
|
+
"params": [
|
|
7963
|
+
{
|
|
7964
|
+
"in": "path",
|
|
7965
|
+
"name": "id"
|
|
7966
|
+
}
|
|
7967
|
+
],
|
|
7968
|
+
"path": "/support/labels/:id",
|
|
7969
|
+
"readOnly": true
|
|
7970
|
+
},
|
|
7958
7971
|
"list": {
|
|
7959
7972
|
"level": "read",
|
|
7960
7973
|
"method": "GET",
|
|
@@ -8001,6 +8014,19 @@ export const bindings: BindingsMap = {
|
|
|
8001
8014
|
"path": "/support/messages",
|
|
8002
8015
|
"readOnly": false
|
|
8003
8016
|
},
|
|
8017
|
+
"get": {
|
|
8018
|
+
"level": "read",
|
|
8019
|
+
"method": "GET",
|
|
8020
|
+
"operationKey": "support_message_get",
|
|
8021
|
+
"params": [
|
|
8022
|
+
{
|
|
8023
|
+
"in": "path",
|
|
8024
|
+
"name": "id"
|
|
8025
|
+
}
|
|
8026
|
+
],
|
|
8027
|
+
"path": "/support/messages/:id",
|
|
8028
|
+
"readOnly": true
|
|
8029
|
+
},
|
|
8004
8030
|
"list": {
|
|
8005
8031
|
"level": "read",
|
|
8006
8032
|
"method": "GET",
|
|
@@ -8286,6 +8312,19 @@ export const bindings: BindingsMap = {
|
|
|
8286
8312
|
"path": "/support/statuses",
|
|
8287
8313
|
"readOnly": false
|
|
8288
8314
|
},
|
|
8315
|
+
"get": {
|
|
8316
|
+
"level": "read",
|
|
8317
|
+
"method": "GET",
|
|
8318
|
+
"operationKey": "support_status_get",
|
|
8319
|
+
"params": [
|
|
8320
|
+
{
|
|
8321
|
+
"in": "path",
|
|
8322
|
+
"name": "id"
|
|
8323
|
+
}
|
|
8324
|
+
],
|
|
8325
|
+
"path": "/support/statuses/:id",
|
|
8326
|
+
"readOnly": true
|
|
8327
|
+
},
|
|
8289
8328
|
"list": {
|
|
8290
8329
|
"level": "read",
|
|
8291
8330
|
"method": "GET",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -851,10 +851,14 @@ import type {
|
|
|
851
851
|
SupportAttachmentFinalizeOutput,
|
|
852
852
|
SupportLabelCreateInput,
|
|
853
853
|
SupportLabelCreateOutput,
|
|
854
|
+
SupportLabelGetInput,
|
|
855
|
+
SupportLabelGetOutput,
|
|
854
856
|
SupportLabelListInput,
|
|
855
857
|
SupportLabelListOutput,
|
|
856
858
|
SupportMessageCreateInput,
|
|
857
859
|
SupportMessageCreateOutput,
|
|
860
|
+
SupportMessageGetInput,
|
|
861
|
+
SupportMessageGetOutput,
|
|
858
862
|
SupportMessageListInput,
|
|
859
863
|
SupportMessageListOutput,
|
|
860
864
|
SupportResponseEscalateInput,
|
|
@@ -877,6 +881,8 @@ import type {
|
|
|
877
881
|
SupportStatusArchiveOutput,
|
|
878
882
|
SupportStatusCreateInput,
|
|
879
883
|
SupportStatusCreateOutput,
|
|
884
|
+
SupportStatusGetInput,
|
|
885
|
+
SupportStatusGetOutput,
|
|
880
886
|
SupportStatusListInput,
|
|
881
887
|
SupportStatusListOutput,
|
|
882
888
|
SupportStatusUpdateInput,
|
|
@@ -1949,10 +1955,12 @@ export interface GeneratedClient {
|
|
|
1949
1955
|
};
|
|
1950
1956
|
label: {
|
|
1951
1957
|
create: ((input: SupportLabelCreateInput) => Promise<SupportLabelCreateOutput>) & Operation;
|
|
1958
|
+
get: ((input: SupportLabelGetInput) => Promise<SupportLabelGetOutput>) & Operation;
|
|
1952
1959
|
list: ((input: SupportLabelListInput) => Promise<SupportLabelListOutput>) & Operation;
|
|
1953
1960
|
};
|
|
1954
1961
|
message: {
|
|
1955
1962
|
create: ((input: SupportMessageCreateInput) => Promise<SupportMessageCreateOutput>) & Operation;
|
|
1963
|
+
get: ((input: SupportMessageGetInput) => Promise<SupportMessageGetOutput>) & Operation;
|
|
1956
1964
|
list: ((input: SupportMessageListInput) => Promise<SupportMessageListOutput>) & Operation;
|
|
1957
1965
|
};
|
|
1958
1966
|
response: {
|
|
@@ -1970,6 +1978,7 @@ export interface GeneratedClient {
|
|
|
1970
1978
|
status: {
|
|
1971
1979
|
archive: ((input: SupportStatusArchiveInput) => Promise<SupportStatusArchiveOutput>) & Operation;
|
|
1972
1980
|
create: ((input: SupportStatusCreateInput) => Promise<SupportStatusCreateOutput>) & Operation;
|
|
1981
|
+
get: ((input: SupportStatusGetInput) => Promise<SupportStatusGetOutput>) & Operation;
|
|
1973
1982
|
list: ((input: SupportStatusListInput) => Promise<SupportStatusListOutput>) & Operation;
|
|
1974
1983
|
update: ((input: SupportStatusUpdateInput) => Promise<SupportStatusUpdateOutput>) & Operation;
|
|
1975
1984
|
};
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -429,8 +429,10 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
429
429
|
'support_attachment_create': 'write',
|
|
430
430
|
'support_attachment_finalize': 'write',
|
|
431
431
|
'support_label_create': 'write',
|
|
432
|
+
'support_label_get': 'read',
|
|
432
433
|
'support_label_list': 'read',
|
|
433
434
|
'support_message_create': 'write',
|
|
435
|
+
'support_message_get': 'read',
|
|
434
436
|
'support_message_list': 'read',
|
|
435
437
|
'support_response_escalate': 'write',
|
|
436
438
|
'support_response_get': 'read',
|
|
@@ -442,6 +444,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
442
444
|
'support_rule_update': 'write',
|
|
443
445
|
'support_status_archive': 'admin',
|
|
444
446
|
'support_status_create': 'write',
|
|
447
|
+
'support_status_get': 'read',
|
|
445
448
|
'support_status_list': 'read',
|
|
446
449
|
'support_status_update': 'write',
|
|
447
450
|
'support_survey_archive': 'admin',
|
|
@@ -664,13 +667,15 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
664
667
|
'mail_template_publish': {"label":"Publish template"},
|
|
665
668
|
'mail_template_update': {"label":"Update template"},
|
|
666
669
|
'mail_usage_get': {"label":"Get usage"},
|
|
667
|
-
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent
|
|
670
|
+
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
668
671
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
669
672
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|
|
670
|
-
'support_agent_update': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Update agent
|
|
673
|
+
'support_agent_update': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Update agent","options":{"id":"support_agent_list"}},
|
|
671
674
|
'support_label_create': {"label":"Create label"},
|
|
675
|
+
'support_label_get': {"label":"Get label","options":{"id":"support_label_list"}},
|
|
672
676
|
'support_label_list': {"label":"List labels"},
|
|
673
677
|
'support_message_create': {"pii":["input.body","input.authorExternalId","output.body","output.authorExternalId"],"label":"Write message","options":{"threadId":"support_thread_list","authorAgentId":"support_agent_list"}},
|
|
678
|
+
'support_message_get': {"pii":["output.body","output.authorExternalId"],"label":"Get message","options":{"id":"support_message_list"}},
|
|
674
679
|
'support_message_list': {"pii":["output.messages[].body","output.messages[].authorExternalId"],"label":"List messages","options":{"threadId":"support_thread_list"}},
|
|
675
680
|
'support_response_escalate': {"pii":["output.response.authorExternalId","output.response.answers","output.thread.title","output.thread.authorExternalId","output.thread.authorDisplay"],"label":"Escalate response into a thread","options":{"id":"support_response_list"}},
|
|
676
681
|
'support_response_get': {"pii":["output.authorExternalId","output.answers"],"label":"Get survey response","options":{"id":"support_response_list"}},
|
|
@@ -682,6 +687,7 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
682
687
|
'support_rule_update': {"label":"Update delivery rule","options":{"id":"support_rule_list"}},
|
|
683
688
|
'support_status_archive': {"label":"Archive status","options":{"id":"support_status_list","targetStatusId":"support_status_list"}},
|
|
684
689
|
'support_status_create': {"label":"Create status"},
|
|
690
|
+
'support_status_get': {"label":"Get status","options":{"id":"support_status_list"}},
|
|
685
691
|
'support_status_list': {"label":"List statuses"},
|
|
686
692
|
'support_status_update': {"label":"Update status","options":{"id":"support_status_list"}},
|
|
687
693
|
'support_survey_archive': {"label":"Archive survey","options":{"id":"support_survey_list"}},
|
|
@@ -692,12 +698,12 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
692
698
|
'support_survey_stats': {"label":"Read survey stats","options":{"id":"support_survey_list"}},
|
|
693
699
|
'support_survey_unpublish': {"label":"Unpublish survey","options":{"id":"support_survey_list"}},
|
|
694
700
|
'support_survey_update': {"label":"Update survey","options":{"id":"support_survey_list"}},
|
|
695
|
-
'support_thread_assign': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Assign thread","options":{"id":"support_thread_list","agentId":"support_agent_list"}},
|
|
701
|
+
'support_thread_assign': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Assign support thread","options":{"id":"support_thread_list","agentId":"support_agent_list"}},
|
|
696
702
|
'support_thread_create': {"pii":["input.title","input.authorExternalId","input.authorDisplay","output.title","output.authorExternalId","output.authorDisplay"],"label":"Open support thread","options":{"labelIds":"support_label_list"}},
|
|
697
703
|
'support_thread_get': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Get support thread","options":{"id":"support_thread_list"}},
|
|
698
704
|
'support_thread_list': {"pii":["input.authorExternalId","output.threads[].title","output.threads[].authorExternalId","output.threads[].authorDisplay"],"label":"List support threads","options":{"labelIds":"support_label_list","statusId":"support_status_list","assignedAgentId":"support_agent_list"}},
|
|
699
|
-
'support_thread_status_set': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Move thread to status","options":{"id":"support_thread_list","statusId":"support_status_list"}},
|
|
700
|
-
'support_thread_update': {"pii":["input.title","output.title","output.authorExternalId","output.authorDisplay"],"label":"Update thread","options":{"id":"support_thread_list","labelIds":"support_label_list"}},
|
|
705
|
+
'support_thread_status_set': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Move support thread to status","options":{"id":"support_thread_list","statusId":"support_status_list"}},
|
|
706
|
+
'support_thread_update': {"pii":["input.title","output.title","output.authorExternalId","output.authorDisplay"],"label":"Update support thread","options":{"id":"support_thread_list","labelIds":"support_label_list"}},
|
|
701
707
|
'tracking_domains_create': {"label":"Claim tracking host","options":{"domainId":"tracking_domains_list"}},
|
|
702
708
|
'tracking_domains_delete': {"label":"Release domain binding","options":{"bindingId":"tracking_domains_list"}},
|
|
703
709
|
'tracking_domains_get': {"label":"Get domain binding","options":{"bindingId":"tracking_domains_list"}},
|
package/src/gen/support/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { SupportAgentCreateInput, SupportAgentCreateOutput, SupportAgentGetInput, SupportAgentGetOutput, SupportAgentListInput, SupportAgentListOutput, SupportAgentUpdateInput, SupportAgentUpdateOutput, SupportAttachmentCreateInput, SupportAttachmentCreateOutput, SupportAttachmentFinalizeInput, SupportAttachmentFinalizeOutput, SupportLabelCreateInput, SupportLabelCreateOutput, SupportLabelListInput, SupportLabelListOutput, SupportMessageCreateInput, SupportMessageCreateOutput, SupportMessageListInput, SupportMessageListOutput, SupportResponseEscalateInput, SupportResponseEscalateOutput, SupportResponseGetInput, SupportResponseGetOutput, SupportResponseListInput, SupportResponseListOutput, SupportRuleCreateInput, SupportRuleCreateOutput, SupportRuleDeleteInput, SupportRuleDeleteOutput, SupportRuleGetInput, SupportRuleGetOutput, SupportRuleListInput, SupportRuleListOutput, SupportRuleUpdateInput, SupportRuleUpdateOutput, SupportStatusArchiveInput, SupportStatusArchiveOutput, SupportStatusCreateInput, SupportStatusCreateOutput, SupportStatusListInput, SupportStatusListOutput, SupportStatusUpdateInput, SupportStatusUpdateOutput, SupportSurveyArchiveInput, SupportSurveyArchiveOutput, SupportSurveyCreateInput, SupportSurveyCreateOutput, SupportSurveyGetInput, SupportSurveyGetOutput, SupportSurveyListInput, SupportSurveyListOutput, SupportSurveyPublishInput, SupportSurveyPublishOutput, SupportSurveyStatsInput, SupportSurveyStatsOutput, SupportSurveyUnpublishInput, SupportSurveyUnpublishOutput, SupportSurveyUpdateInput, SupportSurveyUpdateOutput, SupportThreadAssignInput, SupportThreadAssignOutput, SupportThreadCreateInput, SupportThreadCreateOutput, SupportThreadGetInput, SupportThreadGetOutput, SupportThreadListInput, SupportThreadListOutput, SupportThreadStatusSetInput, SupportThreadStatusSetOutput, SupportThreadUpdateInput, SupportThreadUpdateOutput, SupportWebhookCreateInput, SupportWebhookCreateOutput, SupportWebhookDeleteInput, SupportWebhookDeleteOutput, SupportWebhookDeliveriesListInput, SupportWebhookDeliveriesListOutput, SupportWebhookGetInput, SupportWebhookGetOutput, SupportWebhookListInput, SupportWebhookListOutput, SupportWebhookRedeliverInput, SupportWebhookRedeliverOutput, SupportWebhookRotateSecretInput, SupportWebhookRotateSecretOutput, SupportWebhookUpdateInput, SupportWebhookUpdateOutput } from '../types.gen';
|
|
3
|
+
export type { SupportAgentCreateInput, SupportAgentCreateOutput, SupportAgentGetInput, SupportAgentGetOutput, SupportAgentListInput, SupportAgentListOutput, SupportAgentUpdateInput, SupportAgentUpdateOutput, SupportAttachmentCreateInput, SupportAttachmentCreateOutput, SupportAttachmentFinalizeInput, SupportAttachmentFinalizeOutput, SupportLabelCreateInput, SupportLabelCreateOutput, SupportLabelGetInput, SupportLabelGetOutput, SupportLabelListInput, SupportLabelListOutput, SupportMessageCreateInput, SupportMessageCreateOutput, SupportMessageGetInput, SupportMessageGetOutput, SupportMessageListInput, SupportMessageListOutput, SupportResponseEscalateInput, SupportResponseEscalateOutput, SupportResponseGetInput, SupportResponseGetOutput, SupportResponseListInput, SupportResponseListOutput, SupportRuleCreateInput, SupportRuleCreateOutput, SupportRuleDeleteInput, SupportRuleDeleteOutput, SupportRuleGetInput, SupportRuleGetOutput, SupportRuleListInput, SupportRuleListOutput, SupportRuleUpdateInput, SupportRuleUpdateOutput, SupportStatusArchiveInput, SupportStatusArchiveOutput, SupportStatusCreateInput, SupportStatusCreateOutput, SupportStatusGetInput, SupportStatusGetOutput, SupportStatusListInput, SupportStatusListOutput, SupportStatusUpdateInput, SupportStatusUpdateOutput, SupportSurveyArchiveInput, SupportSurveyArchiveOutput, SupportSurveyCreateInput, SupportSurveyCreateOutput, SupportSurveyGetInput, SupportSurveyGetOutput, SupportSurveyListInput, SupportSurveyListOutput, SupportSurveyPublishInput, SupportSurveyPublishOutput, SupportSurveyStatsInput, SupportSurveyStatsOutput, SupportSurveyUnpublishInput, SupportSurveyUnpublishOutput, SupportSurveyUpdateInput, SupportSurveyUpdateOutput, SupportThreadAssignInput, SupportThreadAssignOutput, SupportThreadCreateInput, SupportThreadCreateOutput, SupportThreadGetInput, SupportThreadGetOutput, SupportThreadListInput, SupportThreadListOutput, SupportThreadStatusSetInput, SupportThreadStatusSetOutput, SupportThreadUpdateInput, SupportThreadUpdateOutput, SupportWebhookCreateInput, SupportWebhookCreateOutput, SupportWebhookDeleteInput, SupportWebhookDeleteOutput, SupportWebhookDeliveriesListInput, SupportWebhookDeliveriesListOutput, SupportWebhookGetInput, SupportWebhookGetOutput, SupportWebhookListInput, SupportWebhookListOutput, SupportWebhookRedeliverInput, SupportWebhookRedeliverOutput, SupportWebhookRotateSecretInput, SupportWebhookRotateSecretOutput, SupportWebhookUpdateInput, SupportWebhookUpdateOutput } from '../types.gen';
|
|
@@ -10,9 +10,13 @@ import type {
|
|
|
10
10
|
SupportAttachmentCreateInput,
|
|
11
11
|
SupportAttachmentFinalizeInput,
|
|
12
12
|
SupportLabelCreateInput,
|
|
13
|
+
SupportLabelGetInput,
|
|
14
|
+
SupportLabelGetOutput,
|
|
13
15
|
SupportLabelListInput,
|
|
14
16
|
SupportLabelListOutput,
|
|
15
17
|
SupportMessageCreateInput,
|
|
18
|
+
SupportMessageGetInput,
|
|
19
|
+
SupportMessageGetOutput,
|
|
16
20
|
SupportMessageListInput,
|
|
17
21
|
SupportMessageListOutput,
|
|
18
22
|
SupportResponseEscalateInput,
|
|
@@ -29,6 +33,8 @@ import type {
|
|
|
29
33
|
SupportRuleUpdateInput,
|
|
30
34
|
SupportStatusArchiveInput,
|
|
31
35
|
SupportStatusCreateInput,
|
|
36
|
+
SupportStatusGetInput,
|
|
37
|
+
SupportStatusGetOutput,
|
|
32
38
|
SupportStatusListInput,
|
|
33
39
|
SupportStatusListOutput,
|
|
34
40
|
SupportStatusUpdateInput,
|
|
@@ -99,6 +105,11 @@ export const supportLabelCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
99
105
|
mutationFn: (input: SupportLabelCreateInput) => sdk['support']['label']['create'](input),
|
|
100
106
|
});
|
|
101
107
|
|
|
108
|
+
export const supportLabelGetQueryOptions = (sdk: GeneratedClient, input: SupportLabelGetInput) => ({
|
|
109
|
+
queryKey: ['support', 'label', 'get', input] as const,
|
|
110
|
+
queryFn: () => sdk['support']['label']['get'](input),
|
|
111
|
+
});
|
|
112
|
+
|
|
102
113
|
export const supportLabelListQueryOptions = (sdk: GeneratedClient, input: SupportLabelListInput) => ({
|
|
103
114
|
queryKey: ['support', 'label', 'list', input] as const,
|
|
104
115
|
queryFn: () => sdk['support']['label']['list'](input),
|
|
@@ -109,6 +120,11 @@ export const supportMessageCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
109
120
|
mutationFn: (input: SupportMessageCreateInput) => sdk['support']['message']['create'](input),
|
|
110
121
|
});
|
|
111
122
|
|
|
123
|
+
export const supportMessageGetQueryOptions = (sdk: GeneratedClient, input: SupportMessageGetInput) => ({
|
|
124
|
+
queryKey: ['support', 'message', 'get', input] as const,
|
|
125
|
+
queryFn: () => sdk['support']['message']['get'](input),
|
|
126
|
+
});
|
|
127
|
+
|
|
112
128
|
export const supportMessageListQueryOptions = (sdk: GeneratedClient, input: SupportMessageListInput) => ({
|
|
113
129
|
queryKey: ['support', 'message', 'list', input] as const,
|
|
114
130
|
queryFn: () => sdk['support']['message']['list'](input),
|
|
@@ -164,6 +180,11 @@ export const supportStatusCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
164
180
|
mutationFn: (input: SupportStatusCreateInput) => sdk['support']['status']['create'](input),
|
|
165
181
|
});
|
|
166
182
|
|
|
183
|
+
export const supportStatusGetQueryOptions = (sdk: GeneratedClient, input: SupportStatusGetInput) => ({
|
|
184
|
+
queryKey: ['support', 'status', 'get', input] as const,
|
|
185
|
+
queryFn: () => sdk['support']['status']['get'](input),
|
|
186
|
+
});
|
|
187
|
+
|
|
167
188
|
export const supportStatusListQueryOptions = (sdk: GeneratedClient, input: SupportStatusListInput) => ({
|
|
168
189
|
queryKey: ['support', 'status', 'list', input] as const,
|
|
169
190
|
queryFn: () => sdk['support']['status']['list'](input),
|