-
Notifications
You must be signed in to change notification settings - Fork 10
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
1 parent
090ad70
commit d26565b
Showing
1,934 changed files
with
208,405 additions
and
1,183 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,3 @@ | ||
VOUCHERIFY_HOST=https://api.voucherify.io | ||
X_APP_ID= | ||
X_APP_TOKEN= |
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
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,34 @@ | ||
## Deprecated changelog | ||
|
||
- **2022-04-06** - `2.2.2` | ||
- Added `client.vouchers.releaseValidationSession` method | ||
- Added `client.redemptions.redeemStackable` method | ||
- Added `client.validations.validateStackable` method | ||
- **2021-05-26** - `2.2.1` | ||
- Upload new version to pypi.org. No changes compared to `2.2.0` | ||
- **2021-05-20** - `2.2.0` | ||
- Added `client.validations*` member | ||
- Added method `validateVoucher` to `client.validations` | ||
- Changed default timeout from 500 minutes to 3 minutes. Made timeout configurable | ||
- Bugfix: Fixed raising exception when response json contains property "error" | ||
- **2019-06-19** - `2.1.0` Added support for custom API endpoint, that allows to connect to projects created in specific Voucherify region. | ||
- **2018-01-20** - `2.0.0` | ||
- Moved vouchers related methods to `client.vouchers.*` namespace | ||
- Moved redemptions related methods to `client.redemptions.*` namespace | ||
- Moved distributions related methods to `client.distributions.*` namespace | ||
- Renamed `client.customer.*` to `client.customers.*` | ||
- Removed outdated `client.distributions.publish(campaignName)` method interface | ||
- Fixed utils methods to accept vouchers with `None` gift | ||
- **2016-12-02** - `1.4.2` - Support gift vouchers in utils | ||
- **2016-10-04** - `1.4.1` - Publish update | ||
- **2016-07-18** - `1.4.0` - Voucher code pattern | ||
- **2016-07-18** - `1.3.0` - Update voucher | ||
- **2016-06-23** - `1.2.1` - Gift vouchers | ||
- **2016-06-16** - `1.2.0` - Unified naming convention | ||
- **2016-06-16** - `1.1.0` - Added customer methods | ||
- **2016-06-08** - `1.0.0` - Release version | ||
- **2016-05-31** - `0.1.0` - First version: | ||
- Authentication | ||
- Voucher informations: *get*, *usage* | ||
- Voucher operations: *use* | ||
- Utils |
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,21 @@ | ||
# Use an official Python runtime as a parent image | ||
FROM python:3.8 | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
# Copy only the requirements files first to leverage Docker caching | ||
COPY requirements.txt test-requirements.txt ./ | ||
|
||
# Install dependencies | ||
RUN pip install --no-cache-dir -r requirements.txt && \ | ||
pip install --no-cache-dir -r test-requirements.txt | ||
|
||
# Set up a volume to store data | ||
VOLUME /app/data | ||
|
||
# Copy the rest of the application code | ||
COPY . . | ||
|
||
# Run the application | ||
CMD ["python", "./__tests__/main.py"] |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.