reach-api-sdk 1.0.91 → 1.0.93

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/README.md CHANGED
@@ -1,2 +1,10 @@
1
- # reach-sdk
2
- build - npm run build
1
+ # reach-sdk usage
2
+ When changes are made to reach-api that affect exposed models and services, perform the following to update the SDK
3
+
4
+ - With reach-api running browse to https://localhost:44310/swagger/v1/swagger.yaml
5
+ - copy the contents and paste in \src\definition\swagger.yaml
6
+ - run `npm run build` to build models and services from the new yaml definition
7
+ - check the current build version in package.json and increment by one `npm version 1.0.xxx`
8
+
9
+ # publishing to registry
10
+ Shervin will publish to NPM, contact him
@@ -2589,10 +2589,18 @@ type Session = {
2589
2589
  * Gets or sets the contact email.
2590
2590
  */
2591
2591
  contactEmail: string;
2592
+ /**
2593
+ * Gets the computed image url.
2594
+ */
2595
+ readonly computedImage?: string | null;
2592
2596
  /**
2593
2597
  * Gets or sets the courses offers.
2594
2598
  */
2595
2599
  offers?: Array<Offer> | null;
2600
+ /**
2601
+ * Gets or sets the venues referenced images.
2602
+ */
2603
+ images?: Array<Image> | null;
2596
2604
  activityType?: ActivityType;
2597
2605
  sessionType?: SessionType;
2598
2606
  /**
@@ -2664,10 +2672,6 @@ type Session = {
2664
2672
  activity?: Activity;
2665
2673
  programme?: Programme;
2666
2674
  schedule?: ScheduledSessionSchedule;
2667
- /**
2668
- * Gets or sets the venues referenced images.
2669
- */
2670
- images?: Array<Image> | null;
2671
2675
  /**
2672
2676
  * Gets or sets the customers on the waitlist.
2673
2677
  */
@@ -3141,7 +3145,6 @@ type Venue = {
3141
3145
  description?: string | null;
3142
3146
  /**
3143
3147
  * Gets or sets the venue image url.
3144
- * @deprecated
3145
3148
  */
3146
3149
  imageUrl?: string | null;
3147
3150
  /**
@@ -3212,6 +3215,10 @@ type Venue = {
3212
3215
  * Gets or sets a value indicating whether the venue is published on the booking website.
3213
3216
  */
3214
3217
  publishedOnWeb?: boolean | null;
3218
+ /**
3219
+ * Gets the computed image url.
3220
+ */
3221
+ readonly computedImage?: string | null;
3215
3222
  /**
3216
3223
  * Gets or sets the storefront url.
3217
3224
  */
@@ -3764,10 +3771,18 @@ type Course = {
3764
3771
  * Gets or sets the contact email.
3765
3772
  */
3766
3773
  contactEmail: string;
3774
+ /**
3775
+ * Gets the computed image url.
3776
+ */
3777
+ readonly computedImage?: string | null;
3767
3778
  /**
3768
3779
  * Gets or sets the courses offers.
3769
3780
  */
3770
3781
  offers?: Array<Offer> | null;
3782
+ /**
3783
+ * Gets or sets the venues referenced images.
3784
+ */
3785
+ images?: Array<Image> | null;
3771
3786
  activityType?: ActivityType;
3772
3787
  /**
3773
3788
  * Gets or sets the course duration, added to satisfy interface but is not applicable to courses.
@@ -3889,10 +3904,6 @@ type Course = {
3889
3904
  * Gets or sets the courses sessions.
3890
3905
  */
3891
3906
  sessions?: Array<CourseSession> | null;
3892
- /**
3893
- * Gets or sets the venues referenced images.
3894
- */
3895
- images?: Array<Image> | null;
3896
3907
  /**
3897
3908
  * Gets or sets the customers on the registration waitlist.
3898
3909
  */
@@ -5526,7 +5537,7 @@ type CourseCreate = {
5526
5537
  /**
5527
5538
  * Gets or sets the contact email.
5528
5539
  */
5529
- contactEmail: string;
5540
+ contactEmail?: string | null;
5530
5541
  venue?: CreateVenue;
5531
5542
  /**
5532
5543
  * Gets or sets the the schedule ids to be made active.
@@ -26349,7 +26360,7 @@ type SessionCreate = {
26349
26360
  /**
26350
26361
  * Gets or sets the contact email.
26351
26362
  */
26352
- contactEmail: string;
26363
+ contactEmail?: string | null;
26353
26364
  venue?: CreateVenue;
26354
26365
  /**
26355
26366
  * Gets or sets the the schedule ids to be made active.
@@ -34318,7 +34329,7 @@ declare class UsersService {
34318
34329
  * @returns boolean Success
34319
34330
  * @throws ApiError
34320
34331
  */
34321
- globalExists({ ids, roles, name, nameLike, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34332
+ globalExists({ ids, roles, name, nameLike, email, inviteStatus, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34322
34333
  /**
34323
34334
  * Gets or sets the queryable user ids.
34324
34335
  */
@@ -34339,6 +34350,10 @@ declare class UsersService {
34339
34350
  * Gets or sets the users Email for use in a query search.
34340
34351
  */
34341
34352
  email?: string;
34353
+ /**
34354
+ * Gets or sets the team member invite status for use in a query search.
34355
+ */
34356
+ inviteStatus?: InviteStatus;
34342
34357
  /**
34343
34358
  * Gets or sets the page number for paged queries.
34344
34359
  */
@@ -34380,6 +34395,17 @@ declare class UsersService {
34380
34395
  */
34381
34396
  sortOrderDirection?: SearchSortOrderDirection;
34382
34397
  }): CancelablePromise<boolean>;
34398
+ /**
34399
+ * Get a users invite status.
34400
+ * @returns InviteStatus Success
34401
+ * @throws ApiError
34402
+ */
34403
+ inviteStatus({ email, }: {
34404
+ /**
34405
+ * The email address of the user.
34406
+ */
34407
+ email?: string;
34408
+ }): CancelablePromise<InviteStatus>;
34383
34409
  /**
34384
34410
  * Checks whether stripe accounts exist for the .
34385
34411
  * @returns boolean Success
@@ -34419,7 +34445,7 @@ declare class UsersService {
34419
34445
  * @returns boolean Success
34420
34446
  * @throws ApiError
34421
34447
  */
34422
- exists({ ids, roles, name, nameLike, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34448
+ exists({ ids, roles, name, nameLike, email, inviteStatus, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34423
34449
  /**
34424
34450
  * Gets or sets the queryable user ids.
34425
34451
  */
@@ -34440,6 +34466,10 @@ declare class UsersService {
34440
34466
  * Gets or sets the users Email for use in a query search.
34441
34467
  */
34442
34468
  email?: string;
34469
+ /**
34470
+ * Gets or sets the team member invite status for use in a query search.
34471
+ */
34472
+ inviteStatus?: InviteStatus;
34443
34473
  /**
34444
34474
  * Gets or sets the page number for paged queries.
34445
34475
  */
@@ -34486,7 +34516,7 @@ declare class UsersService {
34486
34516
  * @returns UserPage Success
34487
34517
  * @throws ApiError
34488
34518
  */
34489
- getPage({ ids, roles, name, nameLike, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34519
+ getPage({ ids, roles, name, nameLike, email, inviteStatus, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34490
34520
  /**
34491
34521
  * Gets or sets the queryable user ids.
34492
34522
  */
@@ -34507,6 +34537,10 @@ declare class UsersService {
34507
34537
  * Gets or sets the users Email for use in a query search.
34508
34538
  */
34509
34539
  email?: string;
34540
+ /**
34541
+ * Gets or sets the team member invite status for use in a query search.
34542
+ */
34543
+ inviteStatus?: InviteStatus;
34510
34544
  /**
34511
34545
  * Gets or sets the page number for paged queries.
34512
34546
  */
@@ -34564,7 +34598,7 @@ declare class UsersService {
34564
34598
  * @returns User Success
34565
34599
  * @throws ApiError
34566
34600
  */
34567
- getListWithoutReferences({ ids, roles, name, nameLike, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34601
+ getListWithoutReferences({ ids, roles, name, nameLike, email, inviteStatus, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34568
34602
  /**
34569
34603
  * Gets or sets the queryable user ids.
34570
34604
  */
@@ -34585,6 +34619,10 @@ declare class UsersService {
34585
34619
  * Gets or sets the users Email for use in a query search.
34586
34620
  */
34587
34621
  email?: string;
34622
+ /**
34623
+ * Gets or sets the team member invite status for use in a query search.
34624
+ */
34625
+ inviteStatus?: InviteStatus;
34588
34626
  /**
34589
34627
  * Gets or sets the page number for paged queries.
34590
34628
  */
@@ -34631,7 +34669,7 @@ declare class UsersService {
34631
34669
  * @returns User Success
34632
34670
  * @throws ApiError
34633
34671
  */
34634
- getListIdName({ ids, roles, name, nameLike, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34672
+ getListIdName({ ids, roles, name, nameLike, email, inviteStatus, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
34635
34673
  /**
34636
34674
  * Gets or sets the queryable user ids.
34637
34675
  */
@@ -34652,6 +34690,10 @@ declare class UsersService {
34652
34690
  * Gets or sets the users Email for use in a query search.
34653
34691
  */
34654
34692
  email?: string;
34693
+ /**
34694
+ * Gets or sets the team member invite status for use in a query search.
34695
+ */
34696
+ inviteStatus?: InviteStatus;
34655
34697
  /**
34656
34698
  * Gets or sets the page number for paged queries.
34657
34699
  */
package/dist/reach-sdk.js CHANGED
@@ -26072,6 +26072,7 @@ const request = (config, options, axiosClient = axios) => {
26072
26072
  name,
26073
26073
  nameLike,
26074
26074
  email,
26075
+ inviteStatus,
26075
26076
  pageNumber,
26076
26077
  take,
26077
26078
  limitListRequests,
@@ -26092,6 +26093,7 @@ const request = (config, options, axiosClient = axios) => {
26092
26093
  Name: name,
26093
26094
  NameLike: nameLike,
26094
26095
  Email: email,
26096
+ InviteStatus: inviteStatus,
26095
26097
  PageNumber: pageNumber,
26096
26098
  Take: take,
26097
26099
  LimitListRequests: limitListRequests,
@@ -26110,6 +26112,27 @@ const request = (config, options, axiosClient = axios) => {
26110
26112
  }
26111
26113
  });
26112
26114
  }
26115
+ /**
26116
+ * Get a users invite status.
26117
+ * @returns InviteStatus Success
26118
+ * @throws ApiError
26119
+ */
26120
+ inviteStatus({
26121
+ email
26122
+ }) {
26123
+ return this.httpRequest.request({
26124
+ method: "GET",
26125
+ url: "/api/users/invite-status",
26126
+ query: {
26127
+ email
26128
+ },
26129
+ errors: {
26130
+ 400: `Bad Request`,
26131
+ 422: `Client Error`,
26132
+ 500: `Server Error`
26133
+ }
26134
+ });
26135
+ }
26113
26136
  /**
26114
26137
  * Checks whether stripe accounts exist for the .
26115
26138
  * @returns boolean Success
@@ -26195,6 +26218,7 @@ const request = (config, options, axiosClient = axios) => {
26195
26218
  name,
26196
26219
  nameLike,
26197
26220
  email,
26221
+ inviteStatus,
26198
26222
  pageNumber,
26199
26223
  take,
26200
26224
  limitListRequests,
@@ -26215,6 +26239,7 @@ const request = (config, options, axiosClient = axios) => {
26215
26239
  Name: name,
26216
26240
  NameLike: nameLike,
26217
26241
  Email: email,
26242
+ InviteStatus: inviteStatus,
26218
26243
  PageNumber: pageNumber,
26219
26244
  Take: take,
26220
26245
  LimitListRequests: limitListRequests,
@@ -26244,6 +26269,7 @@ const request = (config, options, axiosClient = axios) => {
26244
26269
  name,
26245
26270
  nameLike,
26246
26271
  email,
26272
+ inviteStatus,
26247
26273
  pageNumber,
26248
26274
  take,
26249
26275
  limitListRequests,
@@ -26264,6 +26290,7 @@ const request = (config, options, axiosClient = axios) => {
26264
26290
  Name: name,
26265
26291
  NameLike: nameLike,
26266
26292
  Email: email,
26293
+ InviteStatus: inviteStatus,
26267
26294
  PageNumber: pageNumber,
26268
26295
  Take: take,
26269
26296
  LimitListRequests: limitListRequests,
@@ -26313,6 +26340,7 @@ const request = (config, options, axiosClient = axios) => {
26313
26340
  name,
26314
26341
  nameLike,
26315
26342
  email,
26343
+ inviteStatus,
26316
26344
  pageNumber,
26317
26345
  take,
26318
26346
  limitListRequests,
@@ -26333,6 +26361,7 @@ const request = (config, options, axiosClient = axios) => {
26333
26361
  Name: name,
26334
26362
  NameLike: nameLike,
26335
26363
  Email: email,
26364
+ InviteStatus: inviteStatus,
26336
26365
  PageNumber: pageNumber,
26337
26366
  Take: take,
26338
26367
  LimitListRequests: limitListRequests,
@@ -26362,6 +26391,7 @@ const request = (config, options, axiosClient = axios) => {
26362
26391
  name,
26363
26392
  nameLike,
26364
26393
  email,
26394
+ inviteStatus,
26365
26395
  pageNumber,
26366
26396
  take,
26367
26397
  limitListRequests,
@@ -26382,6 +26412,7 @@ const request = (config, options, axiosClient = axios) => {
26382
26412
  Name: name,
26383
26413
  NameLike: nameLike,
26384
26414
  Email: email,
26415
+ InviteStatus: inviteStatus,
26385
26416
  PageNumber: pageNumber,
26386
26417
  Take: take,
26387
26418
  LimitListRequests: limitListRequests,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.91",
3
+ "version": "1.0.93",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -76476,6 +76476,11 @@ paths:
76476
76476
  description: Gets or sets the users Email for use in a query search.
76477
76477
  schema:
76478
76478
  type: string
76479
+ - name: InviteStatus
76480
+ in: query
76481
+ description: Gets or sets the team member invite status for use in a query search.
76482
+ schema:
76483
+ $ref: '#/components/schemas/InviteStatus'
76479
76484
  - name: PageNumber
76480
76485
  in: query
76481
76486
  description: Gets or sets the page number for paged queries.
@@ -76584,6 +76589,67 @@ paths:
76584
76589
  text/json:
76585
76590
  schema:
76586
76591
  $ref: '#/components/schemas/ValidationResultModel'
76592
+ /api/users/invite-status:
76593
+ get:
76594
+ tags:
76595
+ - Users
76596
+ summary: Get a users invite status.
76597
+ operationId: InviteStatus
76598
+ parameters:
76599
+ - name: email
76600
+ in: query
76601
+ description: The email address of the user.
76602
+ schema:
76603
+ type: string
76604
+ responses:
76605
+ '200':
76606
+ description: Success
76607
+ content:
76608
+ text/plain:
76609
+ schema:
76610
+ $ref: '#/components/schemas/InviteStatus'
76611
+ application/json:
76612
+ schema:
76613
+ $ref: '#/components/schemas/InviteStatus'
76614
+ text/json:
76615
+ schema:
76616
+ $ref: '#/components/schemas/InviteStatus'
76617
+ '400':
76618
+ description: Bad Request
76619
+ content:
76620
+ text/plain:
76621
+ schema:
76622
+ $ref: '#/components/schemas/ReachError'
76623
+ application/json:
76624
+ schema:
76625
+ $ref: '#/components/schemas/ReachError'
76626
+ text/json:
76627
+ schema:
76628
+ $ref: '#/components/schemas/ReachError'
76629
+ '500':
76630
+ description: Server Error
76631
+ content:
76632
+ text/plain:
76633
+ schema:
76634
+ $ref: '#/components/schemas/ReachError'
76635
+ application/json:
76636
+ schema:
76637
+ $ref: '#/components/schemas/ReachError'
76638
+ text/json:
76639
+ schema:
76640
+ $ref: '#/components/schemas/ReachError'
76641
+ '422':
76642
+ description: Client Error
76643
+ content:
76644
+ text/plain:
76645
+ schema:
76646
+ $ref: '#/components/schemas/ValidationResultModel'
76647
+ application/json:
76648
+ schema:
76649
+ $ref: '#/components/schemas/ValidationResultModel'
76650
+ text/json:
76651
+ schema:
76652
+ $ref: '#/components/schemas/ValidationResultModel'
76587
76653
  /api/users/check-for-stripe:
76588
76654
  get:
76589
76655
  tags:
@@ -76846,6 +76912,11 @@ paths:
76846
76912
  description: Gets or sets the users Email for use in a query search.
76847
76913
  schema:
76848
76914
  type: string
76915
+ - name: InviteStatus
76916
+ in: query
76917
+ description: Gets or sets the team member invite status for use in a query search.
76918
+ schema:
76919
+ $ref: '#/components/schemas/InviteStatus'
76849
76920
  - name: PageNumber
76850
76921
  in: query
76851
76922
  description: Gets or sets the page number for paged queries.
@@ -76991,6 +77062,11 @@ paths:
76991
77062
  description: Gets or sets the users Email for use in a query search.
76992
77063
  schema:
76993
77064
  type: string
77065
+ - name: InviteStatus
77066
+ in: query
77067
+ description: Gets or sets the team member invite status for use in a query search.
77068
+ schema:
77069
+ $ref: '#/components/schemas/InviteStatus'
76994
77070
  - name: PageNumber
76995
77071
  in: query
76996
77072
  description: Gets or sets the page number for paged queries.
@@ -77192,6 +77268,11 @@ paths:
77192
77268
  description: Gets or sets the users Email for use in a query search.
77193
77269
  schema:
77194
77270
  type: string
77271
+ - name: InviteStatus
77272
+ in: query
77273
+ description: Gets or sets the team member invite status for use in a query search.
77274
+ schema:
77275
+ $ref: '#/components/schemas/InviteStatus'
77195
77276
  - name: PageNumber
77196
77277
  in: query
77197
77278
  description: Gets or sets the page number for paged queries.
@@ -77343,6 +77424,11 @@ paths:
77343
77424
  description: Gets or sets the users Email for use in a query search.
77344
77425
  schema:
77345
77426
  type: string
77427
+ - name: InviteStatus
77428
+ in: query
77429
+ description: Gets or sets the team member invite status for use in a query search.
77430
+ schema:
77431
+ $ref: '#/components/schemas/InviteStatus'
77346
77432
  - name: PageNumber
77347
77433
  in: query
77348
77434
  description: Gets or sets the page number for paged queries.
@@ -84502,12 +84588,24 @@ components:
84502
84588
  minLength: 1
84503
84589
  type: string
84504
84590
  description: Gets or sets the contact email.
84591
+ computedImage:
84592
+ type: string
84593
+ description: Gets the computed image url.
84594
+ format: uri
84595
+ nullable: true
84596
+ readOnly: true
84505
84597
  offers:
84506
84598
  type: array
84507
84599
  items:
84508
84600
  $ref: '#/components/schemas/Offer'
84509
84601
  description: Gets or sets the courses offers.
84510
84602
  nullable: true
84603
+ images:
84604
+ type: array
84605
+ items:
84606
+ $ref: '#/components/schemas/Image'
84607
+ description: Gets or sets the venues referenced images.
84608
+ nullable: true
84511
84609
  activityType:
84512
84610
  $ref: '#/components/schemas/ActivityType'
84513
84611
  durationMinutes:
@@ -84658,12 +84756,6 @@ components:
84658
84756
  $ref: '#/components/schemas/CourseSession'
84659
84757
  description: Gets or sets the courses sessions.
84660
84758
  nullable: true
84661
- images:
84662
- type: array
84663
- items:
84664
- $ref: '#/components/schemas/Image'
84665
- description: Gets or sets the venues referenced images.
84666
- nullable: true
84667
84759
  registrationWaitlist:
84668
84760
  type: array
84669
84761
  items:
@@ -84699,7 +84791,6 @@ components:
84699
84791
  CourseCreate:
84700
84792
  required:
84701
84793
  - activityId
84702
- - contactEmail
84703
84794
  - id
84704
84795
  - name
84705
84796
  - tenantId
@@ -84794,9 +84885,9 @@ components:
84794
84885
  description: Gets or sets the contact phone.
84795
84886
  nullable: true
84796
84887
  contactEmail:
84797
- minLength: 1
84798
84888
  type: string
84799
84889
  description: Gets or sets the contact email.
84890
+ nullable: true
84800
84891
  venue:
84801
84892
  $ref: '#/components/schemas/CreateVenue'
84802
84893
  scheduleIds:
@@ -90511,12 +90602,24 @@ components:
90511
90602
  minLength: 1
90512
90603
  type: string
90513
90604
  description: Gets or sets the contact email.
90605
+ computedImage:
90606
+ type: string
90607
+ description: Gets the computed image url.
90608
+ format: uri
90609
+ nullable: true
90610
+ readOnly: true
90514
90611
  offers:
90515
90612
  type: array
90516
90613
  items:
90517
90614
  $ref: '#/components/schemas/Offer'
90518
90615
  description: Gets or sets the courses offers.
90519
90616
  nullable: true
90617
+ images:
90618
+ type: array
90619
+ items:
90620
+ $ref: '#/components/schemas/Image'
90621
+ description: Gets or sets the venues referenced images.
90622
+ nullable: true
90520
90623
  activityType:
90521
90624
  $ref: '#/components/schemas/ActivityType'
90522
90625
  sessionType:
@@ -90599,12 +90702,6 @@ components:
90599
90702
  $ref: '#/components/schemas/Programme'
90600
90703
  schedule:
90601
90704
  $ref: '#/components/schemas/ScheduledSessionSchedule'
90602
- images:
90603
- type: array
90604
- items:
90605
- $ref: '#/components/schemas/Image'
90606
- description: Gets or sets the venues referenced images.
90607
- nullable: true
90608
90705
  registrationWaitlist:
90609
90706
  type: array
90610
90707
  items:
@@ -90616,7 +90713,6 @@ components:
90616
90713
  SessionCreate:
90617
90714
  required:
90618
90715
  - activityId
90619
- - contactEmail
90620
90716
  - id
90621
90717
  - name
90622
90718
  - tenantId
@@ -90711,9 +90807,9 @@ components:
90711
90807
  description: Gets or sets the contact phone.
90712
90808
  nullable: true
90713
90809
  contactEmail:
90714
- minLength: 1
90715
90810
  type: string
90716
90811
  description: Gets or sets the contact email.
90812
+ nullable: true
90717
90813
  venue:
90718
90814
  $ref: '#/components/schemas/CreateVenue'
90719
90815
  scheduleIds:
@@ -94270,7 +94366,6 @@ components:
94270
94366
  description: Gets or sets the venue image url.
94271
94367
  format: uri
94272
94368
  nullable: true
94273
- deprecated: true
94274
94369
  streetAddress:
94275
94370
  minLength: 1
94276
94371
  type: string
@@ -94344,6 +94439,12 @@ components:
94344
94439
  type: boolean
94345
94440
  description: Gets or sets a value indicating whether the venue is published on the booking website.
94346
94441
  nullable: true
94442
+ computedImage:
94443
+ type: string
94444
+ description: Gets the computed image url.
94445
+ format: uri
94446
+ nullable: true
94447
+ readOnly: true
94347
94448
  storefrontUrl:
94348
94449
  type: string
94349
94450
  description: Gets or sets the storefront url.
@@ -134,10 +134,18 @@ export type Course = {
134
134
  * Gets or sets the contact email.
135
135
  */
136
136
  contactEmail: string;
137
+ /**
138
+ * Gets the computed image url.
139
+ */
140
+ readonly computedImage?: string | null;
137
141
  /**
138
142
  * Gets or sets the courses offers.
139
143
  */
140
144
  offers?: Array<Offer> | null;
145
+ /**
146
+ * Gets or sets the venues referenced images.
147
+ */
148
+ images?: Array<Image> | null;
141
149
  activityType?: ActivityType;
142
150
  /**
143
151
  * Gets or sets the course duration, added to satisfy interface but is not applicable to courses.
@@ -259,10 +267,6 @@ export type Course = {
259
267
  * Gets or sets the courses sessions.
260
268
  */
261
269
  sessions?: Array<CourseSession> | null;
262
- /**
263
- * Gets or sets the venues referenced images.
264
- */
265
- images?: Array<Image> | null;
266
270
  /**
267
271
  * Gets or sets the customers on the registration waitlist.
268
272
  */
@@ -92,7 +92,7 @@ export type CourseCreate = {
92
92
  /**
93
93
  * Gets or sets the contact email.
94
94
  */
95
- contactEmail: string;
95
+ contactEmail?: string | null;
96
96
  venue?: CreateVenue;
97
97
  /**
98
98
  * Gets or sets the the schedule ids to be made active.
@@ -128,10 +128,18 @@ export type Session = {
128
128
  * Gets or sets the contact email.
129
129
  */
130
130
  contactEmail: string;
131
+ /**
132
+ * Gets the computed image url.
133
+ */
134
+ readonly computedImage?: string | null;
131
135
  /**
132
136
  * Gets or sets the courses offers.
133
137
  */
134
138
  offers?: Array<Offer> | null;
139
+ /**
140
+ * Gets or sets the venues referenced images.
141
+ */
142
+ images?: Array<Image> | null;
135
143
  activityType?: ActivityType;
136
144
  sessionType?: SessionType;
137
145
  /**
@@ -203,10 +211,6 @@ export type Session = {
203
211
  activity?: Activity;
204
212
  programme?: Programme;
205
213
  schedule?: ScheduledSessionSchedule;
206
- /**
207
- * Gets or sets the venues referenced images.
208
- */
209
- images?: Array<Image> | null;
210
214
  /**
211
215
  * Gets or sets the customers on the waitlist.
212
216
  */
@@ -92,7 +92,7 @@ export type SessionCreate = {
92
92
  /**
93
93
  * Gets or sets the contact email.
94
94
  */
95
- contactEmail: string;
95
+ contactEmail?: string | null;
96
96
  venue?: CreateVenue;
97
97
  /**
98
98
  * Gets or sets the the schedule ids to be made active.
@@ -92,7 +92,6 @@ export type Venue = {
92
92
  description?: string | null;
93
93
  /**
94
94
  * Gets or sets the venue image url.
95
- * @deprecated
96
95
  */
97
96
  imageUrl?: string | null;
98
97
  /**
@@ -163,6 +162,10 @@ export type Venue = {
163
162
  * Gets or sets a value indicating whether the venue is published on the booking website.
164
163
  */
165
164
  publishedOnWeb?: boolean | null;
165
+ /**
166
+ * Gets the computed image url.
167
+ */
168
+ readonly computedImage?: string | null;
166
169
  /**
167
170
  * Gets or sets the storefront url.
168
171
  */
@@ -2,6 +2,7 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
+ import type { InviteStatus } from '../models/InviteStatus';
5
6
  import type { NotificationSetting } from '../models/NotificationSetting';
6
7
  import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
7
8
  import type { User } from '../models/User';
@@ -43,6 +44,7 @@ export class UsersService {
43
44
  name,
44
45
  nameLike,
45
46
  email,
47
+ inviteStatus,
46
48
  pageNumber,
47
49
  take,
48
50
  limitListRequests,
@@ -74,6 +76,10 @@ export class UsersService {
74
76
  * Gets or sets the users Email for use in a query search.
75
77
  */
76
78
  email?: string;
79
+ /**
80
+ * Gets or sets the team member invite status for use in a query search.
81
+ */
82
+ inviteStatus?: InviteStatus;
77
83
  /**
78
84
  * Gets or sets the page number for paged queries.
79
85
  */
@@ -124,6 +130,7 @@ export class UsersService {
124
130
  Name: name,
125
131
  NameLike: nameLike,
126
132
  Email: email,
133
+ InviteStatus: inviteStatus,
127
134
  PageNumber: pageNumber,
128
135
  Take: take,
129
136
  LimitListRequests: limitListRequests,
@@ -143,6 +150,33 @@ export class UsersService {
143
150
  });
144
151
  }
145
152
 
153
+ /**
154
+ * Get a users invite status.
155
+ * @returns InviteStatus Success
156
+ * @throws ApiError
157
+ */
158
+ public inviteStatus({
159
+ email,
160
+ }: {
161
+ /**
162
+ * The email address of the user.
163
+ */
164
+ email?: string;
165
+ }): CancelablePromise<InviteStatus> {
166
+ return this.httpRequest.request({
167
+ method: 'GET',
168
+ url: '/api/users/invite-status',
169
+ query: {
170
+ email: email,
171
+ },
172
+ errors: {
173
+ 400: `Bad Request`,
174
+ 422: `Client Error`,
175
+ 500: `Server Error`,
176
+ },
177
+ });
178
+ }
179
+
146
180
  /**
147
181
  * Checks whether stripe accounts exist for the .
148
182
  * @returns boolean Success
@@ -242,6 +276,7 @@ export class UsersService {
242
276
  name,
243
277
  nameLike,
244
278
  email,
279
+ inviteStatus,
245
280
  pageNumber,
246
281
  take,
247
282
  limitListRequests,
@@ -273,6 +308,10 @@ export class UsersService {
273
308
  * Gets or sets the users Email for use in a query search.
274
309
  */
275
310
  email?: string;
311
+ /**
312
+ * Gets or sets the team member invite status for use in a query search.
313
+ */
314
+ inviteStatus?: InviteStatus;
276
315
  /**
277
316
  * Gets or sets the page number for paged queries.
278
317
  */
@@ -323,6 +362,7 @@ export class UsersService {
323
362
  Name: name,
324
363
  NameLike: nameLike,
325
364
  Email: email,
365
+ InviteStatus: inviteStatus,
326
366
  PageNumber: pageNumber,
327
367
  Take: take,
328
368
  LimitListRequests: limitListRequests,
@@ -353,6 +393,7 @@ export class UsersService {
353
393
  name,
354
394
  nameLike,
355
395
  email,
396
+ inviteStatus,
356
397
  pageNumber,
357
398
  take,
358
399
  limitListRequests,
@@ -384,6 +425,10 @@ export class UsersService {
384
425
  * Gets or sets the users Email for use in a query search.
385
426
  */
386
427
  email?: string;
428
+ /**
429
+ * Gets or sets the team member invite status for use in a query search.
430
+ */
431
+ inviteStatus?: InviteStatus;
387
432
  /**
388
433
  * Gets or sets the page number for paged queries.
389
434
  */
@@ -434,6 +479,7 @@ export class UsersService {
434
479
  Name: name,
435
480
  NameLike: nameLike,
436
481
  Email: email,
482
+ InviteStatus: inviteStatus,
437
483
  PageNumber: pageNumber,
438
484
  Take: take,
439
485
  LimitListRequests: limitListRequests,
@@ -490,6 +536,7 @@ export class UsersService {
490
536
  name,
491
537
  nameLike,
492
538
  email,
539
+ inviteStatus,
493
540
  pageNumber,
494
541
  take,
495
542
  limitListRequests,
@@ -521,6 +568,10 @@ export class UsersService {
521
568
  * Gets or sets the users Email for use in a query search.
522
569
  */
523
570
  email?: string;
571
+ /**
572
+ * Gets or sets the team member invite status for use in a query search.
573
+ */
574
+ inviteStatus?: InviteStatus;
524
575
  /**
525
576
  * Gets or sets the page number for paged queries.
526
577
  */
@@ -571,6 +622,7 @@ export class UsersService {
571
622
  Name: name,
572
623
  NameLike: nameLike,
573
624
  Email: email,
625
+ InviteStatus: inviteStatus,
574
626
  PageNumber: pageNumber,
575
627
  Take: take,
576
628
  LimitListRequests: limitListRequests,
@@ -601,6 +653,7 @@ export class UsersService {
601
653
  name,
602
654
  nameLike,
603
655
  email,
656
+ inviteStatus,
604
657
  pageNumber,
605
658
  take,
606
659
  limitListRequests,
@@ -632,6 +685,10 @@ export class UsersService {
632
685
  * Gets or sets the users Email for use in a query search.
633
686
  */
634
687
  email?: string;
688
+ /**
689
+ * Gets or sets the team member invite status for use in a query search.
690
+ */
691
+ inviteStatus?: InviteStatus;
635
692
  /**
636
693
  * Gets or sets the page number for paged queries.
637
694
  */
@@ -682,6 +739,7 @@ export class UsersService {
682
739
  Name: name,
683
740
  NameLike: nameLike,
684
741
  Email: email,
742
+ InviteStatus: inviteStatus,
685
743
  PageNumber: pageNumber,
686
744
  Take: take,
687
745
  LimitListRequests: limitListRequests,