-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
345 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"title": "Subscription", | ||
"description": "Souscription Toaztr", | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"description": "Type de souscription.", | ||
"enum": [ | ||
"LICENSE" | ||
] | ||
}, | ||
"status": { | ||
"type": "string", | ||
"description": "Status de la souscription.", | ||
"enum": [ | ||
"ACTIVE", | ||
"CLOSED" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"type", | ||
"status" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"title": "SubscriptionCheckoutParameters", | ||
"description": "Parametres pour initier le checkout d'une souscription", | ||
"type": "object", | ||
"properties": { | ||
"success_url": { | ||
"type": "string", | ||
"description": "URL de retour en cas de succès du checkout." | ||
}, | ||
"cancel_url": { | ||
"type": "string", | ||
"description": "URL de retour en cas d'échec du checkout." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"description": "Type de souscription.", | ||
"enum": [ | ||
"LICENSE" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"success_url", | ||
"cancel_url", | ||
"type" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"title": "SubscriptionItem", | ||
"description": "Item faisant partit d'une souscription", | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"description": "Type d'item.", | ||
"enum": [ | ||
"APP", | ||
"USER" | ||
] | ||
}, | ||
"ref": { | ||
"type": "string", | ||
"description": "Reference de l'item." | ||
} | ||
}, | ||
"required": [ | ||
"type", | ||
"ref" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"title": "SubscriptionManagerParameters", | ||
"description": "Parametres pour initier le management d'une souscription", | ||
"type": "object", | ||
"properties": { | ||
"return_url": { | ||
"type": "string", | ||
"description": "URL de retour." | ||
} | ||
}, | ||
"required": [ | ||
"return_url" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters