@oystehr/sdk 3.0.0
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/.eslintrc.js +14 -0
- package/LICENSE.md +9 -0
- package/README.md +339 -0
- package/dist/cjs/client/client.d.ts +49 -0
- package/dist/cjs/config.d.ts +45 -0
- package/dist/cjs/errors/index.d.ts +17 -0
- package/dist/cjs/fhir/fhir-types.d.ts +9 -0
- package/dist/cjs/fhir/index.d.ts +2 -0
- package/dist/cjs/fhir/utils.d.ts +14 -0
- package/dist/cjs/index.cjs +1333 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index.d.cts +16 -0
- package/dist/cjs/index.d.ts +16 -0
- package/dist/cjs/index.min.cjs +2 -0
- package/dist/cjs/index.min.cjs.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/resources/classes/application.d.ts +62 -0
- package/dist/cjs/resources/classes/charge.d.ts +30 -0
- package/dist/cjs/resources/classes/conversation-ext.d.ts +10 -0
- package/dist/cjs/resources/classes/conversation.d.ts +64 -0
- package/dist/cjs/resources/classes/developer.d.ts +50 -0
- package/dist/cjs/resources/classes/erx.d.ts +18 -0
- package/dist/cjs/resources/classes/fhir-ext.d.ts +58 -0
- package/dist/cjs/resources/classes/fhir.d.ts +21 -0
- package/dist/cjs/resources/classes/index.d.ts +44 -0
- package/dist/cjs/resources/classes/m2m.d.ts +57 -0
- package/dist/cjs/resources/classes/messaging.d.ts +10 -0
- package/dist/cjs/resources/classes/paymentMethod.d.ts +70 -0
- package/dist/cjs/resources/classes/project.d.ts +20 -0
- package/dist/cjs/resources/classes/rcm.d.ts +39 -0
- package/dist/cjs/resources/classes/role.d.ts +42 -0
- package/dist/cjs/resources/classes/secret.d.ts +34 -0
- package/dist/cjs/resources/classes/telemed.d.ts +29 -0
- package/dist/cjs/resources/classes/transactionalSMS.d.ts +22 -0
- package/dist/cjs/resources/classes/user.d.ts +56 -0
- package/dist/cjs/resources/classes/version.d.ts +10 -0
- package/dist/cjs/resources/classes/z3-ext.d.ts +10 -0
- package/dist/cjs/resources/classes/z3.d.ts +51 -0
- package/dist/cjs/resources/classes/zambda-ext.d.ts +6 -0
- package/dist/cjs/resources/classes/zambda.d.ts +63 -0
- package/dist/cjs/resources/classes/zambdaLogStream.d.ts +27 -0
- package/dist/cjs/resources/index.d.ts +1 -0
- package/dist/cjs/resources/types/AccessPolicy.d.ts +7 -0
- package/dist/cjs/resources/types/Application.d.ts +59 -0
- package/dist/cjs/resources/types/ApplicationCreateParams.d.ts +59 -0
- package/dist/cjs/resources/types/ApplicationCreateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ApplicationDeleteParams.d.ts +3 -0
- package/dist/cjs/resources/types/ApplicationGetParams.d.ts +3 -0
- package/dist/cjs/resources/types/ApplicationGetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ApplicationListItem.d.ts +15 -0
- package/dist/cjs/resources/types/ApplicationListResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ApplicationRevokeAccessTokenParams.d.ts +4 -0
- package/dist/cjs/resources/types/ApplicationRevokeAccessTokenResponse.d.ts +6 -0
- package/dist/cjs/resources/types/ApplicationRevokeRefreshTokenParams.d.ts +4 -0
- package/dist/cjs/resources/types/ApplicationRevokeRefreshTokenResponse.d.ts +6 -0
- package/dist/cjs/resources/types/ApplicationRotateSecretParams.d.ts +3 -0
- package/dist/cjs/resources/types/ApplicationRotateSecretResponse.d.ts +6 -0
- package/dist/cjs/resources/types/ApplicationUpdateParams.d.ts +59 -0
- package/dist/cjs/resources/types/ApplicationUpdateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/Card.d.ts +8 -0
- package/dist/cjs/resources/types/CardIdentifier.d.ts +7 -0
- package/dist/cjs/resources/types/ChargeDetails.d.ts +8 -0
- package/dist/cjs/resources/types/ChargeIssueParams.d.ts +6 -0
- package/dist/cjs/resources/types/ChargeStatusParams.d.ts +6 -0
- package/dist/cjs/resources/types/ChargeStatusResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ClaimAddress.d.ts +7 -0
- package/dist/cjs/resources/types/ClaimCMS1500.d.ts +100 -0
- package/dist/cjs/resources/types/ClaimDate.d.ts +5 -0
- package/dist/cjs/resources/types/ClaimDatePeriod.d.ts +5 -0
- package/dist/cjs/resources/types/ClaimDateWithQualifier.d.ts +5 -0
- package/dist/cjs/resources/types/ClaimId.d.ts +4 -0
- package/dist/cjs/resources/types/ClaimName.d.ts +6 -0
- package/dist/cjs/resources/types/ConversationAddParticipantParams.d.ts +21 -0
- package/dist/cjs/resources/types/ConversationCreateParams.d.ts +7 -0
- package/dist/cjs/resources/types/ConversationCreateResponse.d.ts +10 -0
- package/dist/cjs/resources/types/ConversationGetTokenResponse.d.ts +9 -0
- package/dist/cjs/resources/types/ConversationMessageParams.d.ts +13 -0
- package/dist/cjs/resources/types/ConversationRemoveParticipantParams.d.ts +11 -0
- package/dist/cjs/resources/types/Developer.d.ts +20 -0
- package/dist/cjs/resources/types/DeveloperDeleteParams.d.ts +3 -0
- package/dist/cjs/resources/types/DeveloperGetParams.d.ts +3 -0
- package/dist/cjs/resources/types/DeveloperGetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/DeveloperInviteParams.d.ts +17 -0
- package/dist/cjs/resources/types/DeveloperInviteResponse.d.ts +23 -0
- package/dist/cjs/resources/types/DeveloperListItem.d.ts +7 -0
- package/dist/cjs/resources/types/DeveloperListResponse.d.ts +5 -0
- package/dist/cjs/resources/types/DeveloperListV2Params.d.ts +11 -0
- package/dist/cjs/resources/types/DeveloperListV2Response.d.ts +29 -0
- package/dist/cjs/resources/types/DeveloperUpdateParams.d.ts +9 -0
- package/dist/cjs/resources/types/DeveloperUpdateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ErxAllergySearchParams.d.ts +3 -0
- package/dist/cjs/resources/types/ErxAllergySearchResponse.d.ts +19 -0
- package/dist/cjs/resources/types/ErxMedicationSearchParams.d.ts +6 -0
- package/dist/cjs/resources/types/ErxMedicationSearchResponse.d.ts +38 -0
- package/dist/cjs/resources/types/ErxSyncPatientParams.d.ts +3 -0
- package/dist/cjs/resources/types/ErxSyncPatientResponse.d.ts +9 -0
- package/dist/cjs/resources/types/M2m.d.ts +30 -0
- package/dist/cjs/resources/types/M2mCreateParams.d.ts +20 -0
- package/dist/cjs/resources/types/M2mCreateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/M2mDeleteParams.d.ts +3 -0
- package/dist/cjs/resources/types/M2mGetParams.d.ts +3 -0
- package/dist/cjs/resources/types/M2mGetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/M2mListItem.d.ts +25 -0
- package/dist/cjs/resources/types/M2mListResponse.d.ts +5 -0
- package/dist/cjs/resources/types/M2mListV2Params.d.ts +10 -0
- package/dist/cjs/resources/types/M2mListV2Response.d.ts +16 -0
- package/dist/cjs/resources/types/M2mRotateSecretParams.d.ts +3 -0
- package/dist/cjs/resources/types/M2mRotateSecretResponse.d.ts +6 -0
- package/dist/cjs/resources/types/M2mUpdateParams.d.ts +21 -0
- package/dist/cjs/resources/types/M2mUpdateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/MessagingGetMessagingConfigResponse.d.ts +8 -0
- package/dist/cjs/resources/types/MessagingServiceInfo.d.ts +14 -0
- package/dist/cjs/resources/types/PaymentMethodDeleteParams.d.ts +16 -0
- package/dist/cjs/resources/types/PaymentMethodListParams.d.ts +12 -0
- package/dist/cjs/resources/types/PaymentMethodListResponse.d.ts +8 -0
- package/dist/cjs/resources/types/PaymentMethodSetDefaultParams.d.ts +16 -0
- package/dist/cjs/resources/types/PaymentMethodSetUpParams.d.ts +12 -0
- package/dist/cjs/resources/types/PaymentMethodSetUpResponse.d.ts +9 -0
- package/dist/cjs/resources/types/Project.d.ts +17 -0
- package/dist/cjs/resources/types/ProjectGetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ProjectUpdateParams.d.ts +16 -0
- package/dist/cjs/resources/types/ProjectUpdateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/RcmEligibilityCheckParams.d.ts +6 -0
- package/dist/cjs/resources/types/RcmEligibilityCheckResponse.d.ts +5 -0
- package/dist/cjs/resources/types/RcmSubmitProfessionalClaimParams.d.ts +10 -0
- package/dist/cjs/resources/types/RcmSubmitProfessionalClaimResponse.d.ts +5 -0
- package/dist/cjs/resources/types/RcmValidateProfessionalClaimParams.d.ts +6 -0
- package/dist/cjs/resources/types/RcmValidateProfessionalClaimResponse.d.ts +21 -0
- package/dist/cjs/resources/types/Role.d.ts +16 -0
- package/dist/cjs/resources/types/RoleCreateParams.d.ts +12 -0
- package/dist/cjs/resources/types/RoleCreateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/RoleDeleteParams.d.ts +3 -0
- package/dist/cjs/resources/types/RoleGetParams.d.ts +3 -0
- package/dist/cjs/resources/types/RoleGetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/RoleListItem.d.ts +14 -0
- package/dist/cjs/resources/types/RoleListResponse.d.ts +5 -0
- package/dist/cjs/resources/types/RoleStub.d.ts +10 -0
- package/dist/cjs/resources/types/RoleUpdateParams.d.ts +17 -0
- package/dist/cjs/resources/types/RoleUpdateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/Secret.d.ts +10 -0
- package/dist/cjs/resources/types/SecretDeleteParams.d.ts +3 -0
- package/dist/cjs/resources/types/SecretGetParams.d.ts +3 -0
- package/dist/cjs/resources/types/SecretGetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/SecretListItem.d.ts +6 -0
- package/dist/cjs/resources/types/SecretListResponse.d.ts +5 -0
- package/dist/cjs/resources/types/SecretSetParams.d.ts +10 -0
- package/dist/cjs/resources/types/SecretSetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/TelemedCreateMeetingParams.d.ts +7 -0
- package/dist/cjs/resources/types/TelemedCreateMeetingResponse.d.ts +10 -0
- package/dist/cjs/resources/types/TelemedJoinMeetingParams.d.ts +4 -0
- package/dist/cjs/resources/types/TelemedJoinMeetingResponse.d.ts +27 -0
- package/dist/cjs/resources/types/TransactionalSMSSendParams.d.ts +10 -0
- package/dist/cjs/resources/types/TransactionalSMSSendResponse.d.ts +9 -0
- package/dist/cjs/resources/types/User.d.ts +36 -0
- package/dist/cjs/resources/types/UserDeleteParams.d.ts +3 -0
- package/dist/cjs/resources/types/UserGetParams.d.ts +3 -0
- package/dist/cjs/resources/types/UserGetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/UserInviteParams.d.ts +35 -0
- package/dist/cjs/resources/types/UserInviteResponse.d.ts +37 -0
- package/dist/cjs/resources/types/UserListItem.d.ts +15 -0
- package/dist/cjs/resources/types/UserListResponse.d.ts +5 -0
- package/dist/cjs/resources/types/UserListV2Params.d.ts +11 -0
- package/dist/cjs/resources/types/UserListV2Response.d.ts +16 -0
- package/dist/cjs/resources/types/UserMeResponse.d.ts +5 -0
- package/dist/cjs/resources/types/UserUpdateParams.d.ts +9 -0
- package/dist/cjs/resources/types/UserUpdateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/VersionGetResponse.d.ts +17 -0
- package/dist/cjs/resources/types/Z3CreateBucketParams.d.ts +3 -0
- package/dist/cjs/resources/types/Z3CreateBucketResponse.d.ts +10 -0
- package/dist/cjs/resources/types/Z3DeleteBucketParams.d.ts +3 -0
- package/dist/cjs/resources/types/Z3DeleteObjectParams.d.ts +8 -0
- package/dist/cjs/resources/types/Z3GetPresignedUrlParams.d.ts +9 -0
- package/dist/cjs/resources/types/Z3GetPresignedUrlResponse.d.ts +9 -0
- package/dist/cjs/resources/types/Z3ListBucketsResponse.d.ts +14 -0
- package/dist/cjs/resources/types/Z3ListObjectsParams.d.ts +4 -0
- package/dist/cjs/resources/types/Z3ListObjectsResponse.d.ts +13 -0
- package/dist/cjs/resources/types/ZambdaCreateParams.d.ts +12 -0
- package/dist/cjs/resources/types/ZambdaCreateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ZambdaDeleteParams.d.ts +3 -0
- package/dist/cjs/resources/types/ZambdaExecuteParams.d.ts +4 -0
- package/dist/cjs/resources/types/ZambdaExecutePublicParams.d.ts +4 -0
- package/dist/cjs/resources/types/ZambdaExecutePublicResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ZambdaExecuteResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ZambdaExecuteResult.d.ts +10 -0
- package/dist/cjs/resources/types/ZambdaFunction.d.ts +38 -0
- package/dist/cjs/resources/types/ZambdaGetParams.d.ts +3 -0
- package/dist/cjs/resources/types/ZambdaGetResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ZambdaListResponse.d.ts +5 -0
- package/dist/cjs/resources/types/ZambdaLogStreamGetParams.d.ts +8 -0
- package/dist/cjs/resources/types/ZambdaLogStreamGetResponse.d.ts +27 -0
- package/dist/cjs/resources/types/ZambdaLogStreamListParams.d.ts +4 -0
- package/dist/cjs/resources/types/ZambdaLogStreamListResponse.d.ts +46 -0
- package/dist/cjs/resources/types/ZambdaLogStreamSearchParams.d.ts +19 -0
- package/dist/cjs/resources/types/ZambdaLogStreamSearchResponse.d.ts +23 -0
- package/dist/cjs/resources/types/ZambdaS3UploadParams.d.ts +7 -0
- package/dist/cjs/resources/types/ZambdaS3UploadResponse.d.ts +9 -0
- package/dist/cjs/resources/types/ZambdaSchedule.d.ts +30 -0
- package/dist/cjs/resources/types/ZambdaUpdateParams.d.ts +17 -0
- package/dist/cjs/resources/types/ZambdaUpdateResponse.d.ts +5 -0
- package/dist/cjs/resources/types/fhir.d.ts +46 -0
- package/dist/cjs/resources/types/index.d.ts +158 -0
- package/dist/cjs/tests/common.d.ts +2 -0
- package/dist/cjs/tests/setup/constants.d.ts +12 -0
- package/dist/cjs/tests/setup/global.d.ts +1 -0
- package/dist/cjs/tests/setup/per-test.d.ts +1 -0
- package/dist/esm/client/client.d.ts +49 -0
- package/dist/esm/client/client.js +251 -0
- package/dist/esm/client/client.js.map +1 -0
- package/dist/esm/config.d.ts +45 -0
- package/dist/esm/errors/index.d.ts +17 -0
- package/dist/esm/errors/index.js +38 -0
- package/dist/esm/errors/index.js.map +1 -0
- package/dist/esm/fhir/fhir-types.d.ts +9 -0
- package/dist/esm/fhir/index.d.ts +2 -0
- package/dist/esm/fhir/utils.d.ts +14 -0
- package/dist/esm/index.d.ts +16 -0
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.min.js +2 -0
- package/dist/esm/index.min.js.map +1 -0
- package/dist/esm/node_modules/tslib/package.json +1 -0
- package/dist/esm/node_modules/tslib/tslib.es6.js +34 -0
- package/dist/esm/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/resources/classes/application.d.ts +62 -0
- package/dist/esm/resources/classes/application.js +67 -0
- package/dist/esm/resources/classes/application.js.map +1 -0
- package/dist/esm/resources/classes/charge.d.ts +30 -0
- package/dist/esm/resources/classes/charge.js +35 -0
- package/dist/esm/resources/classes/charge.js.map +1 -0
- package/dist/esm/resources/classes/conversation-ext.d.ts +10 -0
- package/dist/esm/resources/classes/conversation-ext.js +28 -0
- package/dist/esm/resources/classes/conversation-ext.js.map +1 -0
- package/dist/esm/resources/classes/conversation.d.ts +64 -0
- package/dist/esm/resources/classes/conversation.js +69 -0
- package/dist/esm/resources/classes/conversation.js.map +1 -0
- package/dist/esm/resources/classes/developer.d.ts +50 -0
- package/dist/esm/resources/classes/developer.js +55 -0
- package/dist/esm/resources/classes/developer.js.map +1 -0
- package/dist/esm/resources/classes/erx.d.ts +18 -0
- package/dist/esm/resources/classes/erx.js +23 -0
- package/dist/esm/resources/classes/erx.js.map +1 -0
- package/dist/esm/resources/classes/fhir-ext.d.ts +58 -0
- package/dist/esm/resources/classes/fhir-ext.js +130 -0
- package/dist/esm/resources/classes/fhir-ext.js.map +1 -0
- package/dist/esm/resources/classes/fhir.d.ts +21 -0
- package/dist/esm/resources/classes/fhir.js +27 -0
- package/dist/esm/resources/classes/fhir.js.map +1 -0
- package/dist/esm/resources/classes/index.d.ts +44 -0
- package/dist/esm/resources/classes/index.js +49 -0
- package/dist/esm/resources/classes/index.js.map +1 -0
- package/dist/esm/resources/classes/m2m.d.ts +57 -0
- package/dist/esm/resources/classes/m2m.js +62 -0
- package/dist/esm/resources/classes/m2m.js.map +1 -0
- package/dist/esm/resources/classes/messaging.d.ts +10 -0
- package/dist/esm/resources/classes/messaging.js +15 -0
- package/dist/esm/resources/classes/messaging.js.map +1 -0
- package/dist/esm/resources/classes/paymentMethod.d.ts +70 -0
- package/dist/esm/resources/classes/paymentMethod.js +75 -0
- package/dist/esm/resources/classes/paymentMethod.js.map +1 -0
- package/dist/esm/resources/classes/project.d.ts +20 -0
- package/dist/esm/resources/classes/project.js +25 -0
- package/dist/esm/resources/classes/project.js.map +1 -0
- package/dist/esm/resources/classes/rcm.d.ts +39 -0
- package/dist/esm/resources/classes/rcm.js +44 -0
- package/dist/esm/resources/classes/rcm.js.map +1 -0
- package/dist/esm/resources/classes/role.d.ts +42 -0
- package/dist/esm/resources/classes/role.js +47 -0
- package/dist/esm/resources/classes/role.js.map +1 -0
- package/dist/esm/resources/classes/secret.d.ts +34 -0
- package/dist/esm/resources/classes/secret.js +39 -0
- package/dist/esm/resources/classes/secret.js.map +1 -0
- package/dist/esm/resources/classes/telemed.d.ts +29 -0
- package/dist/esm/resources/classes/telemed.js +34 -0
- package/dist/esm/resources/classes/telemed.js.map +1 -0
- package/dist/esm/resources/classes/transactionalSMS.d.ts +22 -0
- package/dist/esm/resources/classes/transactionalSMS.js +27 -0
- package/dist/esm/resources/classes/transactionalSMS.js.map +1 -0
- package/dist/esm/resources/classes/user.d.ts +56 -0
- package/dist/esm/resources/classes/user.js +61 -0
- package/dist/esm/resources/classes/user.js.map +1 -0
- package/dist/esm/resources/classes/version.d.ts +10 -0
- package/dist/esm/resources/classes/version.js +15 -0
- package/dist/esm/resources/classes/version.js.map +1 -0
- package/dist/esm/resources/classes/z3-ext.d.ts +10 -0
- package/dist/esm/resources/classes/z3-ext.js +34 -0
- package/dist/esm/resources/classes/z3-ext.js.map +1 -0
- package/dist/esm/resources/classes/z3.d.ts +51 -0
- package/dist/esm/resources/classes/z3.js +56 -0
- package/dist/esm/resources/classes/z3.js.map +1 -0
- package/dist/esm/resources/classes/zambda-ext.d.ts +6 -0
- package/dist/esm/resources/classes/zambda-ext.js +14 -0
- package/dist/esm/resources/classes/zambda-ext.js.map +1 -0
- package/dist/esm/resources/classes/zambda.d.ts +63 -0
- package/dist/esm/resources/classes/zambda.js +68 -0
- package/dist/esm/resources/classes/zambda.js.map +1 -0
- package/dist/esm/resources/classes/zambdaLogStream.d.ts +27 -0
- package/dist/esm/resources/classes/zambdaLogStream.js +32 -0
- package/dist/esm/resources/classes/zambdaLogStream.js.map +1 -0
- package/dist/esm/resources/index.d.ts +1 -0
- package/dist/esm/resources/types/AccessPolicy.d.ts +7 -0
- package/dist/esm/resources/types/Application.d.ts +59 -0
- package/dist/esm/resources/types/ApplicationCreateParams.d.ts +59 -0
- package/dist/esm/resources/types/ApplicationCreateResponse.d.ts +5 -0
- package/dist/esm/resources/types/ApplicationDeleteParams.d.ts +3 -0
- package/dist/esm/resources/types/ApplicationGetParams.d.ts +3 -0
- package/dist/esm/resources/types/ApplicationGetResponse.d.ts +5 -0
- package/dist/esm/resources/types/ApplicationListItem.d.ts +15 -0
- package/dist/esm/resources/types/ApplicationListResponse.d.ts +5 -0
- package/dist/esm/resources/types/ApplicationRevokeAccessTokenParams.d.ts +4 -0
- package/dist/esm/resources/types/ApplicationRevokeAccessTokenResponse.d.ts +6 -0
- package/dist/esm/resources/types/ApplicationRevokeRefreshTokenParams.d.ts +4 -0
- package/dist/esm/resources/types/ApplicationRevokeRefreshTokenResponse.d.ts +6 -0
- package/dist/esm/resources/types/ApplicationRotateSecretParams.d.ts +3 -0
- package/dist/esm/resources/types/ApplicationRotateSecretResponse.d.ts +6 -0
- package/dist/esm/resources/types/ApplicationUpdateParams.d.ts +59 -0
- package/dist/esm/resources/types/ApplicationUpdateResponse.d.ts +5 -0
- package/dist/esm/resources/types/Card.d.ts +8 -0
- package/dist/esm/resources/types/CardIdentifier.d.ts +7 -0
- package/dist/esm/resources/types/ChargeDetails.d.ts +8 -0
- package/dist/esm/resources/types/ChargeIssueParams.d.ts +6 -0
- package/dist/esm/resources/types/ChargeStatusParams.d.ts +6 -0
- package/dist/esm/resources/types/ChargeStatusResponse.d.ts +5 -0
- package/dist/esm/resources/types/ClaimAddress.d.ts +7 -0
- package/dist/esm/resources/types/ClaimCMS1500.d.ts +100 -0
- package/dist/esm/resources/types/ClaimDate.d.ts +5 -0
- package/dist/esm/resources/types/ClaimDatePeriod.d.ts +5 -0
- package/dist/esm/resources/types/ClaimDateWithQualifier.d.ts +5 -0
- package/dist/esm/resources/types/ClaimId.d.ts +4 -0
- package/dist/esm/resources/types/ClaimName.d.ts +6 -0
- package/dist/esm/resources/types/ConversationAddParticipantParams.d.ts +21 -0
- package/dist/esm/resources/types/ConversationCreateParams.d.ts +7 -0
- package/dist/esm/resources/types/ConversationCreateResponse.d.ts +10 -0
- package/dist/esm/resources/types/ConversationGetTokenResponse.d.ts +9 -0
- package/dist/esm/resources/types/ConversationMessageParams.d.ts +13 -0
- package/dist/esm/resources/types/ConversationRemoveParticipantParams.d.ts +11 -0
- package/dist/esm/resources/types/Developer.d.ts +20 -0
- package/dist/esm/resources/types/DeveloperDeleteParams.d.ts +3 -0
- package/dist/esm/resources/types/DeveloperGetParams.d.ts +3 -0
- package/dist/esm/resources/types/DeveloperGetResponse.d.ts +5 -0
- package/dist/esm/resources/types/DeveloperInviteParams.d.ts +17 -0
- package/dist/esm/resources/types/DeveloperInviteResponse.d.ts +23 -0
- package/dist/esm/resources/types/DeveloperListItem.d.ts +7 -0
- package/dist/esm/resources/types/DeveloperListResponse.d.ts +5 -0
- package/dist/esm/resources/types/DeveloperListV2Params.d.ts +11 -0
- package/dist/esm/resources/types/DeveloperListV2Response.d.ts +29 -0
- package/dist/esm/resources/types/DeveloperUpdateParams.d.ts +9 -0
- package/dist/esm/resources/types/DeveloperUpdateResponse.d.ts +5 -0
- package/dist/esm/resources/types/ErxAllergySearchParams.d.ts +3 -0
- package/dist/esm/resources/types/ErxAllergySearchResponse.d.ts +19 -0
- package/dist/esm/resources/types/ErxMedicationSearchParams.d.ts +6 -0
- package/dist/esm/resources/types/ErxMedicationSearchResponse.d.ts +38 -0
- package/dist/esm/resources/types/ErxSyncPatientParams.d.ts +3 -0
- package/dist/esm/resources/types/ErxSyncPatientResponse.d.ts +9 -0
- package/dist/esm/resources/types/M2m.d.ts +30 -0
- package/dist/esm/resources/types/M2mCreateParams.d.ts +20 -0
- package/dist/esm/resources/types/M2mCreateResponse.d.ts +5 -0
- package/dist/esm/resources/types/M2mDeleteParams.d.ts +3 -0
- package/dist/esm/resources/types/M2mGetParams.d.ts +3 -0
- package/dist/esm/resources/types/M2mGetResponse.d.ts +5 -0
- package/dist/esm/resources/types/M2mListItem.d.ts +25 -0
- package/dist/esm/resources/types/M2mListResponse.d.ts +5 -0
- package/dist/esm/resources/types/M2mListV2Params.d.ts +10 -0
- package/dist/esm/resources/types/M2mListV2Response.d.ts +16 -0
- package/dist/esm/resources/types/M2mRotateSecretParams.d.ts +3 -0
- package/dist/esm/resources/types/M2mRotateSecretResponse.d.ts +6 -0
- package/dist/esm/resources/types/M2mUpdateParams.d.ts +21 -0
- package/dist/esm/resources/types/M2mUpdateResponse.d.ts +5 -0
- package/dist/esm/resources/types/MessagingGetMessagingConfigResponse.d.ts +8 -0
- package/dist/esm/resources/types/MessagingServiceInfo.d.ts +14 -0
- package/dist/esm/resources/types/PaymentMethodDeleteParams.d.ts +16 -0
- package/dist/esm/resources/types/PaymentMethodListParams.d.ts +12 -0
- package/dist/esm/resources/types/PaymentMethodListResponse.d.ts +8 -0
- package/dist/esm/resources/types/PaymentMethodSetDefaultParams.d.ts +16 -0
- package/dist/esm/resources/types/PaymentMethodSetUpParams.d.ts +12 -0
- package/dist/esm/resources/types/PaymentMethodSetUpResponse.d.ts +9 -0
- package/dist/esm/resources/types/Project.d.ts +17 -0
- package/dist/esm/resources/types/ProjectGetResponse.d.ts +5 -0
- package/dist/esm/resources/types/ProjectUpdateParams.d.ts +16 -0
- package/dist/esm/resources/types/ProjectUpdateResponse.d.ts +5 -0
- package/dist/esm/resources/types/RcmEligibilityCheckParams.d.ts +6 -0
- package/dist/esm/resources/types/RcmEligibilityCheckResponse.d.ts +5 -0
- package/dist/esm/resources/types/RcmSubmitProfessionalClaimParams.d.ts +10 -0
- package/dist/esm/resources/types/RcmSubmitProfessionalClaimResponse.d.ts +5 -0
- package/dist/esm/resources/types/RcmValidateProfessionalClaimParams.d.ts +6 -0
- package/dist/esm/resources/types/RcmValidateProfessionalClaimResponse.d.ts +21 -0
- package/dist/esm/resources/types/Role.d.ts +16 -0
- package/dist/esm/resources/types/RoleCreateParams.d.ts +12 -0
- package/dist/esm/resources/types/RoleCreateResponse.d.ts +5 -0
- package/dist/esm/resources/types/RoleDeleteParams.d.ts +3 -0
- package/dist/esm/resources/types/RoleGetParams.d.ts +3 -0
- package/dist/esm/resources/types/RoleGetResponse.d.ts +5 -0
- package/dist/esm/resources/types/RoleListItem.d.ts +14 -0
- package/dist/esm/resources/types/RoleListResponse.d.ts +5 -0
- package/dist/esm/resources/types/RoleStub.d.ts +10 -0
- package/dist/esm/resources/types/RoleUpdateParams.d.ts +17 -0
- package/dist/esm/resources/types/RoleUpdateResponse.d.ts +5 -0
- package/dist/esm/resources/types/Secret.d.ts +10 -0
- package/dist/esm/resources/types/SecretDeleteParams.d.ts +3 -0
- package/dist/esm/resources/types/SecretGetParams.d.ts +3 -0
- package/dist/esm/resources/types/SecretGetResponse.d.ts +5 -0
- package/dist/esm/resources/types/SecretListItem.d.ts +6 -0
- package/dist/esm/resources/types/SecretListResponse.d.ts +5 -0
- package/dist/esm/resources/types/SecretSetParams.d.ts +10 -0
- package/dist/esm/resources/types/SecretSetResponse.d.ts +5 -0
- package/dist/esm/resources/types/TelemedCreateMeetingParams.d.ts +7 -0
- package/dist/esm/resources/types/TelemedCreateMeetingResponse.d.ts +10 -0
- package/dist/esm/resources/types/TelemedJoinMeetingParams.d.ts +4 -0
- package/dist/esm/resources/types/TelemedJoinMeetingResponse.d.ts +27 -0
- package/dist/esm/resources/types/TransactionalSMSSendParams.d.ts +10 -0
- package/dist/esm/resources/types/TransactionalSMSSendResponse.d.ts +9 -0
- package/dist/esm/resources/types/User.d.ts +36 -0
- package/dist/esm/resources/types/UserDeleteParams.d.ts +3 -0
- package/dist/esm/resources/types/UserGetParams.d.ts +3 -0
- package/dist/esm/resources/types/UserGetResponse.d.ts +5 -0
- package/dist/esm/resources/types/UserInviteParams.d.ts +35 -0
- package/dist/esm/resources/types/UserInviteResponse.d.ts +37 -0
- package/dist/esm/resources/types/UserListItem.d.ts +15 -0
- package/dist/esm/resources/types/UserListResponse.d.ts +5 -0
- package/dist/esm/resources/types/UserListV2Params.d.ts +11 -0
- package/dist/esm/resources/types/UserListV2Response.d.ts +16 -0
- package/dist/esm/resources/types/UserMeResponse.d.ts +5 -0
- package/dist/esm/resources/types/UserUpdateParams.d.ts +9 -0
- package/dist/esm/resources/types/UserUpdateResponse.d.ts +5 -0
- package/dist/esm/resources/types/VersionGetResponse.d.ts +17 -0
- package/dist/esm/resources/types/Z3CreateBucketParams.d.ts +3 -0
- package/dist/esm/resources/types/Z3CreateBucketResponse.d.ts +10 -0
- package/dist/esm/resources/types/Z3DeleteBucketParams.d.ts +3 -0
- package/dist/esm/resources/types/Z3DeleteObjectParams.d.ts +8 -0
- package/dist/esm/resources/types/Z3GetPresignedUrlParams.d.ts +9 -0
- package/dist/esm/resources/types/Z3GetPresignedUrlResponse.d.ts +9 -0
- package/dist/esm/resources/types/Z3ListBucketsResponse.d.ts +14 -0
- package/dist/esm/resources/types/Z3ListObjectsParams.d.ts +4 -0
- package/dist/esm/resources/types/Z3ListObjectsResponse.d.ts +13 -0
- package/dist/esm/resources/types/ZambdaCreateParams.d.ts +12 -0
- package/dist/esm/resources/types/ZambdaCreateResponse.d.ts +5 -0
- package/dist/esm/resources/types/ZambdaDeleteParams.d.ts +3 -0
- package/dist/esm/resources/types/ZambdaExecuteParams.d.ts +4 -0
- package/dist/esm/resources/types/ZambdaExecutePublicParams.d.ts +4 -0
- package/dist/esm/resources/types/ZambdaExecutePublicResponse.d.ts +5 -0
- package/dist/esm/resources/types/ZambdaExecuteResponse.d.ts +5 -0
- package/dist/esm/resources/types/ZambdaExecuteResult.d.ts +10 -0
- package/dist/esm/resources/types/ZambdaFunction.d.ts +38 -0
- package/dist/esm/resources/types/ZambdaGetParams.d.ts +3 -0
- package/dist/esm/resources/types/ZambdaGetResponse.d.ts +5 -0
- package/dist/esm/resources/types/ZambdaListResponse.d.ts +5 -0
- package/dist/esm/resources/types/ZambdaLogStreamGetParams.d.ts +8 -0
- package/dist/esm/resources/types/ZambdaLogStreamGetResponse.d.ts +27 -0
- package/dist/esm/resources/types/ZambdaLogStreamListParams.d.ts +4 -0
- package/dist/esm/resources/types/ZambdaLogStreamListResponse.d.ts +46 -0
- package/dist/esm/resources/types/ZambdaLogStreamSearchParams.d.ts +19 -0
- package/dist/esm/resources/types/ZambdaLogStreamSearchResponse.d.ts +23 -0
- package/dist/esm/resources/types/ZambdaS3UploadParams.d.ts +7 -0
- package/dist/esm/resources/types/ZambdaS3UploadResponse.d.ts +9 -0
- package/dist/esm/resources/types/ZambdaSchedule.d.ts +30 -0
- package/dist/esm/resources/types/ZambdaUpdateParams.d.ts +17 -0
- package/dist/esm/resources/types/ZambdaUpdateResponse.d.ts +5 -0
- package/dist/esm/resources/types/fhir.d.ts +46 -0
- package/dist/esm/resources/types/index.d.ts +158 -0
- package/dist/esm/tests/common.d.ts +2 -0
- package/dist/esm/tests/setup/constants.d.ts +12 -0
- package/dist/esm/tests/setup/global.d.ts +1 -0
- package/dist/esm/tests/setup/per-test.d.ts +1 -0
- package/package.json +59 -0
- package/rollup.config-cjs.mjs +49 -0
- package/rollup.config-mjs.mjs +49 -0
- package/src/client/client.ts +307 -0
- package/src/config.ts +56 -0
- package/src/errors/index.ts +41 -0
- package/src/fhir/fhir-types.ts +15 -0
- package/src/fhir/index.ts +2 -0
- package/src/fhir/utils.ts +68 -0
- package/src/index.cts +22 -0
- package/src/index.ts +27 -0
- package/src/resources/classes/application.ts +100 -0
- package/src/resources/classes/charge.ts +37 -0
- package/src/resources/classes/conversation-ext.ts +31 -0
- package/src/resources/classes/conversation.ts +82 -0
- package/src/resources/classes/developer.ts +72 -0
- package/src/resources/classes/erx.ts +36 -0
- package/src/resources/classes/fhir-ext.ts +214 -0
- package/src/resources/classes/fhir.ts +26 -0
- package/src/resources/classes/index.ts +68 -0
- package/src/resources/classes/m2m.ts +82 -0
- package/src/resources/classes/messaging.ts +16 -0
- package/src/resources/classes/paymentMethod.ts +87 -0
- package/src/resources/classes/project.ts +26 -0
- package/src/resources/classes/rcm.ts +63 -0
- package/src/resources/classes/role.ts +61 -0
- package/src/resources/classes/secret.ts +50 -0
- package/src/resources/classes/telemed.ts +47 -0
- package/src/resources/classes/transactionalSMS.ts +28 -0
- package/src/resources/classes/user.ts +79 -0
- package/src/resources/classes/version.ts +15 -0
- package/src/resources/classes/z3-ext.ts +54 -0
- package/src/resources/classes/z3.ts +74 -0
- package/src/resources/classes/zambda-ext.ts +20 -0
- package/src/resources/classes/zambda.ts +93 -0
- package/src/resources/classes/zambdaLogStream.ts +45 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/types/AccessPolicy.ts +9 -0
- package/src/resources/types/Application.ts +61 -0
- package/src/resources/types/ApplicationCreateParams.ts +61 -0
- package/src/resources/types/ApplicationCreateResponse.ts +7 -0
- package/src/resources/types/ApplicationDeleteParams.ts +5 -0
- package/src/resources/types/ApplicationGetParams.ts +5 -0
- package/src/resources/types/ApplicationGetResponse.ts +7 -0
- package/src/resources/types/ApplicationListItem.ts +17 -0
- package/src/resources/types/ApplicationListResponse.ts +7 -0
- package/src/resources/types/ApplicationRevokeAccessTokenParams.ts +6 -0
- package/src/resources/types/ApplicationRevokeAccessTokenResponse.ts +8 -0
- package/src/resources/types/ApplicationRevokeRefreshTokenParams.ts +6 -0
- package/src/resources/types/ApplicationRevokeRefreshTokenResponse.ts +8 -0
- package/src/resources/types/ApplicationRotateSecretParams.ts +5 -0
- package/src/resources/types/ApplicationRotateSecretResponse.ts +8 -0
- package/src/resources/types/ApplicationUpdateParams.ts +61 -0
- package/src/resources/types/ApplicationUpdateResponse.ts +7 -0
- package/src/resources/types/Card.ts +10 -0
- package/src/resources/types/CardIdentifier.ts +9 -0
- package/src/resources/types/ChargeDetails.ts +11 -0
- package/src/resources/types/ChargeIssueParams.ts +8 -0
- package/src/resources/types/ChargeStatusParams.ts +8 -0
- package/src/resources/types/ChargeStatusResponse.ts +7 -0
- package/src/resources/types/ClaimAddress.ts +9 -0
- package/src/resources/types/ClaimCMS1500.ts +103 -0
- package/src/resources/types/ClaimDate.ts +7 -0
- package/src/resources/types/ClaimDatePeriod.ts +8 -0
- package/src/resources/types/ClaimDateWithQualifier.ts +8 -0
- package/src/resources/types/ClaimId.ts +6 -0
- package/src/resources/types/ClaimName.ts +8 -0
- package/src/resources/types/ConversationAddParticipantParams.ts +23 -0
- package/src/resources/types/ConversationCreateParams.ts +10 -0
- package/src/resources/types/ConversationCreateResponse.ts +12 -0
- package/src/resources/types/ConversationGetTokenResponse.ts +11 -0
- package/src/resources/types/ConversationMessageParams.ts +15 -0
- package/src/resources/types/ConversationRemoveParticipantParams.ts +13 -0
- package/src/resources/types/Developer.ts +23 -0
- package/src/resources/types/DeveloperDeleteParams.ts +5 -0
- package/src/resources/types/DeveloperGetParams.ts +5 -0
- package/src/resources/types/DeveloperGetResponse.ts +7 -0
- package/src/resources/types/DeveloperInviteParams.ts +20 -0
- package/src/resources/types/DeveloperInviteResponse.ts +25 -0
- package/src/resources/types/DeveloperListItem.ts +9 -0
- package/src/resources/types/DeveloperListResponse.ts +7 -0
- package/src/resources/types/DeveloperListV2Params.ts +13 -0
- package/src/resources/types/DeveloperListV2Response.ts +31 -0
- package/src/resources/types/DeveloperUpdateParams.ts +12 -0
- package/src/resources/types/DeveloperUpdateResponse.ts +7 -0
- package/src/resources/types/ErxAllergySearchParams.ts +5 -0
- package/src/resources/types/ErxAllergySearchResponse.ts +21 -0
- package/src/resources/types/ErxMedicationSearchParams.ts +8 -0
- package/src/resources/types/ErxMedicationSearchResponse.ts +40 -0
- package/src/resources/types/ErxSyncPatientParams.ts +5 -0
- package/src/resources/types/ErxSyncPatientResponse.ts +11 -0
- package/src/resources/types/M2m.ts +33 -0
- package/src/resources/types/M2mCreateParams.ts +23 -0
- package/src/resources/types/M2mCreateResponse.ts +7 -0
- package/src/resources/types/M2mDeleteParams.ts +5 -0
- package/src/resources/types/M2mGetParams.ts +5 -0
- package/src/resources/types/M2mGetResponse.ts +7 -0
- package/src/resources/types/M2mListItem.ts +28 -0
- package/src/resources/types/M2mListResponse.ts +7 -0
- package/src/resources/types/M2mListV2Params.ts +12 -0
- package/src/resources/types/M2mListV2Response.ts +18 -0
- package/src/resources/types/M2mRotateSecretParams.ts +5 -0
- package/src/resources/types/M2mRotateSecretResponse.ts +8 -0
- package/src/resources/types/M2mUpdateParams.ts +24 -0
- package/src/resources/types/M2mUpdateResponse.ts +7 -0
- package/src/resources/types/MessagingGetMessagingConfigResponse.ts +10 -0
- package/src/resources/types/MessagingServiceInfo.ts +16 -0
- package/src/resources/types/PaymentMethodDeleteParams.ts +18 -0
- package/src/resources/types/PaymentMethodListParams.ts +14 -0
- package/src/resources/types/PaymentMethodListResponse.ts +10 -0
- package/src/resources/types/PaymentMethodSetDefaultParams.ts +18 -0
- package/src/resources/types/PaymentMethodSetUpParams.ts +14 -0
- package/src/resources/types/PaymentMethodSetUpResponse.ts +11 -0
- package/src/resources/types/Project.ts +20 -0
- package/src/resources/types/ProjectGetResponse.ts +7 -0
- package/src/resources/types/ProjectUpdateParams.ts +18 -0
- package/src/resources/types/ProjectUpdateResponse.ts +7 -0
- package/src/resources/types/RcmEligibilityCheckParams.ts +8 -0
- package/src/resources/types/RcmEligibilityCheckResponse.ts +7 -0
- package/src/resources/types/RcmSubmitProfessionalClaimParams.ts +13 -0
- package/src/resources/types/RcmSubmitProfessionalClaimResponse.ts +7 -0
- package/src/resources/types/RcmValidateProfessionalClaimParams.ts +9 -0
- package/src/resources/types/RcmValidateProfessionalClaimResponse.ts +23 -0
- package/src/resources/types/Role.ts +19 -0
- package/src/resources/types/RoleCreateParams.ts +15 -0
- package/src/resources/types/RoleCreateResponse.ts +7 -0
- package/src/resources/types/RoleDeleteParams.ts +5 -0
- package/src/resources/types/RoleGetParams.ts +5 -0
- package/src/resources/types/RoleGetResponse.ts +7 -0
- package/src/resources/types/RoleListItem.ts +16 -0
- package/src/resources/types/RoleListResponse.ts +7 -0
- package/src/resources/types/RoleStub.ts +12 -0
- package/src/resources/types/RoleUpdateParams.ts +20 -0
- package/src/resources/types/RoleUpdateResponse.ts +7 -0
- package/src/resources/types/Secret.ts +12 -0
- package/src/resources/types/SecretDeleteParams.ts +5 -0
- package/src/resources/types/SecretGetParams.ts +5 -0
- package/src/resources/types/SecretGetResponse.ts +7 -0
- package/src/resources/types/SecretListItem.ts +8 -0
- package/src/resources/types/SecretListResponse.ts +7 -0
- package/src/resources/types/SecretSetParams.ts +12 -0
- package/src/resources/types/SecretSetResponse.ts +7 -0
- package/src/resources/types/TelemedCreateMeetingParams.ts +10 -0
- package/src/resources/types/TelemedCreateMeetingResponse.ts +12 -0
- package/src/resources/types/TelemedJoinMeetingParams.ts +6 -0
- package/src/resources/types/TelemedJoinMeetingResponse.ts +29 -0
- package/src/resources/types/TransactionalSMSSendParams.ts +12 -0
- package/src/resources/types/TransactionalSMSSendResponse.ts +11 -0
- package/src/resources/types/User.ts +39 -0
- package/src/resources/types/UserDeleteParams.ts +5 -0
- package/src/resources/types/UserGetParams.ts +5 -0
- package/src/resources/types/UserGetResponse.ts +7 -0
- package/src/resources/types/UserInviteParams.ts +38 -0
- package/src/resources/types/UserInviteResponse.ts +39 -0
- package/src/resources/types/UserListItem.ts +17 -0
- package/src/resources/types/UserListResponse.ts +7 -0
- package/src/resources/types/UserListV2Params.ts +13 -0
- package/src/resources/types/UserListV2Response.ts +18 -0
- package/src/resources/types/UserMeResponse.ts +7 -0
- package/src/resources/types/UserUpdateParams.ts +12 -0
- package/src/resources/types/UserUpdateResponse.ts +7 -0
- package/src/resources/types/VersionGetResponse.ts +19 -0
- package/src/resources/types/Z3CreateBucketParams.ts +5 -0
- package/src/resources/types/Z3CreateBucketResponse.ts +12 -0
- package/src/resources/types/Z3DeleteBucketParams.ts +5 -0
- package/src/resources/types/Z3DeleteObjectParams.ts +10 -0
- package/src/resources/types/Z3GetPresignedUrlParams.ts +11 -0
- package/src/resources/types/Z3GetPresignedUrlResponse.ts +11 -0
- package/src/resources/types/Z3ListBucketsResponse.ts +16 -0
- package/src/resources/types/Z3ListObjectsParams.ts +6 -0
- package/src/resources/types/Z3ListObjectsResponse.ts +15 -0
- package/src/resources/types/ZambdaCreateParams.ts +15 -0
- package/src/resources/types/ZambdaCreateResponse.ts +7 -0
- package/src/resources/types/ZambdaDeleteParams.ts +5 -0
- package/src/resources/types/ZambdaExecuteParams.ts +6 -0
- package/src/resources/types/ZambdaExecutePublicParams.ts +6 -0
- package/src/resources/types/ZambdaExecutePublicResponse.ts +7 -0
- package/src/resources/types/ZambdaExecuteResponse.ts +7 -0
- package/src/resources/types/ZambdaExecuteResult.ts +12 -0
- package/src/resources/types/ZambdaFunction.ts +41 -0
- package/src/resources/types/ZambdaGetParams.ts +5 -0
- package/src/resources/types/ZambdaGetResponse.ts +7 -0
- package/src/resources/types/ZambdaListResponse.ts +7 -0
- package/src/resources/types/ZambdaLogStreamGetParams.ts +10 -0
- package/src/resources/types/ZambdaLogStreamGetResponse.ts +29 -0
- package/src/resources/types/ZambdaLogStreamListParams.ts +6 -0
- package/src/resources/types/ZambdaLogStreamListResponse.ts +48 -0
- package/src/resources/types/ZambdaLogStreamSearchParams.ts +21 -0
- package/src/resources/types/ZambdaLogStreamSearchResponse.ts +25 -0
- package/src/resources/types/ZambdaS3UploadParams.ts +9 -0
- package/src/resources/types/ZambdaS3UploadResponse.ts +11 -0
- package/src/resources/types/ZambdaSchedule.ts +32 -0
- package/src/resources/types/ZambdaUpdateParams.ts +20 -0
- package/src/resources/types/ZambdaUpdateResponse.ts +7 -0
- package/src/resources/types/fhir.ts +75 -0
- package/src/resources/types/index.ts +160 -0
- package/turbo.json +13 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SDKResource } from '../../client/client.js';
|
|
2
|
+
|
|
3
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
4
|
+
class Rcm extends SDKResource {
|
|
5
|
+
constructor(config) {
|
|
6
|
+
super(config);
|
|
7
|
+
/**
|
|
8
|
+
* Check [Insurance Eligibility](https://docs.oystehr.com/services/rcm/eligibility/).
|
|
9
|
+
*
|
|
10
|
+
* Access Policy Action: `RCM:CheckInsuranceEligibility`
|
|
11
|
+
* Access Policy Resource: `RCM:InsuranceEligibility`
|
|
12
|
+
*
|
|
13
|
+
* nAccess Policy Action: `FHIR:Create`
|
|
14
|
+
* Access Policy Resource: `FHIR:CoverageEligibilityResponse`
|
|
15
|
+
*/
|
|
16
|
+
this.eligibilityCheck = (params, request) => this.request('/rcm/eligibility-check', 'post')(params, request);
|
|
17
|
+
/**
|
|
18
|
+
* Check [Validate Professional Claim](https://docs.oystehr.com/services/rcm/professional-claim-submission/).
|
|
19
|
+
*
|
|
20
|
+
* Access Policy Action: `RCM:ValidateProfessionalClaim`
|
|
21
|
+
* Access Policy Resource: `RCM:Claim`
|
|
22
|
+
*
|
|
23
|
+
* Access Policy Action: `FHIR:Create`
|
|
24
|
+
* Access Policy Resource: `FHIR:AuditEvent`
|
|
25
|
+
*/
|
|
26
|
+
this.validateProfessionalClaim = (params, request) => this.request('/rcm/professional-claim/validate', 'post')(params, request);
|
|
27
|
+
/**
|
|
28
|
+
* Check [Submit Professional Claim](https://docs.oystehr.com/services/rcm/professional-claim-submission/).
|
|
29
|
+
*
|
|
30
|
+
* Access Policy Action: `RCM:SubmitProfessionalClaim`
|
|
31
|
+
* Access Policy Resource: `RCM:Claim`
|
|
32
|
+
*
|
|
33
|
+
* Access Policy Action: `FHIR:Create`
|
|
34
|
+
* Access Policy Resource: `FHIR:AuditEvent`
|
|
35
|
+
*
|
|
36
|
+
* Access Policy Actions: `FHIR:Create, FHIR:Update`
|
|
37
|
+
* Access Policy Resource: `FHIR:Claim`
|
|
38
|
+
*/
|
|
39
|
+
this.submitProfessionalClaim = (params, request) => this.request('/rcm/professional-claim/submit', 'post')(params, request);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { Rcm };
|
|
44
|
+
//# sourceMappingURL=rcm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rcm.js","sources":["../../../../src/resources/classes/rcm.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n RcmEligibilityCheckParams,\n RcmEligibilityCheckResponse,\n RcmSubmitProfessionalClaimParams,\n RcmSubmitProfessionalClaimResponse,\n RcmValidateProfessionalClaimParams,\n RcmValidateProfessionalClaimResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Rcm extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Check [Insurance Eligibility](https://docs.oystehr.com/services/rcm/eligibility/).\n *\n * Access Policy Action: `RCM:CheckInsuranceEligibility`\n * Access Policy Resource: `RCM:InsuranceEligibility`\n *\n * nAccess Policy Action: `FHIR:Create`\n * Access Policy Resource: `FHIR:CoverageEligibilityResponse`\n */\n eligibilityCheck = (\n params: RcmEligibilityCheckParams,\n request?: OystehrClientRequest\n ): Promise<RcmEligibilityCheckResponse> => this.request('/rcm/eligibility-check', 'post')(params, request);\n /**\n * Check [Validate Professional Claim](https://docs.oystehr.com/services/rcm/professional-claim-submission/).\n *\n * Access Policy Action: `RCM:ValidateProfessionalClaim`\n * Access Policy Resource: `RCM:Claim`\n *\n * Access Policy Action: `FHIR:Create`\n * Access Policy Resource: `FHIR:AuditEvent`\n */\n validateProfessionalClaim = (\n params: RcmValidateProfessionalClaimParams,\n request?: OystehrClientRequest\n ): Promise<RcmValidateProfessionalClaimResponse> =>\n this.request('/rcm/professional-claim/validate', 'post')(params, request);\n /**\n * Check [Submit Professional Claim](https://docs.oystehr.com/services/rcm/professional-claim-submission/).\n *\n * Access Policy Action: `RCM:SubmitProfessionalClaim`\n * Access Policy Resource: `RCM:Claim`\n *\n * Access Policy Action: `FHIR:Create`\n * Access Policy Resource: `FHIR:AuditEvent`\n *\n * Access Policy Actions: `FHIR:Create, FHIR:Update`\n * Access Policy Resource: `FHIR:Claim`\n */\n submitProfessionalClaim = (\n params: RcmSubmitProfessionalClaimParams,\n request?: OystehrClientRequest\n ): Promise<RcmSubmitProfessionalClaimResponse> =>\n this.request('/rcm/professional-claim/submit', 'post')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAcM,MAAO,GAAI,SAAQ,WAAW,CAAA;AAClC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;;;;AAQG;QACH,IAAgB,CAAA,gBAAA,GAAG,CACjB,MAAiC,EACjC,OAA8B,KACW,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC3G;;;;;;;;AAQG;QACH,IAAyB,CAAA,yBAAA,GAAG,CAC1B,MAA0C,EAC1C,OAA8B,KAE9B,IAAI,CAAC,OAAO,CAAC,kCAAkC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC5E;;;;;;;;;;;AAWG;QACH,IAAuB,CAAA,uBAAA,GAAG,CACxB,MAAwC,EACxC,OAA8B,KAE9B,IAAI,CAAC,OAAO,CAAC,gCAAgC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KA5CzE;AA6CF;;;;"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { OystehrClientRequest, RoleCreateParams, RoleCreateResponse, RoleDeleteParams, RoleGetParams, RoleGetResponse, RoleListResponse, RoleUpdateParams, RoleUpdateResponse } from '../..';
|
|
2
|
+
import { SDKResource } from '../../client/client';
|
|
3
|
+
import { OystehrConfig } from '../../config';
|
|
4
|
+
export declare class Role extends SDKResource {
|
|
5
|
+
constructor(config: OystehrConfig);
|
|
6
|
+
/**
|
|
7
|
+
* Get a list of all Roles. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
8
|
+
*
|
|
9
|
+
* Access Policy Action: `IAM:ListAllRoles`
|
|
10
|
+
* Access Policy Resource: `IAM:Role`
|
|
11
|
+
*/
|
|
12
|
+
list: (request?: OystehrClientRequest) => Promise<RoleListResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Create a new Role. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
15
|
+
*
|
|
16
|
+
* Access Policy Action: `IAM:CreateRole`
|
|
17
|
+
* Access Policy Resource: `IAM:Role`
|
|
18
|
+
*/
|
|
19
|
+
create: (params: RoleCreateParams, request?: OystehrClientRequest) => Promise<RoleCreateResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
22
|
+
*
|
|
23
|
+
* Access Policy Action: `IAM:GetRole`
|
|
24
|
+
* Access Policy Resource: `IAM:Role`
|
|
25
|
+
*/
|
|
26
|
+
get: (params: RoleGetParams, request?: OystehrClientRequest) => Promise<RoleGetResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Update the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
29
|
+
*
|
|
30
|
+
* Access Policy Action: `IAM:UpdateRole`
|
|
31
|
+
* Access Policy Resource: `IAM:Role`
|
|
32
|
+
*/
|
|
33
|
+
update: (params: RoleUpdateParams, request?: OystehrClientRequest) => Promise<RoleUpdateResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Delete the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
36
|
+
*
|
|
37
|
+
* Access Policy Action: `IAM:DeleteRole`
|
|
38
|
+
* Access Policy Resource: `IAM:Role`
|
|
39
|
+
* Will fail if any entities hold the Role or if Role is assigned as the default patient role for the project
|
|
40
|
+
*/
|
|
41
|
+
delete: (params: RoleDeleteParams, request?: OystehrClientRequest) => Promise<void>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { SDKResource } from '../../client/client.js';
|
|
2
|
+
|
|
3
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
4
|
+
class Role extends SDKResource {
|
|
5
|
+
constructor(config) {
|
|
6
|
+
super(config);
|
|
7
|
+
/**
|
|
8
|
+
* Get a list of all Roles. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
9
|
+
*
|
|
10
|
+
* Access Policy Action: `IAM:ListAllRoles`
|
|
11
|
+
* Access Policy Resource: `IAM:Role`
|
|
12
|
+
*/
|
|
13
|
+
this.list = (request) => this.request('/iam/role', 'get')(request);
|
|
14
|
+
/**
|
|
15
|
+
* Create a new Role. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
16
|
+
*
|
|
17
|
+
* Access Policy Action: `IAM:CreateRole`
|
|
18
|
+
* Access Policy Resource: `IAM:Role`
|
|
19
|
+
*/
|
|
20
|
+
this.create = (params, request) => this.request('/iam/role', 'post')(params, request);
|
|
21
|
+
/**
|
|
22
|
+
* Get the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
23
|
+
*
|
|
24
|
+
* Access Policy Action: `IAM:GetRole`
|
|
25
|
+
* Access Policy Resource: `IAM:Role`
|
|
26
|
+
*/
|
|
27
|
+
this.get = (params, request) => this.request('/iam/role/{roleId}', 'get')(params, request);
|
|
28
|
+
/**
|
|
29
|
+
* Update the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
30
|
+
*
|
|
31
|
+
* Access Policy Action: `IAM:UpdateRole`
|
|
32
|
+
* Access Policy Resource: `IAM:Role`
|
|
33
|
+
*/
|
|
34
|
+
this.update = (params, request) => this.request('/iam/role/{roleId}', 'patch')(params, request);
|
|
35
|
+
/**
|
|
36
|
+
* Delete the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).
|
|
37
|
+
*
|
|
38
|
+
* Access Policy Action: `IAM:DeleteRole`
|
|
39
|
+
* Access Policy Resource: `IAM:Role`
|
|
40
|
+
* Will fail if any entities hold the Role or if Role is assigned as the default patient role for the project
|
|
41
|
+
*/
|
|
42
|
+
this.delete = (params, request) => this.request('/iam/role/{roleId}', 'delete')(params, request);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { Role };
|
|
47
|
+
//# sourceMappingURL=role.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.js","sources":["../../../../src/resources/classes/role.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n RoleCreateParams,\n RoleCreateResponse,\n RoleDeleteParams,\n RoleGetParams,\n RoleGetResponse,\n RoleListResponse,\n RoleUpdateParams,\n RoleUpdateResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Role extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get a list of all Roles. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).\n *\n * Access Policy Action: `IAM:ListAllRoles`\n * Access Policy Resource: `IAM:Role`\n */\n list = (request?: OystehrClientRequest): Promise<RoleListResponse> => this.request('/iam/role', 'get')(request);\n /**\n * Create a new Role. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).\n *\n * Access Policy Action: `IAM:CreateRole`\n * Access Policy Resource: `IAM:Role`\n */\n create = (params: RoleCreateParams, request?: OystehrClientRequest): Promise<RoleCreateResponse> =>\n this.request('/iam/role', 'post')(params, request);\n /**\n * Get the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).\n *\n * Access Policy Action: `IAM:GetRole`\n * Access Policy Resource: `IAM:Role`\n */\n get = (params: RoleGetParams, request?: OystehrClientRequest): Promise<RoleGetResponse> =>\n this.request('/iam/role/{roleId}', 'get')(params, request);\n /**\n * Update the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).\n *\n * Access Policy Action: `IAM:UpdateRole`\n * Access Policy Resource: `IAM:Role`\n */\n update = (params: RoleUpdateParams, request?: OystehrClientRequest): Promise<RoleUpdateResponse> =>\n this.request('/iam/role/{roleId}', 'patch')(params, request);\n /**\n * Delete the Role with the provided ID. A [Role](https://docs.oystehr.com/services/iam/roles/) defines an access policy that can be assigned to any number of [Developers](https://docs.oystehr.com/services/iam/developers/), [Users](https://docs.oystehr.com/services/app/users/), and [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients/).\n *\n * Access Policy Action: `IAM:DeleteRole`\n * Access Policy Resource: `IAM:Role`\n * Will fail if any entities hold the Role or if Role is assigned as the default patient role for the project\n */\n delete = (params: RoleDeleteParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/iam/role/{roleId}', 'delete')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAgBM,MAAO,IAAK,SAAQ,WAAW,CAAA;AACnC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;AAKG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,CAAC,OAA8B,KAAgC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAChH;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAwB,EAAE,OAA8B,KAChE,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACrD;;;;;AAKG;QACH,IAAG,CAAA,GAAA,GAAG,CAAC,MAAqB,EAAE,OAA8B,KAC1D,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC7D;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAwB,EAAE,OAA8B,KAChE,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC/D;;;;;;AAMG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAwB,EAAE,OAA8B,KAChE,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAxC/D;AAyCF;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OystehrClientRequest, SecretDeleteParams, SecretGetParams, SecretGetResponse, SecretListResponse, SecretSetParams, SecretSetResponse } from '../..';
|
|
2
|
+
import { SDKResource } from '../../client/client';
|
|
3
|
+
import { OystehrConfig } from '../../config';
|
|
4
|
+
export declare class Secret extends SDKResource {
|
|
5
|
+
constructor(config: OystehrConfig);
|
|
6
|
+
/**
|
|
7
|
+
* Get a list of all secrets in the Project.
|
|
8
|
+
*
|
|
9
|
+
* Access Policy Action: `Zambda:ListAllSecrets`
|
|
10
|
+
* Access Policy Resource: `Zambda:Secret`
|
|
11
|
+
*/
|
|
12
|
+
list: (request?: OystehrClientRequest) => Promise<SecretListResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Create a secret for a project. If the secret is already defined, update it.
|
|
15
|
+
*
|
|
16
|
+
* Access Policy Action: `Zambda:CreateSecret`
|
|
17
|
+
* Access Policy Resource: `Zambda:Secret`
|
|
18
|
+
*/
|
|
19
|
+
set: (params: SecretSetParams, request?: OystehrClientRequest) => Promise<SecretSetResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get the secret with the provided name.
|
|
22
|
+
*
|
|
23
|
+
* Access Policy Action: `Zambda:GetSecret`
|
|
24
|
+
* Access Policy Resource: `Zambda:Secret`
|
|
25
|
+
*/
|
|
26
|
+
get: (params: SecretGetParams, request?: OystehrClientRequest) => Promise<SecretGetResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete the secret with the provided name.
|
|
29
|
+
*
|
|
30
|
+
* Access Policy Action: `Zambda:DeleteSecret`
|
|
31
|
+
* Access Policy Resource: `Zambda:Secret`
|
|
32
|
+
*/
|
|
33
|
+
delete: (params: SecretDeleteParams, request?: OystehrClientRequest) => Promise<void>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SDKResource } from '../../client/client.js';
|
|
2
|
+
|
|
3
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
4
|
+
class Secret extends SDKResource {
|
|
5
|
+
constructor(config) {
|
|
6
|
+
super(config);
|
|
7
|
+
/**
|
|
8
|
+
* Get a list of all secrets in the Project.
|
|
9
|
+
*
|
|
10
|
+
* Access Policy Action: `Zambda:ListAllSecrets`
|
|
11
|
+
* Access Policy Resource: `Zambda:Secret`
|
|
12
|
+
*/
|
|
13
|
+
this.list = (request) => this.request('/secret', 'get')(request);
|
|
14
|
+
/**
|
|
15
|
+
* Create a secret for a project. If the secret is already defined, update it.
|
|
16
|
+
*
|
|
17
|
+
* Access Policy Action: `Zambda:CreateSecret`
|
|
18
|
+
* Access Policy Resource: `Zambda:Secret`
|
|
19
|
+
*/
|
|
20
|
+
this.set = (params, request) => this.request('/secret', 'post')(params, request);
|
|
21
|
+
/**
|
|
22
|
+
* Get the secret with the provided name.
|
|
23
|
+
*
|
|
24
|
+
* Access Policy Action: `Zambda:GetSecret`
|
|
25
|
+
* Access Policy Resource: `Zambda:Secret`
|
|
26
|
+
*/
|
|
27
|
+
this.get = (params, request) => this.request('/secret/{name}', 'get')(params, request);
|
|
28
|
+
/**
|
|
29
|
+
* Delete the secret with the provided name.
|
|
30
|
+
*
|
|
31
|
+
* Access Policy Action: `Zambda:DeleteSecret`
|
|
32
|
+
* Access Policy Resource: `Zambda:Secret`
|
|
33
|
+
*/
|
|
34
|
+
this.delete = (params, request) => this.request('/secret/{name}', 'delete')(params, request);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { Secret };
|
|
39
|
+
//# sourceMappingURL=secret.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret.js","sources":["../../../../src/resources/classes/secret.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n SecretDeleteParams,\n SecretGetParams,\n SecretGetResponse,\n SecretListResponse,\n SecretSetParams,\n SecretSetResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Secret extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get a list of all secrets in the Project.\n *\n * Access Policy Action: `Zambda:ListAllSecrets`\n * Access Policy Resource: `Zambda:Secret`\n */\n list = (request?: OystehrClientRequest): Promise<SecretListResponse> => this.request('/secret', 'get')(request);\n /**\n * Create a secret for a project. If the secret is already defined, update it.\n *\n * Access Policy Action: `Zambda:CreateSecret`\n * Access Policy Resource: `Zambda:Secret`\n */\n set = (params: SecretSetParams, request?: OystehrClientRequest): Promise<SecretSetResponse> =>\n this.request('/secret', 'post')(params, request);\n /**\n * Get the secret with the provided name.\n *\n * Access Policy Action: `Zambda:GetSecret`\n * Access Policy Resource: `Zambda:Secret`\n */\n get = (params: SecretGetParams, request?: OystehrClientRequest): Promise<SecretGetResponse> =>\n this.request('/secret/{name}', 'get')(params, request);\n /**\n * Delete the secret with the provided name.\n *\n * Access Policy Action: `Zambda:DeleteSecret`\n * Access Policy Resource: `Zambda:Secret`\n */\n delete = (params: SecretDeleteParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/secret/{name}', 'delete')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAcM,MAAO,MAAO,SAAQ,WAAW,CAAA;AACrC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;AAKG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,CAAC,OAA8B,KAAkC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAChH;;;;;AAKG;QACH,IAAG,CAAA,GAAA,GAAG,CAAC,MAAuB,EAAE,OAA8B,KAC5D,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACnD;;;;;AAKG;QACH,IAAG,CAAA,GAAA,GAAG,CAAC,MAAuB,EAAE,OAA8B,KAC5D,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACzD;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAA0B,EAAE,OAA8B,KAClE,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KA/B3D;AAgCF;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OystehrClientRequest, TelemedCreateMeetingParams, TelemedCreateMeetingResponse, TelemedJoinMeetingParams, TelemedJoinMeetingResponse } from '../..';
|
|
2
|
+
import { SDKResource } from '../../client/client';
|
|
3
|
+
import { OystehrConfig } from '../../config';
|
|
4
|
+
export declare class Telemed extends SDKResource {
|
|
5
|
+
constructor(config: OystehrConfig);
|
|
6
|
+
/**
|
|
7
|
+
* Create a [telemedicine video meeting](https://docs.oystehr.com/services/telemed/).
|
|
8
|
+
*
|
|
9
|
+
* Access Policy Requirements:
|
|
10
|
+
* Action: `Telemed:CreateMeeting`
|
|
11
|
+
* Access Policy Resource: `Telemed:Meeting`
|
|
12
|
+
* Action: `FHIR:Create`
|
|
13
|
+
* Access Policy Resource: `FHIR:Encounter`
|
|
14
|
+
* Action: `FHIR:Update`
|
|
15
|
+
* Access Policy Resource: `FHIR:Encounter`
|
|
16
|
+
*/
|
|
17
|
+
createMeeting: (params: TelemedCreateMeetingParams, request?: OystehrClientRequest) => Promise<TelemedCreateMeetingResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Get Meeting and Attendee objects necessary to join a telemedicine video meeting.
|
|
20
|
+
*
|
|
21
|
+
* Access Policy Requirements:
|
|
22
|
+
* Action: `Telemed:JoinMeeting`
|
|
23
|
+
* Access Policy Resource: `Telemed:Meeting`
|
|
24
|
+
* To use M2M token to join as anonymous user:
|
|
25
|
+
* Action: `Telemed:AddAnonymousToMeeting`
|
|
26
|
+
* Access Policy Resource: `Telemed:Meeting`
|
|
27
|
+
*/
|
|
28
|
+
joinMeeting: (params: TelemedJoinMeetingParams, request?: OystehrClientRequest) => Promise<TelemedJoinMeetingResponse>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SDKResource } from '../../client/client.js';
|
|
2
|
+
|
|
3
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
4
|
+
class Telemed extends SDKResource {
|
|
5
|
+
constructor(config) {
|
|
6
|
+
super(config);
|
|
7
|
+
/**
|
|
8
|
+
* Create a [telemedicine video meeting](https://docs.oystehr.com/services/telemed/).
|
|
9
|
+
*
|
|
10
|
+
* Access Policy Requirements:
|
|
11
|
+
* Action: `Telemed:CreateMeeting`
|
|
12
|
+
* Access Policy Resource: `Telemed:Meeting`
|
|
13
|
+
* Action: `FHIR:Create`
|
|
14
|
+
* Access Policy Resource: `FHIR:Encounter`
|
|
15
|
+
* Action: `FHIR:Update`
|
|
16
|
+
* Access Policy Resource: `FHIR:Encounter`
|
|
17
|
+
*/
|
|
18
|
+
this.createMeeting = (params, request) => this.request('/telemed/v2/meeting', 'post')(params, request);
|
|
19
|
+
/**
|
|
20
|
+
* Get Meeting and Attendee objects necessary to join a telemedicine video meeting.
|
|
21
|
+
*
|
|
22
|
+
* Access Policy Requirements:
|
|
23
|
+
* Action: `Telemed:JoinMeeting`
|
|
24
|
+
* Access Policy Resource: `Telemed:Meeting`
|
|
25
|
+
* To use M2M token to join as anonymous user:
|
|
26
|
+
* Action: `Telemed:AddAnonymousToMeeting`
|
|
27
|
+
* Access Policy Resource: `Telemed:Meeting`
|
|
28
|
+
*/
|
|
29
|
+
this.joinMeeting = (params, request) => this.request('/telemed/v2/meeting/{encounterId}/join', 'get')(params, request);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { Telemed };
|
|
34
|
+
//# sourceMappingURL=telemed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"telemed.js","sources":["../../../../src/resources/classes/telemed.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n TelemedCreateMeetingParams,\n TelemedCreateMeetingResponse,\n TelemedJoinMeetingParams,\n TelemedJoinMeetingResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Telemed extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Create a [telemedicine video meeting](https://docs.oystehr.com/services/telemed/).\n *\n * Access Policy Requirements:\n * Action: `Telemed:CreateMeeting`\n * Access Policy Resource: `Telemed:Meeting`\n * Action: `FHIR:Create`\n * Access Policy Resource: `FHIR:Encounter`\n * Action: `FHIR:Update`\n * Access Policy Resource: `FHIR:Encounter`\n */\n createMeeting = (\n params: TelemedCreateMeetingParams,\n request?: OystehrClientRequest\n ): Promise<TelemedCreateMeetingResponse> => this.request('/telemed/v2/meeting', 'post')(params, request);\n /**\n * Get Meeting and Attendee objects necessary to join a telemedicine video meeting.\n *\n * Access Policy Requirements:\n * Action: `Telemed:JoinMeeting`\n * Access Policy Resource: `Telemed:Meeting`\n * To use M2M token to join as anonymous user:\n * Action: `Telemed:AddAnonymousToMeeting`\n * Access Policy Resource: `Telemed:Meeting`\n */\n joinMeeting = (\n params: TelemedJoinMeetingParams,\n request?: OystehrClientRequest\n ): Promise<TelemedJoinMeetingResponse> =>\n this.request('/telemed/v2/meeting/{encounterId}/join', 'get')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAYM,MAAO,OAAQ,SAAQ,WAAW,CAAA;AACtC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;;;;;;AAUG;QACH,IAAa,CAAA,aAAA,GAAG,CACd,MAAkC,EAClC,OAA8B,KACY,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACzG;;;;;;;;;AASG;QACH,IAAW,CAAA,WAAA,GAAG,CACZ,MAAgC,EAChC,OAA8B,KAE9B,IAAI,CAAC,OAAO,CAAC,wCAAwC,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KA9BhF;AA+BF;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OystehrClientRequest, TransactionalSMSSendParams, TransactionalSMSSendResponse } from '../..';
|
|
2
|
+
import { SDKResource } from '../../client/client';
|
|
3
|
+
import { OystehrConfig } from '../../config';
|
|
4
|
+
export declare class TransactionalSMS extends SDKResource {
|
|
5
|
+
constructor(config: OystehrConfig);
|
|
6
|
+
/**
|
|
7
|
+
* Send an SMS to any phone number. Oystehr's [Transactional SMS](https://docs.oystehr.com/services/messaging/transactional-sms/) feature makes it easy to send a text message to your [Users](https://docs.oystehr.com/services/app/users/) with a single API call. You can use this feature to send appointment reminders, prescription refill reminders, discharge information, and more.
|
|
8
|
+
*
|
|
9
|
+
* Access Policy Requirements:
|
|
10
|
+
* Action: `Messaging:SendTransactionalSMS`
|
|
11
|
+
* Access Policy Resource: `Messaging:TransactionalSMS`
|
|
12
|
+
* Action: `FHIR:Create`
|
|
13
|
+
* Access Policy Resource: `FHIR:Communication`
|
|
14
|
+
* Action: `FHIR:Update`
|
|
15
|
+
* Access Policy Resource: `FHIR:Communication`
|
|
16
|
+
*
|
|
17
|
+
* You also need Read access for the resource to which you are sending a message. For example:
|
|
18
|
+
* Action: `FHIR:Read`
|
|
19
|
+
* Access Policy Resource: `FHIR:Patient`
|
|
20
|
+
*/
|
|
21
|
+
send: (params: TransactionalSMSSendParams, request?: OystehrClientRequest) => Promise<TransactionalSMSSendResponse>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SDKResource } from '../../client/client.js';
|
|
2
|
+
|
|
3
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
4
|
+
class TransactionalSMS extends SDKResource {
|
|
5
|
+
constructor(config) {
|
|
6
|
+
super(config);
|
|
7
|
+
/**
|
|
8
|
+
* Send an SMS to any phone number. Oystehr's [Transactional SMS](https://docs.oystehr.com/services/messaging/transactional-sms/) feature makes it easy to send a text message to your [Users](https://docs.oystehr.com/services/app/users/) with a single API call. You can use this feature to send appointment reminders, prescription refill reminders, discharge information, and more.
|
|
9
|
+
*
|
|
10
|
+
* Access Policy Requirements:
|
|
11
|
+
* Action: `Messaging:SendTransactionalSMS`
|
|
12
|
+
* Access Policy Resource: `Messaging:TransactionalSMS`
|
|
13
|
+
* Action: `FHIR:Create`
|
|
14
|
+
* Access Policy Resource: `FHIR:Communication`
|
|
15
|
+
* Action: `FHIR:Update`
|
|
16
|
+
* Access Policy Resource: `FHIR:Communication`
|
|
17
|
+
*
|
|
18
|
+
* You also need Read access for the resource to which you are sending a message. For example:
|
|
19
|
+
* Action: `FHIR:Read`
|
|
20
|
+
* Access Policy Resource: `FHIR:Patient`
|
|
21
|
+
*/
|
|
22
|
+
this.send = (params, request) => this.request('/messaging/transactional-sms/send', 'post')(params, request);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { TransactionalSMS };
|
|
27
|
+
//# sourceMappingURL=transactionalSMS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactionalSMS.js","sources":["../../../../src/resources/classes/transactionalSMS.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { OystehrClientRequest, TransactionalSMSSendParams, TransactionalSMSSendResponse } from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class TransactionalSMS extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Send an SMS to any phone number. Oystehr's [Transactional SMS](https://docs.oystehr.com/services/messaging/transactional-sms/) feature makes it easy to send a text message to your [Users](https://docs.oystehr.com/services/app/users/) with a single API call. You can use this feature to send appointment reminders, prescription refill reminders, discharge information, and more.\n *\n * Access Policy Requirements:\n * Action: `Messaging:SendTransactionalSMS`\n * Access Policy Resource: `Messaging:TransactionalSMS`\n * Action: `FHIR:Create`\n * Access Policy Resource: `FHIR:Communication`\n * Action: `FHIR:Update`\n * Access Policy Resource: `FHIR:Communication`\n *\n * You also need Read access for the resource to which you are sending a message. For example:\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Patient`\n */\n send = (params: TransactionalSMSSendParams, request?: OystehrClientRequest): Promise<TransactionalSMSSendResponse> =>\n this.request('/messaging/transactional-sms/send', 'post')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAMM,MAAO,gBAAiB,SAAQ,WAAW,CAAA;AAC/C,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;;;;;;;;;;AAcG;QACH,IAAI,CAAA,IAAA,GAAG,CAAC,MAAkC,EAAE,OAA8B,KACxE,IAAI,CAAC,OAAO,CAAC,mCAAmC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAjB5E;AAkBF;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { OystehrClientRequest, UserDeleteParams, UserGetParams, UserGetResponse, UserInviteParams, UserInviteResponse, UserListResponse, UserListV2Params, UserListV2Response, UserMeResponse, UserUpdateParams, UserUpdateResponse } from '../..';
|
|
2
|
+
import { SDKResource } from '../../client/client';
|
|
3
|
+
import { OystehrConfig } from '../../config';
|
|
4
|
+
export declare class User extends SDKResource {
|
|
5
|
+
constructor(config: OystehrConfig);
|
|
6
|
+
/**
|
|
7
|
+
* Get your own User details. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
8
|
+
*
|
|
9
|
+
* Fetch details about the calling User. This endpoint has no access policy requirements, it is available to all authenticated Users.
|
|
10
|
+
*/
|
|
11
|
+
me: (request?: OystehrClientRequest) => Promise<UserMeResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
14
|
+
*
|
|
15
|
+
* Access Policy Action: `App:GetUser`
|
|
16
|
+
* Access Policy Resource: `App:User`
|
|
17
|
+
*/
|
|
18
|
+
get: (params: UserGetParams, request?: OystehrClientRequest) => Promise<UserGetResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Update the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
21
|
+
*
|
|
22
|
+
* Access Policy Action: `App:UpdateUser`
|
|
23
|
+
* Access Policy Resource: `App:User`
|
|
24
|
+
*/
|
|
25
|
+
update: (params: UserUpdateParams, request?: OystehrClientRequest) => Promise<UserUpdateResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Delete the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
28
|
+
*
|
|
29
|
+
* Access Policy Action: `App:DeleteUser`
|
|
30
|
+
* Access Policy Resource: `App:User`
|
|
31
|
+
*/
|
|
32
|
+
delete: (params: UserDeleteParams, request?: OystehrClientRequest) => Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Invite a User to the Project. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
35
|
+
*
|
|
36
|
+
* Access Policy Action: `App:CreateUser`
|
|
37
|
+
* Access Policy Resource: `App:User`
|
|
38
|
+
*/
|
|
39
|
+
invite: (params: UserInviteParams, request?: OystehrClientRequest) => Promise<UserInviteResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* DEPRECATED. Please use [v2/list](https://api-reference.oystehr.com/reference/get_user-v2-list) instead.
|
|
42
|
+
*
|
|
43
|
+
* Get all Users in the Project. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
44
|
+
*
|
|
45
|
+
* Access Policy Action: `App:ListAllUsers`
|
|
46
|
+
* Access Policy Resource: `App:User`
|
|
47
|
+
*/
|
|
48
|
+
list: (request?: OystehrClientRequest) => Promise<UserListResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Get Users in the Project with pagination, sort, sort Order and filtering. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
51
|
+
*
|
|
52
|
+
* Access Policy Action: `Project:ListAllUsers`
|
|
53
|
+
* Access Policy Resource: `Project:Settings`
|
|
54
|
+
*/
|
|
55
|
+
listV2: (params: UserListV2Params, request?: OystehrClientRequest) => Promise<UserListV2Response>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { SDKResource } from '../../client/client.js';
|
|
2
|
+
|
|
3
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
4
|
+
class User extends SDKResource {
|
|
5
|
+
constructor(config) {
|
|
6
|
+
super(config);
|
|
7
|
+
/**
|
|
8
|
+
* Get your own User details. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
9
|
+
*
|
|
10
|
+
* Fetch details about the calling User. This endpoint has no access policy requirements, it is available to all authenticated Users.
|
|
11
|
+
*/
|
|
12
|
+
this.me = (request) => this.request('/user/me', 'get')(request);
|
|
13
|
+
/**
|
|
14
|
+
* Get the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
15
|
+
*
|
|
16
|
+
* Access Policy Action: `App:GetUser`
|
|
17
|
+
* Access Policy Resource: `App:User`
|
|
18
|
+
*/
|
|
19
|
+
this.get = (params, request) => this.request('/user/{id}', 'get')(params, request);
|
|
20
|
+
/**
|
|
21
|
+
* Update the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
22
|
+
*
|
|
23
|
+
* Access Policy Action: `App:UpdateUser`
|
|
24
|
+
* Access Policy Resource: `App:User`
|
|
25
|
+
*/
|
|
26
|
+
this.update = (params, request) => this.request('/user/{id}', 'patch')(params, request);
|
|
27
|
+
/**
|
|
28
|
+
* Delete the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
29
|
+
*
|
|
30
|
+
* Access Policy Action: `App:DeleteUser`
|
|
31
|
+
* Access Policy Resource: `App:User`
|
|
32
|
+
*/
|
|
33
|
+
this.delete = (params, request) => this.request('/user/{id}', 'delete')(params, request);
|
|
34
|
+
/**
|
|
35
|
+
* Invite a User to the Project. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
36
|
+
*
|
|
37
|
+
* Access Policy Action: `App:CreateUser`
|
|
38
|
+
* Access Policy Resource: `App:User`
|
|
39
|
+
*/
|
|
40
|
+
this.invite = (params, request) => this.request('/user/invite', 'post')(params, request);
|
|
41
|
+
/**
|
|
42
|
+
* DEPRECATED. Please use [v2/list](https://api-reference.oystehr.com/reference/get_user-v2-list) instead.
|
|
43
|
+
*
|
|
44
|
+
* Get all Users in the Project. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
45
|
+
*
|
|
46
|
+
* Access Policy Action: `App:ListAllUsers`
|
|
47
|
+
* Access Policy Resource: `App:User`
|
|
48
|
+
*/
|
|
49
|
+
this.list = (request) => this.request('/user', 'get')(request);
|
|
50
|
+
/**
|
|
51
|
+
* Get Users in the Project with pagination, sort, sort Order and filtering. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.
|
|
52
|
+
*
|
|
53
|
+
* Access Policy Action: `Project:ListAllUsers`
|
|
54
|
+
* Access Policy Resource: `Project:Settings`
|
|
55
|
+
*/
|
|
56
|
+
this.listV2 = (params, request) => this.request('/user/v2/list', 'get')(params, request);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { User };
|
|
61
|
+
//# sourceMappingURL=user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sources":["../../../../src/resources/classes/user.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n UserDeleteParams,\n UserGetParams,\n UserGetResponse,\n UserInviteParams,\n UserInviteResponse,\n UserListResponse,\n UserListV2Params,\n UserListV2Response,\n UserMeResponse,\n UserUpdateParams,\n UserUpdateResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class User extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get your own User details. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.\n *\n * Fetch details about the calling User. This endpoint has no access policy requirements, it is available to all authenticated Users.\n */\n me = (request?: OystehrClientRequest): Promise<UserMeResponse> => this.request('/user/me', 'get')(request);\n /**\n * Get the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.\n *\n * Access Policy Action: `App:GetUser`\n * Access Policy Resource: `App:User`\n */\n get = (params: UserGetParams, request?: OystehrClientRequest): Promise<UserGetResponse> =>\n this.request('/user/{id}', 'get')(params, request);\n /**\n * Update the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.\n *\n * Access Policy Action: `App:UpdateUser`\n * Access Policy Resource: `App:User`\n */\n update = (params: UserUpdateParams, request?: OystehrClientRequest): Promise<UserUpdateResponse> =>\n this.request('/user/{id}', 'patch')(params, request);\n /**\n * Delete the User with the provided ID. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.\n *\n * Access Policy Action: `App:DeleteUser`\n * Access Policy Resource: `App:User`\n */\n delete = (params: UserDeleteParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/user/{id}', 'delete')(params, request);\n /**\n * Invite a User to the Project. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.\n *\n * Access Policy Action: `App:CreateUser`\n * Access Policy Resource: `App:User`\n */\n invite = (params: UserInviteParams, request?: OystehrClientRequest): Promise<UserInviteResponse> =>\n this.request('/user/invite', 'post')(params, request);\n /**\n * DEPRECATED. Please use [v2/list](https://api-reference.oystehr.com/reference/get_user-v2-list) instead.\n *\n * Get all Users in the Project. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.\n *\n * Access Policy Action: `App:ListAllUsers`\n * Access Policy Resource: `App:User`\n */\n list = (request?: OystehrClientRequest): Promise<UserListResponse> => this.request('/user', 'get')(request);\n /**\n * Get Users in the Project with pagination, sort, sort Order and filtering. [Users](https://docs.oystehr.com/services/app/users/) are the people who log into the [Applications](https://docs.oystehr.com/services/app/applications/) you configure for securing the apps you build on top of Oystehr.\n *\n * Access Policy Action: `Project:ListAllUsers`\n * Access Policy Resource: `Project:Settings`\n */\n listV2 = (params: UserListV2Params, request?: OystehrClientRequest): Promise<UserListV2Response> =>\n this.request('/user/v2/list', 'get')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAmBM,MAAO,IAAK,SAAQ,WAAW,CAAA;AACnC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;AAIG;AACH,QAAA,IAAA,CAAA,EAAE,GAAG,CAAC,OAA8B,KAA8B,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAC3G;;;;;AAKG;QACH,IAAG,CAAA,GAAA,GAAG,CAAC,MAAqB,EAAE,OAA8B,KAC1D,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACrD;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAwB,EAAE,OAA8B,KAChE,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACvD;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAwB,EAAE,OAA8B,KAChE,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACxD;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAwB,EAAE,OAA8B,KAChE,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACxD;;;;;;;AAOG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,CAAC,OAA8B,KAAgC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAC5G;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAwB,EAAE,OAA8B,KAChE,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAvDvD;AAwDF;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OystehrClientRequest, VersionGetResponse } from '../..';
|
|
2
|
+
import { SDKResource } from '../../client/client';
|
|
3
|
+
import { OystehrConfig } from '../../config';
|
|
4
|
+
export declare class Version extends SDKResource {
|
|
5
|
+
constructor(config: OystehrConfig);
|
|
6
|
+
/**
|
|
7
|
+
* Get project API version. This endpoint is public so there are no access policy requirements.
|
|
8
|
+
*/
|
|
9
|
+
get: (request?: OystehrClientRequest) => Promise<VersionGetResponse>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SDKResource } from '../../client/client.js';
|
|
2
|
+
|
|
3
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
4
|
+
class Version extends SDKResource {
|
|
5
|
+
constructor(config) {
|
|
6
|
+
super(config);
|
|
7
|
+
/**
|
|
8
|
+
* Get project API version. This endpoint is public so there are no access policy requirements.
|
|
9
|
+
*/
|
|
10
|
+
this.get = (request) => this.request('/version', 'get')(request);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { Version };
|
|
15
|
+
//# sourceMappingURL=version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../../src/resources/classes/version.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { OystehrClientRequest, VersionGetResponse } from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Version extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get project API version. This endpoint is public so there are no access policy requirements.\n */\n get = (request?: OystehrClientRequest): Promise<VersionGetResponse> => this.request('/version', 'get')(request);\n}\n"],"names":[],"mappings":";;AAAA;AAMM,MAAO,OAAQ,SAAQ,WAAW,CAAA;AACtC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;AAEG;AACH,QAAA,IAAA,CAAA,GAAG,GAAG,CAAC,OAA8B,KAAkC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;KAJ/G;AAKF;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SDKResource } from '../../client/client';
|
|
2
|
+
export declare function uploadFile(this: SDKResource, { bucketName, 'objectPath+': key, file, }: {
|
|
3
|
+
bucketName: string;
|
|
4
|
+
'objectPath+': string;
|
|
5
|
+
file: Blob;
|
|
6
|
+
}): Promise<void>;
|
|
7
|
+
export declare function downloadFile(this: SDKResource, { bucketName, 'objectPath+': key, }: {
|
|
8
|
+
bucketName: string;
|
|
9
|
+
'objectPath+': string;
|
|
10
|
+
}): Promise<ArrayBuffer>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
|
|
3
|
+
function uploadFile({ bucketName, 'objectPath+': key, file, }) {
|
|
4
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5
|
+
const uploadUrl = yield this.request('/z3/{bucketName}/{objectPath+}', 'post')({
|
|
6
|
+
action: 'upload',
|
|
7
|
+
bucketName,
|
|
8
|
+
'objectPath+': key,
|
|
9
|
+
});
|
|
10
|
+
yield fetch(uploadUrl.signedUrl, {
|
|
11
|
+
method: 'PUT',
|
|
12
|
+
body: file,
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function downloadFile({ bucketName, 'objectPath+': key, }) {
|
|
17
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18
|
+
const uploadUrl = yield this.request('/z3/{bucketName}/{objectPath+}', 'post')({
|
|
19
|
+
action: 'download',
|
|
20
|
+
bucketName,
|
|
21
|
+
'objectPath+': key,
|
|
22
|
+
});
|
|
23
|
+
const resp = yield fetch(uploadUrl.signedUrl, {
|
|
24
|
+
method: 'GET',
|
|
25
|
+
});
|
|
26
|
+
if (!resp.ok) {
|
|
27
|
+
throw new Error('Failed to download file');
|
|
28
|
+
}
|
|
29
|
+
return resp.arrayBuffer();
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { downloadFile, uploadFile };
|
|
34
|
+
//# sourceMappingURL=z3-ext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z3-ext.js","sources":["../../../../src/resources/classes/z3-ext.ts"],"sourcesContent":["import { SDKResource } from '../../client/client';\n\nexport async function uploadFile(\n this: SDKResource,\n {\n bucketName,\n 'objectPath+': key,\n file,\n }: {\n bucketName: string;\n 'objectPath+': string;\n file: Blob;\n }\n): Promise<void> {\n const uploadUrl = await this.request(\n '/z3/{bucketName}/{objectPath+}',\n 'post'\n )({\n action: 'upload',\n bucketName,\n 'objectPath+': key,\n });\n await fetch(uploadUrl.signedUrl, {\n method: 'PUT',\n body: file,\n });\n}\n\nexport async function downloadFile(\n this: SDKResource,\n {\n bucketName,\n 'objectPath+': key,\n }: {\n bucketName: string;\n 'objectPath+': string;\n }\n): Promise<ArrayBuffer> {\n const uploadUrl = await this.request(\n '/z3/{bucketName}/{objectPath+}',\n 'post'\n )({\n action: 'download',\n bucketName,\n 'objectPath+': key,\n });\n const resp = await fetch(uploadUrl.signedUrl, {\n method: 'GET',\n });\n if (!resp.ok) {\n throw new Error('Failed to download file');\n }\n return resp.arrayBuffer();\n}\n"],"names":[],"mappings":";;AAEM,SAAgB,UAAU,CAE9B,EACE,UAAU,EACV,aAAa,EAAE,GAAG,EAClB,IAAI,GAKL,EAAA;;QAED,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,OAAO,CAClC,gCAAgC,EAChC,MAAM,CACP,CAAC;AACA,YAAA,MAAM,EAAE,QAAQ;YAChB,UAAU;AACV,YAAA,aAAa,EAAE,GAAG;AACnB,SAAA,CAAC,CAAC;AACH,QAAA,MAAM,KAAK,CAAC,SAAS,CAAC,SAAS,EAAE;AAC/B,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,IAAI,EAAE,IAAI;AACX,SAAA,CAAC,CAAC;KACJ,CAAA,CAAA;AAAA,CAAA;AAEK,SAAgB,YAAY,CAEhC,EACE,UAAU,EACV,aAAa,EAAE,GAAG,GAInB,EAAA;;QAED,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,OAAO,CAClC,gCAAgC,EAChC,MAAM,CACP,CAAC;AACA,YAAA,MAAM,EAAE,UAAU;YAClB,UAAU;AACV,YAAA,aAAa,EAAE,GAAG;AACnB,SAAA,CAAC,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,SAAS,CAAC,SAAS,EAAE;AAC5C,YAAA,MAAM,EAAE,KAAK;AACd,SAAA,CAAC,CAAC;AACH,QAAA,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;AACZ,YAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAC5C,SAAA;AACD,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;KAC3B,CAAA,CAAA;AAAA;;;;"}
|