@distilled.cloud/pinterest 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.
- package/LICENSE +201 -0
- package/README.md +102 -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 +31 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +49 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +27 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +8 -0
- package/lib/index.lazy.js +8 -0
- package/lib/index.lazy.js.map +1 -0
- package/lib/pagination.d.ts +11 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +20 -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/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +1 -0
- package/lib/services/pinterest.d.ts +17070 -0
- package/lib/services/pinterest.d.ts.map +1 -0
- package/lib/services/pinterest.js +451 -0
- package/lib/services/pinterest.js.map +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/pinterest.js +4 -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 +83 -2
- package/src/credentials.ts +79 -0
- package/src/errors.ts +62 -0
- package/src/index.ts +34 -0
- package/src/pagination.ts +10 -0
- package/src/protocol.ts +52 -0
- package/src/retry.ts +69 -0
- package/src/services/index.ts +2 -0
- package/src/services/pinterest.ts +43548 -0
- package/src/traits.ts +47 -0
package/src/traits.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pinterest SDK trait surface -- hand-written.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports the generic protocol traits from core so generated operations
|
|
5
|
+
* import everything from one place. Pinterest is bearer-token REST JSON with no
|
|
6
|
+
* success envelope; the REST-protocol traits (SensitiveValue / RawResponse)
|
|
7
|
+
* come from `core/protocol-rest`.
|
|
8
|
+
*/
|
|
9
|
+
export {
|
|
10
|
+
Body,
|
|
11
|
+
Header,
|
|
12
|
+
IdempotencyToken,
|
|
13
|
+
Query,
|
|
14
|
+
Label,
|
|
15
|
+
Http,
|
|
16
|
+
ResponseCode,
|
|
17
|
+
HttpBody,
|
|
18
|
+
FormDataFile,
|
|
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
|
+
keyDictionarySymbol,
|
|
34
|
+
unionCasesSymbol,
|
|
35
|
+
errorMatchersSymbol,
|
|
36
|
+
} from "@distilled.cloud/core/trait";
|
|
37
|
+
|
|
38
|
+
// REST protocol traits (sensitive strings, bare-payload and binary responses).
|
|
39
|
+
export {
|
|
40
|
+
SensitiveValue,
|
|
41
|
+
BinaryResponse,
|
|
42
|
+
RawResponse,
|
|
43
|
+
RawResponseRoot,
|
|
44
|
+
sensitiveValueSymbol,
|
|
45
|
+
rawResponseSymbol,
|
|
46
|
+
rawResponseRootSymbol,
|
|
47
|
+
} from "@distilled.cloud/core/protocol-rest";
|