@oystehr/sdk 3.0.4 → 3.0.5

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 (129) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/config.d.ts +8 -0
  3. package/dist/cjs/index.cjs +806 -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 +4 -4
  12. package/dist/cjs/resources/classes/m2m.d.ts +7 -7
  13. package/dist/cjs/resources/classes/messaging.d.ts +1 -1
  14. package/dist/cjs/resources/classes/paymentMethod.d.ts +4 -4
  15. package/dist/cjs/resources/classes/project.d.ts +2 -2
  16. package/dist/cjs/resources/classes/rcm.d.ts +3 -3
  17. package/dist/cjs/resources/classes/role.d.ts +5 -5
  18. package/dist/cjs/resources/classes/secret.d.ts +4 -4
  19. package/dist/cjs/resources/classes/telemed.d.ts +2 -2
  20. package/dist/cjs/resources/classes/transactionalSMS.d.ts +1 -1
  21. package/dist/cjs/resources/classes/user.d.ts +7 -7
  22. package/dist/cjs/resources/classes/version.d.ts +1 -1
  23. package/dist/cjs/resources/classes/z3.d.ts +7 -7
  24. package/dist/cjs/resources/classes/zambda.d.ts +8 -8
  25. package/dist/cjs/resources/classes/zambdaLogStream.d.ts +3 -3
  26. package/dist/cjs/resources/types/ConversationAddParticipantParams.d.ts +1 -1
  27. package/dist/cjs/resources/types/ConversationCreateResponse.d.ts +1 -1
  28. package/dist/cjs/resources/types/ConversationRemoveParticipantParams.d.ts +1 -1
  29. package/dist/cjs/resources/types/TelemedCreateMeetingParams.d.ts +1 -1
  30. package/dist/cjs/resources/types/TelemedCreateMeetingResponse.d.ts +1 -1
  31. package/dist/cjs/tests/setup/constants.d.ts +1 -1
  32. package/dist/esm/client/client.js +14 -11
  33. package/dist/esm/client/client.js.map +1 -1
  34. package/dist/esm/config.d.ts +8 -0
  35. package/dist/esm/index.min.js +1 -1
  36. package/dist/esm/index.min.js.map +1 -1
  37. package/dist/esm/resources/classes/application.d.ts +8 -8
  38. package/dist/esm/resources/classes/application.js +72 -56
  39. package/dist/esm/resources/classes/application.js.map +1 -1
  40. package/dist/esm/resources/classes/charge.d.ts +2 -2
  41. package/dist/esm/resources/classes/charge.js +28 -24
  42. package/dist/esm/resources/classes/charge.js.map +1 -1
  43. package/dist/esm/resources/classes/conversation.d.ts +5 -5
  44. package/dist/esm/resources/classes/conversation.js +59 -49
  45. package/dist/esm/resources/classes/conversation.js.map +1 -1
  46. package/dist/esm/resources/classes/developer.d.ts +6 -6
  47. package/dist/esm/resources/classes/developer.js +56 -44
  48. package/dist/esm/resources/classes/developer.js.map +1 -1
  49. package/dist/esm/resources/classes/erx.d.ts +4 -4
  50. package/dist/esm/resources/classes/erx.js +24 -16
  51. package/dist/esm/resources/classes/erx.js.map +1 -1
  52. package/dist/esm/resources/classes/fhir-ext.js +3 -0
  53. package/dist/esm/resources/classes/fhir-ext.js.map +1 -1
  54. package/dist/esm/resources/classes/m2m.d.ts +7 -7
  55. package/dist/esm/resources/classes/m2m.js +65 -51
  56. package/dist/esm/resources/classes/m2m.js.map +1 -1
  57. package/dist/esm/resources/classes/messaging.d.ts +1 -1
  58. package/dist/esm/resources/classes/messaging.js +6 -4
  59. package/dist/esm/resources/classes/messaging.js.map +1 -1
  60. package/dist/esm/resources/classes/paymentMethod.d.ts +4 -4
  61. package/dist/esm/resources/classes/paymentMethod.js +72 -64
  62. package/dist/esm/resources/classes/paymentMethod.js.map +1 -1
  63. package/dist/esm/resources/classes/project.d.ts +2 -2
  64. package/dist/esm/resources/classes/project.js +18 -14
  65. package/dist/esm/resources/classes/project.js.map +1 -1
  66. package/dist/esm/resources/classes/rcm.d.ts +3 -3
  67. package/dist/esm/resources/classes/rcm.js +39 -33
  68. package/dist/esm/resources/classes/rcm.js.map +1 -1
  69. package/dist/esm/resources/classes/role.d.ts +5 -5
  70. package/dist/esm/resources/classes/role.js +46 -36
  71. package/dist/esm/resources/classes/role.js.map +1 -1
  72. package/dist/esm/resources/classes/secret.d.ts +4 -4
  73. package/dist/esm/resources/classes/secret.js +36 -28
  74. package/dist/esm/resources/classes/secret.js.map +1 -1
  75. package/dist/esm/resources/classes/telemed.d.ts +2 -2
  76. package/dist/esm/resources/classes/telemed.js +27 -23
  77. package/dist/esm/resources/classes/telemed.js.map +1 -1
  78. package/dist/esm/resources/classes/transactionalSMS.d.ts +1 -1
  79. package/dist/esm/resources/classes/transactionalSMS.js +18 -16
  80. package/dist/esm/resources/classes/transactionalSMS.js.map +1 -1
  81. package/dist/esm/resources/classes/user.d.ts +7 -7
  82. package/dist/esm/resources/classes/user.js +64 -50
  83. package/dist/esm/resources/classes/user.js.map +1 -1
  84. package/dist/esm/resources/classes/version.d.ts +1 -1
  85. package/dist/esm/resources/classes/version.js +6 -4
  86. package/dist/esm/resources/classes/version.js.map +1 -1
  87. package/dist/esm/resources/classes/z3.d.ts +7 -7
  88. package/dist/esm/resources/classes/z3.js +55 -43
  89. package/dist/esm/resources/classes/z3.js.map +1 -1
  90. package/dist/esm/resources/classes/zambda.d.ts +8 -8
  91. package/dist/esm/resources/classes/zambda.js +71 -55
  92. package/dist/esm/resources/classes/zambda.js.map +1 -1
  93. package/dist/esm/resources/classes/zambdaLogStream.d.ts +3 -3
  94. package/dist/esm/resources/classes/zambdaLogStream.js +27 -21
  95. package/dist/esm/resources/classes/zambdaLogStream.js.map +1 -1
  96. package/dist/esm/resources/types/ConversationAddParticipantParams.d.ts +1 -1
  97. package/dist/esm/resources/types/ConversationCreateResponse.d.ts +1 -1
  98. package/dist/esm/resources/types/ConversationRemoveParticipantParams.d.ts +1 -1
  99. package/dist/esm/resources/types/TelemedCreateMeetingParams.d.ts +1 -1
  100. package/dist/esm/resources/types/TelemedCreateMeetingResponse.d.ts +1 -1
  101. package/dist/esm/tests/setup/constants.d.ts +1 -1
  102. package/package.json +3 -3
  103. package/src/client/client.ts +8 -3
  104. package/src/config.ts +8 -0
  105. package/src/resources/classes/application.ts +27 -19
  106. package/src/resources/classes/charge.ts +6 -4
  107. package/src/resources/classes/conversation.ts +15 -10
  108. package/src/resources/classes/developer.ts +18 -11
  109. package/src/resources/classes/erx.ts +14 -8
  110. package/src/resources/classes/fhir-ext.ts +3 -0
  111. package/src/resources/classes/m2m.ts +21 -13
  112. package/src/resources/classes/messaging.ts +3 -2
  113. package/src/resources/classes/paymentMethod.ts +12 -8
  114. package/src/resources/classes/project.ts +6 -3
  115. package/src/resources/classes/rcm.ts +12 -8
  116. package/src/resources/classes/role.ts +15 -9
  117. package/src/resources/classes/secret.ts +12 -7
  118. package/src/resources/classes/telemed.ts +7 -7
  119. package/src/resources/classes/transactionalSMS.ts +3 -2
  120. package/src/resources/classes/user.ts +21 -12
  121. package/src/resources/classes/version.ts +3 -1
  122. package/src/resources/classes/z3.ts +19 -14
  123. package/src/resources/classes/zambda.ts +25 -15
  124. package/src/resources/classes/zambdaLogStream.ts +9 -8
  125. package/src/resources/types/ConversationAddParticipantParams.ts +1 -1
  126. package/src/resources/types/ConversationCreateResponse.ts +1 -1
  127. package/src/resources/types/ConversationRemoveParticipantParams.ts +1 -1
  128. package/src/resources/types/TelemedCreateMeetingParams.ts +1 -1
  129. package/src/resources/types/TelemedCreateMeetingResponse.ts +1 -1
@@ -17,53 +17,65 @@ class Z3 extends SDKResource {
17
17
  this.downloadFile = downloadFile;
18
18
  /**
19
19
  * This helper performs a `getPresignedUrl` request for Z3 URLs of the forms
20
- * `https://projects-api.oystehr.com/v1/z3/<bucket>/<key>` * or `z3://<bucket>/<key>`
20
+ * `https://projects-api.oystehr.com/v1/z3/<bucket>/<key>` or `z3://<bucket>/<key>`
21
21
  * instead of the standard SDK `Z3GetPresignedUrlParams`.
22
22
  * @param params url and action
23
23
  */
24
24
  this.getPresignedUrlForZ3Url = getPresignedUrlForZ3Url;
25
- /**
26
- * List all Z3 Buckets. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
27
- *
28
- * Access Policy Action: `Z3:ListBuckets`
29
- * Access Policy Resource: `Z3:BucketName`
30
- */
31
- this.listBuckets = (request) => this.request('/z3', 'get')(request);
32
- /**
33
- * Create a Z3 Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
34
- *
35
- * Access Policy Action: `Z3:CreateBucket`
36
- * Access Policy Resource: `Z3:BucketName`
37
- */
38
- this.createBucket = (params, request) => this.request('/z3/{bucketName}', 'put')(params, request);
39
- /**
40
- * Delete the Z3 Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
41
- *
42
- * Access Policy Action: `Z3:DeleteBucket`
43
- * Access Policy Resource: `Z3:BucketName`
44
- */
45
- this.deleteBucket = (params, request) => this.request('/z3/{bucketName}', 'delete')(params, request);
46
- /**
47
- * List all Z3 Objects at the provided path in the Bucket with the provided name [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
48
- *
49
- * Access Policy Action: `Z3:ListObjects`
50
- * Access Policy Resource: `Z3:BucketName:ObjectPath`
51
- */
52
- this.listObjects = (params, request) => this.request('/z3/{bucketName}/{objectPath+}', 'get')(params, request);
53
- /**
54
- * Get a link for downloading or uploading a Z3 Object to the provided path in the Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
55
- *
56
- * Access Policy Action: `Z3:PutObject` or `Z3:GetObject`
57
- * Access Policy Resource: `Z3:BucketName:ObjectPath`
58
- */
59
- this.getPresignedUrl = (params, request) => this.request('/z3/{bucketName}/{objectPath+}', 'post')(params, request);
60
- /**
61
- * Delete the Z3 Object at the provided path in the Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
62
- *
63
- * Access Policy Action: `Z3:DeleteObject`
64
- * Access Policy Resource: `Z3:BucketName:ObjectPath`
65
- */
66
- this.deleteObject = (params, request) => this.request('/z3/{bucketName}/{objectPath+}', 'delete')(params, request);
25
+ }
26
+ /**
27
+ * List all Z3 Buckets. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
28
+ *
29
+ * Access Policy Action: `Z3:ListBuckets`
30
+ * Access Policy Resource: `Z3:BucketName`
31
+ */
32
+ listBuckets(request) {
33
+ return this.request('/z3', 'get')(request);
34
+ }
35
+ /**
36
+ * Create a Z3 Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
37
+ *
38
+ * Access Policy Action: `Z3:CreateBucket`
39
+ * Access Policy Resource: `Z3:BucketName`
40
+ */
41
+ createBucket(params, request) {
42
+ return this.request('/z3/{bucketName}', 'put')(params, request);
43
+ }
44
+ /**
45
+ * Delete the Z3 Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
46
+ *
47
+ * Access Policy Action: `Z3:DeleteBucket`
48
+ * Access Policy Resource: `Z3:BucketName`
49
+ */
50
+ deleteBucket(params, request) {
51
+ return this.request('/z3/{bucketName}', 'delete')(params, request);
52
+ }
53
+ /**
54
+ * List all Z3 Objects at the provided path in the Bucket with the provided name [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
55
+ *
56
+ * Access Policy Action: `Z3:ListObjects`
57
+ * Access Policy Resource: `Z3:BucketName:ObjectPath`
58
+ */
59
+ listObjects(params, request) {
60
+ return this.request('/z3/{bucketName}/{objectPath+}', 'get')(params, request);
61
+ }
62
+ /**
63
+ * Get a link for downloading or uploading a Z3 Object to the provided path in the Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
64
+ *
65
+ * Access Policy Action: `Z3:PutObject` or `Z3:GetObject`
66
+ * Access Policy Resource: `Z3:BucketName:ObjectPath`
67
+ */
68
+ getPresignedUrl(params, request) {
69
+ return this.request('/z3/{bucketName}/{objectPath+}', 'post')(params, request);
70
+ }
71
+ /**
72
+ * Delete the Z3 Object at the provided path in the Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.
73
+ *
74
+ * Access Policy Action: `Z3:DeleteObject`
75
+ * Access Policy Resource: `Z3:BucketName:ObjectPath`
76
+ */
77
+ deleteObject(params, request) {
78
+ return this.request('/z3/{bucketName}/{objectPath+}', 'delete')(params, request);
67
79
  }
