@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.
Files changed (105) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +82 -29
  3. package/dist-cjs/Stedi.js +35 -1
  4. package/dist-cjs/StediClient.js +1 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +8 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +8 -0
  7. package/dist-cjs/commandBuilder.js +4 -1
  8. package/dist-cjs/commands/CreateEventDestinationCommand.js +8 -0
  9. package/dist-cjs/commands/CreateProfessionalClaimSubmissionCommand.js +1 -1
  10. package/dist-cjs/commands/DeleteEventDestinationCommand.js +8 -0
  11. package/dist-cjs/commands/GetClaimCommand.js +8 -0
  12. package/dist-cjs/commands/GetClaimTimelineCommand.js +8 -0
  13. package/dist-cjs/commands/GetEventDestinationCommand.js +8 -0
  14. package/dist-cjs/commands/GetEventDestinationEventCommand.js +8 -0
  15. package/dist-cjs/commands/GetEventDestinationSecretCommand.js +8 -0
  16. package/dist-cjs/commands/GetProfessionalClaimSubmissionCommand.js +1 -1
  17. package/dist-cjs/commands/ListClaimsCommand.js +8 -0
  18. package/dist-cjs/commands/ListEventDestinationEventsCommand.js +8 -0
  19. package/dist-cjs/commands/ListEventDestinationsCommand.js +8 -0
  20. package/dist-cjs/commands/RotateEventDestinationSecretCommand.js +8 -0
  21. package/dist-cjs/commands/UpdateEventDestinationCommand.js +8 -0
  22. package/dist-cjs/commands/ValidateProfessionalClaimSubmissionCommand.js +1 -1
  23. package/dist-cjs/commands/index.js +12 -0
  24. package/dist-cjs/endpoint/bdd.js +8 -5
  25. package/dist-cjs/index.js +1 -0
  26. package/dist-cjs/models/enums.js +61 -1
  27. package/dist-cjs/models/errors.js +27 -34
  28. package/dist-cjs/pagination/GetClaimTimelinePaginator.js +7 -0
  29. package/dist-cjs/pagination/Interfaces.js +2 -0
  30. package/dist-cjs/pagination/ListClaimsPaginator.js +7 -0
  31. package/dist-cjs/pagination/ListEventDestinationEventsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListEventDestinationsPaginator.js +7 -0
  33. package/dist-cjs/pagination/index.js +8 -0
  34. package/dist-cjs/runtimeConfig.shared.js +5 -0
  35. package/dist-cjs/schemas/schemas_0.js +487 -127
  36. package/dist-es/Stedi.js +35 -1
  37. package/dist-es/StediClient.js +1 -0
  38. package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
  39. package/dist-es/auth/httpAuthSchemeProvider.js +8 -0
  40. package/dist-es/commandBuilder.js +3 -0
  41. package/dist-es/commands/CreateEventDestinationCommand.js +4 -0
  42. package/dist-es/commands/CreateProfessionalClaimSubmissionCommand.js +2 -2
  43. package/dist-es/commands/DeleteEventDestinationCommand.js +4 -0
  44. package/dist-es/commands/GetClaimCommand.js +4 -0
  45. package/dist-es/commands/GetClaimTimelineCommand.js +4 -0
  46. package/dist-es/commands/GetEventDestinationCommand.js +4 -0
  47. package/dist-es/commands/GetEventDestinationEventCommand.js +4 -0
  48. package/dist-es/commands/GetEventDestinationSecretCommand.js +4 -0
  49. package/dist-es/commands/GetProfessionalClaimSubmissionCommand.js +2 -2
  50. package/dist-es/commands/ListClaimsCommand.js +4 -0
  51. package/dist-es/commands/ListEventDestinationEventsCommand.js +4 -0
  52. package/dist-es/commands/ListEventDestinationsCommand.js +4 -0
  53. package/dist-es/commands/RotateEventDestinationSecretCommand.js +4 -0
  54. package/dist-es/commands/UpdateEventDestinationCommand.js +4 -0
  55. package/dist-es/commands/ValidateProfessionalClaimSubmissionCommand.js +2 -2
  56. package/dist-es/commands/index.js +12 -0
  57. package/dist-es/endpoint/bdd.js +8 -5
  58. package/dist-es/index.js +1 -0
  59. package/dist-es/models/enums.js +60 -0
  60. package/dist-es/models/errors.js +24 -31
  61. package/dist-es/pagination/GetClaimTimelinePaginator.js +4 -0
  62. package/dist-es/pagination/Interfaces.js +1 -0
  63. package/dist-es/pagination/ListClaimsPaginator.js +4 -0
  64. package/dist-es/pagination/ListEventDestinationEventsPaginator.js +4 -0
  65. package/dist-es/pagination/ListEventDestinationsPaginator.js +4 -0
  66. package/dist-es/pagination/index.js +5 -0
  67. package/dist-es/runtimeConfig.shared.js +6 -1
  68. package/dist-es/schemas/schemas_0.js +485 -126
  69. package/dist-types/Stedi.d.ts +116 -1
  70. package/dist-types/StediClient.d.ts +14 -2
  71. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +4 -1
  72. package/dist-types/auth/httpAuthSchemeProvider.d.ts +9 -1
  73. package/dist-types/commandBuilder.d.ts +4 -0
  74. package/dist-types/commands/CreateEventDestinationCommand.d.ts +146 -0
  75. package/dist-types/commands/CreateProfessionalClaimSubmissionCommand.d.ts +177 -152
  76. package/dist-types/commands/DeleteEventDestinationCommand.d.ts +105 -0
  77. package/dist-types/commands/GetClaimCommand.d.ts +139 -0
  78. package/dist-types/commands/GetClaimTimelineCommand.d.ts +218 -0
  79. package/dist-types/commands/GetEventDestinationCommand.d.ts +124 -0
  80. package/dist-types/commands/GetEventDestinationEventCommand.d.ts +141 -0
  81. package/dist-types/commands/GetEventDestinationSecretCommand.d.ts +105 -0
  82. package/dist-types/commands/GetProfessionalClaimSubmissionCommand.d.ts +349 -4
  83. package/dist-types/commands/ListClaimsCommand.d.ts +169 -0
  84. package/dist-types/commands/ListEventDestinationEventsCommand.d.ts +120 -0
  85. package/dist-types/commands/ListEventDestinationsCommand.d.ts +132 -0
  86. package/dist-types/commands/RotateEventDestinationSecretCommand.d.ts +113 -0
  87. package/dist-types/commands/UpdateEventDestinationCommand.d.ts +142 -0
  88. package/dist-types/commands/ValidateProfessionalClaimSubmissionCommand.d.ts +363 -9
  89. package/dist-types/commands/index.d.ts +12 -0
  90. package/dist-types/index.d.ts +1 -0
  91. package/dist-types/models/enums.d.ts +263 -1
  92. package/dist-types/models/errors.d.ts +25 -41
  93. package/dist-types/models/models_0.d.ts +1320 -43
  94. package/dist-types/pagination/GetClaimTimelinePaginator.d.ts +7 -0
  95. package/dist-types/pagination/Interfaces.d.ts +8 -0
  96. package/dist-types/pagination/ListClaimsPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListEventDestinationEventsPaginator.d.ts +7 -0
  98. package/dist-types/pagination/ListEventDestinationsPaginator.d.ts +7 -0
  99. package/dist-types/pagination/index.d.ts +5 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +7 -2
  101. package/dist-types/runtimeConfig.d.ts +7 -2
  102. package/dist-types/runtimeConfig.native.d.ts +7 -2
  103. package/dist-types/runtimeConfig.shared.d.ts +7 -3
  104. package/dist-types/schemas/schemas_0.d.ts +54 -3
  105. package/package.json +4 -3
