Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions api_cgn_operator_search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,51 +192,51 @@ definitions:
ProblemJson:
$ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v21.0.1/openapi/definitions.yaml#/ProblemJson"
Merchant:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Merchant"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Merchant"
SupportType:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SupportType"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SupportType"
DiscountCodeType:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/DiscountCodeType"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/DiscountCodeType"
OfflineMerchants:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchants"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchants"
OfflineMerchant:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchant"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchant"
OfflineMerchantSearchRequest:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchantSearchRequest"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchantSearchRequest"
CountResult:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/CountResult"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/CountResult"
SearchResult:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchResult"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchResult"
SearchItem:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchItem"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchItem"
OnlineMerchants:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchants"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchants"
OnlineMerchant:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchant"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchant"
SearchRequest:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchRequest"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchRequest"
OnlineMerchantSearchRequest:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchantSearchRequest"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchantSearchRequest"
Discount:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Discount"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Discount"
ProductCategory:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/ProductCategory"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/ProductCategory"
Address:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Address"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Address"
Coordinates:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Coordinates"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Coordinates"
BoundingBox:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/BoundingBox"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/BoundingBox"
DiscountBucketCode:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/DiscountBucketCode"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/DiscountBucketCode"
PublishedProductCategories:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategories"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategories"
PublishedProductCategoriesWithNewDiscountsCount:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesWithNewDiscountsCount"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesWithNewDiscountsCount"
PublishedProductCategoriesResult:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesResult"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesResult"
ProductCategoryWithNewDiscountsCount:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/ProductCategoryWithNewDiscountsCount"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/ProductCategoryWithNewDiscountsCount"
securityDefinitions:
Bearer:
type: apiKey
Expand Down
46 changes: 23 additions & 23 deletions openapi/api_cgn_operator_search.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,51 +184,51 @@ definitions:
ProblemJson:
$ref: "../node_modules/@pagopa/io-functions-commons/openapi/definitions.yaml#/ProblemJson"
Merchant:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Merchant"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Merchant"
SupportType:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SupportType"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SupportType"
DiscountCodeType:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/DiscountCodeType"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/DiscountCodeType"
OfflineMerchants:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchants"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchants"
OfflineMerchant:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchant"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchant"
OfflineMerchantSearchRequest:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchantSearchRequest"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchantSearchRequest"
CountResult:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/CountResult"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/CountResult"
SearchResult:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchResult"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchResult"
SearchItem:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchItem"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchItem"
OnlineMerchants:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchants"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchants"
OnlineMerchant:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchant"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchant"
SearchRequest:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchRequest"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchRequest"
OnlineMerchantSearchRequest:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchantSearchRequest"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchantSearchRequest"
Discount:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Discount"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Discount"
ProductCategory:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/ProductCategory"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/ProductCategory"
Address:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Address"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Address"
Coordinates:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Coordinates"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Coordinates"
BoundingBox:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/BoundingBox"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/BoundingBox"
DiscountBucketCode:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/DiscountBucketCode"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/DiscountBucketCode"
PublishedProductCategories:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategories"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategories"
PublishedProductCategoriesWithNewDiscountsCount:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesWithNewDiscountsCount"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesWithNewDiscountsCount"
PublishedProductCategoriesResult:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesResult"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesResult"
ProductCategoryWithNewDiscountsCount:
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/ProductCategoryWithNewDiscountsCount"
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/ProductCategoryWithNewDiscountsCount"
securityDefinitions:
Bearer:
type: apiKey
Expand Down
4 changes: 4 additions & 0 deletions openapi/generated/api_cgn_operator_search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ definitions:
minimum: 0
newDiscounts:
type: boolean
numberOfNewDiscounts:
type: number
OfflineMerchantSearchRequest:
type: object
properties:
Expand Down Expand Up @@ -422,6 +424,8 @@ definitions:
$ref: '#/definitions/DiscountCodeType'
newDiscounts:
type: boolean
numberOfNewDiscounts:
type: number
SearchRequest:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"generate:api:io-bonus": "rimraf generated/io-bonus-api && gen-api-models --api-spec openapi/consumed/fn_bonus.yaml --no-strict --out-dir generated/io-bonus-api --request-types --response-decoders --client",
"generate:api:io-sign": "rimraf generated/io-sign-api && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-sign/0a9124b7c782b2569dd82c094496e50a17b418f4/apps/io-func-sign-user/openapi.yaml --no-strict --out-dir generated/io-sign-api --request-types --response-decoders --client",
"generate:api:io-fims": "rimraf generated/io-fims-api && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-fims/44c478f9b9ca024aa4db963873a85f8d9c37f5d3/apps/user-func/openapi.yaml --no-strict --out-dir generated/io-fims-api --request-types --response-decoders --client",
"generate:api:io-cgn-operator-search": "rimraf generated/io-cgn-operator-search-api && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml --no-strict --out-dir generated/io-cgn-operator-search-api --request-types --response-decoders --client",
"generate:api:io-cgn-operator-search": "rimraf generated/io-cgn-operator-search-api && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml --no-strict --out-dir generated/io-cgn-operator-search-api --request-types --response-decoders --client",
"generate:api:pagopaproxy": "rimraf generated/pagopa-proxy && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-pagopa-proxy/v1.6.0/api-spec/api-for-io.yaml --no-strict --out-dir generated/pagopa-proxy --request-types --response-decoders --client",
"generate:api:lollipop": "rimraf generated/lollipop-api && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-functions-lollipop/724c3ba79d272d4e2555dbc2a8e1657bec9f84ce/openapi/internal.yaml --no-strict --out-dir generated/lollipop-api --request-types --response-decoders --client",
"generate:api:services-app-backend": "rimraf generated/services-app-backend && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-services-cms/d2afbdf73e5b4ffd24aa46b025729ff2a9ed3cce/apps/app-backend/api/internal.yaml --no-strict --out-dir generated/services-app-backend --request-types --response-decoders --client",
Expand Down
Loading