reach-api-sdk 1.0.200 → 1.0.202

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.
@@ -38551,6 +38551,14 @@ paths:
38551
38551
  summary: Gets a list of resources.
38552
38552
  operationId: GetPage
38553
38553
  parameters:
38554
+ - name: Ids
38555
+ in: query
38556
+ description: Gets or sets the queryable ids.
38557
+ schema:
38558
+ type: array
38559
+ items:
38560
+ type: string
38561
+ format: uuid
38554
38562
  - name: FacilityId
38555
38563
  in: query
38556
38564
  description: Gets or sets the queryable facility id.
@@ -38937,6 +38945,14 @@ paths:
38937
38945
  summary: Returns a value indicating whether the resource exists in the database given the provided search params.
38938
38946
  operationId: Exists
38939
38947
  parameters:
38948
+ - name: Ids
38949
+ in: query
38950
+ description: Gets or sets the queryable ids.
38951
+ schema:
38952
+ type: array
38953
+ items:
38954
+ type: string
38955
+ format: uuid
38940
38956
  - name: FacilityId
38941
38957
  in: query
38942
38958
  description: Gets or sets the queryable facility id.
@@ -39145,6 +39161,14 @@ paths:
39145
39161
  summary: Returns the number of results in the database given the provided search params.
39146
39162
  operationId: Count
39147
39163
  parameters:
39164
+ - name: Ids
39165
+ in: query
39166
+ description: Gets or sets the queryable ids.
39167
+ schema:
39168
+ type: array
39169
+ items:
39170
+ type: string
39171
+ format: uuid
39148
39172
  - name: FacilityId
39149
39173
  in: query
39150
39174
  description: Gets or sets the queryable facility id.
@@ -39356,6 +39380,14 @@ paths:
39356
39380
  summary: Gets a list of resources unpaged and without references.
39357
39381
  operationId: GetListWithoutReferences
39358
39382
  parameters:
39383
+ - name: Ids
39384
+ in: query
39385
+ description: Gets or sets the queryable ids.
39386
+ schema:
39387
+ type: array
39388
+ items:
39389
+ type: string
39390
+ format: uuid
39359
39391
  - name: FacilityId
39360
39392
  in: query
39361
39393
  description: Gets or sets the queryable facility id.
@@ -39570,6 +39602,14 @@ paths:
39570
39602
  summary: Gets a list of resources.
39571
39603
  operationId: GetListIdName
39572
39604
  parameters:
39605
+ - name: Ids
39606
+ in: query
39607
+ description: Gets or sets the queryable ids.
39608
+ schema:
39609
+ type: array
39610
+ items:
39611
+ type: string
39612
+ format: uuid
39573
39613
  - name: FacilityId
39574
39614
  in: query
39575
39615
  description: Gets or sets the queryable facility id.
@@ -44015,6 +44055,162 @@ paths:
44015
44055
  text/json:
44016
44056
  schema:
44017
44057
  $ref: '#/components/schemas/ValidationResultModel'
