@@ -100,7 +100,13 @@ export interface Attestation {
100100 * @type {Array<number> }
101101 * @memberof Attestation
102102 */
103- 'channels' : Array < number > ;
103+ 'channels' ?: Array < number > ;
104+ /**
105+ * The offerors that this attestation can appear on
106+ * @type {Array<string> }
107+ * @memberof Attestation
108+ */
109+ 'offerors' ?: Array < string > ;
104110}
105111/**
106112 *
@@ -744,12 +750,6 @@ export interface FieldChannelCreateRequest {
744750 * @memberof FieldChannelCreateRequest
745751 */
746752 'search_filter' ?: string ;
747- /**
748- *
749- * @type {any }
750- * @memberof FieldChannelCreateRequest
751- */
752- 'configuration' ?: any | null ;
753753 /**
754754 *
755755 * @type {ChannelTopicDetailRequest }
@@ -1479,12 +1479,6 @@ export interface PatchedFieldChannelWriteRequest {
14791479 * @memberof PatchedFieldChannelWriteRequest
14801480 */
14811481 'search_filter' ?: string ;
1482- /**
1483- *
1484- * @type {any }
1485- * @memberof PatchedFieldChannelWriteRequest
1486- */
1487- 'configuration' ?: any | null ;
14881482 /**
14891483 *
14901484 * @type {ChannelTopicDetailRequest }
@@ -1801,6 +1795,31 @@ export const PathwayChannelTypeEnum = {
18011795export type PathwayChannelTypeEnum = typeof PathwayChannelTypeEnum [ keyof typeof PathwayChannelTypeEnum ] ;
18021796
18031797
1798+ /**
1799+ * Serializer for profile search preference filters
1800+ * @export
1801+ * @interface PreferencesSearch
1802+ */
1803+ export interface PreferencesSearch {
1804+ /**
1805+ *
1806+ * @type {boolean }
1807+ * @memberof PreferencesSearch
1808+ */
1809+ 'certification' ?: boolean ;
1810+ /**
1811+ *
1812+ * @type {Array<string> }
1813+ * @memberof PreferencesSearch
1814+ */
1815+ 'topic' ?: Array < string > ;
1816+ /**
1817+ *
1818+ * @type {string }
1819+ * @memberof PreferencesSearch
1820+ */
1821+ 'learning_format' ?: string ;
1822+ }
18041823/**
18051824 * Serializer for Profile
18061825 * @export
@@ -1921,6 +1940,12 @@ export interface Profile {
19211940 * @memberof Profile
19221941 */
19231942 'learning_format' ?: PatchedProfileRequestLearningFormat ;
1943+ /**
1944+ *
1945+ * @type {PreferencesSearch }
1946+ * @memberof Profile
1947+ */
1948+ 'preference_search_filters' : PreferencesSearch ;
19241949}
19251950/**
19261951 * Serializer for Profile
@@ -4519,12 +4544,12 @@ export const TestimonialsApiAxiosParamCreator = function (configuration?: Config
45194544 * @summary List
45204545 * @param {Array<number> } [channels] The channels the attestation is for
45214546 * @param {number } [limit] Number of results to return per page.
4547+ * @param {Array<string> } [offerors] The offerors the attestation is for
45224548 * @param {number } [offset] The initial index from which to return the results.
4523- * @param {boolean } [published] Only return published testimonials
45244549 * @param {* } [options] Override http request option.
45254550 * @throws {RequiredError }
45264551 */
4527- testimonialsList : async ( channels ?: Array < number > , limit ?: number , offset ?: number , published ?: boolean , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
4552+ testimonialsList : async ( channels ?: Array < number > , limit ?: number , offerors ?: Array < string > , offset ?: number , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
45284553 const localVarPath = `/api/v0/testimonials/` ;
45294554 // use dummy base URL string because the URL constructor only accepts absolute URLs.
45304555 const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -4545,12 +4570,12 @@ export const TestimonialsApiAxiosParamCreator = function (configuration?: Config
45454570 localVarQueryParameter [ 'limit' ] = limit ;
45464571 }
45474572
4548- if ( offset !== undefined ) {
4549- localVarQueryParameter [ 'offset ' ] = offset ;
4573+ if ( offerors ) {
4574+ localVarQueryParameter [ 'offerors ' ] = offerors ;
45504575 }
45514576
4552- if ( published !== undefined ) {
4553- localVarQueryParameter [ 'published ' ] = published ;
4577+ if ( offset !== undefined ) {
4578+ localVarQueryParameter [ 'offset ' ] = offset ;
45544579 }
45554580
45564581
@@ -4613,13 +4638,13 @@ export const TestimonialsApiFp = function(configuration?: Configuration) {
46134638 * @summary List
46144639 * @param {Array<number> } [channels] The channels the attestation is for
46154640 * @param {number } [limit] Number of results to return per page.
4641+ * @param {Array<string> } [offerors] The offerors the attestation is for
46164642 * @param {number } [offset] The initial index from which to return the results.
4617- * @param {boolean } [published] Only return published testimonials
46184643 * @param {* } [options] Override http request option.
46194644 * @throws {RequiredError }
46204645 */
4621- async testimonialsList ( channels ?: Array < number > , limit ?: number , offset ?: number , published ?: boolean , options ?: RawAxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < PaginatedAttestationList > > {
4622- const localVarAxiosArgs = await localVarAxiosParamCreator . testimonialsList ( channels , limit , offset , published , options ) ;
4646+ async testimonialsList ( channels ?: Array < number > , limit ?: number , offerors ?: Array < string > , offset ?: number , options ?: RawAxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < PaginatedAttestationList > > {
4647+ const localVarAxiosArgs = await localVarAxiosParamCreator . testimonialsList ( channels , limit , offerors , offset , options ) ;
46234648 const index = configuration ?. serverIndex ?? 0 ;
46244649 const operationBasePath = operationServerMap [ 'TestimonialsApi.testimonialsList' ] ?. [ index ] ?. url ;
46254650 return ( axios , basePath ) => createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
@@ -4655,7 +4680,7 @@ export const TestimonialsApiFactory = function (configuration?: Configuration, b
46554680 * @throws {RequiredError }
46564681 */
46574682 testimonialsList ( requestParameters : TestimonialsApiTestimonialsListRequest = { } , options ?: RawAxiosRequestConfig ) : AxiosPromise < PaginatedAttestationList > {
4658- return localVarFp . testimonialsList ( requestParameters . channels , requestParameters . limit , requestParameters . offset , requestParameters . published , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
4683+ return localVarFp . testimonialsList ( requestParameters . channels , requestParameters . limit , requestParameters . offerors , requestParameters . offset , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
46594684 } ,
46604685 /**
46614686 * Retrieve a testimonial.
@@ -4691,18 +4716,18 @@ export interface TestimonialsApiTestimonialsListRequest {
46914716 readonly limit ?: number
46924717
46934718 /**
4694- * The initial index from which to return the results.
4695- * @type {number }
4719+ * The offerors the attestation is for
4720+ * @type {Array<string> }
46964721 * @memberof TestimonialsApiTestimonialsList
46974722 */
4698- readonly offset ?: number
4723+ readonly offerors ?: Array < string >
46994724
47004725 /**
4701- * Only return published testimonials
4702- * @type {boolean }
4726+ * The initial index from which to return the results.
4727+ * @type {number }
47034728 * @memberof TestimonialsApiTestimonialsList
47044729 */
4705- readonly published ?: boolean
4730+ readonly offset ?: number
47064731}
47074732
47084733/**
@@ -4735,7 +4760,7 @@ export class TestimonialsApi extends BaseAPI {
47354760 * @memberof TestimonialsApi
47364761 */
47374762 public testimonialsList ( requestParameters : TestimonialsApiTestimonialsListRequest = { } , options ?: RawAxiosRequestConfig ) {
4738- return TestimonialsApiFp ( this . configuration ) . testimonialsList ( requestParameters . channels , requestParameters . limit , requestParameters . offset , requestParameters . published , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
4763+ return TestimonialsApiFp ( this . configuration ) . testimonialsList ( requestParameters . channels , requestParameters . limit , requestParameters . offerors , requestParameters . offset , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
47394764 }
47404765
47414766 /**
0 commit comments