@hautechai/sdk 1.9.0 → 1.10.0

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
@@ -3714,6 +3714,18 @@ interface ListAccountsParamsDto {
3714
3714
  * @memberof ListAccountsParamsDto
3715
3715
  */
3716
3716
  'limit'?: number;
3717
+ /**
3718
+ *
3719
+ * @type {Array<string>}
3720
+ * @memberof ListAccountsParamsDto
3721
+ */
3722
+ 'ids'?: Array<string>;
3723
+ /**
3724
+ *
3725
+ * @type {Array<string>}
3726
+ * @memberof ListAccountsParamsDto
3727
+ */
3728
+ 'aliases'?: Array<string>;
3717
3729
  /**
3718
3730
  *
3719
3731
  * @type {string}
@@ -7318,11 +7330,13 @@ declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
7318
7330
  *
7319
7331
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
7320
7332
  * @param {number} [limit]
7333
+ * @param {Array<string>} [ids]
7334
+ * @param {Array<string>} [aliases]
7321
7335
  * @param {string} [cursor]
7322
7336
  * @param {*} [options] Override http request option.
7323
7337
  * @throws {RequiredError}
7324
7338
  */
7325
- accountsControllerListAccountsV1: (orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7339
+ accountsControllerListAccountsV1: (orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, ids?: Array<string>, aliases?: Array<string>, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7326
7340
  /**
7327
7341
  *
7328
7342
  * @param {string} id
@@ -7368,11 +7382,13 @@ declare const AccountsApiFp: (configuration?: Configuration) => {
7368
7382
  *
7369
7383
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
7370
7384
  * @param {number} [limit]
7385
+ * @param {Array<string>} [ids]
7386
+ * @param {Array<string>} [aliases]
7371
7387
  * @param {string} [cursor]
7372
7388
  * @param {*} [options] Override http request option.
7373
7389
  * @throws {RequiredError}
7374
7390
  */
7375
- accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsDto>>;
7391
+ accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, ids?: Array<string>, aliases?: Array<string>, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsDto>>;
7376
7392
  /**
7377
7393
  *
7378
7394
  * @param {string} id
@@ -7418,11 +7434,13 @@ declare const AccountsApiFactory: (configuration?: Configuration, basePath?: str
7418
7434
  *
7419
7435
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
7420
7436
  * @param {number} [limit]
7437
+ * @param {Array<string>} [ids]
7438
+ * @param {Array<string>} [aliases]
7421
7439
  * @param {string} [cursor]
7422
7440
  * @param {*} [options] Override http request option.
7423
7441
  * @throws {RequiredError}
7424
7442
  */
7425
- accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListAccountsDto>;
7443
+ accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, ids?: Array<string>, aliases?: Array<string>, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListAccountsDto>;
7426
7444
  /**
7427
7445
  *
7428
7446
  * @param {string} id
@@ -7474,12 +7492,14 @@ declare class AccountsApi extends BaseAPI {
7474
7492
  *
7475
7493
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
7476
7494
  * @param {number} [limit]
7495
+ * @param {Array<string>} [ids]
7496
+ * @param {Array<string>} [aliases]
7477
7497
  * @param {string} [cursor]
7478
7498
  * @param {*} [options] Override http request option.
7479
7499
  * @throws {RequiredError}
7480
7500
  * @memberof AccountsApi
7481
7501
  */
7482
- accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListAccountsDto, any>>;
7502
+ accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, ids?: Array<string>, aliases?: Array<string>, cursor?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListAccountsDto, any>>;
7483
7503
  /**
7484
7504
  *
7485
7505
  * @param {string} id
@@ -12170,18 +12190,18 @@ declare const VideosApiAxiosParamCreator: (configuration?: Configuration) => {
12170
12190
  videosControllerFinalizeUploadV1: (createVideoParamsDto: CreateVideoParamsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12171
12191
  /**
12172
12192
  *
12173
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
12193
+ * @param {string} id
12174
12194
  * @param {*} [options] Override http request option.
12175
12195
  * @throws {RequiredError}
12176
12196
  */
12177
- videosControllerGetUrlsV1: (getUrlsForImagesParamsDto: GetUrlsForImagesParamsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12197
+ videosControllerGetVideoByIdV1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12178
12198
  /**
12179
12199
  *
12180
- * @param {string} id
12200
+ * @param {Array<string>} ids
12181
12201
  * @param {*} [options] Override http request option.
12182
12202
  * @throws {RequiredError}
12183
12203
  */
12184
- videosControllerGetVideoV1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12204
+ videosControllerGetVideosV1: (ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12185
12205
  /**
12186
12206
  *
12187
12207
  * @param {*} [options] Override http request option.
@@ -12203,18 +12223,18 @@ declare const VideosApiFp: (configuration?: Configuration) => {
12203
12223
  videosControllerFinalizeUploadV1(createVideoParamsDto: CreateVideoParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VideoEntity>>;
12204
12224
  /**
12205
12225
  *
12206
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
12226
+ * @param {string} id
12207
12227
  * @param {*} [options] Override http request option.
12208
12228
  * @throws {RequiredError}
12209
12229
  */
12210
- videosControllerGetUrlsV1(getUrlsForImagesParamsDto: GetUrlsForImagesParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VideoEntity>>>;
12230
+ videosControllerGetVideoByIdV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VideoEntity>>;
12211
12231
  /**
12212
12232
  *
12213
- * @param {string} id
12233
+ * @param {Array<string>} ids
12214
12234
  * @param {*} [options] Override http request option.
12215
12235
  * @throws {RequiredError}
12216
12236
  */
12217
- videosControllerGetVideoV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VideoEntity>>;
12237
+ videosControllerGetVideosV1(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VideoEntity>>>;
12218
12238
  /**
12219
12239
  *
12220
12240
  * @param {*} [options] Override http request option.
@@ -12236,18 +12256,18 @@ declare const VideosApiFactory: (configuration?: Configuration, basePath?: strin
12236
12256
  videosControllerFinalizeUploadV1(createVideoParamsDto: CreateVideoParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<VideoEntity>;
12237
12257
  /**
12238
12258
  *
12239
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
12259
+ * @param {string} id
12240
12260
  * @param {*} [options] Override http request option.
12241
12261
  * @throws {RequiredError}
12242
12262
  */
12243
- videosControllerGetUrlsV1(getUrlsForImagesParamsDto: GetUrlsForImagesParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<VideoEntity>>;
12263
+ videosControllerGetVideoByIdV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<VideoEntity>;
12244
12264
  /**
12245
12265
  *
12246
- * @param {string} id
12266
+ * @param {Array<string>} ids
12247
12267
  * @param {*} [options] Override http request option.
12248
12268
  * @throws {RequiredError}
12249
12269
  */
12250
- videosControllerGetVideoV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<VideoEntity>;
12270
+ videosControllerGetVideosV1(ids: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<VideoEntity>>;
12251
12271
  /**
12252
12272
  *
12253
12273
  * @param {*} [options] Override http request option.
@@ -12272,20 +12292,20 @@ declare class VideosApi extends BaseAPI {
12272
12292
  videosControllerFinalizeUploadV1(createVideoParamsDto: CreateVideoParamsDto, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity, any>>;
12273
12293
  /**
12274
12294
  *
12275
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
12295
+ * @param {string} id
12276
12296
  * @param {*} [options] Override http request option.
12277
12297
  * @throws {RequiredError}
12278
12298
  * @memberof VideosApi
12279
12299
  */
12280
- videosControllerGetUrlsV1(getUrlsForImagesParamsDto: GetUrlsForImagesParamsDto, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity[], any>>;
12300
+ videosControllerGetVideoByIdV1(id: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity, any>>;
12281
12301
  /**
12282
12302
  *
12283
- * @param {string} id
12303
+ * @param {Array<string>} ids
12284
12304
  * @param {*} [options] Override http request option.
12285
12305
  * @throws {RequiredError}
12286
12306
  * @memberof VideosApi
12287
12307
  */
12288
- videosControllerGetVideoV1(id: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity, any>>;
12308
+ videosControllerGetVideosV1(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity[], any>>;
12289
12309
  /**
12290
12310
  *
12291
12311
  * @param {*} [options] Override http request option.
package/dist/index.d.ts CHANGED
@@ -3714,6 +3714,18 @@ interface ListAccountsParamsDto {
3714
3714
  * @memberof ListAccountsParamsDto
3715
3715
  */
3716
3716
  'limit'?: number;
3717
+ /**
3718
+ *
3719
+ * @type {Array<string>}
3720
+ * @memberof ListAccountsParamsDto
3721
+ */
3722
+ 'ids'?: Array<string>;
3723
+ /**
3724
+ *
3725
+ * @type {Array<string>}
3726
+ * @memberof ListAccountsParamsDto
3727
+ */
3728
+ 'aliases'?: Array<string>;
3717
3729
  /**
3718
3730
  *
3719
3731
  * @type {string}
@@ -7318,11 +7330,13 @@ declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
7318
7330
  *
7319
7331
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
7320
7332
  * @param {number} [limit]
7333
+ * @param {Array<string>} [ids]
7334
+ * @param {Array<string>} [aliases]
7321
7335
  * @param {string} [cursor]
7322
7336
  * @param {*} [options] Override http request option.
7323
7337
  * @throws {RequiredError}
7324
7338
  */
7325
- accountsControllerListAccountsV1: (orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7339
+ accountsControllerListAccountsV1: (orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, ids?: Array<string>, aliases?: Array<string>, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7326
7340
  /**
7327
7341
  *
7328
7342
  * @param {string} id
@@ -7368,11 +7382,13 @@ declare const AccountsApiFp: (configuration?: Configuration) => {
7368
7382
  *
7369
7383
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
7370
7384
  * @param {number} [limit]
7385
+ * @param {Array<string>} [ids]
7386
+ * @param {Array<string>} [aliases]
7371
7387
  * @param {string} [cursor]
7372
7388
  * @param {*} [options] Override http request option.
7373
7389
  * @throws {RequiredError}
7374
7390
  */
7375
- accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsDto>>;
7391
+ accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, ids?: Array<string>, aliases?: Array<string>, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsDto>>;
7376
7392
  /**
7377
7393
  *
7378
7394
  * @param {string} id
@@ -7418,11 +7434,13 @@ declare const AccountsApiFactory: (configuration?: Configuration, basePath?: str
7418
7434
  *
7419
7435
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
7420
7436
  * @param {number} [limit]
7437
+ * @param {Array<string>} [ids]
7438
+ * @param {Array<string>} [aliases]
7421
7439
  * @param {string} [cursor]
7422
7440
  * @param {*} [options] Override http request option.
7423
7441
  * @throws {RequiredError}
7424
7442
  */
7425
- accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListAccountsDto>;
7443
+ accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, ids?: Array<string>, aliases?: Array<string>, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListAccountsDto>;
7426
7444
  /**
7427
7445
  *
7428
7446
  * @param {string} id
@@ -7474,12 +7492,14 @@ declare class AccountsApi extends BaseAPI {
7474
7492
  *
7475
7493
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
7476
7494
  * @param {number} [limit]
7495
+ * @param {Array<string>} [ids]
7496
+ * @param {Array<string>} [aliases]
7477
7497
  * @param {string} [cursor]
7478
7498
  * @param {*} [options] Override http request option.
7479
7499
  * @throws {RequiredError}
7480
7500
  * @memberof AccountsApi
7481
7501
  */
7482
- accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListAccountsDto, any>>;
7502
+ accountsControllerListAccountsV1(orderBy?: AccountsControllerListAccountsV1OrderByEnum, limit?: number, ids?: Array<string>, aliases?: Array<string>, cursor?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListAccountsDto, any>>;
7483
7503
  /**
7484
7504
  *
7485
7505
  * @param {string} id
@@ -12170,18 +12190,18 @@ declare const VideosApiAxiosParamCreator: (configuration?: Configuration) => {
12170
12190
  videosControllerFinalizeUploadV1: (createVideoParamsDto: CreateVideoParamsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12171
12191
  /**
12172
12192
  *
12173
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
12193
+ * @param {string} id
12174
12194
  * @param {*} [options] Override http request option.
12175
12195
  * @throws {RequiredError}
12176
12196
  */
12177
- videosControllerGetUrlsV1: (getUrlsForImagesParamsDto: GetUrlsForImagesParamsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12197
+ videosControllerGetVideoByIdV1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12178
12198
  /**
12179
12199
  *
12180
- * @param {string} id
12200
+ * @param {Array<string>} ids
12181
12201
  * @param {*} [options] Override http request option.
12182
12202
  * @throws {RequiredError}
12183
12203
  */
12184
- videosControllerGetVideoV1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12204
+ videosControllerGetVideosV1: (ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12185
12205
  /**
12186
12206
  *
12187
12207
  * @param {*} [options] Override http request option.
@@ -12203,18 +12223,18 @@ declare const VideosApiFp: (configuration?: Configuration) => {
12203
12223
  videosControllerFinalizeUploadV1(createVideoParamsDto: CreateVideoParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VideoEntity>>;
12204
12224
  /**
12205
12225
  *
12206
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
12226
+ * @param {string} id
12207
12227
  * @param {*} [options] Override http request option.
12208
12228
  * @throws {RequiredError}
12209
12229
  */
12210
- videosControllerGetUrlsV1(getUrlsForImagesParamsDto: GetUrlsForImagesParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VideoEntity>>>;
12230
+ videosControllerGetVideoByIdV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VideoEntity>>;
12211
12231
  /**
12212
12232
  *
12213
- * @param {string} id
12233
+ * @param {Array<string>} ids
12214
12234
  * @param {*} [options] Override http request option.
12215
12235
  * @throws {RequiredError}
12216
12236
  */
12217
- videosControllerGetVideoV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VideoEntity>>;
12237
+ videosControllerGetVideosV1(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VideoEntity>>>;
12218
12238
  /**
12219
12239
  *
12220
12240
  * @param {*} [options] Override http request option.
@@ -12236,18 +12256,18 @@ declare const VideosApiFactory: (configuration?: Configuration, basePath?: strin
12236
12256
  videosControllerFinalizeUploadV1(createVideoParamsDto: CreateVideoParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<VideoEntity>;
12237
12257
  /**
12238
12258
  *
12239
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
12259
+ * @param {string} id
12240
12260
  * @param {*} [options] Override http request option.
12241
12261
  * @throws {RequiredError}
12242
12262
  */
12243
- videosControllerGetUrlsV1(getUrlsForImagesParamsDto: GetUrlsForImagesParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<VideoEntity>>;
12263
+ videosControllerGetVideoByIdV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<VideoEntity>;
12244
12264
  /**
12245
12265
  *
12246
- * @param {string} id
12266
+ * @param {Array<string>} ids
12247
12267
  * @param {*} [options] Override http request option.
12248
12268
  * @throws {RequiredError}
12249
12269
  */
12250
- videosControllerGetVideoV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<VideoEntity>;
12270
+ videosControllerGetVideosV1(ids: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<VideoEntity>>;
12251
12271
  /**
12252
12272
  *
12253
12273
  * @param {*} [options] Override http request option.
@@ -12272,20 +12292,20 @@ declare class VideosApi extends BaseAPI {
12272
12292
  videosControllerFinalizeUploadV1(createVideoParamsDto: CreateVideoParamsDto, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity, any>>;
12273
12293
  /**
12274
12294
  *
12275
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
12295
+ * @param {string} id
12276
12296
  * @param {*} [options] Override http request option.
12277
12297
  * @throws {RequiredError}
12278
12298
  * @memberof VideosApi
12279
12299
  */
12280
- videosControllerGetUrlsV1(getUrlsForImagesParamsDto: GetUrlsForImagesParamsDto, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity[], any>>;
12300
+ videosControllerGetVideoByIdV1(id: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity, any>>;
12281
12301
  /**
12282
12302
  *
12283
- * @param {string} id
12303
+ * @param {Array<string>} ids
12284
12304
  * @param {*} [options] Override http request option.
12285
12305
  * @throws {RequiredError}
12286
12306
  * @memberof VideosApi
12287
12307
  */
12288
- videosControllerGetVideoV1(id: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity, any>>;
12308
+ videosControllerGetVideosV1(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<VideoEntity[], any>>;
12289
12309
  /**
12290
12310
  *
12291
12311
  * @param {*} [options] Override http request option.
package/dist/index.js CHANGED
@@ -1292,11 +1292,13 @@ var AccountsApiAxiosParamCreator = function(configuration) {
1292
1292
  *
1293
1293
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
1294
1294
  * @param {number} [limit]
1295
+ * @param {Array<string>} [ids]
1296
+ * @param {Array<string>} [aliases]
1295
1297
  * @param {string} [cursor]
1296
1298
  * @param {*} [options] Override http request option.
1297
1299
  * @throws {RequiredError}
1298
1300
  */
1299
- accountsControllerListAccountsV1: async (orderBy, limit, cursor, options = {}) => {
1301
+ accountsControllerListAccountsV1: async (orderBy, limit, ids, aliases, cursor, options = {}) => {
1300
1302
  const localVarPath = `/v1/accounts`;
1301
1303
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1302
1304
  let baseOptions;
@@ -1313,6 +1315,12 @@ var AccountsApiAxiosParamCreator = function(configuration) {
1313
1315
  if (limit !== void 0) {
1314
1316
  localVarQueryParameter["limit"] = limit;
1315
1317
  }
1318
+ if (ids) {
1319
+ localVarQueryParameter["ids"] = ids;
1320
+ }
1321
+ if (aliases) {
1322
+ localVarQueryParameter["aliases"] = aliases;
1323
+ }
1316
1324
  if (cursor !== void 0) {
1317
1325
  localVarQueryParameter["cursor"] = cursor;
1318
1326
  }
@@ -1410,12 +1418,14 @@ var AccountsApiFp = function(configuration) {
1410
1418
  *
1411
1419
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
1412
1420
  * @param {number} [limit]
1421
+ * @param {Array<string>} [ids]
1422
+ * @param {Array<string>} [aliases]
1413
1423
  * @param {string} [cursor]
1414
1424
  * @param {*} [options] Override http request option.
1415
1425
  * @throws {RequiredError}
1416
1426
  */
1417
- async accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
1418
- const localVarAxiosArgs = await localVarAxiosParamCreator.accountsControllerListAccountsV1(orderBy, limit, cursor, options);
1427
+ async accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
1428
+ const localVarAxiosArgs = await localVarAxiosParamCreator.accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options);
1419
1429
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1420
1430
  const localVarOperationServerBasePath = operationServerMap["AccountsApi.accountsControllerListAccountsV1"]?.[localVarOperationServerIndex]?.url;
1421
1431
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
@@ -1477,12 +1487,14 @@ var AccountsApiFactory = function(configuration, basePath, axios2) {
1477
1487
  *
1478
1488
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
1479
1489
  * @param {number} [limit]
1490
+ * @param {Array<string>} [ids]
1491
+ * @param {Array<string>} [aliases]
1480
1492
  * @param {string} [cursor]
1481
1493
  * @param {*} [options] Override http request option.
1482
1494
  * @throws {RequiredError}
1483
1495
  */
1484
- accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
1485
- return localVarFp.accountsControllerListAccountsV1(orderBy, limit, cursor, options).then((request) => request(axios2, basePath));
1496
+ accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
1497
+ return localVarFp.accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options).then((request) => request(axios2, basePath));
1486
1498
  },
1487
1499
  /**
1488
1500
  *
@@ -1540,13 +1552,15 @@ var AccountsApi = class extends BaseAPI {
1540
1552
  *
1541
1553
  * @param {AccountsControllerListAccountsV1OrderByEnum} [orderBy]
1542
1554
  * @param {number} [limit]
1555
+ * @param {Array<string>} [ids]
1556
+ * @param {Array<string>} [aliases]
1543
1557
  * @param {string} [cursor]
1544
1558
  * @param {*} [options] Override http request option.
1545
1559
  * @throws {RequiredError}
1546
1560
  * @memberof AccountsApi
1547
1561
  */
1548
- accountsControllerListAccountsV1(orderBy, limit, cursor, options) {
1549
- return AccountsApiFp(this.configuration).accountsControllerListAccountsV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
1562
+ accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options) {
1563
+ return AccountsApiFp(this.configuration).accountsControllerListAccountsV1(orderBy, limit, ids, aliases, cursor, options).then((request) => request(this.axios, this.basePath));
1550
1564
  }
1551
1565
  /**
1552
1566
  *
@@ -10490,27 +10504,25 @@ var VideosApiAxiosParamCreator = function(configuration) {
10490
10504
  },
10491
10505
  /**
10492
10506
  *
10493
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
10507
+ * @param {string} id
10494
10508
  * @param {*} [options] Override http request option.
10495
10509
  * @throws {RequiredError}
10496
10510
  */
10497
- videosControllerGetUrlsV1: async (getUrlsForImagesParamsDto, options = {}) => {
10498
- assertParamExists("videosControllerGetUrlsV1", "getUrlsForImagesParamsDto", getUrlsForImagesParamsDto);
10499
- const localVarPath = `/v1/videos/many`;
10511
+ videosControllerGetVideoByIdV1: async (id, options = {}) => {
10512
+ assertParamExists("videosControllerGetVideoByIdV1", "id", id);
10513
+ const localVarPath = `/v1/videos/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
10500
10514
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10501
10515
  let baseOptions;
10502
10516
  if (configuration) {
10503
10517
  baseOptions = configuration.baseOptions;
10504
10518
  }
10505
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
10519
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
10506
10520
  const localVarHeaderParameter = {};
10507
10521
  const localVarQueryParameter = {};
10508
10522
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
10509
- localVarHeaderParameter["Content-Type"] = "application/json";
10510
10523
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10511
10524
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10512
10525
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10513
- localVarRequestOptions.data = serializeDataIfNeeded(getUrlsForImagesParamsDto, localVarRequestOptions, configuration);
10514
10526
  return {
10515
10527
  url: toPathString(localVarUrlObj),
10516
10528
  options: localVarRequestOptions
@@ -10518,13 +10530,13 @@ var VideosApiAxiosParamCreator = function(configuration) {
10518
10530
  },
10519
10531
  /**
10520
10532
  *
10521
- * @param {string} id
10533
+ * @param {Array<string>} ids
10522
10534
  * @param {*} [options] Override http request option.
10523
10535
  * @throws {RequiredError}
10524
10536
  */
10525
- videosControllerGetVideoV1: async (id, options = {}) => {
10526
- assertParamExists("videosControllerGetVideoV1", "id", id);
10527
- const localVarPath = `/v1/videos/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
10537
+ videosControllerGetVideosV1: async (ids, options = {}) => {
10538
+ assertParamExists("videosControllerGetVideosV1", "ids", ids);
10539
+ const localVarPath = `/v1/videos/many`;
10528
10540
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10529
10541
  let baseOptions;
10530
10542
  if (configuration) {
@@ -10534,6 +10546,9 @@ var VideosApiAxiosParamCreator = function(configuration) {
10534
10546
  const localVarHeaderParameter = {};
10535
10547
  const localVarQueryParameter = {};
10536
10548
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
10549
+ if (ids) {
10550
+ localVarQueryParameter["ids"] = ids;
10551
+ }
10537
10552
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10538
10553
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10539
10554
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -10585,26 +10600,26 @@ var VideosApiFp = function(configuration) {
10585
10600
  },
10586
10601
  /**
10587
10602
  *
10588
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
10603
+ * @param {string} id
10589
10604
  * @param {*} [options] Override http request option.
10590
10605
  * @throws {RequiredError}
10591
10606
  */
10592
- async videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options) {
10593
- const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options);
10607
+ async videosControllerGetVideoByIdV1(id, options) {
10608
+ const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetVideoByIdV1(id, options);
10594
10609
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10595
- const localVarOperationServerBasePath = operationServerMap["VideosApi.videosControllerGetUrlsV1"]?.[localVarOperationServerIndex]?.url;
10610
+ const localVarOperationServerBasePath = operationServerMap["VideosApi.videosControllerGetVideoByIdV1"]?.[localVarOperationServerIndex]?.url;
10596
10611
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
10597
10612
  },
10598
10613
  /**
10599
10614
  *
10600
- * @param {string} id
10615
+ * @param {Array<string>} ids
10601
10616
  * @param {*} [options] Override http request option.
10602
10617
  * @throws {RequiredError}
10603
10618
  */
10604
- async videosControllerGetVideoV1(id, options) {
10605
- const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetVideoV1(id, options);
10619
+ async videosControllerGetVideosV1(ids, options) {
10620
+ const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetVideosV1(ids, options);
10606
10621
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10607
- const localVarOperationServerBasePath = operationServerMap["VideosApi.videosControllerGetVideoV1"]?.[localVarOperationServerIndex]?.url;
10622
+ const localVarOperationServerBasePath = operationServerMap["VideosApi.videosControllerGetVideosV1"]?.[localVarOperationServerIndex]?.url;
10608
10623
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
10609
10624
  },
10610
10625
  /**
@@ -10634,21 +10649,21 @@ var VideosApiFactory = function(configuration, basePath, axios2) {
10634
10649
  },
10635
10650
  /**
10636
10651
  *
10637
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
10652
+ * @param {string} id
10638
10653
  * @param {*} [options] Override http request option.
10639
10654
  * @throws {RequiredError}
10640
10655
  */
10641
- videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options) {
10642
- return localVarFp.videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options).then((request) => request(axios2, basePath));
10656
+ videosControllerGetVideoByIdV1(id, options) {
10657
+ return localVarFp.videosControllerGetVideoByIdV1(id, options).then((request) => request(axios2, basePath));
10643
10658
  },
10644
10659
  /**
10645
10660
  *
10646
- * @param {string} id
10661
+ * @param {Array<string>} ids
10647
10662
  * @param {*} [options] Override http request option.
10648
10663
  * @throws {RequiredError}
10649
10664
  */
10650
- videosControllerGetVideoV1(id, options) {
10651
- return localVarFp.videosControllerGetVideoV1(id, options).then((request) => request(axios2, basePath));
10665
+ videosControllerGetVideosV1(ids, options) {
10666
+ return localVarFp.videosControllerGetVideosV1(ids, options).then((request) => request(axios2, basePath));
10652
10667
  },
10653
10668
  /**
10654
10669
  *
@@ -10673,23 +10688,23 @@ var VideosApi = class extends BaseAPI {
10673
10688
  }
10674
10689
  /**
10675
10690
  *
10676
- * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
10691
+ * @param {string} id
10677
10692
  * @param {*} [options] Override http request option.
10678
10693
  * @throws {RequiredError}
10679
10694
  * @memberof VideosApi
10680
10695
  */
10681
- videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options) {
10682
- return VideosApiFp(this.configuration).videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options).then((request) => request(this.axios, this.basePath));
10696
+ videosControllerGetVideoByIdV1(id, options) {
10697
+ return VideosApiFp(this.configuration).videosControllerGetVideoByIdV1(id, options).then((request) => request(this.axios, this.basePath));
10683
10698
  }
10684
10699
  /**
10685
10700
  *
10686
- * @param {string} id
10701
+ * @param {Array<string>} ids
10687
10702
  * @param {*} [options] Override http request option.
10688
10703
  * @throws {RequiredError}
10689
10704
  * @memberof VideosApi
10690
10705
  */
10691
- videosControllerGetVideoV1(id, options) {
10692
- return VideosApiFp(this.configuration).videosControllerGetVideoV1(id, options).then((request) => request(this.axios, this.basePath));
10706
+ videosControllerGetVideosV1(ids, options) {
10707
+ return VideosApiFp(this.configuration).videosControllerGetVideosV1(ids, options).then((request) => request(this.axios, this.basePath));
10693
10708
  }
10694
10709
  /**
10695
10710
  *
@@ -11389,7 +11404,13 @@ var accounts = (options) => {
11389
11404
  run: (methods) => methods.accountsControllerGetAccountByAliasV1(props.alias)
11390
11405
  }),
11391
11406
  list: async (props = {}) => api.call({
11392
- run: (methods) => methods.accountsControllerListAccountsV1(props.orderBy, props.limit, props.cursor),
11407
+ run: (methods) => methods.accountsControllerListAccountsV1(
11408
+ props.orderBy,
11409
+ props.limit,
11410
+ props.ids,
11411
+ props.aliases,
11412
+ props.cursor
11413
+ ),
11393
11414
  transform: transformToListResponse
11394
11415
  })
11395
11416
  };
@@ -12156,10 +12177,10 @@ var videos = (options) => {
12156
12177
  const api = useAutogeneratedAPI({ API: VideosApi, options });
12157
12178
  return {
12158
12179
  get: async (props) => api.callWithReturningUndefinedOn404({
12159
- run: (methods) => methods.videosControllerGetVideoV1(props.id)
12180
+ run: (methods) => methods.videosControllerGetVideoByIdV1(props.id)
12160
12181
  }),
12161
12182
  getUrls: async (props) => api.call({
12162
- run: (methods) => methods.videosControllerGetUrlsV1({ ids: props.ids }),
12183
+ run: (methods) => methods.videosControllerGetVideosV1(props.ids),
12163
12184
  transform: (data) => data.reduce((acc, { id, url }) => ({ ...acc, [id]: url }), {})
12164
12185
  })
12165
12186
  };