@droz-js/sdk 0.9.46 → 0.9.48
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 +2 -2
- package/src/casasbahia.d.ts +4 -4
- package/src/chatwidget.d.ts +4 -4
- package/src/client/http.d.ts +4 -4
- package/src/drozadmin.d.ts +4 -4
- package/src/drozai.d.ts +4 -4
- package/src/drozanalytics.d.ts +4 -4
- package/src/drozbase.d.ts +4 -4
- package/src/drozbot.d.ts +4 -4
- package/src/drozchat-ws.d.ts +4 -0
- package/src/drozchat.d.ts +8 -4
- package/src/droznexo.d.ts +4 -4
- package/src/logger.d.ts +4 -4
- package/src/mercadolivre.d.ts +4 -4
- package/src/nucleus.d.ts +4 -4
- package/src/reclameaqui.d.ts +4 -4
- package/src/sdks/drozbase.d.ts +7 -0
- package/src/sdks/drozchat.d.ts +12 -0
- package/src/sdks/drozchat.js +19 -2
- package/src/sdks/reclameaqui.d.ts +1 -0
- package/src/sdks/zendesk.d.ts +10 -7
- package/src/sdks/zendesk.js +1 -0
- package/src/utilities.d.ts +4 -4
- package/src/whatsapp.d.ts +4 -4
- package/src/zendesk.d.ts +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@droz-js/sdk",
|
|
3
3
|
"description": "Droz SDK",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.48",
|
|
5
5
|
"private": false,
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./src/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"postpack": "clean-package restore"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"graphql": "^16.
|
|
22
|
+
"graphql": "^16.10.0",
|
|
23
23
|
"graphql-ws": "^5.16.0",
|
|
24
24
|
"isomorphic-ws": "^5.0.0",
|
|
25
25
|
"inbatches": "^0.0.10"
|
package/src/casasbahia.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/casasbahia';
|
|
2
2
|
declare const Casasbahia_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getCasasBahiaInstance(variables: import("./sdks/casasbahia").Exact<{
|
|
10
10
|
id: import("./sdks/casasbahia").Scalars["ID"]["input"];
|
package/src/chatwidget.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/chatwidget';
|
|
2
2
|
declare const ChatWidget_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getChatWidget(variables: import("./sdks/chatwidget").Exact<{
|
|
10
10
|
id: import("./sdks/chatwidget").Scalars["ID"]["input"];
|
package/src/client/http.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ export interface BaseSDK {
|
|
|
23
23
|
}
|
|
24
24
|
export declare function HttpClientBuilder<Sdk>(serviceName: string, getSdk: GetSdk<Sdk>): new (options?: HttpClientOptions) => {
|
|
25
25
|
readonly http: any;
|
|
26
|
-
forTenant(tenant: string): any;
|
|
27
|
-
withAuthorization(authorization: AuthorizationProvider): any;
|
|
28
|
-
withCustomHeaders(headers: HeadersProvider): any;
|
|
29
|
-
withHttpRequestExecutor(httpRequestExecutor: HttpRequestExecutor): any;
|
|
26
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
27
|
+
withAuthorization(authorization: AuthorizationProvider): /*elided*/ any;
|
|
28
|
+
withCustomHeaders(headers: HeadersProvider): /*elided*/ any;
|
|
29
|
+
withHttpRequestExecutor(httpRequestExecutor: HttpRequestExecutor): /*elided*/ any;
|
|
30
30
|
} & Sdk;
|
|
31
31
|
export {};
|
package/src/drozadmin.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/drozcommons';
|
|
2
2
|
declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
listAccounts(variables?: import("./sdks/drozcommons").Exact<{
|
|
10
10
|
[key: string]: never;
|
package/src/drozai.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/ai';
|
|
2
2
|
declare const DrozAi_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getNlpInstance(variables: import("./sdks/ai").Exact<{
|
|
10
10
|
id: import("./sdks/ai").Scalars["ID"]["input"];
|
package/src/drozanalytics.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/drozanalytics';
|
|
2
2
|
declare const Drozanalytics_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getFirstResponseTime(variables: import("./sdks/drozanalytics").Exact<{
|
|
10
10
|
startDate: import("./sdks/drozanalytics").Scalars["Date"]["input"];
|
package/src/drozbase.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/drozbase';
|
|
2
2
|
declare const DrozBase_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
generateOrganizationAnalyticsEmbedUrl(variables?: import("./sdks/drozbase").Exact<{
|
|
10
10
|
[key: string]: never;
|
package/src/drozbot.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/drozbot';
|
|
2
2
|
declare const DrozBot_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getDrozBotInstance(variables: import("./sdks/drozbot").Exact<{
|
|
10
10
|
id: import("./sdks/drozbot").Scalars["ID"]["input"];
|
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -59,6 +59,10 @@ declare const DrozChatWs_base: new () => {
|
|
|
59
59
|
channelId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
60
60
|
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
61
61
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketMessagesQuery>;
|
|
62
|
+
listTicketInternalNotes(variables: import("./sdks/drozchat").Exact<{
|
|
63
|
+
ticketId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
64
|
+
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
65
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketInternalNotesQuery>;
|
|
62
66
|
searchTickets(variables?: import("./sdks/drozchat").Exact<{
|
|
63
67
|
q?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["String"]["input"]>;
|
|
64
68
|
filters?: import("./sdks/drozchat").InputMaybe<Array<import("./sdks/drozchat").TicketSearchFilterInput> | import("./sdks/drozchat").TicketSearchFilterInput>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/drozchat';
|
|
2
2
|
declare const DrozChat_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
generateAnalyticsToken(variables?: import("./sdks/drozchat").Exact<{
|
|
10
10
|
[key: string]: never;
|
|
@@ -62,6 +62,10 @@ declare const DrozChat_base: new (options?: import("./client/http").HttpClientOp
|
|
|
62
62
|
channelId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
63
63
|
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
64
64
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketMessagesQuery>;
|
|
65
|
+
listTicketInternalNotes(variables: import("./sdks/drozchat").Exact<{
|
|
66
|
+
ticketId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
67
|
+
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
68
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketInternalNotesQuery>;
|
|
65
69
|
searchTickets(variables?: import("./sdks/drozchat").Exact<{
|
|
66
70
|
q?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["String"]["input"]>;
|
|
67
71
|
filters?: import("./sdks/drozchat").InputMaybe<Array<import("./sdks/drozchat").TicketSearchFilterInput> | import("./sdks/drozchat").TicketSearchFilterInput>;
|
package/src/droznexo.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/droznexo';
|
|
2
2
|
declare const DrozNexo_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getUsageStatistics(variables?: import("./sdks/droznexo").Exact<{
|
|
10
10
|
[key: string]: never;
|
package/src/logger.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/logger';
|
|
2
2
|
declare const Logger_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getLastMessage(variables: import("./sdks/logger").Exact<{
|
|
10
10
|
sessionId: import("./sdks/logger").Scalars["ID"]["input"];
|
package/src/mercadolivre.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/mercadolivre';
|
|
2
2
|
declare const MercadoLivre_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getMercadoLivreInstance(variables: import("./sdks/mercadolivre").Exact<{
|
|
10
10
|
id: import("./sdks/mercadolivre").Scalars["ID"]["input"];
|
package/src/nucleus.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ export * from './sdks/nucleus';
|
|
|
3
3
|
type OnProgress = (progress: number) => void;
|
|
4
4
|
declare const Nucleus_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
5
5
|
readonly http: any;
|
|
6
|
-
forTenant(tenant: string): any;
|
|
7
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
8
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
9
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
6
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
7
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
8
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
9
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
10
10
|
} & {
|
|
11
11
|
getMe(variables?: import("./sdks/nucleus").Exact<{
|
|
12
12
|
[key: string]: never;
|
package/src/reclameaqui.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/reclameaqui';
|
|
2
2
|
declare const Reclameaqui_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getReclameAquiInstance(variables: import("./sdks/reclameaqui").Exact<{
|
|
10
10
|
id: import("./sdks/reclameaqui").Scalars["ID"]["input"];
|
package/src/sdks/drozbase.d.ts
CHANGED
|
@@ -1891,6 +1891,7 @@ export type Query = {
|
|
|
1891
1891
|
docVersions?: Maybe<DocVersionsConnection>;
|
|
1892
1892
|
docs?: Maybe<DocsConnection>;
|
|
1893
1893
|
enrolledCourses?: Maybe<CourseUserConnection>;
|
|
1894
|
+
enrolledCoursesByUserId?: Maybe<CourseUserConnection>;
|
|
1894
1895
|
estimateApprovalFlowStepApprovers?: Maybe<Array<Maybe<UserInfo>>>;
|
|
1895
1896
|
file?: Maybe<Storage>;
|
|
1896
1897
|
files?: Maybe<StorageConnection>;
|
|
@@ -2077,6 +2078,12 @@ export type QueryEnrolledCoursesArgs = {
|
|
|
2077
2078
|
enrollmentStatus?: InputMaybe<EnrollmentStatus>;
|
|
2078
2079
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2079
2080
|
};
|
|
2081
|
+
export type QueryEnrolledCoursesByUserIdArgs = {
|
|
2082
|
+
after?: InputMaybe<Scalars['Base64']['input']>;
|
|
2083
|
+
enrollmentStatus?: InputMaybe<EnrollmentStatus>;
|
|
2084
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2085
|
+
subjectId: Scalars['ID']['input'];
|
|
2086
|
+
};
|
|
2080
2087
|
export type QueryEstimateApprovalFlowStepApproversArgs = {
|
|
2081
2088
|
flowId: Scalars['ID']['input'];
|
|
2082
2089
|
resourceId: Scalars['ID']['input'];
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -836,6 +836,16 @@ export type ListTicketMessagesQuery = {
|
|
|
836
836
|
nodes: Array<TicketMessageFragment>;
|
|
837
837
|
};
|
|
838
838
|
};
|
|
839
|
+
export type ListTicketInternalNotesQueryVariables = Exact<{
|
|
840
|
+
ticketId: Scalars['ID']['input'];
|
|
841
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
842
|
+
}>;
|
|
843
|
+
export type ListTicketInternalNotesQuery = {
|
|
844
|
+
listTicketInternalNotes: {
|
|
845
|
+
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
846
|
+
nodes: Array<TicketMessageFragment>;
|
|
847
|
+
};
|
|
848
|
+
};
|
|
839
849
|
export type SearchTicketsQueryVariables = Exact<{
|
|
840
850
|
q?: InputMaybe<Scalars['String']['input']>;
|
|
841
851
|
filters?: InputMaybe<Array<TicketSearchFilterInput> | TicketSearchFilterInput>;
|
|
@@ -972,6 +982,7 @@ export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n g
|
|
|
972
982
|
export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $status: [TicketStatus!], $assigneeId: ID, $next: Base64) {\n listTickets(\n state: $state\n status: $status\n assigneeId: $assigneeId\n next: $next\n ) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n protocol\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n assignedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
973
983
|
export declare const ListTicketsInProgressMineDocument = "\n query listTicketsInProgressMine($next: Base64) {\n listTicketsInProgressMine(next: $next) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n protocol\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n assignedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
974
984
|
export declare const ListTicketMessagesDocument = "\n query listTicketMessages($ticketId: ID!, $channelId: ID!, $next: Base64) {\n listTicketMessages(ticketId: $ticketId, channelId: $channelId, next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...ticketMessage\n }\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n sender {\n ...drozChatUser\n }\n channelId\n contentType\n content\n filename\n size\n type\n createdAt\n updatedAt\n}\n \n\n fragment drozChatUser on DrozChatUser {\n ... on DrozChatAgent {\n id\n name\n }\n ... on DrozChatCustomer {\n id\n name\n }\n}\n ";
|
|
985
|
+
export declare const ListTicketInternalNotesDocument = "\n query listTicketInternalNotes($ticketId: ID!, $next: Base64) {\n listTicketInternalNotes(ticketId: $ticketId, next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...ticketMessage\n }\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n sender {\n ...drozChatUser\n }\n channelId\n contentType\n content\n filename\n size\n type\n createdAt\n updatedAt\n}\n \n\n fragment drozChatUser on DrozChatUser {\n ... on DrozChatAgent {\n id\n name\n }\n ... on DrozChatCustomer {\n id\n name\n }\n}\n ";
|
|
975
986
|
export declare const SearchTicketsDocument = "\n query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {\n searchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticket\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n protocol\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n assignedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment facets on TicketsSearchResultsFacet {\n ... on SearchResultsFacet {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n }\n ... on AgentSearchResultsFacet {\n name\n values {\n value\n agent {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on ChannelSearchResultsFacet {\n name\n values {\n value\n channel {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
|
|
976
987
|
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticketWithSession\n }\n}\n \n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n \n\n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n protocol\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n assignedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
977
988
|
export declare const UpdateTicketDocument = "\n mutation updateTicket($input: UpdateTicketInput!) {\n updateTicket(input: $input) {\n ...ticketWithSession\n }\n}\n \n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n \n\n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n protocol\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n assignedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
@@ -1007,6 +1018,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1007
1018
|
listTickets(variables: ListTicketsQueryVariables, options?: C): Promise<ListTicketsQuery>;
|
|
1008
1019
|
listTicketsInProgressMine(variables?: ListTicketsInProgressMineQueryVariables, options?: C): Promise<ListTicketsInProgressMineQuery>;
|
|
1009
1020
|
listTicketMessages(variables: ListTicketMessagesQueryVariables, options?: C): Promise<ListTicketMessagesQuery>;
|
|
1021
|
+
listTicketInternalNotes(variables: ListTicketInternalNotesQueryVariables, options?: C): Promise<ListTicketInternalNotesQuery>;
|
|
1010
1022
|
searchTickets(variables?: SearchTicketsQueryVariables, options?: C): Promise<SearchTicketsQuery>;
|
|
1011
1023
|
createTicket(variables: CreateTicketMutationVariables, options?: C): Promise<CreateTicketMutation>;
|
|
1012
1024
|
updateTicket(variables: UpdateTicketMutationVariables, options?: C): Promise<UpdateTicketMutation>;
|
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.serviceName = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = void 0;
|
|
4
|
+
exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.SearchTicketsDocument = exports.ListTicketInternalNotesDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.GenerateAnalyticsTokenDocument = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.DrozChatUserFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketMessageType = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.serviceName = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = void 0;
|
|
6
6
|
exports.getSdk = getSdk;
|
|
7
7
|
var AppInstanceStatus;
|
|
8
8
|
(function (AppInstanceStatus) {
|
|
@@ -438,6 +438,20 @@ exports.ListTicketMessagesDocument = `
|
|
|
438
438
|
}
|
|
439
439
|
${exports.TicketMessageFragmentDoc}
|
|
440
440
|
${exports.DrozChatUserFragmentDoc}`;
|
|
441
|
+
exports.ListTicketInternalNotesDocument = `
|
|
442
|
+
query listTicketInternalNotes($ticketId: ID!, $next: Base64) {
|
|
443
|
+
listTicketInternalNotes(ticketId: $ticketId, next: $next) {
|
|
444
|
+
pageInfo {
|
|
445
|
+
hasNext
|
|
446
|
+
next
|
|
447
|
+
}
|
|
448
|
+
nodes {
|
|
449
|
+
...ticketMessage
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
${exports.TicketMessageFragmentDoc}
|
|
454
|
+
${exports.DrozChatUserFragmentDoc}`;
|
|
441
455
|
exports.SearchTicketsDocument = `
|
|
442
456
|
query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {
|
|
443
457
|
searchTickets(
|
|
@@ -703,6 +717,9 @@ function getSdk(requester) {
|
|
|
703
717
|
listTicketMessages(variables, options) {
|
|
704
718
|
return requester(exports.ListTicketMessagesDocument, variables, options);
|
|
705
719
|
},
|
|
720
|
+
listTicketInternalNotes(variables, options) {
|
|
721
|
+
return requester(exports.ListTicketInternalNotesDocument, variables, options);
|
|
722
|
+
},
|
|
706
723
|
searchTickets(variables, options) {
|
|
707
724
|
return requester(exports.SearchTicketsDocument, variables, options);
|
|
708
725
|
},
|
|
@@ -347,6 +347,7 @@ export type SearchResultsStats = {
|
|
|
347
347
|
};
|
|
348
348
|
export type SendReclameAquiModerationRequestInput = {
|
|
349
349
|
moderationAttachmentUrl?: InputMaybe<Scalars['String']['input']>;
|
|
350
|
+
moderationMigrateTo?: InputMaybe<Scalars['String']['input']>;
|
|
350
351
|
moderationReasonCode: Scalars['ID']['input'];
|
|
351
352
|
moderationReasonDescription: Scalars['String']['input'];
|
|
352
353
|
sessionId: Scalars['ID']['input'];
|
package/src/sdks/zendesk.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ export type CreateZendeskInstanceInput = {
|
|
|
144
144
|
autoClosePrivateChannel?: InputMaybe<Scalars['Boolean']['input']>;
|
|
145
145
|
closedStatuses: Array<Scalars['String']['input']>;
|
|
146
146
|
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
147
|
+
disableSecondaryChannels?: InputMaybe<Scalars['Boolean']['input']>;
|
|
147
148
|
domain: Scalars['String']['input'];
|
|
148
149
|
name: Scalars['String']['input'];
|
|
149
150
|
sessionFieldMappings?: InputMaybe<Array<ZendeskSessionFieldMappingInput>>;
|
|
@@ -323,6 +324,7 @@ export type UpdateZendeskInstanceInput = {
|
|
|
323
324
|
autoClosePrivateChannel?: InputMaybe<Scalars['Boolean']['input']>;
|
|
324
325
|
closedStatuses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
325
326
|
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
327
|
+
disableSecondaryChannels?: InputMaybe<Scalars['Boolean']['input']>;
|
|
326
328
|
domain?: InputMaybe<Scalars['String']['input']>;
|
|
327
329
|
id: Scalars['ID']['input'];
|
|
328
330
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -372,6 +374,7 @@ export type ZendeskInstance = {
|
|
|
372
374
|
closedStatuses: Array<Scalars['String']['output']>;
|
|
373
375
|
createdAt: Scalars['DateTime']['output'];
|
|
374
376
|
credentialId?: Maybe<Scalars['ID']['output']>;
|
|
377
|
+
disableSecondaryChannels: Scalars['Boolean']['output'];
|
|
375
378
|
domain: Scalars['String']['output'];
|
|
376
379
|
drn: Scalars['DRN']['output'];
|
|
377
380
|
id: Scalars['ID']['output'];
|
|
@@ -438,7 +441,7 @@ export type ZendeskTicketSessionAttributes = {
|
|
|
438
441
|
ticketId: Scalars['ID']['output'];
|
|
439
442
|
triggerApp: TriggerApp;
|
|
440
443
|
};
|
|
441
|
-
export type ZendeskInstanceFragment = (Pick<ZendeskInstance, 'id' | 'name' | 'drn' | 'domain' | 'credentialId' | 'closedStatuses' | 'applyFirstAssignerToBothTickets' | 'autoClosePrivateChannel' | 'createdAt' | 'updatedAt'> & {
|
|
444
|
+
export type ZendeskInstanceFragment = (Pick<ZendeskInstance, 'id' | 'name' | 'drn' | 'domain' | 'credentialId' | 'closedStatuses' | 'applyFirstAssignerToBothTickets' | 'autoClosePrivateChannel' | 'disableSecondaryChannels' | 'createdAt' | 'updatedAt'> & {
|
|
442
445
|
appChannelRoleMappings?: Maybe<Array<Pick<ZendeskAppChannelRoleMapping, 'appId' | 'channelId' | 'zendeskRoleId' | 'zendeskAuthorizedUserTags'>>>;
|
|
443
446
|
sessionFieldMappings: Array<Pick<ZendeskSessionFieldMapping, 'expression' | 'customFieldId'>>;
|
|
444
447
|
});
|
|
@@ -528,12 +531,12 @@ export type RemoveZendeskInstanceMutationVariables = Exact<{
|
|
|
528
531
|
export type RemoveZendeskInstanceMutation = {
|
|
529
532
|
removeZendeskInstance?: Maybe<ZendeskInstanceFragment>;
|
|
530
533
|
};
|
|
531
|
-
export declare const ZendeskInstanceFragmentDoc = "\n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n ";
|
|
534
|
+
export declare const ZendeskInstanceFragmentDoc = "\n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n disableSecondaryChannels\n createdAt\n updatedAt\n}\n ";
|
|
532
535
|
export declare const ZendeskCustomerFragmentDoc = "\n fragment zendeskCustomer on ZendeskCustomer {\n id\n name\n alternateName\n email\n phone\n externalId\n document\n createdAt\n updatedAt\n}\n ";
|
|
533
536
|
export declare const ZendeskTicketInteractionFragmentDoc = "\n fragment zendeskTicketInteraction on ZendeskTicketInteraction {\n id\n ticketId\n instanceId\n sessionId\n createdAt\n updatedAt\n}\n ";
|
|
534
537
|
export declare const ZendeskTicketDetailsFragmentDoc = "\n fragment zendeskTicketDetails on ZendeskTicketDetails {\n id\n subject\n status\n comments {\n id\n author_id\n body\n public\n attachments\n via\n }\n tags\n externalId\n via\n}\n ";
|
|
535
|
-
export declare const GetZendeskInstanceDocument = "\n query getZendeskInstance($id: ID!) {\n getZendeskInstance(id: $id) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n ";
|
|
536
|
-
export declare const ListZendeskInstancesDocument = "\n query listZendeskInstances {\n listZendeskInstances {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n ";
|
|
538
|
+
export declare const GetZendeskInstanceDocument = "\n query getZendeskInstance($id: ID!) {\n getZendeskInstance(id: $id) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n disableSecondaryChannels\n createdAt\n updatedAt\n}\n ";
|
|
539
|
+
export declare const ListZendeskInstancesDocument = "\n query listZendeskInstances {\n listZendeskInstances {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n disableSecondaryChannels\n createdAt\n updatedAt\n}\n ";
|
|
537
540
|
export declare const ListZendeskTicketCustomFieldsDocument = "\n query listZendeskTicketCustomFields($credentialId: ID!, $domain: String!) {\n listZendeskTicketCustomFields(credentialId: $credentialId, domain: $domain) {\n id\n title\n type\n active\n required\n }\n}\n ";
|
|
538
541
|
export declare const ListZendeskTicketDetailsDocument = "\n query listZendeskTicketDetails($ticketId: ID!) {\n listZendeskTicketDetails(ticketId: $ticketId) {\n ...zendeskTicketDetails\n }\n}\n \n fragment zendeskTicketDetails on ZendeskTicketDetails {\n id\n subject\n status\n comments {\n id\n author_id\n body\n public\n attachments\n via\n }\n tags\n externalId\n via\n}\n ";
|
|
539
542
|
export declare const ListZendeskRolesDocument = "\n query listZendeskRoles($credentialId: ID!, $domain: String!) {\n listZendeskRoles(credentialId: $credentialId, domain: $domain) {\n id\n name\n }\n}\n ";
|
|
@@ -542,9 +545,9 @@ export declare const GetTicketSessionAttributesDocument = "\n query getTicket
|
|
|
542
545
|
export declare const ListZendeskTicketInteractionsDocument = "\n query listZendeskTicketInteractions($ticketId: ID!, $instanceId: ID!) {\n listZendeskTicketInteractions(ticketId: $ticketId, instanceId: $instanceId) {\n ...zendeskTicketInteraction\n }\n}\n \n fragment zendeskTicketInteraction on ZendeskTicketInteraction {\n id\n ticketId\n instanceId\n sessionId\n createdAt\n updatedAt\n}\n ";
|
|
543
546
|
export declare const ListZendeskTicketInteractionsBySessionIdDocument = "\n query listZendeskTicketInteractionsBySessionId($sessionId: ID!) {\n listZendeskTicketInteractionsBySessionId(sessionId: $sessionId) {\n ...zendeskTicketInteraction\n }\n}\n \n fragment zendeskTicketInteraction on ZendeskTicketInteraction {\n id\n ticketId\n instanceId\n sessionId\n createdAt\n updatedAt\n}\n ";
|
|
544
547
|
export declare const SwitchDisableSyncTagDocument = "\n mutation switchDisableSyncTag($input: SwitchDisableSyncTagInput!) {\n switchDisableSyncTag(input: $input)\n}\n ";
|
|
545
|
-
export declare const CreateZendeskInstanceDocument = "\n mutation createZendeskInstance($input: CreateZendeskInstanceInput!) {\n createZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n ";
|
|
546
|
-
export declare const UpdateZendeskInstanceDocument = "\n mutation updateZendeskInstance($input: UpdateZendeskInstanceInput!) {\n updateZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n ";
|
|
547
|
-
export declare const RemoveZendeskInstanceDocument = "\n mutation removeZendeskInstance($input: RemoveZendeskInstanceInput!) {\n removeZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n ";
|
|
548
|
+
export declare const CreateZendeskInstanceDocument = "\n mutation createZendeskInstance($input: CreateZendeskInstanceInput!) {\n createZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n disableSecondaryChannels\n createdAt\n updatedAt\n}\n ";
|
|
549
|
+
export declare const UpdateZendeskInstanceDocument = "\n mutation updateZendeskInstance($input: UpdateZendeskInstanceInput!) {\n updateZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n disableSecondaryChannels\n createdAt\n updatedAt\n}\n ";
|
|
550
|
+
export declare const RemoveZendeskInstanceDocument = "\n mutation removeZendeskInstance($input: RemoveZendeskInstanceInput!) {\n removeZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n applyFirstAssignerToBothTickets\n autoClosePrivateChannel\n disableSecondaryChannels\n createdAt\n updatedAt\n}\n ";
|
|
548
551
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
549
552
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
550
553
|
getZendeskInstance(variables: GetZendeskInstanceQueryVariables, options?: C): Promise<GetZendeskInstanceQuery>;
|
package/src/sdks/zendesk.js
CHANGED
package/src/utilities.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/utilities';
|
|
2
2
|
declare const DrozUtilities_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getChoicesInstance(variables: import("./sdks/utilities").Exact<{
|
|
10
10
|
id: import("./sdks/utilities").Scalars["ID"]["input"];
|
package/src/whatsapp.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/whatsapp';
|
|
2
2
|
declare const WhatsApp_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getWhatsAppInstance(variables: import("./sdks/whatsapp").Exact<{
|
|
10
10
|
id: import("./sdks/whatsapp").Scalars["ID"]["input"];
|
package/src/zendesk.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from './sdks/zendesk';
|
|
2
2
|
declare const Zendesk_base: new (options?: import("./client/http").HttpClientOptions) => {
|
|
3
3
|
readonly http: any;
|
|
4
|
-
forTenant(tenant: string): any;
|
|
5
|
-
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): any;
|
|
6
|
-
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
|
-
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
4
|
+
forTenant(tenant: string): /*elided*/ any;
|
|
5
|
+
withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
|
|
6
|
+
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
|
+
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
9
|
getZendeskInstance(variables: import("./sdks/zendesk").Exact<{
|
|
10
10
|
id: import("./sdks/zendesk").Scalars["ID"]["input"];
|