@medplum/fhirtypes 5.1.37 → 5.1.39
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/Cron.d.ts +197 -0
- package/dist/Resource.d.ts +2 -0
- package/dist/UserSecurityRequest.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/Cron.d.ts
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
/*
|
|
4
|
+
* This is a generated file
|
|
5
|
+
* Do not edit manually.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { Bot } from './Bot.d.ts';
|
|
9
|
+
import type { Extension } from './Extension.d.ts';
|
|
10
|
+
import type { Identifier } from './Identifier.d.ts';
|
|
11
|
+
import type { Meta } from './Meta.d.ts';
|
|
12
|
+
import type { Narrative } from './Narrative.d.ts';
|
|
13
|
+
import type { ProjectMembership } from './ProjectMembership.d.ts';
|
|
14
|
+
import type { Reference } from './Reference.d.ts';
|
|
15
|
+
import type { Resource } from './Resource.d.ts';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* A scheduled job that executes a Bot on a recurring schedule.
|
|
19
|
+
*/
|
|
20
|
+
export interface Cron {
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* This is a Cron resource
|
|
24
|
+
*/
|
|
25
|
+
readonly resourceType: 'Cron';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* The logical id of the resource, as used in the URL for the resource.
|
|
29
|
+
* Once assigned, this value never changes.
|
|
30
|
+
*/
|
|
31
|
+
id?: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The metadata about the resource. This is content that is maintained by
|
|
35
|
+
* the infrastructure. Changes to the content might not always be
|
|
36
|
+
* associated with version changes to the resource.
|
|
37
|
+
*/
|
|
38
|
+
meta?: Meta;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* A reference to a set of rules that were followed when the resource was
|
|
42
|
+
* constructed, and which must be understood when processing the content.
|
|
43
|
+
* Often, this is a reference to an implementation guide that defines the
|
|
44
|
+
* special rules along with other profiles etc.
|
|
45
|
+
*/
|
|
46
|
+
implicitRules?: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The base language in which the resource is written.
|
|
50
|
+
*/
|
|
51
|
+
language?: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* A human-readable narrative that contains a summary of the resource and
|
|
55
|
+
* can be used to represent the content of the resource to a human. The
|
|
56
|
+
* narrative need not encode all the structured data, but is required to
|
|
57
|
+
* contain sufficient detail to make it "clinically safe" for a human to
|
|
58
|
+
* just read the narrative. Resource definitions may define what content
|
|
59
|
+
* should be represented in the narrative to ensure clinical safety.
|
|
60
|
+
*/
|
|
61
|
+
text?: Narrative;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* These resources do not have an independent existence apart from the
|
|
65
|
+
* resource that contains them - they cannot be identified independently,
|
|
66
|
+
* and nor can they have their own independent transaction scope.
|
|
67
|
+
*/
|
|
68
|
+
contained?: Resource[];
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* May be used to represent additional information that is not part of
|
|
72
|
+
* the basic definition of the resource. To make the use of extensions
|
|
73
|
+
* safe and manageable, there is a strict set of governance applied to
|
|
74
|
+
* the definition and use of extensions. Though any implementer can
|
|
75
|
+
* define an extension, there is a set of requirements that SHALL be met
|
|
76
|
+
* as part of the definition of the extension.
|
|
77
|
+
*/
|
|
78
|
+
extension?: Extension[];
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* May be used to represent additional information that is not part of
|
|
82
|
+
* the basic definition of the resource and that modifies the
|
|
83
|
+
* understanding of the element that contains it and/or the understanding
|
|
84
|
+
* of the containing element's descendants. Usually modifier elements
|
|
85
|
+
* provide negation or qualification. To make the use of extensions safe
|
|
86
|
+
* and manageable, there is a strict set of governance applied to the
|
|
87
|
+
* definition and use of extensions. Though any implementer is allowed to
|
|
88
|
+
* define an extension, there is a set of requirements that SHALL be met
|
|
89
|
+
* as part of the definition of the extension. Applications processing a
|
|
90
|
+
* resource are required to check for modifier extensions.
|
|
91
|
+
*
|
|
92
|
+
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
93
|
+
* Resource or DomainResource (including cannot change the meaning of
|
|
94
|
+
* modifierExtension itself).
|
|
95
|
+
*/
|
|
96
|
+
modifierExtension?: Extension[];
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* An identifier for this cron job.
|
|
100
|
+
*/
|
|
101
|
+
identifier?: Identifier[];
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Whether the scheduled job runs. Setting this to false unregisters the
|
|
105
|
+
* job while leaving the schedule itself intact, so the job can be turned
|
|
106
|
+
* back on without redefining it.
|
|
107
|
+
*/
|
|
108
|
+
active: boolean;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The project membership whose identity and access policy the scheduled
|
|
112
|
+
* job assumes when it runs.
|
|
113
|
+
*/
|
|
114
|
+
onBehalfOf: Reference<ProjectMembership>;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Input passed to the target each time the scheduled job runs, with the
|
|
118
|
+
* same structure as Parameters.parameter. The target is always invoked
|
|
119
|
+
* with the whole Cron resource, so these parameters arrive alongside the
|
|
120
|
+
* schedule that produced them.
|
|
121
|
+
*/
|
|
122
|
+
parameter?: CronParameter[];
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* A schedule for the job to be executed, as a cron expression. An
|
|
126
|
+
* expression that is not a valid five-field cron expression is rejected
|
|
127
|
+
* on write.
|
|
128
|
+
*/
|
|
129
|
+
cronString: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* The point in time after which the job no longer runs. A job whose end
|
|
133
|
+
* time has already passed is never scheduled, and a running one is
|
|
134
|
+
* removed once the time passes. When absent, the job runs until it is
|
|
135
|
+
* disabled or deleted.
|
|
136
|
+
*/
|
|
137
|
+
endTime?: string;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* The target invoked each time the scheduled job runs.
|
|
141
|
+
*/
|
|
142
|
+
targetReference: Reference<Bot>;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Input passed to the target each time the scheduled job runs, with the
|
|
147
|
+
* same structure as Parameters.parameter. The target is always invoked
|
|
148
|
+
* with the whole Cron resource, so these parameters arrive alongside the
|
|
149
|
+
* schedule that produced them.
|
|
150
|
+
*/
|
|
151
|
+
export interface CronParameter {
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* The name of the parameter (reference to the operation definition).
|
|
155
|
+
*/
|
|
156
|
+
name: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* If the parameter is a data type.
|
|
160
|
+
*/
|
|
161
|
+
valueBoolean?: boolean;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* If the parameter is a data type.
|
|
165
|
+
*/
|
|
166
|
+
valueDateTime?: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* If the parameter is a data type.
|
|
170
|
+
*/
|
|
171
|
+
valueDecimal?: number;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* If the parameter is a data type.
|
|
175
|
+
*/
|
|
176
|
+
valueInteger?: number;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* If the parameter is a data type.
|
|
180
|
+
*/
|
|
181
|
+
valueString?: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* If the parameter is a data type.
|
|
185
|
+
*/
|
|
186
|
+
valueReference?: Reference;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* If the parameter is a whole resource.
|
|
190
|
+
*/
|
|
191
|
+
resource?: Resource;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* If the parameter is a data type.
|
|
196
|
+
*/
|
|
197
|
+
export type CronParameterValue = boolean | number | Reference | string;
|
package/dist/Resource.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ import type { Contract } from './Contract.d.ts';
|
|
|
44
44
|
import type { Coverage } from './Coverage.d.ts';
|
|
45
45
|
import type { CoverageEligibilityRequest } from './CoverageEligibilityRequest.d.ts';
|
|
46
46
|
import type { CoverageEligibilityResponse } from './CoverageEligibilityResponse.d.ts';
|
|
47
|
+
import type { Cron } from './Cron.d.ts';
|
|
47
48
|
import type { DetectedIssue } from './DetectedIssue.d.ts';
|
|
48
49
|
import type { Device } from './Device.d.ts';
|
|
49
50
|
import type { DeviceDefinition } from './DeviceDefinition.d.ts';
|
|
@@ -215,6 +216,7 @@ export type Resource = AccessPolicy
|
|
|
215
216
|
| Coverage
|
|
216
217
|
| CoverageEligibilityRequest
|
|
217
218
|
| CoverageEligibilityResponse
|
|
219
|
+
| Cron
|
|
218
220
|
| DetectedIssue
|
|
219
221
|
| Device
|
|
220
222
|
| DeviceDefinition
|
|
@@ -114,6 +114,12 @@ export interface UserSecurityRequest {
|
|
|
114
114
|
*/
|
|
115
115
|
used?: boolean;
|
|
116
116
|
|
|
117
|
+
/**
|
|
118
|
+
* The time at which this request expires, and is therefore no longer
|
|
119
|
+
* valid.
|
|
120
|
+
*/
|
|
121
|
+
expiresAt?: string;
|
|
122
|
+
|
|
117
123
|
/**
|
|
118
124
|
* Redirect URI used when redirecting a client back to the client
|
|
119
125
|
* application.
|
package/dist/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export type * from './Count.d.ts';
|
|
|
55
55
|
export type * from './Coverage.d.ts';
|
|
56
56
|
export type * from './CoverageEligibilityRequest.d.ts';
|
|
57
57
|
export type * from './CoverageEligibilityResponse.d.ts';
|
|
58
|
+
export type * from './Cron.d.ts';
|
|
58
59
|
export type * from './DataRequirement.d.ts';
|
|
59
60
|
export type * from './DetectedIssue.d.ts';
|
|
60
61
|
export type * from './Device.d.ts';
|