ucloud-sdk-python3 0.11.147__py3-none-any.whl → 0.11.149__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ucloud/services/uai_modelverse/client.py +111 -46
- ucloud/services/uai_modelverse/schemas/apis.py +45 -3
- ucloud/services/uai_modelverse/schemas/models.py +39 -32
- ucloud/services/usms/client.py +98 -25
- ucloud/services/usms/schemas/apis.py +43 -0
- ucloud/services/usms/schemas/models.py +33 -1
- ucloud/version.py +1 -1
- {ucloud_sdk_python3-0.11.147.dist-info → ucloud_sdk_python3-0.11.149.dist-info}/METADATA +7 -7
- {ucloud_sdk_python3-0.11.147.dist-info → ucloud_sdk_python3-0.11.149.dist-info}/RECORD +12 -12
- {ucloud_sdk_python3-0.11.147.dist-info → ucloud_sdk_python3-0.11.149.dist-info}/LICENSE +0 -0
- {ucloud_sdk_python3-0.11.147.dist-info → ucloud_sdk_python3-0.11.149.dist-info}/WHEEL +0 -0
- {ucloud_sdk_python3-0.11.147.dist-info → ucloud_sdk_python3-0.11.149.dist-info}/top_level.txt +0 -0
|
@@ -369,16 +369,6 @@ class UAI_ModelverseClient(Client):
|
|
|
369
369
|
- **WebSearch** (bool) - 是否支持联网搜索
|
|
370
370
|
|
|
371
371
|
|
|
372
|
-
**Pricing**
|
|
373
|
-
- **Completion** (float) - 输出定价
|
|
374
|
-
- **Currency** (str) - 币种
|
|
375
|
-
- **Image** (float) - 生图定价
|
|
376
|
-
- **Prompt** (float) - 提示词定价
|
|
377
|
-
- **Unit** (str) - 单位(中文),如“次” “百万”
|
|
378
|
-
- **UnitEn** (str) - 单位(English),如“Time” “Million”
|
|
379
|
-
- **Video** (str) - 生视频定价
|
|
380
|
-
|
|
381
|
-
|
|
382
372
|
**ModelTypeMap**
|
|
383
373
|
- **ImageToImage** (bool) - 图生图模型
|
|
384
374
|
- **ImageToVideo** (bool) - 图生视频模型
|
|
@@ -389,6 +379,13 @@ class UAI_ModelverseClient(Client):
|
|
|
389
379
|
- **TextToVideo** (bool) - 文生视频模型
|
|
390
380
|
|
|
391
381
|
|
|
382
|
+
**ApiProtocols**
|
|
383
|
+
- **Anthropic** (bool) - 是否支持Anthropic协议
|
|
384
|
+
- **ChatCompletions** (bool) - 是否支持chat协议
|
|
385
|
+
- **Gemini** (bool) - 是否支持gemini协议
|
|
386
|
+
- **Responses** (bool) - 是否支持responses协议
|
|
387
|
+
|
|
388
|
+
|
|
392
389
|
**PriceRate**
|
|
393
390
|
- **ChargeItem** (str) - 收费项:input/output/thinking/tool...
|
|
394
391
|
- **ChargeItemDescription** (str) - 收费项描述
|
|
@@ -399,13 +396,14 @@ class UAI_ModelverseClient(Client):
|
|
|
399
396
|
- **UnitEn** (str) - 计价单位英文
|
|
400
397
|
|
|
401
398
|
|
|
402
|
-
**
|
|
403
|
-
- **
|
|
404
|
-
- **
|
|
405
|
-
- **
|
|
406
|
-
- **
|
|
407
|
-
- **
|
|
408
|
-
- **
|
|
399
|
+
**Pricing**
|
|
400
|
+
- **Completion** (float) - 输出定价
|
|
401
|
+
- **Currency** (str) - 币种
|
|
402
|
+
- **Image** (float) - 生图定价
|
|
403
|
+
- **Prompt** (float) - 提示词定价
|
|
404
|
+
- **Unit** (str) - 单位(中文),如“次” “百万”
|
|
405
|
+
- **UnitEn** (str) - 单位(English),如“Time” “Million”
|
|
406
|
+
- **Video** (str) - 生视频定价
|
|
409
407
|
|
|
410
408
|
|
|
411
409
|
**PriceTier**
|
|
@@ -415,11 +413,13 @@ class UAI_ModelverseClient(Client):
|
|
|
415
413
|
- **Rates** (list) - 见 **PriceRate** 模型定义
|
|
416
414
|
|
|
417
415
|
|
|
418
|
-
**
|
|
419
|
-
- **
|
|
420
|
-
- **
|
|
421
|
-
- **
|
|
422
|
-
- **
|
|
416
|
+
**InferenceRegionInfo**
|
|
417
|
+
- **ModelId** (str) - 地域模型ID (例如: deepseek-v4-flash-sg)
|
|
418
|
+
- **RegionCode** (str) - 地域代码: sg(新加坡)/us(美国)/hk(香港)
|
|
419
|
+
- **RegionName** (str) - 地域名称: 新加坡/美国/香港
|
|
420
|
+
- **RegionNameEn** (str) - 地域名称(英文): Singapore/United States/Hong Kong
|
|
421
|
+
- **SquareModelId** (str) - 广场模型ID (umodel-xxx)
|
|
422
|
+
- **Status** (str) - 状态: published(已发布)/unpublished(未发布)
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
**SquareModel**
|
|
@@ -842,16 +842,6 @@ class UAI_ModelverseClient(Client):
|
|
|
842
842
|
|
|
843
843
|
**Response Model**
|
|
844
844
|
|
|
845
|
-
**PriceRate**
|
|
846
|
-
- **ChargeItem** (str) - 收费项:input/output/thinking/tool...
|
|
847
|
-
- **ChargeItemDescription** (str) - 收费项描述
|
|
848
|
-
- **ChargeItemDescriptionEn** (str) - 收费项描述英文描述
|
|
849
|
-
- **Currency** (str) - 货币单位
|
|
850
|
-
- **Price** (str) - 价格
|
|
851
|
-
- **Unit** (str) - 计价单位
|
|
852
|
-
- **UnitEn** (str) - 计价单位英文
|
|
853
|
-
|
|
854
|
-
|
|
855
845
|
**Pricing**
|
|
856
846
|
- **Completion** (float) - 输出定价
|
|
857
847
|
- **Currency** (str) - 币种
|
|
@@ -862,6 +852,16 @@ class UAI_ModelverseClient(Client):
|
|
|
862
852
|
- **Video** (str) - 生视频定价
|
|
863
853
|
|
|
864
854
|
|
|
855
|
+
**PriceRate**
|
|
856
|
+
- **ChargeItem** (str) - 收费项:input/output/thinking/tool...
|
|
857
|
+
- **ChargeItemDescription** (str) - 收费项描述
|
|
858
|
+
- **ChargeItemDescriptionEn** (str) - 收费项描述英文描述
|
|
859
|
+
- **Currency** (str) - 货币单位
|
|
860
|
+
- **Price** (str) - 价格
|
|
861
|
+
- **Unit** (str) - 计价单位
|
|
862
|
+
- **UnitEn** (str) - 计价单位英文
|
|
863
|
+
|
|
864
|
+
|
|
865
865
|
**PriceTier**
|
|
866
866
|
- **Condition** (str) - 档位/条件(例如 "32k"、"128k")
|
|
867
867
|
- **Description** (str) - 档位描述(例如 "标准上下文 32k")
|
|
@@ -949,19 +949,80 @@ class UAI_ModelverseClient(Client):
|
|
|
949
949
|
def list_um_infer_api_key(
|
|
950
950
|
self, req: typing.Optional[dict] = None, **kwargs
|
|
951
951
|
) -> dict:
|
|
952
|
-
"""ListUMInferAPIKey -
|
|
952
|
+
"""ListUMInferAPIKey -
|
|
953
|
+
|
|
954
|
+
**Request**
|
|
955
|
+
|
|
956
|
+
- **ProjectId** (str) - (Config)
|
|
957
|
+
- **Limit** (int) -
|
|
958
|
+
- **ModelverseDisabled** (int) -
|
|
959
|
+
- **Offset** (int) -
|
|
960
|
+
- **SandBoxDisabled** (int) -
|
|
961
|
+
|
|
962
|
+
**Response**
|
|
963
|
+
|
|
964
|
+
- **Data** (list) - 见 **APIKey** 模型定义
|
|
965
|
+
|
|
966
|
+
**Response Model**
|
|
967
|
+
|
|
968
|
+
**APIKey**
|
|
969
|
+
- **ChannelId** (int) -
|
|
970
|
+
- **CreateTime** (int) -
|
|
971
|
+
- **DailyLimitAmount** (str) -
|
|
972
|
+
- **DailyUsedAmount** (str) -
|
|
973
|
+
- **ExpireTime** (int) -
|
|
974
|
+
- **GrantAllModels** (bool) -
|
|
975
|
+
- **GrantedModels** (list) -
|
|
976
|
+
- **IPWhitelist** (str) -
|
|
977
|
+
- **Key** (str) -
|
|
978
|
+
- **KeyId** (str) -
|
|
979
|
+
- **ModelverseDisabled** (int) -
|
|
980
|
+
- **MonthlyLimitAmount** (str) -
|
|
981
|
+
- **MonthlyUsedAmount** (str) -
|
|
982
|
+
- **Name** (str) -
|
|
983
|
+
- **OrganizationId** (int) -
|
|
984
|
+
- **SandBoxDisabled** (int) -
|
|
985
|
+
- **Status** (int) -
|
|
986
|
+
- **TopOrganizationId** (int) -
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
"""
|
|
990
|
+
# build request
|
|
991
|
+
d = {
|
|
992
|
+
"ProjectId": self.config.project_id,
|
|
993
|
+
}
|
|
994
|
+
req and d.update(req)
|
|
995
|
+
d = apis.ListUMInferAPIKeyRequestSchema().dumps(d)
|
|
996
|
+
|
|
997
|
+
# build options
|
|
998
|
+
kwargs["max_retries"] = 0 # ignore retry when api is not idempotent
|
|
999
|
+
|
|
1000
|
+
resp = self.invoke("ListUMInferAPIKey", d, **kwargs)
|
|
1001
|
+
return apis.ListUMInferAPIKeyResponseSchema().loads(resp)
|
|
1002
|
+
|
|
1003
|
+
def list_um_infer_api_key_v2(
|
|
1004
|
+
self, req: typing.Optional[dict] = None, **kwargs
|
|
1005
|
+
) -> dict:
|
|
1006
|
+
"""ListUMInferAPIKeyV2 - 获取modelverse apikey,密钥掩码返回
|
|
953
1007
|
|
|
954
1008
|
**Request**
|
|
955
1009
|
|
|
956
1010
|
- **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
|
|
957
|
-
- **
|
|
958
|
-
- **
|
|
959
|
-
- **
|
|
960
|
-
- **
|
|
1011
|
+
- **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
|
|
1012
|
+
- **Zone** (str) - (Required) 可用区。参见 `可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
|
|
1013
|
+
- **AllStatus** (int) - 默认 false,排除已删除记录;true 包含已删除记录
|
|
1014
|
+
- **KeyId** (str) - 按 API Key 资源 ID 精确过滤;为空不限制
|
|
1015
|
+
- **Limit** (int) - 每页条数;0 表示不限制条数
|
|
1016
|
+
- **Offset** (str) - 从 0 开始的页号,默认 0;不是记录偏移量
|
|
1017
|
+
- **SandBoxDisabled** (str) - 不传不限制;0 启用,1 禁用
|
|
1018
|
+
- **SortByCreateTimeAsc** (bool) - true 按创建时间升序,false 降序
|
|
1019
|
+
- **SortByUpdateTimeAsc** (bool) - true 按更新时间升序,false 降序;优先于创建时间排序
|
|
961
1020
|
|
|
962
1021
|
**Response**
|
|
963
1022
|
|
|
964
1023
|
- **Data** (list) - 见 **APIKey** 模型定义
|
|
1024
|
+
- **Timestamp** (int) - 时间戳
|
|
1025
|
+
- **TotalCount** (int) - 数据量
|
|
965
1026
|
|
|
966
1027
|
**Response Model**
|
|
967
1028
|
|
|
@@ -970,12 +1031,15 @@ class UAI_ModelverseClient(Client):
|
|
|
970
1031
|
- **CreateTime** (int) - 创建时间
|
|
971
1032
|
- **DailyLimitAmount** (str) - 日限额,单位随用户所在渠道。126渠道单位为美元
|
|
972
1033
|
- **DailyUsedAmount** (str) - 日已使用额,单位随用户所在渠道。126渠道单位为美元
|
|
1034
|
+
- **DeniedModels** (list) - 禁止访问的模型列表。当 ModelAccessMode=blacklist 时生效。
|
|
973
1035
|
- **ExpireTime** (int) - 过期时间的unix时间戳,-1 用不过期
|
|
974
1036
|
- **GrantAllModels** (bool) - 全部模型访问开关,开启不受 GrantedModels 参数控制,关闭只能访问 GrantedModels 中添加模型
|
|
975
1037
|
- **GrantedModels** (list) - 授权的模型,英文逗号分隔,all表示所有模型都有权限
|
|
976
1038
|
- **IPWhitelist** (str) - ip白名单,换行分割的多组ip。支持IPv4和网段,输入后回车生效,最多100个, 示例: 192.168.1.1 192.168.1.10-192.168.1.100 192.168.1.10/24
|
|
977
|
-
- **
|
|
1039
|
+
- **InferenceLogEnabled** (int) - 是否开启推理日志
|
|
1040
|
+
- **Key** (str) - 密钥值,前四后四,中间*掩码展示
|
|
978
1041
|
- **KeyId** (str) - 资源ID
|
|
1042
|
+
- **ModelAccessMode** (str) - 模型访问策略。可选值:whitelist(白名单模式,默认)或 blacklist(黑名单模式)。
|
|
979
1043
|
- **ModelverseDisabled** (int) - 是否modelverse可用 0: 启用 1: 禁用
|
|
980
1044
|
- **MonthlyLimitAmount** (str) - 月限额,单位随用户所在渠道。126渠道单位为美元
|
|
981
1045
|
- **MonthlyUsedAmount** (str) - 月已使用额,单位随用户所在渠道。126渠道单位为美元
|
|
@@ -990,12 +1054,13 @@ class UAI_ModelverseClient(Client):
|
|
|
990
1054
|
# build request
|
|
991
1055
|
d = {
|
|
992
1056
|
"ProjectId": self.config.project_id,
|
|
1057
|
+
"Region": self.config.region,
|
|
993
1058
|
}
|
|
994
1059
|
req and d.update(req)
|
|
995
|
-
d = apis.
|
|
1060
|
+
d = apis.ListUMInferAPIKeyV2RequestSchema().dumps(d)
|
|
996
1061
|
|
|
997
|
-
resp = self.invoke("
|
|
998
|
-
return apis.
|
|
1062
|
+
resp = self.invoke("ListUMInferAPIKeyV2", d, **kwargs)
|
|
1063
|
+
return apis.ListUMInferAPIKeyV2ResponseSchema().loads(resp)
|
|
999
1064
|
|
|
1000
1065
|
def list_um_infer_request_logs(
|
|
1001
1066
|
self, req: typing.Optional[dict] = None, **kwargs
|
|
@@ -1021,6 +1086,11 @@ class UAI_ModelverseClient(Client):
|
|
|
1021
1086
|
|
|
1022
1087
|
**Response Model**
|
|
1023
1088
|
|
|
1089
|
+
**RequestLogSummary**
|
|
1090
|
+
- **FailedRequests** (int) - 查询条件命中的失败请求数
|
|
1091
|
+
- **TotalRequests** (int) - 查询条件命中的总请求数
|
|
1092
|
+
|
|
1093
|
+
|
|
1024
1094
|
**RequestLogItem**
|
|
1025
1095
|
- **ApiKeyId** (str) - API Key ID
|
|
1026
1096
|
- **ApiKeyName** (str) - API Key 名称
|
|
@@ -1045,11 +1115,6 @@ class UAI_ModelverseClient(Client):
|
|
|
1045
1115
|
- **TotalTokens** (int) - 总 Token 数
|
|
1046
1116
|
|
|
1047
1117
|
|
|
1048
|
-
**RequestLogSummary**
|
|
1049
|
-
- **FailedRequests** (int) - 查询条件命中的失败请求数
|
|
1050
|
-
- **TotalRequests** (int) - 查询条件命中的总请求数
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
1118
|
**ListUMInferRequestLogsData**
|
|
1054
1119
|
- **Items** (list) - 见 **RequestLogItem** 模型定义
|
|
1055
1120
|
- **Summary** (dict) - 见 **RequestLogSummary** 模型定义
|
|
@@ -639,12 +639,12 @@ class ListUFSquareModelFiltersAuthResponseSchema(schema.ResponseSchema):
|
|
|
639
639
|
"""
|
|
640
640
|
API: ListUMInferAPIKey
|
|
641
641
|
|
|
642
|
-
|
|
642
|
+
|
|
643
643
|
"""
|
|
644
644
|
|
|
645
645
|
|
|
646
646
|
class ListUMInferAPIKeyRequestSchema(schema.RequestSchema):
|
|
647
|
-
"""ListUMInferAPIKey -
|
|
647
|
+
"""ListUMInferAPIKey -"""
|
|
648
648
|
|
|
649
649
|
fields = {
|
|
650
650
|
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
@@ -660,7 +660,7 @@ class ListUMInferAPIKeyRequestSchema(schema.RequestSchema):
|
|
|
660
660
|
|
|
661
661
|
|
|
662
662
|
class ListUMInferAPIKeyResponseSchema(schema.ResponseSchema):
|
|
663
|
-
"""ListUMInferAPIKey -
|
|
663
|
+
"""ListUMInferAPIKey -"""
|
|
664
664
|
|
|
665
665
|
fields = {
|
|
666
666
|
"Data": fields.List(
|
|
@@ -669,6 +669,48 @@ class ListUMInferAPIKeyResponseSchema(schema.ResponseSchema):
|
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
|
|
672
|
+
"""
|
|
673
|
+
API: ListUMInferAPIKeyV2
|
|
674
|
+
|
|
675
|
+
获取modelverse apikey,密钥掩码返回
|
|
676
|
+
"""
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
class ListUMInferAPIKeyV2RequestSchema(schema.RequestSchema):
|
|
680
|
+
"""ListUMInferAPIKeyV2 - 获取modelverse apikey,密钥掩码返回"""
|
|
681
|
+
|
|
682
|
+
fields = {
|
|
683
|
+
"AllStatus": fields.Int(required=False, dump_to="AllStatus"),
|
|
684
|
+
"KeyId": fields.Str(required=False, dump_to="KeyId"),
|
|
685
|
+
"Limit": fields.Int(required=False, dump_to="Limit"),
|
|
686
|
+
"Offset": fields.Str(required=False, dump_to="Offset"),
|
|
687
|
+
"ProjectId": fields.Str(required=False, dump_to="ProjectId"),
|
|
688
|
+
"Region": fields.Str(required=True, dump_to="Region"),
|
|
689
|
+
"SandBoxDisabled": fields.Str(
|
|
690
|
+
required=False, dump_to="SandBoxDisabled"
|
|
691
|
+
),
|
|
692
|
+
"SortByCreateTimeAsc": fields.Bool(
|
|
693
|
+
required=False, dump_to="SortByCreateTimeAsc"
|
|
694
|
+
),
|
|
695
|
+
"SortByUpdateTimeAsc": fields.Bool(
|
|
696
|
+
required=False, dump_to="SortByUpdateTimeAsc"
|
|
697
|
+
),
|
|
698
|
+
"Zone": fields.Str(required=True, dump_to="Zone"),
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
class ListUMInferAPIKeyV2ResponseSchema(schema.ResponseSchema):
|
|
703
|
+
"""ListUMInferAPIKeyV2 - 获取modelverse apikey,密钥掩码返回"""
|
|
704
|
+
|
|
705
|
+
fields = {
|
|
706
|
+
"Data": fields.List(
|
|
707
|
+
models.APIKeySchema(), required=False, load_from="Data"
|
|
708
|
+
),
|
|
709
|
+
"Timestamp": fields.Int(required=False, load_from="Timestamp"),
|
|
710
|
+
"TotalCount": fields.Int(required=False, load_from="TotalCount"),
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
|
|
672
714
|
"""
|
|
673
715
|
API: ListUMInferRequestLogs
|
|
674
716
|
|
|
@@ -15,14 +15,21 @@ class APIKeySchema(schema.ResponseSchema):
|
|
|
15
15
|
"DailyUsedAmount": fields.Str(
|
|
16
16
|
required=False, load_from="DailyUsedAmount"
|
|
17
17
|
),
|
|
18
|
+
"DeniedModels": fields.List(fields.Str()),
|
|
18
19
|
"ExpireTime": fields.Int(required=False, load_from="ExpireTime"),
|
|
19
20
|
"GrantAllModels": fields.Bool(
|
|
20
21
|
required=False, load_from="GrantAllModels"
|
|
21
22
|
),
|
|
22
23
|
"GrantedModels": fields.List(fields.Str()),
|
|
23
24
|
"IPWhitelist": fields.Str(required=True, load_from="IPWhitelist"),
|
|
25
|
+
"InferenceLogEnabled": fields.Int(
|
|
26
|
+
required=True, load_from="InferenceLogEnabled"
|
|
27
|
+
),
|
|
24
28
|
"Key": fields.Str(required=False, load_from="Key"),
|
|
25
29
|
"KeyId": fields.Str(required=False, load_from="KeyId"),
|
|
30
|
+
"ModelAccessMode": fields.Str(
|
|
31
|
+
required=False, load_from="ModelAccessMode"
|
|
32
|
+
),
|
|
26
33
|
"ModelverseDisabled": fields.Int(
|
|
27
34
|
required=False, load_from="ModelverseDisabled"
|
|
28
35
|
),
|
|
@@ -56,21 +63,21 @@ class DownloadFileDataSchema(schema.ResponseSchema):
|
|
|
56
63
|
}
|
|
57
64
|
|
|
58
65
|
|
|
59
|
-
class
|
|
60
|
-
"""
|
|
66
|
+
class FilterOptionStringSchema(schema.ResponseSchema):
|
|
67
|
+
"""FilterOptionString - 字符串类型筛选选项"""
|
|
61
68
|
|
|
62
69
|
fields = {
|
|
63
70
|
"Name": fields.Str(required=False, load_from="Name"),
|
|
64
|
-
"Value": fields.
|
|
71
|
+
"Value": fields.Str(required=False, load_from="Value"),
|
|
65
72
|
}
|
|
66
73
|
|
|
67
74
|
|
|
68
|
-
class
|
|
69
|
-
"""
|
|
75
|
+
class FilterOptionIntegerSchema(schema.ResponseSchema):
|
|
76
|
+
"""FilterOptionInteger - 整数类型筛选选项"""
|
|
70
77
|
|
|
71
78
|
fields = {
|
|
72
79
|
"Name": fields.Str(required=False, load_from="Name"),
|
|
73
|
-
"Value": fields.
|
|
80
|
+
"Value": fields.Int(required=False, load_from="Value"),
|
|
74
81
|
}
|
|
75
82
|
|
|
76
83
|
|
|
@@ -90,6 +97,19 @@ class ModelTypeMapSchema(schema.ResponseSchema):
|
|
|
90
97
|
}
|
|
91
98
|
|
|
92
99
|
|
|
100
|
+
class InferenceRegionInfoSchema(schema.ResponseSchema):
|
|
101
|
+
"""InferenceRegionInfo - 地域推理模型信息"""
|
|
102
|
+
|
|
103
|
+
fields = {
|
|
104
|
+
"ModelId": fields.Str(required=False, load_from="ModelId"),
|
|
105
|
+
"RegionCode": fields.Str(required=False, load_from="RegionCode"),
|
|
106
|
+
"RegionName": fields.Str(required=False, load_from="RegionName"),
|
|
107
|
+
"RegionNameEn": fields.Str(required=False, load_from="RegionNameEn"),
|
|
108
|
+
"SquareModelId": fields.Str(required=False, load_from="SquareModelId"),
|
|
109
|
+
"Status": fields.Str(required=False, load_from="Status"),
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
|
|
93
113
|
class PricingSchema(schema.ResponseSchema):
|
|
94
114
|
"""Pricing - 定价策略"""
|
|
95
115
|
|
|
@@ -104,24 +124,6 @@ class PricingSchema(schema.ResponseSchema):
|
|
|
104
124
|
}
|
|
105
125
|
|
|
106
126
|
|
|
107
|
-
class PriceRateSchema(schema.ResponseSchema):
|
|
108
|
-
"""PriceRate - 该档位下的收费列表(有序数组)"""
|
|
109
|
-
|
|
110
|
-
fields = {
|
|
111
|
-
"ChargeItem": fields.Str(required=False, load_from="ChargeItem"),
|
|
112
|
-
"ChargeItemDescription": fields.Str(
|
|
113
|
-
required=False, load_from="ChargeItemDescription"
|
|
114
|
-
),
|
|
115
|
-
"ChargeItemDescriptionEn": fields.Str(
|
|
116
|
-
required=True, load_from="ChargeItemDescriptionEn"
|
|
117
|
-
),
|
|
118
|
-
"Currency": fields.Str(required=True, load_from="Currency"),
|
|
119
|
-
"Price": fields.Str(required=False, load_from="Price"),
|
|
120
|
-
"Unit": fields.Str(required=True, load_from="Unit"),
|
|
121
|
-
"UnitEn": fields.Str(required=True, load_from="UnitEn"),
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
127
|
class ModelCapabilitiesSchema(schema.ResponseSchema):
|
|
126
128
|
"""ModelCapabilities - ModelCapabilities"""
|
|
127
129
|
|
|
@@ -156,16 +158,21 @@ class ApiProtocolsSchema(schema.ResponseSchema):
|
|
|
156
158
|
}
|
|
157
159
|
|
|
158
160
|
|
|
159
|
-
class
|
|
160
|
-
"""
|
|
161
|
+
class PriceRateSchema(schema.ResponseSchema):
|
|
162
|
+
"""PriceRate - 该档位下的收费列表(有序数组)"""
|
|
161
163
|
|
|
162
164
|
fields = {
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
"
|
|
168
|
-
|
|
165
|
+
"ChargeItem": fields.Str(required=False, load_from="ChargeItem"),
|
|
166
|
+
"ChargeItemDescription": fields.Str(
|
|
167
|
+
required=False, load_from="ChargeItemDescription"
|
|
168
|
+
),
|
|
169
|
+
"ChargeItemDescriptionEn": fields.Str(
|
|
170
|
+
required=True, load_from="ChargeItemDescriptionEn"
|
|
171
|
+
),
|
|
172
|
+
"Currency": fields.Str(required=True, load_from="Currency"),
|
|
173
|
+
"Price": fields.Str(required=False, load_from="Price"),
|
|
174
|
+
"Unit": fields.Str(required=True, load_from="Unit"),
|
|
175
|
+
"UnitEn": fields.Str(required=True, load_from="UnitEn"),
|
|
169
176
|
}
|
|
170
177
|
|
|
171
178
|
|
ucloud/services/usms/client.py
CHANGED
|
@@ -55,6 +55,7 @@ class USMSClient(Client):
|
|
|
55
55
|
|
|
56
56
|
- **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
|
|
57
57
|
- **Attr** (int) - (Required) 资质属性,0-自用 1-他用
|
|
58
|
+
- **HandlerPhone** (str) - (Required) 经办人手机号
|
|
58
59
|
- **Name** (str) - (Required) 资质名称
|
|
59
60
|
- **Status** (int) - (Required) 状态:0-草稿,1-提交审核
|
|
60
61
|
- **CompanyCertificateFileId** (str) - 公司证件文件FileId
|
|
@@ -68,6 +69,7 @@ class USMSClient(Client):
|
|
|
68
69
|
- **HandlerName** (str) - 经办人姓名
|
|
69
70
|
- **ManagerIDNumber** (str) - 法人身份证号码
|
|
70
71
|
- **ManagerName** (str) - 法人姓名
|
|
72
|
+
- **ManagerPhone** (str) - 法人手机号
|
|
71
73
|
|
|
72
74
|
**Response**
|
|
73
75
|
|
|
@@ -259,11 +261,6 @@ class USMSClient(Client):
|
|
|
259
261
|
|
|
260
262
|
**Response Model**
|
|
261
263
|
|
|
262
|
-
**ReceiptPerSession**
|
|
263
|
-
- **ReceiptSet** (list) - 见 **ReceiptPerPhone** 模型定义
|
|
264
|
-
- **SessionNo** (str) - 发送短信时返回的SessionNo
|
|
265
|
-
|
|
266
|
-
|
|
267
264
|
**ReceiptPerPhone**
|
|
268
265
|
- **CostCount** (int) - 消耗短信条数
|
|
269
266
|
- **Phone** (str) - 手机号码
|
|
@@ -274,6 +271,11 @@ class USMSClient(Client):
|
|
|
274
271
|
- **UserId** (str) - 自定义的业务标识ID,字符串
|
|
275
272
|
|
|
276
273
|
|
|
274
|
+
**ReceiptPerSession**
|
|
275
|
+
- **ReceiptSet** (list) - 见 **ReceiptPerPhone** 模型定义
|
|
276
|
+
- **SessionNo** (str) - 发送短信时返回的SessionNo
|
|
277
|
+
|
|
278
|
+
|
|
277
279
|
"""
|
|
278
280
|
# build request
|
|
279
281
|
d = {
|
|
@@ -313,6 +315,19 @@ class USMSClient(Client):
|
|
|
313
315
|
|
|
314
316
|
**Response Model**
|
|
315
317
|
|
|
318
|
+
**StatisticsData**
|
|
319
|
+
- **FailCostCount** (int) - 发送失败数(拆分条数)
|
|
320
|
+
- **FailCount** (int) - 发送失败数(提交条数)
|
|
321
|
+
- **SendCostCount** (int) - 发送总数(拆分条数)
|
|
322
|
+
- **SendCount** (int) - 发送总数(提交条数)
|
|
323
|
+
- **SubmitFailCostCount** (int) - 提交失败数(拆分条数)
|
|
324
|
+
- **SubmitFailCount** (int) - 提交失败数(提交条数)
|
|
325
|
+
- **SuccessCostCount** (int) - 发送成功数(拆分条数)
|
|
326
|
+
- **SuccessCount** (int) - 发送成功数(提交条数)
|
|
327
|
+
- **UnknownCostCount** (int) - 状态未知数(拆分条数)
|
|
328
|
+
- **UnknownCount** (int) - 状态未知数(提交条数)
|
|
329
|
+
|
|
330
|
+
|
|
316
331
|
**StatisticsDataInfo**
|
|
317
332
|
- **BrevityCode** (str) - 国际/地区标识码
|
|
318
333
|
- **CostCount** (int) - 发送总数(拆分条数)
|
|
@@ -330,19 +345,6 @@ class USMSClient(Client):
|
|
|
330
345
|
- **UserId** (str) - UserId
|
|
331
346
|
|
|
332
347
|
|
|
333
|
-
**StatisticsData**
|
|
334
|
-
- **FailCostCount** (int) - 发送失败数(拆分条数)
|
|
335
|
-
- **FailCount** (int) - 发送失败数(提交条数)
|
|
336
|
-
- **SendCostCount** (int) - 发送总数(拆分条数)
|
|
337
|
-
- **SendCount** (int) - 发送总数(提交条数)
|
|
338
|
-
- **SubmitFailCostCount** (int) - 提交失败数(拆分条数)
|
|
339
|
-
- **SubmitFailCount** (int) - 提交失败数(提交条数)
|
|
340
|
-
- **SuccessCostCount** (int) - 发送成功数(拆分条数)
|
|
341
|
-
- **SuccessCount** (int) - 发送成功数(提交条数)
|
|
342
|
-
- **UnknownCostCount** (int) - 状态未知数(拆分条数)
|
|
343
|
-
- **UnknownCount** (int) - 状态未知数(提交条数)
|
|
344
|
-
|
|
345
|
-
|
|
346
348
|
"""
|
|
347
349
|
# build request
|
|
348
350
|
d = {
|
|
@@ -406,6 +408,73 @@ class USMSClient(Client):
|
|
|
406
408
|
resp = self.invoke("GetUSMSSignatureQualification", d, **kwargs)
|
|
407
409
|
return apis.GetUSMSSignatureQualificationResponseSchema().loads(resp)
|
|
408
410
|
|
|
411
|
+
def get_usms_template_send_statistics(
|
|
412
|
+
self, req: typing.Optional[dict] = None, **kwargs
|
|
413
|
+
) -> dict:
|
|
414
|
+
"""GetUSMSTemplateSendStatistics - 获取模板发送统计数据
|
|
415
|
+
|
|
416
|
+
**Request**
|
|
417
|
+
|
|
418
|
+
- **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
|
|
419
|
+
- **Domestic** (int) - (Required) 国内标记,0-国际短信 1-国内短信
|
|
420
|
+
- **EndDate** (str) - (Required) 结束日期,格式为YYYY-MM-DD
|
|
421
|
+
- **NumPerPage** (int) - (Required) 每页记录个数
|
|
422
|
+
- **OrderBy** (str) - (Required) 排序字段,如BrevityCode表示按照BrevityCode排列,配合OrderType使用。目前支持SendDate、BrevityCode
|
|
423
|
+
- **OrderType** (str) - (Required) 排序方式,asc-正序 desc-倒序
|
|
424
|
+
- **Page** (int) - (Required) 页编号,从0开始
|
|
425
|
+
- **StartDate** (str) - (Required) 开始日期,格式为YYYY-MM-DD
|
|
426
|
+
- **BrevityCode** (str) - 国际简码,如CN表示中国,当需要查询多个国家时,使用-分割,如CN-ID。
|
|
427
|
+
- **TemplateId** (str) - 短信模板ID
|
|
428
|
+
|
|
429
|
+
**Response**
|
|
430
|
+
|
|
431
|
+
- **Data** (list) - 见 **TemplateStatisticsDataInfo** 模型定义
|
|
432
|
+
- **Message** (str) - 描述信息
|
|
433
|
+
- **StatisticsData** (dict) - 见 **StatisticsData** 模型定义
|
|
434
|
+
- **Total** (int) - 返回记录数
|
|
435
|
+
|
|
436
|
+
**Response Model**
|
|
437
|
+
|
|
438
|
+
**TemplateStatisticsDataInfo**
|
|
439
|
+
- **BrevityCode** (str) - 国际/地区标识码
|
|
440
|
+
- **CostCount** (int) - 发送总数(拆分条数)
|
|
441
|
+
- **Count** (int) - 发送总数(提交条数)
|
|
442
|
+
- **FailedCostCount** (int) - 发送失败数(拆分条数)
|
|
443
|
+
- **FailedCount** (int) - 发送失败数(提交条数)
|
|
444
|
+
- **SendDate** (str) - 发送时间
|
|
445
|
+
- **SubmitFailedCostCount** (int) - 提交失败数(拆分条数)
|
|
446
|
+
- **SubmitFailedCount** (int) - 提交失败数(提交条数)
|
|
447
|
+
- **SuccessCostCount** (int) - 发送成功数(拆分条数)
|
|
448
|
+
- **SuccessCount** (int) - 发送成功数(提交条数)
|
|
449
|
+
- **TemplateId** (str) - 短信模板ID
|
|
450
|
+
- **UnknownCostCount** (int) - 状态未知数(拆分条数)
|
|
451
|
+
- **UnknownCount** (int) - 状态未知数(提交条数)
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
**StatisticsData**
|
|
455
|
+
- **FailCostCount** (int) - 发送失败数(拆分条数)
|
|
456
|
+
- **FailCount** (int) - 发送失败数(提交条数)
|
|
457
|
+
- **SendCostCount** (int) - 发送总数(拆分条数)
|
|
458
|
+
- **SendCount** (int) - 发送总数(提交条数)
|
|
459
|
+
- **SubmitFailCostCount** (int) - 提交失败数(拆分条数)
|
|
460
|
+
- **SubmitFailCount** (int) - 提交失败数(提交条数)
|
|
461
|
+
- **SuccessCostCount** (int) - 发送成功数(拆分条数)
|
|
462
|
+
- **SuccessCount** (int) - 发送成功数(提交条数)
|
|
463
|
+
- **UnknownCostCount** (int) - 状态未知数(拆分条数)
|
|
464
|
+
- **UnknownCount** (int) - 状态未知数(提交条数)
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
"""
|
|
468
|
+
# build request
|
|
469
|
+
d = {
|
|
470
|
+
"ProjectId": self.config.project_id,
|
|
471
|
+
}
|
|
472
|
+
req and d.update(req)
|
|
473
|
+
d = apis.GetUSMSTemplateSendStatisticsRequestSchema().dumps(d)
|
|
474
|
+
|
|
475
|
+
resp = self.invoke("GetUSMSTemplateSendStatistics", d, **kwargs)
|
|
476
|
+
return apis.GetUSMSTemplateSendStatisticsResponseSchema().loads(resp)
|
|
477
|
+
|
|
409
478
|
def query_usms_signature(
|
|
410
479
|
self, req: typing.Optional[dict] = None, **kwargs
|
|
411
480
|
) -> dict:
|
|
@@ -473,8 +542,10 @@ class USMSClient(Client):
|
|
|
473
542
|
- **HandlerIDCardFrontImage** (str) - 经办人身份证人像面图片链接
|
|
474
543
|
- **HandlerIDNumber** (str) - 经办人证件号码
|
|
475
544
|
- **HandlerName** (str) - 经办人姓名
|
|
545
|
+
- **HandlerPhone** (str) - 经办人手机号
|
|
476
546
|
- **ManagerIDNumber** (str) - 负责人证件号码
|
|
477
547
|
- **ManagerName** (str) - 负责人姓名
|
|
548
|
+
- **ManagerPhone** (str) - 负责人手机号
|
|
478
549
|
- **ModifyTime** (int) - 修改时间戳
|
|
479
550
|
- **Name** (str) - 资质名称
|
|
480
551
|
- **PowerOfAttorney** (str) - 授权委托书文件链接
|
|
@@ -557,13 +628,6 @@ class USMSClient(Client):
|
|
|
557
628
|
|
|
558
629
|
**Response Model**
|
|
559
630
|
|
|
560
|
-
**BatchInfo**
|
|
561
|
-
- **FailureDetails** (str) - 未能成功发送的详情。注:模板/签名检验失败时,该字段有效
|
|
562
|
-
- **SigContent** (str) - 签名
|
|
563
|
-
- **Target** (list) - 见 **FailPhoneDetail** 模型定义
|
|
564
|
-
- **TemplateId** (str) - 模板ID
|
|
565
|
-
|
|
566
|
-
|
|
567
631
|
**FailPhoneDetail**
|
|
568
632
|
- **ExtendCode** (str) - 扩展号码
|
|
569
633
|
- **FailureDetails** (str) - 发送失败原因。注:若模板/签名校验失败,该字段为空
|
|
@@ -572,6 +636,13 @@ class USMSClient(Client):
|
|
|
572
636
|
- **UserId** (str) - 用户自定义ID
|
|
573
637
|
|
|
574
638
|
|
|
639
|
+
**BatchInfo**
|
|
640
|
+
- **FailureDetails** (str) - 未能成功发送的详情。注:模板/签名检验失败时,该字段有效
|
|
641
|
+
- **SigContent** (str) - 签名
|
|
642
|
+
- **Target** (list) - 见 **FailPhoneDetail** 模型定义
|
|
643
|
+
- **TemplateId** (str) - 模板ID
|
|
644
|
+
|
|
645
|
+
|
|
575
646
|
"""
|
|
576
647
|
# build request
|
|
577
648
|
d = {
|
|
@@ -678,8 +749,10 @@ class USMSClient(Client):
|
|
|
678
749
|
- **HandlerIDCardFrontImageFileId** (str) - 经办人身份证人像面图片FileId
|
|
679
750
|
- **HandlerIDNumber** (str) - 经办人身份证号码
|
|
680
751
|
- **HandlerName** (str) - 经办人姓名
|
|
752
|
+
- **HandlerPhone** (str) - 经办人手机号
|
|
681
753
|
- **ManagerIDNumber** (str) - 法人身份证号码
|
|
682
754
|
- **ManagerName** (str) - 法人姓名
|
|
755
|
+
- **ManagerPhone** (str) - 法人手机号
|
|
683
756
|
- **Name** (str) - 资质名称
|
|
684
757
|
|
|
685
758
|
**Response**
|
|
@@ -72,10 +72,12 @@ class AddUSMSSignatureQualificationRequestSchema(schema.RequestSchema):
|
|
|
72
72
|
required=False, dump_to="HandlerIDNumber"
|
|
73
73
|
),
|
|
74
74
|
"HandlerName": fields.Str(required=False, dump_to="HandlerName"),
|
|
75
|
+
"HandlerPhone": fields.Str(required=True, dump_to="HandlerPhone"),
|
|
75
76
|
"ManagerIDNumber": fields.Str(
|
|
76
77
|
required=False, dump_to="ManagerIDNumber"
|
|
77
78
|
),
|
|
78
79
|
"ManagerName": fields.Str(required=False, dump_to="ManagerName"),
|
|
80
|
+
"ManagerPhone": fields.Str(required=False, dump_to="ManagerPhone"),
|
|
79
81
|
"Name": fields.Str(required=True, dump_to="Name"),
|
|
80
82
|
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
81
83
|
"Status": fields.Int(required=True, dump_to="Status"),
|
|
@@ -353,6 +355,45 @@ class GetUSMSSignatureQualificationResponseSchema(schema.ResponseSchema):
|
|
|
353
355
|
}
|
|
354
356
|
|
|
355
357
|
|
|
358
|
+
"""
|
|
359
|
+
API: GetUSMSTemplateSendStatistics
|
|
360
|
+
|
|
361
|
+
获取模板发送统计数据
|
|
362
|
+
"""
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
class GetUSMSTemplateSendStatisticsRequestSchema(schema.RequestSchema):
|
|
366
|
+
"""GetUSMSTemplateSendStatistics - 获取模板发送统计数据"""
|
|
367
|
+
|
|
368
|
+
fields = {
|
|
369
|
+
"BrevityCode": fields.Str(required=False, dump_to="BrevityCode"),
|
|
370
|
+
"Domestic": fields.Int(required=True, dump_to="Domestic"),
|
|
371
|
+
"EndDate": fields.Str(required=True, dump_to="EndDate"),
|
|
372
|
+
"NumPerPage": fields.Int(required=True, dump_to="NumPerPage"),
|
|
373
|
+
"OrderBy": fields.Str(required=True, dump_to="OrderBy"),
|
|
374
|
+
"OrderType": fields.Str(required=True, dump_to="OrderType"),
|
|
375
|
+
"Page": fields.Int(required=True, dump_to="Page"),
|
|
376
|
+
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
377
|
+
"StartDate": fields.Str(required=True, dump_to="StartDate"),
|
|
378
|
+
"TemplateId": fields.Str(required=False, dump_to="TemplateId"),
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
class GetUSMSTemplateSendStatisticsResponseSchema(schema.ResponseSchema):
|
|
383
|
+
"""GetUSMSTemplateSendStatistics - 获取模板发送统计数据"""
|
|
384
|
+
|
|
385
|
+
fields = {
|
|
386
|
+
"Data": fields.List(
|
|
387
|
+
models.TemplateStatisticsDataInfoSchema(),
|
|
388
|
+
required=False,
|
|
389
|
+
load_from="Data",
|
|
390
|
+
),
|
|
391
|
+
"Message": fields.Str(required=True, load_from="Message"),
|
|
392
|
+
"StatisticsData": models.StatisticsDataSchema(),
|
|
393
|
+
"Total": fields.Int(required=True, load_from="Total"),
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
|
|
356
397
|
"""
|
|
357
398
|
API: QueryUSMSSignature
|
|
358
399
|
|
|
@@ -566,10 +607,12 @@ class UpdateUSMSSignatureQualificationRequestSchema(schema.RequestSchema):
|
|
|
566
607
|
required=False, dump_to="HandlerIDNumber"
|
|
567
608
|
),
|
|
568
609
|
"HandlerName": fields.Str(required=False, dump_to="HandlerName"),
|
|
610
|
+
"HandlerPhone": fields.Str(required=False, dump_to="HandlerPhone"),
|
|
569
611
|
"ManagerIDNumber": fields.Str(
|
|
570
612
|
required=False, dump_to="ManagerIDNumber"
|
|
571
613
|
),
|
|
572
614
|
"ManagerName": fields.Str(required=False, dump_to="ManagerName"),
|
|
615
|
+
"ManagerPhone": fields.Str(required=False, dump_to="ManagerPhone"),
|
|
573
616
|
"Name": fields.Str(required=False, dump_to="Name"),
|
|
574
617
|
"ProjectId": fields.Str(required=True, dump_to="ProjectId"),
|
|
575
618
|
"QualificationId": fields.Str(required=True, dump_to="QualificationId"),
|
|
@@ -107,6 +107,36 @@ class OutSignatureQualificationSchema(schema.ResponseSchema):
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
|
|
110
|
+
class TemplateStatisticsDataInfoSchema(schema.ResponseSchema):
|
|
111
|
+
"""TemplateStatisticsDataInfo - 模版统计信息按天聚合"""
|
|
112
|
+
|
|
113
|
+
fields = {
|
|
114
|
+
"BrevityCode": fields.Str(required=True, load_from="BrevityCode"),
|
|
115
|
+
"CostCount": fields.Int(required=True, load_from="CostCount"),
|
|
116
|
+
"Count": fields.Int(required=True, load_from="Count"),
|
|
117
|
+
"FailedCostCount": fields.Int(
|
|
118
|
+
required=True, load_from="FailedCostCount"
|
|
119
|
+
),
|
|
120
|
+
"FailedCount": fields.Int(required=True, load_from="FailedCount"),
|
|
121
|
+
"SendDate": fields.Str(required=True, load_from="SendDate"),
|
|
122
|
+
"SubmitFailedCostCount": fields.Int(
|
|
123
|
+
required=True, load_from="SubmitFailedCostCount"
|
|
124
|
+
),
|
|
125
|
+
"SubmitFailedCount": fields.Int(
|
|
126
|
+
required=True, load_from="SubmitFailedCount"
|
|
127
|
+
),
|
|
128
|
+
"SuccessCostCount": fields.Int(
|
|
129
|
+
required=True, load_from="SuccessCostCount"
|
|
130
|
+
),
|
|
131
|
+
"SuccessCount": fields.Int(required=True, load_from="SuccessCount"),
|
|
132
|
+
"TemplateId": fields.Str(required=True, load_from="TemplateId"),
|
|
133
|
+
"UnknownCostCount": fields.Int(
|
|
134
|
+
required=True, load_from="UnknownCostCount"
|
|
135
|
+
),
|
|
136
|
+
"UnknownCount": fields.Int(required=True, load_from="UnknownCount"),
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
110
140
|
class OutSignatureSchema(schema.ResponseSchema):
|
|
111
141
|
"""OutSignature - 短信签名"""
|
|
112
142
|
|
|
@@ -119,7 +149,7 @@ class OutSignatureSchema(schema.ResponseSchema):
|
|
|
119
149
|
|
|
120
150
|
|
|
121
151
|
class OutSignatureQualificationDetailSchema(schema.ResponseSchema):
|
|
122
|
-
"""OutSignatureQualificationDetail -"""
|
|
152
|
+
"""OutSignatureQualificationDetail - 签名资质详情"""
|
|
123
153
|
|
|
124
154
|
fields = {
|
|
125
155
|
"Attr": fields.Int(required=False, load_from="Attr"),
|
|
@@ -149,10 +179,12 @@ class OutSignatureQualificationDetailSchema(schema.ResponseSchema):
|
|
|
149
179
|
required=False, load_from="HandlerIDNumber"
|
|
150
180
|
),
|
|
151
181
|
"HandlerName": fields.Str(required=False, load_from="HandlerName"),
|
|
182
|
+
"HandlerPhone": fields.Str(required=False, load_from="HandlerPhone"),
|
|
152
183
|
"ManagerIDNumber": fields.Str(
|
|
153
184
|
required=False, load_from="ManagerIDNumber"
|
|
154
185
|
),
|
|
155
186
|
"ManagerName": fields.Str(required=False, load_from="ManagerName"),
|
|
187
|
+
"ManagerPhone": fields.Str(required=False, load_from="ManagerPhone"),
|
|
156
188
|
"ModifyTime": fields.Int(required=False, load_from="ModifyTime"),
|
|
157
189
|
"Name": fields.Str(required=False, load_from="Name"),
|
|
158
190
|
"PowerOfAttorney": fields.Str(
|
ucloud/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version = "0.11.
|
|
1
|
+
version = "0.11.149"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ucloud-sdk-python3
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.149
|
|
4
4
|
Summary: UCloud Service Development Kit - Python
|
|
5
5
|
Home-page: https://github.com/ucloud/ucloud-sdk-python3
|
|
6
6
|
Author: ucloud
|
|
@@ -22,20 +22,20 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
Requires-Dist: requests
|
|
24
24
|
Provides-Extra: ci
|
|
25
|
-
Requires-Dist: requests; extra == "ci"
|
|
25
|
+
Requires-Dist: requests-mock; extra == "ci"
|
|
26
26
|
Requires-Dist: sphinx; extra == "ci"
|
|
27
|
+
Requires-Dist: requests; extra == "ci"
|
|
27
28
|
Requires-Dist: pytest-cov; extra == "ci"
|
|
28
|
-
Requires-Dist: requests-mock; extra == "ci"
|
|
29
29
|
Requires-Dist: flake8>=3.6.0; extra == "ci"
|
|
30
30
|
Requires-Dist: pytest>=4.6; extra == "ci"
|
|
31
31
|
Provides-Extra: dev
|
|
32
|
-
Requires-Dist: requests; extra == "dev"
|
|
32
|
+
Requires-Dist: requests-mock; extra == "dev"
|
|
33
33
|
Requires-Dist: sphinx; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest>=4.6; extra == "dev"
|
|
34
35
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
35
|
-
Requires-Dist: requests-mock; extra == "dev"
|
|
36
|
-
Requires-Dist: flake8>=3.6.0; extra == "dev"
|
|
37
36
|
Requires-Dist: black; extra == "dev"
|
|
38
|
-
Requires-Dist:
|
|
37
|
+
Requires-Dist: flake8>=3.6.0; extra == "dev"
|
|
38
|
+
Requires-Dist: requests; extra == "dev"
|
|
39
39
|
Provides-Extra: doc
|
|
40
40
|
Requires-Dist: requests; extra == "doc"
|
|
41
41
|
Requires-Dist: sphinx; extra == "doc"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
ucloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
ucloud/client.py,sha256=-BJGM-ulXMVFaj_-fHQkZlB5tu7f3bpZPxpUqFDuii8,14782
|
|
3
|
-
ucloud/version.py,sha256=
|
|
3
|
+
ucloud/version.py,sha256=SBfjPmmfQlC5nRJidHoH-OEX_0W3D7aekazUbsebDOc,21
|
|
4
4
|
ucloud/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
ucloud/core/auth/__init__.py,sha256=yO69G6m3hTfWQZzqFmZJEe0-JXw6JKTHTDJu7goX_QU,71
|
|
6
6
|
ucloud/core/auth/_cfg.py,sha256=7Zsv7bKxJ6NtxeR_VE9jldLh-iIy0ERvkr2AuvLESZY,2115
|
|
@@ -108,10 +108,10 @@ ucloud/services/uads/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
108
108
|
ucloud/services/uads/schemas/apis.py,sha256=Uyety2W0wHk4WGyri2zNUPY_rOfd5XhaOnBw2cvGoFs,29043
|
|
109
109
|
ucloud/services/uads/schemas/models.py,sha256=W6rqAJ8Xp_ltV4EQz5Nkb2BP9mO9K2wSVyad6PxDy0A,7707
|
|
110
110
|
ucloud/services/uai_modelverse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
111
|
-
ucloud/services/uai_modelverse/client.py,sha256=
|
|
111
|
+
ucloud/services/uai_modelverse/client.py,sha256=alYd72bIhMqBbpQujwZKZU6A0fOshz4jj96C1KQHY4E,60801
|
|
112
112
|
ucloud/services/uai_modelverse/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
113
|
-
ucloud/services/uai_modelverse/schemas/apis.py,sha256=
|
|
114
|
-
ucloud/services/uai_modelverse/schemas/models.py,sha256=
|
|
113
|
+
ucloud/services/uai_modelverse/schemas/apis.py,sha256=CZVBIHLRg1Lg7IYEB3LmMfnd3vEXin1OWxWRvtmRif8,29813
|
|
114
|
+
ucloud/services/uai_modelverse/schemas/models.py,sha256=QQB_n21axm7ovRhFr0UJpp7SMd5Abbl-5GneMrbxo-k,24049
|
|
115
115
|
ucloud/services/uas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
116
116
|
ucloud/services/uas/client.py,sha256=Mv7k0nmFhd083h_hbSt-hAVVAY9mlqam1fv4bVQew4k,2704
|
|
117
117
|
ucloud/services/uas/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -308,10 +308,10 @@ ucloud/services/uslk/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
308
308
|
ucloud/services/uslk/schemas/apis.py,sha256=Rkro1jDvdD1otlZMUNQtIKbEOh0vOcQ_y3UiufH33zM,5927
|
|
309
309
|
ucloud/services/uslk/schemas/models.py,sha256=hk8TOzsceJaLRj7ttq9ofnyvTSYq-9Ui5Vs_5ZI7PaE,3464
|
|
310
310
|
ucloud/services/usms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
311
|
-
ucloud/services/usms/client.py,sha256
|
|
311
|
+
ucloud/services/usms/client.py,sha256=0zrtdCGOHkTJvtaq4Grk3d1Xa8cTnkCVJiMbSOTBj4w,43690
|
|
312
312
|
ucloud/services/usms/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
313
|
-
ucloud/services/usms/schemas/apis.py,sha256=
|
|
314
|
-
ucloud/services/usms/schemas/models.py,sha256=
|
|
313
|
+
ucloud/services/usms/schemas/apis.py,sha256=fsfS6x5XvwbRCll6rbOttt1PWLLs3k7LJt1stRnlWWo,23740
|
|
314
|
+
ucloud/services/usms/schemas/models.py,sha256=Ke4urWjiA3Gf0a7yq5_bLbK4BfDwz8LnQdoo2eXItOs,10394
|
|
315
315
|
ucloud/services/utsdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
316
316
|
ucloud/services/utsdb/client.py,sha256=gbQO_juufgEqx6mSGB_i1EKzYbLi9W9d-NCL77WyEW4,26225
|
|
317
317
|
ucloud/services/utsdb/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -343,8 +343,8 @@ ucloud/testing/driver/__init__.py,sha256=54MLBVRxmiRLl0NLnP5dBi7abADTzWT3hJTgWxD
|
|
|
343
343
|
ucloud/testing/driver/_scenario.py,sha256=9L8TTuPRTRIAowNT9fe8lX-dx3QHPxVuVXlBRkKJs-Y,2585
|
|
344
344
|
ucloud/testing/driver/_specification.py,sha256=FaKgkqsZJej7cTPp6-YjbNotR13mUZvRJlsnxxhUCMs,1726
|
|
345
345
|
ucloud/testing/driver/_step.py,sha256=rK9PN4Hu20eD4ol7jV8KAIqfdwTXKEj9nJoXd_tzHpE,5443
|
|
346
|
-
ucloud_sdk_python3-0.11.
|
|
347
|
-
ucloud_sdk_python3-0.11.
|
|
348
|
-
ucloud_sdk_python3-0.11.
|
|
349
|
-
ucloud_sdk_python3-0.11.
|
|
350
|
-
ucloud_sdk_python3-0.11.
|
|
346
|
+
ucloud_sdk_python3-0.11.149.dist-info/LICENSE,sha256=Pd-b5cKP4n2tFDpdx27qJSIq0d1ok0oEcGTlbtL6QMU,11560
|
|
347
|
+
ucloud_sdk_python3-0.11.149.dist-info/METADATA,sha256=MG2UuM9cruHM6EU75KJQsHJoWLHKb6RMSeLu35oYuaE,2876
|
|
348
|
+
ucloud_sdk_python3-0.11.149.dist-info/WHEEL,sha256=BNRMDyzLkkcmlv0J8ppDQkk2VED33SesJDynr9ED1gc,91
|
|
349
|
+
ucloud_sdk_python3-0.11.149.dist-info/top_level.txt,sha256=zDw9C3GldC2mbAz2YzUcVbMsPS4MYmWmXnGeYcoIeJI,7
|
|
350
|
+
ucloud_sdk_python3-0.11.149.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{ucloud_sdk_python3-0.11.147.dist-info → ucloud_sdk_python3-0.11.149.dist-info}/top_level.txt
RENAMED
|
File without changes
|