@@ -491,6 +491,25 @@ export type CancelScheduledTracksPayload = Payload & {
491
491
unscheduled_ids : Array < Scalars [ 'String' ] > ;
492
492
} ;
493
493
494
+ export type CareflowVersion = {
495
+ __typename ?: 'CareflowVersion' ;
496
+ live ?: Maybe < Scalars [ 'Boolean' ] > ;
497
+ release_date ?: Maybe < Scalars [ 'String' ] > ;
498
+ release_id ?: Maybe < Scalars [ 'String' ] > ;
499
+ version ?: Maybe < Scalars [ 'Float' ] > ;
500
+ } ;
501
+
502
+ export type CareflowVersions = {
503
+ __typename ?: 'CareflowVersions' ;
504
+ careflow_definition_id : Scalars [ 'String' ] ;
505
+ versions ?: Maybe < Array < CareflowVersion > > ;
506
+ } ;
507
+
508
+ export type CareflowVersionsPayload = {
509
+ __typename ?: 'CareflowVersionsPayload' ;
510
+ careflowVersions : Array < CareflowVersions > ;
511
+ } ;
512
+
494
513
export type Checklist = {
495
514
__typename ?: 'Checklist' ;
496
515
items : Array < Scalars [ 'String' ] > ;
@@ -552,6 +571,8 @@ export enum ConditionOperandType {
552
571
export enum ConditionOperator {
553
572
Contains = 'CONTAINS' ,
554
573
DoesNotContain = 'DOES_NOT_CONTAIN' ,
574
+ HasFileUploaded = 'HAS_FILE_UPLOADED' ,
575
+ HasNoFileUploaded = 'HAS_NO_FILE_UPLOADED' ,
555
576
IsAnyOf = 'IS_ANY_OF' ,
556
577
IsEmpty = 'IS_EMPTY' ,
557
578
IsEqualTo = 'IS_EQUAL_TO' ,
@@ -879,7 +900,7 @@ export type ExtensionDataPointInput = {
879
900
export type FileStorageQuestionConfig = {
880
901
__typename ?: 'FileStorageQuestionConfig' ;
881
902
accepted_file_types ?: Maybe < Array < Scalars [ 'String' ] > > ;
882
- file_storage_destination_id ?: Maybe < Scalars [ 'String' ] > ;
903
+ file_storage_config_slug ?: Maybe < Scalars [ 'String' ] > ;
883
904
} ;
884
905
885
906
export type FileUploadGcsPayload = Payload & {
@@ -1737,6 +1758,7 @@ export type Query = {
1737
1758
forms : FormsPayload ;
1738
1759
generateRetoolEmbedUrl : GenerateRetoolEmbedUrlPayload ;
1739
1760
getOrchestrationFactsFromPrompt : OrchestrationFactsPromptPayload ;
1761
+ getPublishedCareflowVersions : CareflowVersionsPayload ;
1740
1762
/** Generate a signed URL for file upload to GCS */
1741
1763
getSignedUrl : FileUploadGcsPayload ;
1742
1764
getStatusForPublishedPathwayDefinitions : PublishedPathwayDefinitionsPayload ;
@@ -1903,8 +1925,13 @@ export type QueryGetOrchestrationFactsFromPromptArgs = {
1903
1925
} ;
1904
1926
1905
1927
1928
+ export type QueryGetPublishedCareflowVersionsArgs = {
1929
+ careflow_definition_id ?: InputMaybe < Scalars [ 'String' ] > ;
1930
+ } ;
1931
+
1932
+
1906
1933
export type QueryGetSignedUrlArgs = {
1907
- config_id : Scalars [ 'String' ] ;
1934
+ config_slug : Scalars [ 'String' ] ;
1908
1935
content_type : Scalars [ 'String' ] ;
1909
1936
expires_in ?: InputMaybe < Scalars [ 'Float' ] > ;
1910
1937
file_name : Scalars [ 'String' ] ;
@@ -1931,6 +1958,7 @@ export type QueryMyActivitiesArgs = {
1931
1958
pagination ?: InputMaybe < PaginationParams > ;
1932
1959
pathway_id : Scalars [ 'String' ] ;
1933
1960
sorting ?: InputMaybe < SortingParams > ;
1961
+ track_id ?: InputMaybe < Scalars [ 'String' ] > ;
1934
1962
} ;
1935
1963
1936
1964
@@ -1943,6 +1971,7 @@ export type QueryPathwayActivitiesArgs = {
1943
1971
pagination ?: InputMaybe < PaginationParams > ;
1944
1972
pathway_id : Scalars [ 'String' ] ;
1945
1973
sorting ?: InputMaybe < SortingParams > ;
1974
+ track_id ?: InputMaybe < Scalars [ 'String' ] > ;
1946
1975
} ;
1947
1976
1948
1977
@@ -1965,6 +1994,7 @@ export type QueryPathwayDataPointsArgs = {
1965
1994
1966
1995
export type QueryPathwayElementsArgs = {
1967
1996
pathway_id : Scalars [ 'String' ] ;
1997
+ track_id ?: InputMaybe < Scalars [ 'String' ] > ;
1968
1998
} ;
1969
1999
1970
2000
@@ -2430,6 +2460,7 @@ export type SubActivity = {
2430
2460
error_category ?: Maybe < Scalars [ 'String' ] > ;
2431
2461
id : Scalars [ 'String' ] ;
2432
2462
object ?: Maybe < ActivityObject > ;
2463
+ scheduled_date ?: Maybe < Scalars [ 'String' ] > ;
2433
2464
subject : ActivitySubject ;
2434
2465
text ?: Maybe < TranslatedText > ;
2435
2466
} ;
@@ -2806,20 +2837,20 @@ export type GetSignedUrlQueryVariables = Exact<{
2806
2837
content_type : Scalars [ 'String' ] ;
2807
2838
expires_in ?: InputMaybe < Scalars [ 'Float' ] > ;
2808
2839
file_name : Scalars [ 'String' ] ;
2809
- config_id : Scalars [ 'String' ] ;
2840
+ config_slug : Scalars [ 'String' ] ;
2810
2841
} > ;
2811
2842
2812
2843
2813
2844
export type GetSignedUrlQuery = { __typename ?: 'Query' , getSignedUrl : { __typename ?: 'FileUploadGCSPayload' , upload_url : string , file_url : string } } ;
2814
2845
2815
- export type FormFragment = { __typename ?: 'Form' , id : string , key : string , title : string , trademark ?: string | null , definition_id : string , release_id : string , questions : Array < { __typename ?: 'Question' , id : string , definition_id : string , key : string , title : string , dataPointValueType ?: DataPointValueType | null , questionType ?: QuestionType | null , userQuestionType ?: UserQuestionType | null , options ?: Array < { __typename ?: 'Option' , id : string , value_string : string , value : number , label : string } > | null , questionConfig ?: { __typename ?: 'QuestionConfig' , recode_enabled ?: boolean | null , mandatory : boolean , use_select ?: boolean | null , slider ?: { __typename ?: 'SliderConfig' , min : number , max : number , step_value : number , display_marks : boolean , min_label : string , max_label : string , is_value_tooltip_on : boolean , show_min_max_values : boolean } | null , phone ?: { __typename ?: 'PhoneConfig' , default_country ?: string | null , available_countries ?: Array < string > | null } | null , number ?: { __typename ?: 'NumberConfig' , range ?: { __typename ?: 'RangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null } | null , multiple_select ?: { __typename ?: 'MultipleSelectConfig' , range ?: { __typename ?: 'ChoiceRangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null , exclusive_option ?: { __typename ?: 'ExclusiveOptionConfig' , option_id ?: string | null , enabled ?: boolean | null } | null } | null , date ?: { __typename ?: 'DateConfig' , allowed_dates ?: AllowedDatesOptions | null , include_date_of_response ?: boolean | null } | null , file_storage ?: { __typename ?: 'FileStorageQuestionConfig' , file_storage_destination_id ?: string | null , accepted_file_types ?: Array < string > | null } | null } | null } > } ;
2846
+ export type FormFragment = { __typename ?: 'Form' , id : string , key : string , title : string , trademark ?: string | null , definition_id : string , release_id : string , questions : Array < { __typename ?: 'Question' , id : string , definition_id : string , key : string , title : string , dataPointValueType ?: DataPointValueType | null , questionType ?: QuestionType | null , userQuestionType ?: UserQuestionType | null , options ?: Array < { __typename ?: 'Option' , id : string , value_string : string , value : number , label : string } > | null , questionConfig ?: { __typename ?: 'QuestionConfig' , recode_enabled ?: boolean | null , mandatory : boolean , use_select ?: boolean | null , slider ?: { __typename ?: 'SliderConfig' , min : number , max : number , step_value : number , display_marks : boolean , min_label : string , max_label : string , is_value_tooltip_on : boolean , show_min_max_values : boolean } | null , phone ?: { __typename ?: 'PhoneConfig' , default_country ?: string | null , available_countries ?: Array < string > | null } | null , number ?: { __typename ?: 'NumberConfig' , range ?: { __typename ?: 'RangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null } | null , multiple_select ?: { __typename ?: 'MultipleSelectConfig' , range ?: { __typename ?: 'ChoiceRangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null , exclusive_option ?: { __typename ?: 'ExclusiveOptionConfig' , option_id ?: string | null , enabled ?: boolean | null } | null } | null , date ?: { __typename ?: 'DateConfig' , allowed_dates ?: AllowedDatesOptions | null , include_date_of_response ?: boolean | null } | null , file_storage ?: { __typename ?: 'FileStorageQuestionConfig' , file_storage_config_slug ?: string | null , accepted_file_types ?: Array < string > | null } | null } | null } > } ;
2816
2847
2817
2848
export type GetFormQueryVariables = Exact < {
2818
2849
id : Scalars [ 'String' ] ;
2819
2850
} > ;
2820
2851
2821
2852
2822
- export type GetFormQuery = { __typename ?: 'Query' , form : { __typename ?: 'FormPayload' , form ?: { __typename ?: 'Form' , id : string , key : string , title : string , trademark ?: string | null , definition_id : string , release_id : string , questions : Array < { __typename ?: 'Question' , id : string , definition_id : string , key : string , title : string , dataPointValueType ?: DataPointValueType | null , questionType ?: QuestionType | null , userQuestionType ?: UserQuestionType | null , options ?: Array < { __typename ?: 'Option' , id : string , value_string : string , value : number , label : string } > | null , questionConfig ?: { __typename ?: 'QuestionConfig' , recode_enabled ?: boolean | null , mandatory : boolean , use_select ?: boolean | null , slider ?: { __typename ?: 'SliderConfig' , min : number , max : number , step_value : number , display_marks : boolean , min_label : string , max_label : string , is_value_tooltip_on : boolean , show_min_max_values : boolean } | null , phone ?: { __typename ?: 'PhoneConfig' , default_country ?: string | null , available_countries ?: Array < string > | null } | null , number ?: { __typename ?: 'NumberConfig' , range ?: { __typename ?: 'RangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null } | null , multiple_select ?: { __typename ?: 'MultipleSelectConfig' , range ?: { __typename ?: 'ChoiceRangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null , exclusive_option ?: { __typename ?: 'ExclusiveOptionConfig' , option_id ?: string | null , enabled ?: boolean | null } | null } | null , date ?: { __typename ?: 'DateConfig' , allowed_dates ?: AllowedDatesOptions | null , include_date_of_response ?: boolean | null } | null , file_storage ?: { __typename ?: 'FileStorageQuestionConfig' , file_storage_destination_id ?: string | null , accepted_file_types ?: Array < string > | null } | null } | null } > } | null } } ;
2853
+ export type GetFormQuery = { __typename ?: 'Query' , form : { __typename ?: 'FormPayload' , form ?: { __typename ?: 'Form' , id : string , key : string , title : string , trademark ?: string | null , definition_id : string , release_id : string , questions : Array < { __typename ?: 'Question' , id : string , definition_id : string , key : string , title : string , dataPointValueType ?: DataPointValueType | null , questionType ?: QuestionType | null , userQuestionType ?: UserQuestionType | null , options ?: Array < { __typename ?: 'Option' , id : string , value_string : string , value : number , label : string } > | null , questionConfig ?: { __typename ?: 'QuestionConfig' , recode_enabled ?: boolean | null , mandatory : boolean , use_select ?: boolean | null , slider ?: { __typename ?: 'SliderConfig' , min : number , max : number , step_value : number , display_marks : boolean , min_label : string , max_label : string , is_value_tooltip_on : boolean , show_min_max_values : boolean } | null , phone ?: { __typename ?: 'PhoneConfig' , default_country ?: string | null , available_countries ?: Array < string > | null } | null , number ?: { __typename ?: 'NumberConfig' , range ?: { __typename ?: 'RangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null } | null , multiple_select ?: { __typename ?: 'MultipleSelectConfig' , range ?: { __typename ?: 'ChoiceRangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null , exclusive_option ?: { __typename ?: 'ExclusiveOptionConfig' , option_id ?: string | null , enabled ?: boolean | null } | null } | null , date ?: { __typename ?: 'DateConfig' , allowed_dates ?: AllowedDatesOptions | null , include_date_of_response ?: boolean | null } | null , file_storage ?: { __typename ?: 'FileStorageQuestionConfig' , file_storage_config_slug ?: string | null , accepted_file_types ?: Array < string > | null } | null } | null } > } | null } } ;
2823
2854
2824
2855
export type GetFormResponseQueryVariables = Exact < {
2825
2856
pathway_id : Scalars [ 'String' ] ;
@@ -2829,7 +2860,7 @@ export type GetFormResponseQueryVariables = Exact<{
2829
2860
2830
2861
export type GetFormResponseQuery = { __typename ?: 'Query' , formResponse : { __typename ?: 'FormResponsePayload' , response : { __typename ?: 'FormResponse' , answers : Array < { __typename ?: 'Answer' , question_id : string , value : string , value_type : DataPointValueType } > } } } ;
2831
2862
2832
- export type QuestionFragment = { __typename ?: 'Question' , id : string , definition_id : string , key : string , title : string , dataPointValueType ?: DataPointValueType | null , questionType ?: QuestionType | null , userQuestionType ?: UserQuestionType | null , options ?: Array < { __typename ?: 'Option' , id : string , value_string : string , value : number , label : string } > | null , questionConfig ?: { __typename ?: 'QuestionConfig' , recode_enabled ?: boolean | null , mandatory : boolean , use_select ?: boolean | null , slider ?: { __typename ?: 'SliderConfig' , min : number , max : number , step_value : number , display_marks : boolean , min_label : string , max_label : string , is_value_tooltip_on : boolean , show_min_max_values : boolean } | null , phone ?: { __typename ?: 'PhoneConfig' , default_country ?: string | null , available_countries ?: Array < string > | null } | null , number ?: { __typename ?: 'NumberConfig' , range ?: { __typename ?: 'RangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null } | null , multiple_select ?: { __typename ?: 'MultipleSelectConfig' , range ?: { __typename ?: 'ChoiceRangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null , exclusive_option ?: { __typename ?: 'ExclusiveOptionConfig' , option_id ?: string | null , enabled ?: boolean | null } | null } | null , date ?: { __typename ?: 'DateConfig' , allowed_dates ?: AllowedDatesOptions | null , include_date_of_response ?: boolean | null } | null , file_storage ?: { __typename ?: 'FileStorageQuestionConfig' , file_storage_destination_id ?: string | null , accepted_file_types ?: Array < string > | null } | null } | null } ;
2863
+ export type QuestionFragment = { __typename ?: 'Question' , id : string , definition_id : string , key : string , title : string , dataPointValueType ?: DataPointValueType | null , questionType ?: QuestionType | null , userQuestionType ?: UserQuestionType | null , options ?: Array < { __typename ?: 'Option' , id : string , value_string : string , value : number , label : string } > | null , questionConfig ?: { __typename ?: 'QuestionConfig' , recode_enabled ?: boolean | null , mandatory : boolean , use_select ?: boolean | null , slider ?: { __typename ?: 'SliderConfig' , min : number , max : number , step_value : number , display_marks : boolean , min_label : string , max_label : string , is_value_tooltip_on : boolean , show_min_max_values : boolean } | null , phone ?: { __typename ?: 'PhoneConfig' , default_country ?: string | null , available_countries ?: Array < string > | null } | null , number ?: { __typename ?: 'NumberConfig' , range ?: { __typename ?: 'RangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null } | null , multiple_select ?: { __typename ?: 'MultipleSelectConfig' , range ?: { __typename ?: 'ChoiceRangeConfig' , min ?: number | null , max ?: number | null , enabled ?: boolean | null } | null , exclusive_option ?: { __typename ?: 'ExclusiveOptionConfig' , option_id ?: string | null , enabled ?: boolean | null } | null } | null , date ?: { __typename ?: 'DateConfig' , allowed_dates ?: AllowedDatesOptions | null , include_date_of_response ?: boolean | null } | null , file_storage ?: { __typename ?: 'FileStorageQuestionConfig' , file_storage_config_slug ?: string | null , accepted_file_types ?: Array < string > | null } | null } | null } ;
2833
2864
2834
2865
export type HostedSessionFragment = { __typename ?: 'HostedSession' , id : string , pathway_id : string , status : HostedSessionStatus , success_url ?: string | null , cancel_url ?: string | null , stakeholder : { __typename ?: 'HostedSessionStakeholder' , id : string , type : HostedSessionStakeholderType , name : string } } ;
2835
2866
@@ -2969,7 +3000,7 @@ export const QuestionFragmentDoc = gql`
2969
3000
include_date_of_response
2970
3001
}
2971
3002
file_storage {
2972
- file_storage_destination_id
3003
+ file_storage_config_slug
2973
3004
accepted_file_types
2974
3005
}
2975
3006
}
@@ -3196,12 +3227,12 @@ export type GetExtensionActivityDetailsQueryHookResult = ReturnType<typeof useGe
3196
3227
export type GetExtensionActivityDetailsLazyQueryHookResult = ReturnType < typeof useGetExtensionActivityDetailsLazyQuery > ;
3197
3228
export type GetExtensionActivityDetailsQueryResult = Apollo . QueryResult < GetExtensionActivityDetailsQuery , GetExtensionActivityDetailsQueryVariables > ;
3198
3229
export const GetSignedUrlDocument = gql `
3199
- query GetSignedUrl($content_type: String!, $expires_in: Float, $file_name: String!, $config_id : String!) {
3230
+ query GetSignedUrl($content_type: String!, $expires_in: Float, $file_name: String!, $config_slug : String!) {
3200
3231
getSignedUrl(
3201
3232
content_type: $content_type
3202
3233
expires_in: $expires_in
3203
3234
file_name: $file_name
3204
- config_id : $config_id
3235
+ config_slug : $config_slug
3205
3236
) {
3206
3237
upload_url
3207
3238
file_url
@@ -3224,7 +3255,7 @@ export const GetSignedUrlDocument = gql`
3224
3255
* content_type: // value for 'content_type'
3225
3256
* expires_in: // value for 'expires_in'
3226
3257
* file_name: // value for 'file_name'
3227
- * config_id : // value for 'config_id '
3258
+ * config_slug : // value for 'config_slug '
3228
3259
* },
3229
3260
* });
3230
3261
*/
0 commit comments