@sijilaty/ehr-sdk 1.0.1 → 1.0.2
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/LICENSE.md +1 -1
- package/README.md +6 -6
- package/dist/cjs/index.cjs +108 -108
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/esm/index.js +108 -108
- package/dist/esm/index.js.map +3 -3
- package/dist/types/client/client.d.ts +8 -8
- package/dist/types/client/client.d.ts.map +1 -1
- package/dist/types/config.d.ts +6 -6
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/errors/index.d.ts +2 -2
- package/dist/types/errors/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +12 -12
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/classes/application.d.ts +16 -16
- package/dist/types/resources/classes/application.d.ts.map +1 -1
- package/dist/types/resources/classes/charge.d.ts +5 -5
- package/dist/types/resources/classes/charge.d.ts.map +1 -1
- package/dist/types/resources/classes/conversation-ext.d.ts +1 -1
- package/dist/types/resources/classes/conversation.d.ts +14 -14
- package/dist/types/resources/classes/conversation.d.ts.map +1 -1
- package/dist/types/resources/classes/developer.d.ts +18 -18
- package/dist/types/resources/classes/developer.d.ts.map +1 -1
- package/dist/types/resources/classes/erx.d.ts +22 -22
- package/dist/types/resources/classes/erx.d.ts.map +1 -1
- package/dist/types/resources/classes/fax.d.ts +10 -10
- package/dist/types/resources/classes/fax.d.ts.map +1 -1
- package/dist/types/resources/classes/fhir-ext.d.ts +28 -28
- package/dist/types/resources/classes/fhir-ext.d.ts.map +1 -1
- package/dist/types/resources/classes/fhir.d.ts +3 -3
- package/dist/types/resources/classes/fhir.d.ts.map +1 -1
- package/dist/types/resources/classes/index.d.ts +4 -4
- package/dist/types/resources/classes/index.d.ts.map +1 -1
- package/dist/types/resources/classes/lab.d.ts +17 -17
- package/dist/types/resources/classes/lab.d.ts.map +1 -1
- package/dist/types/resources/classes/m2m.d.ts +22 -22
- package/dist/types/resources/classes/m2m.d.ts.map +1 -1
- package/dist/types/resources/classes/messaging.d.ts +4 -4
- package/dist/types/resources/classes/messaging.d.ts.map +1 -1
- package/dist/types/resources/classes/paymentMethod.d.ts +7 -7
- package/dist/types/resources/classes/paymentMethod.d.ts.map +1 -1
- package/dist/types/resources/classes/project.d.ts +9 -9
- package/dist/types/resources/classes/project.d.ts.map +1 -1
- package/dist/types/resources/classes/rcm-ext.d.ts +2 -2
- package/dist/types/resources/classes/rcm-ext.d.ts.map +1 -1
- package/dist/types/resources/classes/rcm.d.ts +10 -10
- package/dist/types/resources/classes/rcm.d.ts.map +1 -1
- package/dist/types/resources/classes/role.d.ts +13 -13
- package/dist/types/resources/classes/role.d.ts.map +1 -1
- package/dist/types/resources/classes/secret.d.ts +7 -7
- package/dist/types/resources/classes/secret.d.ts.map +1 -1
- package/dist/types/resources/classes/telemed.d.ts +6 -6
- package/dist/types/resources/classes/telemed.d.ts.map +1 -1
- package/dist/types/resources/classes/terminology.d.ts +5 -5
- package/dist/types/resources/classes/terminology.d.ts.map +1 -1
- package/dist/types/resources/classes/transactionalSMS.d.ts +5 -5
- package/dist/types/resources/classes/transactionalSMS.d.ts.map +1 -1
- package/dist/types/resources/classes/user.d.ts +26 -26
- package/dist/types/resources/classes/user.d.ts.map +1 -1
- package/dist/types/resources/classes/version.d.ts +4 -4
- package/dist/types/resources/classes/version.d.ts.map +1 -1
- package/dist/types/resources/classes/z3-ext.d.ts +1 -1
- package/dist/types/resources/classes/z3.d.ts +16 -16
- package/dist/types/resources/classes/z3.d.ts.map +1 -1
- package/dist/types/resources/classes/zambda.d.ts +21 -21
- package/dist/types/resources/classes/zambda.d.ts.map +1 -1
- package/dist/types/resources/classes/zambdaLogStream.d.ts +9 -9
- package/dist/types/resources/classes/zambdaLogStream.d.ts.map +1 -1
- package/dist/types/resources/types/Application.d.ts +6 -6
- package/dist/types/resources/types/ApplicationCreateParams.d.ts +6 -6
- package/dist/types/resources/types/ApplicationUpdateParams.d.ts +6 -6
- package/dist/types/resources/types/ConversationAddParticipantParams.d.ts +1 -1
- package/dist/types/resources/types/ConversationCreateResponse.d.ts +1 -1
- package/dist/types/resources/types/ConversationRemoveParticipantParams.d.ts +1 -1
- package/dist/types/resources/types/FaxSendParams.d.ts +1 -1
- package/dist/types/resources/types/FaxSendResponse.d.ts +1 -1
- package/dist/types/resources/types/LabOrderSubmitParams.d.ts +2 -2
- package/dist/types/resources/types/LabRoute.d.ts +5 -5
- package/dist/types/resources/types/LabRouteCreateParams.d.ts +6 -6
- package/dist/types/resources/types/Secret.d.ts +1 -1
- package/dist/types/resources/types/SecretSetParams.d.ts +1 -1
- package/dist/types/resources/types/TelemedCreateMeetingParams.d.ts +1 -1
- package/dist/types/resources/types/TelemedCreateMeetingResponse.d.ts +1 -1
- package/dist/types/resources/types/ZambdaCreateParams.d.ts +1 -1
- package/dist/types/resources/types/ZambdaFunction.d.ts +1 -1
- package/dist/types/resources/types/ZambdaUpdateParams.d.ts +1 -1
- package/dist/types/sijil/config.d.ts +7 -7
- package/dist/types/sijil/config.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SijilClientRequest, UserChangePasswordParams, UserDeleteParams, UserGetParams, UserGetResponse, UserInviteParams, UserInviteResponse, UserListResponse, UserListV2Params, UserListV2Response, UserMeResponse, UserResetMfaParams, UserResetPasswordLinkParams, UserUpdateParams, UserUpdateResponse } from '../..';
|
|
2
2
|
import { SDKResource } from '../../client/client';
|
|
3
|
-
import {
|
|
3
|
+
import { SijilConfig } from '../../config';
|
|
4
4
|
export declare class User extends SDKResource {
|
|
5
5
|
#private;
|
|
6
|
-
constructor(config:
|
|
6
|
+
constructor(config: SijilConfig);
|
|
7
7
|
/**
|
|
8
|
-
* Get your own User details. [Users](https://docs.
|
|
8
|
+
* Get your own User details. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
9
9
|
*
|
|
10
10
|
* Fetch details about the calling User. This endpoint has no access policy requirements, it is available to all authenticated Users.
|
|
11
11
|
*/
|
|
12
|
-
me(request?:
|
|
12
|
+
me(request?: SijilClientRequest): Promise<UserMeResponse>;
|
|
13
13
|
/**
|
|
14
|
-
* Get the User with the provided ID. [Users](https://docs.
|
|
14
|
+
* Get the User with the provided ID. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
15
15
|
*
|
|
16
16
|
* Access Policy Action: `App:GetUser`
|
|
17
17
|
* Access Policy Resource: `App:User`
|
|
18
18
|
*/
|
|
19
|
-
get(params: UserGetParams, request?:
|
|
19
|
+
get(params: UserGetParams, request?: SijilClientRequest): Promise<UserGetResponse>;
|
|
20
20
|
/**
|
|
21
|
-
* Update the User with the provided ID. [Users](https://docs.
|
|
21
|
+
* Update the User with the provided ID. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
22
22
|
*
|
|
23
23
|
* Access Policy Action: `App:UpdateUser`
|
|
24
24
|
* Access Policy Resource: `App:User`
|
|
25
25
|
*/
|
|
26
|
-
update(params: UserUpdateParams, request?:
|
|
26
|
+
update(params: UserUpdateParams, request?: SijilClientRequest): Promise<UserUpdateResponse>;
|
|
27
27
|
/**
|
|
28
|
-
* Delete the User with the provided ID. [Users](https://docs.
|
|
28
|
+
* Delete the User with the provided ID. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
29
29
|
*
|
|
30
30
|
* Access Policy Action: `App:DeleteUser`
|
|
31
31
|
* Access Policy Resource: `App:User`
|
|
32
32
|
*/
|
|
33
|
-
delete(params: UserDeleteParams, request?:
|
|
33
|
+
delete(params: UserDeleteParams, request?: SijilClientRequest): Promise<void>;
|
|
34
34
|
/**
|
|
35
|
-
* Reset MFA for the User with the provided ID. [Users](https://docs.
|
|
35
|
+
* Reset MFA for the User with the provided ID. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
36
36
|
*
|
|
37
37
|
* Access Policy Action: `App:ResetUserMFA`
|
|
38
38
|
* Access Policy Resource: `App:User`
|
|
39
39
|
*/
|
|
40
|
-
resetMfa(params: UserResetMfaParams, request?:
|
|
40
|
+
resetMfa(params: UserResetMfaParams, request?: SijilClientRequest): Promise<void>;
|
|
41
41
|
/**
|
|
42
|
-
* Creates a password reset link for the User with the provided ID. [Users](https://docs.
|
|
42
|
+
* Creates a password reset link for the User with the provided ID. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
43
43
|
*
|
|
44
44
|
* Access Policy Action: `App:GetUserPasswordResetLink`
|
|
45
45
|
* Access Policy Resource: `App:User`
|
|
46
46
|
*/
|
|
47
|
-
resetPasswordLink(params: UserResetPasswordLinkParams, request?:
|
|
47
|
+
resetPasswordLink(params: UserResetPasswordLinkParams, request?: SijilClientRequest): Promise<void>;
|
|
48
48
|
/**
|
|
49
|
-
* Automatically changes the password for the User with the provided ID. [Users](https://docs.
|
|
49
|
+
* Automatically changes the password for the User with the provided ID. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
50
50
|
*
|
|
51
51
|
* Access Policy Action: `App:ChangeUserPassword`
|
|
52
52
|
* Access Policy Resource: `App:User`
|
|
53
53
|
*/
|
|
54
|
-
changePassword(params: UserChangePasswordParams, request?:
|
|
54
|
+
changePassword(params: UserChangePasswordParams, request?: SijilClientRequest): Promise<void>;
|
|
55
55
|
/**
|
|
56
|
-
* Invite a User to the Project. [Users](https://docs.
|
|
56
|
+
* Invite a User to the Project. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
57
57
|
*
|
|
58
58
|
* Access Policy Action: `App:CreateUser`
|
|
59
59
|
* Access Policy Resource: `App:User`
|
|
60
60
|
*/
|
|
61
|
-
invite(params: UserInviteParams, request?:
|
|
61
|
+
invite(params: UserInviteParams, request?: SijilClientRequest): Promise<UserInviteResponse>;
|
|
62
62
|
/**
|
|
63
|
-
* DEPRECATED. Please use [v2/list](https://api-reference.
|
|
63
|
+
* DEPRECATED. Please use [v2/list](https://api-reference.sijil.com/reference/get_user-v2-list) instead.
|
|
64
64
|
*
|
|
65
|
-
* Get all Users in the Project. [Users](https://docs.
|
|
65
|
+
* Get all Users in the Project. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
66
66
|
*
|
|
67
67
|
* Access Policy Action: `App:ListAllUsers`
|
|
68
68
|
* Access Policy Resource: `App:User`
|
|
69
69
|
*/
|
|
70
|
-
list(request?:
|
|
70
|
+
list(request?: SijilClientRequest): Promise<UserListResponse>;
|
|
71
71
|
/**
|
|
72
|
-
* Get Users in the Project with pagination, sort, sort order and filtering. [Users](https://docs.
|
|
72
|
+
* Get Users in the Project with pagination, sort, sort order and filtering. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
73
73
|
*
|
|
74
74
|
* Access Policy Action: `Project:ListAllUsers`
|
|
75
75
|
* Access Policy Resource: `Project:Settings`
|
|
76
76
|
*/
|
|
77
|
-
listV2(params: UserListV2Params, request?:
|
|
77
|
+
listV2(params: UserListV2Params, request?: SijilClientRequest): Promise<UserListV2Response>;
|
|
78
78
|
/**
|
|
79
|
-
* Get Users in the Project with pagination, sort, sort order and filtering. [Users](https://docs.
|
|
79
|
+
* Get Users in the Project with pagination, sort, sort order and filtering. [Users](https://docs.sijil.com/sijil/services/app/users/) are the people who log into the [Applications](https://docs.sijil.com/sijil/services/app/applications/) you configure for securing the apps you build on top of Sijil.
|
|
80
80
|
*
|
|
81
81
|
* Access Policy Action: `Project:ListAllUsers`
|
|
82
82
|
* Access Policy Resource: `Project:Settings`
|
|
83
83
|
*/
|
|
84
|
-
listV2(request?:
|
|
84
|
+
listV2(request?: SijilClientRequest): Promise<UserListV2Response>;
|
|
85
85
|
}
|
|
86
86
|
//# sourceMappingURL=user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/user.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/user.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,2BAA2B,EAC3B,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,qBAAa,IAAK,SAAQ,WAAW;;gBACvB,MAAM,EAAE,WAAW;IAM/B;;;;OAIG;IACH,EAAE,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,cAAc,CAAC;IAGzD;;;;;OAKG;IACH,GAAG,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,eAAe,CAAC;IAGlF;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAG3F;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAG7E;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAGjF;;;;;OAKG;IACH,iBAAiB,CAAC,MAAM,EAAE,2BAA2B,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAGnG;;;;;OAKG;IACH,cAAc,CAAC,MAAM,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAG7F;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAG3F;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAG7D;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAC3F;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAalE"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SijilClientRequest, VersionGetResponse } from '../..';
|
|
2
2
|
import { SDKResource } from '../../client/client';
|
|
3
|
-
import {
|
|
3
|
+
import { SijilConfig } from '../../config';
|
|
4
4
|
export declare class Version extends SDKResource {
|
|
5
5
|
#private;
|
|
6
|
-
constructor(config:
|
|
6
|
+
constructor(config: SijilConfig);
|
|
7
7
|
/**
|
|
8
8
|
* Get project API version. This endpoint is public so there are no access policy requirements.
|
|
9
9
|
*/
|
|
10
|
-
get(request?:
|
|
10
|
+
get(request?: SijilClientRequest): Promise<VersionGetResponse>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/version.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/version.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,qBAAa,OAAQ,SAAQ,WAAW;;gBAC1B,MAAM,EAAE,WAAW;IAM/B;;OAEG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAG/D"}
|
|
@@ -21,7 +21,7 @@ export declare function downloadFile(this: SDKResource, { bucketName, 'objectPat
|
|
|
21
21
|
}): Promise<ArrayBuffer>;
|
|
22
22
|
/**
|
|
23
23
|
* This helper performs a `getPresignedUrl` request for Z3 URLs of the forms
|
|
24
|
-
* `https://projects-api.
|
|
24
|
+
* `https://projects-api.sijil.com/v1/z3/<bucket>/<key>` or `z3://<bucket>/<key>`
|
|
25
25
|
* instead of the standard SDK `Z3GetPresignedUrlParams`.
|
|
26
26
|
*
|
|
27
27
|
* @param params url and action
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SijilClientRequest, Z3CreateBucketParams, Z3CreateBucketResponse, Z3DeleteBucketParams, Z3DeleteObjectParams, Z3GetPresignedUrlParams, Z3GetPresignedUrlResponse, Z3ListBucketsResponse, Z3ListObjectsParams, Z3ListObjectsResponse } from '../..';
|
|
2
2
|
import { SDKResource } from '../../client/client';
|
|
3
|
-
import {
|
|
3
|
+
import { SijilConfig } from '../../config';
|
|
4
4
|
import * as ext from './z3-ext';
|
|
5
5
|
export declare class Z3 extends SDKResource {
|
|
6
6
|
#private;
|
|
7
|
-
constructor(config:
|
|
7
|
+
constructor(config: SijilConfig);
|
|
8
8
|
/**
|
|
9
9
|
* Uploads a file to the bucket and key. Files should be Blobs.
|
|
10
10
|
* @param params upload file params
|
|
@@ -17,52 +17,52 @@ export declare class Z3 extends SDKResource {
|
|
|
17
17
|
downloadFile: typeof ext.downloadFile;
|
|
18
18
|
/**
|
|
19
19
|
* This helper performs a `getPresignedUrl` request for Z3 URLs of the forms
|
|
20
|
-
* `https://projects-api.
|
|
20
|
+
* `https://projects-api.sijil.com/v1/z3/<bucket>/<key>` or `z3://<bucket>/<key>`
|
|
21
21
|
* instead of the standard SDK `Z3GetPresignedUrlParams`.
|
|
22
22
|
* @param params url and action
|
|
23
23
|
*/
|
|
24
24
|
getPresignedUrlForZ3Url: typeof ext.getPresignedUrlForZ3Url;
|
|
25
25
|
/**
|
|
26
|
-
* List all Z3 Buckets. [Z3](https://docs.
|
|
26
|
+
* List all Z3 Buckets. [Z3](https://docs.sijil.com/sijil/services/z3/) is Sijil's built-in and fully integrated solution for file storage.
|
|
27
27
|
*
|
|
28
28
|
* Access Policy Action: `Z3:ListBuckets`
|
|
29
29
|
* Access Policy Resource: `Z3:BucketName`
|
|
30
30
|
*/
|
|
31
|
-
listBuckets(request?:
|
|
31
|
+
listBuckets(request?: SijilClientRequest): Promise<Z3ListBucketsResponse>;
|
|
32
32
|
/**
|
|
33
|
-
* Create a Z3 Bucket with the provided name. [Z3](https://docs.
|
|
33
|
+
* Create a Z3 Bucket with the provided name. [Z3](https://docs.sijil.com/sijil/services/z3/) is Sijil's built-in and fully integrated solution for file storage.
|
|
34
34
|
*
|
|
35
35
|
* Access Policy Action: `Z3:CreateBucket`
|
|
36
36
|
* Access Policy Resource: `Z3:*`
|
|
37
37
|
*/
|
|
38
|
-
createBucket(params: Z3CreateBucketParams, request?:
|
|
38
|
+
createBucket(params: Z3CreateBucketParams, request?: SijilClientRequest): Promise<Z3CreateBucketResponse>;
|
|
39
39
|
/**
|
|
40
|
-
* Delete the Z3 Bucket with the provided name. [Z3](https://docs.
|
|
40
|
+
* Delete the Z3 Bucket with the provided name. [Z3](https://docs.sijil.com/sijil/services/z3/) is Sijil's built-in and fully integrated solution for file storage.
|
|
41
41
|
*
|
|
42
42
|
* Access Policy Action: `Z3:DeleteBucket`
|
|
43
43
|
* Access Policy Resource: `Z3:BucketName`
|
|
44
44
|
*/
|
|
45
|
-
deleteBucket(params: Z3DeleteBucketParams, request?:
|
|
45
|
+
deleteBucket(params: Z3DeleteBucketParams, request?: SijilClientRequest): Promise<void>;
|
|
46
46
|
/**
|
|
47
|
-
* List all Z3 Objects at the provided path in the Bucket with the provided name [Z3](https://docs.
|
|
47
|
+
* List all Z3 Objects at the provided path in the Bucket with the provided name [Z3](https://docs.sijil.com/sijil/services/z3/) is Sijil's built-in and fully integrated solution for file storage.
|
|
48
48
|
*
|
|
49
49
|
* Access Policy Action: `Z3:ListObjects`
|
|
50
50
|
* Access Policy Resource: `Z3:BucketName:ObjectPath`
|
|
51
51
|
*/
|
|
52
|
-
listObjects(params: Z3ListObjectsParams, request?:
|
|
52
|
+
listObjects(params: Z3ListObjectsParams, request?: SijilClientRequest): Promise<Z3ListObjectsResponse>;
|
|
53
53
|
/**
|
|
54
|
-
* Get a link for downloading or uploading a Z3 Object to the provided path in the Bucket with the provided name. [Z3](https://docs.
|
|
54
|
+
* Get a link for downloading or uploading a Z3 Object to the provided path in the Bucket with the provided name. [Z3](https://docs.sijil.com/sijil/services/z3/) is Sijil's built-in and fully integrated solution for file storage.
|
|
55
55
|
*
|
|
56
56
|
* Access Policy Action: `Z3:PutObject` or `Z3:GetObject`
|
|
57
57
|
* Access Policy Resource: `Z3:BucketName:ObjectPath`
|
|
58
58
|
*/
|
|
59
|
-
getPresignedUrl(params: Z3GetPresignedUrlParams, request?:
|
|
59
|
+
getPresignedUrl(params: Z3GetPresignedUrlParams, request?: SijilClientRequest): Promise<Z3GetPresignedUrlResponse>;
|
|
60
60
|
/**
|
|
61
|
-
* Delete the Z3 Object at the provided path in the Bucket with the provided name. [Z3](https://docs.
|
|
61
|
+
* Delete the Z3 Object at the provided path in the Bucket with the provided name. [Z3](https://docs.sijil.com/sijil/services/z3/) is Sijil's built-in and fully integrated solution for file storage.
|
|
62
62
|
*
|
|
63
63
|
* Access Policy Action: `Z3:DeleteObject`
|
|
64
64
|
* Access Policy Resource: `Z3:BucketName:ObjectPath`
|
|
65
65
|
*/
|
|
66
|
-
deleteObject(params: Z3DeleteObjectParams, request?:
|
|
66
|
+
deleteObject(params: Z3DeleteObjectParams, request?: SijilClientRequest): Promise<void>;
|
|
67
67
|
}
|
|
68
68
|
//# sourceMappingURL=z3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"z3.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/z3.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"z3.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/z3.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAEhC,qBAAa,EAAG,SAAQ,WAAW;;gBACrB,MAAM,EAAE,WAAW;IAM/B;;;OAGG;IACH,UAAU,wBAAkB;IAC5B;;;OAGG;IACH,YAAY,0BAAoB;IAChC;;;;;OAKG;IACH,uBAAuB,qCAA+B;IACtD;;;;;OAKG;IACH,WAAW,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAGzE;;;;;OAKG;IACH,YAAY,CAAC,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAGzG;;;;;OAKG;IACH,YAAY,CAAC,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAGvF;;;;;OAKG;IACH,WAAW,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAGtG;;;;;OAKG;IACH,eAAe,CAAC,MAAM,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAGlH;;;;;OAKG;IACH,YAAY,CAAC,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAGxF"}
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SijilClientRequest, ZambdaCreateParams, ZambdaCreateResponse, ZambdaDeleteParams, ZambdaExecuteParams, ZambdaExecutePublicParams, ZambdaExecutePublicResponse, ZambdaExecuteResponse, ZambdaGetParams, ZambdaGetPresignedUrlParams, ZambdaGetPresignedUrlResponse, ZambdaGetResponse, ZambdaListResponse, ZambdaS3UploadParams, ZambdaS3UploadResponse, ZambdaUpdateParams, ZambdaUpdateResponse } from '../..';
|
|
2
2
|
import { SDKResource } from '../../client/client';
|
|
3
|
-
import {
|
|
3
|
+
import { SijilConfig } from '../../config';
|
|
4
4
|
import * as ext from './zambda-ext';
|
|
5
5
|
export declare class Zambda extends SDKResource {
|
|
6
6
|
#private;
|
|
7
|
-
constructor(config:
|
|
7
|
+
constructor(config: SijilConfig);
|
|
8
8
|
uploadFile: typeof ext.uploadFile;
|
|
9
9
|
downloadFile: typeof ext.downloadFile;
|
|
10
10
|
/**
|
|
11
|
-
* Get a list of all Zambda Functions in the Project. [Zambdas](https://docs.
|
|
11
|
+
* Get a list of all Zambda Functions in the Project. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
12
12
|
*
|
|
13
13
|
* Access Policy Action: `Zambda:ListAllFunctions`
|
|
14
14
|
* Access Policy Resource: `Zambda:Function`
|
|
15
15
|
*/
|
|
16
|
-
list(request?:
|
|
16
|
+
list(request?: SijilClientRequest): Promise<ZambdaListResponse>;
|
|
17
17
|
/**
|
|
18
|
-
* Create a new Zambda Function. [Zambdas](https://docs.
|
|
18
|
+
* Create a new Zambda Function. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
19
19
|
*
|
|
20
20
|
* Access Policy Action: `Zambda:CreateFunction`
|
|
21
21
|
* Access Policy Resource: `Zambda:Function`
|
|
22
22
|
*/
|
|
23
|
-
create(params: ZambdaCreateParams, request?:
|
|
23
|
+
create(params: ZambdaCreateParams, request?: SijilClientRequest): Promise<ZambdaCreateResponse>;
|
|
24
24
|
/**
|
|
25
|
-
* Get the Zambda Function with the provided ID or name. [Zambdas](https://docs.
|
|
25
|
+
* Get the Zambda Function with the provided ID or name. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
26
26
|
*
|
|
27
27
|
* Access Policy Action: `Zambda:GetFunction`
|
|
28
28
|
* Access Policy Resource: `Zambda:Function`
|
|
29
29
|
*/
|
|
30
|
-
get(params: ZambdaGetParams, request?:
|
|
30
|
+
get(params: ZambdaGetParams, request?: SijilClientRequest): Promise<ZambdaGetResponse>;
|
|
31
31
|
/**
|
|
32
|
-
* Update the Zambda Function with the provided ID or name. [Zambdas](https://docs.
|
|
32
|
+
* Update the Zambda Function with the provided ID or name. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
33
33
|
*
|
|
34
34
|
* Access Policy Action: `Zambda:UpdateFunction`
|
|
35
35
|
* Access Policy Resource: `Zambda:Function`
|
|
36
36
|
*/
|
|
37
|
-
update(params: ZambdaUpdateParams, request?:
|
|
37
|
+
update(params: ZambdaUpdateParams, request?: SijilClientRequest): Promise<ZambdaUpdateResponse>;
|
|
38
38
|
/**
|
|
39
|
-
* Delete the Zambda Function with the provided ID or name. [Zambdas](https://docs.
|
|
39
|
+
* Delete the Zambda Function with the provided ID or name. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
40
40
|
*
|
|
41
41
|
* Access Policy Action: `Zambda:DeleteFunction`
|
|
42
42
|
* Access Policy Resource: `Zambda:Function`
|
|
43
43
|
*/
|
|
44
|
-
delete(params: ZambdaDeleteParams, request?:
|
|
44
|
+
delete(params: ZambdaDeleteParams, request?: SijilClientRequest): Promise<void>;
|
|
45
45
|
/**
|
|
46
|
-
* Execute the [Authenticated Zambda Function](https://docs.
|
|
46
|
+
* Execute the [Authenticated Zambda Function](https://docs.sijil.com/sijil/services/zambda/types/authenticated/) with the provided ID. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
47
47
|
*
|
|
48
48
|
* Access Policy Action: `Zambda:InvokeFunction`
|
|
49
49
|
* Access Policy Resource: `Zambda:Function`
|
|
50
50
|
*/
|
|
51
|
-
execute(params: ZambdaExecuteParams, request?:
|
|
51
|
+
execute(params: ZambdaExecuteParams, request?: SijilClientRequest): Promise<ZambdaExecuteResponse>;
|
|
52
52
|
/**
|
|
53
|
-
* Execute the [Public Zambda Function](https://docs.
|
|
53
|
+
* Execute the [Public Zambda Function](https://docs.sijil.com/sijil/services/zambda/types/public/) with the provided ID. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
54
54
|
*
|
|
55
55
|
* Execute a zambda that has method http_open. This endpoint is public so there are no access policy requirements.
|
|
56
56
|
*/
|
|
57
|
-
executePublic(params: ZambdaExecutePublicParams, request?:
|
|
57
|
+
executePublic(params: ZambdaExecutePublicParams, request?: SijilClientRequest): Promise<ZambdaExecutePublicResponse>;
|
|
58
58
|
/**
|
|
59
59
|
* **Deprecated.** Use `POST /zambda/{id}/presigned-url` with `action: "upload"` instead. This endpoint will be removed in future releases.
|
|
60
60
|
*
|
|
61
|
-
* Returns a URL that is used to deploy code to the Zambda Function with the provided ID. [Zambdas](https://docs.
|
|
61
|
+
* Returns a URL that is used to deploy code to the Zambda Function with the provided ID. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
62
62
|
*
|
|
63
63
|
* Access Policy Action: `Zambda:UpdateFunction`
|
|
64
64
|
* Access Policy Resource: `Zambda:Function`
|
|
65
65
|
*/
|
|
66
|
-
s3Upload(params: ZambdaS3UploadParams, request?:
|
|
66
|
+
s3Upload(params: ZambdaS3UploadParams, request?: SijilClientRequest): Promise<ZambdaS3UploadResponse>;
|
|
67
67
|
/**
|
|
68
|
-
* Returns a presigned URL to upload or download code for the Zambda Function with the provided ID. Pass `action: "upload"` to get a URL for deploying a new code zip, or `action: "download"` to get a URL for retrieving the currently deployed zip. [Zambdas](https://docs.
|
|
68
|
+
* Returns a presigned URL to upload or download code for the Zambda Function with the provided ID. Pass `action: "upload"` to get a URL for deploying a new code zip, or `action: "download"` to get a URL for retrieving the currently deployed zip. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
69
69
|
*
|
|
70
70
|
* Upload: Access Policy Action: `Zambda:UpdateFunction`
|
|
71
71
|
* Download: Access Policy Action: `Zambda:GetFunctionSource`
|
|
72
72
|
* Access Policy Resource: `Zambda:Function`
|
|
73
73
|
*/
|
|
74
|
-
getPresignedUrl(params: ZambdaGetPresignedUrlParams, request?:
|
|
74
|
+
getPresignedUrl(params: ZambdaGetPresignedUrlParams, request?: SijilClientRequest): Promise<ZambdaGetPresignedUrlResponse>;
|
|
75
75
|
}
|
|
76
76
|
//# sourceMappingURL=zambda.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zambda.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/zambda.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"zambda.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/zambda.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,eAAe,EACf,2BAA2B,EAC3B,6BAA6B,EAC7B,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAEpC,qBAAa,MAAO,SAAQ,WAAW;;gBACzB,MAAM,EAAE,WAAW;IAM/B,UAAU,wBAAkB;IAC5B,YAAY,0BAAoB;IAChC;;;;;OAKG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAG/D;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAG/F;;;;;OAKG;IACH,GAAG,CAAC,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAGtF;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAG/F;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAG/E;;;;;OAKG;IACH,OAAO,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAGlG;;;;OAIG;IACH,aAAa,CACX,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC,2BAA2B,CAAC;IAGvC;;;;;;;OAOG;IACH,QAAQ,CAAC,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAGrG;;;;;;OAMG;IACH,eAAe,CACb,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC,6BAA6B,CAAC;CAG1C"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SijilClientRequest, ZambdaLogStreamGetParams, ZambdaLogStreamGetResponse, ZambdaLogStreamListParams, ZambdaLogStreamListResponse, ZambdaLogStreamSearchParams, ZambdaLogStreamSearchResponse } from '../..';
|
|
2
2
|
import { SDKResource } from '../../client/client';
|
|
3
|
-
import {
|
|
3
|
+
import { SijilConfig } from '../../config';
|
|
4
4
|
export declare class ZambdaLogStream extends SDKResource {
|
|
5
5
|
#private;
|
|
6
|
-
constructor(config:
|
|
6
|
+
constructor(config: SijilConfig);
|
|
7
7
|
/**
|
|
8
|
-
* Get the log streams for the Zambda Function with the provided ID. [Zambdas](https://docs.
|
|
8
|
+
* Get the log streams for the Zambda Function with the provided ID. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
9
9
|
*
|
|
10
10
|
* Access Policy Action: `Zambda:ReadLogs`
|
|
11
11
|
* Access Policy Resource: `Zambda:Function`
|
|
12
12
|
*/
|
|
13
|
-
list(params: ZambdaLogStreamListParams, request?:
|
|
13
|
+
list(params: ZambdaLogStreamListParams, request?: SijilClientRequest): Promise<ZambdaLogStreamListResponse>;
|
|
14
14
|
/**
|
|
15
|
-
* Get all logs for the Zambda Function with the provided ID, filtered by any of: text in messages, minimum start date, and/or maximum end date. [Zambdas](https://docs.
|
|
15
|
+
* Get all logs for the Zambda Function with the provided ID, filtered by any of: text in messages, minimum start date, and/or maximum end date. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
16
16
|
*
|
|
17
17
|
* Access Policy Action: `Zambda:ReadLogs`
|
|
18
18
|
* Access Policy Resource: `Zambda:Function`
|
|
19
19
|
*/
|
|
20
|
-
search(params: ZambdaLogStreamSearchParams, request?:
|
|
20
|
+
search(params: ZambdaLogStreamSearchParams, request?: SijilClientRequest): Promise<ZambdaLogStreamSearchResponse>;
|
|
21
21
|
/**
|
|
22
|
-
* Get the logs from the specified log stream for the Zambda Function with the provided ID. [Zambdas](https://docs.
|
|
22
|
+
* Get the logs from the specified log stream for the Zambda Function with the provided ID. [Zambdas](https://docs.sijil.com/sijil/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Sijil's APIs or to perform operations on third-party services.
|
|
23
23
|
*
|
|
24
24
|
* Access Policy Action: `Zambda:ReadLogs`
|
|
25
25
|
* Access Policy Resource: `Zambda:Function`
|
|
26
26
|
*/
|
|
27
|
-
get(params: ZambdaLogStreamGetParams, request?:
|
|
27
|
+
get(params: ZambdaLogStreamGetParams, request?: SijilClientRequest): Promise<ZambdaLogStreamGetResponse>;
|
|
28
28
|
}
|
|
29
29
|
//# sourceMappingURL=zambdaLogStream.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zambdaLogStream.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/zambdaLogStream.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"zambdaLogStream.d.ts","sourceRoot":"","sources":["../../../../src/resources/classes/zambdaLogStream.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,qBAAa,eAAgB,SAAQ,WAAW;;gBAClC,MAAM,EAAE,WAAW;IAM/B;;;;;OAKG;IACH,IAAI,CAAC,MAAM,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAG3G;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,2BAA2B,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,6BAA6B,CAAC;IAGjH;;;;;OAKG;IACH,GAAG,CAAC,MAAM,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,0BAA0B,CAAC;CAOzG"}
|
|
@@ -17,7 +17,7 @@ export interface Application {
|
|
|
17
17
|
*/
|
|
18
18
|
description?: string;
|
|
19
19
|
/**
|
|
20
|
-
* When a user accesses the hosted login screen directly instead of being redirected to it from your application,
|
|
20
|
+
* When a user accesses the hosted login screen directly instead of being redirected to it from your application, Sijil detects this condition and redirects the user to the loginRedirectUri to get them back on track. The loginRedirectUri must be a route in your application that redirects to the 'https://auth.zapehr.com/authorize' endpoint. This typically looks like, 'https://example.com/login'.
|
|
21
21
|
*/
|
|
22
22
|
loginRedirectUri?: string;
|
|
23
23
|
/**
|
|
@@ -25,19 +25,19 @@ export interface Application {
|
|
|
25
25
|
*/
|
|
26
26
|
loginWithEmailEnabled?: boolean;
|
|
27
27
|
/**
|
|
28
|
-
* The list of allowed callback URLs for the Application. When a user completes authentication on the hosted login screen, they are redirected back to the app that prompted the authentication. Because the callback URL can be tampered with, as a security measure,
|
|
28
|
+
* The list of allowed callback URLs for the Application. When a user completes authentication on the hosted login screen, they are redirected back to the app that prompted the authentication. Because the callback URL can be tampered with, as a security measure, Sijil only redirects to callback URLs which are listed here. allowedCallbackUrls may be an empty array.
|
|
29
29
|
*/
|
|
30
30
|
allowedCallbackUrls?: string[];
|
|
31
31
|
/**
|
|
32
|
-
* The list of allowed logout URLs for the Application. After a logout is completed, a user will be redirected to a URL specified with the logout request. Because the logout redirect URL can be tampered with, as a security measure,
|
|
32
|
+
* The list of allowed logout URLs for the Application. After a logout is completed, a user will be redirected to a URL specified with the logout request. Because the logout redirect URL can be tampered with, as a security measure, Sijil only redirects to logout redirect URLs which are listed here. allowedLogoutUrls may be an empty array.
|
|
33
33
|
*/
|
|
34
34
|
allowedLogoutUrls?: string[];
|
|
35
35
|
/**
|
|
36
|
-
* The list of allowed web origins URLs for the Application. Any domain that needs to be able to initiate a login must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.
|
|
36
|
+
* The list of allowed web origins URLs for the Application. Any domain that needs to be able to initiate a login must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.sijil.com'). An asterisk may be used as a wildcard placeholder for subdomains (e.g. https://*.sijil.com). allowedWebOriginsUrls may be an empty array.
|
|
37
37
|
*/
|
|
38
38
|
allowedWebOriginsUrls?: string[];
|
|
39
39
|
/**
|
|
40
|
-
* The allowed CORS origins urls for the Application. Any domain that needs to be able to make requests from browser JavaScript to our identity provider APIs must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.
|
|
40
|
+
* The allowed CORS origins urls for the Application. Any domain that needs to be able to make requests from browser JavaScript to our identity provider APIs must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.sijil.com'). By default, all domains from `allowedCallbackUrls` are allowed. allowedCORSOriginsUrls may be an empty array.
|
|
41
41
|
*/
|
|
42
42
|
allowedCORSOriginsUrls?: string[];
|
|
43
43
|
/**
|
|
@@ -49,7 +49,7 @@ export interface Application {
|
|
|
49
49
|
*/
|
|
50
50
|
mfaEnabled?: boolean;
|
|
51
51
|
/**
|
|
52
|
-
* When true, an invitation email is automatically sent to users who are invited to the Application. This email contains
|
|
52
|
+
* When true, an invitation email is automatically sent to users who are invited to the Application. This email contains Sijil branding, so it is recommended to set this to 'false' and send your own invitation email for production use.
|
|
53
53
|
*/
|
|
54
54
|
shouldSendInviteEmail?: boolean;
|
|
55
55
|
/**
|
|
@@ -8,7 +8,7 @@ export interface ApplicationCreateParams {
|
|
|
8
8
|
*/
|
|
9
9
|
description?: string;
|
|
10
10
|
/**
|
|
11
|
-
* When a user accesses the hosted login screen directly instead of being redirected to it from your application,
|
|
11
|
+
* When a user accesses the hosted login screen directly instead of being redirected to it from your application, Sijil detects this condition and redirects the user to the loginRedirectUri to get them back on track. The loginRedirectUri must be a route in your application that redirects to the 'https://auth.zapehr.com/authorize' endpoint. This typically looks like, 'https://example.com/login'.
|
|
12
12
|
*/
|
|
13
13
|
loginRedirectUri?: string;
|
|
14
14
|
/**
|
|
@@ -16,19 +16,19 @@ export interface ApplicationCreateParams {
|
|
|
16
16
|
*/
|
|
17
17
|
loginWithEmailEnabled?: boolean;
|
|
18
18
|
/**
|
|
19
|
-
* The list of allowed callback URLs for the Application. When a user completes authentication on the hosted login screen, they are redirected back to the app that prompted the authentication. Because the callback URL can be tampered with, as a security measure,
|
|
19
|
+
* The list of allowed callback URLs for the Application. When a user completes authentication on the hosted login screen, they are redirected back to the app that prompted the authentication. Because the callback URL can be tampered with, as a security measure, Sijil only redirects to callback URLs which are listed here. allowedCallbackUrls may be an empty array.
|
|
20
20
|
*/
|
|
21
21
|
allowedCallbackUrls: string[];
|
|
22
22
|
/**
|
|
23
|
-
* The list of allowed logout URLs for the Application. After a logout is completed, a user will be redirected to a URL specified with the logout request. Because the logout redirect URL can be tampered with, as a security measure,
|
|
23
|
+
* The list of allowed logout URLs for the Application. After a logout is completed, a user will be redirected to a URL specified with the logout request. Because the logout redirect URL can be tampered with, as a security measure, Sijil only redirects to logout redirect URLs which are listed here. allowedLogoutUrls may be an empty array.
|
|
24
24
|
*/
|
|
25
25
|
allowedLogoutUrls?: string[];
|
|
26
26
|
/**
|
|
27
|
-
* The list of allowed web origins URLs for the Application. Any domain that needs to be able to initiate a login must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.
|
|
27
|
+
* The list of allowed web origins URLs for the Application. Any domain that needs to be able to initiate a login must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.sijil.com'). An asterisk may be used as a wildcard placeholder for subdomains (e.g. https://*.sijil.com). allowedWebOriginsUrls may be an empty array.
|
|
28
28
|
*/
|
|
29
29
|
allowedWebOriginsUrls?: string[];
|
|
30
30
|
/**
|
|
31
|
-
* The allowed CORS origins urls for the Application. Any domain that needs to be able to make requests from browser JavaScript to our identity provider APIs must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.
|
|
31
|
+
* The allowed CORS origins urls for the Application. Any domain that needs to be able to make requests from browser JavaScript to our identity provider APIs must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.sijil.com'). By default, all domains from `allowedCallbackUrls` are allowed. allowedCORSOriginsUrls may be an empty array.
|
|
32
32
|
*/
|
|
33
33
|
allowedCORSOriginsUrls?: string[];
|
|
34
34
|
/**
|
|
@@ -40,7 +40,7 @@ export interface ApplicationCreateParams {
|
|
|
40
40
|
*/
|
|
41
41
|
mfaEnabled?: boolean;
|
|
42
42
|
/**
|
|
43
|
-
* When true, an invitation email is automatically sent to users who are invited to the Application. This email contains
|
|
43
|
+
* When true, an invitation email is automatically sent to users who are invited to the Application. This email contains Sijil branding, so it is recommended to set this to 'false' and send your own invitation email for production use.
|
|
44
44
|
*/
|
|
45
45
|
shouldSendInviteEmail?: boolean;
|
|
46
46
|
/**
|
|
@@ -8,7 +8,7 @@ export interface ApplicationUpdateParams {
|
|
|
8
8
|
*/
|
|
9
9
|
description?: string;
|
|
10
10
|
/**
|
|
11
|
-
* When a user accesses the hosted login screen directly instead of being redirected to it from your application,
|
|
11
|
+
* When a user accesses the hosted login screen directly instead of being redirected to it from your application, Sijil detects this condition and redirects the user to the loginRedirectUri to get them back on track. The loginRedirectUri must be a route in your application that redirects to the 'https://auth.zapehr.com/authorize' endpoint. This typically looks like, 'https://example.com/login'.
|
|
12
12
|
*/
|
|
13
13
|
loginRedirectUri?: string;
|
|
14
14
|
/**
|
|
@@ -16,19 +16,19 @@ export interface ApplicationUpdateParams {
|
|
|
16
16
|
*/
|
|
17
17
|
loginWithEmailEnabled?: boolean;
|
|
18
18
|
/**
|
|
19
|
-
* The list of allowed callback URLs for the Application. When a user completes authentication on the hosted login screen, they are redirected back to the app that prompted the authentication. Because the callback URL can be tampered with, as a security measure,
|
|
19
|
+
* The list of allowed callback URLs for the Application. When a user completes authentication on the hosted login screen, they are redirected back to the app that prompted the authentication. Because the callback URL can be tampered with, as a security measure, Sijil only redirects to callback URLs which are listed here. allowedCallbackUrls may be an empty array.
|
|
20
20
|
*/
|
|
21
21
|
allowedCallbackUrls?: string[];
|
|
22
22
|
/**
|
|
23
|
-
* The list of allowed logout URLs for the Application. After a logout is completed, a user will be redirected to a URL specified with the logout request. Because the logout redirect URL can be tampered with, as a security measure,
|
|
23
|
+
* The list of allowed logout URLs for the Application. After a logout is completed, a user will be redirected to a URL specified with the logout request. Because the logout redirect URL can be tampered with, as a security measure, Sijil only redirects to logout redirect URLs which are listed here. allowedLogoutUrls may be an empty array.
|
|
24
24
|
*/
|
|
25
25
|
allowedLogoutUrls?: string[];
|
|
26
26
|
/**
|
|
27
|
-
* The list of allowed web origins URLs for the Application. Any domain that needs to be able to initiate a login must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.
|
|
27
|
+
* The list of allowed web origins URLs for the Application. Any domain that needs to be able to initiate a login must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.sijil.com'). An asterisk may be used as a wildcard placeholder for subdomains (e.g. https://*.sijil.com). allowedWebOriginsUrls may be an empty array.
|
|
28
28
|
*/
|
|
29
29
|
allowedWebOriginsUrls?: string[];
|
|
30
30
|
/**
|
|
31
|
-
* The allowed CORS origins urls for the Application. Any domain that needs to be able to make requests from browser JavaScript to our identity provider APIs must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.
|
|
31
|
+
* The allowed CORS origins urls for the Application. Any domain that needs to be able to make requests from browser JavaScript to our identity provider APIs must be listed here. These URLs must not include any path or query strings (e.g. 'https://docs.sijil.com'). By default, all domains from `allowedCallbackUrls` are allowed. allowedCORSOriginsUrls may be an empty array.
|
|
32
32
|
*/
|
|
33
33
|
allowedCORSOriginsUrls?: string[];
|
|
34
34
|
/**
|
|
@@ -40,7 +40,7 @@ export interface ApplicationUpdateParams {
|
|
|
40
40
|
*/
|
|
41
41
|
mfaEnabled?: boolean;
|
|
42
42
|
/**
|
|
43
|
-
* When true, an invitation email is automatically sent to users who are invited to the Application. This email contains
|
|
43
|
+
* When true, an invitation email is automatically sent to users who are invited to the Application. This email contains Sijil branding, so it is recommended to set this to 'false' and send your own invitation email for production use.
|
|
44
44
|
*/
|
|
45
45
|
shouldSendInviteEmail?: boolean;
|
|
46
46
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface ConversationAddParticipantParams {
|
|
2
2
|
/**
|
|
3
|
-
* A valid FHIR Encounter relative reference in the format: `Encounter/some-uuid`. This reference must be a valid Encounter in the FHIR store which has the https://extensions.fhir.
|
|
3
|
+
* A valid FHIR Encounter relative reference in the format: `Encounter/some-uuid`. This reference must be a valid Encounter in the FHIR store which has the https://extensions.fhir.sijil.com/encounter-virtual-service-pre-release extension from being created by `POST /message/conversation`.
|
|
4
4
|
*/
|
|
5
5
|
encounterReference: string;
|
|
6
6
|
participants: {
|
|
@@ -4,7 +4,7 @@ import { Encounter } from 'fhir/r4b';
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ConversationCreateResponse {
|
|
6
6
|
/**
|
|
7
|
-
* The FHIR Encounter resource that represents the Conversation in the FHIR Store modified to include the https://extensions.fhir.
|
|
7
|
+
* The FHIR Encounter resource that represents the Conversation in the FHIR Store modified to include the https://extensions.fhir.sijil.com/encounter-virtual-service-pre-release extension which holds the Twilio Conversation SID.
|
|
8
8
|
*/
|
|
9
9
|
encounter: Encounter;
|
|
10
10
|
}
|