@distilled.cloud/datadog 0.0.0 → 1.0.0-rc.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 (52) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +42 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +57 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +36 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +26 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +22 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +22 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/pagination.d.ts +11 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +11 -0
  17. package/lib/pagination.js.map +1 -0
  18. package/lib/protocol.d.ts +18 -0
  19. package/lib/protocol.d.ts.map +1 -0
  20. package/lib/protocol.js +87 -0
  21. package/lib/protocol.js.map +1 -0
  22. package/lib/retry.d.ts +32 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +32 -0
  25. package/lib/retry.js.map +1 -0
  26. package/lib/services/index.d.ts +3 -0
  27. package/lib/services/index.d.ts.map +1 -0
  28. package/lib/services/index.js +4 -0
  29. package/lib/services/index.js.map +1 -0
  30. package/lib/services/v1.d.ts +12737 -0
  31. package/lib/services/v1.d.ts.map +1 -0
  32. package/lib/services/v1.js +9591 -0
  33. package/lib/services/v1.js.map +1 -0
  34. package/lib/services/v2.d.ts +75164 -0
  35. package/lib/services/v2.d.ts.map +1 -0
  36. package/lib/services/v2.js +69541 -0
  37. package/lib/services/v2.js.map +1 -0
  38. package/lib/traits.d.ts +11 -0
  39. package/lib/traits.d.ts.map +1 -0
  40. package/lib/traits.js +11 -0
  41. package/lib/traits.js.map +1 -0
  42. package/package.json +77 -6
  43. package/src/credentials.ts +88 -0
  44. package/src/errors.ts +50 -0
  45. package/src/index.ts +25 -0
  46. package/src/pagination.ts +10 -0
  47. package/src/protocol.ts +116 -0
  48. package/src/retry.ts +54 -0
  49. package/src/services/index.ts +3 -0
  50. package/src/services/v1.ts +27833 -0
  51. package/src/services/v2.ts +181635 -0
  52. package/src/traits.ts +46 -0
package/src/traits.ts ADDED
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Datadog SDK trait surface — hand-written.
3
+ *
4
+ * Re-exports the generic protocol traits from core (so generated operations
5
+ * import everything from one place). Datadog has no envelope of its own; the
6
+ * REST-protocol traits (SensitiveValue / RawResponse) come from
7
+ * `core/protocol-rest`.
8
+ */
9
+ export {
10
+ Body,
11
+ Header,
12
+ Query,
13
+ Label,
14
+ Http,
15
+ ResponseCode,
16
+ HttpBody,
17
+ FormDataFile,
18
+ StringEncoded,
19
+ KeyDictionary,
20
+ UnionCases,
21
+ applyErrorMatchers,
22
+ getErrorMatchers,
23
+ type HttpTrait,
24
+ type ErrorMatcher,
25
+ bodySymbol,
26
+ headerSymbol,
27
+ querySymbol,
28
+ labelSymbol,
29
+ httpSymbol,
30
+ responseCodeSymbol,
31
+ httpBodySymbol,
32
+ formDataFileSymbol,
33
+ stringEncodedSymbol,
34
+ keyDictionarySymbol,
35
+ unionCasesSymbol,
36
+ errorMatchersSymbol,
37
+ } from "@distilled.cloud/core/trait";
38
+
39
+ export {
40
+ SensitiveValue,
41
+ RawResponse,
42
+ RawResponseRoot,
43
+ sensitiveValueSymbol,
44
+ rawResponseSymbol,
45
+ rawResponseRootSymbol,
46
+ } from "@distilled.cloud/core/protocol-rest";