candidhealth 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +59 -54
- package/api/resources/commons/types/BadRequestErrorMessage.d.ts +3 -0
- package/api/resources/commons/types/BadRequestErrorMessage.js +3 -0
- package/api/resources/commons/types/InternalErrorMessage.d.ts +3 -0
- package/api/resources/commons/types/InternalErrorMessage.js +3 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/events/client/Client.d.ts +14 -0
- package/api/resources/events/client/Client.js +15 -0
- package/api/resources/events/client/index.d.ts +1 -0
- package/api/resources/events/client/index.js +2 -0
- package/api/resources/events/index.d.ts +2 -0
- package/api/resources/events/index.js +18 -0
- package/api/resources/events/resources/index.d.ts +1 -0
- package/api/resources/events/resources/index.js +37 -0
- package/api/resources/events/resources/v1/client/Client.d.ts +35 -0
- package/api/resources/events/resources/v1/client/Client.js +227 -0
- package/api/resources/events/resources/v1/client/get.d.ts +37 -0
- package/api/resources/events/resources/v1/client/get.js +88 -0
- package/api/resources/events/resources/v1/client/index.d.ts +3 -0
- package/api/resources/events/resources/v1/client/index.js +42 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +16 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.js +3 -0
- package/api/resources/events/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/events/resources/v1/client/requests/index.js +2 -0
- package/api/resources/events/resources/v1/client/scan.d.ts +31 -0
- package/api/resources/events/resources/v1/client/scan.js +77 -0
- package/api/resources/events/resources/v1/index.d.ts +2 -0
- package/api/resources/events/resources/v1/index.js +18 -0
- package/api/resources/events/resources/v1/types/Event.d.ts +9 -0
- package/api/resources/events/resources/v1/types/Event.js +3 -0
- package/api/resources/events/resources/v1/types/EventId.d.ts +5 -0
- package/api/resources/events/resources/v1/types/EventId.js +7 -0
- package/api/resources/events/resources/v1/types/EventScanPage.d.ts +5 -0
- package/api/resources/events/resources/v1/types/EventScanPage.js +3 -0
- package/api/resources/events/resources/v1/types/index.d.ts +3 -0
- package/api/resources/events/resources/v1/types/index.js +19 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -2
- package/api/resources/patientAr/resources/v1/client/Client.d.ts +0 -4
- package/api/resources/patientAr/resources/v1/client/Client.js +0 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +59 -54
- package/dist/api/resources/commons/types/BadRequestErrorMessage.d.ts +3 -0
- package/dist/api/resources/commons/types/BadRequestErrorMessage.js +3 -0
- package/dist/api/resources/commons/types/InternalErrorMessage.d.ts +3 -0
- package/dist/api/resources/commons/types/InternalErrorMessage.js +3 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/events/client/Client.d.ts +14 -0
- package/dist/api/resources/events/client/Client.js +15 -0
- package/dist/api/resources/events/client/index.d.ts +1 -0
- package/dist/api/resources/events/client/index.js +2 -0
- package/dist/api/resources/events/index.d.ts +2 -0
- package/dist/api/resources/events/index.js +18 -0
- package/dist/api/resources/events/resources/index.d.ts +1 -0
- package/dist/api/resources/events/resources/index.js +37 -0
- package/dist/api/resources/events/resources/v1/client/Client.d.ts +35 -0
- package/dist/api/resources/events/resources/v1/client/Client.js +227 -0
- package/dist/api/resources/events/resources/v1/client/get.d.ts +37 -0
- package/dist/api/resources/events/resources/v1/client/get.js +88 -0
- package/dist/api/resources/events/resources/v1/client/index.d.ts +3 -0
- package/dist/api/resources/events/resources/v1/client/index.js +42 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +16 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.js +3 -0
- package/dist/api/resources/events/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/events/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/events/resources/v1/client/scan.d.ts +31 -0
- package/dist/api/resources/events/resources/v1/client/scan.js +77 -0
- package/dist/api/resources/events/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/events/resources/v1/index.js +18 -0
- package/dist/api/resources/events/resources/v1/types/Event.d.ts +9 -0
- package/dist/api/resources/events/resources/v1/types/Event.js +3 -0
- package/dist/api/resources/events/resources/v1/types/EventId.d.ts +5 -0
- package/dist/api/resources/events/resources/v1/types/EventId.js +7 -0
- package/dist/api/resources/events/resources/v1/types/EventScanPage.d.ts +5 -0
- package/dist/api/resources/events/resources/v1/types/EventScanPage.js +3 -0
- package/dist/api/resources/events/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/events/resources/v1/types/index.js +19 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +0 -4
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +0 -4
- package/dist/serialization/resources/commons/types/BadRequestErrorMessage.d.ts +9 -0
- package/dist/serialization/resources/commons/types/BadRequestErrorMessage.js +41 -0
- package/dist/serialization/resources/commons/types/InternalErrorMessage.d.ts +9 -0
- package/dist/serialization/resources/commons/types/InternalErrorMessage.js +41 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/events/index.d.ts +1 -0
- package/dist/serialization/resources/events/index.js +17 -0
- package/dist/serialization/resources/events/resources/index.d.ts +1 -0
- package/dist/serialization/resources/events/resources/index.js +37 -0
- package/dist/serialization/resources/events/resources/v1/client/get.d.ts +22 -0
- package/dist/serialization/resources/events/resources/v1/client/get.js +81 -0
- package/dist/serialization/resources/events/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/events/resources/v1/client/index.js +38 -0
- package/dist/serialization/resources/events/resources/v1/client/scan.d.ts +17 -0
- package/dist/serialization/resources/events/resources/v1/client/scan.js +75 -0
- package/dist/serialization/resources/events/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/events/resources/v1/index.js +18 -0
- package/dist/serialization/resources/events/resources/v1/types/Event.d.ts +15 -0
- package/dist/serialization/resources/events/resources/v1/types/Event.js +47 -0
- package/dist/serialization/resources/events/resources/v1/types/EventId.d.ts +7 -0
- package/dist/serialization/resources/events/resources/v1/types/EventId.js +43 -0
- package/dist/serialization/resources/events/resources/v1/types/EventScanPage.d.ts +12 -0
- package/dist/serialization/resources/events/resources/v1/types/EventScanPage.js +44 -0
- package/dist/serialization/resources/events/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/events/resources/v1/types/index.js +19 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +113 -4
- package/serialization/resources/commons/types/BadRequestErrorMessage.d.ts +9 -0
- package/serialization/resources/commons/types/BadRequestErrorMessage.js +41 -0
- package/serialization/resources/commons/types/InternalErrorMessage.d.ts +9 -0
- package/serialization/resources/commons/types/InternalErrorMessage.js +41 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/events/index.d.ts +1 -0
- package/serialization/resources/events/index.js +17 -0
- package/serialization/resources/events/resources/index.d.ts +1 -0
- package/serialization/resources/events/resources/index.js +37 -0
- package/serialization/resources/events/resources/v1/client/get.d.ts +22 -0
- package/serialization/resources/events/resources/v1/client/get.js +81 -0
- package/serialization/resources/events/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/events/resources/v1/client/index.js +38 -0
- package/serialization/resources/events/resources/v1/client/scan.d.ts +17 -0
- package/serialization/resources/events/resources/v1/client/scan.js +75 -0
- package/serialization/resources/events/resources/v1/index.d.ts +2 -0
- package/serialization/resources/events/resources/v1/index.js +18 -0
- package/serialization/resources/events/resources/v1/types/Event.d.ts +15 -0
- package/serialization/resources/events/resources/v1/types/Event.js +47 -0
- package/serialization/resources/events/resources/v1/types/EventId.d.ts +7 -0
- package/serialization/resources/events/resources/v1/types/EventId.js +43 -0
- package/serialization/resources/events/resources/v1/types/EventScanPage.d.ts +12 -0
- package/serialization/resources/events/resources/v1/types/EventScanPage.js +44 -0
- package/serialization/resources/events/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/events/resources/v1/types/index.js +19 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Error = void 0;
|
|
49
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
|
+
const core = __importStar(require("../../../../../../core"));
|
|
51
|
+
const BadRequestErrorMessage_1 = require("../../../../commons/types/BadRequestErrorMessage");
|
|
52
|
+
const InternalErrorMessage_1 = require("../../../../commons/types/InternalErrorMessage");
|
|
53
|
+
exports.Error = core.serialization
|
|
54
|
+
.union("errorName", {
|
|
55
|
+
BadRequestError: core.serialization.object({
|
|
56
|
+
content: BadRequestErrorMessage_1.BadRequestErrorMessage,
|
|
57
|
+
}),
|
|
58
|
+
InternalError: core.serialization.object({
|
|
59
|
+
content: InternalErrorMessage_1.InternalErrorMessage,
|
|
60
|
+
}),
|
|
61
|
+
})
|
|
62
|
+
.transform({
|
|
63
|
+
transform: (value) => {
|
|
64
|
+
switch (value.errorName) {
|
|
65
|
+
case "BadRequestError":
|
|
66
|
+
return CandidApi.events.v1.scan.Error.badRequestError(value.content);
|
|
67
|
+
case "InternalError":
|
|
68
|
+
return CandidApi.events.v1.scan.Error.internalError(value.content);
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
untransform: (_a) => {
|
|
72
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
73
|
+
return value;
|
|
74
|
+
},
|
|
75
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { EventId } from "./EventId";
|
|
5
|
+
export declare const Event: core.serialization.ObjectSchema<serializers.events.v1.Event.Raw, CandidApi.events.v1.Event>;
|
|
6
|
+
export declare namespace Event {
|
|
7
|
+
interface Raw {
|
|
8
|
+
id: EventId.Raw;
|
|
9
|
+
created_at: string;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
event_type: string;
|
|
12
|
+
schema_version: string;
|
|
13
|
+
payload?: unknown;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Event = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const EventId_1 = require("./EventId");
|
|
40
|
+
exports.Event = core.serialization.object({
|
|
41
|
+
id: EventId_1.EventId,
|
|
42
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
43
|
+
timestamp: core.serialization.date(),
|
|
44
|
+
eventType: core.serialization.property("event_type", core.serialization.string()),
|
|
45
|
+
schemaVersion: core.serialization.property("schema_version", core.serialization.string()),
|
|
46
|
+
payload: core.serialization.unknown(),
|
|
47
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
export declare const EventId: core.serialization.Schema<serializers.events.v1.EventId.Raw, CandidApi.events.v1.EventId>;
|
|
5
|
+
export declare namespace EventId {
|
|
6
|
+
type Raw = string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.EventId = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
39
|
+
const core = __importStar(require("../../../../../../core"));
|
|
40
|
+
exports.EventId = core.serialization.string().transform({
|
|
41
|
+
transform: CandidApi.events.v1.EventId,
|
|
42
|
+
untransform: (value) => value,
|
|
43
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { PageToken } from "../../../../commons/types/PageToken";
|
|
5
|
+
import { Event } from "./Event";
|
|
6
|
+
export declare const EventScanPage: core.serialization.ObjectSchema<serializers.events.v1.EventScanPage.Raw, CandidApi.events.v1.EventScanPage>;
|
|
7
|
+
export declare namespace EventScanPage {
|
|
8
|
+
interface Raw {
|
|
9
|
+
next_page_token?: PageToken.Raw | null;
|
|
10
|
+
items: Event.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.EventScanPage = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const PageToken_1 = require("../../../../commons/types/PageToken");
|
|
40
|
+
const Event_1 = require("./Event");
|
|
41
|
+
exports.EventScanPage = core.serialization.object({
|
|
42
|
+
nextPageToken: core.serialization.property("next_page_token", PageToken_1.PageToken.optional()),
|
|
43
|
+
items: core.serialization.list(Event_1.Event),
|
|
44
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Event"), exports);
|
|
18
|
+
__exportStar(require("./EventId"), exports);
|
|
19
|
+
__exportStar(require("./EventScanPage"), exports);
|
|
@@ -23,6 +23,7 @@ export * as encounters from "./encounters";
|
|
|
23
23
|
export * as encountersUniversal from "./encountersUniversal";
|
|
24
24
|
export * as era from "./era";
|
|
25
25
|
export * from "./era/types";
|
|
26
|
+
export * as events from "./events";
|
|
26
27
|
export * as expectedNetworkStatus from "./expectedNetworkStatus";
|
|
27
28
|
export * as exports from "./exports";
|
|
28
29
|
export * as externalPaymentAccountConfig from "./externalPaymentAccountConfig";
|
|
@@ -36,8 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = void 0;
|
|
39
|
+
exports.serviceFacility = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.events = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
|
|
40
|
+
exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = exports.serviceLines = void 0;
|
|
41
41
|
exports.auth = __importStar(require("./auth"));
|
|
42
42
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
43
43
|
exports.chargeCapture = __importStar(require("./chargeCapture"));
|
|
@@ -63,6 +63,7 @@ exports.encounters = __importStar(require("./encounters"));
|
|
|
63
63
|
exports.encountersUniversal = __importStar(require("./encountersUniversal"));
|
|
64
64
|
exports.era = __importStar(require("./era"));
|
|
65
65
|
__exportStar(require("./era/types"), exports);
|
|
66
|
+
exports.events = __importStar(require("./events"));
|
|
66
67
|
exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
|
|
67
68
|
exports.exports = __importStar(require("./exports"));
|
|
68
69
|
exports.externalPaymentAccountConfig = __importStar(require("./externalPaymentAccountConfig"));
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.16.0";
|
package/version.js
CHANGED