Skip to content

Commit 913d8fb

Browse files
authored
Merge pull request #373 from Azuro-protocol/fix/freebet
Fix/freebet
2 parents 1e27d23 + 71c92fb commit 913d8fb

4 files changed

Lines changed: 5 additions & 11 deletions

File tree

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

pages/hub/_meta.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
{
22
"index": "🚀 Developer Hub",
3-
"protocol-v3": {
4-
"title": "Azuro Protocol V3",
5-
"theme": {
6-
"collapsed": false
7-
}
8-
},
93
"apps": {
104
"title":"🔮 For applications",
115
"theme": {

pages/hub/apps/guides/freebets/third-party.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ curl -X 'POST' \
7676
}'
7777
```
7878

79-
### Create bonus by offer
79+
### Distribution bonus by offer
8080
**Endpoint:** `/api/v1/public/bonus/external/create`
8181

8282
**Request:** [CreateBonusDto](/hub/apps/guides/freebets/types#createbonusdto)

pages/hub/apps/guides/freebets/types.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ https://api.onchainfeed.org/api/v1/public/gateway/docs
256256
| **id** | string | Unique identifier of the bonus | Yes |
257257
| **bonusType** | [BonusType](#bonustype) | Type of the bonus | Yes |
258258
| **freebetParam** | [FreebetParam](#freebetparam) | Parameters specific to freebet | Yes |
259-
| **publicCustomData** | object | This field is custom and arbitrary, meaning it is defined by the offer creators. It is used for any additional technical information that may be needed for integration with your systems. It prohibits dangerous constructs such as `<script>` to ensure safe usage. | No |
259+
| **publicCustomData** | object (JSON) | This field is custom and arbitrary, meaning it is defined by the offer creators. It is used for any additional technical information that may be needed for integration with your systems. It prohibits dangerous constructs such as `<script>` to ensure safe usage. `Max length 500` | No |
260260
| **address** | string | Wallet address | Yes |
261261
| **amount** | string | Bonus amount | Yes |
262262
| **status** | [BonusStatus](#bonusstatus) | Current status of the bonus | Yes |
@@ -317,7 +317,7 @@ https://api.onchainfeed.org/api/v1/public/gateway/docs
317317
|-------|------|-------------|----------|
318318
| **name** | string | Name of the freebet offer | Yes |
319319
| **key** | string | Unique key for the offer | Yes |
320-
| **publicCustomData** | object | This field is custom and arbitrary, meaning it is defined by the offer creators. It is used for any additional technical information that may be needed for integration with your systems. It prohibits dangerous constructs such as `<script>` to ensure safe usage. | No |
320+
| **publicCustomData** | object (JSON) | This field is custom and arbitrary, meaning it is defined by the offer creators. It is used for any additional technical information that may be needed for integration with your systems. It prohibits dangerous constructs such as `<script>` to ensure safe usage. `Max length 500` | No |
321321
| **description** | string | Description of the offer | No |
322322
| **settings** | [FreebetSettings](#freebetsettings) | Freebet settings configuration | Yes |
323323
</Tab>
@@ -412,7 +412,7 @@ https://api.onchainfeed.org/api/v1/public/gateway/docs
412412
| **key** | string | Unique key for the offer | Yes |
413413
| **description** | string | Description of the offer | Yes |
414414
| **settings** | [FreebetSettings](#freebetsettings) | Freebet settings configuration | Yes |
415-
| **publicCustomData** | object | Custom data for public use | No |
415+
| **publicCustomData** | object (JSON) | This field is custom and arbitrary, meaning it is defined by the offer creators. It is used for any additional technical information that may be needed for integration with your systems. It prohibits dangerous constructs such as `<script>` to ensure safe usage. `Max length 500` | No |
416416
| **createdAt** | Date | Creation timestamp | Yes |
417417
| **operator** | [OperatorResponse](#operatorresponse) | Operator model | No |
418418
</Tab>

0 commit comments

Comments
 (0)