@tellescope/sdk 1.35.3 → 1.37.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/enduser.d.ts +3 -0
- package/lib/cjs/enduser.d.ts.map +1 -1
- package/lib/cjs/enduser.js +1 -0
- package/lib/cjs/enduser.js.map +1 -1
- 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/enduser.d.ts +3 -0
- package/lib/esm/enduser.d.ts.map +1 -1
- package/lib/esm/enduser.js +1 -0
- package/lib/esm/enduser.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/enduser.ts +7 -0
- package/src/sdk.ts +7 -0
package/src/sdk.ts
CHANGED
|
@@ -420,6 +420,11 @@ type Queries = { [K in keyof ClientModelForName]: APIQuery<K> } & {
|
|
|
420
420
|
Promise<extractFields<CustomActions['tickets']['update_indexes']['returns']>>
|
|
421
421
|
),
|
|
422
422
|
},
|
|
423
|
+
appointment_booking_pages: {
|
|
424
|
+
generate_access_token: (args: extractFields<CustomActions['appointment_booking_pages']['generate_access_token']['parameters']>) => (
|
|
425
|
+
Promise<extractFields<CustomActions['appointment_booking_pages']['generate_access_token']['returns']>>
|
|
426
|
+
),
|
|
427
|
+
},
|
|
423
428
|
}
|
|
424
429
|
|
|
425
430
|
// session info that's currently required/used on front-end but not part of base user model
|
|
@@ -541,6 +546,8 @@ export class Session extends SessionManager {
|
|
|
541
546
|
|
|
542
547
|
queries.tickets.update_indexes = a => this._PATCH(`/v1/${schema.tickets.customActions.update_indexes.path}`, a)
|
|
543
548
|
|
|
549
|
+
queries.appointment_booking_pages.generate_access_token = a => this._POST(`/v1/${schema.appointment_booking_pages.customActions.generate_access_token.path}`, a)
|
|
550
|
+
|
|
544
551
|
this.api = queries
|
|
545
552
|
}
|
|
546
553
|
|