feat: initial

This commit is contained in:
2026-05-19 13:01:12 +03:30
commit eaec696a1b
66 changed files with 1682 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
info:
name: Create Product
type: http
seq: 1
http:
method: POST
url: "{{baseUrl}}/package-names/:name/products"
params:
- name: name
value: com.approagency.ai
type: path
body:
type: multipart-form
data:
- name: title
type: text
value: اشتراک سالانه
- name: price
type: text
value: "200000"
description: toman
- name: type
type: text
value: "2"
description: |-
permanent' => 1,
yearly' => 2,
6monthl' => 3,
'monthly' => 4
- name: descriptions[0]
type: text
value: ""
disabled: true
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
+22
View File
@@ -0,0 +1,22 @@
info:
name: Delete Product
type: http
seq: 3
http:
method: DELETE
url: "{{baseUrl}}/package-names/:name/products/:product_id"
params:
- name: name
value: com.vada.karvarz
type: path
- name: product_id
value: ""
type: path
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
+19
View File
@@ -0,0 +1,19 @@
info:
name: Get Products
type: http
seq: 4
http:
method: GET
url: "{{baseUrl}}/package-names/:name/products"
params:
- name: name
value: com.approagency.meditation
type: path
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
+29
View File
@@ -0,0 +1,29 @@
info:
name: Subscribe To Products
type: http
seq: 5
http:
method: PUT
url: "{{baseUrl}}/package-names/:name/products/:product_id/subscribe"
params:
- name: name
value: hamrah.mechanic
type: path
- name: product_id
value: "1"
type: path
body:
type: json
data: |-
{
"purchase_token": "aolXNLJkZ4HtgUXA",
"gateway": "myket"
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
+30
View File
@@ -0,0 +1,30 @@
info:
name: Update Product
type: http
seq: 2
http:
method: PATCH
url: "{{baseUrl}}/package-names/:name/products/:product_id"
params:
- name: name
value: com.approagency.meditation
type: path
- name: product_id
value: "1"
type: path
body:
type: json
data: |-
{
"title": "اشتراک ماهانه",
"price": 1000,
"type": 4
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
+7
View File
@@ -0,0 +1,7 @@
info:
name: Product
type: folder
seq: 2
request:
auth: inherit