@alanszp/eventbridge-client 12.0.1 → 12.0.3

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 (151) hide show
  1. package/package.json +4 -7
  2. package/.gitignore +0 -3
  3. package/.npmignore +0 -3
  4. package/node_modules/@cspotcode/source-map-support/LICENSE.md +0 -21
  5. package/node_modules/@cspotcode/source-map-support/README.md +0 -289
  6. package/node_modules/@cspotcode/source-map-support/browser-source-map-support.js +0 -114
  7. package/node_modules/@cspotcode/source-map-support/package.json +0 -50
  8. package/node_modules/@cspotcode/source-map-support/register-hook-require.d.ts +0 -7
  9. package/node_modules/@cspotcode/source-map-support/register-hook-require.js +0 -3
  10. package/node_modules/@cspotcode/source-map-support/register.d.ts +0 -7
  11. package/node_modules/@cspotcode/source-map-support/register.js +0 -1
  12. package/node_modules/@cspotcode/source-map-support/source-map-support.d.ts +0 -76
  13. package/node_modules/@cspotcode/source-map-support/source-map-support.js +0 -938
  14. package/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
  15. package/node_modules/@jridgewell/trace-mapping/README.md +0 -193
  16. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +0 -514
  17. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -1
  18. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +0 -528
  19. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -1
  20. package/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +0 -8
  21. package/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +0 -32
  22. package/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +0 -7
  23. package/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +0 -1
  24. package/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +0 -2
  25. package/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +0 -16
  26. package/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +0 -4
  27. package/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +0 -70
  28. package/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +0 -85
  29. package/node_modules/@jridgewell/trace-mapping/package.json +0 -70
  30. package/node_modules/@types/node/LICENSE +0 -21
  31. package/node_modules/@types/node/README.md +0 -15
  32. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  33. package/node_modules/@types/node/assert.d.ts +0 -996
  34. package/node_modules/@types/node/async_hooks.d.ts +0 -539
  35. package/node_modules/@types/node/buffer.d.ts +0 -2362
  36. package/node_modules/@types/node/child_process.d.ts +0 -1540
  37. package/node_modules/@types/node/cluster.d.ts +0 -432
  38. package/node_modules/@types/node/console.d.ts +0 -415
  39. package/node_modules/@types/node/constants.d.ts +0 -19
  40. package/node_modules/@types/node/crypto.d.ts +0 -4487
  41. package/node_modules/@types/node/dgram.d.ts +0 -596
  42. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  43. package/node_modules/@types/node/dns/promises.d.ts +0 -425
  44. package/node_modules/@types/node/dns.d.ts +0 -809
  45. package/node_modules/@types/node/dom-events.d.ts +0 -122
  46. package/node_modules/@types/node/domain.d.ts +0 -170
  47. package/node_modules/@types/node/events.d.ts +0 -879
  48. package/node_modules/@types/node/fs/promises.d.ts +0 -1239
  49. package/node_modules/@types/node/fs.d.ts +0 -4311
  50. package/node_modules/@types/node/globals.d.ts +0 -411
  51. package/node_modules/@types/node/globals.global.d.ts +0 -1
  52. package/node_modules/@types/node/http.d.ts +0 -1887
  53. package/node_modules/@types/node/http2.d.ts +0 -2382
  54. package/node_modules/@types/node/https.d.ts +0 -550
  55. package/node_modules/@types/node/index.d.ts +0 -88
  56. package/node_modules/@types/node/inspector.d.ts +0 -2747
  57. package/node_modules/@types/node/module.d.ts +0 -315
  58. package/node_modules/@types/node/net.d.ts +0 -949
  59. package/node_modules/@types/node/os.d.ts +0 -478
  60. package/node_modules/@types/node/package.json +0 -229
  61. package/node_modules/@types/node/path.d.ts +0 -191
  62. package/node_modules/@types/node/perf_hooks.d.ts +0 -645
  63. package/node_modules/@types/node/process.d.ts +0 -1561
  64. package/node_modules/@types/node/punycode.d.ts +0 -117
  65. package/node_modules/@types/node/querystring.d.ts +0 -141
  66. package/node_modules/@types/node/readline/promises.d.ts +0 -150
  67. package/node_modules/@types/node/readline.d.ts +0 -539
  68. package/node_modules/@types/node/repl.d.ts +0 -430
  69. package/node_modules/@types/node/stream/consumers.d.ts +0 -12
  70. package/node_modules/@types/node/stream/promises.d.ts +0 -83
  71. package/node_modules/@types/node/stream/web.d.ts +0 -366
  72. package/node_modules/@types/node/stream.d.ts +0 -1701
  73. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  74. package/node_modules/@types/node/test.d.ts +0 -1465
  75. package/node_modules/@types/node/timers/promises.d.ts +0 -93
  76. package/node_modules/@types/node/timers.d.ts +0 -240
  77. package/node_modules/@types/node/tls.d.ts +0 -1210
  78. package/node_modules/@types/node/trace_events.d.ts +0 -182
  79. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  80. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  81. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  82. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  83. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  84. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  85. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  86. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  87. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  88. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  89. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  90. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  91. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  92. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  93. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  94. package/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  95. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  96. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  97. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  98. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  99. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  100. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  101. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  102. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  103. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  104. package/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  105. package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  106. package/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  107. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  108. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  109. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  110. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  111. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  112. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  113. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  114. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  115. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  116. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  117. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  118. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  119. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  120. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  121. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  122. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  123. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  124. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  125. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  126. package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  127. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  128. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  129. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  130. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  131. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  132. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  133. package/node_modules/@types/node/tty.d.ts +0 -208
  134. package/node_modules/@types/node/url.d.ts +0 -927
  135. package/node_modules/@types/node/util.d.ts +0 -2183
  136. package/node_modules/@types/node/v8.d.ts +0 -764
  137. package/node_modules/@types/node/vm.d.ts +0 -903
  138. package/node_modules/@types/node/wasi.d.ts +0 -179
  139. package/node_modules/@types/node/worker_threads.d.ts +0 -691
  140. package/node_modules/@types/node/zlib.d.ts +0 -517
  141. package/src/aws/awsEventbridgeClient.ts +0 -4
  142. package/src/aws/awsTypes.ts +0 -10
  143. package/src/aws/index.ts +0 -2
  144. package/src/basicEventbridgeClient.test.ts +0 -149
  145. package/src/basicEventbridgeClient.ts +0 -160
  146. package/src/helpers/mapLaraEventToAWSEvent.ts +0 -37
  147. package/src/index.ts +0 -3
  148. package/src/mockEventbridgeClient.ts +0 -11
  149. package/src/mocks/fixtures/eventbridgeFixture.ts +0 -41
  150. package/src/types/UpdatedEvent.ts +0 -39
  151. package/src/types/index.ts +0 -1