68
80
  }
69
81
 
@@ -1 +1 @@
1
- {"version":3,"file":"z3.js","sources":["../../../../src/resources/classes/z3.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n Z3CreateBucketParams,\n Z3CreateBucketResponse,\n Z3DeleteBucketParams,\n Z3DeleteObjectParams,\n Z3GetPresignedUrlParams,\n Z3GetPresignedUrlResponse,\n Z3ListBucketsResponse,\n Z3ListObjectsParams,\n Z3ListObjectsResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\nimport * as ext from './z3-ext';\n\nexport class Z3 extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Uploads a file to the bucket and key. Files should be Blobs.\n * @param params upload file params\n */\n uploadFile = ext.uploadFile;\n /**\n * Downloads an object matching the bucket and key. File content is returned as an ArrayBuffer.\n * @param params download file params\n */\n downloadFile = ext.downloadFile;\n /**\n * This helper performs a `getPresignedUrl` request for Z3 URLs of the forms\n * `https://projects-api.oystehr.com/v1/z3/<bucket>/<key>` * or `z3://<bucket>/<key>`\n * instead of the standard SDK `Z3GetPresignedUrlParams`.\n * @param params url and action\n */\n getPresignedUrlForZ3Url = ext.getPresignedUrlForZ3Url;\n /**\n * List all Z3 Buckets. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:ListBuckets`\n * Access Policy Resource: `Z3:BucketName`\n */\n listBuckets = (request?: OystehrClientRequest): Promise<Z3ListBucketsResponse> => this.request('/z3', 'get')(request);\n /**\n * Create a Z3 Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:CreateBucket`\n * Access Policy Resource: `Z3:BucketName`\n */\n createBucket = (params: Z3CreateBucketParams, request?: OystehrClientRequest): Promise<Z3CreateBucketResponse> =>\n this.request('/z3/{bucketName}', 'put')(params, request);\n /**\n * Delete the Z3 Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:DeleteBucket`\n * Access Policy Resource: `Z3:BucketName`\n */\n deleteBucket = (params: Z3DeleteBucketParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/z3/{bucketName}', 'delete')(params, request);\n /**\n * List all Z3 Objects at the provided path in the Bucket with the provided name [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:ListObjects`\n * Access Policy Resource: `Z3:BucketName:ObjectPath`\n */\n listObjects = (params: Z3ListObjectsParams, request?: OystehrClientRequest): Promise<Z3ListObjectsResponse> =>\n this.request('/z3/{bucketName}/{objectPath+}', 'get')(params, request);\n /**\n * Get a link for downloading or uploading a Z3 Object to the provided path in the Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:PutObject` or `Z3:GetObject`\n * Access Policy Resource: `Z3:BucketName:ObjectPath`\n */\n getPresignedUrl = (\n params: Z3GetPresignedUrlParams,\n request?: OystehrClientRequest\n ): Promise<Z3GetPresignedUrlResponse> => this.request('/z3/{bucketName}/{objectPath+}', 'post')(params, request);\n /**\n * Delete the Z3 Object at the provided path in the Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:DeleteObject`\n * Access Policy Resource: `Z3:BucketName:ObjectPath`\n */\n deleteObject = (params: Z3DeleteObjectParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/z3/{bucketName}/{objectPath+}', 'delete')(params, request);\n}\n"],"names":["ext.uploadFile","ext.downloadFile","ext.getPresignedUrlForZ3Url"],"mappings":";;;AAAA;AAkBM,MAAO,EAAG,SAAQ,WAAW,CAAA;AACjC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;AAGG;AACH,QAAA,IAAA,CAAA,UAAU,GAAGA,UAAc,CAAC;AAC5B;;;AAGG;AACH,QAAA,IAAA,CAAA,YAAY,GAAGC,YAAgB,CAAC;AAChC;;;;;AAKG;AACH,QAAA,IAAA,CAAA,uBAAuB,GAAGC,uBAA2B,CAAC;AACtD;;;;;AAKG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,CAAC,OAA8B,KAAqC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AACtH;;;;;AAKG;QACH,IAAY,CAAA,YAAA,GAAG,CAAC,MAA4B,EAAE,OAA8B,KAC1E,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC3D;;;;;AAKG;QACH,IAAY,CAAA,YAAA,GAAG,CAAC,MAA4B,EAAE,OAA8B,KAC1E,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC9D;;;;;AAKG;QACH,IAAW,CAAA,WAAA,GAAG,CAAC,MAA2B,EAAE,OAA8B,KACxE,IAAI,CAAC,OAAO,CAAC,gCAAgC,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACzE;;;;;AAKG;QACH,IAAe,CAAA,eAAA,GAAG,CAChB,MAA+B,EAC/B,OAA8B,KACS,IAAI,CAAC,OAAO,CAAC,gCAAgC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACjH;;;;;AAKG;QACH,IAAY,CAAA,YAAA,GAAG,CAAC,MAA4B,EAAE,OAA8B,KAC1E,IAAI,CAAC,OAAO,CAAC,gCAAgC,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAlE3E;AAmEF;;;;"}
1
+ {"version":3,"file":"z3.js","sources":["../../../../src/resources/classes/z3.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n Z3CreateBucketParams,\n Z3CreateBucketResponse,\n Z3DeleteBucketParams,\n Z3DeleteObjectParams,\n Z3GetPresignedUrlParams,\n Z3GetPresignedUrlResponse,\n Z3ListBucketsResponse,\n Z3ListObjectsParams,\n Z3ListObjectsResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\nimport * as ext from './z3-ext';\n\nexport class Z3 extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Uploads a file to the bucket and key. Files should be Blobs.\n * @param params upload file params\n */\n uploadFile = ext.uploadFile;\n /**\n * Downloads an object matching the bucket and key. File content is returned as an ArrayBuffer.\n * @param params download file params\n */\n downloadFile = ext.downloadFile;\n /**\n * This helper performs a `getPresignedUrl` request for Z3 URLs of the forms\n * `https://projects-api.oystehr.com/v1/z3/<bucket>/<key>` or `z3://<bucket>/<key>`\n * instead of the standard SDK `Z3GetPresignedUrlParams`.\n * @param params url and action\n */\n getPresignedUrlForZ3Url = ext.getPresignedUrlForZ3Url;\n /**\n * List all Z3 Buckets. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:ListBuckets`\n * Access Policy Resource: `Z3:BucketName`\n */\n listBuckets(request?: OystehrClientRequest): Promise<Z3ListBucketsResponse> {\n return this.request('/z3', 'get')(request);\n }\n /**\n * Create a Z3 Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:CreateBucket`\n * Access Policy Resource: `Z3:BucketName`\n */\n createBucket(params: Z3CreateBucketParams, request?: OystehrClientRequest): Promise<Z3CreateBucketResponse> {\n return this.request('/z3/{bucketName}', 'put')(params, request);\n }\n /**\n * Delete the Z3 Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:DeleteBucket`\n * Access Policy Resource: `Z3:BucketName`\n */\n deleteBucket(params: Z3DeleteBucketParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/z3/{bucketName}', 'delete')(params, request);\n }\n /**\n * List all Z3 Objects at the provided path in the Bucket with the provided name [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:ListObjects`\n * Access Policy Resource: `Z3:BucketName:ObjectPath`\n */\n listObjects(params: Z3ListObjectsParams, request?: OystehrClientRequest): Promise<Z3ListObjectsResponse> {\n return this.request('/z3/{bucketName}/{objectPath+}', 'get')(params, request);\n }\n /**\n * Get a link for downloading or uploading a Z3 Object to the provided path in the Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:PutObject` or `Z3:GetObject`\n * Access Policy Resource: `Z3:BucketName:ObjectPath`\n */\n getPresignedUrl(params: Z3GetPresignedUrlParams, request?: OystehrClientRequest): Promise<Z3GetPresignedUrlResponse> {\n return this.request('/z3/{bucketName}/{objectPath+}', 'post')(params, request);\n }\n /**\n * Delete the Z3 Object at the provided path in the Bucket with the provided name. [Z3](https://docs.oystehr.com/services/z3/) is Oystehr's built-in and fully integrated solution for file storage.\n *\n * Access Policy Action: `Z3:DeleteObject`\n * Access Policy Resource: `Z3:BucketName:ObjectPath`\n */\n deleteObject(params: Z3DeleteObjectParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/z3/{bucketName}/{objectPath+}', 'delete')(params, request);\n }\n}\n"],"names":["ext.uploadFile","ext.downloadFile","ext.getPresignedUrlForZ3Url"],"mappings":";;;AAAA;AAkBM,MAAO,EAAG,SAAQ,WAAW,CAAA;AACjC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;AAGG;AACH,QAAA,IAAA,CAAA,UAAU,GAAGA,UAAc,CAAC;AAC5B;;;AAGG;AACH,QAAA,IAAA,CAAA,YAAY,GAAGC,YAAgB,CAAC;AAChC;;;;;AAKG;AACH,QAAA,IAAA,CAAA,uBAAuB,GAAGC,uBAA2B,CAAC;KAjBrD;AAkBD;;;;;AAKG;AACH,IAAA,WAAW,CAAC,OAA8B,EAAA;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;KAC5C;AACD;;;;;AAKG;IACH,YAAY,CAAC,MAA4B,EAAE,OAA8B,EAAA;AACvE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACjE;AACD;;;;;AAKG;IACH,YAAY,CAAC,MAA4B,EAAE,OAA8B,EAAA;AACvE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpE;AACD;;;;;AAKG;IACH,WAAW,CAAC,MAA2B,EAAE,OAA8B,EAAA;AACrE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,gCAAgC,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/E;AACD;;;;;AAKG;IACH,eAAe,CAAC,MAA+B,EAAE,OAA8B,EAAA;AAC7E,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,gCAAgC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAChF;AACD;;;;;AAKG;IACH,YAAY,CAAC,MAA4B,EAAE,OAA8B,EAAA;AACvE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,gCAAgC,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAClF;AACF;;;;"}
@@ -11,53 +11,53 @@ export declare class Zambda extends SDKResource {
11
11
  * Access Policy Action: `Zambda:ListAllFunctions`
12
12
  * Access Policy Resource: `Zambda:Function`
13
13
  */
14
- list: (request?: OystehrClientRequest) => Promise<ZambdaListResponse>;
14
+ list(request?: OystehrClientRequest): Promise<ZambdaListResponse>;
15
15
  /**
16
16
  * Create a new Zambda Function. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
17
17
  *
18
18
  * Access Policy Action: `Zambda:CreateFunction`
19
19
  * Access Policy Resource: `Zambda:Function`
20
20
  */
21
- create: (params: ZambdaCreateParams, request?: OystehrClientRequest) => Promise<ZambdaCreateResponse>;
21
+ create(params: ZambdaCreateParams, request?: OystehrClientRequest): Promise<ZambdaCreateResponse>;
22
22
  /**
23
23
  * Get the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
24
24
  *
25
25
  * Access Policy Action: `Zambda:GetFunction`
26
26
  * Access Policy Resource: `Zambda:Function`
27
27
  */
28
- get: (params: ZambdaGetParams, request?: OystehrClientRequest) => Promise<ZambdaGetResponse>;
28
+ get(params: ZambdaGetParams, request?: OystehrClientRequest): Promise<ZambdaGetResponse>;
29
29
  /**
30
30
  * Update the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
31
31
  *
32
32
  * Access Policy Action: `Zambda:UpdateFunction`
33
33
  * Access Policy Resource: `Zambda:Function`
34
34
  */
35
- update: (params: ZambdaUpdateParams, request?: OystehrClientRequest) => Promise<ZambdaUpdateResponse>;
35
+ update(params: ZambdaUpdateParams, request?: OystehrClientRequest): Promise<ZambdaUpdateResponse>;
36
36
  /**
37
37
  * Delete the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
38
38
  *
39
39
  * Access Policy Action: `Zambda:DeleteFunction`
40
40
  * Access Policy Resource: `Zambda:Function`
41
41
  */
42
- delete: (params: ZambdaDeleteParams, request?: OystehrClientRequest) => Promise<void>;
42
+ delete(params: ZambdaDeleteParams, request?: OystehrClientRequest): Promise<void>;
43
43
  /**
44
44
  * Execute the [Authenticated Zambda Function](https://docs.oystehr.com/services/zambda/types/authenticated/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
45
45
  *
46
46
  * Access Policy Action: `Zambda:InvokeFunction`
47
47
  * Access Policy Resource: `Zambda:Function`
48
48
  */
49
- execute: (params: ZambdaExecuteParams, request?: OystehrClientRequest) => Promise<ZambdaExecuteResponse>;
49
+ execute(params: ZambdaExecuteParams, request?: OystehrClientRequest): Promise<ZambdaExecuteResponse>;
50
50
  /**
51
51
  * Execute the [Public Zambda Function](https://docs.oystehr.com/services/zambda/types/public/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
52
52
  *
53
53
  * Execute a zambda that has method http_open. This endpoint is public so there are no access policy requirements.
54
54
  */
55
- executePublic: (params: ZambdaExecutePublicParams, request?: OystehrClientRequest) => Promise<ZambdaExecutePublicResponse>;
55
+ executePublic(params: ZambdaExecutePublicParams, request?: OystehrClientRequest): Promise<ZambdaExecutePublicResponse>;
56
56
  /**
57
57
  * Returns a URL that is used to deploy code to the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
58
58
  *
59
59
  * Access Policy Action: `Zambda:UpdateFunction`
60
60
  * Access Policy Resource: `Zambda:Function`
61
61
  */
62
- s3Upload: (params: ZambdaS3UploadParams, request?: OystehrClientRequest) => Promise<ZambdaS3UploadResponse>;
62
+ s3Upload(params: ZambdaS3UploadParams, request?: OystehrClientRequest): Promise<ZambdaS3UploadResponse>;
63
63
  }
