@droz-js/sdk 0.9.72 → 0.9.73
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 +6 -0
- package/src/sdks/drozcommons.d.ts +32 -0
- package/src/sdks/drozcommons.js +21 -1
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -125,6 +125,12 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
125
125
|
updateTenant(variables: import("./sdks/drozcommons").Exact<{
|
|
126
126
|
input: import("./sdks/drozcommons").UpdateTenantInput;
|
|
127
127
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").UpdateTenantMutation>;
|
|
128
|
+
addTenantTags(variables: import("./sdks/drozcommons").Exact<{
|
|
129
|
+
input: import("./sdks/drozcommons").AddTenantTagsInput;
|
|
130
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").AddTenantTagsMutation>;
|
|
131
|
+
removeTenantTags(variables: import("./sdks/drozcommons").Exact<{
|
|
132
|
+
input: import("./sdks/drozcommons").RemoveTenantTagsInput;
|
|
133
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveTenantTagsMutation>;
|
|
128
134
|
removeTenant(variables: import("./sdks/drozcommons").Exact<{
|
|
129
135
|
input: import("./sdks/drozcommons").RemoveTenantInput;
|
|
130
136
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveTenantMutation>;
|
|
@@ -122,6 +122,10 @@ export type Scalars = {
|
|
|
122
122
|
output: void;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
+
export type AddTenantTagsInput = {
|
|
126
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
127
|
+
tenantId: Scalars['TenantId']['input'];
|
|
128
|
+
};
|
|
125
129
|
export type AdminAgent = {
|
|
126
130
|
email: Scalars['EmailAddress']['output'];
|
|
127
131
|
id: Scalars['ID']['output'];
|
|
@@ -280,6 +284,7 @@ export type LeaveTenantOrganizationInput = {
|
|
|
280
284
|
tenantId: Scalars['TenantId']['input'];
|
|
281
285
|
};
|
|
282
286
|
export type Mutation = {
|
|
287
|
+
addTenantTags: Tenant;
|
|
283
288
|
batchDeploy: Array<Deployment>;
|
|
284
289
|
createTenant: Tenant;
|
|
285
290
|
deploy: Deployment;
|
|
@@ -291,6 +296,7 @@ export type Mutation = {
|
|
|
291
296
|
removeGlobalParameter?: Maybe<Parameter>;
|
|
292
297
|
removeTenant: Tenant;
|
|
293
298
|
removeTenantParameter?: Maybe<Parameter>;
|
|
299
|
+
removeTenantTags: Tenant;
|
|
294
300
|
setAccountParameter: Parameter;
|
|
295
301
|
setGlobalParameter: Parameter;
|
|
296
302
|
setTenantParameter: Parameter;
|
|
@@ -298,6 +304,9 @@ export type Mutation = {
|
|
|
298
304
|
updateTenant: Tenant;
|
|
299
305
|
version?: Maybe<Scalars['String']['output']>;
|
|
300
306
|
};
|
|
307
|
+
export type MutationAddTenantTagsArgs = {
|
|
308
|
+
input: AddTenantTagsInput;
|
|
309
|
+
};
|
|
301
310
|
export type MutationBatchDeployArgs = {
|
|
302
311
|
input: BatchDeployInput;
|
|
303
312
|
};
|
|
@@ -331,6 +340,9 @@ export type MutationRemoveTenantArgs = {
|
|
|
331
340
|
export type MutationRemoveTenantParameterArgs = {
|
|
332
341
|
input: RemoveTenantParameterInput;
|
|
333
342
|
};
|
|
343
|
+
export type MutationRemoveTenantTagsArgs = {
|
|
344
|
+
input: RemoveTenantTagsInput;
|
|
345
|
+
};
|
|
334
346
|
export type MutationSetAccountParameterArgs = {
|
|
335
347
|
input: SetAccountParameterInput;
|
|
336
348
|
};
|
|
@@ -482,6 +494,10 @@ export type RemoveTenantParameterInput = {
|
|
|
482
494
|
name: Scalars['String']['input'];
|
|
483
495
|
tenantId: Scalars['String']['input'];
|
|
484
496
|
};
|
|
497
|
+
export type RemoveTenantTagsInput = {
|
|
498
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
499
|
+
tenantId: Scalars['TenantId']['input'];
|
|
500
|
+
};
|
|
485
501
|
export type SearchResultsFacet = {
|
|
486
502
|
name: Scalars['String']['output'];
|
|
487
503
|
stats?: Maybe<SearchResultsFacetStats>;
|
|
@@ -832,6 +848,18 @@ export type UpdateTenantMutationVariables = Exact<{
|
|
|
832
848
|
export type UpdateTenantMutation = {
|
|
833
849
|
updateTenant: TenantFragment;
|
|
834
850
|
};
|
|
851
|
+
export type AddTenantTagsMutationVariables = Exact<{
|
|
852
|
+
input: AddTenantTagsInput;
|
|
853
|
+
}>;
|
|
854
|
+
export type AddTenantTagsMutation = {
|
|
855
|
+
addTenantTags: TenantFragment;
|
|
856
|
+
};
|
|
857
|
+
export type RemoveTenantTagsMutationVariables = Exact<{
|
|
858
|
+
input: RemoveTenantTagsInput;
|
|
859
|
+
}>;
|
|
860
|
+
export type RemoveTenantTagsMutation = {
|
|
861
|
+
removeTenantTags: TenantFragment;
|
|
862
|
+
};
|
|
835
863
|
export type RemoveTenantMutationVariables = Exact<{
|
|
836
864
|
input: RemoveTenantInput;
|
|
837
865
|
}>;
|
|
@@ -895,6 +923,8 @@ export declare const SearchSessionsOnTenantDocument = "\n query searchSession
|
|
|
895
923
|
export declare const GetZendeskTicketDetailsDocument = "\n query getZendeskTicketDetails($tenantId: TenantId!, $ticketId: String!) {\n getZendeskTicketDetails(tenantId: $tenantId, ticketId: $ticketId)\n}\n ";
|
|
896
924
|
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 ";
|
|
897
925
|
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
|
+
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 ";
|
|
927
|
+
export declare const RemoveTenantTagsDocument = "\n mutation removeTenantTags($input: RemoveTenantTagsInput!) {\n removeTenantTags(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 ";
|
|
898
928
|
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 tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n}\n ";
|
|
899
929
|
export declare const JoinTenantAsSuperAdminDocument = "\n mutation joinTenantAsSuperAdmin($input: JoinTenantAsSuperAdminInput!) {\n joinTenantAsSuperAdmin(input: $input)\n}\n ";
|
|
900
930
|
export declare const LeaveTenantOrganizationDocument = "\n mutation leaveTenantOrganization($input: LeaveTenantOrganizationInput!) {\n leaveTenantOrganization(input: $input)\n}\n ";
|
|
@@ -937,6 +967,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
937
967
|
getZendeskTicketDetails(variables: GetZendeskTicketDetailsQueryVariables, options?: C): Promise<GetZendeskTicketDetailsQuery>;
|
|
938
968
|
createTenant(variables: CreateTenantMutationVariables, options?: C): Promise<CreateTenantMutation>;
|
|
939
969
|
updateTenant(variables: UpdateTenantMutationVariables, options?: C): Promise<UpdateTenantMutation>;
|
|
970
|
+
addTenantTags(variables: AddTenantTagsMutationVariables, options?: C): Promise<AddTenantTagsMutation>;
|
|
971
|
+
removeTenantTags(variables: RemoveTenantTagsMutationVariables, options?: C): Promise<RemoveTenantTagsMutation>;
|
|
940
972
|
removeTenant(variables: RemoveTenantMutationVariables, options?: C): Promise<RemoveTenantMutation>;
|
|
941
973
|
joinTenantAsSuperAdmin(variables: JoinTenantAsSuperAdminMutationVariables, options?: C): Promise<JoinTenantAsSuperAdminMutation>;
|
|
942
974
|
leaveTenantOrganization(variables: LeaveTenantOrganizationMutationVariables, options?: C): Promise<LeaveTenantOrganizationMutation>;
|
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.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.GetZendeskTicketDetailsDocument = void 0;
|
|
6
6
|
exports.getSdk = getSdk;
|
|
7
7
|
var AppInstanceStatus;
|
|
8
8
|
(function (AppInstanceStatus) {
|
|
@@ -432,6 +432,20 @@ exports.UpdateTenantDocument = `
|
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
${exports.TenantFragmentDoc}`;
|
|
435
|
+
exports.AddTenantTagsDocument = `
|
|
436
|
+
mutation addTenantTags($input: AddTenantTagsInput!) {
|
|
437
|
+
addTenantTags(input: $input) {
|
|
438
|
+
...tenant
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
${exports.TenantFragmentDoc}`;
|
|
442
|
+
exports.RemoveTenantTagsDocument = `
|
|
443
|
+
mutation removeTenantTags($input: RemoveTenantTagsInput!) {
|
|
444
|
+
removeTenantTags(input: $input) {
|
|
445
|
+
...tenant
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
${exports.TenantFragmentDoc}`;
|
|
435
449
|
exports.RemoveTenantDocument = `
|
|
436
450
|
mutation removeTenant($input: RemoveTenantInput!) {
|
|
437
451
|
removeTenant(input: $input) {
|
|
@@ -564,6 +578,12 @@ function getSdk(requester) {
|
|
|
564
578
|
updateTenant(variables, options) {
|
|
565
579
|
return requester(exports.UpdateTenantDocument, variables, options);
|
|
566
580
|
},
|
|
581
|
+
addTenantTags(variables, options) {
|
|
582
|
+
return requester(exports.AddTenantTagsDocument, variables, options);
|
|
583
|
+
},
|
|
584
|
+
removeTenantTags(variables, options) {
|
|
585
|
+
return requester(exports.RemoveTenantTagsDocument, variables, options);
|
|
586
|
+
},
|
|
567
587
|
removeTenant(variables, options) {
|
|
568
588
|
return requester(exports.RemoveTenantDocument, variables, options);
|
|
569
589
|
},
|