@oystehr/sdk 3.0.4 → 3.0.6

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.
Files changed (162) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/config.d.ts +8 -0
  3. package/dist/cjs/index.cjs +856 -642
  4. package/dist/cjs/index.cjs.map +1 -1
  5. package/dist/cjs/index.min.cjs +1 -1
  6. package/dist/cjs/index.min.cjs.map +1 -1
  7. package/dist/cjs/resources/classes/application.d.ts +8 -8
  8. package/dist/cjs/resources/classes/charge.d.ts +2 -2
  9. package/dist/cjs/resources/classes/conversation.d.ts +5 -5
  10. package/dist/cjs/resources/classes/developer.d.ts +6 -6
  11. package/dist/cjs/resources/classes/erx.d.ts +13 -5
  12. package/dist/cjs/resources/classes/fax.d.ts +30 -0
  13. package/dist/cjs/resources/classes/index.d.ts +2 -0
  14. package/dist/cjs/resources/classes/m2m.d.ts +7 -7
  15. package/dist/cjs/resources/classes/messaging.d.ts +1 -1
  16. package/dist/cjs/resources/classes/paymentMethod.d.ts +4 -4
  17. package/dist/cjs/resources/classes/project.d.ts +2 -2
  18. package/dist/cjs/resources/classes/rcm.d.ts +4 -4
  19. package/dist/cjs/resources/classes/role.d.ts +5 -5
  20. package/dist/cjs/resources/classes/secret.d.ts +4 -4
  21. package/dist/cjs/resources/classes/telemed.d.ts +2 -2
  22. package/dist/cjs/resources/classes/transactionalSMS.d.ts +1 -1
  23. package/dist/cjs/resources/classes/user.d.ts +7 -7
  24. package/dist/cjs/resources/classes/version.d.ts +1 -1
  25. package/dist/cjs/resources/classes/z3.d.ts +7 -7
  26. package/dist/cjs/resources/classes/zambda.d.ts +8 -8
  27. package/dist/cjs/resources/classes/zambdaLogStream.d.ts +3 -3
  28. package/dist/cjs/resources/types/ConversationAddParticipantParams.d.ts +1 -1
  29. package/dist/cjs/resources/types/ConversationCreateResponse.d.ts +1 -1
  30. package/dist/cjs/resources/types/ConversationRemoveParticipantParams.d.ts +1 -1
  31. package/dist/cjs/resources/types/ErxCancelOrderParams.d.ts +6 -0
  32. package/dist/cjs/resources/types/ErxCancelOrderResponse.d.ts +6 -0
  33. package/dist/cjs/resources/types/ErxCancelPrescriptionParams.d.ts +6 -0
  34. package/dist/cjs/resources/types/ErxCancelPrescriptionResponse.d.ts +6 -0
  35. package/dist/cjs/resources/types/FaxSendParams.d.ts +18 -0
  36. package/dist/cjs/resources/types/FaxSendResponse.d.ts +10 -0
  37. package/dist/cjs/resources/types/TelemedCreateMeetingParams.d.ts +1 -1
  38. package/dist/cjs/resources/types/TelemedCreateMeetingResponse.d.ts +1 -1
  39. package/dist/cjs/resources/types/index.d.ts +6 -0
  40. package/dist/cjs/tests/setup/constants.d.ts +1 -1
  41. package/dist/esm/client/client.js +14 -11
  42. package/dist/esm/client/client.js.map +1 -1
  43. package/dist/esm/config.d.ts +8 -0
  44. package/dist/esm/index.min.js +1 -1
  45. package/dist/esm/index.min.js.map +1 -1
  46. package/dist/esm/resources/classes/application.d.ts +8 -8
  47. package/dist/esm/resources/classes/application.js +72 -56
  48. package/dist/esm/resources/classes/application.js.map +1 -1
  49. package/dist/esm/resources/classes/charge.d.ts +2 -2
  50. package/dist/esm/resources/classes/charge.js +28 -24
  51. package/dist/esm/resources/classes/charge.js.map +1 -1
  52. package/dist/esm/resources/classes/conversation.d.ts +5 -5
  53. package/dist/esm/resources/classes/conversation.js +59 -49
  54. package/dist/esm/resources/classes/conversation.js.map +1 -1
  55. package/dist/esm/resources/classes/developer.d.ts +6 -6
  56. package/dist/esm/resources/classes/developer.js +56 -44
  57. package/dist/esm/resources/classes/developer.js.map +1 -1
  58. package/dist/esm/resources/classes/erx.d.ts +13 -5
  59. package/dist/esm/resources/classes/erx.js +36 -16
  60. package/dist/esm/resources/classes/erx.js.map +1 -1
  61. package/dist/esm/resources/classes/fax.d.ts +30 -0
  62. package/dist/esm/resources/classes/fax.js +41 -0
  63. package/dist/esm/resources/classes/fax.js.map +1 -0
  64. package/dist/esm/resources/classes/fhir-ext.js +3 -0
  65. package/dist/esm/resources/classes/fhir-ext.js.map +1 -1
  66. package/dist/esm/resources/classes/index.d.ts +2 -0
  67. package/dist/esm/resources/classes/index.js +2 -0
  68. package/dist/esm/resources/classes/index.js.map +1 -1
  69. package/dist/esm/resources/classes/m2m.d.ts +7 -7
  70. package/dist/esm/resources/classes/m2m.js +65 -51
  71. package/dist/esm/resources/classes/m2m.js.map +1 -1
  72. package/dist/esm/resources/classes/messaging.d.ts +1 -1
  73. package/dist/esm/resources/classes/messaging.js +6 -4
  74. package/dist/esm/resources/classes/messaging.js.map +1 -1
  75. package/dist/esm/resources/classes/paymentMethod.d.ts +4 -4
  76. package/dist/esm/resources/classes/paymentMethod.js +72 -64
  77. package/dist/esm/resources/classes/paymentMethod.js.map +1 -1
  78. package/dist/esm/resources/classes/project.d.ts +2 -2
  79. package/dist/esm/resources/classes/project.js +18 -14
  80. package/dist/esm/resources/classes/project.js.map +1 -1
  81. package/dist/esm/resources/classes/rcm.d.ts +4 -4
  82. package/dist/esm/resources/classes/rcm.js +39 -33
  83. package/dist/esm/resources/classes/rcm.js.map +1 -1
  84. package/dist/esm/resources/classes/role.d.ts +5 -5
  85. package/dist/esm/resources/classes/role.js +46 -36
  86. package/dist/esm/resources/classes/role.js.map +1 -1
  87. package/dist/esm/resources/classes/secret.d.ts +4 -4
  88. package/dist/esm/resources/classes/secret.js +36 -28
  89. package/dist/esm/resources/classes/secret.js.map +1 -1
  90. package/dist/esm/resources/classes/telemed.d.ts +2 -2
  91. package/dist/esm/resources/classes/telemed.js +27 -23
  92. package/dist/esm/resources/classes/telemed.js.map +1 -1
  93. package/dist/esm/resources/classes/transactionalSMS.d.ts +1 -1
  94. package/dist/esm/resources/classes/transactionalSMS.js +18 -16
  95. package/dist/esm/resources/classes/transactionalSMS.js.map +1 -1
  96. package/dist/esm/resources/classes/user.d.ts +7 -7
  97. package/dist/esm/resources/classes/user.js +64 -50
  98. package/dist/esm/resources/classes/user.js.map +1 -1
  99. package/dist/esm/resources/classes/version.d.ts +1 -1
  100. package/dist/esm/resources/classes/version.js +6 -4
  101. package/dist/esm/resources/classes/version.js.map +1 -1
  102. package/dist/esm/resources/classes/z3.d.ts +7 -7
  103. package/dist/esm/resources/classes/z3.js +55 -43
  104. package/dist/esm/resources/classes/z3.js.map +1 -1
  105. package/dist/esm/resources/classes/zambda.d.ts +8 -8
  106. package/dist/esm/resources/classes/zambda.js +71 -55
  107. package/dist/esm/resources/classes/zambda.js.map +1 -1
  108. package/dist/esm/resources/classes/zambdaLogStream.d.ts +3 -3
  109. package/dist/esm/resources/classes/zambdaLogStream.js +27 -21
  110. package/dist/esm/resources/classes/zambdaLogStream.js.map +1 -1
  111. package/dist/esm/resources/types/ConversationAddParticipantParams.d.ts +1 -1
  112. package/dist/esm/resources/types/ConversationCreateResponse.d.ts +1 -1
  113. package/dist/esm/resources/types/ConversationRemoveParticipantParams.d.ts +1 -1
  114. package/dist/esm/resources/types/ErxCancelOrderParams.d.ts +6 -0
  115. package/dist/esm/resources/types/ErxCancelOrderResponse.d.ts +6 -0
  116. package/dist/esm/resources/types/ErxCancelPrescriptionParams.d.ts +6 -0
  117. package/dist/esm/resources/types/ErxCancelPrescriptionResponse.d.ts +6 -0
  118. package/dist/esm/resources/types/FaxSendParams.d.ts +18 -0
  119. package/dist/esm/resources/types/FaxSendResponse.d.ts +10 -0
  120. package/dist/esm/resources/types/TelemedCreateMeetingParams.d.ts +1 -1
  121. package/dist/esm/resources/types/TelemedCreateMeetingResponse.d.ts +1 -1
  122. package/dist/esm/resources/types/index.d.ts +6 -0
  123. package/dist/esm/tests/setup/constants.d.ts +1 -1
  124. package/package.json +4 -4
  125. package/src/client/client.ts +8 -3
  126. package/src/config.ts +8 -0
  127. package/src/resources/classes/application.ts +27 -19
  128. package/src/resources/classes/charge.ts +6 -4
  129. package/src/resources/classes/conversation.ts +15 -10
  130. package/src/resources/classes/developer.ts +18 -11
  131. package/src/resources/classes/erx.ts +33 -8
  132. package/src/resources/classes/fax.ts +41 -0
  133. package/src/resources/classes/fhir-ext.ts +3 -0
  134. package/src/resources/classes/index.ts +3 -0
  135. package/src/resources/classes/m2m.ts +21 -13
  136. package/src/resources/classes/messaging.ts +3 -2
  137. package/src/resources/classes/paymentMethod.ts +12 -8
  138. package/src/resources/classes/project.ts +6 -3
  139. package/src/resources/classes/rcm.ts +13 -9
  140. package/src/resources/classes/role.ts +15 -9
  141. package/src/resources/classes/secret.ts +12 -7
  142. package/src/resources/classes/telemed.ts +7 -7
  143. package/src/resources/classes/transactionalSMS.ts +3 -2
  144. package/src/resources/classes/user.ts +21 -12
  145. package/src/resources/classes/version.ts +3 -1
  146. package/src/resources/classes/z3.ts +19 -14
  147. package/src/resources/classes/zambda.ts +25 -15
  148. package/src/resources/classes/zambdaLogStream.ts +9 -8
  149. package/src/resources/types/ConversationAddParticipantParams.ts +1 -1
  150. package/src/resources/types/ConversationCreateResponse.ts +1 -1
  151. package/src/resources/types/ConversationRemoveParticipantParams.ts +1 -1
  152. package/src/resources/types/ErxCancelOrderParams.ts +8 -0
  153. package/src/resources/types/ErxCancelOrderResponse.ts +8 -0
  154. package/src/resources/types/ErxCancelPrescriptionParams.ts +8 -0
  155. package/src/resources/types/ErxCancelPrescriptionResponse.ts +8 -0
  156. package/src/resources/types/FaxSendParams.ts +20 -0
  157. package/src/resources/types/FaxSendResponse.ts +12 -0
  158. package/src/resources/types/TelemedCreateMeetingParams.ts +1 -1
  159. package/src/resources/types/TelemedCreateMeetingResponse.ts +1 -1
  160. package/src/resources/types/index.ts +6 -0
  161. /package/dist/cjs/tests/{common.d.ts → integrational/common.d.ts} +0 -0
  162. /package/dist/esm/tests/{common.d.ts → integrational/common.d.ts} +0 -0
