quantum-component-library 1.4.63 → 1.4.65

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.
@@ -28,7 +28,7 @@ type Documents = {
28
28
  "\n fragment UserGroup on Group {\n id\n name\n imageUrl\n }\n": typeof types.UserGroupFragmentDoc;
29
29
  "\n fragment MetadataGroup on MetadataGroup {\n key\n data {\n ...MetadataItem\n }\n }\n": typeof types.MetadataGroupFragmentDoc;
30
30
  "\n fragment MetadataItem on MetadataItem {\n id\n label\n value\n sort\n }\n": typeof types.MetadataItemFragmentDoc;
31
- "\n fragment LibraryModuleAction on ModuleAction {\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n": typeof types.LibraryModuleActionFragmentDoc;
31
+ "\n fragment LibraryModuleAction on ModuleAction {\n id\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n": typeof types.LibraryModuleActionFragmentDoc;
32
32
  "\n fragment LibraryActionModule on ActionModule {\n id\n name\n description\n moduleActions {\n ...LibraryModuleAction\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n # metadataGroups can be empty if no metadata is associated with this module\n metadataGroups {\n ...MetadataGroup\n }\n }\n": typeof types.LibraryActionModuleFragmentDoc;
33
33
  "\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n }\n": typeof types.LibraryModuleCategoryFragmentDoc;
34
34
  "\n fragment PoseTask on PoseTask {\n id\n taskId\n status\n attempts\n maxAttempts\n }\n": typeof types.PoseTaskFragmentDoc;
@@ -148,7 +148,7 @@ export declare function graphql(source: "\n fragment MetadataItem on MetadataIt
148
148
  /**
149
149
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
150
150
  */
151
- export declare function graphql(source: "\n fragment LibraryModuleAction on ModuleAction {\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n"): (typeof documents)["\n fragment LibraryModuleAction on ModuleAction {\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n"];
151
+ export declare function graphql(source: "\n fragment LibraryModuleAction on ModuleAction {\n id\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n"): (typeof documents)["\n fragment LibraryModuleAction on ModuleAction {\n id\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n"];
152
152
  /**
153
153
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
154
154
  */
@@ -62,6 +62,18 @@ export type Scalars = {
62
62
  output: any;
63
63
  };
64
64
  };
65
+ export type AcceptInvitationInput = {
66
+ firstName: Scalars['String']['input'];
67
+ lastName: Scalars['String']['input'];
68
+ password: Scalars['String']['input'];
69
+ token: Scalars['String']['input'];
70
+ username?: InputMaybe<Scalars['String']['input']>;
71
+ };
72
+ export type AcceptInvitationResult = {
73
+ __typename?: 'AcceptInvitationResult';
74
+ session: AuthSession;
75
+ user: CurrentUser;
76
+ };
65
77
  export type Action = {
66
78
  __typename?: 'Action';
67
79
  activityKind: ActionActivityKind;
@@ -263,6 +275,13 @@ export type CreateAnalysisMetricInput = {
263
275
  export type CreateGroupInput = {
264
276
  name: Scalars['String']['input'];
265
277
  };
278
+ export type CreateInvitationInput = {
279
+ email: Scalars['String']['input'];
280
+ firstName?: InputMaybe<Scalars['String']['input']>;
281
+ groupId: Scalars['ID']['input'];
282
+ isAdmin?: InputMaybe<Scalars['Boolean']['input']>;
283
+ lastName?: InputMaybe<Scalars['String']['input']>;
284
+ };
266
285
  export type CreateKeypointGroupInput = {
267
286
  activity?: InputMaybe<Scalars['String']['input']>;
268
287
  keypoints: Array<KeypointInput>;
@@ -271,10 +290,11 @@ export type CreateKeypointGroupInput = {
271
290
  };
272
291
  export type CreateModuleInput = {
273
292
  actionReports?: InputMaybe<Array<ActionReportInModuleInput>>;
274
- actions: Array<Scalars['ID']['input']>;
293
+ actions?: InputMaybe<Array<Scalars['ID']['input']>>;
275
294
  categories?: InputMaybe<Array<Scalars['ID']['input']>>;
276
295
  description?: InputMaybe<Scalars['String']['input']>;
277
296
  metadataItemIds?: InputMaybe<Array<Scalars['ID']['input']>>;
297
+ moduleActions?: InputMaybe<Array<ModuleActionInput>>;
278
298
  name: Scalars['String']['input'];
279
299
  quantumOwned?: InputMaybe<Scalars['Boolean']['input']>;
280
300
  };
@@ -288,6 +308,12 @@ export type CreateSessionInput = {
288
308
  name?: InputMaybe<Scalars['String']['input']>;
289
309
  startedAt?: InputMaybe<Scalars['DateString']['input']>;
290
310
  };
311
+ export type CreateTeamInvitationInput = {
312
+ email: Scalars['String']['input'];
313
+ firstName?: InputMaybe<Scalars['String']['input']>;
314
+ isAccountAdmin?: InputMaybe<Scalars['Boolean']['input']>;
315
+ lastName?: InputMaybe<Scalars['String']['input']>;
316
+ };
291
317
  export type CreateTestAnalysisInput = {
292
318
  actionId?: InputMaybe<Scalars['ID']['input']>;
293
319
  actionSide?: InputMaybe<AnalysisActionSide>;
@@ -388,6 +414,43 @@ export type ImageMetric = {
388
414
  __typename?: 'ImageMetric';
389
415
  path: Scalars['String']['output'];
390
416
  };
417
+ export type Invitation = {
418
+ __typename?: 'Invitation';
419
+ createdAt: Scalars['String']['output'];
420
+ email: Scalars['String']['output'];
421
+ expiresAt: Scalars['String']['output'];
422
+ firstName?: Maybe<Scalars['String']['output']>;
423
+ groupId: Scalars['ID']['output'];
424
+ groupName?: Maybe<Scalars['String']['output']>;
425
+ id: Scalars['ID']['output'];
426
+ invitedBy?: Maybe<InvitationInviter>;
427
+ isAdmin: Scalars['Boolean']['output'];
428
+ lastName?: Maybe<Scalars['String']['output']>;
429
+ status: InvitationStatus;
430
+ type: InvitationType;
431
+ };
432
+ export type InvitationInviter = {
433
+ __typename?: 'InvitationInviter';
434
+ email: Scalars['String']['output'];
435
+ id: Scalars['ID']['output'];
436
+ username: Scalars['String']['output'];
437
+ };
438
+ export declare enum InvitationStatus {
439
+ Accepted = "ACCEPTED",
440
+ Cancelled = "CANCELLED",
441
+ Expired = "EXPIRED",
442
+ Pending = "PENDING"
443
+ }
444
+ export declare enum InvitationType {
445
+ AdminPortal = "ADMIN_PORTAL",
446
+ TeamMember = "TEAM_MEMBER"
447
+ }
448
+ export type InvitationValidation = {
449
+ __typename?: 'InvitationValidation';
450
+ errorMessage?: Maybe<Scalars['String']['output']>;
451
+ invitation?: Maybe<Invitation>;
452
+ valid: Scalars['Boolean']['output'];
453
+ };
391
454
  export type Keypoint = {
392
455
  __typename?: 'Keypoint';
393
456
  activityStep?: Maybe<Scalars['String']['output']>;
@@ -479,11 +542,16 @@ export type ModuleAction = {
479
542
  __typename?: 'ModuleAction';
480
543
  action: Action;
481
544
  actionId: Scalars['ID']['output'];
545
+ id: Scalars['ID']['output'];
482
546
  moduleId: Scalars['ID']['output'];
483
547
  report?: Maybe<Report>;
484
548
  reportId?: Maybe<Scalars['ID']['output']>;
485
549
  sortOrder: Scalars['Int']['output'];
486
550
  };
551
+ export type ModuleActionInput = {
552
+ actionId: Scalars['ID']['input'];
553
+ reportId?: InputMaybe<Scalars['ID']['input']>;
554
+ };
487
555
  export type ModuleCategory = {
488
556
  __typename?: 'ModuleCategory';
489
557
  description?: Maybe<Scalars['String']['output']>;
@@ -500,9 +568,11 @@ export type MovementCoordinationReport = {
500
568
  };
501
569
  export type Mutation = {
502
570
  __typename?: 'Mutation';
571
+ acceptInvitation: AcceptInvitationResult;
503
572
  addActionToModule: ActionModule;
504
573
  archiveUser: Scalars['Boolean']['output'];
505
574
  assignTestToRoutine: Scalars['Boolean']['output'];
575
+ cancelInvitation: Scalars['Boolean']['output'];
506
576
  changePassword: Scalars['Boolean']['output'];
507
577
  convertActionToQuantumOwned: Action;
508
578
  copyActions: Scalars['Boolean']['output'];
@@ -513,6 +583,7 @@ export type Mutation = {
513
583
  createGeneralActivityReport: GeneralActivityReport;
514
584
  createGeneralActivityTrial: Trial;
515
585
  createGroup: Group;
586
+ createInvitation: Invitation;
516
587
  createKeypointGroup: KeypointGroup;
517
588
  createModule: ActionModule;
518
589
  createMovementCoordinationReport: MovementCoordinationReport;
@@ -541,10 +612,12 @@ export type Mutation = {
541
612
  deleteTrialParameter: Scalars['Boolean']['output'];
542
613
  deleteUserProfile: Scalars['Boolean']['output'];
543
614
  duplicateAction: Scalars['Boolean']['output'];
615
+ inviteTeamMember: Invitation;
544
616
  login?: Maybe<LoginResult>;
545
617
  removeActionFromModule: ActionModule;
546
618
  replaceTrialParameters: Array<TrialParameter>;
547
619
  requestPoseProcessing: Scalars['Boolean']['output'];
620
+ resendInvitation: Invitation;
548
621
  unarchiveUserProfile: UserProfile;
549
622
  updateAction: Action;
550
623
  updateGroup: Group;
@@ -557,9 +630,13 @@ export type Mutation = {
557
630
  updateUserProfile: UserProfile;
558
631
  updateVideoDataOffset: TestFile;
559
632
  };
633
+ export type MutationAcceptInvitationArgs = {
634
+ input: AcceptInvitationInput;
635
+ };
560
636
  export type MutationAddActionToModuleArgs = {
561
637
  actionId: Scalars['ID']['input'];
562
638
  moduleId: Scalars['ID']['input'];
639
+ reportId?: InputMaybe<Scalars['ID']['input']>;
563
640
  };
564
641
  export type MutationArchiveUserArgs = {
565
642
  id: Scalars['ID']['input'];
@@ -568,6 +645,9 @@ export type MutationAssignTestToRoutineArgs = {
568
645
  routineId?: InputMaybe<Scalars['ID']['input']>;
569
646
  testId: Scalars['ID']['input'];
570
647
  };
648
+ export type MutationCancelInvitationArgs = {
649
+ invitationId: Scalars['ID']['input'];
650
+ };
571
651
  export type MutationChangePasswordArgs = {
572
652
  input: ChangePasswordInput;
573
653
  };
@@ -601,6 +681,9 @@ export type MutationCreateGeneralActivityTrialArgs = {
601
681
  export type MutationCreateGroupArgs = {
602
682
  input: CreateGroupInput;
603
683
  };
684
+ export type MutationCreateInvitationArgs = {
685
+ input: CreateInvitationInput;
686
+ };
604
687
  export type MutationCreateKeypointGroupArgs = {
605
688
  input: CreateKeypointGroupInput;
606
689
  };
@@ -691,11 +774,14 @@ export type MutationDeleteUserProfileArgs = {
691
774
  export type MutationDuplicateActionArgs = {
692
775
  id: Scalars['ID']['input'];
693
776
  };
777
+ export type MutationInviteTeamMemberArgs = {
778
+ input: CreateTeamInvitationInput;
779
+ };
694
780
  export type MutationLoginArgs = {
695
781
  input: LoginInput;
696
782
  };
697
783
  export type MutationRemoveActionFromModuleArgs = {
698
- actionId: Scalars['ID']['input'];
784
+ moduleActionId: Scalars['ID']['input'];
699
785
  moduleId: Scalars['ID']['input'];
700
786
  };
701
787
  export type MutationReplaceTrialParametersArgs = {
@@ -705,6 +791,9 @@ export type MutationReplaceTrialParametersArgs = {
705
791
  export type MutationRequestPoseProcessingArgs = {
706
792
  testFileId: Scalars['ID']['input'];
707
793
  };
794
+ export type MutationResendInvitationArgs = {
795
+ invitationId: Scalars['ID']['input'];
796
+ };
708
797
  export type MutationUnarchiveUserProfileArgs = {
709
798
  id: Scalars['ID']['input'];
710
799
  };
@@ -803,6 +892,7 @@ export type Query = {
803
892
  group?: Maybe<Group>;
804
893
  groups: Array<Group>;
805
894
  historicalMetrics: Array<AnalysisMetric>;
895
+ invitations: Array<Invitation>;
806
896
  keypoints: Array<Keypoint>;
807
897
  me?: Maybe<CurrentUser>;
808
898
  module?: Maybe<ActionModule>;
@@ -819,12 +909,14 @@ export type Query = {
819
909
  sessionsCreatedByProfile: Array<Session>;
820
910
  sessionsForProfile: Array<Session>;
821
911
  stabilityBalanceReport?: Maybe<StabilityBalanceReport>;
912
+ teamInvitations: Array<Invitation>;
822
913
  testReport?: Maybe<TestReportUnion>;
823
914
  trial?: Maybe<Trial>;
824
915
  /** @deprecated This defaults to a report within a test, use the report-specific queries instead. */
825
916
  trialsForTest: Array<Trial>;
826
917
  useCases: Array<UseCase>;
827
918
  userProfile?: Maybe<UserProfile>;
919
+ validateInvitation: InvitationValidation;
828
920
  };
829
921
  export type QueryActionsArgs = {
830
922
  groupId?: InputMaybe<Scalars['ID']['input']>;
@@ -851,6 +943,8 @@ export type QueryGetTestFileArgs = {
851
943
  id: Scalars['ID']['input'];
852
944
  };
853
945
  export type QueryGetTestsForSessionArgs = {
946
+ limit?: InputMaybe<Scalars['Int']['input']>;
947
+ offset?: InputMaybe<Scalars['Int']['input']>;
854
948
  sessionId: Scalars['ID']['input'];
855
949
  };
856
950
  export type QueryGroupArgs = {
@@ -865,6 +959,9 @@ export type QueryHistoricalMetricsArgs = {
865
959
  start?: InputMaybe<Scalars['Date']['input']>;
866
960
  thresholdFilter?: InputMaybe<ThresholdFilter>;
867
961
  };
962
+ export type QueryInvitationsArgs = {
963
+ groupId: Scalars['ID']['input'];
964
+ };
868
965
  export type QueryKeypointsArgs = {
869
966
  keypointGroupId: Scalars['ID']['input'];
870
967
  };
@@ -924,6 +1021,9 @@ export type QueryUseCasesArgs = {
924
1021
  export type QueryUserProfileArgs = {
925
1022
  id: Scalars['ID']['input'];
926
1023
  };
1024
+ export type QueryValidateInvitationArgs = {
1025
+ token: Scalars['String']['input'];
1026
+ };
927
1027
  export type RangeReport = {
928
1028
  __typename?: 'RangeReport';
929
1029
  averageParameterScores: Array<TestAverageParameterScore>;
@@ -1317,10 +1417,11 @@ export type UpdateGroupInput = {
1317
1417
  };
1318
1418
  export type UpdateModuleInput = {
1319
1419
  actionReports?: InputMaybe<Array<ActionReportInModuleInput>>;
1320
- actions: Array<Scalars['ID']['input']>;
1420
+ actions?: InputMaybe<Array<Scalars['ID']['input']>>;
1321
1421
  categories?: InputMaybe<Array<Scalars['ID']['input']>>;
1322
1422
  description?: InputMaybe<Scalars['String']['input']>;
1323
1423
  metadataItemIds?: InputMaybe<Array<Scalars['ID']['input']>>;
1424
+ moduleActions?: InputMaybe<Array<ModuleActionInput>>;
1324
1425
  name: Scalars['String']['input'];
1325
1426
  quantumOwned?: InputMaybe<Scalars['Boolean']['input']>;
1326
1427
  };
@@ -1787,6 +1888,7 @@ export type MetadataItemFragment = {
1787
1888
  };
1788
1889
  export type LibraryModuleActionFragment = {
1789
1890
  __typename?: 'ModuleAction';
1891
+ id: string;
1790
1892
  moduleId: string;
1791
1893
  actionId: string;
1792
1894
  sortOrder: number;