@compass-labs/api-sdk 2.2.97-rc.3 → 2.2.97-rc.4
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/dist/commonjs/models/components/wisdomtreecredentials.d.ts +10 -0
- package/dist/commonjs/models/components/wisdomtreecredentials.d.ts.map +1 -1
- package/dist/commonjs/models/components/wisdomtreecredentials.js +2 -0
- package/dist/commonjs/models/components/wisdomtreecredentials.js.map +1 -1
- package/dist/esm/models/components/wisdomtreecredentials.d.ts +10 -0
- package/dist/esm/models/components/wisdomtreecredentials.d.ts.map +1 -1
- package/dist/esm/models/components/wisdomtreecredentials.js +2 -0
- package/dist/esm/models/components/wisdomtreecredentials.js.map +1 -1
- package/docs/models/components/wisdomtreecredentials.md +8 -4
- package/openapi_prepped_for_speakeasy.json +15 -1
- package/package.json +1 -1
- package/src/models/components/wisdomtreecredentials.ts +12 -0
|
@@ -19,11 +19,21 @@ export type WisdomTreeCredentials = {
|
|
|
19
19
|
* WisdomTree Connect client secret for your organization.
|
|
20
20
|
*/
|
|
21
21
|
clientSecret: string;
|
|
22
|
+
/**
|
|
23
|
+
* WisdomTree Connect username for your organization's account.
|
|
24
|
+
*/
|
|
25
|
+
username: string;
|
|
26
|
+
/**
|
|
27
|
+
* WisdomTree Connect password for your organization's account.
|
|
28
|
+
*/
|
|
29
|
+
password: string;
|
|
22
30
|
};
|
|
23
31
|
/** @internal */
|
|
24
32
|
export type WisdomTreeCredentials$Outbound = {
|
|
25
33
|
client_id: string;
|
|
26
34
|
client_secret: string;
|
|
35
|
+
username: string;
|
|
36
|
+
password: string;
|
|
27
37
|
};
|
|
28
38
|
/** @internal */
|
|
29
39
|
export declare const WisdomTreeCredentials$outboundSchema: z.ZodType<WisdomTreeCredentials$Outbound, z.ZodTypeDef, WisdomTreeCredentials>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wisdomtreecredentials.d.ts","sourceRoot":"","sources":["../../../../src/models/components/wisdomtreecredentials.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"wisdomtreecredentials.d.ts","sourceRoot":"","sources":["../../../../src/models/components/wisdomtreecredentials.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAWrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -44,6 +44,8 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
44
44
|
exports.WisdomTreeCredentials$outboundSchema = z.object({
|
|
45
45
|
clientId: z.string(),
|
|
46
46
|
clientSecret: z.string(),
|
|
47
|
+
username: z.string(),
|
|
48
|
+
password: z.string(),
|
|
47
49
|
}).transform((v) => {
|
|
48
50
|
return (0, primitives_js_1.remap)(v, {
|
|
49
51
|
clientId: "client_id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wisdomtreecredentials.js","sourceRoot":"","sources":["../../../../src/models/components/wisdomtreecredentials.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"wisdomtreecredentials.js","sourceRoot":"","sources":["../../../../src/models/components/wisdomtreecredentials.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DH,kEAMC;AAhED,0CAA4B;AAC5B,2DAA0D;AAwC1D,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -19,11 +19,21 @@ export type WisdomTreeCredentials = {
|
|
|
19
19
|
* WisdomTree Connect client secret for your organization.
|
|
20
20
|
*/
|
|
21
21
|
clientSecret: string;
|
|
22
|
+
/**
|
|
23
|
+
* WisdomTree Connect username for your organization's account.
|
|
24
|
+
*/
|
|
25
|
+
username: string;
|
|
26
|
+
/**
|
|
27
|
+
* WisdomTree Connect password for your organization's account.
|
|
28
|
+
*/
|
|
29
|
+
password: string;
|
|
22
30
|
};
|
|
23
31
|
/** @internal */
|
|
24
32
|
export type WisdomTreeCredentials$Outbound = {
|
|
25
33
|
client_id: string;
|
|
26
34
|
client_secret: string;
|
|
35
|
+
username: string;
|
|
36
|
+
password: string;
|
|
27
37
|
};
|
|
28
38
|
/** @internal */
|
|
29
39
|
export declare const WisdomTreeCredentials$outboundSchema: z.ZodType<WisdomTreeCredentials$Outbound, z.ZodTypeDef, WisdomTreeCredentials>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wisdomtreecredentials.d.ts","sourceRoot":"","sources":["../../../../src/models/components/wisdomtreecredentials.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"wisdomtreecredentials.d.ts","sourceRoot":"","sources":["../../../../src/models/components/wisdomtreecredentials.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAWrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -7,6 +7,8 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
export const WisdomTreeCredentials$outboundSchema = z.object({
|
|
8
8
|
clientId: z.string(),
|
|
9
9
|
clientSecret: z.string(),
|
|
10
|
+
username: z.string(),
|
|
11
|
+
password: z.string(),
|
|
10
12
|
}).transform((v) => {
|
|
11
13
|
return remap$(v, {
|
|
12
14
|
clientId: "client_id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wisdomtreecredentials.js","sourceRoot":"","sources":["../../../../src/models/components/wisdomtreecredentials.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"wisdomtreecredentials.js","sourceRoot":"","sources":["../../../../src/models/components/wisdomtreecredentials.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAwC1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -16,12 +16,16 @@ import { WisdomTreeCredentials } from "@compass-labs/api-sdk/models/components";
|
|
|
16
16
|
let value: WisdomTreeCredentials = {
|
|
17
17
|
clientId: "<id>",
|
|
18
18
|
clientSecret: "MHxbGtE8LWfkq3Z",
|
|
19
|
+
username: "Wilbert.Kuhic37",
|
|
20
|
+
password: "bY18a8noS8Agg1J",
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
|
22
24
|
## Fields
|
|
23
25
|
|
|
24
|
-
| Field
|
|
25
|
-
|
|
|
26
|
-
| `clientId`
|
|
27
|
-
| `clientSecret`
|
|
26
|
+
| Field | Type | Required | Description |
|
|
27
|
+
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
|
|
28
|
+
| `clientId` | *string* | :heavy_check_mark: | WisdomTree Connect client id for your organization. |
|
|
29
|
+
| `clientSecret` | *string* | :heavy_check_mark: | WisdomTree Connect client secret for your organization. |
|
|
30
|
+
| `username` | *string* | :heavy_check_mark: | WisdomTree Connect username for your organization's account. |
|
|
31
|
+
| `password` | *string* | :heavy_check_mark: | WisdomTree Connect password for your organization's account. |
|
|
@@ -29381,12 +29381,26 @@
|
|
|
29381
29381
|
"title": "Client Secret",
|
|
29382
29382
|
"description": "WisdomTree Connect client secret for your organization.",
|
|
29383
29383
|
"writeOnly": true
|
|
29384
|
+
},
|
|
29385
|
+
"username": {
|
|
29386
|
+
"type": "string",
|
|
29387
|
+
"title": "Username",
|
|
29388
|
+
"description": "WisdomTree Connect username for your organization's account."
|
|
29389
|
+
},
|
|
29390
|
+
"password": {
|
|
29391
|
+
"type": "string",
|
|
29392
|
+
"format": "password",
|
|
29393
|
+
"title": "Password",
|
|
29394
|
+
"description": "WisdomTree Connect password for your organization's account.",
|
|
29395
|
+
"writeOnly": true
|
|
29384
29396
|
}
|
|
29385
29397
|
},
|
|
29386
29398
|
"type": "object",
|
|
29387
29399
|
"required": [
|
|
29388
29400
|
"client_id",
|
|
29389
|
-
"client_secret"
|
|
29401
|
+
"client_secret",
|
|
29402
|
+
"username",
|
|
29403
|
+
"password"
|
|
29390
29404
|
],
|
|
29391
29405
|
"title": "WisdomTreeCredentials",
|
|
29392
29406
|
"description": "Per-organization WisdomTree Connect API credentials.\n\nSupplied per request rather than configured on the service: each\norganization has its own WisdomTree account, whitelisted wallets and KYC,\nso there is no single service-level credential that could serve every\ncaller. The secret is a ``SecretStr`` so it cannot be printed by accident,\nand the error logger masks it in request bodies."
|
package/package.json
CHANGED
|
@@ -25,12 +25,22 @@ export type WisdomTreeCredentials = {
|
|
|
25
25
|
* WisdomTree Connect client secret for your organization.
|
|
26
26
|
*/
|
|
27
27
|
clientSecret: string;
|
|
28
|
+
/**
|
|
29
|
+
* WisdomTree Connect username for your organization's account.
|
|
30
|
+
*/
|
|
31
|
+
username: string;
|
|
32
|
+
/**
|
|
33
|
+
* WisdomTree Connect password for your organization's account.
|
|
34
|
+
*/
|
|
35
|
+
password: string;
|
|
28
36
|
};
|
|
29
37
|
|
|
30
38
|
/** @internal */
|
|
31
39
|
export type WisdomTreeCredentials$Outbound = {
|
|
32
40
|
client_id: string;
|
|
33
41
|
client_secret: string;
|
|
42
|
+
username: string;
|
|
43
|
+
password: string;
|
|
34
44
|
};
|
|
35
45
|
|
|
36
46
|
/** @internal */
|
|
@@ -41,6 +51,8 @@ export const WisdomTreeCredentials$outboundSchema: z.ZodType<
|
|
|
41
51
|
> = z.object({
|
|
42
52
|
clientId: z.string(),
|
|
43
53
|
clientSecret: z.string(),
|
|
54
|
+
username: z.string(),
|
|
55
|
+
password: z.string(),
|
|
44
56
|
}).transform((v) => {
|
|
45
57
|
return remap$(v, {
|
|
46
58
|
clientId: "client_id",
|