@matchi/api 0.20240520.1 → 0.20240529.1

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/index.d.mts CHANGED
@@ -865,6 +865,10 @@ type paymentDetails = {
865
865
  /**
866
866
  * Total price of order
867
867
  */
868
+ price: string;
869
+ /**
870
+ * Total amount paid
871
+ */
868
872
  amount: string;
869
873
  vat: string;
870
874
  /**
@@ -2039,7 +2043,8 @@ declare class PlaySessionServiceV1Service {
2039
2043
  */
2040
2044
  static getPlaySessionByBookingId(bookingId: string): CancelablePromise<playSession>;
2041
2045
  /**
2042
- * Add player to play session given user id
2046
+ * @deprecated
2047
+ * Add player to play session given user id. Deprecated: Use POST /playsessions/{sessionId}/users/{userId} instead
2043
2048
  * @param sessionId Play Session ID
2044
2049
  * @param userId The user ID of the play session participant to add
2045
2050
  * @returns playSession User is added to playsession
@@ -2081,7 +2086,7 @@ declare class PlaySessionServiceV1Service {
2081
2086
  static updatePlaySessionSettings(sessionId: string, requestBody: playSessionSettings): CancelablePromise<playSession>;
2082
2087
  /**
2083
2088
  * @deprecated
2084
- * Join play session. Deprecated: Use POST /playsessions/{sessionId}/players/by-userid/{userId} instead
2089
+ * Join play session. Deprecated: Use POST /playsessions/{sessionId}/users/{userId} instead
2085
2090
  * @param sessionId Play Session ID
2086
2091
  * @returns playSession Updated play session data
2087
2092
  * @throws ApiError
package/dist/index.d.ts CHANGED
@@ -865,6 +865,10 @@ type paymentDetails = {
865
865
  /**
866
866
  * Total price of order
867
867
  */
868
+ price: string;
869
+ /**
870
+ * Total amount paid
871
+ */
868
872
  amount: string;
869
873
  vat: string;
870
874
  /**
@@ -2039,7 +2043,8 @@ declare class PlaySessionServiceV1Service {
2039
2043
  */
2040
2044
  static getPlaySessionByBookingId(bookingId: string): CancelablePromise<playSession>;
2041
2045
  /**
2042
- * Add player to play session given user id
2046
+ * @deprecated
2047
+ * Add player to play session given user id. Deprecated: Use POST /playsessions/{sessionId}/users/{userId} instead
2043
2048
  * @param sessionId Play Session ID
2044
2049
  * @param userId The user ID of the play session participant to add
2045
2050
  * @returns playSession User is added to playsession
@@ -2081,7 +2086,7 @@ declare class PlaySessionServiceV1Service {
2081
2086
  static updatePlaySessionSettings(sessionId: string, requestBody: playSessionSettings): CancelablePromise<playSession>;
2082
2087
  /**
2083
2088
  * @deprecated
2084
- * Join play session. Deprecated: Use POST /playsessions/{sessionId}/players/by-userid/{userId} instead
2089
+ * Join play session. Deprecated: Use POST /playsessions/{sessionId}/users/{userId} instead
2085
2090
  * @param sessionId Play Session ID
2086
2091
  * @returns playSession Updated play session data
2087
2092
  * @throws ApiError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchi/api",
3
- "version": "0.20240520.1",
3
+ "version": "0.20240529.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.mjs",