@awell-health/ui-library 0.1.98 → 0.1.100

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/dist/index.js CHANGED
@@ -16098,6 +16098,7 @@ Check the top-level render call using <` + t + ">.");
16098
16098
  exports.ActivityObjectType = void 0;
16099
16099
  (function (ActivityObjectType) {
16100
16100
  ActivityObjectType["Action"] = "ACTION";
16101
+ ActivityObjectType["Agent"] = "AGENT";
16101
16102
  ActivityObjectType["ApiCall"] = "API_CALL";
16102
16103
  ActivityObjectType["Calculation"] = "CALCULATION";
16103
16104
  ActivityObjectType["Checklist"] = "CHECKLIST";
@@ -16204,6 +16205,7 @@ Check the top-level render call using <` + t + ">.");
16204
16205
  })(exports.ConditionOperator || (exports.ConditionOperator = {}));
16205
16206
  exports.DataPointSourceType = void 0;
16206
16207
  (function (DataPointSourceType) {
16208
+ DataPointSourceType["Agent"] = "AGENT";
16207
16209
  DataPointSourceType["ApiCall"] = "API_CALL";
16208
16210
  DataPointSourceType["ApiCallStatus"] = "API_CALL_STATUS";
16209
16211
  DataPointSourceType["Calculation"] = "CALCULATION";
@@ -37418,7 +37420,7 @@ Check the top-level render call using <` + t + ">.");
37418
37420
  };
37419
37421
 
37420
37422
  var isValidEmail = function (email) {
37421
- var emailRegex = /^[\w-+.]+@([\w-]+\.)+[\w-]{2,}$/;
37423
+ var emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
37422
37424
  return emailRegex.test(email);
37423
37425
  };
37424
37426
 
@@ -124,6 +124,7 @@ export declare type ActivityObject = {
124
124
  };
125
125
  export declare enum ActivityObjectType {
126
126
  Action = "ACTION",
127
+ Agent = "AGENT",
127
128
  ApiCall = "API_CALL",
128
129
  Calculation = "CALCULATION",
129
130
  Checklist = "CHECKLIST",
@@ -467,19 +468,6 @@ export declare type CreatePatientPayload = Payload & {
467
468
  patient?: Maybe<User>;
468
469
  success: Scalars['Boolean'];
469
470
  };
470
- export declare type CurrentUser = {
471
- __typename?: 'CurrentUser';
472
- id: Scalars['ID'];
473
- profile?: Maybe<UserProfile>;
474
- tenant: Tenant;
475
- tenant_id: Scalars['String'];
476
- };
477
- export declare type CurrentUserPayload = Payload & {
478
- __typename?: 'CurrentUserPayload';
479
- code: Scalars['String'];
480
- success: Scalars['Boolean'];
481
- user: CurrentUser;
482
- };
483
471
  export declare type DataPoint = {
484
472
  __typename?: 'DataPoint';
485
473
  activity_id?: Maybe<Scalars['String']>;
@@ -529,6 +517,7 @@ export declare type DataPointPossibleValue = {
529
517
  value: Scalars['String'];
530
518
  };
531
519
  export declare enum DataPointSourceType {
520
+ Agent = "AGENT",
532
521
  ApiCall = "API_CALL",
533
522
  ApiCallStatus = "API_CALL_STATUS",
534
523
  Calculation = "CALCULATION",
@@ -663,6 +652,10 @@ export declare type ExclusiveOptionConfig = {
663
652
  enabled?: Maybe<Scalars['Boolean']>;
664
653
  option_id?: Maybe<Scalars['String']>;
665
654
  };
655
+ export declare type ExpireTimerInput = {
656
+ activity_id: Scalars['String'];
657
+ user_name: Scalars['String'];
658
+ };
666
659
  export declare type ExtensionActionField = {
667
660
  __typename?: 'ExtensionActionField';
668
661
  id: Scalars['ID'];
@@ -963,6 +956,7 @@ export declare type Mutation = {
963
956
  deletePathway: EmptyPayload;
964
957
  deletePatient: EmptyPayload;
965
958
  evaluateFormRules: EvaluateFormRulesPayload;
959
+ expireTimer: EmptyPayload;
966
960
  markMessageAsRead: MarkMessageAsReadPayload;
967
961
  requestPatientDemographics: PatientDemographicsPayload;
968
962
  retryActivity: EmptyPayload;
@@ -1018,6 +1012,9 @@ export declare type MutationDeletePatientArgs = {
1018
1012
  export declare type MutationEvaluateFormRulesArgs = {
1019
1013
  input: EvaluateFormRulesInput;
1020
1014
  };
1015
+ export declare type MutationExpireTimerArgs = {
1016
+ input: ExpireTimerInput;
1017
+ };
1021
1018
  export declare type MutationMarkMessageAsReadArgs = {
1022
1019
  input: MarkMessageAsReadInput;
1023
1020
  };
@@ -1422,11 +1419,11 @@ export declare type Query = {
1422
1419
  stakeholdersByDefinitionIds: StakeholdersPayload;
1423
1420
  stakeholdersByPathwayDefinitionIds: StakeholdersPayload;
1424
1421
  stakeholdersByReleaseIds: StakeholdersPayload;
1422
+ tenant: TenantPayload;
1425
1423
  webhookCall: WebhookCallPayload;
1426
1424
  webhookCalls: WebhookCallsPayload;
1427
1425
  webhookCallsForPathwayDefinition: WebhookCallsPayload;
1428
1426
  webhookCallsForTenant: WebhookCallsPayload;
1429
- whoami: CurrentUserPayload;
1430
1427
  };
1431
1428
  export declare type QueryActivitiesArgs = {
1432
1429
  filters?: InputMaybe<FilterActivitiesParams>;
@@ -2041,6 +2038,12 @@ export declare type Tenant = {
2041
2038
  logo_path: Scalars['String'];
2042
2039
  name: Scalars['String'];
2043
2040
  };
2041
+ export declare type TenantPayload = Payload & {
2042
+ __typename?: 'TenantPayload';
2043
+ code: Scalars['String'];
2044
+ success: Scalars['Boolean'];
2045
+ tenant: Tenant;
2046
+ };
2044
2047
  export declare type TextFilter = {
2045
2048
  contains?: InputMaybe<Scalars['String']>;
2046
2049
  eq?: InputMaybe<Scalars['String']>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/ui-library",
3
- "version": "0.1.98",
3
+ "version": "0.1.100",
4
4
  "description": "UI components to integrate with Awell Health",
5
5
  "repository": {
6
6
  "type": "git",
@@ -194,5 +194,6 @@
194
194
  "last 1 firefox version",
195
195
  "last 1 safari version"
196
196
  ]
197
- }
197
+ },
198
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
198
199
  }