| @@ -186,7 +186,7 @@ export class CommentService { | |||
| /** | |||
| * Removes the Comment resource. | |||
| * Removes the Comment resource. | |||
| * @param id CommentApi identifier | |||
| * @param id Comment identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -257,7 +257,7 @@ export class CommentService { | |||
| /** | |||
| * Retrieves a Comment resource. | |||
| * Retrieves a Comment resource. | |||
| * @param id CommentApi identifier | |||
| * @param id Comment identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -332,7 +332,7 @@ export class CommentService { | |||
| /** | |||
| * Updates the Comment resource. | |||
| * Updates the Comment resource. | |||
| * @param id CommentApi identifier | |||
| * @param id Comment identifier | |||
| * @param comment The updated Comment resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -198,7 +198,7 @@ export class ContactService { | |||
| /** | |||
| * Removes the Contact resource. | |||
| * Removes the Contact resource. | |||
| * @param id ContactApi identifier | |||
| * @param id Contact identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -269,7 +269,7 @@ export class ContactService { | |||
| /** | |||
| * Retrieves a Contact resource. | |||
| * Retrieves a Contact resource. | |||
| * @param id ContactApi identifier | |||
| * @param id Contact identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -344,7 +344,7 @@ export class ContactService { | |||
| /** | |||
| * Updates the Contact resource. | |||
| * Updates the Contact resource. | |||
| * @param id ContactApi identifier | |||
| * @param id Contact identifier | |||
| * @param contact The updated Contact resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -210,7 +210,7 @@ export class DocumentService { | |||
| /** | |||
| * Removes the Document resource. | |||
| * Removes the Document resource. | |||
| * @param id DocumentApi identifier | |||
| * @param id Document identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -281,7 +281,7 @@ export class DocumentService { | |||
| /** | |||
| * Retrieves a Document resource. | |||
| * Retrieves a Document resource. | |||
| * @param id DocumentApi identifier | |||
| * @param id Document identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -356,7 +356,7 @@ export class DocumentService { | |||
| /** | |||
| * Updates the Document resource. | |||
| * Updates the Document resource. | |||
| * @param id DocumentApi identifier | |||
| * @param id Document identifier | |||
| * @param document The updated Document resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -218,7 +218,7 @@ export class PartnerService { | |||
| /** | |||
| * Removes the Partner resource. | |||
| * Removes the Partner resource. | |||
| * @param id PartnerApi identifier | |||
| * @param id Partner identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -289,7 +289,7 @@ export class PartnerService { | |||
| /** | |||
| * Retrieves a Partner resource. | |||
| * Retrieves a Partner resource. | |||
| * @param id PartnerApi identifier | |||
| * @param id Partner identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -364,7 +364,7 @@ export class PartnerService { | |||
| /** | |||
| * Updates the Partner resource. | |||
| * Updates the Partner resource. | |||
| * @param id PartnerApi identifier | |||
| * @param id Partner identifier | |||
| * @param partner The updated Partner resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -210,7 +210,7 @@ export class PartnerFollowService { | |||
| /** | |||
| * Removes the PartnerFollow resource. | |||
| * Removes the PartnerFollow resource. | |||
| * @param id PartnerFollowApi identifier | |||
| * @param id PartnerFollow identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -281,7 +281,7 @@ export class PartnerFollowService { | |||
| /** | |||
| * Retrieves a PartnerFollow resource. | |||
| * Retrieves a PartnerFollow resource. | |||
| * @param id PartnerFollowApi identifier | |||
| * @param id PartnerFollow identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -116,13 +116,15 @@ export class PostService { | |||
| * @param partner2 | |||
| * @param contact | |||
| * @param contact2 | |||
| * @param existsContact | |||
| * @param existsSale | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| public postsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, contact?: string, contact2?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiPostsGetCollection200Response>; | |||
| public postsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, contact?: string, contact2?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiPostsGetCollection200Response>>; | |||
| public postsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, contact?: string, contact2?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiPostsGetCollection200Response>>; | |||
| public postsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, contact?: string, contact2?: Array<string>, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| public postsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, contact?: string, contact2?: Array<string>, existsContact?: boolean, existsSale?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiPostsGetCollection200Response>; | |||
| public postsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, contact?: string, contact2?: Array<string>, existsContact?: boolean, existsSale?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiPostsGetCollection200Response>>; | |||
| public postsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, contact?: string, contact2?: Array<string>, existsContact?: boolean, existsSale?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiPostsGetCollection200Response>>; | |||
| public postsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, contact?: string, contact2?: Array<string>, existsContact?: boolean, existsSale?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||
| if (page !== undefined && page !== null) { | |||
| @@ -153,6 +155,14 @@ export class PostService { | |||
| <any>element, 'contact[]'); | |||
| }) | |||
| } | |||
| if (existsContact !== undefined && existsContact !== null) { | |||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||
| <any>existsContact, 'exists[contact]'); | |||
| } | |||
| if (existsSale !== undefined && existsSale !== null) { | |||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||
| <any>existsSale, 'exists[sale]'); | |||
| } | |||
| let localVarHeaders = this.defaultHeaders; | |||
| @@ -218,7 +228,7 @@ export class PostService { | |||
| /** | |||
| * Removes the Post resource. | |||
| * Removes the Post resource. | |||
| * @param id PostingApi identifier | |||
| * @param id Post identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -289,7 +299,7 @@ export class PostService { | |||
| /** | |||
| * Retrieves a Post resource. | |||
| * Retrieves a Post resource. | |||
| * @param id PostingApi identifier | |||
| * @param id Post identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -364,7 +374,7 @@ export class PostService { | |||
| /** | |||
| * Updates the Post resource. | |||
| * Updates the Post resource. | |||
| * @param id PostingApi identifier | |||
| * @param id Post identifier | |||
| * @param postPostingPatch The updated Post resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -196,7 +196,7 @@ export class ProductService { | |||
| /** | |||
| * Removes the Product resource. | |||
| * Removes the Product resource. | |||
| * @param id ProductApi identifier | |||
| * @param id Product identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -267,7 +267,7 @@ export class ProductService { | |||
| /** | |||
| * Retrieves a Product resource. | |||
| * Retrieves a Product resource. | |||
| * @param id ProductApi identifier | |||
| * @param id Product identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -342,7 +342,7 @@ export class ProductService { | |||
| /** | |||
| * Updates the Product resource. | |||
| * Updates the Product resource. | |||
| * @param id ProductApi identifier | |||
| * @param id Product identifier | |||
| * @param product The updated Product resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -210,7 +210,7 @@ export class SaleService { | |||
| /** | |||
| * Removes the Sale resource. | |||
| * Removes the Sale resource. | |||
| * @param id SaleApi identifier | |||
| * @param id Sale identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -281,7 +281,7 @@ export class SaleService { | |||
| /** | |||
| * Retrieves a Sale resource. | |||
| * Retrieves a Sale resource. | |||
| * @param id SaleApi identifier | |||
| * @param id Sale identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -356,7 +356,7 @@ export class SaleService { | |||
| /** | |||
| * Updates the Sale resource. | |||
| * Updates the Sale resource. | |||
| * @param id SaleApi identifier | |||
| * @param id Sale identifier | |||
| * @param sale The updated Sale resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -222,7 +222,7 @@ export class TaskService { | |||
| /** | |||
| * Removes the Task resource. | |||
| * Removes the Task resource. | |||
| * @param id TaskApi identifier | |||
| * @param id Task identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -293,7 +293,7 @@ export class TaskService { | |||
| /** | |||
| * Retrieves a Task resource. | |||
| * Retrieves a Task resource. | |||
| * @param id TaskApi identifier | |||
| * @param id Task identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -368,7 +368,7 @@ export class TaskService { | |||
| /** | |||
| * Updates the Task resource. | |||
| * Updates the Task resource. | |||
| * @param id TaskApi identifier | |||
| * @param id Task identifier | |||
| * @param task The updated Task resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -198,7 +198,7 @@ export class TaskNoteService { | |||
| /** | |||
| * Removes the TaskNote resource. | |||
| * Removes the TaskNote resource. | |||
| * @param id TaskNoteApi identifier | |||
| * @param id TaskNote identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -269,7 +269,7 @@ export class TaskNoteService { | |||
| /** | |||
| * Retrieves a TaskNote resource. | |||
| * Retrieves a TaskNote resource. | |||
| * @param id TaskNoteApi identifier | |||
| * @param id TaskNote identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -344,7 +344,7 @@ export class TaskNoteService { | |||
| /** | |||
| * Updates the TaskNote resource. | |||
| * Updates the TaskNote resource. | |||
| * @param id TaskNoteApi identifier | |||
| * @param id TaskNote identifier | |||
| * @param taskNote The updated TaskNote resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -196,7 +196,7 @@ export class UserService { | |||
| /** | |||
| * Retrieves a User resource. | |||
| * Retrieves a User resource. | |||
| * @param id UserApi identifier | |||
| * @param id User identifier | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| */ | |||
| @@ -271,7 +271,7 @@ export class UserService { | |||
| /** | |||
| * Updates the User resource. | |||
| * Updates the User resource. | |||
| * @param id UserApi identifier | |||
| * @param id User identifier | |||
| * @param user The updated User resource | |||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | |||
| * @param reportProgress flag to report request and response progress. | |||
| @@ -175,7 +175,12 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit { | |||
| this.postsSub = this.postService.postsGetCollection( | |||
| this.postsPageIndex + 1, | |||
| this.postsPageSize, | |||
| this.id | |||
| this.id, | |||
| undefined, | |||
| undefined, | |||
| undefined, | |||
| undefined, | |||
| false | |||
| ).subscribe( | |||
| data => { | |||
| this.posts = data["hydra:member"]; | |||