reach-api-sdk 1.0.64 → 1.0.66
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 +147 -7
- package/dist/reach-sdk.js +53 -0
- package/package.json +1 -1
- package/src/definition/swagger.yaml +237 -5
- package/src/models/Session.ts +1 -1
- package/src/models/Template.ts +6 -2
- package/src/models/TemplateDetail.ts +63 -1
- package/src/services/UsersService.ts +123 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -2416,7 +2416,7 @@ type Session = {
|
|
|
2416
2416
|
*/
|
|
2417
2417
|
surveyId?: string | null;
|
|
2418
2418
|
/**
|
|
2419
|
-
* Gets or sets the
|
|
2419
|
+
* Gets or sets the session post completion survey id.
|
|
2420
2420
|
*/
|
|
2421
2421
|
postCompletionSurveyId?: string | null;
|
|
2422
2422
|
sessionType?: SessionType;
|
|
@@ -27895,6 +27895,26 @@ type TemplateDetail = {
|
|
|
27895
27895
|
* Gets or sets the template id.
|
|
27896
27896
|
*/
|
|
27897
27897
|
templateId?: string;
|
|
27898
|
+
/**
|
|
27899
|
+
* Gets or sets the templates venue id.
|
|
27900
|
+
*/
|
|
27901
|
+
venueId?: string | null;
|
|
27902
|
+
/**
|
|
27903
|
+
* Gets or sets the templates activity id.
|
|
27904
|
+
*/
|
|
27905
|
+
activityId?: number | null;
|
|
27906
|
+
/**
|
|
27907
|
+
* Gets or sets the templates programme id.
|
|
27908
|
+
*/
|
|
27909
|
+
programmeId?: string | null;
|
|
27910
|
+
/**
|
|
27911
|
+
* Gets or sets the templates post completion survey id.
|
|
27912
|
+
*/
|
|
27913
|
+
postCompletionSurveyId?: string | null;
|
|
27914
|
+
/**
|
|
27915
|
+
* Gets or sets the templates survey id.
|
|
27916
|
+
*/
|
|
27917
|
+
surveyId?: string | null;
|
|
27898
27918
|
/**
|
|
27899
27919
|
* Gets or sets the templates name.
|
|
27900
27920
|
*/
|
|
@@ -27904,9 +27924,50 @@ type TemplateDetail = {
|
|
|
27904
27924
|
*/
|
|
27905
27925
|
description?: string | null;
|
|
27906
27926
|
/**
|
|
27907
|
-
* Gets or sets the
|
|
27927
|
+
* Gets or sets the templates image url.
|
|
27908
27928
|
*/
|
|
27909
27929
|
imageUrl?: string | null;
|
|
27930
|
+
/**
|
|
27931
|
+
* Gets or sets the templates meeting instructions.
|
|
27932
|
+
*/
|
|
27933
|
+
meetingInstructions?: string | null;
|
|
27934
|
+
/**
|
|
27935
|
+
* Gets or sets the templates equipment required.
|
|
27936
|
+
*/
|
|
27937
|
+
equipmentRequired?: string | null;
|
|
27938
|
+
/**
|
|
27939
|
+
* Gets or sets the templates capacity.
|
|
27940
|
+
*/
|
|
27941
|
+
capacity?: number | null;
|
|
27942
|
+
/**
|
|
27943
|
+
* Gets or sets a value indicating whether the template has unlimited capacity.
|
|
27944
|
+
*/
|
|
27945
|
+
capacityUnlimited?: boolean | null;
|
|
27946
|
+
gender?: Gender;
|
|
27947
|
+
/**
|
|
27948
|
+
* Gets or sets the templates min age.
|
|
27949
|
+
*/
|
|
27950
|
+
minAge?: number | null;
|
|
27951
|
+
/**
|
|
27952
|
+
* Gets or sets the templates max age.
|
|
27953
|
+
*/
|
|
27954
|
+
maxAge?: number | null;
|
|
27955
|
+
/**
|
|
27956
|
+
* Gets or sets the templates additional support options.
|
|
27957
|
+
*/
|
|
27958
|
+
additionalSupport?: Array<string> | null;
|
|
27959
|
+
/**
|
|
27960
|
+
* Gets or sets the templates contact name.
|
|
27961
|
+
*/
|
|
27962
|
+
contactName?: string | null;
|
|
27963
|
+
/**
|
|
27964
|
+
* Gets or sets the templates contact phone.
|
|
27965
|
+
*/
|
|
27966
|
+
contactPhone?: string | null;
|
|
27967
|
+
/**
|
|
27968
|
+
* Gets or sets the templates contact email.
|
|
27969
|
+
*/
|
|
27970
|
+
contactEmail?: string | null;
|
|
27910
27971
|
/**
|
|
27911
27972
|
* Gets or sets the templates referenced offers.
|
|
27912
27973
|
*/
|
|
@@ -28515,15 +28576,19 @@ type Template = {
|
|
|
28515
28576
|
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
28516
28577
|
*/
|
|
28517
28578
|
isLive: boolean;
|
|
28579
|
+
activityType?: ActivityType;
|
|
28518
28580
|
/**
|
|
28519
28581
|
* Gets or sets the templates name.
|
|
28520
28582
|
*/
|
|
28521
28583
|
name?: string | null;
|
|
28522
28584
|
/**
|
|
28523
|
-
* Gets or sets the
|
|
28585
|
+
* Gets or sets the templates description.
|
|
28586
|
+
*/
|
|
28587
|
+
desscription?: string | null;
|
|
28588
|
+
/**
|
|
28589
|
+
* Gets or sets the templates image url.
|
|
28524
28590
|
*/
|
|
28525
28591
|
imageUrl?: string | null;
|
|
28526
|
-
activityType?: ActivityType;
|
|
28527
28592
|
details?: TemplateDetail;
|
|
28528
28593
|
};
|
|
28529
28594
|
|
|
@@ -30131,6 +30196,69 @@ declare class UsersService {
|
|
|
30131
30196
|
* @throws ApiError
|
|
30132
30197
|
*/
|
|
30133
30198
|
getUser(): CancelablePromise<User>;
|
|
30199
|
+
/**
|
|
30200
|
+
* Returns a value indicating whether an object exists in the database given the provided search params.
|
|
30201
|
+
* @returns boolean Success
|
|
30202
|
+
* @throws ApiError
|
|
30203
|
+
*/
|
|
30204
|
+
globalExists({ ids, roles, name, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
30205
|
+
/**
|
|
30206
|
+
* Gets or sets the queryable user ids.
|
|
30207
|
+
*/
|
|
30208
|
+
ids?: Array<string>;
|
|
30209
|
+
/**
|
|
30210
|
+
* Gets or sets the queryable user ids.
|
|
30211
|
+
*/
|
|
30212
|
+
roles?: Array<string>;
|
|
30213
|
+
/**
|
|
30214
|
+
* Gets or sets the users Name for use in a query search.
|
|
30215
|
+
*/
|
|
30216
|
+
name?: string;
|
|
30217
|
+
/**
|
|
30218
|
+
* Gets or sets the users Email for use in a query search.
|
|
30219
|
+
*/
|
|
30220
|
+
email?: string;
|
|
30221
|
+
/**
|
|
30222
|
+
* Gets or sets the page number for paged queries.
|
|
30223
|
+
*/
|
|
30224
|
+
pageNumber?: number;
|
|
30225
|
+
/**
|
|
30226
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
30227
|
+
*/
|
|
30228
|
+
take?: number;
|
|
30229
|
+
/**
|
|
30230
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
30231
|
+
*/
|
|
30232
|
+
limitListRequests?: boolean;
|
|
30233
|
+
/**
|
|
30234
|
+
* Gets or sets the Tenant Id.
|
|
30235
|
+
*/
|
|
30236
|
+
tenantId?: string;
|
|
30237
|
+
/**
|
|
30238
|
+
* Gets or sets the Modifed By Id.
|
|
30239
|
+
*/
|
|
30240
|
+
modifiedById?: string;
|
|
30241
|
+
/**
|
|
30242
|
+
* Gets or sets the Modifed By Ids.
|
|
30243
|
+
*/
|
|
30244
|
+
modifiedByIds?: Array<string>;
|
|
30245
|
+
/**
|
|
30246
|
+
* Gets or sets the Date Created greater than equal to.
|
|
30247
|
+
*/
|
|
30248
|
+
dateCreatedGte?: string;
|
|
30249
|
+
/**
|
|
30250
|
+
* Gets or sets the Date Created less than equal to.
|
|
30251
|
+
*/
|
|
30252
|
+
dateCreatedLte?: string;
|
|
30253
|
+
/**
|
|
30254
|
+
* Gets or sets the queryable only is live status.
|
|
30255
|
+
*/
|
|
30256
|
+
isLive?: boolean;
|
|
30257
|
+
/**
|
|
30258
|
+
* Gets or sets the sort order direction.
|
|
30259
|
+
*/
|
|
30260
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
30261
|
+
}): CancelablePromise<boolean>;
|
|
30134
30262
|
/**
|
|
30135
30263
|
* Checks whether stripe accounts exist for the .
|
|
30136
30264
|
* @returns boolean Success
|
|
@@ -30170,7 +30298,7 @@ declare class UsersService {
|
|
|
30170
30298
|
* @returns boolean Success
|
|
30171
30299
|
* @throws ApiError
|
|
30172
30300
|
*/
|
|
30173
|
-
exists({ ids, roles, name, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
30301
|
+
exists({ ids, roles, name, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
30174
30302
|
/**
|
|
30175
30303
|
* Gets or sets the queryable user ids.
|
|
30176
30304
|
*/
|
|
@@ -30183,6 +30311,10 @@ declare class UsersService {
|
|
|
30183
30311
|
* Gets or sets the users Name for use in a query search.
|
|
30184
30312
|
*/
|
|
30185
30313
|
name?: string;
|
|
30314
|
+
/**
|
|
30315
|
+
* Gets or sets the users Email for use in a query search.
|
|
30316
|
+
*/
|
|
30317
|
+
email?: string;
|
|
30186
30318
|
/**
|
|
30187
30319
|
* Gets or sets the page number for paged queries.
|
|
30188
30320
|
*/
|
|
@@ -30229,7 +30361,7 @@ declare class UsersService {
|
|
|
30229
30361
|
* @returns UserPage Success
|
|
30230
30362
|
* @throws ApiError
|
|
30231
30363
|
*/
|
|
30232
|
-
getPage({ ids, roles, name, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
30364
|
+
getPage({ ids, roles, name, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
30233
30365
|
/**
|
|
30234
30366
|
* Gets or sets the queryable user ids.
|
|
30235
30367
|
*/
|
|
@@ -30242,6 +30374,10 @@ declare class UsersService {
|
|
|
30242
30374
|
* Gets or sets the users Name for use in a query search.
|
|
30243
30375
|
*/
|
|
30244
30376
|
name?: string;
|
|
30377
|
+
/**
|
|
30378
|
+
* Gets or sets the users Email for use in a query search.
|
|
30379
|
+
*/
|
|
30380
|
+
email?: string;
|
|
30245
30381
|
/**
|
|
30246
30382
|
* Gets or sets the page number for paged queries.
|
|
30247
30383
|
*/
|
|
@@ -30299,7 +30435,7 @@ declare class UsersService {
|
|
|
30299
30435
|
* @returns User Success
|
|
30300
30436
|
* @throws ApiError
|
|
30301
30437
|
*/
|
|
30302
|
-
getListIdName({ ids, roles, name, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
30438
|
+
getListIdName({ ids, roles, name, email, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
30303
30439
|
/**
|
|
30304
30440
|
* Gets or sets the queryable user ids.
|
|
30305
30441
|
*/
|
|
@@ -30312,6 +30448,10 @@ declare class UsersService {
|
|
|
30312
30448
|
* Gets or sets the users Name for use in a query search.
|
|
30313
30449
|
*/
|
|
30314
30450
|
name?: string;
|
|
30451
|
+
/**
|
|
30452
|
+
* Gets or sets the users Email for use in a query search.
|
|
30453
|
+
*/
|
|
30454
|
+
email?: string;
|
|
30315
30455
|
/**
|
|
30316
30456
|
* Gets or sets the page number for paged queries.
|
|
30317
30457
|
*/
|
package/dist/reach-sdk.js
CHANGED
|
@@ -23358,6 +23358,53 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23358
23358
|
}
|
|
23359
23359
|
});
|
|
23360
23360
|
}
|
|
23361
|
+
/**
|
|
23362
|
+
* Returns a value indicating whether an object exists in the database given the provided search params.
|
|
23363
|
+
* @returns boolean Success
|
|
23364
|
+
* @throws ApiError
|
|
23365
|
+
*/
|
|
23366
|
+
globalExists({
|
|
23367
|
+
ids,
|
|
23368
|
+
roles,
|
|
23369
|
+
name,
|
|
23370
|
+
email,
|
|
23371
|
+
pageNumber,
|
|
23372
|
+
take,
|
|
23373
|
+
limitListRequests,
|
|
23374
|
+
tenantId,
|
|
23375
|
+
modifiedById,
|
|
23376
|
+
modifiedByIds,
|
|
23377
|
+
dateCreatedGte,
|
|
23378
|
+
dateCreatedLte,
|
|
23379
|
+
isLive,
|
|
23380
|
+
sortOrderDirection
|
|
23381
|
+
}) {
|
|
23382
|
+
return this.httpRequest.request({
|
|
23383
|
+
method: "GET",
|
|
23384
|
+
url: "/api/users/exists-globally",
|
|
23385
|
+
query: {
|
|
23386
|
+
Ids: ids,
|
|
23387
|
+
Roles: roles,
|
|
23388
|
+
Name: name,
|
|
23389
|
+
Email: email,
|
|
23390
|
+
PageNumber: pageNumber,
|
|
23391
|
+
Take: take,
|
|
23392
|
+
LimitListRequests: limitListRequests,
|
|
23393
|
+
TenantId: tenantId,
|
|
23394
|
+
ModifiedById: modifiedById,
|
|
23395
|
+
ModifiedByIds: modifiedByIds,
|
|
23396
|
+
DateCreatedGTE: dateCreatedGte,
|
|
23397
|
+
DateCreatedLTE: dateCreatedLte,
|
|
23398
|
+
IsLive: isLive,
|
|
23399
|
+
SortOrderDirection: sortOrderDirection
|
|
23400
|
+
},
|
|
23401
|
+
errors: {
|
|
23402
|
+
400: `Bad Request`,
|
|
23403
|
+
422: `Client Error`,
|
|
23404
|
+
500: `Server Error`
|
|
23405
|
+
}
|
|
23406
|
+
});
|
|
23407
|
+
}
|
|
23361
23408
|
/**
|
|
23362
23409
|
* Checks whether stripe accounts exist for the .
|
|
23363
23410
|
* @returns boolean Success
|
|
@@ -23441,6 +23488,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23441
23488
|
ids,
|
|
23442
23489
|
roles,
|
|
23443
23490
|
name,
|
|
23491
|
+
email,
|
|
23444
23492
|
pageNumber,
|
|
23445
23493
|
take,
|
|
23446
23494
|
limitListRequests,
|
|
@@ -23459,6 +23507,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23459
23507
|
Ids: ids,
|
|
23460
23508
|
Roles: roles,
|
|
23461
23509
|
Name: name,
|
|
23510
|
+
Email: email,
|
|
23462
23511
|
PageNumber: pageNumber,
|
|
23463
23512
|
Take: take,
|
|
23464
23513
|
LimitListRequests: limitListRequests,
|
|
@@ -23486,6 +23535,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23486
23535
|
ids,
|
|
23487
23536
|
roles,
|
|
23488
23537
|
name,
|
|
23538
|
+
email,
|
|
23489
23539
|
pageNumber,
|
|
23490
23540
|
take,
|
|
23491
23541
|
limitListRequests,
|
|
@@ -23504,6 +23554,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23504
23554
|
Ids: ids,
|
|
23505
23555
|
Roles: roles,
|
|
23506
23556
|
Name: name,
|
|
23557
|
+
Email: email,
|
|
23507
23558
|
PageNumber: pageNumber,
|
|
23508
23559
|
Take: take,
|
|
23509
23560
|
LimitListRequests: limitListRequests,
|
|
@@ -23551,6 +23602,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23551
23602
|
ids,
|
|
23552
23603
|
roles,
|
|
23553
23604
|
name,
|
|
23605
|
+
email,
|
|
23554
23606
|
pageNumber,
|
|
23555
23607
|
take,
|
|
23556
23608
|
limitListRequests,
|
|
@@ -23569,6 +23621,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23569
23621
|
Ids: ids,
|
|
23570
23622
|
Roles: roles,
|
|
23571
23623
|
Name: name,
|
|
23624
|
+
Email: email,
|
|
23572
23625
|
PageNumber: pageNumber,
|
|
23573
23626
|
Take: take,
|
|
23574
23627
|
LimitListRequests: limitListRequests,
|
package/package.json
CHANGED
|
@@ -68230,6 +68230,146 @@ paths:
|
|
|
68230
68230
|
text/json:
|
|
68231
68231
|
schema:
|
|
68232
68232
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
68233
|
+
/api/users/exists-globally:
|
|
68234
|
+
get:
|
|
68235
|
+
tags:
|
|
68236
|
+
- Users
|
|
68237
|
+
summary: Returns a value indicating whether an object exists in the database given the provided search params.
|
|
68238
|
+
operationId: GlobalExists
|
|
68239
|
+
parameters:
|
|
68240
|
+
- name: Ids
|
|
68241
|
+
in: query
|
|
68242
|
+
description: Gets or sets the queryable user ids.
|
|
68243
|
+
schema:
|
|
68244
|
+
type: array
|
|
68245
|
+
items:
|
|
68246
|
+
type: string
|
|
68247
|
+
format: uuid
|
|
68248
|
+
- name: Roles
|
|
68249
|
+
in: query
|
|
68250
|
+
description: Gets or sets the queryable user ids.
|
|
68251
|
+
schema:
|
|
68252
|
+
type: array
|
|
68253
|
+
items:
|
|
68254
|
+
type: string
|
|
68255
|
+
- name: Name
|
|
68256
|
+
in: query
|
|
68257
|
+
description: Gets or sets the users Name for use in a query search.
|
|
68258
|
+
schema:
|
|
68259
|
+
type: string
|
|
68260
|
+
- name: Email
|
|
68261
|
+
in: query
|
|
68262
|
+
description: Gets or sets the users Email for use in a query search.
|
|
68263
|
+
schema:
|
|
68264
|
+
type: string
|
|
68265
|
+
- name: PageNumber
|
|
68266
|
+
in: query
|
|
68267
|
+
description: Gets or sets the page number for paged queries.
|
|
68268
|
+
schema:
|
|
68269
|
+
type: integer
|
|
68270
|
+
format: int32
|
|
68271
|
+
- name: Take
|
|
68272
|
+
in: query
|
|
68273
|
+
description: 'Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.'
|
|
68274
|
+
schema:
|
|
68275
|
+
type: integer
|
|
68276
|
+
format: int32
|
|
68277
|
+
- name: LimitListRequests
|
|
68278
|
+
in: query
|
|
68279
|
+
description: Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
68280
|
+
schema:
|
|
68281
|
+
type: boolean
|
|
68282
|
+
- name: TenantId
|
|
68283
|
+
in: query
|
|
68284
|
+
description: Gets or sets the Tenant Id.
|
|
68285
|
+
schema:
|
|
68286
|
+
type: string
|
|
68287
|
+
format: uuid
|
|
68288
|
+
- name: ModifiedById
|
|
68289
|
+
in: query
|
|
68290
|
+
description: Gets or sets the Modifed By Id.
|
|
68291
|
+
schema:
|
|
68292
|
+
type: string
|
|
68293
|
+
format: uuid
|
|
68294
|
+
- name: ModifiedByIds
|
|
68295
|
+
in: query
|
|
68296
|
+
description: Gets or sets the Modifed By Ids.
|
|
68297
|
+
schema:
|
|
68298
|
+
type: array
|
|
68299
|
+
items:
|
|
68300
|
+
type: string
|
|
68301
|
+
format: uuid
|
|
68302
|
+
- name: DateCreatedGTE
|
|
68303
|
+
in: query
|
|
68304
|
+
description: Gets or sets the Date Created greater than equal to.
|
|
68305
|
+
schema:
|
|
68306
|
+
type: string
|
|
68307
|
+
format: date-time
|
|
68308
|
+
- name: DateCreatedLTE
|
|
68309
|
+
in: query
|
|
68310
|
+
description: Gets or sets the Date Created less than equal to.
|
|
68311
|
+
schema:
|
|
68312
|
+
type: string
|
|
68313
|
+
format: date-time
|
|
68314
|
+
- name: IsLive
|
|
68315
|
+
in: query
|
|
68316
|
+
description: Gets or sets the queryable only is live status.
|
|
68317
|
+
schema:
|
|
68318
|
+
type: boolean
|
|
68319
|
+
- name: SortOrderDirection
|
|
68320
|
+
in: query
|
|
68321
|
+
description: Gets or sets the sort order direction.
|
|
68322
|
+
schema:
|
|
68323
|
+
$ref: '#/components/schemas/SearchSortOrderDirection'
|
|
68324
|
+
responses:
|
|
68325
|
+
'200':
|
|
68326
|
+
description: Success
|
|
68327
|
+
content:
|
|
68328
|
+
text/plain:
|
|
68329
|
+
schema:
|
|
68330
|
+
type: boolean
|
|
68331
|
+
application/json:
|
|
68332
|
+
schema:
|
|
68333
|
+
type: boolean
|
|
68334
|
+
text/json:
|
|
68335
|
+
schema:
|
|
68336
|
+
type: boolean
|
|
68337
|
+
'400':
|
|
68338
|
+
description: Bad Request
|
|
68339
|
+
content:
|
|
68340
|
+
text/plain:
|
|
68341
|
+
schema:
|
|
68342
|
+
$ref: '#/components/schemas/ReachError'
|
|
68343
|
+
application/json:
|
|
68344
|
+
schema:
|
|
68345
|
+
$ref: '#/components/schemas/ReachError'
|
|
68346
|
+
text/json:
|
|
68347
|
+
schema:
|
|
68348
|
+
$ref: '#/components/schemas/ReachError'
|
|
68349
|
+
'500':
|
|
68350
|
+
description: Server Error
|
|
68351
|
+
content:
|
|
68352
|
+
text/plain:
|
|
68353
|
+
schema:
|
|
68354
|
+
$ref: '#/components/schemas/ReachError'
|
|
68355
|
+
application/json:
|
|
68356
|
+
schema:
|
|
68357
|
+
$ref: '#/components/schemas/ReachError'
|
|
68358
|
+
text/json:
|
|
68359
|
+
schema:
|
|
68360
|
+
$ref: '#/components/schemas/ReachError'
|
|
68361
|
+
'422':
|
|
68362
|
+
description: Client Error
|
|
68363
|
+
content:
|
|
68364
|
+
text/plain:
|
|
68365
|
+
schema:
|
|
68366
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
68367
|
+
application/json:
|
|
68368
|
+
schema:
|
|
68369
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
68370
|
+
text/json:
|
|
68371
|
+
schema:
|
|
68372
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
68233
68373
|
/api/users/check-for-stripe:
|
|
68234
68374
|
get:
|
|
68235
68375
|
tags:
|
|
@@ -68482,6 +68622,11 @@ paths:
|
|
|
68482
68622
|
description: Gets or sets the users Name for use in a query search.
|
|
68483
68623
|
schema:
|
|
68484
68624
|
type: string
|
|
68625
|
+
- name: Email
|
|
68626
|
+
in: query
|
|
68627
|
+
description: Gets or sets the users Email for use in a query search.
|
|
68628
|
+
schema:
|
|
68629
|
+
type: string
|
|
68485
68630
|
- name: PageNumber
|
|
68486
68631
|
in: query
|
|
68487
68632
|
description: Gets or sets the page number for paged queries.
|
|
@@ -68617,6 +68762,11 @@ paths:
|
|
|
68617
68762
|
description: Gets or sets the users Name for use in a query search.
|
|
68618
68763
|
schema:
|
|
68619
68764
|
type: string
|
|
68765
|
+
- name: Email
|
|
68766
|
+
in: query
|
|
68767
|
+
description: Gets or sets the users Email for use in a query search.
|
|
68768
|
+
schema:
|
|
68769
|
+
type: string
|
|
68620
68770
|
- name: PageNumber
|
|
68621
68771
|
in: query
|
|
68622
68772
|
description: Gets or sets the page number for paged queries.
|
|
@@ -68808,6 +68958,11 @@ paths:
|
|
|
68808
68958
|
description: Gets or sets the users Name for use in a query search.
|
|
68809
68959
|
schema:
|
|
68810
68960
|
type: string
|
|
68961
|
+
- name: Email
|
|
68962
|
+
in: query
|
|
68963
|
+
description: Gets or sets the users Email for use in a query search.
|
|
68964
|
+
schema:
|
|
68965
|
+
type: string
|
|
68811
68966
|
- name: PageNumber
|
|
68812
68967
|
in: query
|
|
68813
68968
|
description: Gets or sets the page number for paged queries.
|
|
@@ -79785,7 +79940,7 @@ components:
|
|
|
79785
79940
|
nullable: true
|
|
79786
79941
|
postCompletionSurveyId:
|
|
79787
79942
|
type: string
|
|
79788
|
-
description: Gets or sets the
|
|
79943
|
+
description: Gets or sets the session post completion survey id.
|
|
79789
79944
|
format: uuid
|
|
79790
79945
|
nullable: true
|
|
79791
79946
|
sessionType:
|
|
@@ -81883,6 +82038,7 @@ components:
|
|
|
81883
82038
|
required:
|
|
81884
82039
|
- dateCreated
|
|
81885
82040
|
- dateModified
|
|
82041
|
+
- details
|
|
81886
82042
|
- isLive
|
|
81887
82043
|
- tenantId
|
|
81888
82044
|
type: object
|
|
@@ -81912,17 +82068,21 @@ components:
|
|
|
81912
82068
|
type: boolean
|
|
81913
82069
|
description: Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
81914
82070
|
default: false
|
|
82071
|
+
activityType:
|
|
82072
|
+
$ref: '#/components/schemas/ActivityType'
|
|
81915
82073
|
name:
|
|
81916
82074
|
type: string
|
|
81917
82075
|
description: Gets or sets the templates name.
|
|
81918
82076
|
nullable: true
|
|
82077
|
+
desscription:
|
|
82078
|
+
type: string
|
|
82079
|
+
description: Gets or sets the templates description.
|
|
82080
|
+
nullable: true
|
|
81919
82081
|
imageUrl:
|
|
81920
82082
|
type: string
|
|
81921
|
-
description: Gets or sets the
|
|
82083
|
+
description: Gets or sets the templates image url.
|
|
81922
82084
|
format: uri
|
|
81923
82085
|
nullable: true
|
|
81924
|
-
activityType:
|
|
81925
|
-
$ref: '#/components/schemas/ActivityType'
|
|
81926
82086
|
details:
|
|
81927
82087
|
$ref: '#/components/schemas/TemplateDetail'
|
|
81928
82088
|
additionalProperties: false
|
|
@@ -81964,6 +82124,31 @@ components:
|
|
|
81964
82124
|
type: string
|
|
81965
82125
|
description: Gets or sets the template id.
|
|
81966
82126
|
format: uuid
|
|
82127
|
+
venueId:
|
|
82128
|
+
type: string
|
|
82129
|
+
description: Gets or sets the templates venue id.
|
|
82130
|
+
format: uuid
|
|
82131
|
+
nullable: true
|
|
82132
|
+
activityId:
|
|
82133
|
+
type: integer
|
|
82134
|
+
description: Gets or sets the templates activity id.
|
|
82135
|
+
format: int32
|
|
82136
|
+
nullable: true
|
|
82137
|
+
programmeId:
|
|
82138
|
+
type: string
|
|
82139
|
+
description: Gets or sets the templates programme id.
|
|
82140
|
+
format: uuid
|
|
82141
|
+
nullable: true
|
|
82142
|
+
postCompletionSurveyId:
|
|
82143
|
+
type: string
|
|
82144
|
+
description: Gets or sets the templates post completion survey id.
|
|
82145
|
+
format: uuid
|
|
82146
|
+
nullable: true
|
|
82147
|
+
surveyId:
|
|
82148
|
+
type: string
|
|
82149
|
+
description: Gets or sets the templates survey id.
|
|
82150
|
+
format: uuid
|
|
82151
|
+
nullable: true
|
|
81967
82152
|
name:
|
|
81968
82153
|
type: string
|
|
81969
82154
|
description: Gets or sets the templates name.
|
|
@@ -81974,9 +82159,56 @@ components:
|
|
|
81974
82159
|
nullable: true
|
|
81975
82160
|
imageUrl:
|
|
81976
82161
|
type: string
|
|
81977
|
-
description: Gets or sets the
|
|
82162
|
+
description: Gets or sets the templates image url.
|
|
81978
82163
|
format: uri
|
|
81979
82164
|
nullable: true
|
|
82165
|
+
meetingInstructions:
|
|
82166
|
+
type: string
|
|
82167
|
+
description: Gets or sets the templates meeting instructions.
|
|
82168
|
+
nullable: true
|
|
82169
|
+
equipmentRequired:
|
|
82170
|
+
type: string
|
|
82171
|
+
description: Gets or sets the templates equipment required.
|
|
82172
|
+
nullable: true
|
|
82173
|
+
capacity:
|
|
82174
|
+
type: integer
|
|
82175
|
+
description: Gets or sets the templates capacity.
|
|
82176
|
+
format: int32
|
|
82177
|
+
nullable: true
|
|
82178
|
+
capacityUnlimited:
|
|
82179
|
+
type: boolean
|
|
82180
|
+
description: Gets or sets a value indicating whether the template has unlimited capacity.
|
|
82181
|
+
nullable: true
|
|
82182
|
+
gender:
|
|
82183
|
+
$ref: '#/components/schemas/Gender'
|
|
82184
|
+
minAge:
|
|
82185
|
+
type: integer
|
|
82186
|
+
description: Gets or sets the templates min age.
|
|
82187
|
+
format: int32
|
|
82188
|
+
nullable: true
|
|
82189
|
+
maxAge:
|
|
82190
|
+
type: integer
|
|
82191
|
+
description: Gets or sets the templates max age.
|
|
82192
|
+
format: int32
|
|
82193
|
+
nullable: true
|
|
82194
|
+
additionalSupport:
|
|
82195
|
+
type: array
|
|
82196
|
+
items:
|
|
82197
|
+
type: string
|
|
82198
|
+
description: Gets or sets the templates additional support options.
|
|
82199
|
+
nullable: true
|
|
82200
|
+
contactName:
|
|
82201
|
+
type: string
|
|
82202
|
+
description: Gets or sets the templates contact name.
|
|
82203
|
+
nullable: true
|
|
82204
|
+
contactPhone:
|
|
82205
|
+
type: string
|
|
82206
|
+
description: Gets or sets the templates contact phone.
|
|
82207
|
+
nullable: true
|
|
82208
|
+
contactEmail:
|
|
82209
|
+
type: string
|
|
82210
|
+
description: Gets or sets the templates contact email.
|
|
82211
|
+
nullable: true
|
|
81980
82212
|
offers:
|
|
81981
82213
|
type: array
|
|
81982
82214
|
items:
|
package/src/models/Session.ts
CHANGED
package/src/models/Template.ts
CHANGED
|
@@ -34,14 +34,18 @@ export type Template = {
|
|
|
34
34
|
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
35
35
|
*/
|
|
36
36
|
isLive: boolean;
|
|
37
|
+
activityType?: ActivityType;
|
|
37
38
|
/**
|
|
38
39
|
* Gets or sets the templates name.
|
|
39
40
|
*/
|
|
40
41
|
name?: string | null;
|
|
41
42
|
/**
|
|
42
|
-
* Gets or sets the
|
|
43
|
+
* Gets or sets the templates description.
|
|
44
|
+
*/
|
|
45
|
+
desscription?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets the templates image url.
|
|
43
48
|
*/
|
|
44
49
|
imageUrl?: string | null;
|
|
45
|
-
activityType?: ActivityType;
|
|
46
50
|
details?: TemplateDetail;
|
|
47
51
|
};
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
|
+
import type { Gender } from './Gender';
|
|
6
7
|
import type { TemplateOffer } from './TemplateOffer';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -37,6 +38,26 @@ export type TemplateDetail = {
|
|
|
37
38
|
* Gets or sets the template id.
|
|
38
39
|
*/
|
|
39
40
|
templateId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the templates venue id.
|
|
43
|
+
*/
|
|
44
|
+
venueId?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Gets or sets the templates activity id.
|
|
47
|
+
*/
|
|
48
|
+
activityId?: number | null;
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the templates programme id.
|
|
51
|
+
*/
|
|
52
|
+
programmeId?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the templates post completion survey id.
|
|
55
|
+
*/
|
|
56
|
+
postCompletionSurveyId?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Gets or sets the templates survey id.
|
|
59
|
+
*/
|
|
60
|
+
surveyId?: string | null;
|
|
40
61
|
/**
|
|
41
62
|
* Gets or sets the templates name.
|
|
42
63
|
*/
|
|
@@ -46,9 +67,50 @@ export type TemplateDetail = {
|
|
|
46
67
|
*/
|
|
47
68
|
description?: string | null;
|
|
48
69
|
/**
|
|
49
|
-
* Gets or sets the
|
|
70
|
+
* Gets or sets the templates image url.
|
|
50
71
|
*/
|
|
51
72
|
imageUrl?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Gets or sets the templates meeting instructions.
|
|
75
|
+
*/
|
|
76
|
+
meetingInstructions?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* Gets or sets the templates equipment required.
|
|
79
|
+
*/
|
|
80
|
+
equipmentRequired?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Gets or sets the templates capacity.
|
|
83
|
+
*/
|
|
84
|
+
capacity?: number | null;
|
|
85
|
+
/**
|
|
86
|
+
* Gets or sets a value indicating whether the template has unlimited capacity.
|
|
87
|
+
*/
|
|
88
|
+
capacityUnlimited?: boolean | null;
|
|
89
|
+
gender?: Gender;
|
|
90
|
+
/**
|
|
91
|
+
* Gets or sets the templates min age.
|
|
92
|
+
*/
|
|
93
|
+
minAge?: number | null;
|
|
94
|
+
/**
|
|
95
|
+
* Gets or sets the templates max age.
|
|
96
|
+
*/
|
|
97
|
+
maxAge?: number | null;
|
|
98
|
+
/**
|
|
99
|
+
* Gets or sets the templates additional support options.
|
|
100
|
+
*/
|
|
101
|
+
additionalSupport?: Array<string> | null;
|
|
102
|
+
/**
|
|
103
|
+
* Gets or sets the templates contact name.
|
|
104
|
+
*/
|
|
105
|
+
contactName?: string | null;
|
|
106
|
+
/**
|
|
107
|
+
* Gets or sets the templates contact phone.
|
|
108
|
+
*/
|
|
109
|
+
contactPhone?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Gets or sets the templates contact email.
|
|
112
|
+
*/
|
|
113
|
+
contactEmail?: string | null;
|
|
52
114
|
/**
|
|
53
115
|
* Gets or sets the templates referenced offers.
|
|
54
116
|
*/
|
|
@@ -32,6 +32,111 @@ export class UsersService {
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Returns a value indicating whether an object exists in the database given the provided search params.
|
|
37
|
+
* @returns boolean Success
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
public globalExists({
|
|
41
|
+
ids,
|
|
42
|
+
roles,
|
|
43
|
+
name,
|
|
44
|
+
email,
|
|
45
|
+
pageNumber,
|
|
46
|
+
take,
|
|
47
|
+
limitListRequests,
|
|
48
|
+
tenantId,
|
|
49
|
+
modifiedById,
|
|
50
|
+
modifiedByIds,
|
|
51
|
+
dateCreatedGte,
|
|
52
|
+
dateCreatedLte,
|
|
53
|
+
isLive,
|
|
54
|
+
sortOrderDirection,
|
|
55
|
+
}: {
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets the queryable user ids.
|
|
58
|
+
*/
|
|
59
|
+
ids?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Gets or sets the queryable user ids.
|
|
62
|
+
*/
|
|
63
|
+
roles?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Gets or sets the users Name for use in a query search.
|
|
66
|
+
*/
|
|
67
|
+
name?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets the users Email for use in a query search.
|
|
70
|
+
*/
|
|
71
|
+
email?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Gets or sets the page number for paged queries.
|
|
74
|
+
*/
|
|
75
|
+
pageNumber?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
78
|
+
*/
|
|
79
|
+
take?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
82
|
+
*/
|
|
83
|
+
limitListRequests?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Gets or sets the Tenant Id.
|
|
86
|
+
*/
|
|
87
|
+
tenantId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Gets or sets the Modifed By Id.
|
|
90
|
+
*/
|
|
91
|
+
modifiedById?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets the Modifed By Ids.
|
|
94
|
+
*/
|
|
95
|
+
modifiedByIds?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Gets or sets the Date Created greater than equal to.
|
|
98
|
+
*/
|
|
99
|
+
dateCreatedGte?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Gets or sets the Date Created less than equal to.
|
|
102
|
+
*/
|
|
103
|
+
dateCreatedLte?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Gets or sets the queryable only is live status.
|
|
106
|
+
*/
|
|
107
|
+
isLive?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the sort order direction.
|
|
110
|
+
*/
|
|
111
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
112
|
+
}): CancelablePromise<boolean> {
|
|
113
|
+
return this.httpRequest.request({
|
|
114
|
+
method: 'GET',
|
|
115
|
+
url: '/api/users/exists-globally',
|
|
116
|
+
query: {
|
|
117
|
+
Ids: ids,
|
|
118
|
+
Roles: roles,
|
|
119
|
+
Name: name,
|
|
120
|
+
Email: email,
|
|
121
|
+
PageNumber: pageNumber,
|
|
122
|
+
Take: take,
|
|
123
|
+
LimitListRequests: limitListRequests,
|
|
124
|
+
TenantId: tenantId,
|
|
125
|
+
ModifiedById: modifiedById,
|
|
126
|
+
ModifiedByIds: modifiedByIds,
|
|
127
|
+
DateCreatedGTE: dateCreatedGte,
|
|
128
|
+
DateCreatedLTE: dateCreatedLte,
|
|
129
|
+
IsLive: isLive,
|
|
130
|
+
SortOrderDirection: sortOrderDirection,
|
|
131
|
+
},
|
|
132
|
+
errors: {
|
|
133
|
+
400: `Bad Request`,
|
|
134
|
+
422: `Client Error`,
|
|
135
|
+
500: `Server Error`,
|
|
136
|
+
},
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
|
|
35
140
|
/**
|
|
36
141
|
* Checks whether stripe accounts exist for the .
|
|
37
142
|
* @returns boolean Success
|
|
@@ -129,6 +234,7 @@ export class UsersService {
|
|
|
129
234
|
ids,
|
|
130
235
|
roles,
|
|
131
236
|
name,
|
|
237
|
+
email,
|
|
132
238
|
pageNumber,
|
|
133
239
|
take,
|
|
134
240
|
limitListRequests,
|
|
@@ -152,6 +258,10 @@ export class UsersService {
|
|
|
152
258
|
* Gets or sets the users Name for use in a query search.
|
|
153
259
|
*/
|
|
154
260
|
name?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Gets or sets the users Email for use in a query search.
|
|
263
|
+
*/
|
|
264
|
+
email?: string;
|
|
155
265
|
/**
|
|
156
266
|
* Gets or sets the page number for paged queries.
|
|
157
267
|
*/
|
|
@@ -200,6 +310,7 @@ export class UsersService {
|
|
|
200
310
|
Ids: ids,
|
|
201
311
|
Roles: roles,
|
|
202
312
|
Name: name,
|
|
313
|
+
Email: email,
|
|
203
314
|
PageNumber: pageNumber,
|
|
204
315
|
Take: take,
|
|
205
316
|
LimitListRequests: limitListRequests,
|
|
@@ -228,6 +339,7 @@ export class UsersService {
|
|
|
228
339
|
ids,
|
|
229
340
|
roles,
|
|
230
341
|
name,
|
|
342
|
+
email,
|
|
231
343
|
pageNumber,
|
|
232
344
|
take,
|
|
233
345
|
limitListRequests,
|
|
@@ -251,6 +363,10 @@ export class UsersService {
|
|
|
251
363
|
* Gets or sets the users Name for use in a query search.
|
|
252
364
|
*/
|
|
253
365
|
name?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Gets or sets the users Email for use in a query search.
|
|
368
|
+
*/
|
|
369
|
+
email?: string;
|
|
254
370
|
/**
|
|
255
371
|
* Gets or sets the page number for paged queries.
|
|
256
372
|
*/
|
|
@@ -299,6 +415,7 @@ export class UsersService {
|
|
|
299
415
|
Ids: ids,
|
|
300
416
|
Roles: roles,
|
|
301
417
|
Name: name,
|
|
418
|
+
Email: email,
|
|
302
419
|
PageNumber: pageNumber,
|
|
303
420
|
Take: take,
|
|
304
421
|
LimitListRequests: limitListRequests,
|
|
@@ -353,6 +470,7 @@ export class UsersService {
|
|
|
353
470
|
ids,
|
|
354
471
|
roles,
|
|
355
472
|
name,
|
|
473
|
+
email,
|
|
356
474
|
pageNumber,
|
|
357
475
|
take,
|
|
358
476
|
limitListRequests,
|
|
@@ -376,6 +494,10 @@ export class UsersService {
|
|
|
376
494
|
* Gets or sets the users Name for use in a query search.
|
|
377
495
|
*/
|
|
378
496
|
name?: string;
|
|
497
|
+
/**
|
|
498
|
+
* Gets or sets the users Email for use in a query search.
|
|
499
|
+
*/
|
|
500
|
+
email?: string;
|
|
379
501
|
/**
|
|
380
502
|
* Gets or sets the page number for paged queries.
|
|
381
503
|
*/
|
|
@@ -424,6 +546,7 @@ export class UsersService {
|
|
|
424
546
|
Ids: ids,
|
|
425
547
|
Roles: roles,
|
|
426
548
|
Name: name,
|
|
549
|
+
Email: email,
|
|
427
550
|
PageNumber: pageNumber,
|
|
428
551
|
Take: take,
|
|
429
552
|
LimitListRequests: limitListRequests,
|