@distilled.cloud/boxd 0.0.0 → 1.0.0-rc.21
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.
- package/LICENSE +201 -0
- package/README.md +68 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +30 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/descriptors.d.ts +4 -0
- package/lib/descriptors.d.ts.map +1 -0
- package/lib/errors.d.ts +52 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +36 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/index.lazy.js +6 -0
- package/lib/index.lazy.js.map +1 -0
- package/lib/protocol.d.ts +16 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +50 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/boxd.d.ts +3088 -0
- package/lib/services/boxd.d.ts.map +1 -0
- package/lib/services/boxd.js +189 -0
- package/lib/services/boxd.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +1 -0
- package/lib/services.lazy/boxd.js +3 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/package.json +77 -2
- package/src/credentials.ts +76 -0
- package/src/descriptors.ts +7 -0
- package/src/errors.ts +67 -0
- package/src/index.ts +35 -0
- package/src/protocol.ts +56 -0
- package/src/retry.ts +69 -0
- package/src/services/boxd.ts +9030 -0
- package/src/services/index.ts +2 -0
- package/src/traits.ts +44 -0
package/src/traits.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* boxd SDK trait surface -- hand-written.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports the generic protocol traits from core so generated operations
|
|
5
|
+
* import everything from one place. boxd operations are proto3 JSON POSTs
|
|
6
|
+
* at gRPC method paths, so there are no provider-specific traits beyond
|
|
7
|
+
* the bearer-REST sensitive-value helper.
|
|
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";
|