44058
+ /api/order-items-report/summary:
44059
+ get:
44060
+ tags:
44061
+ - OrderItemReport
44062
+ summary: Get summary for order items.
44063
+ operationId: GetSummary
44064
+ parameters:
44065
+ - name: VenueId
44066
+ in: query
44067
+ description: Gets or sets the Venue Id.
44068
+ schema:
44069
+ type: string
44070
+ format: uuid
44071
+ - name: UserId
44072
+ in: query
44073
+ description: Gets or sets the User Id.
44074
+ schema:
44075
+ type: string
44076
+ format: uuid
44077
+ - name: ProgrammeId
44078
+ in: query
44079
+ description: Gets or sets the Programme Id.
44080
+ schema:
44081
+ type: string
44082
+ format: uuid
44083
+ - name: StartDateGTE
44084
+ in: query
44085
+ description: Gets or sets the starting date greater than or equal to.
44086
+ schema:
44087
+ type: string
44088
+ format: date-time
44089
+ - name: StartDateLTE
44090
+ in: query
44091
+ description: Gets or sets the starting date less than or equal to.
44092
+ schema:
44093
+ type: string
44094
+ format: date-time
44095
+ - name: DateRange
44096
+ in: query
44097
+ description: Gets or sets a custom date range.
44098
+ schema:
44099
+ $ref: '#/components/schemas/CustomDateRange'
44100
+ - name: PageNumber
44101
+ in: query
44102
+ description: Gets or sets the page number for paged queries.
44103
+ schema:
44104
+ type: integer
44105
+ format: int32
44106
+ - name: Take
44107
+ in: query
44108
+ description: 'Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.'
44109
+ schema:
44110
+ type: integer
44111
+ format: int32
44112
+ - name: Skip
44113
+ in: query
44114
+ description: 'Gets or sets how much items to skip from begining of db table, when this is set page is always 1.'
44115
+ schema:
44116
+ type: integer
44117
+ format: int32
44118
+ - name: LimitListRequests
44119
+ in: query
44120
+ description: Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
44121
+ schema:
44122
+ type: boolean
44123
+ - name: TenantId
44124
+ in: query
44125
+ description: Gets or sets the Tenant Id.
44126
+ schema:
44127
+ type: string
44128
+ format: uuid
44129
+ - name: ModifiedById
44130
+ in: query
44131
+ description: Gets or sets the Modifed By Id.
44132
+ schema:
44133
+ type: string
44134
+ format: uuid
44135
+ - name: ModifiedByIds
44136
+ in: query
44137
+ description: Gets or sets the Modifed By Ids.
44138
+ schema:
44139
+ type: array
44140
+ items:
44141
+ type: string
44142
+ format: uuid
44143
+ - name: DateCreatedGTE
44144
+ in: query
44145
+ description: Gets or sets the Date Created greater than equal to.
44146
+ schema:
44147
+ type: string
44148
+ format: date-time
44149
+ - name: DateCreatedLTE
44150
+ in: query
44151
+ description: Gets or sets the Date Created less than equal to.
44152
+ schema:
44153
+ type: string
44154
+ format: date-time
44155
+ - name: IsLive
44156
+ in: query
44157
+ description: Gets or sets the queryable only is live status.
44158
+ schema:
44159
+ type: boolean
44160
+ - name: SortOrderDirection
44161
+ in: query
44162
+ description: Gets or sets the sort order direction.
44163
+ schema:
44164
+ $ref: '#/components/schemas/SearchSortOrderDirection'
44165
+ responses:
44166
+ '200':
44167
+ description: OK
44168
+ content:
44169
+ text/plain:
44170
+ schema:
44171
+ $ref: '#/components/schemas/OrderItemReportSummary'
44172
+ application/json:
44173
+ schema:
44174
+ $ref: '#/components/schemas/OrderItemReportSummary'
44175
+ text/json:
44176
+ schema:
44177
+ $ref: '#/components/schemas/OrderItemReportSummary'
44178
+ '400':
44179
+ description: Bad Request
44180
+ content:
44181
+ text/plain:
44182
+ schema:
44183
+ $ref: '#/components/schemas/ReachError'
44184
+ application/json:
44185
+ schema:
44186
+ $ref: '#/components/schemas/ReachError'
44187
+ text/json:
44188
+ schema:
44189
+ $ref: '#/components/schemas/ReachError'
44190
+ '500':
44191
+ description: Internal Server Error
44192
+ content:
44193
+ text/plain:
44194
+ schema:
44195
+ $ref: '#/components/schemas/ReachError'
44196
+ application/json:
44197
+ schema:
44198
+ $ref: '#/components/schemas/ReachError'
44199
+ text/json:
44200
+ schema:
44201
+ $ref: '#/components/schemas/ReachError'
44202
+ '422':
44203
+ description: Unprocessable Content
44204
+ content:
44205
+ text/plain:
44206
+ schema:
44207
+ $ref: '#/components/schemas/ValidationResultModel'
44208
+ application/json:
44209
+ schema:
44210
+ $ref: '#/components/schemas/ValidationResultModel'
44211
+ text/json:
44212
+ schema:
44213
+ $ref: '#/components/schemas/ValidationResultModel'
44018
44214
  /api/order-items-report/v2-temporary-route:
44019
44215
  post:
44020
44216
  tags:
