@droz-js/sdk 0.20.11 → 0.20.13
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/package.json +1 -1
- package/src/drozchat-ws.d.ts +12 -0
- package/src/drozchat.d.ts +12 -0
- package/src/sdks/drozchat.d.ts +154 -0
- package/src/sdks/drozchat.js +87 -3
- package/src/sdks/nucleus.d.ts +1 -0
- package/src/sdks/nucleus.js +1 -0
- package/src/sdks/outsource.d.ts +2 -0
package/package.json
CHANGED
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -85,6 +85,18 @@ declare const DrozChatWs_base: new () => {
|
|
|
85
85
|
deleteNote(variables: import("./sdks/drozchat").Exact<{
|
|
86
86
|
input: import("./sdks/drozchat").DeleteCustomerNoteInput;
|
|
87
87
|
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteNoteMutation>;
|
|
88
|
+
listCustomFields(variables?: import("./sdks/drozchat").Exact<{
|
|
89
|
+
[key: string]: never;
|
|
90
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListCustomFieldsQuery>;
|
|
91
|
+
setCustomFieldValue(variables: import("./sdks/drozchat").Exact<{
|
|
92
|
+
input: import("./sdks/drozchat").SetCustomFieldValueInput;
|
|
93
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").SetCustomFieldValueMutation>;
|
|
94
|
+
clearCustomFieldValue(variables: import("./sdks/drozchat").Exact<{
|
|
95
|
+
input: import("./sdks/drozchat").ClearCustomFieldValueInput;
|
|
96
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ClearCustomFieldValueMutation>;
|
|
97
|
+
customFieldValuesForTicket(variables: import("./sdks/drozchat").Exact<{
|
|
98
|
+
ticketId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
99
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CustomFieldValuesForTicketQuery>;
|
|
88
100
|
getGlobalConfiguration(variables?: import("./sdks/drozchat").Exact<{
|
|
89
101
|
[key: string]: never;
|
|
90
102
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetGlobalConfigurationQuery>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -88,6 +88,18 @@ declare const DrozChat_base: new (options?: import("./client/http").HttpClientOp
|
|
|
88
88
|
deleteNote(variables: import("./sdks/drozchat").Exact<{
|
|
89
89
|
input: import("./sdks/drozchat").DeleteCustomerNoteInput;
|
|
90
90
|
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteNoteMutation>;
|
|
91
|
+
listCustomFields(variables?: import("./sdks/drozchat").Exact<{
|
|
92
|
+
[key: string]: never;
|
|
93
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListCustomFieldsQuery>;
|
|
94
|
+
setCustomFieldValue(variables: import("./sdks/drozchat").Exact<{
|
|
95
|
+
input: import("./sdks/drozchat").SetCustomFieldValueInput;
|
|
96
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").SetCustomFieldValueMutation>;
|
|
97
|
+
clearCustomFieldValue(variables: import("./sdks/drozchat").Exact<{
|
|
98
|
+
input: import("./sdks/drozchat").ClearCustomFieldValueInput;
|
|
99
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ClearCustomFieldValueMutation>;
|
|
100
|
+
customFieldValuesForTicket(variables: import("./sdks/drozchat").Exact<{
|
|
101
|
+
ticketId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
102
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CustomFieldValuesForTicketQuery>;
|
|
91
103
|
getGlobalConfiguration(variables?: import("./sdks/drozchat").Exact<{
|
|
92
104
|
[key: string]: never;
|
|
93
105
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetGlobalConfigurationQuery>;
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -300,6 +300,10 @@ export type ChatActions = {
|
|
|
300
300
|
canUnassign: Scalars['Boolean']['output'];
|
|
301
301
|
canUpdateTags: Scalars['Boolean']['output'];
|
|
302
302
|
};
|
|
303
|
+
export type ClearCustomFieldValueInput = {
|
|
304
|
+
fieldId: Scalars['ID']['input'];
|
|
305
|
+
ticketId: Scalars['ID']['input'];
|
|
306
|
+
};
|
|
303
307
|
export type CloneViewInput = {
|
|
304
308
|
id: Scalars['ID']['input'];
|
|
305
309
|
};
|
|
@@ -313,6 +317,12 @@ export type CreateBulkCloseRoutineConfigInput = {
|
|
|
313
317
|
maxTicketsPerRun: Scalars['Int']['input'];
|
|
314
318
|
senderAllowlist: Array<Scalars['String']['input']>;
|
|
315
319
|
};
|
|
320
|
+
export type CreateCustomFieldInput = {
|
|
321
|
+
isRequired?: InputMaybe<Scalars['Boolean']['input']>;
|
|
322
|
+
name: Scalars['String']['input'];
|
|
323
|
+
options?: InputMaybe<Array<CustomFieldOptionInput>>;
|
|
324
|
+
type: CustomFieldType;
|
|
325
|
+
};
|
|
316
326
|
export type CreateCustomerNoteInput = {
|
|
317
327
|
customerId: Scalars['String']['input'];
|
|
318
328
|
note: Scalars['String']['input'];
|
|
@@ -386,6 +396,47 @@ export type CreateViewInput = {
|
|
|
386
396
|
filters: TicketSearchFilterInput;
|
|
387
397
|
name: Scalars['String']['input'];
|
|
388
398
|
};
|
|
399
|
+
export type CustomField = {
|
|
400
|
+
createdAt: Scalars['DateTime']['output'];
|
|
401
|
+
id: Scalars['ID']['output'];
|
|
402
|
+
isActive: Scalars['Boolean']['output'];
|
|
403
|
+
isRequired: Scalars['Boolean']['output'];
|
|
404
|
+
name: Scalars['String']['output'];
|
|
405
|
+
options: Array<CustomFieldOption>;
|
|
406
|
+
order: Scalars['Int']['output'];
|
|
407
|
+
type: CustomFieldType;
|
|
408
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
409
|
+
usedInTicket: Scalars['Boolean']['output'];
|
|
410
|
+
};
|
|
411
|
+
export type CustomFieldFilter = {
|
|
412
|
+
fieldId: Scalars['ID']['output'];
|
|
413
|
+
number?: Maybe<NumberMatcher>;
|
|
414
|
+
string?: Maybe<StringMatcher>;
|
|
415
|
+
};
|
|
416
|
+
export type CustomFieldFilterInput = {
|
|
417
|
+
fieldId: Scalars['ID']['input'];
|
|
418
|
+
number?: InputMaybe<NumberMatcherInput>;
|
|
419
|
+
string?: InputMaybe<StringMatcherInput>;
|
|
420
|
+
};
|
|
421
|
+
export type CustomFieldOption = {
|
|
422
|
+
label: Scalars['String']['output'];
|
|
423
|
+
tag: Scalars['String']['output'];
|
|
424
|
+
};
|
|
425
|
+
export type CustomFieldOptionInput = {
|
|
426
|
+
label: Scalars['String']['input'];
|
|
427
|
+
tag: Scalars['String']['input'];
|
|
428
|
+
};
|
|
429
|
+
export type CustomFieldOrderInput = {
|
|
430
|
+
id: Scalars['ID']['input'];
|
|
431
|
+
order: Scalars['Int']['input'];
|
|
432
|
+
};
|
|
433
|
+
export declare enum CustomFieldType {
|
|
434
|
+
Date = "DATE",
|
|
435
|
+
MultiSelect = "MULTI_SELECT",
|
|
436
|
+
Number = "NUMBER",
|
|
437
|
+
SingleSelect = "SINGLE_SELECT",
|
|
438
|
+
Text = "TEXT"
|
|
439
|
+
}
|
|
389
440
|
export type CustomerNote = {
|
|
390
441
|
createdAt: Scalars['DateTime']['output'];
|
|
391
442
|
createdBy: DrozChatAgent;
|
|
@@ -604,10 +655,12 @@ export type Mutation = {
|
|
|
604
655
|
agentLogoff: AgentPresence;
|
|
605
656
|
assignTicket: Ticket;
|
|
606
657
|
assignTicketMyself: Ticket;
|
|
658
|
+
clearCustomFieldValue: Ticket;
|
|
607
659
|
clearMaxSimultaneousAttendances?: Maybe<GlobalConfiguration>;
|
|
608
660
|
cloneView: View;
|
|
609
661
|
closeTicket: Ticket;
|
|
610
662
|
createBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
663
|
+
createCustomField: CustomField;
|
|
611
664
|
createDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
612
665
|
createDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
613
666
|
createNote: CustomerNote;
|
|
@@ -620,6 +673,7 @@ export type Mutation = {
|
|
|
620
673
|
createTrigger: Trigger;
|
|
621
674
|
createView: View;
|
|
622
675
|
deleteBulkCloseRoutineConfig: Scalars['Boolean']['output'];
|
|
676
|
+
deleteCustomField: Scalars['Boolean']['output'];
|
|
623
677
|
deleteNote: CustomerNote;
|
|
624
678
|
deleteQuickAnswer?: Maybe<QuickAnswer>;
|
|
625
679
|
deleteTags: Array<Maybe<TicketTag>>;
|
|
@@ -642,11 +696,14 @@ export type Mutation = {
|
|
|
642
696
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannel>;
|
|
643
697
|
removeDrozChatChannelGroup?: Maybe<DrozChatChannel>;
|
|
644
698
|
removeTagsFromTicket: Ticket;
|
|
699
|
+
reorderCustomFields: Array<CustomField>;
|
|
645
700
|
reorderTriggersByEventType: Array<Trigger>;
|
|
701
|
+
setCustomFieldValue: Ticket;
|
|
646
702
|
setMaxSimultaneousAttendances: GlobalConfiguration;
|
|
647
703
|
transferTicketToChannel: Ticket;
|
|
648
704
|
unassignTicket: Ticket;
|
|
649
705
|
updateBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
706
|
+
updateCustomField: CustomField;
|
|
650
707
|
updateDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
651
708
|
updateDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
652
709
|
updateNote: CustomerNote;
|
|
@@ -678,6 +735,9 @@ export type MutationAssignTicketArgs = {
|
|
|
678
735
|
export type MutationAssignTicketMyselfArgs = {
|
|
679
736
|
input: AssignTicketMyselfInput;
|
|
680
737
|
};
|
|
738
|
+
export type MutationClearCustomFieldValueArgs = {
|
|
739
|
+
input: ClearCustomFieldValueInput;
|
|
740
|
+
};
|
|
681
741
|
export type MutationCloneViewArgs = {
|
|
682
742
|
input: CloneViewInput;
|
|
683
743
|
};
|
|
@@ -687,6 +747,9 @@ export type MutationCloseTicketArgs = {
|
|
|
687
747
|
export type MutationCreateBulkCloseRoutineConfigArgs = {
|
|
688
748
|
input: CreateBulkCloseRoutineConfigInput;
|
|
689
749
|
};
|
|
750
|
+
export type MutationCreateCustomFieldArgs = {
|
|
751
|
+
input: CreateCustomFieldInput;
|
|
752
|
+
};
|
|
690
753
|
export type MutationCreateDrozChatAgentGroupArgs = {
|
|
691
754
|
input: CreateDrozChatAgentGroupInput;
|
|
692
755
|
};
|
|
@@ -720,6 +783,9 @@ export type MutationCreateTriggerArgs = {
|
|
|
720
783
|
export type MutationCreateViewArgs = {
|
|
721
784
|
input: CreateViewInput;
|
|
722
785
|
};
|
|
786
|
+
export type MutationDeleteCustomFieldArgs = {
|
|
787
|
+
id: Scalars['ID']['input'];
|
|
788
|
+
};
|
|
723
789
|
export type MutationDeleteNoteArgs = {
|
|
724
790
|
input?: InputMaybe<DeleteCustomerNoteInput>;
|
|
725
791
|
};
|
|
@@ -768,9 +834,15 @@ export type MutationRemoveDrozChatChannelGroupArgs = {
|
|
|
768
834
|
export type MutationRemoveTagsFromTicketArgs = {
|
|
769
835
|
input: RemoveTagsFromTicketInput;
|
|
770
836
|
};
|
|
837
|
+
export type MutationReorderCustomFieldsArgs = {
|
|
838
|
+
input: ReorderCustomFieldsInput;
|
|
839
|
+
};
|
|
771
840
|
export type MutationReorderTriggersByEventTypeArgs = {
|
|
772
841
|
input: ReorderTriggersByEventTypeInput;
|
|
773
842
|
};
|
|
843
|
+
export type MutationSetCustomFieldValueArgs = {
|
|
844
|
+
input: SetCustomFieldValueInput;
|
|
845
|
+
};
|
|
774
846
|
export type MutationSetMaxSimultaneousAttendancesArgs = {
|
|
775
847
|
input: SetMaxSimultaneousAttendancesInput;
|
|
776
848
|
};
|
|
@@ -783,6 +855,9 @@ export type MutationUnassignTicketArgs = {
|
|
|
783
855
|
export type MutationUpdateBulkCloseRoutineConfigArgs = {
|
|
784
856
|
input: UpdateBulkCloseRoutineConfigInput;
|
|
785
857
|
};
|
|
858
|
+
export type MutationUpdateCustomFieldArgs = {
|
|
859
|
+
input: UpdateCustomFieldInput;
|
|
860
|
+
};
|
|
786
861
|
export type MutationUpdateDrozChatAgentGroupArgs = {
|
|
787
862
|
input: UpdateDrozChatAgentGroupInput;
|
|
788
863
|
};
|
|
@@ -841,8 +916,10 @@ export type Query = {
|
|
|
841
916
|
agentRemainingCapacity: Scalars['Boolean']['output'];
|
|
842
917
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
843
918
|
assertChatActions: ChatActions;
|
|
919
|
+
customFieldValuesForTicket: Array<TicketCustomFieldValue>;
|
|
844
920
|
getBulkCloseRoutineConfig?: Maybe<BulkCloseRoutineConfig>;
|
|
845
921
|
getBulkCloseRuns: BulkCloseRunsConnection;
|
|
922
|
+
getCustomField?: Maybe<CustomField>;
|
|
846
923
|
getDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
847
924
|
getDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
848
925
|
getGlobalConfiguration?: Maybe<GlobalConfiguration>;
|
|
@@ -852,6 +929,7 @@ export type Query = {
|
|
|
852
929
|
getTrigger?: Maybe<Trigger>;
|
|
853
930
|
getView?: Maybe<View>;
|
|
854
931
|
getWsEndpoint?: Maybe<Scalars['String']['output']>;
|
|
932
|
+
listCustomFields: Array<CustomField>;
|
|
855
933
|
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
856
934
|
listDrozChatAgentGroups: Array<DrozChatAgentGroup>;
|
|
857
935
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
@@ -886,9 +964,15 @@ export type QueryAgentRemainingCapacityArgs = {
|
|
|
886
964
|
export type QueryAssertChatActionsArgs = {
|
|
887
965
|
ticketId: Scalars['ID']['input'];
|
|
888
966
|
};
|
|
967
|
+
export type QueryCustomFieldValuesForTicketArgs = {
|
|
968
|
+
ticketId: Scalars['ID']['input'];
|
|
969
|
+
};
|
|
889
970
|
export type QueryGetBulkCloseRunsArgs = {
|
|
890
971
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
891
972
|
};
|
|
973
|
+
export type QueryGetCustomFieldArgs = {
|
|
974
|
+
id: Scalars['ID']['input'];
|
|
975
|
+
};
|
|
892
976
|
export type QueryGetDrozChatAgentGroupArgs = {
|
|
893
977
|
id: Scalars['ID']['input'];
|
|
894
978
|
};
|
|
@@ -1010,6 +1094,9 @@ export type RemoveTagsFromTicketInput = {
|
|
|
1010
1094
|
tags: Array<Scalars['String']['input']>;
|
|
1011
1095
|
ticketId: Scalars['ID']['input'];
|
|
1012
1096
|
};
|
|
1097
|
+
export type ReorderCustomFieldsInput = {
|
|
1098
|
+
customFields: Array<CustomFieldOrderInput>;
|
|
1099
|
+
};
|
|
1013
1100
|
export type ReorderTriggersByEventTypeInput = {
|
|
1014
1101
|
eventType: TriggerEventType;
|
|
1015
1102
|
triggers: Array<TriggerPriorityInput>;
|
|
@@ -1035,6 +1122,11 @@ export type SearchResultsStats = {
|
|
|
1035
1122
|
searchTime: Scalars['Float']['output'];
|
|
1036
1123
|
totalPages: Scalars['Float']['output'];
|
|
1037
1124
|
};
|
|
1125
|
+
export type SetCustomFieldValueInput = {
|
|
1126
|
+
fieldId: Scalars['ID']['input'];
|
|
1127
|
+
ticketId: Scalars['ID']['input'];
|
|
1128
|
+
value: Scalars['JSON']['input'];
|
|
1129
|
+
};
|
|
1038
1130
|
export type SetMaxSimultaneousAttendancesInput = {
|
|
1039
1131
|
maxSimultaneousAttendances: Scalars['Int']['input'];
|
|
1040
1132
|
};
|
|
@@ -1124,6 +1216,7 @@ export type Ticket = {
|
|
|
1124
1216
|
closedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1125
1217
|
closedBy?: Maybe<DrozChatAgent>;
|
|
1126
1218
|
createdAt: Scalars['DateTime']['output'];
|
|
1219
|
+
customFieldValues: Array<TicketCustomFieldValue>;
|
|
1127
1220
|
customer: DrozChatCustomer;
|
|
1128
1221
|
customerId: Scalars['ID']['output'];
|
|
1129
1222
|
description?: Maybe<Scalars['String']['output']>;
|
|
@@ -1159,6 +1252,10 @@ export declare enum TicketAutoAssignerType {
|
|
|
1159
1252
|
LoadBalancer = "LoadBalancer",
|
|
1160
1253
|
RoundRobin = "RoundRobin"
|
|
1161
1254
|
}
|
|
1255
|
+
export type TicketCustomFieldValue = {
|
|
1256
|
+
field: CustomField;
|
|
1257
|
+
value: Scalars['JSON']['output'];
|
|
1258
|
+
};
|
|
1162
1259
|
export type TicketMessage = {
|
|
1163
1260
|
channelId: Scalars['ID']['output'];
|
|
1164
1261
|
content: Scalars['String']['output'];
|
|
@@ -1235,6 +1332,7 @@ export type TicketSearchFilter = {
|
|
|
1235
1332
|
assigneeId?: Maybe<StringMatcher>;
|
|
1236
1333
|
channelId?: Maybe<StringMatcher>;
|
|
1237
1334
|
createdAt?: Maybe<NumberMatcher>;
|
|
1335
|
+
customFields?: Maybe<Array<CustomFieldFilter>>;
|
|
1238
1336
|
customerId?: Maybe<StringMatcher>;
|
|
1239
1337
|
origin?: Maybe<StringMatcher>;
|
|
1240
1338
|
priority?: Maybe<StringMatcher>;
|
|
@@ -1249,6 +1347,7 @@ export type TicketSearchFilterInput = {
|
|
|
1249
1347
|
assigneeId?: InputMaybe<StringMatcherInput>;
|
|
1250
1348
|
channelId?: InputMaybe<StringMatcherInput>;
|
|
1251
1349
|
createdAt?: InputMaybe<NumberMatcherInput>;
|
|
1350
|
+
customFields?: InputMaybe<Array<CustomFieldFilterInput>>;
|
|
1252
1351
|
customerId?: InputMaybe<StringMatcherInput>;
|
|
1253
1352
|
origin?: InputMaybe<StringMatcherInput>;
|
|
1254
1353
|
priority?: InputMaybe<StringMatcherInput>;
|
|
@@ -1329,6 +1428,7 @@ export type TicketTriggerFilter = {
|
|
|
1329
1428
|
assigneeId?: Maybe<StringMatcher>;
|
|
1330
1429
|
channelId?: Maybe<StringMatcher>;
|
|
1331
1430
|
createdAt?: Maybe<NumberMatcher>;
|
|
1431
|
+
customFields?: Maybe<Array<CustomFieldFilter>>;
|
|
1332
1432
|
customerEmailDomain?: Maybe<StringMatcher>;
|
|
1333
1433
|
customerId?: Maybe<StringMatcher>;
|
|
1334
1434
|
origin?: Maybe<StringMatcher>;
|
|
@@ -1348,6 +1448,7 @@ export type TicketTriggerFilterInput = {
|
|
|
1348
1448
|
assigneeId?: InputMaybe<StringMatcherInput>;
|
|
1349
1449
|
channelId?: InputMaybe<StringMatcherInput>;
|
|
1350
1450
|
createdAt?: InputMaybe<NumberMatcherInput>;
|
|
1451
|
+
customFields?: InputMaybe<Array<CustomFieldFilterInput>>;
|
|
1351
1452
|
customerEmailDomain?: InputMaybe<StringMatcherInput>;
|
|
1352
1453
|
customerId?: InputMaybe<StringMatcherInput>;
|
|
1353
1454
|
origin?: InputMaybe<StringMatcherInput>;
|
|
@@ -1487,6 +1588,7 @@ export declare enum Typenames {
|
|
|
1487
1588
|
ChannelLastAssignee = "ChannelLastAssignee",
|
|
1488
1589
|
ChannelTriggerExecutions = "ChannelTriggerExecutions",
|
|
1489
1590
|
Channels = "Channels",
|
|
1591
|
+
CustomFields = "CustomFields",
|
|
1490
1592
|
CustomerNotes = "CustomerNotes",
|
|
1491
1593
|
GlobalConfiguration = "GlobalConfiguration",
|
|
1492
1594
|
GraphqlConnections = "GraphqlConnections",
|
|
@@ -1515,6 +1617,14 @@ export type UpdateBulkCloseRoutineConfigInput = {
|
|
|
1515
1617
|
maxTicketsPerRun?: InputMaybe<Scalars['Int']['input']>;
|
|
1516
1618
|
senderAllowlist?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1517
1619
|
};
|
|
1620
|
+
export type UpdateCustomFieldInput = {
|
|
1621
|
+
id: Scalars['ID']['input'];
|
|
1622
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1623
|
+
isRequired?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1624
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
1625
|
+
options?: InputMaybe<Array<CustomFieldOptionInput>>;
|
|
1626
|
+
type?: InputMaybe<CustomFieldType>;
|
|
1627
|
+
};
|
|
1518
1628
|
export type UpdateCustomerNoteInput = {
|
|
1519
1629
|
customerId: Scalars['String']['input'];
|
|
1520
1630
|
id: Scalars['String']['input'];
|
|
@@ -1751,6 +1861,40 @@ export type DeleteNoteMutationVariables = Exact<{
|
|
|
1751
1861
|
export type DeleteNoteMutation = {
|
|
1752
1862
|
deleteNote: CustomerNoteFragment;
|
|
1753
1863
|
};
|
|
1864
|
+
export type CustomFieldFragment = (Pick<CustomField, 'id' | 'name' | 'type' | 'isRequired' | 'order' | 'isActive' | 'usedInTicket' | 'createdAt' | 'updatedAt'> & {
|
|
1865
|
+
options: Array<Pick<CustomFieldOption, 'label' | 'tag'>>;
|
|
1866
|
+
});
|
|
1867
|
+
export type TicketCustomFieldValueFragment = (Pick<TicketCustomFieldValue, 'value'> & {
|
|
1868
|
+
field: CustomFieldFragment;
|
|
1869
|
+
});
|
|
1870
|
+
export type ListCustomFieldsQueryVariables = Exact<{
|
|
1871
|
+
[key: string]: never;
|
|
1872
|
+
}>;
|
|
1873
|
+
export type ListCustomFieldsQuery = {
|
|
1874
|
+
listCustomFields: Array<CustomFieldFragment>;
|
|
1875
|
+
};
|
|
1876
|
+
export type SetCustomFieldValueMutationVariables = Exact<{
|
|
1877
|
+
input: SetCustomFieldValueInput;
|
|
1878
|
+
}>;
|
|
1879
|
+
export type SetCustomFieldValueMutation = {
|
|
1880
|
+
setCustomFieldValue: (Pick<Ticket, 'id'> & {
|
|
1881
|
+
customFieldValues: Array<TicketCustomFieldValueFragment>;
|
|
1882
|
+
});
|
|
1883
|
+
};
|
|
1884
|
+
export type ClearCustomFieldValueMutationVariables = Exact<{
|
|
1885
|
+
input: ClearCustomFieldValueInput;
|
|
1886
|
+
}>;
|
|
1887
|
+
export type ClearCustomFieldValueMutation = {
|
|
1888
|
+
clearCustomFieldValue: (Pick<Ticket, 'id'> & {
|
|
1889
|
+
customFieldValues: Array<TicketCustomFieldValueFragment>;
|
|
1890
|
+
});
|
|
1891
|
+
};
|
|
1892
|
+
export type CustomFieldValuesForTicketQueryVariables = Exact<{
|
|
1893
|
+
ticketId: Scalars['ID']['input'];
|
|
1894
|
+
}>;
|
|
1895
|
+
export type CustomFieldValuesForTicketQuery = {
|
|
1896
|
+
customFieldValuesForTicket: Array<TicketCustomFieldValueFragment>;
|
|
1897
|
+
};
|
|
1754
1898
|
export type GlobalConfigurationFragment = Pick<GlobalConfiguration, 'maxSimultaneousAttendances' | 'createdAt' | 'updatedAt'>;
|
|
1755
1899
|
export type GetGlobalConfigurationQueryVariables = Exact<{
|
|
1756
1900
|
[key: string]: never;
|
|
@@ -2372,6 +2516,8 @@ export declare const BulkCloseRoutineConfigFragmentDoc = "\n fragment bulkClo
|
|
|
2372
2516
|
export declare const BulkCloseRunFragmentDoc = "\n fragment bulkCloseRun on BulkCloseRun {\n id\n status\n windowStart\n startedAt\n finishedAt\n totals {\n planned\n closed\n alreadyClosed\n errors\n uncreated\n }\n createdAt\n updatedAt\n}\n ";
|
|
2373
2517
|
export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
2374
2518
|
export declare const CustomerNoteFragmentDoc = "\n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n ";
|
|
2519
|
+
export declare const CustomFieldFragmentDoc = "\n fragment customField on CustomField {\n id\n name\n type\n options {\n label\n tag\n }\n isRequired\n order\n isActive\n usedInTicket\n createdAt\n updatedAt\n}\n ";
|
|
2520
|
+
export declare const TicketCustomFieldValueFragmentDoc = "\n fragment ticketCustomFieldValue on TicketCustomFieldValue {\n field {\n ...customField\n }\n value\n}\n ";
|
|
2375
2521
|
export declare const GlobalConfigurationFragmentDoc = "\n fragment globalConfiguration on GlobalConfiguration {\n maxSimultaneousAttendances\n createdAt\n updatedAt\n}\n ";
|
|
2376
2522
|
export declare const DrozChatAgentGroupFragmentDoc = "\n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
2377
2523
|
export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n maxSimultaneousAttendances\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
@@ -2423,6 +2569,10 @@ export declare const ListNotesDocument = "\n query listNotes($customerId: Str
|
|
|
2423
2569
|
export declare const CreateNoteDocument = "\n mutation createNote($input: CreateCustomerNoteInput!) {\n createNote(input: $input) {\n ...customerNote\n }\n}\n \n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
2424
2570
|
export declare const UpdateNoteDocument = "\n mutation updateNote($input: UpdateCustomerNoteInput!) {\n updateNote(input: $input) {\n ...customerNote\n }\n}\n \n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
2425
2571
|
export declare const DeleteNoteDocument = "\n mutation deleteNote($input: DeleteCustomerNoteInput!) {\n deleteNote(input: $input) {\n ...customerNote\n }\n}\n \n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
2572
|
+
export declare const ListCustomFieldsDocument = "\n query listCustomFields {\n listCustomFields {\n ...customField\n }\n}\n \n fragment customField on CustomField {\n id\n name\n type\n options {\n label\n tag\n }\n isRequired\n order\n isActive\n usedInTicket\n createdAt\n updatedAt\n}\n ";
|
|
2573
|
+
export declare const SetCustomFieldValueDocument = "\n mutation setCustomFieldValue($input: SetCustomFieldValueInput!) {\n setCustomFieldValue(input: $input) {\n id\n customFieldValues {\n ...ticketCustomFieldValue\n }\n }\n}\n \n fragment ticketCustomFieldValue on TicketCustomFieldValue {\n field {\n ...customField\n }\n value\n}\n \n\n fragment customField on CustomField {\n id\n name\n type\n options {\n label\n tag\n }\n isRequired\n order\n isActive\n usedInTicket\n createdAt\n updatedAt\n}\n ";
|
|
2574
|
+
export declare const ClearCustomFieldValueDocument = "\n mutation clearCustomFieldValue($input: ClearCustomFieldValueInput!) {\n clearCustomFieldValue(input: $input) {\n id\n customFieldValues {\n ...ticketCustomFieldValue\n }\n }\n}\n \n fragment ticketCustomFieldValue on TicketCustomFieldValue {\n field {\n ...customField\n }\n value\n}\n \n\n fragment customField on CustomField {\n id\n name\n type\n options {\n label\n tag\n }\n isRequired\n order\n isActive\n usedInTicket\n createdAt\n updatedAt\n}\n ";
|
|
2575
|
+
export declare const CustomFieldValuesForTicketDocument = "\n query customFieldValuesForTicket($ticketId: ID!) {\n customFieldValuesForTicket(ticketId: $ticketId) {\n ...ticketCustomFieldValue\n }\n}\n \n fragment ticketCustomFieldValue on TicketCustomFieldValue {\n field {\n ...customField\n }\n value\n}\n \n\n fragment customField on CustomField {\n id\n name\n type\n options {\n label\n tag\n }\n isRequired\n order\n isActive\n usedInTicket\n createdAt\n updatedAt\n}\n ";
|
|
2426
2576
|
export declare const GetGlobalConfigurationDocument = "\n query getGlobalConfiguration {\n getGlobalConfiguration {\n ...globalConfiguration\n }\n}\n \n fragment globalConfiguration on GlobalConfiguration {\n maxSimultaneousAttendances\n createdAt\n updatedAt\n}\n ";
|
|
2427
2577
|
export declare const SetMaxSimultaneousAttendancesDocument = "\n mutation setMaxSimultaneousAttendances($input: SetMaxSimultaneousAttendancesInput!) {\n setMaxSimultaneousAttendances(input: $input) {\n ...globalConfiguration\n }\n}\n \n fragment globalConfiguration on GlobalConfiguration {\n maxSimultaneousAttendances\n createdAt\n updatedAt\n}\n ";
|
|
2428
2578
|
export declare const ClearMaxSimultaneousAttendancesDocument = "\n mutation clearMaxSimultaneousAttendances {\n clearMaxSimultaneousAttendances {\n ...globalConfiguration\n }\n}\n \n fragment globalConfiguration on GlobalConfiguration {\n maxSimultaneousAttendances\n createdAt\n updatedAt\n}\n ";
|
|
@@ -2522,6 +2672,10 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
2522
2672
|
createNote(variables: CreateNoteMutationVariables, options?: C): Promise<CreateNoteMutation>;
|
|
2523
2673
|
updateNote(variables: UpdateNoteMutationVariables, options?: C): Promise<UpdateNoteMutation>;
|
|
2524
2674
|
deleteNote(variables: DeleteNoteMutationVariables, options?: C): Promise<DeleteNoteMutation>;
|
|
2675
|
+
listCustomFields(variables?: ListCustomFieldsQueryVariables, options?: C): Promise<ListCustomFieldsQuery>;
|
|
2676
|
+
setCustomFieldValue(variables: SetCustomFieldValueMutationVariables, options?: C): Promise<SetCustomFieldValueMutation>;
|
|
2677
|
+
clearCustomFieldValue(variables: ClearCustomFieldValueMutationVariables, options?: C): Promise<ClearCustomFieldValueMutation>;
|
|
2678
|
+
customFieldValuesForTicket(variables: CustomFieldValuesForTicketQueryVariables, options?: C): Promise<CustomFieldValuesForTicketQuery>;
|
|
2525
2679
|
getGlobalConfiguration(variables?: GetGlobalConfigurationQueryVariables, options?: C): Promise<GetGlobalConfigurationQuery>;
|
|
2526
2680
|
setMaxSimultaneousAttendances(variables: SetMaxSimultaneousAttendancesMutationVariables, options?: C): Promise<SetMaxSimultaneousAttendancesMutation>;
|
|
2527
2681
|
clearMaxSimultaneousAttendances(variables?: ClearMaxSimultaneousAttendancesMutationVariables, options?: C): Promise<ClearMaxSimultaneousAttendancesMutation>;
|
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
4
|
+
exports.DrozChatUserFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.CustomerFragmentDoc = exports.TicketWithoutCustomerFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.TagFragmentDoc = exports.QuickAnswerFacetsFragmentDoc = exports.QuickAnswerFragmentDoc = exports.TicketPresenceFragmentDoc = exports.SurveyFragmentDoc = exports.MonitoringTicketSnapshotFragmentDoc = exports.LiveSummaryFragmentDoc = exports.LiveAgentLoadFragmentDoc = exports.LiveQueueSummaryFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.DrozChatAgentGroupFragmentDoc = exports.GlobalConfigurationFragmentDoc = exports.TicketCustomFieldValueFragmentDoc = exports.CustomFieldFragmentDoc = exports.CustomerNoteFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.BulkCloseRunFragmentDoc = exports.BulkCloseRoutineConfigFragmentDoc = exports.AgentPresenceFragmentDoc = exports.Typenames = exports.TriggerScope = exports.TriggerEventType = exports.TriggerActionType = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketOrigin = exports.TicketMessageType = exports.TicketMessageRecipient = exports.TicketAutoAssignerType = exports.TicketAssessType = exports.SurveyTypes = exports.SurveyChannels = exports.SubscriptionAction = exports.QuickAnswersSortBy = exports.OpenTicketState = exports.LiveAgentStatus = exports.CustomFieldType = exports.Can = exports.AppInstanceStatus = exports.AgentPresenceStatus = exports.ActiveDispatchConnector = void 0;
|
|
5
|
+
exports.OnMonitoringTicketChangeDocument = exports.LiveSummaryDocument = exports.RemoveDrozChatAgentGroupDocument = exports.AddDrozChatAgentGroupDocument = exports.EnableDrozChatAgentGroupDocument = exports.DisableDrozChatAgentGroupDocument = exports.UpdateDrozChatAgentGroupDocument = exports.CreateDrozChatAgentGroupDocument = exports.ListDrozChatAgentGroupsDocument = exports.ListDrozChatGroupsDocument = exports.GetDrozChatAgentGroupDocument = exports.ClearMaxSimultaneousAttendancesDocument = exports.SetMaxSimultaneousAttendancesDocument = exports.GetGlobalConfigurationDocument = exports.CustomFieldValuesForTicketDocument = exports.ClearCustomFieldValueDocument = exports.SetCustomFieldValueDocument = exports.ListCustomFieldsDocument = exports.DeleteNoteDocument = exports.UpdateNoteDocument = exports.CreateNoteDocument = exports.ListNotesDocument = exports.RemoveDrozChatChannelGroupDocument = exports.AddDrozChatChannelGroupDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.GetBulkCloseRunsDocument = exports.DeleteBulkCloseRoutineConfigDocument = exports.DisableBulkCloseRoutineConfigDocument = exports.EnableBulkCloseRoutineConfigDocument = exports.UpdateBulkCloseRoutineConfigDocument = exports.CreateBulkCloseRoutineConfigDocument = exports.GetBulkCloseRoutineConfigDocument = exports.GenerateAnalyticsTokenDocument = exports.AgentLogoffDocument = exports.AgentHeartbeatDocument = exports.MyPresenceDocument = exports.ActiveDispatchDocument = exports.ViewFragmentDoc = exports.TriggerFragmentDoc = exports.TriggerConditionFieldsFragmentDoc = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = void 0;
|
|
6
|
+
exports.GetViewDocument = exports.ReorderTriggersByEventTypeDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument = exports.ListTriggersDocument = exports.OnMessageByStateMineDocument = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageEnvelopeDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.AgentRemainingCapacityDocument = exports.AssertChatActionsDocument = exports.UnsafeSearchTicketsDocument = exports.SearchTicketsWithoutCustomerDocument = exports.SearchTicketsDocument = exports.ListTicketInternalNotesDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineWithoutCustomerDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.UpdateQuickAnswerDocument = exports.DeleteQuickAnswerDocument = exports.CreateQuickAnswerDocument = exports.SearchQuickAnswersDocument = exports.ListQuickAnswersDocument = exports.OnTicketPresenceDocument = exports.LeaveTicketPresenceDocument = exports.EnterTicketPresenceDocument = exports.TicketPresenceDocument = exports.DisableSurveyDocument = exports.UpsertSurveyDocument = exports.GetSurveyDocument = void 0;
|
|
7
|
+
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = void 0;
|
|
7
8
|
exports.getSdk = getSdk;
|
|
8
9
|
var ActiveDispatchConnector;
|
|
9
10
|
(function (ActiveDispatchConnector) {
|
|
@@ -29,6 +30,14 @@ var Can;
|
|
|
29
30
|
Can["Remove"] = "remove";
|
|
30
31
|
Can["Write"] = "write";
|
|
31
32
|
})(Can || (exports.Can = Can = {}));
|
|
33
|
+
var CustomFieldType;
|
|
34
|
+
(function (CustomFieldType) {
|
|
35
|
+
CustomFieldType["Date"] = "DATE";
|
|
36
|
+
CustomFieldType["MultiSelect"] = "MULTI_SELECT";
|
|
37
|
+
CustomFieldType["Number"] = "NUMBER";
|
|
38
|
+
CustomFieldType["SingleSelect"] = "SINGLE_SELECT";
|
|
39
|
+
CustomFieldType["Text"] = "TEXT";
|
|
40
|
+
})(CustomFieldType || (exports.CustomFieldType = CustomFieldType = {}));
|
|
32
41
|
var LiveAgentStatus;
|
|
33
42
|
(function (LiveAgentStatus) {
|
|
34
43
|
LiveAgentStatus["Off"] = "OFF";
|
|
@@ -167,6 +176,7 @@ var Typenames;
|
|
|
167
176
|
Typenames["ChannelLastAssignee"] = "ChannelLastAssignee";
|
|
168
177
|
Typenames["ChannelTriggerExecutions"] = "ChannelTriggerExecutions";
|
|
169
178
|
Typenames["Channels"] = "Channels";
|
|
179
|
+
Typenames["CustomFields"] = "CustomFields";
|
|
170
180
|
Typenames["CustomerNotes"] = "CustomerNotes";
|
|
171
181
|
Typenames["GlobalConfiguration"] = "GlobalConfiguration";
|
|
172
182
|
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
@@ -241,6 +251,31 @@ exports.CustomerNoteFragmentDoc = `
|
|
|
241
251
|
updatedAt
|
|
242
252
|
}
|
|
243
253
|
`;
|
|
254
|
+
exports.CustomFieldFragmentDoc = `
|
|
255
|
+
fragment customField on CustomField {
|
|
256
|
+
id
|
|
257
|
+
name
|
|
258
|
+
type
|
|
259
|
+
options {
|
|
260
|
+
label
|
|
261
|
+
tag
|
|
262
|
+
}
|
|
263
|
+
isRequired
|
|
264
|
+
order
|
|
265
|
+
isActive
|
|
266
|
+
usedInTicket
|
|
267
|
+
createdAt
|
|
268
|
+
updatedAt
|
|
269
|
+
}
|
|
270
|
+
`;
|
|
271
|
+
exports.TicketCustomFieldValueFragmentDoc = `
|
|
272
|
+
fragment ticketCustomFieldValue on TicketCustomFieldValue {
|
|
273
|
+
field {
|
|
274
|
+
...customField
|
|
275
|
+
}
|
|
276
|
+
value
|
|
277
|
+
}
|
|
278
|
+
`;
|
|
244
279
|
exports.GlobalConfigurationFragmentDoc = `
|
|
245
280
|
fragment globalConfiguration on GlobalConfiguration {
|
|
246
281
|
maxSimultaneousAttendances
|
|
@@ -1076,6 +1111,43 @@ exports.DeleteNoteDocument = `
|
|
|
1076
1111
|
}
|
|
1077
1112
|
${exports.CustomerNoteFragmentDoc}
|
|
1078
1113
|
${exports.DrozChatAgentFragmentDoc}`;
|
|
1114
|
+
exports.ListCustomFieldsDocument = `
|
|
1115
|
+
query listCustomFields {
|
|
1116
|
+
listCustomFields {
|
|
1117
|
+
...customField
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
${exports.CustomFieldFragmentDoc}`;
|
|
1121
|
+
exports.SetCustomFieldValueDocument = `
|
|
1122
|
+
mutation setCustomFieldValue($input: SetCustomFieldValueInput!) {
|
|
1123
|
+
setCustomFieldValue(input: $input) {
|
|
1124
|
+
id
|
|
1125
|
+
customFieldValues {
|
|
1126
|
+
...ticketCustomFieldValue
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
${exports.TicketCustomFieldValueFragmentDoc}
|
|
1131
|
+
${exports.CustomFieldFragmentDoc}`;
|
|
1132
|
+
exports.ClearCustomFieldValueDocument = `
|
|
1133
|
+
mutation clearCustomFieldValue($input: ClearCustomFieldValueInput!) {
|
|
1134
|
+
clearCustomFieldValue(input: $input) {
|
|
1135
|
+
id
|
|
1136
|
+
customFieldValues {
|
|
1137
|
+
...ticketCustomFieldValue
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
${exports.TicketCustomFieldValueFragmentDoc}
|
|
1142
|
+
${exports.CustomFieldFragmentDoc}`;
|
|
1143
|
+
exports.CustomFieldValuesForTicketDocument = `
|
|
1144
|
+
query customFieldValuesForTicket($ticketId: ID!) {
|
|
1145
|
+
customFieldValuesForTicket(ticketId: $ticketId) {
|
|
1146
|
+
...ticketCustomFieldValue
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
${exports.TicketCustomFieldValueFragmentDoc}
|
|
1150
|
+
${exports.CustomFieldFragmentDoc}`;
|
|
1079
1151
|
exports.GetGlobalConfigurationDocument = `
|
|
1080
1152
|
query getGlobalConfiguration {
|
|
1081
1153
|
getGlobalConfiguration {
|
|
@@ -1911,6 +1983,18 @@ function getSdk(requester) {
|
|
|
1911
1983
|
deleteNote(variables, options) {
|
|
1912
1984
|
return requester(exports.DeleteNoteDocument, variables, options);
|
|
1913
1985
|
},
|
|
1986
|
+
listCustomFields(variables, options) {
|
|
1987
|
+
return requester(exports.ListCustomFieldsDocument, variables, options);
|
|
1988
|
+
},
|
|
1989
|
+
setCustomFieldValue(variables, options) {
|
|
1990
|
+
return requester(exports.SetCustomFieldValueDocument, variables, options);
|
|
1991
|
+
},
|
|
1992
|
+
clearCustomFieldValue(variables, options) {
|
|
1993
|
+
return requester(exports.ClearCustomFieldValueDocument, variables, options);
|
|
1994
|
+
},
|
|
1995
|
+
customFieldValuesForTicket(variables, options) {
|
|
1996
|
+
return requester(exports.CustomFieldValuesForTicketDocument, variables, options);
|
|
1997
|
+
},
|
|
1914
1998
|
getGlobalConfiguration(variables, options) {
|
|
1915
1999
|
return requester(exports.GetGlobalConfigurationDocument, variables, options);
|
|
1916
2000
|
},
|
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -1151,6 +1151,7 @@ export type StringMatcherInput = {
|
|
|
1151
1151
|
export declare enum SystemRole {
|
|
1152
1152
|
Admin = "Admin",
|
|
1153
1153
|
CampaignsAdmin = "CampaignsAdmin",
|
|
1154
|
+
CustomFieldsAiAgent = "CustomFieldsAiAgent",
|
|
1154
1155
|
DrozBotIntegration = "DrozBotIntegration",
|
|
1155
1156
|
DrozChatAdmin = "DrozChatAdmin",
|
|
1156
1157
|
DrozChatAgent = "DrozChatAgent",
|
package/src/sdks/nucleus.js
CHANGED
|
@@ -77,6 +77,7 @@ var SystemRole;
|
|
|
77
77
|
(function (SystemRole) {
|
|
78
78
|
SystemRole["Admin"] = "Admin";
|
|
79
79
|
SystemRole["CampaignsAdmin"] = "CampaignsAdmin";
|
|
80
|
+
SystemRole["CustomFieldsAiAgent"] = "CustomFieldsAiAgent";
|
|
80
81
|
SystemRole["DrozBotIntegration"] = "DrozBotIntegration";
|
|
81
82
|
SystemRole["DrozChatAdmin"] = "DrozChatAdmin";
|
|
82
83
|
SystemRole["DrozChatAgent"] = "DrozChatAgent";
|
package/src/sdks/outsource.d.ts
CHANGED
|
@@ -280,7 +280,9 @@ export declare enum Typenames {
|
|
|
280
280
|
OutsourceInstance = "OutsourceInstance"
|
|
281
281
|
}
|
|
282
282
|
export type UpdateOutsourceInstanceInput = {
|
|
283
|
+
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
283
284
|
id: Scalars['ID']['input'];
|
|
285
|
+
linkedInstanceRef?: InputMaybe<Scalars['String']['input']>;
|
|
284
286
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
285
287
|
status?: InputMaybe<AppInstanceStatus>;
|
|
286
288
|
tags?: InputMaybe<Array<Scalars['Tag']['input']>>;
|