@@ -1,6 +1,18 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
+ import { type CreateEventDestinationCommandInput, type CreateEventDestinationCommandOutput } from "./commands/CreateEventDestinationCommand";
2
3
  import { type CreateProfessionalClaimSubmissionCommandInput, type CreateProfessionalClaimSubmissionCommandOutput } from "./commands/CreateProfessionalClaimSubmissionCommand";
4
+ import { type DeleteEventDestinationCommandInput, type DeleteEventDestinationCommandOutput } from "./commands/DeleteEventDestinationCommand";
5
+ import { type GetClaimCommandInput, type GetClaimCommandOutput } from "./commands/GetClaimCommand";
6
+ import { type GetClaimTimelineCommandInput, type GetClaimTimelineCommandOutput } from "./commands/GetClaimTimelineCommand";
7
+ import { type GetEventDestinationCommandInput, type GetEventDestinationCommandOutput } from "./commands/GetEventDestinationCommand";
8
+ import { type GetEventDestinationEventCommandInput, type GetEventDestinationEventCommandOutput } from "./commands/GetEventDestinationEventCommand";
9
+ import { type GetEventDestinationSecretCommandInput, type GetEventDestinationSecretCommandOutput } from "./commands/GetEventDestinationSecretCommand";
3
10
  import { type GetProfessionalClaimSubmissionCommandInput, type GetProfessionalClaimSubmissionCommandOutput } from "./commands/GetProfessionalClaimSubmissionCommand";
