diff --git a/api_backend.yaml b/api_backend.yaml index 187c9072d..cc4a53ac7 100644 --- a/api_backend.yaml +++ b/api_backend.yaml @@ -703,89 +703,89 @@ paths: definitions: # Definitions from the digital citizenship APIs AcceptedTosVersion: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/AcceptedTosVersion" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/AcceptedTosVersion" BlockedInboxOrChannels: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/BlockedInboxOrChannels" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/BlockedInboxOrChannels" DepartmentName: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/DepartmentName" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/DepartmentName" EmailAddress: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/EmailAddress" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/EmailAddress" Profile: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/Profile" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/Profile" ExtendedProfile: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/ExtendedProfile" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/ExtendedProfile" FiscalCode: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/FiscalCode" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/FiscalCode" IsEmailEnabled: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/IsEmailEnabled" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/IsEmailEnabled" IsInboxEnabled: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/IsInboxEnabled" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/IsInboxEnabled" IsEmailValidated: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/IsEmailValidated" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/IsEmailValidated" IsWebhookEnabled: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/IsWebhookEnabled" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/IsWebhookEnabled" LimitedProfile: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/LimitedProfile" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/LimitedProfile" MessageBodyMarkdown: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/MessageBodyMarkdown" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/MessageBodyMarkdown" MessageContent: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/MessageContent" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/MessageContent" MessageResponseNotificationStatus: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/MessageResponseNotificationStatus" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/MessageResponseNotificationStatus" NotificationChannelStatusValue: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/NotificationChannelStatusValue" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/NotificationChannelStatusValue" NotificationChannel: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/NotificationChannel" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/NotificationChannel" MessageSubject: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/MessageSubject" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/MessageSubject" OrganizationName: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/OrganizationName" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/OrganizationName" PaginationResponse: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/PaginationResponse" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/PaginationResponse" PreferredLanguage: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/PreferredLanguage" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/PreferredLanguage" PreferredLanguages: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/PreferredLanguages" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/PreferredLanguages" ProblemJson: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/ProblemJson" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/ProblemJson" ServiceId: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/ServiceId" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/ServiceId" ServiceName: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/ServiceName" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/ServiceName" ServicePublic: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/ServicePublic" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/ServicePublic" ServiceTuple: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/ServiceTuple" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/ServiceTuple" PaginatedServiceTupleCollection: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/PaginatedServiceTupleCollection" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/PaginatedServiceTupleCollection" Timestamp: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/Timestamp" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/Timestamp" PaymentNoticeNumber: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/PaymentNoticeNumber" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/PaymentNoticeNumber" PaymentAmount: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/PaymentAmount" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/PaymentAmount" PaymentData: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/PaymentData" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/PaymentData" TimeToLiveSeconds: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/TimeToLiveSeconds" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/TimeToLiveSeconds" CreatedMessageWithContent: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/CreatedMessageWithContent" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/CreatedMessageWithContent" CreatedMessageWithoutContent: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/CreatedMessageWithoutContent" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/CreatedMessageWithoutContent" CreatedMessageWithoutContentCollection: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/CreatedMessageWithoutContentCollection" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/CreatedMessageWithoutContentCollection" PaginatedCreatedMessageWithoutContentCollection: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/PaginatedCreatedMessageWithoutContentCollection" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/PaginatedCreatedMessageWithoutContentCollection" UserDataProcessingStatus: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/UserDataProcessingStatus" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/UserDataProcessingStatus" UserDataProcessingChoice: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/UserDataProcessingChoice" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/UserDataProcessingChoice" UserDataProcessingChoiceRequest: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/UserDataProcessingChoiceRequest" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/UserDataProcessingChoiceRequest" UserDataProcessing: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/UserDataProcessing" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/UserDataProcessing" MessageResponseWithContent: - $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v1.12.1/openapi/definitions.yaml#/MessageResponseWithContent" + $ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v3.0.0/openapi/definitions.yaml#/MessageResponseWithContent" # Definitions from pagopa-proxy PaymentProblemJson: diff --git a/package.json b/package.json index b2433950e..e8e7b1f82 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "generate:proxy:notification-models": "rimraf generated/notifications && mkdir -p generated/notifications && gen-api-models --api-spec api_notifications.yaml --out-dir generated/notifications", "generate:proxy:pagopa-models": "rimraf generated/pagopa && mkdir -p generated/pagopa && gen-api-models --api-spec api_pagopa.yaml --out-dir generated/pagopa", "generate:proxy:public-models": "rimraf generated/public && mkdir -p generated/public && gen-api-models --api-spec api_public.yaml --out-dir generated/public", - "generate:api:io": "rimraf generated/io-api && mkdir -p generated/io-api && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-functions-app/v0.9.0/openapi/index.yaml --no-strict --out-dir generated/io-api --request-types --response-decoders", + "generate:api:io": "rimraf generated/io-api && mkdir -p generated/io-api && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-functions-app/v1.0.0/openapi/index.yaml --no-strict --out-dir generated/io-api --request-types --response-decoders", "generate:api:pagopaproxy": "rimraf generated/pagopa-proxy && mkdir -p generated/pagopa-proxy && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-pagopa-proxy/v0.8.6/api_pagopa.yaml --no-strict --out-dir generated/pagopa-proxy --request-types --response-decoders", "generate:test-certs": "./scripts/generate-test-certs.sh certs", "postversion": "git push && git push --tags"