diff --git a/openapi/api-docs.json b/openapi/api-docs.json index 263f47e0..029b69ec 100644 --- a/openapi/api-docs.json +++ b/openapi/api-docs.json @@ -3,7 +3,7 @@ "info": { "title": "queen-api", "description": "API for Queen/Stromae", - "version": "4.3.4-SNAPSHOT" + "version": "4.3.6-SNAPSHOT" }, "servers": [ { @@ -883,7 +883,12 @@ } }, "content": { - "application/pdf": {} + "application/pdf": { + "schema": { + "type": "string", + "format": "binary" + } + } } } } diff --git a/src/api/01-integrations.ts b/src/api/01-integrations.ts index b04c8033..12edb040 100644 --- a/src/api/01-integrations.ts +++ b/src/api/01-integrations.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MutationFunction, diff --git a/src/api/02-campaigns.ts b/src/api/02-campaigns.ts index ae7c93fb..7b76611c 100644 --- a/src/api/02-campaigns.ts +++ b/src/api/02-campaigns.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MutationFunction, diff --git a/src/api/03-questionnaires.ts b/src/api/03-questionnaires.ts index dcceb8da..d2e80346 100644 --- a/src/api/03-questionnaires.ts +++ b/src/api/03-questionnaires.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MutationFunction, diff --git a/src/api/04-nomenclatures.ts b/src/api/04-nomenclatures.ts index 89b96b3e..935257b0 100644 --- a/src/api/04-nomenclatures.ts +++ b/src/api/04-nomenclatures.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MutationFunction, diff --git a/src/api/05-metadata.ts b/src/api/05-metadata.ts index 57833e37..3dbbc6cc 100644 --- a/src/api/05-metadata.ts +++ b/src/api/05-metadata.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { QueryFunction, diff --git a/src/api/06-survey-units.ts b/src/api/06-survey-units.ts index 0d4136fc..c528e052 100644 --- a/src/api/06-survey-units.ts +++ b/src/api/06-survey-units.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MutationFunction, @@ -1456,8 +1456,13 @@ export const generateDepositProof = ( options?: SecondParameter, signal?: AbortSignal ) => { - return depositProofInstance( - { url: `/api/survey-unit/${id}/deposit-proof`, method: 'GET', signal }, + return depositProofInstance( + { + url: `/api/survey-unit/${id}/deposit-proof`, + method: 'GET', + responseType: 'blob', + signal, + }, options ) } diff --git a/src/api/07-paradata-events.ts b/src/api/07-paradata-events.ts index 19dfc73d..267a547e 100644 --- a/src/api/07-paradata-events.ts +++ b/src/api/07-paradata-events.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MutationFunction, diff --git a/src/api/08-survey-units-in-temp-zone.ts b/src/api/08-survey-units-in-temp-zone.ts index 1e66eabf..4d2cf7f7 100644 --- a/src/api/08-survey-units-in-temp-zone.ts +++ b/src/api/08-survey-units-in-temp-zone.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MutationFunction, diff --git a/src/api/09-healthcheck.ts b/src/api/09-healthcheck.ts index 3b6b4e63..4e0f056a 100644 --- a/src/api/09-healthcheck.ts +++ b/src/api/09-healthcheck.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { QueryFunction, diff --git a/src/api/10-create-data-set.ts b/src/api/10-create-data-set.ts index 244c4e79..9b388609 100644 --- a/src/api/10-create-data-set.ts +++ b/src/api/10-create-data-set.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MutationFunction, diff --git a/src/api/axiosInstance.ts b/src/api/axiosInstance.ts index 45879dde..adb104a3 100644 --- a/src/api/axiosInstance.ts +++ b/src/api/axiosInstance.ts @@ -13,6 +13,7 @@ const getAccessToken = async () => { return oidc.getTokens().accessToken } +// Type issue https://github.com/axios/axios/issues/5494 const onRequest = async (config: any) => ({ ...config, headers: { diff --git a/src/model/api/addParadataBody.ts b/src/model/api/addParadataBody.ts index cd5acf14..49f50d15 100644 --- a/src/model/api/addParadataBody.ts +++ b/src/model/api/addParadataBody.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type AddParadataBody = { [key: string]: any } diff --git a/src/model/api/arrayNode.ts b/src/model/api/arrayNode.ts index be8c4422..5d6e6c42 100644 --- a/src/model/api/arrayNode.ts +++ b/src/model/api/arrayNode.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { ArrayNodeItem } from './arrayNodeItem' diff --git a/src/model/api/arrayNodeItem.ts b/src/model/api/arrayNodeItem.ts index 9a156a4f..7c307dd6 100644 --- a/src/model/api/arrayNodeItem.ts +++ b/src/model/api/arrayNodeItem.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type ArrayNodeItem = { [key: string]: any } diff --git a/src/model/api/campaignCreation.ts b/src/model/api/campaignCreation.ts index 47e66b5b..85408dae 100644 --- a/src/model/api/campaignCreation.ts +++ b/src/model/api/campaignCreation.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { MetadataCreation } from './metadataCreation' diff --git a/src/model/api/campaignSummary.ts b/src/model/api/campaignSummary.ts index f805f6ee..0bedb95d 100644 --- a/src/model/api/campaignSummary.ts +++ b/src/model/api/campaignSummary.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export interface CampaignSummary { diff --git a/src/model/api/deleteCampaignByIdParams.ts b/src/model/api/deleteCampaignByIdParams.ts index 070471ee..47fdac8f 100644 --- a/src/model/api/deleteCampaignByIdParams.ts +++ b/src/model/api/deleteCampaignByIdParams.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type DeleteCampaignByIdParams = { diff --git a/src/model/api/getCommentBySurveyUnit200.ts b/src/model/api/getCommentBySurveyUnit200.ts index afe767c9..8c3d7282 100644 --- a/src/model/api/getCommentBySurveyUnit200.ts +++ b/src/model/api/getCommentBySurveyUnit200.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type GetCommentBySurveyUnit200 = { [key: string]: any } diff --git a/src/model/api/getQuestionnaireData200.ts b/src/model/api/getQuestionnaireData200.ts index 6aabe820..47256e5b 100644 --- a/src/model/api/getQuestionnaireData200.ts +++ b/src/model/api/getQuestionnaireData200.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type GetQuestionnaireData200 = { [key: string]: any } diff --git a/src/model/api/index.ts b/src/model/api/index.ts index 45cf6926..32f7a19c 100644 --- a/src/model/api/index.ts +++ b/src/model/api/index.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export * from './addParadataBody' diff --git a/src/model/api/integrateContextBody.ts b/src/model/api/integrateContextBody.ts index 29760743..03a4a409 100644 --- a/src/model/api/integrateContextBody.ts +++ b/src/model/api/integrateContextBody.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type IntegrateContextBody = { diff --git a/src/model/api/integrateXmlContextBody.ts b/src/model/api/integrateXmlContextBody.ts index b4bba255..7b38ae48 100644 --- a/src/model/api/integrateXmlContextBody.ts +++ b/src/model/api/integrateXmlContextBody.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type IntegrateXmlContextBody = { diff --git a/src/model/api/integrationResultUnit.ts b/src/model/api/integrationResultUnit.ts index 6735a7ad..4de1d868 100644 --- a/src/model/api/integrationResultUnit.ts +++ b/src/model/api/integrationResultUnit.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { IntegrationResultUnitStatus } from './integrationResultUnitStatus' diff --git a/src/model/api/integrationResultUnitStatus.ts b/src/model/api/integrationResultUnitStatus.ts index 5c64c73b..8bb2a25f 100644 --- a/src/model/api/integrationResultUnitStatus.ts +++ b/src/model/api/integrationResultUnitStatus.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type IntegrationResultUnitStatus = diff --git a/src/model/api/integrationResults.ts b/src/model/api/integrationResults.ts index 8702c835..9a27fadf 100644 --- a/src/model/api/integrationResults.ts +++ b/src/model/api/integrationResults.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { IntegrationResultUnit } from './integrationResultUnit' diff --git a/src/model/api/metadataCreation.ts b/src/model/api/metadataCreation.ts index 8accb8d0..1623d27d 100644 --- a/src/model/api/metadataCreation.ts +++ b/src/model/api/metadataCreation.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaMetadata } from './schema.metadata/schemaMetadata' diff --git a/src/model/api/nomenclatureCreation.ts b/src/model/api/nomenclatureCreation.ts index 521d947b..9beaefec 100644 --- a/src/model/api/nomenclatureCreation.ts +++ b/src/model/api/nomenclatureCreation.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaNomenclature } from './schema.nomenclature/schemaNomenclature' diff --git a/src/model/api/objectNode.ts b/src/model/api/objectNode.ts index f32e731c..c16564ce 100644 --- a/src/model/api/objectNode.ts +++ b/src/model/api/objectNode.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export interface ObjectNode { diff --git a/src/model/api/questionnaireModelCreation.ts b/src/model/api/questionnaireModelCreation.ts index 4a3ff6df..17956782 100644 --- a/src/model/api/questionnaireModelCreation.ts +++ b/src/model/api/questionnaireModelCreation.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { QuestionnaireModelCreationValue } from './questionnaireModelCreationValue' diff --git a/src/model/api/questionnaireModelCreationValue.ts b/src/model/api/questionnaireModelCreationValue.ts index 90655f62..c9123e64 100644 --- a/src/model/api/questionnaireModelCreationValue.ts +++ b/src/model/api/questionnaireModelCreationValue.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type QuestionnaireModelCreationValue = { [key: string]: any } diff --git a/src/model/api/questionnaireModelId.ts b/src/model/api/questionnaireModelId.ts index ea44149d..4539bef2 100644 --- a/src/model/api/questionnaireModelId.ts +++ b/src/model/api/questionnaireModelId.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export interface QuestionnaireModelId { diff --git a/src/model/api/questionnaireModelValue.ts b/src/model/api/questionnaireModelValue.ts index e25e3273..ad1a9ee0 100644 --- a/src/model/api/questionnaireModelValue.ts +++ b/src/model/api/questionnaireModelValue.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { QuestionnaireModelValueValue } from './questionnaireModelValueValue' diff --git a/src/model/api/questionnaireModelValueValue.ts b/src/model/api/questionnaireModelValueValue.ts index 6dc67c97..b39dc4f9 100644 --- a/src/model/api/questionnaireModelValueValue.ts +++ b/src/model/api/questionnaireModelValueValue.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type QuestionnaireModelValueValue = { [key: string]: any } diff --git a/src/model/api/schema.collected-data/_.ts b/src/model/api/schema.collected-data/_.ts index d1f6a1bd..6c8644dd 100644 --- a/src/model/api/schema.collected-data/_.ts +++ b/src/model/api/schema.collected-data/_.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { CollectedValues } from './collectedValues' diff --git a/src/model/api/schema.collected-data/collectedValues.ts b/src/model/api/schema.collected-data/collectedValues.ts index 29ed60b6..c6288008 100644 --- a/src/model/api/schema.collected-data/collectedValues.ts +++ b/src/model/api/schema.collected-data/collectedValues.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaVariableType } from '../schema.variable-type/schemaVariableType' diff --git a/src/model/api/schema.collected-data/index.ts b/src/model/api/schema.collected-data/index.ts index 753a3fcf..a104da92 100644 --- a/src/model/api/schema.collected-data/index.ts +++ b/src/model/api/schema.collected-data/index.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export * from './_' diff --git a/src/model/api/schema.collected-data/schemaCollectedData.ts b/src/model/api/schema.collected-data/schemaCollectedData.ts index 9aba8f15..c9ea1648 100644 --- a/src/model/api/schema.collected-data/schemaCollectedData.ts +++ b/src/model/api/schema.collected-data/schemaCollectedData.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ /** diff --git a/src/model/api/schema.data/index.ts b/src/model/api/schema.data/index.ts index 22d1517d..4d4a3fee 100644 --- a/src/model/api/schema.data/index.ts +++ b/src/model/api/schema.data/index.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export * from './schemaData' diff --git a/src/model/api/schema.data/schemaData.ts b/src/model/api/schema.data/schemaData.ts index 7eadc59d..c6f9fd7d 100644 --- a/src/model/api/schema.data/schemaData.ts +++ b/src/model/api/schema.data/schemaData.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaCollectedData } from '../schema.collected-data/schemaCollectedData' diff --git a/src/model/api/schema.metadata/index.ts b/src/model/api/schema.metadata/index.ts index 77678a73..e2e42547 100644 --- a/src/model/api/schema.metadata/index.ts +++ b/src/model/api/schema.metadata/index.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export * from './schemaMetadata' diff --git a/src/model/api/schema.metadata/schemaMetadata.ts b/src/model/api/schema.metadata/schemaMetadata.ts index 180621ab..cfe3cbd3 100644 --- a/src/model/api/schema.metadata/schemaMetadata.ts +++ b/src/model/api/schema.metadata/schemaMetadata.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaMetadataInseeContext } from './schemaMetadataInseeContext' import type { Variable } from './variable' diff --git a/src/model/api/schema.metadata/schemaMetadataInseeContext.ts b/src/model/api/schema.metadata/schemaMetadataInseeContext.ts index 1bbca488..7080ffcd 100644 --- a/src/model/api/schema.metadata/schemaMetadataInseeContext.ts +++ b/src/model/api/schema.metadata/schemaMetadataInseeContext.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type SchemaMetadataInseeContext = diff --git a/src/model/api/schema.metadata/variable.ts b/src/model/api/schema.metadata/variable.ts index 02a817aa..957be64d 100644 --- a/src/model/api/schema.metadata/variable.ts +++ b/src/model/api/schema.metadata/variable.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { VariableValue } from './variableValue' diff --git a/src/model/api/schema.metadata/variableValue.ts b/src/model/api/schema.metadata/variableValue.ts index 583e3288..c04d0c92 100644 --- a/src/model/api/schema.metadata/variableValue.ts +++ b/src/model/api/schema.metadata/variableValue.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type VariableValue = string | boolean diff --git a/src/model/api/schema.nomenclature/index.ts b/src/model/api/schema.nomenclature/index.ts index 7d9a3bac..ec5a7752 100644 --- a/src/model/api/schema.nomenclature/index.ts +++ b/src/model/api/schema.nomenclature/index.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export * from './nomenclature' diff --git a/src/model/api/schema.nomenclature/nomenclature.ts b/src/model/api/schema.nomenclature/nomenclature.ts index 18f5be54..bcdbcc8b 100644 --- a/src/model/api/schema.nomenclature/nomenclature.ts +++ b/src/model/api/schema.nomenclature/nomenclature.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export interface Nomenclature { diff --git a/src/model/api/schema.nomenclature/schemaNomenclature.ts b/src/model/api/schema.nomenclature/schemaNomenclature.ts index 11dcf732..0c6c12cb 100644 --- a/src/model/api/schema.nomenclature/schemaNomenclature.ts +++ b/src/model/api/schema.nomenclature/schemaNomenclature.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { Nomenclature } from './nomenclature' diff --git a/src/model/api/schema.personalization/index.ts b/src/model/api/schema.personalization/index.ts index 75a3c5ce..9f5c1d32 100644 --- a/src/model/api/schema.personalization/index.ts +++ b/src/model/api/schema.personalization/index.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export * from './personalization' diff --git a/src/model/api/schema.personalization/personalization.ts b/src/model/api/schema.personalization/personalization.ts index 97c2f70e..09dc6b80 100644 --- a/src/model/api/schema.personalization/personalization.ts +++ b/src/model/api/schema.personalization/personalization.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export interface Personalization { diff --git a/src/model/api/schema.personalization/schemaPersonalization.ts b/src/model/api/schema.personalization/schemaPersonalization.ts index b7484c90..cd4f233b 100644 --- a/src/model/api/schema.personalization/schemaPersonalization.ts +++ b/src/model/api/schema.personalization/schemaPersonalization.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { Personalization } from './personalization' diff --git a/src/model/api/schema.survey-unit-temp-zone/index.ts b/src/model/api/schema.survey-unit-temp-zone/index.ts index 6d8bfdb8..27b62fbc 100644 --- a/src/model/api/schema.survey-unit-temp-zone/index.ts +++ b/src/model/api/schema.survey-unit-temp-zone/index.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export * from './schemaSurveyUnitTempZone' diff --git a/src/model/api/schema.survey-unit-temp-zone/schemaSurveyUnitTempZone.ts b/src/model/api/schema.survey-unit-temp-zone/schemaSurveyUnitTempZone.ts index 8ebabf1b..6833306a 100644 --- a/src/model/api/schema.survey-unit-temp-zone/schemaSurveyUnitTempZone.ts +++ b/src/model/api/schema.survey-unit-temp-zone/schemaSurveyUnitTempZone.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaData } from '../schema.data/schemaData' import type { SchemaPersonalization } from '../schema.personalization/schemaPersonalization' diff --git a/src/model/api/schema.survey-unit-temp-zone/schemaSurveyUnitTempZoneComment.ts b/src/model/api/schema.survey-unit-temp-zone/schemaSurveyUnitTempZoneComment.ts index 0484deb5..c4607f21 100644 --- a/src/model/api/schema.survey-unit-temp-zone/schemaSurveyUnitTempZoneComment.ts +++ b/src/model/api/schema.survey-unit-temp-zone/schemaSurveyUnitTempZoneComment.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type SchemaSurveyUnitTempZoneComment = { [key: string]: any } diff --git a/src/model/api/schema.survey-unit-temp-zone/stateData.ts b/src/model/api/schema.survey-unit-temp-zone/stateData.ts index bc37ae3a..cea1fe40 100644 --- a/src/model/api/schema.survey-unit-temp-zone/stateData.ts +++ b/src/model/api/schema.survey-unit-temp-zone/stateData.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { StateDataState } from './stateDataState' diff --git a/src/model/api/schema.survey-unit-temp-zone/stateDataState.ts b/src/model/api/schema.survey-unit-temp-zone/stateDataState.ts index c5999914..391e2fe2 100644 --- a/src/model/api/schema.survey-unit-temp-zone/stateDataState.ts +++ b/src/model/api/schema.survey-unit-temp-zone/stateDataState.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type StateDataState = diff --git a/src/model/api/schema.variable-type/index.ts b/src/model/api/schema.variable-type/index.ts index 092abbeb..75d36a03 100644 --- a/src/model/api/schema.variable-type/index.ts +++ b/src/model/api/schema.variable-type/index.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export * from './schemaVariableType' diff --git a/src/model/api/schema.variable-type/schemaVariableType.ts b/src/model/api/schema.variable-type/schemaVariableType.ts index 83a930fb..c31098f2 100644 --- a/src/model/api/schema.variable-type/schemaVariableType.ts +++ b/src/model/api/schema.variable-type/schemaVariableType.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ /** diff --git a/src/model/api/setCommentBody.ts b/src/model/api/setCommentBody.ts index e845027a..a542abb0 100644 --- a/src/model/api/setCommentBody.ts +++ b/src/model/api/setCommentBody.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type SetCommentBody = { [key: string]: any } diff --git a/src/model/api/stateData.ts b/src/model/api/stateData.ts index fac134da..256c8879 100644 --- a/src/model/api/stateData.ts +++ b/src/model/api/stateData.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { StateDataState } from './stateDataState' diff --git a/src/model/api/stateDataState.ts b/src/model/api/stateDataState.ts index c5999914..391e2fe2 100644 --- a/src/model/api/stateDataState.ts +++ b/src/model/api/stateDataState.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type StateDataState = diff --git a/src/model/api/stateDataUpdate.ts b/src/model/api/stateDataUpdate.ts index 87cbea5e..bc445038 100644 --- a/src/model/api/stateDataUpdate.ts +++ b/src/model/api/stateDataUpdate.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { StateDataUpdateState } from './stateDataUpdateState' diff --git a/src/model/api/stateDataUpdateState.ts b/src/model/api/stateDataUpdateState.ts index cdf28fff..1a7585a5 100644 --- a/src/model/api/stateDataUpdateState.ts +++ b/src/model/api/stateDataUpdateState.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type StateDataUpdateState = diff --git a/src/model/api/surveyUnit.ts b/src/model/api/surveyUnit.ts index 42929ac8..398aecdc 100644 --- a/src/model/api/surveyUnit.ts +++ b/src/model/api/surveyUnit.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaData } from './schema.data/schemaData' import type { SchemaPersonalization } from './schema.personalization/schemaPersonalization' diff --git a/src/model/api/surveyUnitComment.ts b/src/model/api/surveyUnitComment.ts index fdf2297f..d94fddec 100644 --- a/src/model/api/surveyUnitComment.ts +++ b/src/model/api/surveyUnitComment.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type SurveyUnitComment = { [key: string]: any } diff --git a/src/model/api/surveyUnitCreation.ts b/src/model/api/surveyUnitCreation.ts index 6806c3c5..0c1fbdd7 100644 --- a/src/model/api/surveyUnitCreation.ts +++ b/src/model/api/surveyUnitCreation.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaData } from './schema.data/schemaData' import type { SchemaPersonalization } from './schema.personalization/schemaPersonalization' diff --git a/src/model/api/surveyUnitCreationComment.ts b/src/model/api/surveyUnitCreationComment.ts index 68ec6955..56582e11 100644 --- a/src/model/api/surveyUnitCreationComment.ts +++ b/src/model/api/surveyUnitCreationComment.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type SurveyUnitCreationComment = { [key: string]: any } diff --git a/src/model/api/surveyUnitDataStateDataUpdate.ts b/src/model/api/surveyUnitDataStateDataUpdate.ts index 29125d3c..8933411d 100644 --- a/src/model/api/surveyUnitDataStateDataUpdate.ts +++ b/src/model/api/surveyUnitDataStateDataUpdate.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaCollectedData } from './schema.collected-data/schemaCollectedData' import type { StateDataUpdate } from './stateDataUpdate' diff --git a/src/model/api/surveyUnitSummary.ts b/src/model/api/surveyUnitSummary.ts index e0ff47b5..304cad1f 100644 --- a/src/model/api/surveyUnitSummary.ts +++ b/src/model/api/surveyUnitSummary.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export interface SurveyUnitSummary { diff --git a/src/model/api/surveyUnitTempZone.ts b/src/model/api/surveyUnitTempZone.ts index 8873e926..03fb8858 100644 --- a/src/model/api/surveyUnitTempZone.ts +++ b/src/model/api/surveyUnitTempZone.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaSurveyUnitTempZone } from './schema.survey-unit-temp-zone/schemaSurveyUnitTempZone' diff --git a/src/model/api/surveyUnitUpdate.ts b/src/model/api/surveyUnitUpdate.ts index 32878d1c..d244a4cb 100644 --- a/src/model/api/surveyUnitUpdate.ts +++ b/src/model/api/surveyUnitUpdate.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SchemaData } from './schema.data/schemaData' import type { SchemaPersonalization } from './schema.personalization/schemaPersonalization' diff --git a/src/model/api/surveyUnitUpdateComment.ts b/src/model/api/surveyUnitUpdateComment.ts index cd05c76e..43698603 100644 --- a/src/model/api/surveyUnitUpdateComment.ts +++ b/src/model/api/surveyUnitUpdateComment.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ export type SurveyUnitUpdateComment = { [key: string]: any } diff --git a/src/model/api/surveyUnitsOkNok.ts b/src/model/api/surveyUnitsOkNok.ts index f031e894..c8836be5 100644 --- a/src/model/api/surveyUnitsOkNok.ts +++ b/src/model/api/surveyUnitsOkNok.ts @@ -3,7 +3,7 @@ * Do not edit manually. * queen-api * API for Queen/Stromae - * OpenAPI spec version: 4.3.4-SNAPSHOT + * OpenAPI spec version: 4.3.6-SNAPSHOT */ import type { SurveyUnit } from './surveyUnit' diff --git a/src/pages/Collect/CollectPage.tsx b/src/pages/Collect/CollectPage.tsx index 4cff1a00..b9813138 100644 --- a/src/pages/Collect/CollectPage.tsx +++ b/src/pages/Collect/CollectPage.tsx @@ -64,7 +64,7 @@ export function CollectPage() { .ensureQueryData(getGenerateDepositProofQueryOptions(surveyUnitId)) .then((response) => { const fileName = - (response.headers['content-disposition'].match( + (response.headers['Content-Disposition'].match( /filename="(.+?)"/ )[1] as string) ?? 'document.pdf' //content-disposition is present in OpenAPI spec but not well inferred by type