Bump DataTable from 2.3.3 to 2.3.4, TinyMCE 8.0.2 to 8.2.0, Stripe-PHP 17.6.0 to 18.1.0, PHPMailer from 6.10.0 to 7.0.0, chartjs from 4.5.0 to 4.5.1

This commit is contained in:
johnnyq
2025-11-02 16:44:59 -05:00
parent 7ea39eb545
commit f733a27ad7
170 changed files with 2280 additions and 885 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Stripe\Events;
use Stripe\V2\Core\EventNotification;
/**
* A class representing an EventNotification that the SDK doesn't have types for.
*
* @property null|\Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event.
*/
class UnknownEventNotification extends EventNotification
{
public $related_object;
/**
* Retrieve the event's related object from the Stripe API, if one exists. Returns null otherwise.
*
* @return null|\Stripe\StripeObject
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}

View File

@@ -8,7 +8,7 @@ namespace Stripe\Events;
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
* @property \Stripe\EventData\V1BillingMeterErrorReportTriggeredEventData $data data associated with the event
*/
class V1BillingMeterErrorReportTriggeredEvent extends \Stripe\V2\Event
class V1BillingMeterErrorReportTriggeredEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v1.billing.meter.error_report_triggered';
@@ -22,14 +22,9 @@ class V1BillingMeterErrorReportTriggeredEvent extends \Stripe\V2\Event
public function fetchRelatedObject()
{
$apiMode = \Stripe\Util\Util::getApiMode($this->related_object->url);
list($object, $options) = $this->_request(
'get',
$this->related_object->url,
[],
['stripe_account' => $this->context],
[],
$apiMode
);
list($object, $options) = $this->_request('get', $this->related_object->url, [], [
'stripe_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}

View File

@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V1BillingMeterErrorReportTriggeredEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v1.billing.meter.error_report_triggered';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V1BillingMeterErrorReportTriggeredEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\Billing\Meter
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}

View File

@@ -7,7 +7,7 @@ namespace Stripe\Events;
/**
* @property \Stripe\EventData\V1BillingMeterNoMeterFoundEventData $data data associated with the event
*/
class V1BillingMeterNoMeterFoundEvent extends \Stripe\V2\Event
class V1BillingMeterNoMeterFoundEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v1.billing.meter.no_meter_found';

View File

@@ -0,0 +1,22 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
class V1BillingMeterNoMeterFoundEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v1.billing.meter.no_meter_found';
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V1BillingMeterNoMeterFoundEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
}

View File

@@ -7,28 +7,23 @@ namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreEventDestinationPingEvent extends \Stripe\V2\Event
class V2CoreEventDestinationPingEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.event_destination.ping';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\EventDestination
* @return \Stripe\V2\Core\EventDestination
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
$apiMode = \Stripe\Util\Util::getApiMode($this->related_object->url);
list($object, $options) = $this->_request(
'get',
$this->related_object->url,
[],
['stripe_account' => $this->context],
[],
$apiMode
);
list($object, $options) = $this->_request('get', $this->related_object->url, [], [
'stripe_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}

View File

@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreEventDestinationPingEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.event_destination.ping';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreEventDestinationPingEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\EventDestination
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}