reach-api-sdk 1.0.144 → 1.0.145

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.
@@ -4104,6 +4104,10 @@ type Venue = {
4104
4104
  * Gets or sets a value indicating whether the venue is published on the booking website.
4105
4105
  */
4106
4106
  publishedOnWeb?: boolean | null;
4107
+ /**
4108
+ * Gets or sets a value indicating whether the venue is archived and should be ignored under normal operation.
4109
+ */
4110
+ archived?: boolean | null;
4107
4111
  /**
4108
4112
  * Gets the computed image url.
4109
4113
  */
@@ -30434,7 +30438,7 @@ declare class PublicVenuesService {
30434
30438
  * @returns VenuePage Success
30435
30439
  * @throws ApiError
30436
30440
  */
30437
- getPage({ xTenantSubdomain, ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
30441
+ getPage({ xTenantSubdomain, ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, archived, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
30438
30442
  xTenantSubdomain?: string;
30439
30443
  /**
30440
30444
  * Gets or sets the queryable venue ids.
@@ -30480,6 +30484,10 @@ declare class PublicVenuesService {
30480
30484
  * Gets or sets a value indicating whether to show published venues.
30481
30485
  */
30482
30486
  publishedOnWeb?: boolean;
30487
+ /**
30488
+ * Gets or sets a value indicating whether to include archived venues.
30489
+ */
30490
+ archived?: boolean;
30483
30491
  /**
30484
30492
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
30485
30493
  */
@@ -30569,7 +30577,7 @@ declare class PublicVenuesService {
30569
30577
  * @returns VenuePage Success
30570
30578
  * @throws ApiError
30571
30579
  */
30572
- getNetworkPage({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
30580
+ getNetworkPage({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, archived, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
30573
30581
  /**
30574
30582
  * Gets or sets the queryable venue ids.
30575
30583
  */
@@ -30614,6 +30622,10 @@ declare class PublicVenuesService {
30614
30622
  * Gets or sets a value indicating whether to show published venues.
30615
30623
  */
30616
30624
  publishedOnWeb?: boolean;
30625
+ /**
30626
+ * Gets or sets a value indicating whether to include archived venues.
30627
+ */
30628
+ archived?: boolean;
30617
30629
  /**
30618
30630
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
30619
30631
  */
@@ -30733,7 +30745,7 @@ declare class PublicVenuesService {
30733
30745
  * @returns boolean Success
30734
30746
  * @throws ApiError
30735
30747
  */
30736
- exists({ xTenantSubdomain, ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
30748
+ exists({ xTenantSubdomain, ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, archived, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
30737
30749
  /**
30738
30750
  * The tenants subdomain.
30739
30751
  */
@@ -30782,6 +30794,10 @@ declare class PublicVenuesService {
30782
30794
  * Gets or sets a value indicating whether to show published venues.
30783
30795
  */
30784
30796
  publishedOnWeb?: boolean;
30797
+ /**
30798
+ * Gets or sets a value indicating whether to include archived venues.
30799
+ */
30800
+ archived?: boolean;
30785
30801
  /**
30786
30802
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
30787
30803
  */
@@ -45137,6 +45153,28 @@ type VenueCreate = {
45137
45153
  declare class VenuesService {
45138
45154
  readonly httpRequest: BaseHttpRequest;
45139
45155
  constructor(httpRequest: BaseHttpRequest);
45156
+ /**
45157
+ * Removes a venue.
45158
+ * @returns Venue Success
45159
+ * @throws ApiError
45160
+ */
45161
+ remove({ id, }: {
45162
+ /**
45163
+ * The venue id.
45164
+ */
45165
+ id: string;
45166
+ }): CancelablePromise<Venue>;
45167
+ /**
45168
+ * Unarchives a venue.
45169
+ * @returns Venue Success
45170
+ * @throws ApiError
45171
+ */
45172
+ unarchive({ id, }: {
45173
+ /**
45174
+ * The venue id.
45175
+ */
45176
+ id: string;
45177
+ }): CancelablePromise<Venue>;
45140
45178
  /**
45141
45179
  * Takes the venue offline />.
45142
45180
  * @returns Venue Success
@@ -45236,7 +45274,7 @@ declare class VenuesService {
45236
45274
  * @returns VenuePage Success
45237
45275
  * @throws ApiError
45238
45276
  */
45239
- getPage({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
45277
+ getPage({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, archived, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
45240
45278
  /**
45241
45279
  * Gets or sets the queryable venue ids.
45242
45280
  */
@@ -45281,6 +45319,10 @@ declare class VenuesService {
45281
45319
  * Gets or sets a value indicating whether to show published venues.
45282
45320
  */
45283
45321
  publishedOnWeb?: boolean;
45322
+ /**
45323
+ * Gets or sets a value indicating whether to include archived venues.
45324
+ */
45325
+ archived?: boolean;
45284
45326
  /**
45285
45327
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
45286
45328
  */
@@ -45388,7 +45430,7 @@ declare class VenuesService {
45388
45430
  * @returns boolean Success
45389
45431
  * @throws ApiError
45390
45432
  */
45391
- exists({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
45433
+ exists({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, archived, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
45392
45434
  /**
45393
45435
  * Gets or sets the queryable venue ids.
45394
45436
  */
@@ -45433,6 +45475,10 @@ declare class VenuesService {
45433
45475
  * Gets or sets a value indicating whether to show published venues.
45434
45476
  */
45435
45477
  publishedOnWeb?: boolean;
45478
+ /**
45479
+ * Gets or sets a value indicating whether to include archived venues.
45480
+ */
45481
+ archived?: boolean;
45436
45482
  /**
45437
45483
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
45438
45484
  */
@@ -45507,7 +45553,7 @@ declare class VenuesService {
45507
45553
  * @returns Venue Success
45508
45554
  * @throws ApiError
45509
45555
  */
45510
- getListWithoutReferences({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
45556
+ getListWithoutReferences({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, archived, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
45511
45557
  /**
45512
45558
  * Gets or sets the queryable venue ids.
45513
45559
  */
@@ -45552,6 +45598,10 @@ declare class VenuesService {
45552
45598
  * Gets or sets a value indicating whether to show published venues.
45553
45599
  */
45554
45600
  publishedOnWeb?: boolean;
45601
+ /**
45602
+ * Gets or sets a value indicating whether to include archived venues.
45603
+ */
45604
+ archived?: boolean;
45555
45605
  /**
45556
45606
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
45557
45607
  */
@@ -45626,7 +45676,7 @@ declare class VenuesService {
45626
45676
  * @returns Venue Success
45627
45677
  * @throws ApiError
45628
45678
  */
45629
- getListIdName({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
45679
+ getListIdName({ ids, wildcard, name, streetAddress, addressPostalcode, nameLike, slug, assignedTo, stripeAccountId, searchGeoCenter, publishedOnWeb, archived, networkId, programmeId, includeOpportunityImages, includeOpportunityOffers, includeNextOpportunity, distance, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
45630
45680
  /**
45631
45681
  * Gets or sets the queryable venue ids.
45632
45682
  */
@@ -45671,6 +45721,10 @@ declare class VenuesService {
45671
45721
  * Gets or sets a value indicating whether to show published venues.
45672
45722
  */
45673
45723
  publishedOnWeb?: boolean;
45724
+ /**
45725
+ * Gets or sets a value indicating whether to include archived venues.
45726
+ */
45727
+ archived?: boolean;
45674
45728
  /**
45675
45729
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
45676
45730
  */
package/dist/reach-sdk.js CHANGED
@@ -21306,6 +21306,7 @@ const request = (config, options, axiosClient = axios) => {
21306
21306
  stripeAccountId,
21307
21307
  searchGeoCenter,
21308
21308
  publishedOnWeb,
21309
+ archived,
21309
21310
  networkId,
21310
21311
  programmeId,
21311
21312
  includeOpportunityImages,
@@ -21342,6 +21343,7 @@ const request = (config, options, axiosClient = axios) => {
21342
21343
  StripeAccountId: stripeAccountId,
21343
21344
  SearchGeoCenter: searchGeoCenter,
21344
21345
  PublishedOnWeb: publishedOnWeb,
21346
+ Archived: archived,
21345
21347
  NetworkId: networkId,
21346
21348
  ProgrammeId: programmeId,
21347
21349
  IncludeOpportunityImages: includeOpportunityImages,
@@ -21408,6 +21410,7 @@ const request = (config, options, axiosClient = axios) => {
21408
21410
  stripeAccountId,
21409
21411
  searchGeoCenter,
21410
21412
  publishedOnWeb,
21413
+ archived,
21411
21414
  networkId,
21412
21415
  programmeId,
21413
21416
  includeOpportunityImages,
@@ -21441,6 +21444,7 @@ const request = (config, options, axiosClient = axios) => {
21441
21444
  StripeAccountId: stripeAccountId,
21442
21445
  SearchGeoCenter: searchGeoCenter,
21443
21446
  PublishedOnWeb: publishedOnWeb,
21447
+ Archived: archived,
21444
21448
  NetworkId: networkId,
21445
21449
  ProgrammeId: programmeId,
21446
21450
  IncludeOpportunityImages: includeOpportunityImages,
@@ -21556,6 +21560,7 @@ const request = (config, options, axiosClient = axios) => {
21556
21560
  stripeAccountId,
21557
21561
  searchGeoCenter,
21558
21562
  publishedOnWeb,
21563
+ archived,
21559
21564
  networkId,
21560
21565
  programmeId,
21561
21566
  includeOpportunityImages,
@@ -21592,6 +21597,7 @@ const request = (config, options, axiosClient = axios) => {
21592
21597
  StripeAccountId: stripeAccountId,
21593
21598
  SearchGeoCenter: searchGeoCenter,
21594
21599
  PublishedOnWeb: publishedOnWeb,
21600
+ Archived: archived,
21595
21601
  NetworkId: networkId,
21596
21602
  ProgrammeId: programmeId,
21597
21603
  IncludeOpportunityImages: includeOpportunityImages,
@@ -33609,6 +33615,48 @@ const request = (config, options, axiosClient = axios) => {
33609
33615
  constructor(httpRequest) {
33610
33616
  this.httpRequest = httpRequest;
33611
33617
  }
33618
+ /**
33619
+ * Removes a venue.
33620
+ * @returns Venue Success
33621
+ * @throws ApiError
33622
+ */
33623
+ remove({
33624
+ id
33625
+ }) {
33626
+ return this.httpRequest.request({
33627
+ method: "POST",
33628
+ url: "/api/venues/{id}/remove",
33629
+ path: {
33630
+ id
33631
+ },
33632
+ errors: {
33633
+ 400: `Bad Request`,
33634
+ 422: `Client Error`,
33635
+ 500: `Server Error`
33636
+ }
33637
+ });
33638
+ }
33639
+ /**
33640
+ * Unarchives a venue.
33641
+ * @returns Venue Success
33642
+ * @throws ApiError
33643
+ */
33644
+ unarchive({
33645
+ id
33646
+ }) {
33647
+ return this.httpRequest.request({
33648
+ method: "POST",
33649
+ url: "/api/venues/{id}/unarchive",
33650
+ path: {
33651
+ id
33652
+ },
33653
+ errors: {
33654
+ 400: `Bad Request`,
33655
+ 422: `Client Error`,
33656
+ 500: `Server Error`
33657
+ }
33658
+ });
33659
+ }
33612
33660
  /**
33613
33661
  * Takes the venue offline />.
33614
33662
  * @returns Venue Success
@@ -33804,6 +33852,7 @@ const request = (config, options, axiosClient = axios) => {
33804
33852
  stripeAccountId,
33805
33853
  searchGeoCenter,
33806
33854
  publishedOnWeb,
33855
+ archived,
33807
33856
  networkId,
33808
33857
  programmeId,
33809
33858
  includeOpportunityImages,
@@ -33837,6 +33886,7 @@ const request = (config, options, axiosClient = axios) => {
33837
33886
  StripeAccountId: stripeAccountId,
33838
33887
  SearchGeoCenter: searchGeoCenter,
33839
33888
  PublishedOnWeb: publishedOnWeb,
33889
+ Archived: archived,
33840
33890
  NetworkId: networkId,
33841
33891
  ProgrammeId: programmeId,
33842
33892
  IncludeOpportunityImages: includeOpportunityImages,
@@ -33942,6 +33992,7 @@ const request = (config, options, axiosClient = axios) => {
33942
33992
  stripeAccountId,
33943
33993
  searchGeoCenter,
33944
33994
  publishedOnWeb,
33995
+ archived,
33945
33996
  networkId,
33946
33997
  programmeId,
33947
33998
  includeOpportunityImages,
@@ -33975,6 +34026,7 @@ const request = (config, options, axiosClient = axios) => {
33975
34026
  StripeAccountId: stripeAccountId,
33976
34027
  SearchGeoCenter: searchGeoCenter,
33977
34028
  PublishedOnWeb: publishedOnWeb,
34029
+ Archived: archived,
33978
34030
  NetworkId: networkId,
33979
34031
  ProgrammeId: programmeId,
33980
34032
  IncludeOpportunityImages: includeOpportunityImages,
@@ -34017,6 +34069,7 @@ const request = (config, options, axiosClient = axios) => {
34017
34069
  stripeAccountId,
34018
34070
  searchGeoCenter,
34019
34071
  publishedOnWeb,
34072
+ archived,
34020
34073
  networkId,
34021
34074
  programmeId,
34022
34075
  includeOpportunityImages,
@@ -34050,6 +34103,7 @@ const request = (config, options, axiosClient = axios) => {
34050
34103
  StripeAccountId: stripeAccountId,
34051
34104
  SearchGeoCenter: searchGeoCenter,
34052
34105
  PublishedOnWeb: publishedOnWeb,
34106
+ Archived: archived,
34053
34107
  NetworkId: networkId,
34054
34108
  ProgrammeId: programmeId,
34055
34109
  IncludeOpportunityImages: includeOpportunityImages,
@@ -34092,6 +34146,7 @@ const request = (config, options, axiosClient = axios) => {
34092
34146
  stripeAccountId,
34093
34147
  searchGeoCenter,
34094
34148
  publishedOnWeb,
34149
+ archived,
34095
34150
  networkId,
34096
34151
  programmeId,
34097
34152
  includeOpportunityImages,
@@ -34125,6 +34180,7 @@ const request = (config, options, axiosClient = axios) => {
34125
34180
  StripeAccountId: stripeAccountId,
34126
34181
  SearchGeoCenter: searchGeoCenter,
34127
34182
  PublishedOnWeb: publishedOnWeb,
34183
+ Archived: archived,
34128
34184
  NetworkId: networkId,
34129
34185
  ProgrammeId: programmeId,
34130
34186
  IncludeOpportunityImages: includeOpportunityImages,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.144",
3
+ "version": "1.0.145",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -61718,6 +61718,11 @@ paths:
61718
61718
  description: Gets or sets a value indicating whether to show published venues.
61719
61719
  schema:
61720
61720
  type: boolean
61721
+ - name: Archived
61722
+ in: query
61723
+ description: Gets or sets a value indicating whether to include archived venues.
61724
+ schema:
61725
+ type: boolean
61721
61726
  - name: NetworkId
61722
61727
  in: query
61723
61728
  description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
@@ -61994,6 +61999,11 @@ paths:
61994
61999
  description: Gets or sets a value indicating whether to show published venues.
61995
62000
  schema:
61996
62001
  type: boolean
62002
+ - name: Archived
62003
+ in: query
62004
+ description: Gets or sets a value indicating whether to include archived venues.
62005
+ schema:
62006
+ type: boolean
61997
62007
  - name: NetworkId
61998
62008
  in: query
61999
62009
  description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
@@ -62443,6 +62453,11 @@ paths:
62443
62453
  description: Gets or sets a value indicating whether to show published venues.
62444
62454
  schema:
62445
62455
  type: boolean
62456
+ - name: Archived
62457
+ in: query
62458
+ description: Gets or sets a value indicating whether to include archived venues.
62459
+ schema:
62460
+ type: boolean
62446
62461
  - name: NetworkId
62447
62462
  in: query
62448
62463
  description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
@@ -98884,6 +98899,132 @@ paths:
98884
98899
  text/json:
98885
98900
  schema:
98886
98901
  $ref: '#/components/schemas/ValidationResultModel'
98902
+ '/api/venues/{id}/remove':
98903
+ post:
98904
+ tags:
98905
+ - Venues
98906
+ summary: Removes a venue.
98907
+ operationId: Remove
98908
+ parameters:
98909
+ - name: id
98910
+ in: path
98911
+ description: The venue id.
98912
+ required: true
98913
+ schema:
98914
+ type: string
98915
+ format: uuid
98916
+ responses:
98917
+ '200':
98918
+ description: Success
98919
+ content:
98920
+ text/plain:
98921
+ schema:
98922
+ $ref: '#/components/schemas/Venue'
98923
+ application/json:
98924
+ schema:
98925
+ $ref: '#/components/schemas/Venue'
98926
+ text/json:
98927
+ schema:
98928
+ $ref: '#/components/schemas/Venue'
98929
+ '400':
98930
+ description: Bad Request
98931
+ content:
98932
+ text/plain:
98933
+ schema:
98934
+ $ref: '#/components/schemas/ReachError'
98935
+ application/json:
98936
+ schema:
98937
+ $ref: '#/components/schemas/ReachError'
98938
+ text/json:
98939
+ schema:
98940
+ $ref: '#/components/schemas/ReachError'
98941
+ '500':
98942
+ description: Server Error
98943
+ content:
98944
+ text/plain:
98945
+ schema:
98946
+ $ref: '#/components/schemas/ReachError'
98947
+ application/json:
98948
+ schema:
98949
+ $ref: '#/components/schemas/ReachError'
98950
+ text/json:
98951
+ schema:
98952
+ $ref: '#/components/schemas/ReachError'
98953
+ '422':
98954
+ description: Client Error
98955
+ content:
98956
+ text/plain:
98957
+ schema:
98958
+ $ref: '#/components/schemas/ValidationResultModel'
98959
+ application/json:
98960
+ schema:
98961
+ $ref: '#/components/schemas/ValidationResultModel'
98962
+ text/json:
98963
+ schema:
98964
+ $ref: '#/components/schemas/ValidationResultModel'
98965
+ '/api/venues/{id}/unarchive':
98966
+ post:
98967
+ tags:
98968
+ - Venues
98969
+ summary: Unarchives a venue.
98970
+ operationId: Unarchive
98971
+ parameters:
98972
+ - name: id
98973
+ in: path
98974
+ description: The venue id.
98975
+ required: true
98976
+ schema:
98977
+ type: string
98978
+ format: uuid
98979
+ responses:
98980
+ '200':
98981
+ description: Success
98982
+ content:
98983
+ text/plain:
98984
+ schema:
98985
+ $ref: '#/components/schemas/Venue'
98986
+ application/json:
98987
+ schema:
98988
+ $ref: '#/components/schemas/Venue'
98989
+ text/json:
98990
+ schema:
98991
+ $ref: '#/components/schemas/Venue'
98992
+ '400':
98993
+ description: Bad Request
98994
+ content:
98995
+ text/plain:
98996
+ schema:
98997
+ $ref: '#/components/schemas/ReachError'
98998
+ application/json:
98999
+ schema:
99000
+ $ref: '#/components/schemas/ReachError'
99001
+ text/json:
99002
+ schema:
99003
+ $ref: '#/components/schemas/ReachError'
99004
+ '500':
99005
+ description: Server Error
99006
+ content:
99007
+ text/plain:
99008
+ schema:
99009
+ $ref: '#/components/schemas/ReachError'
99010
+ application/json:
99011
+ schema:
99012
+ $ref: '#/components/schemas/ReachError'
99013
+ text/json:
99014
+ schema:
99015
+ $ref: '#/components/schemas/ReachError'
99016
+ '422':
99017
+ description: Client Error
99018
+ content:
99019
+ text/plain:
99020
+ schema:
99021
+ $ref: '#/components/schemas/ValidationResultModel'
99022
+ application/json:
99023
+ schema:
99024
+ $ref: '#/components/schemas/ValidationResultModel'
99025
+ text/json:
99026
+ schema:
99027
+ $ref: '#/components/schemas/ValidationResultModel'
98887
99028
  '/api/venues/{venueId}/take-offline':
98888
99029
  patch:
98889
99030
  tags:
@@ -99537,6 +99678,11 @@ paths:
99537
99678
  description: Gets or sets a value indicating whether to show published venues.
99538
99679
  schema:
99539
99680
  type: boolean
99681
+ - name: Archived
99682
+ in: query
99683
+ description: Gets or sets a value indicating whether to include archived venues.
99684
+ schema:
99685
+ type: boolean
99540
99686
  - name: NetworkId
99541
99687
  in: query
99542
99688
  description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
@@ -99929,6 +100075,11 @@ paths:
99929
100075
  description: Gets or sets a value indicating whether to show published venues.
99930
100076
  schema:
99931
100077
  type: boolean
100078
+ - name: Archived
100079
+ in: query
100080
+ description: Gets or sets a value indicating whether to include archived venues.
100081
+ schema:
100082
+ type: boolean
99932
100083
  - name: NetworkId
99933
100084
  in: query
99934
100085
  description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
@@ -100143,6 +100294,11 @@ paths:
100143
100294
  description: Gets or sets a value indicating whether to show published venues.
100144
100295
  schema:
100145
100296
  type: boolean
100297
+ - name: Archived
100298
+ in: query
100299
+ description: Gets or sets a value indicating whether to include archived venues.
100300
+ schema:
100301
+ type: boolean
100146
100302
  - name: NetworkId
100147
100303
  in: query
100148
100304
  description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
@@ -100363,6 +100519,11 @@ paths:
100363
100519
  description: Gets or sets a value indicating whether to show published venues.
100364
100520
  schema:
100365
100521
  type: boolean
100522
+ - name: Archived
100523
+ in: query
100524
+ description: Gets or sets a value indicating whether to include archived venues.
100525
+ schema:
100526
+ type: boolean
100366
100527
  - name: NetworkId
100367
100528
  in: query
100368
100529
  description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
@@ -118951,6 +119112,10 @@ components:
118951
119112
  type: boolean
118952
119113
  description: Gets or sets a value indicating whether the venue is published on the booking website.
118953
119114
  nullable: true
119115
+ archived:
119116
+ type: boolean
119117
+ description: Gets or sets a value indicating whether the venue is archived and should be ignored under normal operation.
119118
+ nullable: true
118954
119119
  computedImage:
118955
119120
  type: string
118956
119121
  description: Gets the computed image url.
@@ -171,6 +171,10 @@ export type Venue = {
171
171
  * Gets or sets a value indicating whether the venue is published on the booking website.
172
172
  */
173
173
  publishedOnWeb?: boolean | null;
174
+ /**
175
+ * Gets or sets a value indicating whether the venue is archived and should be ignored under normal operation.
176
+ */
177
+ archived?: boolean | null;
174
178
  /**
175
179
  * Gets the computed image url.
176
180
  */
@@ -94,6 +94,7 @@ export class PublicVenuesService {
94
94
  stripeAccountId,
95
95
  searchGeoCenter,
96
96
  publishedOnWeb,
97
+ archived,
97
98
  networkId,
98
99
  programmeId,
99
100
  includeOpportunityImages,
@@ -157,6 +158,10 @@ export class PublicVenuesService {
157
158
  * Gets or sets a value indicating whether to show published venues.
158
159
  */
159
160
  publishedOnWeb?: boolean;
161
+ /**
162
+ * Gets or sets a value indicating whether to include archived venues.
163
+ */
164
+ archived?: boolean;
160
165
  /**
161
166
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
162
167
  */
@@ -244,6 +249,7 @@ export class PublicVenuesService {
244
249
  StripeAccountId: stripeAccountId,
245
250
  SearchGeoCenter: searchGeoCenter,
246
251
  PublishedOnWeb: publishedOnWeb,
252
+ Archived: archived,
247
253
  NetworkId: networkId,
248
254
  ProgrammeId: programmeId,
249
255
  IncludeOpportunityImages: includeOpportunityImages,
@@ -321,6 +327,7 @@ export class PublicVenuesService {
321
327
  stripeAccountId,
322
328
  searchGeoCenter,
323
329
  publishedOnWeb,
330
+ archived,
324
331
  networkId,
325
332
  programmeId,
326
333
  includeOpportunityImages,
@@ -383,6 +390,10 @@ export class PublicVenuesService {
383
390
  * Gets or sets a value indicating whether to show published venues.
384
391
  */
385
392
  publishedOnWeb?: boolean;
393
+ /**
394
+ * Gets or sets a value indicating whether to include archived venues.
395
+ */
396
+ archived?: boolean;
386
397
  /**
387
398
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
388
399
  */
@@ -467,6 +478,7 @@ export class PublicVenuesService {
467
478
  StripeAccountId: stripeAccountId,
468
479
  SearchGeoCenter: searchGeoCenter,
469
480
  PublishedOnWeb: publishedOnWeb,
481
+ Archived: archived,
470
482
  NetworkId: networkId,
471
483
  ProgrammeId: programmeId,
472
484
  IncludeOpportunityImages: includeOpportunityImages,
@@ -613,6 +625,7 @@ export class PublicVenuesService {
613
625
  stripeAccountId,
614
626
  searchGeoCenter,
615
627
  publishedOnWeb,
628
+ archived,
616
629
  networkId,
617
630
  programmeId,
618
631
  includeOpportunityImages,
@@ -679,6 +692,10 @@ export class PublicVenuesService {
679
692
  * Gets or sets a value indicating whether to show published venues.
680
693
  */
681
694
  publishedOnWeb?: boolean;
695
+ /**
696
+ * Gets or sets a value indicating whether to include archived venues.
697
+ */
698
+ archived?: boolean;
682
699
  /**
683
700
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
684
701
  */
@@ -766,6 +783,7 @@ export class PublicVenuesService {
766
783
  StripeAccountId: stripeAccountId,
767
784
  SearchGeoCenter: searchGeoCenter,
768
785
  PublishedOnWeb: publishedOnWeb,
786
+ Archived: archived,
769
787
  NetworkId: networkId,
770
788
  ProgrammeId: programmeId,
771
789
  IncludeOpportunityImages: includeOpportunityImages,
@@ -15,6 +15,60 @@ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
15
15
  export class VenuesService {
16
16
  constructor(public readonly httpRequest: BaseHttpRequest) {}
17
17
 
18
+ /**
19
+ * Removes a venue.
20
+ * @returns Venue Success
21
+ * @throws ApiError
22
+ */
23
+ public remove({
24
+ id,
25
+ }: {
26
+ /**
27
+ * The venue id.
28
+ */
29
+ id: string;
30
+ }): CancelablePromise<Venue> {
31
+ return this.httpRequest.request({
32
+ method: 'POST',
33
+ url: '/api/venues/{id}/remove',
34
+ path: {
35
+ id: id,
36
+ },
37
+ errors: {
38
+ 400: `Bad Request`,
39
+ 422: `Client Error`,
40
+ 500: `Server Error`,
41
+ },
42
+ });
43
+ }
44
+
45
+ /**
46
+ * Unarchives a venue.
47
+ * @returns Venue Success
48
+ * @throws ApiError
49
+ */
50
+ public unarchive({
51
+ id,
52
+ }: {
53
+ /**
54
+ * The venue id.
55
+ */
56
+ id: string;
57
+ }): CancelablePromise<Venue> {
58
+ return this.httpRequest.request({
59
+ method: 'POST',
60
+ url: '/api/venues/{id}/unarchive',
61
+ path: {
62
+ id: id,
63
+ },
64
+ errors: {
65
+ 400: `Bad Request`,
66
+ 422: `Client Error`,
67
+ 500: `Server Error`,
68
+ },
69
+ });
70
+ }
71
+
18
72
  /**
19
73
  * Takes the venue offline />.
20
74
  * @returns Venue Success
@@ -259,6 +313,7 @@ export class VenuesService {
259
313
  stripeAccountId,
260
314
  searchGeoCenter,
261
315
  publishedOnWeb,
316
+ archived,
262
317
  networkId,
263
318
  programmeId,
264
319
  includeOpportunityImages,
@@ -321,6 +376,10 @@ export class VenuesService {
321
376
  * Gets or sets a value indicating whether to show published venues.
322
377
  */
323
378
  publishedOnWeb?: boolean;
379
+ /**
380
+ * Gets or sets a value indicating whether to include archived venues.
381
+ */
382
+ archived?: boolean;
324
383
  /**
325
384
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
326
385
  */
@@ -405,6 +464,7 @@ export class VenuesService {
405
464
  StripeAccountId: stripeAccountId,
406
465
  SearchGeoCenter: searchGeoCenter,
407
466
  PublishedOnWeb: publishedOnWeb,
467
+ Archived: archived,
408
468
  NetworkId: networkId,
409
469
  ProgrammeId: programmeId,
410
470
  IncludeOpportunityImages: includeOpportunityImages,
@@ -529,6 +589,7 @@ export class VenuesService {
529
589
  stripeAccountId,
530
590
  searchGeoCenter,
531
591
  publishedOnWeb,
592
+ archived,
532
593
  networkId,
533
594
  programmeId,
534
595
  includeOpportunityImages,
@@ -591,6 +652,10 @@ export class VenuesService {
591
652
  * Gets or sets a value indicating whether to show published venues.
592
653
  */
593
654
  publishedOnWeb?: boolean;
655
+ /**
656
+ * Gets or sets a value indicating whether to include archived venues.
657
+ */
658
+ archived?: boolean;
594
659
  /**
595
660
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
596
661
  */
@@ -675,6 +740,7 @@ export class VenuesService {
675
740
  StripeAccountId: stripeAccountId,
676
741
  SearchGeoCenter: searchGeoCenter,
677
742
  PublishedOnWeb: publishedOnWeb,
743
+ Archived: archived,
678
744
  NetworkId: networkId,
679
745
  ProgrammeId: programmeId,
680
746
  IncludeOpportunityImages: includeOpportunityImages,
@@ -718,6 +784,7 @@ export class VenuesService {
718
784
  stripeAccountId,
719
785
  searchGeoCenter,
720
786
  publishedOnWeb,
787
+ archived,
721
788
  networkId,
722
789
  programmeId,
723
790
  includeOpportunityImages,
@@ -780,6 +847,10 @@ export class VenuesService {
780
847
  * Gets or sets a value indicating whether to show published venues.
781
848
  */
782
849
  publishedOnWeb?: boolean;
850
+ /**
851
+ * Gets or sets a value indicating whether to include archived venues.
852
+ */
853
+ archived?: boolean;
783
854
  /**
784
855
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
785
856
  */
@@ -864,6 +935,7 @@ export class VenuesService {
864
935
  StripeAccountId: stripeAccountId,
865
936
  SearchGeoCenter: searchGeoCenter,
866
937
  PublishedOnWeb: publishedOnWeb,
938
+ Archived: archived,
867
939
  NetworkId: networkId,
868
940
  ProgrammeId: programmeId,
869
941
  IncludeOpportunityImages: includeOpportunityImages,
@@ -907,6 +979,7 @@ export class VenuesService {
907
979
  stripeAccountId,
908
980
  searchGeoCenter,
909
981
  publishedOnWeb,
982
+ archived,
910
983
  networkId,
911
984
  programmeId,
912
985
  includeOpportunityImages,
@@ -969,6 +1042,10 @@ export class VenuesService {
969
1042
  * Gets or sets a value indicating whether to show published venues.
970
1043
  */
971
1044
  publishedOnWeb?: boolean;
1045
+ /**
1046
+ * Gets or sets a value indicating whether to include archived venues.
1047
+ */
1048
+ archived?: boolean;
972
1049
  /**
973
1050
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
974
1051
  */
@@ -1053,6 +1130,7 @@ export class VenuesService {
1053
1130
  StripeAccountId: stripeAccountId,
1054
1131
  SearchGeoCenter: searchGeoCenter,
1055
1132
  PublishedOnWeb: publishedOnWeb,
1133
+ Archived: archived,
1056
1134
  NetworkId: networkId,
1057
1135
  ProgrammeId: programmeId,
1058
1136
  IncludeOpportunityImages: includeOpportunityImages,