Skip to content

Commit

Permalink
Migration + Template fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonali Shakya authored and Sonali Shakya committed Jan 14, 2025
1 parent b8bb31b commit 8902e0d
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 150 deletions.

This file was deleted.

152 changes: 79 additions & 73 deletions deeplink-generator/seeding/Retail_searchByCatalog.json
Original file line number Diff line number Diff line change
@@ -1,77 +1,83 @@
{
"name": "SearchByCatalog",
"description": "Template to return an entire catalog for a particular seller",
"value": {
"context": {
"domain": {
"type": "string",
"filler": "user",
"enum": [
{
"name": "Grocery",
"value": "ONDC:RET10"
},
{
"name": "Fashion",
"value": "ONDC:RET12"
},
{
"name": "BPC",
"value": "ONDC:RET13"
}
],
"onChange": "updateCategoryValues"
},
"action": "search",
"country": {
"filler": "pg",
"type": "string"
},
"city": {
"filler": "pg",
"type": "string"
},
"core_version": "1.2.0",
"bap_id": {
"filler": "pg",
"type": "string"
},
"bap_uri": {
"filler": "pg",
"type": "string"
},
"bpp_id": {
"filler": "user",
"type": "string"
},
"bpp_uri": {
"filler": "user",
"type": "string"
},
"transaction_id": {
"filler": "pg",
"type": "string"
},
"message_id": {
"filler": "pg",
"type": "string"
},
"timestamp": {
"filler": "pg",
"type": "string"
},
"ttl": "PT30S"
"name": "SearchByCatalog",
"description": "Template to return an entire catalog for a particular seller",
"value": {
"context": {
"domain": {
"type": "string",
"filler": "user",
"enum": [
{
"name": "Grocery",
"value": "ONDC:RET10"
},
{
"name": "Fashion",
"value": "ONDC:RET12"
},
{
"name": "BPC",
"value": "ONDC:RET13"
}
],
"onChange": "updateCategoryValues"
},
"message": {
"intent": {
"payment": {
"@ondc/org/buyer_app_finder_fee_type": "percent",
"@ondc/org/buyer_app_finder_fee_amount": "5"
}
"action": "search",
"country": {
"filler": "pg",
"type": "string"
},
"city": {
"filler": "pg",
"type": "string"
},
"core_version": "1.2.0",
"bap_id": {
"filler": "pg",
"type": "string"
},
"bap_uri": {
"filler": "pg",
"type": "string"
},
"bpp_id": {
"filler": "user",
"type": "string"
},
"bpp_uri": {
"filler": "user",
"type": "string"
},
"transaction_id": {
"filler": "pg",
"type": "string"
},
"message_id": {
"filler": "pg",
"type": "string"
},
"timestamp": {
"filler": "pg",
"type": "string"
},
"ttl": "PT30S"
},
"message": {
"intent": {
"provider": {
"id": {
"filler": "user",
"type": "string"
}
},
"payment": {
"@ondc/org/buyer_app_finder_fee_type": "percent",
"@ondc/org/buyer_app_finder_fee_amount": "5"
}
},
"templateStage": "SUBMITTED",
"category": "Retail",
"subCategory": "Seller-Catalog Search"
}
}
}
},
"templateStage": "SUBMITTED",
"category": "Retail",
"subCategory": "Seller-Catalog Search"
}

0 comments on commit 8902e0d

Please sign in to comment.