@@ -9,54 +9,54 @@ export declare class Application extends SDKResource {
9
9
  * Access Policy Action: `App:ListAllApplications`
10
10
  * Access Policy Resource: `App:Application`
11
11
  */
12
- list: (request?: OystehrClientRequest) => Promise<ApplicationListResponse>;
12
+ list(request?: OystehrClientRequest): Promise<ApplicationListResponse>;
13
13
  /**
14
14
  * Create a new Application. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
15
15
  *
16
16
  * Access Policy Action: `App:CreateApplication`
17
17
  * Access Policy Resource: `App:Application`
18
18
  */
19
- create: (params: ApplicationCreateParams, request?: OystehrClientRequest) => Promise<ApplicationCreateResponse>;
19
+ create(params: ApplicationCreateParams, request?: OystehrClientRequest): Promise<ApplicationCreateResponse>;
20
20
  /**
21
21
  * Get the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
22
22
  *
23
23
  * Access Policy Action: `App:GetApplication`
24
24
  * Access Policy Resource: `App:Application`
25
25
  */
26
- get: (params: ApplicationGetParams, request?: OystehrClientRequest) => Promise<ApplicationGetResponse>;
26
+ get(params: ApplicationGetParams, request?: OystehrClientRequest): Promise<ApplicationGetResponse>;
27
27
  /**
28
28
  * Update the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
29
29
  *
30
30
  * Access Policy Action: `App:UpdateApplication`
31
31
  * Access Policy Resource: `App:Application`
32
32
  */
33
- update: (params: ApplicationUpdateParams, request?: OystehrClientRequest) => Promise<ApplicationUpdateResponse>;
33
+ update(params: ApplicationUpdateParams, request?: OystehrClientRequest): Promise<ApplicationUpdateResponse>;
34
34
  /**
35
35
  * Delete the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
36
36
  *
37
37
  * Access Policy Action: `App:DeleteApplication`
38
38
  * Access Policy Resource: `App:Application`
39
39
  */
40
- delete: (params: ApplicationDeleteParams, request?: OystehrClientRequest) => Promise<void>;
40
+ delete(params: ApplicationDeleteParams, request?: OystehrClientRequest): Promise<void>;
41
41
  /**
42
42
  * Rotate client's secrete associated with an application.
43
43
  *
44
44
  * Access Policy Action: `App:RotateApplicationSecret`
45
45
  * Access Policy Resource: `App:Application`
46
46
  */
47
- rotateSecret: (params: ApplicationRotateSecretParams, request?: OystehrClientRequest) => Promise<ApplicationRotateSecretResponse>;
47
+ rotateSecret(params: ApplicationRotateSecretParams, request?: OystehrClientRequest): Promise<ApplicationRotateSecretResponse>;
48
48
  /**
49
49
  * Revokes user's refresh token issued for the application.
50
50
  *
51
51
  * Access Policy Action: `App:RevokeRefreshToken`
52
52
  * Access Policy Resource: `App:Application`
53
53
  */
54
- revokeRefreshToken: (params: ApplicationRevokeRefreshTokenParams, request?: OystehrClientRequest) => Promise<ApplicationRevokeRefreshTokenResponse>;
54
+ revokeRefreshToken(params: ApplicationRevokeRefreshTokenParams, request?: OystehrClientRequest): Promise<ApplicationRevokeRefreshTokenResponse>;
55
55
  /**
56
56
  * Revokes user's access token issued for the application.
57
57
  *
58
58
  * Access Policy Action: `App:RevokeAccessToken`
59
59
  * Access Policy Resource: `App:Application`
60
60
  */
61
- revokeAccessToken: (params: ApplicationRevokeAccessTokenParams, request?: OystehrClientRequest) => Promise<ApplicationRevokeAccessTokenResponse>;
61
+ revokeAccessToken(params: ApplicationRevokeAccessTokenParams, request?: OystehrClientRequest): Promise<ApplicationRevokeAccessTokenResponse>;
62
62
  }
