@distilled.cloud/digitalocean 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 (47) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +32 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +38 -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 +25 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +33 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/pagination.d.ts +10 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +10 -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 +66 -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/digitalocean.d.ts +21516 -0
  27. package/lib/services/digitalocean.d.ts.map +1 -0
  28. package/lib/services/digitalocean.js +21134 -0
  29. package/lib/services/digitalocean.js.map +1 -0
  30. package/lib/services/index.d.ts +2 -0
  31. package/lib/services/index.d.ts.map +1 -0
  32. package/lib/services/index.js +3 -0
  33. package/lib/services/index.js.map +1 -0
  34. package/lib/traits.d.ts +11 -0
  35. package/lib/traits.d.ts.map +1 -0
  36. package/lib/traits.js +11 -0
  37. package/lib/traits.js.map +1 -0
  38. package/package.json +77 -6
  39. package/src/credentials.ts +62 -0
  40. package/src/errors.ts +50 -0
  41. package/src/index.ts +42 -0
  42. package/src/pagination.ts +12 -0
  43. package/src/protocol.ts +92 -0
  44. package/src/retry.ts +56 -0
  45. package/src/services/digitalocean.ts +54116 -0
  46. package/src/services/index.ts +2 -0
  47. package/src/traits.ts +44 -0
@@ -0,0 +1,2 @@
1
+ // AUTO-GENERATED by scripts/generate.ts. Do not edit.
2
+ export * as digitalocean from "./digitalocean.ts";
package/src/traits.ts ADDED
@@ -0,0 +1,44 @@
1
+ /**
2
+ * DigitalOcean SDK trait surface — hand-written.
3
+ *
4
+ * Re-exports the generic protocol traits from core (so generated operations
5
+ * import everything from one place). DigitalOcean has no envelope of its
6
+ * own; the 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
+ KeyDictionary,
19
+ UnionCases,
20
+ applyErrorMatchers,
21
+ getErrorMatchers,
22
+ type HttpTrait,
23
+ type ErrorMatcher,
24
+ bodySymbol,
25
+ headerSymbol,
26
+ querySymbol,
27
+ labelSymbol,
28
+ httpSymbol,
29
+ responseCodeSymbol,
30
+ httpBodySymbol,
31
+ formDataFileSymbol,
32
+ keyDictionarySymbol,
33
+ unionCasesSymbol,
34
+ errorMatchersSymbol,
35
+ } from "@distilled.cloud/core/trait";
36
+
37
+ export {
38
+ SensitiveValue,
39
+ RawResponse,
40
+ RawResponseRoot,
41
+ sensitiveValueSymbol,
42
+ rawResponseSymbol,
43
+ rawResponseRootSymbol,
44
+ } from "@distilled.cloud/core/protocol-rest";