@tennac-booking/sdk 1.0.52 → 1.0.54

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.
@@ -141,6 +141,7 @@ docs/PasswordResetRequestBody.md
141
141
  docs/PaymentMethod.md
142
142
  docs/PaymentMethodSetupResponse.md
143
143
  docs/PaymentStatus.md
144
+ docs/PickIUserLocationExcludeKeyofIUserLocationType.md
144
145
  docs/PlayerWithPaymentMethod.md
145
146
  docs/PriceResponse.md
146
147
  docs/ProfilePictureResponse.md
@@ -197,6 +198,7 @@ docs/UpdateUserCityRequestBody.md
197
198
  docs/UpdateUserDescriptionRequestBody.md
198
199
  docs/UpdateUserRequestBody.md
199
200
  docs/UpdateUserRequestBodyLevelBySportsInner.md
201
+ docs/UpdateUserRequestBodyLocation.md
200
202
  docs/UserBookingItem.md
201
203
  docs/UserBookingsApi.md
202
204
  docs/UserClubCourtsApi.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.52
1
+ ## @tennac-booking/sdk@1.0.53
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @tennac-booking/sdk@1.0.52 --save
39
+ npm install @tennac-booking/sdk@1.0.53 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -277,6 +277,7 @@ Class | Method | HTTP request | Description
277
277
  - [PaymentMethod](docs/PaymentMethod.md)
278
278
  - [PaymentMethodSetupResponse](docs/PaymentMethodSetupResponse.md)
279
279
  - [PaymentStatus](docs/PaymentStatus.md)
280
+ - [PickIUserLocationExcludeKeyofIUserLocationType](docs/PickIUserLocationExcludeKeyofIUserLocationType.md)
280
281
  - [PlayerWithPaymentMethod](docs/PlayerWithPaymentMethod.md)
281
282
  - [PriceResponse](docs/PriceResponse.md)
282
283
  - [ProfilePictureResponse](docs/ProfilePictureResponse.md)
@@ -328,6 +329,7 @@ Class | Method | HTTP request | Description
328
329
  - [UpdateUserDescriptionRequestBody](docs/UpdateUserDescriptionRequestBody.md)
