@droz-js/sdk 0.8.8 → 0.9.0
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 +39 -0
- package/src/drozadmin.js +4 -0
- package/src/sdks/drozcommons.d.ts +190 -1
- package/src/sdks/drozcommons.js +138 -1
- package/src/sdks/droznexo.d.ts +3 -2
- package/src/sdks/droznexo.js +0 -1
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -52,6 +52,44 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
52
52
|
updateGlobalSecrets(variables: import("./sdks/drozcommons").Exact<{
|
|
53
53
|
input: import("./sdks/drozcommons").UpdateGlobalSecretsInput;
|
|
54
54
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").UpdateGlobalSecretsMutation>;
|
|
55
|
+
listTenantParameters(variables: import("./sdks/drozcommons").Exact<{
|
|
56
|
+
tenantId: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
57
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListTenantParametersQuery>;
|
|
58
|
+
getTenantParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
59
|
+
tenantId: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
60
|
+
name: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
61
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetTenantParameterQuery>;
|
|
62
|
+
listAccountParameters(variables: import("./sdks/drozcommons").Exact<{
|
|
63
|
+
accountId: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
64
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListAccountParametersQuery>;
|
|
65
|
+
getAccountParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
66
|
+
accountId: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
67
|
+
name: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
68
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetAccountParameterQuery>;
|
|
69
|
+
listGlobalParameters(variables?: import("./sdks/drozcommons").Exact<{
|
|
70
|
+
[key: string]: never;
|
|
71
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListGlobalParametersQuery>;
|
|
72
|
+
getGlobalParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
73
|
+
name: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
74
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetGlobalParameterQuery>;
|
|
75
|
+
setTenantParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
76
|
+
input: import("./sdks/drozcommons").SetTenantParameterInput;
|
|
77
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").SetTenantParameterMutation>;
|
|
78
|
+
removeTenantParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
79
|
+
input: import("./sdks/drozcommons").RemoveTenantParameterInput;
|
|
80
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveTenantParameterMutation>;
|
|
81
|
+
setAccountParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
82
|
+
input: import("./sdks/drozcommons").SetAccountParameterInput;
|
|
83
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").SetAccountParameterMutation>;
|
|
84
|
+
removeAccountParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
85
|
+
input: import("./sdks/drozcommons").RemoveAccountParameterInput;
|
|
86
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveAccountParameterMutation>;
|
|
87
|
+
setGlobalParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
88
|
+
input: import("./sdks/drozcommons").SetGlobalParameterInput;
|
|
89
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").SetGlobalParameterMutation>;
|
|
90
|
+
removeGlobalParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
91
|
+
input: import("./sdks/drozcommons").RemoveGlobalParameterInput;
|
|
92
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveGlobalParameterMutation>;
|
|
55
93
|
listServices(variables: import("./sdks/drozcommons").Exact<{
|
|
56
94
|
tenantId: import("./sdks/drozcommons").Scalars["ID"]["input"];
|
|
57
95
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListServicesQuery>;
|
|
@@ -82,4 +120,5 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
82
120
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").JoinTenantAsSuperAdminMutation>;
|
|
83
121
|
};
|
|
84
122
|
export declare class DrozAdmin extends DrozAdmin_base {
|
|
123
|
+
constructor();
|
|
85
124
|
}
|
package/src/drozadmin.js
CHANGED
|
@@ -19,5 +19,9 @@ const http_1 = require("./client/http");
|
|
|
19
19
|
const drozcommons_1 = require("./sdks/drozcommons");
|
|
20
20
|
__exportStar(require("./sdks/drozcommons"), exports);
|
|
21
21
|
class DrozAdmin extends (0, http_1.HttpClientBuilder)(drozcommons_1.serviceName, drozcommons_1.getSdk) {
|
|
22
|
+
constructor() {
|
|
23
|
+
super();
|
|
24
|
+
this.forTenant('core');
|
|
25
|
+
}
|
|
22
26
|
}
|
|
23
27
|
exports.DrozAdmin = DrozAdmin;
|
|
@@ -264,7 +264,13 @@ export type Mutation = {
|
|
|
264
264
|
deploy: Deployment;
|
|
265
265
|
destroy: Deployment;
|
|
266
266
|
joinTenantAsSuperAdmin?: Maybe<Scalars['String']['output']>;
|
|
267
|
+
removeAccountParameter?: Maybe<Parameter>;
|
|
268
|
+
removeGlobalParameter?: Maybe<Parameter>;
|
|
267
269
|
removeTenant: Tenant;
|
|
270
|
+
removeTenantParameter?: Maybe<Parameter>;
|
|
271
|
+
setAccountParameter: Parameter;
|
|
272
|
+
setGlobalParameter: Parameter;
|
|
273
|
+
setTenantParameter: Parameter;
|
|
268
274
|
updateAccountParameters: AwsAccount;
|
|
269
275
|
updateGlobalSecrets: GlobalSecrets;
|
|
270
276
|
updateTenant: Tenant;
|
|
@@ -285,9 +291,27 @@ export type MutationDestroyArgs = {
|
|
|
285
291
|
export type MutationJoinTenantAsSuperAdminArgs = {
|
|
286
292
|
input: JoinTenantAsSuperAdminInput;
|
|
287
293
|
};
|
|
294
|
+
export type MutationRemoveAccountParameterArgs = {
|
|
295
|
+
input: RemoveAccountParameterInput;
|
|
296
|
+
};
|
|
297
|
+
export type MutationRemoveGlobalParameterArgs = {
|
|
298
|
+
input: RemoveGlobalParameterInput;
|
|
299
|
+
};
|
|
288
300
|
export type MutationRemoveTenantArgs = {
|
|
289
301
|
input: RemoveTenantInput;
|
|
290
302
|
};
|
|
303
|
+
export type MutationRemoveTenantParameterArgs = {
|
|
304
|
+
input: RemoveTenantParameterInput;
|
|
305
|
+
};
|
|
306
|
+
export type MutationSetAccountParameterArgs = {
|
|
307
|
+
input: SetAccountParameterInput;
|
|
308
|
+
};
|
|
309
|
+
export type MutationSetGlobalParameterArgs = {
|
|
310
|
+
input: SetGlobalParameterInput;
|
|
311
|
+
};
|
|
312
|
+
export type MutationSetTenantParameterArgs = {
|
|
313
|
+
input: SetTenantParameterInput;
|
|
314
|
+
};
|
|
291
315
|
export type MutationUpdateAccountParametersArgs = {
|
|
292
316
|
input: UpdateAccountParametersInput;
|
|
293
317
|
};
|
|
@@ -319,20 +343,38 @@ export type PageInfo = {
|
|
|
319
343
|
hasNext: Scalars['Boolean']['output'];
|
|
320
344
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
321
345
|
};
|
|
346
|
+
export type Parameter = {
|
|
347
|
+
name: Scalars['String']['output'];
|
|
348
|
+
namespace: Scalars['String']['output'];
|
|
349
|
+
type: ParameterType;
|
|
350
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
351
|
+
};
|
|
352
|
+
export declare enum ParameterType {
|
|
353
|
+
Array = "array",
|
|
354
|
+
Boolean = "boolean",
|
|
355
|
+
Number = "number",
|
|
356
|
+
String = "string"
|
|
357
|
+
}
|
|
322
358
|
export type Query = {
|
|
323
359
|
amplifyConfig?: Maybe<Scalars['JSON']['output']>;
|
|
324
360
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
325
361
|
authInfo?: Maybe<AuthInfo>;
|
|
326
362
|
deploymentLogs: DeploymentLogConnection;
|
|
363
|
+
getAccountParameter?: Maybe<Parameter>;
|
|
327
364
|
getDeployment: Deployment;
|
|
365
|
+
getGlobalParameter?: Maybe<Parameter>;
|
|
328
366
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
329
367
|
getTenant?: Maybe<Tenant>;
|
|
368
|
+
getTenantParameter?: Maybe<Parameter>;
|
|
369
|
+
listAccountParameters?: Maybe<Array<Parameter>>;
|
|
330
370
|
listAccounts: Array<AwsAccount>;
|
|
331
371
|
listDeployments: Array<Deployment>;
|
|
332
372
|
listGitBranches: Array<GitBranch>;
|
|
333
373
|
listGitRepositories: Array<GitRepository>;
|
|
374
|
+
listGlobalParameters?: Maybe<Array<Parameter>>;
|
|
334
375
|
listRegions: Array<Region>;
|
|
335
376
|
listServices: Array<Maybe<Service>>;
|
|
377
|
+
listTenantParameters?: Maybe<Array<Parameter>>;
|
|
336
378
|
listTenants: Array<Maybe<Tenant>>;
|
|
337
379
|
searchSessionsOnTenant: Array<Maybe<Scalars['JSON']['output']>>;
|
|
338
380
|
version?: Maybe<Scalars['String']['output']>;
|
|
@@ -345,13 +387,27 @@ export type QueryDeploymentLogsArgs = {
|
|
|
345
387
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
346
388
|
tenantId: Scalars['ID']['input'];
|
|
347
389
|
};
|
|
390
|
+
export type QueryGetAccountParameterArgs = {
|
|
391
|
+
accountId: Scalars['String']['input'];
|
|
392
|
+
name: Scalars['String']['input'];
|
|
393
|
+
};
|
|
348
394
|
export type QueryGetDeploymentArgs = {
|
|
349
395
|
deploymentId: Scalars['ID']['input'];
|
|
350
396
|
tenantId: Scalars['ID']['input'];
|
|
351
397
|
};
|
|
398
|
+
export type QueryGetGlobalParameterArgs = {
|
|
399
|
+
name: Scalars['String']['input'];
|
|
400
|
+
};
|
|
352
401
|
export type QueryGetTenantArgs = {
|
|
353
402
|
tenantId: Scalars['TenantId']['input'];
|
|
354
403
|
};
|
|
404
|
+
export type QueryGetTenantParameterArgs = {
|
|
405
|
+
name: Scalars['String']['input'];
|
|
406
|
+
tenantId: Scalars['String']['input'];
|
|
407
|
+
};
|
|
408
|
+
export type QueryListAccountParametersArgs = {
|
|
409
|
+
accountId: Scalars['String']['input'];
|
|
410
|
+
};
|
|
355
411
|
export type QueryListDeploymentsArgs = {
|
|
356
412
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
357
413
|
tenantId: Scalars['ID']['input'];
|
|
@@ -362,6 +418,9 @@ export type QueryListGitBranchesArgs = {
|
|
|
362
418
|
export type QueryListServicesArgs = {
|
|
363
419
|
tenantId: Scalars['ID']['input'];
|
|
364
420
|
};
|
|
421
|
+
export type QueryListTenantParametersArgs = {
|
|
422
|
+
tenantId: Scalars['String']['input'];
|
|
423
|
+
};
|
|
365
424
|
export type QuerySearchSessionsOnTenantArgs = {
|
|
366
425
|
q?: InputMaybe<Scalars['String']['input']>;
|
|
367
426
|
tenantId: Scalars['TenantId']['input'];
|
|
@@ -375,9 +434,20 @@ export type ReclameAquiBillingInput = {
|
|
|
375
434
|
export type Region = {
|
|
376
435
|
name: Scalars['String']['output'];
|
|
377
436
|
};
|
|
437
|
+
export type RemoveAccountParameterInput = {
|
|
438
|
+
accountId: Scalars['String']['input'];
|
|
439
|
+
name: Scalars['String']['input'];
|
|
440
|
+
};
|
|
441
|
+
export type RemoveGlobalParameterInput = {
|
|
442
|
+
name: Scalars['String']['input'];
|
|
443
|
+
};
|
|
378
444
|
export type RemoveTenantInput = {
|
|
379
445
|
tenantId: Scalars['TenantId']['input'];
|
|
380
446
|
};
|
|
447
|
+
export type RemoveTenantParameterInput = {
|
|
448
|
+
name: Scalars['String']['input'];
|
|
449
|
+
tenantId: Scalars['String']['input'];
|
|
450
|
+
};
|
|
381
451
|
export type SearchResultsFacet = {
|
|
382
452
|
name: Scalars['String']['output'];
|
|
383
453
|
stats?: Maybe<SearchResultsFacetStats>;
|
|
@@ -406,6 +476,23 @@ export type Service = {
|
|
|
406
476
|
tenantId: Scalars['ID']['output'];
|
|
407
477
|
type: Scalars['String']['output'];
|
|
408
478
|
};
|
|
479
|
+
export type SetAccountParameterInput = {
|
|
480
|
+
accountId: Scalars['String']['input'];
|
|
481
|
+
name: Scalars['String']['input'];
|
|
482
|
+
type?: InputMaybe<ParameterType>;
|
|
483
|
+
value: Scalars['String']['input'];
|
|
484
|
+
};
|
|
485
|
+
export type SetGlobalParameterInput = {
|
|
486
|
+
name: Scalars['String']['input'];
|
|
487
|
+
type?: InputMaybe<ParameterType>;
|
|
488
|
+
value: Scalars['String']['input'];
|
|
489
|
+
};
|
|
490
|
+
export type SetTenantParameterInput = {
|
|
491
|
+
name: Scalars['String']['input'];
|
|
492
|
+
tenantId: Scalars['String']['input'];
|
|
493
|
+
type?: InputMaybe<ParameterType>;
|
|
494
|
+
value: Scalars['String']['input'];
|
|
495
|
+
};
|
|
409
496
|
export type StringMatcher = {
|
|
410
497
|
btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
411
498
|
ct?: Maybe<Scalars['String']['output']>;
|
|
@@ -454,7 +541,9 @@ export type TenantBillingInput = {
|
|
|
454
541
|
export declare enum Typenames {
|
|
455
542
|
Any = "Any",
|
|
456
543
|
GraphqlConnections = "GraphqlConnections",
|
|
457
|
-
GraphqlSubscriptions = "GraphqlSubscriptions"
|
|
544
|
+
GraphqlSubscriptions = "GraphqlSubscriptions",
|
|
545
|
+
Parameters = "Parameters",
|
|
546
|
+
Tenants = "Tenants"
|
|
458
547
|
}
|
|
459
548
|
export type UpdateAccountParametersInput = {
|
|
460
549
|
administrativeApiSecret?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -580,6 +669,81 @@ export type UpdateGlobalSecretsMutationVariables = Exact<{
|
|
|
580
669
|
export type UpdateGlobalSecretsMutation = {
|
|
581
670
|
updateGlobalSecrets: Pick<GlobalSecrets, 'crossServiceJwtSignKey'>;
|
|
582
671
|
};
|
|
672
|
+
export type ParameterFragment = Pick<Parameter, 'namespace' | 'name' | 'value' | 'type'>;
|
|
673
|
+
export type ListTenantParametersQueryVariables = Exact<{
|
|
674
|
+
tenantId: Scalars['String']['input'];
|
|
675
|
+
}>;
|
|
676
|
+
export type ListTenantParametersQuery = {
|
|
677
|
+
listTenantParameters?: Maybe<Array<ParameterFragment>>;
|
|
678
|
+
};
|
|
679
|
+
export type GetTenantParameterQueryVariables = Exact<{
|
|
680
|
+
tenantId: Scalars['String']['input'];
|
|
681
|
+
name: Scalars['String']['input'];
|
|
682
|
+
}>;
|
|
683
|
+
export type GetTenantParameterQuery = {
|
|
684
|
+
getTenantParameter?: Maybe<ParameterFragment>;
|
|
685
|
+
};
|
|
686
|
+
export type ListAccountParametersQueryVariables = Exact<{
|
|
687
|
+
accountId: Scalars['String']['input'];
|
|
688
|
+
}>;
|
|
689
|
+
export type ListAccountParametersQuery = {
|
|
690
|
+
listAccountParameters?: Maybe<Array<ParameterFragment>>;
|
|
691
|
+
};
|
|
692
|
+
export type GetAccountParameterQueryVariables = Exact<{
|
|
693
|
+
accountId: Scalars['String']['input'];
|
|
694
|
+
name: Scalars['String']['input'];
|
|
695
|
+
}>;
|
|
696
|
+
export type GetAccountParameterQuery = {
|
|
697
|
+
getAccountParameter?: Maybe<ParameterFragment>;
|
|
698
|
+
};
|
|
699
|
+
export type ListGlobalParametersQueryVariables = Exact<{
|
|
700
|
+
[key: string]: never;
|
|
701
|
+
}>;
|
|
702
|
+
export type ListGlobalParametersQuery = {
|
|
703
|
+
listGlobalParameters?: Maybe<Array<ParameterFragment>>;
|
|
704
|
+
};
|
|
705
|
+
export type GetGlobalParameterQueryVariables = Exact<{
|
|
706
|
+
name: Scalars['String']['input'];
|
|
707
|
+
}>;
|
|
708
|
+
export type GetGlobalParameterQuery = {
|
|
709
|
+
getGlobalParameter?: Maybe<ParameterFragment>;
|
|
710
|
+
};
|
|
711
|
+
export type SetTenantParameterMutationVariables = Exact<{
|
|
712
|
+
input: SetTenantParameterInput;
|
|
713
|
+
}>;
|
|
714
|
+
export type SetTenantParameterMutation = {
|
|
715
|
+
setTenantParameter: ParameterFragment;
|
|
716
|
+
};
|
|
717
|
+
export type RemoveTenantParameterMutationVariables = Exact<{
|
|
718
|
+
input: RemoveTenantParameterInput;
|
|
719
|
+
}>;
|
|
720
|
+
export type RemoveTenantParameterMutation = {
|
|
721
|
+
removeTenantParameter?: Maybe<ParameterFragment>;
|
|
722
|
+
};
|
|
723
|
+
export type SetAccountParameterMutationVariables = Exact<{
|
|
724
|
+
input: SetAccountParameterInput;
|
|
725
|
+
}>;
|
|
726
|
+
export type SetAccountParameterMutation = {
|
|
727
|
+
setAccountParameter: ParameterFragment;
|
|
728
|
+
};
|
|
729
|
+
export type RemoveAccountParameterMutationVariables = Exact<{
|
|
730
|
+
input: RemoveAccountParameterInput;
|
|
731
|
+
}>;
|
|
732
|
+
export type RemoveAccountParameterMutation = {
|
|
733
|
+
removeAccountParameter?: Maybe<ParameterFragment>;
|
|
734
|
+
};
|
|
735
|
+
export type SetGlobalParameterMutationVariables = Exact<{
|
|
736
|
+
input: SetGlobalParameterInput;
|
|
737
|
+
}>;
|
|
738
|
+
export type SetGlobalParameterMutation = {
|
|
739
|
+
setGlobalParameter: ParameterFragment;
|
|
740
|
+
};
|
|
741
|
+
export type RemoveGlobalParameterMutationVariables = Exact<{
|
|
742
|
+
input: RemoveGlobalParameterInput;
|
|
743
|
+
}>;
|
|
744
|
+
export type RemoveGlobalParameterMutation = {
|
|
745
|
+
removeGlobalParameter?: Maybe<ParameterFragment>;
|
|
746
|
+
};
|
|
583
747
|
export type ServiceFragment = Pick<Service, 'accountId' | 'tenantId' | 'serviceId' | 'type' | 'endpoint'>;
|
|
584
748
|
export type ListServicesQueryVariables = Exact<{
|
|
585
749
|
tenantId: Scalars['ID']['input'];
|
|
@@ -648,6 +812,7 @@ export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAc
|
|
|
648
812
|
export declare const DeploymentFragmentDoc = "\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 ";
|
|
649
813
|
export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
650
814
|
export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n ";
|
|
815
|
+
export declare const ParameterFragmentDoc = "\n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
651
816
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
652
817
|
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 globalSecrets {\n crossServiceJwtSignKey\n }\n}\n ";
|
|
653
818
|
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 ";
|
|
@@ -664,6 +829,18 @@ export declare const DeployDocument = "\n mutation deploy($input: DeployInput
|
|
|
664
829
|
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 ";
|
|
665
830
|
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 ";
|
|
666
831
|
export declare const UpdateGlobalSecretsDocument = "\n mutation updateGlobalSecrets($input: UpdateGlobalSecretsInput!) {\n updateGlobalSecrets(input: $input) {\n crossServiceJwtSignKey\n }\n}\n ";
|
|
832
|
+
export declare const ListTenantParametersDocument = "\n query listTenantParameters($tenantId: String!) {\n listTenantParameters(tenantId: $tenantId) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
833
|
+
export declare const GetTenantParameterDocument = "\n query getTenantParameter($tenantId: String!, $name: String!) {\n getTenantParameter(tenantId: $tenantId, name: $name) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
834
|
+
export declare const ListAccountParametersDocument = "\n query listAccountParameters($accountId: String!) {\n listAccountParameters(accountId: $accountId) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
835
|
+
export declare const GetAccountParameterDocument = "\n query getAccountParameter($accountId: String!, $name: String!) {\n getAccountParameter(accountId: $accountId, name: $name) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
836
|
+
export declare const ListGlobalParametersDocument = "\n query listGlobalParameters {\n listGlobalParameters {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
837
|
+
export declare const GetGlobalParameterDocument = "\n query getGlobalParameter($name: String!) {\n getGlobalParameter(name: $name) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
838
|
+
export declare const SetTenantParameterDocument = "\n mutation setTenantParameter($input: SetTenantParameterInput!) {\n setTenantParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
839
|
+
export declare const RemoveTenantParameterDocument = "\n mutation removeTenantParameter($input: RemoveTenantParameterInput!) {\n removeTenantParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
840
|
+
export declare const SetAccountParameterDocument = "\n mutation setAccountParameter($input: SetAccountParameterInput!) {\n setAccountParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
841
|
+
export declare const RemoveAccountParameterDocument = "\n mutation removeAccountParameter($input: RemoveAccountParameterInput!) {\n removeAccountParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
842
|
+
export declare const SetGlobalParameterDocument = "\n mutation setGlobalParameter($input: SetGlobalParameterInput!) {\n setGlobalParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
843
|
+
export declare const RemoveGlobalParameterDocument = "\n mutation removeGlobalParameter($input: RemoveGlobalParameterInput!) {\n removeGlobalParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
667
844
|
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 ";
|
|
668
845
|
export declare const GetTenantDocument = "\n query getTenant($tenantId: TenantId!, $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 globalSecrets {\n crossServiceJwtSignKey\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 ";
|
|
669
846
|
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 globalSecrets {\n crossServiceJwtSignKey\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 ";
|
|
@@ -688,6 +865,18 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
688
865
|
destroy(variables: DestroyMutationVariables, options?: C): Promise<DestroyMutation>;
|
|
689
866
|
batchDeploy(variables: BatchDeployMutationVariables, options?: C): Promise<BatchDeployMutation>;
|
|
690
867
|
updateGlobalSecrets(variables: UpdateGlobalSecretsMutationVariables, options?: C): Promise<UpdateGlobalSecretsMutation>;
|
|
868
|
+
listTenantParameters(variables: ListTenantParametersQueryVariables, options?: C): Promise<ListTenantParametersQuery>;
|
|
869
|
+
getTenantParameter(variables: GetTenantParameterQueryVariables, options?: C): Promise<GetTenantParameterQuery>;
|
|
870
|
+
listAccountParameters(variables: ListAccountParametersQueryVariables, options?: C): Promise<ListAccountParametersQuery>;
|
|
871
|
+
getAccountParameter(variables: GetAccountParameterQueryVariables, options?: C): Promise<GetAccountParameterQuery>;
|
|
872
|
+
listGlobalParameters(variables?: ListGlobalParametersQueryVariables, options?: C): Promise<ListGlobalParametersQuery>;
|
|
873
|
+
getGlobalParameter(variables: GetGlobalParameterQueryVariables, options?: C): Promise<GetGlobalParameterQuery>;
|
|
874
|
+
setTenantParameter(variables: SetTenantParameterMutationVariables, options?: C): Promise<SetTenantParameterMutation>;
|
|
875
|
+
removeTenantParameter(variables: RemoveTenantParameterMutationVariables, options?: C): Promise<RemoveTenantParameterMutation>;
|
|
876
|
+
setAccountParameter(variables: SetAccountParameterMutationVariables, options?: C): Promise<SetAccountParameterMutation>;
|
|
877
|
+
removeAccountParameter(variables: RemoveAccountParameterMutationVariables, options?: C): Promise<RemoveAccountParameterMutation>;
|
|
878
|
+
setGlobalParameter(variables: SetGlobalParameterMutationVariables, options?: C): Promise<SetGlobalParameterMutation>;
|
|
879
|
+
removeGlobalParameter(variables: RemoveGlobalParameterMutationVariables, options?: C): Promise<RemoveGlobalParameterMutation>;
|
|
691
880
|
listServices(variables: ListServicesQueryVariables, options?: C): Promise<ListServicesQuery>;
|
|
692
881
|
getTenant(variables: GetTenantQueryVariables, options?: C): Promise<GetTenantQuery>;
|
|
693
882
|
listTenants(variables?: ListTenantsQueryVariables, options?: C): Promise<ListTenantsQuery>;
|
package/src/sdks/drozcommons.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.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.UpdateGlobalSecretsDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UpdateAccountParametersDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = 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.UpdateGlobalSecretsDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UpdateAccountParametersDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.ParameterFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.ParameterType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
5
|
exports.getSdk = getSdk;
|
|
6
6
|
var AppInstanceStatus;
|
|
7
7
|
(function (AppInstanceStatus) {
|
|
@@ -28,11 +28,20 @@ var DeploymentStatus;
|
|
|
28
28
|
DeploymentStatus["InQueue"] = "IN_QUEUE";
|
|
29
29
|
DeploymentStatus["Succeeded"] = "SUCCEEDED";
|
|
30
30
|
})(DeploymentStatus || (exports.DeploymentStatus = DeploymentStatus = {}));
|
|
31
|
+
var ParameterType;
|
|
32
|
+
(function (ParameterType) {
|
|
33
|
+
ParameterType["Array"] = "array";
|
|
34
|
+
ParameterType["Boolean"] = "boolean";
|
|
35
|
+
ParameterType["Number"] = "number";
|
|
36
|
+
ParameterType["String"] = "string";
|
|
37
|
+
})(ParameterType || (exports.ParameterType = ParameterType = {}));
|
|
31
38
|
var Typenames;
|
|
32
39
|
(function (Typenames) {
|
|
33
40
|
Typenames["Any"] = "Any";
|
|
34
41
|
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
35
42
|
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
43
|
+
Typenames["Parameters"] = "Parameters";
|
|
44
|
+
Typenames["Tenants"] = "Tenants";
|
|
36
45
|
})(Typenames || (exports.Typenames = Typenames = {}));
|
|
37
46
|
exports.RegionFragmentDoc = `
|
|
38
47
|
fragment region on Region {
|
|
@@ -91,6 +100,14 @@ exports.GitRepositoryFragmentDoc = `
|
|
|
91
100
|
}
|
|
92
101
|
}
|
|
93
102
|
`;
|
|
103
|
+
exports.ParameterFragmentDoc = `
|
|
104
|
+
fragment parameter on Parameter {
|
|
105
|
+
namespace
|
|
106
|
+
name
|
|
107
|
+
value
|
|
108
|
+
type
|
|
109
|
+
}
|
|
110
|
+
`;
|
|
94
111
|
exports.ServiceFragmentDoc = `
|
|
95
112
|
fragment service on Service {
|
|
96
113
|
accountId
|
|
@@ -242,6 +259,90 @@ exports.UpdateGlobalSecretsDocument = `
|
|
|
242
259
|
}
|
|
243
260
|
}
|
|
244
261
|
`;
|
|
262
|
+
exports.ListTenantParametersDocument = `
|
|
263
|
+
query listTenantParameters($tenantId: String!) {
|
|
264
|
+
listTenantParameters(tenantId: $tenantId) {
|
|
265
|
+
...parameter
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
${exports.ParameterFragmentDoc}`;
|
|
269
|
+
exports.GetTenantParameterDocument = `
|
|
270
|
+
query getTenantParameter($tenantId: String!, $name: String!) {
|
|
271
|
+
getTenantParameter(tenantId: $tenantId, name: $name) {
|
|
272
|
+
...parameter
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
${exports.ParameterFragmentDoc}`;
|
|
276
|
+
exports.ListAccountParametersDocument = `
|
|
277
|
+
query listAccountParameters($accountId: String!) {
|
|
278
|
+
listAccountParameters(accountId: $accountId) {
|
|
279
|
+
...parameter
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
${exports.ParameterFragmentDoc}`;
|
|
283
|
+
exports.GetAccountParameterDocument = `
|
|
284
|
+
query getAccountParameter($accountId: String!, $name: String!) {
|
|
285
|
+
getAccountParameter(accountId: $accountId, name: $name) {
|
|
286
|
+
...parameter
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
${exports.ParameterFragmentDoc}`;
|
|
290
|
+
exports.ListGlobalParametersDocument = `
|
|
291
|
+
query listGlobalParameters {
|
|
292
|
+
listGlobalParameters {
|
|
293
|
+
...parameter
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
${exports.ParameterFragmentDoc}`;
|
|
297
|
+
exports.GetGlobalParameterDocument = `
|
|
298
|
+
query getGlobalParameter($name: String!) {
|
|
299
|
+
getGlobalParameter(name: $name) {
|
|
300
|
+
...parameter
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
${exports.ParameterFragmentDoc}`;
|
|
304
|
+
exports.SetTenantParameterDocument = `
|
|
305
|
+
mutation setTenantParameter($input: SetTenantParameterInput!) {
|
|
306
|
+
setTenantParameter(input: $input) {
|
|
307
|
+
...parameter
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
${exports.ParameterFragmentDoc}`;
|
|
311
|
+
exports.RemoveTenantParameterDocument = `
|
|
312
|
+
mutation removeTenantParameter($input: RemoveTenantParameterInput!) {
|
|
313
|
+
removeTenantParameter(input: $input) {
|
|
314
|
+
...parameter
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
${exports.ParameterFragmentDoc}`;
|
|
318
|
+
exports.SetAccountParameterDocument = `
|
|
319
|
+
mutation setAccountParameter($input: SetAccountParameterInput!) {
|
|
320
|
+
setAccountParameter(input: $input) {
|
|
321
|
+
...parameter
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
${exports.ParameterFragmentDoc}`;
|
|
325
|
+
exports.RemoveAccountParameterDocument = `
|
|
326
|
+
mutation removeAccountParameter($input: RemoveAccountParameterInput!) {
|
|
327
|
+
removeAccountParameter(input: $input) {
|
|
328
|
+
...parameter
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
${exports.ParameterFragmentDoc}`;
|
|
332
|
+
exports.SetGlobalParameterDocument = `
|
|
333
|
+
mutation setGlobalParameter($input: SetGlobalParameterInput!) {
|
|
334
|
+
setGlobalParameter(input: $input) {
|
|
335
|
+
...parameter
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
${exports.ParameterFragmentDoc}`;
|
|
339
|
+
exports.RemoveGlobalParameterDocument = `
|
|
340
|
+
mutation removeGlobalParameter($input: RemoveGlobalParameterInput!) {
|
|
341
|
+
removeGlobalParameter(input: $input) {
|
|
342
|
+
...parameter
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
${exports.ParameterFragmentDoc}`;
|
|
245
346
|
exports.ListServicesDocument = `
|
|
246
347
|
query listServices($tenantId: ID!) {
|
|
247
348
|
listServices(tenantId: $tenantId) {
|
|
@@ -354,6 +455,42 @@ function getSdk(requester) {
|
|
|
354
455
|
updateGlobalSecrets(variables, options) {
|
|
355
456
|
return requester(exports.UpdateGlobalSecretsDocument, variables, options);
|
|
356
457
|
},
|
|
458
|
+
listTenantParameters(variables, options) {
|
|
459
|
+
return requester(exports.ListTenantParametersDocument, variables, options);
|
|
460
|
+
},
|
|
461
|
+
getTenantParameter(variables, options) {
|
|
462
|
+
return requester(exports.GetTenantParameterDocument, variables, options);
|
|
463
|
+
},
|
|
464
|
+
listAccountParameters(variables, options) {
|
|
465
|
+
return requester(exports.ListAccountParametersDocument, variables, options);
|
|
466
|
+
},
|
|
467
|
+
getAccountParameter(variables, options) {
|
|
468
|
+
return requester(exports.GetAccountParameterDocument, variables, options);
|
|
469
|
+
},
|
|
470
|
+
listGlobalParameters(variables, options) {
|
|
471
|
+
return requester(exports.ListGlobalParametersDocument, variables, options);
|
|
472
|
+
},
|
|
473
|
+
getGlobalParameter(variables, options) {
|
|
474
|
+
return requester(exports.GetGlobalParameterDocument, variables, options);
|
|
475
|
+
},
|
|
476
|
+
setTenantParameter(variables, options) {
|
|
477
|
+
return requester(exports.SetTenantParameterDocument, variables, options);
|
|
478
|
+
},
|
|
479
|
+
removeTenantParameter(variables, options) {
|
|
480
|
+
return requester(exports.RemoveTenantParameterDocument, variables, options);
|
|
481
|
+
},
|
|
482
|
+
setAccountParameter(variables, options) {
|
|
483
|
+
return requester(exports.SetAccountParameterDocument, variables, options);
|
|
484
|
+
},
|
|
485
|
+
removeAccountParameter(variables, options) {
|
|
486
|
+
return requester(exports.RemoveAccountParameterDocument, variables, options);
|
|
487
|
+
},
|
|
488
|
+
setGlobalParameter(variables, options) {
|
|
489
|
+
return requester(exports.SetGlobalParameterDocument, variables, options);
|
|
490
|
+
},
|
|
491
|
+
removeGlobalParameter(variables, options) {
|
|
492
|
+
return requester(exports.RemoveGlobalParameterDocument, variables, options);
|
|
493
|
+
},
|
|
357
494
|
listServices(variables, options) {
|
|
358
495
|
return requester(exports.ListServicesDocument, variables, options);
|
|
359
496
|
},
|
package/src/sdks/droznexo.d.ts
CHANGED
|
@@ -175,6 +175,7 @@ export type DrozNexoBilling = {
|
|
|
175
175
|
};
|
|
176
176
|
export type DrozNexoLicence = {
|
|
177
177
|
billing: DrozNexoBilling;
|
|
178
|
+
/** @deprecated Use tenantId instead */
|
|
178
179
|
name: Scalars['String']['output'];
|
|
179
180
|
tenantId: Scalars['String']['output'];
|
|
180
181
|
};
|
|
@@ -544,7 +545,7 @@ export type GetLicenceQueryVariables = Exact<{
|
|
|
544
545
|
[key: string]: never;
|
|
545
546
|
}>;
|
|
546
547
|
export type GetLicenceQuery = {
|
|
547
|
-
getLicence?: Maybe<(Pick<DrozNexoLicence, 'tenantId'
|
|
548
|
+
getLicence?: Maybe<(Pick<DrozNexoLicence, 'tenantId'> & {
|
|
548
549
|
billing: {
|
|
549
550
|
automate: Pick<AutomateConfiguration, 'isEnabled'>;
|
|
550
551
|
reclameaqui: Pick<ReclameAquiConfiguration, 'cutoffSyncDays'>;
|
|
@@ -570,7 +571,7 @@ export declare const TestFlowDocument = "\n mutation testFlow($input: TestFlo
|
|
|
570
571
|
export declare const RemoveFlowDocument = "\n mutation removeFlow($input: RemoveFlowInput!) {\n removeFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n status\n languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n instanceId\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n instanceId\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 ";
|
|
571
572
|
export declare const CreateSimpleConnectionDocument = "\n mutation createSimpleConnection($input: CreateSimpleConnectionInput!) {\n createSimpleConnection(input: $input) {\n ...simpleConnection\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n createdByAppId\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n instanceId\n transitions\n createdAt\n updatedAt\n }\n}\n ";
|
|
572
573
|
export declare const RemoveSimpleConnectionDocument = "\n mutation removeSimpleConnection($input: RemoveSimpleConnectionInput!) {\n removeSimpleConnection(input: $input) {\n ...simpleConnection\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n createdByAppId\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n instanceId\n transitions\n createdAt\n updatedAt\n }\n}\n ";
|
|
573
|
-
export declare const GetLicenceDocument = "\n query getLicence {\n getLicence {\n tenantId\n
|
|
574
|
+
export declare const GetLicenceDocument = "\n query getLicence {\n getLicence {\n tenantId\n billing {\n automate {\n isEnabled\n }\n reclameaqui {\n cutoffSyncDays\n }\n }\n }\n}\n ";
|
|
574
575
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
575
576
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
576
577
|
getUsageStatistics(variables?: GetUsageStatisticsQueryVariables, options?: C): Promise<GetUsageStatisticsQuery>;
|