ehelply / superstack-sdk
eHelply SuperStack 服务 SDK
dev-master
2022-11-18 16:18 UTC
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^8.0 || ^9.0
This package is auto-updated.
Last update: 2024-09-18 20:28:26 UTC
README
eHelply SuperStack 服务 SDK
更多信息,请访问 https://superstack.ehelply.com/support.
安装 & 使用
要求
PHP 7.4 及更高版本。也应与 PHP 8.0 兼容。
Composer
要通过 Composer 安装绑定,请在 composer.json
中添加以下内容
{ "repositories": [ { "type": "vcs", "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" } ], "require": { "GIT_USER_ID/GIT_REPO_ID": "*@dev" } }
然后运行 composer install
手动安装
下载文件并包含 autoload.php
<?php require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
入门指南
请遵循 安装过程,然后运行以下命令
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new OpenAPI\Client\Api\AppointmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); $appointment_uuid = 'appointment_uuid_example'; // string $entity_uuid = 'entity_uuid_example'; // string $x_access_token = 'x_access_token_example'; // string $x_secret_token = 'x_secret_token_example'; // string $authorization = 'authorization_example'; // string $ehelply_active_participant = 'ehelply_active_participant_example'; // string $ehelply_project = 'ehelply_project_example'; // string $ehelply_data = 'ehelply_data_example'; // string try { $result = $apiInstance->addEntityToAppointment($appointment_uuid, $entity_uuid, $x_access_token, $x_secret_token, $authorization, $ehelply_active_participant, $ehelply_project, $ehelply_data); print_r($result); } catch (Exception $e) { echo 'Exception when calling AppointmentsApi->addEntityToAppointment: ', $e->getMessage(), PHP_EOL; }
API 端点
所有 URI 都相对于 https://api.prod.ehelply.com
模型
- AddressBase
- AlarmAcknowledge
- AlarmAssign
- AlarmCreate
- AlarmIgnore
- AlarmNote
- AlarmResponse
- AlarmTerminate
- AlarmTicket
- AppointmentBase
- AppointmentResponse
- AttachPaymentToProject
- Basic
- BasicMeta
- BasicMetaCreate
- CatalogBase
- CatalogReturn
- CategoryBase
- CategoryDb
- Company
- CompanyBase
- CompanyResponse
- Contact
- ContactBase
- ContactMethod
- ContactResponse
- CreateField200Response
- CreateFile200Response
- CreateKeyResponse
- CreateMeta200Response
- CreateNoteResponse
- CreateProjectCredential
- CreateProjectCredit
- CreateProjectInvoice
- CreateReview
- CreateSlug200Response
- CreateTicket
- Credential
- CustomList
- DatesMeta
- DeleteFact200Response
- DeleteField200Response
- DeleteFile200Response
- DeleteMeta200Response
- DeleteNote200Response
- Detailed
- DetailedMeta
- DetailedMetaCreate
- Discount
- Fact
- FactCreate
- Field
- FieldDynamo
- GetAppointment403Response
- GetInvoiceResponse
- GetProjectCredential
- GetProjectInvoiceHistory
- GetProjectInvoiceResponse
- GetSecret
- GetServiceServiceWithSpecsResponse
- GetServiceSpecResponse
- GetServiceSpecsResponse
- GetTransactionResponse
- HTTPValidationError
- HeartbeatResponse
- History
- KpiResponse
- LineItem
- LoggingDynamo
- MetaChildren
- MetaCreate
- MetaCustom
- MetaDynamo
- Note
- NoteBase
- NoteDynamoHistoryResponse
- NoteDynamoResponse
- NoteMeta
- OptionGroup
- Options
- Page
- Pagination
- ParticipantCreate
- ParticipantUpdate
- ParticipantUserReturn
- Payment
- PaymentMethodResponse
- PlaceBase
- PlaceResponse
- ProductBase
- ProductReturn
- ProjectCreditResponse
- ProjectDB
- ProjectsProjectCreate
- ProjectsProjectGet
- ProjectsProjectMemberDB
- ProjectsProjectUpdate
- ProjectsProjectUsageDB
- ProjectsUsageTypeCreate
- ProjectsUsageTypeDB
- ProjectsUsageTypeGet
- ProjectsUsageTypeUnitPrice
- ProjectsUsageTypeUpdate
- ResponseAddmembertoproject
- ResponseArchiveproject
- ResponseCreatekey
- ResponseCreateprojectcredential
- ResponseCreateprojectinvoice
- ResponseDeletekey
- ResponseDeleteprojectcredential
- ResponseDeleteusagetype
- ResponseGeneratetoken
- ResponseRemovememberfromproject
- ResponseRevokeprojectcredit
- ResponseUpdateprojectcredential
- SaveFact200Response
- SecurityCreateToken
- SecurityEncryptionKeyGet
- SecurityEncryptionKeyResponse
- 安全密钥创建
- 安全密钥获取
- 安全密钥验证
- 选择
- 服务创建
- 服务消息响应
- 服务响应
- 服务超级堆栈元数据
- 服务超级堆栈元数据FAQ
- 服务超级堆栈元数据特性
- 服务超级堆栈元数据入门指南
- 服务超级堆栈元数据入门指南端点预告
- 服务超级堆栈元数据用例
- Slugger
- 员工创建
- 员工数据库
- 员工响应
- 统计数据响应
- Stripe账户响应
- Stripe客户密钥响应
- 标签基础
- 标签数据库
- 税收
- 票务响应
- 票务列表响应
- 触控元数据200响应
- 更新字段200响应
- 更新文件200响应
- 更新元数据200响应
- 更新笔记200响应
- 更新项目凭证请求
- 更新评论
- 用户
- 用户确认
- 用户电子邮件
- 用户标志
- 用户登录
- 用户登录返回
- 用户密码重置
- 用户密码重置确认
- 用户响应
- 用户注册
- 用户注册返回
- 用户令牌返回
- 用户验证
- 验证错误
- 验证
授权
所有端点均不需要授权。
测试
要运行测试,请使用
composer install vendor/bin/phpunit
作者
关于此包
此PHP包是由OpenAPI Generator项目自动生成的
- API版本:
1.1.118
- 包版本:
1.1.118
- 包版本:
- 构建包:
org.openapitools.codegen.languages.PhpClientCodegen