@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
|
@@ -1,40 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ContentTooLargeException = exports.EventDestinationsLimitExceededException = exports.NotFoundException = exports.TooManyRequestsException = exports.InvalidRequestException = exports.InternalServerException = exports.ForbiddenException = exports.ConflictException = exports.AuthenticationFailedException = void 0;
|
|
4
4
|
const StediServiceException_1 = require("./StediServiceException");
|
|
5
|
-
class ClaimEditException extends StediServiceException_1.StediServiceException {
|
|
6
|
-
name = "ClaimEditException";
|
|
7
|
-
$fault = "client";
|
|
8
|
-
errors;
|
|
9
|
-
x12;
|
|
10
|
-
constructor(opts) {
|
|
11
|
-
super({
|
|
12
|
-
name: "ClaimEditException",
|
|
13
|
-
$fault: "client",
|
|
14
|
-
...opts,
|
|
15
|
-
});
|
|
16
|
-
Object.setPrototypeOf(this, ClaimEditException.prototype);
|
|
17
|
-
this.errors = opts.errors;
|
|
18
|
-
this.x12 = opts.x12;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.ClaimEditException = ClaimEditException;
|
|
22
|
-
class InternalFailureException extends StediServiceException_1.StediServiceException {
|
|
23
|
-
name = "InternalFailureException";
|
|
24
|
-
$fault = "server";
|
|
25
|
-
$retryable = {};
|
|
26
|
-
code;
|
|
27
|
-
constructor(opts) {
|
|
28
|
-
super({
|
|
29
|
-
name: "InternalFailureException",
|
|
30
|
-
$fault: "server",
|
|
31
|
-
...opts,
|
|
32
|
-
});
|
|
33
|
-
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
34
|
-
this.code = opts.code;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.InternalFailureException = InternalFailureException;
|
|
38
5
|
class AuthenticationFailedException extends StediServiceException_1.StediServiceException {
|
|
39
6
|
name = "AuthenticationFailedException";
|
|
40
7
|
$fault = "client";
|
|
@@ -132,3 +99,29 @@ class NotFoundException extends StediServiceException_1.StediServiceException {
|
|
|
132
99
|
}
|
|
133
100
|
}
|
|
134
101
|
exports.NotFoundException = NotFoundException;
|
|
102
|
+
class EventDestinationsLimitExceededException extends StediServiceException_1.StediServiceException {
|
|
103
|
+
name = "EventDestinationsLimitExceededException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "EventDestinationsLimitExceededException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, EventDestinationsLimitExceededException.prototype);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.EventDestinationsLimitExceededException = EventDestinationsLimitExceededException;
|
|
115
|
+
class ContentTooLargeException extends StediServiceException_1.StediServiceException {
|
|
116
|
+
name = "ContentTooLargeException";
|
|
117
|
+
$fault = "client";
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "ContentTooLargeException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, ContentTooLargeException.prototype);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.ContentTooLargeException = ContentTooLargeException;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateGetClaimTimeline = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const GetClaimTimelineCommand_1 = require("../commands/GetClaimTimelineCommand");
|
|
6
|
+
const StediClient_1 = require("../StediClient");
|
|
7
|
+
exports.paginateGetClaimTimeline = (0, core_1.createPaginator)(StediClient_1.StediClient, GetClaimTimelineCommand_1.GetClaimTimelineCommand, "pageToken", "nextPageToken", "pageSize");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListClaims = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListClaimsCommand_1 = require("../commands/ListClaimsCommand");
|
|
6
|
+
const StediClient_1 = require("../StediClient");
|
|
7
|
+
exports.paginateListClaims = (0, core_1.createPaginator)(StediClient_1.StediClient, ListClaimsCommand_1.ListClaimsCommand, "pageToken", "nextPageToken", "pageSize");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEventDestinationEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListEventDestinationEventsCommand_1 = require("../commands/ListEventDestinationEventsCommand");
|
|
6
|
+
const StediClient_1 = require("../StediClient");
|
|
7
|
+
exports.paginateListEventDestinationEvents = (0, core_1.createPaginator)(StediClient_1.StediClient, ListEventDestinationEventsCommand_1.ListEventDestinationEventsCommand, "pageToken", "nextPageToken", "");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEventDestinations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListEventDestinationsCommand_1 = require("../commands/ListEventDestinationsCommand");
|
|
6
|
+
const StediClient_1 = require("../StediClient");
|
|
7
|
+
exports.paginateListEventDestinations = (0, core_1.createPaginator)(StediClient_1.StediClient, ListEventDestinationsCommand_1.ListEventDestinationsCommand, "pageToken", "nextPageToken", "");
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./GetClaimTimelinePaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListClaimsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListEventDestinationEventsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListEventDestinationsPaginator"), exports);
|
|
@@ -25,6 +25,11 @@ const getRuntimeConfig = (config) => {
|
|
|
25
25
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpApiKeyAuth"),
|
|
26
26
|
signer: new core_1.HttpApiKeyAuthSigner(),
|
|
27
27
|
},
|
|
28
|
+
{
|
|
29
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
30
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
|
|
31
|
+
signer: new core_1.HttpBearerAuthSigner(),
|
|
32
|
+
},
|
|
28
33
|
],
|
|
29
34
|
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
30
35
|
protocol: config?.protocol ?? stediRestJsonProtocol_1.StediRestJsonProtocol,
|