@@ -4,62 +4,78 @@ import { SDKResource } from '../../client/client.js';
4
4
  class Application extends SDKResource {
5
5
  constructor(config) {
6
6
  super(config);
7
- /**
8
- * Get a list of Applications. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
9
- *
10
- * Access Policy Action: `App:ListAllApplications`
11
- * Access Policy Resource: `App:Application`
12
- */
13
- this.list = (request) => this.request('/application', 'get')(request);
14
- /**
15
- * Create a new Application. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
16
- *
17
- * Access Policy Action: `App:CreateApplication`
18
- * Access Policy Resource: `App:Application`
19
- */
20
- this.create = (params, request) => this.request('/application', 'post')(params, request);
21
- /**
22
- * Get the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
23
- *
24
- * Access Policy Action: `App:GetApplication`
25
- * Access Policy Resource: `App:Application`
26
- */
27
- this.get = (params, request) => this.request('/application/{id}', 'get')(params, request);
28
- /**
29
- * Update the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
30
- *
31
- * Access Policy Action: `App:UpdateApplication`
32
- * Access Policy Resource: `App:Application`
33
- */
34
- this.update = (params, request) => this.request('/application/{id}', 'patch')(params, request);
35
- /**
36
- * Delete the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
37
- *
38
- * Access Policy Action: `App:DeleteApplication`
39
- * Access Policy Resource: `App:Application`
40
- */
41
- this.delete = (params, request) => this.request('/application/{id}', 'delete')(params, request);
42
- /**
43
- * Rotate client's secrete associated with an application.
44
- *
45
- * Access Policy Action: `App:RotateApplicationSecret`
46
- * Access Policy Resource: `App:Application`
47
- */
48
- this.rotateSecret = (params, request) => this.request('/application/{id}/rotate-secret', 'post')(params, request);
49
- /**
50
- * Revokes user's refresh token issued for the application.
51
- *
52
- * Access Policy Action: `App:RevokeRefreshToken`
53
- * Access Policy Resource: `App:Application`
54
- */
55
- this.revokeRefreshToken = (params, request) => this.request('/application/{id}/revoke-refresh-token', 'post')(params, request);
56
- /**
57
- * Revokes user's access token issued for the application.
58
- *
59
- * Access Policy Action: `App:RevokeAccessToken`
60
- * Access Policy Resource: `App:Application`
61
- */
62
- this.revokeAccessToken = (params, request) => this.request('/application/{id}/revoke-access-token', 'post')(params, request);
7
+ }
8
+ /**
9
+ * Get a list of Applications. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
10
+ *
11
+ * Access Policy Action: `App:ListAllApplications`
12
+ * Access Policy Resource: `App:Application`
13
+ */
14
+ list(request) {
15
+ return this.request('/application', 'get')(request);
16
+ }
17
+ /**
18
+ * Create a new Application. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
19
+ *
20
+ * Access Policy Action: `App:CreateApplication`
21
+ * Access Policy Resource: `App:Application`
22
+ */
23
+ create(params, request) {
24
+ return this.request('/application', 'post')(params, request);
25
+ }
26
+ /**
27
+ * Get the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
28
+ *
29
+ * Access Policy Action: `App:GetApplication`
30
+ * Access Policy Resource: `App:Application`
31
+ */
32
+ get(params, request) {
33
+ return this.request('/application/{id}', 'get')(params, request);
34
+ }
35
+ /**
36
+ * Update the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
37
+ *
38
+ * Access Policy Action: `App:UpdateApplication`
39
+ * Access Policy Resource: `App:Application`
40
+ */
41
+ update(params, request) {
42
+ return this.request('/application/{id}', 'patch')(params, request);
43
+ }
44
+ /**
45
+ * Delete the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.
46
+ *
47
+ * Access Policy Action: `App:DeleteApplication`
48
+ * Access Policy Resource: `App:Application`
49
+ */
50
+ delete(params, request) {
51
+ return this.request('/application/{id}', 'delete')(params, request);
52
+ }
53
+ /**
54
+ * Rotate client's secrete associated with an application.
55
+ *
56
+ * Access Policy Action: `App:RotateApplicationSecret`
57
+ * Access Policy Resource: `App:Application`
58
+ */
59
+ rotateSecret(params, request) {
60
+ return this.request('/application/{id}/rotate-secret', 'post')(params, request);
61
+ }
62
+ /**
63
+ * Revokes user's refresh token issued for the application.
64
+ *
65
+ * Access Policy Action: `App:RevokeRefreshToken`
66
+ * Access Policy Resource: `App:Application`
67
+ */
68
+ revokeRefreshToken(params, request) {
69
+ return this.request('/application/{id}/revoke-refresh-token', 'post')(params, request);
70
+ }
71
+ /**
72
+ * Revokes user's access token issued for the application.
73
+ *
74
+ * Access Policy Action: `App:RevokeAccessToken`
75
+ * Access Policy Resource: `App:Application`
76
+ */
77
+ revokeAccessToken(params, request) {
78
+ return this.request('/application/{id}/revoke-access-token', 'post')(params, request);
63
79
  }
64
80
  }
65
81
 
