@stedi/sdk 0.0.9 → 0.0.10
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/CHANGELOG.md +3 -0
- package/README.md +82 -29
- package/dist-cjs/Stedi.js +35 -1
- package/dist-cjs/StediClient.js +1 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +8 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +8 -0
- package/dist-cjs/commandBuilder.js +4 -1
- package/dist-cjs/commands/CreateEventDestinationCommand.js +8 -0
- package/dist-cjs/commands/CreateProfessionalClaimSubmissionCommand.js +1 -1
- package/dist-cjs/commands/DeleteEventDestinationCommand.js +8 -0
- package/dist-cjs/commands/GetClaimCommand.js +8 -0
- package/dist-cjs/commands/GetClaimTimelineCommand.js +8 -0
- package/dist-cjs/commands/GetEventDestinationCommand.js +8 -0
- package/dist-cjs/commands/GetEventDestinationEventCommand.js +8 -0
- package/dist-cjs/commands/GetEventDestinationSecretCommand.js +8 -0
- package/dist-cjs/commands/GetProfessionalClaimSubmissionCommand.js +1 -1
- package/dist-cjs/commands/ListClaimsCommand.js +8 -0
- package/dist-cjs/commands/ListEventDestinationEventsCommand.js +8 -0
- package/dist-cjs/commands/ListEventDestinationsCommand.js +8 -0
- package/dist-cjs/commands/RotateEventDestinationSecretCommand.js +8 -0
- package/dist-cjs/commands/UpdateEventDestinationCommand.js +8 -0
- package/dist-cjs/commands/ValidateProfessionalClaimSubmissionCommand.js +1 -1
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoint/bdd.js +8 -5
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/enums.js +61 -1
- package/dist-cjs/models/errors.js +27 -34
- package/dist-cjs/pagination/GetClaimTimelinePaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListClaimsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEventDestinationEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEventDestinationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/runtimeConfig.shared.js +5 -0
- package/dist-cjs/schemas/schemas_0.js +487 -127
- package/dist-es/Stedi.js +35 -1
- package/dist-es/StediClient.js +1 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +8 -0
- package/dist-es/commandBuilder.js +3 -0
- package/dist-es/commands/CreateEventDestinationCommand.js +4 -0
- package/dist-es/commands/CreateProfessionalClaimSubmissionCommand.js +2 -2
- package/dist-es/commands/DeleteEventDestinationCommand.js +4 -0
- package/dist-es/commands/GetClaimCommand.js +4 -0
- package/dist-es/commands/GetClaimTimelineCommand.js +4 -0
- package/dist-es/commands/GetEventDestinationCommand.js +4 -0
- package/dist-es/commands/GetEventDestinationEventCommand.js +4 -0
- package/dist-es/commands/GetEventDestinationSecretCommand.js +4 -0
- package/dist-es/commands/GetProfessionalClaimSubmissionCommand.js +2 -2
- package/dist-es/commands/ListClaimsCommand.js +4 -0
- package/dist-es/commands/ListEventDestinationEventsCommand.js +4 -0
- package/dist-es/commands/ListEventDestinationsCommand.js +4 -0
- package/dist-es/commands/RotateEventDestinationSecretCommand.js +4 -0
- package/dist-es/commands/UpdateEventDestinationCommand.js +4 -0
- package/dist-es/commands/ValidateProfessionalClaimSubmissionCommand.js +2 -2
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/bdd.js +8 -5
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +60 -0
- package/dist-es/models/errors.js +24 -31
- package/dist-es/pagination/GetClaimTimelinePaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListClaimsPaginator.js +4 -0
- package/dist-es/pagination/ListEventDestinationEventsPaginator.js +4 -0
- package/dist-es/pagination/ListEventDestinationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +485 -126
- package/dist-types/Stedi.d.ts +116 -1
- package/dist-types/StediClient.d.ts +14 -2
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +4 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +9 -1
- package/dist-types/commandBuilder.d.ts +4 -0
- package/dist-types/commands/CreateEventDestinationCommand.d.ts +146 -0
- package/dist-types/commands/CreateProfessionalClaimSubmissionCommand.d.ts +177 -152
- package/dist-types/commands/DeleteEventDestinationCommand.d.ts +105 -0
- package/dist-types/commands/GetClaimCommand.d.ts +139 -0
- package/dist-types/commands/GetClaimTimelineCommand.d.ts +218 -0
- package/dist-types/commands/GetEventDestinationCommand.d.ts +124 -0
- package/dist-types/commands/GetEventDestinationEventCommand.d.ts +141 -0
- package/dist-types/commands/GetEventDestinationSecretCommand.d.ts +105 -0
- package/dist-types/commands/GetProfessionalClaimSubmissionCommand.d.ts +349 -4
- package/dist-types/commands/ListClaimsCommand.d.ts +169 -0
- package/dist-types/commands/ListEventDestinationEventsCommand.d.ts +120 -0
- package/dist-types/commands/ListEventDestinationsCommand.d.ts +132 -0
- package/dist-types/commands/RotateEventDestinationSecretCommand.d.ts +113 -0
- package/dist-types/commands/UpdateEventDestinationCommand.d.ts +142 -0
- package/dist-types/commands/ValidateProfessionalClaimSubmissionCommand.d.ts +363 -9
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +263 -1
- package/dist-types/models/errors.d.ts +25 -41
- package/dist-types/models/models_0.d.ts +1320 -43
- package/dist-types/pagination/GetClaimTimelinePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListClaimsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventDestinationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventDestinationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +7 -2
- package/dist-types/runtimeConfig.d.ts +7 -2
- package/dist-types/runtimeConfig.native.d.ts +7 -2
- package/dist-types/runtimeConfig.shared.d.ts +7 -3
- package/dist-types/schemas/schemas_0.d.ts +54 -3
- package/package.json +4 -3
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetClaimInput, GetClaimOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetClaimCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetClaimCommandInput extends GetClaimInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetClaimCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetClaimCommandOutput extends GetClaimOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetClaimCommand_base: {
|
|
22
|
+
new (input: GetClaimCommandInput): import("@smithy/core/client").CommandImpl<GetClaimCommandInput, GetClaimCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetClaimCommandInput): import("@smithy/core/client").CommandImpl<GetClaimCommandInput, GetClaimCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieve summary information for a claim, including current processing status and key details from its most recent submission
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { StediClient, GetClaimCommand } from "@stedi/sdk"; // ES Modules import
|
|
32
|
+
* // const { StediClient, GetClaimCommand } = require("@stedi/sdk"); // CommonJS import
|
|
33
|
+
* // import type { StediClientConfig } from "@stedi/sdk";
|
|
34
|
+
* const config = {}; // type is StediClientConfig
|
|
35
|
+
* const client = new StediClient(config);
|
|
36
|
+
* const input = { // GetClaimInput
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetClaimCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetClaimOutput
|
|
42
|
+
* // id: "STRING_VALUE", // required
|
|
43
|
+
* // stediPayerId: "STRING_VALUE",
|
|
44
|
+
* // patientControlNumber: "STRING_VALUE", // required
|
|
45
|
+
* // patientName: { // ClaimPatientName
|
|
46
|
+
* // firstName: "STRING_VALUE",
|
|
47
|
+
* // middleName: "STRING_VALUE",
|
|
48
|
+
* // lastName: "STRING_VALUE",
|
|
49
|
+
* // suffix: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // status: "SUBMITTED" || "RECEIVED" || "ACCEPTED" || "REJECTED" || "PROCESSED" || "DENIED" || "UNKNOWN", // required
|
|
52
|
+
* // statusReportedBy: "PAYER" || "CLEARINGHOUSE", // required
|
|
53
|
+
* // type: "DENTAL" || "INSTITUTIONAL" || "PROFESSIONAL", // required
|
|
54
|
+
* // totalClaimChargeAmount: "STRING_VALUE", // required
|
|
55
|
+
* // totalClaimPaidAmount: "STRING_VALUE",
|
|
56
|
+
* // datesOfService: { // ClaimDateRange
|
|
57
|
+
* // start: "STRING_VALUE", // required
|
|
58
|
+
* // end: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // submittedAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetClaimCommandInput - {@link GetClaimCommandInput}
|
|
66
|
+
* @returns {@link GetClaimCommandOutput}
|
|
67
|
+
* @see {@link GetClaimCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetClaimCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AuthenticationFailedException} (client fault)
|
|
72
|
+
* The request credentials are missing or not valid.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
75
|
+
* The caller is authenticated but lacks permission for this resource or action.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* The service failed unexpectedly. Retry with backoff.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
81
|
+
* The request is not valid. Fix the request before retrying.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link NotFoundException} (client fault)
|
|
84
|
+
* The requested resource does not exist.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
87
|
+
* The caller has exceeded a rate limit. Retry with backoff.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link StediServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from Stedi service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @example Retrieve a claim
|
|
94
|
+
* ```javascript
|
|
95
|
+
* //
|
|
96
|
+
* const input = {
|
|
97
|
+
* id: "clm_01K6XFP3TZ8RA9X84963NMW40N"
|
|
98
|
+
* };
|
|
99
|
+
* const command = new GetClaimCommand(input);
|
|
100
|
+
* const response = await client.send(command);
|
|
101
|
+
* /* response is
|
|
102
|
+
* {
|
|
103
|
+
* datesOfService: {
|
|
104
|
+
* start: "2026-01-05"
|
|
105
|
+
* },
|
|
106
|
+
* id: "clm_01K6XFP3TZ8RA9X84963NMW40N",
|
|
107
|
+
* patientControlNumber: "123456",
|
|
108
|
+
* patientName: {
|
|
109
|
+
* firstName: "John",
|
|
110
|
+
* lastName: "Doe",
|
|
111
|
+
* middleName: "Michael",
|
|
112
|
+
* suffix: "Jr"
|
|
113
|
+
* },
|
|
114
|
+
* status: "PROCESSED",
|
|
115
|
+
* statusReportedBy: "PAYER",
|
|
116
|
+
* stediPayerId: "ABCDE",
|
|
117
|
+
* submittedAt: "2026-01-16T10:00:00Z",
|
|
118
|
+
* totalClaimChargeAmount: "832.00",
|
|
119
|
+
* totalClaimPaidAmount: "200.00",
|
|
120
|
+
* type: "PROFESSIONAL"
|
|
121
|
+
* }
|
|
122
|
+
* *\/
|
|
123
|
+
* ```
|
|
124
|
+
*
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
export declare class GetClaimCommand extends GetClaimCommand_base {
|
|
128
|
+
/** @internal type navigation helper, not in runtime. */
|
|
129
|
+
protected static __types: {
|
|
130
|
+
api: {
|
|
131
|
+
input: GetClaimInput;
|
|
132
|
+
output: GetClaimOutput;
|
|
133
|
+
};
|
|
134
|
+
sdk: {
|
|
135
|
+
input: GetClaimCommandInput;
|
|
136
|
+
output: GetClaimCommandOutput;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetClaimTimelineInput, GetClaimTimelineOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetClaimTimelineCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetClaimTimelineCommandInput extends GetClaimTimelineInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetClaimTimelineCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetClaimTimelineCommandOutput extends GetClaimTimelineOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetClaimTimelineCommand_base: {
|
|
22
|
+
new (input: GetClaimTimelineCommandInput): import("@smithy/core/client").CommandImpl<GetClaimTimelineCommandInput, GetClaimTimelineCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetClaimTimelineCommandInput): import("@smithy/core/client").CommandImpl<GetClaimTimelineCommandInput, GetClaimTimelineCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieve a paginated list of a claim's timeline entries, newest first. Timeline entries include submissions, acknowledgments, and claim payment information
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { StediClient, GetClaimTimelineCommand } from "@stedi/sdk"; // ES Modules import
|
|
32
|
+
* // const { StediClient, GetClaimTimelineCommand } = require("@stedi/sdk"); // CommonJS import
|
|
33
|
+
* // import type { StediClientConfig } from "@stedi/sdk";
|
|
34
|
+
* const config = {}; // type is StediClientConfig
|
|
35
|
+
* const client = new StediClient(config);
|
|
36
|
+
* const input = { // GetClaimTimelineInput
|
|
37
|
+
* pageSize: Number("int"),
|
|
38
|
+
* pageToken: "STRING_VALUE",
|
|
39
|
+
* id: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetClaimTimelineCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetClaimTimelineOutput
|
|
44
|
+
* // nextPageToken: "STRING_VALUE",
|
|
45
|
+
* // items: [ // ClaimTimelineEvents // required
|
|
46
|
+
* // { // ClaimTimelineEvent Union: only one key present
|
|
47
|
+
* // professionalClaimSubmission: { // ClaimSubmissionSummary
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // stediPayerId: "STRING_VALUE",
|
|
50
|
+
* // patientControlNumber: "STRING_VALUE", // required
|
|
51
|
+
* // patientName: { // ClaimPatientName
|
|
52
|
+
* // firstName: "STRING_VALUE",
|
|
53
|
+
* // middleName: "STRING_VALUE",
|
|
54
|
+
* // lastName: "STRING_VALUE",
|
|
55
|
+
* // suffix: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // totalClaimChargeAmount: "STRING_VALUE", // required
|
|
58
|
+
* // datesOfService: { // ClaimDateRange
|
|
59
|
+
* // start: "STRING_VALUE", // required
|
|
60
|
+
* // end: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // processedAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // },
|
|
64
|
+
* // dentalClaimSubmission: {
|
|
65
|
+
* // id: "STRING_VALUE", // required
|
|
66
|
+
* // stediPayerId: "STRING_VALUE",
|
|
67
|
+
* // patientControlNumber: "STRING_VALUE", // required
|
|
68
|
+
* // patientName: {
|
|
69
|
+
* // firstName: "STRING_VALUE",
|
|
70
|
+
* // middleName: "STRING_VALUE",
|
|
71
|
+
* // lastName: "STRING_VALUE",
|
|
72
|
+
* // suffix: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // totalClaimChargeAmount: "STRING_VALUE", // required
|
|
75
|
+
* // datesOfService: {
|
|
76
|
+
* // start: "STRING_VALUE", // required
|
|
77
|
+
* // end: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // processedAt: new Date("TIMESTAMP"), // required
|
|
80
|
+
* // },
|
|
81
|
+
* // institutionalClaimSubmission: {
|
|
82
|
+
* // id: "STRING_VALUE", // required
|
|
83
|
+
* // stediPayerId: "STRING_VALUE",
|
|
84
|
+
* // patientControlNumber: "STRING_VALUE", // required
|
|
85
|
+
* // patientName: {
|
|
86
|
+
* // firstName: "STRING_VALUE",
|
|
87
|
+
* // middleName: "STRING_VALUE",
|
|
88
|
+
* // lastName: "STRING_VALUE",
|
|
89
|
+
* // suffix: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // totalClaimChargeAmount: "STRING_VALUE", // required
|
|
92
|
+
* // datesOfService: {
|
|
93
|
+
* // start: "STRING_VALUE", // required
|
|
94
|
+
* // end: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // processedAt: new Date("TIMESTAMP"), // required
|
|
97
|
+
* // },
|
|
98
|
+
* // claimAcknowledgment: { // ClaimAcknowledgmentSummary
|
|
99
|
+
* // id: "STRING_VALUE", // required
|
|
100
|
+
* // status: "REJECTED" || "ACCEPTED" || "RECEIVED" || "INVALID", // required
|
|
101
|
+
* // reportedBy: "PAYER" || "CLEARINGHOUSE", // required
|
|
102
|
+
* // sourceName: "STRING_VALUE", // required
|
|
103
|
+
* // processedAt: new Date("TIMESTAMP"), // required
|
|
104
|
+
* // },
|
|
105
|
+
* // claimPaymentInformation: { // ClaimPaymentInformationSummary
|
|
106
|
+
* // id: "STRING_VALUE", // required
|
|
107
|
+
* // statusCode: "PROCESSED_AS_PRIMARY" || "PROCESSED_AS_SECONDARY" || "PROCESSED_AS_TERTIARY" || "DENIED" || "PROCESSED_AS_PRIMARY_FORWARDED_TO_ADDITIONAL_PAYERS" || "PROCESSED_AS_SECONDARY_FORWARDED_TO_ADDITIONAL_PAYERS" || "PROCESSED_AS_TERTIARY_FORWARDED_TO_ADDITIONAL_PAYERS" || "REVERSAL_OF_PREVIOUS_PAYMENT" || "NOT_OUR_CLAIM_FORWARDED_TO_ADDITIONAL_PAYERS" || "PREDETERMINATION_PRICING_ONLY", // required
|
|
108
|
+
* // totalClaimChargeAmount: "STRING_VALUE", // required
|
|
109
|
+
* // claimPaymentAmount: "STRING_VALUE", // required
|
|
110
|
+
* // patientResponsibilityAmount: "STRING_VALUE",
|
|
111
|
+
* // checkOrEftTraceNumber: "STRING_VALUE",
|
|
112
|
+
* // processedAt: new Date("TIMESTAMP"), // required
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @param GetClaimTimelineCommandInput - {@link GetClaimTimelineCommandInput}
|
|
121
|
+
* @returns {@link GetClaimTimelineCommandOutput}
|
|
122
|
+
* @see {@link GetClaimTimelineCommandInput} for command's `input` shape.
|
|
123
|
+
* @see {@link GetClaimTimelineCommandOutput} for command's `response` shape.
|
|
124
|
+
* @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link AuthenticationFailedException} (client fault)
|
|
127
|
+
* The request credentials are missing or not valid.
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
130
|
+
* The caller is authenticated but lacks permission for this resource or action.
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link InternalServerException} (server fault)
|
|
133
|
+
* The service failed unexpectedly. Retry with backoff.
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
136
|
+
* The request is not valid. Fix the request before retrying.
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link NotFoundException} (client fault)
|
|
139
|
+
* The requested resource does not exist.
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
142
|
+
* The caller has exceeded a rate limit. Retry with backoff.
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link StediServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from Stedi service.</p>
|
|
146
|
+
*
|
|
147
|
+
*
|
|
148
|
+
* @example Retrieve a claim's timeline
|
|
149
|
+
* ```javascript
|
|
150
|
+
* //
|
|
151
|
+
* const input = {
|
|
152
|
+
* id: "clm_01K6XFP3TZ8RA9X84963NMW40N",
|
|
153
|
+
* pageSize: 100
|
|
154
|
+
* };
|
|
155
|
+
* const command = new GetClaimTimelineCommand(input);
|
|
156
|
+
* const response = await client.send(command);
|
|
157
|
+
* /* response is
|
|
158
|
+
* {
|
|
159
|
+
* items: [
|
|
160
|
+
* {
|
|
161
|
+
* claimPaymentInformation: {
|
|
162
|
+
* checkOrEftTraceNumber: "TRN123456789",
|
|
163
|
+
* claimPaymentAmount: "200.00",
|
|
164
|
+
* id: "clp_01K6XFP3TZ8RA9X84963NMW43R",
|
|
165
|
+
* patientResponsibilityAmount: "50.00",
|
|
166
|
+
* processedAt: "2026-01-16T10:00:00Z",
|
|
167
|
+
* statusCode: "PROCESSED_AS_PRIMARY",
|
|
168
|
+
* totalClaimChargeAmount: "250.00"
|
|
169
|
+
* }
|
|
170
|
+
* },
|
|
171
|
+
* {
|
|
172
|
+
* claimAcknowledgment: {
|
|
173
|
+
* id: "ack_01K6XFP3TZ8RA9X84963NMW42Q",
|
|
174
|
+
* processedAt: "2026-01-08T09:30:00Z",
|
|
175
|
+
* reportedBy: "PAYER",
|
|
176
|
+
* sourceName: "ACME INSURANCE",
|
|
177
|
+
* status: "ACCEPTED"
|
|
178
|
+
* }
|
|
179
|
+
* },
|
|
180
|
+
* {
|
|
181
|
+
* professionalClaimSubmission: {
|
|
182
|
+
* datesOfService: {
|
|
183
|
+
* start: "2026-01-05"
|
|
184
|
+
* },
|
|
185
|
+
* id: "sbm_01K6XFP3TZ8RA9X84963NMW41P",
|
|
186
|
+
* patientControlNumber: "123456",
|
|
187
|
+
* patientName: {
|
|
188
|
+
* firstName: "John",
|
|
189
|
+
* lastName: "Doe",
|
|
190
|
+
* middleName: "Michael",
|
|
191
|
+
* suffix: "Jr"
|
|
192
|
+
* },
|
|
193
|
+
* processedAt: "2026-01-07T15:12:45Z",
|
|
194
|
+
* stediPayerId: "ABCDE",
|
|
195
|
+
* totalClaimChargeAmount: "250.00"
|
|
196
|
+
* }
|
|
197
|
+
* }
|
|
198
|
+
* ],
|
|
199
|
+
* nextPageToken: "eyJsYXN0SWQiOiIwMUs2WEZQMyJ9"
|
|
200
|
+
* }
|
|
201
|
+
* *\/
|
|
202
|
+
* ```
|
|
203
|
+
*
|
|
204
|
+
* @internal
|
|
205
|
+
*/
|
|
206
|
+
export declare class GetClaimTimelineCommand extends GetClaimTimelineCommand_base {
|
|
207
|
+
/** @internal type navigation helper, not in runtime. */
|
|
208
|
+
protected static __types: {
|
|
209
|
+
api: {
|
|
210
|
+
input: GetClaimTimelineInput;
|
|
211
|
+
output: GetClaimTimelineOutput;
|
|
212
|
+
};
|
|
213
|
+
sdk: {
|
|
214
|
+
input: GetClaimTimelineCommandInput;
|
|
215
|
+
output: GetClaimTimelineCommandOutput;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetEventDestinationInput, GetEventDestinationOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetEventDestinationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetEventDestinationCommandInput extends GetEventDestinationInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetEventDestinationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEventDestinationCommandOutput extends GetEventDestinationOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetEventDestinationCommand_base: {
|
|
22
|
+
new (input: GetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<GetEventDestinationCommandInput, GetEventDestinationCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<GetEventDestinationCommandInput, GetEventDestinationCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves details for an existing event destination.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { StediClient, GetEventDestinationCommand } from "@stedi/sdk"; // ES Modules import
|
|
32
|
+
* // const { StediClient, GetEventDestinationCommand } = require("@stedi/sdk"); // CommonJS import
|
|
33
|
+
* // import type { StediClientConfig } from "@stedi/sdk";
|
|
34
|
+
* const config = {}; // type is StediClientConfig
|
|
35
|
+
* const client = new StediClient(config);
|
|
36
|
+
* const input = { // GetEventDestinationInput
|
|
37
|
+
* destinationId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetEventDestinationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetEventDestinationOutput
|
|
42
|
+
* // id: "STRING_VALUE", // required
|
|
43
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
46
|
+
* // lastDeliveryTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // description: "STRING_VALUE", // required
|
|
49
|
+
* // eventTypes: [ // EventDestinationsEventTypeList // required
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // destinationUrl: "STRING_VALUE", // required
|
|
53
|
+
* // concurrencyLimit: Number("int"),
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param GetEventDestinationCommandInput - {@link GetEventDestinationCommandInput}
|
|
59
|
+
* @returns {@link GetEventDestinationCommandOutput}
|
|
60
|
+
* @see {@link GetEventDestinationCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link GetEventDestinationCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AuthenticationFailedException} (client fault)
|
|
65
|
+
* The request credentials are missing or not valid.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
68
|
+
* The caller is authenticated but lacks permission for this resource or action.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* The service failed unexpectedly. Retry with backoff.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
74
|
+
* The request is not valid. Fix the request before retrying.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link NotFoundException} (client fault)
|
|
77
|
+
* The requested resource does not exist.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
80
|
+
* The caller has exceeded a rate limit. Retry with backoff.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link StediServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from Stedi service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @example Get a destination
|
|
87
|
+
* ```javascript
|
|
88
|
+
* //
|
|
89
|
+
* const input = {
|
|
90
|
+
* destinationId: "dst_550e8400-e29b-41d4-a716-446655440000"
|
|
91
|
+
* };
|
|
92
|
+
* const command = new GetEventDestinationCommand(input);
|
|
93
|
+
* const response = await client.send(command);
|
|
94
|
+
* /* response is
|
|
95
|
+
* {
|
|
96
|
+
* createdAt: "2026-02-01T12:00:00Z",
|
|
97
|
+
* description: "Receives enrollment notifications",
|
|
98
|
+
* destinationUrl: "https://example.com/webhooks",
|
|
99
|
+
* eventTypes: [
|
|
100
|
+
* "enrollment.activated"
|
|
101
|
+
* ],
|
|
102
|
+
* id: "dst_550e8400-e29b-41d4-a716-446655440000",
|
|
103
|
+
* name: "My Destination",
|
|
104
|
+
* status: "ENABLED",
|
|
105
|
+
* updatedAt: "2026-02-01T12:00:00Z"
|
|
106
|
+
* }
|
|
107
|
+
* *\/
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class GetEventDestinationCommand extends GetEventDestinationCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: GetEventDestinationInput;
|
|
117
|
+
output: GetEventDestinationOutput;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: GetEventDestinationCommandInput;
|
|
121
|
+
output: GetEventDestinationCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetEventDestinationEventInput, GetEventDestinationEventOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetEventDestinationEventCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetEventDestinationEventCommandInput extends GetEventDestinationEventInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetEventDestinationEventCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEventDestinationEventCommandOutput extends GetEventDestinationEventOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetEventDestinationEventCommand_base: {
|
|
22
|
+
new (input: GetEventDestinationEventCommandInput): import("@smithy/core/client").CommandImpl<GetEventDestinationEventCommandInput, GetEventDestinationEventCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetEventDestinationEventCommandInput): import("@smithy/core/client").CommandImpl<GetEventDestinationEventCommandInput, GetEventDestinationEventCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the details of an existing event by its identifier.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { StediClient, GetEventDestinationEventCommand } from "@stedi/sdk"; // ES Modules import
|
|
32
|
+
* // const { StediClient, GetEventDestinationEventCommand } = require("@stedi/sdk"); // CommonJS import
|
|
33
|
+
* // import type { StediClientConfig } from "@stedi/sdk";
|
|
34
|
+
* const config = {}; // type is StediClientConfig
|
|
35
|
+
* const client = new StediClient(config);
|
|
36
|
+
* const input = { // GetEventDestinationEventInput
|
|
37
|
+
* eventId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetEventDestinationEventCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetEventDestinationEventOutput
|
|
42
|
+
* // id: "STRING_VALUE", // required
|
|
43
|
+
* // status: "PENDING" || "DELIVERED" || "FAILED", // required
|
|
44
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // eventType: "STRING_VALUE", // required
|
|
46
|
+
* // eventPayload: { // EventDestinationsEventPayload Union: only one key present
|
|
47
|
+
* // v1Event: { // EventDestinationsV1EventPayload
|
|
48
|
+
* // object: "v1.event", // required
|
|
49
|
+
* // account: "STRING_VALUE", // required
|
|
50
|
+
* // environment: "TEST" || "PRODUCTION", // required
|
|
51
|
+
* // created: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // resource: { // EventDestinationsEventPayloadResourceRef
|
|
53
|
+
* // id: "STRING_VALUE", // required
|
|
54
|
+
* // type: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // id: "STRING_VALUE",
|
|
57
|
+
* // type: "STRING_VALUE",
|
|
58
|
+
* // relatedResources: [ // EventDestinationsEventPayloadResourceRefList
|
|
59
|
+
* // {
|
|
60
|
+
* // id: "STRING_VALUE", // required
|
|
61
|
+
* // type: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param GetEventDestinationEventCommandInput - {@link GetEventDestinationEventCommandInput}
|
|
71
|
+
* @returns {@link GetEventDestinationEventCommandOutput}
|
|
72
|
+
* @see {@link GetEventDestinationEventCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link GetEventDestinationEventCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AuthenticationFailedException} (client fault)
|
|
77
|
+
* The request credentials are missing or not valid.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
80
|
+
* The caller is authenticated but lacks permission for this resource or action.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* The service failed unexpectedly. Retry with backoff.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
86
|
+
* The request is not valid. Fix the request before retrying.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link NotFoundException} (client fault)
|
|
89
|
+
* The requested resource does not exist.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link StediServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from Stedi service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @example Get an event
|
|
96
|
+
* ```javascript
|
|
97
|
+
* //
|
|
98
|
+
* const input = {
|
|
99
|
+
* eventId: "evt_550e8400-e29b-41d4-a716-446655440000"
|
|
100
|
+
* };
|
|
101
|
+
* const command = new GetEventDestinationEventCommand(input);
|
|
102
|
+
* const response = await client.send(command);
|
|
103
|
+
* /* response is
|
|
104
|
+
* {
|
|
105
|
+
* createdAt: "2026-02-01T12:00:00Z",
|
|
106
|
+
* eventPayload: {
|
|
107
|
+
* v1Event: {
|
|
108
|
+
* account: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
109
|
+
* created: "2026-02-01T12:00:00.000Z",
|
|
110
|
+
* environment: "PRODUCTION",
|
|
111
|
+
* id: "evt_550e8400-e29b-41d4-a716-446655440000",
|
|
112
|
+
* object: "v1.event",
|
|
113
|
+
* resource: {
|
|
114
|
+
* id: "enr_661f9511-f3ac-52e5-b827-557766551111",
|
|
115
|
+
* type: "enrollment"
|
|
116
|
+
* },
|
|
117
|
+
* type: "enrollment.activated"
|
|
118
|
+
* }
|
|
119
|
+
* },
|
|
120
|
+
* eventType: "enrollment.activated",
|
|
121
|
+
* id: "evt_550e8400-e29b-41d4-a716-446655440000",
|
|
122
|
+
* status: "DELIVERED"
|
|
123
|
+
* }
|
|
124
|
+
* *\/
|
|
125
|
+
* ```
|
|
126
|
+
*
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare class GetEventDestinationEventCommand extends GetEventDestinationEventCommand_base {
|
|
130
|
+
/** @internal type navigation helper, not in runtime. */
|
|
131
|
+
protected static __types: {
|
|
132
|
+
api: {
|
|
133
|
+
input: GetEventDestinationEventInput;
|
|
134
|
+
output: GetEventDestinationEventOutput;
|
|
135
|
+
};
|
|
136
|
+
sdk: {
|
|
137
|
+
input: GetEventDestinationEventCommandInput;
|
|
138
|
+
output: GetEventDestinationEventCommandOutput;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
}
|