reach-api-sdk 1.0.16 → 1.0.17

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.
@@ -5042,6 +5042,14 @@ type CourseSessionPatch = {
5042
5042
  * Gets or sets the Id.
5043
5043
  */
5044
5044
  id: string;
5045
+ /**
5046
+ * Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
5047
+ */
5048
+ startDateTime?: string | null;
5049
+ /**
5050
+ * Gets or sets the course session duration.
5051
+ */
5052
+ durationMinutes?: number;
5045
5053
  };
5046
5054
 
5047
5055
  /**
@@ -5052,6 +5060,18 @@ type CourseSessionPost = {
5052
5060
  * Gets or sets the tenant Id.
5053
5061
  */
5054
5062
  tenantId: string;
5063
+ /**
5064
+ * Gets or sets the session id.
5065
+ */
5066
+ courseId?: string | null;
5067
+ /**
5068
+ * Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
5069
+ */
5070
+ startDateTime?: string | null;
5071
+ /**
5072
+ * Gets or sets the course session duration.
5073
+ */
5074
+ durationMinutes?: number;
5055
5075
  };
5056
5076
 
5057
5077
  declare class CourseSessionsService {
@@ -5806,6 +5826,51 @@ type CustomerPatch = {
5806
5826
  * Gets or sets the Id.
5807
5827
  */
5808
5828
  id: string;
5829
+ type?: CustomerType;
5830
+ /**
5831
+ * Gets or sets the first name.
5832
+ */
5833
+ firstName?: string | null;
5834
+ /**
5835
+ * Gets or sets the last name.
5836
+ */
5837
+ lastName?: string | null;
5838
+ /**
5839
+ * Gets or sets the organisation name.
5840
+ */
5841
+ name?: string | null;
5842
+ /**
5843
+ * Gets or sets the email.
5844
+ */
5845
+ email?: string | null;
5846
+ /**
5847
+ * Gets or sets the phone number.
5848
+ */
5849
+ phone?: string | null;
5850
+ /**
5851
+ * Gets or sets the customer street address.
5852
+ */
5853
+ streetAddress?: string | null;
5854
+ /**
5855
+ * Gets or sets the customer locality.
5856
+ */
5857
+ addressLocality?: string | null;
5858
+ /**
5859
+ * Gets or sets the customer region.
5860
+ */
5861
+ addressRegion?: string | null;
5862
+ /**
5863
+ * Gets or sets the customer postcode.
5864
+ */
5865
+ addressPostalcode?: string | null;
5866
+ /**
5867
+ * Gets or sets the customer country.
5868
+ */
5869
+ addressCountry?: string | null;
5870
+ /**
5871
+ * Gets or sets a value indicating whether the customer is opted into marketing.
5872
+ */
5873
+ marketingOptIn?: boolean;
5809
5874
  };
5810
5875
 
5811
5876
  /**
@@ -5816,6 +5881,55 @@ type CustomerPost = {
5816
5881
  * Gets or sets the tenant Id.
5817
5882
  */
5818
5883
  tenantId: string;
5884
+ /**
5885
+ * Gets or sets the venue id.
5886
+ */
5887
+ venueId?: string | null;
5888
+ type?: CustomerType;
5889
+ /**
5890
+ * Gets or sets the first name.
5891
+ */
5892
+ firstName?: string | null;
5893
+ /**
5894
+ * Gets or sets the last name.
5895
+ */
5896
+ lastName?: string | null;
5897
+ /**
5898
+ * Gets or sets the organisation name.
5899
+ */
5900
+ name?: string | null;
5901
+ /**
5902
+ * Gets or sets the email.
5903
+ */
5904
+ email?: string | null;
5905
+ /**
5906
+ * Gets or sets the phone number.
5907
+ */
5908
+ phone?: string | null;
5909
+ /**
5910
+ * Gets or sets the customer street address.
5911
+ */
5912
+ streetAddress?: string | null;
5913
+ /**
5914
+ * Gets or sets the customer locality.
5915
+ */
5916
+ addressLocality?: string | null;
5917
+ /**
5918
+ * Gets or sets the customer region.
5919
+ */
5920
+ addressRegion?: string | null;
5921
+ /**
5922
+ * Gets or sets the customer postcode.
5923
+ */
5924
+ addressPostalcode?: string | null;
5925
+ /**
5926
+ * Gets or sets the customer country.
5927
+ */
5928
+ addressCountry?: string | null;
5929
+ /**
5930
+ * Gets or sets a value indicating whether the customer is opted into marketing.
5931
+ */
5932
+ marketingOptIn?: boolean;
5819
5933
  };
5820
5934
 