@@ -6,61 +6,77 @@ class Zambda extends SDKResource {
6
6
  constructor(config) {
7
7
  super(config);
8
8
  this.uploadFile = uploadFile;
9
- /**
10
- * Get a list of all Zambda Functions in the Project. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
11
- *
12
- * Access Policy Action: `Zambda:ListAllFunctions`
13
- * Access Policy Resource: `Zambda:Function`
14
- */
15
- this.list = (request) => this.request('/zambda', 'get')(request);
16
- /**
17
- * Create a new Zambda Function. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
18
- *
19
- * Access Policy Action: `Zambda:CreateFunction`
20
- * Access Policy Resource: `Zambda:Function`
21
- */
22
- this.create = (params, request) => this.request('/zambda', 'post')(params, request);
23
- /**
24
- * Get the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
25
- *
26
- * Access Policy Action: `Zambda:GetFunction`
27
- * Access Policy Resource: `Zambda:Function`
28
- */
29
- this.get = (params, request) => this.request('/zambda/{id}', 'get')(params, request);
30
- /**
31
- * Update the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
32
- *
33
- * Access Policy Action: `Zambda:UpdateFunction`
34
- * Access Policy Resource: `Zambda:Function`
35
- */
36
- this.update = (params, request) => this.request('/zambda/{id}', 'patch')(params, request);
37
- /**
38
- * Delete the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
39
- *
40
- * Access Policy Action: `Zambda:DeleteFunction`
41
- * Access Policy Resource: `Zambda:Function`
42
- */
43
- this.delete = (params, request) => this.request('/zambda/{id}', 'delete')(params, request);
44
- /**
45
- * Execute the [Authenticated Zambda Function](https://docs.oystehr.com/services/zambda/types/authenticated/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
46
- *
47
- * Access Policy Action: `Zambda:InvokeFunction`
48
- * Access Policy Resource: `Zambda:Function`
49
- */
50
- this.execute = (params, request) => this.request('/zambda/{id}/execute', 'post')(params, request);
51
- /**
52
- * Execute the [Public Zambda Function](https://docs.oystehr.com/services/zambda/types/public/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
53
- *
54
- * Execute a zambda that has method http_open. This endpoint is public so there are no access policy requirements.
55
- */
56
- this.executePublic = (params, request) => this.request('/zambda/{id}/execute-public', 'post')(params, request);
57
- /**
58
- * Returns a URL that is used to deploy code to the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
59
- *
60
- * Access Policy Action: `Zambda:UpdateFunction`
61
- * Access Policy Resource: `Zambda:Function`
62
- */
63
- this.s3Upload = (params, request) => this.request('/zambda/{id}/s3-upload', 'post')(params, request);
9
+ }
10
+ /**
11
+ * Get a list of all Zambda Functions in the Project. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
12
+ *
13
+ * Access Policy Action: `Zambda:ListAllFunctions`
14
+ * Access Policy Resource: `Zambda:Function`
15
+ */
16
+ list(request) {
17
+ return this.request('/zambda', 'get')(request);
18
+ }
19
+ /**
20
+ * Create a new Zambda Function. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
21
+ *
22
+ * Access Policy Action: `Zambda:CreateFunction`
23
+ * Access Policy Resource: `Zambda:Function`
24
+ */
25
+ create(params, request) {
26
+ return this.request('/zambda', 'post')(params, request);
27
+ }
28
+ /**
29
+ * Get the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
30
+ *
31
+ * Access Policy Action: `Zambda:GetFunction`
32
+ * Access Policy Resource: `Zambda:Function`
33
+ */
34
+ get(params, request) {
35
+ return this.request('/zambda/{id}', 'get')(params, request);
36
+ }
37
+ /**
38
+ * Update the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
39
+ *
40
+ * Access Policy Action: `Zambda:UpdateFunction`
41
+ * Access Policy Resource: `Zambda:Function`
42
+ */
43
+ update(params, request) {
44
+ return this.request('/zambda/{id}', 'patch')(params, request);
45
+ }
46
+ /**
47
+ * Delete the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
48
+ *
49
+ * Access Policy Action: `Zambda:DeleteFunction`
50
+ * Access Policy Resource: `Zambda:Function`
51
+ */
52
+ delete(params, request) {
53
+ return this.request('/zambda/{id}', 'delete')(params, request);
54
+ }
55
+ /**
56
+ * Execute the [Authenticated Zambda Function](https://docs.oystehr.com/services/zambda/types/authenticated/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
57
+ *
58
+ * Access Policy Action: `Zambda:InvokeFunction`
59
+ * Access Policy Resource: `Zambda:Function`
60
+ */
61
+ execute(params, request) {
62
+ return this.request('/zambda/{id}/execute', 'post')(params, request);
63
+ }
64
+ /**
65
+ * Execute the [Public Zambda Function](https://docs.oystehr.com/services/zambda/types/public/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
66
+ *
67
+ * Execute a zambda that has method http_open. This endpoint is public so there are no access policy requirements.
68
+ */
69
+ executePublic(params, request) {
70
+ return this.request('/zambda/{id}/execute-public', 'post')(params, request);
71
+ }
72
+ /**
73
+ * Returns a URL that is used to deploy code to the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
74
+ *
75
+ * Access Policy Action: `Zambda:UpdateFunction`
76
+ * Access Policy Resource: `Zambda:Function`
77
+ */
78
+ s3Upload(params, request) {
79
+ return this.request('/zambda/{id}/s3-upload', 'post')(params, request);
64
80
  }
65
81
  }
