Skip to content

Commit

Permalink
update SDK from api-definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
rebilly-machine-user authored Feb 13, 2024
1 parent bb01a4d commit f5c1fbb
Show file tree
Hide file tree
Showing 128 changed files with 4,797 additions and 2,304 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-bags-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add depositRequestId to Transaction response Rebilly/api-definitions#1762
5 changes: 5 additions & 0 deletions .changeset/brown-ligers-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add round amount after DCC to gateway account setting Rebilly/api-definitions#1714
5 changes: 5 additions & 0 deletions .changeset/clean-buttons-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Bump @redocly/portal from 0.65.7 to 0.67.1 Rebilly/api-definitions#1723
5 changes: 5 additions & 0 deletions .changeset/cuddly-chefs-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Use FQCN in PHP SDK 3.x code samples Rebilly/api-definitions#1725
5 changes: 5 additions & 0 deletions .changeset/fair-crabs-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Rename risk metadata vpnServiceName to hostingName Rebilly/api-definitions#1724
5 changes: 5 additions & 0 deletions .changeset/fast-cars-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add Storefront update usage limits Rebilly/api-definitions#1775
5 changes: 5 additions & 0 deletions .changeset/fifty-dolphins-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add Invoice delinquencyTime Rebilly/api-definitions#1746
5 changes: 5 additions & 0 deletions .changeset/flat-forks-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Rename Storefront tags Rebilly/api-definitions#1738
5 changes: 5 additions & 0 deletions .changeset/flat-tools-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add missing security for Storefront operations Rebilly/api-definitions#1740
5 changes: 5 additions & 0 deletions .changeset/fluffy-pans-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Rename Storefront POST Order to Subscriptions Rebilly/api-definitions#1777
5 changes: 5 additions & 0 deletions .changeset/forty-houses-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

add faceLivenessRequired Rebilly/api-definitions#1774
5 changes: 5 additions & 0 deletions .changeset/friendly-snails-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add quantityFilled and its update Rebilly/api-definitions#1754
5 changes: 5 additions & 0 deletions .changeset/fuzzy-houses-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add Klarna payNowStandalone to settings Rebilly/api-definitions#1718
5 changes: 5 additions & 0 deletions .changeset/great-wasps-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Fix dispute schema Rebilly/api-definitions#1716
5 changes: 5 additions & 0 deletions .changeset/heavy-lemons-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add payoutRequestId to Transaction Rebilly/api-definitions#1768
5 changes: 5 additions & 0 deletions .changeset/heavy-mayflies-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Bump @redocly/cli from 1.8.0 to 1.8.1 Rebilly/api-definitions#1758
5 changes: 5 additions & 0 deletions .changeset/khaki-clocks-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Bump @redocly/cli from 1.7.0 to 1.8.0 Rebilly/api-definitions#1756
5 changes: 5 additions & 0 deletions .changeset/large-eggs-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add deposit-request transactionIds Rebilly/api-definitions#1772
5 changes: 5 additions & 0 deletions .changeset/late-spoons-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Remove Subscription from upcoming invoice Rebilly/api-definitions#1781
5 changes: 5 additions & 0 deletions .changeset/lemon-gorillas-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add expand parameter to Storefront invoices Rebilly/api-definitions#1770
5 changes: 5 additions & 0 deletions .changeset/little-beers-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Fis Storefront get order expand Rebilly/api-definitions#1785
5 changes: 5 additions & 0 deletions .changeset/long-emus-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add PO box to StorefrontPurchase Rebilly/api-definitions#1743
5 changes: 5 additions & 0 deletions .changeset/metal-shrimps-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Remove Worldpay enableStoredCredentials in favour of enforceStoredCredentails Rebilly/api-definitions#1747
5 changes: 5 additions & 0 deletions .changeset/moody-rockets-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Update README links Rebilly/api-definitions#1739
5 changes: 5 additions & 0 deletions .changeset/nervous-ducks-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Update sample Rebilly/api-definitions#1780
5 changes: 5 additions & 0 deletions .changeset/nice-masks-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Fix Plan periodAnchorInstruction Rebilly/api-definitions#1759
5 changes: 5 additions & 0 deletions .changeset/olive-kings-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