@@ -1,315 +0,0 @@
1
- /**
2
- * @since v0.3.7
3
- * @experimental
4
- */
5
- declare module "module" {
6
- import { URL } from "node:url";
7
- import { MessagePort } from "node:worker_threads";
8
- namespace Module {
9
- /**
10
- * The `module.syncBuiltinESMExports()` method updates all the live bindings for
11
- * builtin `ES Modules` to match the properties of the `CommonJS` exports. It
12
- * does not add or remove exported names from the `ES Modules`.
13
- *
14
- * ```js
15
- * const fs = require('node:fs');
16
- * const assert = require('node:assert');
17
- * const { syncBuiltinESMExports } = require('node:module');
18
- *
19
- * fs.readFile = newAPI;
20
- *
21
- * delete fs.readFileSync;
22
- *
23
- * function newAPI() {
24
- * // ...
25
- * }
26
- *
27
- * fs.newAPI = newAPI;
28
- *
29
- * syncBuiltinESMExports();
30
- *
31
- * import('node:fs').then((esmFS) => {
32
- * // It syncs the existing readFile property with the new value
33
- * assert.strictEqual(esmFS.readFile, newAPI);
34
- * // readFileSync has been deleted from the required fs
35
- * assert.strictEqual('readFileSync' in fs, false);
36
- * // syncBuiltinESMExports() does not remove readFileSync from esmFS
37
- * assert.strictEqual('readFileSync' in esmFS, true);
38
- * // syncBuiltinESMExports() does not add names
39
- * assert.strictEqual(esmFS.newAPI, undefined);
40
- * });
41
- * ```
42
- * @since v12.12.0
43
- */
44
- function syncBuiltinESMExports(): void;
45
- /**
46
- * `path` is the resolved path for the file for which a corresponding source map
47
- * should be fetched.
48
- * @since v13.7.0, v12.17.0
49
- * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise.
50
- */
51
- function findSourceMap(path: string, error?: Error): SourceMap;
52
- interface SourceMapPayload {
53
- file: string;
54
- version: number;
55
- sources: string[];
56
- sourcesContent: string[];
57
- names: string[];
58
- mappings: string;
59
- sourceRoot: string;
60
- }
61
- interface SourceMapping {
62
- generatedLine: number;
63
- generatedColumn: number;
64
- originalSource: string;
65
- originalLine: number;
66
- originalColumn: number;
67
- }
68
- interface SourceOrigin {
69
- /**
70
- * The name of the range in the source map, if one was provided
71
- */
72
- name?: string;
73
- /**
74
- * The file name of the original source, as reported in the SourceMap
75
- */
76
- fileName: string;
77
- /**
78
- * The 1-indexed lineNumber of the corresponding call site in the original source
79
- */
80
- lineNumber: number;
81
- /**
82
- * The 1-indexed columnNumber of the corresponding call site in the original source
83
- */
84
- columnNumber: number;
85
- }
86
- /**
87
- * @since v13.7.0, v12.17.0
88
- */
89
- class SourceMap {
90
- /**
91
- * Getter for the payload used to construct the `SourceMap` instance.
92
- */
93
- readonly payload: SourceMapPayload;
94
- constructor(payload: SourceMapPayload);
95
- /**
96
- * Given a line offset and column offset in the generated source
97
- * file, returns an object representing the SourceMap range in the
98
- * original file if found, or an empty object if not.
99
- *
100
- * The object returned contains the following keys:
101
- *
102
- * The returned value represents the raw range as it appears in the
103
- * SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and
104
- * column numbers as they appear in Error messages and CallSite
105
- * objects.
106
- *
107
- * To get the corresponding 1-indexed line and column numbers from a
108
- * lineNumber and columnNumber as they are reported by Error stacks
109
- * and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)`
110
- * @param lineOffset The zero-indexed line number offset in the generated source
111
- * @param columnOffset The zero-indexed column number offset in the generated source
112
- */
113
- findEntry(lineOffset: number, columnOffset: number): SourceMapping;
114
- /**
115
- * Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source,
116
- * find the corresponding call site location in the original source.
117
- *
118
- * If the `lineNumber` and `columnNumber` provided are not found in any source map,
119
- * then an empty object is returned.
120
- * @param lineNumber The 1-indexed line number of the call site in the generated source
121
- * @param columnNumber The 1-indexed column number of the call site in the generated source
122
- */
123
- findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {};
124
- }
125
- /** @deprecated Use `ImportAttributes` instead */
126
- interface ImportAssertions extends ImportAttributes {}
127
- interface ImportAttributes extends NodeJS.Dict<string> {
128
- type?: string | undefined;
129
- }
130
- type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm";
131
- type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray;
132
- interface GlobalPreloadContext {
133
- port: MessagePort;
134
- }
135
- /**
136
- * @deprecated This hook will be removed in a future version.
137
- * Use `initialize` instead. When a loader has an `initialize` export, `globalPreload` will be ignored.
138
- *
139
- * Sometimes it might be necessary to run some code inside of the same global scope that the application runs in.
140
- * This hook allows the return of a string that is run as a sloppy-mode script on startup.
141
- *
142
- * @param context Information to assist the preload code
143
- * @return Code to run before application startup
144
- */
145
- type GlobalPreloadHook = (context: GlobalPreloadContext) => string;
146
- /**
147
- * The `initialize` hook provides a way to define a custom function that runs in the hooks thread
148
- * when the hooks module is initialized. Initialization happens when the hooks module is registered via `register`.
149
- *
150
- * This hook can receive data from a `register` invocation, including ports and other transferrable objects.
151
- * The return value of `initialize` can be a `Promise`, in which case it will be awaited before the main application thread execution resumes.
152
- */
153
- type InitializeHook<Data = any> = (data: Data) => void | Promise<void>;
154
- interface ResolveHookContext {
155
- /**
156
- * Export conditions of the relevant `package.json`
157
- */
158
- conditions: string[];
159
- /**
160
- * @deprecated Use `importAttributes` instead
161
- */
162
- importAssertions: ImportAttributes;
163
- /**
164
- * An object whose key-value pairs represent the assertions for the module to import
165
- */
166
- importAttributes: ImportAttributes;
167
- /**
168
- * The module importing this one, or undefined if this is the Node.js entry point
169
- */
170
- parentURL: string | undefined;
171
- }
172
- interface ResolveFnOutput {
173
- /**
174
- * A hint to the load hook (it might be ignored)
175
- */
176
- format?: ModuleFormat | null | undefined;
177
- /**
178
- * @deprecated Use `importAttributes` instead
179
- */
180
- importAssertions?: ImportAttributes | undefined;
181
- /**
182
- * The import attributes to use when caching the module (optional; if excluded the input will be used)
183
- */
184
- importAttributes?: ImportAttributes | undefined;
185
- /**
186
- * A signal that this hook intends to terminate the chain of `resolve` hooks.
187
- * @default false
188
- */
189
- shortCircuit?: boolean | undefined;
190
- /**
191
- * The absolute URL to which this input resolves
192
- */
193
- url: string;
194
- }
195
- /**
196
- * The `resolve` hook chain is responsible for resolving file URL for a given module specifier and parent URL, and optionally its format (such as `'module'`) as a hint to the `load` hook.
197
- * If a format is specified, the load hook is ultimately responsible for providing the final `format` value (and it is free to ignore the hint provided by `resolve`);
198
- * if `resolve` provides a format, a custom `load` hook is required even if only to pass the value to the Node.js default `load` hook.
199
- *
200
- * @param specifier The specified URL path of the module to be resolved
201
- * @param context
202
- * @param nextResolve The subsequent `resolve` hook in the chain, or the Node.js default `resolve` hook after the last user-supplied resolve hook
203
- */
204
- type ResolveHook = (
205
- specifier: string,
206
- context: ResolveHookContext,
207
- nextResolve: (
208
- specifier: string,
209
- context?: ResolveHookContext,
210
- ) => ResolveFnOutput | Promise<ResolveFnOutput>,
211
- ) => ResolveFnOutput | Promise<ResolveFnOutput>;
212
- interface LoadHookContext {
213
- /**
214
- * Export conditions of the relevant `package.json`
215
- */
216
- conditions: string[];
217
- /**
218
- * The format optionally supplied by the `resolve` hook chain
219
- */
220
- format: ModuleFormat;
221
- /**
222
- * @deprecated Use `importAttributes` instead
223
- */
224
- importAssertions: ImportAttributes;
225
- /**
226
- * An object whose key-value pairs represent the assertions for the module to import
227
- */
228
- importAttributes: ImportAttributes;
229
- }
230
- interface LoadFnOutput {
231
- format: ModuleFormat;
232
- /**
233
- * A signal that this hook intends to terminate the chain of `resolve` hooks.
234
- * @default false
235
- */
236
- shortCircuit?: boolean | undefined;
237
- /**
238
- * The source for Node.js to evaluate
239
- */
240
- source?: ModuleSource;
241
- }
242
- /**
243
- * The `load` hook provides a way to define a custom method of determining how a URL should be interpreted, retrieved, and parsed.
244
- * It is also in charge of validating the import assertion.
245
- *
246
- * @param url The URL/path of the module to be loaded
247
- * @param context Metadata about the module
248
- * @param nextLoad The subsequent `load` hook in the chain, or the Node.js default `load` hook after the last user-supplied `load` hook
249
- */
250
- type LoadHook = (
251
- url: string,
252
- context: LoadHookContext,
253
- nextLoad: (url: string, context?: LoadHookContext) => LoadFnOutput | Promise<LoadFnOutput>,
254
- ) => LoadFnOutput | Promise<LoadFnOutput>;
255
- }
256
- interface RegisterOptions<Data> {
257
- parentURL: string | URL;
258
- data?: Data | undefined;
259
- transferList?: any[] | undefined;
260
- }
261
- interface Module extends NodeModule {}
262
- class Module {
263
- static runMain(): void;
264
- static wrap(code: string): string;
265
- static createRequire(path: string | URL): NodeRequire;
266
- static builtinModules: string[];
267
- static isBuiltin(moduleName: string): boolean;
268
- static Module: typeof Module;
269
- static register<Data = any>(
270
- specifier: string | URL,
271
- parentURL?: string | URL,
272
- options?: RegisterOptions<Data>,
273
- ): void;
274
- static register<Data = any>(specifier: string | URL, options?: RegisterOptions<Data>): void;
275
- constructor(id: string, parent?: Module);
276
- }
277
- global {
278
- interface ImportMeta {
279
- /**
280
- * The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`.
281
- * **Caveat:** only present on `file:` modules.
282
- */
283
- dirname: string;
284
- /**
285
- * The full absolute path and filename of the current module, with symlinks resolved.
286
- * This is the same as the `url.fileURLToPath()` of the `import.meta.url`.
287
- * **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it.
288
- */
289
- filename: string;
290
- /**
291
- * The absolute `file:` URL of the module.
292
- */
293
- url: string;
294
- /**
295
- * Provides a module-relative resolution function scoped to each module, returning
296
- * the URL string.
297
- *
298
- * Second `parent` parameter is only used when the `--experimental-import-meta-resolve`
299
- * command flag enabled.
300
- *
301
- * @since v20.6.0
302
- *
303
- * @param specifier The module specifier to resolve relative to `parent`.
304
- * @param parent The absolute parent module URL to resolve from.
305
- * @returns The absolute (`file:`) URL string for the resolved module.
306
- */
307
- resolve(specifier: string, parent?: string | URL | undefined): string;
308
- }
309
- }
310
- export = Module;
311
- }
312
- declare module "node:module" {
313
- import module = require("module");
314
- export = module;
315
- }