diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 8897b5d..dbc28e0 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96 management: - docChecksum: f3ea51a606238d49d3b0b22c61387b74 + docChecksum: 2e29304d123e35c2bf5bfc8eb02ad913 docVersion: 0.0.1 - speakeasyVersion: 1.393.2 + speakeasyVersion: 1.394.0 generationVersion: 2.413.0 - releaseVersion: 0.4.3 - configChecksum: 136d9defe266f7b1b16c0a8f5b76f417 + releaseVersion: 0.4.4 + configChecksum: 895835354c3bc647c359748fd7a66e34 repoURL: https://github.com/dubinc/dub-php.git installationURL: https://github.com/dubinc/dub-php published: true diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index a71314e..0ade5b2 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true php: - version: 0.4.3 + version: 0.4.4 clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2211752..10b9d0f 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.393.2 +speakeasyVersion: 1.394.0 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:9a566ea925f469f3ac55dd60aae464940d7a63f9e2c605ada21920fba894272e - sourceBlobDigest: sha256:6e4b36edcd15f9f7565d4a72a73a36a1672841db4858ed5803f833413e2c5945 + sourceRevisionDigest: sha256:300a4af029f93c019da3287bab7583a75a62746ef634115cc81558b5a4622441 + sourceBlobDigest: sha256:dbd9b5ac92513bb5697e6183470625d04290061c04d68d3507b753dbdba3ebe9 tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:9a566ea925f469f3ac55dd60aae464940d7a63f9e2c605ada21920fba894272e - sourceBlobDigest: sha256:6e4b36edcd15f9f7565d4a72a73a36a1672841db4858ed5803f833413e2c5945 + sourceRevisionDigest: sha256:300a4af029f93c019da3287bab7583a75a62746ef634115cc81558b5a4622441 + sourceBlobDigest: sha256:dbd9b5ac92513bb5697e6183470625d04290061c04d68d3507b753dbdba3ebe9 codeSamplesNamespace: code-samples-php-my-first-target - codeSamplesRevisionDigest: sha256:71bf333adc82345b226901d14727c17d5dc7e4b735010bff2d6ec231029c052d + codeSamplesRevisionDigest: sha256:457a3ba3abecfe0475a96c71b1174e617c8a436327bff539caa777fc3948406f outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/RELEASES.md b/RELEASES.md index f586445..03d303c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -170,4 +170,14 @@ Based on: ### Generated - [php v0.4.3] . ### Releases -- [Composer v0.4.3] https://packagist.org/packages/dub/dub-php#v0.4.3 - . \ No newline at end of file +- [Composer v0.4.3] https://packagist.org/packages/dub/dub-php#v0.4.3 - . + +## 2024-09-10 05:12:50 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.394.0 (2.413.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.4.4] . +### Releases +- [Composer v0.4.4] https://packagist.org/packages/dub/dub-php#v0.4.4 - . \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsBrowsers.md b/docs/Models/Components/AnalyticsBrowsers.md index 44347ef..e592ed8 100644 --- a/docs/Models/Components/AnalyticsBrowsers.md +++ b/docs/Models/Components/AnalyticsBrowsers.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| `browser` | *string* | :heavy_check_mark: | The name of the browser | -| `clicks` | *float* | :heavy_check_mark: | The number of clicks from this browser | -| `leads` | *float* | :heavy_check_mark: | The number of leads from this browser | -| `sales` | *float* | :heavy_check_mark: | The number of sales from this browser | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this browser | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `browser` | *string* | :heavy_check_mark: | The name of the browser | +| `clicks` | *float* | :heavy_check_mark: | The number of clicks from this browser | +| `leads` | *float* | :heavy_check_mark: | The number of leads from this browser | +| `sales` | *float* | :heavy_check_mark: | The number of sales from this browser | +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this browser, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsCities.md b/docs/Models/Components/AnalyticsCities.md index 4ab272c..0950f50 100644 --- a/docs/Models/Components/AnalyticsCities.md +++ b/docs/Models/Components/AnalyticsCities.md @@ -10,4 +10,4 @@ | `clicks` | *float* | :heavy_check_mark: | The number of clicks from this city | | `leads` | *float* | :heavy_check_mark: | The number of leads from this city | | `sales` | *float* | :heavy_check_mark: | The number of sales from this city | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this city | \ No newline at end of file +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this city, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsCount.md b/docs/Models/Components/AnalyticsCount.md index 3fa9e46..ee26fbb 100644 --- a/docs/Models/Components/AnalyticsCount.md +++ b/docs/Models/Components/AnalyticsCount.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `clicks` | *float* | :heavy_check_mark: | The total number of clicks | -| `leads` | *float* | :heavy_check_mark: | The total number of leads | -| `sales` | *float* | :heavy_check_mark: | The total number of sales | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `clicks` | *float* | :heavy_check_mark: | The total number of clicks | +| `leads` | *float* | :heavy_check_mark: | The total number of leads | +| `sales` | *float* | :heavy_check_mark: | The total number of sales | +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsCountries.md b/docs/Models/Components/AnalyticsCountries.md index 508ddb8..73fb9ad 100644 --- a/docs/Models/Components/AnalyticsCountries.md +++ b/docs/Models/Components/AnalyticsCountries.md @@ -10,4 +10,4 @@ | `clicks` | *float* | :heavy_check_mark: | The number of clicks from this country | | `leads` | *float* | :heavy_check_mark: | The number of leads from this country | | `sales` | *float* | :heavy_check_mark: | The number of sales from this country | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this country | \ No newline at end of file +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this country, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsDevices.md b/docs/Models/Components/AnalyticsDevices.md index aeb9cde..83e328f 100644 --- a/docs/Models/Components/AnalyticsDevices.md +++ b/docs/Models/Components/AnalyticsDevices.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `device` | *string* | :heavy_check_mark: | The name of the device | -| `clicks` | *float* | :heavy_check_mark: | The number of clicks from this device | -| `leads` | *float* | :heavy_check_mark: | The number of leads from this device | -| `sales` | *float* | :heavy_check_mark: | The number of sales from this device | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this device | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `device` | *string* | :heavy_check_mark: | The name of the device | +| `clicks` | *float* | :heavy_check_mark: | The number of clicks from this device | +| `leads` | *float* | :heavy_check_mark: | The number of leads from this device | +| `sales` | *float* | :heavy_check_mark: | The number of sales from this device | +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this device, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsOS.md b/docs/Models/Components/AnalyticsOS.md index cc0f6a2..3ce4340 100644 --- a/docs/Models/Components/AnalyticsOS.md +++ b/docs/Models/Components/AnalyticsOS.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `os` | *string* | :heavy_check_mark: | The name of the OS | -| `clicks` | *float* | :heavy_check_mark: | The number of clicks from this OS | -| `leads` | *float* | :heavy_check_mark: | The number of leads from this OS | -| `sales` | *float* | :heavy_check_mark: | The number of sales from this OS | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this OS | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `os` | *string* | :heavy_check_mark: | The name of the OS | +| `clicks` | *float* | :heavy_check_mark: | The number of clicks from this OS | +| `leads` | *float* | :heavy_check_mark: | The number of leads from this OS | +| `sales` | *float* | :heavy_check_mark: | The number of sales from this OS | +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this OS, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsReferers.md b/docs/Models/Components/AnalyticsReferers.md index 2bc6fd9..65947c9 100644 --- a/docs/Models/Components/AnalyticsReferers.md +++ b/docs/Models/Components/AnalyticsReferers.md @@ -9,4 +9,4 @@ | `clicks` | *float* | :heavy_check_mark: | The number of clicks from this referer | | `leads` | *float* | :heavy_check_mark: | The number of leads from this referer | | `sales` | *float* | :heavy_check_mark: | The number of sales from this referer | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this referer | \ No newline at end of file +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this referer, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsTimeseries.md b/docs/Models/Components/AnalyticsTimeseries.md index bac7562..30a95e0 100644 --- a/docs/Models/Components/AnalyticsTimeseries.md +++ b/docs/Models/Components/AnalyticsTimeseries.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -| `start` | *string* | :heavy_check_mark: | The starting timestamp of the interval | -| `clicks` | *float* | :heavy_check_mark: | The number of clicks in the interval | -| `leads` | *float* | :heavy_check_mark: | The number of leads in the interval | -| `sales` | *float* | :heavy_check_mark: | The number of sales in the interval | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales in the interval | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `start` | *string* | :heavy_check_mark: | The starting timestamp of the interval | +| `clicks` | *float* | :heavy_check_mark: | The number of clicks in the interval | +| `leads` | *float* | :heavy_check_mark: | The number of leads in the interval | +| `sales` | *float* | :heavy_check_mark: | The number of sales in the interval | +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales in the interval, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsTopLinks.md b/docs/Models/Components/AnalyticsTopLinks.md index e6e9e94..bca41cd 100644 --- a/docs/Models/Components/AnalyticsTopLinks.md +++ b/docs/Models/Components/AnalyticsTopLinks.md @@ -15,4 +15,4 @@ | `clicks` | *float* | :heavy_check_mark: | The number of clicks from this link | | `leads` | *float* | :heavy_check_mark: | The number of leads from this link | | `sales` | *float* | :heavy_check_mark: | The number of sales from this link | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this link | \ No newline at end of file +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this link, in cents | \ No newline at end of file diff --git a/docs/Models/Components/AnalyticsTopUrls.md b/docs/Models/Components/AnalyticsTopUrls.md index 6c2490d..3525963 100644 --- a/docs/Models/Components/AnalyticsTopUrls.md +++ b/docs/Models/Components/AnalyticsTopUrls.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `url` | *string* | :heavy_check_mark: | The destination URL | -| `clicks` | *float* | :heavy_check_mark: | The number of clicks from this URL | -| `leads` | *float* | :heavy_check_mark: | The number of leads from this URL | -| `sales` | *float* | :heavy_check_mark: | The number of sales from this URL | -| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this URL | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `url` | *string* | :heavy_check_mark: | The destination URL | +| `clicks` | *float* | :heavy_check_mark: | The number of clicks from this URL | +| `leads` | *float* | :heavy_check_mark: | The number of leads from this URL | +| `sales` | *float* | :heavy_check_mark: | The number of sales from this URL | +| `saleAmount` | *float* | :heavy_check_mark: | The total amount of sales from this URL, in cents | \ No newline at end of file diff --git a/docs/Models/Components/Link.md b/docs/Models/Components/Link.md index 056b5ab..bdf208d 100644 --- a/docs/Models/Components/Link.md +++ b/docs/Models/Components/Link.md @@ -30,7 +30,7 @@ | `utmCampaign` | *string* | :heavy_check_mark: | The UTM campaign of the short link. | | `utmTerm` | *string* | :heavy_check_mark: | The UTM term of the short link. | | `utmContent` | *string* | :heavy_check_mark: | The UTM content of the short link. | -| `userId` | *string* | :heavy_check_mark: | The user ID of the creator of the short link. | +| `userId` | *string* | :heavy_check_mark: | N/A | | `workspaceId` | *string* | :heavy_check_mark: | The workspace ID of the short link. | | `clicks` | *float* | :heavy_check_mark: | The number of clicks on the short link. | | `lastClicked` | *string* | :heavy_check_mark: | N/A | diff --git a/src/Models/Components/AnalyticsBrowsers.php b/src/Models/Components/AnalyticsBrowsers.php index cc27607..ccf57f8 100644 --- a/src/Models/Components/AnalyticsBrowsers.php +++ b/src/Models/Components/AnalyticsBrowsers.php @@ -44,7 +44,7 @@ class AnalyticsBrowsers public float $sales; /** - * The total amount of sales from this browser + * The total amount of sales from this browser, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsCities.php b/src/Models/Components/AnalyticsCities.php index f549dea..7714da7 100644 --- a/src/Models/Components/AnalyticsCities.php +++ b/src/Models/Components/AnalyticsCities.php @@ -53,7 +53,7 @@ class AnalyticsCities public float $sales; /** - * The total amount of sales from this city + * The total amount of sales from this city, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsCount.php b/src/Models/Components/AnalyticsCount.php index 079b0b1..bf796fd 100644 --- a/src/Models/Components/AnalyticsCount.php +++ b/src/Models/Components/AnalyticsCount.php @@ -36,7 +36,7 @@ class AnalyticsCount public float $sales; /** - * The total amount of sales + * The total amount of sales, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsCountries.php b/src/Models/Components/AnalyticsCountries.php index 014fa69..4ebecd3 100644 --- a/src/Models/Components/AnalyticsCountries.php +++ b/src/Models/Components/AnalyticsCountries.php @@ -53,7 +53,7 @@ class AnalyticsCountries public float $sales; /** - * The total amount of sales from this country + * The total amount of sales from this country, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsDevices.php b/src/Models/Components/AnalyticsDevices.php index 2a9f739..ed1f147 100644 --- a/src/Models/Components/AnalyticsDevices.php +++ b/src/Models/Components/AnalyticsDevices.php @@ -44,7 +44,7 @@ class AnalyticsDevices public float $sales; /** - * The total amount of sales from this device + * The total amount of sales from this device, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsOS.php b/src/Models/Components/AnalyticsOS.php index 2e28b89..45dbe86 100644 --- a/src/Models/Components/AnalyticsOS.php +++ b/src/Models/Components/AnalyticsOS.php @@ -44,7 +44,7 @@ class AnalyticsOS public float $sales; /** - * The total amount of sales from this OS + * The total amount of sales from this OS, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsReferers.php b/src/Models/Components/AnalyticsReferers.php index 26f4262..24a7483 100644 --- a/src/Models/Components/AnalyticsReferers.php +++ b/src/Models/Components/AnalyticsReferers.php @@ -44,7 +44,7 @@ class AnalyticsReferers public float $sales; /** - * The total amount of sales from this referer + * The total amount of sales from this referer, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsTimeseries.php b/src/Models/Components/AnalyticsTimeseries.php index 6e858dc..882dd7d 100644 --- a/src/Models/Components/AnalyticsTimeseries.php +++ b/src/Models/Components/AnalyticsTimeseries.php @@ -44,7 +44,7 @@ class AnalyticsTimeseries public float $sales; /** - * The total amount of sales in the interval + * The total amount of sales in the interval, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsTopLinks.php b/src/Models/Components/AnalyticsTopLinks.php index faf46f3..feb003c 100644 --- a/src/Models/Components/AnalyticsTopLinks.php +++ b/src/Models/Components/AnalyticsTopLinks.php @@ -93,7 +93,7 @@ class AnalyticsTopLinks public float $sales; /** - * The total amount of sales from this link + * The total amount of sales from this link, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/AnalyticsTopUrls.php b/src/Models/Components/AnalyticsTopUrls.php index 149f944..b215e48 100644 --- a/src/Models/Components/AnalyticsTopUrls.php +++ b/src/Models/Components/AnalyticsTopUrls.php @@ -44,7 +44,7 @@ class AnalyticsTopUrls public float $sales; /** - * The total amount of sales from this URL + * The total amount of sales from this URL, in cents * * @var float $saleAmount */ diff --git a/src/Models/Components/Link.php b/src/Models/Components/Link.php index 7b8db5d..56c4813 100644 --- a/src/Models/Components/Link.php +++ b/src/Models/Components/Link.php @@ -261,7 +261,6 @@ class Link public string $utmContent; /** - * The user ID of the creator of the short link. * * @var string $userId */ diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 3f53335..4ddd822 100644 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -27,11 +27,11 @@ class SDKConfiguration public string $openapiDocVersion = '0.0.1'; - public string $sdkVersion = '0.4.3'; + public string $sdkVersion = '0.4.4'; public string $genVersion = '2.413.0'; - public string $userAgent = 'speakeasy-sdk/php 0.4.3 2.413.0 0.0.1 dub/dub-php'; + public string $userAgent = 'speakeasy-sdk/php 0.4.4 2.413.0 0.0.1 dub/dub-php'; public function getServerUrl(): string {