fix(dependancy): Override typesense axios version Rebilly/api-definitions#1737
5 changes: 5 additions & 0 deletions .changeset/pink-flies-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add and to StorefrontTransaction Rebilly/api-definitions#1745
5 changes: 5 additions & 0 deletions .changeset/pink-spoons-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add delinquencyPeriod property to Subscription resource Rebilly/api-definitions#1722
5 changes: 5 additions & 0 deletions .changeset/poor-shoes-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Fix broken links Rebilly/api-definitions#1787
5 changes: 5 additions & 0 deletions .changeset/pretty-candles-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add setting and credentials to Awepay Rebilly/api-definitions#1719
5 changes: 5 additions & 0 deletions .changeset/purple-dragons-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Allow resetTime to be null Rebilly/api-definitions#1696
5 changes: 5 additions & 0 deletions .changeset/quiet-bulldogs-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Update score description Rebilly/api-definitions#1749
5 changes: 5 additions & 0 deletions .changeset/rich-gorillas-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Bump @redocly/cli from 1.8.1 to 1.8.2 Rebilly/api-definitions#1773
5 changes: 5 additions & 0 deletions .changeset/rotten-masks-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add Storefront Order expand Rebilly/api-definitions#1782
5 changes: 5 additions & 0 deletions .changeset/rude-planets-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add rich billing portal Rebilly/api-definitions#1686
5 changes: 5 additions & 0 deletions .changeset/smooth-nails-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add Ready To Payout operations Rebilly/api-definitions#1649
5 changes: 5 additions & 0 deletions .changeset/spotty-oranges-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Update references and readme Rebilly/api-definitions#1731
5 changes: 5 additions & 0 deletions .changeset/stale-chairs-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add enforceStoredCredentials setting for Worldpay Rebilly/api-definitions#1741
5 changes: 5 additions & 0 deletions .changeset/strange-hotels-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Make \_links of plan schemas read only Rebilly/api-definitions#1744
5 changes: 5 additions & 0 deletions .changeset/stupid-moons-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

add new status to deposit request Rebilly/api-definitions#1765
5 changes: 5 additions & 0 deletions .changeset/swift-hairs-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add quote for change items/reactivate order Rebilly/api-definitions#1727
5 changes: 5 additions & 0 deletions .changeset/swift-parrots-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Bump @redocly/cli from 1.5.0 to 1.7.0 Rebilly/api-definitions#1750
5 changes: 5 additions & 0 deletions .changeset/swift-shirts-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add expand param to Storefront rich billing portals Rebilly/api-definitions#1779
5 changes: 5 additions & 0 deletions .changeset/tall-rats-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add specification for UpcomingInvoice Rebilly/api-definitions#1748
5 changes: 5 additions & 0 deletions .changeset/tame-gorillas-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Rename subscription yaml files Rebilly/api-definitions#1735
5 changes: 5 additions & 0 deletions .changeset/tame-walls-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Fix UpcomingInvoice \_links Rebilly/api-definitions#1753
5 changes: 5 additions & 0 deletions .changeset/tender-dolphins-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Upgrade to @redocly/realm.v0.76.1. Rebilly/api-definitions#1788
5 changes: 5 additions & 0 deletions .changeset/tender-plants-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add detail to face liveness description Rebilly/api-definitions#1776
5 changes: 5 additions & 0 deletions .changeset/thick-weeks-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Remove invalid property from declined report Rebilly/api-definitions#1712
5 changes: 5 additions & 0 deletions .changeset/thirty-cherries-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add gateway object to StorefrontTransaction Rebilly/api-definitions#1736
5 changes: 5 additions & 0 deletions .changeset/tidy-ghosts-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add address-based and refactor AML confidence settings Rebilly/api-definitions#1697
5 changes: 5 additions & 0 deletions .changeset/twenty-cows-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add sftpKeyPassphrase to Truevo Rebilly/api-definitions#1733
5 changes: 5 additions & 0 deletions .changeset/twenty-tables-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add example for regex pattern properties Rebilly/api-definitions#1720
5 changes: 5 additions & 0 deletions .changeset/violet-grapes-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Update outdated subscription code examples Rebilly/api-definitions#1742
5 changes: 5 additions & 0 deletions .changeset/violet-suns-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Update notificationUrl descriptions Rebilly/api-definitions#1764
5 changes: 5 additions & 0 deletions .changeset/wicked-jeans-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rebilly/client-php": patch
---

Add acceptance conditions to quotes Rebilly/api-definitions#1760
9 changes: 5 additions & 4 deletions src/Api/DisputesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
use GuzzleHttp\Utils;
use Rebilly\Sdk\Collection;
use Rebilly\Sdk\Model\Dispute;
use Rebilly\Sdk\Model\PostDisputeRequest;
use Rebilly\Sdk\Paginator;

class DisputesApi
Expand All @@ -30,11 +31,11 @@ public function __construct(protected ?ClientInterface $client)
* @return Dispute
*/
public function create(
Dispute $dispute,
PostDisputeRequest $postDisputeRequest,
): Dispute {
$uri = '/disputes';

$request = new Request('POST', $uri, body: Utils::jsonEncode($dispute));
$request = new Request('POST', $uri, body: Utils::jsonEncode($postDisputeRequest));
$response = $this->client->send($request);
$data = Utils::jsonDecode((string) $response->getBody(), true);

Expand Down Expand Up @@ -121,15 +122,15 @@ public function getAllPaginator(
*/
public function update(
string $id,
Dispute $dispute,
PostDisputeRequest $postDisputeRequest,
): Dispute {
$pathParams = [
'{id}' => $id,
];

$uri = str_replace(array_keys($pathParams), array_values($pathParams), '/disputes/{id}');

$request = new Request('PUT', $uri, body: Utils::jsonEncode($dispute));
$request = new Request('PUT', $uri, body: Utils::jsonEncode($postDisputeRequest));
$response = $this->client->send($request);
$data = Utils::jsonDecode((string) $response->getBody(), true);

Expand Down
Loading

0 comments on commit f5c1fbb

Please sign in to comment.