@@ -45772,6 +45968,12 @@ paths:
45772
45968
  schema:
45773
45969
  type: string
45774
45970
  format: uuid
45971
+ - name: OfferId
45972
+ in: query
45973
+ description: Gets or sets the queryable offer id.
45974
+ schema:
45975
+ type: string
45976
+ format: uuid
45775
45977
  - name: Status
45776
45978
  in: query
45777
45979
  description: Gets or sets the queryable order item status id.
@@ -46137,6 +46339,12 @@ paths:
46137
46339
  schema:
46138
46340
  type: string
46139
46341
  format: uuid
46342
+ - name: OfferId
46343
+ in: query
46344
+ description: Gets or sets the queryable offer id.
46345
+ schema:
46346
+ type: string
46347
+ format: uuid
46140
46348
  - name: Status
46141
46349
  in: query
46142
46350
  description: Gets or sets the queryable order item status id.
@@ -46324,6 +46532,12 @@ paths:
46324
46532
  schema:
46325
46533
  type: string
46326
46534
  format: uuid
46535
+ - name: OfferId
46536
+ in: query
46537
+ description: Gets or sets the queryable offer id.
46538
+ schema:
46539
+ type: string
46540
+ format: uuid
46327
46541
  - name: Status
46328
46542
  in: query
46329
46543
  description: Gets or sets the queryable order item status id.
@@ -46514,6 +46728,12 @@ paths:
46514
46728
  schema:
46515
46729
  type: string
46516
46730
  format: uuid
46731
+ - name: OfferId
46732
+ in: query
46733
+ description: Gets or sets the queryable offer id.
46734
+ schema:
46735
+ type: string
46736
+ format: uuid
46517
46737
  - name: Status
46518
46738
  in: query
46519
46739
  description: Gets or sets the queryable order item status id.
@@ -46707,6 +46927,12 @@ paths:
46707
46927
  schema:
46708
46928
  type: string
46709
46929
  format: uuid
46930
+ - name: OfferId
46931
+ in: query
46932
+ description: Gets or sets the queryable offer id.
46933
+ schema:
46934
+ type: string
46935
+ format: uuid
46710
46936
  - name: Status
46711
46937
  in: query
46712
46938
  description: Gets or sets the queryable order item status id.
@@ -54601,6 +54827,91 @@ paths:
54601
54827
  text/json:
54602
54828
  schema:
54603
54829
  $ref: '#/components/schemas/ValidationResultModel'
54830
+ /api/external/places/static-map:
54831
+ get:
54832
+ tags:
54833
+ - Places
54834
+ summary: GetPrediction.
54835
+ operationId: GetStaticMap
54836
+ parameters:
54837
+ - name: lat
54838
+ in: query
54839
+ description: lat.
54840
+ schema:
54841
+ type: number
54842
+ format: float
54843
+ - name: lng
54844
+ in: query
54845
+ description: lng.
54846
+ schema:
54847
+ type: number
54848
+ format: float
54849
+ - name: zoom
54850
+ in: query
54851
+ description: zoom.
54852
+ schema:
54853
+ type: integer
54854
+ format: int32
54855
+ default: 14
54856
+ - name: width
54857
+ in: query
54858
+ description: width.
54859
+ schema:
54860
+ type: integer
54861
+ format: int32
54862
+ default: 400
54863
+ - name: height
54864
+ in: query
54865
+ description: height.
54866
+ schema:
54867
+ type: integer
54868
+ format: int32
54869
+ default: 287
54870
+ - name: type
54871
+ in: query
54872
+ description: type.
54873
+ schema:
54874
+ type: string
54875
+ default: roadmap
54876
+ responses:
54877
+ '200':
54878
+ description: OK
54879
+ '400':
54880
+ description: Bad Request
54881
+ content:
54882
+ text/plain:
54883
+ schema:
54884
+ $ref: '#/components/schemas/ReachError'
54885
+ application/json:
54886
+ schema:
54887
+ $ref: '#/components/schemas/ReachError'
54888
+ text/json:
54889
+ schema:
54890
+ $ref: '#/components/schemas/ReachError'
54891
+ '500':
54892
+ description: Internal Server Error
54893
+ content:
54894
+ text/plain:
54895
+ schema:
54896
+ $ref: '#/components/schemas/ReachError'
54897
+ application/json:
54898
+ schema:
54899
+ $ref: '#/components/schemas/ReachError'
54900
+ text/json:
54901
+ schema:
54902
+ $ref: '#/components/schemas/ReachError'
54903
+ '422':
54904
+ description: Unprocessable Content
54905
+ content:
54906
+ text/plain:
54907
+ schema:
54908
+ $ref: '#/components/schemas/ValidationResultModel'
54909
+ application/json:
54910
+ schema:
54911
+ $ref: '#/components/schemas/ValidationResultModel'
54912
+ text/json:
54913
+ schema:
54914
+ $ref: '#/components/schemas/ValidationResultModel'
54604
54915
  /api/platform-payouts/send-batch:
54605
54916
  get:
54606
54917
  tags:
@@ -67003,6 +67314,12 @@ paths:
67003
67314
  schema:
67004
67315
  type: string
67005
67316
  format: uuid
67317
+ - name: OfferId
67318
+ in: query
67319
+ description: Gets or sets the queryable offer id.
67320
+ schema:
67321
+ type: string
67322
+ format: uuid
67006
67323
  - name: Status
67007
67324
  in: query
67008
67325
  description: Gets or sets the queryable order item status id.
@@ -67686,6 +68003,12 @@ paths:
67686
68003
  schema:
67687
68004
  type: string
67688
68005
  format: uuid
68006
+ - name: OfferId
68007
+ in: query
68008
+ description: Gets or sets the queryable offer id.
68009
+ schema:
68010
+ type: string
68011
+ format: uuid
67689
68012
  - name: Status
67690
68013
  in: query
67691
68014
  description: Gets or sets the queryable order item status id.
@@ -135937,6 +136260,25 @@ components:
135937
136260
  type: number
135938
136261
  description: Gets or sets the offer total/gross price.
135939
136262
  format: double
136263
+ maxAvailablePerOpportunity:
136264
+ type: integer
136265
+ description: Gets or sets the maximum number of this offer that can be sold per opportunity.
136266
+ format: int32
136267
+ nullable: true
136268
+ availableFrom:
136269
+ type: string
136270
+ description: Gets or sets when this offer becomes available for booking.
136271
+ format: date-time
136272
+ nullable: true
136273
+ availableUntil:
136274
+ type: string
136275
+ description: Gets or sets when this offer stops being available for booking.
136276
+ format: date-time
136277
+ nullable: true
136278
+ description:
136279
+ type: string
136280
+ description: Gets or sets the offer description.
136281
+ nullable: true
135940
136282
  additionalProperties: false
135941
136283
  description: Post model for session offers.
135942
136284
  CreateQuestion:
@@ -138023,6 +138365,18 @@ components:
138023
138365
  type: string
138024
138366
  description: Gets or sets the description.
138025
138367
  nullable: true
138368
+ scheduleDescription:
138369
+ type: string
138370
+ description: Gets or sets a description of the schedule.
138371
+ nullable: true
138372
+ scheduleSummary:
138373
+ type: string
138374
+ description: Gets or sets a summary of the schedule.
138375
+ nullable: true
138376
+ hasScheduleSummary:
138377
+ type: boolean
138378
+ description: Gets or sets a value indicating whether the session has a schedule summary.
138379
+ nullable: true
138026
138380
  imageUrl:
138027
138381
  type: string
138028
138382
  description: Gets or sets the image url.
@@ -139351,6 +139705,35 @@ components:
139351
139705
  active:
139352
139706
  type: boolean
139353
139707
  description: Gets or sets a value indicating whether the offer is private (available to relevant authenticated users and NOT visible to the public).
139708
+ maxAvailablePerOpportunity:
139709
+ type: integer
139710
+ description: Gets or sets the maximum number of this offer that can be sold per opportunity.
139711
+ format: int32
139712
+ nullable: true
139713
+ availableFrom:
139714
+ type: string
139715
+ description: Gets or sets when this offer becomes available for booking.
139716
+ format: date-time
139717
+ nullable: true
139718
+ availableUntil:
139719
+ type: string
139720
+ description: Gets or sets when this offer stops being available for booking.
139721
+ format: date-time
139722
+ nullable: true
139723
+ description:
139724
+ type: string
139725
+ description: Gets or sets the offer description.
139726
+ nullable: true
139727
+ isAvailable:
139728
+ type: boolean
139729
+ description: Gets a value indicating whether the offer is currently available based on AvailableFrom and AvailableUntil dates.
139730
+ default: false
139731
+ readOnly: true
139732
+ totalAvailable:
139733
+ type: integer
139734
+ description: "Gets or sets the total number of spots available for this offer based on MaxAvailablePerOpportunity and existing bookings.\r\nThis property is calculated by the processors when loading offers."
139735
+ format: int32
139736
+ default: 0
139354
139737
  label:
139355
139738
  type: string
139356
139739
  description: Gets or sets the offers label.
@@ -139468,6 +139851,25 @@ components:
139468
139851
  type: boolean
139469
139852
  description: Gets or sets a value indicating whether the offer is private (available to relevant authenticated users and NOT visible to the public).
139470
139853
  nullable: true
139854
+ maxAvailablePerOpportunity:
139855
+ type: integer
139856
+ description: Gets or sets the maximum number of this offer that can be sold per opportunity.
139857
+ format: int32
139858
+ nullable: true
139859
+ availableFrom:
139860
+ type: string
139861
+ description: Gets or sets when this offer becomes available for booking.
139862
+ format: date-time
139863
+ nullable: true
139864
+ availableUntil:
139865
+ type: string
139866
+ description: Gets or sets when this offer stops being available for booking.
139867
+ format: date-time
139868
+ nullable: true
139869
+ description:
139870
+ type: string
139871
+ description: Gets or sets the offer description.
139872
+ nullable: true
139471
139873
  additionalProperties: false
139472
139874
  description: Post model for offer inserts.
139473
139875
  OpenactiveFeedIntermediate:
@@ -140321,6 +140723,21 @@ components:
140321
140723
  type: boolean
140322
140724
  description: Gets or sets a value indicating whether the order item is rescheduleable.
140323
140725
  nullable: true
140726
+ unitPriceBeforeDiscount:
140727
+ type: number
140728
+ description: Gets or sets the unit price before discount.
140729
+ format: double
140730
+ nullable: true
140731
+ unitPriceAfterDiscount:
140732
+ type: number
140733
+ description: Gets or sets the unit price after discount.
140734
+ format: double
140735
+ nullable: true
140736
+ effectiveItemPrice:
140737
+ type: number
140738
+ description: Gets or sets the effective item price.
140739
+ format: double
140740
+ nullable: true
140324
140741
  additionalProperties: false
140325
140742
  description: Represents an Order of a currently available bookable Reach.Models.OrderItem.Slot within the Reach application.
140326
140743
  OrderItemDeal:
@@ -140572,6 +140989,45 @@ components:
140572
140989
  format: uuid
140573
140990
  additionalProperties: false
140574
140991
  description: Post model for order item report inserts.
140992
+ OrderItemReportSummary:
140993
+ required:
140994
+ - dateCreated
140995
+ - dateModified
140996
+ - isLive
140997
+ - tenantId
140998
+ type: object
140999
+ properties:
141000
+ id:
141001
+ type: string
141002
+ description: Gets or sets the entities Id.
141003
+ format: uuid
141004
+ tenantId:
141005
+ type: string
141006
+ description: Gets or sets the tenant Id.
141007
+ format: uuid
141008
+ dateCreated:
141009
+ type: string
141010
+ description: Gets or sets the created date of this entity.
141011
+ format: date-time
141012
+ dateModified:
141013
+ type: string
141014
+ description: Gets or sets the last modified date of this entity.
141015
+ format: date-time
141016
+ modifiedById:
141017
+ type: string
141018
+ description: Gets or sets the modified by Id.
141019
+ format: uuid
141020
+ nullable: true
141021
+ isLive:
141022
+ type: boolean
141023
+ description: Gets or sets a value indicating whether the record is live and available for use within the application.
141024
+ default: false
141025
+ revenueGenerated:
141026
+ type: number
141027
+ description: Gets or sets the total revenue generated from order items.
141028
+ format: double
141029
+ additionalProperties: false
141030
+ description: Represents the order item report summary model.
140575
141031
  OrderItemStatus:
