@droz-js/sdk 0.9.7 → 0.9.8
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 +3 -0
- package/src/drozanalytics.d.ts +4 -0
- package/src/nucleus.d.ts +11 -1
- package/src/sdks/drozanalytics.d.ts +31 -0
- package/src/sdks/drozanalytics.js +30 -1
- package/src/sdks/drozcommons.d.ts +43 -6
- package/src/sdks/drozcommons.js +28 -1
- package/src/sdks/nucleus.d.ts +74 -20
- package/src/sdks/nucleus.js +45 -5
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -99,6 +99,9 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
99
99
|
withServices?: import("./sdks/drozcommons").InputMaybe<import("./sdks/drozcommons").Scalars["Boolean"]["input"]>;
|
|
100
100
|
withDeployments?: import("./sdks/drozcommons").InputMaybe<import("./sdks/drozcommons").Scalars["Boolean"]["input"]>;
|
|
101
101
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListTenantsQuery>;
|
|
102
|
+
getFederationMetadata(variables: import("./sdks/drozcommons").Exact<{
|
|
103
|
+
tenantId: import("./sdks/drozcommons").Scalars["TenantId"]["input"];
|
|
104
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetFederationMetadataQuery>;
|
|
102
105
|
searchSessionsOnTenant(variables: import("./sdks/drozcommons").Exact<{
|
|
103
106
|
tenantId: import("./sdks/drozcommons").Scalars["TenantId"]["input"];
|
|
104
107
|
q?: import("./sdks/drozcommons").InputMaybe<import("./sdks/drozcommons").Scalars["String"]["input"]>;
|
package/src/drozanalytics.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ declare const Drozanalytics_base: new (options?: import("./client/http").HttpCli
|
|
|
29
29
|
startDate: import("./sdks/drozanalytics").Scalars["Date"]["input"];
|
|
30
30
|
endDate: import("./sdks/drozanalytics").Scalars["Date"]["input"];
|
|
31
31
|
}>, options?: unknown): Promise<import("./sdks/drozanalytics").GetTicketsByTriggerAppQuery>;
|
|
32
|
+
getFacets(variables: import("./sdks/drozanalytics").Exact<{
|
|
33
|
+
startDate: import("./sdks/drozanalytics").Scalars["Date"]["input"];
|
|
34
|
+
endDate: import("./sdks/drozanalytics").Scalars["Date"]["input"];
|
|
35
|
+
}>, options?: unknown): Promise<import("./sdks/drozanalytics").GetFacetsQuery>;
|
|
32
36
|
};
|
|
33
37
|
export declare class Drozanalytics extends Drozanalytics_base {
|
|
34
38
|
constructor();
|
package/src/nucleus.d.ts
CHANGED
|
@@ -88,8 +88,12 @@ declare const Nucleus_base: new (options?: import("./client/http").HttpClientOpt
|
|
|
88
88
|
unregisterAppInstance(variables: import("./sdks/nucleus").Exact<{
|
|
89
89
|
input: import("./sdks/nucleus").UnregisterAppInstanceInput;
|
|
90
90
|
}>, options?: unknown): Promise<import("./sdks/nucleus").UnregisterAppInstanceMutation>;
|
|
91
|
-
|
|
91
|
+
getFederationMetadata(variables?: import("./sdks/nucleus").Exact<{
|
|
92
92
|
[key: string]: never;
|
|
93
|
+
}>, options?: unknown): Promise<import("./sdks/nucleus").GetFederationMetadataQuery>;
|
|
94
|
+
getAmplifyConfig(variables?: import("./sdks/nucleus").Exact<{
|
|
95
|
+
forDev?: import("./sdks/nucleus").InputMaybe<import("./sdks/nucleus").Scalars["Boolean"]["input"]>;
|
|
96
|
+
forService?: import("./sdks/nucleus").InputMaybe<import("./sdks/nucleus").Scalars["String"]["input"]>;
|
|
93
97
|
}>, options?: unknown): Promise<import("./sdks/nucleus").GetAmplifyConfigQuery>;
|
|
94
98
|
getAuthInfo(variables?: import("./sdks/nucleus").Exact<{
|
|
95
99
|
[key: string]: never;
|
|
@@ -195,6 +199,12 @@ declare const Nucleus_base: new (options?: import("./client/http").HttpClientOpt
|
|
|
195
199
|
removeTagsFromSessionAttributes(variables: import("./sdks/nucleus").Exact<{
|
|
196
200
|
input: import("./sdks/nucleus").RemoveTagsFromSessionAttributesInput;
|
|
197
201
|
}>, options?: unknown): Promise<import("./sdks/nucleus").RemoveTagsFromSessionAttributesMutation>;
|
|
202
|
+
getSettings(variables?: import("./sdks/nucleus").Exact<{
|
|
203
|
+
[key: string]: never;
|
|
204
|
+
}>, options?: unknown): Promise<import("./sdks/nucleus").GetSettingsQuery>;
|
|
205
|
+
updateSettings(variables: import("./sdks/nucleus").Exact<{
|
|
206
|
+
input: import("./sdks/nucleus").UpdateSettingsInput;
|
|
207
|
+
}>, options?: unknown): Promise<import("./sdks/nucleus").UpdateSettingsMutation>;
|
|
198
208
|
getStateMachine(variables: import("./sdks/nucleus").Exact<{
|
|
199
209
|
id: import("./sdks/nucleus").Scalars["ID"]["input"];
|
|
200
210
|
versionId: import("./sdks/nucleus").Scalars["ID"]["input"];
|
|
@@ -138,6 +138,16 @@ export type AnalyticsChart = {
|
|
|
138
138
|
name: Scalars['String']['output'];
|
|
139
139
|
previous: Scalars['Float']['output'];
|
|
140
140
|
};
|
|
141
|
+
export type AnalyticsFacetValue = {
|
|
142
|
+
count?: Maybe<Scalars['Float']['output']>;
|
|
143
|
+
display?: Maybe<Scalars['String']['output']>;
|
|
144
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
145
|
+
};
|
|
146
|
+
export type AnalyticsFacets = {
|
|
147
|
+
agents?: Maybe<Array<Maybe<AnalyticsFacetValue>>>;
|
|
148
|
+
customers?: Maybe<Array<Maybe<AnalyticsFacetValue>>>;
|
|
149
|
+
statuses?: Maybe<Array<Maybe<AnalyticsFacetValue>>>;
|
|
150
|
+
};
|
|
141
151
|
export type AnalyticsMultiValue = {
|
|
142
152
|
results: Array<MultiGrouped>;
|
|
143
153
|
summary: Array<AnalyticsChart>;
|
|
@@ -203,6 +213,7 @@ export type PageInfo = {
|
|
|
203
213
|
export type Query = {
|
|
204
214
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
205
215
|
getAttendanceTime?: Maybe<AnalyticsAverage>;
|
|
216
|
+
getFacets?: Maybe<AnalyticsFacets>;
|
|
206
217
|
getFirstResponseTime?: Maybe<AnalyticsAverage>;
|
|
207
218
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
208
219
|
getTicketsByStatus?: Maybe<AnalyticsMultiValue>;
|
|
@@ -216,6 +227,11 @@ export type QueryGetAttendanceTimeArgs = {
|
|
|
216
227
|
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>;
|
|
217
228
|
startDate: Scalars['Date']['input'];
|
|
218
229
|
};
|
|
230
|
+
export type QueryGetFacetsArgs = {
|
|
231
|
+
endDate: Scalars['Date']['input'];
|
|
232
|
+
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>;
|
|
233
|
+
startDate: Scalars['Date']['input'];
|
|
234
|
+
};
|
|
219
235
|
export type QueryGetFirstResponseTimeArgs = {
|
|
220
236
|
endDate: Scalars['Date']['input'];
|
|
221
237
|
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>;
|
|
@@ -314,6 +330,11 @@ export type MultiValueFragment = {
|
|
|
314
330
|
})>;
|
|
315
331
|
summary: Array<ChartFragment>;
|
|
316
332
|
};
|
|
333
|
+
export type QueryFacetsFragment = {
|
|
334
|
+
customers?: Maybe<Array<Maybe<Pick<AnalyticsFacetValue, 'value' | 'display' | 'count'>>>>;
|
|
335
|
+
agents?: Maybe<Array<Maybe<Pick<AnalyticsFacetValue, 'value' | 'display' | 'count'>>>>;
|
|
336
|
+
statuses?: Maybe<Array<Maybe<Pick<AnalyticsFacetValue, 'value' | 'display' | 'count'>>>>;
|
|
337
|
+
};
|
|
317
338
|
export type GetFirstResponseTimeQueryVariables = Exact<{
|
|
318
339
|
startDate: Scalars['Date']['input'];
|
|
319
340
|
endDate: Scalars['Date']['input'];
|
|
@@ -355,16 +376,25 @@ export type GetTicketsByTriggerAppQueryVariables = Exact<{
|
|
|
355
376
|
export type GetTicketsByTriggerAppQuery = {
|
|
356
377
|
getTicketsByTriggerApp?: Maybe<Array<Maybe<ChartFragment>>>;
|
|
357
378
|
};
|
|
379
|
+
export type GetFacetsQueryVariables = Exact<{
|
|
380
|
+
startDate: Scalars['Date']['input'];
|
|
381
|
+
endDate: Scalars['Date']['input'];
|
|
382
|
+
}>;
|
|
383
|
+
export type GetFacetsQuery = {
|
|
384
|
+
getFacets?: Maybe<QueryFacetsFragment>;
|
|
385
|
+
};
|
|
358
386
|
export declare const AverageFragmentDoc = "\n fragment average on AnalyticsAverage {\n delta\n current\n previous\n}\n ";
|
|
359
387
|
export declare const VolumeFragmentDoc = "\n fragment volume on AnalyticsVolume {\n delta\n total\n prevTotal\n data {\n name\n value\n }\n}\n ";
|
|
360
388
|
export declare const ChartFragmentDoc = "\n fragment chart on AnalyticsChart {\n delta\n current\n previous\n name\n}\n ";
|
|
361
389
|
export declare const MultiValueFragmentDoc = "\n fragment multiValue on AnalyticsMultiValue {\n results {\n name\n values {\n name\n value\n }\n }\n summary {\n ...chart\n }\n}\n ";
|
|
390
|
+
export declare const QueryFacetsFragmentDoc = "\n fragment queryFacets on AnalyticsFacets {\n customers {\n value\n display\n count\n }\n agents {\n value\n display\n count\n }\n statuses {\n value\n display\n count\n }\n}\n ";
|
|
362
391
|
export declare const GetFirstResponseTimeDocument = "\n query getFirstResponseTime($startDate: Date!, $endDate: Date!) {\n getFirstResponseTime(startDate: $startDate, endDate: $endDate) {\n ...average\n }\n}\n \n fragment average on AnalyticsAverage {\n delta\n current\n previous\n}\n ";
|
|
363
392
|
export declare const GetAttendanceTimeDocument = "\n query getAttendanceTime($startDate: Date!, $endDate: Date!) {\n getAttendanceTime(startDate: $startDate, endDate: $endDate) {\n ...average\n }\n}\n \n fragment average on AnalyticsAverage {\n delta\n current\n previous\n}\n ";
|
|
364
393
|
export declare const GetTicketsByStatusDocument = "\n query getTicketsByStatus($startDate: Date!, $endDate: Date!) {\n getTicketsByStatus(startDate: $startDate, endDate: $endDate) {\n ...multiValue\n }\n}\n \n fragment multiValue on AnalyticsMultiValue {\n results {\n name\n values {\n name\n value\n }\n }\n summary {\n ...chart\n }\n}\n \n\n fragment chart on AnalyticsChart {\n delta\n current\n previous\n name\n}\n ";
|
|
365
394
|
export declare const GetVolumeOfTicketsPerDayDocument = "\n query getVolumeOfTicketsPerDay($startDate: Date!, $endDate: Date!) {\n getVolumeOfTicketsPerDay(startDate: $startDate, endDate: $endDate) {\n ...volume\n }\n}\n \n fragment volume on AnalyticsVolume {\n delta\n total\n prevTotal\n data {\n name\n value\n }\n}\n ";
|
|
366
395
|
export declare const GetVolumeOfTicketsPerHourDocument = "\n query getVolumeOfTicketsPerHour($date: Date!) {\n getVolumeOfTicketsPerHour(date: $date) {\n name\n value\n }\n}\n ";
|
|
367
396
|
export declare const GetTicketsByTriggerAppDocument = "\n query getTicketsByTriggerApp($startDate: Date!, $endDate: Date!) {\n getTicketsByTriggerApp(startDate: $startDate, endDate: $endDate) {\n ...chart\n }\n}\n \n fragment chart on AnalyticsChart {\n delta\n current\n previous\n name\n}\n ";
|
|
397
|
+
export declare const GetFacetsDocument = "\n query getFacets($startDate: Date!, $endDate: Date!) {\n getFacets(startDate: $startDate, endDate: $endDate) {\n ...queryFacets\n }\n}\n \n fragment queryFacets on AnalyticsFacets {\n customers {\n value\n display\n count\n }\n agents {\n value\n display\n count\n }\n statuses {\n value\n display\n count\n }\n}\n ";
|
|
368
398
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
369
399
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
370
400
|
getFirstResponseTime(variables: GetFirstResponseTimeQueryVariables, options?: C): Promise<GetFirstResponseTimeQuery>;
|
|
@@ -373,6 +403,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
373
403
|
getVolumeOfTicketsPerDay(variables: GetVolumeOfTicketsPerDayQueryVariables, options?: C): Promise<GetVolumeOfTicketsPerDayQuery>;
|
|
374
404
|
getVolumeOfTicketsPerHour(variables: GetVolumeOfTicketsPerHourQueryVariables, options?: C): Promise<GetVolumeOfTicketsPerHourQuery>;
|
|
375
405
|
getTicketsByTriggerApp(variables: GetTicketsByTriggerAppQueryVariables, options?: C): Promise<GetTicketsByTriggerAppQuery>;
|
|
406
|
+
getFacets(variables: GetFacetsQueryVariables, options?: C): Promise<GetFacetsQuery>;
|
|
376
407
|
};
|
|
377
408
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
378
409
|
export declare const serviceName = "@droz/drozanalytics";
|
|
@@ -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.GetTicketsByTriggerAppDocument = exports.GetVolumeOfTicketsPerHourDocument = exports.GetVolumeOfTicketsPerDayDocument = exports.GetTicketsByStatusDocument = exports.GetAttendanceTimeDocument = exports.GetFirstResponseTimeDocument = exports.MultiValueFragmentDoc = exports.ChartFragmentDoc = exports.VolumeFragmentDoc = exports.AverageFragmentDoc = exports.Typenames = exports.Can = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.GetFacetsDocument = exports.GetTicketsByTriggerAppDocument = exports.GetVolumeOfTicketsPerHourDocument = exports.GetVolumeOfTicketsPerDayDocument = exports.GetTicketsByStatusDocument = exports.GetAttendanceTimeDocument = exports.GetFirstResponseTimeDocument = exports.QueryFacetsFragmentDoc = exports.MultiValueFragmentDoc = exports.ChartFragmentDoc = exports.VolumeFragmentDoc = exports.AverageFragmentDoc = exports.Typenames = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
5
|
exports.getSdk = getSdk;
|
|
6
6
|
var AppInstanceStatus;
|
|
7
7
|
(function (AppInstanceStatus) {
|
|
@@ -62,6 +62,25 @@ exports.MultiValueFragmentDoc = `
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
`;
|
|
65
|
+
exports.QueryFacetsFragmentDoc = `
|
|
66
|
+
fragment queryFacets on AnalyticsFacets {
|
|
67
|
+
customers {
|
|
68
|
+
value
|
|
69
|
+
display
|
|
70
|
+
count
|
|
71
|
+
}
|
|
72
|
+
agents {
|
|
73
|
+
value
|
|
74
|
+
display
|
|
75
|
+
count
|
|
76
|
+
}
|
|
77
|
+
statuses {
|
|
78
|
+
value
|
|
79
|
+
display
|
|
80
|
+
count
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
`;
|
|
65
84
|
exports.GetFirstResponseTimeDocument = `
|
|
66
85
|
query getFirstResponseTime($startDate: Date!, $endDate: Date!) {
|
|
67
86
|
getFirstResponseTime(startDate: $startDate, endDate: $endDate) {
|
|
@@ -106,6 +125,13 @@ exports.GetTicketsByTriggerAppDocument = `
|
|
|
106
125
|
}
|
|
107
126
|
}
|
|
108
127
|
${exports.ChartFragmentDoc}`;
|
|
128
|
+
exports.GetFacetsDocument = `
|
|
129
|
+
query getFacets($startDate: Date!, $endDate: Date!) {
|
|
130
|
+
getFacets(startDate: $startDate, endDate: $endDate) {
|
|
131
|
+
...queryFacets
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
${exports.QueryFacetsFragmentDoc}`;
|
|
109
135
|
function getSdk(requester) {
|
|
110
136
|
return {
|
|
111
137
|
getFirstResponseTime(variables, options) {
|
|
@@ -125,6 +151,9 @@ function getSdk(requester) {
|
|
|
125
151
|
},
|
|
126
152
|
getTicketsByTriggerApp(variables, options) {
|
|
127
153
|
return requester(exports.GetTicketsByTriggerAppDocument, variables, options);
|
|
154
|
+
},
|
|
155
|
+
getFacets(variables, options) {
|
|
156
|
+
return requester(exports.GetFacetsDocument, variables, options);
|
|
128
157
|
}
|
|
129
158
|
};
|
|
130
159
|
}
|
|
@@ -164,6 +164,7 @@ export type CognitoConfig = {
|
|
|
164
164
|
};
|
|
165
165
|
export type CreateTenantInput = {
|
|
166
166
|
accountId: Scalars['ID']['input'];
|
|
167
|
+
identityProviders?: InputMaybe<Array<IdentityProviderInput>>;
|
|
167
168
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
168
169
|
region?: InputMaybe<Scalars['String']['input']>;
|
|
169
170
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -227,6 +228,29 @@ export type I18nTextInput = {
|
|
|
227
228
|
lang: Scalars['Locale']['input'];
|
|
228
229
|
value: Scalars['String']['input'];
|
|
229
230
|
};
|
|
231
|
+
export type IdentityProvider = {
|
|
232
|
+
attributeMapping?: Maybe<Scalars['JSON']['output']>;
|
|
233
|
+
metadataContent?: Maybe<Scalars['String']['output']>;
|
|
234
|
+
metadataType?: Maybe<IdentityProviderSamlMetadataType>;
|
|
235
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
236
|
+
type: IdentityProviderType;
|
|
237
|
+
};
|
|
238
|
+
export type IdentityProviderInput = {
|
|
239
|
+
attributeMapping?: InputMaybe<Scalars['JSON']['input']>;
|
|
240
|
+
metadataContent?: InputMaybe<Scalars['String']['input']>;
|
|
241
|
+
metadataType?: InputMaybe<IdentityProviderSamlMetadataType>;
|
|
242
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
243
|
+
type: IdentityProviderType;
|
|
244
|
+
};
|
|
245
|
+
export declare enum IdentityProviderSamlMetadataType {
|
|
246
|
+
File = "file",
|
|
247
|
+
Url = "url"
|
|
248
|
+
}
|
|
249
|
+
export declare enum IdentityProviderType {
|
|
250
|
+
Cognito = "Cognito",
|
|
251
|
+
Google = "Google",
|
|
252
|
+
Saml = "SAML"
|
|
253
|
+
}
|
|
230
254
|
export type JoinTenantAsSuperAdminInput = {
|
|
231
255
|
tenantId: Scalars['TenantId']['input'];
|
|
232
256
|
};
|
|
@@ -330,6 +354,7 @@ export type Query = {
|
|
|
330
354
|
deploymentLogs: DeploymentLogConnection;
|
|
331
355
|
getAccountParameter?: Maybe<Parameter>;
|
|
332
356
|
getDeployment: Deployment;
|
|
357
|
+
getFederationMetadata: Scalars['String']['output'];
|
|
333
358
|
getGlobalParameter?: Maybe<Parameter>;
|
|
334
359
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
335
360
|
getTenant?: Maybe<Tenant>;
|
|
@@ -363,6 +388,9 @@ export type QueryGetDeploymentArgs = {
|
|
|
363
388
|
deploymentId: Scalars['ID']['input'];
|
|
364
389
|
tenantId: Scalars['ID']['input'];
|
|
365
390
|
};
|
|
391
|
+
export type QueryGetFederationMetadataArgs = {
|
|
392
|
+
tenantId: Scalars['TenantId']['input'];
|
|
393
|
+
};
|
|
366
394
|
export type QueryGetGlobalParameterArgs = {
|
|
367
395
|
name: Scalars['String']['input'];
|
|
368
396
|
};
|
|
@@ -488,6 +516,7 @@ export type Tenant = {
|
|
|
488
516
|
deployedVersions?: Maybe<Scalars['JSON']['output']>;
|
|
489
517
|
deployments: Array<Deployment>;
|
|
490
518
|
disabled?: Maybe<Scalars['Boolean']['output']>;
|
|
519
|
+
identityProviders: Array<IdentityProvider>;
|
|
491
520
|
name?: Maybe<Scalars['String']['output']>;
|
|
492
521
|
region: Scalars['String']['output'];
|
|
493
522
|
services: Array<Maybe<Service>>;
|
|
@@ -507,6 +536,7 @@ export type UpdateAccountInput = {
|
|
|
507
536
|
name: Scalars['String']['input'];
|
|
508
537
|
};
|
|
509
538
|
export type UpdateTenantInput = {
|
|
539
|
+
identityProviders?: InputMaybe<Array<IdentityProviderInput>>;
|
|
510
540
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
511
541
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
512
542
|
tenantId: Scalars['TenantId']['input'];
|
|
@@ -689,6 +719,7 @@ export type ListServicesQuery = {
|
|
|
689
719
|
};
|
|
690
720
|
export type TenantFragment = (Pick<Tenant, 'accountId' | 'tenantId' | 'name' | 'deployedVersions' | 'disabled' | 'createdAt' | 'updatedAt'> & {
|
|
691
721
|
account: Pick<AwsAccount, 'id' | 'name'>;
|
|
722
|
+
identityProviders: Array<Pick<IdentityProvider, 'type' | 'name' | 'metadataType' | 'metadataContent' | 'attributeMapping'>>;
|
|
692
723
|
});
|
|
693
724
|
export type GetTenantQueryVariables = Exact<{
|
|
694
725
|
tenantId: Scalars['TenantId']['input'];
|
|
@@ -711,6 +742,10 @@ export type ListTenantsQuery = {
|
|
|
711
742
|
deployments?: Array<DeploymentFragment>;
|
|
712
743
|
} & TenantFragment)>>;
|
|
713
744
|
};
|
|
745
|
+
export type GetFederationMetadataQueryVariables = Exact<{
|
|
746
|
+
tenantId: Scalars['TenantId']['input'];
|
|
747
|
+
}>;
|
|
748
|
+
export type GetFederationMetadataQuery = Pick<Query, 'getFederationMetadata'>;
|
|
714
749
|
export type SearchSessionsOnTenantQueryVariables = Exact<{
|
|
715
750
|
tenantId: Scalars['TenantId']['input'];
|
|
716
751
|
q?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -745,7 +780,7 @@ export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBran
|
|
|
745
780
|
export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n ";
|
|
746
781
|
export declare const ParameterFragmentDoc = "\n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
747
782
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
748
|
-
export declare const TenantFragmentDoc = "\n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n ";
|
|
783
|
+
export declare const TenantFragmentDoc = "\n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n}\n ";
|
|
749
784
|
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}\n \n\n fragment region on Region {\n name\n}\n ";
|
|
750
785
|
export declare const ListRegionsDocument = "\n query listRegions {\n listRegions {\n ...region\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
751
786
|
export declare const UpdateAccountDocument = "\n mutation updateAccount($input: UpdateAccountInput!) {\n updateAccount(input: $input) {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
|
|
@@ -772,12 +807,13 @@ export declare const RemoveAccountParameterDocument = "\n mutation removeAcco
|
|
|
772
807
|
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 ";
|
|
773
808
|
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 ";
|
|
774
809
|
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 ";
|
|
775
|
-
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 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 ";
|
|
776
|
-
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
810
|
+
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 account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\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 ";
|
|
811
|
+
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\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 ";
|
|
812
|
+
export declare const GetFederationMetadataDocument = "\n query getFederationMetadata($tenantId: TenantId!) {\n getFederationMetadata(tenantId: $tenantId)\n}\n ";
|
|
777
813
|
export declare const SearchSessionsOnTenantDocument = "\n query searchSessionsOnTenant($tenantId: TenantId!, $q: String) {\n searchSessionsOnTenant(tenantId: $tenantId, q: $q)\n}\n ";
|
|
778
|
-
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n ";
|
|
779
|
-
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n ";
|
|
780
|
-
export declare const RemoveTenantDocument = "\n mutation removeTenant($input: RemoveTenantInput!) {\n removeTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n}\n ";
|
|
814
|
+
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n}\n ";
|
|
815
|
+
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n}\n ";
|
|
816
|
+
export declare const RemoveTenantDocument = "\n mutation removeTenant($input: RemoveTenantInput!) {\n removeTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n}\n ";
|
|
781
817
|
export declare const JoinTenantAsSuperAdminDocument = "\n mutation joinTenantAsSuperAdmin($input: JoinTenantAsSuperAdminInput!) {\n joinTenantAsSuperAdmin(input: $input)\n}\n ";
|
|
782
818
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
783
819
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
@@ -809,6 +845,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
809
845
|
listServices(variables: ListServicesQueryVariables, options?: C): Promise<ListServicesQuery>;
|
|
810
846
|
getTenant(variables: GetTenantQueryVariables, options?: C): Promise<GetTenantQuery>;
|
|
811
847
|
listTenants(variables?: ListTenantsQueryVariables, options?: C): Promise<ListTenantsQuery>;
|
|
848
|
+
getFederationMetadata(variables: GetFederationMetadataQueryVariables, options?: C): Promise<GetFederationMetadataQuery>;
|
|
812
849
|
searchSessionsOnTenant(variables: SearchSessionsOnTenantQueryVariables, options?: C): Promise<SearchSessionsOnTenantQuery>;
|
|
813
850
|
createTenant(variables: CreateTenantMutationVariables, options?: C): Promise<CreateTenantMutation>;
|
|
814
851
|
updateTenant(variables: UpdateTenantMutationVariables, options?: C): Promise<UpdateTenantMutation>;
|
package/src/sdks/drozcommons.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = 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.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UpdateAccountDocument = 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.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.serviceName = void 0;
|
|
5
6
|
exports.getSdk = getSdk;
|
|
6
7
|
var AppInstanceStatus;
|
|
7
8
|
(function (AppInstanceStatus) {
|
|
@@ -28,6 +29,17 @@ var DeploymentStatus;
|
|
|
28
29
|
DeploymentStatus["InQueue"] = "IN_QUEUE";
|
|
29
30
|
DeploymentStatus["Succeeded"] = "SUCCEEDED";
|
|
30
31
|
})(DeploymentStatus || (exports.DeploymentStatus = DeploymentStatus = {}));
|
|
32
|
+
var IdentityProviderSamlMetadataType;
|
|
33
|
+
(function (IdentityProviderSamlMetadataType) {
|
|
34
|
+
IdentityProviderSamlMetadataType["File"] = "file";
|
|
35
|
+
IdentityProviderSamlMetadataType["Url"] = "url";
|
|
36
|
+
})(IdentityProviderSamlMetadataType || (exports.IdentityProviderSamlMetadataType = IdentityProviderSamlMetadataType = {}));
|
|
37
|
+
var IdentityProviderType;
|
|
38
|
+
(function (IdentityProviderType) {
|
|
39
|
+
IdentityProviderType["Cognito"] = "Cognito";
|
|
40
|
+
IdentityProviderType["Google"] = "Google";
|
|
41
|
+
IdentityProviderType["Saml"] = "SAML";
|
|
42
|
+
})(IdentityProviderType || (exports.IdentityProviderType = IdentityProviderType = {}));
|
|
31
43
|
var ParameterType;
|
|
32
44
|
(function (ParameterType) {
|
|
33
45
|
ParameterType["Array"] = "array";
|
|
@@ -116,6 +128,13 @@ exports.TenantFragmentDoc = `
|
|
|
116
128
|
id
|
|
117
129
|
name
|
|
118
130
|
}
|
|
131
|
+
identityProviders {
|
|
132
|
+
type
|
|
133
|
+
name
|
|
134
|
+
metadataType
|
|
135
|
+
metadataContent
|
|
136
|
+
attributeMapping
|
|
137
|
+
}
|
|
119
138
|
}
|
|
120
139
|
`;
|
|
121
140
|
exports.ListAccountsDocument = `
|
|
@@ -348,6 +367,11 @@ exports.ListTenantsDocument = `
|
|
|
348
367
|
${exports.TenantFragmentDoc}
|
|
349
368
|
${exports.ServiceFragmentDoc}
|
|
350
369
|
${exports.DeploymentFragmentDoc}`;
|
|
370
|
+
exports.GetFederationMetadataDocument = `
|
|
371
|
+
query getFederationMetadata($tenantId: TenantId!) {
|
|
372
|
+
getFederationMetadata(tenantId: $tenantId)
|
|
373
|
+
}
|
|
374
|
+
`;
|
|
351
375
|
exports.SearchSessionsOnTenantDocument = `
|
|
352
376
|
query searchSessionsOnTenant($tenantId: TenantId!, $q: String) {
|
|
353
377
|
searchSessionsOnTenant(tenantId: $tenantId, q: $q)
|
|
@@ -465,6 +489,9 @@ function getSdk(requester) {
|
|
|
465
489
|
listTenants(variables, options) {
|
|
466
490
|
return requester(exports.ListTenantsDocument, variables, options);
|
|
467
491
|
},
|
|
492
|
+
getFederationMetadata(variables, options) {
|
|
493
|
+
return requester(exports.GetFederationMetadataDocument, variables, options);
|
|
494
|
+
},
|
|
468
495
|
searchSessionsOnTenant(variables, options) {
|
|
469
496
|
return requester(exports.SearchSessionsOnTenantDocument, variables, options);
|
|
470
497
|
},
|
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ export type Agent = {
|
|
|
138
138
|
department?: Maybe<Scalars['String']['output']>;
|
|
139
139
|
email: Scalars['EmailAddress']['output'];
|
|
140
140
|
emailVerified: Scalars['Boolean']['output'];
|
|
141
|
+
groupMappings?: Maybe<Array<Scalars['String']['output']>>;
|
|
141
142
|
id: Scalars['ID']['output'];
|
|
142
143
|
name: Scalars['String']['output'];
|
|
143
144
|
picture?: Maybe<Scalars['String']['output']>;
|
|
@@ -362,6 +363,14 @@ export type GetOrCreateCustomerInput = {
|
|
|
362
363
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
363
364
|
phones?: InputMaybe<Array<InputMaybe<Scalars['PhoneNumber']['input']>>>;
|
|
364
365
|
};
|
|
366
|
+
export type GroupMapping = {
|
|
367
|
+
from: Scalars['String']['output'];
|
|
368
|
+
to: Scalars['String']['output'];
|
|
369
|
+
};
|
|
370
|
+
export type GroupMappingInput = {
|
|
371
|
+
from: Scalars['String']['input'];
|
|
372
|
+
to: Scalars['String']['input'];
|
|
373
|
+
};
|
|
365
374
|
export type I18nText = {
|
|
366
375
|
lang: Scalars['Locale']['output'];
|
|
367
376
|
value: Scalars['String']['output'];
|
|
@@ -462,6 +471,7 @@ export type Mutation = {
|
|
|
462
471
|
updateCredentials: SafeCredentials;
|
|
463
472
|
updateCronJob: CronJob;
|
|
464
473
|
updateMyProfile?: Maybe<Agent>;
|
|
474
|
+
updateSettings?: Maybe<Settings>;
|
|
465
475
|
updateStateMachineConfig?: Maybe<StateMachineConfig>;
|
|
466
476
|
updateStateMachineConfigState?: Maybe<StateMachineConfig>;
|
|
467
477
|
version?: Maybe<Scalars['String']['output']>;
|
|
@@ -568,6 +578,9 @@ export type MutationUpdateCronJobArgs = {
|
|
|
568
578
|
export type MutationUpdateMyProfileArgs = {
|
|
569
579
|
input: UpdateMyProfileInput;
|
|
570
580
|
};
|
|
581
|
+
export type MutationUpdateSettingsArgs = {
|
|
582
|
+
input: UpdateSettingsInput;
|
|
583
|
+
};
|
|
571
584
|
export type MutationUpdateStateMachineConfigArgs = {
|
|
572
585
|
input: UpdateStateMachineConfigInput;
|
|
573
586
|
};
|
|
@@ -654,6 +667,7 @@ export type Query = {
|
|
|
654
667
|
getCredentialsSecret?: Maybe<Credentials>;
|
|
655
668
|
getCronJob?: Maybe<CronJob>;
|
|
656
669
|
getCustomer?: Maybe<Customer>;
|
|
670
|
+
getFederationMetadata: Scalars['String']['output'];
|
|
657
671
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
658
672
|
getMe?: Maybe<Agent>;
|
|
659
673
|
getMercadoLivreAuthInfo: MercadoLivreAuthInfo;
|
|
@@ -661,6 +675,7 @@ export type Query = {
|
|
|
661
675
|
getSession?: Maybe<Session>;
|
|
662
676
|
getSessionSchema: Array<AppSessionSchemaFields>;
|
|
663
677
|
getSessionSchemaForAppId?: Maybe<AppSessionSchemaFields>;
|
|
678
|
+
getSettings?: Maybe<Settings>;
|
|
664
679
|
getStateMachineConfig?: Maybe<StateMachineConfig>;
|
|
665
680
|
getStorage?: Maybe<Storage>;
|
|
666
681
|
getSystemRole?: Maybe<Role>;
|
|
@@ -685,6 +700,7 @@ export type Query = {
|
|
|
685
700
|
};
|
|
686
701
|
export type QueryAmplifyConfigArgs = {
|
|
687
702
|
forDev?: InputMaybe<Scalars['Boolean']['input']>;
|
|
703
|
+
forService?: InputMaybe<Scalars['String']['input']>;
|
|
688
704
|
};
|
|
689
705
|
export type QueryCheckPermissionsArgs = {
|
|
690
706
|
can: Can;
|
|
@@ -905,6 +921,11 @@ export type SetSessionAttributeInput = {
|
|
|
905
921
|
sessionId: Scalars['ID']['input'];
|
|
906
922
|
value: Scalars['JSON']['input'];
|
|
907
923
|
};
|
|
924
|
+
export type Settings = {
|
|
925
|
+
allowedEmailDomains: Array<Scalars['String']['output']>;
|
|
926
|
+
doNotAllowUserSignup: Scalars['Boolean']['output'];
|
|
927
|
+
groupsMapping: Array<GroupMapping>;
|
|
928
|
+
};
|
|
908
929
|
export type StartSessionInput = {
|
|
909
930
|
context?: InputMaybe<SessionContextInput>;
|
|
910
931
|
customer: GetOrCreateCustomerInput;
|
|
@@ -1004,6 +1025,7 @@ export declare enum Typenames {
|
|
|
1004
1025
|
Roles = "Roles",
|
|
1005
1026
|
SessionAttributes = "SessionAttributes",
|
|
1006
1027
|
Sessions = "Sessions",
|
|
1028
|
+
Settings = "Settings",
|
|
1007
1029
|
Storage = "Storage"
|
|
1008
1030
|
}
|
|
1009
1031
|
export type UnregisterAppInstanceInput = {
|
|
@@ -1034,6 +1056,11 @@ export type UpdateMyProfileInput = {
|
|
|
1034
1056
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1035
1057
|
picture?: InputMaybe<Scalars['String']['input']>;
|
|
1036
1058
|
};
|
|
1059
|
+
export type UpdateSettingsInput = {
|
|
1060
|
+
allowedEmailDomains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1061
|
+
doNotAllowUserSignup?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1062
|
+
groupsMapping?: InputMaybe<Array<GroupMappingInput>>;
|
|
1063
|
+
};
|
|
1037
1064
|
export type UpdateStateMachineConfigInput = {
|
|
1038
1065
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1039
1066
|
id: Scalars['ID']['input'];
|
|
@@ -1054,7 +1081,7 @@ export type UpdateStateMachineConfigWithStateInput = {
|
|
|
1054
1081
|
on?: InputMaybe<Array<StateMachineConfigStatesOnInput>>;
|
|
1055
1082
|
stateId: Scalars['ID']['input'];
|
|
1056
1083
|
};
|
|
1057
|
-
export type AgentFragment = Pick<Agent, 'id' | 'name' | 'email' | 'emailVerified' | 'picture' | 'bio' | 'department' | 'apps' | 'roles' | 'cognitoUserStatus' | 'systemAgent' | 'removed' | 'createdAt' | 'updatedAt'>;
|
|
1084
|
+
export type AgentFragment = Pick<Agent, 'id' | 'name' | 'email' | 'emailVerified' | 'picture' | 'bio' | 'department' | 'apps' | 'roles' | 'cognitoUserStatus' | 'systemAgent' | 'removed' | 'groupMappings' | 'createdAt' | 'updatedAt'>;
|
|
1058
1085
|
export type ApiKeyFragment = (Pick<ApiKeyAgent, 'email' | 'password' | 'token'> & {
|
|
1059
1086
|
user: AgentFragment;
|
|
1060
1087
|
});
|
|
@@ -1234,9 +1261,14 @@ export type UnregisterAppInstanceMutationVariables = Exact<{
|
|
|
1234
1261
|
export type UnregisterAppInstanceMutation = {
|
|
1235
1262
|
unregisterAppInstance?: Maybe<AppInstanceFragment>;
|
|
1236
1263
|
};
|
|
1237
|
-
export type
|
|
1264
|
+
export type GetFederationMetadataQueryVariables = Exact<{
|
|
1238
1265
|
[key: string]: never;
|
|
1239
1266
|
}>;
|
|
1267
|
+
export type GetFederationMetadataQuery = Pick<Query, 'getFederationMetadata'>;
|
|
1268
|
+
export type GetAmplifyConfigQueryVariables = Exact<{
|
|
1269
|
+
forDev?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1270
|
+
forService?: InputMaybe<Scalars['String']['input']>;
|
|
1271
|
+
}>;
|
|
1240
1272
|
export type GetAmplifyConfigQuery = Pick<Query, 'amplifyConfig'>;
|
|
1241
1273
|
export type GetAuthInfoQueryVariables = Exact<{
|
|
1242
1274
|
[key: string]: never;
|
|
@@ -1467,6 +1499,21 @@ export type RemoveTagsFromSessionAttributesMutationVariables = Exact<{
|
|
|
1467
1499
|
input: RemoveTagsFromSessionAttributesInput;
|
|
1468
1500
|
}>;
|
|
1469
1501
|
export type RemoveTagsFromSessionAttributesMutation = Pick<Mutation, 'removeTagsFromSessionAttributes'>;
|
|
1502
|
+
export type SettingsFragment = (Pick<Settings, 'doNotAllowUserSignup' | 'allowedEmailDomains'> & {
|
|
1503
|
+
groupsMapping: Array<Pick<GroupMapping, 'from' | 'to'>>;
|
|
1504
|
+
});
|
|
1505
|
+
export type GetSettingsQueryVariables = Exact<{
|
|
1506
|
+
[key: string]: never;
|
|
1507
|
+
}>;
|
|
1508
|
+
export type GetSettingsQuery = {
|
|
1509
|
+
getSettings?: Maybe<SettingsFragment>;
|
|
1510
|
+
};
|
|
1511
|
+
export type UpdateSettingsMutationVariables = Exact<{
|
|
1512
|
+
input: UpdateSettingsInput;
|
|
1513
|
+
}>;
|
|
1514
|
+
export type UpdateSettingsMutation = {
|
|
1515
|
+
updateSettings?: Maybe<SettingsFragment>;
|
|
1516
|
+
};
|
|
1470
1517
|
export type StateMachineConfigStateOnFragment = Pick<StateMachineConfigStatesOn, 'event' | 'target'>;
|
|
1471
1518
|
export type StateMachineConfigStateFragment = (Pick<StateMachineConfigState, 'stateId' | 'meta'> & {
|
|
1472
1519
|
on: Array<StateMachineConfigStateOnFragment>;
|
|
@@ -1587,7 +1634,7 @@ export type CreatePresignedUploadUrlMutationVariables = Exact<{
|
|
|
1587
1634
|
export type CreatePresignedUploadUrlMutation = {
|
|
1588
1635
|
createPresignedUploadUrl: Pick<CreatePresignedUploadUrl, 'method' | 'url' | 'fields' | 'cdnUrl'>;
|
|
1589
1636
|
};
|
|
1590
|
-
export declare const AgentFragmentDoc = "\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1637
|
+
export declare const AgentFragmentDoc = "\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1591
1638
|
export declare const ApiKeyFragmentDoc = "\n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n ";
|
|
1592
1639
|
export declare const AppFragmentDoc = "\n fragment app on App {\n id\n type\n name\n description\n color\n channels {\n id\n sources\n main\n readonly\n hidden\n }\n}\n ";
|
|
1593
1640
|
export declare const AppInstanceFragmentDoc = "\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n instanceId\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1600,27 +1647,28 @@ export declare const PolicyFragmentDoc = "\n fragment policy on Policy {\n i
|
|
|
1600
1647
|
export declare const RoleFragmentDoc = "\n fragment role on Role {\n id\n name\n policies {\n ...policy\n }\n}\n ";
|
|
1601
1648
|
export declare const SessionFragmentDoc = "\n fragment session on Session {\n sessionId\n customerId\n stateMachineId\n triggerDrn\n status\n}\n ";
|
|
1602
1649
|
export declare const SessionSchemaFragmentDoc = "\n fragment sessionSchema on AppSessionSchemaFields {\n name\n fields {\n name\n description\n }\n}\n ";
|
|
1650
|
+
export declare const SettingsFragmentDoc = "\n fragment settings on Settings {\n doNotAllowUserSignup\n allowedEmailDomains\n groupsMapping {\n from\n to\n }\n}\n ";
|
|
1603
1651
|
export declare const StateMachineConfigStateOnFragmentDoc = "\n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1604
1652
|
export declare const StateMachineConfigStateFragmentDoc = "\n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n ";
|
|
1605
1653
|
export declare const StateMachineConfigFragmentDoc = "\n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n ";
|
|
1606
1654
|
export declare const StateMachineConfigConnectionFragmentDoc = "\n fragment stateMachineConfigConnection on StateMachineConfigConnection {\n nodes {\n ...stateMachineConfig\n }\n pageInfo {\n hasNext\n next\n }\n}\n ";
|
|
1607
1655
|
export declare const StorageFragmentDoc = "\n fragment storage on Storage {\n key\n versionId\n name\n contentType\n size\n eTag\n cdnUrl\n createdAt\n updatedAt\n}\n ";
|
|
1608
|
-
export declare const GetMeDocument = "\n query getMe {\n getMe {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1609
|
-
export declare const GetAgentDocument = "\n query getAgent($id: ID!) {\n getAgent(id: $id) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1610
|
-
export declare const GetAgentByEmailDocument = "\n query getAgentByEmail($email: EmailAddress!) {\n getAgentByEmail(email: $email) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1611
|
-
export declare const GetAgentsDocument = "\n query getAgents($ids: [ID!]!) {\n getAgents(ids: $ids) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1612
|
-
export declare const ListAgentsDocument = "\n query listAgents($next: Base64) {\n listAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1613
|
-
export declare const ListApiKeyAgentsDocument = "\n query listApiKeyAgents($next: Base64) {\n listApiKeyAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1614
|
-
export declare const SearchAgentsDocument = "\n query searchAgents($query: String, $page: Number) {\n searchAgents(query: $query, page: $page) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1615
|
-
export declare const UpdateMyProfileDocument = "\n mutation updateMyProfile($input: UpdateMyProfileInput!) {\n updateMyProfile(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1616
|
-
export declare const CreateAgentDocument = "\n mutation createAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1617
|
-
export declare const CreateApiKeyAgentDocument = "\n mutation createApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1618
|
-
export declare const CreateSystemApiKeyAgentDocument = "\n mutation createSystemApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1619
|
-
export declare const UpdateAgentDocument = "\n mutation updateAgent($input: UpdateAgentInput!) {\n updateAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1620
|
-
export declare const RemoveAgentDocument = "\n mutation removeAgent($input: RemoveAgentInput!) {\n removeAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1621
|
-
export declare const RemoveSystemApiKeyAgentDocument = "\n mutation removeSystemApiKeyAgent($input: RemoveAgentInput!) {\n removeSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1622
|
-
export declare const AddRoleToAgentDocument = "\n mutation addRoleToAgent($input: AddRoleToAgentInput!) {\n addRoleToAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1623
|
-
export declare const RemoveRoleFromAgentDocument = "\n mutation removeRoleFromAgent($input: RemoveRoleFromAgentInput!) {\n removeRoleFromAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n createdAt\n updatedAt\n}\n ";
|
|
1656
|
+
export declare const GetMeDocument = "\n query getMe {\n getMe {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1657
|
+
export declare const GetAgentDocument = "\n query getAgent($id: ID!) {\n getAgent(id: $id) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1658
|
+
export declare const GetAgentByEmailDocument = "\n query getAgentByEmail($email: EmailAddress!) {\n getAgentByEmail(email: $email) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1659
|
+
export declare const GetAgentsDocument = "\n query getAgents($ids: [ID!]!) {\n getAgents(ids: $ids) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1660
|
+
export declare const ListAgentsDocument = "\n query listAgents($next: Base64) {\n listAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1661
|
+
export declare const ListApiKeyAgentsDocument = "\n query listApiKeyAgents($next: Base64) {\n listApiKeyAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1662
|
+
export declare const SearchAgentsDocument = "\n query searchAgents($query: String, $page: Number) {\n searchAgents(query: $query, page: $page) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1663
|
+
export declare const UpdateMyProfileDocument = "\n mutation updateMyProfile($input: UpdateMyProfileInput!) {\n updateMyProfile(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1664
|
+
export declare const CreateAgentDocument = "\n mutation createAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1665
|
+
export declare const CreateApiKeyAgentDocument = "\n mutation createApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1666
|
+
export declare const CreateSystemApiKeyAgentDocument = "\n mutation createSystemApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1667
|
+
export declare const UpdateAgentDocument = "\n mutation updateAgent($input: UpdateAgentInput!) {\n updateAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1668
|
+
export declare const RemoveAgentDocument = "\n mutation removeAgent($input: RemoveAgentInput!) {\n removeAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1669
|
+
export declare const RemoveSystemApiKeyAgentDocument = "\n mutation removeSystemApiKeyAgent($input: RemoveAgentInput!) {\n removeSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1670
|
+
export declare const AddRoleToAgentDocument = "\n mutation addRoleToAgent($input: AddRoleToAgentInput!) {\n addRoleToAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1671
|
+
export declare const RemoveRoleFromAgentDocument = "\n mutation removeRoleFromAgent($input: RemoveRoleFromAgentInput!) {\n removeRoleFromAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1624
1672
|
export declare const JoinAsSuperAdminDocument = "\n mutation joinAsSuperAdmin($input: JoinAsSuperAdminInput!) {\n joinAsSuperAdmin(input: $input)\n}\n ";
|
|
1625
1673
|
export declare const GetAppDocument = "\n query getApp($appId: ID!, $withInstances: Boolean = false) {\n getApp(appId: $appId) {\n ...app\n instances @include(if: $withInstances) {\n ...appInstance\n }\n }\n}\n \n fragment app on App {\n id\n type\n name\n description\n color\n channels {\n id\n sources\n main\n readonly\n hidden\n }\n}\n \n\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n instanceId\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
1626
1674
|
export declare const ListAppsDocument = "\n query listApps($type: AppType, $withInstances: Boolean = false) {\n listApps(type: $type) {\n ...app\n instances @include(if: $withInstances) {\n ...appInstance\n }\n }\n}\n \n fragment app on App {\n id\n type\n name\n description\n color\n channels {\n id\n sources\n main\n readonly\n hidden\n }\n}\n \n\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n instanceId\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1630,7 +1678,8 @@ export declare const ListAppInstancesDocument = "\n query listAppInstances($a
|
|
|
1630
1678
|
export declare const CountAppInstancesDocument = "\n query countAppInstances {\n countAppInstances\n}\n ";
|
|
1631
1679
|
export declare const RegisterAppInstanceDocument = "\n mutation registerAppInstance($input: RegisterAppInstanceInput!) {\n registerAppInstance(input: $input) {\n ...appInstance\n }\n}\n \n fragment appInstance on AppInstance {\n appId\n appType\n drn\n instanceId\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
1632
1680
|
export declare const UnregisterAppInstanceDocument = "\n mutation unregisterAppInstance($input: UnregisterAppInstanceInput!) {\n unregisterAppInstance(input: $input) {\n ...appInstance\n }\n}\n \n fragment appInstance on AppInstance {\n appId\n appType\n drn\n instanceId\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
1633
|
-
export declare const
|
|
1681
|
+
export declare const GetFederationMetadataDocument = "\n query getFederationMetadata {\n getFederationMetadata\n}\n ";
|
|
1682
|
+
export declare const GetAmplifyConfigDocument = "\n query getAmplifyConfig($forDev: Boolean, $forService: String) {\n amplifyConfig(forDev: $forDev, forService: $forService)\n}\n ";
|
|
1634
1683
|
export declare const GetAuthInfoDocument = "\n query getAuthInfo {\n authInfo {\n authenticationEndpoint\n jwtIssuer\n loginUrl\n logoutUrl\n cognitoConfig {\n region\n userPoolId\n userPoolWebClientId\n }\n }\n}\n ";
|
|
1635
1684
|
export declare const GetCredentialsDocument = "\n query getCredentials($id: ID!) {\n getCredentials(id: $id) {\n ...safeCredentials\n }\n}\n \n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n systemCredentials\n createdAt\n updatedAt\n}\n ";
|
|
1636
1685
|
export declare const GetCredentialsSecretDocument = "\n query getCredentialsSecret($id: ID!) {\n getCredentialsSecret(id: $id) {\n ...credentialsWithSecret\n }\n}\n \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 ";
|
|
@@ -1664,6 +1713,8 @@ export declare const SetSessionAttributeDocument = "\n mutation setSessionAtt
|
|
|
1664
1713
|
export declare const PatchSessionAttributesDocument = "\n mutation patchSessionAttributes($input: PatchSessionAttributesInput!) {\n patchSessionAttributes(input: $input)\n}\n ";
|
|
1665
1714
|
export declare const AddTagsToSessionAttributesDocument = "\n mutation addTagsToSessionAttributes($input: AddTagsToSessionAttributesInput!) {\n addTagsToSessionAttributes(input: $input)\n}\n ";
|
|
1666
1715
|
export declare const RemoveTagsFromSessionAttributesDocument = "\n mutation removeTagsFromSessionAttributes($input: RemoveTagsFromSessionAttributesInput!) {\n removeTagsFromSessionAttributes(input: $input)\n}\n ";
|
|
1716
|
+
export declare const GetSettingsDocument = "\n query getSettings {\n getSettings {\n ...settings\n }\n}\n \n fragment settings on Settings {\n doNotAllowUserSignup\n allowedEmailDomains\n groupsMapping {\n from\n to\n }\n}\n ";
|
|
1717
|
+
export declare const UpdateSettingsDocument = "\n mutation updateSettings($input: UpdateSettingsInput!) {\n updateSettings(input: $input) {\n ...settings\n }\n}\n \n fragment settings on Settings {\n doNotAllowUserSignup\n allowedEmailDomains\n groupsMapping {\n from\n to\n }\n}\n ";
|
|
1667
1718
|
export declare const GetStateMachineDocument = "\n query getStateMachine($id: ID!, $versionId: ID!) {\n getStateMachineConfig(id: $id, versionId: $versionId) {\n ...stateMachineConfig\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n\n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n\n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1668
1719
|
export declare const CountLiveStateMachineConfigsDocument = "\n query countLiveStateMachineConfigs {\n countLiveStateMachineConfigs\n}\n ";
|
|
1669
1720
|
export declare const ListLiveStateMachineConfigsDocument = "\n query listLiveStateMachineConfigs($createdByAppId: ID, $next: Base64) {\n listLiveStateMachineConfigs(createdByAppId: $createdByAppId, next: $next) {\n ...stateMachineConfigConnection\n }\n}\n \n fragment stateMachineConfigConnection on StateMachineConfigConnection {\n nodes {\n ...stateMachineConfig\n }\n pageInfo {\n hasNext\n next\n }\n}\n \n\n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n\n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n\n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
@@ -1709,6 +1760,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1709
1760
|
countAppInstances(variables?: CountAppInstancesQueryVariables, options?: C): Promise<CountAppInstancesQuery>;
|
|
1710
1761
|
registerAppInstance(variables: RegisterAppInstanceMutationVariables, options?: C): Promise<RegisterAppInstanceMutation>;
|
|
1711
1762
|
unregisterAppInstance(variables: UnregisterAppInstanceMutationVariables, options?: C): Promise<UnregisterAppInstanceMutation>;
|
|
1763
|
+
getFederationMetadata(variables?: GetFederationMetadataQueryVariables, options?: C): Promise<GetFederationMetadataQuery>;
|
|
1712
1764
|
getAmplifyConfig(variables?: GetAmplifyConfigQueryVariables, options?: C): Promise<GetAmplifyConfigQuery>;
|
|
1713
1765
|
getAuthInfo(variables?: GetAuthInfoQueryVariables, options?: C): Promise<GetAuthInfoQuery>;
|
|
1714
1766
|
getCredentials(variables: GetCredentialsQueryVariables, options?: C): Promise<GetCredentialsQuery>;
|
|
@@ -1743,6 +1795,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1743
1795
|
patchSessionAttributes(variables: PatchSessionAttributesMutationVariables, options?: C): Promise<PatchSessionAttributesMutation>;
|
|
1744
1796
|
addTagsToSessionAttributes(variables: AddTagsToSessionAttributesMutationVariables, options?: C): Promise<AddTagsToSessionAttributesMutation>;
|
|
1745
1797
|
removeTagsFromSessionAttributes(variables: RemoveTagsFromSessionAttributesMutationVariables, options?: C): Promise<RemoveTagsFromSessionAttributesMutation>;
|
|
1798
|
+
getSettings(variables?: GetSettingsQueryVariables, options?: C): Promise<GetSettingsQuery>;
|
|
1799
|
+
updateSettings(variables: UpdateSettingsMutationVariables, options?: C): Promise<UpdateSettingsMutation>;
|
|
1746
1800
|
getStateMachine(variables: GetStateMachineQueryVariables, options?: C): Promise<GetStateMachineQuery>;
|
|
1747
1801
|
countLiveStateMachineConfigs(variables?: CountLiveStateMachineConfigsQueryVariables, options?: C): Promise<CountLiveStateMachineConfigsQuery>;
|
|
1748
1802
|
listLiveStateMachineConfigs(variables?: ListLiveStateMachineConfigsQueryVariables, options?: C): Promise<ListLiveStateMachineConfigsQuery>;
|
package/src/sdks/nucleus.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.serviceName = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = void 0;
|
|
4
|
+
exports.ListAppInstancesDocument = exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.JoinAsSuperAdminDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveSystemApiKeyAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateSystemApiKeyAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.SearchAgentsDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentsDocument = exports.GetAgentByEmailDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SettingsFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.CredentialsWithSecretFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.SessionStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListStateMachineConfigsByStatusDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.UpdateSettingsDocument = exports.GetSettingsDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.SearchSessionsDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartCustomSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveSystemCredentialsDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateSystemCredentialsDocument = exports.CreateCredentialsDocument = exports.GetMercadoLivreAuthInfoDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetMetaAuthInfoDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetFederationMetadataDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = void 0;
|
|
6
|
+
exports.serviceName = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
8
|
var AppInstanceStatus;
|
|
9
9
|
(function (AppInstanceStatus) {
|
|
@@ -79,6 +79,7 @@ var Typenames;
|
|
|
79
79
|
Typenames["Roles"] = "Roles";
|
|
80
80
|
Typenames["SessionAttributes"] = "SessionAttributes";
|
|
81
81
|
Typenames["Sessions"] = "Sessions";
|
|
82
|
+
Typenames["Settings"] = "Settings";
|
|
82
83
|
Typenames["Storage"] = "Storage";
|
|
83
84
|
})(Typenames || (exports.Typenames = Typenames = {}));
|
|
84
85
|
exports.AgentFragmentDoc = `
|
|
@@ -95,6 +96,7 @@ exports.AgentFragmentDoc = `
|
|
|
95
96
|
cognitoUserStatus
|
|
96
97
|
systemAgent
|
|
97
98
|
removed
|
|
99
|
+
groupMappings
|
|
98
100
|
createdAt
|
|
99
101
|
updatedAt
|
|
100
102
|
}
|
|
@@ -266,6 +268,16 @@ exports.SessionSchemaFragmentDoc = `
|
|
|
266
268
|
}
|
|
267
269
|
}
|
|
268
270
|
`;
|
|
271
|
+
exports.SettingsFragmentDoc = `
|
|
272
|
+
fragment settings on Settings {
|
|
273
|
+
doNotAllowUserSignup
|
|
274
|
+
allowedEmailDomains
|
|
275
|
+
groupsMapping {
|
|
276
|
+
from
|
|
277
|
+
to
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
`;
|
|
269
281
|
exports.StateMachineConfigStateOnFragmentDoc = `
|
|
270
282
|
fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {
|
|
271
283
|
event
|
|
@@ -533,9 +545,14 @@ exports.UnregisterAppInstanceDocument = `
|
|
|
533
545
|
}
|
|
534
546
|
}
|
|
535
547
|
${exports.AppInstanceFragmentDoc}`;
|
|
548
|
+
exports.GetFederationMetadataDocument = `
|
|
549
|
+
query getFederationMetadata {
|
|
550
|
+
getFederationMetadata
|
|
551
|
+
}
|
|
552
|
+
`;
|
|
536
553
|
exports.GetAmplifyConfigDocument = `
|
|
537
|
-
query getAmplifyConfig {
|
|
538
|
-
amplifyConfig
|
|
554
|
+
query getAmplifyConfig($forDev: Boolean, $forService: String) {
|
|
555
|
+
amplifyConfig(forDev: $forDev, forService: $forService)
|
|
539
556
|
}
|
|
540
557
|
`;
|
|
541
558
|
exports.GetAuthInfoDocument = `
|
|
@@ -792,6 +809,20 @@ exports.RemoveTagsFromSessionAttributesDocument = `
|
|
|
792
809
|
removeTagsFromSessionAttributes(input: $input)
|
|
793
810
|
}
|
|
794
811
|
`;
|
|
812
|
+
exports.GetSettingsDocument = `
|
|
813
|
+
query getSettings {
|
|
814
|
+
getSettings {
|
|
815
|
+
...settings
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
${exports.SettingsFragmentDoc}`;
|
|
819
|
+
exports.UpdateSettingsDocument = `
|
|
820
|
+
mutation updateSettings($input: UpdateSettingsInput!) {
|
|
821
|
+
updateSettings(input: $input) {
|
|
822
|
+
...settings
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
${exports.SettingsFragmentDoc}`;
|
|
795
826
|
exports.GetStateMachineDocument = `
|
|
796
827
|
query getStateMachine($id: ID!, $versionId: ID!) {
|
|
797
828
|
getStateMachineConfig(id: $id, versionId: $versionId) {
|
|
@@ -1025,6 +1056,9 @@ function getSdk(requester) {
|
|
|
1025
1056
|
unregisterAppInstance(variables, options) {
|
|
1026
1057
|
return requester(exports.UnregisterAppInstanceDocument, variables, options);
|
|
1027
1058
|
},
|
|
1059
|
+
getFederationMetadata(variables, options) {
|
|
1060
|
+
return requester(exports.GetFederationMetadataDocument, variables, options);
|
|
1061
|
+
},
|
|
1028
1062
|
getAmplifyConfig(variables, options) {
|
|
1029
1063
|
return requester(exports.GetAmplifyConfigDocument, variables, options);
|
|
1030
1064
|
},
|
|
@@ -1127,6 +1161,12 @@ function getSdk(requester) {
|
|
|
1127
1161
|
removeTagsFromSessionAttributes(variables, options) {
|
|
1128
1162
|
return requester(exports.RemoveTagsFromSessionAttributesDocument, variables, options);
|
|
1129
1163
|
},
|
|
1164
|
+
getSettings(variables, options) {
|
|
1165
|
+
return requester(exports.GetSettingsDocument, variables, options);
|
|
1166
|
+
},
|
|
1167
|
+
updateSettings(variables, options) {
|
|
1168
|
+
return requester(exports.UpdateSettingsDocument, variables, options);
|
|
1169
|
+
},
|
|
1130
1170
|
getStateMachine(variables, options) {
|
|
1131
1171
|
return requester(exports.GetStateMachineDocument, variables, options);
|
|
1132
1172
|
},
|