candidhealth 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +59 -54
  3. package/api/resources/commons/types/BadRequestErrorMessage.d.ts +3 -0
  4. package/api/resources/commons/types/BadRequestErrorMessage.js +3 -0
  5. package/api/resources/commons/types/InternalErrorMessage.d.ts +3 -0
  6. package/api/resources/commons/types/InternalErrorMessage.js +3 -0
  7. package/api/resources/commons/types/index.d.ts +2 -0
  8. package/api/resources/commons/types/index.js +2 -0
  9. package/api/resources/events/client/Client.d.ts +14 -0
  10. package/api/resources/events/client/Client.js +15 -0
  11. package/api/resources/events/client/index.d.ts +1 -0
  12. package/api/resources/events/client/index.js +2 -0
  13. package/api/resources/events/index.d.ts +2 -0
  14. package/api/resources/events/index.js +18 -0
  15. package/api/resources/events/resources/index.d.ts +1 -0
  16. package/api/resources/events/resources/index.js +37 -0
  17. package/api/resources/events/resources/v1/client/Client.d.ts +35 -0
  18. package/api/resources/events/resources/v1/client/Client.js +227 -0
  19. package/api/resources/events/resources/v1/client/get.d.ts +37 -0
  20. package/api/resources/events/resources/v1/client/get.js +88 -0
  21. package/api/resources/events/resources/v1/client/index.d.ts +3 -0
  22. package/api/resources/events/resources/v1/client/index.js +42 -0
  23. package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +16 -0
  24. package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.js +3 -0
  25. package/api/resources/events/resources/v1/client/requests/index.d.ts +1 -0
  26. package/api/resources/events/resources/v1/client/requests/index.js +2 -0
  27. package/api/resources/events/resources/v1/client/scan.d.ts +31 -0
  28. package/api/resources/events/resources/v1/client/scan.js +77 -0
  29. package/api/resources/events/resources/v1/index.d.ts +2 -0
  30. package/api/resources/events/resources/v1/index.js +18 -0
  31. package/api/resources/events/resources/v1/types/Event.d.ts +9 -0
  32. package/api/resources/events/resources/v1/types/Event.js +3 -0
  33. package/api/resources/events/resources/v1/types/EventId.d.ts +5 -0
  34. package/api/resources/events/resources/v1/types/EventId.js +7 -0
  35. package/api/resources/events/resources/v1/types/EventScanPage.d.ts +5 -0
  36. package/api/resources/events/resources/v1/types/EventScanPage.js +3 -0
  37. package/api/resources/events/resources/v1/types/index.d.ts +3 -0
  38. package/api/resources/events/resources/v1/types/index.js +19 -0
  39. package/api/resources/index.d.ts +1 -0
  40. package/api/resources/index.js +3 -2
  41. package/api/resources/patientAr/resources/v1/client/Client.d.ts +0 -4
  42. package/api/resources/patientAr/resources/v1/client/Client.js +0 -4
  43. package/dist/Client.d.ts +3 -0
  44. package/dist/Client.js +59 -54
  45. package/dist/api/resources/commons/types/BadRequestErrorMessage.d.ts +3 -0
  46. package/dist/api/resources/commons/types/BadRequestErrorMessage.js +3 -0
  47. package/dist/api/resources/commons/types/InternalErrorMessage.d.ts +3 -0
  48. package/dist/api/resources/commons/types/InternalErrorMessage.js +3 -0
  49. package/dist/api/resources/commons/types/index.d.ts +2 -0
  50. package/dist/api/resources/commons/types/index.js +2 -0
  51. package/dist/api/resources/events/client/Client.d.ts +14 -0
  52. package/dist/api/resources/events/client/Client.js +15 -0
  53. package/dist/api/resources/events/client/index.d.ts +1 -0
  54. package/dist/api/resources/events/client/index.js +2 -0
  55. package/dist/api/resources/events/index.d.ts +2 -0
  56. package/dist/api/resources/events/index.js +18 -0
  57. package/dist/api/resources/events/resources/index.d.ts +1 -0
  58. package/dist/api/resources/events/resources/index.js +37 -0
  59. package/dist/api/resources/events/resources/v1/client/Client.d.ts +35 -0
  60. package/dist/api/resources/events/resources/v1/client/Client.js +227 -0
  61. package/dist/api/resources/events/resources/v1/client/get.d.ts +37 -0
  62. package/dist/api/resources/events/resources/v1/client/get.js +88 -0
  63. package/dist/api/resources/events/resources/v1/client/index.d.ts +3 -0
  64. package/dist/api/resources/events/resources/v1/client/index.js +42 -0
  65. package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +16 -0
  66. package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.js +3 -0
  67. package/dist/api/resources/events/resources/v1/client/requests/index.d.ts +1 -0
  68. package/dist/api/resources/events/resources/v1/client/requests/index.js +2 -0
  69. package/dist/api/resources/events/resources/v1/client/scan.d.ts +31 -0
  70. package/dist/api/resources/events/resources/v1/client/scan.js +77 -0
  71. package/dist/api/resources/events/resources/v1/index.d.ts +2 -0
  72. package/dist/api/resources/events/resources/v1/index.js +18 -0
  73. package/dist/api/resources/events/resources/v1/types/Event.d.ts +9 -0
  74. package/dist/api/resources/events/resources/v1/types/Event.js +3 -0
  75. package/dist/api/resources/events/resources/v1/types/EventId.d.ts +5 -0
  76. package/dist/api/resources/events/resources/v1/types/EventId.js +7 -0
  77. package/dist/api/resources/events/resources/v1/types/EventScanPage.d.ts +5 -0
  78. package/dist/api/resources/events/resources/v1/types/EventScanPage.js +3 -0
  79. package/dist/api/resources/events/resources/v1/types/index.d.ts +3 -0
  80. package/dist/api/resources/events/resources/v1/types/index.js +19 -0
  81. package/dist/api/resources/index.d.ts +1 -0
  82. package/dist/api/resources/index.js +3 -2
  83. package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +0 -4
  84. package/dist/api/resources/patientAr/resources/v1/client/Client.js +0 -4
  85. package/dist/serialization/resources/commons/types/BadRequestErrorMessage.d.ts +9 -0
  86. package/dist/serialization/resources/commons/types/BadRequestErrorMessage.js +41 -0
  87. package/dist/serialization/resources/commons/types/InternalErrorMessage.d.ts +9 -0
  88. package/dist/serialization/resources/commons/types/InternalErrorMessage.js +41 -0
  89. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  90. package/dist/serialization/resources/commons/types/index.js +2 -0
  91. package/dist/serialization/resources/events/index.d.ts +1 -0
  92. package/dist/serialization/resources/events/index.js +17 -0
  93. package/dist/serialization/resources/events/resources/index.d.ts +1 -0
  94. package/dist/serialization/resources/events/resources/index.js +37 -0
  95. package/dist/serialization/resources/events/resources/v1/client/get.d.ts +22 -0
  96. package/dist/serialization/resources/events/resources/v1/client/get.js +81 -0
  97. package/dist/serialization/resources/events/resources/v1/client/index.d.ts +2 -0
  98. package/dist/serialization/resources/events/resources/v1/client/index.js +38 -0
  99. package/dist/serialization/resources/events/resources/v1/client/scan.d.ts +17 -0
  100. package/dist/serialization/resources/events/resources/v1/client/scan.js +75 -0
  101. package/dist/serialization/resources/events/resources/v1/index.d.ts +2 -0
  102. package/dist/serialization/resources/events/resources/v1/index.js +18 -0
  103. package/dist/serialization/resources/events/resources/v1/types/Event.d.ts +15 -0
  104. package/dist/serialization/resources/events/resources/v1/types/Event.js +47 -0
  105. package/dist/serialization/resources/events/resources/v1/types/EventId.d.ts +7 -0
  106. package/dist/serialization/resources/events/resources/v1/types/EventId.js +43 -0
  107. package/dist/serialization/resources/events/resources/v1/types/EventScanPage.d.ts +12 -0
  108. package/dist/serialization/resources/events/resources/v1/types/EventScanPage.js +44 -0
  109. package/dist/serialization/resources/events/resources/v1/types/index.d.ts +3 -0
  110. package/dist/serialization/resources/events/resources/v1/types/index.js +19 -0
  111. package/dist/serialization/resources/index.d.ts +1 -0
  112. package/dist/serialization/resources/index.js +3 -2
  113. package/dist/version.d.ts +1 -1
  114. package/dist/version.js +1 -1
  115. package/package.json +1 -1
  116. package/reference.md +113 -4
  117. package/serialization/resources/commons/types/BadRequestErrorMessage.d.ts +9 -0
  118. package/serialization/resources/commons/types/BadRequestErrorMessage.js +41 -0
  119. package/serialization/resources/commons/types/InternalErrorMessage.d.ts +9 -0
  120. package/serialization/resources/commons/types/InternalErrorMessage.js +41 -0
  121. package/serialization/resources/commons/types/index.d.ts +2 -0
  122. package/serialization/resources/commons/types/index.js +2 -0
  123. package/serialization/resources/events/index.d.ts +1 -0
  124. package/serialization/resources/events/index.js +17 -0
  125. package/serialization/resources/events/resources/index.d.ts +1 -0
  126. package/serialization/resources/events/resources/index.js +37 -0
  127. package/serialization/resources/events/resources/v1/client/get.d.ts +22 -0
  128. package/serialization/resources/events/resources/v1/client/get.js +81 -0
  129. package/serialization/resources/events/resources/v1/client/index.d.ts +2 -0
  130. package/serialization/resources/events/resources/v1/client/index.js +38 -0
  131. package/serialization/resources/events/resources/v1/client/scan.d.ts +17 -0
  132. package/serialization/resources/events/resources/v1/client/scan.js +75 -0
  133. package/serialization/resources/events/resources/v1/index.d.ts +2 -0
  134. package/serialization/resources/events/resources/v1/index.js +18 -0
  135. package/serialization/resources/events/resources/v1/types/Event.d.ts +15 -0
  136. package/serialization/resources/events/resources/v1/types/Event.js +47 -0
  137. package/serialization/resources/events/resources/v1/types/EventId.d.ts +7 -0
  138. package/serialization/resources/events/resources/v1/types/EventId.js +43 -0
  139. package/serialization/resources/events/resources/v1/types/EventScanPage.d.ts +12 -0
  140. package/serialization/resources/events/resources/v1/types/EventScanPage.js +44 -0
  141. package/serialization/resources/events/resources/v1/types/index.d.ts +3 -0
  142. package/serialization/resources/events/resources/v1/types/index.js +19 -0
  143. package/serialization/resources/index.d.ts +1 -0
  144. package/serialization/resources/index.js +3 -2
  145. package/version.d.ts +1 -1
  146. package/version.js +1 -1
