candidhealth 0.37.0 → 0.38.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 (140) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -21
  4. package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -7
  5. package/api/resources/chargeCapture/resources/v1/client/delete.js +0 -11
  6. package/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +1 -7
  7. package/api/resources/chargeCapture/resources/v1/client/getAll.js +0 -11
  8. package/api/resources/commons/types/index.d.ts +0 -1
  9. package/api/resources/commons/types/index.js +0 -1
  10. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  11. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  12. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  13. package/api/resources/diagnoses/client/Client.js +3 -3
  14. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  15. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  16. package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -2
  17. package/api/resources/encounters/resources/v4/client/Client.js +9 -7
  18. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -1
  19. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
  20. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  21. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  22. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  23. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  24. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  25. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  26. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  27. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  28. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  29. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  30. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  31. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  32. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  33. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  34. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  35. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  36. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  37. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  38. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  39. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  40. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  41. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  42. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  43. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  44. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  45. package/api/resources/serviceFacility/client/Client.js +1 -1
  46. package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
  47. package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
  48. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
  49. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  50. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  51. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  52. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  53. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  54. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -21
  55. package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -7
  56. package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +0 -11
  57. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +1 -7
  58. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +0 -11
  59. package/dist/api/resources/commons/types/index.d.ts +0 -1
  60. package/dist/api/resources/commons/types/index.js +0 -1
  61. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  62. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  63. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  64. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  65. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  66. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  67. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -2
  68. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -7
  69. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -1
  70. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
  71. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  72. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  73. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  74. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  75. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  76. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  77. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  78. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  79. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  80. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  81. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  82. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  83. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  84. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  85. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  86. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  87. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  88. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  89. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  90. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  91. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  92. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  93. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  94. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  95. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  96. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  97. package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
  98. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
  99. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
  100. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  101. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  102. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  103. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -6
  104. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +0 -6
  105. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
  106. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +1 -2
  107. package/dist/serialization/resources/commons/types/index.d.ts +0 -1
  108. package/dist/serialization/resources/commons/types/index.js +0 -1
  109. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
  110. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
  111. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
  112. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
  113. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
  114. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
  115. package/package.json +1 -1
  116. package/reference.md +2 -0
  117. package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -6
  118. package/serialization/resources/chargeCapture/resources/v1/client/delete.js +0 -6
  119. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
  120. package/serialization/resources/chargeCapture/resources/v1/client/index.js +1 -2
  121. package/serialization/resources/commons/types/index.d.ts +0 -1
  122. package/serialization/resources/commons/types/index.js +0 -1
  123. package/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
  124. package/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
  125. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
  126. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
  127. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
  128. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
  129. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  130. package/api/resources/commons/types/NotImplementedErrorMessage.js +0 -5
  131. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  132. package/dist/api/resources/commons/types/NotImplementedErrorMessage.js +0 -5
  133. package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +0 -15
  134. package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.js +0 -61
  135. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  136. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.js +0 -33
  137. package/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +0 -15
  138. package/serialization/resources/chargeCapture/resources/v1/client/getAll.js +0 -61
  139. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  140. package/serialization/resources/commons/types/NotImplementedErrorMessage.js +0 -33
@@ -87,7 +87,7 @@ class V2 {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.37.0",
90
+ "X-Fern-SDK-Version": "0.38.0",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -69,7 +69,7 @@ class V2 {
69
69
  Authorization: yield this._getAuthorizationHeader(),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "candidhealth",
72
- "X-Fern-SDK-Version": "0.37.0",
72
+ "X-Fern-SDK-Version": "0.38.0",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -117,7 +117,7 @@ class V2 {
117
117
  Authorization: yield this._getAuthorizationHeader(),
118
118
  "X-Fern-Language": "JavaScript",
119
119
  "X-Fern-SDK-Name": "candidhealth",
120
- "X-Fern-SDK-Version": "0.37.0",
120
+ "X-Fern-SDK-Version": "0.38.0",
121
121
  "X-Fern-Runtime": core.RUNTIME.type,
122
122
  "X-Fern-Runtime-Version": core.RUNTIME.version,
123
123
  },
@@ -176,7 +176,7 @@ class V2 {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "candidhealth",
179
- "X-Fern-SDK-Version": "0.37.0",
179
+ "X-Fern-SDK-Version": "0.38.0",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },
@@ -174,7 +174,7 @@ class V1 {
174
174
  Authorization: yield this._getAuthorizationHeader(),
175
175
  "X-Fern-Language": "JavaScript",
176
176
  "X-Fern-SDK-Name": "candidhealth",
177
- "X-Fern-SDK-Version": "0.37.0",
177
+ "X-Fern-SDK-Version": "0.38.0",
178
178
  "X-Fern-Runtime": core.RUNTIME.type,
179
179
  "X-Fern-Runtime-Version": core.RUNTIME.version,
180
180
  },
@@ -240,7 +240,7 @@ class V1 {
240
240
  Authorization: yield this._getAuthorizationHeader(),
241
241
  "X-Fern-Language": "JavaScript",
242
242
  "X-Fern-SDK-Name": "candidhealth",
243
- "X-Fern-SDK-Version": "0.37.0",
243
+ "X-Fern-SDK-Version": "0.38.0",
244
244
  "X-Fern-Runtime": core.RUNTIME.type,
245
245
  "X-Fern-Runtime-Version": core.RUNTIME.version,
246
246
  },
@@ -260,7 +260,6 @@ class V1 {
260
260
  switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
261
261
  case "EntityNotFoundError":
262
262
  case "UnauthorizedError":
263
- case "NotImplementedError":
264
263
  return {
265
264
  ok: false,
266
265
  error: serializers.chargeCapture.v1.delete.Error.parseOrThrow(_response.error.body, {
@@ -405,7 +404,7 @@ class V1 {
405
404
  Authorization: yield this._getAuthorizationHeader(),
406
405
  "X-Fern-Language": "JavaScript",
407
406
  "X-Fern-SDK-Name": "candidhealth",
408
- "X-Fern-SDK-Version": "0.37.0",
407
+ "X-Fern-SDK-Version": "0.38.0",
409
408
  "X-Fern-Runtime": core.RUNTIME.type,
410
409
  "X-Fern-Runtime-Version": core.RUNTIME.version,
411
410
  },
@@ -471,7 +470,7 @@ class V1 {
471
470
  Authorization: yield this._getAuthorizationHeader(),
472
471
  "X-Fern-Language": "JavaScript",
473
472
  "X-Fern-SDK-Name": "candidhealth",
474
- "X-Fern-SDK-Version": "0.37.0",
473
+ "X-Fern-SDK-Version": "0.38.0",
475
474
  "X-Fern-Runtime": core.RUNTIME.type,
476
475
  "X-Fern-Runtime-Version": core.RUNTIME.version,
477
476
  },
@@ -512,7 +511,7 @@ class V1 {
512
511
  * })
513
512
  */
514
513
  getAll(request = {}, requestOptions) {
515
- var _a, _b;
514
+ var _a;
516
515
  return __awaiter(this, void 0, void 0, function* () {
517
516
  const { limit, pageToken, patientExternalId, status, externalId } = request;
518
517
  const _queryParams = {};
@@ -539,7 +538,7 @@ class V1 {
539
538
  Authorization: yield this._getAuthorizationHeader(),
540
539
  "X-Fern-Language": "JavaScript",
541
540
  "X-Fern-SDK-Name": "candidhealth",
542
- "X-Fern-SDK-Version": "0.37.0",
541
+ "X-Fern-SDK-Version": "0.38.0",
543
542
  "X-Fern-Runtime": core.RUNTIME.type,
544
543
  "X-Fern-Runtime-Version": core.RUNTIME.version,
545
544
  },
@@ -561,20 +560,6 @@ class V1 {
561
560
  }),
562
561
  };
563
562
  }
564
- if (_response.error.reason === "status-code") {
565
- switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
566
- case "NotImplementedError":
567
- return {
568
- ok: false,
569
- error: serializers.chargeCapture.v1.getAll.Error.parseOrThrow(_response.error.body, {
570
- unrecognizedObjectKeys: "passthrough",
571
- allowUnrecognizedUnionMembers: true,
572
- allowUnrecognizedEnumValues: true,
573
- breadcrumbsPrefix: ["response"],
574
- }),
575
- };
576
- }
577
- }
578
563
  return {
579
564
  ok: false,
580
565
  error: CandidApi.chargeCapture.v1.getAll.Error._unknown(_response.error),
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.chargeCapture.v1.delete.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.delete.Error.UnauthorizedError | CandidApi.chargeCapture.v1.delete.Error.NotImplementedError | CandidApi.chargeCapture.v1.delete.Error._Unknown;
6
+ export declare type Error = CandidApi.chargeCapture.v1.delete.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.delete.Error.UnauthorizedError | CandidApi.chargeCapture.v1.delete.Error._Unknown;
7
7
  export declare namespace Error {
8
8
  interface EntityNotFoundError extends _Utils {
9
9
  errorName: "EntityNotFoundError";
@@ -13,10 +13,6 @@ export declare namespace Error {
13
13
  errorName: "UnauthorizedError";
14
14
  content: CandidApi.UnauthorizedErrorMessage;
15
15
  }
16
- interface NotImplementedError extends _Utils {
17
- errorName: "NotImplementedError";
18
- content: CandidApi.NotImplementedErrorMessage;
19
- }
20
16
  interface _Unknown extends _Utils {
21
17
  errorName: void;
22
18
  content: core.Fetcher.Error;
@@ -27,14 +23,12 @@ export declare namespace Error {
27
23
  interface _Visitor<_Result> {
28
24
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
29
25
  unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
30
- notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
31
26
  _other: (value: core.Fetcher.Error) => _Result;
32
27
  }
33
28
  }
34
29
  export declare const Error: {
35
30
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.EntityNotFoundError;
36
31
  readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.UnauthorizedError;
37
- readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.NotImplementedError;
38
32
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.delete.Error._Unknown;
39
33
  readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.delete.Error, visitor: CandidApi.chargeCapture.v1.delete.Error._Visitor<_Result>) => _Result;
40
34
  };
@@ -47,15 +47,6 @@ exports.Error = {
47
47
  },
48
48
  };
49
49
  },
50
- notImplementedError: (value) => {
51
- return {
52
- content: value,
53
- errorName: "NotImplementedError",
54
- _visit: function (visitor) {
55
- return CandidApi.chargeCapture.v1.delete.Error._visit(this, visitor);
56
- },
57
- };
58
- },
59
50
  _unknown: (fetcherError) => {
60
51
  return {
61
52
  errorName: undefined,
@@ -71,8 +62,6 @@ exports.Error = {
71
62
  return visitor.entityNotFoundError(value.content);
72
63
  case "UnauthorizedError":
73
64
  return visitor.unauthorizedError(value.content);
74
- case "NotImplementedError":
75
- return visitor.notImplementedError(value.content);
76
65
  default:
77
66
  return visitor._other(value);
78
67
  }
@@ -3,12 +3,8 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.chargeCapture.v1.getAll.Error.NotImplementedError | CandidApi.chargeCapture.v1.getAll.Error._Unknown;
6
+ export declare type Error = CandidApi.chargeCapture.v1.getAll.Error._Unknown;
7
7
  export declare namespace Error {
8
- interface NotImplementedError extends _Utils {
9
- errorName: "NotImplementedError";
10
- content: CandidApi.NotImplementedErrorMessage;
11
- }
12
8
  interface _Unknown extends _Utils {
13
9
  errorName: void;
14
10
  content: core.Fetcher.Error;
@@ -17,12 +13,10 @@ export declare namespace Error {
17
13
  _visit: <_Result>(visitor: CandidApi.chargeCapture.v1.getAll.Error._Visitor<_Result>) => _Result;
18
14
  }
19
15
  interface _Visitor<_Result> {
20
- notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
21
16
  _other: (value: core.Fetcher.Error) => _Result;
22
17
  }
23
18
  }
24
19
  export declare const Error: {
25
- readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCapture.v1.getAll.Error.NotImplementedError;
26
20
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.getAll.Error._Unknown;
27
21
  readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.getAll.Error, visitor: CandidApi.chargeCapture.v1.getAll.Error._Visitor<_Result>) => _Result;
28
22
  };
@@ -29,15 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- notImplementedError: (value) => {
33
- return {
34
- content: value,
35
- errorName: "NotImplementedError",
36
- _visit: function (visitor) {
37
- return CandidApi.chargeCapture.v1.getAll.Error._visit(this, visitor);
38
- },
39
- };
40
- },
41
32
  _unknown: (fetcherError) => {
42
33
  return {
43
34
  errorName: undefined,
@@ -49,8 +40,6 @@ exports.Error = {
49
40
  },
50
41
  _visit: (value, visitor) => {
51
42
  switch (value.errorName) {
52
- case "NotImplementedError":
53
- return visitor.notImplementedError(value.content);
54
43
  default:
55
44
  return visitor._other(value);
56
45
  }
@@ -56,7 +56,6 @@ export * from "./HttpServiceUnavailableErrorMessage";
56
56
  export * from "./RequestValidationError";
57
57
  export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
58
58
  export * from "./OrganizationNotAuthorizedErrorMessage";
59
- export * from "./NotImplementedErrorMessage";
60
59
  export * from "./PhoneNumber";
61
60
  export * from "./PhoneNumberType";
62
61
  export * from "./Email";
@@ -72,7 +72,6 @@ __exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
72
72
  __exportStar(require("./RequestValidationError"), exports);
73
73
  __exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
74
74
  __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
75
- __exportStar(require("./NotImplementedErrorMessage"), exports);
76
75
  __exportStar(require("./PhoneNumber"), exports);
77
76
  __exportStar(require("./PhoneNumberType"), exports);
78
77
  __exportStar(require("./Email"), exports);
@@ -66,7 +66,7 @@ class V2 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.37.0",
69
+ "X-Fern-SDK-Version": "0.38.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -171,7 +171,7 @@ class V2 {
171
171
  Authorization: yield this._getAuthorizationHeader(),
172
172
  "X-Fern-Language": "JavaScript",
173
173
  "X-Fern-SDK-Name": "candidhealth",
174
- "X-Fern-SDK-Version": "0.37.0",
174
+ "X-Fern-SDK-Version": "0.38.0",
175
175
  "X-Fern-Runtime": core.RUNTIME.type,
176
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
177
177
  },
@@ -246,7 +246,7 @@ class V2 {
246
246
  Authorization: yield this._getAuthorizationHeader(),
247
247
  "X-Fern-Language": "JavaScript",
248
248
  "X-Fern-SDK-Name": "candidhealth",
249
- "X-Fern-SDK-Version": "0.37.0",
249
+ "X-Fern-SDK-Version": "0.38.0",
250
250
  "X-Fern-Runtime": core.RUNTIME.type,
251
251
  "X-Fern-Runtime-Version": core.RUNTIME.version,
252
252
  },
@@ -292,7 +292,7 @@ class V2 {
292
292
  Authorization: yield this._getAuthorizationHeader(),
293
293
  "X-Fern-Language": "JavaScript",
294
294
  "X-Fern-SDK-Name": "candidhealth",
295
- "X-Fern-SDK-Version": "0.37.0",
295
+ "X-Fern-SDK-Version": "0.38.0",
296
296
  "X-Fern-Runtime": core.RUNTIME.type,
297
297
  "X-Fern-Runtime-Version": core.RUNTIME.version,
298
298
  },
@@ -380,7 +380,7 @@ class V2 {
380
380
  Authorization: yield this._getAuthorizationHeader(),
381
381
  "X-Fern-Language": "JavaScript",
382
382
  "X-Fern-SDK-Name": "candidhealth",
383
- "X-Fern-SDK-Version": "0.37.0",
383
+ "X-Fern-SDK-Version": "0.38.0",
384
384
  "X-Fern-Runtime": core.RUNTIME.type,
385
385
  "X-Fern-Runtime-Version": core.RUNTIME.version,
386
386
  },
@@ -78,7 +78,7 @@ class V2 {
78
78
  Authorization: yield this._getAuthorizationHeader(),
79
79
  "X-Fern-Language": "JavaScript",
80
80
  "X-Fern-SDK-Name": "candidhealth",
81
- "X-Fern-SDK-Version": "0.37.0",
81
+ "X-Fern-SDK-Version": "0.38.0",
82
82
  "X-Fern-Runtime": core.RUNTIME.type,
83
83
  "X-Fern-Runtime-Version": core.RUNTIME.version,
84
84
  },
@@ -141,7 +141,7 @@ class V2 {
141
141
  Authorization: yield this._getAuthorizationHeader(),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "candidhealth",
144
- "X-Fern-SDK-Version": "0.37.0",
144
+ "X-Fern-SDK-Version": "0.38.0",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
@@ -228,7 +228,7 @@ class V2 {
228
228
  Authorization: yield this._getAuthorizationHeader(),
229
229
  "X-Fern-Language": "JavaScript",
230
230
  "X-Fern-SDK-Name": "candidhealth",
231
- "X-Fern-SDK-Version": "0.37.0",
231
+ "X-Fern-SDK-Version": "0.38.0",
232
232
  "X-Fern-Runtime": core.RUNTIME.type,
233
233
  "X-Fern-Runtime-Version": core.RUNTIME.version,
234
234
  },
@@ -291,7 +291,7 @@ class V2 {
291
291
  Authorization: yield this._getAuthorizationHeader(),
292
292
  "X-Fern-Language": "JavaScript",
293
293
  "X-Fern-SDK-Name": "candidhealth",
294
- "X-Fern-SDK-Version": "0.37.0",
294
+ "X-Fern-SDK-Version": "0.38.0",
295
295
  "X-Fern-Runtime": core.RUNTIME.type,
296
296
  "X-Fern-Runtime-Version": core.RUNTIME.version,
297
297
  },
@@ -358,7 +358,7 @@ class V2 {
358
358
  Authorization: yield this._getAuthorizationHeader(),
359
359
  "X-Fern-Language": "JavaScript",
360
360
  "X-Fern-SDK-Name": "candidhealth",
361
- "X-Fern-SDK-Version": "0.37.0",
361
+ "X-Fern-SDK-Version": "0.38.0",
362
362
  "X-Fern-Runtime": core.RUNTIME.type,
363
363
  "X-Fern-Runtime-Version": core.RUNTIME.version,
364
364
  },
@@ -67,7 +67,7 @@ class V1 {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "candidhealth",
70
- "X-Fern-SDK-Version": "0.37.0",
70
+ "X-Fern-SDK-Version": "0.38.0",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -128,7 +128,7 @@ class V1 {
128
128
  Authorization: yield this._getAuthorizationHeader(),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "candidhealth",
131
- "X-Fern-SDK-Version": "0.37.0",
131
+ "X-Fern-SDK-Version": "0.38.0",
132
132
  "X-Fern-Runtime": core.RUNTIME.type,
133
133
  "X-Fern-Runtime-Version": core.RUNTIME.version,
134
134
  },
@@ -207,7 +207,7 @@ class V1 {
207
207
  Authorization: yield this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.37.0",
210
+ "X-Fern-SDK-Version": "0.38.0",
211
211
  "X-Fern-Runtime": core.RUNTIME.type,
212
212
  "X-Fern-Runtime-Version": core.RUNTIME.version,
213
213
  },
@@ -277,7 +277,7 @@ class V1 {
277
277
  Authorization: yield this._getAuthorizationHeader(),
278
278
  "X-Fern-Language": "JavaScript",
279
279
  "X-Fern-SDK-Name": "candidhealth",
280
- "X-Fern-SDK-Version": "0.37.0",
280
+ "X-Fern-SDK-Version": "0.38.0",
281
281
  "X-Fern-Runtime": core.RUNTIME.type,
282
282
  "X-Fern-Runtime-Version": core.RUNTIME.version,
283
283
  },
@@ -73,7 +73,7 @@ class Diagnoses {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "candidhealth",
76
- "X-Fern-SDK-Version": "0.37.0",
76
+ "X-Fern-SDK-Version": "0.38.0",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -126,7 +126,7 @@ class Diagnoses {
126
126
  Authorization: yield this._getAuthorizationHeader(),
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.37.0",
129
+ "X-Fern-SDK-Version": "0.38.0",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -188,7 +188,7 @@ class Diagnoses {
188
188
  Authorization: yield this._getAuthorizationHeader(),
189
189
  "X-Fern-Language": "JavaScript",
190
190
  "X-Fern-SDK-Name": "candidhealth",
191
- "X-Fern-SDK-Version": "0.37.0",
191
+ "X-Fern-SDK-Version": "0.38.0",
192
192
  "X-Fern-Runtime": core.RUNTIME.type,
193
193
  "X-Fern-Runtime-Version": core.RUNTIME.version,
194
194
  },
@@ -83,7 +83,7 @@ class V2 {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "candidhealth",
86
- "X-Fern-SDK-Version": "0.37.0",
86
+ "X-Fern-SDK-Version": "0.38.0",
87
87
  "X-Fern-Runtime": core.RUNTIME.type,
88
88
  "X-Fern-Runtime-Version": core.RUNTIME.version,
89
89
  },
@@ -156,7 +156,7 @@ class V2 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.37.0",
159
+ "X-Fern-SDK-Version": "0.38.0",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V2 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.37.0",
230
+ "X-Fern-SDK-Version": "0.38.0",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -67,7 +67,7 @@ class V2 {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "candidhealth",
70
- "X-Fern-SDK-Version": "0.37.0",
70
+ "X-Fern-SDK-Version": "0.38.0",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -131,7 +131,7 @@ class V2 {
131
131
  Authorization: yield this._getAuthorizationHeader(),
132
132
  "X-Fern-Language": "JavaScript",
133
133
  "X-Fern-SDK-Name": "candidhealth",
134
- "X-Fern-SDK-Version": "0.37.0",
134
+ "X-Fern-SDK-Version": "0.38.0",
135
135
  "X-Fern-Runtime": core.RUNTIME.type,
136
136
  "X-Fern-Runtime-Version": core.RUNTIME.version,
137
137
  },
@@ -196,7 +196,7 @@ class V2 {
196
196
  Authorization: yield this._getAuthorizationHeader(),
197
197
  "X-Fern-Language": "JavaScript",
198
198
  "X-Fern-SDK-Name": "candidhealth",
199
- "X-Fern-SDK-Version": "0.37.0",
199
+ "X-Fern-SDK-Version": "0.38.0",
200
200
  "X-Fern-Runtime": core.RUNTIME.type,
201
201
  "X-Fern-Runtime-Version": core.RUNTIME.version,
202
202
  },
@@ -272,7 +272,7 @@ class V2 {
272
272
  Authorization: yield this._getAuthorizationHeader(),
273
273
  "X-Fern-Language": "JavaScript",
274
274
  "X-Fern-SDK-Name": "candidhealth",
275
- "X-Fern-SDK-Version": "0.37.0",
275
+ "X-Fern-SDK-Version": "0.38.0",
276
276
  "X-Fern-Runtime": core.RUNTIME.type,
277
277
  "X-Fern-Runtime-Version": core.RUNTIME.version,
278
278
  },
@@ -347,7 +347,7 @@ class V2 {
347
347
  Authorization: yield this._getAuthorizationHeader(),
348
348
  "X-Fern-Language": "JavaScript",
349
349
  "X-Fern-SDK-Name": "candidhealth",
350
- "X-Fern-SDK-Version": "0.37.0",
350
+ "X-Fern-SDK-Version": "0.38.0",
351
351
  "X-Fern-Runtime": core.RUNTIME.type,
352
352
  "X-Fern-Runtime-Version": core.RUNTIME.version,
353
353
  },
@@ -424,7 +424,7 @@ class V2 {
424
424
  Authorization: yield this._getAuthorizationHeader(),
425
425
  "X-Fern-Language": "JavaScript",
426
426
  "X-Fern-SDK-Name": "candidhealth",
427
- "X-Fern-SDK-Version": "0.37.0",
427
+ "X-Fern-SDK-Version": "0.38.0",
428
428
  "X-Fern-Runtime": core.RUNTIME.type,
429
429
  "X-Fern-Runtime-Version": core.RUNTIME.version,
430
430
  },
@@ -502,7 +502,7 @@ class V2 {
502
502
  Authorization: yield this._getAuthorizationHeader(),
503
503
  "X-Fern-Language": "JavaScript",
504
504
  "X-Fern-SDK-Name": "candidhealth",
505
- "X-Fern-SDK-Version": "0.37.0",
505
+ "X-Fern-SDK-Version": "0.38.0",
506
506
  "X-Fern-Runtime": core.RUNTIME.type,
507
507
  "X-Fern-Runtime-Version": core.RUNTIME.version,
508
508
  },
@@ -579,7 +579,7 @@ class V2 {
579
579
  Authorization: yield this._getAuthorizationHeader(),
580
580
  "X-Fern-Language": "JavaScript",
581
581
  "X-Fern-SDK-Name": "candidhealth",
582
- "X-Fern-SDK-Version": "0.37.0",
582
+ "X-Fern-SDK-Version": "0.38.0",
583
583
  "X-Fern-Runtime": core.RUNTIME.type,
584
584
  "X-Fern-Runtime-Version": core.RUNTIME.version,
585
585
  },
@@ -643,7 +643,7 @@ class V2 {
643
643
  Authorization: yield this._getAuthorizationHeader(),
644
644
  "X-Fern-Language": "JavaScript",
645
645
  "X-Fern-SDK-Name": "candidhealth",
646
- "X-Fern-SDK-Version": "0.37.0",
646
+ "X-Fern-SDK-Version": "0.38.0",
647
647
  "X-Fern-Runtime": core.RUNTIME.type,
648
648
  "X-Fern-Runtime-Version": core.RUNTIME.version,
649
649
  },
@@ -698,7 +698,7 @@ class V2 {
698
698
  Authorization: yield this._getAuthorizationHeader(),
699
699
  "X-Fern-Language": "JavaScript",
700
700
  "X-Fern-SDK-Name": "candidhealth",
701
- "X-Fern-SDK-Version": "0.37.0",
701
+ "X-Fern-SDK-Version": "0.38.0",
702
702
  "X-Fern-Runtime": core.RUNTIME.type,
703
703
  "X-Fern-Runtime-Version": core.RUNTIME.version,
704
704
  },
@@ -753,7 +753,7 @@ class V2 {
753
753
  Authorization: yield this._getAuthorizationHeader(),
754
754
  "X-Fern-Language": "JavaScript",
755
755
  "X-Fern-SDK-Name": "candidhealth",
756
- "X-Fern-SDK-Version": "0.37.0",
756
+ "X-Fern-SDK-Version": "0.38.0",
757
757
  "X-Fern-Runtime": core.RUNTIME.type,
758
758
  "X-Fern-Runtime-Version": core.RUNTIME.version,
759
759
  },
@@ -808,7 +808,7 @@ class V2 {
808
808
  Authorization: yield this._getAuthorizationHeader(),
809
809
  "X-Fern-Language": "JavaScript",
810
810
  "X-Fern-SDK-Name": "candidhealth",
811
- "X-Fern-SDK-Version": "0.37.0",
811
+ "X-Fern-SDK-Version": "0.38.0",
812
812
  "X-Fern-Runtime": core.RUNTIME.type,
813
813
  "X-Fern-Runtime-Version": core.RUNTIME.version,
814
814
  },
@@ -154,7 +154,8 @@ export declare class V4 {
154
154
  * state: CandidApi.State.Ny,
155
155
  * zipCode: "10001",
156
156
  * zipPlusFourCode: "1234"
157
- * }
157
+ * },
158
+ * secondaryIdentification: "string"
158
159
  * },
159
160
  * subscriberPrimary: {
160
161
  * insuranceCard: {
@@ -447,7 +448,8 @@ export declare class V4 {
447
448
  * state: CandidApi.State.Ny,
448
449
  * zipCode: "10001",
449
450
  * zipPlusFourCode: "1234"
450
- * }
451
+ * },
452
+ * secondaryIdentification: "string"
451
453
  * },
452
454
  * diagnoses: [{
453
455
  * name: "string",
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.37.0",
135
+ "X-Fern-SDK-Version": "0.38.0",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
178
178
  Authorization: yield this._getAuthorizationHeader(),
179
179
  "X-Fern-Language": "JavaScript",
180
180
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.37.0",
181
+ "X-Fern-SDK-Version": "0.38.0",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -311,7 +311,8 @@ class V4 {
311
311
  * state: CandidApi.State.Ny,
312
312
  * zipCode: "10001",
313
313
  * zipPlusFourCode: "1234"
314
- * }
314
+ * },
315
+ * secondaryIdentification: "string"
315
316
  * },
316
317
  * subscriberPrimary: {
317
318
  * insuranceCard: {
@@ -527,7 +528,7 @@ class V4 {
527
528
  Authorization: yield this._getAuthorizationHeader(),
528
529
  "X-Fern-Language": "JavaScript",
529
530
  "X-Fern-SDK-Name": "candidhealth",
530
- "X-Fern-SDK-Version": "0.37.0",
531
+ "X-Fern-SDK-Version": "0.38.0",
531
532
  "X-Fern-Runtime": core.RUNTIME.type,
532
533
  "X-Fern-Runtime-Version": core.RUNTIME.version,
533
534
  },
@@ -662,7 +663,8 @@ class V4 {
662
663
  * state: CandidApi.State.Ny,
663
664
  * zipCode: "10001",
664
665
  * zipPlusFourCode: "1234"
665
- * }
666
+ * },
667
+ * secondaryIdentification: "string"
666
668
  * },
667
669
  * diagnoses: [{
668
670
  * name: "string",
@@ -832,7 +834,7 @@ class V4 {
832
834
  Authorization: yield this._getAuthorizationHeader(),
833
835
  "X-Fern-Language": "JavaScript",
834
836
  "X-Fern-SDK-Name": "candidhealth",
835
- "X-Fern-SDK-Version": "0.37.0",
837
+ "X-Fern-SDK-Version": "0.38.0",
836
838
  "X-Fern-Runtime": core.RUNTIME.type,
837
839
  "X-Fern-Runtime-Version": core.RUNTIME.version,
838
840
  },
@@ -983,7 +985,7 @@ class V4 {
983
985
  Authorization: yield this._getAuthorizationHeader(),
984
986
  "X-Fern-Language": "JavaScript",
985
987
  "X-Fern-SDK-Name": "candidhealth",
986
- "X-Fern-SDK-Version": "0.37.0",
988
+ "X-Fern-SDK-Version": "0.38.0",
987
989
  "X-Fern-Runtime": core.RUNTIME.type,
988
990
  "X-Fern-Runtime-Version": core.RUNTIME.version,
989
991
  },
@@ -105,7 +105,8 @@ import * as CandidApi from "../../../../../../index";
105
105
  * state: CandidApi.State.Ny,
106
106
  * zipCode: "10001",
107
107
  * zipPlusFourCode: "1234"
108
- * }
108
+ * },
109
+ * secondaryIdentification: "string"
109
110
  * },
110
111
  * subscriberPrimary: {
111
112
  * insuranceCard: {
@@ -68,7 +68,8 @@ import * as CandidApi from "../../../../../../index";
68
68
  * state: CandidApi.State.Ny,
69
69
  * zipCode: "10001",
70
70
  * zipPlusFourCode: "1234"
71
- * }
71
+ * },
72
+ * secondaryIdentification: "string"
72
73
  * },
73
74
  * diagnoses: [{
74
75
  * name: "string",