11
+ import { type ListClaimsCommandInput, type ListClaimsCommandOutput } from "./commands/ListClaimsCommand";
12
+ import { type ListEventDestinationEventsCommandInput, type ListEventDestinationEventsCommandOutput } from "./commands/ListEventDestinationEventsCommand";
13
+ import { type ListEventDestinationsCommandInput, type ListEventDestinationsCommandOutput } from "./commands/ListEventDestinationsCommand";
14
+ import { type RotateEventDestinationSecretCommandInput, type RotateEventDestinationSecretCommandOutput } from "./commands/RotateEventDestinationSecretCommand";
15
+ import { type UpdateEventDestinationCommandInput, type UpdateEventDestinationCommandOutput } from "./commands/UpdateEventDestinationCommand";
4
16
  import { type ValidateProfessionalClaimSubmissionCommandInput, type ValidateProfessionalClaimSubmissionCommandOutput } from "./commands/ValidateProfessionalClaimSubmissionCommand";
5
17
  import { StediClient } from "./StediClient";
6
18
  export interface Stedi {
@@ -22,6 +34,109 @@ export interface Stedi {
22
34
  validateProfessionalClaimSubmission(args: ValidateProfessionalClaimSubmissionCommandInput, options?: __HttpHandlerOptions): Promise<ValidateProfessionalClaimSubmissionCommandOutput>;
23
35
  validateProfessionalClaimSubmission(args: ValidateProfessionalClaimSubmissionCommandInput, cb: (err: any, data?: ValidateProfessionalClaimSubmissionCommandOutput) => void): void;
24
36
  validateProfessionalClaimSubmission(args: ValidateProfessionalClaimSubmissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidateProfessionalClaimSubmissionCommandOutput) => void): void;
37
+ /**
38
+ * @see {@link GetClaimCommand}
39
+ */
40
+ getClaim(args: GetClaimCommandInput, options?: __HttpHandlerOptions): Promise<GetClaimCommandOutput>;
41
+ getClaim(args: GetClaimCommandInput, cb: (err: any, data?: GetClaimCommandOutput) => void): void;
42
+ getClaim(args: GetClaimCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClaimCommandOutput) => void): void;
43
+ /**
44
+ * @see {@link GetClaimTimelineCommand}
45
+ */
46
+ getClaimTimeline(args: GetClaimTimelineCommandInput, options?: __HttpHandlerOptions): Promise<GetClaimTimelineCommandOutput>;
47
+ getClaimTimeline(args: GetClaimTimelineCommandInput, cb: (err: any, data?: GetClaimTimelineCommandOutput) => void): void;
48
+ getClaimTimeline(args: GetClaimTimelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClaimTimelineCommandOutput) => void): void;
49
+ /**
50
+ * @see {@link ListClaimsCommand}
51
+ */
52
+ listClaims(): Promise<ListClaimsCommandOutput>;
53
+ listClaims(args: ListClaimsCommandInput, options?: __HttpHandlerOptions): Promise<ListClaimsCommandOutput>;
54
+ listClaims(args: ListClaimsCommandInput, cb: (err: any, data?: ListClaimsCommandOutput) => void): void;
55
+ listClaims(args: ListClaimsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClaimsCommandOutput) => void): void;
56
+ /**
57
+ * @see {@link CreateEventDestinationCommand}
58
+ */
59
+ createEventDestination(args: CreateEventDestinationCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventDestinationCommandOutput>;
60
+ createEventDestination(args: CreateEventDestinationCommandInput, cb: (err: any, data?: CreateEventDestinationCommandOutput) => void): void;
61
+ createEventDestination(args: CreateEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventDestinationCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link DeleteEventDestinationCommand}
64
+ */
65
+ deleteEventDestination(args: DeleteEventDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventDestinationCommandOutput>;
66
+ deleteEventDestination(args: DeleteEventDestinationCommandInput, cb: (err: any, data?: DeleteEventDestinationCommandOutput) => void): void;
67
+ deleteEventDestination(args: DeleteEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventDestinationCommandOutput) => void): void;
68
+ /**
69
+ * @see {@link GetEventDestinationCommand}
70
+ */
71
+ getEventDestination(args: GetEventDestinationCommandInput, options?: __HttpHandlerOptions): Promise<GetEventDestinationCommandOutput>;
72
+ getEventDestination(args: GetEventDestinationCommandInput, cb: (err: any, data?: GetEventDestinationCommandOutput) => void): void;
73
+ getEventDestination(args: GetEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventDestinationCommandOutput) => void): void;
74
+ /**
75
+ * @see {@link GetEventDestinationEventCommand}
76
+ */
77
+ getEventDestinationEvent(args: GetEventDestinationEventCommandInput, options?: __HttpHandlerOptions): Promise<GetEventDestinationEventCommandOutput>;
78
+ getEventDestinationEvent(args: GetEventDestinationEventCommandInput, cb: (err: any, data?: GetEventDestinationEventCommandOutput) => void): void;
79
+ getEventDestinationEvent(args: GetEventDestinationEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventDestinationEventCommandOutput) => void): void;
80
+ /**
81
+ * @see {@link GetEventDestinationSecretCommand}
82
+ */
83
+ getEventDestinationSecret(args: GetEventDestinationSecretCommandInput, options?: __HttpHandlerOptions): Promise<GetEventDestinationSecretCommandOutput>;
84
+ getEventDestinationSecret(args: GetEventDestinationSecretCommandInput, cb: (err: any, data?: GetEventDestinationSecretCommandOutput) => void): void;
85
+ getEventDestinationSecret(args: GetEventDestinationSecretCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventDestinationSecretCommandOutput) => void): void;
86
+ /**
87
+ * @see {@link ListEventDestinationEventsCommand}
88
+ */
89
+ listEventDestinationEvents(): Promise<ListEventDestinationEventsCommandOutput>;
90
+ listEventDestinationEvents(args: ListEventDestinationEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventDestinationEventsCommandOutput>;
91
+ listEventDestinationEvents(args: ListEventDestinationEventsCommandInput, cb: (err: any, data?: ListEventDestinationEventsCommandOutput) => void): void;
92
+ listEventDestinationEvents(args: ListEventDestinationEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventDestinationEventsCommandOutput) => void): void;
93
+ /**
94
+ * @see {@link ListEventDestinationsCommand}
95
+ */
96
+ listEventDestinations(): Promise<ListEventDestinationsCommandOutput>;
97
+ listEventDestinations(args: ListEventDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventDestinationsCommandOutput>;
98
+ listEventDestinations(args: ListEventDestinationsCommandInput, cb: (err: any, data?: ListEventDestinationsCommandOutput) => void): void;
99
+ listEventDestinations(args: ListEventDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventDestinationsCommandOutput) => void): void;
100
+ /**
101
+ * @see {@link RotateEventDestinationSecretCommand}
102
+ */
103
+ rotateEventDestinationSecret(args: RotateEventDestinationSecretCommandInput, options?: __HttpHandlerOptions): Promise<RotateEventDestinationSecretCommandOutput>;
104
+ rotateEventDestinationSecret(args: RotateEventDestinationSecretCommandInput, cb: (err: any, data?: RotateEventDestinationSecretCommandOutput) => void): void;
105
+ rotateEventDestinationSecret(args: RotateEventDestinationSecretCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RotateEventDestinationSecretCommandOutput) => void): void;
106
+ /**
107
+ * @see {@link UpdateEventDestinationCommand}
108
+ */
109
+ updateEventDestination(args: UpdateEventDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventDestinationCommandOutput>;
110
+ updateEventDestination(args: UpdateEventDestinationCommandInput, cb: (err: any, data?: UpdateEventDestinationCommandOutput) => void): void;
111
+ updateEventDestination(args: UpdateEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventDestinationCommandOutput) => void): void;
112
+ /**
113
+ * @see {@link GetClaimTimelineCommand}
114
+ * @param args - command input.
115
+ * @param paginationConfig - optional pagination config.
116
+ * @returns AsyncIterable of {@link GetClaimTimelineCommandOutput}.
117
+ */
118
+ paginateGetClaimTimeline(args: GetClaimTimelineCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetClaimTimelineCommandOutput>;
119
+ /**
120
+ * @see {@link ListClaimsCommand}
121
+ * @param args - command input.
122
+ * @param paginationConfig - optional pagination config.
123
+ * @returns AsyncIterable of {@link ListClaimsCommandOutput}.
124
+ */
125
+ paginateListClaims(args?: ListClaimsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListClaimsCommandOutput>;
126
+ /**
127
+ * @see {@link ListEventDestinationEventsCommand}
128
+ * @param args - command input.
129
+ * @param paginationConfig - optional pagination config.
130
+ * @returns AsyncIterable of {@link ListEventDestinationEventsCommandOutput}.
131
+ */
132
+ paginateListEventDestinationEvents(args?: ListEventDestinationEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEventDestinationEventsCommandOutput>;
133
+ /**
134
+ * @see {@link ListEventDestinationsCommand}
135
+ * @param args - command input.
136
+ * @param paginationConfig - optional pagination config.
137
+ * @returns AsyncIterable of {@link ListEventDestinationsCommandOutput}.
138
+ */
139
+ paginateListEventDestinations(args?: ListEventDestinationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEventDestinationsCommandOutput>;
25
140
  }
26
141
  /**
27
142
  * The Stedi SDK — unified, typed access to Stedi's healthcare APIs.
@@ -5,8 +5,20 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
6
6
  import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
7
7
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
8
+ import type { CreateEventDestinationCommandInput, CreateEventDestinationCommandOutput } from "./commands/CreateEventDestinationCommand";
8
9
  import type { CreateProfessionalClaimSubmissionCommandInput, CreateProfessionalClaimSubmissionCommandOutput } from "./commands/CreateProfessionalClaimSubmissionCommand";
10
+ import type { DeleteEventDestinationCommandInput, DeleteEventDestinationCommandOutput } from "./commands/DeleteEventDestinationCommand";
11
+ import type { GetClaimCommandInput, GetClaimCommandOutput } from "./commands/GetClaimCommand";
12
+ import type { GetClaimTimelineCommandInput, GetClaimTimelineCommandOutput } from "./commands/GetClaimTimelineCommand";
13
+ import type { GetEventDestinationCommandInput, GetEventDestinationCommandOutput } from "./commands/GetEventDestinationCommand";
14
+ import type { GetEventDestinationEventCommandInput, GetEventDestinationEventCommandOutput } from "./commands/GetEventDestinationEventCommand";
15
+ import type { GetEventDestinationSecretCommandInput, GetEventDestinationSecretCommandOutput } from "./commands/GetEventDestinationSecretCommand";
9
16
  import type { GetProfessionalClaimSubmissionCommandInput, GetProfessionalClaimSubmissionCommandOutput } from "./commands/GetProfessionalClaimSubmissionCommand";
17
+ import type { ListClaimsCommandInput, ListClaimsCommandOutput } from "./commands/ListClaimsCommand";
18
+ import type { ListEventDestinationEventsCommandInput, ListEventDestinationEventsCommandOutput } from "./commands/ListEventDestinationEventsCommand";
19
+ import type { ListEventDestinationsCommandInput, ListEventDestinationsCommandOutput } from "./commands/ListEventDestinationsCommand";
20
+ import type { RotateEventDestinationSecretCommandInput, RotateEventDestinationSecretCommandOutput } from "./commands/RotateEventDestinationSecretCommand";
21
+ import type { UpdateEventDestinationCommandInput, UpdateEventDestinationCommandOutput } from "./commands/UpdateEventDestinationCommand";
10
22
  import type { ValidateProfessionalClaimSubmissionCommandInput, ValidateProfessionalClaimSubmissionCommandOutput } from "./commands/ValidateProfessionalClaimSubmissionCommand";
11
23
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
12
24
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -14,11 +26,11 @@ export { __Client };
14
26
  /**
15
27
  * @public
16
28
  */
17
- export type ServiceInputTypes = CreateProfessionalClaimSubmissionCommandInput | GetProfessionalClaimSubmissionCommandInput | ValidateProfessionalClaimSubmissionCommandInput;
29
+ export type ServiceInputTypes = CreateEventDestinationCommandInput | CreateProfessionalClaimSubmissionCommandInput | DeleteEventDestinationCommandInput | GetClaimCommandInput | GetClaimTimelineCommandInput | GetEventDestinationCommandInput | GetEventDestinationEventCommandInput | GetEventDestinationSecretCommandInput | GetProfessionalClaimSubmissionCommandInput | ListClaimsCommandInput | ListEventDestinationEventsCommandInput | ListEventDestinationsCommandInput | RotateEventDestinationSecretCommandInput | UpdateEventDestinationCommandInput | ValidateProfessionalClaimSubmissionCommandInput;
18
30
  /**
19
31
  * @public
20
32
  */
21
- export type ServiceOutputTypes = CreateProfessionalClaimSubmissionCommandOutput | GetProfessionalClaimSubmissionCommandOutput | ValidateProfessionalClaimSubmissionCommandOutput;
33
+ export type ServiceOutputTypes = CreateEventDestinationCommandOutput | CreateProfessionalClaimSubmissionCommandOutput | DeleteEventDestinationCommandOutput | GetClaimCommandOutput | GetClaimTimelineCommandOutput | GetEventDestinationCommandOutput | GetEventDestinationEventCommandOutput | GetEventDestinationSecretCommandOutput | GetProfessionalClaimSubmissionCommandOutput | ListClaimsCommandOutput | ListEventDestinationEventsCommandOutput | ListEventDestinationsCommandOutput | RotateEventDestinationSecretCommandOutput | UpdateEventDestinationCommandOutput | ValidateProfessionalClaimSubmissionCommandOutput;
22
34
  /**
23
35
  * @public
24
36
  */
@@ -1,4 +1,4 @@
1
- import type { ApiKeyIdentity, ApiKeyIdentityProvider, HttpAuthScheme } from "@smithy/types";
1
+ import { type ApiKeyIdentity, type ApiKeyIdentityProvider, type HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
2
  import type { StediHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -10,6 +10,8 @@ export interface HttpAuthExtensionConfiguration {
10
10
  httpAuthSchemeProvider(): StediHttpAuthSchemeProvider;
11
11
  setApiKey(apiKey: ApiKeyIdentity | ApiKeyIdentityProvider): void;
12
12
  apiKey(): ApiKeyIdentity | ApiKeyIdentityProvider | undefined;
13
+ setToken(token: TokenIdentity | TokenIdentityProvider): void;
14
+ token(): TokenIdentity | TokenIdentityProvider | undefined;
13
15
  }
14
16
  /**
15
17
  * @internal
@@ -18,6 +20,7 @@ export type HttpAuthRuntimeConfig = Partial<{
18
20
  httpAuthSchemes: HttpAuthScheme[];
19
21
  httpAuthSchemeProvider: StediHttpAuthSchemeProvider;
20
22
  apiKey: ApiKeyIdentity | ApiKeyIdentityProvider;
23
+ token: TokenIdentity | TokenIdentityProvider;
21
24
  }>;
22
25
  /**
23
26
  * @internal
@@ -1,4 +1,4 @@
1
- import { type ApiKeyIdentity, type ApiKeyIdentityProvider, type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider } from "@smithy/types";
1
+ import { type ApiKeyIdentity, type ApiKeyIdentityProvider, type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
2
  import type { StediClientResolvedConfig } from "../StediClient";
3
3
  /**
4
4
  * @internal
@@ -48,6 +48,10 @@ export interface HttpAuthSchemeInputConfig {
48
48
  * The API key to use when making requests.
49
49
  */
50
50
  apiKey?: ApiKeyIdentity | ApiKeyIdentityProvider;
51
+ /**
52
+ * The token used to authenticate requests.
53
+ */
54
+ token?: TokenIdentity | TokenIdentityProvider;
51
55
  }
52
56
  /**
53
57
  * @internal
@@ -74,6 +78,10 @@ export interface HttpAuthSchemeResolvedConfig {
74
78
  * The API key to use when making requests.
75
79
  */
76
80
  readonly apiKey?: ApiKeyIdentityProvider;
81
+ /**
82
+ * The token used to authenticate requests.
83
+ */
84
+ readonly token?: TokenIdentityProvider;
77
85
  }
78
86
  /**
79
87
  * @internal
@@ -12,6 +12,10 @@ export declare const command: <I extends ServiceInputTypes, O extends ServiceOut
12
12
  * @internal
13
13
  */
14
14
  export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _ep1: EndpointParameterInstructions;
15
19
  /**
16
20
  * @internal
17
21
  */
@@ -0,0 +1,146 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateEventDestinationInput, CreateEventDestinationOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateEventDestinationCommand}.
11
+ */
12
+ export interface CreateEventDestinationCommandInput extends CreateEventDestinationInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateEventDestinationCommand}.
18
+ */
19
+ export interface CreateEventDestinationCommandOutput extends CreateEventDestinationOutput, __MetadataBearer {
20
+ }
21
+ declare const CreateEventDestinationCommand_base: {
22
+ new (input: CreateEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateEventDestinationCommandInput, CreateEventDestinationCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateEventDestinationCommandInput, CreateEventDestinationCommandOutput, import("..").StediClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Creates an event destination. Returns destination details and a signing secret for verifying event payloads.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { StediClient, CreateEventDestinationCommand } from "@stedi/sdk"; // ES Modules import
32
+ * // const { StediClient, CreateEventDestinationCommand } = 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 = { // CreateEventDestinationInput
37
+ * name: "STRING_VALUE", // required
38
+ * description: "STRING_VALUE",
39
+ * eventTypes: [ // EventDestinationsEventTypeList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * destinationUrl: "STRING_VALUE", // required
43
+ * concurrencyLimit: Number("int"),
44
+ * status: "ENABLED" || "DISABLED",
45
+ * idempotencyKey: "STRING_VALUE",
46
+ * };
47
+ * const command = new CreateEventDestinationCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateEventDestinationOutput
50
+ * // id: "STRING_VALUE", // required
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // updatedAt: new Date("TIMESTAMP"), // required
53
+ * // status: "ENABLED" || "DISABLED", // required
54
+ * // lastDeliveryTime: new Date("TIMESTAMP"),
55
+ * // name: "STRING_VALUE", // required
56
+ * // description: "STRING_VALUE", // required
57
+ * // eventTypes: [ // EventDestinationsEventTypeList // required
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // destinationUrl: "STRING_VALUE", // required
61
+ * // concurrencyLimit: Number("int"),
62
+ * // signingSecret: "STRING_VALUE", // required
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param CreateEventDestinationCommandInput - {@link CreateEventDestinationCommandInput}
68
+ * @returns {@link CreateEventDestinationCommandOutput}
69
+ * @see {@link CreateEventDestinationCommandInput} for command's `input` shape.
70
+ * @see {@link CreateEventDestinationCommandOutput} for command's `response` shape.
71
+ * @see {@link StediClientResolvedConfig | config} for StediClient's `config` shape.
72
+ *
73
+ * @throws {@link EventDestinationsLimitExceededException} (client fault)
74
+ * The account has reached its maximum number of event destinations. Delete an existing destination or request a limit increase before creating another. Not retryable — the caller must change account state before retrying.
75
+ *
76
+ * @throws {@link AuthenticationFailedException} (client fault)
77
+ * The request credentials are missing or not valid.
78
+ *
79
+ * @throws {@link ConflictException} (client fault)
80
+ * The request conflicts with the current state of the resource.
81
+ *
82
+ * @throws {@link ContentTooLargeException} (client fault)
83
+ * The request payload is larger than the service accepts. Send less in one request.
84
+ *
85
+ * @throws {@link ForbiddenException} (client fault)
86
+ * The caller is authenticated but lacks permission for this resource or action.
87
+ *
88
+ * @throws {@link InternalServerException} (server fault)
89
+ * The service failed unexpectedly. Retry with backoff.
90
+ *
91
+ * @throws {@link InvalidRequestException} (client fault)
92
+ * The request is not valid. Fix the request before retrying.
93
+ *
94
+ * @throws {@link TooManyRequestsException} (client fault)
95
+ * The caller has exceeded a rate limit. Retry with backoff.
96
+ *
97
+ * @throws {@link StediServiceException}
98
+ * <p>Base exception class for all service exceptions from Stedi service.</p>
99
+ *
100
+ *
101
+ * @example Create a destination
102
+ * ```javascript
103
+ * //
104
+ * const input = {
105
+ * destinationUrl: "https://example.com/webhooks",
106
+ * eventTypes: [
107
+ * "enrollment.activated"
108
+ * ],
109
+ * idempotencyKey: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
110
+ * name: "My Destination",
111
+ * status: "ENABLED"
112
+ * };
113
+ * const command = new CreateEventDestinationCommand(input);
114
+ * const response = await client.send(command);
115
+ * /* response is
116
+ * {
117
+ * createdAt: "2026-02-01T12:00:00Z",
118
+ * description: "Receives enrollment notifications",
119
+ * destinationUrl: "https://example.com/webhooks",
120
+ * eventTypes: [
121
+ * "enrollment.activated"
122
+ * ],
123
+ * id: "dst_550e8400-e29b-41d4-a716-446655440000",
124
+ * name: "My Destination",
125
+ * signingSecret: "whsec_YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=",
126
+ * status: "ENABLED",
127
+ * updatedAt: "2026-02-01T12:00:00Z"
128
+ * }
129
+ * *\/
130
+ * ```
131
+ *
132
+ * @public
133
+ */
134
+ export declare class CreateEventDestinationCommand extends CreateEventDestinationCommand_base {
135
+ /** @internal type navigation helper, not in runtime. */
136
+ protected static __types: {
137
+ api: {
138
+ input: CreateEventDestinationInput;
139
+ output: CreateEventDestinationOutput;
140
+ };
141
+ sdk: {
142
+ input: CreateEventDestinationCommandInput;
143
+ output: CreateEventDestinationCommandOutput;
144
+ };
145
+ };
146
+ }