reach-api-sdk 1.0.50 → 1.0.52
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 +39 -6
- package/dist/reach-sdk.js +7 -1
- package/package.json +1 -1
- package/src/definition/swagger.yaml +51 -4
- package/src/models/Attendee.ts +4 -0
- package/src/models/AttendeePost.ts +6 -2
- package/src/models/ProgrammePost.ts +12 -0
- package/src/models/SurveyCreate.ts +2 -0
- package/src/models/SurveySubmit.ts +1 -1
- package/src/services/AttendeesService.ts +18 -0
- package/src/services/OrdersService.ts +1 -1
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -299,6 +299,10 @@ type Attendee = {
|
|
|
299
299
|
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
300
300
|
*/
|
|
301
301
|
isLive: boolean;
|
|
302
|
+
/**
|
|
303
|
+
* Gets or sets the venue id.
|
|
304
|
+
*/
|
|
305
|
+
venueId: string;
|
|
302
306
|
/**
|
|
303
307
|
* Gets or sets the customer id.
|
|
304
308
|
*/
|
|
@@ -373,11 +377,15 @@ type AttendeePost = {
|
|
|
373
377
|
/**
|
|
374
378
|
* Gets or sets the attendee first name.
|
|
375
379
|
*/
|
|
376
|
-
firstName
|
|
380
|
+
firstName: string;
|
|
377
381
|
/**
|
|
378
382
|
* Gets or sets the attendee last name.
|
|
379
383
|
*/
|
|
380
|
-
lastName
|
|
384
|
+
lastName: string;
|
|
385
|
+
/**
|
|
386
|
+
* Gets or sets the attendee last name.
|
|
387
|
+
*/
|
|
388
|
+
customerId: string;
|
|
381
389
|
};
|
|
382
390
|
|
|
383
391
|
declare class AttendeesService {
|
|
@@ -410,7 +418,11 @@ declare class AttendeesService {
|
|
|
410
418
|
* @returns boolean Success
|
|
411
419
|
* @throws ApiError
|
|
412
420
|
*/
|
|
413
|
-
exists({ customerId, firstName, lastName, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
421
|
+
exists({ venueId, customerId, firstName, lastName, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
422
|
+
/**
|
|
423
|
+
* Gets or sets the queryable venue id.
|
|
424
|
+
*/
|
|
425
|
+
venueId?: string;
|
|
414
426
|
/**
|
|
415
427
|
* Gets or sets the queryable customer id.
|
|
416
428
|
*/
|
|
@@ -469,7 +481,11 @@ declare class AttendeesService {
|
|
|
469
481
|
* @returns AttendeePage Success
|
|
470
482
|
* @throws ApiError
|
|
471
483
|
*/
|
|
472
|
-
getPage({ customerId, firstName, lastName, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
484
|
+
getPage({ venueId, customerId, firstName, lastName, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
485
|
+
/**
|
|
486
|
+
* Gets or sets the queryable venue id.
|
|
487
|
+
*/
|
|
488
|
+
venueId?: string;
|
|
473
489
|
/**
|
|
474
490
|
* Gets or sets the queryable customer id.
|
|
475
491
|
*/
|
|
@@ -539,7 +555,11 @@ declare class AttendeesService {
|
|
|
539
555
|
* @returns Attendee Success
|
|
540
556
|
* @throws ApiError
|
|
541
557
|
*/
|
|
542
|
-
getListIdName({ customerId, firstName, lastName, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
558
|
+
getListIdName({ venueId, customerId, firstName, lastName, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
559
|
+
/**
|
|
560
|
+
* Gets or sets the queryable venue id.
|
|
561
|
+
*/
|
|
562
|
+
venueId?: string;
|
|
543
563
|
/**
|
|
544
564
|
* Gets or sets the queryable customer id.
|
|
545
565
|
*/
|
|
@@ -15135,6 +15155,18 @@ type ProgrammePost = {
|
|
|
15135
15155
|
* Gets or sets the tenant Id.
|
|
15136
15156
|
*/
|
|
15137
15157
|
tenantId: string;
|
|
15158
|
+
/**
|
|
15159
|
+
* Gets or sets the programmes name.
|
|
15160
|
+
*/
|
|
15161
|
+
name: string;
|
|
15162
|
+
/**
|
|
15163
|
+
* Gets or sets the programmes description.
|
|
15164
|
+
*/
|
|
15165
|
+
description: string;
|
|
15166
|
+
/**
|
|
15167
|
+
* Gets or sets the programme image url.
|
|
15168
|
+
*/
|
|
15169
|
+
imageUrl: string;
|
|
15138
15170
|
};
|
|
15139
15171
|
|
|
15140
15172
|
declare class ProgrammesService {
|
|
@@ -20091,7 +20123,7 @@ type SurveySubmit = {
|
|
|
20091
20123
|
/**
|
|
20092
20124
|
* Gets or sets the survey id.
|
|
20093
20125
|
*/
|
|
20094
|
-
surveyId
|
|
20126
|
+
surveyId?: string;
|
|
20095
20127
|
/**
|
|
20096
20128
|
* Gets or sets the order item id.
|
|
20097
20129
|
*/
|
|
@@ -26908,6 +26940,7 @@ type SurveyCreate = {
|
|
|
26908
26940
|
name: string;
|
|
26909
26941
|
type: SurveyType;
|
|
26910
26942
|
target: SurveyQuestionsTarget;
|
|
26943
|
+
responseMode: SurveyResponseMode;
|
|
26911
26944
|
/**
|
|
26912
26945
|
* Gets or sets a value indicating whether the survey is active.
|
|
26913
26946
|
*/
|
package/dist/reach-sdk.js
CHANGED
|
@@ -540,6 +540,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
540
540
|
* @throws ApiError
|
|
541
541
|
*/
|
|
542
542
|
exists({
|
|
543
|
+
venueId,
|
|
543
544
|
customerId,
|
|
544
545
|
firstName,
|
|
545
546
|
lastName,
|
|
@@ -558,6 +559,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
558
559
|
method: "GET",
|
|
559
560
|
url: "/api/attendees/exists",
|
|
560
561
|
query: {
|
|
562
|
+
VenueId: venueId,
|
|
561
563
|
CustomerId: customerId,
|
|
562
564
|
FirstName: firstName,
|
|
563
565
|
LastName: lastName,
|
|
@@ -585,6 +587,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
585
587
|
* @throws ApiError
|
|
586
588
|
*/
|
|
587
589
|
getPage({
|
|
590
|
+
venueId,
|
|
588
591
|
customerId,
|
|
589
592
|
firstName,
|
|
590
593
|
lastName,
|
|
@@ -603,6 +606,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
603
606
|
method: "GET",
|
|
604
607
|
url: "/api/attendees",
|
|
605
608
|
query: {
|
|
609
|
+
VenueId: venueId,
|
|
606
610
|
CustomerId: customerId,
|
|
607
611
|
FirstName: firstName,
|
|
608
612
|
LastName: lastName,
|
|
@@ -650,6 +654,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
650
654
|
* @throws ApiError
|
|
651
655
|
*/
|
|
652
656
|
getListIdName({
|
|
657
|
+
venueId,
|
|
653
658
|
customerId,
|
|
654
659
|
firstName,
|
|
655
660
|
lastName,
|
|
@@ -668,6 +673,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
668
673
|
method: "GET",
|
|
669
674
|
url: "/api/attendees/id-name",
|
|
670
675
|
query: {
|
|
676
|
+
VenueId: venueId,
|
|
671
677
|
CustomerId: customerId,
|
|
672
678
|
FirstName: firstName,
|
|
673
679
|
LastName: lastName,
|
|
@@ -8548,7 +8554,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8548
8554
|
}) {
|
|
8549
8555
|
return this.httpRequest.request({
|
|
8550
8556
|
method: "GET",
|
|
8551
|
-
url: "/api/orders/{id}/send-make-payment",
|
|
8557
|
+
url: "/api/orders/v2-temporary-route/{id}/send-make-payment",
|
|
8552
8558
|
path: {
|
|
8553
8559
|
id
|
|
8554
8560
|
},
|
package/package.json
CHANGED
|
@@ -502,6 +502,12 @@ paths:
|
|
|
502
502
|
summary: Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
503
503
|
operationId: Exists
|
|
504
504
|
parameters:
|
|
505
|
+
- name: VenueId
|
|
506
|
+
in: query
|
|
507
|
+
description: Gets or sets the queryable venue id.
|
|
508
|
+
schema:
|
|
509
|
+
type: string
|
|
510
|
+
format: uuid
|
|
505
511
|
- name: CustomerId
|
|
506
512
|
in: query
|
|
507
513
|
description: Gets or sets the queryable customer id.
|
|
@@ -633,6 +639,12 @@ paths:
|
|
|
633
639
|
summary: Gets a list of resources.
|
|
634
640
|
operationId: GetPage
|
|
635
641
|
parameters:
|
|
642
|
+
- name: VenueId
|
|
643
|
+
in: query
|
|
644
|
+
description: Gets or sets the queryable venue id.
|
|
645
|
+
schema:
|
|
646
|
+
type: string
|
|
647
|
+
format: uuid
|
|
636
648
|
- name: CustomerId
|
|
637
649
|
in: query
|
|
638
650
|
description: Gets or sets the queryable customer id.
|
|
@@ -820,6 +832,12 @@ paths:
|
|
|
820
832
|
summary: Gets a list of resources.
|
|
821
833
|
operationId: GetListIdName
|
|
822
834
|
parameters:
|
|
835
|
+
- name: VenueId
|
|
836
|
+
in: query
|
|
837
|
+
description: Gets or sets the queryable venue id.
|
|
838
|
+
schema:
|
|
839
|
+
type: string
|
|
840
|
+
format: uuid
|
|
823
841
|
- name: CustomerId
|
|
824
842
|
in: query
|
|
825
843
|
description: Gets or sets the queryable customer id.
|
|
@@ -24649,7 +24667,7 @@ paths:
|
|
|
24649
24667
|
text/json:
|
|
24650
24668
|
schema:
|
|
24651
24669
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
24652
|
-
'/api/orders/{id}/send-make-payment':
|
|
24670
|
+
'/api/orders/v2-temporary-route/{id}/send-make-payment':
|
|
24653
24671
|
get:
|
|
24654
24672
|
tags:
|
|
24655
24673
|
- Orders
|
|
@@ -69453,6 +69471,7 @@ components:
|
|
|
69453
69471
|
- lastName
|
|
69454
69472
|
- nameAbbreviation
|
|
69455
69473
|
- tenantId
|
|
69474
|
+
- venueId
|
|
69456
69475
|
type: object
|
|
69457
69476
|
properties:
|
|
69458
69477
|
id:
|
|
@@ -69480,6 +69499,10 @@ components:
|
|
|
69480
69499
|
type: boolean
|
|
69481
69500
|
description: Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
69482
69501
|
default: false
|
|
69502
|
+
venueId:
|
|
69503
|
+
type: string
|
|
69504
|
+
description: Gets or sets the venue id.
|
|
69505
|
+
format: uuid
|
|
69483
69506
|
customerId:
|
|
69484
69507
|
type: string
|
|
69485
69508
|
description: Gets or sets the customer id.
|
|
@@ -69536,6 +69559,9 @@ components:
|
|
|
69536
69559
|
description: Post model for attendee updates.
|
|
69537
69560
|
AttendeePost:
|
|
69538
69561
|
required:
|
|
69562
|
+
- customerId
|
|
69563
|
+
- firstName
|
|
69564
|
+
- lastName
|
|
69539
69565
|
- tenantId
|
|
69540
69566
|
type: object
|
|
69541
69567
|
properties:
|
|
@@ -69544,13 +69570,17 @@ components:
|
|
|
69544
69570
|
description: Gets or sets the tenant Id.
|
|
69545
69571
|
format: uuid
|
|
69546
69572
|
firstName:
|
|
69573
|
+
minLength: 1
|
|
69547
69574
|
type: string
|
|
69548
69575
|
description: Gets or sets the attendee first name.
|
|
69549
|
-
nullable: true
|
|
69550
69576
|
lastName:
|
|
69577
|
+
minLength: 1
|
|
69551
69578
|
type: string
|
|
69552
69579
|
description: Gets or sets the attendee last name.
|
|
69553
|
-
|
|
69580
|
+
customerId:
|
|
69581
|
+
type: string
|
|
69582
|
+
description: Gets or sets the attendee last name.
|
|
69583
|
+
format: uuid
|
|
69554
69584
|
additionalProperties: false
|
|
69555
69585
|
description: Post model for attendee inserts.
|
|
69556
69586
|
AutoCompleteResponseModel:
|
|
@@ -74536,6 +74566,9 @@ components:
|
|
|
74536
74566
|
description: Post model for programme updates.
|
|
74537
74567
|
ProgrammePost:
|
|
74538
74568
|
required:
|
|
74569
|
+
- description
|
|
74570
|
+
- imageUrl
|
|
74571
|
+
- name
|
|
74539
74572
|
- tenantId
|
|
74540
74573
|
type: object
|
|
74541
74574
|
properties:
|
|
@@ -74543,6 +74576,18 @@ components:
|
|
|
74543
74576
|
type: string
|
|
74544
74577
|
description: Gets or sets the tenant Id.
|
|
74545
74578
|
format: uuid
|
|
74579
|
+
name:
|
|
74580
|
+
minLength: 1
|
|
74581
|
+
type: string
|
|
74582
|
+
description: Gets or sets the programmes name.
|
|
74583
|
+
description:
|
|
74584
|
+
minLength: 1
|
|
74585
|
+
type: string
|
|
74586
|
+
description: Gets or sets the programmes description.
|
|
74587
|
+
imageUrl:
|
|
74588
|
+
type: string
|
|
74589
|
+
description: Gets or sets the programme image url.
|
|
74590
|
+
format: uri
|
|
74546
74591
|
additionalProperties: false
|
|
74547
74592
|
description: Post model for programme inserts.
|
|
74548
74593
|
ReachEntity:
|
|
@@ -76749,6 +76794,7 @@ components:
|
|
|
76749
76794
|
- id
|
|
76750
76795
|
- name
|
|
76751
76796
|
- questions
|
|
76797
|
+
- responseMode
|
|
76752
76798
|
- target
|
|
76753
76799
|
- tenantId
|
|
76754
76800
|
- type
|
|
@@ -76770,6 +76816,8 @@ components:
|
|
|
76770
76816
|
$ref: '#/components/schemas/SurveyType'
|
|
76771
76817
|
target:
|
|
76772
76818
|
$ref: '#/components/schemas/SurveyQuestionsTarget'
|
|
76819
|
+
responseMode:
|
|
76820
|
+
$ref: '#/components/schemas/SurveyResponseMode'
|
|
76773
76821
|
active:
|
|
76774
76822
|
type: boolean
|
|
76775
76823
|
description: Gets or sets a value indicating whether the survey is active.
|
|
@@ -77194,7 +77242,6 @@ components:
|
|
|
77194
77242
|
required:
|
|
77195
77243
|
- attendees
|
|
77196
77244
|
- orderItemId
|
|
77197
|
-
- surveyId
|
|
77198
77245
|
- tenantId
|
|
77199
77246
|
type: object
|
|
77200
77247
|
properties:
|
package/src/models/Attendee.ts
CHANGED
|
@@ -31,6 +31,10 @@ export type Attendee = {
|
|
|
31
31
|
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
32
32
|
*/
|
|
33
33
|
isLive: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the venue id.
|
|
36
|
+
*/
|
|
37
|
+
venueId: string;
|
|
34
38
|
/**
|
|
35
39
|
* Gets or sets the customer id.
|
|
36
40
|
*/
|
|
@@ -14,9 +14,13 @@ export type AttendeePost = {
|
|
|
14
14
|
/**
|
|
15
15
|
* Gets or sets the attendee first name.
|
|
16
16
|
*/
|
|
17
|
-
firstName
|
|
17
|
+
firstName: string;
|
|
18
18
|
/**
|
|
19
19
|
* Gets or sets the attendee last name.
|
|
20
20
|
*/
|
|
21
|
-
lastName
|
|
21
|
+
lastName: string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the attendee last name.
|
|
24
|
+
*/
|
|
25
|
+
customerId: string;
|
|
22
26
|
};
|
|
@@ -11,4 +11,16 @@ export type ProgrammePost = {
|
|
|
11
11
|
* Gets or sets the tenant Id.
|
|
12
12
|
*/
|
|
13
13
|
tenantId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the programmes name.
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the programmes description.
|
|
20
|
+
*/
|
|
21
|
+
description: string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the programme image url.
|
|
24
|
+
*/
|
|
25
|
+
imageUrl: string;
|
|
14
26
|
};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { CreateQuestion } from './CreateQuestion';
|
|
7
7
|
import type { SurveyQuestionsTarget } from './SurveyQuestionsTarget';
|
|
8
|
+
import type { SurveyResponseMode } from './SurveyResponseMode';
|
|
8
9
|
import type { SurveyType } from './SurveyType';
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -25,6 +26,7 @@ export type SurveyCreate = {
|
|
|
25
26
|
name: string;
|
|
26
27
|
type: SurveyType;
|
|
27
28
|
target: SurveyQuestionsTarget;
|
|
29
|
+
responseMode: SurveyResponseMode;
|
|
28
30
|
/**
|
|
29
31
|
* Gets or sets a value indicating whether the survey is active.
|
|
30
32
|
*/
|
|
@@ -74,6 +74,7 @@ export class AttendeesService {
|
|
|
74
74
|
* @throws ApiError
|
|
75
75
|
*/
|
|
76
76
|
public exists({
|
|
77
|
+
venueId,
|
|
77
78
|
customerId,
|
|
78
79
|
firstName,
|
|
79
80
|
lastName,
|
|
@@ -88,6 +89,10 @@ export class AttendeesService {
|
|
|
88
89
|
isLive,
|
|
89
90
|
sortOrderDirection,
|
|
90
91
|
}: {
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets the queryable venue id.
|
|
94
|
+
*/
|
|
95
|
+
venueId?: string;
|
|
91
96
|
/**
|
|
92
97
|
* Gets or sets the queryable customer id.
|
|
93
98
|
*/
|
|
@@ -145,6 +150,7 @@ export class AttendeesService {
|
|
|
145
150
|
method: 'GET',
|
|
146
151
|
url: '/api/attendees/exists',
|
|
147
152
|
query: {
|
|
153
|
+
VenueId: venueId,
|
|
148
154
|
CustomerId: customerId,
|
|
149
155
|
FirstName: firstName,
|
|
150
156
|
LastName: lastName,
|
|
@@ -173,6 +179,7 @@ export class AttendeesService {
|
|
|
173
179
|
* @throws ApiError
|
|
174
180
|
*/
|
|
175
181
|
public getPage({
|
|
182
|
+
venueId,
|
|
176
183
|
customerId,
|
|
177
184
|
firstName,
|
|
178
185
|
lastName,
|
|
@@ -187,6 +194,10 @@ export class AttendeesService {
|
|
|
187
194
|
isLive,
|
|
188
195
|
sortOrderDirection,
|
|
189
196
|
}: {
|
|
197
|
+
/**
|
|
198
|
+
* Gets or sets the queryable venue id.
|
|
199
|
+
*/
|
|
200
|
+
venueId?: string;
|
|
190
201
|
/**
|
|
191
202
|
* Gets or sets the queryable customer id.
|
|
192
203
|
*/
|
|
@@ -244,6 +255,7 @@ export class AttendeesService {
|
|
|
244
255
|
method: 'GET',
|
|
245
256
|
url: '/api/attendees',
|
|
246
257
|
query: {
|
|
258
|
+
VenueId: venueId,
|
|
247
259
|
CustomerId: customerId,
|
|
248
260
|
FirstName: firstName,
|
|
249
261
|
LastName: lastName,
|
|
@@ -298,6 +310,7 @@ export class AttendeesService {
|
|
|
298
310
|
* @throws ApiError
|
|
299
311
|
*/
|
|
300
312
|
public getListIdName({
|
|
313
|
+
venueId,
|
|
301
314
|
customerId,
|
|
302
315
|
firstName,
|
|
303
316
|
lastName,
|
|
@@ -312,6 +325,10 @@ export class AttendeesService {
|
|
|
312
325
|
isLive,
|
|
313
326
|
sortOrderDirection,
|
|
314
327
|
}: {
|
|
328
|
+
/**
|
|
329
|
+
* Gets or sets the queryable venue id.
|
|
330
|
+
*/
|
|
331
|
+
venueId?: string;
|
|
315
332
|
/**
|
|
316
333
|
* Gets or sets the queryable customer id.
|
|
317
334
|
*/
|
|
@@ -369,6 +386,7 @@ export class AttendeesService {
|
|
|
369
386
|
method: 'GET',
|
|
370
387
|
url: '/api/attendees/id-name',
|
|
371
388
|
query: {
|
|
389
|
+
VenueId: venueId,
|
|
372
390
|
CustomerId: customerId,
|
|
373
391
|
FirstName: firstName,
|
|
374
392
|
LastName: lastName,
|
|
@@ -221,7 +221,7 @@ export class OrdersService {
|
|
|
221
221
|
}): CancelablePromise<any> {
|
|
222
222
|
return this.httpRequest.request({
|
|
223
223
|
method: 'GET',
|
|
224
|
-
url: '/api/orders/{id}/send-make-payment',
|
|
224
|
+
url: '/api/orders/v2-temporary-route/{id}/send-make-payment',
|
|
225
225
|
path: {
|
|
226
226
|
id: id,
|
|
227
227
|
},
|