reach-api-sdk 1.0.76 → 1.0.78

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.
@@ -5480,7 +5480,7 @@ declare class CoursesService {
5480
5480
  constructor(httpRequest: BaseHttpRequest);
5481
5481
  /**
5482
5482
  * Deletes unconfirmed slots for the course />.
5483
- * @returns Course Success
5483
+ * @returns any Success
5484
5484
  * @throws ApiError
5485
5485
  */
5486
5486
  deleteUnconfirmedSlots({ courseId, }: {
@@ -5488,7 +5488,7 @@ declare class CoursesService {
5488
5488
  * The course Id.
5489
5489
  */
5490
5490
  courseId: string;
5491
- }): CancelablePromise<Course>;
5491
+ }): CancelablePromise<any>;
5492
5492
  /**
5493
5493
  * Takes the course offline />.
5494
5494
  * @returns Course Success
@@ -20796,6 +20796,10 @@ type TenantPost = {
20796
20796
  * Gets or sets the organisations country id.
20797
20797
  */
20798
20798
  countryId: number;
20799
+ /**
20800
+ * Gets or sets the organisation website url.
20801
+ */
20802
+ websiteUrl: string;
20799
20803
  /**
20800
20804
  * Gets or sets the tenants time zone.
20801
20805
  */
@@ -23897,7 +23901,7 @@ declare class SessionsService {
23897
23901
  constructor(httpRequest: BaseHttpRequest);
23898
23902
  /**
23899
23903
  * Deletes unconfirmed slots for the session />.
23900
- * @returns Session Success
23904
+ * @returns any Success
23901
23905
  * @throws ApiError
23902
23906
  */
23903
23907
  deleteUnconfirmedSlots({ sessionId, }: {
@@ -23905,7 +23909,7 @@ declare class SessionsService {
23905
23909
  * The session Id.
23906
23910
  */
23907
23911
  sessionId: string;
23908
- }): CancelablePromise<Session>;
23912
+ }): CancelablePromise<any>;
23909
23913
  /**
23910
23914
  * Takes the session offline />.
23911
23915
  * @returns Session Success
@@ -29224,6 +29228,10 @@ declare class TemplatesService {
29224
29228
  * Model to store database state.
29225
29229
  */
