Skip to content

Commit e671dbd

Browse files
updated cgn search-func version (#1175)
1 parent d9c722d commit e671dbd

File tree

4 files changed

+51
-47
lines changed

4 files changed

+51
-47
lines changed

api_cgn_operator_search.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -192,51 +192,51 @@ definitions:
192192
ProblemJson:
193193
$ref: "https://raw.githubusercontent.com/pagopa/io-functions-commons/v21.0.1/openapi/definitions.yaml#/ProblemJson"
194194
Merchant:
195-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Merchant"
195+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Merchant"
196196
SupportType:
197-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SupportType"
197+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SupportType"
198198
DiscountCodeType:
199-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/DiscountCodeType"
199+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/DiscountCodeType"
200200
OfflineMerchants:
201-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchants"
201+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchants"
202202
OfflineMerchant:
203-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchant"
203+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchant"
204204
OfflineMerchantSearchRequest:
205-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchantSearchRequest"
205+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchantSearchRequest"
206206
CountResult:
207-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/CountResult"
207+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/CountResult"
208208
SearchResult:
209-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchResult"
209+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchResult"
210210
SearchItem:
211-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchItem"
211+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchItem"
212212
OnlineMerchants:
213-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchants"
213+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchants"
214214
OnlineMerchant:
215-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchant"
215+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchant"
216216
SearchRequest:
217-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchRequest"
217+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchRequest"
218218
OnlineMerchantSearchRequest:
219-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchantSearchRequest"
219+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchantSearchRequest"
220220
Discount:
221-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Discount"
221+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Discount"
222222
ProductCategory:
223-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/ProductCategory"
223+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/ProductCategory"
224224
Address:
225-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Address"
225+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Address"
226226
Coordinates:
227-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Coordinates"
227+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Coordinates"
228228
BoundingBox:
229-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/BoundingBox"
229+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/BoundingBox"
230230
DiscountBucketCode:
231-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/DiscountBucketCode"
231+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/DiscountBucketCode"
232232
PublishedProductCategories:
233-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategories"
233+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategories"
234234
PublishedProductCategoriesWithNewDiscountsCount:
235-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesWithNewDiscountsCount"
235+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesWithNewDiscountsCount"
236236
PublishedProductCategoriesResult:
237-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesResult"
237+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesResult"
238238
ProductCategoryWithNewDiscountsCount:
239-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/ProductCategoryWithNewDiscountsCount"
239+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/ProductCategoryWithNewDiscountsCount"
240240
securityDefinitions:
241241
Bearer:
242242
type: apiKey

openapi/api_cgn_operator_search.template.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -184,51 +184,51 @@ definitions:
184184
ProblemJson:
185185
$ref: "../node_modules/@pagopa/io-functions-commons/openapi/definitions.yaml#/ProblemJson"
186186
Merchant:
187-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Merchant"
187+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Merchant"
188188
SupportType:
189-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SupportType"
189+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SupportType"
190190
DiscountCodeType:
191-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/DiscountCodeType"
191+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/DiscountCodeType"
192192
OfflineMerchants:
193-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchants"
193+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchants"
194194
OfflineMerchant:
195-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchant"
195+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchant"
196196
OfflineMerchantSearchRequest:
197-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchantSearchRequest"
197+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OfflineMerchantSearchRequest"
198198
CountResult:
199-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/CountResult"
199+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/CountResult"
200200
SearchResult:
201-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchResult"
201+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchResult"
202202
SearchItem:
203-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchItem"
203+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchItem"
204204
OnlineMerchants:
205-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchants"
205+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchants"
206206
OnlineMerchant:
207-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchant"
207+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchant"
208208
SearchRequest:
209-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/SearchRequest"
209+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/SearchRequest"
210210
OnlineMerchantSearchRequest:
211-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchantSearchRequest"
211+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/OnlineMerchantSearchRequest"
212212
Discount:
213-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Discount"
213+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Discount"
214214
ProductCategory:
215-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/ProductCategory"
215+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/ProductCategory"
216216
Address:
217-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Address"
217+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Address"
218218
Coordinates:
219-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/Coordinates"
219+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/Coordinates"
220220
BoundingBox:
221-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/BoundingBox"
221+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/BoundingBox"
222222
DiscountBucketCode:
223-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/DiscountBucketCode"
223+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/DiscountBucketCode"
224224
PublishedProductCategories:
225-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategories"
225+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategories"
226226
PublishedProductCategoriesWithNewDiscountsCount:
227-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesWithNewDiscountsCount"
227+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesWithNewDiscountsCount"
228228
PublishedProductCategoriesResult:
229-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesResult"
229+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/PublishedProductCategoriesResult"
230230
ProductCategoryWithNewDiscountsCount:
231-
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.3.4/apps/search-func/openapi/index.yaml#/definitions/ProductCategoryWithNewDiscountsCount"
231+
$ref: "https://raw.githubusercontent.com/pagopa/io-cgn/refs/tags/search-func@3.4.1/apps/search-func/openapi/index.yaml#/definitions/ProductCategoryWithNewDiscountsCount"
232232
securityDefinitions:
233233
Bearer:
234234
type: apiKey

openapi/generated/api_cgn_operator_search.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ definitions:
316316
minimum: 0
317317
newDiscounts:
318318
type: boolean
319+
numberOfNewDiscounts:
320+
type: number
319321
OfflineMerchantSearchRequest:
320322
type: object
321323
properties:
@@ -422,6 +424,8 @@ definitions:
422424
$ref: '#/definitions/DiscountCodeType'
423425
newDiscounts:
424426
type: boolean
427+
numberOfNewDiscounts:
428+
type: number
425429
SearchRequest:
426430
type: object
427431
properties:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"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",
4949
"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",
5050
"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",
51-
"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",
51+
"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",
5252
"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",
5353
"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",
5454
"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",

0 commit comments

Comments
 (0)