@droz-js/sdk 0.6.17 → 0.6.19
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/droznexo.d.ts +3 -0
- package/src/sdks/drozcommons.d.ts +15 -6
- package/src/sdks/drozcommons.js +3 -0
- package/src/sdks/droznexo.d.ts +29 -0
- package/src/sdks/droznexo.js +20 -1
- package/src/sdks/mercadolivre.d.ts +1 -0
package/package.json
CHANGED
package/src/droznexo.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export declare const DrozNexo: new (options?: import("./client/http").HttpClient
|
|
|
9
9
|
getUsageStatistics(variables?: import("./sdks/droznexo").Exact<{
|
|
10
10
|
[key: string]: never;
|
|
11
11
|
}>, options?: unknown): Promise<import("./sdks/droznexo").GetUsageStatisticsQuery>;
|
|
12
|
+
getLicence(variables?: import("./sdks/droznexo").Exact<{
|
|
13
|
+
[key: string]: never;
|
|
14
|
+
}>, options?: unknown): Promise<import("./sdks/droznexo").GetLicenceQuery>;
|
|
12
15
|
getFlow(variables: import("./sdks/droznexo").Exact<{
|
|
13
16
|
id: string;
|
|
14
17
|
versionId: string;
|
|
@@ -130,6 +130,12 @@ export type AuthInfo = {
|
|
|
130
130
|
loginUrl: Scalars['String']['output'];
|
|
131
131
|
logoutUrl: Scalars['String']['output'];
|
|
132
132
|
};
|
|
133
|
+
export type AutomateBilling = {
|
|
134
|
+
isEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
135
|
+
};
|
|
136
|
+
export type AutomateBillingInput = {
|
|
137
|
+
isEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
138
|
+
};
|
|
133
139
|
export type AwsAccount = {
|
|
134
140
|
availableRegions: Array<Region>;
|
|
135
141
|
id: Scalars['ID']['output'];
|
|
@@ -158,6 +164,7 @@ export type BatchDeployInput = {
|
|
|
158
164
|
tenantIds: Array<Scalars['ID']['input']>;
|
|
159
165
|
};
|
|
160
166
|
export type Billing = {
|
|
167
|
+
automate?: Maybe<AutomateBilling>;
|
|
161
168
|
reclameaqui?: Maybe<ReclameAquiBilling>;
|
|
162
169
|
};
|
|
163
170
|
export declare enum Can {
|
|
@@ -417,6 +424,7 @@ export type Tenant = {
|
|
|
417
424
|
updatedAt: Scalars['DateTime']['output'];
|
|
418
425
|
};
|
|
419
426
|
export type TenantBillingInput = {
|
|
427
|
+
automate?: InputMaybe<AutomateBillingInput>;
|
|
420
428
|
reclameaqui?: InputMaybe<ReclameAquiBillingInput>;
|
|
421
429
|
};
|
|
422
430
|
export declare enum Typenames {
|
|
@@ -549,6 +557,7 @@ export type ListServicesQuery = {
|
|
|
549
557
|
export type TenantFragment = (Pick<Tenant, 'accountId' | 'tenantId' | 'name' | 'deployedVersions' | 'disabled' | 'createdAt' | 'updatedAt'> & {
|
|
550
558
|
billing?: Maybe<{
|
|
551
559
|
reclameaqui?: Maybe<Pick<ReclameAquiBilling, 'cutoffSyncDays'>>;
|
|
560
|
+
automate?: Maybe<Pick<AutomateBilling, 'isEnabled'>>;
|
|
552
561
|
}>;
|
|
553
562
|
account: Pick<AwsAccount, 'id' | 'name'>;
|
|
554
563
|
});
|
|
@@ -602,7 +611,7 @@ export declare const DeploymentFragmentDoc = "\n fragment deployment on Deplo
|
|
|
602
611
|
export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
603
612
|
export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n ";
|
|
604
613
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
605
|
-
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 cutoffSyncDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
614
|
+
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 cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
606
615
|
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 availableRegions {\n ...region\n }\n parameters {\n administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
|
|
607
616
|
export declare const ListRegionsDocument = "\n query listRegions {\n listRegions {\n ...region\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
608
617
|
export declare const UpdateAccountParametersDocument = "\n mutation updateAccountParameters($input: UpdateAccountParametersInput!) {\n updateAccountParameters(input: $input) {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
|
|
@@ -617,12 +626,12 @@ export declare const DeployDocument = "\n mutation deploy($input: DeployInput
|
|
|
617
626
|
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 ";
|
|
618
627
|
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 ";
|
|
619
628
|
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 ";
|
|
620
|
-
export declare const GetTenantDocument = "\n query getTenant($tenantId: Tag!, $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 cutoffSyncDays\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 ";
|
|
621
|
-
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 cutoffSyncDays\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 ";
|
|
629
|
+
export declare const GetTenantDocument = "\n query getTenant($tenantId: Tag!, $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 cutoffSyncDays\n }\n automate {\n isEnabled\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 ";
|
|
630
|
+
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 cutoffSyncDays\n }\n automate {\n isEnabled\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 ";
|
|
622
631
|
export declare const SearchSessionsOnTenantDocument = "\n query searchSessionsOnTenant($tenantId: Tag!, $q: String) {\n searchSessionsOnTenant(tenantId: $tenantId, q: $q)\n}\n ";
|
|
623
|
-
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 cutoffSyncDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
624
|
-
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 cutoffSyncDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
625
|
-
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 cutoffSyncDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
632
|
+
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 cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
633
|
+
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 cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
634
|
+
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 cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
626
635
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
627
636
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
628
637
|
listAccounts(variables?: ListAccountsQueryVariables, options?: C): Promise<ListAccountsQuery>;
|
package/src/sdks/drozcommons.js
CHANGED
package/src/sdks/droznexo.d.ts
CHANGED
|
@@ -127,6 +127,9 @@ export declare enum AppInstanceStatus {
|
|
|
127
127
|
Failing = "Failing",
|
|
128
128
|
Inactive = "Inactive"
|
|
129
129
|
}
|
|
130
|
+
export type AutomateConfiguration = {
|
|
131
|
+
isEnabled: Scalars['Boolean']['output'];
|
|
132
|
+
};
|
|
130
133
|
export declare enum Can {
|
|
131
134
|
Manage = "manage",
|
|
132
135
|
Read = "read",
|
|
@@ -155,6 +158,15 @@ export type DrozNexoAppInstance = {
|
|
|
155
158
|
transitions: Array<Scalars['String']['output']>;
|
|
156
159
|
updatedAt: Scalars['DateTime']['output'];
|
|
157
160
|
};
|
|
161
|
+
export type DrozNexoBilling = {
|
|
162
|
+
automate: AutomateConfiguration;
|
|
163
|
+
reclameaqui: ReclameAquiConfiguration;
|
|
164
|
+
};
|
|
165
|
+
export type DrozNexoLicence = {
|
|
166
|
+
billing: DrozNexoBilling;
|
|
167
|
+
name: Scalars['String']['output'];
|
|
168
|
+
tenantId: Scalars['String']['output'];
|
|
169
|
+
};
|
|
158
170
|
export type DrozNexoUsageStatistics = {
|
|
159
171
|
totalAppInstances: Scalars['Int']['output'];
|
|
160
172
|
totalConnections: Scalars['Int']['output'];
|
|
@@ -282,6 +294,7 @@ export type Query = {
|
|
|
282
294
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
283
295
|
getFlow: Flow;
|
|
284
296
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
297
|
+
getLicence?: Maybe<DrozNexoLicence>;
|
|
285
298
|
getUsageStatistics?: Maybe<DrozNexoUsageStatistics>;
|
|
286
299
|
listFlows: FlowConnection;
|
|
287
300
|
listSimpleConnectionSuggestions: Array<SimpleConnectionSuggestion>;
|
|
@@ -299,6 +312,9 @@ export type QueryListFlowsArgs = {
|
|
|
299
312
|
export type QueryListSimpleConnectionsArgs = {
|
|
300
313
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
301
314
|
};
|
|
315
|
+
export type ReclameAquiConfiguration = {
|
|
316
|
+
cutoffSyncDays?: Maybe<Scalars['Float']['output']>;
|
|
317
|
+
};
|
|
302
318
|
export type RemoveFlowInput = {
|
|
303
319
|
id: Scalars['ID']['input'];
|
|
304
320
|
versionId: Scalars['ID']['input'];
|
|
@@ -415,6 +431,17 @@ export type GetUsageStatisticsQueryVariables = Exact<{
|
|
|
415
431
|
export type GetUsageStatisticsQuery = {
|
|
416
432
|
getUsageStatistics?: Maybe<Pick<DrozNexoUsageStatistics, 'totalSecrets' | 'totalAppInstances' | 'totalConnections'>>;
|
|
417
433
|
};
|
|
434
|
+
export type GetLicenceQueryVariables = Exact<{
|
|
435
|
+
[key: string]: never;
|
|
436
|
+
}>;
|
|
437
|
+
export type GetLicenceQuery = {
|
|
438
|
+
getLicence?: Maybe<(Pick<DrozNexoLicence, 'tenantId' | 'name'> & {
|
|
439
|
+
billing: {
|
|
440
|
+
automate: Pick<AutomateConfiguration, 'isEnabled'>;
|
|
441
|
+
reclameaqui: Pick<ReclameAquiConfiguration, 'cutoffSyncDays'>;
|
|
442
|
+
};
|
|
443
|
+
})>;
|
|
444
|
+
};
|
|
418
445
|
export type GetFlowQueryVariables = Exact<{
|
|
419
446
|
id: Scalars['ID']['input'];
|
|
420
447
|
versionId: Scalars['ID']['input'];
|
|
@@ -496,6 +523,7 @@ export declare const NodeFragmentDoc = "\n fragment node on Node {\n id\n t
|
|
|
496
523
|
export declare const EdgeFragmentDoc = "\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
|
|
497
524
|
export declare const FlowFragmentDoc = "\n fragment flow on Flow {\n id\n versionId\n title\n description\n status\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n ";
|
|
498
525
|
export declare const GetUsageStatisticsDocument = "\n query getUsageStatistics {\n getUsageStatistics {\n totalSecrets\n totalAppInstances\n totalConnections\n }\n}\n ";
|
|
526
|
+
export declare const GetLicenceDocument = "\n query getLicence {\n getLicence {\n tenantId\n name\n billing {\n automate {\n isEnabled\n }\n reclameaqui {\n cutoffSyncDays\n }\n }\n }\n}\n ";
|
|
499
527
|
export declare const GetFlowDocument = "\n query getFlow($id: ID!, $versionId: ID!) {\n getFlow(id: $id, versionId: $versionId) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n status\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
|
|
500
528
|
export declare const ListFlowsDocument = "\n query listFlows($statuses: [FlowStatus], $next: Base64) {\n listFlows(next: $next, statuses: $statuses) {\n nodes {\n ...flow\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n status\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
|
|
501
529
|
export declare const ListSimpleSuggestionsDocument = "\n query listSimpleSuggestions {\n listSimpleConnectionSuggestions {\n ...simpleConnectionSuggestion\n }\n}\n \n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
|
|
@@ -510,6 +538,7 @@ export declare const RemoveSimpleConnectionDocument = "\n mutation removeSimp
|
|
|
510
538
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
511
539
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
512
540
|
getUsageStatistics(variables?: GetUsageStatisticsQueryVariables, options?: C): Promise<GetUsageStatisticsQuery>;
|
|
541
|
+
getLicence(variables?: GetLicenceQueryVariables, options?: C): Promise<GetLicenceQuery>;
|
|
513
542
|
getFlow(variables: GetFlowQueryVariables, options?: C): Promise<GetFlowQuery>;
|
|
514
543
|
listFlows(variables?: ListFlowsQueryVariables, options?: C): Promise<ListFlowsQuery>;
|
|
515
544
|
listSimpleSuggestions(variables?: ListSimpleSuggestionsQueryVariables, options?: C): Promise<ListSimpleSuggestionsQuery>;
|
package/src/sdks/droznexo.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.RemoveSimpleConnectionDocument = exports.CreateSimpleConnectionDocument = exports.RemoveFlowDocument = exports.PublishFlowDocument = exports.UpdateFlowDocument = exports.EditFlowDocument = exports.CreateFlowDocument = exports.ListSimpleConnectionsDocument = exports.ListSimpleSuggestionsDocument = exports.ListFlowsDocument = exports.GetFlowDocument = exports.GetUsageStatisticsDocument = exports.FlowFragmentDoc = exports.EdgeFragmentDoc = exports.NodeFragmentDoc = exports.SimpleConnectionFragmentDoc = exports.SimpleConnectionSuggestionFragmentDoc = exports.AppAndAppInstanceFragmentDoc = exports.Typenames = exports.FlowStatus = exports.Can = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.RemoveSimpleConnectionDocument = exports.CreateSimpleConnectionDocument = exports.RemoveFlowDocument = exports.PublishFlowDocument = exports.UpdateFlowDocument = exports.EditFlowDocument = exports.CreateFlowDocument = exports.ListSimpleConnectionsDocument = exports.ListSimpleSuggestionsDocument = exports.ListFlowsDocument = exports.GetFlowDocument = exports.GetLicenceDocument = exports.GetUsageStatisticsDocument = exports.FlowFragmentDoc = exports.EdgeFragmentDoc = exports.NodeFragmentDoc = exports.SimpleConnectionFragmentDoc = exports.SimpleConnectionSuggestionFragmentDoc = exports.AppAndAppInstanceFragmentDoc = exports.Typenames = exports.FlowStatus = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
5
|
var AppInstanceStatus;
|
|
6
6
|
(function (AppInstanceStatus) {
|
|
7
7
|
AppInstanceStatus["Active"] = "Active";
|
|
@@ -121,6 +121,22 @@ exports.GetUsageStatisticsDocument = `
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
`;
|
|
124
|
+
exports.GetLicenceDocument = `
|
|
125
|
+
query getLicence {
|
|
126
|
+
getLicence {
|
|
127
|
+
tenantId
|
|
128
|
+
name
|
|
129
|
+
billing {
|
|
130
|
+
automate {
|
|
131
|
+
isEnabled
|
|
132
|
+
}
|
|
133
|
+
reclameaqui {
|
|
134
|
+
cutoffSyncDays
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
`;
|
|
124
140
|
exports.GetFlowDocument = `
|
|
125
141
|
query getFlow($id: ID!, $versionId: ID!) {
|
|
126
142
|
getFlow(id: $id, versionId: $versionId) {
|
|
@@ -240,6 +256,9 @@ function getSdk(requester) {
|
|
|
240
256
|
getUsageStatistics(variables, options) {
|
|
241
257
|
return requester(exports.GetUsageStatisticsDocument, variables, options);
|
|
242
258
|
},
|
|
259
|
+
getLicence(variables, options) {
|
|
260
|
+
return requester(exports.GetLicenceDocument, variables, options);
|
|
261
|
+
},
|
|
243
262
|
getFlow(variables, options) {
|
|
244
263
|
return requester(exports.GetFlowDocument, variables, options);
|
|
245
264
|
},
|
|
@@ -256,6 +256,7 @@ export declare enum Typenames {
|
|
|
256
256
|
}
|
|
257
257
|
export type UpdateMercadoLivreInstanceInput = {
|
|
258
258
|
credentialsId?: InputMaybe<Scalars['ID']['input']>;
|
|
259
|
+
id: Scalars['ID']['input'];
|
|
259
260
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
260
261
|
sellerId?: InputMaybe<Scalars['String']['input']>;
|
|
261
262
|
};
|