reach-api-sdk 1.0.48 → 1.0.50
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 +72 -6
- package/dist/reach-sdk.js +47 -3
- package/package.json +1 -1
- package/src/definition/swagger.yaml +185 -0
- package/src/models/OpportunityRegister.ts +14 -0
- package/src/models/OpportunityRegisterPatch.ts +4 -0
- package/src/services/OpportunityRegisterService.ts +69 -0
- package/src/services/OrdersService.ts +21 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -12552,7 +12552,18 @@ type OpportunityRegister = {
|
|
|
12552
12552
|
* Gets or sets a value indicating whether the attendee has been checked in.
|
|
12553
12553
|
*/
|
|
12554
12554
|
checkedIn: boolean;
|
|
12555
|
+
/**
|
|
12556
|
+
* Gets or sets a value indicating whether the attendee has been moved TO another opportunity.
|
|
12557
|
+
*/
|
|
12558
|
+
moved?: boolean;
|
|
12559
|
+
/**
|
|
12560
|
+
* Gets or sets the opportunity id that the attendee was moved from.
|
|
12561
|
+
*/
|
|
12562
|
+
movedFrom?: string | null;
|
|
12555
12563
|
attendee?: Attendee;
|
|
12564
|
+
orderItem?: OrderItem;
|
|
12565
|
+
scheduledSession?: ScheduledSession;
|
|
12566
|
+
course?: Course;
|
|
12556
12567
|
};
|
|
12557
12568
|
|
|
12558
12569
|
type OpportunityRegisterPage = {
|
|
@@ -12572,6 +12583,10 @@ type OpportunityRegisterPatch = {
|
|
|
12572
12583
|
* Gets or sets the Id.
|
|
12573
12584
|
*/
|
|
12574
12585
|
id: string;
|
|
12586
|
+
/**
|
|
12587
|
+
* Gets or sets a value indicating whether the attendee has been checked in.
|
|
12588
|
+
*/
|
|
12589
|
+
checkedIn?: boolean;
|
|
12575
12590
|
};
|
|
12576
12591
|
|
|
12577
12592
|
/**
|
|
@@ -12587,6 +12602,21 @@ type OpportunityRegisterPost = {
|
|
|
12587
12602
|
declare class OpportunityRegisterService {
|
|
12588
12603
|
readonly httpRequest: BaseHttpRequest;
|
|
12589
12604
|
constructor(httpRequest: BaseHttpRequest);
|
|
12605
|
+
/**
|
|
12606
|
+
* Moves an attendee from one scheduled sessions opportunity register to another.
|
|
12607
|
+
* @returns OpportunityRegister Success
|
|
12608
|
+
* @throws ApiError
|
|
12609
|
+
*/
|
|
12610
|
+
move({ opportunityRegisterId, scheduledSessionId, }: {
|
|
12611
|
+
/**
|
|
12612
|
+
* The current register the attendee is assigned to.
|
|
12613
|
+
*/
|
|
12614
|
+
opportunityRegisterId: string;
|
|
12615
|
+
/**
|
|
12616
|
+
* The scheduled session the attendee needs to be moved to.
|
|
12617
|
+
*/
|
|
12618
|
+
scheduledSessionId: string;
|
|
12619
|
+
}): CancelablePromise<OpportunityRegister>;
|
|
12590
12620
|
/**
|
|
12591
12621
|
* Gets the resource by its Id.
|
|
12592
12622
|
* @returns OpportunityRegister Success
|
|
@@ -12614,7 +12644,7 @@ declare class OpportunityRegisterService {
|
|
|
12614
12644
|
* @returns boolean Success
|
|
12615
12645
|
* @throws ApiError
|
|
12616
12646
|
*/
|
|
12617
|
-
exists({ orderItemId, orderItemIds, attendeeId, scheduledSessionId, courseId, confirmed, checkedIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12647
|
+
exists({ orderItemId, orderItemIds, attendeeId, scheduledSessionId, courseId, confirmed, checkedIn, moved, movedFrom, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12618
12648
|
/**
|
|
12619
12649
|
* Gets or sets the queryable order item id.
|
|
12620
12650
|
*/
|
|
@@ -12643,6 +12673,14 @@ declare class OpportunityRegisterService {
|
|
|
12643
12673
|
* Gets or sets the queryable attendee checked in value.
|
|
12644
12674
|
*/
|
|
12645
12675
|
checkedIn?: boolean;
|
|
12676
|
+
/**
|
|
12677
|
+
* Gets or sets the queryable attendee moved value.
|
|
12678
|
+
*/
|
|
12679
|
+
moved?: boolean;
|
|
12680
|
+
/**
|
|
12681
|
+
* Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
12682
|
+
*/
|
|
12683
|
+
movedFrom?: string;
|
|
12646
12684
|
/**
|
|
12647
12685
|
* Gets or sets the page number for paged queries.
|
|
12648
12686
|
*/
|
|
@@ -12689,7 +12727,7 @@ declare class OpportunityRegisterService {
|
|
|
12689
12727
|
* @returns OpportunityRegisterPage Success
|
|
12690
12728
|
* @throws ApiError
|
|
12691
12729
|
*/
|
|
12692
|
-
getPage({ orderItemId, orderItemIds, attendeeId, scheduledSessionId, courseId, confirmed, checkedIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12730
|
+
getPage({ orderItemId, orderItemIds, attendeeId, scheduledSessionId, courseId, confirmed, checkedIn, moved, movedFrom, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12693
12731
|
/**
|
|
12694
12732
|
* Gets or sets the queryable order item id.
|
|
12695
12733
|
*/
|
|
@@ -12718,6 +12756,14 @@ declare class OpportunityRegisterService {
|
|
|
12718
12756
|
* Gets or sets the queryable attendee checked in value.
|
|
12719
12757
|
*/
|
|
12720
12758
|
checkedIn?: boolean;
|
|
12759
|
+
/**
|
|
12760
|
+
* Gets or sets the queryable attendee moved value.
|
|
12761
|
+
*/
|
|
12762
|
+
moved?: boolean;
|
|
12763
|
+
/**
|
|
12764
|
+
* Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
12765
|
+
*/
|
|
12766
|
+
movedFrom?: string;
|
|
12721
12767
|
/**
|
|
12722
12768
|
* Gets or sets the page number for paged queries.
|
|
12723
12769
|
*/
|
|
@@ -12775,7 +12821,7 @@ declare class OpportunityRegisterService {
|
|
|
12775
12821
|
* @returns OpportunityRegister Success
|
|
12776
12822
|
* @throws ApiError
|
|
12777
12823
|
*/
|
|
12778
|
-
getListIdName({ orderItemId, orderItemIds, attendeeId, scheduledSessionId, courseId, confirmed, checkedIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12824
|
+
getListIdName({ orderItemId, orderItemIds, attendeeId, scheduledSessionId, courseId, confirmed, checkedIn, moved, movedFrom, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12779
12825
|
/**
|
|
12780
12826
|
* Gets or sets the queryable order item id.
|
|
12781
12827
|
*/
|
|
@@ -12804,6 +12850,14 @@ declare class OpportunityRegisterService {
|
|
|
12804
12850
|
* Gets or sets the queryable attendee checked in value.
|
|
12805
12851
|
*/
|
|
12806
12852
|
checkedIn?: boolean;
|
|
12853
|
+
/**
|
|
12854
|
+
* Gets or sets the queryable attendee moved value.
|
|
12855
|
+
*/
|
|
12856
|
+
moved?: boolean;
|
|
12857
|
+
/**
|
|
12858
|
+
* Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
12859
|
+
*/
|
|
12860
|
+
movedFrom?: string;
|
|
12807
12861
|
/**
|
|
12808
12862
|
* Gets or sets the page number for paged queries.
|
|
12809
12863
|
*/
|
|
@@ -13295,33 +13349,45 @@ declare class OrdersService {
|
|
|
13295
13349
|
* @returns Order Success
|
|
13296
13350
|
* @throws ApiError
|
|
13297
13351
|
*/
|
|
13298
|
-
cancel({ id, }: {
|
|
13352
|
+
cancel({ id, requestBody, }: {
|
|
13299
13353
|
/**
|
|
13300
13354
|
* The Order id.
|
|
13301
13355
|
*/
|
|
13302
13356
|
id: string;
|
|
13357
|
+
/**
|
|
13358
|
+
* The order items in the case of a partial refund.
|
|
13359
|
+
*/
|
|
13360
|
+
requestBody?: Array<string>;
|
|
13303
13361
|
}): CancelablePromise<Order>;
|
|
13304
13362
|
/**
|
|
13305
13363
|
* Requests a refund for the order.
|
|
13306
13364
|
* @returns Order Success
|
|
13307
13365
|
* @throws ApiError
|
|
13308
13366
|
*/
|
|
13309
|
-
refund({ id, }: {
|
|
13367
|
+
refund({ id, requestBody, }: {
|
|
13310
13368
|
/**
|
|
13311
13369
|
* The Order id.
|
|
13312
13370
|
*/
|
|
13313
13371
|
id: string;
|
|
13372
|
+
/**
|
|
13373
|
+
* The order items in the case of a partial refund.
|
|
13374
|
+
*/
|
|
13375
|
+
requestBody?: Array<string>;
|
|
13314
13376
|
}): CancelablePromise<Order>;
|
|
13315
13377
|
/**
|
|
13316
13378
|
* Cancels the order and requests a refund.
|
|
13317
13379
|
* @returns Order Success
|
|
13318
13380
|
* @throws ApiError
|
|
13319
13381
|
*/
|
|
13320
|
-
cancelWithRefund({ id, }: {
|
|
13382
|
+
cancelWithRefund({ id, requestBody, }: {
|
|
13321
13383
|
/**
|
|
13322
13384
|
* The Order id.
|
|
13323
13385
|
*/
|
|
13324
13386
|
id: string;
|
|
13387
|
+
/**
|
|
13388
|
+
* The order items in the case of a partial refund.
|
|
13389
|
+
*/
|
|
13390
|
+
requestBody?: Array<string>;
|
|
13325
13391
|
}): CancelablePromise<Order>;
|
|
13326
13392
|
/**
|
|
13327
13393
|
* Cancels the order.
|
package/dist/reach-sdk.js
CHANGED
|
@@ -7713,6 +7713,29 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7713
7713
|
constructor(httpRequest) {
|
|
7714
7714
|
this.httpRequest = httpRequest;
|
|
7715
7715
|
}
|
|
7716
|
+
/**
|
|
7717
|
+
* Moves an attendee from one scheduled sessions opportunity register to another.
|
|
7718
|
+
* @returns OpportunityRegister Success
|
|
7719
|
+
* @throws ApiError
|
|
7720
|
+
*/
|
|
7721
|
+
move({
|
|
7722
|
+
opportunityRegisterId,
|
|
7723
|
+
scheduledSessionId
|
|
7724
|
+
}) {
|
|
7725
|
+
return this.httpRequest.request({
|
|
7726
|
+
method: "GET",
|
|
7727
|
+
url: "/api/opportunity-register/{opportunityRegisterId}/move-to/{scheduledSessionId}",
|
|
7728
|
+
path: {
|
|
7729
|
+
opportunityRegisterId,
|
|
7730
|
+
scheduledSessionId
|
|
7731
|
+
},
|
|
7732
|
+
errors: {
|
|
7733
|
+
400: `Bad Request`,
|
|
7734
|
+
422: `Client Error`,
|
|
7735
|
+
500: `Server Error`
|
|
7736
|
+
}
|
|
7737
|
+
});
|
|
7738
|
+
}
|
|
7716
7739
|
/**
|
|
7717
7740
|
* Gets the resource by its Id.
|
|
7718
7741
|
* @returns OpportunityRegister Success
|
|
@@ -7768,6 +7791,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7768
7791
|
courseId,
|
|
7769
7792
|
confirmed,
|
|
7770
7793
|
checkedIn,
|
|
7794
|
+
moved,
|
|
7795
|
+
movedFrom,
|
|
7771
7796
|
pageNumber,
|
|
7772
7797
|
take,
|
|
7773
7798
|
limitListRequests,
|
|
@@ -7790,6 +7815,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7790
7815
|
CourseId: courseId,
|
|
7791
7816
|
Confirmed: confirmed,
|
|
7792
7817
|
CheckedIn: checkedIn,
|
|
7818
|
+
Moved: moved,
|
|
7819
|
+
MovedFrom: movedFrom,
|
|
7793
7820
|
PageNumber: pageNumber,
|
|
7794
7821
|
Take: take,
|
|
7795
7822
|
LimitListRequests: limitListRequests,
|
|
@@ -7821,6 +7848,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7821
7848
|
courseId,
|
|
7822
7849
|
confirmed,
|
|
7823
7850
|
checkedIn,
|
|
7851
|
+
moved,
|
|
7852
|
+
movedFrom,
|
|
7824
7853
|
pageNumber,
|
|
7825
7854
|
take,
|
|
7826
7855
|
limitListRequests,
|
|
@@ -7843,6 +7872,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7843
7872
|
CourseId: courseId,
|
|
7844
7873
|
Confirmed: confirmed,
|
|
7845
7874
|
CheckedIn: checkedIn,
|
|
7875
|
+
Moved: moved,
|
|
7876
|
+
MovedFrom: movedFrom,
|
|
7846
7877
|
PageNumber: pageNumber,
|
|
7847
7878
|
Take: take,
|
|
7848
7879
|
LimitListRequests: limitListRequests,
|
|
@@ -7894,6 +7925,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7894
7925
|
courseId,
|
|
7895
7926
|
confirmed,
|
|
7896
7927
|
checkedIn,
|
|
7928
|
+
moved,
|
|
7929
|
+
movedFrom,
|
|
7897
7930
|
pageNumber,
|
|
7898
7931
|
take,
|
|
7899
7932
|
limitListRequests,
|
|
@@ -7916,6 +7949,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7916
7949
|
CourseId: courseId,
|
|
7917
7950
|
Confirmed: confirmed,
|
|
7918
7951
|
CheckedIn: checkedIn,
|
|
7952
|
+
Moved: moved,
|
|
7953
|
+
MovedFrom: movedFrom,
|
|
7919
7954
|
PageNumber: pageNumber,
|
|
7920
7955
|
Take: take,
|
|
7921
7956
|
LimitListRequests: limitListRequests,
|
|
@@ -8371,7 +8406,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8371
8406
|
* @throws ApiError
|
|
8372
8407
|
*/
|
|
8373
8408
|
cancel({
|
|
8374
|
-
id
|
|
8409
|
+
id,
|
|
8410
|
+
requestBody
|
|
8375
8411
|
}) {
|
|
8376
8412
|
return this.httpRequest.request({
|
|
8377
8413
|
method: "POST",
|
|
@@ -8379,6 +8415,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8379
8415
|
path: {
|
|
8380
8416
|
id
|
|
8381
8417
|
},
|
|
8418
|
+
body: requestBody,
|
|
8419
|
+
mediaType: "application/json",
|
|
8382
8420
|
errors: {
|
|
8383
8421
|
400: `Bad Request`,
|
|
8384
8422
|
422: `Client Error`,
|
|
@@ -8392,7 +8430,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8392
8430
|
* @throws ApiError
|
|
8393
8431
|
*/
|
|
8394
8432
|
refund({
|
|
8395
|
-
id
|
|
8433
|
+
id,
|
|
8434
|
+
requestBody
|
|
8396
8435
|
}) {
|
|
8397
8436
|
return this.httpRequest.request({
|
|
8398
8437
|
method: "POST",
|
|
@@ -8400,6 +8439,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8400
8439
|
path: {
|
|
8401
8440
|
id
|
|
8402
8441
|
},
|
|
8442
|
+
body: requestBody,
|
|
8443
|
+
mediaType: "application/json",
|
|
8403
8444
|
errors: {
|
|
8404
8445
|
400: `Bad Request`,
|
|
8405
8446
|
422: `Client Error`,
|
|
@@ -8413,7 +8454,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8413
8454
|
* @throws ApiError
|
|
8414
8455
|
*/
|
|
8415
8456
|
cancelWithRefund({
|
|
8416
|
-
id
|
|
8457
|
+
id,
|
|
8458
|
+
requestBody
|
|
8417
8459
|
}) {
|
|
8418
8460
|
return this.httpRequest.request({
|
|
8419
8461
|
method: "POST",
|
|
@@ -8421,6 +8463,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8421
8463
|
path: {
|
|
8422
8464
|
id
|
|
8423
8465
|
},
|
|
8466
|
+
body: requestBody,
|
|
8467
|
+
mediaType: "application/json",
|
|
8424
8468
|
errors: {
|
|
8425
8469
|
400: `Bad Request`,
|
|
8426
8470
|
422: `Client Error`,
|
package/package.json
CHANGED
|
@@ -22117,6 +22117,76 @@ paths:
|
|
|
22117
22117
|
text/json:
|
|
22118
22118
|
schema:
|
|
22119
22119
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
22120
|
+
'/api/opportunity-register/{opportunityRegisterId}/move-to/{scheduledSessionId}':
|
|
22121
|
+
get:
|
|
22122
|
+
tags:
|
|
22123
|
+
- OpportunityRegister
|
|
22124
|
+
summary: Moves an attendee from one scheduled sessions opportunity register to another.
|
|
22125
|
+
operationId: Move
|
|
22126
|
+
parameters:
|
|
22127
|
+
- name: opportunityRegisterId
|
|
22128
|
+
in: path
|
|
22129
|
+
description: The current register the attendee is assigned to.
|
|
22130
|
+
required: true
|
|
22131
|
+
schema:
|
|
22132
|
+
type: string
|
|
22133
|
+
format: uuid
|
|
22134
|
+
- name: scheduledSessionId
|
|
22135
|
+
in: path
|
|
22136
|
+
description: The scheduled session the attendee needs to be moved to.
|
|
22137
|
+
required: true
|
|
22138
|
+
schema:
|
|
22139
|
+
type: string
|
|
22140
|
+
format: uuid
|
|
22141
|
+
responses:
|
|
22142
|
+
'200':
|
|
22143
|
+
description: Success
|
|
22144
|
+
content:
|
|
22145
|
+
text/plain:
|
|
22146
|
+
schema:
|
|
22147
|
+
$ref: '#/components/schemas/OpportunityRegister'
|
|
22148
|
+
application/json:
|
|
22149
|
+
schema:
|
|
22150
|
+
$ref: '#/components/schemas/OpportunityRegister'
|
|
22151
|
+
text/json:
|
|
22152
|
+
schema:
|
|
22153
|
+
$ref: '#/components/schemas/OpportunityRegister'
|
|
22154
|
+
'400':
|
|
22155
|
+
description: Bad Request
|
|
22156
|
+
content:
|
|
22157
|
+
text/plain:
|
|
22158
|
+
schema:
|
|
22159
|
+
$ref: '#/components/schemas/ReachError'
|
|
22160
|
+
application/json:
|
|
22161
|
+
schema:
|
|
22162
|
+
$ref: '#/components/schemas/ReachError'
|
|
22163
|
+
text/json:
|
|
22164
|
+
schema:
|
|
22165
|
+
$ref: '#/components/schemas/ReachError'
|
|
22166
|
+
'500':
|
|
22167
|
+
description: Server Error
|
|
22168
|
+
content:
|
|
22169
|
+
text/plain:
|
|
22170
|
+
schema:
|
|
22171
|
+
$ref: '#/components/schemas/ReachError'
|
|
22172
|
+
application/json:
|
|
22173
|
+
schema:
|
|
22174
|
+
$ref: '#/components/schemas/ReachError'
|
|
22175
|
+
text/json:
|
|
22176
|
+
schema:
|
|
22177
|
+
$ref: '#/components/schemas/ReachError'
|
|
22178
|
+
'422':
|
|
22179
|
+
description: Client Error
|
|
22180
|
+
content:
|
|
22181
|
+
text/plain:
|
|
22182
|
+
schema:
|
|
22183
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
22184
|
+
application/json:
|
|
22185
|
+
schema:
|
|
22186
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
22187
|
+
text/json:
|
|
22188
|
+
schema:
|
|
22189
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
22120
22190
|
'/api/opportunity-register/{id}':
|
|
22121
22191
|
get:
|
|
22122
22192
|
tags:
|
|
@@ -22281,6 +22351,17 @@ paths:
|
|
|
22281
22351
|
description: Gets or sets the queryable attendee checked in value.
|
|
22282
22352
|
schema:
|
|
22283
22353
|
type: boolean
|
|
22354
|
+
- name: Moved
|
|
22355
|
+
in: query
|
|
22356
|
+
description: Gets or sets the queryable attendee moved value.
|
|
22357
|
+
schema:
|
|
22358
|
+
type: boolean
|
|
22359
|
+
- name: MovedFrom
|
|
22360
|
+
in: query
|
|
22361
|
+
description: Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
22362
|
+
schema:
|
|
22363
|
+
type: string
|
|
22364
|
+
format: uuid
|
|
22284
22365
|
- name: PageNumber
|
|
22285
22366
|
in: query
|
|
22286
22367
|
description: Gets or sets the page number for paged queries.
|
|
@@ -22438,6 +22519,17 @@ paths:
|
|
|
22438
22519
|
description: Gets or sets the queryable attendee checked in value.
|
|
22439
22520
|
schema:
|
|
22440
22521
|
type: boolean
|
|
22522
|
+
- name: Moved
|
|
22523
|
+
in: query
|
|
22524
|
+
description: Gets or sets the queryable attendee moved value.
|
|
22525
|
+
schema:
|
|
22526
|
+
type: boolean
|
|
22527
|
+
- name: MovedFrom
|
|
22528
|
+
in: query
|
|
22529
|
+
description: Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
22530
|
+
schema:
|
|
22531
|
+
type: string
|
|
22532
|
+
format: uuid
|
|
22441
22533
|
- name: PageNumber
|
|
22442
22534
|
in: query
|
|
22443
22535
|
description: Gets or sets the page number for paged queries.
|
|
@@ -22651,6 +22743,17 @@ paths:
|
|
|
22651
22743
|
description: Gets or sets the queryable attendee checked in value.
|
|
22652
22744
|
schema:
|
|
22653
22745
|
type: boolean
|
|
22746
|
+
- name: Moved
|
|
22747
|
+
in: query
|
|
22748
|
+
description: Gets or sets the queryable attendee moved value.
|
|
22749
|
+
schema:
|
|
22750
|
+
type: boolean
|
|
22751
|
+
- name: MovedFrom
|
|
22752
|
+
in: query
|
|
22753
|
+
description: Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
22754
|
+
schema:
|
|
22755
|
+
type: string
|
|
22756
|
+
format: uuid
|
|
22654
22757
|
- name: PageNumber
|
|
22655
22758
|
in: query
|
|
22656
22759
|
description: Gets or sets the page number for paged queries.
|
|
@@ -24117,6 +24220,27 @@ paths:
|
|
|
24117
24220
|
schema:
|
|
24118
24221
|
type: string
|
|
24119
24222
|
format: uuid
|
|
24223
|
+
requestBody:
|
|
24224
|
+
description: The order items in the case of a partial refund.
|
|
24225
|
+
content:
|
|
24226
|
+
application/json:
|
|
24227
|
+
schema:
|
|
24228
|
+
type: array
|
|
24229
|
+
items:
|
|
24230
|
+
type: string
|
|
24231
|
+
format: uuid
|
|
24232
|
+
text/json:
|
|
24233
|
+
schema:
|
|
24234
|
+
type: array
|
|
24235
|
+
items:
|
|
24236
|
+
type: string
|
|
24237
|
+
format: uuid
|
|
24238
|
+
application/*+json:
|
|
24239
|
+
schema:
|
|
24240
|
+
type: array
|
|
24241
|
+
items:
|
|
24242
|
+
type: string
|
|
24243
|
+
format: uuid
|
|
24120
24244
|
responses:
|
|
24121
24245
|
'200':
|
|
24122
24246
|
description: Success
|
|
@@ -24180,6 +24304,27 @@ paths:
|
|
|
24180
24304
|
schema:
|
|
24181
24305
|
type: string
|
|
24182
24306
|
format: uuid
|
|
24307
|
+
requestBody:
|
|
24308
|
+
description: The order items in the case of a partial refund.
|
|
24309
|
+
content:
|
|
24310
|
+
application/json:
|
|
24311
|
+
schema:
|
|
24312
|
+
type: array
|
|
24313
|
+
items:
|
|
24314
|
+
type: string
|
|
24315
|
+
format: uuid
|
|
24316
|
+
text/json:
|
|
24317
|
+
schema:
|
|
24318
|
+
type: array
|
|
24319
|
+
items:
|
|
24320
|
+
type: string
|
|
24321
|
+
format: uuid
|
|
24322
|
+
application/*+json:
|
|
24323
|
+
schema:
|
|
24324
|
+
type: array
|
|
24325
|
+
items:
|
|
24326
|
+
type: string
|
|
24327
|
+
format: uuid
|
|
24183
24328
|
responses:
|
|
24184
24329
|
'200':
|
|
24185
24330
|
description: Success
|
|
@@ -24243,6 +24388,27 @@ paths:
|
|
|
24243
24388
|
schema:
|
|
24244
24389
|
type: string
|
|
24245
24390
|
format: uuid
|
|
24391
|
+
requestBody:
|
|
24392
|
+
description: The order items in the case of a partial refund.
|
|
24393
|
+
content:
|
|
24394
|
+
application/json:
|
|
24395
|
+
schema:
|
|
24396
|
+
type: array
|
|
24397
|
+
items:
|
|
24398
|
+
type: string
|
|
24399
|
+
format: uuid
|
|
24400
|
+
text/json:
|
|
24401
|
+
schema:
|
|
24402
|
+
type: array
|
|
24403
|
+
items:
|
|
24404
|
+
type: string
|
|
24405
|
+
format: uuid
|
|
24406
|
+
application/*+json:
|
|
24407
|
+
schema:
|
|
24408
|
+
type: array
|
|
24409
|
+
items:
|
|
24410
|
+
type: string
|
|
24411
|
+
format: uuid
|
|
24246
24412
|
responses:
|
|
24247
24413
|
'200':
|
|
24248
24414
|
description: Success
|
|
@@ -72879,8 +73045,23 @@ components:
|
|
|
72879
73045
|
type: boolean
|
|
72880
73046
|
description: Gets or sets a value indicating whether the attendee has been checked in.
|
|
72881
73047
|
default: false
|
|
73048
|
+
moved:
|
|
73049
|
+
type: boolean
|
|
73050
|
+
description: Gets or sets a value indicating whether the attendee has been moved TO another opportunity.
|
|
73051
|
+
default: false
|
|
73052
|
+
movedFrom:
|
|
73053
|
+
type: string
|
|
73054
|
+
description: Gets or sets the opportunity id that the attendee was moved from.
|
|
73055
|
+
format: uuid
|
|
73056
|
+
nullable: true
|
|
72882
73057
|
attendee:
|
|
72883
73058
|
$ref: '#/components/schemas/Attendee'
|
|
73059
|
+
orderItem:
|
|
73060
|
+
$ref: '#/components/schemas/OrderItem'
|
|
73061
|
+
scheduledSession:
|
|
73062
|
+
$ref: '#/components/schemas/ScheduledSession'
|
|
73063
|
+
course:
|
|
73064
|
+
$ref: '#/components/schemas/Course'
|
|
72884
73065
|
additionalProperties: false
|
|
72885
73066
|
description: Represents an opportunity registration within the Reach application.
|
|
72886
73067
|
OpportunityRegisterPage:
|
|
@@ -72911,6 +73092,10 @@ components:
|
|
|
72911
73092
|
type: string
|
|
72912
73093
|
description: Gets or sets the Id.
|
|
72913
73094
|
format: uuid
|
|
73095
|
+
checkedIn:
|
|
73096
|
+
type: boolean
|
|
73097
|
+
description: Gets or sets a value indicating whether the attendee has been checked in.
|
|
73098
|
+
default: false
|
|
72914
73099
|
additionalProperties: false
|
|
72915
73100
|
description: Post model for Opportunity Register updates.
|
|
72916
73101
|
OpportunityRegisterPost:
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
6
|
import type { Attendee } from './Attendee';
|
|
7
|
+
import type { Course } from './Course';
|
|
8
|
+
import type { OrderItem } from './OrderItem';
|
|
9
|
+
import type { ScheduledSession } from './ScheduledSession';
|
|
7
10
|
|
|
8
11
|
/**
|
|
9
12
|
* Represents an opportunity registration within the Reach application.
|
|
@@ -57,5 +60,16 @@ export type OpportunityRegister = {
|
|
|
57
60
|
* Gets or sets a value indicating whether the attendee has been checked in.
|
|
58
61
|
*/
|
|
59
62
|
checkedIn: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Gets or sets a value indicating whether the attendee has been moved TO another opportunity.
|
|
65
|
+
*/
|
|
66
|
+
moved?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Gets or sets the opportunity id that the attendee was moved from.
|
|
69
|
+
*/
|
|
70
|
+
movedFrom?: string | null;
|
|
60
71
|
attendee?: Attendee;
|
|
72
|
+
orderItem?: OrderItem;
|
|
73
|
+
scheduledSession?: ScheduledSession;
|
|
74
|
+
course?: Course;
|
|
61
75
|
};
|
|
@@ -14,6 +14,39 @@ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
|
14
14
|
export class OpportunityRegisterService {
|
|
15
15
|
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Moves an attendee from one scheduled sessions opportunity register to another.
|
|
19
|
+
* @returns OpportunityRegister Success
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
public move({
|
|
23
|
+
opportunityRegisterId,
|
|
24
|
+
scheduledSessionId,
|
|
25
|
+
}: {
|
|
26
|
+
/**
|
|
27
|
+
* The current register the attendee is assigned to.
|
|
28
|
+
*/
|
|
29
|
+
opportunityRegisterId: string;
|
|
30
|
+
/**
|
|
31
|
+
* The scheduled session the attendee needs to be moved to.
|
|
32
|
+
*/
|
|
33
|
+
scheduledSessionId: string;
|
|
34
|
+
}): CancelablePromise<OpportunityRegister> {
|
|
35
|
+
return this.httpRequest.request({
|
|
36
|
+
method: 'GET',
|
|
37
|
+
url: '/api/opportunity-register/{opportunityRegisterId}/move-to/{scheduledSessionId}',
|
|
38
|
+
path: {
|
|
39
|
+
opportunityRegisterId: opportunityRegisterId,
|
|
40
|
+
scheduledSessionId: scheduledSessionId,
|
|
41
|
+
},
|
|
42
|
+
errors: {
|
|
43
|
+
400: `Bad Request`,
|
|
44
|
+
422: `Client Error`,
|
|
45
|
+
500: `Server Error`,
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
17
50
|
/**
|
|
18
51
|
* Gets the resource by its Id.
|
|
19
52
|
* @returns OpportunityRegister Success
|
|
@@ -81,6 +114,8 @@ export class OpportunityRegisterService {
|
|
|
81
114
|
courseId,
|
|
82
115
|
confirmed,
|
|
83
116
|
checkedIn,
|
|
117
|
+
moved,
|
|
118
|
+
movedFrom,
|
|
84
119
|
pageNumber,
|
|
85
120
|
take,
|
|
86
121
|
limitListRequests,
|
|
@@ -120,6 +155,14 @@ export class OpportunityRegisterService {
|
|
|
120
155
|
* Gets or sets the queryable attendee checked in value.
|
|
121
156
|
*/
|
|
122
157
|
checkedIn?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Gets or sets the queryable attendee moved value.
|
|
160
|
+
*/
|
|
161
|
+
moved?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
164
|
+
*/
|
|
165
|
+
movedFrom?: string;
|
|
123
166
|
/**
|
|
124
167
|
* Gets or sets the page number for paged queries.
|
|
125
168
|
*/
|
|
@@ -172,6 +215,8 @@ export class OpportunityRegisterService {
|
|
|
172
215
|
CourseId: courseId,
|
|
173
216
|
Confirmed: confirmed,
|
|
174
217
|
CheckedIn: checkedIn,
|
|
218
|
+
Moved: moved,
|
|
219
|
+
MovedFrom: movedFrom,
|
|
175
220
|
PageNumber: pageNumber,
|
|
176
221
|
Take: take,
|
|
177
222
|
LimitListRequests: limitListRequests,
|
|
@@ -204,6 +249,8 @@ export class OpportunityRegisterService {
|
|
|
204
249
|
courseId,
|
|
205
250
|
confirmed,
|
|
206
251
|
checkedIn,
|
|
252
|
+
moved,
|
|
253
|
+
movedFrom,
|
|
207
254
|
pageNumber,
|
|
208
255
|
take,
|
|
209
256
|
limitListRequests,
|
|
@@ -243,6 +290,14 @@ export class OpportunityRegisterService {
|
|
|
243
290
|
* Gets or sets the queryable attendee checked in value.
|
|
244
291
|
*/
|
|
245
292
|
checkedIn?: boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Gets or sets the queryable attendee moved value.
|
|
295
|
+
*/
|
|
296
|
+
moved?: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
299
|
+
*/
|
|
300
|
+
movedFrom?: string;
|
|
246
301
|
/**
|
|
247
302
|
* Gets or sets the page number for paged queries.
|
|
248
303
|
*/
|
|
@@ -295,6 +350,8 @@ export class OpportunityRegisterService {
|
|
|
295
350
|
CourseId: courseId,
|
|
296
351
|
Confirmed: confirmed,
|
|
297
352
|
CheckedIn: checkedIn,
|
|
353
|
+
Moved: moved,
|
|
354
|
+
MovedFrom: movedFrom,
|
|
298
355
|
PageNumber: pageNumber,
|
|
299
356
|
Take: take,
|
|
300
357
|
LimitListRequests: limitListRequests,
|
|
@@ -353,6 +410,8 @@ export class OpportunityRegisterService {
|
|
|
353
410
|
courseId,
|
|
354
411
|
confirmed,
|
|
355
412
|
checkedIn,
|
|
413
|
+
moved,
|
|
414
|
+
movedFrom,
|
|
356
415
|
pageNumber,
|
|
357
416
|
take,
|
|
358
417
|
limitListRequests,
|
|
@@ -392,6 +451,14 @@ export class OpportunityRegisterService {
|
|
|
392
451
|
* Gets or sets the queryable attendee checked in value.
|
|
393
452
|
*/
|
|
394
453
|
checkedIn?: boolean;
|
|
454
|
+
/**
|
|
455
|
+
* Gets or sets the queryable attendee moved value.
|
|
456
|
+
*/
|
|
457
|
+
moved?: boolean;
|
|
458
|
+
/**
|
|
459
|
+
* Gets or sets the queryable opportunity register that the attendee was moved from.
|
|
460
|
+
*/
|
|
461
|
+
movedFrom?: string;
|
|
395
462
|
/**
|
|
396
463
|
* Gets or sets the page number for paged queries.
|
|
397
464
|
*/
|
|
@@ -444,6 +511,8 @@ export class OpportunityRegisterService {
|
|
|
444
511
|
CourseId: courseId,
|
|
445
512
|
Confirmed: confirmed,
|
|
446
513
|
CheckedIn: checkedIn,
|
|
514
|
+
Moved: moved,
|
|
515
|
+
MovedFrom: movedFrom,
|
|
447
516
|
PageNumber: pageNumber,
|
|
448
517
|
Take: take,
|
|
449
518
|
LimitListRequests: limitListRequests,
|
|
@@ -23,11 +23,16 @@ export class OrdersService {
|
|
|
23
23
|
*/
|
|
24
24
|
public cancel({
|
|
25
25
|
id,
|
|
26
|
+
requestBody,
|
|
26
27
|
}: {
|
|
27
28
|
/**
|
|
28
29
|
* The Order id.
|
|
29
30
|
*/
|
|
30
31
|
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* The order items in the case of a partial refund.
|
|
34
|
+
*/
|
|
35
|
+
requestBody?: Array<string>;
|
|
31
36
|
}): CancelablePromise<Order> {
|
|
32
37
|
return this.httpRequest.request({
|
|
33
38
|
method: 'POST',
|
|
@@ -35,6 +40,8 @@ export class OrdersService {
|
|
|
35
40
|
path: {
|
|
36
41
|
id: id,
|
|
37
42
|
},
|
|
43
|
+
body: requestBody,
|
|
44
|
+
mediaType: 'application/json',
|
|
38
45
|
errors: {
|
|
39
46
|
400: `Bad Request`,
|
|
40
47
|
422: `Client Error`,
|
|
@@ -50,11 +57,16 @@ export class OrdersService {
|
|
|
50
57
|
*/
|
|
51
58
|
public refund({
|
|
52
59
|
id,
|
|
60
|
+
requestBody,
|
|
53
61
|
}: {
|
|
54
62
|
/**
|
|
55
63
|
* The Order id.
|
|
56
64
|
*/
|
|
57
65
|
id: string;
|
|
66
|
+
/**
|
|
67
|
+
* The order items in the case of a partial refund.
|
|
68
|
+
*/
|
|
69
|
+
requestBody?: Array<string>;
|
|
58
70
|
}): CancelablePromise<Order> {
|
|
59
71
|
return this.httpRequest.request({
|
|
60
72
|
method: 'POST',
|
|
@@ -62,6 +74,8 @@ export class OrdersService {
|
|
|
62
74
|
path: {
|
|
63
75
|
id: id,
|
|
64
76
|
},
|
|
77
|
+
body: requestBody,
|
|
78
|
+
mediaType: 'application/json',
|
|
65
79
|
errors: {
|
|
66
80
|
400: `Bad Request`,
|
|
67
81
|
422: `Client Error`,
|
|
@@ -77,11 +91,16 @@ export class OrdersService {
|
|
|
77
91
|
*/
|
|
78
92
|
public cancelWithRefund({
|
|
79
93
|
id,
|
|
94
|
+
requestBody,
|
|
80
95
|
}: {
|
|
81
96
|
/**
|
|
82
97
|
* The Order id.
|
|
83
98
|
*/
|
|
84
99
|
id: string;
|
|
100
|
+
/**
|
|
101
|
+
* The order items in the case of a partial refund.
|
|
102
|
+
*/
|
|
103
|
+
requestBody?: Array<string>;
|
|
85
104
|
}): CancelablePromise<Order> {
|
|
86
105
|
return this.httpRequest.request({
|
|
87
106
|
method: 'POST',
|
|
@@ -89,6 +108,8 @@ export class OrdersService {
|
|
|
89
108
|
path: {
|
|
90
109
|
id: id,
|
|
91
110
|
},
|
|
111
|
+
body: requestBody,
|
|
112
|
+
mediaType: 'application/json',
|
|
92
113
|
errors: {
|
|
93
114
|
400: `Bad Request`,
|
|
94
115
|
422: `Client Error`,
|