329
330
  - [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
330
331
  - [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
332
+ - [UpdateUserRequestBodyLocation](docs/UpdateUserRequestBodyLocation.md)
331
333
  - [UserBookingItem](docs/UserBookingItem.md)
332
334
  - [UserInfoStaff](docs/UserInfoStaff.md)
333
335
  - [UserProfileResponse](docs/UserProfileResponse.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * booking_api
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.52
7
+ * The version of the OpenAPI document: 1.0.53
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3390,7 +3390,7 @@ export interface IUserLocation {
3390
3390
  * @type {string}
3391
3391
  * @memberof IUserLocation
3392
3392
  */
3393
- 'type'?: IUserLocationTypeEnum;
3393
+ 'type': IUserLocationTypeEnum;
3394
3394
  /**
3395
3395
  *
3396
3396
  * @type {Array<number>}
@@ -4125,6 +4125,85 @@ export const PaymentStatusInvoiceStatusEnum = {
4125
4125
 
4126
4126
  export type PaymentStatusInvoiceStatusEnum = typeof PaymentStatusInvoiceStatusEnum[keyof typeof PaymentStatusInvoiceStatusEnum];
4127
4127
 
4128
+ /**
4129
+ * From T, pick a set of properties whose keys are in the union K
4130
+ * @export
4131
+ * @interface PickIUserLocationExcludeKeyofIUserLocationType
4132
+ */
4133
+ export interface PickIUserLocationExcludeKeyofIUserLocationType {
4134
+ /**
4135
+ *
4136
+ * @type {Array<number>}
4137
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4138
+ */
4139
+ 'coordinates': Array<number>;
4140
+ /**
4141
+ *
4142
+ * @type {string}
4143
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4144
+ */
4145
+ 'mapboxId'?: string;
4146
+ /**
4147
+ *
4148
+ * @type {Array<string>}
4149
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4150
+ */
4151
+ 'mapboxPlaceType'?: Array<string>;
4152
+ /**
4153
+ *
4154
+ * @type {string}
4155
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4156
+ */
4157
+ 'mapboxPlaceName'?: string;
4158
+ /**
4159
+ *
4160
+ * @type {string}
4161
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4162
+ */
4163
+ 'mapboxAddress'?: string;
4164
+ /**
4165
+ *
4166
+ * @type {Array<{ [key: string]: any; }>}
4167
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4168
+ */
4169
+ 'mapboxContext'?: Array<{ [key: string]: any; }>;
4170
+ /**
4171
+ * Construct a type with a set of properties K of type T
4172
+ * @type {{ [key: string]: any; }}
4173
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4174
+ */
4175
+ 'mapboxRaw'?: { [key: string]: any; };
4176
+ /**
4177
+ *
4178
+ * @type {string}
4179
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4180
+ */
4181
+ 'city'?: string;
4182
+ /**
4183
+ *
4184
+ * @type {string}
4185
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4186
+ */
4187
+ 'country'?: string;
4188
+ /**
4189
+ *
4190
+ * @type {string}
4191
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4192
+ */
4193
+ 'postalCode'?: string;
4194
+ /**
4195
+ *
4196
+ * @type {string}
4197
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4198
+ */
4199
+ 'state'?: string;
4200
+ /**
4201
+ *
4202
+ * @type {string}
4203
+ * @memberof PickIUserLocationExcludeKeyofIUserLocationType
4204
+ */
4205
+ 'address'?: string;
4206
+ }
4128
4207
  /**
4129
4208
  *
4130
4209
  * @export
@@ -5778,10 +5857,10 @@ export interface UpdateUserRequestBody {
5778
5857
  'description'?: string;
5779
5858
  /**
5780
5859
  *
5781
- * @type {IUserLocation}
5860
+ * @type {UpdateUserRequestBodyLocation}
5782
5861
  * @memberof UpdateUserRequestBody
5783
5862
  */
5784
- 'location'?: IUserLocation;
5863
+ 'location'?: UpdateUserRequestBodyLocation;
5785
5864
  }
5786
5865
  /**
5787
5866
  *
@@ -5802,6 +5881,98 @@ export interface UpdateUserRequestBodyLevelBySportsInner {
5802
5881
  */
5803
5882
  'sport': string;
5804
5883
  }
5884
+ /**
5885
+ *
5886
+ * @export
5887
+ * @interface UpdateUserRequestBodyLocation
5888
+ */
5889
+ export interface UpdateUserRequestBodyLocation {
5890
+ /**
5891
+ *
5892
+ * @type {Array<number>}
5893
+ * @memberof UpdateUserRequestBodyLocation
5894
+ */
5895
+ 'coordinates': Array<number>;
5896
+ /**
5897
+ *
5898
+ * @type {string}
5899
+ * @memberof UpdateUserRequestBodyLocation
5900
+ */
5901
+ 'mapboxId'?: string;
5902
+ /**
5903
+ *
5904
+ * @type {Array<string>}
5905
+ * @memberof UpdateUserRequestBodyLocation
5906
+ */
5907
+ 'mapboxPlaceType'?: Array<string>;
5908
+ /**
5909
+ *
5910
+ * @type {string}
5911
+ * @memberof UpdateUserRequestBodyLocation
5912
+ */
5913
+ 'mapboxPlaceName'?: string;
5914
+ /**
5915
+ *
5916
+ * @type {string}
5917
+ * @memberof UpdateUserRequestBodyLocation
5918
+ */
5919
+ 'mapboxAddress'?: string;
5920
+ /**
5921
+ *
5922
+ * @type {Array<{ [key: string]: any; }>}
5923
+ * @memberof UpdateUserRequestBodyLocation
5924
+ */
5925
+ 'mapboxContext'?: Array<{ [key: string]: any; }>;
5926
+ /**
5927
+ * Construct a type with a set of properties K of type T
5928
+ * @type {{ [key: string]: object; }}
5929
+ * @memberof UpdateUserRequestBodyLocation
5930
+ */
5931
+ 'mapboxRaw'?: { [key: string]: object; };
5932
+ /**
5933
+ *
5934
+ * @type {string}
5935
+ * @memberof UpdateUserRequestBodyLocation
5936
+ */
5937
+ 'city'?: string;
5938
+ /**
5939
+ *
5940
+ * @type {string}
5941
+ * @memberof UpdateUserRequestBodyLocation
5942
+ */
5943
+ 'country'?: string;
5944
+ /**
5945
+ *
5946
+ * @type {string}
5947
+ * @memberof UpdateUserRequestBodyLocation
5948
+ */
5949
+ 'postalCode'?: string;
5950
+ /**
5951
+ *
5952
+ * @type {string}
5953
+ * @memberof UpdateUserRequestBodyLocation
5954
+ */
5955
+ 'state'?: string;
5956
+ /**
5957
+ *
5958
+ * @type {string}
5959
+ * @memberof UpdateUserRequestBodyLocation
5960
+ */
5961
+ 'address'?: string;
5962
+ /**
5963
+ *
5964
+ * @type {string}
5965
+ * @memberof UpdateUserRequestBodyLocation
5966
+ */
5967
+ 'type'?: UpdateUserRequestBodyLocationTypeEnum;
5968
+ }
5969
+
5970
+ export const UpdateUserRequestBodyLocationTypeEnum = {
5971
+ Point: 'Point'
5972
+ } as const;
5973
+
5974
+ export type UpdateUserRequestBodyLocationTypeEnum = typeof UpdateUserRequestBodyLocationTypeEnum[keyof typeof UpdateUserRequestBodyLocationTypeEnum];
5975
+
5805
5976
  /**
5806
5977
  *
5807
5978
  * @export
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * booking_api
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.52
7
+ * The version of the OpenAPI document: 1.0.53
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * booking_api
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.52
7
+ * The version of the OpenAPI document: 1.0.53
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * booking_api
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.52
7
+ * The version of the OpenAPI document: 1.0.53
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).