@droz-js/sdk 0.4.12 → 0.4.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/casasbahia.d.ts +23 -0
- package/src/casasbahia.js +21 -0
- package/src/reclameaqui.d.ts +9 -0
- package/src/sdks/casasbahia.d.ts +203 -0
- package/src/sdks/casasbahia.js +87 -0
- package/src/sdks/drozchat.d.ts +17 -16
- package/src/sdks/drozchat.js +1 -0
- package/src/sdks/nucleus.d.ts +10 -7
- package/src/sdks/nucleus.js +2 -0
- package/src/sdks/reclameaqui.d.ts +60 -7
- package/src/sdks/reclameaqui.js +34 -1
- package/src/sdks/zendesk.d.ts +23 -0
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './sdks/casasbahia';
|
|
2
|
+
export declare const Casasbahia: new (options?: import("./client/http").HttpClientOptions) => {
|
|
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
|
+
} & {
|
|
8
|
+
getCasasBahiaInstance(variables: import("./sdks/casasbahia").Exact<{
|
|
9
|
+
id: string;
|
|
10
|
+
}>, options?: unknown): Promise<import("./sdks/casasbahia").GetCasasBahiaInstanceQuery>;
|
|
11
|
+
listCasasBahiaInstances(variables?: import("./sdks/casasbahia").Exact<{
|
|
12
|
+
[key: string]: never;
|
|
13
|
+
}>, options?: unknown): Promise<import("./sdks/casasbahia").ListCasasBahiaInstancesQuery>;
|
|
14
|
+
createCasasBahiaInstance(variables: import("./sdks/casasbahia").Exact<{
|
|
15
|
+
input: import("./sdks/casasbahia").CreateCasasBahiaInstanceInput;
|
|
16
|
+
}>, options?: unknown): Promise<import("./sdks/casasbahia").CreateCasasBahiaInstanceMutation>;
|
|
17
|
+
updateCasasBahiaInstance(variables: import("./sdks/casasbahia").Exact<{
|
|
18
|
+
input: import("./sdks/casasbahia").UpdateCasasBahiaInstanceInput;
|
|
19
|
+
}>, options?: unknown): Promise<import("./sdks/casasbahia").UpdateCasasBahiaInstanceMutation>;
|
|
20
|
+
removeCasasBahiaInstance(variables: import("./sdks/casasbahia").Exact<{
|
|
21
|
+
input: import("./sdks/casasbahia").RemoveCasasBahiaInstanceInput;
|
|
22
|
+
}>, options?: unknown): Promise<import("./sdks/casasbahia").RemoveCasasBahiaInstanceMutation>;
|
|
23
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Casasbahia = void 0;
|
|
18
|
+
const http_1 = require("./client/http");
|
|
19
|
+
const casasbahia_1 = require("./sdks/casasbahia");
|
|
20
|
+
__exportStar(require("./sdks/casasbahia"), exports);
|
|
21
|
+
exports.Casasbahia = (0, http_1.HttpClientBuilder)(casasbahia_1.serviceName, casasbahia_1.getSdk);
|
package/src/reclameaqui.d.ts
CHANGED
|
@@ -11,6 +11,12 @@ export declare const Reclameaqui: new (options?: import("./client/http").HttpCli
|
|
|
11
11
|
listReclameAquiInstances(variables?: import("./sdks/reclameaqui").Exact<{
|
|
12
12
|
[key: string]: never;
|
|
13
13
|
}>, options?: unknown): Promise<import("./sdks/reclameaqui").ListReclameAquiInstancesQuery>;
|
|
14
|
+
listReclameAquiCompanies(variables: import("./sdks/reclameaqui").Exact<{
|
|
15
|
+
credentialId: string;
|
|
16
|
+
}>, options?: unknown): Promise<import("./sdks/reclameaqui").ListReclameAquiCompaniesQuery>;
|
|
17
|
+
listReclameAquiModerationReasons(variables?: import("./sdks/reclameaqui").Exact<{
|
|
18
|
+
[key: string]: never;
|
|
19
|
+
}>, options?: unknown): Promise<import("./sdks/reclameaqui").ListReclameAquiModerationReasonsQuery>;
|
|
14
20
|
createReclameAquiInstance(variables: import("./sdks/reclameaqui").Exact<{
|
|
15
21
|
input: import("./sdks/reclameaqui").CreateReclameAquiInstanceInput;
|
|
16
22
|
}>, options?: unknown): Promise<import("./sdks/reclameaqui").CreateReclameAquiInstanceMutation>;
|
|
@@ -20,4 +26,7 @@ export declare const Reclameaqui: new (options?: import("./client/http").HttpCli
|
|
|
20
26
|
removeReclameAquiInstance(variables: import("./sdks/reclameaqui").Exact<{
|
|
21
27
|
input: import("./sdks/reclameaqui").RemoveReclameAquiInstanceInput;
|
|
22
28
|
}>, options?: unknown): Promise<import("./sdks/reclameaqui").RemoveReclameAquiInstanceMutation>;
|
|
29
|
+
sendReclameAquiModerationRequest(variables: import("./sdks/reclameaqui").Exact<{
|
|
30
|
+
input: import("./sdks/reclameaqui").SendReclameAquiModerationRequestInput;
|
|
31
|
+
}>, options?: unknown): Promise<import("./sdks/reclameaqui").SendReclameAquiModerationRequestMutation>;
|
|
23
32
|
};
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
export type Maybe<T> = T;
|
|
2
|
+
export type InputMaybe<T> = T;
|
|
3
|
+
export type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
export type MakeEmpty<T extends {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}, K extends keyof T> = {
|
|
17
|
+
[_ in K]?: never;
|
|
18
|
+
};
|
|
19
|
+
export type Incremental<T> = T | {
|
|
20
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
|
+
};
|
|
22
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
|
+
export type Scalars = {
|
|
24
|
+
ID: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
String: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
Boolean: {
|
|
33
|
+
input: boolean;
|
|
34
|
+
output: boolean;
|
|
35
|
+
};
|
|
36
|
+
Int: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
Float: {
|
|
41
|
+
input: number;
|
|
42
|
+
output: number;
|
|
43
|
+
};
|
|
44
|
+
Base64: {
|
|
45
|
+
input: object;
|
|
46
|
+
output: string;
|
|
47
|
+
};
|
|
48
|
+
DRN: {
|
|
49
|
+
input: string;
|
|
50
|
+
output: string;
|
|
51
|
+
};
|
|
52
|
+
Date: {
|
|
53
|
+
input: Date;
|
|
54
|
+
output: Date;
|
|
55
|
+
};
|
|
56
|
+
DateTime: {
|
|
57
|
+
input: Date;
|
|
58
|
+
output: Date;
|
|
59
|
+
};
|
|
60
|
+
EmailAddress: {
|
|
61
|
+
input: string;
|
|
62
|
+
output: string;
|
|
63
|
+
};
|
|
64
|
+
JSON: {
|
|
65
|
+
input: any;
|
|
66
|
+
output: any;
|
|
67
|
+
};
|
|
68
|
+
JSONObject: {
|
|
69
|
+
input: any;
|
|
70
|
+
output: any;
|
|
71
|
+
};
|
|
72
|
+
PhoneNumber: {
|
|
73
|
+
input: string;
|
|
74
|
+
output: string;
|
|
75
|
+
};
|
|
76
|
+
Set: {
|
|
77
|
+
input: any;
|
|
78
|
+
output: any[];
|
|
79
|
+
};
|
|
80
|
+
URL: {
|
|
81
|
+
input: string;
|
|
82
|
+
output: string;
|
|
83
|
+
};
|
|
84
|
+
Void: {
|
|
85
|
+
input: void;
|
|
86
|
+
output: void;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
export declare enum AppInstanceStatus {
|
|
90
|
+
Active = "Active",
|
|
91
|
+
Failing = "Failing",
|
|
92
|
+
Inactive = "Inactive"
|
|
93
|
+
}
|
|
94
|
+
export type CasasBahiaInstance = {
|
|
95
|
+
credentialId?: Maybe<Scalars['ID']['output']>;
|
|
96
|
+
cronJobId?: Maybe<Scalars['ID']['output']>;
|
|
97
|
+
id: Scalars['ID']['output'];
|
|
98
|
+
isTest?: Maybe<Scalars['Boolean']['output']>;
|
|
99
|
+
name: Scalars['String']['output'];
|
|
100
|
+
type: CasasBahiaInstanceType;
|
|
101
|
+
};
|
|
102
|
+
export declare enum CasasBahiaInstanceType {
|
|
103
|
+
PosVenda = "POS_VENDA",
|
|
104
|
+
PreVenda = "PRE_VENDA",
|
|
105
|
+
Reclamacao = "RECLAMACAO"
|
|
106
|
+
}
|
|
107
|
+
export type CreateCasasBahiaInstanceInput = {
|
|
108
|
+
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
109
|
+
isTest?: InputMaybe<Scalars['Boolean']['input']>;
|
|
110
|
+
name: Scalars['String']['input'];
|
|
111
|
+
type: CasasBahiaInstanceType;
|
|
112
|
+
};
|
|
113
|
+
export type Mutation = {
|
|
114
|
+
createCasasBahiaInstance?: Maybe<CasasBahiaInstance>;
|
|
115
|
+
removeCasasBahiaInstance?: Maybe<CasasBahiaInstance>;
|
|
116
|
+
updateCasasBahiaInstance?: Maybe<CasasBahiaInstance>;
|
|
117
|
+
version?: Maybe<Scalars['String']['output']>;
|
|
118
|
+
};
|
|
119
|
+
export type MutationCreateCasasBahiaInstanceArgs = {
|
|
120
|
+
input: CreateCasasBahiaInstanceInput;
|
|
121
|
+
};
|
|
122
|
+
export type MutationRemoveCasasBahiaInstanceArgs = {
|
|
123
|
+
input: RemoveCasasBahiaInstanceInput;
|
|
124
|
+
};
|
|
125
|
+
export type MutationUpdateCasasBahiaInstanceArgs = {
|
|
126
|
+
input: UpdateCasasBahiaInstanceInput;
|
|
127
|
+
};
|
|
128
|
+
export type PageInfo = {
|
|
129
|
+
hasNext: Scalars['Boolean']['output'];
|
|
130
|
+
next?: Maybe<Scalars['Base64']['output']>;
|
|
131
|
+
};
|
|
132
|
+
export type Query = {
|
|
133
|
+
app?: Maybe<Scalars['DRN']['output']>;
|
|
134
|
+
getCasasBahiaInstance?: Maybe<CasasBahiaInstance>;
|
|
135
|
+
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
136
|
+
listCasasBahiaInstances: Array<CasasBahiaInstance>;
|
|
137
|
+
version?: Maybe<Scalars['String']['output']>;
|
|
138
|
+
};
|
|
139
|
+
export type QueryGetCasasBahiaInstanceArgs = {
|
|
140
|
+
id: Scalars['ID']['input'];
|
|
141
|
+
};
|
|
142
|
+
export type RemoveCasasBahiaInstanceInput = {
|
|
143
|
+
id: Scalars['ID']['input'];
|
|
144
|
+
};
|
|
145
|
+
export declare enum Typenames {
|
|
146
|
+
Any = "Any",
|
|
147
|
+
CasasBahiaInstance = "CasasBahiaInstance",
|
|
148
|
+
GraphqlConnections = "GraphqlConnections",
|
|
149
|
+
GraphqlSubscriptions = "GraphqlSubscriptions"
|
|
150
|
+
}
|
|
151
|
+
export type UpdateCasasBahiaInstanceInput = {
|
|
152
|
+
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
153
|
+
id: Scalars['ID']['input'];
|
|
154
|
+
isTest?: InputMaybe<Scalars['Boolean']['input']>;
|
|
155
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
156
|
+
};
|
|
157
|
+
export type CasasbahiaInstanceFragment = Pick<CasasBahiaInstance, 'id' | 'name' | 'credentialId' | 'cronJobId'>;
|
|
158
|
+
export type GetCasasBahiaInstanceQueryVariables = Exact<{
|
|
159
|
+
id: Scalars['ID']['input'];
|
|
160
|
+
}>;
|
|
161
|
+
export type GetCasasBahiaInstanceQuery = {
|
|
162
|
+
getCasasBahiaInstance?: Maybe<CasasbahiaInstanceFragment>;
|
|
163
|
+
};
|
|
164
|
+
export type ListCasasBahiaInstancesQueryVariables = Exact<{
|
|
165
|
+
[key: string]: never;
|
|
166
|
+
}>;
|
|
167
|
+
export type ListCasasBahiaInstancesQuery = {
|
|
168
|
+
listCasasBahiaInstances: Array<CasasbahiaInstanceFragment>;
|
|
169
|
+
};
|
|
170
|
+
export type CreateCasasBahiaInstanceMutationVariables = Exact<{
|
|
171
|
+
input: CreateCasasBahiaInstanceInput;
|
|
172
|
+
}>;
|
|
173
|
+
export type CreateCasasBahiaInstanceMutation = {
|
|
174
|
+
createCasasBahiaInstance?: Maybe<CasasbahiaInstanceFragment>;
|
|
175
|
+
};
|
|
176
|
+
export type UpdateCasasBahiaInstanceMutationVariables = Exact<{
|
|
177
|
+
input: UpdateCasasBahiaInstanceInput;
|
|
178
|
+
}>;
|
|
179
|
+
export type UpdateCasasBahiaInstanceMutation = {
|
|
180
|
+
updateCasasBahiaInstance?: Maybe<CasasbahiaInstanceFragment>;
|
|
181
|
+
};
|
|
182
|
+
export type RemoveCasasBahiaInstanceMutationVariables = Exact<{
|
|
183
|
+
input: RemoveCasasBahiaInstanceInput;
|
|
184
|
+
}>;
|
|
185
|
+
export type RemoveCasasBahiaInstanceMutation = {
|
|
186
|
+
removeCasasBahiaInstance?: Maybe<CasasbahiaInstanceFragment>;
|
|
187
|
+
};
|
|
188
|
+
export declare const CasasbahiaInstanceFragmentDoc = "\n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
|
|
189
|
+
export declare const GetCasasBahiaInstanceDocument = "\n query getCasasBahiaInstance($id: ID!) {\n getCasasBahiaInstance(id: $id) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
|
|
190
|
+
export declare const ListCasasBahiaInstancesDocument = "\n query listCasasBahiaInstances {\n listCasasBahiaInstances {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
|
|
191
|
+
export declare const CreateCasasBahiaInstanceDocument = "\n mutation createCasasBahiaInstance($input: CreateCasasBahiaInstanceInput!) {\n createCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
|
|
192
|
+
export declare const UpdateCasasBahiaInstanceDocument = "\n mutation updateCasasBahiaInstance($input: UpdateCasasBahiaInstanceInput!) {\n updateCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
|
|
193
|
+
export declare const RemoveCasasBahiaInstanceDocument = "\n mutation removeCasasBahiaInstance($input: RemoveCasasBahiaInstanceInput!) {\n removeCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
|
|
194
|
+
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
195
|
+
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
196
|
+
getCasasBahiaInstance(variables: GetCasasBahiaInstanceQueryVariables, options?: C): Promise<GetCasasBahiaInstanceQuery>;
|
|
197
|
+
listCasasBahiaInstances(variables?: ListCasasBahiaInstancesQueryVariables, options?: C): Promise<ListCasasBahiaInstancesQuery>;
|
|
198
|
+
createCasasBahiaInstance(variables: CreateCasasBahiaInstanceMutationVariables, options?: C): Promise<CreateCasasBahiaInstanceMutation>;
|
|
199
|
+
updateCasasBahiaInstance(variables: UpdateCasasBahiaInstanceMutationVariables, options?: C): Promise<UpdateCasasBahiaInstanceMutation>;
|
|
200
|
+
removeCasasBahiaInstance(variables: RemoveCasasBahiaInstanceMutationVariables, options?: C): Promise<RemoveCasasBahiaInstanceMutation>;
|
|
201
|
+
};
|
|
202
|
+
export type Sdk = ReturnType<typeof getSdk>;
|
|
203
|
+
export declare const serviceName = "@droz/casasbahia";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.RemoveCasasBahiaInstanceDocument = exports.UpdateCasasBahiaInstanceDocument = exports.CreateCasasBahiaInstanceDocument = exports.ListCasasBahiaInstancesDocument = exports.GetCasasBahiaInstanceDocument = exports.CasasbahiaInstanceFragmentDoc = exports.Typenames = exports.CasasBahiaInstanceType = exports.AppInstanceStatus = void 0;
|
|
5
|
+
var AppInstanceStatus;
|
|
6
|
+
(function (AppInstanceStatus) {
|
|
7
|
+
AppInstanceStatus["Active"] = "Active";
|
|
8
|
+
AppInstanceStatus["Failing"] = "Failing";
|
|
9
|
+
AppInstanceStatus["Inactive"] = "Inactive";
|
|
10
|
+
})(AppInstanceStatus || (exports.AppInstanceStatus = AppInstanceStatus = {}));
|
|
11
|
+
var CasasBahiaInstanceType;
|
|
12
|
+
(function (CasasBahiaInstanceType) {
|
|
13
|
+
CasasBahiaInstanceType["PosVenda"] = "POS_VENDA";
|
|
14
|
+
CasasBahiaInstanceType["PreVenda"] = "PRE_VENDA";
|
|
15
|
+
CasasBahiaInstanceType["Reclamacao"] = "RECLAMACAO";
|
|
16
|
+
})(CasasBahiaInstanceType || (exports.CasasBahiaInstanceType = CasasBahiaInstanceType = {}));
|
|
17
|
+
var Typenames;
|
|
18
|
+
(function (Typenames) {
|
|
19
|
+
Typenames["Any"] = "Any";
|
|
20
|
+
Typenames["CasasBahiaInstance"] = "CasasBahiaInstance";
|
|
21
|
+
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
22
|
+
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
23
|
+
})(Typenames || (exports.Typenames = Typenames = {}));
|
|
24
|
+
exports.CasasbahiaInstanceFragmentDoc = `
|
|
25
|
+
fragment casasbahiaInstance on CasasBahiaInstance {
|
|
26
|
+
id
|
|
27
|
+
name
|
|
28
|
+
credentialId
|
|
29
|
+
cronJobId
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
exports.GetCasasBahiaInstanceDocument = `
|
|
33
|
+
query getCasasBahiaInstance($id: ID!) {
|
|
34
|
+
getCasasBahiaInstance(id: $id) {
|
|
35
|
+
...casasbahiaInstance
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
${exports.CasasbahiaInstanceFragmentDoc}`;
|
|
39
|
+
exports.ListCasasBahiaInstancesDocument = `
|
|
40
|
+
query listCasasBahiaInstances {
|
|
41
|
+
listCasasBahiaInstances {
|
|
42
|
+
...casasbahiaInstance
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
${exports.CasasbahiaInstanceFragmentDoc}`;
|
|
46
|
+
exports.CreateCasasBahiaInstanceDocument = `
|
|
47
|
+
mutation createCasasBahiaInstance($input: CreateCasasBahiaInstanceInput!) {
|
|
48
|
+
createCasasBahiaInstance(input: $input) {
|
|
49
|
+
...casasbahiaInstance
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
${exports.CasasbahiaInstanceFragmentDoc}`;
|
|
53
|
+
exports.UpdateCasasBahiaInstanceDocument = `
|
|
54
|
+
mutation updateCasasBahiaInstance($input: UpdateCasasBahiaInstanceInput!) {
|
|
55
|
+
updateCasasBahiaInstance(input: $input) {
|
|
56
|
+
...casasbahiaInstance
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
${exports.CasasbahiaInstanceFragmentDoc}`;
|
|
60
|
+
exports.RemoveCasasBahiaInstanceDocument = `
|
|
61
|
+
mutation removeCasasBahiaInstance($input: RemoveCasasBahiaInstanceInput!) {
|
|
62
|
+
removeCasasBahiaInstance(input: $input) {
|
|
63
|
+
...casasbahiaInstance
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
${exports.CasasbahiaInstanceFragmentDoc}`;
|
|
67
|
+
function getSdk(requester) {
|
|
68
|
+
return {
|
|
69
|
+
getCasasBahiaInstance(variables, options) {
|
|
70
|
+
return requester(exports.GetCasasBahiaInstanceDocument, variables, options);
|
|
71
|
+
},
|
|
72
|
+
listCasasBahiaInstances(variables, options) {
|
|
73
|
+
return requester(exports.ListCasasBahiaInstancesDocument, variables, options);
|
|
74
|
+
},
|
|
75
|
+
createCasasBahiaInstance(variables, options) {
|
|
76
|
+
return requester(exports.CreateCasasBahiaInstanceDocument, variables, options);
|
|
77
|
+
},
|
|
78
|
+
updateCasasBahiaInstance(variables, options) {
|
|
79
|
+
return requester(exports.UpdateCasasBahiaInstanceDocument, variables, options);
|
|
80
|
+
},
|
|
81
|
+
removeCasasBahiaInstance(variables, options) {
|
|
82
|
+
return requester(exports.RemoveCasasBahiaInstanceDocument, variables, options);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
exports.getSdk = getSdk;
|
|
87
|
+
exports.serviceName = '@droz/casasbahia';
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -134,6 +134,7 @@ export type DrozChatChannel = {
|
|
|
134
134
|
};
|
|
135
135
|
export type DrozChatCustomer = {
|
|
136
136
|
createdAt: Scalars['String']['output'];
|
|
137
|
+
document?: Maybe<Scalars['String']['output']>;
|
|
137
138
|
email: Scalars['String']['output'];
|
|
138
139
|
id: Scalars['ID']['output'];
|
|
139
140
|
name: Scalars['String']['output'];
|
|
@@ -406,7 +407,7 @@ export type RemoveDrozChatChannelMutationVariables = Exact<{
|
|
|
406
407
|
export type RemoveDrozChatChannelMutation = {
|
|
407
408
|
removeDrozChatChannel?: Maybe<DrozChatChannelFragment>;
|
|
408
409
|
};
|
|
409
|
-
export type CustomerFragment = Pick<DrozChatCustomer, 'id' | 'name' | 'email' | 'phone' | 'createdAt' | 'updatedAt'>;
|
|
410
|
+
export type CustomerFragment = Pick<DrozChatCustomer, 'id' | 'name' | 'email' | 'phone' | 'document' | 'createdAt' | 'updatedAt'>;
|
|
410
411
|
export type DrozChatAgentFragment = Pick<DrozChatAgent, 'id' | 'name'>;
|
|
411
412
|
export type TicketTriggerAppFragment = (Pick<TicketTriggerApp, 'drn' | 'name' | 'appId' | 'appName' | 'appColor'> & {
|
|
412
413
|
channels: Array<Pick<TicketTriggerAppChannel, 'id' | 'main' | 'readonly' | 'hidden' | 'sources' | 'unreadMessagesCount'>>;
|
|
@@ -555,9 +556,9 @@ export type OnTicketMessageSubscription = {
|
|
|
555
556
|
};
|
|
556
557
|
export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n createdAt\n updatedAt\n}\n ";
|
|
557
558
|
export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
558
|
-
export declare const CustomerFragmentDoc = "\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n ";
|
|
559
|
+
export declare const CustomerFragmentDoc = "\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n ";
|
|
559
560
|
export declare const TicketTriggerAppFragmentDoc = "\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 ";
|
|
560
|
-
export declare const TicketFragmentDoc = "\n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
561
|
+
export declare const TicketFragmentDoc = "\n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
561
562
|
export declare const TicketMessageFragmentDoc = "\n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
562
563
|
export declare const SessionAttributesFragmentDoc = "\n fragment sessionAttributes on TicketSessionAttributes {\n order\n organization\n products\n}\n ";
|
|
563
564
|
export declare const GetDrozChatChannelDocument = "\n query getDrozChatChannel($id: ID!) {\n getDrozChatChannel(id: $id) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n createdAt\n updatedAt\n}\n ";
|
|
@@ -565,23 +566,23 @@ export declare const ListDrozChatChannelsDocument = "\n query listDrozChatCha
|
|
|
565
566
|
export declare const CreateDrozChatChannelDocument = "\n mutation createDrozChatChannel($input: CreateDrozChatChannelInput!) {\n createDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n createdAt\n updatedAt\n}\n ";
|
|
566
567
|
export declare const UpdateDrozChatChannelDocument = "\n mutation updateDrozChatChannel($input: UpdateDrozChatChannelInput!) {\n updateDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n createdAt\n updatedAt\n}\n ";
|
|
567
568
|
export declare const RemoveDrozChatChannelDocument = "\n mutation removeDrozChatChannel($input: RemoveDrozChatChannelInput!) {\n removeDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n createdAt\n updatedAt\n}\n ";
|
|
568
|
-
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 sessionAttributes on TicketSessionAttributes {\n order\n organization\n products\n}\n ";
|
|
569
|
-
export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $assigneeId: ID, $next: Base64) {\n listTickets(state: $state, assigneeId: $assigneeId, 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 state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
570
|
-
export declare const ListTicketsInQueueDocument = "\n query listTicketsInQueue($next: Base64) {\n listTicketsInQueue(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 state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
571
|
-
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 state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
572
|
-
export declare const ListTicketsClosedDocument = "\n query listTicketsClosed($next: Base64) {\n listTicketsClosed(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 state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
569
|
+
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 sessionAttributes on TicketSessionAttributes {\n order\n organization\n products\n}\n ";
|
|
570
|
+
export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $assigneeId: ID, $next: Base64) {\n listTickets(state: $state, assigneeId: $assigneeId, 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 state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
571
|
+
export declare const ListTicketsInQueueDocument = "\n query listTicketsInQueue($next: Base64) {\n listTicketsInQueue(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 state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
572
|
+
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 state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
573
|
+
export declare const ListTicketsClosedDocument = "\n query listTicketsClosed($next: Base64) {\n listTicketsClosed(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 state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
573
574
|
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 channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
574
|
-
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
575
|
+
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
575
576
|
export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
|
|
576
577
|
export declare const CreateTicketMessageDocument = "\n mutation createTicketMessage($input: CreateTicketMessageInput!) {\n createTicketMessage(input: $input) {\n ...ticketMessage\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
577
578
|
export declare const CreateTicketMessageForStorageDocument = "\n mutation createTicketMessageForStorage($input: CreateTicketMessageForStorageInput!) {\n createTicketMessageForStorage(input: $input) {\n ...ticketMessage\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
578
|
-
export declare const AssignTicketDocument = "\n mutation assignTicket($input: AssignTicketInput!) {\n assignTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
579
|
-
export declare const AssignTicketMyselfDocument = "\n mutation assignTicketMyself($input: AssignTicketMyselfInput!) {\n assignTicketMyself(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
580
|
-
export declare const UnassignTicketDocument = "\n mutation unassignTicket($input: UnassignTicketInput!) {\n unassignTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
581
|
-
export declare const CloseTicketDocument = "\n mutation closeTicket($input: CloseTicketInput!) {\n closeTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
582
|
-
export declare const OnTicketInQueueDocument = "\n subscription onTicketInQueue {\n onTicketInQueue {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
583
|
-
export declare const OnTicketInProgressMineDocument = "\n subscription onTicketInProgressMine {\n onTicketInProgressMine {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
584
|
-
export declare const OnTicketClosedDocument = "\n subscription onTicketClosed {\n onTicketClosed {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\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 ";
|
|
579
|
+
export declare const AssignTicketDocument = "\n mutation assignTicket($input: AssignTicketInput!) {\n assignTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
580
|
+
export declare const AssignTicketMyselfDocument = "\n mutation assignTicketMyself($input: AssignTicketMyselfInput!) {\n assignTicketMyself(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
581
|
+
export declare const UnassignTicketDocument = "\n mutation unassignTicket($input: UnassignTicketInput!) {\n unassignTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
582
|
+
export declare const CloseTicketDocument = "\n mutation closeTicket($input: CloseTicketInput!) {\n closeTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
583
|
+
export declare const OnTicketInQueueDocument = "\n subscription onTicketInQueue {\n onTicketInQueue {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
584
|
+
export declare const OnTicketInProgressMineDocument = "\n subscription onTicketInProgressMine {\n onTicketInProgressMine {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
585
|
+
export declare const OnTicketClosedDocument = "\n subscription onTicketClosed {\n onTicketClosed {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 ";
|
|
585
586
|
export declare const OnTicketMessageDocument = "\n subscription onTicketMessage($ticketId: ID!) {\n onTicketMessage(ticketId: $ticketId) {\n message {\n ...ticketMessage\n }\n action\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
586
587
|
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
587
588
|
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
package/src/sdks/drozchat.js
CHANGED
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -248,6 +248,7 @@ export type CronJob = {
|
|
|
248
248
|
export type Customer = {
|
|
249
249
|
apps?: Maybe<Array<App>>;
|
|
250
250
|
createdAt: Scalars['DateTime']['output'];
|
|
251
|
+
document?: Maybe<Scalars['String']['output']>;
|
|
251
252
|
email: Scalars['String']['output'];
|
|
252
253
|
externalId?: Maybe<Scalars['ID']['output']>;
|
|
253
254
|
id: Scalars['ID']['output'];
|
|
@@ -256,6 +257,7 @@ export type Customer = {
|
|
|
256
257
|
updatedAt: Scalars['DateTime']['output'];
|
|
257
258
|
};
|
|
258
259
|
export declare enum CustomerIndex {
|
|
260
|
+
ByDocument = "byDocument",
|
|
259
261
|
ByEmail = "byEmail",
|
|
260
262
|
ByExternalId = "byExternalId",
|
|
261
263
|
ByPhone = "byPhone"
|
|
@@ -268,6 +270,7 @@ export type EditStateMachineConfigInput = {
|
|
|
268
270
|
id: Scalars['ID']['input'];
|
|
269
271
|
};
|
|
270
272
|
export type GetOrCreateCustomerInput = {
|
|
273
|
+
document?: InputMaybe<Scalars['String']['input']>;
|
|
271
274
|
email?: InputMaybe<Scalars['EmailAddress']['input']>;
|
|
272
275
|
externalId?: InputMaybe<Scalars['ID']['input']>;
|
|
273
276
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -923,7 +926,7 @@ export type RemoveCredentialsMutationVariables = Exact<{
|
|
|
923
926
|
export type RemoveCredentialsMutation = {
|
|
924
927
|
removeCredentials?: Maybe<SafeCredentialsFragment>;
|
|
925
928
|
};
|
|
926
|
-
export type CustomerFragment = (Pick<Customer, 'id' | 'name' | 'email' | 'phone' | 'createdAt' | 'updatedAt'> & {
|
|
929
|
+
export type CustomerFragment = (Pick<Customer, 'id' | 'name' | 'email' | 'phone' | 'document' | 'createdAt' | 'updatedAt'> & {
|
|
927
930
|
apps?: Maybe<Array<Pick<App, 'id' | 'name'>>>;
|
|
928
931
|
});
|
|
929
932
|
export type GetCustomerQueryVariables = Exact<{
|
|
@@ -1140,7 +1143,7 @@ export declare const AppFragmentDoc = "\n fragment app on App {\n id\n type
|
|
|
1140
1143
|
export declare const AppInstanceFragmentDoc = "\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
1141
1144
|
export declare const AppWithInstancesFragmentDoc = "\n fragment appWithInstances on App {\n ...app\n instances {\n ...appInstance\n }\n}\n \n fragment app on App {\n id\n type\n name\n description\n color\n channels {\n id\n sources\n main\n readonly\n hidden\n }\n}\n \n\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
1142
1145
|
export declare const SafeCredentialsFragmentDoc = "\n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n createdAt\n updatedAt\n}\n ";
|
|
1143
|
-
export declare const CustomerFragmentDoc = "\n fragment customer on Customer {\n id\n name\n email\n phone\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1146
|
+
export declare const CustomerFragmentDoc = "\n fragment customer on Customer {\n id\n name\n email\n phone\n document\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1144
1147
|
export declare const CronJobFragmentDoc = "\n fragment cronJob on CronJob {\n appId\n id\n description\n expression\n event\n payload\n status\n timestamp\n runs\n}\n ";
|
|
1145
1148
|
export declare const PolicyFragmentDoc = "\n fragment policy on Policy {\n id\n action\n effect\n resource\n}\n ";
|
|
1146
1149
|
export declare const RoleFragmentDoc = "\n fragment role on Role {\n id\n name\n policies {\n ...policy\n }\n}\n \n fragment policy on Policy {\n id\n action\n effect\n resource\n}\n ";
|
|
@@ -1177,9 +1180,9 @@ export declare const CountCredentialsDocument = "\n query countCredentials {\
|
|
|
1177
1180
|
export declare const CreateCredentialsDocument = "\n mutation createCredentials($input: CreateCredentialsInput!) {\n createCredentials(input: $input) {\n ...safeCredentials\n }\n}\n \n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n createdAt\n updatedAt\n}\n ";
|
|
1178
1181
|
export declare const UpdateCredentialsDocument = "\n mutation updateCredentials($input: UpdateCredentialsInput!) {\n updateCredentials(input: $input) {\n ...safeCredentials\n }\n}\n \n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n createdAt\n updatedAt\n}\n ";
|
|
1179
1182
|
export declare const RemoveCredentialsDocument = "\n mutation removeCredentials($input: RemoveCredentialsInput!) {\n removeCredentials(input: $input) {\n ...safeCredentials\n }\n}\n \n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n createdAt\n updatedAt\n}\n ";
|
|
1180
|
-
export declare const GetCustomerDocument = "\n query getCustomer($identifier: ID!) {\n getCustomer(identifier: $identifier) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1181
|
-
export declare const ListCustomersDocument = "\n query listCustomers($next: Base64) {\n listCustomers(next: $next) {\n nodes {\n ...customer\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1182
|
-
export declare const GetOrCreateCustomerDocument = "\n mutation getOrCreateCustomer($input: GetOrCreateCustomerInput!) {\n getOrCreateCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1183
|
+
export declare const GetCustomerDocument = "\n query getCustomer($identifier: ID!) {\n getCustomer(identifier: $identifier) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n document\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1184
|
+
export declare const ListCustomersDocument = "\n query listCustomers($next: Base64) {\n listCustomers(next: $next) {\n nodes {\n ...customer\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n document\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1185
|
+
export declare const GetOrCreateCustomerDocument = "\n mutation getOrCreateCustomer($input: GetOrCreateCustomerInput!) {\n getOrCreateCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n document\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1183
1186
|
export declare const GetCronJobDocument = "\n query getCronJob($id: ID!) {\n getCronJob(id: $id) {\n ...cronJob\n }\n}\n \n fragment cronJob on CronJob {\n appId\n id\n description\n expression\n event\n payload\n status\n timestamp\n runs\n}\n ";
|
|
1184
1187
|
export declare const ListCronJobsDocument = "\n query listCronJobs {\n listCronJobs {\n ...cronJob\n }\n}\n \n fragment cronJob on CronJob {\n appId\n id\n description\n expression\n event\n payload\n status\n timestamp\n runs\n}\n ";
|
|
1185
1188
|
export declare const CreateCronJobDocument = "\n mutation createCronJob($input: CreateCronJobInput!) {\n createCronJob(input: $input) {\n ...cronJob\n }\n}\n \n fragment cronJob on CronJob {\n appId\n id\n description\n expression\n event\n payload\n status\n timestamp\n runs\n}\n ";
|
|
@@ -1187,8 +1190,8 @@ export declare const UpdateCronJobDocument = "\n mutation updateCronJob($inpu
|
|
|
1187
1190
|
export declare const RemoveCronJobDocument = "\n mutation removeCronJob($input: RemoveCronJobInput!) {\n removeCronJob(input: $input) {\n ...cronJob\n }\n}\n \n fragment cronJob on CronJob {\n appId\n id\n description\n expression\n event\n payload\n status\n timestamp\n runs\n}\n ";
|
|
1188
1191
|
export declare const ListSystemRolesDocument = "\n query listSystemRoles {\n listSystemRoles {\n ...role\n }\n}\n \n fragment role on Role {\n id\n name\n policies {\n ...policy\n }\n}\n \n fragment policy on Policy {\n id\n action\n effect\n resource\n}\n ";
|
|
1189
1192
|
export declare const GetSystemRoleDocument = "\n query getSystemRole($id: ID!) {\n getSystemRole(id: $id) {\n ...role\n }\n}\n \n fragment role on Role {\n id\n name\n policies {\n ...policy\n }\n}\n \n fragment policy on Policy {\n id\n action\n effect\n resource\n}\n ";
|
|
1190
|
-
export declare const StartSessionDocument = "\n mutation startSession($input: StartSessionInput!, $withCustomer: Boolean = true) {\n startSession(input: $input) {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n customer @include(if: $withCustomer) {\n ...customer\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1191
|
-
export declare const GetSessionDocument = "\n query getSession($sessionId: ID!, $withCustomer: Boolean = true, $withAttributes: Boolean = true) {\n getSession(sessionId: $sessionId) {\n ...session\n customer @include(if: $withCustomer) {\n ...customer\n }\n attributes @include(if: $withAttributes)\n }\n}\n \n fragment session on Session {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1193
|
+
export declare const StartSessionDocument = "\n mutation startSession($input: StartSessionInput!, $withCustomer: Boolean = true) {\n startSession(input: $input) {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n customer @include(if: $withCustomer) {\n ...customer\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n document\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1194
|
+
export declare const GetSessionDocument = "\n query getSession($sessionId: ID!, $withCustomer: Boolean = true, $withAttributes: Boolean = true) {\n getSession(sessionId: $sessionId) {\n ...session\n customer @include(if: $withCustomer) {\n ...customer\n }\n attributes @include(if: $withAttributes)\n }\n}\n \n fragment session on Session {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n document\n apps {\n id\n name\n }\n createdAt\n updatedAt\n}\n ";
|
|
1192
1195
|
export declare const SetSessionAttributeDocument = "\n mutation setSessionAttribute($input: SetSessionAttributeInput!) {\n setSessionAttribute(input: $input)\n}\n ";
|
|
1193
1196
|
export declare const PatchSessionAttributesDocument = "\n mutation patchSessionAttributes($input: PatchSessionAttributesInput!) {\n patchSessionAttributes(input: $input)\n}\n ";
|
|
1194
1197
|
export declare const GetStateMachineDocument = "\n query getStateMachine($id: ID!, $versionId: ID!) {\n getStateMachineConfig(id: $id, versionId: $versionId) {\n ...stateMachineConfig\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
package/src/sdks/nucleus.js
CHANGED
|
@@ -22,6 +22,7 @@ var CredentialsType;
|
|
|
22
22
|
})(CredentialsType || (exports.CredentialsType = CredentialsType = {}));
|
|
23
23
|
var CustomerIndex;
|
|
24
24
|
(function (CustomerIndex) {
|
|
25
|
+
CustomerIndex["ByDocument"] = "byDocument";
|
|
25
26
|
CustomerIndex["ByEmail"] = "byEmail";
|
|
26
27
|
CustomerIndex["ByExternalId"] = "byExternalId";
|
|
27
28
|
CustomerIndex["ByPhone"] = "byPhone";
|
|
@@ -134,6 +135,7 @@ exports.CustomerFragmentDoc = `
|
|
|
134
135
|
name
|
|
135
136
|
email
|
|
136
137
|
phone
|
|
138
|
+
document
|
|
137
139
|
apps {
|
|
138
140
|
id
|
|
139
141
|
name
|
|
@@ -92,12 +92,14 @@ export declare enum AppInstanceStatus {
|
|
|
92
92
|
Inactive = "Inactive"
|
|
93
93
|
}
|
|
94
94
|
export type CreateReclameAquiInstanceInput = {
|
|
95
|
+
companyId: Scalars['String']['input'];
|
|
95
96
|
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
96
97
|
name: Scalars['String']['input'];
|
|
97
98
|
};
|
|
98
99
|
export type Mutation = {
|
|
99
100
|
createReclameAquiInstance?: Maybe<ReclameAquiInstance>;
|
|
100
101
|
removeReclameAquiInstance?: Maybe<ReclameAquiInstance>;
|
|
102
|
+
sendReclameAquiModerationRequest?: Maybe<ReclameAquiModerationRequest>;
|
|
101
103
|
updateReclameAquiInstance?: Maybe<ReclameAquiInstance>;
|
|
102
104
|
version?: Maybe<Scalars['String']['output']>;
|
|
103
105
|
};
|
|
@@ -107,6 +109,9 @@ export type MutationCreateReclameAquiInstanceArgs = {
|
|
|
107
109
|
export type MutationRemoveReclameAquiInstanceArgs = {
|
|
108
110
|
input: RemoveReclameAquiInstanceInput;
|
|
109
111
|
};
|
|
112
|
+
export type MutationSendReclameAquiModerationRequestArgs = {
|
|
113
|
+
input: SendReclameAquiModerationRequestInput;
|
|
114
|
+
};
|
|
110
115
|
export type MutationUpdateReclameAquiInstanceArgs = {
|
|
111
116
|
input: UpdateReclameAquiInstanceInput;
|
|
112
117
|
};
|
|
@@ -118,13 +123,23 @@ export type Query = {
|
|
|
118
123
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
119
124
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
120
125
|
getReclameAquiInstance?: Maybe<ReclameAquiInstance>;
|
|
126
|
+
listReclameAquiCompanies: Array<ReclameAquiCompany>;
|
|
121
127
|
listReclameAquiInstances: Array<ReclameAquiInstance>;
|
|
128
|
+
listReclameAquiModerationReasons: Array<ReclameAquiModerationReason>;
|
|
122
129
|
version?: Maybe<Scalars['String']['output']>;
|
|
123
130
|
};
|
|
124
131
|
export type QueryGetReclameAquiInstanceArgs = {
|
|
125
132
|
id: Scalars['ID']['input'];
|
|
126
133
|
};
|
|
134
|
+
export type QueryListReclameAquiCompaniesArgs = {
|
|
135
|
+
credentialId: Scalars['ID']['input'];
|
|
136
|
+
};
|
|
137
|
+
export type ReclameAquiCompany = {
|
|
138
|
+
companyId: Scalars['ID']['output'];
|
|
139
|
+
name: Scalars['String']['output'];
|
|
140
|
+
};
|
|
127
141
|
export type ReclameAquiInstance = {
|
|
142
|
+
companyId: Scalars['String']['output'];
|
|
128
143
|
createdAt: Scalars['DateTime']['output'];
|
|
129
144
|
credentialId?: Maybe<Scalars['ID']['output']>;
|
|
130
145
|
cronJobId?: Maybe<Scalars['ID']['output']>;
|
|
@@ -134,9 +149,22 @@ export type ReclameAquiInstance = {
|
|
|
134
149
|
status?: Maybe<AppInstanceStatus>;
|
|
135
150
|
updatedAt: Scalars['DateTime']['output'];
|
|
136
151
|
};
|
|
152
|
+
export type ReclameAquiModerationReason = {
|
|
153
|
+
code: Scalars['ID']['output'];
|
|
154
|
+
description: Scalars['String']['output'];
|
|
155
|
+
};
|
|
156
|
+
export type ReclameAquiModerationRequest = {
|
|
157
|
+
success: Scalars['Boolean']['output'];
|
|
158
|
+
};
|
|
137
159
|
export type RemoveReclameAquiInstanceInput = {
|
|
138
160
|
id: Scalars['ID']['input'];
|
|
139
161
|
};
|
|
162
|
+
export type SendReclameAquiModerationRequestInput = {
|
|
163
|
+
moderationAttachmentUrl?: InputMaybe<Scalars['String']['input']>;
|
|
164
|
+
moderationReasonCode: Scalars['ID']['input'];
|
|
165
|
+
moderationReasonDescription: Scalars['String']['input'];
|
|
166
|
+
sessionId: Scalars['ID']['input'];
|
|
167
|
+
};
|
|
140
168
|
export declare enum Typenames {
|
|
141
169
|
Any = "Any",
|
|
142
170
|
GraphqlConnections = "GraphqlConnections",
|
|
@@ -144,11 +172,12 @@ export declare enum Typenames {
|
|
|
144
172
|
ReclameAquiInstance = "ReclameAquiInstance"
|
|
145
173
|
}
|
|
146
174
|
export type UpdateReclameAquiInstanceInput = {
|
|
175
|
+
companyId?: InputMaybe<Scalars['String']['input']>;
|
|
147
176
|
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
148
177
|
id: Scalars['ID']['input'];
|
|
149
178
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
150
179
|
};
|
|
151
|
-
export type ReclameAquiInstanceFragment = Pick<ReclameAquiInstance, 'id' | 'name' | 'credentialId' | 'cronJobId' | 'status' | 'failingReason' | 'createdAt' | 'updatedAt'>;
|
|
180
|
+
export type ReclameAquiInstanceFragment = Pick<ReclameAquiInstance, 'id' | 'name' | 'credentialId' | 'companyId' | 'cronJobId' | 'status' | 'failingReason' | 'createdAt' | 'updatedAt'>;
|
|
152
181
|
export type GetReclameAquiInstanceQueryVariables = Exact<{
|
|
153
182
|
id: Scalars['ID']['input'];
|
|
154
183
|
}>;
|
|
@@ -161,6 +190,18 @@ export type ListReclameAquiInstancesQueryVariables = Exact<{
|
|
|
161
190
|
export type ListReclameAquiInstancesQuery = {
|
|
162
191
|
listReclameAquiInstances: Array<ReclameAquiInstanceFragment>;
|
|
163
192
|
};
|
|
193
|
+
export type ListReclameAquiCompaniesQueryVariables = Exact<{
|
|
194
|
+
credentialId: Scalars['ID']['input'];
|
|
195
|
+
}>;
|
|
196
|
+
export type ListReclameAquiCompaniesQuery = {
|
|
197
|
+
listReclameAquiCompanies: Array<Pick<ReclameAquiCompany, 'companyId' | 'name'>>;
|
|
198
|
+
};
|
|
199
|
+
export type ListReclameAquiModerationReasonsQueryVariables = Exact<{
|
|
200
|
+
[key: string]: never;
|
|
201
|
+
}>;
|
|
202
|
+
export type ListReclameAquiModerationReasonsQuery = {
|
|
203
|
+
listReclameAquiModerationReasons: Array<Pick<ReclameAquiModerationReason, 'code' | 'description'>>;
|
|
204
|
+
};
|
|
164
205
|
export type CreateReclameAquiInstanceMutationVariables = Exact<{
|
|
165
206
|
input: CreateReclameAquiInstanceInput;
|
|
166
207
|
}>;
|
|
@@ -179,19 +220,31 @@ export type RemoveReclameAquiInstanceMutationVariables = Exact<{
|
|
|
179
220
|
export type RemoveReclameAquiInstanceMutation = {
|
|
180
221
|
removeReclameAquiInstance?: Maybe<ReclameAquiInstanceFragment>;
|
|
181
222
|
};
|
|
182
|
-
export
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
export
|
|
186
|
-
|
|
187
|
-
|
|
223
|
+
export type SendReclameAquiModerationRequestMutationVariables = Exact<{
|
|
224
|
+
input: SendReclameAquiModerationRequestInput;
|
|
225
|
+
}>;
|
|
226
|
+
export type SendReclameAquiModerationRequestMutation = {
|
|
227
|
+
sendReclameAquiModerationRequest?: Maybe<Pick<ReclameAquiModerationRequest, 'success'>>;
|
|
228
|
+
};
|
|
229
|
+
export declare const ReclameAquiInstanceFragmentDoc = "\n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
230
|
+
export declare const GetReclameAquiInstanceDocument = "\n query getReclameAquiInstance($id: ID!) {\n getReclameAquiInstance(id: $id) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
231
|
+
export declare const ListReclameAquiInstancesDocument = "\n query listReclameAquiInstances {\n listReclameAquiInstances {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
232
|
+
export declare const ListReclameAquiCompaniesDocument = "\n query listReclameAquiCompanies($credentialId: ID!) {\n listReclameAquiCompanies(credentialId: $credentialId) {\n companyId\n name\n }\n}\n ";
|
|
233
|
+
export declare const ListReclameAquiModerationReasonsDocument = "\n query listReclameAquiModerationReasons {\n listReclameAquiModerationReasons {\n code\n description\n }\n}\n ";
|
|
234
|
+
export declare const CreateReclameAquiInstanceDocument = "\n mutation createReclameAquiInstance($input: CreateReclameAquiInstanceInput!) {\n createReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
235
|
+
export declare const UpdateReclameAquiInstanceDocument = "\n mutation updateReclameAquiInstance($input: UpdateReclameAquiInstanceInput!) {\n updateReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
236
|
+
export declare const RemoveReclameAquiInstanceDocument = "\n mutation removeReclameAquiInstance($input: RemoveReclameAquiInstanceInput!) {\n removeReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
237
|
+
export declare const SendReclameAquiModerationRequestDocument = "\n mutation sendReclameAquiModerationRequest($input: SendReclameAquiModerationRequestInput!) {\n sendReclameAquiModerationRequest(input: $input) {\n success\n }\n}\n ";
|
|
188
238
|
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
189
239
|
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
190
240
|
getReclameAquiInstance(variables: GetReclameAquiInstanceQueryVariables, options?: C): Promise<GetReclameAquiInstanceQuery>;
|
|
191
241
|
listReclameAquiInstances(variables?: ListReclameAquiInstancesQueryVariables, options?: C): Promise<ListReclameAquiInstancesQuery>;
|
|
242
|
+
listReclameAquiCompanies(variables: ListReclameAquiCompaniesQueryVariables, options?: C): Promise<ListReclameAquiCompaniesQuery>;
|
|
243
|
+
listReclameAquiModerationReasons(variables?: ListReclameAquiModerationReasonsQueryVariables, options?: C): Promise<ListReclameAquiModerationReasonsQuery>;
|
|
192
244
|
createReclameAquiInstance(variables: CreateReclameAquiInstanceMutationVariables, options?: C): Promise<CreateReclameAquiInstanceMutation>;
|
|
193
245
|
updateReclameAquiInstance(variables: UpdateReclameAquiInstanceMutationVariables, options?: C): Promise<UpdateReclameAquiInstanceMutation>;
|
|
194
246
|
removeReclameAquiInstance(variables: RemoveReclameAquiInstanceMutationVariables, options?: C): Promise<RemoveReclameAquiInstanceMutation>;
|
|
247
|
+
sendReclameAquiModerationRequest(variables: SendReclameAquiModerationRequestMutationVariables, options?: C): Promise<SendReclameAquiModerationRequestMutation>;
|
|
195
248
|
};
|
|
196
249
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
197
250
|
export declare const serviceName = "@droz/reclameaqui";
|
package/src/sdks/reclameaqui.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.serviceName = exports.getSdk = exports.RemoveReclameAquiInstanceDocument = exports.UpdateReclameAquiInstanceDocument = exports.CreateReclameAquiInstanceDocument = exports.ListReclameAquiInstancesDocument = exports.GetReclameAquiInstanceDocument = exports.ReclameAquiInstanceFragmentDoc = exports.Typenames = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.SendReclameAquiModerationRequestDocument = exports.RemoveReclameAquiInstanceDocument = exports.UpdateReclameAquiInstanceDocument = exports.CreateReclameAquiInstanceDocument = exports.ListReclameAquiModerationReasonsDocument = exports.ListReclameAquiCompaniesDocument = exports.ListReclameAquiInstancesDocument = exports.GetReclameAquiInstanceDocument = exports.ReclameAquiInstanceFragmentDoc = exports.Typenames = exports.AppInstanceStatus = void 0;
|
|
5
5
|
var AppInstanceStatus;
|
|
6
6
|
(function (AppInstanceStatus) {
|
|
7
7
|
AppInstanceStatus["Active"] = "Active";
|
|
@@ -20,6 +20,7 @@ exports.ReclameAquiInstanceFragmentDoc = `
|
|
|
20
20
|
id
|
|
21
21
|
name
|
|
22
22
|
credentialId
|
|
23
|
+
companyId
|
|
23
24
|
cronJobId
|
|
24
25
|
status
|
|
25
26
|
failingReason
|
|
@@ -41,6 +42,22 @@ exports.ListReclameAquiInstancesDocument = `
|
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
${exports.ReclameAquiInstanceFragmentDoc}`;
|
|
45
|
+
exports.ListReclameAquiCompaniesDocument = `
|
|
46
|
+
query listReclameAquiCompanies($credentialId: ID!) {
|
|
47
|
+
listReclameAquiCompanies(credentialId: $credentialId) {
|
|
48
|
+
companyId
|
|
49
|
+
name
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
`;
|
|
53
|
+
exports.ListReclameAquiModerationReasonsDocument = `
|
|
54
|
+
query listReclameAquiModerationReasons {
|
|
55
|
+
listReclameAquiModerationReasons {
|
|
56
|
+
code
|
|
57
|
+
description
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`;
|
|
44
61
|
exports.CreateReclameAquiInstanceDocument = `
|
|
45
62
|
mutation createReclameAquiInstance($input: CreateReclameAquiInstanceInput!) {
|
|
46
63
|
createReclameAquiInstance(input: $input) {
|
|
@@ -62,6 +79,13 @@ exports.RemoveReclameAquiInstanceDocument = `
|
|
|
62
79
|
}
|
|
63
80
|
}
|
|
64
81
|
${exports.ReclameAquiInstanceFragmentDoc}`;
|
|
82
|
+
exports.SendReclameAquiModerationRequestDocument = `
|
|
83
|
+
mutation sendReclameAquiModerationRequest($input: SendReclameAquiModerationRequestInput!) {
|
|
84
|
+
sendReclameAquiModerationRequest(input: $input) {
|
|
85
|
+
success
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
`;
|
|
65
89
|
function getSdk(requester) {
|
|
66
90
|
return {
|
|
67
91
|
getReclameAquiInstance(variables, options) {
|
|
@@ -70,6 +94,12 @@ function getSdk(requester) {
|
|
|
70
94
|
listReclameAquiInstances(variables, options) {
|
|
71
95
|
return requester(exports.ListReclameAquiInstancesDocument, variables, options);
|
|
72
96
|
},
|
|
97
|
+
listReclameAquiCompanies(variables, options) {
|
|
98
|
+
return requester(exports.ListReclameAquiCompaniesDocument, variables, options);
|
|
99
|
+
},
|
|
100
|
+
listReclameAquiModerationReasons(variables, options) {
|
|
101
|
+
return requester(exports.ListReclameAquiModerationReasonsDocument, variables, options);
|
|
102
|
+
},
|
|
73
103
|
createReclameAquiInstance(variables, options) {
|
|
74
104
|
return requester(exports.CreateReclameAquiInstanceDocument, variables, options);
|
|
75
105
|
},
|
|
@@ -78,6 +108,9 @@ function getSdk(requester) {
|
|
|
78
108
|
},
|
|
79
109
|
removeReclameAquiInstance(variables, options) {
|
|
80
110
|
return requester(exports.RemoveReclameAquiInstanceDocument, variables, options);
|
|
111
|
+
},
|
|
112
|
+
sendReclameAquiModerationRequest(variables, options) {
|
|
113
|
+
return requester(exports.SendReclameAquiModerationRequestDocument, variables, options);
|
|
81
114
|
}
|
|
82
115
|
};
|
|
83
116
|
}
|
package/src/sdks/zendesk.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ export type CreateZendeskInstanceInput = {
|
|
|
96
96
|
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
97
97
|
domain: Scalars['String']['input'];
|
|
98
98
|
name: Scalars['String']['input'];
|
|
99
|
+
sessionFieldMappings?: InputMaybe<Array<ZendeskSessionFieldMappingInput>>;
|
|
99
100
|
};
|
|
100
101
|
export type Mutation = {
|
|
101
102
|
createZendeskInstance?: Maybe<ZendeskInstance>;
|
|
@@ -126,6 +127,7 @@ export type Query = {
|
|
|
126
127
|
getTicketSessionAttributes?: Maybe<ZendeskTicketSessionAttributes>;
|
|
127
128
|
getZendeskInstance?: Maybe<ZendeskInstance>;
|
|
128
129
|
listZendeskInstances: Array<ZendeskInstance>;
|
|
130
|
+
listZendeskTicketCustomFields: Array<ZendeskCustomField>;
|
|
129
131
|
version?: Maybe<Scalars['String']['output']>;
|
|
130
132
|
};
|
|
131
133
|
export type QueryGetTicketSessionAttributesArgs = {
|
|
@@ -134,6 +136,10 @@ export type QueryGetTicketSessionAttributesArgs = {
|
|
|
134
136
|
export type QueryGetZendeskInstanceArgs = {
|
|
135
137
|
id: Scalars['ID']['input'];
|
|
136
138
|
};
|
|
139
|
+
export type QueryListZendeskTicketCustomFieldsArgs = {
|
|
140
|
+
credentialId: Scalars['ID']['input'];
|
|
141
|
+
domain: Scalars['String']['input'];
|
|
142
|
+
};
|
|
137
143
|
export type RemoveZendeskInstanceInput = {
|
|
138
144
|
id: Scalars['ID']['input'];
|
|
139
145
|
};
|
|
@@ -155,6 +161,7 @@ export type UpdateZendeskInstanceInput = {
|
|
|
155
161
|
domain?: InputMaybe<Scalars['String']['input']>;
|
|
156
162
|
id: Scalars['ID']['input'];
|
|
157
163
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
164
|
+
sessionFieldMappings?: InputMaybe<Array<ZendeskSessionFieldMappingInput>>;
|
|
158
165
|
};
|
|
159
166
|
export type ValidateZendeskInstanceInput = {
|
|
160
167
|
id: Scalars['ID']['input'];
|
|
@@ -163,6 +170,13 @@ export type ValidateZendeskInstancePayload = {
|
|
|
163
170
|
message?: Maybe<Scalars['String']['output']>;
|
|
164
171
|
valid: Scalars['Boolean']['output'];
|
|
165
172
|
};
|
|
173
|
+
export type ZendeskCustomField = {
|
|
174
|
+
active: Scalars['Boolean']['output'];
|
|
175
|
+
id: Scalars['Float']['output'];
|
|
176
|
+
required: Scalars['Boolean']['output'];
|
|
177
|
+
title: Scalars['String']['output'];
|
|
178
|
+
type: Scalars['String']['output'];
|
|
179
|
+
};
|
|
166
180
|
export type ZendeskCustomer = {
|
|
167
181
|
createdAt: Scalars['DateTime']['output'];
|
|
168
182
|
email: Scalars['String']['output'];
|
|
@@ -179,9 +193,18 @@ export type ZendeskInstance = {
|
|
|
179
193
|
domain: Scalars['String']['output'];
|
|
180
194
|
id: Scalars['ID']['output'];
|
|
181
195
|
name: Scalars['String']['output'];
|
|
196
|
+
sessionFieldMappings: Array<ZendeskSessionFieldMapping>;
|
|
182
197
|
updatedAt: Scalars['DateTime']['output'];
|
|
183
198
|
webhookId?: Maybe<Scalars['ID']['output']>;
|
|
184
199
|
};
|
|
200
|
+
export type ZendeskSessionFieldMapping = {
|
|
201
|
+
customFieldId: Scalars['Float']['output'];
|
|
202
|
+
expression: Scalars['String']['output'];
|
|
203
|
+
};
|
|
204
|
+
export type ZendeskSessionFieldMappingInput = {
|
|
205
|
+
customFieldId: Scalars['Float']['input'];
|
|
206
|
+
expression: Scalars['String']['input'];
|
|
207
|
+
};
|
|
185
208
|
export type ZendeskTicketSessionAttributes = {
|
|
186
209
|
customer: ZendeskCustomer;
|
|
187
210
|
instanceId: Scalars['ID']['output'];
|