@dimrev4/fitness-v3-backend 0.0.48 → 0.0.49

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/api.ts CHANGED
@@ -8379,18 +8379,16 @@ export const SavedWorkoutsV1ApiAxiosParamCreator = function (configuration?: Con
8379
8379
  /**
8380
8380
  *
8381
8381
  * @summary Get saved workouts (all)
8382
- * @param {number} [limit] Workout limit
8383
- * @param {number} [offset] Workout offset
8384
8382
  * @param {string} [name] Workout name
8385
8383
  * @param {string} [query] Workout query
8386
8384
  * @param {string} [userId] User id
8387
8385
  * @param {string} [groupIds] Group id
8388
8386
  * @param {string} [orderBy] Order by
8389
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
8387
+ * @param {boolean} [isAsc] Order by
8390
8388
  * @param {*} [options] Override http request option.
8391
8389
  * @throws {RequiredError}
8392
8390
  */
8393
- savedWorkoutsV1ControllerGetAllWorkouts: async (limit?: number, offset?: number, name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8391
+ savedWorkoutsV1ControllerGetAllWorkouts: async (name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8394
8392
  const localVarPath = `/api/workouts/v1/all`;
8395
8393
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8396
8394
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8410,14 +8408,6 @@ export const SavedWorkoutsV1ApiAxiosParamCreator = function (configuration?: Con
8410
8408
  // http bearer authentication required
8411
8409
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
8412
8410
 
8413
- if (limit !== undefined) {
8414
- localVarQueryParameter['limit'] = limit;
8415
- }
8416
-
8417
- if (offset !== undefined) {
8418
- localVarQueryParameter['offset'] = offset;
8419
- }
8420
-
8421
8411
  if (name !== undefined) {
8422
8412
  localVarQueryParameter['name'] = name;
8423
8413
  }
@@ -8657,19 +8647,17 @@ export const SavedWorkoutsV1ApiFp = function(configuration?: Configuration) {
8657
8647
  /**
8658
8648
  *
8659
8649
  * @summary Get saved workouts (all)
8660
- * @param {number} [limit] Workout limit
8661
- * @param {number} [offset] Workout offset
8662
8650
  * @param {string} [name] Workout name
8663
8651
  * @param {string} [query] Workout query
8664
8652
  * @param {string} [userId] User id
8665
8653
  * @param {string} [groupIds] Group id
8666
8654
  * @param {string} [orderBy] Order by
8667
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
8655
+ * @param {boolean} [isAsc] Order by
8668
8656
  * @param {*} [options] Override http request option.
8669
8657
  * @throws {RequiredError}
8670
8658
  */
8671
- async savedWorkoutsV1ControllerGetAllWorkouts(limit?: number, offset?: number, name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllWorkoutsResponseDto>> {
8672
- const localVarAxiosArgs = await localVarAxiosParamCreator.savedWorkoutsV1ControllerGetAllWorkouts(limit, offset, name, query, userId, groupIds, orderBy, isAsc, options);
8659
+ async savedWorkoutsV1ControllerGetAllWorkouts(name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllWorkoutsResponseDto>> {
8660
+ const localVarAxiosArgs = await localVarAxiosParamCreator.savedWorkoutsV1ControllerGetAllWorkouts(name, query, userId, groupIds, orderBy, isAsc, options);
8673
8661
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8674
8662
  const localVarOperationServerBasePath = operationServerMap['SavedWorkoutsV1Api.savedWorkoutsV1ControllerGetAllWorkouts']?.[localVarOperationServerIndex]?.url;
8675
8663
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8759,7 +8747,7 @@ export const SavedWorkoutsV1ApiFactory = function (configuration?: Configuration
8759
8747
  * @throws {RequiredError}
8760
8748
  */
8761
8749
  savedWorkoutsV1ControllerGetAllWorkouts(requestParameters: SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetAllWorkoutsResponseDto> {
8762
- return localVarFp.savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.limit, requestParameters.offset, requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(axios, basePath));
8750
+ return localVarFp.savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(axios, basePath));
8763
8751
  },
8764
8752
  /**
8765
8753
  *
@@ -8896,20 +8884,6 @@ export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerDeleteSavedWorkoutRe
8896
8884
  * @interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsRequest
8897
8885
  */
8898
8886
  export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsRequest {
8899
- /**
8900
- * Workout limit
8901
- * @type {number}
8902
- * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
8903
- */
8904
- readonly limit?: number
8905
-
8906
- /**
8907
- * Workout offset
8908
- * @type {number}
8909
- * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
8910
- */
8911
- readonly offset?: number
8912
-
8913
8887
  /**
8914
8888
  * Workout name
8915
8889
  * @type {string}
@@ -8946,7 +8920,7 @@ export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsReques
8946
8920
  readonly orderBy?: string
8947
8921
 
8948
8922
  /**
8949
- * Sorting order direction (true for ascending, false for descending)
8923
+ * Order by
8950
8924
  * @type {boolean}
8951
8925
  * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
8952
8926
  */
@@ -9091,7 +9065,7 @@ export class SavedWorkoutsV1Api extends BaseAPI implements SavedWorkoutsV1ApiInt
9091
9065
  * @memberof SavedWorkoutsV1Api
9092
9066
  */
9093
9067
  public savedWorkoutsV1ControllerGetAllWorkouts(requestParameters: SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsRequest = {}, options?: RawAxiosRequestConfig) {
9094
- return SavedWorkoutsV1ApiFp(this.configuration).savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.limit, requestParameters.offset, requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(this.axios, this.basePath));
9068
+ return SavedWorkoutsV1ApiFp(this.configuration).savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(this.axios, this.basePath));
9095
9069
  }
9096
9070
 
9097
9071
  /**
package/dist/api.d.ts CHANGED
@@ -6043,18 +6043,16 @@ export declare const SavedWorkoutsV1ApiAxiosParamCreator: (configuration?: Confi
6043
6043
  /**
6044
6044
  *
6045
6045
  * @summary Get saved workouts (all)
6046
- * @param {number} [limit] Workout limit
6047
- * @param {number} [offset] Workout offset
6048
6046
  * @param {string} [name] Workout name
6049
6047
  * @param {string} [query] Workout query
6050
6048
  * @param {string} [userId] User id
6051
6049
  * @param {string} [groupIds] Group id
6052
6050
  * @param {string} [orderBy] Order by
6053
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
6051
+ * @param {boolean} [isAsc] Order by
6054
6052
  * @param {*} [options] Override http request option.
6055
6053
  * @throws {RequiredError}
6056
6054
  */
6057
- savedWorkoutsV1ControllerGetAllWorkouts: (limit?: number, offset?: number, name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6055
+ savedWorkoutsV1ControllerGetAllWorkouts: (name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6058
6056
  /**
6059
6057
  *
6060
6058
  * @summary Get saved workout by id
@@ -6112,18 +6110,16 @@ export declare const SavedWorkoutsV1ApiFp: (configuration?: Configuration) => {
6112
6110
  /**
6113
6111
  *
6114
6112
  * @summary Get saved workouts (all)
6115
- * @param {number} [limit] Workout limit
6116
- * @param {number} [offset] Workout offset
6117
6113
  * @param {string} [name] Workout name
6118
6114
  * @param {string} [query] Workout query
6119
6115
  * @param {string} [userId] User id
6120
6116
  * @param {string} [groupIds] Group id
6121
6117
  * @param {string} [orderBy] Order by
6122
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
6118
+ * @param {boolean} [isAsc] Order by
6123
6119
  * @param {*} [options] Override http request option.
6124
6120
  * @throws {RequiredError}
6125
6121
  */
6126
- savedWorkoutsV1ControllerGetAllWorkouts(limit?: number, offset?: number, name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllWorkoutsResponseDto>>;
6122
+ savedWorkoutsV1ControllerGetAllWorkouts(name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllWorkoutsResponseDto>>;
6127
6123
  /**
6128
6124
  *
6129
6125
  * @summary Get saved workout by id
@@ -6304,18 +6300,6 @@ export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerDeleteSavedWorkoutRe
6304
6300
  * @interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsRequest
6305
6301
  */
6306
6302
  export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsRequest {
6307
- /**
6308
- * Workout limit
6309
- * @type {number}
6310
- * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
6311
- */
6312
- readonly limit?: number;
6313
- /**
6314
- * Workout offset
6315
- * @type {number}
6316
- * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
6317
- */
6318
- readonly offset?: number;
6319
6303
  /**
6320
6304
  * Workout name
6321
6305
  * @type {string}
@@ -6347,7 +6331,7 @@ export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsReques
6347
6331
  */
6348
6332
  readonly orderBy?: string;
6349
6333
  /**
6350
- * Sorting order direction (true for ascending, false for descending)
6334
+ * Order by
6351
6335
  * @type {boolean}
6352
6336
  * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
6353
6337
  */
package/dist/api.js CHANGED
@@ -3816,18 +3816,16 @@ const SavedWorkoutsV1ApiAxiosParamCreator = function (configuration) {
3816
3816
  /**
3817
3817
  *
3818
3818
  * @summary Get saved workouts (all)
3819
- * @param {number} [limit] Workout limit
3820
- * @param {number} [offset] Workout offset
3821
3819
  * @param {string} [name] Workout name
3822
3820
  * @param {string} [query] Workout query
3823
3821
  * @param {string} [userId] User id
3824
3822
  * @param {string} [groupIds] Group id
3825
3823
  * @param {string} [orderBy] Order by
3826
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
3824
+ * @param {boolean} [isAsc] Order by
3827
3825
  * @param {*} [options] Override http request option.
3828
3826
  * @throws {RequiredError}
3829
3827
  */
3830
- savedWorkoutsV1ControllerGetAllWorkouts: (limit_1, offset_1, name_1, query_1, userId_1, groupIds_1, orderBy_1, isAsc_1, ...args_1) => __awaiter(this, [limit_1, offset_1, name_1, query_1, userId_1, groupIds_1, orderBy_1, isAsc_1, ...args_1], void 0, function* (limit, offset, name, query, userId, groupIds, orderBy, isAsc, options = {}) {
3828
+ savedWorkoutsV1ControllerGetAllWorkouts: (name_1, query_1, userId_1, groupIds_1, orderBy_1, isAsc_1, ...args_1) => __awaiter(this, [name_1, query_1, userId_1, groupIds_1, orderBy_1, isAsc_1, ...args_1], void 0, function* (name, query, userId, groupIds, orderBy, isAsc, options = {}) {
3831
3829
  const localVarPath = `/api/workouts/v1/all`;
3832
3830
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3833
3831
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3843,12 +3841,6 @@ const SavedWorkoutsV1ApiAxiosParamCreator = function (configuration) {
3843
3841
  // authentication bearer required
3844
3842
  // http bearer authentication required
3845
3843
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3846
- if (limit !== undefined) {
3847
- localVarQueryParameter['limit'] = limit;
3848
- }
3849
- if (offset !== undefined) {
3850
- localVarQueryParameter['offset'] = offset;
3851
- }
3852
3844
  if (name !== undefined) {
3853
3845
  localVarQueryParameter['name'] = name;
3854
3846
  }
@@ -4055,21 +4047,19 @@ const SavedWorkoutsV1ApiFp = function (configuration) {
4055
4047
  /**
4056
4048
  *
4057
4049
  * @summary Get saved workouts (all)
4058
- * @param {number} [limit] Workout limit
4059
- * @param {number} [offset] Workout offset
4060
4050
  * @param {string} [name] Workout name
4061
4051
  * @param {string} [query] Workout query
4062
4052
  * @param {string} [userId] User id
4063
4053
  * @param {string} [groupIds] Group id
4064
4054
  * @param {string} [orderBy] Order by
4065
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
4055
+ * @param {boolean} [isAsc] Order by
4066
4056
  * @param {*} [options] Override http request option.
4067
4057
  * @throws {RequiredError}
4068
4058
  */
4069
- savedWorkoutsV1ControllerGetAllWorkouts(limit, offset, name, query, userId, groupIds, orderBy, isAsc, options) {
4059
+ savedWorkoutsV1ControllerGetAllWorkouts(name, query, userId, groupIds, orderBy, isAsc, options) {
4070
4060
  return __awaiter(this, void 0, void 0, function* () {
4071
4061
  var _a, _b, _c;
4072
- const localVarAxiosArgs = yield localVarAxiosParamCreator.savedWorkoutsV1ControllerGetAllWorkouts(limit, offset, name, query, userId, groupIds, orderBy, isAsc, options);
4062
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.savedWorkoutsV1ControllerGetAllWorkouts(name, query, userId, groupIds, orderBy, isAsc, options);
4073
4063
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4074
4064
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SavedWorkoutsV1Api.savedWorkoutsV1ControllerGetAllWorkouts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4075
4065
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4169,7 +4159,7 @@ const SavedWorkoutsV1ApiFactory = function (configuration, basePath, axios) {
4169
4159
  * @throws {RequiredError}
4170
4160
  */
4171
4161
  savedWorkoutsV1ControllerGetAllWorkouts(requestParameters = {}, options) {
4172
- return localVarFp.savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.limit, requestParameters.offset, requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(axios, basePath));
4162
+ return localVarFp.savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(axios, basePath));
4173
4163
  },
4174
4164
  /**
4175
4165
  *
@@ -4242,7 +4232,7 @@ class SavedWorkoutsV1Api extends base_1.BaseAPI {
4242
4232
  * @memberof SavedWorkoutsV1Api
4243
4233
  */
4244
4234
  savedWorkoutsV1ControllerGetAllWorkouts(requestParameters = {}, options) {
4245
- return (0, exports.SavedWorkoutsV1ApiFp)(this.configuration).savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.limit, requestParameters.offset, requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(this.axios, this.basePath));
4235
+ return (0, exports.SavedWorkoutsV1ApiFp)(this.configuration).savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(this.axios, this.basePath));
4246
4236
  }
4247
4237
  /**
4248
4238
  *
package/dist/esm/api.d.ts CHANGED
@@ -6043,18 +6043,16 @@ export declare const SavedWorkoutsV1ApiAxiosParamCreator: (configuration?: Confi
6043
6043
  /**
6044
6044
  *
6045
6045
  * @summary Get saved workouts (all)
6046
- * @param {number} [limit] Workout limit
6047
- * @param {number} [offset] Workout offset
6048
6046
  * @param {string} [name] Workout name
6049
6047
  * @param {string} [query] Workout query
6050
6048
  * @param {string} [userId] User id
6051
6049
  * @param {string} [groupIds] Group id
6052
6050
  * @param {string} [orderBy] Order by
6053
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
6051
+ * @param {boolean} [isAsc] Order by
6054
6052
  * @param {*} [options] Override http request option.
6055
6053
  * @throws {RequiredError}
6056
6054
  */
6057
- savedWorkoutsV1ControllerGetAllWorkouts: (limit?: number, offset?: number, name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6055
+ savedWorkoutsV1ControllerGetAllWorkouts: (name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6058
6056
  /**
6059
6057
  *
6060
6058
  * @summary Get saved workout by id
@@ -6112,18 +6110,16 @@ export declare const SavedWorkoutsV1ApiFp: (configuration?: Configuration) => {
6112
6110
  /**
6113
6111
  *
6114
6112
  * @summary Get saved workouts (all)
6115
- * @param {number} [limit] Workout limit
6116
- * @param {number} [offset] Workout offset
6117
6113
  * @param {string} [name] Workout name
6118
6114
  * @param {string} [query] Workout query
6119
6115
  * @param {string} [userId] User id
6120
6116
  * @param {string} [groupIds] Group id
6121
6117
  * @param {string} [orderBy] Order by
6122
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
6118
+ * @param {boolean} [isAsc] Order by
6123
6119
  * @param {*} [options] Override http request option.
6124
6120
  * @throws {RequiredError}
6125
6121
  */
6126
- savedWorkoutsV1ControllerGetAllWorkouts(limit?: number, offset?: number, name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllWorkoutsResponseDto>>;
6122
+ savedWorkoutsV1ControllerGetAllWorkouts(name?: string, query?: string, userId?: string, groupIds?: string, orderBy?: string, isAsc?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllWorkoutsResponseDto>>;
6127
6123
  /**
6128
6124
  *
6129
6125
  * @summary Get saved workout by id
@@ -6304,18 +6300,6 @@ export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerDeleteSavedWorkoutRe
6304
6300
  * @interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsRequest
6305
6301
  */
6306
6302
  export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsRequest {
6307
- /**
6308
- * Workout limit
6309
- * @type {number}
6310
- * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
6311
- */
6312
- readonly limit?: number;
6313
- /**
6314
- * Workout offset
6315
- * @type {number}
6316
- * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
6317
- */
6318
- readonly offset?: number;
6319
6303
  /**
6320
6304
  * Workout name
6321
6305
  * @type {string}
@@ -6347,7 +6331,7 @@ export interface SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkoutsReques
6347
6331
  */
6348
6332
  readonly orderBy?: string;
6349
6333
  /**
6350
- * Sorting order direction (true for ascending, false for descending)
6334
+ * Order by
6351
6335
  * @type {boolean}
6352
6336
  * @memberof SavedWorkoutsV1ApiSavedWorkoutsV1ControllerGetAllWorkouts
6353
6337
  */
package/dist/esm/api.js CHANGED
@@ -3788,18 +3788,16 @@ export const SavedWorkoutsV1ApiAxiosParamCreator = function (configuration) {
3788
3788
  /**
3789
3789
  *
3790
3790
  * @summary Get saved workouts (all)
3791
- * @param {number} [limit] Workout limit
3792
- * @param {number} [offset] Workout offset
3793
3791
  * @param {string} [name] Workout name
3794
3792
  * @param {string} [query] Workout query
3795
3793
  * @param {string} [userId] User id
3796
3794
  * @param {string} [groupIds] Group id
3797
3795
  * @param {string} [orderBy] Order by
3798
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
3796
+ * @param {boolean} [isAsc] Order by
3799
3797
  * @param {*} [options] Override http request option.
3800
3798
  * @throws {RequiredError}
3801
3799
  */
3802
- savedWorkoutsV1ControllerGetAllWorkouts: (limit_1, offset_1, name_1, query_1, userId_1, groupIds_1, orderBy_1, isAsc_1, ...args_1) => __awaiter(this, [limit_1, offset_1, name_1, query_1, userId_1, groupIds_1, orderBy_1, isAsc_1, ...args_1], void 0, function* (limit, offset, name, query, userId, groupIds, orderBy, isAsc, options = {}) {
3800
+ savedWorkoutsV1ControllerGetAllWorkouts: (name_1, query_1, userId_1, groupIds_1, orderBy_1, isAsc_1, ...args_1) => __awaiter(this, [name_1, query_1, userId_1, groupIds_1, orderBy_1, isAsc_1, ...args_1], void 0, function* (name, query, userId, groupIds, orderBy, isAsc, options = {}) {
3803
3801
  const localVarPath = `/api/workouts/v1/all`;
3804
3802
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3805
3803
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3815,12 +3813,6 @@ export const SavedWorkoutsV1ApiAxiosParamCreator = function (configuration) {
3815
3813
  // authentication bearer required
3816
3814
  // http bearer authentication required
3817
3815
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3818
- if (limit !== undefined) {
3819
- localVarQueryParameter['limit'] = limit;
3820
- }
3821
- if (offset !== undefined) {
3822
- localVarQueryParameter['offset'] = offset;
3823
- }
3824
3816
  if (name !== undefined) {
3825
3817
  localVarQueryParameter['name'] = name;
3826
3818
  }
@@ -4026,21 +4018,19 @@ export const SavedWorkoutsV1ApiFp = function (configuration) {
4026
4018
  /**
4027
4019
  *
4028
4020
  * @summary Get saved workouts (all)
4029
- * @param {number} [limit] Workout limit
4030
- * @param {number} [offset] Workout offset
4031
4021
  * @param {string} [name] Workout name
4032
4022
  * @param {string} [query] Workout query
4033
4023
  * @param {string} [userId] User id
4034
4024
  * @param {string} [groupIds] Group id
4035
4025
  * @param {string} [orderBy] Order by
4036
- * @param {boolean} [isAsc] Sorting order direction (true for ascending, false for descending)
4026
+ * @param {boolean} [isAsc] Order by
4037
4027
  * @param {*} [options] Override http request option.
4038
4028
  * @throws {RequiredError}
4039
4029
  */
4040
- savedWorkoutsV1ControllerGetAllWorkouts(limit, offset, name, query, userId, groupIds, orderBy, isAsc, options) {
4030
+ savedWorkoutsV1ControllerGetAllWorkouts(name, query, userId, groupIds, orderBy, isAsc, options) {
4041
4031
  return __awaiter(this, void 0, void 0, function* () {
4042
4032
  var _a, _b, _c;
4043
- const localVarAxiosArgs = yield localVarAxiosParamCreator.savedWorkoutsV1ControllerGetAllWorkouts(limit, offset, name, query, userId, groupIds, orderBy, isAsc, options);
4033
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.savedWorkoutsV1ControllerGetAllWorkouts(name, query, userId, groupIds, orderBy, isAsc, options);
4044
4034
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4045
4035
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SavedWorkoutsV1Api.savedWorkoutsV1ControllerGetAllWorkouts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4046
4036
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4139,7 +4129,7 @@ export const SavedWorkoutsV1ApiFactory = function (configuration, basePath, axio
4139
4129
  * @throws {RequiredError}
4140
4130
  */
4141
4131
  savedWorkoutsV1ControllerGetAllWorkouts(requestParameters = {}, options) {
4142
- return localVarFp.savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.limit, requestParameters.offset, requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(axios, basePath));
4132
+ return localVarFp.savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(axios, basePath));
4143
4133
  },
4144
4134
  /**
4145
4135
  *
@@ -4211,7 +4201,7 @@ export class SavedWorkoutsV1Api extends BaseAPI {
4211
4201
  * @memberof SavedWorkoutsV1Api
4212
4202
  */
4213
4203
  savedWorkoutsV1ControllerGetAllWorkouts(requestParameters = {}, options) {
4214
- return SavedWorkoutsV1ApiFp(this.configuration).savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.limit, requestParameters.offset, requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(this.axios, this.basePath));
4204
+ return SavedWorkoutsV1ApiFp(this.configuration).savedWorkoutsV1ControllerGetAllWorkouts(requestParameters.name, requestParameters.query, requestParameters.userId, requestParameters.groupIds, requestParameters.orderBy, requestParameters.isAsc, options).then((request) => request(this.axios, this.basePath));
4215
4205
  }
4216
4206
  /**
4217
4207
  *
@@ -133,18 +133,14 @@ import {
133
133
  const configuration = new Configuration();
134
134
  const apiInstance = new SavedWorkoutsV1Api(configuration);
135
135
 
136
- let limit: number; //Workout limit (optional) (default to undefined)
137
- let offset: number; //Workout offset (optional) (default to undefined)
138
136
  let name: string; //Workout name (optional) (default to undefined)
139
137
  let query: string; //Workout query (optional) (default to undefined)
140
138
  let userId: string; //User id (optional) (default to undefined)
141
139
  let groupIds: string; //Group id (optional) (default to undefined)
142
140
  let orderBy: string; //Order by (optional) (default to undefined)
143
- let isAsc: boolean; //Sorting order direction (true for ascending, false for descending) (optional) (default to undefined)
141
+ let isAsc: boolean; //Order by (optional) (default to undefined)
144
142
 
145
143
  const { status, data } = await apiInstance.savedWorkoutsV1ControllerGetAllWorkouts(
146
- limit,
147
- offset,
148
144
  name,
149
145
  query,
150
146
  userId,
@@ -158,14 +154,12 @@ const { status, data } = await apiInstance.savedWorkoutsV1ControllerGetAllWorkou
158
154
 
159
155
  |Name | Type | Description | Notes|
160
156
  |------------- | ------------- | ------------- | -------------|
161
- | **limit** | [**number**] | Workout limit | (optional) defaults to undefined|
162
- | **offset** | [**number**] | Workout offset | (optional) defaults to undefined|
163
157
  | **name** | [**string**] | Workout name | (optional) defaults to undefined|
164
158
  | **query** | [**string**] | Workout query | (optional) defaults to undefined|
165
159
  | **userId** | [**string**] | User id | (optional) defaults to undefined|
166
160
  | **groupIds** | [**string**] | Group id | (optional) defaults to undefined|
167
161
  | **orderBy** | [**string**] | Order by | (optional) defaults to undefined|
168
- | **isAsc** | [**boolean**] | Sorting order direction (true for ascending, false for descending) | (optional) defaults to undefined|
162
+ | **isAsc** | [**boolean**] | Order by | (optional) defaults to undefined|
169
163
 
170
164
 
171
165
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimrev4/fitness-v3-backend",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "description": "OpenAPI client for @dimrev4/fitness-v3-backend",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {