File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 77 AddLabelsDocument ,
88 type AttachmentUploadUrlPartsFragment ,
99 ChangeCustomerStatusDocument ,
10+ ChangeThreadPriorityDocument ,
1011 type ChatPartsFragment ,
1112 CreateAttachmentUploadUrlDocument ,
1213 CreateCustomerCardConfigDocument ,
@@ -520,19 +521,21 @@ export class PlainClient {
520521 * WARNING: This is experimental and subject to change at any time without
521522 * a major version bump.
522523 */
523- async changeThreadPriority ( input : VariablesOf < typeof CreateThreadDocument > [ 'input' ] ) : SDKResult < {
524+ async changeThreadPriority (
525+ input : VariablesOf < typeof ChangeThreadPriorityDocument > [ 'input' ]
526+ ) : SDKResult < {
524527 thread : ThreadPartsFragment ;
525528 } > {
526529 const res = await request ( this . #ctx, {
527- query : CreateThreadDocument ,
530+ query : ChangeThreadPriorityDocument ,
528531 variables : {
529532 input,
530533 } ,
531534 } ) ;
532535
533536 return unwrapData ( res , ( q ) => {
534537 return {
535- thread : nonNullable ( q . createThread . thread ) ,
538+ thread : nonNullable ( q . changeThreadPriority . thread ) ,
536539 } ;
537540 } ) ;
538541 }
You can’t perform that action at this time.
0 commit comments