candidhealth 0.4.1 → 0.4.3

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 (169) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/client/Client.js +1 -1
  3. package/api/resources/commons/types/EntityNotFoundErrorMessage.d.ts +6 -0
  4. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  5. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  6. package/api/resources/commons/types/RequestValidationError.d.ts +7 -0
  7. package/api/resources/commons/types/UnauthorizedErrorMessage.d.ts +6 -0
  8. package/api/resources/commons/types/index.d.ts +3 -1
  9. package/api/resources/commons/types/index.js +3 -1
  10. package/api/resources/encounters/resources/v4/client/Client.js +13 -8
  11. package/api/resources/encounters/resources/v4/client/create.d.ts +13 -1
  12. package/api/resources/encounters/resources/v4/client/create.js +22 -0
  13. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -4
  14. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  15. package/api/resources/encounters/resources/v4/client/update.d.ts +19 -1
  16. package/api/resources/encounters/resources/v4/client/update.js +33 -0
  17. package/api/resources/encounters/resources/v4/types/CodingAttributionType.d.ts +2 -1
  18. package/api/resources/encounters/resources/v4/types/CodingAttributionType.js +1 -0
  19. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  20. package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
  21. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  22. package/api/resources/index.d.ts +0 -1
  23. package/api/resources/index.js +1 -2
  24. package/api/resources/payers/client/Client.js +2 -2
  25. package/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +2 -0
  26. package/api/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -0
  27. package/api/resources/tasks/resources/v3/client/Client.js +1 -1
  28. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  29. package/dist/api/resources/billingNotes/client/Client.js +1 -1
  30. package/dist/api/resources/commons/types/EntityNotFoundErrorMessage.d.ts +6 -0
  31. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
  32. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  33. package/dist/api/resources/commons/types/RequestValidationError.d.ts +7 -0
  34. package/dist/api/resources/commons/types/RequestValidationError.js +5 -0
  35. package/dist/api/resources/commons/types/UnauthorizedErrorMessage.d.ts +6 -0
  36. package/dist/api/resources/commons/types/UnauthorizedErrorMessage.js +5 -0
  37. package/dist/api/resources/commons/types/index.d.ts +3 -1
  38. package/dist/api/resources/commons/types/index.js +3 -1
  39. package/dist/api/resources/encounters/resources/v4/client/Client.js +13 -8
  40. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +13 -1
  41. package/dist/api/resources/encounters/resources/v4/client/create.js +22 -0
  42. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -4
  43. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  44. package/dist/api/resources/encounters/resources/v4/client/update.d.ts +19 -1
  45. package/dist/api/resources/encounters/resources/v4/client/update.js +33 -0
  46. package/dist/api/resources/encounters/resources/v4/types/CodingAttributionType.d.ts +2 -1
  47. package/dist/api/resources/encounters/resources/v4/types/CodingAttributionType.js +1 -0
  48. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  49. package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
  50. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  51. package/dist/api/resources/index.d.ts +0 -1
  52. package/dist/api/resources/index.js +1 -2
  53. package/dist/api/resources/payers/client/Client.js +2 -2
  54. package/dist/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +2 -0
  55. package/dist/api/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -0
  56. package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
  57. package/dist/serialization/resources/commons/types/EntityNotFoundErrorMessage.d.ts +12 -0
  58. package/{serialization/resources/commons/types/UserId.js → dist/serialization/resources/commons/types/EntityNotFoundErrorMessage.js} +3 -7
  59. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  60. package/dist/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  61. package/dist/serialization/resources/commons/types/RequestValidationError.d.ts +13 -0
  62. package/dist/serialization/resources/commons/types/{UserId.js → RequestValidationError.js} +4 -7
  63. package/dist/serialization/resources/commons/types/UnauthorizedErrorMessage.d.ts +12 -0
  64. package/dist/serialization/resources/{workQueues/resources/v1/types/WorkQueueCategoryType.js → commons/types/UnauthorizedErrorMessage.js} +5 -3
  65. package/dist/serialization/resources/commons/types/index.d.ts +3 -1
  66. package/dist/serialization/resources/commons/types/index.js +3 -1
  67. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +9 -1
  68. package/dist/serialization/resources/encounters/resources/v4/client/create.js +10 -0
  69. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  70. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  71. package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +13 -1
  72. package/dist/serialization/resources/encounters/resources/v4/client/update.js +15 -0
  73. package/dist/serialization/resources/encounters/resources/v4/types/CodingAttributionType.d.ts +1 -1
  74. package/dist/serialization/resources/encounters/resources/v4/types/CodingAttributionType.js +1 -1
  75. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  76. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -3
  77. package/dist/serialization/resources/index.d.ts +0 -1
  78. package/dist/serialization/resources/index.js +1 -2
  79. package/dist/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +2 -0
  80. package/dist/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.js +2 -0
  81. package/dist/serialization/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -0
  82. package/dist/serialization/resources/serviceLines/types/ServiceLineCreate.js +1 -0
  83. package/package.json +1 -1
  84. package/serialization/resources/commons/types/EntityNotFoundErrorMessage.d.ts +12 -0
  85. package/serialization/resources/{workQueues/resources/v1/types/WorkQueueCategoryType.js → commons/types/EntityNotFoundErrorMessage.js} +5 -3
  86. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  87. package/serialization/resources/commons/types/ProcedureModifier.js +3 -0
  88. package/serialization/resources/commons/types/RequestValidationError.d.ts +13 -0
  89. package/serialization/resources/commons/types/RequestValidationError.js +34 -0
  90. package/serialization/resources/commons/types/UnauthorizedErrorMessage.d.ts +12 -0
  91. package/serialization/resources/commons/types/UnauthorizedErrorMessage.js +33 -0
  92. package/serialization/resources/commons/types/index.d.ts +3 -1
  93. package/serialization/resources/commons/types/index.js +3 -1
  94. package/serialization/resources/encounters/resources/v4/client/create.d.ts +9 -1
  95. package/serialization/resources/encounters/resources/v4/client/create.js +10 -0
  96. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  97. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  98. package/serialization/resources/encounters/resources/v4/client/update.d.ts +13 -1
  99. package/serialization/resources/encounters/resources/v4/client/update.js +15 -0
  100. package/serialization/resources/encounters/resources/v4/types/CodingAttributionType.d.ts +1 -1
  101. package/serialization/resources/encounters/resources/v4/types/CodingAttributionType.js +1 -1
  102. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  103. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -3
  104. package/serialization/resources/index.d.ts +0 -1
  105. package/serialization/resources/index.js +1 -2
  106. package/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +2 -0
  107. package/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.js +2 -0
  108. package/serialization/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -0
  109. package/serialization/resources/serviceLines/types/ServiceLineCreate.js +1 -0
  110. package/api/resources/commons/types/UserId.d.ts +0 -8
  111. package/api/resources/commons/types/UserId.js +0 -10
  112. package/api/resources/workQueues/index.d.ts +0 -1
  113. package/api/resources/workQueues/index.js +0 -17
  114. package/api/resources/workQueues/resources/index.d.ts +0 -1
  115. package/api/resources/workQueues/resources/index.js +0 -27
  116. package/api/resources/workQueues/resources/v1/index.d.ts +0 -1
  117. package/api/resources/workQueues/resources/v1/index.js +0 -17
  118. package/api/resources/workQueues/resources/v1/types/WorkQueue.d.ts +0 -12
  119. package/api/resources/workQueues/resources/v1/types/WorkQueueCategory.d.ts +0 -9
  120. package/api/resources/workQueues/resources/v1/types/WorkQueueCategoryType.d.ts +0 -12
  121. package/api/resources/workQueues/resources/v1/types/WorkQueueCategoryType.js +0 -14
  122. package/api/resources/workQueues/resources/v1/types/index.d.ts +0 -3
  123. package/api/resources/workQueues/resources/v1/types/index.js +0 -19
  124. package/dist/api/resources/commons/types/UserId.d.ts +0 -8
  125. package/dist/api/resources/commons/types/UserId.js +0 -10
  126. package/dist/api/resources/workQueues/index.d.ts +0 -1
  127. package/dist/api/resources/workQueues/index.js +0 -17
  128. package/dist/api/resources/workQueues/resources/index.d.ts +0 -1
  129. package/dist/api/resources/workQueues/resources/index.js +0 -27
  130. package/dist/api/resources/workQueues/resources/v1/index.d.ts +0 -1
  131. package/dist/api/resources/workQueues/resources/v1/index.js +0 -17
  132. package/dist/api/resources/workQueues/resources/v1/types/WorkQueue.d.ts +0 -12
  133. package/dist/api/resources/workQueues/resources/v1/types/WorkQueueCategory.d.ts +0 -9
  134. package/dist/api/resources/workQueues/resources/v1/types/WorkQueueCategoryType.d.ts +0 -12
  135. package/dist/api/resources/workQueues/resources/v1/types/WorkQueueCategoryType.js +0 -14
  136. package/dist/api/resources/workQueues/resources/v1/types/index.d.ts +0 -3
  137. package/dist/api/resources/workQueues/resources/v1/types/index.js +0 -19
  138. package/dist/serialization/resources/commons/types/UserId.d.ts +0 -10
  139. package/dist/serialization/resources/workQueues/index.d.ts +0 -1
  140. package/dist/serialization/resources/workQueues/index.js +0 -17
  141. package/dist/serialization/resources/workQueues/resources/index.d.ts +0 -1
  142. package/dist/serialization/resources/workQueues/resources/index.js +0 -27
  143. package/dist/serialization/resources/workQueues/resources/v1/index.d.ts +0 -1
  144. package/dist/serialization/resources/workQueues/resources/v1/index.js +0 -17
  145. package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueue.d.ts +0 -17
  146. package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueue.js +0 -38
  147. package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueueCategory.d.ts +0 -14
  148. package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueueCategory.js +0 -35
  149. package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueueCategoryType.d.ts +0 -10
  150. package/dist/serialization/resources/workQueues/resources/v1/types/index.d.ts +0 -3
  151. package/dist/serialization/resources/workQueues/resources/v1/types/index.js +0 -19
  152. package/serialization/resources/commons/types/UserId.d.ts +0 -10
  153. package/serialization/resources/workQueues/index.d.ts +0 -1
  154. package/serialization/resources/workQueues/index.js +0 -17
  155. package/serialization/resources/workQueues/resources/index.d.ts +0 -1
  156. package/serialization/resources/workQueues/resources/index.js +0 -27
  157. package/serialization/resources/workQueues/resources/v1/index.d.ts +0 -1
  158. package/serialization/resources/workQueues/resources/v1/index.js +0 -17
  159. package/serialization/resources/workQueues/resources/v1/types/WorkQueue.d.ts +0 -17
  160. package/serialization/resources/workQueues/resources/v1/types/WorkQueue.js +0 -38
  161. package/serialization/resources/workQueues/resources/v1/types/WorkQueueCategory.d.ts +0 -14
  162. package/serialization/resources/workQueues/resources/v1/types/WorkQueueCategory.js +0 -35
  163. package/serialization/resources/workQueues/resources/v1/types/WorkQueueCategoryType.d.ts +0 -10
  164. package/serialization/resources/workQueues/resources/v1/types/index.d.ts +0 -3
  165. package/serialization/resources/workQueues/resources/v1/types/index.js +0 -19
  166. /package/api/resources/{workQueues/resources/v1/types/WorkQueue.js → commons/types/EntityNotFoundErrorMessage.js} +0 -0
  167. /package/api/resources/{workQueues/resources/v1/types/WorkQueueCategory.js → commons/types/RequestValidationError.js} +0 -0
  168. /package/{dist/api/resources/workQueues/resources/v1/types/WorkQueue.js → api/resources/commons/types/UnauthorizedErrorMessage.js} +0 -0
  169. /package/dist/api/resources/{workQueues/resources/v1/types/WorkQueueCategory.js → commons/types/EntityNotFoundErrorMessage.js} +0 -0
