@tellescope/sdk 1.91.1 → 1.92.0
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/lib/cjs/sdk.d.ts +3 -0
- package/lib/cjs/sdk.d.ts.map +1 -1
- package/lib/cjs/sdk.js +1 -0
- package/lib/cjs/sdk.js.map +1 -1
- package/lib/esm/sdk.d.ts +3 -0
- package/lib/esm/sdk.d.ts.map +1 -1
- package/lib/esm/sdk.js +1 -0
- package/lib/esm/sdk.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/src/sdk.ts +4 -0
- package/test_generated.pdf +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tellescope/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.92.0",
|
|
4
4
|
"description": "Code for interacting with the Tellescope API",
|
|
5
5
|
"main": "./lib/cjs/sdk.js",
|
|
6
6
|
"module": "./lib/esm/sdk.js",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/tellescope-os/tellescope#readme",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tellescope/constants": "^1.
|
|
36
|
-
"@tellescope/schema": "^1.
|
|
35
|
+
"@tellescope/constants": "^1.92.0",
|
|
36
|
+
"@tellescope/schema": "^1.92.0",
|
|
37
37
|
"@tellescope/testing": "^1.69.3",
|
|
38
|
-
"@tellescope/types-client": "^1.
|
|
39
|
-
"@tellescope/types-models": "^1.
|
|
38
|
+
"@tellescope/types-client": "^1.92.0",
|
|
39
|
+
"@tellescope/types-models": "^1.92.0",
|
|
40
40
|
"@tellescope/types-utilities": "^1.69.3",
|
|
41
|
-
"@tellescope/utilities": "^1.
|
|
42
|
-
"@tellescope/validation": "^1.
|
|
41
|
+
"@tellescope/utilities": "^1.92.0",
|
|
42
|
+
"@tellescope/validation": "^1.92.0",
|
|
43
43
|
"axios": "^0.21.1",
|
|
44
44
|
"dotenv": "^14.2.0",
|
|
45
45
|
"express": "^4.17.1",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "44cdab6252acf5fb6c88ccfd492d820c8bf98c00"
|
|
62
62
|
}
|
package/src/sdk.ts
CHANGED
|
@@ -262,6 +262,9 @@ type Queries = { [K in keyof ClientModelForName]: APIQuery<K> } & {
|
|
|
262
262
|
),
|
|
263
263
|
},
|
|
264
264
|
endusers: {
|
|
265
|
+
dosespot: (args: extractFields<CustomActions['endusers']['dosespot']['parameters']>) => (
|
|
266
|
+
Promise<extractFields<CustomActions['endusers']['dosespot']['returns']>>
|
|
267
|
+
),
|
|
265
268
|
check_eligibility: (args: extractFields<CustomActions['endusers']['check_eligibility']['parameters']>) => (
|
|
266
269
|
Promise<extractFields<CustomActions['endusers']['check_eligibility']['returns']>>
|
|
267
270
|
),
|
|
@@ -762,6 +765,7 @@ export class Session extends SessionManager {
|
|
|
762
765
|
queries.endusers.sync_zendesk = a => this._POST(`/v1${schema.endusers.customActions.sync_zendesk.path}`, a)
|
|
763
766
|
queries.endusers.get_journeys_report = a => this._POST(`/v1${schema.endusers.customActions.get_journeys_report.path}`, a)
|
|
764
767
|
queries.endusers.check_eligibility = a => this._POST(`/v1${schema.endusers.customActions.check_eligibility.path}`, a)
|
|
768
|
+
queries.endusers.dosespot = a => this._POST(`/v1${schema.endusers.customActions.dosespot.path}`, a)
|
|
765
769
|
|
|
766
770
|
queries.users.display_names = () => this._GET<{}, { fname: string, lname: string, id: string }[]>(`/v1/user-display-names`)
|
|
767
771
|
queries.users.begin_sso = a => this._POST(`/v1/${schema.users.publicActions.begin_sso.path}`, a)
|
package/test_generated.pdf
CHANGED
|
Binary file
|