From 55bbc61054ee2066318bdce3a208e38d9f1df364 Mon Sep 17 00:00:00 2001
From: Vaggelis Yfantis
Date: Fri, 1 Nov 2024 20:59:45 +0200
Subject: [PATCH] Regenerate SDK
---
.speakeasy/gen.lock | 29 ++++++++++++++++++++++++++---
.speakeasy/gen.yaml | 2 +-
.speakeasy/workflow.lock | 18 ++++++++++++------
.speakeasy/workflow.yaml | 4 ++--
README.md | 18 +++++++++---------
src/SDKConfiguration.php | 4 ++--
6 files changed, 52 insertions(+), 23 deletions(-)
diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 3a5c49d..e584af3 100755
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -5,8 +5,8 @@ management:
docVersion: v1
speakeasyVersion: 1.424.0
generationVersion: 2.445.1
- releaseVersion: 0.2.0
- configChecksum: b3d0fedd9ec7d2aaa9d42747a05d5999
+ releaseVersion: 0.2.2
+ configChecksum: 98bb7d5dea27f048ce18e0b2e56d1a78
published: true
features:
php:
@@ -1405,6 +1405,7 @@ examples:
responses:
"401":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
GetTemplateList:
speakeasy-default-get-template-list:
parameters:
@@ -1413,6 +1414,7 @@ examples:
responses:
"400":
application/json: {"errors": []}
+ "200": {}
GetTemplate:
speakeasy-default-get-template:
parameters:
@@ -1422,6 +1424,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}]}
+ "200": {}
UpsertTemplate:
speakeasy-default-upsert-template:
parameters:
@@ -1431,6 +1434,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
RevertTemplate:
speakeasy-default-revert-template:
parameters:
@@ -1440,6 +1444,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
PreviewTemplate:
speakeasy-default-preview-template:
parameters:
@@ -1449,6 +1454,7 @@ examples:
responses:
"400":
application/json: {"errors": []}
+ "200": {}
ToggleTemplateDelivery:
speakeasy-default-toggle-template-delivery:
parameters:
@@ -1458,6 +1464,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
GetUserList:
"":
parameters:
@@ -1591,6 +1598,7 @@ examples:
responses:
"400":
application/json: {"errors": []}
+ "200": {}
UsersGetOrganizationMemberships:
speakeasy-default-users-get-organization-memberships:
parameters:
@@ -1610,6 +1618,7 @@ examples:
responses:
"500":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
VerifyTOTP:
speakeasy-default-verify-TOTP:
parameters:
@@ -1618,6 +1627,7 @@ examples:
responses:
"500":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}]}
+ "200": {}
DisableMFA:
speakeasy-default-disable-MFA:
parameters:
@@ -1626,6 +1636,7 @@ examples:
responses:
"404":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
CreateInvitation:
speakeasy-default-create-invitation:
responses:
@@ -1653,11 +1664,13 @@ examples:
responses:
"401":
application/json: {"errors": []}
+ "200": {}
CreateAllowlistIdentifier:
speakeasy-default-create-allowlist-identifier:
responses:
"400":
application/json: {"errors": []}
+ "200": {}
DeleteAllowlistIdentifier:
speakeasy-default-delete-allowlist-identifier:
parameters:
@@ -1680,6 +1693,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}]}
+ "200": {}
DeleteBlocklistIdentifier:
speakeasy-default-delete-blocklist-identifier:
parameters:
@@ -1695,6 +1709,7 @@ examples:
responses:
"402":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
UpdateProductionInstanceDomain:
speakeasy-default-update-production-instance-domain:
responses:
@@ -1766,6 +1781,7 @@ examples:
responses:
"402":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
UpdateInstanceOrganizationSettings:
speakeasy-default-update-instance-organization-settings:
responses:
@@ -1918,6 +1934,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
ListOrganizationInvitations:
speakeasy-default-list-organization-invitations:
parameters:
@@ -1938,7 +1955,7 @@ examples:
application/json: []
responses:
"200":
- application/json: {"total_count": 637338}
+ application/json: {"data": [], "total_count": 637338}
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
ListPendingOrganizationInvitations:
@@ -1961,6 +1978,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
RevokeOrganizationInvitation:
speakeasy-default-revoke-organization-invitation:
parameters:
@@ -1972,6 +1990,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
CreateOrganizationMembership:
speakeasy-default-create-organization-membership:
parameters:
@@ -1982,6 +2001,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
ListOrganizationMemberships:
speakeasy-default-list-organization-memberships:
parameters:
@@ -2004,6 +2024,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}]}
+ "200": {}
DeleteOrganizationMembership:
speakeasy-default-delete-organization-membership:
parameters:
@@ -2013,6 +2034,7 @@ examples:
responses:
"400":
application/json: {"errors": []}
+ "200": {}
UpdateOrganizationMembershipMetadata:
speakeasy-default-update-organization-membership-metadata:
parameters:
@@ -2022,6 +2044,7 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "", "long_message": "", "code": ""}, {"message": "", "long_message": "", "code": ""}]}
+ "200": {}
VerifyDomainProxy:
speakeasy-default-verify-domain-proxy:
responses:
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index e497ec6..ca4829d 100755
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
php:
- version: 0.2.0
+ version: 0.2.2
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
imports:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index b504eb1..b31dda1 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,19 +1,25 @@
speakeasyVersion: 1.424.0
sources:
+ backend-php:
+ sourceNamespace: clerk-openapi
+ sourceRevisionDigest: sha256:38c16a932d47d12617f45050c406209cc527f1e669f6f93f697afd34dd65215a
+ sourceBlobDigest: sha256:a1fe6e2b6b88ebb94a1ed12cf3aa9acf83572460a5f825e8af217a692289a9f2
+ tags:
+ - latest
clerk-backend-php:
sourceNamespace: clerk-openapi
- sourceRevisionDigest: sha256:1b286b5fed33a83bc8f8565131d2a072b75dbac14f4d2d47e67033f3ae2af2c8
+ sourceRevisionDigest: sha256:38c16a932d47d12617f45050c406209cc527f1e669f6f93f697afd34dd65215a
sourceBlobDigest: sha256:a1fe6e2b6b88ebb94a1ed12cf3aa9acf83572460a5f825e8af217a692289a9f2
tags:
- latest
targets:
clerk-php:
- source: clerk-backend-php
+ source: backend-php
sourceNamespace: clerk-openapi
- sourceRevisionDigest: sha256:1b286b5fed33a83bc8f8565131d2a072b75dbac14f4d2d47e67033f3ae2af2c8
+ sourceRevisionDigest: sha256:38c16a932d47d12617f45050c406209cc527f1e669f6f93f697afd34dd65215a
sourceBlobDigest: sha256:a1fe6e2b6b88ebb94a1ed12cf3aa9acf83572460a5f825e8af217a692289a9f2
codeSamplesNamespace: clerk-openapi-code-samples
- codeSamplesRevisionDigest: sha256:220becc6b1b15b3ebe33c2a76a7f712f38f7c889d1522460eba85847cb041c9b
+ codeSamplesRevisionDigest: sha256:3dbc85e81ffa6788bc7471cb2daa04aab0ebfb9fabf3c81f6ec0b7199887991e
my-first-target:
source: clerk-backend-php
sourceNamespace: clerk-openapi
@@ -23,7 +29,7 @@ workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
- clerk-backend-php:
+ backend-php:
inputs:
- location: ./openapi.json
registry:
@@ -31,7 +37,7 @@ workflow:
targets:
clerk-php:
target: php
- source: clerk-backend-php
+ source: backend-php
publish:
packagist:
username: clerkinc
diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml
index ecde255..a1d59c0 100644
--- a/.speakeasy/workflow.yaml
+++ b/.speakeasy/workflow.yaml
@@ -1,7 +1,7 @@
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
- clerk-backend-php:
+ backend-php:
inputs:
- location: ./openapi.json
registry:
@@ -9,7 +9,7 @@ sources:
targets:
clerk-php:
target: php
- source: clerk-backend-php
+ source: backend-php
publish:
packagist:
username: clerkinc
diff --git a/README.md b/README.md
index 7f7d0ba..0bc4285 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
-# clerkinc/clerk-backend-php
+# clerk/backend-php
@@ -16,9 +16,9 @@
[![Clerk documentation](https://img.shields.io/badge/documentation-clerk-green.svg)](https://clerk.com/docs?utm_source=github&utm_medium=koa)
[![Follow on Twitter](https://img.shields.io/twitter/follow/ClerkDev?style=social)](https://twitter.com/intent/follow?screen_name=ClerkDev)
-[Changelog](https://github.com/clerkinc/clerk-backend-php/blob/main/CHANGELOG.md)
+[Changelog](https://github.com/clerk/backend-php/blob/main/CHANGELOG.md)
ยท
-[Ask a Question](https://github.com/clerkinc/clerk-backend-php/discussions)
+[Ask a Question](https://github.com/clerk/backend-php/discussions)
@@ -35,7 +35,7 @@
## Installation
```sh
-composer require @clerkinc/clerk-backend-php
+composer require clerk/backend-php
```
## Usage
@@ -403,7 +403,7 @@ looking for the latest version.
You can get in touch with us in any of the following ways:
- Join the official community [Clerk Discord server](https://clerk.com/discord)
-- Create a [GitHub Discussion](https://github.com/clerkinc/clerk-backend-php/discussions)
+- Create a [GitHub Discussion](https://github.com/clerk/backend-php/discussions)
- Contact options listed on [Clerk Support page](https://clerk.com/support?utm_source=github&utm_medium=clerk-backend-php)
## Contributing
@@ -412,14 +412,14 @@ We're open to all community contributions!
## Security
-`@clerkinc/clerk-backend-php` follows good practices of security, but 100% security cannot be assured.
+`@clerk/backend-php` follows good practices of security, but 100% security cannot be assured.
-`@clerkinc/clerk-backend-php` is provided **"as is"** without any **warranty**. Use at your own risk.
+`@clerk/backend-php` is provided **"as is"** without any **warranty**. Use at your own risk.
-_For more information and to report security issues, please refer to the [security documentation](https://github.com/clerkinc/clerk-backend-php/blob/main/docs/SECURITY.md)._
+_For more information and to report security issues, please refer to the [security documentation](https://github.com/clerk/backend-php/blob/main/docs/SECURITY.md)._
## License
This project is licensed under the **MIT license**.
-See [LICENSE](https://github.com/clerkinc/clerk-backend-php/blob/main/LICENSE) for more information.
+See [LICENSE](https://github.com/clerk/backend-php/blob/main/LICENSE) for more information.
diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php
index 95ab36c..1032e63 100644
--- a/src/SDKConfiguration.php
+++ b/src/SDKConfiguration.php
@@ -27,11 +27,11 @@ class SDKConfiguration
public string $openapiDocVersion = 'v1';
- public string $sdkVersion = '0.2.0';
+ public string $sdkVersion = '0.2.2';
public string $genVersion = '2.445.1';
- public string $userAgent = 'speakeasy-sdk/php 0.2.0 2.445.1 v1 clerk/backend-php';
+ public string $userAgent = 'speakeasy-sdk/php 0.2.2 2.445.1 v1 clerk/backend-php';
public function getServerUrl(): string
{