@persei/perseed-api 4.34.8 → 4.34.9

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.d.ts CHANGED
@@ -795,7 +795,7 @@ export declare enum IntrospectionSchemaType {
795
795
 
796
796
  export declare const isNotStatusField: (fieldName: any) => boolean;
797
797
 
798
- declare interface LoadPatientDataType {
798
+ export declare interface LoadPatientDataType {
799
799
  join?: string[];
800
800
  where: Record<string, string> | 'auto';
801
801
  }
@@ -892,7 +892,7 @@ export declare interface MFAMethod {
892
892
  */
893
893
  export declare type MFAMethodCode = 'sms' | 'email';
894
894
 
895
- declare type ModelName = string;
895
+ export declare type ModelName = string;
896
896
 
897
897
  export declare const MULTIPLE_SELECTION_SEPARATOR = "~";
898
898
 
@@ -34,31 +34,7 @@
34
34
  }
35
35
  },
36
36
  "load_patient": {
37
- "type": "object",
38
- "properties": {
39
- "join": {
40
- "type": "array",
41
- "items": {
42
- "type": "string"
43
- }
44
- },
45
- "where": {
46
- "anyOf": [
47
- {
48
- "type": "object",
49
- "additionalProperties": {
50
- "type": "string"
51
- }
52
- },
53
- {
54
- "type": "string",
55
- "const": "auto"
56
- }
57
- ]
58
- }
59
- },
60
- "required": ["where"],
61
- "additionalProperties": false
37
+ "$ref": "#/definitions/LoadPatientDataType"
62
38
  },
63
39
  "action": {
64
40
  "$ref": "#/definitions/ApiAction"
@@ -158,6 +134,33 @@
158
134
  },
159
135
  "additionalProperties": false
160
136
  },
137
+ "LoadPatientDataType": {
138
+ "type": "object",
139
+ "properties": {
140
+ "join": {
141
+ "type": "array",
142
+ "items": {
143
+ "type": "string"
144
+ }
145
+ },
146
+ "where": {
147
+ "anyOf": [
148
+ {
149
+ "type": "object",
150
+ "additionalProperties": {
151
+ "type": "string"
152
+ }
153
+ },
154
+ {
155
+ "type": "string",
156
+ "const": "auto"
157
+ }
158
+ ]
159
+ }
160
+ },
161
+ "required": ["where"],
162
+ "additionalProperties": false
163
+ },
161
164
  "ApiAction": {
162
165
  "type": "string",
163
166
  "enum": ["questionnaire.create", "crf.create", "crf.update", "crf.delete", "external_api_call"]
@@ -33,31 +33,7 @@
33
33
  }
34
34
  },
35
35
  "load_patient": {
36
- "type": "object",
37
- "properties": {
38
- "join": {
39
- "type": "array",
40
- "items": {
41
- "type": "string"
42
- }
43
- },
44
- "where": {
45
- "anyOf": [
46
- {
47
- "type": "object",
48
- "additionalProperties": {
49
- "type": "string"
50
- }
51
- },
52
- {
53
- "type": "string",
54
- "const": "auto"
55
- }
56
- ]
57
- }
58
- },
59
- "required": ["where"],
60
- "additionalProperties": false
36
+ "$ref": "#/definitions/LoadPatientDataType"
61
37
  },
62
38
  "action": {
63
39
  "$ref": "#/definitions/ApiAction"
@@ -157,6 +133,33 @@
157
133
  },
158
134
  "additionalProperties": false
159
135
  },
136
+ "LoadPatientDataType": {
137
+ "type": "object",
138
+ "properties": {
139
+ "join": {
140
+ "type": "array",
141
+ "items": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ "where": {
146
+ "anyOf": [
147
+ {
148
+ "type": "object",
149
+ "additionalProperties": {
150
+ "type": "string"
151
+ }
152
+ },
153
+ {
154
+ "type": "string",
155
+ "const": "auto"
156
+ }
157
+ ]
158
+ }
159
+ },
160
+ "required": ["where"],
161
+ "additionalProperties": false
162
+ },
160
163
  "ApiAction": {
161
164
  "type": "string",
162
165
  "enum": ["questionnaire.create", "crf.create", "crf.update", "crf.delete", "external_api_call"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@persei/perseed-api",
3
- "version": "4.34.8",
3
+ "version": "4.34.9",
4
4
  "private": false,
5
5
  "main": "./dist/perseed-api.umd.cjs",
6
6
  "module": "./dist/perseed-api.js",