reach-api-sdk 1.0.187 → 1.0.189
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 +199 -18
- package/dist/reach-sdk.js +164 -17
- package/package.json +1 -1
- package/src/apiClient.ts +3 -0
- package/src/definition/swagger.yaml +468 -9
- package/src/index.ts +3 -0
- package/src/models/Customer.ts +5 -1
- package/src/models/EndUserIdentitySecureToken.ts +37 -0
- package/src/models/ResolveSecureAccessTokenRequest.ts +14 -0
- package/src/services/CustomersService.ts +54 -18
- package/src/services/EndUserIdentitySecureTokenService.ts +177 -0
- package/src/services/PublicCustomersService.ts +53 -6
|
@@ -12971,7 +12971,7 @@ paths:
|
|
|
12971
12971
|
description: Gets or sets the wildcard for use in a query search.
|
|
12972
12972
|
schema:
|
|
12973
12973
|
type: string
|
|
12974
|
-
- name:
|
|
12974
|
+
- name: DisplayEmail
|
|
12975
12975
|
in: query
|
|
12976
12976
|
description: Gets or sets the customers email for use in a query search.
|
|
12977
12977
|
schema:
|
|
@@ -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.
|
|
@@ -13127,7 +13133,7 @@ paths:
|
|
|
13127
13133
|
description: Gets or sets the wildcard for use in a query search.
|
|
13128
13134
|
schema:
|
|
13129
13135
|
type: string
|
|
13130
|
-
- name:
|
|
13136
|
+
- name: DisplayEmail
|
|
13131
13137
|
in: query
|
|
13132
13138
|
description: Gets or sets the customers email for use in a query search.
|
|
13133
13139
|
schema:
|
|
@@ -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.
|
|
@@ -13617,7 +13629,7 @@ paths:
|
|
|
13617
13629
|
description: Gets or sets the wildcard for use in a query search.
|
|
13618
13630
|
schema:
|
|
13619
13631
|
type: string
|
|
13620
|
-
- name:
|
|
13632
|
+
- name: DisplayEmail
|
|
13621
13633
|
in: query
|
|
13622
13634
|
description: Gets or sets the customers email for use in a query search.
|
|
13623
13635
|
schema:
|
|
@@ -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.
|
|
@@ -13948,7 +13966,7 @@ paths:
|
|
|
13948
13966
|
description: Gets or sets the wildcard for use in a query search.
|
|
13949
13967
|
schema:
|
|
13950
13968
|
type: string
|
|
13951
|
-
- name:
|
|
13969
|
+
- name: DisplayEmail
|
|
13952
13970
|
in: query
|
|
13953
13971
|
description: Gets or sets the customers email for use in a query search.
|
|
13954
13972
|
schema:
|
|
@@ -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.
|
|
@@ -14101,7 +14125,7 @@ paths:
|
|
|
14101
14125
|
description: Gets or sets the wildcard for use in a query search.
|
|
14102
14126
|
schema:
|
|
14103
14127
|
type: string
|
|
14104
|
-
- name:
|
|
14128
|
+
- name: DisplayEmail
|
|
14105
14129
|
in: query
|
|
14106
14130
|
description: Gets or sets the customers email for use in a query search.
|
|
14107
14131
|
schema:
|
|
@@ -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.
|
|
@@ -14260,7 +14290,7 @@ paths:
|
|
|
14260
14290
|
description: Gets or sets the wildcard for use in a query search.
|
|
14261
14291
|
schema:
|
|
14262
14292
|
type: string
|
|
14263
|
-
- name:
|
|
14293
|
+
- name: DisplayEmail
|
|
14264
14294
|
in: query
|
|
14265
14295
|
description: Gets or sets the customers email for use in a query search.
|
|
14266
14296
|
schema:
|
|
@@ -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: integer
|
|
20408
|
+
format: int32
|
|
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:
|
|
@@ -54258,7 +54601,7 @@ paths:
|
|
|
54258
54601
|
description: Gets or sets the wildcard for use in a query search.
|
|
54259
54602
|
schema:
|
|
54260
54603
|
type: string
|
|
54261
|
-
- name:
|
|
54604
|
+
- name: DisplayEmail
|
|
54262
54605
|
in: query
|
|
54263
54606
|
description: Gets or sets the customers email for use in a query search.
|
|
54264
54607
|
schema:
|
|
@@ -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:
|
|
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:
|
|
@@ -54708,7 +55115,7 @@ paths:
|
|
|
54708
55115
|
description: Gets or sets the wildcard for use in a query search.
|
|
54709
55116
|
schema:
|
|
54710
55117
|
type: string
|
|
54711
|
-
- name:
|
|
55118
|
+
- name: DisplayEmail
|
|
54712
55119
|
in: query
|
|
54713
55120
|
description: Gets or sets the customers email for use in a query search.
|
|
54714
55121
|
schema:
|
|
@@ -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.
|
|
@@ -122476,7 +122889,7 @@ components:
|
|
|
122476
122889
|
type: string
|
|
122477
122890
|
description: Gets or sets the organisation name.
|
|
122478
122891
|
nullable: true
|
|
122479
|
-
|
|
122892
|
+
displayEmail:
|
|
122480
122893
|
type: string
|
|
122481
122894
|
description: Gets or sets the email.
|
|
122482
122895
|
nullable: true
|
|
@@ -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,38 @@ 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: integer
|
|
124025
|
+
description: Gets or sets the activities Id.
|
|
124026
|
+
format: int32
|
|
124027
|
+
default: 0
|
|
124028
|
+
token:
|
|
124029
|
+
type: string
|
|
124030
|
+
description: Gets or sets the secure token.
|
|
124031
|
+
nullable: true
|
|
124032
|
+
endUserIdentityId:
|
|
124033
|
+
type: string
|
|
124034
|
+
description: Gets or sets the end user identity id.
|
|
124035
|
+
format: uuid
|
|
124036
|
+
tenantId:
|
|
124037
|
+
type: string
|
|
124038
|
+
description: Gets or sets the tenant id.
|
|
124039
|
+
format: uuid
|
|
124040
|
+
dateCreated:
|
|
124041
|
+
type: string
|
|
124042
|
+
description: Gets or sets the date the resource was created.
|
|
124043
|
+
format: date-time
|
|
124044
|
+
isActive:
|
|
124045
|
+
type: boolean
|
|
124046
|
+
description: Gets or sets a value indicating whether the token is active/revoked.
|
|
124047
|
+
default: false
|
|
124048
|
+
tenant:
|
|
124049
|
+
$ref: '#/components/schemas/Tenant'
|
|
124050
|
+
additionalProperties: false
|
|
124051
|
+
description: Represents an end user identity within the Reach application.
|
|
123602
124052
|
Facility:
|
|
123603
124053
|
required:
|
|
123604
124054
|
- dateCreated
|
|
@@ -128995,6 +129445,15 @@ components:
|
|
|
128995
129445
|
format: uuid
|
|
128996
129446
|
additionalProperties: false
|
|
128997
129447
|
description: Post model for reschedule log inserts.
|
|
129448
|
+
ResolveSecureAccessTokenRequest:
|
|
129449
|
+
type: object
|
|
129450
|
+
properties:
|
|
129451
|
+
token:
|
|
129452
|
+
type: string
|
|
129453
|
+
description: Gets or sets the token.
|
|
129454
|
+
nullable: true
|
|
129455
|
+
additionalProperties: false
|
|
129456
|
+
description: Models secure access token requests.
|
|
128998
129457
|
ScheduleStatus:
|
|
128999
129458
|
enum:
|
|
129000
129459
|
- 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
|
@@ -63,7 +63,7 @@ export type Customer = {
|
|
|
63
63
|
/**
|
|
64
64
|
* Gets or sets the email.
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
displayEmail?: string | null;
|
|
67
67
|
/**
|
|
68
68
|
* Gets or sets the phone number.
|
|
69
69
|
*/
|
|
@@ -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.
|