From f591434cb4bdc2d72bb84bbe5df7c086d03e1689 Mon Sep 17 00:00:00 2001 From: Ana Maria Granada Date: Wed, 18 Sep 2024 06:41:19 -0500 Subject: [PATCH 1/5] feat: add url in merchant api --- src/assets/apis/core/en | 2 ++ src/assets/apis/core/en.yaml | 19 +++++++++++++++++++ src/assets/apis/core/es.yaml | 19 +++++++++++++++++++ src/pages/core/reference/merchant-create.mdx | 1 + src/pages/core/reference/merchant-search.mdx | 1 + src/pages/core/reference/merchant-update.mdx | 1 + .../en/core/reference/merchant-create.mdx | 1 + .../en/core/reference/merchant-search.mdx | 1 + 8 files changed, 45 insertions(+) diff --git a/src/assets/apis/core/en b/src/assets/apis/core/en index 77292bd..f6cb2f9 100644 --- a/src/assets/apis/core/en +++ b/src/assets/apis/core/en @@ -131,6 +131,7 @@ paths: active: true timezone: America/Bogota size: XS + url: "http://www.example.com" incrementType: IPC languages: - ES @@ -329,6 +330,7 @@ paths: active: true timezone: America/Bogota size: XS + url: http://www.example.com incrementType: IPC languages: - ES diff --git a/src/assets/apis/core/en.yaml b/src/assets/apis/core/en.yaml index ecd8bb2..604b8b1 100644 --- a/src/assets/apis/core/en.yaml +++ b/src/assets/apis/core/en.yaml @@ -131,6 +131,7 @@ paths: active: true timezone: America/Bogota size: XS + url: "http:://www.example.com" incrementType: IPC languages: - ES @@ -329,6 +330,7 @@ paths: active: true timezone: America/Bogota size: XS + url: http://www.example.com incrementType: IPC languages: - ES @@ -9687,6 +9689,11 @@ components: description: Tamaño de la empresa basado en los empleados [XS<10, S<50, M<250, L>250]. + url: + type: string + maxLength: 255 + example: http://www.example.com + description: URL del sitio web del comercio. incrementType: type: string enum: @@ -9803,6 +9810,7 @@ components: active: true timezone: America/Bogota size: XS + url: http://www.example.com incrementType: SMLMV languages: - ES @@ -9877,6 +9885,11 @@ components: description: Tamaño de la empresa basado en los empleados [XS<10, S<50, M<250, L>250]. + url: + type: string + maxLength: 255 + example: http://www.example.com + description: URL del sitio web del comercio. incrementType: type: string enum: @@ -9994,6 +10007,7 @@ components: active: true timezone: America/Bogota size: XS + url: http://www.example.com incrementType: SMLMV languages: - ES @@ -10072,6 +10086,11 @@ components: description: Tamaño de la empresa basado en los empleados [XS<10, S<50, M<250, L>250]. + url: + type: string + maxLength: 255 + example: http://www.example.com + description: URL del sitio web del comercio. incrementType: type: string enum: diff --git a/src/assets/apis/core/es.yaml b/src/assets/apis/core/es.yaml index ecd8bb2..9814905 100644 --- a/src/assets/apis/core/es.yaml +++ b/src/assets/apis/core/es.yaml @@ -131,6 +131,7 @@ paths: active: true timezone: America/Bogota size: XS + url: http://www.example.com incrementType: IPC languages: - ES @@ -329,6 +330,7 @@ paths: active: true timezone: America/Bogota size: XS + url: http://www.example.com incrementType: IPC languages: - ES @@ -9687,6 +9689,11 @@ components: description: Tamaño de la empresa basado en los empleados [XS<10, S<50, M<250, L>250]. + url: + type: string + maxLength: 255 + example: http://www.example.com + description: URL del sitio web del comercio. incrementType: type: string enum: @@ -9803,6 +9810,7 @@ components: active: true timezone: America/Bogota size: XS + url: http://www.new-example.com incrementType: SMLMV languages: - ES @@ -9877,6 +9885,11 @@ components: description: Tamaño de la empresa basado en los empleados [XS<10, S<50, M<250, L>250]. + url: + type: string + maxLength: 255 + example: http://www.example.com + description: URL del sitio web del comercio. incrementType: type: string enum: @@ -9994,6 +10007,7 @@ components: active: true timezone: America/Bogota size: XS + url: http://www.example.com incrementType: SMLMV languages: - ES @@ -10072,6 +10086,11 @@ components: description: Tamaño de la empresa basado en los empleados [XS<10, S<50, M<250, L>250]. + url: + type: string + maxLength: 255 + example: http://www.example.com + description: URL del sitio web del comercio. incrementType: type: string enum: diff --git a/src/pages/core/reference/merchant-create.mdx b/src/pages/core/reference/merchant-create.mdx index 659eac8..64e9a76 100644 --- a/src/pages/core/reference/merchant-create.mdx +++ b/src/pages/core/reference/merchant-create.mdx @@ -35,6 +35,7 @@ curl -X "POST" https:/test.placetopay.com/rest/core/merchant/create \ "active": true, "timezone": "America/Bogota", "size": "XS", + "url": "http://www.example.com", "incrementType": "IPC", "languages": [ "ES" diff --git a/src/pages/core/reference/merchant-search.mdx b/src/pages/core/reference/merchant-search.mdx index 2999e83..afe3378 100644 --- a/src/pages/core/reference/merchant-search.mdx +++ b/src/pages/core/reference/merchant-search.mdx @@ -77,6 +77,7 @@ curl -X "POST" https:/test.placetopay.com/rest/core/merchant/search \ "timezone": "America/Bogota", "size": "XS", "incrementType": "IPC", + "url": "http://www.example.com", "languages": [ "ES" ], diff --git a/src/pages/core/reference/merchant-update.mdx b/src/pages/core/reference/merchant-update.mdx index 0bd40cb..01ac840 100644 --- a/src/pages/core/reference/merchant-update.mdx +++ b/src/pages/core/reference/merchant-update.mdx @@ -36,6 +36,7 @@ curl -X "POST" https:/test.placetopay.com/rest/core/merchant/update \ "active": false, "timezone": "America/Costa_Rica", "size": "M", + "url": "http://www.new-example.com" "document": { "type": "NIT", "number": "32145632" diff --git a/src/pages/en/core/reference/merchant-create.mdx b/src/pages/en/core/reference/merchant-create.mdx index 97877fe..afdc66b 100644 --- a/src/pages/en/core/reference/merchant-create.mdx +++ b/src/pages/en/core/reference/merchant-create.mdx @@ -35,6 +35,7 @@ curl -X "POST" https:/test.placetopay.com/rest/core/merchant/create \ "active": true, "timezone": "America/Bogota", "size": "XS", + "url": "http://www.example.com", "incrementType": "IPC", "languages": [ "ES" diff --git a/src/pages/en/core/reference/merchant-search.mdx b/src/pages/en/core/reference/merchant-search.mdx index fd4c7a4..2fbb440 100644 --- a/src/pages/en/core/reference/merchant-search.mdx +++ b/src/pages/en/core/reference/merchant-search.mdx @@ -76,6 +76,7 @@ curl -X "POST" https:/test.placetopay.com/rest/core/merchant/search \ "active": true, "timezone": "America/Bogota", "size": "XS", + "url": "http://www.example.com" "incrementType": "IPC", "languages": [ "ES" From 971dbac02a6ac194c9d212f0462b3af5c2eb12c5 Mon Sep 17 00:00:00 2001 From: Ana Maria Granada Date: Wed, 18 Sep 2024 08:42:46 -0500 Subject: [PATCH 2/5] feat: add fields in create site api --- src/assets/apis/core/en | 15 +++++++++++++++ src/assets/apis/core/en.yaml | 15 +++++++++++++++ src/assets/apis/core/es.yaml | 15 +++++++++++++++ src/pages/core/reference/site-create.mdx | 4 +++- src/pages/en/core/reference/site-create.mdx | 4 +++- 5 files changed, 51 insertions(+), 2 deletions(-) diff --git a/src/assets/apis/core/en b/src/assets/apis/core/en index f6cb2f9..e4a33bb 100644 --- a/src/assets/apis/core/en +++ b/src/assets/apis/core/en @@ -1944,6 +1944,13 @@ paths: onTest: type: boolean description: Indicator of test site. + productionDate: + type: string + description: Production Release Date. + default: null + nullable: true + format: date + example: 2024-01-01 integration: type: object description: Object containing the site's integration information. @@ -1985,6 +1992,14 @@ paths: type: string maxLength: 60 description: Analytics or Tag Manager code. + sourceRestriction: + type: string + description: | + Source restriction. + + Allowed values: `microsites` `ivr` `checkout` `panel` `api` `plugins` + nullable: true + example: microsites control: type: object x-stoplight: diff --git a/src/assets/apis/core/en.yaml b/src/assets/apis/core/en.yaml index 604b8b1..c86024b 100644 --- a/src/assets/apis/core/en.yaml +++ b/src/assets/apis/core/en.yaml @@ -1944,6 +1944,13 @@ paths: onTest: type: boolean description: Indicador de sitio en pruebas. + productionDate: + type: string + description: Fecha de Salida a Producción. + default: null + nullable: true + format: date + example: 2024-01-01 integration: type: object description: Objeto con información de integración del sitio. @@ -1985,6 +1992,14 @@ paths: type: string maxLength: 60 description: Código Analytics o Tag Manager. + sourceRestriction: + type: string + description: | + Restricción de Origen. + + Valores Permitidos: `microsites` `ivr` `checkout` `panel` `api` `plugins` + nullable: true + example: microsites control: type: object x-stoplight: diff --git a/src/assets/apis/core/es.yaml b/src/assets/apis/core/es.yaml index 9814905..dea1341 100644 --- a/src/assets/apis/core/es.yaml +++ b/src/assets/apis/core/es.yaml @@ -1944,6 +1944,13 @@ paths: onTest: type: boolean description: Indicador de sitio en pruebas. + productionDate: + type: string + description: Fecha de Salida a Producción. + default: null + nullable: true + format: date + example: 2024-01-01 integration: type: object description: Objeto con información de integración del sitio. @@ -1985,6 +1992,14 @@ paths: type: string maxLength: 60 description: Código Analytics o Tag Manager. + sourceRestriction: + type: string + description: | + Restricción de Origen. + + Valores Permitidos: `microsites` `ivr` `checkout` `panel` `api` `plugins` + nullable: true + example: microsites control: type: object x-stoplight: diff --git a/src/pages/core/reference/site-create.mdx b/src/pages/core/reference/site-create.mdx index 33c715d..7caddd3 100644 --- a/src/pages/core/reference/site-create.mdx +++ b/src/pages/core/reference/site-create.mdx @@ -44,12 +44,14 @@ curl -X "POST" https:/test.placetopay.com/rest/core/site/create \ "customBatch": 1235665, " expiration": "2019-08-24T14:15:22Z", "onTest": true, + "productionDate": "2024-01-01", "integration": { "allowPartial": true, "connectionMethod": "REDIRECT", "notificationUrl": "www.urlexample.com", "checkoutVersion": "v4", - "analyticsCode": "string" + "analyticsCode": "string", + "sourceRestriction": "microsites" }, "control": { "minAmount": 0, diff --git a/src/pages/en/core/reference/site-create.mdx b/src/pages/en/core/reference/site-create.mdx index 9ee25be..c839872 100644 --- a/src/pages/en/core/reference/site-create.mdx +++ b/src/pages/en/core/reference/site-create.mdx @@ -44,12 +44,14 @@ curl -X "POST" https:/test.placetopay.com/rest/core/site/create \ "customBatch": 1235665, " expiration": "2019-08-24T14:15:22Z", "onTest": true, + "productionDate": "2024-01-01", "integration": { "allowPartial": true, "connectionMethod": "REDIRECT", "notificationUrl": "www.urlexample.com", "checkoutVersion": "v4", - "analyticsCode": "string" + "analyticsCode": "string", + "sourceRestriction": "microsites" }, "control": { "minAmount": 0, From c79fad04c281a928a52b23e4da341f03f286bf17 Mon Sep 17 00:00:00 2001 From: Ana Maria Granada Date: Wed, 18 Sep 2024 08:50:56 -0500 Subject: [PATCH 3/5] feat: add fields in update site api --- src/assets/apis/core/en.yaml | 17 +++++++++++++++++ src/assets/apis/core/es.yaml | 17 +++++++++++++++++ src/pages/core/reference/site-search.mdx | 4 +++- src/pages/core/reference/site-update-all.mdx | 4 +++- src/pages/en/core/reference/site-update-all.mdx | 4 +++- 5 files changed, 43 insertions(+), 3 deletions(-) diff --git a/src/assets/apis/core/en.yaml b/src/assets/apis/core/en.yaml index c86024b..4665bac 100644 --- a/src/assets/apis/core/en.yaml +++ b/src/assets/apis/core/en.yaml @@ -2877,6 +2877,13 @@ paths: onTest: type: boolean description: Indicador de sitio en pruebas. + productionDate: + type: string + description: Fecha de Salida a Producción. + default: null + nullable: true + format: date + example: 2024-01-01 integration: type: object description: Objeto con información de integración del sitio. @@ -2915,6 +2922,14 @@ paths: type: string maxLength: 60 description: Código Analytics o Tag Manager. + sourceRestriction: + type: string + description: | + Restricción de Origen. + + Valores Permitidos: `microsites` `ivr` `checkout` `panel` `api` `plugins` + nullable: true + example: microsites control: type: object x-stoplight: @@ -3574,12 +3589,14 @@ paths: customBatch: 1235665 " expiration": "2019-08-24T14:15:22Z" onTest: true + productionDate: 2024-02-02 integration: allowPartial: true connectionMethod: REDIRECT notificationUrl: www.urlexample.com checkoutVersion: v4 analyticsCode: string + sourceRestriction: ivr control: minAmount: 9999999.99 maxAmount: 0 diff --git a/src/assets/apis/core/es.yaml b/src/assets/apis/core/es.yaml index dea1341..f6b7b9a 100644 --- a/src/assets/apis/core/es.yaml +++ b/src/assets/apis/core/es.yaml @@ -2877,6 +2877,13 @@ paths: onTest: type: boolean description: Indicador de sitio en pruebas. + productionDate: + type: string + description: Fecha de Salida a Producción. + default: null + nullable: true + format: date + example: 2024-01-01 integration: type: object description: Objeto con información de integración del sitio. @@ -2915,6 +2922,14 @@ paths: type: string maxLength: 60 description: Código Analytics o Tag Manager. + sourceRestriction: + type: string + description: | + Restricción de Origen. + + Valores Permitidos: `microsites` `ivr` `checkout` `panel` `api` `plugins` + nullable: true + example: microsites control: type: object x-stoplight: @@ -3574,12 +3589,14 @@ paths: customBatch: 1235665 " expiration": "2019-08-24T14:15:22Z" onTest: true + productionDate: 2024-02-02 integration: allowPartial: true connectionMethod: REDIRECT notificationUrl: www.urlexample.com checkoutVersion: v4 analyticsCode: string + sourceRestriction: ivr control: minAmount: 9999999.99 maxAmount: 0 diff --git a/src/pages/core/reference/site-search.mdx b/src/pages/core/reference/site-search.mdx index 1ccc41f..15a6c1f 100644 --- a/src/pages/core/reference/site-search.mdx +++ b/src/pages/core/reference/site-search.mdx @@ -87,12 +87,14 @@ curl -X "POST" https:/test.placetopay.com/rest/core/site/search \ "customBatch": 1235665, " expiration": "2019-08-24T14:15:22Z", "onTest": true, + "productionDate": "2024-01-01", "integration": { "allowPartial": true, "connectionMethod": "REDIRECT", "notificationUrl": "www.urlexample.com", "checkoutVersion": "v4", - "analyticsCode": "string" + "analyticsCode": "string", + "sourceRestriction": "microsite" }, "control": { "minAmount": 9999999.99, diff --git a/src/pages/core/reference/site-update-all.mdx b/src/pages/core/reference/site-update-all.mdx index 2cc3aa2..7028d3a 100644 --- a/src/pages/core/reference/site-update-all.mdx +++ b/src/pages/core/reference/site-update-all.mdx @@ -44,12 +44,14 @@ curl -X "POST" https:/test.placetopay.com/rest/core/site/update-all \ "customBatch": 1235665, " expiration": "2019-08-24T14:15:22Z", "onTest": true, + "productionDate": "2024-02-02", "integration": { "allowPartial": true, "connectionMethod": "REDIRECT", "notificationUrl": "www.urlexample.com", "checkoutVersion": "v4", - "analyticsCode": "string" + "analyticsCode": "string", + "sourceRestriction": "ivr" }, "control": { "minAmount": 9999999.99, diff --git a/src/pages/en/core/reference/site-update-all.mdx b/src/pages/en/core/reference/site-update-all.mdx index 3fce033..8cc2050 100644 --- a/src/pages/en/core/reference/site-update-all.mdx +++ b/src/pages/en/core/reference/site-update-all.mdx @@ -44,12 +44,14 @@ curl -X "POST" https:/test.placetopay.com/rest/core/site/update-all \ "customBatch": 1235665, " expiration": "2019-08-24T14:15:22Z", "onTest": true, + "productionDate": "2024-02-02", "integration": { "allowPartial": true, "connectionMethod": "REDIRECT", "notificationUrl": "www.urlexample.com", "checkoutVersion": "v4", - "analyticsCode": "string" + "analyticsCode": "string", + "sourceRestriction": "ivr" }, "control": { "minAmount": 9999999.99, From d8c4459ec4a3e2ad6c2a9de89f73636c24137c8e Mon Sep 17 00:00:00 2001 From: Ana Maria Granada Date: Wed, 18 Sep 2024 09:17:37 -0500 Subject: [PATCH 4/5] feat: add fields in search site api --- src/assets/apis/core/en.yaml | 17 +++++++++++++++++ src/assets/apis/core/es.yaml | 17 +++++++++++++++++ src/pages/core/reference/site-search.mdx | 2 +- src/pages/en/core/reference/site-search.mdx | 4 +++- 4 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/assets/apis/core/en.yaml b/src/assets/apis/core/en.yaml index 4665bac..0476673 100644 --- a/src/assets/apis/core/en.yaml +++ b/src/assets/apis/core/en.yaml @@ -4040,12 +4040,14 @@ paths: customBatch: 1235665 " expiration": "2019-08-24T14:15:22Z" onTest: true + productionDate: "2024-01-01" integration: allowPartial: true connectionMethod: REDIRECT notificationUrl: www.urlexample.com checkoutVersion: v4 analyticsCode: string + sourceRestriction: microsite control: minAmount: 9999999.99 maxAmount: 0 @@ -10985,6 +10987,13 @@ components: onTest: type: boolean description: Indicador de sitio en pruebas. + productionDate: + type: string + description: Fecha de Salida a Producción. + default: null + nullable: true + format: date + example: 2024-01-01 integration: type: object description: Objeto con información de integración del sitio. @@ -11023,6 +11032,14 @@ components: type: string maxLength: 60 description: Código Analytics o Tag Manager. + sourceRestriction: + type: string + description: | + Restricción de Origen. + + Valores Permitidos: `microsites` `ivr` `checkout` `panel` `api` `plugins` + nullable: true + example: microsites control: type: object description: Objeto con información de los datos de control. diff --git a/src/assets/apis/core/es.yaml b/src/assets/apis/core/es.yaml index f6b7b9a..fc2d1e1 100644 --- a/src/assets/apis/core/es.yaml +++ b/src/assets/apis/core/es.yaml @@ -4040,12 +4040,14 @@ paths: customBatch: 1235665 " expiration": "2019-08-24T14:15:22Z" onTest: true + productionDate: "2024-01-01" integration: allowPartial: true connectionMethod: REDIRECT notificationUrl: www.urlexample.com checkoutVersion: v4 analyticsCode: string + sourceRestriction: microsite control: minAmount: 9999999.99 maxAmount: 0 @@ -10985,6 +10987,13 @@ components: onTest: type: boolean description: Indicador de sitio en pruebas. + productionDate: + type: string + description: Fecha de Salida a Producción. + default: null + nullable: true + format: date + example: 2024-01-01 integration: type: object description: Objeto con información de integración del sitio. @@ -11023,6 +11032,14 @@ components: type: string maxLength: 60 description: Código Analytics o Tag Manager. + sourceRestriction: + type: string + description: | + Restricción de Origen. + + Valores Permitidos: `microsites` `ivr` `checkout` `panel` `api` `plugins` + nullable: true + example: microsites control: type: object description: Objeto con información de los datos de control. diff --git a/src/pages/core/reference/site-search.mdx b/src/pages/core/reference/site-search.mdx index 15a6c1f..858af3b 100644 --- a/src/pages/core/reference/site-search.mdx +++ b/src/pages/core/reference/site-search.mdx @@ -94,7 +94,7 @@ curl -X "POST" https:/test.placetopay.com/rest/core/site/search \ "notificationUrl": "www.urlexample.com", "checkoutVersion": "v4", "analyticsCode": "string", - "sourceRestriction": "microsite" + "sourceRestriction": "microsites" }, "control": { "minAmount": 9999999.99, diff --git a/src/pages/en/core/reference/site-search.mdx b/src/pages/en/core/reference/site-search.mdx index 28b4ea0..c7ef016 100644 --- a/src/pages/en/core/reference/site-search.mdx +++ b/src/pages/en/core/reference/site-search.mdx @@ -87,12 +87,14 @@ curl -X "POST" https:/test.placetopay.com/rest/core/site/search \ "customBatch": 1235665, " expiration": "2019-08-24T14:15:22Z", "onTest": true, + "productionDate": "2024-01-01", "integration": { "allowPartial": true, "connectionMethod": "REDIRECT", "notificationUrl": "www.urlexample.com", "checkoutVersion": "v4", - "analyticsCode": "string" + "analyticsCode": "string", + "sourceRestriction": "microsites" }, "control": { "minAmount": 9999999.99, From 2c30f74dd1d71ba7369afe1a528f80fa294a24ce Mon Sep 17 00:00:00 2001 From: Ana Maria Granada Date: Wed, 18 Sep 2024 09:44:11 -0500 Subject: [PATCH 5/5] feat: general changes --- src/pages/core/reference/merchant-search.mdx | 2 +- src/pages/en/core/reference/merchant-search.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/core/reference/merchant-search.mdx b/src/pages/core/reference/merchant-search.mdx index afe3378..f6c0715 100644 --- a/src/pages/core/reference/merchant-search.mdx +++ b/src/pages/core/reference/merchant-search.mdx @@ -76,8 +76,8 @@ curl -X "POST" https:/test.placetopay.com/rest/core/merchant/search \ "active": true, "timezone": "America/Bogota", "size": "XS", - "incrementType": "IPC", "url": "http://www.example.com", + "incrementType": "IPC", "languages": [ "ES" ], diff --git a/src/pages/en/core/reference/merchant-search.mdx b/src/pages/en/core/reference/merchant-search.mdx index 2fbb440..8668718 100644 --- a/src/pages/en/core/reference/merchant-search.mdx +++ b/src/pages/en/core/reference/merchant-search.mdx @@ -76,7 +76,7 @@ curl -X "POST" https:/test.placetopay.com/rest/core/merchant/search \ "active": true, "timezone": "America/Bogota", "size": "XS", - "url": "http://www.example.com" + "url": "http://www.example.com", "incrementType": "IPC", "languages": [ "ES"