29226
29230
  type DatabaseState = {
29231
+ /**
29232
+ * Gets or sets a value indicating whether the tenant exists.
29233
+ */
29234
+ tenantExists: boolean;
29227
29235
  /**
29228
29236
  * Gets a value indicating whether activity database records exist.
29229
29237
  */
package/dist/reach-sdk.js CHANGED
@@ -1811,7 +1811,7 @@ const request = (config, options, axiosClient = axios) => {
1811
1811
  }
1812
1812
  /**
1813
1813
  * Deletes unconfirmed slots for the course />.
1814
- * @returns Course Success
1814
+ * @returns any Success
1815
1815
  * @throws ApiError
1816
1816
  */
1817
1817
  deleteUnconfirmedSlots({
@@ -17353,7 +17353,7 @@ const request = (config, options, axiosClient = axios) => {
17353
17353
  }
17354
17354
  /**
17355
17355
  * Deletes unconfirmed slots for the session />.
17356
- * @returns Session Success
17356
+ * @returns any Success
17357
17357
  * @throws ApiError
17358
17358
  */
17359
17359
  deleteUnconfirmedSlots({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -4300,16 +4300,6 @@ paths:
4300
4300
  responses:
4301
4301
  '200':
4302
4302
  description: Success
4303
- content:
4304
- text/plain:
4305
- schema:
4306
- $ref: '#/components/schemas/Course'
4307
- application/json:
4308
- schema:
4309
- $ref: '#/components/schemas/Course'
4310
- text/json:
4311
- schema:
4312
- $ref: '#/components/schemas/Course'
4313
4303
  '400':
4314
4304
  description: Bad Request
4315
4305
  content:
@@ -49960,16 +49950,6 @@ paths:
49960
49950
  responses:
49961
49951
  '200':
49962
49952
  description: Success
49963
- content:
49964
- text/plain:
49965
- schema:
49966
- $ref: '#/components/schemas/Session'
49967
- application/json:
49968
- schema:
49969
- $ref: '#/components/schemas/Session'
49970
- text/json:
49971
- schema:
49972
- $ref: '#/components/schemas/Session'
49973
49953
  '400':
49974
49954
  description: Bad Request
49975
49955
  content:
@@ -76052,8 +76032,13 @@ components:
76052
76032
  - stripeSetupRequired
76053
76033
  - surveysExist
76054
76034
  - templatesExist
76035
+ - tenantExists
76055
76036
  type: object
76056
76037
  properties:
76038
+ tenantExists:
76039
+ type: boolean
76040
+ description: Gets or sets a value indicating whether the tenant exists.
76041
+ default: false
76057
76042
  activitiesExist:
76058
76043
  type: boolean
76059
76044
  description: Gets a value indicating whether activity database records exist.
@@ -83561,6 +83546,7 @@ components:
83561
83546
  - name
83562
83547
  - tenantId
83563
83548
  - timeZoneTz
83549
+ - websiteUrl
83564
83550
  type: object
83565
83551
  properties:
83566
83552
  tenantId:
@@ -83583,6 +83569,10 @@ components:
83583
83569
  type: integer
83584
83570
  description: Gets or sets the organisations country id.
83585
83571
  format: int32
83572
+ websiteUrl:
83573
+ type: string
83574
+ description: Gets or sets the organisation website url.
83575
+ format: uri
83586
83576
  timeZoneTz:
83587
83577
  minLength: 1
83588
83578
  type: string
@@ -7,6 +7,10 @@
7
7
  * Model to store database state.
8
8
  */
9
9
  export type DatabaseState = {
10
+ /**
11
+ * Gets or sets a value indicating whether the tenant exists.
12
+ */
13
+ tenantExists: boolean;
10
14
  /**
11
15
  * Gets a value indicating whether activity database records exist.
12
16
  */
@@ -27,6 +27,10 @@ export type TenantPost = {
27
27
  * Gets or sets the organisations country id.
28
28
  */
29
29
  countryId: number;
30
+ /**
31
+ * Gets or sets the organisation website url.
32
+ */
33
+ websiteUrl: string;
30
34
  /**
31
35
  * Gets or sets the tenants time zone.
32
36
  */
@@ -19,7 +19,7 @@ export class CoursesService {
19
19
 
20
20
  /**
21
21
  * Deletes unconfirmed slots for the course />.
22
- * @returns Course Success
22
+ * @returns any Success
23
23
  * @throws ApiError
24
24
  */
25
25
  public deleteUnconfirmedSlots({
@@ -29,7 +29,7 @@ export class CoursesService {
29
29
  * The course Id.
30
30
  */
31
31
  courseId: string;
32
- }): CancelablePromise<Course> {
32
+ }): CancelablePromise<any> {
33
33
  return this.httpRequest.request({
34
34
  method: 'PATCH',
35
35
  url: '/api/courses/{courseId}/delete-unconfirmed-slots',
@@ -17,7 +17,7 @@ export class SessionsService {
17
17
 
18
18
  /**
19
19
  * Deletes unconfirmed slots for the session />.
20
- * @returns Session Success
20
+ * @returns any Success
21
21
  * @throws ApiError
22
22
  */
23
23
  public deleteUnconfirmedSlots({
@@ -27,7 +27,7 @@ export class SessionsService {
27
27
  * The session Id.
28
28
  */
29
29
  sessionId: string;
30
- }): CancelablePromise<Session> {
30
+ }): CancelablePromise<any> {
31
31
  return this.httpRequest.request({
32
32
  method: 'PATCH',
33
33
  url: '/api/sessions/{sessionId}/delete-unconfirmed-slots',