quantum-component-library 1.4.64 → 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;
@@ -188,7 +200,6 @@ export type AnalysisSubClassification = {
188
200
  export type AuthSession = {
189
201
  __typename?: 'AuthSession';
190
202
  accessToken: Scalars['String']['output'];
191
- refreshToken?: Maybe<Scalars['String']['output']>;
192
203
  };
193
204
  export type ChangePasswordInput = {
194
205
  newPassword: Scalars['String']['input'];
@@ -211,14 +222,6 @@ export type ComparativeMetricInput = {
211
222
  valueA: Scalars['Float']['input'];
212
223
  valueB: Scalars['Float']['input'];
213
224
  };
214
- export type CompleteLoginChallengeInput = {
215
- address?: InputMaybe<Scalars['String']['input']>;
216
- gender?: InputMaybe<Scalars['String']['input']>;
217
- name?: InputMaybe<Scalars['String']['input']>;
218
- newPassword: Scalars['String']['input'];
219
- session: Scalars['String']['input'];
220
- username: Scalars['String']['input'];
221
- };
222
225
  export type CopyActionsInput = {
223
226
  actionIds: Array<Scalars['ID']['input']>;
224
227
  sourceGroupId: Scalars['ID']['input'];
@@ -235,7 +238,6 @@ export type CreateAccountInput = {
235
238
  groupId?: InputMaybe<Scalars['ID']['input']>;
236
239
  lastName: Scalars['String']['input'];
237
240
  password: Scalars['String']['input'];
238
- roles?: InputMaybe<Array<Scalars['String']['input']>>;
239
241
  username: Scalars['String']['input'];
240
242
  };
241
243
  export type CreateAccountResult = {
@@ -273,6 +275,13 @@ export type CreateAnalysisMetricInput = {
273
275
  export type CreateGroupInput = {
274
276
  name: Scalars['String']['input'];
275
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
+ };
276
285
  export type CreateKeypointGroupInput = {
277
286
  activity?: InputMaybe<Scalars['String']['input']>;
278
287
  keypoints: Array<KeypointInput>;
@@ -281,10 +290,11 @@ export type CreateKeypointGroupInput = {
281
290
  };
282
291
  export type CreateModuleInput = {
283
292
  actionReports?: InputMaybe<Array<ActionReportInModuleInput>>;
284
- actions: Array<Scalars['ID']['input']>;
293
+ actions?: InputMaybe<Array<Scalars['ID']['input']>>;
285
294
  categories?: InputMaybe<Array<Scalars['ID']['input']>>;
286
295
  description?: InputMaybe<Scalars['String']['input']>;
287
296
  metadataItemIds?: InputMaybe<Array<Scalars['ID']['input']>>;
297
+ moduleActions?: InputMaybe<Array<ModuleActionInput>>;
288
298
  name: Scalars['String']['input'];
289
299
  quantumOwned?: InputMaybe<Scalars['Boolean']['input']>;
290
300
  };
@@ -298,6 +308,12 @@ export type CreateSessionInput = {
298
308
  name?: InputMaybe<Scalars['String']['input']>;
299
309
  startedAt?: InputMaybe<Scalars['DateString']['input']>;
300
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
+ };
301
317
  export type CreateTestAnalysisInput = {
302
318
  actionId?: InputMaybe<Scalars['ID']['input']>;
303
319
  actionSide?: InputMaybe<AnalysisActionSide>;
@@ -398,6 +414,43 @@ export type ImageMetric = {
398
414
  __typename?: 'ImageMetric';
399
415
  path: Scalars['String']['output'];
400
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
+ };
401
454
  export type Keypoint = {
402
455
  __typename?: 'Keypoint';
403
456
  activityStep?: Maybe<Scalars['String']['output']>;
@@ -461,10 +514,8 @@ export type LoginInput = {
461
514
  };
462
515
  export type LoginResult = {
463
516
  __typename?: 'LoginResult';
464
- challengeName?: Maybe<Scalars['String']['output']>;
465
- challengeSession?: Maybe<Scalars['String']['output']>;
466
- session?: Maybe<AuthSession>;
467
- user?: Maybe<CurrentUser>;
517
+ session: AuthSession;
518
+ user: CurrentUser;
468
519
  };
469
520
  export type MetadataGroup = {
470
521
  __typename?: 'MetadataGroup';
@@ -491,11 +542,16 @@ export type ModuleAction = {
491
542
  __typename?: 'ModuleAction';
492
543
  action: Action;
493
544
  actionId: Scalars['ID']['output'];
545
+ id: Scalars['ID']['output'];
494
546
  moduleId: Scalars['ID']['output'];
495
547
  report?: Maybe<Report>;
496
548
  reportId?: Maybe<Scalars['ID']['output']>;
497
549
  sortOrder: Scalars['Int']['output'];
498
550
  };
551
+ export type ModuleActionInput = {
552
+ actionId: Scalars['ID']['input'];
553
+ reportId?: InputMaybe<Scalars['ID']['input']>;
554
+ };
499
555
  export type ModuleCategory = {
500
556
  __typename?: 'ModuleCategory';
501
557
  description?: Maybe<Scalars['String']['output']>;
@@ -512,14 +568,12 @@ export type MovementCoordinationReport = {
512
568
  };
513
569
  export type Mutation = {
514
570
  __typename?: 'Mutation';
515
- activateUser: Scalars['Boolean']['output'];
571
+ acceptInvitation: AcceptInvitationResult;
516
572
  addActionToModule: ActionModule;
517
573
  archiveUser: Scalars['Boolean']['output'];
518
574
  assignTestToRoutine: Scalars['Boolean']['output'];
519
- assignUserRole: Scalars['Boolean']['output'];
575
+ cancelInvitation: Scalars['Boolean']['output'];
520
576
  changePassword: Scalars['Boolean']['output'];
521
- completeLoginChallenge: LoginResult;
522
- confirmForgotPassword: Scalars['Boolean']['output'];
523
577
  convertActionToQuantumOwned: Action;
524
578
  copyActions: Scalars['Boolean']['output'];
525
579
  copyModules: Scalars['Boolean']['output'];
@@ -529,6 +583,7 @@ export type Mutation = {
529
583
  createGeneralActivityReport: GeneralActivityReport;
530
584
  createGeneralActivityTrial: Trial;
531
585
  createGroup: Group;
586
+ createInvitation: Invitation;
532
587
  createKeypointGroup: KeypointGroup;
533
588
  createModule: ActionModule;
534
589
  createMovementCoordinationReport: MovementCoordinationReport;
@@ -547,7 +602,6 @@ export type Mutation = {
547
602
  createTrial: Trial;
548
603
  createTrialParameter: TrialParameter;
549
604
  createUserProfile: UserProfile;
550
- deactivateUser: Scalars['Boolean']['output'];
551
605
  deleteAction: Scalars['Boolean']['output'];
552
606
  deleteModule: Scalars['Boolean']['output'];
553
607
  deleteRoutine: Scalars['Boolean']['output'];
@@ -558,13 +612,12 @@ export type Mutation = {
558
612
  deleteTrialParameter: Scalars['Boolean']['output'];
559
613
  deleteUserProfile: Scalars['Boolean']['output'];
560
614
  duplicateAction: Scalars['Boolean']['output'];
561
- forgotPassword: Scalars['Boolean']['output'];
615
+ inviteTeamMember: Invitation;
562
616
  login?: Maybe<LoginResult>;
563
- refresh: LoginResult;
564
617
  removeActionFromModule: ActionModule;
565
- removeUserRole: Scalars['Boolean']['output'];
566
618
  replaceTrialParameters: Array<TrialParameter>;
567
619
  requestPoseProcessing: Scalars['Boolean']['output'];
620
+ resendInvitation: Invitation;
568
621
  unarchiveUserProfile: UserProfile;
569
622
  updateAction: Action;
570
623
  updateGroup: Group;
@@ -577,12 +630,13 @@ export type Mutation = {
577
630
  updateUserProfile: UserProfile;
578
631
  updateVideoDataOffset: TestFile;
579
632
  };
580
- export type MutationActivateUserArgs = {
581
- id: Scalars['ID']['input'];
633
+ export type MutationAcceptInvitationArgs = {
634
+ input: AcceptInvitationInput;
582
635
  };
583
636
  export type MutationAddActionToModuleArgs = {
584
637
  actionId: Scalars['ID']['input'];
585
638
  moduleId: Scalars['ID']['input'];
639
+ reportId?: InputMaybe<Scalars['ID']['input']>;
586
640
  };
587
641
  export type MutationArchiveUserArgs = {
588
642
  id: Scalars['ID']['input'];
@@ -591,21 +645,12 @@ export type MutationAssignTestToRoutineArgs = {
591
645
  routineId?: InputMaybe<Scalars['ID']['input']>;
592
646
  testId: Scalars['ID']['input'];
593
647
  };
594
- export type MutationAssignUserRoleArgs = {
595
- roleName: Scalars['String']['input'];
596
- userId: Scalars['ID']['input'];
648
+ export type MutationCancelInvitationArgs = {
649
+ invitationId: Scalars['ID']['input'];
597
650
  };
598
651
  export type MutationChangePasswordArgs = {
599
652
  input: ChangePasswordInput;
600
653
  };
601
- export type MutationCompleteLoginChallengeArgs = {
602
- input: CompleteLoginChallengeInput;
603
- };
604
- export type MutationConfirmForgotPasswordArgs = {
605
- code: Scalars['String']['input'];
606
- email: Scalars['String']['input'];
607
- newPassword: Scalars['String']['input'];
608
- };
609
654
  export type MutationConvertActionToQuantumOwnedArgs = {
610
655
  id: Scalars['ID']['input'];
611
656
  };
@@ -636,6 +681,9 @@ export type MutationCreateGeneralActivityTrialArgs = {
636
681
  export type MutationCreateGroupArgs = {
637
682
  input: CreateGroupInput;
638
683
  };
684
+ export type MutationCreateInvitationArgs = {
685
+ input: CreateInvitationInput;
686
+ };
639
687
  export type MutationCreateKeypointGroupArgs = {
640
688
  input: CreateKeypointGroupInput;
641
689
  };
@@ -696,9 +744,6 @@ export type MutationCreateTrialParameterArgs = {
696
744
  export type MutationCreateUserProfileArgs = {
697
745
  input: CreateUserProfileInput;
698
746
  };
699
- export type MutationDeactivateUserArgs = {
700
- id: Scalars['ID']['input'];
701
- };
702
747
  export type MutationDeleteActionArgs = {
703
748
  id: Scalars['ID']['input'];
704
749
  };
@@ -729,23 +774,16 @@ export type MutationDeleteUserProfileArgs = {
729
774
  export type MutationDuplicateActionArgs = {
730
775
  id: Scalars['ID']['input'];
731
776
  };
732
- export type MutationForgotPasswordArgs = {
733
- email: Scalars['String']['input'];
777
+ export type MutationInviteTeamMemberArgs = {
778
+ input: CreateTeamInvitationInput;
734
779
  };
735
780
  export type MutationLoginArgs = {
736
781
  input: LoginInput;
737
782
  };
738
- export type MutationRefreshArgs = {
739
- refreshToken: Scalars['String']['input'];
740
- };
741
783
  export type MutationRemoveActionFromModuleArgs = {
742
- actionId: Scalars['ID']['input'];
784
+ moduleActionId: Scalars['ID']['input'];
743
785
  moduleId: Scalars['ID']['input'];
744
786
  };
745
- export type MutationRemoveUserRoleArgs = {
746
- roleName: Scalars['String']['input'];
747
- userId: Scalars['ID']['input'];
748
- };
749
787
  export type MutationReplaceTrialParametersArgs = {
750
788
  input: Array<ReplaceTrialParameterInput>;
751
789
  trialId: Scalars['ID']['input'];
@@ -753,6 +791,9 @@ export type MutationReplaceTrialParametersArgs = {
753
791
  export type MutationRequestPoseProcessingArgs = {
754
792
  testFileId: Scalars['ID']['input'];
755
793
  };
794
+ export type MutationResendInvitationArgs = {
795
+ invitationId: Scalars['ID']['input'];
796
+ };
756
797
  export type MutationUnarchiveUserProfileArgs = {
757
798
  id: Scalars['ID']['input'];
758
799
  };
@@ -851,6 +892,7 @@ export type Query = {
851
892
  group?: Maybe<Group>;
852
893
  groups: Array<Group>;
853
894
  historicalMetrics: Array<AnalysisMetric>;
895
+ invitations: Array<Invitation>;
854
896
  keypoints: Array<Keypoint>;
855
897
  me?: Maybe<CurrentUser>;
856
898
  module?: Maybe<ActionModule>;
@@ -867,12 +909,14 @@ export type Query = {
867
909
  sessionsCreatedByProfile: Array<Session>;
868
910
  sessionsForProfile: Array<Session>;
869
911
  stabilityBalanceReport?: Maybe<StabilityBalanceReport>;
912
+ teamInvitations: Array<Invitation>;
870
913
  testReport?: Maybe<TestReportUnion>;
871
914
  trial?: Maybe<Trial>;
872
915
  /** @deprecated This defaults to a report within a test, use the report-specific queries instead. */
873
916
  trialsForTest: Array<Trial>;
874
917
  useCases: Array<UseCase>;
875
918
  userProfile?: Maybe<UserProfile>;
919
+ validateInvitation: InvitationValidation;
876
920
  };
877
921
  export type QueryActionsArgs = {
878
922
  groupId?: InputMaybe<Scalars['ID']['input']>;
@@ -915,6 +959,9 @@ export type QueryHistoricalMetricsArgs = {
915
959
  start?: InputMaybe<Scalars['Date']['input']>;
916
960
  thresholdFilter?: InputMaybe<ThresholdFilter>;
917
961
  };
962
+ export type QueryInvitationsArgs = {
963
+ groupId: Scalars['ID']['input'];
964
+ };
918
965
  export type QueryKeypointsArgs = {
919
966
  keypointGroupId: Scalars['ID']['input'];
920
967
  };
@@ -974,6 +1021,9 @@ export type QueryUseCasesArgs = {
974
1021
  export type QueryUserProfileArgs = {
975
1022
  id: Scalars['ID']['input'];
976
1023
  };
1024
+ export type QueryValidateInvitationArgs = {
1025
+ token: Scalars['String']['input'];
1026
+ };
977
1027
  export type RangeReport = {
978
1028
  __typename?: 'RangeReport';
979
1029
  averageParameterScores: Array<TestAverageParameterScore>;
@@ -1367,10 +1417,11 @@ export type UpdateGroupInput = {
1367
1417
  };
1368
1418
  export type UpdateModuleInput = {
1369
1419
  actionReports?: InputMaybe<Array<ActionReportInModuleInput>>;
1370
- actions: Array<Scalars['ID']['input']>;
1420
+ actions?: InputMaybe<Array<Scalars['ID']['input']>>;
1371
1421
  categories?: InputMaybe<Array<Scalars['ID']['input']>>;
1372
1422
  description?: InputMaybe<Scalars['String']['input']>;
1373
1423
  metadataItemIds?: InputMaybe<Array<Scalars['ID']['input']>>;
1424
+ moduleActions?: InputMaybe<Array<ModuleActionInput>>;
1374
1425
  name: Scalars['String']['input'];
1375
1426
  quantumOwned?: InputMaybe<Scalars['Boolean']['input']>;
1376
1427
  };
@@ -1837,6 +1888,7 @@ export type MetadataItemFragment = {
1837
1888
  };
1838
1889
  export type LibraryModuleActionFragment = {
1839
1890
  __typename?: 'ModuleAction';
1891
+ id: string;
1840
1892
  moduleId: string;
1841
1893
  actionId: string;
1842
1894
  sortOrder: number;