@lessly/sdk-app 78.0.0 → 79.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 +336 -0
- package/dist/{chunk-LUFP6XK2.js → chunk-RUEYSS2X.js} +41 -2
- package/dist/chunk-RUEYSS2X.js.map +1 -0
- package/dist/index.cjs +50 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +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 +342 -0
- package/dist/chunk-LUFP6XK2.js.map +0 -1
package/dist/playground/index.js
CHANGED
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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AAA,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 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,MA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AAI,SAAS,EAAE,SAAS,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACvD,CAAA;AAEO,IAAM,8BAAA,GAAiC,CAAC,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.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,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AU,CAAC,SAAA,EAAW,SAAA,EAAW,OAAO,KAAK,CAAA;AAAA,EAC7C,OAAA,EAAS,MAAM,GAAA,CAAI,SAAS,EAAE,SAAS,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACvD,CAAA;AAEO,IAAM,8BAAA,GAAiC,CAAC,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,EA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AAA,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 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": "79.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -219,5 +219,5 @@
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
|
-
"sdkContentHash": "sha256:
|
|
222
|
+
"sdkContentHash": "sha256:aa952a750a9769f1836fe95d74275ba8e96e12c1b2766b0d303788fe6f5ba880"
|
|
223
223
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -8162,6 +8162,19 @@ export const bindings: BindingsMap = {
|
|
|
8162
8162
|
"path": "/support/labels",
|
|
8163
8163
|
"readOnly": false
|
|
8164
8164
|
},
|
|
8165
|
+
"get": {
|
|
8166
|
+
"level": "read",
|
|
8167
|
+
"method": "GET",
|
|
8168
|
+
"operationKey": "support_label_get",
|
|
8169
|
+
"params": [
|
|
8170
|
+
{
|
|
8171
|
+
"in": "path",
|
|
8172
|
+
"name": "id"
|
|
8173
|
+
}
|
|
8174
|
+
],
|
|
8175
|
+
"path": "/support/labels/:id",
|
|
8176
|
+
"readOnly": true
|
|
8177
|
+
},
|
|
8165
8178
|
"list": {
|
|
8166
8179
|
"level": "read",
|
|
8167
8180
|
"method": "GET",
|
|
@@ -8208,6 +8221,19 @@ export const bindings: BindingsMap = {
|
|
|
8208
8221
|
"path": "/support/messages",
|
|
8209
8222
|
"readOnly": false
|
|
8210
8223
|
},
|
|
8224
|
+
"get": {
|
|
8225
|
+
"level": "read",
|
|
8226
|
+
"method": "GET",
|
|
8227
|
+
"operationKey": "support_message_get",
|
|
8228
|
+
"params": [
|
|
8229
|
+
{
|
|
8230
|
+
"in": "path",
|
|
8231
|
+
"name": "id"
|
|
8232
|
+
}
|
|
8233
|
+
],
|
|
8234
|
+
"path": "/support/messages/:id",
|
|
8235
|
+
"readOnly": true
|
|
8236
|
+
},
|
|
8211
8237
|
"list": {
|
|
8212
8238
|
"level": "read",
|
|
8213
8239
|
"method": "GET",
|
|
@@ -8493,6 +8519,19 @@ export const bindings: BindingsMap = {
|
|
|
8493
8519
|
"path": "/support/statuses",
|
|
8494
8520
|
"readOnly": false
|
|
8495
8521
|
},
|
|
8522
|
+
"get": {
|
|
8523
|
+
"level": "read",
|
|
8524
|
+
"method": "GET",
|
|
8525
|
+
"operationKey": "support_status_get",
|
|
8526
|
+
"params": [
|
|
8527
|
+
{
|
|
8528
|
+
"in": "path",
|
|
8529
|
+
"name": "id"
|
|
8530
|
+
}
|
|
8531
|
+
],
|
|
8532
|
+
"path": "/support/statuses/:id",
|
|
8533
|
+
"readOnly": true
|
|
8534
|
+
},
|
|
8496
8535
|
"list": {
|
|
8497
8536
|
"level": "read",
|
|
8498
8537
|
"method": "GET",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -885,10 +885,14 @@ import type {
|
|
|
885
885
|
SupportAttachmentFinalizeOutput,
|
|
886
886
|
SupportLabelCreateInput,
|
|
887
887
|
SupportLabelCreateOutput,
|
|
888
|
+
SupportLabelGetInput,
|
|
889
|
+
SupportLabelGetOutput,
|
|
888
890
|
SupportLabelListInput,
|
|
889
891
|
SupportLabelListOutput,
|
|
890
892
|
SupportMessageCreateInput,
|
|
891
893
|
SupportMessageCreateOutput,
|
|
894
|
+
SupportMessageGetInput,
|
|
895
|
+
SupportMessageGetOutput,
|
|
892
896
|
SupportMessageListInput,
|
|
893
897
|
SupportMessageListOutput,
|
|
894
898
|
SupportResponseEscalateInput,
|
|
@@ -911,6 +915,8 @@ import type {
|
|
|
911
915
|
SupportStatusArchiveOutput,
|
|
912
916
|
SupportStatusCreateInput,
|
|
913
917
|
SupportStatusCreateOutput,
|
|
918
|
+
SupportStatusGetInput,
|
|
919
|
+
SupportStatusGetOutput,
|
|
914
920
|
SupportStatusListInput,
|
|
915
921
|
SupportStatusListOutput,
|
|
916
922
|
SupportStatusUpdateInput,
|
|
@@ -2026,10 +2032,12 @@ export interface GeneratedClient {
|
|
|
2026
2032
|
};
|
|
2027
2033
|
label: {
|
|
2028
2034
|
create: ((input: SupportLabelCreateInput) => Promise<SupportLabelCreateOutput>) & Operation;
|
|
2035
|
+
get: ((input: SupportLabelGetInput) => Promise<SupportLabelGetOutput>) & Operation;
|
|
2029
2036
|
list: ((input: SupportLabelListInput) => Promise<SupportLabelListOutput>) & Operation;
|
|
2030
2037
|
};
|
|
2031
2038
|
message: {
|
|
2032
2039
|
create: ((input: SupportMessageCreateInput) => Promise<SupportMessageCreateOutput>) & Operation;
|
|
2040
|
+
get: ((input: SupportMessageGetInput) => Promise<SupportMessageGetOutput>) & Operation;
|
|
2033
2041
|
list: ((input: SupportMessageListInput) => Promise<SupportMessageListOutput>) & Operation;
|
|
2034
2042
|
};
|
|
2035
2043
|
response: {
|
|
@@ -2047,6 +2055,7 @@ export interface GeneratedClient {
|
|
|
2047
2055
|
status: {
|
|
2048
2056
|
archive: ((input: SupportStatusArchiveInput) => Promise<SupportStatusArchiveOutput>) & Operation;
|
|
2049
2057
|
create: ((input: SupportStatusCreateInput) => Promise<SupportStatusCreateOutput>) & Operation;
|
|
2058
|
+
get: ((input: SupportStatusGetInput) => Promise<SupportStatusGetOutput>) & Operation;
|
|
2050
2059
|
list: ((input: SupportStatusListInput) => Promise<SupportStatusListOutput>) & Operation;
|
|
2051
2060
|
update: ((input: SupportStatusUpdateInput) => Promise<SupportStatusUpdateOutput>) & Operation;
|
|
2052
2061
|
};
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -446,8 +446,10 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
446
446
|
'support_attachment_create': 'write',
|
|
447
447
|
'support_attachment_finalize': 'write',
|
|
448
448
|
'support_label_create': 'write',
|
|
449
|
+
'support_label_get': 'read',
|
|
449
450
|
'support_label_list': 'read',
|
|
450
451
|
'support_message_create': 'write',
|
|
452
|
+
'support_message_get': 'read',
|
|
451
453
|
'support_message_list': 'read',
|
|
452
454
|
'support_response_escalate': 'write',
|
|
453
455
|
'support_response_get': 'read',
|
|
@@ -459,6 +461,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
459
461
|
'support_rule_update': 'write',
|
|
460
462
|
'support_status_archive': 'admin',
|
|
461
463
|
'support_status_create': 'write',
|
|
464
|
+
'support_status_get': 'read',
|
|
462
465
|
'support_status_list': 'read',
|
|
463
466
|
'support_status_update': 'write',
|
|
464
467
|
'support_survey_archive': 'admin',
|
|
@@ -687,13 +690,15 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
687
690
|
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
688
691
|
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
689
692
|
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
690
|
-
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent
|
|
693
|
+
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
691
694
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
692
695
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|
|
693
|
-
'support_agent_update': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Update agent
|
|
696
|
+
'support_agent_update': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Update agent","options":{"id":"support_agent_list"}},
|
|
694
697
|
'support_label_create': {"label":"Create label"},
|
|
698
|
+
'support_label_get': {"label":"Get label","options":{"id":"support_label_list"}},
|
|
695
699
|
'support_label_list': {"label":"List labels"},
|
|
696
700
|
'support_message_create': {"pii":["input.body","input.authorExternalId","output.body","output.authorExternalId"],"label":"Write message","options":{"threadId":"support_thread_list","authorAgentId":"support_agent_list"}},
|
|
701
|
+
'support_message_get': {"pii":["output.body","output.authorExternalId"],"label":"Get message","options":{"id":"support_message_list"}},
|
|
697
702
|
'support_message_list': {"pii":["output.messages[].body","output.messages[].authorExternalId"],"label":"List messages","options":{"threadId":"support_thread_list"}},
|
|
698
703
|
'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"}},
|
|
699
704
|
'support_response_get': {"pii":["output.authorExternalId","output.answers"],"label":"Get survey response","options":{"id":"support_response_list"}},
|
|
@@ -705,6 +710,7 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
705
710
|
'support_rule_update': {"label":"Update delivery rule","options":{"id":"support_rule_list"}},
|
|
706
711
|
'support_status_archive': {"label":"Archive status","options":{"id":"support_status_list","targetStatusId":"support_status_list"}},
|
|
707
712
|
'support_status_create': {"label":"Create status"},
|
|
713
|
+
'support_status_get': {"label":"Get status","options":{"id":"support_status_list"}},
|
|
708
714
|
'support_status_list': {"label":"List statuses"},
|
|
709
715
|
'support_status_update': {"label":"Update status","options":{"id":"support_status_list"}},
|
|
710
716
|
'support_survey_archive': {"label":"Archive survey","options":{"id":"support_survey_list"}},
|
|
@@ -715,12 +721,12 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
715
721
|
'support_survey_stats': {"label":"Read survey stats","options":{"id":"support_survey_list"}},
|
|
716
722
|
'support_survey_unpublish': {"label":"Unpublish survey","options":{"id":"support_survey_list"}},
|
|
717
723
|
'support_survey_update': {"label":"Update survey","options":{"id":"support_survey_list"}},
|
|
718
|
-
'support_thread_assign': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Assign thread","options":{"id":"support_thread_list","agentId":"support_agent_list"}},
|
|
724
|
+
'support_thread_assign': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Assign support thread","options":{"id":"support_thread_list","agentId":"support_agent_list"}},
|
|
719
725
|
'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"}},
|
|
720
726
|
'support_thread_get': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Get support thread","options":{"id":"support_thread_list"}},
|
|
721
727
|
'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"}},
|
|
722
|
-
'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"}},
|
|
723
|
-
'support_thread_update': {"pii":["input.title","output.title","output.authorExternalId","output.authorDisplay"],"label":"Update thread","options":{"id":"support_thread_list","labelIds":"support_label_list"}},
|
|
728
|
+
'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"}},
|
|
729
|
+
'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"}},
|
|
724
730
|
'tracking_domains_create': {"label":"Claim tracking host","options":{"domainId":"tracking_domains_list"}},
|
|
725
731
|
'tracking_domains_delete': {"label":"Release domain binding","options":{"bindingId":"tracking_domains_list"}},
|
|
726
732
|
'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),
|