@droz-js/sdk 0.9.84 → 0.9.86
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/drozadmin.d.ts +8 -0
- package/src/sdks/drozcommons.d.ts +24 -0
- package/src/sdks/drozcommons.js +21 -1
- package/src/sdks/nucleus.d.ts +13 -13
- package/src/sdks/nucleus.js +1 -0
- package/src/sdks/reclameaqui.d.ts +2 -2
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -119,6 +119,14 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
119
119
|
tenantId: import("./sdks/drozcommons").Scalars["TenantId"]["input"];
|
|
120
120
|
ticketId: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
121
121
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetZendeskTicketDetailsQuery>;
|
|
122
|
+
listReclameAquiInstances(variables: import("./sdks/drozcommons").Exact<{
|
|
123
|
+
tenantId: import("./sdks/drozcommons").Scalars["TenantId"]["input"];
|
|
124
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListReclameAquiInstancesQuery>;
|
|
125
|
+
getReclameAquiTicketDetails(variables: import("./sdks/drozcommons").Exact<{
|
|
126
|
+
tenantId: import("./sdks/drozcommons").Scalars["TenantId"]["input"];
|
|
127
|
+
instanceId: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
128
|
+
ticketId: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
129
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetReclameAquiTicketDetailsQuery>;
|
|
122
130
|
createTenant(variables: import("./sdks/drozcommons").Exact<{
|
|
123
131
|
input: import("./sdks/drozcommons").CreateTenantInput;
|
|
124
132
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").CreateTenantMutation>;
|
|
@@ -403,6 +403,7 @@ export type Query = {
|
|
|
403
403
|
getGlobalParameter?: Maybe<Parameter>;
|
|
404
404
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
405
405
|
getMe?: Maybe<AdminAgent>;
|
|
406
|
+
getReclameAquiTicketDetails?: Maybe<Scalars['JSON']['output']>;
|
|
406
407
|
getTenant?: Maybe<Tenant>;
|
|
407
408
|
getTenantParameter?: Maybe<Parameter>;
|
|
408
409
|
getZendeskTicketDetails?: Maybe<Scalars['JSON']['output']>;
|
|
@@ -414,6 +415,7 @@ export type Query = {
|
|
|
414
415
|
listGitRepositories: Array<GitRepository>;
|
|
415
416
|
listGitTags: Array<GitTag>;
|
|
416
417
|
listGlobalParameters?: Maybe<Array<Parameter>>;
|
|
418
|
+
listReclameAquiInstances: Array<Maybe<Scalars['JSON']['output']>>;
|
|
417
419
|
listRegions: Array<Region>;
|
|
418
420
|
listServices: Array<Maybe<Service>>;
|
|
419
421
|
listTenantParameters?: Maybe<Array<Parameter>>;
|
|
@@ -443,6 +445,11 @@ export type QueryGetFederationMetadataArgs = {
|
|
|
443
445
|
export type QueryGetGlobalParameterArgs = {
|
|
444
446
|
name: Scalars['String']['input'];
|
|
445
447
|
};
|
|
448
|
+
export type QueryGetReclameAquiTicketDetailsArgs = {
|
|
449
|
+
instanceId: Scalars['String']['input'];
|
|
450
|
+
tenantId: Scalars['TenantId']['input'];
|
|
451
|
+
ticketId: Scalars['String']['input'];
|
|
452
|
+
};
|
|
446
453
|
export type QueryGetTenantArgs = {
|
|
447
454
|
tenantId: Scalars['TenantId']['input'];
|
|
448
455
|
};
|
|
@@ -467,6 +474,9 @@ export type QueryListGitBranchesArgs = {
|
|
|
467
474
|
export type QueryListGitTagsArgs = {
|
|
468
475
|
gitRepositoryId: Scalars['ID']['input'];
|
|
469
476
|
};
|
|
477
|
+
export type QueryListReclameAquiInstancesArgs = {
|
|
478
|
+
tenantId: Scalars['TenantId']['input'];
|
|
479
|
+
};
|
|
470
480
|
export type QueryListServicesArgs = {
|
|
471
481
|
tenantId: Scalars['ID']['input'];
|
|
472
482
|
};
|
|
@@ -836,6 +846,16 @@ export type GetZendeskTicketDetailsQueryVariables = Exact<{
|
|
|
836
846
|
ticketId: Scalars['String']['input'];
|
|
837
847
|
}>;
|
|
838
848
|
export type GetZendeskTicketDetailsQuery = Pick<Query, 'getZendeskTicketDetails'>;
|
|
849
|
+
export type ListReclameAquiInstancesQueryVariables = Exact<{
|
|
850
|
+
tenantId: Scalars['TenantId']['input'];
|
|
851
|
+
}>;
|
|
852
|
+
export type ListReclameAquiInstancesQuery = Pick<Query, 'listReclameAquiInstances'>;
|
|
853
|
+
export type GetReclameAquiTicketDetailsQueryVariables = Exact<{
|
|
854
|
+
tenantId: Scalars['TenantId']['input'];
|
|
855
|
+
instanceId: Scalars['String']['input'];
|
|
856
|
+
ticketId: Scalars['String']['input'];
|
|
857
|
+
}>;
|
|
858
|
+
export type GetReclameAquiTicketDetailsQuery = Pick<Query, 'getReclameAquiTicketDetails'>;
|
|
839
859
|
export type CreateTenantMutationVariables = Exact<{
|
|
840
860
|
input: CreateTenantInput;
|
|
841
861
|
}>;
|
|
@@ -921,6 +941,8 @@ export declare const ListTenantsDocument = "\n query listTenants($withService
|
|
|
921
941
|
export declare const GetFederationMetadataDocument = "\n query getFederationMetadata($tenantId: TenantId!) {\n getFederationMetadata(tenantId: $tenantId)\n}\n ";
|
|
922
942
|
export declare const SearchSessionsOnTenantDocument = "\n query searchSessionsOnTenant($tenantId: TenantId!, $q: String) {\n searchSessionsOnTenant(tenantId: $tenantId, q: $q)\n}\n ";
|
|
923
943
|
export declare const GetZendeskTicketDetailsDocument = "\n query getZendeskTicketDetails($tenantId: TenantId!, $ticketId: String!) {\n getZendeskTicketDetails(tenantId: $tenantId, ticketId: $ticketId)\n}\n ";
|
|
944
|
+
export declare const ListReclameAquiInstancesDocument = "\n query listReclameAquiInstances($tenantId: TenantId!) {\n listReclameAquiInstances(tenantId: $tenantId)\n}\n ";
|
|
945
|
+
export declare const GetReclameAquiTicketDetailsDocument = "\n query getReclameAquiTicketDetails($tenantId: TenantId!, $instanceId: String!, $ticketId: String!) {\n getReclameAquiTicketDetails(\n tenantId: $tenantId\n instanceId: $instanceId\n ticketId: $ticketId\n )\n}\n ";
|
|
924
946
|
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 tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n}\n ";
|
|
925
947
|
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 tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n}\n ";
|
|
926
948
|
export declare const AddTenantTagsDocument = "\n mutation addTenantTags($input: AddTenantTagsInput!) {\n addTenantTags(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 tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n}\n ";
|
|
@@ -965,6 +987,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
965
987
|
getFederationMetadata(variables: GetFederationMetadataQueryVariables, options?: C): Promise<GetFederationMetadataQuery>;
|
|
966
988
|
searchSessionsOnTenant(variables: SearchSessionsOnTenantQueryVariables, options?: C): Promise<SearchSessionsOnTenantQuery>;
|
|
967
989
|
getZendeskTicketDetails(variables: GetZendeskTicketDetailsQueryVariables, options?: C): Promise<GetZendeskTicketDetailsQuery>;
|
|
990
|
+
listReclameAquiInstances(variables: ListReclameAquiInstancesQueryVariables, options?: C): Promise<ListReclameAquiInstancesQuery>;
|
|
991
|
+
getReclameAquiTicketDetails(variables: GetReclameAquiTicketDetailsQueryVariables, options?: C): Promise<GetReclameAquiTicketDetailsQuery>;
|
|
968
992
|
createTenant(variables: CreateTenantMutationVariables, options?: C): Promise<CreateTenantMutation>;
|
|
969
993
|
updateTenant(variables: UpdateTenantMutationVariables, options?: C): Promise<UpdateTenantMutation>;
|
|
970
994
|
addTenantTags(variables: AddTenantTagsMutationVariables, options?: C): Promise<AddTenantTagsMutation>;
|
package/src/sdks/drozcommons.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = exports.SetAccountParameterDocument = exports.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.GetGlobalParameterDocument = exports.ListGlobalParametersDocument = exports.GetAccountParameterDocument = exports.ListAccountParametersDocument = exports.GetTenantParameterDocument = exports.ListTenantParametersDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitTagsDocument = exports.ListGitBranchesDocument = exports.ListDrozServicesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetMeDocument = exports.UpdateAccountDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.ParameterFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitTagFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.ParameterType = exports.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
-
exports.serviceName = exports.FullReindexBaseDocument = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.RemoveTenantTagsDocument = exports.AddTenantTagsDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.GetZendeskTicketDetailsDocument = void 0;
|
|
5
|
+
exports.serviceName = exports.FullReindexBaseDocument = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.RemoveTenantTagsDocument = exports.AddTenantTagsDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.GetReclameAquiTicketDetailsDocument = exports.ListReclameAquiInstancesDocument = exports.GetZendeskTicketDetailsDocument = void 0;
|
|
6
6
|
exports.getSdk = getSdk;
|
|
7
7
|
var AppInstanceStatus;
|
|
8
8
|
(function (AppInstanceStatus) {
|
|
@@ -418,6 +418,20 @@ exports.GetZendeskTicketDetailsDocument = `
|
|
|
418
418
|
getZendeskTicketDetails(tenantId: $tenantId, ticketId: $ticketId)
|
|
419
419
|
}
|
|
420
420
|
`;
|
|
421
|
+
exports.ListReclameAquiInstancesDocument = `
|
|
422
|
+
query listReclameAquiInstances($tenantId: TenantId!) {
|
|
423
|
+
listReclameAquiInstances(tenantId: $tenantId)
|
|
424
|
+
}
|
|
425
|
+
`;
|
|
426
|
+
exports.GetReclameAquiTicketDetailsDocument = `
|
|
427
|
+
query getReclameAquiTicketDetails($tenantId: TenantId!, $instanceId: String!, $ticketId: String!) {
|
|
428
|
+
getReclameAquiTicketDetails(
|
|
429
|
+
tenantId: $tenantId
|
|
430
|
+
instanceId: $instanceId
|
|
431
|
+
ticketId: $ticketId
|
|
432
|
+
)
|
|
433
|
+
}
|
|
434
|
+
`;
|
|
421
435
|
exports.CreateTenantDocument = `
|
|
422
436
|
mutation createTenant($input: CreateTenantInput!) {
|
|
423
437
|
createTenant(input: $input) {
|
|
@@ -572,6 +586,12 @@ function getSdk(requester) {
|
|
|
572
586
|
getZendeskTicketDetails(variables, options) {
|
|
573
587
|
return requester(exports.GetZendeskTicketDetailsDocument, variables, options);
|
|
574
588
|
},
|
|
589
|
+
listReclameAquiInstances(variables, options) {
|
|
590
|
+
return requester(exports.ListReclameAquiInstancesDocument, variables, options);
|
|
591
|
+
},
|
|
592
|
+
getReclameAquiTicketDetails(variables, options) {
|
|
593
|
+
return requester(exports.GetReclameAquiTicketDetailsDocument, variables, options);
|
|
594
|
+
},
|
|
575
595
|
createTenant(variables, options) {
|
|
576
596
|
return requester(exports.CreateTenantDocument, variables, options);
|
|
577
597
|
},
|
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -345,7 +345,7 @@ export type Customer = {
|
|
|
345
345
|
externalId?: Maybe<Scalars['ID']['output']>;
|
|
346
346
|
externalIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
347
347
|
id: Scalars['ID']['output'];
|
|
348
|
-
|
|
348
|
+
mergeHistory: Array<Scalars['ID']['output']>;
|
|
349
349
|
name: Scalars['String']['output'];
|
|
350
350
|
/** @deprecated Use phones instead */
|
|
351
351
|
phone?: Maybe<Scalars['String']['output']>;
|
|
@@ -1434,7 +1434,7 @@ export type RemoveSystemCredentialsMutationVariables = Exact<{
|
|
|
1434
1434
|
export type RemoveSystemCredentialsMutation = {
|
|
1435
1435
|
removeSystemCredentials?: Maybe<SafeCredentialsFragment>;
|
|
1436
1436
|
};
|
|
1437
|
-
export type CustomerFragment = (Pick<Customer, 'id' | 'name' | 'alternateName' | 'email' | 'phone' | 'document' | 'externalId' | 'emails' | 'phones' | 'documents' | 'externalIds' | 'status' | 'createdAt' | 'updatedAt'> & {
|
|
1437
|
+
export type CustomerFragment = (Pick<Customer, 'id' | 'name' | 'alternateName' | 'email' | 'phone' | 'document' | 'externalId' | 'emails' | 'phones' | 'documents' | 'externalIds' | 'status' | 'mergeHistory' | 'createdAt' | 'updatedAt'> & {
|
|
1438
1438
|
apps?: Maybe<Array<Pick<App, 'id' | 'name'>>>;
|
|
1439
1439
|
});
|
|
1440
1440
|
export type GetCustomerQueryVariables = Exact<{
|
|
@@ -1754,7 +1754,7 @@ export declare const AppInstanceFragmentDoc = "\n fragment appInstance on App
|
|
|
1754
1754
|
export declare const AppWithInstancesFragmentDoc = "\n fragment appWithInstances on App {\n ...app\n instances {\n ...appInstance\n }\n}\n ";
|
|
1755
1755
|
export declare const SafeCredentialsFragmentDoc = "\n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n systemCredentials\n createdAt\n updatedAt\n}\n ";
|
|
1756
1756
|
export declare const CredentialsWithSecretFragmentDoc = "\n fragment credentialsWithSecret on Credentials {\n ... on ICredentials {\n id\n type\n description\n systemCredentials\n createdAt\n updatedAt\n }\n ... on BasicCredentialsType {\n credentials {\n username\n password\n }\n }\n ... on ApiKeyCredentialsType {\n credentials {\n apiKey\n }\n }\n ... on OAuth2CredentialsType {\n credentials {\n clientId\n clientSecret\n }\n }\n ... on MetaCredentialsType {\n credentials {\n code\n accessToken\n wabaId\n }\n }\n ... on MercadoLivreCredentialsType {\n credentials {\n code\n }\n }\n}\n ";
|
|
1757
|
-
export declare const CustomerFragmentDoc = "\n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1757
|
+
export declare const CustomerFragmentDoc = "\n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1758
1758
|
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 times\n runs\n}\n ";
|
|
1759
1759
|
export declare const PolicyFragmentDoc = "\n fragment policy on Policy {\n id\n action\n effect\n resource\n}\n ";
|
|
1760
1760
|
export declare const RoleFragmentDoc = "\n fragment role on Role {\n id\n name\n policies {\n ...policy\n }\n}\n ";
|
|
@@ -1806,15 +1806,15 @@ export declare const CreateSystemCredentialsDocument = "\n mutation createSys
|
|
|
1806
1806
|
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 systemCredentials\n createdAt\n updatedAt\n}\n ";
|
|
1807
1807
|
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 systemCredentials\n createdAt\n updatedAt\n}\n ";
|
|
1808
1808
|
export declare const RemoveSystemCredentialsDocument = "\n mutation removeSystemCredentials($input: RemoveCredentialsInput!) {\n removeSystemCredentials(input: $input) {\n ...safeCredentials\n }\n}\n \n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n systemCredentials\n createdAt\n updatedAt\n}\n ";
|
|
1809
|
-
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 alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1810
|
-
export declare const BatchGetCustomersByIdDocument = "\n query batchGetCustomersById($ids: [ID!]!) {\n batchGetCustomersById(ids: $ids) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1811
|
-
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 alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1812
|
-
export declare const SearchCustomersDocument = "\n query searchCustomers($query: String, $page: Number) {\n searchCustomers(query: $query, page: $page) {\n nodes {\n ...customer\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1813
|
-
export declare const CreateCustomerDocument = "\n mutation createCustomer($input: CreateCustomerInput) {\n createCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1814
|
-
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 alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1815
|
-
export declare const UpdateCustomerDocument = "\n mutation updateCustomer($input: UpdateCustomerInput!) {\n updateCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1809
|
+
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 alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1810
|
+
export declare const BatchGetCustomersByIdDocument = "\n query batchGetCustomersById($ids: [ID!]!) {\n batchGetCustomersById(ids: $ids) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1811
|
+
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 alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1812
|
+
export declare const SearchCustomersDocument = "\n query searchCustomers($query: String, $page: Number) {\n searchCustomers(query: $query, page: $page) {\n nodes {\n ...customer\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1813
|
+
export declare const CreateCustomerDocument = "\n mutation createCustomer($input: CreateCustomerInput) {\n createCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1814
|
+
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 alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1815
|
+
export declare const UpdateCustomerDocument = "\n mutation updateCustomer($input: UpdateCustomerInput!) {\n updateCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1816
1816
|
export declare const DeleteCustomerDocument = "\n mutation deleteCustomer($id: ID!) {\n deleteCustomer(id: $id)\n}\n ";
|
|
1817
|
-
export declare const MergeCustomersDocument = "\n mutation mergeCustomers($input: MergeCustomersInput!) {\n mergeCustomers(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1817
|
+
export declare const MergeCustomersDocument = "\n mutation mergeCustomers($input: MergeCustomersInput!) {\n mergeCustomers(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1818
1818
|
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 times\n runs\n}\n ";
|
|
1819
1819
|
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 times\n runs\n}\n ";
|
|
1820
1820
|
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 times\n runs\n}\n ";
|
|
@@ -1823,9 +1823,9 @@ export declare const RemoveCronJobDocument = "\n mutation removeCronJob($inpu
|
|
|
1823
1823
|
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\n fragment policy on Policy {\n id\n action\n effect\n resource\n}\n ";
|
|
1824
1824
|
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\n fragment policy on Policy {\n id\n action\n effect\n resource\n}\n ";
|
|
1825
1825
|
export declare const CheckPermissionsDocument = "\n query checkPermissions($can: Can!, $resources: [String!]!) {\n checkPermissions(can: $can, resources: $resources)\n}\n ";
|
|
1826
|
-
export declare const StartSessionDocument = "\n mutation startSession($input: StartSessionInput!, $withCustomer: Boolean = true) {\n startSession(input: $input) {\n ...session\n customer @include(if: $withCustomer) {\n ...customer\n }\n }\n}\n \n fragment session on Session {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n status\n}\n \n\n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1826
|
+
export declare const StartSessionDocument = "\n mutation startSession($input: StartSessionInput!, $withCustomer: Boolean = true) {\n startSession(input: $input) {\n ...session\n customer @include(if: $withCustomer) {\n ...customer\n }\n }\n}\n \n fragment session on Session {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n status\n}\n \n\n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1827
1827
|
export declare const StartCustomSessionDocument = "\n mutation startCustomSession($input: StartSessionInput!) {\n startCustomSession(input: $input) {\n ...session\n }\n}\n \n fragment session on Session {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n status\n}\n ";
|
|
1828
|
-
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 status\n}\n \n\n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1828
|
+
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 status\n}\n \n\n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n mergeHistory\n createdAt\n updatedAt\n}\n ";
|
|
1829
1829
|
export declare const GetSessionSchemaDocument = "\n query getSessionSchema($lang: String) {\n getSessionSchema(lang: $lang) {\n ...sessionSchema\n }\n}\n \n fragment sessionSchema on AppSessionSchemaFields {\n name\n fields {\n name\n description\n }\n}\n ";
|
|
1830
1830
|
export declare const GetSessionSchemaForAppIdDocument = "\n query getSessionSchemaForAppId($appId: ID!, $lang: String) {\n getSessionSchemaForAppId(appId: $appId, lang: $lang) {\n ...sessionSchema\n }\n}\n \n fragment sessionSchema on AppSessionSchemaFields {\n name\n fields {\n name\n description\n }\n}\n ";
|
|
1831
1831
|
export declare const SearchSessionsDocument = "\n query searchSessions($q: String) {\n searchSessions(q: $q) {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n status\n customer\n attributes\n context\n messages\n }\n}\n ";
|
package/src/sdks/nucleus.js
CHANGED
|
@@ -343,10 +343,10 @@ export type ReclameAquiTicketCompany = {
|
|
|
343
343
|
name: Scalars['String']['output'];
|
|
344
344
|
};
|
|
345
345
|
export type ReclameAquiTicketCustomer = {
|
|
346
|
-
email?: Maybe<Scalars['String']['output']
|
|
346
|
+
email?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
347
347
|
id?: Maybe<Scalars['ID']['output']>;
|
|
348
348
|
name?: Maybe<Scalars['String']['output']>;
|
|
349
|
-
phone?: Maybe<Scalars['String']['output']
|
|
349
|
+
phone?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
350
350
|
};
|
|
351
351
|
export type ReclameAquiTicketEvaluationResponse = {
|
|
352
352
|
success: Scalars['Boolean']['output'];
|