@@ -27,6 +27,6 @@ export declare namespace Encounter {
27
27
  patient_payments: serializers.patientPayments.v3.PatientPayment.Raw[];
28
28
  tags: serializers.Tag.Raw[];
29
29
  coding_attribution?: serializers.encounters.v4.CodingAttributionType.Raw | null;
30
- work_queue?: serializers.workQueues.v1.WorkQueue.Raw | null;
30
+ work_queue_id?: serializers.WorkQueueId.Raw | null;
31
31
  }
32
32
  }
@@ -58,8 +58,6 @@ exports.Encounter = core.serialization
58
58
  codingAttribution: core.serialization.property("coding_attribution", core.serialization
59
59
  .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.CodingAttributionType)
60
60
  .optional()),
61
- workQueue: core.serialization.property("work_queue", core.serialization
62
- .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).workQueues.v1.WorkQueue)
63
- .optional()),
61
+ workQueueId: core.serialization.property("work_queue_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).WorkQueueId).optional()),
64
62
  })
65
63
  .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.EncounterBase));
@@ -5,7 +5,6 @@ export * as guarantor from "./guarantor";
5
5
  export * as organizationProviders from "./organizationProviders";
6
6
  export * as patientPayments from "./patientPayments";
7
7
  export * as tasks from "./tasks";
