summaryrefslogtreecommitdiff
path: root/data/agency
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/agency
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/agency')
-rw-r--r--data/agency/2022-12-16/api-docs.php1887
-rw-r--r--data/agency/2025-02-27/api-docs.php538
2 files changed, 800 insertions, 1625 deletions
diff --git a/data/agency/2022-12-16/api-docs.php b/data/agency/2022-12-16/api-docs.php
index ff0aa14..e2883c8 100644
--- a/data/agency/2022-12-16/api-docs.php
+++ b/data/agency/2022-12-16/api-docs.php
@@ -1,23 +1,14 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Agency',
- 'version' => '2022-12-16',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Agency', 'version' => '2022-12-16'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'CreateCustomer' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AutomaticWriteOff' => [
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -26,93 +17,57 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'CustomerName',
+ 'name' => 'CustomerUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'CustomerTrade',
+ 'name' => 'AutomaticWriteOffEnabled',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => true],
],
[
- 'name' => 'CustomerSubTrade',
+ 'name' => 'AutomaticWriteOffAmount',
'in' => 'query',
'schema' => [
- 'type' => 'string',
+ 'type' => 'integer',
+ 'format' => 'int64',
'required' => false,
+ 'enum' => ['100', '500', '1000'],
],
],
[
- 'name' => 'CustomerSource',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Nation',
+ 'name' => 'Language',
'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['zh', 'en', 'ja'],
],
],
],
],
- 'GetInviteStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CancelCoupon' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'InviteStatusList',
+ 'name' => 'CouponId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'InviteId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'GetUnassociatedCustomer' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CancelSubscriptionBill' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -121,34 +76,16 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'PageSize',
+ 'name' => 'SubscribeType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'InviteSubAccount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CouponApprovalStatusList' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -157,108 +94,35 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'AccountInfoList',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SubAccountType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'EmailAddress' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'AccountNickname' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'CreditLine' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Remark' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ZeroCreditShutdownPolicy' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'NewBuyStatus' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'CustomerId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'CustomerBd' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ResendEmail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'TemplateName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'InviteId',
+ 'name' => 'TemplateStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ListCountries' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '50'],
],
],
- 'deprecated' => false,
- 'parameters' => [],
],
- 'CustomerQuotaRecordList' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateCouponTemplate' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -267,141 +131,105 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'EndUserPk',
+ 'name' => 'TemplateName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 30],
],
[
- 'name' => 'StartDate',
+ 'name' => 'ReasonForApplication',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 100],
],
[
- 'name' => 'EndDate',
+ 'name' => 'CostBearer',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['Partner', 'Alibaba Cloud'],
],
],
[
- 'name' => 'OperationType',
+ 'name' => 'ApplicableProducts',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['All Products', 'Custom'],
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ProductType',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'PageNo',
+ 'name' => 'LimitPerPerson',
'in' => 'query',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'string',
'required' => true,
+ 'enum' => ['Limited to 1', 'Unlimited'],
],
],
[
- 'name' => 'Language',
+ 'name' => 'Value',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'DeductOutstandingBalance' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'parameters' => [
[
- 'name' => 'Uid',
+ 'name' => 'ValidUntil',
'in' => 'query',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'string',
'required' => true,
+ 'enum' => ['Validity Duration', 'Custom Timeframe'],
],
],
[
- 'name' => 'DeductAmount',
+ 'name' => 'Vailddate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'EditEndUserStatus' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Expireddate',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Uid',
+ 'name' => 'Vaildperioddays',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'CreditStatus',
+ 'name' => 'PurchaseType',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['ALL', 'Subscription', 'Pay-As-You-Go'],
],
],
+ [
+ 'name' => 'CouponDescription',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 100],
+ ],
+ [
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
],
- 'EditNewBuyStatus' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateCustomer' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -410,65 +238,35 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Uid',
+ 'name' => 'CustomerName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'NewBuyStatus',
+ 'name' => 'CustomerTrade',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'EditZeroCreditShutdown' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'CustomerSubTrade',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Uid',
+ 'name' => 'CustomerSource',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ShutdownPolicy',
+ 'name' => 'Nation',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ExportCustomerQuotaRecord' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CustomerQuotaRecordList' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -479,103 +277,43 @@
[
'name' => 'EndUserPk',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'OperationType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Language',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'ExportReversedDeductionHistory' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'ExportUid',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'StartDate',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'EndDate',
+ 'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetAccountInfo' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeductOutstandingBalance' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -585,76 +323,36 @@
[
'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'UserType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'PageSize',
+ 'name' => 'DeductAmount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '20',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetCreditInfo' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteCouponTemplate' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Uid',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'GetPurchaseControlRecord' => [
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'EditEndUserStatus' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -663,52 +361,20 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'OperationTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'CustomerUID',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'PageNo',
+ 'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'CreditStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetShutdownPolicyRecord' => [
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'EditNewBuyStatus' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -717,52 +383,42 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'OperationTime',
+ 'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'CustomerUID',
+ 'name' => 'NewBuyStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'EditZeroCreditShutdown' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'PageNo',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ShutdownPolicy',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '5',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'QueryReversedDeductionHistory' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ExportCustomerQuotaRecord' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -771,116 +427,67 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Uid',
+ 'name' => 'EndUserPk',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNo',
+ 'name' => 'OperationType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'SetAccountInfo' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ExportReversedDeductionHistory' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'AccountNickname',
+ 'name' => 'ExportUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Remark',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Uid',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CustomerBd',
+ 'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'SetCreditLine' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetAccountInfo' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -890,90 +497,29 @@
[
'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'CreditLine',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
- ],
- ],
- 'SetWarningThreshold' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Uid',
+ 'name' => 'UserType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'WarningValue',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'CancelSubscriptionBill' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'SubscribeType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '20'],
],
],
],
'GetCommissionableProducts' => [
'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -984,20 +530,12 @@
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'ListShowStatusList',
@@ -1006,61 +544,90 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
'name' => 'CommodityCodeList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PipCodeList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RealStartMonth',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RealEndMonth',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'FiscalYear',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetCustomerOrders' => [
- 'methods' => [
- 'get',
+ 'GetCouponTemplateDetail' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ ],
+ ],
+ 'GetCoupondeductProductCode' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'GetCreditInfo' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'Uid',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
],
+ ],
+ 'GetCustomerOrders' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1071,131 +638,73 @@
[
'name' => 'OrderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'CustomerAccount',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'CustomerUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OrderStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'TimeType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$'],
],
[
'name' => 'CustomerManager',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProductType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OrderSource',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '100'],
],
[
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '500',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '500'],
],
],
],
'GetDailyBill' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1205,38 +714,51 @@
[
'name' => 'Date',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'BillOwner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'BillType',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'GetInviteStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InviteStatusList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'InviteId' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
],
],
'GetMonthlyBill' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1246,37 +768,24 @@
[
'name' => 'Month',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'BillOwner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'BillType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'SubscriptionBill' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPurchaseControlRecord' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1285,66 +794,64 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'SubscribeBucket',
+ 'name' => 'OperationTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'BucketOwnerId',
+ 'name' => 'CustomerUID',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'SubscribeType',
+ 'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'BeginBillingCycle',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100'],
],
+ ],
+ ],
+ 'GetShutdownPolicyRecord' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'BillFormat',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'OperationTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SubscribeSegmentSize',
+ 'name' => 'CustomerUID',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '5', 'maximum' => '100'],
],
],
],
'GetTier2CouponApprovalDetail' => [
'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1355,22 +862,13 @@
[
'name' => 'ApplicationSheetId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListTier2CouponApproval' => [
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetUnassociatedCustomer' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1379,66 +877,58 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'T2PartnerName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'T2PartnerUid',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ApprovalStatus',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
+ ],
+ ],
+ 'InviteSubAccount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ApplicationSheetId',
+ 'name' => 'AccountInfoList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SubAccountType' => ['type' => 'string', 'required' => true],
+ 'EmailAddress' => ['type' => 'string', 'required' => true],
+ 'AccountNickname' => ['type' => 'string', 'required' => true],
+ 'CreditLine' => ['type' => 'string', 'required' => true],
+ 'Remark' => ['type' => 'string', 'required' => false],
+ 'ZeroCreditShutdownPolicy' => ['type' => 'string', 'required' => true],
+ 'NewBuyStatus' => ['type' => 'string', 'required' => true],
+ 'CustomerId' => ['type' => 'string', 'required' => true],
+ 'CustomerBd' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
],
],
- 'CancelCoupon' => [
+ 'InviteSubReseller' => [
'path' => '',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1447,23 +937,36 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'CouponId',
+ 'name' => 'AccountInfoList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SubAccountType' => ['type' => 'string', 'required' => false],
+ 'EmailAddress' => ['type' => 'string', 'required' => false],
+ 'AccountNickname' => ['type' => 'string', 'required' => false],
+ 'CreditLine' => ['type' => 'string', 'required' => false],
+ 'Remark' => ['type' => 'string', 'required' => false],
+ 'ZeroCreditShutdownPolicy' => ['type' => 'string', 'required' => false],
+ 'NewBuyStatus' => ['type' => 'string', 'required' => false],
+ 'CustomerBd' => ['type' => 'string', 'required' => false],
+ 'RegisterNation' => ['type' => 'string', 'required' => false],
+ 'CrossScopeRemark' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 100,
],
],
],
],
- 'CreateCouponTemplate' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'IssueCouponForCustomer' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1472,157 +975,93 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateName',
+ 'name' => 'CouponTemplateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 30,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'ReasonForApplication',
+ 'name' => 'Uidlist',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 100,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CostBearer',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'Partner',
- 'Alibaba Cloud',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ApplicableProducts',
+ 'name' => 'IsUseBenefit',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'All Products',
- 'Custom',
- ],
- ],
+ 'schema' => ['type' => 'boolean', 'deprecated' => true, 'required' => false],
],
[
- 'name' => 'ProductType',
+ 'name' => 'ApplicationReason',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'maxLength' => 500],
],
+ ],
+ ],
+ 'ListCountries' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'LimitPerPerson',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'Limited to 1',
- 'Unlimited',
- ],
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'ListCouponUsage' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Value',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ValidUntil',
+ 'name' => 'Account',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'Validity Duration',
- 'Custom Timeframe',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Vailddate',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Expireddate',
+ 'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Vaildperioddays',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '50'],
],
[
- 'name' => 'PurchaseType',
+ 'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'ALL',
- 'Subscription',
- 'Pay-As-You-Go',
- ],
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'CouponDescription',
+ 'name' => 'CouponTemplateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 100,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'T2PartnerUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'CouponApprovalStatusList' => [
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListExportTasks' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1631,60 +1070,40 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'TemplateName',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'TemplateStatus',
+ 'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNo',
+ 'name' => 'SceneCode',
'in' => 'query',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'string',
'required' => true,
- 'minimum' => '0',
+ 'enum' => ['intlExportUsageDeductHistory', 'intlCustomerQuotaRecord'],
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '50',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'DeleteCouponTemplate' => [
+ 'ListTier2CouponApproval' => [
'path' => '',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1693,25 +1112,41 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'T2PartnerName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'T2PartnerUid',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'ApprovalStatus',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'ApplicationSheetId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetCouponTemplateDetail' => [
+ 'ProcessApproval' => [
'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1720,47 +1155,26 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'ApplicationSheetId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'GetCoupondeductProductCode' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ApprovalAction',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'ApprovalComments',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 500],
],
],
],
- 'IssueCouponForCustomer' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'QueryAutomaticWriteOffChangeRecords' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1769,57 +1183,44 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'CouponTemplateId',
+ 'name' => 'CustomerUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Uidlist',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'IsUseBenefit',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'deprecated' => true,
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'ApplicationReason',
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'Language',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
- 'maxLength' => 500,
+ 'enum' => ['zh', 'en', 'ja'],
],
],
],
],
- 'ListCouponUsage' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'QueryReversedDeductionHistory' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1828,77 +1229,40 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Account',
+ 'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Status',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Page',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '50',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'Uid',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'CouponTemplateId',
+ 'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'T2PartnerUid',
+ 'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QuotaListExportPaged' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1909,82 +1273,112 @@
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ProcessApproval' => [
- 'path' => '',
- 'methods' => [
- 'post',
+ 'ResendEmail' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'InviteId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
],
+ ],
+ 'SetAccountInfo' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'ApplicationSheetId',
+ 'name' => 'AccountNickname',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ApprovalAction',
+ 'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ApprovalComments',
+ 'name' => 'Uid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'minLength' => 1,
- 'maxLength' => 500,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'CustomerBd',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListExportTasks' => [
- 'methods' => [
- 'get',
- 'post',
+ 'SetCreditLine' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Uid',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'CreditLine',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'SetWarningThreshold' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'Uid',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'WarningValue',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'SubscriptionBill' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1993,63 +1387,40 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNo',
+ 'name' => 'SubscribeBucket',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
+ 'name' => 'BucketOwnerId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Language',
+ 'name' => 'SubscribeType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'SceneCode',
+ 'name' => 'BeginBillingCycle',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'intlExportUsageDeductHistory',
- 'intlCustomerQuotaRecord',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Id',
+ 'name' => 'BillFormat',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'SubscribeSegmentSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'agency.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'agency.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agency.ap-southeast-1.aliyuncs.com', 'endpoint' => 'agency.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agency.aliyuncs.com', 'endpoint' => 'agency.aliyuncs.com', 'vpc' => 'agency-vpc.cn-hangzhou.aliyuncs.com'],
],
];
diff --git a/data/agency/2025-02-27/api-docs.php b/data/agency/2025-02-27/api-docs.php
index ae03e6d..a7d19c2 100644
--- a/data/agency/2025-02-27/api-docs.php
+++ b/data/agency/2025-02-27/api-docs.php
@@ -1,23 +1,14 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Agency',
- 'version' => '2025-02-27',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Agency', 'version' => '2025-02-27'],
'components' => [
'schemas' => [],
],
'apis' => [
'GetBillDetailFileList' => [
'path' => '',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -28,71 +19,92 @@
[
'name' => 'BillMonth',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'pattern' => '^\\d+$'],
],
[
'name' => 'OssAccessKeyId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OssAccessKeySecret',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OssSecurityToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OssBucketName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OssEndpoint',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OssRegion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetSubPartnerOrderList' => [
+ 'GetCommissionDetailFileList' => [
'path' => '',
- 'methods' => [
- 'post',
- 'get',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'BillMonth',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'OssAccessKeyId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'OssAccessKeySecret',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'OssSecurityToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'OssBucketName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'OssEndpoint',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'OssRegion',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'GetCustomerOrderList' => [
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -101,39 +113,39 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'SubPartnerUid',
+ 'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1'],
],
[
- 'name' => 'SubPartnerName',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '500'],
+ ],
+ [
+ 'name' => 'CustomerUid',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'CustomerAccount',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'RamAccountForCustomerManager',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderTypeList',
@@ -145,6 +157,7 @@
'items' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['BUY', 'UPGRADE', 'DOWNGRADE', 'RENEW', 'REFUND', 'OTHERS'],
],
],
],
@@ -153,10 +166,9 @@
'in' => 'query',
'schema' => [
'type' => 'integer',
- 'format' => 'int64',
+ 'format' => 'int32',
'required' => false,
- 'minimum' => '1',
- 'maximum' => '3',
+ 'enum' => ['1', '2', '3'],
],
],
[
@@ -164,114 +176,57 @@
'in' => 'query',
'schema' => [
'type' => 'integer',
- 'format' => 'int64',
+ 'format' => 'int32',
'required' => false,
- 'minimum' => '1',
- 'maximum' => '2',
+ 'enum' => ['1', '2'],
],
],
[
'name' => 'ProductCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProductName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OrderCreateAfter',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderCreateBefore',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderPayAfter',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderPayBefore',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PayAmountAfter',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'double', 'required' => false],
],
[
'name' => 'PayAmountBefore',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNo',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '10',
- 'maximum' => '500',
- ],
+ 'schema' => ['type' => 'number', 'format' => 'double', 'required' => false],
],
],
],
- 'GetSubPartnerList' => [
+ 'GetIntlCommissionDetailFileList' => [
'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -280,50 +235,46 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'SubPartnerPid',
+ 'name' => 'BillMonth',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'SubPartnerCompanyName',
+ 'name' => 'OssAccessKeyId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNo',
+ 'name' => 'OssAccessKeySecret',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
+ 'name' => 'OssSecurityToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'OssBucketName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'OssEndpoint',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'OssRegion',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetRenewalRateList' => [
'path' => '',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -334,22 +285,14 @@
[
'name' => 'FiscalYearAndQuarter',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetCustomerOrderList' => [
+ 'GetSubPartnerList' => [
'path' => '',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -358,68 +301,57 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'SubPartnerPid',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SubPartnerCompanyName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '10',
- 'maximum' => '500',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
+ ],
+ ],
+ 'GetSubPartnerOrderList' => [
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'CustomerUid',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'CustomerAccount',
+ 'name' => 'SubPartnerUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'RamAccountForCustomerManager',
+ 'name' => 'SubPartnerName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderTypeList',
@@ -428,202 +360,74 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'BUY',
- 'UPGRADE',
- 'DOWNGRADE',
- 'RENEW',
- 'REFUND',
- 'OTHERS',
- ],
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
'name' => 'OrderStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'enum' => [
- '1',
- '2',
- '3',
- ],
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '3'],
],
[
'name' => 'PayType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'enum' => [
- '1',
- '2',
- ],
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '2'],
],
[
'name' => 'ProductCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProductName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OrderCreateAfter',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderCreateBefore',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderPayAfter',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'OrderPayBefore',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PayAmountAfter',
'in' => 'query',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PayAmountBefore',
'in' => 'query',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'GetCommissionDetailFileList' => [
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'BillMonth',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'OssAccessKeyId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'OssAccessKeySecret',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'OssSecurityToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'OssBucketName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'OssEndpoint',
+ 'name' => 'PageNo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1'],
],
[
- 'name' => 'OssRegion',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '500'],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'agency.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'agency.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agency.ap-southeast-1.aliyuncs.com', 'endpoint' => 'agency.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agency.aliyuncs.com', 'endpoint' => 'agency.aliyuncs.com', 'vpc' => 'agency-vpc.cn-hangzhou.aliyuncs.com'],
],
];