@@ -1 +1 @@
1
- {"version":3,"file":"application.js","sources":["../../../../src/resources/classes/application.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n ApplicationCreateParams,\n ApplicationCreateResponse,\n ApplicationDeleteParams,\n ApplicationGetParams,\n ApplicationGetResponse,\n ApplicationListResponse,\n ApplicationRevokeAccessTokenParams,\n ApplicationRevokeAccessTokenResponse,\n ApplicationRevokeRefreshTokenParams,\n ApplicationRevokeRefreshTokenResponse,\n ApplicationRotateSecretParams,\n ApplicationRotateSecretResponse,\n ApplicationUpdateParams,\n ApplicationUpdateResponse,\n OystehrClientRequest,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Application extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get a list of Applications. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:ListAllApplications`\n * Access Policy Resource: `App:Application`\n */\n list = (request?: OystehrClientRequest): Promise<ApplicationListResponse> =>\n this.request('/application', 'get')(request);\n /**\n * Create a new Application. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:CreateApplication`\n * Access Policy Resource: `App:Application`\n */\n create = (params: ApplicationCreateParams, request?: OystehrClientRequest): Promise<ApplicationCreateResponse> =>\n this.request('/application', 'post')(params, request);\n /**\n * Get the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:GetApplication`\n * Access Policy Resource: `App:Application`\n */\n get = (params: ApplicationGetParams, request?: OystehrClientRequest): Promise<ApplicationGetResponse> =>\n this.request('/application/{id}', 'get')(params, request);\n /**\n * Update the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:UpdateApplication`\n * Access Policy Resource: `App:Application`\n */\n update = (params: ApplicationUpdateParams, request?: OystehrClientRequest): Promise<ApplicationUpdateResponse> =>\n this.request('/application/{id}', 'patch')(params, request);\n /**\n * Delete the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:DeleteApplication`\n * Access Policy Resource: `App:Application`\n */\n delete = (params: ApplicationDeleteParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/application/{id}', 'delete')(params, request);\n /**\n * Rotate client's secrete associated with an application.\n *\n * Access Policy Action: `App:RotateApplicationSecret`\n * Access Policy Resource: `App:Application`\n */\n rotateSecret = (\n params: ApplicationRotateSecretParams,\n request?: OystehrClientRequest\n ): Promise<ApplicationRotateSecretResponse> =>\n this.request('/application/{id}/rotate-secret', 'post')(params, request);\n /**\n * Revokes user's refresh token issued for the application.\n *\n * Access Policy Action: `App:RevokeRefreshToken`\n * Access Policy Resource: `App:Application`\n */\n revokeRefreshToken = (\n params: ApplicationRevokeRefreshTokenParams,\n request?: OystehrClientRequest\n ): Promise<ApplicationRevokeRefreshTokenResponse> =>\n this.request('/application/{id}/revoke-refresh-token', 'post')(params, request);\n /**\n * Revokes user's access token issued for the application.\n *\n * Access Policy Action: `App:RevokeAccessToken`\n * Access Policy Resource: `App:Application`\n */\n revokeAccessToken = (\n params: ApplicationRevokeAccessTokenParams,\n request?: OystehrClientRequest\n ): Promise<ApplicationRevokeAccessTokenResponse> =>\n this.request('/application/{id}/revoke-access-token', 'post')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAsBM,MAAO,WAAY,SAAQ,WAAW,CAAA;AAC1C,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;AAKG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,CAAC,OAA8B,KACpC,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAC/C;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAA+B,EAAE,OAA8B,KACvE,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACxD;;;;;AAKG;QACH,IAAG,CAAA,GAAA,GAAG,CAAC,MAA4B,EAAE,OAA8B,KACjE,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC5D;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAA+B,EAAE,OAA8B,KACvE,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC9D;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAA+B,EAAE,OAA8B,KACvE,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC/D;;;;;AAKG;QACH,IAAY,CAAA,YAAA,GAAG,CACb,MAAqC,EACrC,OAA8B,KAE9B,IAAI,CAAC,OAAO,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC3E;;;;;AAKG;QACH,IAAkB,CAAA,kBAAA,GAAG,CACnB,MAA2C,EAC3C,OAA8B,KAE9B,IAAI,CAAC,OAAO,CAAC,wCAAwC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAClF;;;;;AAKG;QACH,IAAiB,CAAA,iBAAA,GAAG,CAClB,MAA0C,EAC1C,OAA8B,KAE9B,IAAI,CAAC,OAAO,CAAC,uCAAuC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAzEhF;AA0EF;;;;"}
1
+ {"version":3,"file":"application.js","sources":["../../../../src/resources/classes/application.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n ApplicationCreateParams,\n ApplicationCreateResponse,\n ApplicationDeleteParams,\n ApplicationGetParams,\n ApplicationGetResponse,\n ApplicationListResponse,\n ApplicationRevokeAccessTokenParams,\n ApplicationRevokeAccessTokenResponse,\n ApplicationRevokeRefreshTokenParams,\n ApplicationRevokeRefreshTokenResponse,\n ApplicationRotateSecretParams,\n ApplicationRotateSecretResponse,\n ApplicationUpdateParams,\n ApplicationUpdateResponse,\n OystehrClientRequest,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Application extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get a list of Applications. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:ListAllApplications`\n * Access Policy Resource: `App:Application`\n */\n list(request?: OystehrClientRequest): Promise<ApplicationListResponse> {\n return this.request('/application', 'get')(request);\n }\n /**\n * Create a new Application. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:CreateApplication`\n * Access Policy Resource: `App:Application`\n */\n create(params: ApplicationCreateParams, request?: OystehrClientRequest): Promise<ApplicationCreateResponse> {\n return this.request('/application', 'post')(params, request);\n }\n /**\n * Get the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:GetApplication`\n * Access Policy Resource: `App:Application`\n */\n get(params: ApplicationGetParams, request?: OystehrClientRequest): Promise<ApplicationGetResponse> {\n return this.request('/application/{id}', 'get')(params, request);\n }\n /**\n * Update the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:UpdateApplication`\n * Access Policy Resource: `App:Application`\n */\n update(params: ApplicationUpdateParams, request?: OystehrClientRequest): Promise<ApplicationUpdateResponse> {\n return this.request('/application/{id}', 'patch')(params, request);\n }\n /**\n * Delete the Application with the provided ID. [Applications](https://docs.oystehr.com/services/app/applications/) provide authentication in front of the web and mobile apps you build on Oystehr.\n *\n * Access Policy Action: `App:DeleteApplication`\n * Access Policy Resource: `App:Application`\n */\n delete(params: ApplicationDeleteParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/application/{id}', 'delete')(params, request);\n }\n /**\n * Rotate client's secrete associated with an application.\n *\n * Access Policy Action: `App:RotateApplicationSecret`\n * Access Policy Resource: `App:Application`\n */\n rotateSecret(\n params: ApplicationRotateSecretParams,\n request?: OystehrClientRequest\n ): Promise<ApplicationRotateSecretResponse> {\n return this.request('/application/{id}/rotate-secret', 'post')(params, request);\n }\n /**\n * Revokes user's refresh token issued for the application.\n *\n * Access Policy Action: `App:RevokeRefreshToken`\n * Access Policy Resource: `App:Application`\n */\n revokeRefreshToken(\n params: ApplicationRevokeRefreshTokenParams,\n request?: OystehrClientRequest\n ): Promise<ApplicationRevokeRefreshTokenResponse> {\n return this.request('/application/{id}/revoke-refresh-token', 'post')(params, request);\n }\n /**\n * Revokes user's access token issued for the application.\n *\n * Access Policy Action: `App:RevokeAccessToken`\n * Access Policy Resource: `App:Application`\n */\n revokeAccessToken(\n params: ApplicationRevokeAccessTokenParams,\n request?: OystehrClientRequest\n ): Promise<ApplicationRevokeAccessTokenResponse> {\n return this.request('/application/{id}/revoke-access-token', 'post')(params, request);\n }\n}\n"],"names":[],"mappings":";;AAAA;AAsBM,MAAO,WAAY,SAAQ,WAAW,CAAA;AAC1C,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;KACf;AACD;;;;;AAKG;AACH,IAAA,IAAI,CAAC,OAA8B,EAAA;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;KACrD;AACD;;;;;AAKG;IACH,MAAM,CAAC,MAA+B,EAAE,OAA8B,EAAA;AACpE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC9D;AACD;;;;;AAKG;IACH,GAAG,CAAC,MAA4B,EAAE,OAA8B,EAAA;AAC9D,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAClE;AACD;;;;;AAKG;IACH,MAAM,CAAC,MAA+B,EAAE,OAA8B,EAAA;AACpE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpE;AACD;;;;;AAKG;IACH,MAAM,CAAC,MAA+B,EAAE,OAA8B,EAAA;AACpE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACrE;AACD;;;;;AAKG;IACH,YAAY,CACV,MAAqC,EACrC,OAA8B,EAAA;AAE9B,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACjF;AACD;;;;;AAKG;IACH,kBAAkB,CAChB,MAA2C,EAC3C,OAA8B,EAAA;AAE9B,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,wCAAwC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACxF;AACD;;;;;AAKG;IACH,iBAAiB,CACf,MAA0C,EAC1C,OAA8B,EAAA;AAE9B,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,uCAAuC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACvF;AACF;;;;"}
@@ -14,7 +14,7 @@ export declare class Charge extends SDKResource {
14
14
  * Action: `FHIR:Read`
15
15
  * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`
16
16
  */
17
- issue: (params: ChargeIssueParams, request?: OystehrClientRequest) => Promise<void>;
17
+ issue(params: ChargeIssueParams, request?: OystehrClientRequest): Promise<void>;
18
18
  /**
19
19
  * Retrieve charge status for a specified encounter or charge item.
20
20
  *
@@ -26,5 +26,5 @@ export declare class Charge extends SDKResource {
26
26
  * Action: `FHIR:Read`
27
27
  * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`
28
28
  */
29
- status: (params: ChargeStatusParams, request?: OystehrClientRequest) => Promise<ChargeStatusResponse>;
29
+ status(params: ChargeStatusParams, request?: OystehrClientRequest): Promise<ChargeStatusResponse>;
30
30
  }
@@ -4,30 +4,34 @@ import { SDKResource } from '../../client/client.js';
4
4
  class Charge extends SDKResource {
5
5
  constructor(config) {
6
6
  super(config);
7
- /**
8
- * Charge patient's default payment method for a specified encounter or charge item.
9
- *
10
- * Access Policy Requirements:
11
- * Action: `Payment:Issue`
12
- * Access Policy Resource: `Payment:Charge`
13
- * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
14
- * Access Policy Resource: `FHIR:ChargeItem:*,`FHIR:PaymentReconciliation:*`
15
- * Action: `FHIR:Read`
16
- * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`
17
- */
18
- this.issue = (params, request) => this.request('/payment/charge/issue', 'post')(params, request);
19
- /**
20
- * Retrieve charge status for a specified encounter or charge item.
21
- *
22
- * Access Policy Requirements:
23
- * Action: `Payment:Status`
24
- * Access Policy Resource: `Payment:Charge`
25
- * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
26
- * Access Policy Resource: `FHIR:ChargeItem:*,`FHIR:PaymentReconciliation:*`
27
- * Action: `FHIR:Read`
28
- * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`
29
- */
30
- this.status = (params, request) => this.request('/payment/charge/status', 'post')(params, request);
7
+ }
8
+ /**
9
+ * Charge patient's default payment method for a specified encounter or charge item.
10
+ *
11
+ * Access Policy Requirements:
12
+ * Action: `Payment:Issue`
13
+ * Access Policy Resource: `Payment:Charge`
14
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
15
+ * Access Policy Resource: `FHIR:ChargeItem:*,`FHIR:PaymentReconciliation:*`
16
+ * Action: `FHIR:Read`
17
+ * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`
18
+ */
19
+ issue(params, request) {
20
+ return this.request('/payment/charge/issue', 'post')(params, request);
21
+ }
22
+ /**
23
+ * Retrieve charge status for a specified encounter or charge item.
24
+ *
25
+ * Access Policy Requirements:
26
+ * Action: `Payment:Status`
27
+ * Access Policy Resource: `Payment:Charge`
28
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
29
+ * Access Policy Resource: `FHIR:ChargeItem:*,`FHIR:PaymentReconciliation:*`
30
+ * Action: `FHIR:Read`
31
+ * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`
32
+ */
33
+ status(params, request) {
34
+ return this.request('/payment/charge/status', 'post')(params, request);
31
35
  }
32
36
  }
33
37
 
@@ -1 +1 @@
1
- {"version":3,"file":"charge.js","sources":["../../../../src/resources/classes/charge.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { ChargeIssueParams, ChargeStatusParams, ChargeStatusResponse, OystehrClientRequest } from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Charge extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Charge patient's default payment method for a specified encounter or charge item.\n *\n * Access Policy Requirements:\n * Action: `Payment:Issue`\n * Access Policy Resource: `Payment:Charge`\n * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:ChargeItem:*,`FHIR:PaymentReconciliation:*`\n * Action: `FHIR:Read`\n * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`\n */\n issue = (params: ChargeIssueParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/payment/charge/issue', 'post')(params, request);\n /**\n * Retrieve charge status for a specified encounter or charge item.\n *\n * Access Policy Requirements:\n * Action: `Payment:Status`\n * Access Policy Resource: `Payment:Charge`\n * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:ChargeItem:*,`FHIR:PaymentReconciliation:*`\n * Action: `FHIR:Read`\n * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`\n */\n status = (params: ChargeStatusParams, request?: OystehrClientRequest): Promise<ChargeStatusResponse> =>\n this.request('/payment/charge/status', 'post')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAMM,MAAO,MAAO,SAAQ,WAAW,CAAA;AACrC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;;;;;;AAUG;QACH,IAAK,CAAA,KAAA,GAAG,CAAC,MAAyB,EAAE,OAA8B,KAChE,IAAI,CAAC,OAAO,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACjE;;;;;;;;;;AAUG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAA0B,EAAE,OAA8B,KAClE,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KA1BjE;AA2BF;;;;"}
1
+ {"version":3,"file":"charge.js","sources":["../../../../src/resources/classes/charge.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { ChargeIssueParams, ChargeStatusParams, ChargeStatusResponse, OystehrClientRequest } from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Charge extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Charge patient's default payment method for a specified encounter or charge item.\n *\n * Access Policy Requirements:\n * Action: `Payment:Issue`\n * Access Policy Resource: `Payment:Charge`\n * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:ChargeItem:*,`FHIR:PaymentReconciliation:*`\n * Action: `FHIR:Read`\n * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`\n */\n issue(params: ChargeIssueParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/payment/charge/issue', 'post')(params, request);\n }\n /**\n * Retrieve charge status for a specified encounter or charge item.\n *\n * Access Policy Requirements:\n * Action: `Payment:Status`\n * Access Policy Resource: `Payment:Charge`\n * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:ChargeItem:*,`FHIR:PaymentReconciliation:*`\n * Action: `FHIR:Read`\n * Access Policy Resources: `FHIR:Patient:*,FHIR:Encounter:*,FHIR:Coverage:*`\n */\n status(params: ChargeStatusParams, request?: OystehrClientRequest): Promise<ChargeStatusResponse> {\n return this.request('/payment/charge/status', 'post')(params, request);\n }\n}\n"],"names":[],"mappings":";;AAAA;AAMM,MAAO,MAAO,SAAQ,WAAW,CAAA;AACrC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;KACf;AACD;;;;;;;;;;AAUG;IACH,KAAK,CAAC,MAAyB,EAAE,OAA8B,EAAA;AAC7D,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACvE;AACD;;;;;;;;;;AAUG;IACH,MAAM,CAAC,MAA0B,EAAE,OAA8B,EAAA;AAC/D,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACxE;AACF;;;;"}
@@ -23,14 +23,14 @@ export declare class Conversation extends SDKResource {
23
23
  * Action: `FHIR:Update`
24
24
  * Access Policy Resource: `FHIR:Encounter`
25
25
  */
26
- create: (params: ConversationCreateParams, request?: OystehrClientRequest) => Promise<ConversationCreateResponse>;
26
+ create(params: ConversationCreateParams, request?: OystehrClientRequest): Promise<ConversationCreateResponse>;
27
27
  /**
28
28
  * Get a Conversation Token. Conversation Tokens are used to join the Conversation with the Twilio Conversations SDKs. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
29
29
  *
30
30
  * Access Policy Action: `Messaging:GetConversationToken`
31
31
  * Access Policy Resource: `Messaging:Conversation`.
32
32
  */
33
- getToken: (request?: OystehrClientRequest) => Promise<ConversationGetTokenResponse>;
33
+ getToken(request?: OystehrClientRequest): Promise<ConversationGetTokenResponse>;
34
34
  /**
35
35
  * Add a participant to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
36
36
  *
@@ -42,7 +42,7 @@ export declare class Conversation extends SDKResource {
42
42
  * Action: `FHIR:Update`
43
43
  * Access Policy Resource: `FHIR:Encounter`
44
44
  */
45
- addParticipant: (params: ConversationAddParticipantParams, request?: OystehrClientRequest) => Promise<void>;
45
+ addParticipant(params: ConversationAddParticipantParams, request?: OystehrClientRequest): Promise<void>;
46
46
  /**
47
47
  * Remove a participant from a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
48
48
  *
@@ -52,7 +52,7 @@ export declare class Conversation extends SDKResource {
52
52
  * Action: `FHIR:Read`
53
53
  * Access Policy Resource: `FHIR:Patient`, `FHIR:Practitioner`, or `FHIR:RelatedPerson`
54
54
  */
55
- removeParticipant: (params: ConversationRemoveParticipantParams, request?: OystehrClientRequest) => Promise<void>;
55
+ removeParticipant(params: ConversationRemoveParticipantParams, request?: OystehrClientRequest): Promise<void>;
56
56
  /**
57
57
  * Send a message to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
58
58
  *
@@ -60,5 +60,5 @@ export declare class Conversation extends SDKResource {
60
60
  * Action: `Messaging:ConversationSendMessage`
61
61
  * Access Policy Resource: `Messaging:Conversation`
62
62
  */
63
- message: (params: ConversationMessageParams, request?: OystehrClientRequest) => Promise<void>;
63
+ message(params: ConversationMessageParams, request?: OystehrClientRequest): Promise<void>;
64
64
  }
@@ -13,55 +13,65 @@ class Conversation extends SDKResource {
13
13
  * @returns conversationId
14
14
  */
15
15
  this.getConversationIdFromEncounter = getConversationIdFromEncounter;
16
- /**
17
- * Create a new Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
18
- *
19
- * Access Policy Requirements:
20
- * Action: `Messaging:CreateConversation`
21
- * Access Policy Resource: `Messaging:Conversation`
22
- * Action: `FHIR:Create`
23
- * Access Policy Resource: `FHIR:Encounter`
24
- * Action: `FHIR:Update`
25
- * Access Policy Resource: `FHIR:Encounter`
26
- */
27
- this.create = (params, request) => this.request('/messaging/conversation', 'post')(params, request);
28
- /**
29
- * Get a Conversation Token. Conversation Tokens are used to join the Conversation with the Twilio Conversations SDKs. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
30
- *
31
- * Access Policy Action: `Messaging:GetConversationToken`
32
- * Access Policy Resource: `Messaging:Conversation`.
33
- */
34
- this.getToken = (request) => this.request('/messaging/conversation/token', 'get')(request);
35
- /**
36
- * Add a participant to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
37
- *
38
- * Access Policy Requirements:
39
- * Action: `Messaging:ConversationAddParticipant`
40
- * Access Policy Resource: `Messaging:Conversation`
41
- * Action: `FHIR:Read`
42
- * Access Policy Resource: `FHIR:Encounter`
43
- * Action: `FHIR:Update`
44
- * Access Policy Resource: `FHIR:Encounter`
45
- */
46
- this.addParticipant = (params, request) => this.request('/messaging/conversation/{conversationId}/participant', 'post')(params, request);
47
- /**
48
- * Remove a participant from a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
49
- *
50
- * Access Policy Requirements:
51
- * Action: `Messaging:ConversationRemoveParticipant`
52
- * Access Policy Resource: `Messaging:Conversation`
53
- * Action: `FHIR:Read`
54
- * Access Policy Resource: `FHIR:Patient`, `FHIR:Practitioner`, or `FHIR:RelatedPerson`
55
- */
56
- this.removeParticipant = (params, request) => this.request('/messaging/conversation/{conversationId}/participant', 'delete')(params, request);
57
- /**
58
- * Send a message to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
59
- *
60
- * Access Policy Requirements:
61
- * Action: `Messaging:ConversationSendMessage`
62
- * Access Policy Resource: `Messaging:Conversation`
63
- */
64
- this.message = (params, request) => this.request('/messaging/conversation/{conversationId}/message', 'post')(params, request);
16
+ }
17
+ /**
18
+ * Create a new Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
19
+ *
20
+ * Access Policy Requirements:
21
+ * Action: `Messaging:CreateConversation`
22
+ * Access Policy Resource: `Messaging:Conversation`
23
+ * Action: `FHIR:Create`
24
+ * Access Policy Resource: `FHIR:Encounter`
25
+ * Action: `FHIR:Update`
26
+ * Access Policy Resource: `FHIR:Encounter`
27
+ */
28
+ create(params, request) {
29
+ return this.request('/messaging/conversation', 'post')(params, request);
30
+ }
31
+ /**
32
+ * Get a Conversation Token. Conversation Tokens are used to join the Conversation with the Twilio Conversations SDKs. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
33
+ *
34
+ * Access Policy Action: `Messaging:GetConversationToken`
35
+ * Access Policy Resource: `Messaging:Conversation`.
36
+ */
37
+ getToken(request) {
38
+ return this.request('/messaging/conversation/token', 'get')(request);
39
+ }
40
+ /**
41
+ * Add a participant to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
42
+ *
43
+ * Access Policy Requirements:
44
+ * Action: `Messaging:ConversationAddParticipant`
45
+ * Access Policy Resource: `Messaging:Conversation`
46
+ * Action: `FHIR:Read`
47
+ * Access Policy Resource: `FHIR:Encounter`
48
+ * Action: `FHIR:Update`
49
+ * Access Policy Resource: `FHIR:Encounter`
50
+ */
51
+ addParticipant(params, request) {
52
+ return this.request('/messaging/conversation/{conversationId}/participant', 'post')(params, request);
53
+ }
54
+ /**
55
+ * Remove a participant from a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
56
+ *
57
+ * Access Policy Requirements:
58
+ * Action: `Messaging:ConversationRemoveParticipant`
59
+ * Access Policy Resource: `Messaging:Conversation`
60
+ * Action: `FHIR:Read`
61
+ * Access Policy Resource: `FHIR:Patient`, `FHIR:Practitioner`, or `FHIR:RelatedPerson`
62
+ */
63
+ removeParticipant(params, request) {
64
+ return this.request('/messaging/conversation/{conversationId}/participant', 'delete')(params, request);
65
+ }
66
+ /**
67
+ * Send a message to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.
68
+ *
69
+ * Access Policy Requirements:
70
+ * Action: `Messaging:ConversationSendMessage`
71
+ * Access Policy Resource: `Messaging:Conversation`
72
+ */
73
+ message(params, request) {
74
+ return this.request('/messaging/conversation/{conversationId}/message', 'post')(params, request);
65
75
  }
66
76
  }
67
77
 
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.js","sources":["../../../../src/resources/classes/conversation.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n ConversationAddParticipantParams,\n ConversationCreateParams,\n ConversationCreateResponse,\n ConversationGetTokenResponse,\n ConversationMessageParams,\n ConversationRemoveParticipantParams,\n OystehrClientRequest,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\nimport * as ext from './conversation-ext';\n\nexport class Conversation extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n ENCOUNTER_VS_EXTENSION_URL = ext.ENCOUNTER_VS_EXTENSION_URL;\n ENCOUNTER_VS_EXTENSION_RELATIVE_URL = ext.ENCOUNTER_VS_EXTENSION_RELATIVE_URL;\n /**\n * Helper function to get a conversationId from an encounter created as an Oystehr Conversation\n * @param encounter well-formed FHIR R4B or R5 Encounter\n * @returns conversationId\n */\n getConversationIdFromEncounter = ext.getConversationIdFromEncounter;\n /**\n * Create a new Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Requirements:\n * Action: `Messaging:CreateConversation`\n * Access Policy Resource: `Messaging:Conversation`\n * Action: `FHIR:Create`\n * Access Policy Resource: `FHIR:Encounter`\n * Action: `FHIR:Update`\n * Access Policy Resource: `FHIR:Encounter`\n */\n create = (params: ConversationCreateParams, request?: OystehrClientRequest): Promise<ConversationCreateResponse> =>\n this.request('/messaging/conversation', 'post')(params, request);\n /**\n * Get a Conversation Token. Conversation Tokens are used to join the Conversation with the Twilio Conversations SDKs. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Action: `Messaging:GetConversationToken`\n * Access Policy Resource: `Messaging:Conversation`.\n */\n getToken = (request?: OystehrClientRequest): Promise<ConversationGetTokenResponse> =>\n this.request('/messaging/conversation/token', 'get')(request);\n /**\n * Add a participant to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Requirements:\n * Action: `Messaging:ConversationAddParticipant`\n * Access Policy Resource: `Messaging:Conversation`\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Encounter`\n * Action: `FHIR:Update`\n * Access Policy Resource: `FHIR:Encounter`\n */\n addParticipant = (params: ConversationAddParticipantParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/messaging/conversation/{conversationId}/participant', 'post')(params, request);\n /**\n * Remove a participant from a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Requirements:\n * Action: `Messaging:ConversationRemoveParticipant`\n * Access Policy Resource: `Messaging:Conversation`\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Patient`, `FHIR:Practitioner`, or `FHIR:RelatedPerson`\n */\n removeParticipant = (params: ConversationRemoveParticipantParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/messaging/conversation/{conversationId}/participant', 'delete')(params, request);\n /**\n * Send a message to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Requirements:\n * Action: `Messaging:ConversationSendMessage`\n * Access Policy Resource: `Messaging:Conversation`\n */\n message = (params: ConversationMessageParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/messaging/conversation/{conversationId}/message', 'post')(params, request);\n}\n"],"names":["ext.ENCOUNTER_VS_EXTENSION_URL","ext.ENCOUNTER_VS_EXTENSION_RELATIVE_URL","ext.getConversationIdFromEncounter"],"mappings":";;;AAAA;AAeM,MAAO,YAAa,SAAQ,WAAW,CAAA;AAC3C,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB,QAAA,IAAA,CAAA,0BAA0B,GAAGA,0BAA8B,CAAC;AAC5D,QAAA,IAAA,CAAA,mCAAmC,GAAGC,mCAAuC,CAAC;AAC9E;;;;AAIG;AACH,QAAA,IAAA,CAAA,8BAA8B,GAAGC,8BAAkC,CAAC;AACpE;;;;;;;;;;AAUG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAgC,EAAE,OAA8B,KACxE,IAAI,CAAC,OAAO,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACnE;;;;;AAKG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,CAAC,OAA8B,KACxC,IAAI,CAAC,OAAO,CAAC,+BAA+B,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAChE;;;;;;;;;;AAUG;QACH,IAAc,CAAA,cAAA,GAAG,CAAC,MAAwC,EAAE,OAA8B,KACxF,IAAI,CAAC,OAAO,CAAC,sDAAsD,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAChG;;;;;;;;AAQG;QACH,IAAiB,CAAA,iBAAA,GAAG,CAAC,MAA2C,EAAE,OAA8B,KAC9F,IAAI,CAAC,OAAO,CAAC,sDAAsD,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAClG;;;;;;AAMG;QACH,IAAO,CAAA,OAAA,GAAG,CAAC,MAAiC,EAAE,OAA8B,KAC1E,IAAI,CAAC,OAAO,CAAC,kDAAkD,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KA9D3F;AA+DF;;;;"}
1
+ {"version":3,"file":"conversation.js","sources":["../../../../src/resources/classes/conversation.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n ConversationAddParticipantParams,\n ConversationCreateParams,\n ConversationCreateResponse,\n ConversationGetTokenResponse,\n ConversationMessageParams,\n ConversationRemoveParticipantParams,\n OystehrClientRequest,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\nimport * as ext from './conversation-ext';\n\nexport class Conversation extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n ENCOUNTER_VS_EXTENSION_URL = ext.ENCOUNTER_VS_EXTENSION_URL;\n ENCOUNTER_VS_EXTENSION_RELATIVE_URL = ext.ENCOUNTER_VS_EXTENSION_RELATIVE_URL;\n /**\n * Helper function to get a conversationId from an encounter created as an Oystehr Conversation\n * @param encounter well-formed FHIR R4B or R5 Encounter\n * @returns conversationId\n */\n getConversationIdFromEncounter = ext.getConversationIdFromEncounter;\n /**\n * Create a new Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Requirements:\n * Action: `Messaging:CreateConversation`\n * Access Policy Resource: `Messaging:Conversation`\n * Action: `FHIR:Create`\n * Access Policy Resource: `FHIR:Encounter`\n * Action: `FHIR:Update`\n * Access Policy Resource: `FHIR:Encounter`\n */\n create(params: ConversationCreateParams, request?: OystehrClientRequest): Promise<ConversationCreateResponse> {\n return this.request('/messaging/conversation', 'post')(params, request);\n }\n /**\n * Get a Conversation Token. Conversation Tokens are used to join the Conversation with the Twilio Conversations SDKs. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Action: `Messaging:GetConversationToken`\n * Access Policy Resource: `Messaging:Conversation`.\n */\n getToken(request?: OystehrClientRequest): Promise<ConversationGetTokenResponse> {\n return this.request('/messaging/conversation/token', 'get')(request);\n }\n /**\n * Add a participant to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Requirements:\n * Action: `Messaging:ConversationAddParticipant`\n * Access Policy Resource: `Messaging:Conversation`\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Encounter`\n * Action: `FHIR:Update`\n * Access Policy Resource: `FHIR:Encounter`\n */\n addParticipant(params: ConversationAddParticipantParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/messaging/conversation/{conversationId}/participant', 'post')(params, request);\n }\n /**\n * Remove a participant from a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Requirements:\n * Action: `Messaging:ConversationRemoveParticipant`\n * Access Policy Resource: `Messaging:Conversation`\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Patient`, `FHIR:Practitioner`, or `FHIR:RelatedPerson`\n */\n removeParticipant(params: ConversationRemoveParticipantParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/messaging/conversation/{conversationId}/participant', 'delete')(params, request);\n }\n /**\n * Send a message to a Conversation. [Conversations](https://docs.oystehr.com/services/messaging/conversations/) allow you to build multi-channel bi-directional messaging workflows. For example, you might create a Conversation where a provider messages with a patient through a web app, and the patient receives and responds to messages via SMS on their phone.\n *\n * Access Policy Requirements:\n * Action: `Messaging:ConversationSendMessage`\n * Access Policy Resource: `Messaging:Conversation`\n */\n message(params: ConversationMessageParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/messaging/conversation/{conversationId}/message', 'post')(params, request);\n }\n}\n"],"names":["ext.ENCOUNTER_VS_EXTENSION_URL","ext.ENCOUNTER_VS_EXTENSION_RELATIVE_URL","ext.getConversationIdFromEncounter"],"mappings":";;;AAAA;AAeM,MAAO,YAAa,SAAQ,WAAW,CAAA;AAC3C,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB,QAAA,IAAA,CAAA,0BAA0B,GAAGA,0BAA8B,CAAC;AAC5D,QAAA,IAAA,CAAA,mCAAmC,GAAGC,mCAAuC,CAAC;AAC9E;;;;AAIG;AACH,QAAA,IAAA,CAAA,8BAA8B,GAAGC,8BAAkC,CAAC;KARnE;AASD;;;;;;;;;;AAUG;IACH,MAAM,CAAC,MAAgC,EAAE,OAA8B,EAAA;AACrE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzE;AACD;;;;;AAKG;AACH,IAAA,QAAQ,CAAC,OAA8B,EAAA;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,+BAA+B,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;KACtE;AACD;;;;;;;;;;AAUG;IACH,cAAc,CAAC,MAAwC,EAAE,OAA8B,EAAA;AACrF,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,sDAAsD,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACtG;AACD;;;;;;;;AAQG;IACH,iBAAiB,CAAC,MAA2C,EAAE,OAA8B,EAAA;AAC3F,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,sDAAsD,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACxG;AACD;;;;;;AAMG;IACH,OAAO,CAAC,MAAiC,EAAE,OAA8B,EAAA;AACvE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,kDAAkD,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAClG;AACF;;;;"}
@@ -9,28 +9,28 @@ export declare class Developer extends SDKResource {
9
9
  * Access Policy Action: `IAM:GetDeveloper`
10
10
  * Access Policy Resource: `IAM:Developer`
11
11
  */
12
- get: (params: DeveloperGetParams, request?: OystehrClientRequest) => Promise<DeveloperGetResponse>;
12
+ get(params: DeveloperGetParams, request?: OystehrClientRequest): Promise<DeveloperGetResponse>;
13
13
  /**
14
14
  * Update the Developer with the provided ID. Developer accounts are used to log into the [Developer Console](https://console.oystehr.com/) and administrate [Projects](https://docs.oystehr.com/services/project/). [Developers](https://docs.oystehr.com/services/iam/developers/) are the only people who can belong to and act across multiple Projects, because they exist above the Project level.
15
15
  *
16
16
  * Access Policy Action: `IAM:UpdateDeveloper`
17
17
  * Access Policy Resource: `IAM:Developer`
18
18
  */
19
- update: (params: DeveloperUpdateParams, request?: OystehrClientRequest) => Promise<DeveloperUpdateResponse>;
19
+ update(params: DeveloperUpdateParams, request?: OystehrClientRequest): Promise<DeveloperUpdateResponse>;
20
20
  /**
21
21
  * Remove the Developer with the provided ID from the project. Developer accounts are used to log into the [Developer Console](https://console.oystehr.com/) and administrate [Projects](https://docs.oystehr.com/services/project/). [Developers](https://docs.oystehr.com/services/iam/developers/) are the only people who can belong to and act across multiple Projects, because they exist above the Project level.
22
22
  *
23
23
  * Access Policy Action: `IAM:RemoveDeveloper`
24
24
  * Access Policy Resource: `IAM:Developer`
25
25
  */
26
- delete: (params: DeveloperDeleteParams, request?: OystehrClientRequest) => Promise<void>;
26
+ delete(params: DeveloperDeleteParams, request?: OystehrClientRequest): Promise<void>;
27
27
  /**
28
28
  * Invite a new Developer to the Project. Developer accounts are used to log into the [Developer Console](https://console.oystehr.com/) and administrate [Projects](https://docs.oystehr.com/services/project/). [Developers](https://docs.oystehr.com/services/iam/developers/) are the only people who can belong to and act across multiple Projects, because they exist above the Project level.
29
29
  *
30
30
  * Access Policy Action: `IAM:InviteDeveloper`
31
31
  * Access Policy Resource: `IAM:Developer`
32
32
  */
33
- invite: (params: DeveloperInviteParams, request?: OystehrClientRequest) => Promise<DeveloperInviteResponse>;
33
+ invite(params: DeveloperInviteParams, request?: OystehrClientRequest): Promise<DeveloperInviteResponse>;
34
34
  /**
35
35
  * DEPRECATED. Please use [v2/list](https://api-reference.oystehr.com/reference/get_developer-v2-list) instead.
36
36
  *
@@ -39,12 +39,12 @@ export declare class Developer extends SDKResource {
39
39
  * Access Policy Action: `IAM:ListAllDevelopers`
40
40
  * Access Policy Resource: `IAM:Developer`
41
41
  */
42
- list: (request?: OystehrClientRequest) => Promise<DeveloperListResponse>;
42
+ list(request?: OystehrClientRequest): Promise<DeveloperListResponse>;
43
43
  /**
44
44
  * Get Developers 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.
45
45
  *
46
46
  * Access Policy Action: `Project:ListAllUsers`
47
47
  * Access Policy Resource: `Project:Settings`
48
48
  */
49
- listV2: (params: DeveloperListV2Params, request?: OystehrClientRequest) => Promise<DeveloperListV2Response>;
49
+ listV2(params: DeveloperListV2Params, request?: OystehrClientRequest): Promise<DeveloperListV2Response>;
50
50
  }