reach-api-sdk 1.0.188 → 1.0.190
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/dist/reach-sdk.d.ts +190 -9
- package/dist/reach-sdk.js +148 -1
- package/package.json +1 -1
- package/src/apiClient.ts +3 -0
- package/src/definition/swagger.yaml +458 -0
- package/src/index.ts +3 -0
- package/src/models/Customer.ts +4 -0
- package/src/models/EndUserIdentitySecureToken.ts +37 -0
- package/src/models/ResolveSecureAccessTokenRequest.ts +14 -0
- package/src/services/CustomersService.ts +36 -0
- package/src/services/EndUserIdentitySecureTokenService.ts +177 -0
- package/src/services/PublicCustomersService.ts +47 -0
package/package.json
CHANGED
package/src/apiClient.ts
CHANGED
|
@@ -24,6 +24,7 @@ import { DealsService } from './services/DealsService';
|
|
|
24
24
|
import { DiscountCodeUsesService } from './services/DiscountCodeUsesService';
|
|
25
25
|
import { EmailReminderSchedulesService } from './services/EmailReminderSchedulesService';
|
|
26
26
|
import { EmailSettingsService } from './services/EmailSettingsService';
|
|
27
|
+
import { EndUserIdentitySecureTokenService } from './services/EndUserIdentitySecureTokenService';
|
|
27
28
|
import { EnglandGolfReportService } from './services/EnglandGolfReportService';
|
|
28
29
|
import { FacilitiesService } from './services/FacilitiesService';
|
|
29
30
|
import { FacilityIndividualsService } from './services/FacilityIndividualsService';
|
|
@@ -143,6 +144,7 @@ export class ApiClient {
|
|
|
143
144
|
public readonly discountCodeUses: DiscountCodeUsesService;
|
|
144
145
|
public readonly emailReminderSchedules: EmailReminderSchedulesService;
|
|
145
146
|
public readonly emailSettings: EmailSettingsService;
|
|
147
|
+
public readonly endUserIdentitySecureToken: EndUserIdentitySecureTokenService;
|
|
146
148
|
public readonly englandGolfReport: EnglandGolfReportService;
|
|
147
149
|
public readonly facilities: FacilitiesService;
|
|
148
150
|
public readonly facilityIndividuals: FacilityIndividualsService;
|
|
@@ -277,6 +279,7 @@ export class ApiClient {
|
|
|
277
279
|
this.discountCodeUses = new DiscountCodeUsesService(this.request);
|
|
278
280
|
this.emailReminderSchedules = new EmailReminderSchedulesService(this.request);
|
|
279
281
|
this.emailSettings = new EmailSettingsService(this.request);
|
|
282
|
+
this.endUserIdentitySecureToken = new EndUserIdentitySecureTokenService(this.request);
|
|
280
283
|
this.englandGolfReport = new EnglandGolfReportService(this.request);
|
|
281
284
|
this.facilities = new FacilitiesService(this.request);
|
|
282
285
|
this.facilityIndividuals = new FacilityIndividualsService(this.request);
|
|
@@ -12998,6 +12998,12 @@ paths:
|
|
|
12998
12998
|
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
12999
12999
|
schema:
|
|
13000
13000
|
type: boolean
|
|
13001
|
+
- name: EndUserIdentityId
|
|
13002
|
+
in: query
|
|
13003
|
+
description: Gets or sets the customers end user identity id.
|
|
13004
|
+
schema:
|
|
13005
|
+
type: string
|
|
13006
|
+
format: uuid
|
|
13001
13007
|
- name: PageNumber
|
|
13002
13008
|
in: query
|
|
13003
13009
|
description: Gets or sets the page number for paged queries.
|
|
@@ -13154,6 +13160,12 @@ paths:
|
|
|
13154
13160
|
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
13155
13161
|
schema:
|
|
13156
13162
|
type: boolean
|
|
13163
|
+
- name: EndUserIdentityId
|
|
13164
|
+
in: query
|
|
13165
|
+
description: Gets or sets the customers end user identity id.
|
|
13166
|
+
schema:
|
|
13167
|
+
type: string
|
|
13168
|
+
format: uuid
|
|
13157
13169
|
- name: PageNumber
|
|
13158
13170
|
in: query
|
|
13159
13171
|
description: Gets or sets the page number for paged queries.
|
|
@@ -13644,6 +13656,12 @@ paths:
|
|
|
13644
13656
|
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
13645
13657
|
schema:
|
|
13646
13658
|
type: boolean
|
|
13659
|
+
- name: EndUserIdentityId
|
|
13660
|
+
in: query
|
|
13661
|
+
description: Gets or sets the customers end user identity id.
|
|
13662
|
+
schema:
|
|
13663
|
+
type: string
|
|
13664
|
+
format: uuid
|
|
13647
13665
|
- name: PageNumber
|
|
13648
13666
|
in: query
|
|
13649
13667
|
description: Gets or sets the page number for paged queries.
|
|
@@ -13975,6 +13993,12 @@ paths:
|
|
|
13975
13993
|
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
13976
13994
|
schema:
|
|
13977
13995
|
type: boolean
|
|
13996
|
+
- name: EndUserIdentityId
|
|
13997
|
+
in: query
|
|
13998
|
+
description: Gets or sets the customers end user identity id.
|
|
13999
|
+
schema:
|
|
14000
|
+
type: string
|
|
14001
|
+
format: uuid
|
|
13978
14002
|
- name: PageNumber
|
|
13979
14003
|
in: query
|
|
13980
14004
|
description: Gets or sets the page number for paged queries.
|
|
@@ -14128,6 +14152,12 @@ paths:
|
|
|
14128
14152
|
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
14129
14153
|
schema:
|
|
14130
14154
|
type: boolean
|
|
14155
|
+
- name: EndUserIdentityId
|
|
14156
|
+
in: query
|
|
14157
|
+
description: Gets or sets the customers end user identity id.
|
|
14158
|
+
schema:
|
|
14159
|
+
type: string
|
|
14160
|
+
format: uuid
|
|
14131
14161
|
- name: PageNumber
|
|
14132
14162
|
in: query
|
|
14133
14163
|
description: Gets or sets the page number for paged queries.
|
|
@@ -14287,6 +14317,12 @@ paths:
|
|
|
14287
14317
|
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
14288
14318
|
schema:
|
|
14289
14319
|
type: boolean
|
|
14320
|
+
- name: EndUserIdentityId
|
|
14321
|
+
in: query
|
|
14322
|
+
description: Gets or sets the customers end user identity id.
|
|
14323
|
+
schema:
|
|
14324
|
+
type: string
|
|
14325
|
+
format: uuid
|
|
14290
14326
|
- name: PageNumber
|
|
14291
14327
|
in: query
|
|
14292
14328
|
description: Gets or sets the page number for paged queries.
|
|
@@ -20356,6 +20392,313 @@ paths:
|
|
|
20356
20392
|
text/json:
|
|
20357
20393
|
schema:
|
|
20358
20394
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
20395
|
+
'/api/end-user-identity-secure-tokens/{id}':
|
|
20396
|
+
get:
|
|
20397
|
+
tags:
|
|
20398
|
+
- EndUserIdentitySecureToken
|
|
20399
|
+
summary: Gets a Reach.Models.EndUserIdentitySecureToken by its Id.
|
|
20400
|
+
operationId: GetObject
|
|
20401
|
+
parameters:
|
|
20402
|
+
- name: id
|
|
20403
|
+
in: path
|
|
20404
|
+
description: The Reach.Models.EndUserIdentitySecureToken id.
|
|
20405
|
+
required: true
|
|
20406
|
+
schema:
|
|
20407
|
+
type: string
|
|
20408
|
+
format: uuid
|
|
20409
|
+
responses:
|
|
20410
|
+
'200':
|
|
20411
|
+
description: OK
|
|
20412
|
+
content:
|
|
20413
|
+
text/plain:
|
|
20414
|
+
schema:
|
|
20415
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20416
|
+
application/json:
|
|
20417
|
+
schema:
|
|
20418
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20419
|
+
text/json:
|
|
20420
|
+
schema:
|
|
20421
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20422
|
+
'400':
|
|
20423
|
+
description: Bad Request
|
|
20424
|
+
content:
|
|
20425
|
+
text/plain:
|
|
20426
|
+
schema:
|
|
20427
|
+
$ref: '#/components/schemas/ReachError'
|
|
20428
|
+
application/json:
|
|
20429
|
+
schema:
|
|
20430
|
+
$ref: '#/components/schemas/ReachError'
|
|
20431
|
+
text/json:
|
|
20432
|
+
schema:
|
|
20433
|
+
$ref: '#/components/schemas/ReachError'
|
|
20434
|
+
'500':
|
|
20435
|
+
description: Internal Server Error
|
|
20436
|
+
content:
|
|
20437
|
+
text/plain:
|
|
20438
|
+
schema:
|
|
20439
|
+
$ref: '#/components/schemas/ReachError'
|
|
20440
|
+
application/json:
|
|
20441
|
+
schema:
|
|
20442
|
+
$ref: '#/components/schemas/ReachError'
|
|
20443
|
+
text/json:
|
|
20444
|
+
schema:
|
|
20445
|
+
$ref: '#/components/schemas/ReachError'
|
|
20446
|
+
'422':
|
|
20447
|
+
description: Unprocessable Content
|
|
20448
|
+
content:
|
|
20449
|
+
text/plain:
|
|
20450
|
+
schema:
|
|
20451
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20452
|
+
application/json:
|
|
20453
|
+
schema:
|
|
20454
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20455
|
+
text/json:
|
|
20456
|
+
schema:
|
|
20457
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20458
|
+
/api/end-user-identity-secure-tokens/resolve:
|
|
20459
|
+
post:
|
|
20460
|
+
tags:
|
|
20461
|
+
- EndUserIdentitySecureToken
|
|
20462
|
+
summary: Gets a Reach.Models.EndUserIdentitySecureToken by its secure token string.
|
|
20463
|
+
operationId: GetObjectByToken
|
|
20464
|
+
requestBody:
|
|
20465
|
+
description: The secure token.
|
|
20466
|
+
content:
|
|
20467
|
+
application/json:
|
|
20468
|
+
schema:
|
|
20469
|
+
$ref: '#/components/schemas/ResolveSecureAccessTokenRequest'
|
|
20470
|
+
text/json:
|
|
20471
|
+
schema:
|
|
20472
|
+
$ref: '#/components/schemas/ResolveSecureAccessTokenRequest'
|
|
20473
|
+
application/*+json:
|
|
20474
|
+
schema:
|
|
20475
|
+
$ref: '#/components/schemas/ResolveSecureAccessTokenRequest'
|
|
20476
|
+
responses:
|
|
20477
|
+
'200':
|
|
20478
|
+
description: OK
|
|
20479
|
+
content:
|
|
20480
|
+
text/plain:
|
|
20481
|
+
schema:
|
|
20482
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20483
|
+
application/json:
|
|
20484
|
+
schema:
|
|
20485
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20486
|
+
text/json:
|
|
20487
|
+
schema:
|
|
20488
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20489
|
+
'400':
|
|
20490
|
+
description: Bad Request
|
|
20491
|
+
content:
|
|
20492
|
+
text/plain:
|
|
20493
|
+
schema:
|
|
20494
|
+
$ref: '#/components/schemas/ReachError'
|
|
20495
|
+
application/json:
|
|
20496
|
+
schema:
|
|
20497
|
+
$ref: '#/components/schemas/ReachError'
|
|
20498
|
+
text/json:
|
|
20499
|
+
schema:
|
|
20500
|
+
$ref: '#/components/schemas/ReachError'
|
|
20501
|
+
'500':
|
|
20502
|
+
description: Internal Server Error
|
|
20503
|
+
content:
|
|
20504
|
+
text/plain:
|
|
20505
|
+
schema:
|
|
20506
|
+
$ref: '#/components/schemas/ReachError'
|
|
20507
|
+
application/json:
|
|
20508
|
+
schema:
|
|
20509
|
+
$ref: '#/components/schemas/ReachError'
|
|
20510
|
+
text/json:
|
|
20511
|
+
schema:
|
|
20512
|
+
$ref: '#/components/schemas/ReachError'
|
|
20513
|
+
'422':
|
|
20514
|
+
description: Unprocessable Content
|
|
20515
|
+
content:
|
|
20516
|
+
text/plain:
|
|
20517
|
+
schema:
|
|
20518
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20519
|
+
application/json:
|
|
20520
|
+
schema:
|
|
20521
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20522
|
+
text/json:
|
|
20523
|
+
schema:
|
|
20524
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20525
|
+
/api/end-user-identity-secure-tokens:
|
|
20526
|
+
get:
|
|
20527
|
+
tags:
|
|
20528
|
+
- EndUserIdentitySecureToken
|
|
20529
|
+
summary: Gets a list of Reach.Models.EndUserIdentitySecureToken.
|
|
20530
|
+
operationId: GetList
|
|
20531
|
+
parameters:
|
|
20532
|
+
- name: Token
|
|
20533
|
+
in: query
|
|
20534
|
+
description: Gets or sets the queryable token.
|
|
20535
|
+
schema:
|
|
20536
|
+
type: string
|
|
20537
|
+
- name: PageNumber
|
|
20538
|
+
in: query
|
|
20539
|
+
description: Gets or sets the page number for paged queries.
|
|
20540
|
+
schema:
|
|
20541
|
+
type: integer
|
|
20542
|
+
format: int32
|
|
20543
|
+
- name: Take
|
|
20544
|
+
in: query
|
|
20545
|
+
description: 'Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.'
|
|
20546
|
+
schema:
|
|
20547
|
+
type: integer
|
|
20548
|
+
format: int32
|
|
20549
|
+
- name: Skip
|
|
20550
|
+
in: query
|
|
20551
|
+
description: 'Gets or sets how much items to skip from begining of db table, when this is set page is always 1.'
|
|
20552
|
+
schema:
|
|
20553
|
+
type: integer
|
|
20554
|
+
format: int32
|
|
20555
|
+
- name: LimitListRequests
|
|
20556
|
+
in: query
|
|
20557
|
+
description: Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
20558
|
+
schema:
|
|
20559
|
+
type: boolean
|
|
20560
|
+
- name: TenantId
|
|
20561
|
+
in: query
|
|
20562
|
+
description: Gets or sets the Tenant Id.
|
|
20563
|
+
schema:
|
|
20564
|
+
type: string
|
|
20565
|
+
format: uuid
|
|
20566
|
+
- name: ModifiedById
|
|
20567
|
+
in: query
|
|
20568
|
+
description: Gets or sets the Modifed By Id.
|
|
20569
|
+
schema:
|
|
20570
|
+
type: string
|
|
20571
|
+
format: uuid
|
|
20572
|
+
- name: ModifiedByIds
|
|
20573
|
+
in: query
|
|
20574
|
+
description: Gets or sets the Modifed By Ids.
|
|
20575
|
+
schema:
|
|
20576
|
+
type: array
|
|
20577
|
+
items:
|
|
20578
|
+
type: string
|
|
20579
|
+
format: uuid
|
|
20580
|
+
- name: DateCreatedGTE
|
|
20581
|
+
in: query
|
|
20582
|
+
description: Gets or sets the Date Created greater than equal to.
|
|
20583
|
+
schema:
|
|
20584
|
+
type: string
|
|
20585
|
+
format: date-time
|
|
20586
|
+
- name: DateCreatedLTE
|
|
20587
|
+
in: query
|
|
20588
|
+
description: Gets or sets the Date Created less than equal to.
|
|
20589
|
+
schema:
|
|
20590
|
+
type: string
|
|
20591
|
+
format: date-time
|
|
20592
|
+
- name: IsLive
|
|
20593
|
+
in: query
|
|
20594
|
+
description: Gets or sets the queryable only is live status.
|
|
20595
|
+
schema:
|
|
20596
|
+
type: boolean
|
|
20597
|
+
- name: SortOrderDirection
|
|
20598
|
+
in: query
|
|
20599
|
+
description: Gets or sets the sort order direction.
|
|
20600
|
+
schema:
|
|
20601
|
+
$ref: '#/components/schemas/SearchSortOrderDirection'
|
|
20602
|
+
responses:
|
|
20603
|
+
'200':
|
|
20604
|
+
description: OK
|
|
20605
|
+
content:
|
|
20606
|
+
text/plain:
|
|
20607
|
+
schema:
|
|
20608
|
+
type: array
|
|
20609
|
+
items:
|
|
20610
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20611
|
+
application/json:
|
|
20612
|
+
schema:
|
|
20613
|
+
type: array
|
|
20614
|
+
items:
|
|
20615
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20616
|
+
text/json:
|
|
20617
|
+
schema:
|
|
20618
|
+
type: array
|
|
20619
|
+
items:
|
|
20620
|
+
$ref: '#/components/schemas/EndUserIdentitySecureToken'
|
|
20621
|
+
'400':
|
|
20622
|
+
description: Bad Request
|
|
20623
|
+
content:
|
|
20624
|
+
text/plain:
|
|
20625
|
+
schema:
|
|
20626
|
+
$ref: '#/components/schemas/ReachError'
|
|
20627
|
+
application/json:
|
|
20628
|
+
schema:
|
|
20629
|
+
$ref: '#/components/schemas/ReachError'
|
|
20630
|
+
text/json:
|
|
20631
|
+
schema:
|
|
20632
|
+
$ref: '#/components/schemas/ReachError'
|
|
20633
|
+
'500':
|
|
20634
|
+
description: Internal Server Error
|
|
20635
|
+
content:
|
|
20636
|
+
text/plain:
|
|
20637
|
+
schema:
|
|
20638
|
+
$ref: '#/components/schemas/ReachError'
|
|
20639
|
+
application/json:
|
|
20640
|
+
schema:
|
|
20641
|
+
$ref: '#/components/schemas/ReachError'
|
|
20642
|
+
text/json:
|
|
20643
|
+
schema:
|
|
20644
|
+
$ref: '#/components/schemas/ReachError'
|
|
20645
|
+
'422':
|
|
20646
|
+
description: Unprocessable Content
|
|
20647
|
+
content:
|
|
20648
|
+
text/plain:
|
|
20649
|
+
schema:
|
|
20650
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20651
|
+
application/json:
|
|
20652
|
+
schema:
|
|
20653
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20654
|
+
text/json:
|
|
20655
|
+
schema:
|
|
20656
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20657
|
+
/api/end-user-identity-secure-tokens/back-fill:
|
|
20658
|
+
get:
|
|
20659
|
+
tags:
|
|
20660
|
+
- EndUserIdentitySecureToken
|
|
20661
|
+
summary: Backfills the secure access tokens for all end user identities. Should only be run once and by existing developers whos db structure is outdated with relevance to end user identities.
|
|
20662
|
+
operationId: BackfillTokens
|
|
20663
|
+
responses:
|
|
20664
|
+
'200':
|
|
20665
|
+
description: OK
|
|
20666
|
+
'400':
|
|
20667
|
+
description: Bad Request
|
|
20668
|
+
content:
|
|
20669
|
+
text/plain:
|
|
20670
|
+
schema:
|
|
20671
|
+
$ref: '#/components/schemas/ReachError'
|
|
20672
|
+
application/json:
|
|
20673
|
+
schema:
|
|
20674
|
+
$ref: '#/components/schemas/ReachError'
|
|
20675
|
+
text/json:
|
|
20676
|
+
schema:
|
|
20677
|
+
$ref: '#/components/schemas/ReachError'
|
|
20678
|
+
'500':
|
|
20679
|
+
description: Internal Server Error
|
|
20680
|
+
content:
|
|
20681
|
+
text/plain:
|
|
20682
|
+
schema:
|
|
20683
|
+
$ref: '#/components/schemas/ReachError'
|
|
20684
|
+
application/json:
|
|
20685
|
+
schema:
|
|
20686
|
+
$ref: '#/components/schemas/ReachError'
|
|
20687
|
+
text/json:
|
|
20688
|
+
schema:
|
|
20689
|
+
$ref: '#/components/schemas/ReachError'
|
|
20690
|
+
'422':
|
|
20691
|
+
description: Unprocessable Content
|
|
20692
|
+
content:
|
|
20693
|
+
text/plain:
|
|
20694
|
+
schema:
|
|
20695
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20696
|
+
application/json:
|
|
20697
|
+
schema:
|
|
20698
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20699
|
+
text/json:
|
|
20700
|
+
schema:
|
|
20701
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
20359
20702
|
/api/reports/england-golf/send-email:
|
|
20360
20703
|
post:
|
|
20361
20704
|
tags:
|
|
@@ -54285,6 +54628,12 @@ paths:
|
|
|
54285
54628
|
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
54286
54629
|
schema:
|
|
54287
54630
|
type: boolean
|
|
54631
|
+
- name: EndUserIdentityId
|
|
54632
|
+
in: query
|
|
54633
|
+
description: Gets or sets the customers end user identity id.
|
|
54634
|
+
schema:
|
|
54635
|
+
type: string
|
|
54636
|
+
format: uuid
|
|
54288
54637
|
- name: PageNumber
|
|
54289
54638
|
in: query
|
|
54290
54639
|
description: Gets or sets the page number for paged queries.
|
|
@@ -54461,6 +54810,64 @@ paths:
|
|
|
54461
54810
|
text/json:
|
|
54462
54811
|
schema:
|
|
54463
54812
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
54813
|
+
'/api/public/customers/accessible-tenants/{endUserIdentityId}':
|
|
54814
|
+
get:
|
|
54815
|
+
tags:
|
|
54816
|
+
- PublicCustomers
|
|
54817
|
+
summary: Returns the tenants accessible to the end user.
|
|
54818
|
+
operationId: GetCustomerAccessibleTenants
|
|
54819
|
+
parameters:
|
|
54820
|
+
- name: x_tenant_subdomain
|
|
54821
|
+
in: header
|
|
54822
|
+
description: The tenants subdomain.
|
|
54823
|
+
schema:
|
|
54824
|
+
type: string
|
|
54825
|
+
- name: endUserIdentityId
|
|
54826
|
+
in: path
|
|
54827
|
+
description: The end user identity id.
|
|
54828
|
+
required: true
|
|
54829
|
+
schema:
|
|
54830
|
+
type: string
|
|
54831
|
+
format: uuid
|
|
54832
|
+
responses:
|
|
54833
|
+
'200':
|
|
54834
|
+
description: OK
|
|
54835
|
+
'400':
|
|
54836
|
+
description: Bad Request
|
|
54837
|
+
content:
|
|
54838
|
+
text/plain:
|
|
54839
|
+
schema:
|
|
54840
|
+
$ref: '#/components/schemas/ReachError'
|
|
54841
|
+
application/json:
|
|
54842
|
+
schema:
|
|
54843
|
+
$ref: '#/components/schemas/ReachError'
|
|
54844
|
+
text/json:
|
|
54845
|
+
schema:
|
|
54846
|
+
$ref: '#/components/schemas/ReachError'
|
|
54847
|
+
'500':
|
|
54848
|
+
description: Internal Server Error
|
|
54849
|
+
content:
|
|
54850
|
+
text/plain:
|
|
54851
|
+
schema:
|
|
54852
|
+
$ref: '#/components/schemas/ReachError'
|
|
54853
|
+
application/json:
|
|
54854
|
+
schema:
|
|
54855
|
+
$ref: '#/components/schemas/ReachError'
|
|
54856
|
+
text/json:
|
|
54857
|
+
schema:
|
|
54858
|
+
$ref: '#/components/schemas/ReachError'
|
|
54859
|
+
'422':
|
|
54860
|
+
description: Unprocessable Content
|
|
54861
|
+
content:
|
|
54862
|
+
text/plain:
|
|
54863
|
+
schema:
|
|
54864
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
54865
|
+
application/json:
|
|
54866
|
+
schema:
|
|
54867
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
54868
|
+
text/json:
|
|
54869
|
+
schema:
|
|
54870
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
54464
54871
|
/api/public/customers/v2-temporary-route:
|
|
54465
54872
|
post:
|
|
54466
54873
|
tags:
|
|
@@ -54735,6 +55142,12 @@ paths:
|
|
|
54735
55142
|
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
54736
55143
|
schema:
|
|
54737
55144
|
type: boolean
|
|
55145
|
+
- name: EndUserIdentityId
|
|
55146
|
+
in: query
|
|
55147
|
+
description: Gets or sets the customers end user identity id.
|
|
55148
|
+
schema:
|
|
55149
|
+
type: string
|
|
55150
|
+
format: uuid
|
|
54738
55151
|
- name: PageNumber
|
|
54739
55152
|
in: query
|
|
54740
55153
|
description: Gets or sets the page number for paged queries.
|
|
@@ -122517,6 +122930,11 @@ components:
|
|
|
122517
122930
|
description: Gets or sets how many times the customer has booked with the organisation.
|
|
122518
122931
|
format: int32
|
|
122519
122932
|
nullable: true
|
|
122933
|
+
endUserIdentityId:
|
|
122934
|
+
type: string
|
|
122935
|
+
description: Gets or sets the customers end user identity id.
|
|
122936
|
+
format: uuid
|
|
122937
|
+
nullable: true
|
|
122520
122938
|
stats:
|
|
122521
122939
|
$ref: '#/components/schemas/CustomerStats'
|
|
122522
122940
|
attendees:
|
|
@@ -123599,6 +124017,37 @@ components:
|
|
|
123599
124017
|
format: uuid
|
|
123600
124018
|
additionalProperties: false
|
|
123601
124019
|
description: Post model for email setting inserts.
|
|
124020
|
+
EndUserIdentitySecureToken:
|
|
124021
|
+
type: object
|
|
124022
|
+
properties:
|
|
124023
|
+
id:
|
|
124024
|
+
type: string
|
|
124025
|
+
description: Gets or sets the activities Id.
|
|
124026
|
+
format: uuid
|
|
124027
|
+
token:
|
|
124028
|
+
type: string
|
|
124029
|
+
description: Gets or sets the secure token.
|
|
124030
|
+
nullable: true
|
|
124031
|
+
endUserIdentityId:
|
|
124032
|
+
type: string
|
|
124033
|
+
description: Gets or sets the end user identity id.
|
|
124034
|
+
format: uuid
|
|
124035
|
+
tenantId:
|
|
124036
|
+
type: string
|
|
124037
|
+
description: Gets or sets the tenant id.
|
|
124038
|
+
format: uuid
|
|
124039
|
+
dateCreated:
|
|
124040
|
+
type: string
|
|
124041
|
+
description: Gets or sets the date the resource was created.
|
|
124042
|
+
format: date-time
|
|
124043
|
+
isActive:
|
|
124044
|
+
type: boolean
|
|
124045
|
+
description: Gets or sets a value indicating whether the token is active/revoked.
|
|
124046
|
+
default: false
|
|
124047
|
+
tenant:
|
|
124048
|
+
$ref: '#/components/schemas/Tenant'
|
|
124049
|
+
additionalProperties: false
|
|
124050
|
+
description: Represents an end user identity within the Reach application.
|
|
123602
124051
|
Facility:
|
|
123603
124052
|
required:
|
|
123604
124053
|
- dateCreated
|
|
@@ -128995,6 +129444,15 @@ components:
|
|
|
128995
129444
|
format: uuid
|
|
128996
129445
|
additionalProperties: false
|
|
128997
129446
|
description: Post model for reschedule log inserts.
|
|
129447
|
+
ResolveSecureAccessTokenRequest:
|
|
129448
|
+
type: object
|
|
129449
|
+
properties:
|
|
129450
|
+
token:
|
|
129451
|
+
type: string
|
|
129452
|
+
description: Gets or sets the token.
|
|
129453
|
+
nullable: true
|
|
129454
|
+
additionalProperties: false
|
|
129455
|
+
description: Models secure access token requests.
|
|
128998
129456
|
ScheduleStatus:
|
|
128999
129457
|
enum:
|
|
129000
129458
|
- Pending
|
package/src/index.ts
CHANGED
|
@@ -101,6 +101,7 @@ export type { EmailSetting } from './models/EmailSetting';
|
|
|
101
101
|
export type { EmailSettingPage } from './models/EmailSettingPage';
|
|
102
102
|
export type { EmailSettingPatch } from './models/EmailSettingPatch';
|
|
103
103
|
export type { EmailSettingPost } from './models/EmailSettingPost';
|
|
104
|
+
export type { EndUserIdentitySecureToken } from './models/EndUserIdentitySecureToken';
|
|
104
105
|
export type { Facility } from './models/Facility';
|
|
105
106
|
export type { FacilityIndividual } from './models/FacilityIndividual';
|
|
106
107
|
export type { FacilityIndividualPage } from './models/FacilityIndividualPage';
|
|
@@ -264,6 +265,7 @@ export type { RescheduleLog } from './models/RescheduleLog';
|
|
|
264
265
|
export type { RescheduleLogPage } from './models/RescheduleLogPage';
|
|
265
266
|
export type { RescheduleLogPatch } from './models/RescheduleLogPatch';
|
|
266
267
|
export type { RescheduleLogPost } from './models/RescheduleLogPost';
|
|
268
|
+
export type { ResolveSecureAccessTokenRequest } from './models/ResolveSecureAccessTokenRequest';
|
|
267
269
|
export type { ScheduledSession } from './models/ScheduledSession';
|
|
268
270
|
export type { ScheduledSessionEmailAttendeesPatch } from './models/ScheduledSessionEmailAttendeesPatch';
|
|
269
271
|
export type { ScheduledSessionPage } from './models/ScheduledSessionPage';
|
|
@@ -461,6 +463,7 @@ export { DealsService } from './services/DealsService';
|
|
|
461
463
|
export { DiscountCodeUsesService } from './services/DiscountCodeUsesService';
|
|
462
464
|
export { EmailReminderSchedulesService } from './services/EmailReminderSchedulesService';
|
|
463
465
|
export { EmailSettingsService } from './services/EmailSettingsService';
|
|
466
|
+
export { EndUserIdentitySecureTokenService } from './services/EndUserIdentitySecureTokenService';
|
|
464
467
|
export { EnglandGolfReportService } from './services/EnglandGolfReportService';
|
|
465
468
|
export { FacilitiesService } from './services/FacilitiesService';
|
|
466
469
|
export { FacilityIndividualsService } from './services/FacilityIndividualsService';
|
package/src/models/Customer.ts
CHANGED
|
@@ -100,6 +100,10 @@ export type Customer = {
|
|
|
100
100
|
* Gets or sets how many times the customer has booked with the organisation.
|
|
101
101
|
*/
|
|
102
102
|
bookingCount?: number | null;
|
|
103
|
+
/**
|
|
104
|
+
* Gets or sets the customers end user identity id.
|
|
105
|
+
*/
|
|
106
|
+
endUserIdentityId?: string | null;
|
|
103
107
|
stats?: CustomerStats;
|
|
104
108
|
/**
|
|
105
109
|
* Gets or sets the attendees registered by the customer.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { Tenant } from './Tenant';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Represents an end user identity within the Reach application.
|
|
10
|
+
*/
|
|
11
|
+
export type EndUserIdentitySecureToken = {
|
|
12
|
+
/**
|
|
13
|
+
* Gets or sets the activities Id.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets or sets the secure token.
|
|
18
|
+
*/
|
|
19
|
+
token?: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the end user identity id.
|
|
22
|
+
*/
|
|
23
|
+
endUserIdentityId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the tenant id.
|
|
26
|
+
*/
|
|
27
|
+
tenantId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets the date the resource was created.
|
|
30
|
+
*/
|
|
31
|
+
dateCreated?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets a value indicating whether the token is active/revoked.
|
|
34
|
+
*/
|
|
35
|
+
isActive?: boolean;
|
|
36
|
+
tenant?: Tenant;
|
|
37
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Models secure access token requests.
|
|
8
|
+
*/
|
|
9
|
+
export type ResolveSecureAccessTokenRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the token.
|
|
12
|
+
*/
|
|
13
|
+
token?: string | null;
|
|
14
|
+
};
|