@distilled.cloud/mux 0.0.0 → 1.0.0-rc.22

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 (64) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +122 -4
  3. package/lib/.lazy.json +1 -0
  4. package/lib/_bundle/lazy.js +4 -0
  5. package/lib/_bundle/sdk.js +2 -0
  6. package/lib/_bundle/sdk.js.map +1 -0
  7. package/lib/credentials.d.ts +66 -0
  8. package/lib/credentials.d.ts.map +1 -0
  9. package/lib/credentials.js +1 -0
  10. package/lib/errors.d.ts +45 -0
  11. package/lib/errors.d.ts.map +1 -0
  12. package/lib/errors.js +1 -0
  13. package/lib/index.d.ts +44 -0
  14. package/lib/index.d.ts.map +1 -0
  15. package/lib/index.js +6 -0
  16. package/lib/pagination.d.ts +11 -0
  17. package/lib/pagination.d.ts.map +1 -0
  18. package/lib/pagination.js +1 -0
  19. package/lib/protocol.d.ts +19 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +1 -0
  22. package/lib/retry.d.ts +54 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +1 -0
  25. package/lib/services/data.d.ts +1347 -0
  26. package/lib/services/data.d.ts.map +1 -0
  27. package/lib/services/data.js +58 -0
  28. package/lib/services/data.js.map +1 -0
  29. package/lib/services/index.d.ts +5 -0
  30. package/lib/services/index.d.ts.map +1 -0
  31. package/lib/services/index.js +4 -0
  32. package/lib/services/robots.d.ts +2206 -0
  33. package/lib/services/robots.d.ts.map +1 -0
  34. package/lib/services/robots.js +75 -0
  35. package/lib/services/robots.js.map +1 -0
  36. package/lib/services/system.d.ts +263 -0
  37. package/lib/services/system.d.ts.map +1 -0
  38. package/lib/services/system.js +2 -0
  39. package/lib/services/system.js.map +1 -0
  40. package/lib/services/video.d.ts +1564 -0
  41. package/lib/services/video.d.ts.map +1 -0
  42. package/lib/services/video.js +100 -0
  43. package/lib/services/video.js.map +1 -0
  44. package/lib/services.lazy/data.js +3 -0
  45. package/lib/services.lazy/index.js +3 -0
  46. package/lib/services.lazy/robots.js +4 -0
  47. package/lib/services.lazy/system.js +1 -0
  48. package/lib/services.lazy/video.js +4 -0
  49. package/lib/traits.d.ts +7 -0
  50. package/lib/traits.d.ts.map +1 -0
  51. package/lib/traits.js +1 -0
  52. package/package.json +82 -2
  53. package/src/credentials.ts +142 -0
  54. package/src/errors.ts +59 -0
  55. package/src/index.ts +43 -0
  56. package/src/pagination.ts +63 -0
  57. package/src/protocol.ts +62 -0
  58. package/src/retry.ts +73 -0
  59. package/src/services/data.ts +3993 -0
  60. package/src/services/index.ts +5 -0
  61. package/src/services/robots.ts +4712 -0
  62. package/src/services/system.ts +752 -0
  63. package/src/services/video.ts +4291 -0
  64. package/src/traits.ts +40 -0
package/src/traits.ts ADDED
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Mux SDK trait surface: core's protocol traits re-exported so the
3
+ * generated operations import from one place.
4
+ */
5
+ export {
6
+ Body,
7
+ Header,
8
+ Query,
9
+ Label,
10
+ Http,
11
+ ResponseCode,
12
+ HttpBody,
13
+ FormDataFile,
14
+ KeyDictionary,
15
+ UnionCases,
16
+ applyErrorMatchers,
17
+ getErrorMatchers,
18
+ type HttpTrait,
19
+ type ErrorMatcher,
20
+ bodySymbol,
21
+ headerSymbol,
22
+ querySymbol,
23
+ labelSymbol,
24
+ httpSymbol,
25
+ responseCodeSymbol,
26
+ httpBodySymbol,
27
+ formDataFileSymbol,
28
+ keyDictionarySymbol,
29
+ unionCasesSymbol,
30
+ errorMatchersSymbol,
31
+ } from "@distilled.cloud/core/trait";
32
+
33
+ export {
34
+ SensitiveValue,
35
+ RawResponse,
36
+ RawResponseRoot,
37
+ sensitiveValueSymbol,
38
+ rawResponseSymbol,
39
+ rawResponseRootSymbol,
40
+ } from "@distilled.cloud/core/protocol-rest";