@tellescope/sdk 1.84.0 → 1.85.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 +3 -0
- 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/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.85.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.
|
|
36
|
-
"@tellescope/schema": "^1.
|
|
35
|
+
"@tellescope/constants": "^1.85.1",
|
|
36
|
+
"@tellescope/schema": "^1.85.1",
|
|
37
37
|
"@tellescope/testing": "^1.69.3",
|
|
38
|
-
"@tellescope/types-client": "^1.
|
|
39
|
-
"@tellescope/types-models": "^1.
|
|
38
|
+
"@tellescope/types-client": "^1.85.1",
|
|
39
|
+
"@tellescope/types-models": "^1.85.1",
|
|
40
40
|
"@tellescope/types-utilities": "^1.69.3",
|
|
41
|
-
"@tellescope/utilities": "^1.
|
|
42
|
-
"@tellescope/validation": "^1.
|
|
41
|
+
"@tellescope/utilities": "^1.85.1",
|
|
42
|
+
"@tellescope/validation": "^1.85.1",
|
|
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": "b7d0ef9097599d53eabd70c08daa8c8c9eea3a91"
|
|
62
62
|
}
|
package/src/sdk.ts
CHANGED
|
@@ -552,11 +552,20 @@ type Queries = { [K in keyof ClientModelForName]: APIQuery<K> } & {
|
|
|
552
552
|
delete_recordings: (args: extractFields<CustomActions['phone_calls']['delete_recordings']['parameters']>) => (
|
|
553
553
|
Promise<extractFields<CustomActions['phone_calls']['delete_recordings']['returns']>>
|
|
554
554
|
),
|
|
555
|
+
get_number_report: (args: extractFields<CustomActions['phone_calls']['get_number_report']['parameters']>) => (
|
|
556
|
+
Promise<extractFields<CustomActions['phone_calls']['get_number_report']['returns']>>
|
|
557
|
+
),
|
|
555
558
|
},
|
|
556
559
|
sms_messages: {
|
|
557
560
|
send_message_to_number: (args: extractFields<CustomActions['sms_messages']['send_message_to_number']['parameters']>) => (
|
|
558
561
|
Promise<extractFields<CustomActions['sms_messages']['send_message_to_number']['returns']>>
|
|
559
562
|
),
|
|
563
|
+
get_number_report: (args: extractFields<CustomActions['sms_messages']['get_number_report']['parameters']>) => (
|
|
564
|
+
Promise<extractFields<CustomActions['sms_messages']['get_number_report']['returns']>>
|
|
565
|
+
),
|
|
566
|
+
get_template_report: (args: extractFields<CustomActions['sms_messages']['get_template_report']['parameters']>) => (
|
|
567
|
+
Promise<extractFields<CustomActions['sms_messages']['get_template_report']['returns']>>
|
|
568
|
+
),
|
|
560
569
|
},
|
|
561
570
|
templates: {
|
|
562
571
|
get_templated_message: (args: extractFields<CustomActions['templates']['get_templated_message']['parameters']>) => (
|
|
@@ -854,6 +863,7 @@ export class Session extends SessionManager {
|
|
|
854
863
|
queries.phone_calls.end_conference = a => this._POST(`/v1${schema.phone_calls.customActions.end_conference.path}`, a)
|
|
855
864
|
queries.phone_calls.cancel_recording = a => this._POST(`/v1${schema.phone_calls.customActions.cancel_recording.path}`, a)
|
|
856
865
|
queries.phone_calls.delete_recordings = a => this._POST(`/v1${schema.phone_calls.customActions.delete_recordings.path}`, a)
|
|
866
|
+
queries.phone_calls.get_number_report = a => this._GET(`/v1${schema.phone_calls.customActions.get_number_report.path}`, a)
|
|
857
867
|
|
|
858
868
|
queries.templates.get_templated_message = a => this._POST(`/v1/${schema.templates.customActions.get_templated_message.path}`, a)
|
|
859
869
|
queries.templates.get_suggested_reply = a => this._POST(`/v1/${schema.templates.customActions.get_suggested_reply.path}`, a)
|
|
@@ -882,6 +892,8 @@ export class Session extends SessionManager {
|
|
|
882
892
|
queries.appointment_booking_pages.generate_access_token = a => this._POST(`/v1/${schema.appointment_booking_pages.customActions.generate_access_token.path}`, a)
|
|
883
893
|
|
|
884
894
|
queries.sms_messages.send_message_to_number = a => this._POST(`/v1/${schema.sms_messages.customActions.send_message_to_number.path}`, a)
|
|
895
|
+
queries.sms_messages.get_number_report = a => this._GET(`/v1/${schema.sms_messages.customActions.get_number_report.path}`, a)
|
|
896
|
+
queries.sms_messages.get_template_report = a => this._GET(`/v1/${schema.sms_messages.customActions.get_template_report.path}`, a)
|
|
885
897
|
|
|
886
898
|
queries.purchases.charge_card_on_file = a => this._POST(`/v1/${schema.purchases.customActions.charge_card_on_file.path}`, a)
|
|
887
899
|
|
package/test_generated.pdf
CHANGED
|
Binary file
|