@larc-iu/plaid-client 0.2.0-alpha.23 → 0.2.0-alpha.29
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/README.md +4 -0
- package/package.json +11 -5
- package/src/batchRef.d.ts +30 -0
- package/src/codepoint.d.ts +94 -0
- package/src/codepoint.js +131 -1
- package/src/constraints.d.ts +77 -0
- package/src/constraints.js +26 -1
- package/src/created.d.ts +2 -0
- package/src/documentLock.d.ts +158 -0
- package/src/documentLock.js +27 -3
- package/src/events.d.ts +60 -0
- package/src/events.js +7 -3
- package/src/http.d.ts +212 -0
- package/src/http.js +7 -0
- package/src/ids.d.ts +26 -0
- package/src/ids.js +22 -0
- package/src/index.d.ts +4568 -0
- package/src/index.js +1597 -758
- package/src/metadataOps.d.ts +15 -0
- package/src/metadataOps.js +13 -8
- package/src/pagination.d.ts +49 -0
- package/src/pagination.js +2 -19
- package/src/provenance.d.ts +200 -0
- package/src/provenance.js +34 -6
- package/src/replayed.d.ts +3 -0
- package/src/replayed.js +5 -1
- package/src/requester.d.ts +60 -0
- package/src/requester.js +21 -3
- package/src/roles.d.ts +65 -0
- package/src/roles.js +3 -2
- package/src/serviceSchema.d.ts +331 -0
- package/src/serviceSchema.js +75 -9
- package/src/services.d.ts +302 -0
- package/src/services.js +82 -11
- package/src/sse.d.ts +30 -0
- package/src/sse.js +11 -0
- package/src/textEdits.d.ts +59 -0
- package/src/textEdits.js +33 -6
- package/src/transforms.d.ts +25 -0
- package/index.d.ts +0 -2026
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert kebab-case/namespaced key to camelCase.
|
|
3
|
+
* 'layer-id' -> 'layerId'
|
|
4
|
+
* 'relation/layer' -> 'layer' (namespace stripped)
|
|
5
|
+
* Hyphens before a digit are also consumed ('layer-2' -> 'layer2') so no stray
|
|
6
|
+
* hyphen is ever left in the key. (The Python client uses snake_case, where the
|
|
7
|
+
* analogous key is 'layer_2' — the local spelling differs by convention, but
|
|
8
|
+
* neither leaves a separator that doesn't belong to the convention.)
|
|
9
|
+
*/
|
|
10
|
+
export function transformKeyToCamel(key: any): any;
|
|
11
|
+
/**
|
|
12
|
+
* Convert camelCase key to kebab-case.
|
|
13
|
+
* 'layerId' -> 'layer-id'
|
|
14
|
+
*/
|
|
15
|
+
export function transformKeyFromCamel(key: any): any;
|
|
16
|
+
/**
|
|
17
|
+
* Recursively transform request object keys from camelCase to kebab-case.
|
|
18
|
+
* Preserves `metadata` and `config` contents without transformation.
|
|
19
|
+
*/
|
|
20
|
+
export function transformRequest(obj: any): any;
|
|
21
|
+
/**
|
|
22
|
+
* Recursively transform response object keys from kebab-case/namespaced to camelCase.
|
|
23
|
+
* Preserves `metadata` and `config` contents without transformation.
|
|
24
|
+
*/
|
|
25
|
+
export function transformResponse(obj: any): any;
|