@@ -18233,6 +18233,45 @@ export const LearningpathsApiAxiosParamCreator = function (
18233
18233
options: localVarRequestOptions,
18234
18234
}
18235
18235
},
18236
+ /**
18237
+ * Get a list of all learning path items
18238
+ * @summary List
18239
+ * @param {*} [options] Override http request option.
18240
+ * @throws {RequiredError}
18241
+ */
18242
+ learningpathsMembershipList: async (
18243
+ options: RawAxiosRequestConfig = {},
18244
+ ): Promise<RequestArgs> => {
18245
+ const localVarPath = `/api/v1/learningpaths/membership/`
18246
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18247
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
18248
+ let baseOptions
18249
+ if (configuration) {
18250
+ baseOptions = configuration.baseOptions
18251
+ }
18252
+
18253
+ const localVarRequestOptions = {
18254
+ method: "GET",
18255
+ ...baseOptions,
18256
+ ...options,
18257
+ }
18258
+ const localVarHeaderParameter = {} as any
18259
+ const localVarQueryParameter = {} as any
18260
+
18261
+ setSearchParams(localVarUrlObj, localVarQueryParameter)
18262
+ let headersFromBaseOptions =
18263
+ baseOptions && baseOptions.headers ? baseOptions.headers : {}
18264
+ localVarRequestOptions.headers = {
18265
+ ...localVarHeaderParameter,
18266
+ ...headersFromBaseOptions,
18267
+ ...options.headers,
18268
+ }
18269
+
18270
+ return {
18271
+ url: toPathString(localVarUrlObj),
18272
+ options: localVarRequestOptions,
18273
+ }
18274
+ },
18236
18275
/**
18237
18276
* Update individual fields of a learning path
18238
18277
* @summary Update
@@ -18672,6 +18711,35 @@ export const LearningpathsApiFp = function (configuration?: Configuration) {
18672
18711
configuration,
18673
18712
)(axios, operationBasePath || basePath)
18674
18713
},
18714
+ /**
18715
+ * Get a list of all learning path items
18716
+ * @summary List
18717
+ * @param {*} [options] Override http request option.
18718
+ * @throws {RequiredError}
18719
+ */
18720
+ async learningpathsMembershipList(
18721
+ options?: RawAxiosRequestConfig,
18722
+ ): Promise<
18723
+ (
18724
+ axios?: AxiosInstance,
18725
+ basePath?: string,
18726
+ ) => AxiosPromise<Array<MicroLearningPathRelationship>>
18727
+ > {
18728
+ const localVarAxiosArgs =
18729
+ await localVarAxiosParamCreator.learningpathsMembershipList(options)
18730
+ const index = configuration?.serverIndex ?? 0
18731
+ const operationBasePath =
18732
+ operationServerMap["LearningpathsApi.learningpathsMembershipList"]?.[
18733
+ index
18734
+ ]?.url
18735
+ return (axios, basePath) =>
18736
+ createRequestFunction(
18737
+ localVarAxiosArgs,
18738
+ globalAxios,
18739
+ BASE_PATH,
18740
+ configuration,
18741
+ )(axios, operationBasePath || basePath)
18742
+ },
18675
18743
/**
18676
18744
* Update individual fields of a learning path
18677
18745
* @summary Update
@@ -18917,6 +18985,19 @@ export const LearningpathsApiFactory = function (
18917
18985
)
18918
18986
.then((request) => request(axios, basePath))
18919
18987
},
18988
+ /**
18989
+ * Get a list of all learning path items
18990
+ * @summary List
18991
+ * @param {*} [options] Override http request option.
18992
+ * @throws {RequiredError}
18993
+ */
18994
+ learningpathsMembershipList(
18995
+ options?: RawAxiosRequestConfig,
18996
+ ): AxiosPromise<Array<MicroLearningPathRelationship>> {
18997
+ return localVarFp
18998
+ .learningpathsMembershipList(options)
18999
+ .then((request) => request(axios, basePath))
19000
+ },
18920
19001
/**
18921
19002
* Update individual fields of a learning path
18922
19003
* @summary Update
@@ -19456,6 +19537,19 @@ export class LearningpathsApi extends BaseAPI {
19456
19537
.then((request) => request(this.axios, this.basePath))
19457
19538
}
19458
19539
19540
+ /**
19541
+ * Get a list of all learning path items
19542
+ * @summary List
19543
+ * @param {*} [options] Override http request option.
19544
+ * @throws {RequiredError}
19545
+ * @memberof LearningpathsApi
19546
+ */
19547
+ public learningpathsMembershipList(options?: RawAxiosRequestConfig) {
19548
+ return LearningpathsApiFp(this.configuration)
19549
+ .learningpathsMembershipList(options)
19550
+ .then((request) => request(this.axios, this.basePath))
19551
+ }
19552
+
19459
19553
/**
19460
19554
* Update individual fields of a learning path
19461
19555
* @summary Update
@@ -24126,6 +24220,45 @@ export const UserlistsApiAxiosParamCreator = function (
24126
24220
options: localVarRequestOptions,
24127
24221
}
24128
24222
},
24223
+ /**
24224
+ * Get a list of all userlist items for a user
24225
+ * @summary List
24226
+ * @param {*} [options] Override http request option.
24227
+ * @throws {RequiredError}
24228
+ */
24229
+ userlistsMembershipList: async (
24230
+ options: RawAxiosRequestConfig = {},
24231
+ ): Promise<RequestArgs> => {
24232
+ const localVarPath = `/api/v1/userlists/membership/`
24233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
24235
+ let baseOptions
24236
+ if (configuration) {
24237
+ baseOptions = configuration.baseOptions
24238
+ }
24239
+
24240
+ const localVarRequestOptions = {
24241
+ method: "GET",
24242
+ ...baseOptions,
24243
+ ...options,
24244
+ }
24245
+ const localVarHeaderParameter = {} as any
24246
+ const localVarQueryParameter = {} as any
24247
+
24248
+ setSearchParams(localVarUrlObj, localVarQueryParameter)
24249
+ let headersFromBaseOptions =
24250
+ baseOptions && baseOptions.headers ? baseOptions.headers : {}
24251
+ localVarRequestOptions.headers = {
24252
+ ...localVarHeaderParameter,
24253
+ ...headersFromBaseOptions,
24254
+ ...options.headers,
24255
+ }
24256
+
24257
+ return {
24258
+ url: toPathString(localVarUrlObj),
24259
+ options: localVarRequestOptions,
24260
+ }
24261
+ },
24129
24262
/**
24130
24263
* Viewset for UserLists
24131
24264
* @summary Update
@@ -24504,6 +24637,33 @@ export const UserlistsApiFp = function (configuration?: Configuration) {
24504
24637
configuration,
24505
24638
)(axios, operationBasePath || basePath)
24506
24639
},
24640
+ /**
24641
+ * Get a list of all userlist items for a user
24642
+ * @summary List
24643
+ * @param {*} [options] Override http request option.
24644
+ * @throws {RequiredError}
24645
+ */
24646
+ async userlistsMembershipList(
24647
+ options?: RawAxiosRequestConfig,
24648
+ ): Promise<
24649
+ (
24650
+ axios?: AxiosInstance,
24651
+ basePath?: string,
24652
+ ) => AxiosPromise<Array<MicroUserListRelationship>>
24653
+ > {
24654
+ const localVarAxiosArgs =
24655
+ await localVarAxiosParamCreator.userlistsMembershipList(options)
24656
+ const index = configuration?.serverIndex ?? 0
24657
+ const operationBasePath =
24658
+ operationServerMap["UserlistsApi.userlistsMembershipList"]?.[index]?.url
24659
+ return (axios, basePath) =>
24660
+ createRequestFunction(
24661
+ localVarAxiosArgs,
24662
+ globalAxios,
24663
+ BASE_PATH,
24664
+ configuration,
24665
+ )(axios, operationBasePath || basePath)
24666
+ },
24507
24667
/**
24508
24668
* Viewset for UserLists
24509
24669
* @summary Update
@@ -24722,6 +24882,19 @@ export const UserlistsApiFactory = function (
24722
24882
)
24723
24883
.then((request) => request(axios, basePath))
24724
24884
},
24885
+ /**
24886
+ * Get a list of all userlist items for a user
24887
+ * @summary List
24888
+ * @param {*} [options] Override http request option.
24889
+ * @throws {RequiredError}
24890
+ */
24891
+ userlistsMembershipList(
24892
+ options?: RawAxiosRequestConfig,
24893
+ ): AxiosPromise<Array<MicroUserListRelationship>> {
24894
+ return localVarFp
24895
+ .userlistsMembershipList(options)
24896
+ .then((request) => request(axios, basePath))
24897
+ },
24725
24898
/**
24726
24899
* Viewset for UserLists
24727
24900
* @summary Update
@@ -25127,6 +25300,19 @@ export class UserlistsApi extends BaseAPI {
25127
25300
.then((request) => request(this.axios, this.basePath))
25128
25301
}
25129
25302
25303
+ /**
25304
+ * Get a list of all userlist items for a user
25305
+ * @summary List
25306
+ * @param {*} [options] Override http request option.
25307
+ * @throws {RequiredError}
25308
+ * @memberof UserlistsApi
25309
+ */
25310
+ public userlistsMembershipList(options?: RawAxiosRequestConfig) {
25311
+ return UserlistsApiFp(this.configuration)
25312
+ .userlistsMembershipList(options)
25313
+ .then((request) => request(this.axios, this.basePath))
25314
+ }
25315
+
25130
25316
/**
25131
25317
* Viewset for UserLists
25132
25318
* @summary Update
0 commit comments