140576
141032
  enum:
140577
141033
  - SellerCancelled
@@ -143774,6 +144230,18 @@ components:
143774
144230
  $ref: '#/components/schemas/ActivityType'
143775
144231
  sessionType:
143776
144232
  $ref: '#/components/schemas/SessionType'
144233
+ scheduleDescription:
144234
+ type: string
144235
+ description: Gets or sets a description of the schedule.
144236
+ nullable: true
144237
+ scheduleSummary:
144238
+ type: string
144239
+ description: Gets or sets a summary of the schedule.
144240
+ nullable: true
144241
+ hasScheduleSummary:
144242
+ type: boolean
144243
+ description: Gets or sets a value indicating whether the session has a schedule summary.
144244
+ nullable: true
143777
144245
  openactiveActivityId:
143778
144246
  type: string
143779
144247
  description: Gets or sets the openactive activity Id.
@@ -147884,6 +148352,25 @@ components:
147884
148352
  type: number
147885
148353
  description: Gets or sets the offer total/gross price.
147886
148354
  format: double
148355
+ maxAvailablePerOpportunity:
148356
+ type: integer
148357
+ description: Gets or sets the maximum number of this offer that can be sold per opportunity.
148358
+ format: int32
148359
+ nullable: true
148360
+ availableFrom:
148361
+ type: string
148362
+ description: Gets or sets when this offer becomes available for booking.
148363
+ format: date-time
148364
+ nullable: true
148365
+ availableUntil:
148366
+ type: string
148367
+ description: Gets or sets when this offer stops being available for booking.
148368
+ format: date-time
148369
+ nullable: true
148370
+ description:
148371
+ type: string
148372
+ description: Gets or sets the offer description.
148373
+ nullable: true
147887
148374
  additionalProperties: false
147888
148375
  description: Patch model for session offers.
147889
148376
  User:
package/src/index.ts CHANGED
@@ -187,6 +187,7 @@ export type { OrderItemReport } from './models/OrderItemReport';
187
187
  export type { OrderItemReportPage } from './models/OrderItemReportPage';
188
188
  export type { OrderItemReportPatch } from './models/OrderItemReportPatch';
189
189
  export type { OrderItemReportPost } from './models/OrderItemReportPost';
190
+ export type { OrderItemReportSummary } from './models/OrderItemReportSummary';
190
191
  export { OrderItemStatus } from './models/OrderItemStatus';
191
192
  export type { OrderPage } from './models/OrderPage';
192
193
  export type { OrderPatch } from './models/OrderPatch';
@@ -15,4 +15,20 @@ export type CreateOffer = {
15
15
  * Gets or sets the offer total/gross price.
16
16
  */
17
17
  priceTotal: number;
18
+ /**
19
+ * Gets or sets the maximum number of this offer that can be sold per opportunity.
20
+ */
21
+ maxAvailablePerOpportunity?: number | null;
22
+ /**
23
+ * Gets or sets when this offer becomes available for booking.
24
+ */
25
+ availableFrom?: string | null;
26
+ /**
27
+ * Gets or sets when this offer stops being available for booking.
28
+ */
29
+ availableUntil?: string | null;
30
+ /**
31
+ * Gets or sets the offer description.
32
+ */
33
+ description?: string | null;
18
34
  };
@@ -68,6 +68,18 @@ export type GenericActivity = {
68
68
  * Gets or sets the description.
69
69
  */
70
70
  description?: string | null;
71
+ /**
72
+ * Gets or sets a description of the schedule.
73
+ */
74
+ scheduleDescription?: string | null;
75
+ /**
76
+ * Gets or sets a summary of the schedule.
77
+ */
78
+ scheduleSummary?: string | null;
79
+ /**
80
+ * Gets or sets a value indicating whether the session has a schedule summary.
81
+ */
82
+ hasScheduleSummary?: boolean | null;
71
83
  /**
72
84
  * Gets or sets the image url.
73
85
  */