@tellescope/sdk 1.87.0 → 1.89.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tellescope/sdk",
3
- "version": "1.87.0",
3
+ "version": "1.89.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.87.0",
36
- "@tellescope/schema": "^1.87.0",
35
+ "@tellescope/constants": "^1.89.0",
36
+ "@tellescope/schema": "^1.89.0",
37
37
  "@tellescope/testing": "^1.69.3",
38
- "@tellescope/types-client": "^1.87.0",
39
- "@tellescope/types-models": "^1.87.0",
38
+ "@tellescope/types-client": "^1.89.0",
39
+ "@tellescope/types-models": "^1.89.0",
40
40
  "@tellescope/types-utilities": "^1.69.3",
41
- "@tellescope/utilities": "^1.87.0",
42
- "@tellescope/validation": "^1.87.0",
41
+ "@tellescope/utilities": "^1.89.0",
42
+ "@tellescope/validation": "^1.89.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": "787420eee41ab9de57303c53b382f1a78d4a7b42"
61
+ "gitHead": "8417c6a10b16b6e37b0594f4715a1e13c8622f5c"
62
62
  }
package/src/sdk.ts CHANGED
@@ -407,6 +407,9 @@ type Queries = { [K in keyof ClientModelForName]: APIQuery<K> } & {
407
407
  get_enduser_statistics_by_submitter: (args: extractFields<CustomActions['form_responses']['get_enduser_statistics_by_submitter']['parameters']>) => (
408
408
  Promise<extractFields<CustomActions['form_responses']['get_enduser_statistics_by_submitter']['returns']>>
409
409
  ),
410
+ get_distribution_report: (args: extractFields<CustomActions['form_responses']['get_distribution_report']['parameters']>) => (
411
+ Promise<extractFields<CustomActions['form_responses']['get_distribution_report']['returns']>>
412
+ ),
410
413
  },
411
414
  meetings: {
412
415
  start_meeting: (args?: extractFields<CustomActions['meetings']['start_meeting']['parameters']>) => (
@@ -794,6 +797,7 @@ export class Session extends SessionManager {
794
797
  queries.form_responses.get_enduser_statistics = a => this._POST(`/v1/${schema.form_responses.customActions.get_enduser_statistics.path}`, a)
795
798
  queries.form_responses.get_enduser_statistics_by_submitter = a => this._POST(`/v1/${schema.form_responses.customActions.get_enduser_statistics_by_submitter.path}`, a)
796
799
  queries.form_responses.get_related_forms_report = a => this._POST(`/v1/${schema.form_responses.customActions.get_related_forms_report.path}`, a)
800
+ queries.form_responses.get_distribution_report = a => this._POST(`/v1/${schema.form_responses.customActions.get_distribution_report.path}`, a)
797
801
 
798
802
  // need arraybuffer response type, see tests.ts
799
803
  // queries.form_responses.generate_pdf = (args) => (
Binary file