@tellescope/sdk 1.65.8 → 1.66.1
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 +5 -2
- package/lib/cjs/sdk.d.ts.map +1 -1
- package/lib/cjs/sdk.js +3 -0
- package/lib/cjs/sdk.js.map +1 -1
- package/lib/cjs/session.d.ts +0 -1
- package/lib/cjs/session.d.ts.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 +3 -0
- package/lib/esm/sdk.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/src/sdk.ts +12 -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.66.1",
|
|
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.65.
|
|
36
|
-
"@tellescope/schema": "^1.
|
|
35
|
+
"@tellescope/constants": "^1.65.9",
|
|
36
|
+
"@tellescope/schema": "^1.66.1",
|
|
37
37
|
"@tellescope/testing": "^1.65.2",
|
|
38
|
-
"@tellescope/types-client": "^1.65.
|
|
39
|
-
"@tellescope/types-models": "^1.65.
|
|
38
|
+
"@tellescope/types-client": "^1.65.9",
|
|
39
|
+
"@tellescope/types-models": "^1.65.9",
|
|
40
40
|
"@tellescope/types-utilities": "^1.65.2",
|
|
41
|
-
"@tellescope/utilities": "^1.65.
|
|
42
|
-
"@tellescope/validation": "^1.65.
|
|
41
|
+
"@tellescope/utilities": "^1.65.9",
|
|
42
|
+
"@tellescope/validation": "^1.65.9",
|
|
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": "14209c7437514c7f35b54b73d75304b22153b3dd"
|
|
62
62
|
}
|
package/src/sdk.ts
CHANGED
|
@@ -236,12 +236,18 @@ type Queries = { [K in keyof ClientModelForName]: APIQuery<K> } & {
|
|
|
236
236
|
bulk_update: (args: extractFields<CustomActions['endusers']['bulk_update']['parameters']>) => (
|
|
237
237
|
Promise<extractFields<CustomActions['endusers']['bulk_update']['returns']>>
|
|
238
238
|
),
|
|
239
|
+
bulk_assignment: (args: extractFields<CustomActions['endusers']['bulk_assignment']['parameters']>) => (
|
|
240
|
+
Promise<extractFields<CustomActions['endusers']['bulk_assignment']['returns']>>
|
|
241
|
+
),
|
|
239
242
|
get_report: (args: extractFields<CustomActions['endusers']['get_report']['parameters']>) => (
|
|
240
243
|
Promise<extractFields<CustomActions['endusers']['get_report']['returns']>>
|
|
241
244
|
),
|
|
242
245
|
get_engagement_statistics: (args: extractFields<CustomActions['endusers']['get_engagement_statistics']['parameters']>) => (
|
|
243
246
|
Promise<extractFields<CustomActions['endusers']['get_engagement_statistics']['returns']>>
|
|
244
247
|
),
|
|
248
|
+
get_engagement_statistics_by_userId: (args: extractFields<CustomActions['endusers']['get_engagement_statistics_by_userId']['parameters']>) => (
|
|
249
|
+
Promise<extractFields<CustomActions['endusers']['get_engagement_statistics_by_userId']['returns']>>
|
|
250
|
+
),
|
|
245
251
|
sync_zendesk: (args: extractFields<CustomActions['endusers']['sync_zendesk']['parameters']>) => (
|
|
246
252
|
Promise<extractFields<CustomActions['endusers']['sync_zendesk']['returns']>>
|
|
247
253
|
),
|
|
@@ -333,6 +339,9 @@ type Queries = { [K in keyof ClientModelForName]: APIQuery<K> } & {
|
|
|
333
339
|
get_enduser_statistics: (args: extractFields<CustomActions['form_responses']['get_enduser_statistics']['parameters']>) => (
|
|
334
340
|
Promise<extractFields<CustomActions['form_responses']['get_enduser_statistics']['returns']>>
|
|
335
341
|
),
|
|
342
|
+
get_enduser_statistics_by_submitter: (args: extractFields<CustomActions['form_responses']['get_enduser_statistics_by_submitter']['parameters']>) => (
|
|
343
|
+
Promise<extractFields<CustomActions['form_responses']['get_enduser_statistics_by_submitter']['returns']>>
|
|
344
|
+
),
|
|
336
345
|
},
|
|
337
346
|
meetings: {
|
|
338
347
|
start_meeting: (args?: extractFields<CustomActions['meetings']['start_meeting']['parameters']>) => (
|
|
@@ -593,8 +602,10 @@ export class Session extends SessionManager {
|
|
|
593
602
|
queries.endusers.merge = a => this._POST(`/v1${schema.endusers.customActions.merge.path}`, a)
|
|
594
603
|
queries.endusers.push = a => this._POST(`/v1${schema.endusers.customActions.push.path}`, a)
|
|
595
604
|
queries.endusers.bulk_update = a => this._PATCH(`/v1${schema.endusers.customActions.bulk_update.path}`, a)
|
|
605
|
+
queries.endusers.bulk_assignment = a => this._PATCH(`/v1${schema.endusers.customActions.bulk_assignment.path}`, a)
|
|
596
606
|
queries.endusers.get_report = a => this._GET(`/v1/${schema.endusers.customActions.get_report.path}`, a)
|
|
597
607
|
queries.endusers.get_engagement_statistics = a => this._GET(`/v1/${schema.endusers.customActions.get_engagement_statistics.path}`, a)
|
|
608
|
+
queries.endusers.get_engagement_statistics_by_userId = a => this._GET(`/v1/${schema.endusers.customActions.get_engagement_statistics_by_userId.path}`, a)
|
|
598
609
|
queries.endusers.sync_zendesk = a => this._POST(`/v1${schema.endusers.customActions.sync_zendesk.path}`, a)
|
|
599
610
|
|
|
600
611
|
queries.users.display_names = () => this._GET<{}, { fname: string, lname: string, id: string }[]>(`/v1/user-display-names`)
|
|
@@ -629,6 +640,7 @@ export class Session extends SessionManager {
|
|
|
629
640
|
queries.form_responses.push_to_EHR = (args) => this._POST(`/v1${schema.form_responses.customActions.push_to_EHR.path}`, args)
|
|
630
641
|
queries.form_responses.get_report = a => this._POST(`/v1/${schema.form_responses.customActions.get_report.path}`, a)
|
|
631
642
|
queries.form_responses.get_enduser_statistics = a => this._GET(`/v1/${schema.form_responses.customActions.get_enduser_statistics.path}`, a)
|
|
643
|
+
queries.form_responses.get_enduser_statistics_by_submitter = a => this._GET(`/v1/${schema.form_responses.customActions.get_enduser_statistics_by_submitter.path}`, a)
|
|
632
644
|
|
|
633
645
|
// need arraybuffer response type, see tests.ts
|
|
634
646
|
// queries.form_responses.generate_pdf = (args) => (
|
package/test_generated.pdf
CHANGED
|
Binary file
|