@@ -0,0 +1,12 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { PageToken } from "../../../../commons/types/PageToken";
5
+ import { Event } from "./Event";
6
+ export declare const EventScanPage: core.serialization.ObjectSchema<serializers.events.v1.EventScanPage.Raw, CandidApi.events.v1.EventScanPage>;
7
+ export declare namespace EventScanPage {
8
+ interface Raw {
9
+ next_page_token?: PageToken.Raw | null;
10
+ items: Event.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.EventScanPage = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const PageToken_1 = require("../../../../commons/types/PageToken");
40
+ const Event_1 = require("./Event");
41
+ exports.EventScanPage = core.serialization.object({
42
+ nextPageToken: core.serialization.property("next_page_token", PageToken_1.PageToken.optional()),
43
+ items: core.serialization.list(Event_1.Event),
44
+ });
@@ -0,0 +1,3 @@
1
+ export * from "./Event";
2
+ export * from "./EventId";
3
+ export * from "./EventScanPage";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Event"), exports);
18
+ __exportStar(require("./EventId"), exports);
19
+ __exportStar(require("./EventScanPage"), exports);
@@ -23,6 +23,7 @@ export * as encounters from "./encounters";
23
23
  export * as encountersUniversal from "./encountersUniversal";
24
24
  export * as era from "./era";
25
25
  export * from "./era/types";
26
+ export * as events from "./events";
26
27
  export * as expectedNetworkStatus from "./expectedNetworkStatus";
27
28
  export * as exports from "./exports";
28
29
  export * as externalPaymentAccountConfig from "./externalPaymentAccountConfig";
@@ -36,8 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.serviceLines = exports.serviceFacility = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
40
- exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = void 0;
39
+ exports.serviceFacility = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.events = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
40
+ exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = exports.serviceLines = void 0;
41
41
  exports.auth = __importStar(require("./auth"));
42
42
  exports.billingNotes = __importStar(require("./billingNotes"));
43
43
  exports.chargeCapture = __importStar(require("./chargeCapture"));
@@ -63,6 +63,7 @@ exports.encounters = __importStar(require("./encounters"));
63
63
  exports.encountersUniversal = __importStar(require("./encountersUniversal"));
64
64
  exports.era = __importStar(require("./era"));
65
65
  __exportStar(require("./era/types"), exports);
66
+ exports.events = __importStar(require("./events"));
66
67
  exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
67
68
  exports.exports = __importStar(require("./exports"));
68
69
  exports.externalPaymentAccountConfig = __importStar(require("./externalPaymentAccountConfig"));
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.15.0";
1
+ export declare const SDK_VERSION = "1.16.0";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.15.0";
4
+ exports.SDK_VERSION = "1.16.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "private": false,
5
5
  "repository": "github:candidhealth/candid-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -3749,6 +3749,119 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
3749
3749
  </dl>
3750
3750
 
3751
3751
 
3752
+ </dd>
3753
+ </dl>
3754
+ </details>
3755
+
3756
+ ## Events V1
3757
+ <details><summary><code>client.events.v1.<a href="/src/api/resources/events/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.EventScanPage, CandidApi.events.v1.scan.Error></code></summary>
3758
+ <dl>
3759
+ <dd>
3760
+
3761
+ #### 📝 Description
3762
+
3763
+ <dl>
3764
+ <dd>
3765
+
3766
+ <dl>
3767
+ <dd>
3768
+
3769
+ Scans the last 30 days of events. All results are sorted by created date, descending.
3770
+ </dd>
3771
+ </dl>
3772
+ </dd>
3773
+ </dl>
3774
+
3775
+ #### 🔌 Usage
3776
+
3777
+ <dl>
3778
+ <dd>
3779
+
3780
+ <dl>
3781
+ <dd>
3782
+
3783
+ ```typescript
3784
+ await client.events.v1.scan();
3785
+
3786
+ ```
3787
+ </dd>
3788
+ </dl>
3789
+ </dd>
3790
+ </dl>
3791
+
3792
+ #### ⚙️ Parameters
3793
+
3794
+ <dl>
3795
+ <dd>
3796
+
3797
+ <dl>
3798
+ <dd>
3799
+
3800
+ **request:** `CandidApi.events.v1.GetEventScanRequest`
3801
+
3802
+ </dd>
3803
+ </dl>
3804
+
3805
+ <dl>
3806
+ <dd>
3807
+
3808
+ **requestOptions:** `V1.RequestOptions`
3809
+
3810
+ </dd>
3811
+ </dl>
3812
+ </dd>
3813
+ </dl>
3814
+
3815
+
3816
+ </dd>
3817
+ </dl>
3818
+ </details>
3819
+
3820
+ <details><summary><code>client.events.v1.<a href="/src/api/resources/events/resources/v1/client/Client.ts">get</a>(eventId) -> core.APIResponse<CandidApi.Event, CandidApi.events.v1.get.Error></code></summary>
3821
+ <dl>
3822
+ <dd>
3823
+
3824
+ #### 🔌 Usage
3825
+
3826
+ <dl>
3827
+ <dd>
3828
+
3829
+ <dl>
3830
+ <dd>
3831
+
3832
+ ```typescript
3833
+ await client.events.v1.get(CandidApi.EventId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
3834
+
3835
+ ```
3836
+ </dd>
3837
+ </dl>
3838
+ </dd>
3839
+ </dl>
3840
+
3841
+ #### ⚙️ Parameters
3842
+
3843
+ <dl>
3844
+ <dd>
3845
+
3846
+ <dl>
3847
+ <dd>
3848
+
3849
+ **eventId:** `CandidApi.EventId`
3850
+
3851
+ </dd>
3852
+ </dl>
3853
+
3854
+ <dl>
3855
+ <dd>
3856
+
3857
+ **requestOptions:** `V1.RequestOptions`
3858
+
3859
+ </dd>
3860
+ </dl>
3861
+ </dd>
3862
+ </dl>
3863
+
3864
+
3752
3865
  </dd>
3753
3866
  </dl>
3754
3867
  </details>
@@ -7829,8 +7942,6 @@ await client.organizationServiceFacilities.v2.delete(CandidApi.OrganizationServi
7829
7942
  <dl>
7830
7943
  <dd>
7831
7944
 
7832
- NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
7833
-
7834
7945
  Retrieve a list of inventory records based on the provided filters. Each inventory record provides the latest invoiceable status of the associated claim.
7835
7946
  The response is paginated, and the `page_token` can be used to retrieve subsequent pages. Initial requests should not include `page_token`.
7836
7947
  </dd>
@@ -7895,8 +8006,6 @@ await client.patientAr.v1.listInventory();
7895
8006
  <dl>
7896
8007
  <dd>
7897
8008
 
7898
- NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
7899
-
7900
8009
  Provides detailed itemization of invoice data for a specific claim.
7901
8010
  </dd>
7902
8011
  </dl>
@@ -0,0 +1,9 @@
1
+ import type * as CandidApi from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const BadRequestErrorMessage: core.serialization.ObjectSchema<serializers.BadRequestErrorMessage.Raw, CandidApi.BadRequestErrorMessage>;
5
+ export declare namespace BadRequestErrorMessage {
6
+ interface Raw {
7
+ message?: string | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BadRequestErrorMessage = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.BadRequestErrorMessage = core.serialization.object({
40
+ message: core.serialization.string().optional(),
41
+ });
@@ -0,0 +1,9 @@
1
+ import type * as CandidApi from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const InternalErrorMessage: core.serialization.ObjectSchema<serializers.InternalErrorMessage.Raw, CandidApi.InternalErrorMessage>;
5
+ export declare namespace InternalErrorMessage {
6
+ interface Raw {
7
+ message?: string | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.InternalErrorMessage = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.InternalErrorMessage = core.serialization.object({
40
+ message: core.serialization.string().optional(),
41
+ });
@@ -1,5 +1,6 @@
1
1
  export * from "./AdjustmentId";
2
2
  export * from "./AppointmentId";
3
+ export * from "./BadRequestErrorMessage";
3
4
  export * from "./BillingProviderCommercialLicenseType";
4
5
  export * from "./ChargeCaptureClaimCreationId";
5
6
  export * from "./ChargeCaptureId";
@@ -25,6 +26,7 @@ export * from "./FacilityTypeCode";
25
26
  export * from "./HttpServiceUnavailableErrorMessage";
26
27
  export * from "./InsuranceTypeCode";
27
28
  export * from "./IntendedSubmissionMedium";
29
+ export * from "./InternalErrorMessage";
28
30
  export * from "./InvoiceId";
29
31
  export * from "./LinkUrl";
30
32
  export * from "./NetworkType";
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AdjustmentId"), exports);
18
18
  __exportStar(require("./AppointmentId"), exports);
19
+ __exportStar(require("./BadRequestErrorMessage"), exports);
19
20
  __exportStar(require("./BillingProviderCommercialLicenseType"), exports);
20
21
  __exportStar(require("./ChargeCaptureClaimCreationId"), exports);
21
22
  __exportStar(require("./ChargeCaptureId"), exports);
@@ -41,6 +42,7 @@ __exportStar(require("./FacilityTypeCode"), exports);
41
42
  __exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
42
43
  __exportStar(require("./InsuranceTypeCode"), exports);
43
44
  __exportStar(require("./IntendedSubmissionMedium"), exports);
45
+ __exportStar(require("./InternalErrorMessage"), exports);
44
46
  __exportStar(require("./InvoiceId"), exports);
45
47
  __exportStar(require("./LinkUrl"), exports);
46
48
  __exportStar(require("./NetworkType"), exports);
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,22 @@
1
+ import * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { BadRequestErrorMessage } from "../../../../commons/types/BadRequestErrorMessage";
5
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
6
+ import { InternalErrorMessage } from "../../../../commons/types/InternalErrorMessage";
7
+ export declare const Error: core.serialization.Schema<serializers.events.v1.get.Error.Raw, CandidApi.events.v1.get.Error>;
8
+ export declare namespace Error {
9
+ type Raw = Error.BadRequestError | Error.InternalError | Error.EntityNotFoundError;
10
+ interface BadRequestError {
11
+ errorName: "BadRequestError";
12
+ content: BadRequestErrorMessage.Raw;
13
+ }
14
+ interface InternalError {
15
+ errorName: "InternalError";
16
+ content: InternalErrorMessage.Raw;
17
+ }
18
+ interface EntityNotFoundError {
19
+ errorName: "EntityNotFoundError";
20
+ content: EntityNotFoundErrorMessage.Raw;
21
+ }
22
+ }
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __rest = (this && this.__rest) || function (s, e) {
37
+ var t = {};
38
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
+ t[p] = s[p];
40
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
+ t[p[i]] = s[p[i]];
44
+ }
45
+ return t;
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Error = void 0;
49
+ const CandidApi = __importStar(require("../../../../../../api/index"));
50
+ const core = __importStar(require("../../../../../../core"));
51
+ const BadRequestErrorMessage_1 = require("../../../../commons/types/BadRequestErrorMessage");
52
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
53
+ const InternalErrorMessage_1 = require("../../../../commons/types/InternalErrorMessage");
54
+ exports.Error = core.serialization
55
+ .union("errorName", {
56
+ BadRequestError: core.serialization.object({
57
+ content: BadRequestErrorMessage_1.BadRequestErrorMessage,
58
+ }),
59
+ InternalError: core.serialization.object({
60
+ content: InternalErrorMessage_1.InternalErrorMessage,
61
+ }),
62
+ EntityNotFoundError: core.serialization.object({
63
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
64
+ }),
65
+ })
66
+ .transform({
67
+ transform: (value) => {
68
+ switch (value.errorName) {
69
+ case "BadRequestError":
70
+ return CandidApi.events.v1.get.Error.badRequestError(value.content);
71
+ case "InternalError":
72
+ return CandidApi.events.v1.get.Error.internalError(value.content);
73
+ case "EntityNotFoundError":
74
+ return CandidApi.events.v1.get.Error.entityNotFoundError(value.content);
75
+ }
76
+ },
77
+ untransform: (_a) => {
78
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
79
+ return value;
80
+ },
81
+ });
@@ -0,0 +1,2 @@
1
+ export * as get from "./get";
2
+ export * as scan from "./scan";
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.scan = exports.get = void 0;
37
+ exports.get = __importStar(require("./get"));
38
+ exports.scan = __importStar(require("./scan"));
@@ -0,0 +1,17 @@
1
+ import * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { BadRequestErrorMessage } from "../../../../commons/types/BadRequestErrorMessage";
5
+ import { InternalErrorMessage } from "../../../../commons/types/InternalErrorMessage";
6
+ export declare const Error: core.serialization.Schema<serializers.events.v1.scan.Error.Raw, CandidApi.events.v1.scan.Error>;
7
+ export declare namespace Error {
8
+ type Raw = Error.BadRequestError | Error.InternalError;
9
+ interface BadRequestError {
10
+ errorName: "BadRequestError";
11
+ content: BadRequestErrorMessage.Raw;
12
+ }
13
+ interface InternalError {
14
+ errorName: "InternalError";
15
+ content: InternalErrorMessage.Raw;
16
+ }
17
+ }