@droz-js/sdk 0.4.15 → 0.4.17
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/sdks/drozcommons.d.ts +24 -6
- package/src/sdks/drozcommons.js +5 -0
- package/src/sdks/zendesk.d.ts +25 -0
- package/src/sdks/zendesk.js +34 -1
- package/src/zendesk.d.ts +12 -0
package/package.json
CHANGED
|
@@ -109,6 +109,9 @@ export type BatchDeployInput = {
|
|
|
109
109
|
gitRepository: Scalars['String']['input'];
|
|
110
110
|
tenantIds: Array<Scalars['ID']['input']>;
|
|
111
111
|
};
|
|
112
|
+
export type Billing = {
|
|
113
|
+
reclameaqui?: Maybe<ReclameAquiBilling>;
|
|
114
|
+
};
|
|
112
115
|
export type CognitoConfig = {
|
|
113
116
|
region: Scalars['String']['output'];
|
|
114
117
|
userPoolId: Scalars['String']['output'];
|
|
@@ -116,6 +119,7 @@ export type CognitoConfig = {
|
|
|
116
119
|
};
|
|
117
120
|
export type CreateTenantInput = {
|
|
118
121
|
accountId: Scalars['ID']['input'];
|
|
122
|
+
billing?: InputMaybe<TenantBillingInput>;
|
|
119
123
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
120
124
|
tenantId: Scalars['ID']['input'];
|
|
121
125
|
};
|
|
@@ -241,6 +245,12 @@ export type QueryListGitBranchesArgs = {
|
|
|
241
245
|
export type QueryListServicesArgs = {
|
|
242
246
|
tenantId: Scalars['ID']['input'];
|
|
243
247
|
};
|
|
248
|
+
export type ReclameAquiBilling = {
|
|
249
|
+
migrationLimitDays?: Maybe<Scalars['Float']['output']>;
|
|
250
|
+
};
|
|
251
|
+
export type ReclameAquiBillingInput = {
|
|
252
|
+
migrationLimitDays?: InputMaybe<Scalars['Float']['input']>;
|
|
253
|
+
};
|
|
244
254
|
export type RemoveTenantInput = {
|
|
245
255
|
tenantId: Scalars['ID']['input'];
|
|
246
256
|
};
|
|
@@ -254,6 +264,7 @@ export type Service = {
|
|
|
254
264
|
export type Tenant = {
|
|
255
265
|
account: AwsAccount;
|
|
256
266
|
accountId: Scalars['ID']['output'];
|
|
267
|
+
billing?: Maybe<Billing>;
|
|
257
268
|
createdAt: Scalars['DateTime']['output'];
|
|
258
269
|
deployedVersions?: Maybe<Scalars['JSON']['output']>;
|
|
259
270
|
deployments: Array<Deployment>;
|
|
@@ -263,12 +274,16 @@ export type Tenant = {
|
|
|
263
274
|
tenantId: Scalars['ID']['output'];
|
|
264
275
|
updatedAt: Scalars['DateTime']['output'];
|
|
265
276
|
};
|
|
277
|
+
export type TenantBillingInput = {
|
|
278
|
+
reclameaqui?: InputMaybe<ReclameAquiBillingInput>;
|
|
279
|
+
};
|
|
266
280
|
export declare enum Typenames {
|
|
267
281
|
Any = "Any",
|
|
268
282
|
GraphqlConnections = "GraphqlConnections",
|
|
269
283
|
GraphqlSubscriptions = "GraphqlSubscriptions"
|
|
270
284
|
}
|
|
271
285
|
export type UpdateTenantInput = {
|
|
286
|
+
billing?: InputMaybe<TenantBillingInput>;
|
|
272
287
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
273
288
|
tenantId: Scalars['ID']['input'];
|
|
274
289
|
};
|
|
@@ -359,6 +374,9 @@ export type ListServicesQuery = {
|
|
|
359
374
|
listServices: Array<Maybe<ServiceFragment>>;
|
|
360
375
|
};
|
|
361
376
|
export type TenantFragment = (Pick<Tenant, 'accountId' | 'tenantId' | 'name' | 'deployedVersions' | 'disabled' | 'createdAt' | 'updatedAt'> & {
|
|
377
|
+
billing?: Maybe<{
|
|
378
|
+
reclameaqui?: Maybe<Pick<ReclameAquiBilling, 'migrationLimitDays'>>;
|
|
379
|
+
}>;
|
|
362
380
|
account: Pick<AwsAccount, 'id' | 'name'>;
|
|
363
381
|
});
|
|
364
382
|
export type GetTenantQueryVariables = Exact<{
|
|
@@ -405,7 +423,7 @@ export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBran
|
|
|
405
423
|
export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n \n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
406
424
|
export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n}\n ";
|
|
407
425
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
408
|
-
export declare const TenantFragmentDoc = "\n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n ";
|
|
426
|
+
export declare const TenantFragmentDoc = "\n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n migrationLimitDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
409
427
|
export declare const GetAmplifyConfigDocument = "\n query getAmplifyConfig($forDev: Boolean) {\n amplifyConfig(forDev: $forDev)\n}\n ";
|
|
410
428
|
export declare const GetAuthInfoDocument = "\n query getAuthInfo {\n authInfo {\n authenticationEndpoint\n jwtIssuer\n loginUrl\n logoutUrl\n cognitoConfig {\n region\n userPoolId\n userPoolWebClientId\n }\n }\n}\n ";
|
|
411
429
|
export declare const ListAccountsDocument = "\n query listAccounts {\n listAccounts {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n}\n ";
|
|
@@ -418,11 +436,11 @@ export declare const DeployDocument = "\n mutation deploy($input: DeployInput
|
|
|
418
436
|
export declare const DestroyDocument = "\n mutation destroy($input: DestroyInput!) {\n destroy(input: $input) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
419
437
|
export declare const BatchDeployDocument = "\n mutation batchDeploy($input: BatchDeployInput!) {\n batchDeploy(input: $input) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
420
438
|
export declare const ListServicesDocument = "\n query listServices($tenantId: ID!) {\n listServices(tenantId: $tenantId) {\n ...service\n }\n}\n \n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
421
|
-
export declare const GetTenantDocument = "\n query getTenant($tenantId: ID!, $withServices: Boolean = true, $withDeployments: Boolean = true) {\n getTenant(tenantId: $tenantId) {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
422
|
-
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
423
|
-
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n ";
|
|
424
|
-
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n ";
|
|
425
|
-
export declare const RemoveTenantDocument = "\n mutation removeTenant($input: RemoveTenantInput!) {\n removeTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n ";
|
|
439
|
+
export declare const GetTenantDocument = "\n query getTenant($tenantId: ID!, $withServices: Boolean = true, $withDeployments: Boolean = true) {\n getTenant(tenantId: $tenantId) {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n migrationLimitDays\n }\n }\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
440
|
+
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n migrationLimitDays\n }\n }\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
441
|
+
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n migrationLimitDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
442
|
+
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n migrationLimitDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
443
|
+
export declare const RemoveTenantDocument = "\n mutation removeTenant($input: RemoveTenantInput!) {\n removeTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n migrationLimitDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
426
444
|
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
427
445
|
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
428
446
|
getAmplifyConfig(variables?: GetAmplifyConfigQueryVariables, options?: C): Promise<GetAmplifyConfigQuery>;
|
package/src/sdks/drozcommons.js
CHANGED
package/src/sdks/zendesk.d.ts
CHANGED
|
@@ -257,6 +257,25 @@ export type ListZendeskInstancesQueryVariables = Exact<{
|
|
|
257
257
|
export type ListZendeskInstancesQuery = {
|
|
258
258
|
listZendeskInstances: Array<ZendeskInstanceFragment>;
|
|
259
259
|
};
|
|
260
|
+
export type ListZendeskTicketCustomFieldsQueryVariables = Exact<{
|
|
261
|
+
credentialId: Scalars['ID']['input'];
|
|
262
|
+
domain: Scalars['String']['input'];
|
|
263
|
+
}>;
|
|
264
|
+
export type ListZendeskTicketCustomFieldsQuery = {
|
|
265
|
+
listZendeskTicketCustomFields: Array<Pick<ZendeskCustomField, 'id' | 'title' | 'type' | 'active' | 'required'>>;
|
|
266
|
+
};
|
|
267
|
+
export type ListZendeskRolesQueryVariables = Exact<{
|
|
268
|
+
credentialId: Scalars['ID']['input'];
|
|
269
|
+
domain: Scalars['String']['input'];
|
|
270
|
+
}>;
|
|
271
|
+
export type ListZendeskRolesQuery = {
|
|
272
|
+
listZendeskRoles: Array<Pick<ZendeskRole, 'id' | 'name'>>;
|
|
273
|
+
};
|
|
274
|
+
export type AssertCanUserInteractQueryVariables = Exact<{
|
|
275
|
+
ticketId: Scalars['ID']['input'];
|
|
276
|
+
userId: Scalars['Float']['input'];
|
|
277
|
+
}>;
|
|
278
|
+
export type AssertCanUserInteractQuery = Pick<Query, 'assertCanUserInteract'>;
|
|
260
279
|
export type GetTicketSessionAttributesQueryVariables = Exact<{
|
|
261
280
|
ticketId: Scalars['ID']['input'];
|
|
262
281
|
}>;
|
|
@@ -288,6 +307,9 @@ export declare const ZendeskInstanceFragmentDoc = "\n fragment zendeskInstanc
|
|
|
288
307
|
export declare const ZendeskCustomerFragmentDoc = "\n fragment zendeskCustomer on ZendeskCustomer {\n id\n name\n email\n phone\n externalId\n document\n createdAt\n updatedAt\n}\n ";
|
|
289
308
|
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 domain\n credentialId\n createdAt\n updatedAt\n}\n ";
|
|
290
309
|
export declare const ListZendeskInstancesDocument = "\n query listZendeskInstances {\n listZendeskInstances {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n domain\n credentialId\n createdAt\n updatedAt\n}\n ";
|
|
310
|
+
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 ";
|
|
311
|
+
export declare const ListZendeskRolesDocument = "\n query listZendeskRoles($credentialId: ID!, $domain: String!) {\n listZendeskRoles(credentialId: $credentialId, domain: $domain) {\n id\n name\n }\n}\n ";
|
|
312
|
+
export declare const AssertCanUserInteractDocument = "\n query assertCanUserInteract($ticketId: ID!, $userId: Float!) {\n assertCanUserInteract(ticketId: $ticketId, userId: $userId)\n}\n ";
|
|
291
313
|
export declare const GetTicketSessionAttributesDocument = "\n query getTicketSessionAttributes($ticketId: ID!) {\n getTicketSessionAttributes(ticketId: $ticketId) {\n sessionId\n instanceId\n customer {\n ...zendeskCustomer\n }\n order\n products\n organization\n triggerApp {\n id\n name\n description\n }\n }\n}\n \n fragment zendeskCustomer on ZendeskCustomer {\n id\n name\n email\n phone\n externalId\n document\n createdAt\n updatedAt\n}\n ";
|
|
292
314
|
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 domain\n credentialId\n createdAt\n updatedAt\n}\n ";
|
|
293
315
|
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 domain\n credentialId\n createdAt\n updatedAt\n}\n ";
|
|
@@ -296,6 +318,9 @@ export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, optio
|
|
|
296
318
|
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
297
319
|
getZendeskInstance(variables: GetZendeskInstanceQueryVariables, options?: C): Promise<GetZendeskInstanceQuery>;
|
|
298
320
|
listZendeskInstances(variables?: ListZendeskInstancesQueryVariables, options?: C): Promise<ListZendeskInstancesQuery>;
|
|
321
|
+
listZendeskTicketCustomFields(variables: ListZendeskTicketCustomFieldsQueryVariables, options?: C): Promise<ListZendeskTicketCustomFieldsQuery>;
|
|
322
|
+
listZendeskRoles(variables: ListZendeskRolesQueryVariables, options?: C): Promise<ListZendeskRolesQuery>;
|
|
323
|
+
assertCanUserInteract(variables: AssertCanUserInteractQueryVariables, options?: C): Promise<AssertCanUserInteractQuery>;
|
|
299
324
|
getTicketSessionAttributes(variables: GetTicketSessionAttributesQueryVariables, options?: C): Promise<GetTicketSessionAttributesQuery>;
|
|
300
325
|
createZendeskInstance(variables: CreateZendeskInstanceMutationVariables, options?: C): Promise<CreateZendeskInstanceMutation>;
|
|
301
326
|
updateZendeskInstance(variables: UpdateZendeskInstanceMutationVariables, options?: C): Promise<UpdateZendeskInstanceMutation>;
|
package/src/sdks/zendesk.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.RemoveZendeskInstanceDocument = exports.UpdateZendeskInstanceDocument = exports.CreateZendeskInstanceDocument = exports.GetTicketSessionAttributesDocument = exports.ListZendeskInstancesDocument = exports.GetZendeskInstanceDocument = exports.ZendeskCustomerFragmentDoc = exports.ZendeskInstanceFragmentDoc = exports.Typenames = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.RemoveZendeskInstanceDocument = exports.UpdateZendeskInstanceDocument = exports.CreateZendeskInstanceDocument = exports.GetTicketSessionAttributesDocument = exports.AssertCanUserInteractDocument = exports.ListZendeskRolesDocument = exports.ListZendeskTicketCustomFieldsDocument = exports.ListZendeskInstancesDocument = exports.GetZendeskInstanceDocument = exports.ZendeskCustomerFragmentDoc = exports.ZendeskInstanceFragmentDoc = exports.Typenames = exports.AppInstanceStatus = void 0;
|
|
5
5
|
var AppInstanceStatus;
|
|
6
6
|
(function (AppInstanceStatus) {
|
|
7
7
|
AppInstanceStatus["Active"] = "Active";
|
|
@@ -52,6 +52,30 @@ exports.ListZendeskInstancesDocument = `
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
${exports.ZendeskInstanceFragmentDoc}`;
|
|
55
|
+
exports.ListZendeskTicketCustomFieldsDocument = `
|
|
56
|
+
query listZendeskTicketCustomFields($credentialId: ID!, $domain: String!) {
|
|
57
|
+
listZendeskTicketCustomFields(credentialId: $credentialId, domain: $domain) {
|
|
58
|
+
id
|
|
59
|
+
title
|
|
60
|
+
type
|
|
61
|
+
active
|
|
62
|
+
required
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
`;
|
|
66
|
+
exports.ListZendeskRolesDocument = `
|
|
67
|
+
query listZendeskRoles($credentialId: ID!, $domain: String!) {
|
|
68
|
+
listZendeskRoles(credentialId: $credentialId, domain: $domain) {
|
|
69
|
+
id
|
|
70
|
+
name
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
`;
|
|
74
|
+
exports.AssertCanUserInteractDocument = `
|
|
75
|
+
query assertCanUserInteract($ticketId: ID!, $userId: Float!) {
|
|
76
|
+
assertCanUserInteract(ticketId: $ticketId, userId: $userId)
|
|
77
|
+
}
|
|
78
|
+
`;
|
|
55
79
|
exports.GetTicketSessionAttributesDocument = `
|
|
56
80
|
query getTicketSessionAttributes($ticketId: ID!) {
|
|
57
81
|
getTicketSessionAttributes(ticketId: $ticketId) {
|
|
@@ -100,6 +124,15 @@ function getSdk(requester) {
|
|
|
100
124
|
listZendeskInstances(variables, options) {
|
|
101
125
|
return requester(exports.ListZendeskInstancesDocument, variables, options);
|
|
102
126
|
},
|
|
127
|
+
listZendeskTicketCustomFields(variables, options) {
|
|
128
|
+
return requester(exports.ListZendeskTicketCustomFieldsDocument, variables, options);
|
|
129
|
+
},
|
|
130
|
+
listZendeskRoles(variables, options) {
|
|
131
|
+
return requester(exports.ListZendeskRolesDocument, variables, options);
|
|
132
|
+
},
|
|
133
|
+
assertCanUserInteract(variables, options) {
|
|
134
|
+
return requester(exports.AssertCanUserInteractDocument, variables, options);
|
|
135
|
+
},
|
|
103
136
|
getTicketSessionAttributes(variables, options) {
|
|
104
137
|
return requester(exports.GetTicketSessionAttributesDocument, variables, options);
|
|
105
138
|
},
|
package/src/zendesk.d.ts
CHANGED
|
@@ -11,6 +11,18 @@ export declare const Zendesk: new (options?: import("./client/http").HttpClientO
|
|
|
11
11
|
listZendeskInstances(variables?: import("./sdks/zendesk").Exact<{
|
|
12
12
|
[key: string]: never;
|
|
13
13
|
}>, options?: unknown): Promise<import("./sdks/zendesk").ListZendeskInstancesQuery>;
|
|
14
|
+
listZendeskTicketCustomFields(variables: import("./sdks/zendesk").Exact<{
|
|
15
|
+
credentialId: string;
|
|
16
|
+
domain: string;
|
|
17
|
+
}>, options?: unknown): Promise<import("./sdks/zendesk").ListZendeskTicketCustomFieldsQuery>;
|
|
18
|
+
listZendeskRoles(variables: import("./sdks/zendesk").Exact<{
|
|
19
|
+
credentialId: string;
|
|
20
|
+
domain: string;
|
|
21
|
+
}>, options?: unknown): Promise<import("./sdks/zendesk").ListZendeskRolesQuery>;
|
|
22
|
+
assertCanUserInteract(variables: import("./sdks/zendesk").Exact<{
|
|
23
|
+
ticketId: string;
|
|
24
|
+
userId: number;
|
|
25
|
+
}>, options?: unknown): Promise<import("./sdks/zendesk").AssertCanUserInteractQuery>;
|
|
14
26
|
getTicketSessionAttributes(variables: import("./sdks/zendesk").Exact<{
|
|
15
27
|
ticketId: string;
|
|
16
28
|
}>, options?: unknown): Promise<import("./sdks/zendesk").GetTicketSessionAttributesQuery>;
|