| @@ -500,6 +500,244 @@ paths: | |||||
| required: true | required: true | ||||
| deprecated: false | deprecated: false | ||||
| parameters: [] | parameters: [] | ||||
| /api/documents: | |||||
| get: | |||||
| operationId: api_documents_get_collection | |||||
| tags: | |||||
| - Document | |||||
| responses: | |||||
| 200: | |||||
| description: 'Document collection' | |||||
| content: | |||||
| application/ld+json: | |||||
| schema: | |||||
| type: object | |||||
| properties: | |||||
| 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Document.jsonld-document_object.read' } } | |||||
| 'hydra:totalItems': { type: integer, minimum: 0 } | |||||
| 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } } | |||||
| 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } } | |||||
| required: | |||||
| - 'hydra:member' | |||||
| application/json: | |||||
| schema: | |||||
| type: array | |||||
| items: | |||||
| $ref: '#/components/schemas/Document-document_object.read' | |||||
| text/html: | |||||
| schema: | |||||
| type: array | |||||
| items: | |||||
| $ref: '#/components/schemas/Document-document_object.read' | |||||
| application/hal+json: | |||||
| schema: | |||||
| type: object | |||||
| properties: | |||||
| _embedded: { type: array, items: { $ref: '#/components/schemas/Document.jsonhal-document_object.read' } } | |||||
| totalItems: { type: integer, minimum: 0 } | |||||
| itemsPerPage: { type: integer, minimum: 0 } | |||||
| _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } } | |||||
| required: | |||||
| - _links | |||||
| - _embedded | |||||
| summary: 'Retrieves the collection of Document resources.' | |||||
| description: 'Retrieves the collection of Document resources.' | |||||
| parameters: | |||||
| - | |||||
| name: page | |||||
| in: query | |||||
| description: 'The collection page number' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: integer | |||||
| default: 1 | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| - | |||||
| name: itemsPerPage | |||||
| in: query | |||||
| description: 'The number of items per page' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: integer | |||||
| default: 10 | |||||
| minimum: 0 | |||||
| maximum: 50 | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| - | |||||
| name: partner | |||||
| in: query | |||||
| description: '' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: string | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| - | |||||
| name: 'partner[]' | |||||
| in: query | |||||
| description: '' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: array | |||||
| items: | |||||
| type: string | |||||
| style: form | |||||
| explode: true | |||||
| allowReserved: false | |||||
| - | |||||
| name: product | |||||
| in: query | |||||
| description: '' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: string | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| - | |||||
| name: 'product[]' | |||||
| in: query | |||||
| description: '' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: array | |||||
| items: | |||||
| type: string | |||||
| style: form | |||||
| explode: true | |||||
| allowReserved: false | |||||
| deprecated: false | |||||
| post: | |||||
| operationId: api_documents_post | |||||
| tags: | |||||
| - Document | |||||
| responses: | |||||
| 201: | |||||
| description: 'Document resource created' | |||||
| content: | |||||
| application/ld+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Document.jsonld-document_object.read' | |||||
| application/json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Document-document_object.read' | |||||
| text/html: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Document-document_object.read' | |||||
| application/hal+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Document.jsonhal-document_object.read' | |||||
| links: { } | |||||
| 400: | |||||
| description: 'Invalid input' | |||||
| 422: | |||||
| description: 'Unprocessable entity' | |||||
| summary: 'Creates a Document resource.' | |||||
| description: 'Creates a Document resource.' | |||||
| parameters: [] | |||||
| requestBody: | |||||
| description: '' | |||||
| content: | |||||
| multipart/form-data: | |||||
| schema: | |||||
| type: object | |||||
| properties: | |||||
| file: | |||||
| type: string | |||||
| format: binary | |||||
| partner: | |||||
| type: string | |||||
| format: iri_reference | |||||
| example: 'https://example.com/' | |||||
| product: | |||||
| type: string | |||||
| format: iri_reference | |||||
| example: 'https://example.com/' | |||||
| required: false | |||||
| deprecated: false | |||||
| parameters: [] | |||||
| '/api/documents/{id}': | |||||
| get: | |||||
| operationId: api_documents_id_get | |||||
| tags: | |||||
| - Document | |||||
| responses: | |||||
| 200: | |||||
| description: 'Document resource' | |||||
| content: | |||||
| application/ld+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Document.jsonld-document_object.read' | |||||
| application/json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Document-document_object.read' | |||||
| text/html: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Document-document_object.read' | |||||
| application/hal+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Document.jsonhal-document_object.read' | |||||
| 404: | |||||
| description: 'Resource not found' | |||||
| summary: 'Retrieves a Document resource.' | |||||
| description: 'Retrieves a Document resource.' | |||||
| parameters: | |||||
| - | |||||
| name: id | |||||
| in: path | |||||
| description: 'DocumentObject identifier' | |||||
| required: true | |||||
| deprecated: false | |||||
| allowEmptyValue: false | |||||
| schema: | |||||
| type: string | |||||
| style: simple | |||||
| explode: false | |||||
| allowReserved: false | |||||
| deprecated: false | |||||
| delete: | |||||
| operationId: api_documents_id_delete | |||||
| tags: | |||||
| - Document | |||||
| responses: | |||||
| 204: | |||||
| description: 'Document resource deleted' | |||||
| 404: | |||||
| description: 'Resource not found' | |||||
| summary: 'Removes the Document resource.' | |||||
| description: 'Removes the Document resource.' | |||||
| parameters: | |||||
| - | |||||
| name: id | |||||
| in: path | |||||
| description: 'DocumentObject identifier' | |||||
| required: true | |||||
| deprecated: false | |||||
| allowEmptyValue: false | |||||
| schema: | |||||
| type: string | |||||
| style: simple | |||||
| explode: false | |||||
| allowReserved: false | |||||
| deprecated: false | |||||
| parameters: [] | |||||
| /api/medias: | /api/medias: | ||||
| get: | get: | ||||
| operationId: api_medias_get_collection | operationId: api_medias_get_collection | ||||
| @@ -613,36 +851,245 @@ paths: | |||||
| required: false | required: false | ||||
| deprecated: false | deprecated: false | ||||
| parameters: [] | parameters: [] | ||||
| '/api/medias/{id}': | |||||
| '/api/medias/{id}': | |||||
| get: | |||||
| operationId: api_medias_id_get | |||||
| tags: | |||||
| - Media | |||||
| responses: | |||||
| 200: | |||||
| description: 'Media resource' | |||||
| content: | |||||
| application/ld+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Media.jsonld-media_object.read' | |||||
| application/json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Media-media_object.read' | |||||
| text/html: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Media-media_object.read' | |||||
| application/hal+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/Media.jsonhal-media_object.read' | |||||
| 404: | |||||
| description: 'Resource not found' | |||||
| summary: 'Retrieves a Media resource.' | |||||
| description: 'Retrieves a Media resource.' | |||||
| parameters: | |||||
| - | |||||
| name: id | |||||
| in: path | |||||
| description: 'MediaObject identifier' | |||||
| required: true | |||||
| deprecated: false | |||||
| allowEmptyValue: false | |||||
| schema: | |||||
| type: string | |||||
| style: simple | |||||
| explode: false | |||||
| allowReserved: false | |||||
| deprecated: false | |||||
| delete: | |||||
| operationId: api_medias_id_delete | |||||
| tags: | |||||
| - Media | |||||
| responses: | |||||
| 204: | |||||
| description: 'Media resource deleted' | |||||
| 404: | |||||
| description: 'Resource not found' | |||||
| summary: 'Removes the Media resource.' | |||||
| description: 'Removes the Media resource.' | |||||
| parameters: | |||||
| - | |||||
| name: id | |||||
| in: path | |||||
| description: 'MediaObject identifier' | |||||
| required: true | |||||
| deprecated: false | |||||
| allowEmptyValue: false | |||||
| schema: | |||||
| type: string | |||||
| style: simple | |||||
| explode: false | |||||
| allowReserved: false | |||||
| deprecated: false | |||||
| parameters: [] | |||||
| /api/partner_follows: | |||||
| get: | |||||
| operationId: api_partner_follows_get_collection | |||||
| tags: | |||||
| - PartnerFollow | |||||
| responses: | |||||
| 200: | |||||
| description: 'PartnerFollow collection' | |||||
| content: | |||||
| application/ld+json: | |||||
| schema: | |||||
| type: object | |||||
| properties: | |||||
| 'hydra:member': { type: array, items: { $ref: '#/components/schemas/PartnerFollow.jsonld' } } | |||||
| 'hydra:totalItems': { type: integer, minimum: 0 } | |||||
| 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } } | |||||
| 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } } | |||||
| required: | |||||
| - 'hydra:member' | |||||
| application/json: | |||||
| schema: | |||||
| type: array | |||||
| items: | |||||
| $ref: '#/components/schemas/PartnerFollow' | |||||
| text/html: | |||||
| schema: | |||||
| type: array | |||||
| items: | |||||
| $ref: '#/components/schemas/PartnerFollow' | |||||
| application/hal+json: | |||||
| schema: | |||||
| type: object | |||||
| properties: | |||||
| _embedded: { type: array, items: { $ref: '#/components/schemas/PartnerFollow.jsonhal' } } | |||||
| totalItems: { type: integer, minimum: 0 } | |||||
| itemsPerPage: { type: integer, minimum: 0 } | |||||
| _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } } | |||||
| required: | |||||
| - _links | |||||
| - _embedded | |||||
| summary: 'Retrieves the collection of PartnerFollow resources.' | |||||
| description: 'Retrieves the collection of PartnerFollow resources.' | |||||
| parameters: | |||||
| - | |||||
| name: page | |||||
| in: query | |||||
| description: 'The collection page number' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: integer | |||||
| default: 1 | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| - | |||||
| name: itemsPerPage | |||||
| in: query | |||||
| description: 'The number of items per page' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: integer | |||||
| default: 10 | |||||
| minimum: 0 | |||||
| maximum: 50 | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| - | |||||
| name: partner | |||||
| in: query | |||||
| description: '' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: string | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| - | |||||
| name: 'partner[]' | |||||
| in: query | |||||
| description: '' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: array | |||||
| items: | |||||
| type: string | |||||
| style: form | |||||
| explode: true | |||||
| allowReserved: false | |||||
| deprecated: false | |||||
| post: | |||||
| operationId: api_partner_follows_post | |||||
| tags: | |||||
| - PartnerFollow | |||||
| responses: | |||||
| 201: | |||||
| description: 'PartnerFollow resource created' | |||||
| content: | |||||
| application/ld+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/PartnerFollow.jsonld' | |||||
| application/json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/PartnerFollow' | |||||
| text/html: | |||||
| schema: | |||||
| $ref: '#/components/schemas/PartnerFollow' | |||||
| application/hal+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/PartnerFollow.jsonhal' | |||||
| links: { } | |||||
| 400: | |||||
| description: 'Invalid input' | |||||
| 422: | |||||
| description: 'Unprocessable entity' | |||||
| summary: 'Creates a PartnerFollow resource.' | |||||
| description: 'Creates a PartnerFollow resource.' | |||||
| parameters: [] | |||||
| requestBody: | |||||
| description: 'The new PartnerFollow resource' | |||||
| content: | |||||
| application/ld+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/PartnerFollow.jsonld' | |||||
| application/json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/PartnerFollow' | |||||
| text/html: | |||||
| schema: | |||||
| $ref: '#/components/schemas/PartnerFollow' | |||||
| application/hal+json: | |||||
| schema: | |||||
| $ref: '#/components/schemas/PartnerFollow.jsonhal' | |||||
| required: true | |||||
| deprecated: false | |||||
| parameters: [] | |||||
| '/api/partner_follows/{id}': | |||||
| get: | get: | ||||
| operationId: api_medias_id_get | |||||
| operationId: api_partner_follows_id_get | |||||
| tags: | tags: | ||||
| - Media | |||||
| - PartnerFollow | |||||
| responses: | responses: | ||||
| 200: | 200: | ||||
| description: 'Media resource' | |||||
| description: 'PartnerFollow resource' | |||||
| content: | content: | ||||
| application/ld+json: | application/ld+json: | ||||
| schema: | schema: | ||||
| $ref: '#/components/schemas/Media.jsonld-media_object.read' | |||||
| $ref: '#/components/schemas/PartnerFollow.jsonld' | |||||
| application/json: | application/json: | ||||
| schema: | schema: | ||||
| $ref: '#/components/schemas/Media-media_object.read' | |||||
| $ref: '#/components/schemas/PartnerFollow' | |||||
| text/html: | text/html: | ||||
| schema: | schema: | ||||
| $ref: '#/components/schemas/Media-media_object.read' | |||||
| $ref: '#/components/schemas/PartnerFollow' | |||||
| application/hal+json: | application/hal+json: | ||||
| schema: | schema: | ||||
| $ref: '#/components/schemas/Media.jsonhal-media_object.read' | |||||
| $ref: '#/components/schemas/PartnerFollow.jsonhal' | |||||
| 404: | 404: | ||||
| description: 'Resource not found' | description: 'Resource not found' | ||||
| summary: 'Retrieves a Media resource.' | |||||
| description: 'Retrieves a Media resource.' | |||||
| summary: 'Retrieves a PartnerFollow resource.' | |||||
| description: 'Retrieves a PartnerFollow resource.' | |||||
| parameters: | parameters: | ||||
| - | - | ||||
| name: id | name: id | ||||
| in: path | in: path | ||||
| description: 'MediaObject identifier' | |||||
| description: 'PartnerFollowApi identifier' | |||||
| required: true | required: true | ||||
| deprecated: false | deprecated: false | ||||
| allowEmptyValue: false | allowEmptyValue: false | ||||
| @@ -653,21 +1100,21 @@ paths: | |||||
| allowReserved: false | allowReserved: false | ||||
| deprecated: false | deprecated: false | ||||
| delete: | delete: | ||||
| operationId: api_medias_id_delete | |||||
| operationId: api_partner_follows_id_delete | |||||
| tags: | tags: | ||||
| - Media | |||||
| - PartnerFollow | |||||
| responses: | responses: | ||||
| 204: | 204: | ||||
| description: 'Media resource deleted' | |||||
| description: 'PartnerFollow resource deleted' | |||||
| 404: | 404: | ||||
| description: 'Resource not found' | description: 'Resource not found' | ||||
| summary: 'Removes the Media resource.' | |||||
| description: 'Removes the Media resource.' | |||||
| summary: 'Removes the PartnerFollow resource.' | |||||
| description: 'Removes the PartnerFollow resource.' | |||||
| parameters: | parameters: | ||||
| - | - | ||||
| name: id | name: id | ||||
| in: path | in: path | ||||
| description: 'MediaObject identifier' | |||||
| description: 'PartnerFollowApi identifier' | |||||
| required: true | required: true | ||||
| deprecated: false | deprecated: false | ||||
| allowEmptyValue: false | allowEmptyValue: false | ||||
| @@ -2488,6 +2935,30 @@ paths: | |||||
| style: form | style: form | ||||
| explode: false | explode: false | ||||
| allowReserved: false | allowReserved: false | ||||
| - | |||||
| name: firstName | |||||
| in: query | |||||
| description: '' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: string | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| - | |||||
| name: lastName | |||||
| in: query | |||||
| description: '' | |||||
| required: false | |||||
| deprecated: false | |||||
| allowEmptyValue: true | |||||
| schema: | |||||
| type: string | |||||
| style: form | |||||
| explode: false | |||||
| allowReserved: false | |||||
| deprecated: false | deprecated: false | ||||
| post: | post: | ||||
| operationId: api_users_post | operationId: api_users_post | ||||
| @@ -3045,6 +3516,77 @@ components: | |||||
| - string | - string | ||||
| - 'null' | - 'null' | ||||
| format: date-time | format: date-time | ||||
| Document-document_object.read: | |||||
| type: object | |||||
| description: '' | |||||
| deprecated: false | |||||
| externalDocs: | |||||
| url: 'https://schema.org/MediaObject' | |||||
| properties: | |||||
| contentUrl: | |||||
| externalDocs: | |||||
| url: 'https://schema.org/contentUrl' | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| Document.jsonhal-document_object.read: | |||||
| type: object | |||||
| description: '' | |||||
| deprecated: false | |||||
| externalDocs: | |||||
| url: 'https://schema.org/MediaObject' | |||||
| properties: | |||||
| _links: | |||||
| type: object | |||||
| properties: | |||||
| self: | |||||
| type: object | |||||
| properties: | |||||
| href: | |||||
| type: string | |||||
| format: iri-reference | |||||
| contentUrl: | |||||
| externalDocs: | |||||
| url: 'https://schema.org/contentUrl' | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| Document.jsonld-document_object.read: | |||||
| type: object | |||||
| description: '' | |||||
| deprecated: false | |||||
| externalDocs: | |||||
| url: 'https://schema.org/MediaObject' | |||||
| properties: | |||||
| '@context': | |||||
| readOnly: true | |||||
| oneOf: | |||||
| - | |||||
| type: string | |||||
| - | |||||
| type: object | |||||
| properties: | |||||
| '@vocab': | |||||
| type: string | |||||
| hydra: | |||||
| type: string | |||||
| enum: ['http://www.w3.org/ns/hydra/core#'] | |||||
| required: | |||||
| - '@vocab' | |||||
| - hydra | |||||
| additionalProperties: true | |||||
| '@id': | |||||
| readOnly: true | |||||
| type: string | |||||
| '@type': | |||||
| readOnly: true | |||||
| type: string | |||||
| contentUrl: | |||||
| externalDocs: | |||||
| url: 'https://schema.org/contentUrl' | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| Media-media_object.read: | Media-media_object.read: | ||||
| type: object | type: object | ||||
| description: '' | description: '' | ||||
| @@ -3361,6 +3903,152 @@ components: | |||||
| type: string | type: string | ||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| PartnerFollow: | |||||
| type: object | |||||
| description: '' | |||||
| deprecated: false | |||||
| properties: | |||||
| user: | |||||
| readOnly: true | |||||
| 'owl:maxCardinality': 1 | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: iri-reference | |||||
| example: 'https://example.com/' | |||||
| userName: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| partner: | |||||
| 'owl:maxCardinality': 1 | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: iri-reference | |||||
| example: 'https://example.com/' | |||||
| partnerName: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| createdAt: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: date-time | |||||
| required: | |||||
| - partner | |||||
| PartnerFollow.jsonhal: | |||||
| type: object | |||||
| description: '' | |||||
| deprecated: false | |||||
| properties: | |||||
| _links: | |||||
| type: object | |||||
| properties: | |||||
| self: | |||||
| type: object | |||||
| properties: | |||||
| href: | |||||
| type: string | |||||
| format: iri-reference | |||||
| user: | |||||
| readOnly: true | |||||
| 'owl:maxCardinality': 1 | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: iri-reference | |||||
| example: 'https://example.com/' | |||||
| userName: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| partner: | |||||
| 'owl:maxCardinality': 1 | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: iri-reference | |||||
| example: 'https://example.com/' | |||||
| partnerName: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| createdAt: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: date-time | |||||
| required: | |||||
| - partner | |||||
| PartnerFollow.jsonld: | |||||
| type: object | |||||
| description: '' | |||||
| deprecated: false | |||||
| properties: | |||||
| '@context': | |||||
| readOnly: true | |||||
| oneOf: | |||||
| - | |||||
| type: string | |||||
| - | |||||
| type: object | |||||
| properties: | |||||
| '@vocab': | |||||
| type: string | |||||
| hydra: | |||||
| type: string | |||||
| enum: ['http://www.w3.org/ns/hydra/core#'] | |||||
| required: | |||||
| - '@vocab' | |||||
| - hydra | |||||
| additionalProperties: true | |||||
| '@id': | |||||
| readOnly: true | |||||
| type: string | |||||
| '@type': | |||||
| readOnly: true | |||||
| type: string | |||||
| user: | |||||
| readOnly: true | |||||
| 'owl:maxCardinality': 1 | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: iri-reference | |||||
| example: 'https://example.com/' | |||||
| userName: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| partner: | |||||
| 'owl:maxCardinality': 1 | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: iri-reference | |||||
| example: 'https://example.com/' | |||||
| partnerName: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| createdAt: | |||||
| readOnly: true | |||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| format: date-time | |||||
| required: | |||||
| - partner | |||||
| Post: | Post: | ||||
| type: object | type: object | ||||
| description: '' | description: '' | ||||
| @@ -3412,6 +4100,7 @@ components: | |||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| comments: | comments: | ||||
| readOnly: true | |||||
| description: 'array<int, CommentApi>' | description: 'array<int, CommentApi>' | ||||
| type: array | type: array | ||||
| items: | items: | ||||
| @@ -3535,6 +4224,7 @@ components: | |||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| comments: | comments: | ||||
| readOnly: true | |||||
| description: 'array<int, CommentApi>' | description: 'array<int, CommentApi>' | ||||
| type: array | type: array | ||||
| items: | items: | ||||
| @@ -3665,6 +4355,7 @@ components: | |||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| comments: | comments: | ||||
| readOnly: true | |||||
| description: 'array<int, CommentApi>' | description: 'array<int, CommentApi>' | ||||
| type: array | type: array | ||||
| items: | items: | ||||
| @@ -4242,6 +4933,7 @@ components: | |||||
| - boolean | - boolean | ||||
| - 'null' | - 'null' | ||||
| taskNotes: | taskNotes: | ||||
| readOnly: true | |||||
| description: 'array<int, TaskNoteApi>' | description: 'array<int, TaskNoteApi>' | ||||
| type: array | type: array | ||||
| items: | items: | ||||
| @@ -4346,6 +5038,7 @@ components: | |||||
| - boolean | - boolean | ||||
| - 'null' | - 'null' | ||||
| taskNotes: | taskNotes: | ||||
| readOnly: true | |||||
| description: 'array<int, TaskNoteApi>' | description: 'array<int, TaskNoteApi>' | ||||
| type: array | type: array | ||||
| items: | items: | ||||
| @@ -4464,6 +5157,7 @@ components: | |||||
| - boolean | - boolean | ||||
| - 'null' | - 'null' | ||||
| taskNotes: | taskNotes: | ||||
| readOnly: true | |||||
| description: 'array<int, TaskNoteApi>' | description: 'array<int, TaskNoteApi>' | ||||
| type: array | type: array | ||||
| items: | items: | ||||
| @@ -68,6 +68,19 @@ export const contactJsonldForm = new FormGroup({ | |||||
| createdAt: new FormControl(null, []) | createdAt: new FormControl(null, []) | ||||
| }); | }); | ||||
| export const documentDocumentObjectReadForm = new FormGroup({ | |||||
| contentUrl: new FormControl(null, []) | |||||
| }); | |||||
| export const documentJsonhalDocumentObjectReadForm = new FormGroup({ | |||||
| _links: new FormControl(null, []), | |||||
| contentUrl: new FormControl(null, []) | |||||
| }); | |||||
| export const documentJsonldDocumentObjectReadForm = new FormGroup({ | |||||
| contentUrl: new FormControl(null, []) | |||||
| }); | |||||
| export const mediaMediaObjectReadForm = new FormGroup({ | export const mediaMediaObjectReadForm = new FormGroup({ | ||||
| contentUrl: new FormControl(null, []) | contentUrl: new FormControl(null, []) | ||||
| }); | }); | ||||
| @@ -130,6 +143,31 @@ export const partnerJsonldForm = new FormGroup({ | |||||
| contacts: new FormControl(null, []) | contacts: new FormControl(null, []) | ||||
| }); | }); | ||||
| export const partnerFollowForm = new FormGroup({ | |||||
| user: new FormControl(null, []), | |||||
| userName: new FormControl(null, []), | |||||
| partner: new FormControl(null, [Validators.required]), | |||||
| partnerName: new FormControl(null, []), | |||||
| createdAt: new FormControl(null, []) | |||||
| }); | |||||
| export const partnerFollowJsonhalForm = new FormGroup({ | |||||
| _links: new FormControl(null, []), | |||||
| user: new FormControl(null, []), | |||||
| userName: new FormControl(null, []), | |||||
| partner: new FormControl(null, [Validators.required]), | |||||
| partnerName: new FormControl(null, []), | |||||
| createdAt: new FormControl(null, []) | |||||
| }); | |||||
| export const partnerFollowJsonldForm = new FormGroup({ | |||||
| user: new FormControl(null, []), | |||||
| userName: new FormControl(null, []), | |||||
| partner: new FormControl(null, [Validators.required]), | |||||
| partnerName: new FormControl(null, []), | |||||
| createdAt: new FormControl(null, []) | |||||
| }); | |||||
| export const postForm = new FormGroup({ | export const postForm = new FormGroup({ | ||||
| headline: new FormControl(null, [Validators.required]), | headline: new FormControl(null, [Validators.required]), | ||||
| message: new FormControl(null, [Validators.required]), | message: new FormControl(null, [Validators.required]), | ||||
| @@ -4,9 +4,11 @@ api.module.ts | |||||
| api/api.ts | api/api.ts | ||||
| api/comment.service.ts | api/comment.service.ts | ||||
| api/contact.service.ts | api/contact.service.ts | ||||
| api/document.service.ts | |||||
| api/loginCheck.service.ts | api/loginCheck.service.ts | ||||
| api/media.service.ts | api/media.service.ts | ||||
| api/partner.service.ts | api/partner.service.ts | ||||
| api/partnerFollow.service.ts | |||||
| api/post.service.ts | api/post.service.ts | ||||
| api/product.service.ts | api/product.service.ts | ||||
| api/sale.service.ts | api/sale.service.ts | ||||
| @@ -27,8 +29,12 @@ model/apiCommentsGetCollection200ResponseHydraSearchHydraMappingInner.ts | |||||
| model/apiCommentsGetCollection200ResponseHydraView.ts | model/apiCommentsGetCollection200ResponseHydraView.ts | ||||
| model/apiContactsGetCollection200Response.ts | model/apiContactsGetCollection200Response.ts | ||||
| model/apiContactsGetCollection200Response1.ts | model/apiContactsGetCollection200Response1.ts | ||||
| model/apiDocumentsGetCollection200Response.ts | |||||
| model/apiDocumentsGetCollection200Response1.ts | |||||
| model/apiMediasGetCollection200Response.ts | model/apiMediasGetCollection200Response.ts | ||||
| model/apiMediasGetCollection200Response1.ts | model/apiMediasGetCollection200Response1.ts | ||||
| model/apiPartnerFollowsGetCollection200Response.ts | |||||
| model/apiPartnerFollowsGetCollection200Response1.ts | |||||
| model/apiPartnersGetCollection200Response.ts | model/apiPartnersGetCollection200Response.ts | ||||
| model/apiPartnersGetCollection200Response1.ts | model/apiPartnersGetCollection200Response1.ts | ||||
| model/apiPostsGetCollection200Response.ts | model/apiPostsGetCollection200Response.ts | ||||
| @@ -54,6 +60,9 @@ model/commentJsonldContextOneOf.ts | |||||
| model/contact.ts | model/contact.ts | ||||
| model/contactJsonhal.ts | model/contactJsonhal.ts | ||||
| model/contactJsonld.ts | model/contactJsonld.ts | ||||
| model/documentDocumentObjectRead.ts | |||||
| model/documentJsonhalDocumentObjectRead.ts | |||||
| model/documentJsonldDocumentObjectRead.ts | |||||
| model/loginCheckPost200Response.ts | model/loginCheckPost200Response.ts | ||||
| model/loginCheckPostRequest.ts | model/loginCheckPostRequest.ts | ||||
| model/mediaJsonhalMediaObjectRead.ts | model/mediaJsonhalMediaObjectRead.ts | ||||
| @@ -61,6 +70,9 @@ model/mediaJsonldMediaObjectRead.ts | |||||
| model/mediaMediaObjectRead.ts | model/mediaMediaObjectRead.ts | ||||
| model/models.ts | model/models.ts | ||||
| model/partner.ts | model/partner.ts | ||||
| model/partnerFollow.ts | |||||
| model/partnerFollowJsonhal.ts | |||||
| model/partnerFollowJsonld.ts | |||||
| model/partnerJsonhal.ts | model/partnerJsonhal.ts | ||||
| model/partnerJsonld.ts | model/partnerJsonld.ts | ||||
| model/post.ts | model/post.ts | ||||
| @@ -2,12 +2,16 @@ export * from './comment.service'; | |||||
| import { CommentService } from './comment.service'; | import { CommentService } from './comment.service'; | ||||
| export * from './contact.service'; | export * from './contact.service'; | ||||
| import { ContactService } from './contact.service'; | import { ContactService } from './contact.service'; | ||||
| export * from './document.service'; | |||||
| import { DocumentService } from './document.service'; | |||||
| export * from './loginCheck.service'; | export * from './loginCheck.service'; | ||||
| import { LoginCheckService } from './loginCheck.service'; | import { LoginCheckService } from './loginCheck.service'; | ||||
| export * from './media.service'; | export * from './media.service'; | ||||
| import { MediaService } from './media.service'; | import { MediaService } from './media.service'; | ||||
| export * from './partner.service'; | export * from './partner.service'; | ||||
| import { PartnerService } from './partner.service'; | import { PartnerService } from './partner.service'; | ||||
| export * from './partnerFollow.service'; | |||||
| import { PartnerFollowService } from './partnerFollow.service'; | |||||
| export * from './post.service'; | export * from './post.service'; | ||||
| import { PostService } from './post.service'; | import { PostService } from './post.service'; | ||||
| export * from './product.service'; | export * from './product.service'; | ||||
| @@ -22,4 +26,4 @@ export * from './taskNote.service'; | |||||
| import { TaskNoteService } from './taskNote.service'; | import { TaskNoteService } from './taskNote.service'; | ||||
| export * from './user.service'; | export * from './user.service'; | ||||
| import { UserService } from './user.service'; | import { UserService } from './user.service'; | ||||
| export const APIS = [CommentService, ContactService, LoginCheckService, MediaService, PartnerService, PostService, ProductService, SaleService, SaleSummaryService, TaskService, TaskNoteService, UserService]; | |||||
| export const APIS = [CommentService, ContactService, DocumentService, LoginCheckService, MediaService, PartnerService, PartnerFollowService, PostService, ProductService, SaleService, SaleSummaryService, TaskService, TaskNoteService, UserService]; | |||||
| @@ -0,0 +1,472 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| /* tslint:disable:no-unused-variable member-ordering */ | |||||
| import { Inject, Injectable, Optional } from '@angular/core'; | |||||
| import { HttpClient, HttpHeaders, HttpParams, | |||||
| HttpResponse, HttpEvent, HttpParameterCodec, HttpContext | |||||
| } from '@angular/common/http'; | |||||
| import { CustomHttpParameterCodec } from '../encoder'; | |||||
| import { Observable } from 'rxjs'; | |||||
| // @ts-ignore | |||||
| import { ApiDocumentsGetCollection200Response } from '../model/apiDocumentsGetCollection200Response'; | |||||
| // @ts-ignore | |||||
| import { ApiDocumentsGetCollection200Response1 } from '../model/apiDocumentsGetCollection200Response1'; | |||||
| // @ts-ignore | |||||
| import { DocumentDocumentObjectRead } from '../model/documentDocumentObjectRead'; | |||||
| // @ts-ignore | |||||
| import { DocumentJsonhalDocumentObjectRead } from '../model/documentJsonhalDocumentObjectRead'; | |||||
| // @ts-ignore | |||||
| import { DocumentJsonldDocumentObjectRead } from '../model/documentJsonldDocumentObjectRead'; | |||||
| // @ts-ignore | |||||
| import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; | |||||
| import { Configuration } from '../configuration'; | |||||
| @Injectable({ | |||||
| providedIn: 'root' | |||||
| }) | |||||
| export class DocumentService { | |||||
| protected basePath = 'http://localhost'; | |||||
| public defaultHeaders = new HttpHeaders(); | |||||
| public configuration = new Configuration(); | |||||
| public encoder: HttpParameterCodec; | |||||
| constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) { | |||||
| if (configuration) { | |||||
| this.configuration = configuration; | |||||
| } | |||||
| if (typeof this.configuration.basePath !== 'string') { | |||||
| if (Array.isArray(basePath) && basePath.length > 0) { | |||||
| basePath = basePath[0]; | |||||
| } | |||||
| if (typeof basePath !== 'string') { | |||||
| basePath = this.basePath; | |||||
| } | |||||
| this.configuration.basePath = basePath; | |||||
| } | |||||
| this.encoder = this.configuration.encoder || new CustomHttpParameterCodec(); | |||||
| } | |||||
| /** | |||||
| * @param consumes string[] mime-types | |||||
| * @return true: consumes contains 'multipart/form-data', false: otherwise | |||||
| */ | |||||
| private canConsumeForm(consumes: string[]): boolean { | |||||
| const form = 'multipart/form-data'; | |||||
| for (const consume of consumes) { | |||||
| if (form === consume) { | |||||
| return true; | |||||
| } | |||||
| } | |||||
| return false; | |||||
| } | |||||
| // @ts-ignore | |||||
| private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams { | |||||
| if (typeof value === "object" && value instanceof Date === false) { | |||||
| httpParams = this.addToHttpParamsRecursive(httpParams, value); | |||||
| } else { | |||||
| httpParams = this.addToHttpParamsRecursive(httpParams, value, key); | |||||
| } | |||||
| return httpParams; | |||||
| } | |||||
| private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams { | |||||
| if (value == null) { | |||||
| return httpParams; | |||||
| } | |||||
| if (typeof value === "object") { | |||||
| if (Array.isArray(value)) { | |||||
| (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)); | |||||
| } else if (value instanceof Date) { | |||||
| if (key != null) { | |||||
| httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10)); | |||||
| } else { | |||||
| throw Error("key may not be null if value is Date"); | |||||
| } | |||||
| } else { | |||||
| Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive( | |||||
| httpParams, value[k], key != null ? `${key}.${k}` : k)); | |||||
| } | |||||
| } else if (key != null) { | |||||
| httpParams = httpParams.append(key, value); | |||||
| } else { | |||||
| throw Error("key may not be null if value is not object or array"); | |||||
| } | |||||
| return httpParams; | |||||
| } | |||||
| /** | |||||
| * Retrieves the collection of Document resources. | |||||
| * Retrieves the collection of Document resources. | |||||
| * @param page The collection page number | |||||
| * @param itemsPerPage The number of items per page | |||||
| * @param partner | |||||
| * @param partner2 | |||||
| * @param product | |||||
| * @param product2 | |||||
| * @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 documentsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, product?: string, product2?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiDocumentsGetCollection200Response>; | |||||
| public documentsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, product?: string, product2?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiDocumentsGetCollection200Response>>; | |||||
| public documentsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, product?: string, product2?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiDocumentsGetCollection200Response>>; | |||||
| public documentsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, product?: string, product2?: 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> { | |||||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||||
| if (page !== undefined && page !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>page, 'page'); | |||||
| } | |||||
| if (itemsPerPage !== undefined && itemsPerPage !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>itemsPerPage, 'itemsPerPage'); | |||||
| } | |||||
| if (partner !== undefined && partner !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>partner, 'partner'); | |||||
| } | |||||
| if (partner2) { | |||||
| partner2.forEach((element) => { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>element, 'partner[]'); | |||||
| }) | |||||
| } | |||||
| if (product !== undefined && product !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>product, 'product'); | |||||
| } | |||||
| if (product2) { | |||||
| product2.forEach((element) => { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>element, 'product[]'); | |||||
| }) | |||||
| } | |||||
| let localVarHeaders = this.defaultHeaders; | |||||
| let localVarCredential: string | undefined; | |||||
| // authentication (JWT) required | |||||
| localVarCredential = this.configuration.lookupCredential('JWT'); | |||||
| if (localVarCredential) { | |||||
| localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential); | |||||
| } | |||||
| let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept; | |||||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||||
| // to determine the Accept header | |||||
| const httpHeaderAccepts: string[] = [ | |||||
| 'application/ld+json', | |||||
| 'application/json', | |||||
| 'text/html', | |||||
| 'application/hal+json' | |||||
| ]; | |||||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||||
| } | |||||
| if (localVarHttpHeaderAcceptSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); | |||||
| } | |||||
| let localVarHttpContext: HttpContext | undefined = options && options.context; | |||||
| if (localVarHttpContext === undefined) { | |||||
| localVarHttpContext = new HttpContext(); | |||||
| } | |||||
| let localVarTransferCache: boolean | undefined = options && options.transferCache; | |||||
| if (localVarTransferCache === undefined) { | |||||
| localVarTransferCache = true; | |||||
| } | |||||
| let responseType_: 'text' | 'json' | 'blob' = 'json'; | |||||
| if (localVarHttpHeaderAcceptSelected) { | |||||
| if (localVarHttpHeaderAcceptSelected.startsWith('text')) { | |||||
| responseType_ = 'text'; | |||||
| } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { | |||||
| responseType_ = 'json'; | |||||
| } else { | |||||
| responseType_ = 'blob'; | |||||
| } | |||||
| } | |||||
| let localVarPath = `/api/documents`; | |||||
| return this.httpClient.request<ApiDocumentsGetCollection200Response>('get', `${this.configuration.basePath}${localVarPath}`, | |||||
| { | |||||
| context: localVarHttpContext, | |||||
| params: localVarQueryParameters, | |||||
| responseType: <any>responseType_, | |||||
| withCredentials: this.configuration.withCredentials, | |||||
| headers: localVarHeaders, | |||||
| observe: observe, | |||||
| transferCache: localVarTransferCache, | |||||
| reportProgress: reportProgress | |||||
| } | |||||
| ); | |||||
| } | |||||
| /** | |||||
| * Removes the Document resource. | |||||
| * Removes the Document resource. | |||||
| * @param id DocumentObject 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. | |||||
| */ | |||||
| public documentsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||||
| public documentsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||||
| public documentsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||||
| public documentsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||||
| if (id === null || id === undefined) { | |||||
| throw new Error('Required parameter id was null or undefined when calling documentsIdDelete.'); | |||||
| } | |||||
| let localVarHeaders = this.defaultHeaders; | |||||
| let localVarCredential: string | undefined; | |||||
| // authentication (JWT) required | |||||
| localVarCredential = this.configuration.lookupCredential('JWT'); | |||||
| if (localVarCredential) { | |||||
| localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential); | |||||
| } | |||||
| let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept; | |||||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||||
| // to determine the Accept header | |||||
| const httpHeaderAccepts: string[] = [ | |||||
| ]; | |||||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||||
| } | |||||
| if (localVarHttpHeaderAcceptSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); | |||||
| } | |||||
| let localVarHttpContext: HttpContext | undefined = options && options.context; | |||||
| if (localVarHttpContext === undefined) { | |||||
| localVarHttpContext = new HttpContext(); | |||||
| } | |||||
| let localVarTransferCache: boolean | undefined = options && options.transferCache; | |||||
| if (localVarTransferCache === undefined) { | |||||
| localVarTransferCache = true; | |||||
| } | |||||
| let responseType_: 'text' | 'json' | 'blob' = 'json'; | |||||
| if (localVarHttpHeaderAcceptSelected) { | |||||
| if (localVarHttpHeaderAcceptSelected.startsWith('text')) { | |||||
| responseType_ = 'text'; | |||||
| } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { | |||||
| responseType_ = 'json'; | |||||
| } else { | |||||
| responseType_ = 'blob'; | |||||
| } | |||||
| } | |||||
| let localVarPath = `/api/documents/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; | |||||
| return this.httpClient.request<any>('delete', `${this.configuration.basePath}${localVarPath}`, | |||||
| { | |||||
| context: localVarHttpContext, | |||||
| responseType: <any>responseType_, | |||||
| withCredentials: this.configuration.withCredentials, | |||||
| headers: localVarHeaders, | |||||
| observe: observe, | |||||
| transferCache: localVarTransferCache, | |||||
| reportProgress: reportProgress | |||||
| } | |||||
| ); | |||||
| } | |||||
| /** | |||||
| * Retrieves a Document resource. | |||||
| * Retrieves a Document resource. | |||||
| * @param id DocumentObject 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. | |||||
| */ | |||||
| public documentsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<DocumentJsonldDocumentObjectRead>; | |||||
| public documentsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<DocumentJsonldDocumentObjectRead>>; | |||||
| public documentsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<DocumentJsonldDocumentObjectRead>>; | |||||
| public documentsIdGet(id: 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> { | |||||
| if (id === null || id === undefined) { | |||||
| throw new Error('Required parameter id was null or undefined when calling documentsIdGet.'); | |||||
| } | |||||
| let localVarHeaders = this.defaultHeaders; | |||||
| let localVarCredential: string | undefined; | |||||
| // authentication (JWT) required | |||||
| localVarCredential = this.configuration.lookupCredential('JWT'); | |||||
| if (localVarCredential) { | |||||
| localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential); | |||||
| } | |||||
| let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept; | |||||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||||
| // to determine the Accept header | |||||
| const httpHeaderAccepts: string[] = [ | |||||
| 'application/ld+json', | |||||
| 'application/json', | |||||
| 'text/html', | |||||
| 'application/hal+json' | |||||
| ]; | |||||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||||
| } | |||||
| if (localVarHttpHeaderAcceptSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); | |||||
| } | |||||
| let localVarHttpContext: HttpContext | undefined = options && options.context; | |||||
| if (localVarHttpContext === undefined) { | |||||
| localVarHttpContext = new HttpContext(); | |||||
| } | |||||
| let localVarTransferCache: boolean | undefined = options && options.transferCache; | |||||
| if (localVarTransferCache === undefined) { | |||||
| localVarTransferCache = true; | |||||
| } | |||||
| let responseType_: 'text' | 'json' | 'blob' = 'json'; | |||||
| if (localVarHttpHeaderAcceptSelected) { | |||||
| if (localVarHttpHeaderAcceptSelected.startsWith('text')) { | |||||
| responseType_ = 'text'; | |||||
| } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { | |||||
| responseType_ = 'json'; | |||||
| } else { | |||||
| responseType_ = 'blob'; | |||||
| } | |||||
| } | |||||
| let localVarPath = `/api/documents/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; | |||||
| return this.httpClient.request<DocumentJsonldDocumentObjectRead>('get', `${this.configuration.basePath}${localVarPath}`, | |||||
| { | |||||
| context: localVarHttpContext, | |||||
| responseType: <any>responseType_, | |||||
| withCredentials: this.configuration.withCredentials, | |||||
| headers: localVarHeaders, | |||||
| observe: observe, | |||||
| transferCache: localVarTransferCache, | |||||
| reportProgress: reportProgress | |||||
| } | |||||
| ); | |||||
| } | |||||
| /** | |||||
| * Creates a Document resource. | |||||
| * Creates a Document resource. | |||||
| * @param file | |||||
| * @param partner | |||||
| * @param product | |||||
| * @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 documentsPost(file?: Blob, partner?: string, product?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<DocumentJsonldDocumentObjectRead>; | |||||
| public documentsPost(file?: Blob, partner?: string, product?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<DocumentJsonldDocumentObjectRead>>; | |||||
| public documentsPost(file?: Blob, partner?: string, product?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<DocumentJsonldDocumentObjectRead>>; | |||||
| public documentsPost(file?: Blob, partner?: string, product?: 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> { | |||||
| let localVarHeaders = this.defaultHeaders; | |||||
| let localVarCredential: string | undefined; | |||||
| // authentication (JWT) required | |||||
| localVarCredential = this.configuration.lookupCredential('JWT'); | |||||
| if (localVarCredential) { | |||||
| localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential); | |||||
| } | |||||
| let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept; | |||||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||||
| // to determine the Accept header | |||||
| const httpHeaderAccepts: string[] = [ | |||||
| 'application/ld+json', | |||||
| 'application/json', | |||||
| 'text/html', | |||||
| 'application/hal+json' | |||||
| ]; | |||||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||||
| } | |||||
| if (localVarHttpHeaderAcceptSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); | |||||
| } | |||||
| let localVarHttpContext: HttpContext | undefined = options && options.context; | |||||
| if (localVarHttpContext === undefined) { | |||||
| localVarHttpContext = new HttpContext(); | |||||
| } | |||||
| let localVarTransferCache: boolean | undefined = options && options.transferCache; | |||||
| if (localVarTransferCache === undefined) { | |||||
| localVarTransferCache = true; | |||||
| } | |||||
| // to determine the Content-Type header | |||||
| const consumes: string[] = [ | |||||
| 'multipart/form-data' | |||||
| ]; | |||||
| const canConsumeForm = this.canConsumeForm(consumes); | |||||
| let localVarFormParams: { append(param: string, value: any): any; }; | |||||
| let localVarUseForm = false; | |||||
| let localVarConvertFormParamsToString = false; | |||||
| // use FormData to transmit files using content-type "multipart/form-data" | |||||
| // see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data | |||||
| localVarUseForm = canConsumeForm; | |||||
| if (localVarUseForm) { | |||||
| localVarFormParams = new FormData(); | |||||
| } else { | |||||
| localVarFormParams = new HttpParams({encoder: this.encoder}); | |||||
| } | |||||
| if (file !== undefined) { | |||||
| localVarFormParams = localVarFormParams.append('file', <any>file) as any || localVarFormParams; | |||||
| } | |||||
| if (partner !== undefined) { | |||||
| localVarFormParams = localVarFormParams.append('partner', <any>partner) as any || localVarFormParams; | |||||
| } | |||||
| if (product !== undefined) { | |||||
| localVarFormParams = localVarFormParams.append('product', <any>product) as any || localVarFormParams; | |||||
| } | |||||
| let responseType_: 'text' | 'json' | 'blob' = 'json'; | |||||
| if (localVarHttpHeaderAcceptSelected) { | |||||
| if (localVarHttpHeaderAcceptSelected.startsWith('text')) { | |||||
| responseType_ = 'text'; | |||||
| } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { | |||||
| responseType_ = 'json'; | |||||
| } else { | |||||
| responseType_ = 'blob'; | |||||
| } | |||||
| } | |||||
| let localVarPath = `/api/documents`; | |||||
| return this.httpClient.request<DocumentJsonldDocumentObjectRead>('post', `${this.configuration.basePath}${localVarPath}`, | |||||
| { | |||||
| context: localVarHttpContext, | |||||
| body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams, | |||||
| responseType: <any>responseType_, | |||||
| withCredentials: this.configuration.withCredentials, | |||||
| headers: localVarHeaders, | |||||
| observe: observe, | |||||
| transferCache: localVarTransferCache, | |||||
| reportProgress: reportProgress | |||||
| } | |||||
| ); | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,432 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| /* tslint:disable:no-unused-variable member-ordering */ | |||||
| import { Inject, Injectable, Optional } from '@angular/core'; | |||||
| import { HttpClient, HttpHeaders, HttpParams, | |||||
| HttpResponse, HttpEvent, HttpParameterCodec, HttpContext | |||||
| } from '@angular/common/http'; | |||||
| import { CustomHttpParameterCodec } from '../encoder'; | |||||
| import { Observable } from 'rxjs'; | |||||
| // @ts-ignore | |||||
| import { ApiPartnerFollowsGetCollection200Response } from '../model/apiPartnerFollowsGetCollection200Response'; | |||||
| // @ts-ignore | |||||
| import { ApiPartnerFollowsGetCollection200Response1 } from '../model/apiPartnerFollowsGetCollection200Response1'; | |||||
| // @ts-ignore | |||||
| import { PartnerFollow } from '../model/partnerFollow'; | |||||
| // @ts-ignore | |||||
| import { PartnerFollowJsonhal } from '../model/partnerFollowJsonhal'; | |||||
| // @ts-ignore | |||||
| import { PartnerFollowJsonld } from '../model/partnerFollowJsonld'; | |||||
| // @ts-ignore | |||||
| import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; | |||||
| import { Configuration } from '../configuration'; | |||||
| @Injectable({ | |||||
| providedIn: 'root' | |||||
| }) | |||||
| export class PartnerFollowService { | |||||
| protected basePath = 'http://localhost'; | |||||
| public defaultHeaders = new HttpHeaders(); | |||||
| public configuration = new Configuration(); | |||||
| public encoder: HttpParameterCodec; | |||||
| constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) { | |||||
| if (configuration) { | |||||
| this.configuration = configuration; | |||||
| } | |||||
| if (typeof this.configuration.basePath !== 'string') { | |||||
| if (Array.isArray(basePath) && basePath.length > 0) { | |||||
| basePath = basePath[0]; | |||||
| } | |||||
| if (typeof basePath !== 'string') { | |||||
| basePath = this.basePath; | |||||
| } | |||||
| this.configuration.basePath = basePath; | |||||
| } | |||||
| this.encoder = this.configuration.encoder || new CustomHttpParameterCodec(); | |||||
| } | |||||
| // @ts-ignore | |||||
| private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams { | |||||
| if (typeof value === "object" && value instanceof Date === false) { | |||||
| httpParams = this.addToHttpParamsRecursive(httpParams, value); | |||||
| } else { | |||||
| httpParams = this.addToHttpParamsRecursive(httpParams, value, key); | |||||
| } | |||||
| return httpParams; | |||||
| } | |||||
| private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams { | |||||
| if (value == null) { | |||||
| return httpParams; | |||||
| } | |||||
| if (typeof value === "object") { | |||||
| if (Array.isArray(value)) { | |||||
| (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)); | |||||
| } else if (value instanceof Date) { | |||||
| if (key != null) { | |||||
| httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10)); | |||||
| } else { | |||||
| throw Error("key may not be null if value is Date"); | |||||
| } | |||||
| } else { | |||||
| Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive( | |||||
| httpParams, value[k], key != null ? `${key}.${k}` : k)); | |||||
| } | |||||
| } else if (key != null) { | |||||
| httpParams = httpParams.append(key, value); | |||||
| } else { | |||||
| throw Error("key may not be null if value is not object or array"); | |||||
| } | |||||
| return httpParams; | |||||
| } | |||||
| /** | |||||
| * Retrieves the collection of PartnerFollow resources. | |||||
| * Retrieves the collection of PartnerFollow resources. | |||||
| * @param page The collection page number | |||||
| * @param itemsPerPage The number of items per page | |||||
| * @param partner | |||||
| * @param partner2 | |||||
| * @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 partnerFollowsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiPartnerFollowsGetCollection200Response>; | |||||
| public partnerFollowsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiPartnerFollowsGetCollection200Response>>; | |||||
| public partnerFollowsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiPartnerFollowsGetCollection200Response>>; | |||||
| public partnerFollowsGetCollection(page?: number, itemsPerPage?: number, partner?: string, partner2?: 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> { | |||||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | |||||
| if (page !== undefined && page !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>page, 'page'); | |||||
| } | |||||
| if (itemsPerPage !== undefined && itemsPerPage !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>itemsPerPage, 'itemsPerPage'); | |||||
| } | |||||
| if (partner !== undefined && partner !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>partner, 'partner'); | |||||
| } | |||||
| if (partner2) { | |||||
| partner2.forEach((element) => { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>element, 'partner[]'); | |||||
| }) | |||||
| } | |||||
| let localVarHeaders = this.defaultHeaders; | |||||
| let localVarCredential: string | undefined; | |||||
| // authentication (JWT) required | |||||
| localVarCredential = this.configuration.lookupCredential('JWT'); | |||||
| if (localVarCredential) { | |||||
| localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential); | |||||
| } | |||||
| let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept; | |||||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||||
| // to determine the Accept header | |||||
| const httpHeaderAccepts: string[] = [ | |||||
| 'application/ld+json', | |||||
| 'application/json', | |||||
| 'text/html', | |||||
| 'application/hal+json' | |||||
| ]; | |||||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||||
| } | |||||
| if (localVarHttpHeaderAcceptSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); | |||||
| } | |||||
| let localVarHttpContext: HttpContext | undefined = options && options.context; | |||||
| if (localVarHttpContext === undefined) { | |||||
| localVarHttpContext = new HttpContext(); | |||||
| } | |||||
| let localVarTransferCache: boolean | undefined = options && options.transferCache; | |||||
| if (localVarTransferCache === undefined) { | |||||
| localVarTransferCache = true; | |||||
| } | |||||
| let responseType_: 'text' | 'json' | 'blob' = 'json'; | |||||
| if (localVarHttpHeaderAcceptSelected) { | |||||
| if (localVarHttpHeaderAcceptSelected.startsWith('text')) { | |||||
| responseType_ = 'text'; | |||||
| } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { | |||||
| responseType_ = 'json'; | |||||
| } else { | |||||
| responseType_ = 'blob'; | |||||
| } | |||||
| } | |||||
| let localVarPath = `/api/partner_follows`; | |||||
| return this.httpClient.request<ApiPartnerFollowsGetCollection200Response>('get', `${this.configuration.basePath}${localVarPath}`, | |||||
| { | |||||
| context: localVarHttpContext, | |||||
| params: localVarQueryParameters, | |||||
| responseType: <any>responseType_, | |||||
| withCredentials: this.configuration.withCredentials, | |||||
| headers: localVarHeaders, | |||||
| observe: observe, | |||||
| transferCache: localVarTransferCache, | |||||
| reportProgress: reportProgress | |||||
| } | |||||
| ); | |||||
| } | |||||
| /** | |||||
| * Removes the PartnerFollow resource. | |||||
| * Removes the PartnerFollow resource. | |||||
| * @param id PartnerFollowApi 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. | |||||
| */ | |||||
| public partnerFollowsIdDelete(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>; | |||||
| public partnerFollowsIdDelete(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>; | |||||
| public partnerFollowsIdDelete(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>; | |||||
| public partnerFollowsIdDelete(id: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||||
| if (id === null || id === undefined) { | |||||
| throw new Error('Required parameter id was null or undefined when calling partnerFollowsIdDelete.'); | |||||
| } | |||||
| let localVarHeaders = this.defaultHeaders; | |||||
| let localVarCredential: string | undefined; | |||||
| // authentication (JWT) required | |||||
| localVarCredential = this.configuration.lookupCredential('JWT'); | |||||
| if (localVarCredential) { | |||||
| localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential); | |||||
| } | |||||
| let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept; | |||||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||||
| // to determine the Accept header | |||||
| const httpHeaderAccepts: string[] = [ | |||||
| ]; | |||||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||||
| } | |||||
| if (localVarHttpHeaderAcceptSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); | |||||
| } | |||||
| let localVarHttpContext: HttpContext | undefined = options && options.context; | |||||
| if (localVarHttpContext === undefined) { | |||||
| localVarHttpContext = new HttpContext(); | |||||
| } | |||||
| let localVarTransferCache: boolean | undefined = options && options.transferCache; | |||||
| if (localVarTransferCache === undefined) { | |||||
| localVarTransferCache = true; | |||||
| } | |||||
| let responseType_: 'text' | 'json' | 'blob' = 'json'; | |||||
| if (localVarHttpHeaderAcceptSelected) { | |||||
| if (localVarHttpHeaderAcceptSelected.startsWith('text')) { | |||||
| responseType_ = 'text'; | |||||
| } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { | |||||
| responseType_ = 'json'; | |||||
| } else { | |||||
| responseType_ = 'blob'; | |||||
| } | |||||
| } | |||||
| let localVarPath = `/api/partner_follows/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; | |||||
| return this.httpClient.request<any>('delete', `${this.configuration.basePath}${localVarPath}`, | |||||
| { | |||||
| context: localVarHttpContext, | |||||
| responseType: <any>responseType_, | |||||
| withCredentials: this.configuration.withCredentials, | |||||
| headers: localVarHeaders, | |||||
| observe: observe, | |||||
| transferCache: localVarTransferCache, | |||||
| reportProgress: reportProgress | |||||
| } | |||||
| ); | |||||
| } | |||||
| /** | |||||
| * Retrieves a PartnerFollow resource. | |||||
| * Retrieves a PartnerFollow resource. | |||||
| * @param id PartnerFollowApi 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. | |||||
| */ | |||||
| public partnerFollowsIdGet(id: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<PartnerFollowJsonld>; | |||||
| public partnerFollowsIdGet(id: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PartnerFollowJsonld>>; | |||||
| public partnerFollowsIdGet(id: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PartnerFollowJsonld>>; | |||||
| public partnerFollowsIdGet(id: 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> { | |||||
| if (id === null || id === undefined) { | |||||
| throw new Error('Required parameter id was null or undefined when calling partnerFollowsIdGet.'); | |||||
| } | |||||
| let localVarHeaders = this.defaultHeaders; | |||||
| let localVarCredential: string | undefined; | |||||
| // authentication (JWT) required | |||||
| localVarCredential = this.configuration.lookupCredential('JWT'); | |||||
| if (localVarCredential) { | |||||
| localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential); | |||||
| } | |||||
| let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept; | |||||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||||
| // to determine the Accept header | |||||
| const httpHeaderAccepts: string[] = [ | |||||
| 'application/ld+json', | |||||
| 'application/json', | |||||
| 'text/html', | |||||
| 'application/hal+json' | |||||
| ]; | |||||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||||
| } | |||||
| if (localVarHttpHeaderAcceptSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); | |||||
| } | |||||
| let localVarHttpContext: HttpContext | undefined = options && options.context; | |||||
| if (localVarHttpContext === undefined) { | |||||
| localVarHttpContext = new HttpContext(); | |||||
| } | |||||
| let localVarTransferCache: boolean | undefined = options && options.transferCache; | |||||
| if (localVarTransferCache === undefined) { | |||||
| localVarTransferCache = true; | |||||
| } | |||||
| let responseType_: 'text' | 'json' | 'blob' = 'json'; | |||||
| if (localVarHttpHeaderAcceptSelected) { | |||||
| if (localVarHttpHeaderAcceptSelected.startsWith('text')) { | |||||
| responseType_ = 'text'; | |||||
| } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { | |||||
| responseType_ = 'json'; | |||||
| } else { | |||||
| responseType_ = 'blob'; | |||||
| } | |||||
| } | |||||
| let localVarPath = `/api/partner_follows/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`; | |||||
| return this.httpClient.request<PartnerFollowJsonld>('get', `${this.configuration.basePath}${localVarPath}`, | |||||
| { | |||||
| context: localVarHttpContext, | |||||
| responseType: <any>responseType_, | |||||
| withCredentials: this.configuration.withCredentials, | |||||
| headers: localVarHeaders, | |||||
| observe: observe, | |||||
| transferCache: localVarTransferCache, | |||||
| reportProgress: reportProgress | |||||
| } | |||||
| ); | |||||
| } | |||||
| /** | |||||
| * Creates a PartnerFollow resource. | |||||
| * Creates a PartnerFollow resource. | |||||
| * @param partnerFollowJsonld The new PartnerFollow 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. | |||||
| */ | |||||
| public partnerFollowsPost(partnerFollowJsonld: PartnerFollowJsonld, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<PartnerFollowJsonld>; | |||||
| public partnerFollowsPost(partnerFollowJsonld: PartnerFollowJsonld, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PartnerFollowJsonld>>; | |||||
| public partnerFollowsPost(partnerFollowJsonld: PartnerFollowJsonld, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PartnerFollowJsonld>>; | |||||
| public partnerFollowsPost(partnerFollowJsonld: PartnerFollowJsonld, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<any> { | |||||
| if (partnerFollowJsonld === null || partnerFollowJsonld === undefined) { | |||||
| throw new Error('Required parameter partnerFollowJsonld was null or undefined when calling partnerFollowsPost.'); | |||||
| } | |||||
| let localVarHeaders = this.defaultHeaders; | |||||
| let localVarCredential: string | undefined; | |||||
| // authentication (JWT) required | |||||
| localVarCredential = this.configuration.lookupCredential('JWT'); | |||||
| if (localVarCredential) { | |||||
| localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential); | |||||
| } | |||||
| let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept; | |||||
| if (localVarHttpHeaderAcceptSelected === undefined) { | |||||
| // to determine the Accept header | |||||
| const httpHeaderAccepts: string[] = [ | |||||
| 'application/ld+json', | |||||
| 'application/json', | |||||
| 'text/html', | |||||
| 'application/hal+json' | |||||
| ]; | |||||
| localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts); | |||||
| } | |||||
| if (localVarHttpHeaderAcceptSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected); | |||||
| } | |||||
| let localVarHttpContext: HttpContext | undefined = options && options.context; | |||||
| if (localVarHttpContext === undefined) { | |||||
| localVarHttpContext = new HttpContext(); | |||||
| } | |||||
| let localVarTransferCache: boolean | undefined = options && options.transferCache; | |||||
| if (localVarTransferCache === undefined) { | |||||
| localVarTransferCache = true; | |||||
| } | |||||
| // to determine the Content-Type header | |||||
| const consumes: string[] = [ | |||||
| 'application/ld+json', | |||||
| 'application/json', | |||||
| 'text/html', | |||||
| 'application/hal+json' | |||||
| ]; | |||||
| const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes); | |||||
| if (httpContentTypeSelected !== undefined) { | |||||
| localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected); | |||||
| } | |||||
| let responseType_: 'text' | 'json' | 'blob' = 'json'; | |||||
| if (localVarHttpHeaderAcceptSelected) { | |||||
| if (localVarHttpHeaderAcceptSelected.startsWith('text')) { | |||||
| responseType_ = 'text'; | |||||
| } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) { | |||||
| responseType_ = 'json'; | |||||
| } else { | |||||
| responseType_ = 'blob'; | |||||
| } | |||||
| } | |||||
| let localVarPath = `/api/partner_follows`; | |||||
| return this.httpClient.request<PartnerFollowJsonld>('post', `${this.configuration.basePath}${localVarPath}`, | |||||
| { | |||||
| context: localVarHttpContext, | |||||
| body: partnerFollowJsonld, | |||||
| responseType: <any>responseType_, | |||||
| withCredentials: this.configuration.withCredentials, | |||||
| headers: localVarHeaders, | |||||
| observe: observe, | |||||
| transferCache: localVarTransferCache, | |||||
| reportProgress: reportProgress | |||||
| } | |||||
| ); | |||||
| } | |||||
| } | |||||
| @@ -104,13 +104,15 @@ export class UserService { | |||||
| * Retrieves the collection of User resources. | * Retrieves the collection of User resources. | ||||
| * @param page The collection page number | * @param page The collection page number | ||||
| * @param itemsPerPage The number of items per page | * @param itemsPerPage The number of items per page | ||||
| * @param firstName | |||||
| * @param lastName | |||||
| * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. | * @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. | * @param reportProgress flag to report request and response progress. | ||||
| */ | */ | ||||
| public usersGetCollection(page?: number, itemsPerPage?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiUsersGetCollection200Response>; | |||||
| public usersGetCollection(page?: number, itemsPerPage?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiUsersGetCollection200Response>>; | |||||
| public usersGetCollection(page?: number, itemsPerPage?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiUsersGetCollection200Response>>; | |||||
| public usersGetCollection(page?: number, itemsPerPage?: number, 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 usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<ApiUsersGetCollection200Response>; | |||||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiUsersGetCollection200Response>>; | |||||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiUsersGetCollection200Response>>; | |||||
| public usersGetCollection(page?: number, itemsPerPage?: number, firstName?: string, lastName?: 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> { | |||||
| let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | let localVarQueryParameters = new HttpParams({encoder: this.encoder}); | ||||
| if (page !== undefined && page !== null) { | if (page !== undefined && page !== null) { | ||||
| @@ -121,6 +123,14 @@ export class UserService { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | ||||
| <any>itemsPerPage, 'itemsPerPage'); | <any>itemsPerPage, 'itemsPerPage'); | ||||
| } | } | ||||
| if (firstName !== undefined && firstName !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>firstName, 'firstName'); | |||||
| } | |||||
| if (lastName !== undefined && lastName !== null) { | |||||
| localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, | |||||
| <any>lastName, 'lastName'); | |||||
| } | |||||
| let localVarHeaders = this.defaultHeaders; | let localVarHeaders = this.defaultHeaders; | ||||
| @@ -0,0 +1,23 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| import { ApiCommentsGetCollection200ResponseHydraSearch } from './apiCommentsGetCollection200ResponseHydraSearch'; | |||||
| import { ApiCommentsGetCollection200ResponseHydraView } from './apiCommentsGetCollection200ResponseHydraView'; | |||||
| import { DocumentJsonldDocumentObjectRead } from './documentJsonldDocumentObjectRead'; | |||||
| export interface ApiDocumentsGetCollection200Response { | |||||
| 'hydra:member': Array<DocumentJsonldDocumentObjectRead>; | |||||
| 'hydra:totalItems'?: number; | |||||
| 'hydra:view'?: ApiCommentsGetCollection200ResponseHydraView; | |||||
| 'hydra:search'?: ApiCommentsGetCollection200ResponseHydraSearch; | |||||
| } | |||||
| @@ -0,0 +1,22 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| import { DocumentJsonhalDocumentObjectRead } from './documentJsonhalDocumentObjectRead'; | |||||
| import { ApiCommentsGetCollection200Response1Links } from './apiCommentsGetCollection200Response1Links'; | |||||
| export interface ApiDocumentsGetCollection200Response1 { | |||||
| _embedded: Array<DocumentJsonhalDocumentObjectRead>; | |||||
| totalItems?: number; | |||||
| itemsPerPage?: number; | |||||
| _links: ApiCommentsGetCollection200Response1Links; | |||||
| } | |||||
| @@ -0,0 +1,23 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| import { ApiCommentsGetCollection200ResponseHydraSearch } from './apiCommentsGetCollection200ResponseHydraSearch'; | |||||
| import { PartnerFollowJsonld } from './partnerFollowJsonld'; | |||||
| import { ApiCommentsGetCollection200ResponseHydraView } from './apiCommentsGetCollection200ResponseHydraView'; | |||||
| export interface ApiPartnerFollowsGetCollection200Response { | |||||
| 'hydra:member': Array<PartnerFollowJsonld>; | |||||
| 'hydra:totalItems'?: number; | |||||
| 'hydra:view'?: ApiCommentsGetCollection200ResponseHydraView; | |||||
| 'hydra:search'?: ApiCommentsGetCollection200ResponseHydraSearch; | |||||
| } | |||||
| @@ -0,0 +1,22 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| import { PartnerFollowJsonhal } from './partnerFollowJsonhal'; | |||||
| import { ApiCommentsGetCollection200Response1Links } from './apiCommentsGetCollection200Response1Links'; | |||||
| export interface ApiPartnerFollowsGetCollection200Response1 { | |||||
| _embedded: Array<PartnerFollowJsonhal>; | |||||
| totalItems?: number; | |||||
| itemsPerPage?: number; | |||||
| _links: ApiCommentsGetCollection200Response1Links; | |||||
| } | |||||
| @@ -0,0 +1,20 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| /** | |||||
| * | |||||
| */ | |||||
| export interface DocumentDocumentObjectRead { | |||||
| contentUrl?: string | null; | |||||
| } | |||||
| @@ -0,0 +1,22 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| import { CommentJsonhalLinks } from './commentJsonhalLinks'; | |||||
| /** | |||||
| * | |||||
| */ | |||||
| export interface DocumentJsonhalDocumentObjectRead { | |||||
| _links?: CommentJsonhalLinks; | |||||
| contentUrl?: string | null; | |||||
| } | |||||
| @@ -0,0 +1,24 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| import { CommentJsonldContext } from './commentJsonldContext'; | |||||
| /** | |||||
| * | |||||
| */ | |||||
| export interface DocumentJsonldDocumentObjectRead { | |||||
| context?: CommentJsonldContext; | |||||
| readonly id?: string; | |||||
| readonly type?: string; | |||||
| contentUrl?: string | null; | |||||
| } | |||||
| @@ -7,8 +7,12 @@ export * from './apiCommentsGetCollection200ResponseHydraSearchHydraMappingInner | |||||
| export * from './apiCommentsGetCollection200ResponseHydraView'; | export * from './apiCommentsGetCollection200ResponseHydraView'; | ||||
| export * from './apiContactsGetCollection200Response'; | export * from './apiContactsGetCollection200Response'; | ||||
| export * from './apiContactsGetCollection200Response1'; | export * from './apiContactsGetCollection200Response1'; | ||||
| export * from './apiDocumentsGetCollection200Response'; | |||||
| export * from './apiDocumentsGetCollection200Response1'; | |||||
| export * from './apiMediasGetCollection200Response'; | export * from './apiMediasGetCollection200Response'; | ||||
| export * from './apiMediasGetCollection200Response1'; | export * from './apiMediasGetCollection200Response1'; | ||||
| export * from './apiPartnerFollowsGetCollection200Response'; | |||||
| export * from './apiPartnerFollowsGetCollection200Response1'; | |||||
| export * from './apiPartnersGetCollection200Response'; | export * from './apiPartnersGetCollection200Response'; | ||||
| export * from './apiPartnersGetCollection200Response1'; | export * from './apiPartnersGetCollection200Response1'; | ||||
| export * from './apiPostsGetCollection200Response'; | export * from './apiPostsGetCollection200Response'; | ||||
| @@ -34,12 +38,18 @@ export * from './commentJsonldContextOneOf'; | |||||
| export * from './contact'; | export * from './contact'; | ||||
| export * from './contactJsonhal'; | export * from './contactJsonhal'; | ||||
| export * from './contactJsonld'; | export * from './contactJsonld'; | ||||
| export * from './documentDocumentObjectRead'; | |||||
| export * from './documentJsonhalDocumentObjectRead'; | |||||
| export * from './documentJsonldDocumentObjectRead'; | |||||
| export * from './loginCheckPost200Response'; | export * from './loginCheckPost200Response'; | ||||
| export * from './loginCheckPostRequest'; | export * from './loginCheckPostRequest'; | ||||
| export * from './mediaJsonhalMediaObjectRead'; | export * from './mediaJsonhalMediaObjectRead'; | ||||
| export * from './mediaJsonldMediaObjectRead'; | export * from './mediaJsonldMediaObjectRead'; | ||||
| export * from './mediaMediaObjectRead'; | export * from './mediaMediaObjectRead'; | ||||
| export * from './partner'; | export * from './partner'; | ||||
| export * from './partnerFollow'; | |||||
| export * from './partnerFollowJsonhal'; | |||||
| export * from './partnerFollowJsonld'; | |||||
| export * from './partnerJsonhal'; | export * from './partnerJsonhal'; | ||||
| export * from './partnerJsonld'; | export * from './partnerJsonld'; | ||||
| export * from './post'; | export * from './post'; | ||||
| @@ -0,0 +1,24 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| /** | |||||
| * | |||||
| */ | |||||
| export interface PartnerFollow { | |||||
| readonly user?: string | null; | |||||
| readonly userName?: string | null; | |||||
| partner: string | null; | |||||
| readonly partnerName?: string | null; | |||||
| readonly createdAt?: string | null; | |||||
| } | |||||
| @@ -0,0 +1,26 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| import { CommentJsonhalLinks } from './commentJsonhalLinks'; | |||||
| /** | |||||
| * | |||||
| */ | |||||
| export interface PartnerFollowJsonhal { | |||||
| _links?: CommentJsonhalLinks; | |||||
| readonly user?: string | null; | |||||
| readonly userName?: string | null; | |||||
| partner: string | null; | |||||
| readonly partnerName?: string | null; | |||||
| readonly createdAt?: string | null; | |||||
| } | |||||
| @@ -0,0 +1,28 @@ | |||||
| /** | |||||
| * Matsen API Platform | |||||
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |||||
| * | |||||
| * The version of the OpenAPI document: 1.0.0 | |||||
| * | |||||
| * | |||||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |||||
| * https://openapi-generator.tech | |||||
| * Do not edit the class manually. | |||||
| */ | |||||
| import { CommentJsonldContext } from './commentJsonldContext'; | |||||
| /** | |||||
| * | |||||
| */ | |||||
| export interface PartnerFollowJsonld { | |||||
| context?: CommentJsonldContext; | |||||
| readonly id?: string; | |||||
| readonly type?: string; | |||||
| readonly user?: string | null; | |||||
| readonly userName?: string | null; | |||||
| partner: string | null; | |||||
| readonly partnerName?: string | null; | |||||
| readonly createdAt?: string | null; | |||||
| } | |||||