8
- export * as workQueues from "./workQueues";
9
8
  export * as billingNotes from "./billingNotes";
10
9
  export * from "./billingNotes/types";
11
10
  export * as claims from "./claims";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.tags = exports.serviceLines = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.workQueues = exports.tasks = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.encounters = exports.encounterProviders = exports.auth = void 0;
29
+ exports.tags = exports.serviceLines = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.tasks = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.encounters = exports.encounterProviders = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.encounterProviders = __importStar(require("./encounterProviders"));
32
32
  exports.encounters = __importStar(require("./encounters"));
@@ -34,7 +34,6 @@ exports.guarantor = __importStar(require("./guarantor"));
34
34
  exports.organizationProviders = __importStar(require("./organizationProviders"));
35
35
  exports.patientPayments = __importStar(require("./patientPayments"));
36
36
  exports.tasks = __importStar(require("./tasks"));
37
- exports.workQueues = __importStar(require("./workQueues"));
38
37
  exports.billingNotes = __importStar(require("./billingNotes"));
39
38
  __exportStar(require("./billingNotes/types"), exports);
40
39
  exports.claims = __importStar(require("./claims"));
@@ -9,6 +9,8 @@ export declare namespace ServiceLineBaseWithOptionals {
9
9
  interface Raw extends serializers.ServiceLineBase.Raw {
10
10
  charge_amount_cents?: number | null;
11
11
  allowed_amount_cents?: number | null;
12
+ insurance_balance_cents?: number | null;
13
+ patient_balance_cents?: number | null;
12
14
  paid_amount_cents?: number | null;
13
15
  patient_responsibility_cents?: number | null;
14
16
  diagnosis_id_zero?: serializers.DiagnosisId.Raw | null;
@@ -32,6 +32,8 @@ exports.ServiceLineBaseWithOptionals = core.serialization
32
32
  .object({
33
33
  chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
34
34
  allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
35
+ insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
36
+ patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
35
37
  paidAmountCents: core.serialization.property("paid_amount_cents", core.serialization.number().optional()),
36
38
  patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
37
39
  diagnosisIdZero: core.serialization.property("diagnosis_id_zero", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DiagnosisId).optional()),
@@ -13,5 +13,6 @@ export declare namespace ServiceLineCreate {
13
13
  charge_amount_cents?: number | null;
14
14
  diagnosis_pointers: number[];
15
15
  drug_identification?: serializers.DrugIdentification.Raw | null;
16
+ place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
16
17
  }
17
18
  }
@@ -36,5 +36,6 @@ exports.ServiceLineCreate = core.serialization
36
36
  chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
37
37
  diagnosisPointers: core.serialization.property("diagnosis_pointers", core.serialization.list(core.serialization.number())),
38
38
  drugIdentification: core.serialization.property("drug_identification", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DrugIdentification).optional()),
39
+ placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).FacilityTypeCode).optional()),
39
40
  })
40
41
  .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineBase));
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export declare type UserId = string & {
6
- UserId: void;
7
- };
8
- export declare function UserId(value: string): CandidApi.UserId;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.UserId = void 0;
7
- function UserId(value) {
8
- return value;
9
- }
10
- exports.UserId = UserId;
@@ -1 +0,0 @@
1
- export * from "./resources";
@@ -1,17 +0,0 @@
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);
@@ -1 +0,0 @@
1
- export * as v1 from "./v1";
@@ -1,27 +0,0 @@
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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.v1 = void 0;
27
- exports.v1 = __importStar(require("./v1"));
@@ -1 +0,0 @@
1
- export * from "./types";
@@ -1,17 +0,0 @@
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("./types"), exports);
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../..";
5
- export interface WorkQueue {
6
- workQueueId: CandidApi.WorkQueueId;
7
- displayName: string;
8
- description?: string;
9
- category: CandidApi.workQueues.v1.WorkQueueCategory;
10
- createdAt: Date;
11
- createdBy: CandidApi.UserId;
12
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../..";
5
- export interface WorkQueueCategory {
6
- type: CandidApi.workQueues.v1.WorkQueueCategoryType;
7
- displayName: string;
8
- description?: string;
9
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type WorkQueueCategoryType = "PRE_SUBMISSION" | "REJECTIONS" | "DENIALS" | "POST_SUBMISSION" | "STALE_CLAIMS" | "CUSTOM";
5
- export declare const WorkQueueCategoryType: {
6
- readonly PreSubmission: "PRE_SUBMISSION";
7
- readonly Rejections: "REJECTIONS";
8
- readonly Denials: "DENIALS";
9
- readonly PostSubmission: "POST_SUBMISSION";
10
- readonly StaleClaims: "STALE_CLAIMS";
11
- readonly Custom: "CUSTOM";
12
- };
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.WorkQueueCategoryType = void 0;
7
- exports.WorkQueueCategoryType = {
8
- PreSubmission: "PRE_SUBMISSION",
9
- Rejections: "REJECTIONS",
10
- Denials: "DENIALS",
11
- PostSubmission: "POST_SUBMISSION",
12
- StaleClaims: "STALE_CLAIMS",
13
- Custom: "CUSTOM",
14
- };
@@ -1,3 +0,0 @@
1
- export * from "./WorkQueueCategoryType";
2
- export * from "./WorkQueueCategory";
3
- export * from "./WorkQueue";
@@ -1,19 +0,0 @@
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("./WorkQueueCategoryType"), exports);
18
- __exportStar(require("./WorkQueueCategory"), exports);
19
- __exportStar(require("./WorkQueue"), exports);
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export declare type UserId = string & {
6
- UserId: void;
7
- };
8
- export declare function UserId(value: string): CandidApi.UserId;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.UserId = void 0;
7
- function UserId(value) {
8
- return value;
9
- }
10
- exports.UserId = UserId;
@@ -1 +0,0 @@
1
- export * from "./resources";
@@ -1,17 +0,0 @@
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);
@@ -1 +0,0 @@
1
- export * as v1 from "./v1";
@@ -1,27 +0,0 @@
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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.v1 = void 0;
27
- exports.v1 = __importStar(require("./v1"));
@@ -1 +0,0 @@
1
- export * from "./types";
@@ -1,17 +0,0 @@
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("./types"), exports);
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../..";
5
- export interface WorkQueue {
6
- workQueueId: CandidApi.WorkQueueId;
7
- displayName: string;
8
- description?: string;
9
- category: CandidApi.workQueues.v1.WorkQueueCategory;
10
- createdAt: Date;
11
- createdBy: CandidApi.UserId;
12
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../..";
5
- export interface WorkQueueCategory {
6
- type: CandidApi.workQueues.v1.WorkQueueCategoryType;
7
- displayName: string;
8
- description?: string;
9
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type WorkQueueCategoryType = "PRE_SUBMISSION" | "REJECTIONS" | "DENIALS" | "POST_SUBMISSION" | "STALE_CLAIMS" | "CUSTOM";
5
- export declare const WorkQueueCategoryType: {
6
- readonly PreSubmission: "PRE_SUBMISSION";
7
- readonly Rejections: "REJECTIONS";
8
- readonly Denials: "DENIALS";
9
- readonly PostSubmission: "POST_SUBMISSION";
10
- readonly StaleClaims: "STALE_CLAIMS";
11
- readonly Custom: "CUSTOM";
12
- };
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.WorkQueueCategoryType = void 0;
7
- exports.WorkQueueCategoryType = {
8
- PreSubmission: "PRE_SUBMISSION",
9
- Rejections: "REJECTIONS",
10
- Denials: "DENIALS",
11
- PostSubmission: "POST_SUBMISSION",
12
- StaleClaims: "STALE_CLAIMS",
13
- Custom: "CUSTOM",
14
- };
@@ -1,3 +0,0 @@
1
- export * from "./WorkQueueCategoryType";
2
- export * from "./WorkQueueCategory";
3
- export * from "./WorkQueue";
@@ -1,19 +0,0 @@
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("./WorkQueueCategoryType"), exports);
18
- __exportStar(require("./WorkQueueCategory"), exports);
19
- __exportStar(require("./WorkQueue"), exports);
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../..";
5
- import * as CandidApi from "../../../../api";
6
- import * as core from "../../../../core";
7
- export declare const UserId: core.serialization.Schema<serializers.UserId.Raw, CandidApi.UserId>;
8
- export declare namespace UserId {
9
- type Raw = string;
10
- }
@@ -1 +0,0 @@
1
- export * from "./resources";
@@ -1,17 +0,0 @@
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);
@@ -1 +0,0 @@
1
- export * as v1 from "./v1";
@@ -1,27 +0,0 @@
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 (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.v1 = void 0;
27
- exports.v1 = __importStar(require("./v1"));
@@ -1 +0,0 @@
1
- export * from "./types";
@@ -1,17 +0,0 @@
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("./types"), exports);
@@ -1,17 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../..";
5
- import * as CandidApi from "../../../../../../api";
6
- import * as core from "../../../../../../core";
7
- export declare const WorkQueue: core.serialization.ObjectSchema<serializers.workQueues.v1.WorkQueue.Raw, CandidApi.workQueues.v1.WorkQueue>;
8
- export declare namespace WorkQueue {
9
- interface Raw {
10
- work_queue_id: serializers.WorkQueueId.Raw;
11
- display_name: string;
12
- description?: string | null;
13
- category: serializers.workQueues.v1.WorkQueueCategory.Raw;
14
- created_at: string;
15
- created_by: serializers.UserId.Raw;
16
- }
17
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.WorkQueue = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- exports.WorkQueue = core.serialization.object({
32
- workQueueId: core.serialization.property("work_queue_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).WorkQueueId)),
33
- displayName: core.serialization.property("display_name", core.serialization.string()),
34
- description: core.serialization.string().optional(),
35
- category: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).workQueues.v1.WorkQueueCategory),
36
- createdAt: core.serialization.property("created_at", core.serialization.date()),
37
- createdBy: core.serialization.property("created_by", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UserId)),
38
- });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../..";
5
- import * as CandidApi from "../../../../../../api";
6
- import * as core from "../../../../../../core";
7
- export declare const WorkQueueCategory: core.serialization.ObjectSchema<serializers.workQueues.v1.WorkQueueCategory.Raw, CandidApi.workQueues.v1.WorkQueueCategory>;
8
- export declare namespace WorkQueueCategory {
9
- interface Raw {
10
- type: serializers.workQueues.v1.WorkQueueCategoryType.Raw;
11
- display_name: string;
12
- description?: string | null;
13
- }
14
- }