5821
5935
  declare class CustomersService {
@@ -20045,19 +20159,19 @@ type ScheduledSessionSchedulePost = {
20045
20159
  /**
20046
20160
  * Gets or sets the session id.
20047
20161
  */
20048
- sessionId?: string;
20162
+ sessionId: string;
20049
20163
  /**
20050
20164
  * Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
20051
20165
  */
20052
- startDateTime?: string;
20166
+ startDateTime: string;
20053
20167
  /**
20054
20168
  * Gets or sets the scheduled session duration.
20055
20169
  */
20056
- durationMinutes?: number;
20170
+ durationMinutes: number;
20057
20171
  /**
20058
20172
  * Gets or sets the schedules evaluated rule string.
20059
20173
  */
20060
- rRuleString?: string | null;
20174
+ rRuleString: string;
20061
20175
  /**
20062
20176
  * Gets or sets the schedules end date.
20063
20177
  */
@@ -20069,11 +20183,11 @@ type ScheduledSessionSchedulePost = {
20069
20183
  /**
20070
20184
  * Gets or sets the capacity.
20071
20185
  */
20072
- capacity?: number;
20186
+ capacity: number;
20073
20187
  /**
20074
20188
  * Gets or sets a value indicating whether the session has unlimited capacity.
20075
20189
  */
20076
- capacityUnlimited?: boolean;
20190
+ capacityUnlimited: boolean;
20077
20191
  };
20078
20192
 
20079
20193
  declare class ScheduledSessionsSchedulesService {
@@ -20404,7 +20518,7 @@ type CreateOffer = {
20404
20518
  /**
20405
20519
  * Gets or sets the offer total/gross price.
20406
20520
  */
20407
- priceTotal?: number | null;
20521
+ priceTotal?: number;
20408
20522
  };
20409
20523
 
20410
20524
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -64370,6 +64370,16 @@ components:
64370
64370
  type: string
64371
64371
  description: Gets or sets the Id.
64372
64372
  format: uuid
64373
+ startDateTime:
64374
+ type: string
64375
+ description: Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
64376
+ format: date-time
64377
+ nullable: true
64378
+ durationMinutes:
64379
+ type: integer
64380
+ description: Gets or sets the course session duration.
64381
+ format: int32
64382
+ default: 0
64373
64383
  additionalProperties: false
64374
64384
  description: Post model for course updates.
64375
64385
  CourseSessionPost:
@@ -64381,6 +64391,21 @@ components:
64381
64391
  type: string
64382
64392
  description: Gets or sets the tenant Id.
64383
64393
  format: uuid
64394
+ courseId:
64395
+ type: string
64396
+ description: Gets or sets the session id.
64397
+ format: uuid
64398
+ nullable: true
64399
+ startDateTime:
64400
+ type: string
64401
+ description: Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
64402
+ format: date-time
64403
+ nullable: true
64404
+ durationMinutes:
64405
+ type: integer
64406
+ description: Gets or sets the course session duration.
64407
+ format: int32
64408
+ default: 0
64384
64409
  additionalProperties: false
64385
64410
  description: Post model for course inserts.
64386
64411
  CourseSessionSchedule:
@@ -64521,7 +64546,6 @@ components:
64521
64546
  type: number
64522
64547
  description: Gets or sets the offer total/gross price.
64523
64548
  format: double
64524
- nullable: true
64525
64549
  additionalProperties: false
64526
64550
  description: email settings.
64527
64551
  CreateVenue:
@@ -64624,7 +64648,6 @@ components:
64624
64648
  email:
64625
64649
  type: string
64626
64650
  description: Gets or sets the email.
64627
- format: email
64628
64651
  nullable: true
64629
64652
  phone:
64630
64653
  type: string
@@ -64694,6 +64717,52 @@ components:
64694
64717
  type: string
64695
64718
  description: Gets or sets the Id.
64696
64719
  format: uuid
64720
+ type:
64721
+ $ref: '#/components/schemas/CustomerType'
64722
+ firstName:
64723
+ type: string
64724
+ description: Gets or sets the first name.
64725
+ nullable: true
64726
+ lastName:
64727
+ type: string
64728
+ description: Gets or sets the last name.
64729
+ nullable: true
64730
+ name:
64731
+ type: string
64732
+ description: Gets or sets the organisation name.
64733
+ nullable: true
64734
+ email:
64735
+ type: string
64736
+ description: Gets or sets the email.
64737
+ nullable: true
64738
+ phone:
64739
+ type: string
64740
+ description: Gets or sets the phone number.
64741
+ nullable: true
64742
+ streetAddress:
64743
+ type: string
64744
+ description: Gets or sets the customer street address.
64745
+ nullable: true
64746
+ addressLocality:
64747
+ type: string
64748
+ description: Gets or sets the customer locality.
64749
+ nullable: true
64750
+ addressRegion:
64751
+ type: string
64752
+ description: Gets or sets the customer region.
64753
+ nullable: true
64754
+ addressPostalcode:
64755
+ type: string
64756
+ description: Gets or sets the customer postcode.
64757
+ nullable: true
64758
+ addressCountry:
64759
+ type: string
64760
+ description: Gets or sets the customer country.
64761
+ nullable: true
64762
+ marketingOptIn:
64763
+ type: boolean
64764
+ description: Gets or sets a value indicating whether the customer is opted into marketing.
64765
+ default: false
64697
64766
  additionalProperties: false
64698
64767
  description: Post model for customer updates.
64699
64768
  CustomerPost:
@@ -64705,6 +64774,57 @@ components:
64705
64774
  type: string
64706
64775
  description: Gets or sets the tenant Id.
64707
64776
  format: uuid
64777
+ venueId:
64778
+ type: string
64779
+ description: Gets or sets the venue id.
64780
+ format: uuid
64781
+ nullable: true
64782
+ type:
64783
+ $ref: '#/components/schemas/CustomerType'
64784
+ firstName:
64785
+ type: string
64786
+ description: Gets or sets the first name.
64787
+ nullable: true
64788
+ lastName:
64789
+ type: string
64790
+ description: Gets or sets the last name.
64791
+ nullable: true
64792
+ name:
64793
+ type: string
64794
+ description: Gets or sets the organisation name.
64795
+ nullable: true
64796
+ email:
64797
+ type: string
64798
+ description: Gets or sets the email.
64799
+ nullable: true
64800
+ phone:
64801
+ type: string
64802
+ description: Gets or sets the phone number.
64803
+ nullable: true
64804
+ streetAddress:
64805
+ type: string
64806
+ description: Gets or sets the customer street address.
64807
+ nullable: true
64808
+ addressLocality:
64809
+ type: string
64810
+ description: Gets or sets the customer locality.
64811
+ nullable: true
64812
+ addressRegion:
64813
+ type: string
64814
+ description: Gets or sets the customer region.
64815
+ nullable: true
64816
+ addressPostalcode:
64817
+ type: string
64818
+ description: Gets or sets the customer postcode.
64819
+ nullable: true
64820
+ addressCountry:
64821
+ type: string
64822
+ description: Gets or sets the customer country.
64823
+ nullable: true
64824
+ marketingOptIn:
64825
+ type: boolean
64826
+ description: Gets or sets a value indicating whether the customer is opted into marketing.
64827
+ default: false
64708
64828
  additionalProperties: false
64709
64829
  description: Post model for customer inserts.
64710
64830
  CustomerType:
@@ -68218,6 +68338,12 @@ components:
68218
68338
  description: Post model for scheduled session schedule updates.
68219
68339
  ScheduledSessionSchedulePost:
68220
68340
  required:
68341
+ - capacity
68342
+ - capacityUnlimited
68343
+ - durationMinutes
68344
+ - rRuleString
68345
+ - sessionId
68346
+ - startDateTime
68221
68347
  - tenantId
68222
68348
  type: object
68223
68349
  properties:
@@ -68239,9 +68365,9 @@ components:
68239
68365
  format: int32
68240
68366
  default: 0
68241
68367
  rRuleString:
68368
+ minLength: 1
68242
68369
  type: string
68243
68370
  description: Gets or sets the schedules evaluated rule string.
68244
- nullable: true
68245
68371
  recurUntil:
68246
68372
  type: string
68247
68373
  description: Gets or sets the schedules end date.
@@ -15,4 +15,12 @@ export type CourseSessionPatch = {
15
15
  * Gets or sets the Id.
16
16
  */
17
17
  id: string;
18
+ /**
19
+ * Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
20
+ */
21
+ startDateTime?: string | null;
22
+ /**
23
+ * Gets or sets the course session duration.
24
+ */
25
+ durationMinutes?: number;
18
26
  };
@@ -11,4 +11,16 @@ export type CourseSessionPost = {
11
11
  * Gets or sets the tenant Id.
12
12
  */
13
13
  tenantId: string;
14
+ /**
15
+ * Gets or sets the session id.
16
+ */
17
+ courseId?: string | null;
18
+ /**
19
+ * Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
20
+ */
21
+ startDateTime?: string | null;
22
+ /**
23
+ * Gets or sets the course session duration.
24
+ */
25
+ durationMinutes?: number;
14
26
  };
@@ -14,5 +14,5 @@ export type CreateOffer = {
14
14
  /**
15
15
  * Gets or sets the offer total/gross price.
16
16
  */
17
- priceTotal?: number | null;
17
+ priceTotal?: number;
18
18
  };
@@ -3,6 +3,8 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
 
6
+ import type { CustomerType } from './CustomerType';
7
+
6
8
  /**
7
9
  * Post model for customer updates.
8
10
  */
@@ -15,4 +17,49 @@ export type CustomerPatch = {
15
17
  * Gets or sets the Id.
16
18
  */
17
19
  id: string;
20
+ type?: CustomerType;
21
+ /**
22
+ * Gets or sets the first name.
23
+ */
24
+ firstName?: string | null;
25
+ /**
26
+ * Gets or sets the last name.
27
+ */
28
+ lastName?: string | null;
29
+ /**
30
+ * Gets or sets the organisation name.
31
+ */
32
+ name?: string | null;
33
+ /**
34
+ * Gets or sets the email.
35
+ */
36
+ email?: string | null;
37
+ /**
38
+ * Gets or sets the phone number.
39
+ */
40
+ phone?: string | null;
41
+ /**
42
+ * Gets or sets the customer street address.
43
+ */
44
+ streetAddress?: string | null;
45
+ /**
46
+ * Gets or sets the customer locality.
47
+ */
48
+ addressLocality?: string | null;
49
+ /**
50
+ * Gets or sets the customer region.
51
+ */
52
+ addressRegion?: string | null;
53
+ /**
54
+ * Gets or sets the customer postcode.
55
+ */
56
+ addressPostalcode?: string | null;
57
+ /**
58
+ * Gets or sets the customer country.
59
+ */
60
+ addressCountry?: string | null;
61
+ /**
62
+ * Gets or sets a value indicating whether the customer is opted into marketing.
63
+ */
64
+ marketingOptIn?: boolean;
18
65
  };
@@ -3,6 +3,8 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
 
6
+ import type { CustomerType } from './CustomerType';
7
+
6
8
  /**
7
9
  * Post model for customer inserts.
8
10
  */
@@ -11,4 +13,53 @@ export type CustomerPost = {
11
13
  * Gets or sets the tenant Id.
12
14
  */
13
15
  tenantId: string;
16
+ /**
17
+ * Gets or sets the venue id.
18
+ */
19
+ venueId?: string | null;
20
+ type?: CustomerType;
21
+ /**
22
+ * Gets or sets the first name.
23
+ */
24
+ firstName?: string | null;
25
+ /**
26
+ * Gets or sets the last name.
27
+ */
28
+ lastName?: string | null;
29
+ /**
30
+ * Gets or sets the organisation name.
31
+ */
32
+ name?: string | null;
33
+ /**
34
+ * Gets or sets the email.
35
+ */
36
+ email?: string | null;
37
+ /**
38
+ * Gets or sets the phone number.
39
+ */
40
+ phone?: string | null;
41
+ /**
42
+ * Gets or sets the customer street address.
43
+ */
44
+ streetAddress?: string | null;
45
+ /**
46
+ * Gets or sets the customer locality.
47
+ */
48
+ addressLocality?: string | null;
49
+ /**
50
+ * Gets or sets the customer region.
51
+ */
52
+ addressRegion?: string | null;
53
+ /**
54
+ * Gets or sets the customer postcode.
55
+ */
56
+ addressPostalcode?: string | null;
57
+ /**
58
+ * Gets or sets the customer country.
59
+ */
60
+ addressCountry?: string | null;
61
+ /**
62
+ * Gets or sets a value indicating whether the customer is opted into marketing.
63
+ */
64
+ marketingOptIn?: boolean;
14
65
  };
@@ -14,19 +14,19 @@ export type ScheduledSessionSchedulePost = {
14
14
  /**
15
15
  * Gets or sets the session id.
16
16
  */
17
- sessionId?: string;
17
+ sessionId: string;
18
18
  /**
19
19
  * Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
20
20
  */
21
- startDateTime?: string;
21
+ startDateTime: string;
22
22
  /**
23
23
  * Gets or sets the scheduled session duration.
24
24
  */
25
- durationMinutes?: number;
25
+ durationMinutes: number;
26
26
  /**
27
27
  * Gets or sets the schedules evaluated rule string.
28
28
  */
29
- rRuleString?: string | null;
29
+ rRuleString: string;
30
30
  /**
31
31
  * Gets or sets the schedules end date.
32
32
  */
@@ -38,9 +38,9 @@ export type ScheduledSessionSchedulePost = {
38
38
  /**
39
39
  * Gets or sets the capacity.
40
40
  */
41
- capacity?: number;
41
+ capacity: number;
42
42
  /**
43
43
  * Gets or sets a value indicating whether the session has unlimited capacity.
44
44
  */
45
- capacityUnlimited?: boolean;
45
+ capacityUnlimited: boolean;
46
46
  };