Skip to content

Commit

Permalink
Generated Xendit php SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
xendit-devx-bot committed Sep 4, 2023
1 parent b10916e commit e813590
Show file tree
Hide file tree
Showing 675 changed files with 136,788 additions and 16,270 deletions.
12 changes: 0 additions & 12 deletions .editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion .env.example

This file was deleted.

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "composer" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
27 changes: 27 additions & 0 deletions .github/workflows/generate-release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Generate Release Tag
on:
repository_dispatch:
types: [create-release-tag]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set the value in bash
id: parse-changelog
run: |
echo "changelog<<EOF" >> "$GITHUB_OUTPUT"
echo "${{ github.event.client_payload.changelog }}" | tr -s '%0A' '\n' >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: Create Release
id: create-release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
with:
tag_name: v${{ github.event.client_payload.version }}
release_name: v${{ github.event.client_payload.version }}
body: ${{ steps.parse-changelog.outputs.changelog }}
draft: false
prerelease: false
38 changes: 0 additions & 38 deletions .github/workflows/php.yml

This file was deleted.

38 changes: 10 additions & 28 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore

# Created by https://www.gitignore.io/api/visualstudiocode
# Edit at https://www.gitignore.io/?templates=visualstudiocode

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

### VisualStudioCode Patch ###
# Ignore all local history of files
.history

# End of https://www.gitignore.io/api/visualstudiocode

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

# For people using composer
composer.phar
/vendor/

.idea/*

.phpunit.result.cache
clover.xml
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock

.env
# php-cs-fixer cache
.php_cs.cache
.php-cs-fixer.cache

composer.phar
composer-setup.php
bin/
# PHPUnit cache
.phpunit.result.cache
23 changes: 23 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
58 changes: 58 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
.github/dependabot.yml
.github/workflows/generate-release-tag.yml
.gitignore
.php-cs-fixer.dist.php
LICENSE
README.md
composer.json
docs/Payout.yaml
docs/Payout/Channel.md
docs/Payout/ChannelAccountType.md
docs/Payout/ChannelAmountLimits.md
docs/Payout/ChannelCategory.md
docs/Payout/CreatePayoutRequest.md
docs/Payout/DigitalPayoutChannelProperties.md
docs/Payout/Error.md
docs/Payout/ErrorErrorsInner.md
docs/Payout/GetPayouts200Response.md
docs/Payout/GetPayouts200ResponseDataInner.md
docs/Payout/GetPayouts200ResponseLinks.md
docs/Payout/Payout.md
docs/Payout/PayoutAllOf.md
docs/Payout/PayoutApi.md
docs/Payout/ReceiptNotification.md
docs/header.jpg
lib/ApiException.php
lib/Configuration.php
lib/HeaderSelector.php
lib/Model/ModelInterface.php
lib/ObjectSerializer.php
lib/Payout/Channel.php
lib/Payout/ChannelAccountType.php
lib/Payout/ChannelAmountLimits.php
lib/Payout/ChannelCategory.php
lib/Payout/CreatePayoutRequest.php
lib/Payout/DigitalPayoutChannelProperties.php
lib/Payout/Error.php
lib/Payout/ErrorErrorsInner.php
lib/Payout/GetPayouts200Response.php
lib/Payout/GetPayouts200ResponseDataInner.php
lib/Payout/GetPayouts200ResponseLinks.php
lib/Payout/Payout.php
lib/Payout/PayoutAllOf.php
lib/Payout/PayoutApi.php
lib/Payout/ReceiptNotification.php
phpunit.xml.dist
test/Api/PayoutApiTest.php
test/Model/ChannelAccountTypeTest.php
test/Model/ChannelCategoryTest.php
test/Model/ChannelTest.php
test/Model/CreatePayoutRequestTest.php
test/Model/DigitalPayoutChannelPropertiesTest.php
test/Model/ErrorErrorsInnerTest.php
test/Model/GetPayouts200ResponseDataInnerTest.php
test/Model/GetPayouts200ResponseLinksTest.php
test/Model/GetPayouts200ResponseTest.php
test/Model/PayoutAllOfTest.php
test/Model/PayoutTest.php
test/Model/ReceiptNotificationTest.php
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.6.0
29 changes: 29 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

/**
* @generated
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst
*/
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('vendor')
->exclude('test')
->exclude('tests')
;

$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
'phpdoc_order' => true,
'array_syntax' => [ 'syntax' => 'short' ],
'strict_comparison' => true,
'strict_param' => true,
'no_trailing_whitespace' => false,
'no_trailing_whitespace_in_comment' => false,
'braces' => false,
'single_blank_line_at_eof' => false,
'blank_line_after_namespace' => false,
'no_leading_import_slash' => false,
])
->setFinder($finder)
;
19 changes: 0 additions & 19 deletions .pre-commit-config.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2022 Xendit
Copyright (c) 2017-2023 Xendit

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
Loading

0 comments on commit e813590

Please sign in to comment.