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.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -21
- package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -7
- package/api/resources/chargeCapture/resources/v1/client/delete.js +0 -11
- package/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +1 -7
- package/api/resources/chargeCapture/resources/v1/client/getAll.js +0 -11
- package/api/resources/commons/types/index.d.ts +0 -1
- package/api/resources/commons/types/index.js +0 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -2
- package/api/resources/encounters/resources/v4/client/Client.js +9 -7
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -21
- package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +0 -11
- package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +1 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +0 -11
- package/dist/api/resources/commons/types/index.d.ts +0 -1
- package/dist/api/resources/commons/types/index.js +0 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -7
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -6
- package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +0 -6
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +1 -2
- package/dist/serialization/resources/commons/types/index.d.ts +0 -1
- package/dist/serialization/resources/commons/types/index.js +0 -1
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
- package/package.json +1 -1
- package/reference.md +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -6
- package/serialization/resources/chargeCapture/resources/v1/client/delete.js +0 -6
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +1 -2
- package/serialization/resources/commons/types/index.d.ts +0 -1
- package/serialization/resources/commons/types/index.js +0 -1
- package/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
- package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
- package/api/resources/commons/types/NotImplementedErrorMessage.js +0 -5
- package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
- package/dist/api/resources/commons/types/NotImplementedErrorMessage.js +0 -5
- package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +0 -15
- package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.js +0 -61
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.js +0 -33
- package/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +0 -15
- package/serialization/resources/chargeCapture/resources/v1/client/getAll.js +0 -61
- package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
- package/serialization/resources/commons/types/NotImplementedErrorMessage.js +0 -33
|
@@ -6,10 +6,9 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
8
|
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
-
import { NotImplementedErrorMessage } from "../../../../commons/types/NotImplementedErrorMessage";
|
|
10
9
|
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.delete.Error.Raw, CandidApi.chargeCapture.v1.delete.Error>;
|
|
11
10
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
13
12
|
interface EntityNotFoundError {
|
|
14
13
|
errorName: "EntityNotFoundError";
|
|
15
14
|
content: EntityNotFoundErrorMessage.Raw;
|
|
@@ -18,8 +17,4 @@ export declare namespace Error {
|
|
|
18
17
|
errorName: "UnauthorizedError";
|
|
19
18
|
content: UnauthorizedErrorMessage.Raw;
|
|
20
19
|
}
|
|
21
|
-
interface NotImplementedError {
|
|
22
|
-
errorName: "NotImplementedError";
|
|
23
|
-
content: NotImplementedErrorMessage.Raw;
|
|
24
|
-
}
|
|
25
20
|
}
|
|
@@ -42,7 +42,6 @@ const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
44
44
|
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
45
|
-
const NotImplementedErrorMessage_1 = require("../../../../commons/types/NotImplementedErrorMessage");
|
|
46
45
|
exports.Error = core.serialization
|
|
47
46
|
.union("errorName", {
|
|
48
47
|
EntityNotFoundError: core.serialization.object({
|
|
@@ -51,9 +50,6 @@ exports.Error = core.serialization
|
|
|
51
50
|
UnauthorizedError: core.serialization.object({
|
|
52
51
|
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
53
52
|
}),
|
|
54
|
-
NotImplementedError: core.serialization.object({
|
|
55
|
-
content: NotImplementedErrorMessage_1.NotImplementedErrorMessage,
|
|
56
|
-
}),
|
|
57
53
|
})
|
|
58
54
|
.transform({
|
|
59
55
|
transform: (value) => {
|
|
@@ -62,8 +58,6 @@ exports.Error = core.serialization
|
|
|
62
58
|
return CandidApi.chargeCapture.v1.delete.Error.entityNotFoundError(value.content);
|
|
63
59
|
case "UnauthorizedError":
|
|
64
60
|
return CandidApi.chargeCapture.v1.delete.Error.unauthorizedError(value.content);
|
|
65
|
-
case "NotImplementedError":
|
|
66
|
-
return CandidApi.chargeCapture.v1.delete.Error.notImplementedError(value.content);
|
|
67
61
|
}
|
|
68
62
|
},
|
|
69
63
|
untransform: (_a) => {
|
|
@@ -26,9 +26,8 @@ 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.
|
|
29
|
+
exports.update = exports.delete = exports.create = void 0;
|
|
30
30
|
exports.create = __importStar(require("./create"));
|
|
31
31
|
exports.delete = __importStar(require("./delete"));
|
|
32
32
|
exports.update = __importStar(require("./update"));
|
|
33
|
-
exports.getAll = __importStar(require("./getAll"));
|
|
34
33
|
__exportStar(require("./requests"), exports);
|
|
@@ -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);
|
|
@@ -35,4 +35,5 @@ exports.EncounterServiceFacility = core.serialization.object({
|
|
|
35
35
|
organizationName: core.serialization.property("organization_name", core.serialization.string()),
|
|
36
36
|
npi: core.serialization.string().optional(),
|
|
37
37
|
address: StreetAddressLongZip_1.StreetAddressLongZip,
|
|
38
|
+
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
38
39
|
});
|
|
@@ -33,4 +33,5 @@ exports.EncounterServiceFacilityBase = core.serialization.object({
|
|
|
33
33
|
organizationName: core.serialization.property("organization_name", core.serialization.string()),
|
|
34
34
|
npi: core.serialization.string().optional(),
|
|
35
35
|
address: StreetAddressLongZip_1.StreetAddressLongZip,
|
|
36
|
+
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
36
37
|
});
|
|
@@ -33,4 +33,5 @@ exports.EncounterServiceFacilityUpdate = core.serialization.object({
|
|
|
33
33
|
organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
|
|
34
34
|
npi: core.serialization.string().optional(),
|
|
35
35
|
address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
|
|
36
|
+
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
36
37
|
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../../index";
|
|
5
|
-
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
import { NotImplementedErrorMessage } from "../../../../commons/types/NotImplementedErrorMessage";
|
|
8
|
-
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.getAll.Error.Raw, CandidApi.chargeCapture.v1.getAll.Error>;
|
|
9
|
-
export declare namespace Error {
|
|
10
|
-
type Raw = Error.NotImplementedError;
|
|
11
|
-
interface NotImplementedError {
|
|
12
|
-
errorName: "NotImplementedError";
|
|
13
|
-
content: NotImplementedErrorMessage.Raw;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,61 +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
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
-
var t = {};
|
|
30
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
-
t[p] = s[p];
|
|
32
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
-
t[p[i]] = s[p[i]];
|
|
36
|
-
}
|
|
37
|
-
return t;
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.Error = void 0;
|
|
41
|
-
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
-
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const NotImplementedErrorMessage_1 = require("../../../../commons/types/NotImplementedErrorMessage");
|
|
44
|
-
exports.Error = core.serialization
|
|
45
|
-
.union("errorName", {
|
|
46
|
-
NotImplementedError: core.serialization.object({
|
|
47
|
-
content: NotImplementedErrorMessage_1.NotImplementedErrorMessage,
|
|
48
|
-
}),
|
|
49
|
-
})
|
|
50
|
-
.transform({
|
|
51
|
-
transform: (value) => {
|
|
52
|
-
switch (value.errorName) {
|
|
53
|
-
case "NotImplementedError":
|
|
54
|
-
return CandidApi.chargeCapture.v1.getAll.Error.notImplementedError(value.content);
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
untransform: (_a) => {
|
|
58
|
-
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
-
return value;
|
|
60
|
-
},
|
|
61
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as CandidApi from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const NotImplementedErrorMessage: core.serialization.ObjectSchema<serializers.NotImplementedErrorMessage.Raw, CandidApi.NotImplementedErrorMessage>;
|
|
8
|
-
export declare namespace NotImplementedErrorMessage {
|
|
9
|
-
interface Raw {
|
|
10
|
-
message?: string | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,33 +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.NotImplementedErrorMessage = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.NotImplementedErrorMessage = core.serialization.object({
|
|
32
|
-
message: core.serialization.string().optional(),
|
|
33
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../../index";
|
|
5
|
-
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
import { NotImplementedErrorMessage } from "../../../../commons/types/NotImplementedErrorMessage";
|
|
8
|
-
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.getAll.Error.Raw, CandidApi.chargeCapture.v1.getAll.Error>;
|
|
9
|
-
export declare namespace Error {
|
|
10
|
-
type Raw = Error.NotImplementedError;
|
|
11
|
-
interface NotImplementedError {
|
|
12
|
-
errorName: "NotImplementedError";
|
|
13
|
-
content: NotImplementedErrorMessage.Raw;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,61 +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
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
-
var t = {};
|
|
30
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
-
t[p] = s[p];
|
|
32
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
-
t[p[i]] = s[p[i]];
|
|
36
|
-
}
|
|
37
|
-
return t;
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.Error = void 0;
|
|
41
|
-
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
-
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const NotImplementedErrorMessage_1 = require("../../../../commons/types/NotImplementedErrorMessage");
|
|
44
|
-
exports.Error = core.serialization
|
|
45
|
-
.union("errorName", {
|
|
46
|
-
NotImplementedError: core.serialization.object({
|
|
47
|
-
content: NotImplementedErrorMessage_1.NotImplementedErrorMessage,
|
|
48
|
-
}),
|
|
49
|
-
})
|
|
50
|
-
.transform({
|
|
51
|
-
transform: (value) => {
|
|
52
|
-
switch (value.errorName) {
|
|
53
|
-
case "NotImplementedError":
|
|
54
|
-
return CandidApi.chargeCapture.v1.getAll.Error.notImplementedError(value.content);
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
untransform: (_a) => {
|
|
58
|
-
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
-
return value;
|
|
60
|
-
},
|
|
61
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as CandidApi from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const NotImplementedErrorMessage: core.serialization.ObjectSchema<serializers.NotImplementedErrorMessage.Raw, CandidApi.NotImplementedErrorMessage>;
|
|
8
|
-
export declare namespace NotImplementedErrorMessage {
|
|
9
|
-
interface Raw {
|
|
10
|
-
message?: string | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,33 +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.NotImplementedErrorMessage = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.NotImplementedErrorMessage = core.serialization.object({
|
|
32
|
-
message: core.serialization.string().optional(),
|
|
33
|
-
});
|