66
82
 
@@ -1 +1 @@
1
- {"version":3,"file":"zambda.js","sources":["../../../../src/resources/classes/zambda.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n ZambdaCreateParams,\n ZambdaCreateResponse,\n ZambdaDeleteParams,\n ZambdaExecuteParams,\n ZambdaExecutePublicParams,\n ZambdaExecutePublicResponse,\n ZambdaExecuteResponse,\n ZambdaGetParams,\n ZambdaGetResponse,\n ZambdaListResponse,\n ZambdaS3UploadParams,\n ZambdaS3UploadResponse,\n ZambdaUpdateParams,\n ZambdaUpdateResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\nimport * as ext from './zambda-ext';\n\nexport class Zambda extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n uploadFile = ext.uploadFile;\n /**\n * Get a list of all Zambda Functions in the Project. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:ListAllFunctions`\n * Access Policy Resource: `Zambda:Function`\n */\n list = (request?: OystehrClientRequest): Promise<ZambdaListResponse> => this.request('/zambda', 'get')(request);\n /**\n * Create a new Zambda Function. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:CreateFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n create = (params: ZambdaCreateParams, request?: OystehrClientRequest): Promise<ZambdaCreateResponse> =>\n this.request('/zambda', 'post')(params, request);\n /**\n * Get the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:GetFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n get = (params: ZambdaGetParams, request?: OystehrClientRequest): Promise<ZambdaGetResponse> =>\n this.request('/zambda/{id}', 'get')(params, request);\n /**\n * Update the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:UpdateFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n update = (params: ZambdaUpdateParams, request?: OystehrClientRequest): Promise<ZambdaUpdateResponse> =>\n this.request('/zambda/{id}', 'patch')(params, request);\n /**\n * Delete the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:DeleteFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n delete = (params: ZambdaDeleteParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/zambda/{id}', 'delete')(params, request);\n /**\n * Execute the [Authenticated Zambda Function](https://docs.oystehr.com/services/zambda/types/authenticated/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:InvokeFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n execute = (params: ZambdaExecuteParams, request?: OystehrClientRequest): Promise<ZambdaExecuteResponse> =>\n this.request('/zambda/{id}/execute', 'post')(params, request);\n /**\n * Execute the [Public Zambda Function](https://docs.oystehr.com/services/zambda/types/public/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Execute a zambda that has method http_open. This endpoint is public so there are no access policy requirements.\n */\n executePublic = (\n params: ZambdaExecutePublicParams,\n request?: OystehrClientRequest\n ): Promise<ZambdaExecutePublicResponse> => this.request('/zambda/{id}/execute-public', 'post')(params, request);\n /**\n * Returns a URL that is used to deploy code to the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:UpdateFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n s3Upload = (params: ZambdaS3UploadParams, request?: OystehrClientRequest): Promise<ZambdaS3UploadResponse> =>\n this.request('/zambda/{id}/s3-upload', 'post')(params, request);\n}\n"],"names":["ext.uploadFile"],"mappings":";;;AAAA;AAuBM,MAAO,MAAO,SAAQ,WAAW,CAAA;AACrC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB,QAAA,IAAA,CAAA,UAAU,GAAGA,UAAc,CAAC;AAC5B;;;;;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,IAAM,CAAA,MAAA,GAAG,CAAC,MAA0B,EAAE,OAA8B,KAClE,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,cAAc,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACvD;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAA0B,EAAE,OAA8B,KAClE,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACzD;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAA0B,EAAE,OAA8B,KAClE,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC1D;;;;;AAKG;QACH,IAAO,CAAA,OAAA,GAAG,CAAC,MAA2B,EAAE,OAA8B,KACpE,IAAI,CAAC,OAAO,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAChE;;;;AAIG;QACH,IAAa,CAAA,aAAA,GAAG,CACd,MAAiC,EACjC,OAA8B,KACW,IAAI,CAAC,OAAO,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAChH;;;;;AAKG;QACH,IAAQ,CAAA,QAAA,GAAG,CAAC,MAA4B,EAAE,OAA8B,KACtE,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAjEjE;AAkEF;;;;"}
1
+ {"version":3,"file":"zambda.js","sources":["../../../../src/resources/classes/zambda.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n ZambdaCreateParams,\n ZambdaCreateResponse,\n ZambdaDeleteParams,\n ZambdaExecuteParams,\n ZambdaExecutePublicParams,\n ZambdaExecutePublicResponse,\n ZambdaExecuteResponse,\n ZambdaGetParams,\n ZambdaGetResponse,\n ZambdaListResponse,\n ZambdaS3UploadParams,\n ZambdaS3UploadResponse,\n ZambdaUpdateParams,\n ZambdaUpdateResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\nimport * as ext from './zambda-ext';\n\nexport class Zambda extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n uploadFile = ext.uploadFile;\n /**\n * Get a list of all Zambda Functions in the Project. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:ListAllFunctions`\n * Access Policy Resource: `Zambda:Function`\n */\n list(request?: OystehrClientRequest): Promise<ZambdaListResponse> {\n return this.request('/zambda', 'get')(request);\n }\n /**\n * Create a new Zambda Function. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:CreateFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n create(params: ZambdaCreateParams, request?: OystehrClientRequest): Promise<ZambdaCreateResponse> {\n return this.request('/zambda', 'post')(params, request);\n }\n /**\n * Get the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:GetFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n get(params: ZambdaGetParams, request?: OystehrClientRequest): Promise<ZambdaGetResponse> {\n return this.request('/zambda/{id}', 'get')(params, request);\n }\n /**\n * Update the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:UpdateFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n update(params: ZambdaUpdateParams, request?: OystehrClientRequest): Promise<ZambdaUpdateResponse> {\n return this.request('/zambda/{id}', 'patch')(params, request);\n }\n /**\n * Delete the Zambda Function with the provided ID or name. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:DeleteFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n delete(params: ZambdaDeleteParams, request?: OystehrClientRequest): Promise<void> {\n return this.request('/zambda/{id}', 'delete')(params, request);\n }\n /**\n * Execute the [Authenticated Zambda Function](https://docs.oystehr.com/services/zambda/types/authenticated/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:InvokeFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n execute(params: ZambdaExecuteParams, request?: OystehrClientRequest): Promise<ZambdaExecuteResponse> {\n return this.request('/zambda/{id}/execute', 'post')(params, request);\n }\n /**\n * Execute the [Public Zambda Function](https://docs.oystehr.com/services/zambda/types/public/) with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Execute a zambda that has method http_open. This endpoint is public so there are no access policy requirements.\n */\n executePublic(\n params: ZambdaExecutePublicParams,\n request?: OystehrClientRequest\n ): Promise<ZambdaExecutePublicResponse> {\n return this.request('/zambda/{id}/execute-public', 'post')(params, request);\n }\n /**\n * Returns a URL that is used to deploy code to the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:UpdateFunction`\n * Access Policy Resource: `Zambda:Function`\n */\n s3Upload(params: ZambdaS3UploadParams, request?: OystehrClientRequest): Promise<ZambdaS3UploadResponse> {\n return this.request('/zambda/{id}/s3-upload', 'post')(params, request);\n }\n}\n"],"names":["ext.uploadFile"],"mappings":";;;AAAA;AAuBM,MAAO,MAAO,SAAQ,WAAW,CAAA;AACrC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB,QAAA,IAAA,CAAA,UAAU,GAAGA,UAAc,CAAC;KAD3B;AAED;;;;;AAKG;AACH,IAAA,IAAI,CAAC,OAA8B,EAAA;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;KAChD;AACD;;;;;AAKG;IACH,MAAM,CAAC,MAA0B,EAAE,OAA8B,EAAA;AAC/D,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzD;AACD;;;;;AAKG;IACH,GAAG,CAAC,MAAuB,EAAE,OAA8B,EAAA;AACzD,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC7D;AACD;;;;;AAKG;IACH,MAAM,CAAC,MAA0B,EAAE,OAA8B,EAAA;AAC/D,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/D;AACD;;;;;AAKG;IACH,MAAM,CAAC,MAA0B,EAAE,OAA8B,EAAA;AAC/D,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAChE;AACD;;;;;AAKG;IACH,OAAO,CAAC,MAA2B,EAAE,OAA8B,EAAA;AACjE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACtE;AACD;;;;AAIG;IACH,aAAa,CACX,MAAiC,EACjC,OAA8B,EAAA;AAE9B,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC7E;AACD;;;;;AAKG;IACH,QAAQ,CAAC,MAA4B,EAAE,OAA8B,EAAA;AACnE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACxE;AACF;;;;"}
@@ -9,19 +9,19 @@ export declare class ZambdaLogStream extends SDKResource {
9
9
  * Access Policy Action: `Zambda:ReadLogs`
10
10
  * Access Policy Resource: `Zambda:Function`
11
11
  */
12
- list: (params: ZambdaLogStreamListParams, request?: OystehrClientRequest) => Promise<ZambdaLogStreamListResponse>;
12
+ list(params: ZambdaLogStreamListParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamListResponse>;
13
13
  /**
14
14
  * Get all logs for the Zambda Function with the provided ID, filtered by any of: text in messages, minimum start date, and/or maximum end date. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
15
15
  *
16
16
  * Access Policy Action: `Zambda:ReadLogs`
17
17
  * Access Policy Resource: `Zambda:Function`
18
18
  */
19
- search: (params: ZambdaLogStreamSearchParams, request?: OystehrClientRequest) => Promise<ZambdaLogStreamSearchResponse>;
19
+ search(params: ZambdaLogStreamSearchParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamSearchResponse>;
20
20
  /**
21
21
  * Get the logs from the specified log stream for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
22
22
  *
23
23
  * Access Policy Action: `Zambda:ReadLogs`
24
24
  * Access Policy Resource: `Zambda:Function`
25
25
  */
26
- get: (params: ZambdaLogStreamGetParams, request?: OystehrClientRequest) => Promise<ZambdaLogStreamGetResponse>;
26
+ get(params: ZambdaLogStreamGetParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamGetResponse>;
27
27
  }
@@ -4,27 +4,33 @@ import { SDKResource } from '../../client/client.js';
4
4
  class ZambdaLogStream extends SDKResource {
5
5
  constructor(config) {
6
6
  super(config);
7
- /**
8
- * Get the log streams for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
9
- *
10
- * Access Policy Action: `Zambda:ReadLogs`
11
- * Access Policy Resource: `Zambda:Function`
12
- */
13
- this.list = (params, request) => this.request('/zambda/{id}/logStream', 'post')(params, request);
14
- /**
15
- * Get all logs for the Zambda Function with the provided ID, filtered by any of: text in messages, minimum start date, and/or maximum end date. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
16
- *
17
- * Access Policy Action: `Zambda:ReadLogs`
18
- * Access Policy Resource: `Zambda:Function`
19
- */
20
- this.search = (params, request) => this.request('/zambda/{id}/logStream/search', 'post')(params, request);
21
- /**
22
- * Get the logs from the specified log stream for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
23
- *
24
- * Access Policy Action: `Zambda:ReadLogs`
25
- * Access Policy Resource: `Zambda:Function`
26
- */
27
- this.get = (params, request) => this.request('/zambda/{id}/logStream/{logStreamName}', 'post')(params, request);
7
+ }
8
+ /**
9
+ * Get the log streams for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
10
+ *
11
+ * Access Policy Action: `Zambda:ReadLogs`
12
+ * Access Policy Resource: `Zambda:Function`
13
+ */
14
+ list(params, request) {
15
+ return this.request('/zambda/{id}/logStream', 'post')(params, request);
16
+ }
17
+ /**
18
+ * Get all logs for the Zambda Function with the provided ID, filtered by any of: text in messages, minimum start date, and/or maximum end date. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
19
+ *
20
+ * Access Policy Action: `Zambda:ReadLogs`
21
+ * Access Policy Resource: `Zambda:Function`
22
+ */
23
+ search(params, request) {
24
+ return this.request('/zambda/{id}/logStream/search', 'post')(params, request);
25
+ }
26
+ /**
27
+ * Get the logs from the specified log stream for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.
28
+ *
29
+ * Access Policy Action: `Zambda:ReadLogs`
30
+ * Access Policy Resource: `Zambda:Function`
31
+ */
32
+ get(params, request) {
33
+ return this.request('/zambda/{id}/logStream/{logStreamName}', 'post')(params, request);
28
34
  }
29
35
  }
30
36
 
@@ -1 +1 @@
1
- {"version":3,"file":"zambdaLogStream.js","sources":["../../../../src/resources/classes/zambdaLogStream.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n ZambdaLogStreamGetParams,\n ZambdaLogStreamGetResponse,\n ZambdaLogStreamListParams,\n ZambdaLogStreamListResponse,\n ZambdaLogStreamSearchParams,\n ZambdaLogStreamSearchResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class ZambdaLogStream extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get the log streams for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:ReadLogs`\n * Access Policy Resource: `Zambda:Function`\n */\n list = (params: ZambdaLogStreamListParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamListResponse> =>\n this.request('/zambda/{id}/logStream', 'post')(params, request);\n /**\n * Get all logs for the Zambda Function with the provided ID, filtered by any of: text in messages, minimum start date, and/or maximum end date. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:ReadLogs`\n * Access Policy Resource: `Zambda:Function`\n */\n search = (\n params: ZambdaLogStreamSearchParams,\n request?: OystehrClientRequest\n ): Promise<ZambdaLogStreamSearchResponse> => this.request('/zambda/{id}/logStream/search', 'post')(params, request);\n /**\n * Get the logs from the specified log stream for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:ReadLogs`\n * Access Policy Resource: `Zambda:Function`\n */\n get = (params: ZambdaLogStreamGetParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamGetResponse> =>\n this.request('/zambda/{id}/logStream/{logStreamName}', 'post')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAcM,MAAO,eAAgB,SAAQ,WAAW,CAAA;AAC9C,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;AAKG;QACH,IAAI,CAAA,IAAA,GAAG,CAAC,MAAiC,EAAE,OAA8B,KACvE,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAClE;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CACP,MAAmC,EACnC,OAA8B,KACa,IAAI,CAAC,OAAO,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACpH;;;;;AAKG;QACH,IAAG,CAAA,GAAA,GAAG,CAAC,MAAgC,EAAE,OAA8B,KACrE,IAAI,CAAC,OAAO,CAAC,wCAAwC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KA1BjF;AA2BF;;;;"}
1
+ {"version":3,"file":"zambdaLogStream.js","sources":["../../../../src/resources/classes/zambdaLogStream.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n ZambdaLogStreamGetParams,\n ZambdaLogStreamGetResponse,\n ZambdaLogStreamListParams,\n ZambdaLogStreamListResponse,\n ZambdaLogStreamSearchParams,\n ZambdaLogStreamSearchResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class ZambdaLogStream extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get the log streams for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:ReadLogs`\n * Access Policy Resource: `Zambda:Function`\n */\n list(params: ZambdaLogStreamListParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamListResponse> {\n return this.request('/zambda/{id}/logStream', 'post')(params, request);\n }\n /**\n * Get all logs for the Zambda Function with the provided ID, filtered by any of: text in messages, minimum start date, and/or maximum end date. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:ReadLogs`\n * Access Policy Resource: `Zambda:Function`\n */\n search(params: ZambdaLogStreamSearchParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamSearchResponse> {\n return this.request('/zambda/{id}/logStream/search', 'post')(params, request);\n }\n /**\n * Get the logs from the specified log stream for the Zambda Function with the provided ID. [Zambdas](https://docs.oystehr.com/services/zambda/) are functions that can be used to execute your code. They can be used to process data received from Oystehr's APIs or to perform operations on third-party services.\n *\n * Access Policy Action: `Zambda:ReadLogs`\n * Access Policy Resource: `Zambda:Function`\n */\n get(params: ZambdaLogStreamGetParams, request?: OystehrClientRequest): Promise<ZambdaLogStreamGetResponse> {\n return this.request('/zambda/{id}/logStream/{logStreamName}', 'post')(params, request);\n }\n}\n"],"names":[],"mappings":";;AAAA;AAcM,MAAO,eAAgB,SAAQ,WAAW,CAAA;AAC9C,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;KACf;AACD;;;;;AAKG;IACH,IAAI,CAAC,MAAiC,EAAE,OAA8B,EAAA;AACpE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACxE;AACD;;;;;AAKG;IACH,MAAM,CAAC,MAAmC,EAAE,OAA8B,EAAA;AACxE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/E;AACD;;;;;AAKG;IACH,GAAG,CAAC,MAAgC,EAAE,OAA8B,EAAA;AAClE,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,wCAAwC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACxF;AACF;;;;"}
@@ -1,6 +1,6 @@
1
1
  export interface ConversationAddParticipantParams {
2
2
  /**
3
- * A valid FHIR Encounter relative reference in the format: `Encounter/some-uuid`. This reference must be a valid Encounter in the FHIR store which has the https://extensions.fhir.zapehr.com/encounter-virtual-service-pre-release extension from being created by `POST /message/conversation`.
3
+ * A valid FHIR Encounter relative reference in the format: `Encounter/some-uuid`. This reference must be a valid Encounter in the FHIR store which has the https://extensions.fhir.oystehr.com/encounter-virtual-service-pre-release extension from being created by `POST /message/conversation`.
4
4
  */
5
5
  encounterReference: string;
6
6
  participants: {
@@ -4,7 +4,7 @@ import { Encounter } from 'fhir/r4b';
4
4
  */
5
5
  export interface ConversationCreateResponse {
6
6
  /**
7
- * The FHIR Encounter resource that represents the Conversation in the FHIR Store modified to include the https://extensions.fhir.zapehr.com/encounter-virtual-service-pre-release extension which holds the Twilio Conversation SID.
7
+ * The FHIR Encounter resource that represents the Conversation in the FHIR Store modified to include the https://extensions.fhir.oystehr.com/encounter-virtual-service-pre-release extension which holds the Twilio Conversation SID.
8
8
  */
9
9
  encounter: Encounter;
10
10
  }
@@ -1,6 +1,6 @@
1
1
  export interface ConversationRemoveParticipantParams {
2
2
  /**
3
- * A valid FHIR Encounter relative reference in the format: `Encounter/some-uuid`. This reference must be a valid Encounter in the FHIR store which has the https://extensions.fhir.zapehr.com/encounter-virtual-service-pre-release extension from being created by `POST /message/conversation`.
3
+ * A valid FHIR Encounter relative reference in the format: `Encounter/some-uuid`. This reference must be a valid Encounter in the FHIR store which has the https://extensions.fhir.oystehr.com/encounter-virtual-service-pre-release extension from being created by `POST /message/conversation`.
4
4
  */
5
5
  encounterReference: string;
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import { Encounter } from 'fhir/r4b';
2
2
  export interface TelemedCreateMeetingParams {
3
3
  /**
4
- * Well formed Encounter with the https://extensions.fhir.zapehr.com/encounter-other-participants extension specified optionally.
4
+ * Well formed Encounter with the https://extensions.fhir.oystehr.com/encounter-other-participants extension specified optionally.
5
5
  */
6
6
  encounter?: Encounter;
7
7
  }
@@ -4,7 +4,7 @@ import { Encounter } from 'fhir/r4b';
4
4
  */
5
5
  export interface TelemedCreateMeetingResponse {
6
6
  /**
7
- * Returns well formed Encounter with video meeting information in the https://extensions.fhir.zapehr.com/encounter-virtual-service-pre-release extension.
7
+ * Returns well formed Encounter with video meeting information in the https://extensions.fhir.oystehr.com/encounter-virtual-service-pre-release extension.
8
8
  */
9
9
  encounter?: Encounter;
10
10
  }
@@ -3,7 +3,7 @@ export declare const projectId = "eb1306aa-fba5-416a-a2a4-6b69eca58d87";
3
3
  export declare const FHIR_API_URL = "http://localhost:3030/dev";
4
4
  export declare const PLATFORM_API_URL = "http://localhost:3031/dev";
5
5
  export declare const PROJECT_API_URL = "http://localhost:3032/dev";
6
- export declare const FHIR_VERSION: any;
6
+ export declare const FHIR_VERSION: import("@zapehr/core").FhirVersion;
7
7
  export declare const config: {
8
8
  accessToken: string;
9
9
  projectId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oystehr/sdk",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "Oystehr SDK",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
@@ -36,9 +36,9 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@types/fhir": "0.0.41",
39
- "@types/node": "20.11.25",
39
+ "@types/node": "20.17.6",
40
40
  "fast-json-patch": "3.1.1",
41
- "uuid": "10.0.0"
41
+ "uuid": "11.0.2"
42
42
  },
43
43
  "keywords": [
44
44
  "oystehr",