tencentcloud-sdk-python-organization 3.0.910__tar.gz → 3.0.918__tar.gz

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.
Files changed (18) hide show
  1. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/__init__.py +1 -1
  3. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/v20210331/errorcodes.py +57 -0
  4. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/v20210331/models.py +541 -0
  5. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/v20210331/organization_client.py +138 -0
  6. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +1 -1
  7. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/README.rst +0 -0
  8. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/setup.cfg +0 -0
  9. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/setup.py +0 -0
  10. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/__init__.py +0 -0
  11. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/v20181225/__init__.py +0 -0
  12. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/v20181225/models.py +0 -0
  14. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/v20181225/organization_client.py +0 -0
  15. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud/organization/v20210331/__init__.py +0 -0
  16. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
  17. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
  18. {tencentcloud-sdk-python-organization-3.0.910 → tencentcloud-sdk-python-organization-3.0.918}/tencentcloud_sdk_python_organization.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.0.910
3
+ Version: 3.0.918
4
4
  Summary: Tencent Cloud Organization SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.910'
17
+ __version__ = '3.0.918'
@@ -14,12 +14,27 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
+ # 该帐号已被注册。
18
+ FAILEDOPERATION_ACCOUNTALREADYREGISTER = 'FailedOperation.AccountAlreadyRegister'
19
+
17
20
  # 用户未实名。
18
21
  FAILEDOPERATION_AUTHINFOEMPTY = 'FailedOperation.AuthInfoEmpty'
19
22
 
20
23
  # 用户非企业实名。
21
24
  FAILEDOPERATION_AUTHNOTENTERPRISE = 'FailedOperation.AuthNotEnterprise'
22
25
 
26
+ # 绑定邮箱链接过期。
27
+ FAILEDOPERATION_BINDEMAILLINKEXPIRED = 'FailedOperation.BindEmailLinkExpired'
28
+
29
+ # 绑定邮箱链接无效。
30
+ FAILEDOPERATION_BINDEMAILLINKINVALID = 'FailedOperation.BindEmailLinkInvalid'
31
+
32
+ # 检查手机绑定上限失败。
33
+ FAILEDOPERATION_CHECKACCOUNTPHONEBINDLIMIT = 'FailedOperation.CheckAccountPhoneBindLimit'
34
+
35
+ # 检查邮箱绑定状态失败。
36
+ FAILEDOPERATION_CHECKMAILACCOUNT = 'FailedOperation.CheckMailAccount'
37
+
23
38
  # 创建成员异常。
24
39
  FAILEDOPERATION_CREATEACCOUNT = 'FailedOperation.CreateAccount'
25
40
 
@@ -44,9 +59,24 @@ FAILEDOPERATION_CREATEROLE = 'FailedOperation.CreateRole'
44
59
  # 不能退出自己创建的企业组织。
45
60
  FAILEDOPERATION_DISABLEQUITSELFCREATEDORGANIZATION = 'FailedOperation.DisableQuitSelfCreatedOrganization'
46
61
 
62
+ # 邮箱已经被使用。
63
+ FAILEDOPERATION_EMAILALREADYUSED = 'FailedOperation.EmailAlreadyUsed'
64
+
65
+ # 邮箱绑定已经失效。
66
+ FAILEDOPERATION_EMAILBINDRECORDINVALID = 'FailedOperation.EmailBindRecordInvalid'
67
+
47
68
  # 查询实名信息出错。
48
69
  FAILEDOPERATION_GETAUTHINFO = 'FailedOperation.GetAuthInfo'
49
70
 
71
+ # 邮箱绑定失败。
72
+ FAILEDOPERATION_MEMBERBINDEMAILERROR = 'FailedOperation.MemberBindEmailError'
73
+
74
+ # 安全手机绑定失败。
75
+ FAILEDOPERATION_MEMBERBINDPHONEERROR = 'FailedOperation.MemberBindPhoneError'
76
+
77
+ # 成员存在邮箱。
78
+ FAILEDOPERATION_MEMBEREMAILEXIST = 'FailedOperation.MemberEmailExist'
79
+
50
80
  # 成员存在代付者,不允许删除。
51
81
  FAILEDOPERATION_MEMBEREXISTDELEGATEPAYERNOTALLOWDELETE = 'FailedOperation.MemberExistDelegatePayerNotAllowDelete'
52
82
 
@@ -119,9 +149,24 @@ INTERNALERROR = 'InternalError'
119
149
  # 参数错误。
120
150
  INVALIDPARAMETER = 'InvalidParameter'
121
151
 
152
+ # 手机验证码错误。
153
+ INVALIDPARAMETER_CODEERROR = 'InvalidParameter.CodeError'
154
+
155
+ # 手机验证码已过期。
156
+ INVALIDPARAMETER_CODEEXPIRED = 'InvalidParameter.CodeExpired'
157
+
158
+ # 无效的邮箱。
159
+ INVALIDPARAMETER_INVALIDEMAIL = 'InvalidParameter.InvalidEmail'
160
+
161
+ # 密码不合法。
162
+ INVALIDPARAMETER_PASSWORDILLEGAL = 'InvalidParameter.PasswordIllegal'
163
+
122
164
  # 创建成员超过上限。
123
165
  LIMITEXCEEDED_CREATEMEMBEROVERLIMIT = 'LimitExceeded.CreateMemberOverLimit'
124
166
 
167
+ # 配置邮箱超过当日上限。
168
+ LIMITEXCEEDED_EMAILBINDOVERLIMIT = 'LimitExceeded.EmailBindOverLimit'
169
+
125
170
  # 企业组织单元层级太多。
126
171
  LIMITEXCEEDED_NODEDEPTHEXCEEDLIMIT = 'LimitExceeded.NodeDepthExceedLimit'
127
172
 
@@ -131,6 +176,15 @@ LIMITEXCEEDED_NODEEXCEEDLIMIT = 'LimitExceeded.NodeExceedLimit'
131
176
  # 成员超过上限。
132
177
  LIMITEXCEEDED_ORGANIZATIONMEMBEROVERLIMIT = 'LimitExceeded.OrganizationMemberOverLimit'
133
178
 
179
+ # 手机超过绑定上限。
180
+ LIMITEXCEEDED_PHONENUMBOUND = 'LimitExceeded.PhoneNumBound'
181
+
182
+ # 修改成员绑定信息超过限制。
183
+ LIMITEXCEEDED_UPDATEEMAILBINDOVERLIMIT = 'LimitExceeded.UpdateEmailBindOverLimit'
184
+
185
+ # 邮箱绑定记录不存在。
186
+ RESOURCENOTFOUND_EMAILBINDRECORDNOTEXIST = 'ResourceNotFound.EmailBindRecordNotExist'
187
+
134
188
  # 成员可授权身份不存在。
135
189
  RESOURCENOTFOUND_MEMBERIDENTITYNOTEXIST = 'ResourceNotFound.MemberIdentityNotExist'
136
190
 
@@ -152,6 +206,9 @@ RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = 'ResourceNotFound.OrganizationNotExist'
152
206
  # 集团服务不存在。
153
207
  RESOURCENOTFOUND_ORGANIZATIONSERVICENOTEXIST = 'ResourceNotFound.OrganizationServiceNotExist'
154
208
 
209
+ # 用户不存在。
210
+ RESOURCENOTFOUND_USERNOTEXIST = 'ResourceNotFound.UserNotExist'
211
+
155
212
  # 操作不支持。
156
213
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
157
214
 
@@ -18,6 +18,59 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class AddOrganizationMemberEmailRequest(AbstractModel):
22
+ """AddOrganizationMemberEmail请求参数结构体
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param MemberUin: 成员Uin
29
+ :type MemberUin: int
30
+ :param Email: 邮箱地址
31
+ :type Email: str
32
+ :param CountryCode: 国际区号
33
+ :type CountryCode: str
34
+ :param Phone: 手机号
35
+ :type Phone: str
36
+ """
37
+ self.MemberUin = None
38
+ self.Email = None
39
+ self.CountryCode = None
40
+ self.Phone = None
41
+
42
+
43
+ def _deserialize(self, params):
44
+ self.MemberUin = params.get("MemberUin")
45
+ self.Email = params.get("Email")
46
+ self.CountryCode = params.get("CountryCode")
47
+ self.Phone = params.get("Phone")
48
+ memeber_set = set(params.keys())
49
+ for name, value in vars(self).items():
50
+ if name in memeber_set:
51
+ memeber_set.remove(name)
52
+ if len(memeber_set) > 0:
53
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
54
+
55
+
56
+
57
+ class AddOrganizationMemberEmailResponse(AbstractModel):
58
+ """AddOrganizationMemberEmail返回参数结构体
59
+
60
+ """
61
+
62
+ def __init__(self):
63
+ r"""
64
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
65
+ :type RequestId: str
66
+ """
67
+ self.RequestId = None
68
+
69
+
70
+ def _deserialize(self, params):
71
+ self.RequestId = params.get("RequestId")
72
+
73
+
21
74
  class AddOrganizationNodeRequest(AbstractModel):
22
75
  """AddOrganizationNode请求参数结构体
23
76
 
@@ -492,6 +545,231 @@ class DescribeOrganizationAuthNodeResponse(AbstractModel):
492
545
  self.RequestId = params.get("RequestId")
493
546
 
494
547
 
548
+ class DescribeOrganizationFinancialByMemberRequest(AbstractModel):
549
+ """DescribeOrganizationFinancialByMember请求参数结构体
550
+
551
+ """
552
+
553
+ def __init__(self):
554
+ r"""
555
+ :param Month: 查询开始月份。格式:yyyy-mm,例如:2021-01。
556
+ :type Month: str
557
+ :param Limit: 限制数目。取值范围:1~50,默认值:10
558
+ :type Limit: int
559
+ :param Offset: 偏移量。取值是limit的整数倍,默认值 : 0
560
+ :type Offset: int
561
+ :param EndMonth: 查询结束月份。格式:yyyy-mm,例如:2021-01,默认值为查询开始月份。
562
+ :type EndMonth: str
563
+ :param MemberUins: 查询成员列表。 最大100个
564
+ :type MemberUins: list of int
565
+ :param ProductCodes: 查询产品列表。 最大100个
566
+ :type ProductCodes: list of str
567
+ """
568
+ self.Month = None
569
+ self.Limit = None
570
+ self.Offset = None
571
+ self.EndMonth = None
572
+ self.MemberUins = None
573
+ self.ProductCodes = None
574
+
575
+
576
+ def _deserialize(self, params):
577
+ self.Month = params.get("Month")
578
+ self.Limit = params.get("Limit")
579
+ self.Offset = params.get("Offset")
580
+ self.EndMonth = params.get("EndMonth")
581
+ self.MemberUins = params.get("MemberUins")
582
+ self.ProductCodes = params.get("ProductCodes")
583
+ memeber_set = set(params.keys())
584
+ for name, value in vars(self).items():
585
+ if name in memeber_set:
586
+ memeber_set.remove(name)
587
+ if len(memeber_set) > 0:
588
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
589
+
590
+
591
+
592
+ class DescribeOrganizationFinancialByMemberResponse(AbstractModel):
593
+ """DescribeOrganizationFinancialByMember返回参数结构体
594
+
595
+ """
596
+
597
+ def __init__(self):
598
+ r"""
599
+ :param TotalCost: 当月总消耗。
600
+ 注意:此字段可能返回 null,表示取不到有效值。
601
+ :type TotalCost: float
602
+ :param Items: 成员消耗详情。
603
+ 注意:此字段可能返回 null,表示取不到有效值。
604
+ :type Items: list of OrgMemberFinancial
605
+ :param Total: 总数目。
606
+ 注意:此字段可能返回 null,表示取不到有效值。
607
+ :type Total: int
608
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
609
+ :type RequestId: str
610
+ """
611
+ self.TotalCost = None
612
+ self.Items = None
613
+ self.Total = None
614
+ self.RequestId = None
615
+
616
+
617
+ def _deserialize(self, params):
618
+ self.TotalCost = params.get("TotalCost")
619
+ if params.get("Items") is not None:
620
+ self.Items = []
621
+ for item in params.get("Items"):
622
+ obj = OrgMemberFinancial()
623
+ obj._deserialize(item)
624
+ self.Items.append(obj)
625
+ self.Total = params.get("Total")
626
+ self.RequestId = params.get("RequestId")
627
+
628
+
629
+ class DescribeOrganizationFinancialByMonthRequest(AbstractModel):
630
+ """DescribeOrganizationFinancialByMonth请求参数结构体
631
+
632
+ """
633
+
634
+ def __init__(self):
635
+ r"""
636
+ :param Limit: 查询月数。取值范围:1~6,默认值:6
637
+ :type Limit: int
638
+ :param EndMonth: 查询结束月份。格式:yyyy-mm,例如:2021-01
639
+ :type EndMonth: str
640
+ :param MemberUins: 查询成员列表。 最大100个
641
+ :type MemberUins: list of int
642
+ :param ProductCodes: 查询产品列表。 最大100个
643
+ :type ProductCodes: list of str
644
+ """
645
+ self.Limit = None
646
+ self.EndMonth = None
647
+ self.MemberUins = None
648
+ self.ProductCodes = None
649
+
650
+
651
+ def _deserialize(self, params):
652
+ self.Limit = params.get("Limit")
653
+ self.EndMonth = params.get("EndMonth")
654
+ self.MemberUins = params.get("MemberUins")
655
+ self.ProductCodes = params.get("ProductCodes")
656
+ memeber_set = set(params.keys())
657
+ for name, value in vars(self).items():
658
+ if name in memeber_set:
659
+ memeber_set.remove(name)
660
+ if len(memeber_set) > 0:
661
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
662
+
663
+
664
+
665
+ class DescribeOrganizationFinancialByMonthResponse(AbstractModel):
666
+ """DescribeOrganizationFinancialByMonth返回参数结构体
667
+
668
+ """
669
+
670
+ def __init__(self):
671
+ r"""
672
+ :param Items: 产品消耗详情。
673
+ 注意:此字段可能返回 null,表示取不到有效值。
674
+ :type Items: list of OrgFinancialByMonth
675
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
676
+ :type RequestId: str
677
+ """
678
+ self.Items = None
679
+ self.RequestId = None
680
+
681
+
682
+ def _deserialize(self, params):
683
+ if params.get("Items") is not None:
684
+ self.Items = []
685
+ for item in params.get("Items"):
686
+ obj = OrgFinancialByMonth()
687
+ obj._deserialize(item)
688
+ self.Items.append(obj)
689
+ self.RequestId = params.get("RequestId")
690
+
691
+
692
+ class DescribeOrganizationFinancialByProductRequest(AbstractModel):
693
+ """DescribeOrganizationFinancialByProduct请求参数结构体
694
+
695
+ """
696
+
697
+ def __init__(self):
698
+ r"""
699
+ :param Month: 查询开始月份。格式:yyyy-mm,例如:2021-01
700
+ :type Month: str
701
+ :param Limit: 限制数目。取值范围:1~50,默认值:10
702
+ :type Limit: int
703
+ :param Offset: 偏移量。取值是limit的整数倍,默认值 : 0
704
+ :type Offset: int
705
+ :param EndMonth: 查询结束月份。格式:yyyy-mm,例如:2021-01,默认值为查询开始月份
706
+ :type EndMonth: str
707
+ :param MemberUins: 查询成员列表。 最大100个
708
+ :type MemberUins: list of int
709
+ :param ProductCodes: 查询产品列表。 最大100个
710
+ :type ProductCodes: list of str
711
+ """
712
+ self.Month = None
713
+ self.Limit = None
714
+ self.Offset = None
715
+ self.EndMonth = None
716
+ self.MemberUins = None
717
+ self.ProductCodes = None
718
+
719
+
720
+ def _deserialize(self, params):
721
+ self.Month = params.get("Month")
722
+ self.Limit = params.get("Limit")
723
+ self.Offset = params.get("Offset")
724
+ self.EndMonth = params.get("EndMonth")
725
+ self.MemberUins = params.get("MemberUins")
726
+ self.ProductCodes = params.get("ProductCodes")
727
+ memeber_set = set(params.keys())
728
+ for name, value in vars(self).items():
729
+ if name in memeber_set:
730
+ memeber_set.remove(name)
731
+ if len(memeber_set) > 0:
732
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
733
+
734
+
735
+
736
+ class DescribeOrganizationFinancialByProductResponse(AbstractModel):
737
+ """DescribeOrganizationFinancialByProduct返回参数结构体
738
+
739
+ """
740
+
741
+ def __init__(self):
742
+ r"""
743
+ :param TotalCost: 当月总消耗。
744
+ 注意:此字段可能返回 null,表示取不到有效值。
745
+ :type TotalCost: float
746
+ :param Items: 产品消耗详情。
747
+ 注意:此字段可能返回 null,表示取不到有效值。
748
+ :type Items: list of OrgProductFinancial
749
+ :param Total: 总数目。
750
+ 注意:此字段可能返回 null,表示取不到有效值。
751
+ :type Total: int
752
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
753
+ :type RequestId: str
754
+ """
755
+ self.TotalCost = None
756
+ self.Items = None
757
+ self.Total = None
758
+ self.RequestId = None
759
+
760
+
761
+ def _deserialize(self, params):
762
+ self.TotalCost = params.get("TotalCost")
763
+ if params.get("Items") is not None:
764
+ self.Items = []
765
+ for item in params.get("Items"):
766
+ obj = OrgProductFinancial()
767
+ obj._deserialize(item)
768
+ self.Items.append(obj)
769
+ self.Total = params.get("Total")
770
+ self.RequestId = params.get("RequestId")
771
+
772
+
495
773
  class DescribeOrganizationMemberAuthAccountsRequest(AbstractModel):
496
774
  """DescribeOrganizationMemberAuthAccounts请求参数结构体
497
775
 
@@ -624,6 +902,92 @@ class DescribeOrganizationMemberAuthIdentitiesResponse(AbstractModel):
624
902
  self.RequestId = params.get("RequestId")
625
903
 
626
904
 
905
+ class DescribeOrganizationMemberEmailBindRequest(AbstractModel):
906
+ """DescribeOrganizationMemberEmailBind请求参数结构体
907
+
908
+ """
909
+
910
+ def __init__(self):
911
+ r"""
912
+ :param MemberUin: 成员Uin
913
+ :type MemberUin: int
914
+ """
915
+ self.MemberUin = None
916
+
917
+
918
+ def _deserialize(self, params):
919
+ self.MemberUin = params.get("MemberUin")
920
+ memeber_set = set(params.keys())
921
+ for name, value in vars(self).items():
922
+ if name in memeber_set:
923
+ memeber_set.remove(name)
924
+ if len(memeber_set) > 0:
925
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
926
+
927
+
928
+
929
+ class DescribeOrganizationMemberEmailBindResponse(AbstractModel):
930
+ """DescribeOrganizationMemberEmailBind返回参数结构体
931
+
932
+ """
933
+
934
+ def __init__(self):
935
+ r"""
936
+ :param BindId: 绑定ID
937
+ 注意:此字段可能返回 null,表示取不到有效值。
938
+ :type BindId: int
939
+ :param ApplyTime: 申请时间
940
+ 注意:此字段可能返回 null,表示取不到有效值。
941
+ :type ApplyTime: str
942
+ :param Email: 邮箱地址
943
+ 注意:此字段可能返回 null,表示取不到有效值。
944
+ :type Email: str
945
+ :param Phone: 手机号
946
+ 注意:此字段可能返回 null,表示取不到有效值。
947
+ :type Phone: str
948
+ :param BindStatus: 绑定状态 未绑定:Unbound,待激活:Valid,绑定成功:Success,绑定失败:Failed
949
+ 注意:此字段可能返回 null,表示取不到有效值。
950
+ :type BindStatus: str
951
+ :param BindTime: 绑定时间
952
+ 注意:此字段可能返回 null,表示取不到有效值。
953
+ :type BindTime: str
954
+ :param Description: 失败说明
955
+ 注意:此字段可能返回 null,表示取不到有效值。
956
+ :type Description: str
957
+ :param PhoneBind: 安全手机绑定状态 未绑定:0,已绑定:1
958
+ 注意:此字段可能返回 null,表示取不到有效值。
959
+ :type PhoneBind: int
960
+ :param CountryCode: 国际区号
961
+ 注意:此字段可能返回 null,表示取不到有效值。
962
+ :type CountryCode: str
963
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
964
+ :type RequestId: str
965
+ """
966
+ self.BindId = None
967
+ self.ApplyTime = None
968
+ self.Email = None
969
+ self.Phone = None
970
+ self.BindStatus = None
971
+ self.BindTime = None
972
+ self.Description = None
973
+ self.PhoneBind = None
974
+ self.CountryCode = None
975
+ self.RequestId = None
976
+
977
+
978
+ def _deserialize(self, params):
979
+ self.BindId = params.get("BindId")
980
+ self.ApplyTime = params.get("ApplyTime")
981
+ self.Email = params.get("Email")
982
+ self.Phone = params.get("Phone")
983
+ self.BindStatus = params.get("BindStatus")
984
+ self.BindTime = params.get("BindTime")
985
+ self.Description = params.get("Description")
986
+ self.PhoneBind = params.get("PhoneBind")
987
+ self.CountryCode = params.get("CountryCode")
988
+ self.RequestId = params.get("RequestId")
989
+
990
+
627
991
  class DescribeOrganizationMemberPoliciesRequest(AbstractModel):
628
992
  """DescribeOrganizationMemberPolicies请求参数结构体
629
993
 
@@ -1161,6 +1525,46 @@ class MoveOrganizationNodeMembersResponse(AbstractModel):
1161
1525
  self.RequestId = params.get("RequestId")
1162
1526
 
1163
1527
 
1528
+ class OrgFinancialByMonth(AbstractModel):
1529
+ """按月获取组织财务信息
1530
+
1531
+ """
1532
+
1533
+ def __init__(self):
1534
+ r"""
1535
+ :param Id: 记录ID。
1536
+ 注意:此字段可能返回 null,表示取不到有效值。
1537
+ :type Id: int
1538
+ :param Month: 月份,格式:yyyy-mm,示例:2021-01。
1539
+ 注意:此字段可能返回 null,表示取不到有效值。
1540
+ :type Month: str
1541
+ :param TotalCost: 消耗金额,单元:元。
1542
+ 注意:此字段可能返回 null,表示取不到有效值。
1543
+ :type TotalCost: float
1544
+ :param GrowthRate: 比上月增长率%。正数增长,负数下降,空值无法统计。
1545
+ 注意:此字段可能返回 null,表示取不到有效值。
1546
+ :type GrowthRate: str
1547
+ """
1548
+ self.Id = None
1549
+ self.Month = None
1550
+ self.TotalCost = None
1551
+ self.GrowthRate = None
1552
+
1553
+
1554
+ def _deserialize(self, params):
1555
+ self.Id = params.get("Id")
1556
+ self.Month = params.get("Month")
1557
+ self.TotalCost = params.get("TotalCost")
1558
+ self.GrowthRate = params.get("GrowthRate")
1559
+ memeber_set = set(params.keys())
1560
+ for name, value in vars(self).items():
1561
+ if name in memeber_set:
1562
+ memeber_set.remove(name)
1563
+ if len(memeber_set) > 0:
1564
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1565
+
1566
+
1567
+
1164
1568
  class OrgIdentity(AbstractModel):
1165
1569
  """组织身份
1166
1570
 
@@ -1451,6 +1855,46 @@ class OrgMemberAuthIdentity(AbstractModel):
1451
1855
 
1452
1856
 
1453
1857
 
1858
+ class OrgMemberFinancial(AbstractModel):
1859
+ """组织成员财务信息。
1860
+
1861
+ """
1862
+
1863
+ def __init__(self):
1864
+ r"""
1865
+ :param MemberUin: 成员Uin。
1866
+ 注意:此字段可能返回 null,表示取不到有效值。
1867
+ :type MemberUin: int
1868
+ :param MemberName: 成员名称。
1869
+ 注意:此字段可能返回 null,表示取不到有效值。
1870
+ :type MemberName: str
1871
+ :param TotalCost: 消耗金额,单位:元。
1872
+ 注意:此字段可能返回 null,表示取不到有效值。
1873
+ :type TotalCost: float
1874
+ :param Ratio: 占比%。
1875
+ 注意:此字段可能返回 null,表示取不到有效值。
1876
+ :type Ratio: str
1877
+ """
1878
+ self.MemberUin = None
1879
+ self.MemberName = None
1880
+ self.TotalCost = None
1881
+ self.Ratio = None
1882
+
1883
+
1884
+ def _deserialize(self, params):
1885
+ self.MemberUin = params.get("MemberUin")
1886
+ self.MemberName = params.get("MemberName")
1887
+ self.TotalCost = params.get("TotalCost")
1888
+ self.Ratio = params.get("Ratio")
1889
+ memeber_set = set(params.keys())
1890
+ for name, value in vars(self).items():
1891
+ if name in memeber_set:
1892
+ memeber_set.remove(name)
1893
+ if len(memeber_set) > 0:
1894
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1895
+
1896
+
1897
+
1454
1898
  class OrgMemberPolicy(AbstractModel):
1455
1899
  """组织成员被授权的策略
1456
1900
 
@@ -1589,6 +2033,103 @@ class OrgPermission(AbstractModel):
1589
2033
 
1590
2034
 
1591
2035
 
2036
+ class OrgProductFinancial(AbstractModel):
2037
+ """组织产品财务信息
2038
+
2039
+ """
2040
+
2041
+ def __init__(self):
2042
+ r"""
2043
+ :param ProductName: 产品Code。
2044
+ 注意:此字段可能返回 null,表示取不到有效值。
2045
+ :type ProductName: str
2046
+ :param ProductCode: 产品名。
2047
+ 注意:此字段可能返回 null,表示取不到有效值。
2048
+ :type ProductCode: str
2049
+ :param TotalCost: 产品消耗,单位:元。
2050
+ 注意:此字段可能返回 null,表示取不到有效值。
2051
+ :type TotalCost: float
2052
+ :param Ratio: 占比%。
2053
+ 注意:此字段可能返回 null,表示取不到有效值。
2054
+ :type Ratio: str
2055
+ """
2056
+ self.ProductName = None
2057
+ self.ProductCode = None
2058
+ self.TotalCost = None
2059
+ self.Ratio = None
2060
+
2061
+
2062
+ def _deserialize(self, params):
2063
+ self.ProductName = params.get("ProductName")
2064
+ self.ProductCode = params.get("ProductCode")
2065
+ self.TotalCost = params.get("TotalCost")
2066
+ self.Ratio = params.get("Ratio")
2067
+ memeber_set = set(params.keys())
2068
+ for name, value in vars(self).items():
2069
+ if name in memeber_set:
2070
+ memeber_set.remove(name)
2071
+ if len(memeber_set) > 0:
2072
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2073
+
2074
+
2075
+
2076
+ class UpdateOrganizationMemberEmailBindRequest(AbstractModel):
2077
+ """UpdateOrganizationMemberEmailBind请求参数结构体
2078
+
2079
+ """
2080
+
2081
+ def __init__(self):
2082
+ r"""
2083
+ :param MemberUin: 成员Uin
2084
+ :type MemberUin: int
2085
+ :param BindId: 绑定ID
2086
+ :type BindId: int
2087
+ :param Email: 邮箱
2088
+ :type Email: str
2089
+ :param CountryCode: 国际区号
2090
+ :type CountryCode: str
2091
+ :param Phone: 手机号
2092
+ :type Phone: str
2093
+ """
2094
+ self.MemberUin = None
2095
+ self.BindId = None
2096
+ self.Email = None
2097
+ self.CountryCode = None
2098
+ self.Phone = None
2099
+
2100
+
2101
+ def _deserialize(self, params):
2102
+ self.MemberUin = params.get("MemberUin")
2103
+ self.BindId = params.get("BindId")
2104
+ self.Email = params.get("Email")
2105
+ self.CountryCode = params.get("CountryCode")
2106
+ self.Phone = params.get("Phone")
2107
+ memeber_set = set(params.keys())
2108
+ for name, value in vars(self).items():
2109
+ if name in memeber_set:
2110
+ memeber_set.remove(name)
2111
+ if len(memeber_set) > 0:
2112
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2113
+
2114
+
2115
+
2116
+ class UpdateOrganizationMemberEmailBindResponse(AbstractModel):
2117
+ """UpdateOrganizationMemberEmailBind返回参数结构体
2118
+
2119
+ """
2120
+
2121
+ def __init__(self):
2122
+ r"""
2123
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2124
+ :type RequestId: str
2125
+ """
2126
+ self.RequestId = None
2127
+
2128
+
2129
+ def _deserialize(self, params):
2130
+ self.RequestId = params.get("RequestId")
2131
+
2132
+
1592
2133
  class UpdateOrganizationNodeRequest(AbstractModel):
1593
2134
  """UpdateOrganizationNode请求参数结构体
1594
2135
 
@@ -26,6 +26,29 @@ class OrganizationClient(AbstractClient):
26
26
  _service = 'organization'
27
27
 
28
28
 
29
+ def AddOrganizationMemberEmail(self, request):
30
+ """添加组织成员邮箱
31
+
32
+ :param request: Request instance for AddOrganizationMemberEmail.
33
+ :type request: :class:`tencentcloud.organization.v20210331.models.AddOrganizationMemberEmailRequest`
34
+ :rtype: :class:`tencentcloud.organization.v20210331.models.AddOrganizationMemberEmailResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("AddOrganizationMemberEmail", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.AddOrganizationMemberEmailResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(e.message, e.message)
50
+
51
+
29
52
  def AddOrganizationNode(self, request):
30
53
  """添加企业组织节点
31
54
 
@@ -233,6 +256,75 @@ class OrganizationClient(AbstractClient):
233
256
  raise TencentCloudSDKException(e.message, e.message)
234
257
 
235
258
 
259
+ def DescribeOrganizationFinancialByMember(self, request):
260
+ """以成员维度获取组织财务信息
261
+
262
+ :param request: Request instance for DescribeOrganizationFinancialByMember.
263
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationFinancialByMemberRequest`
264
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationFinancialByMemberResponse`
265
+
266
+ """
267
+ try:
268
+ params = request._serialize()
269
+ headers = request.headers
270
+ body = self.call("DescribeOrganizationFinancialByMember", params, headers=headers)
271
+ response = json.loads(body)
272
+ model = models.DescribeOrganizationFinancialByMemberResponse()
273
+ model._deserialize(response["Response"])
274
+ return model
275
+ except Exception as e:
276
+ if isinstance(e, TencentCloudSDKException):
277
+ raise
278
+ else:
279
+ raise TencentCloudSDKException(e.message, e.message)
280
+
281
+
282
+ def DescribeOrganizationFinancialByMonth(self, request):
283
+ """以月维度获取组织财务信息趋势
284
+
285
+ :param request: Request instance for DescribeOrganizationFinancialByMonth.
286
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationFinancialByMonthRequest`
287
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationFinancialByMonthResponse`
288
+
289
+ """
290
+ try:
291
+ params = request._serialize()
292
+ headers = request.headers
293
+ body = self.call("DescribeOrganizationFinancialByMonth", params, headers=headers)
294
+ response = json.loads(body)
295
+ model = models.DescribeOrganizationFinancialByMonthResponse()
296
+ model._deserialize(response["Response"])
297
+ return model
298
+ except Exception as e:
299
+ if isinstance(e, TencentCloudSDKException):
300
+ raise
301
+ else:
302
+ raise TencentCloudSDKException(e.message, e.message)
303
+
304
+
305
+ def DescribeOrganizationFinancialByProduct(self, request):
306
+ """以产品维度获取组织财务信息
307
+
308
+ :param request: Request instance for DescribeOrganizationFinancialByProduct.
309
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationFinancialByProductRequest`
310
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationFinancialByProductResponse`
311
+
312
+ """
313
+ try:
314
+ params = request._serialize()
315
+ headers = request.headers
316
+ body = self.call("DescribeOrganizationFinancialByProduct", params, headers=headers)
317
+ response = json.loads(body)
318
+ model = models.DescribeOrganizationFinancialByProductResponse()
319
+ model._deserialize(response["Response"])
320
+ return model
321
+ except Exception as e:
322
+ if isinstance(e, TencentCloudSDKException):
323
+ raise
324
+ else:
325
+ raise TencentCloudSDKException(e.message, e.message)
326
+
327
+
236
328
  def DescribeOrganizationMemberAuthAccounts(self, request):
237
329
  """获取组织成员被绑定授权关系的子账号列表
238
330
 
@@ -279,6 +371,29 @@ class OrganizationClient(AbstractClient):
279
371
  raise TencentCloudSDKException(e.message, e.message)
280
372
 
281
373
 
374
+ def DescribeOrganizationMemberEmailBind(self, request):
375
+ """查询成员邮箱绑定详细信息
376
+
377
+ :param request: Request instance for DescribeOrganizationMemberEmailBind.
378
+ :type request: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationMemberEmailBindRequest`
379
+ :rtype: :class:`tencentcloud.organization.v20210331.models.DescribeOrganizationMemberEmailBindResponse`
380
+
381
+ """
382
+ try:
383
+ params = request._serialize()
384
+ headers = request.headers
385
+ body = self.call("DescribeOrganizationMemberEmailBind", params, headers=headers)
386
+ response = json.loads(body)
387
+ model = models.DescribeOrganizationMemberEmailBindResponse()
388
+ model._deserialize(response["Response"])
389
+ return model
390
+ except Exception as e:
391
+ if isinstance(e, TencentCloudSDKException):
392
+ raise
393
+ else:
394
+ raise TencentCloudSDKException(e.message, e.message)
395
+
396
+
282
397
  def DescribeOrganizationMemberPolicies(self, request):
283
398
  """获取组织成员的授权策略列表
284
399
 
@@ -394,6 +509,29 @@ class OrganizationClient(AbstractClient):
394
509
  raise TencentCloudSDKException(e.message, e.message)
395
510
 
396
511
 
512
+ def UpdateOrganizationMemberEmailBind(self, request):
513
+ """修改绑定成员邮箱
514
+
515
+ :param request: Request instance for UpdateOrganizationMemberEmailBind.
516
+ :type request: :class:`tencentcloud.organization.v20210331.models.UpdateOrganizationMemberEmailBindRequest`
517
+ :rtype: :class:`tencentcloud.organization.v20210331.models.UpdateOrganizationMemberEmailBindResponse`
518
+
519
+ """
520
+ try:
521
+ params = request._serialize()
522
+ headers = request.headers
523
+ body = self.call("UpdateOrganizationMemberEmailBind", params, headers=headers)
524
+ response = json.loads(body)
525
+ model = models.UpdateOrganizationMemberEmailBindResponse()
526
+ model._deserialize(response["Response"])
527
+ return model
528
+ except Exception as e:
529
+ if isinstance(e, TencentCloudSDKException):
530
+ raise
531
+ else:
532
+ raise TencentCloudSDKException(e.message, e.message)
533
+
534
+
397
535
  def UpdateOrganizationNode(self, request):
398
536
  """更新企业组织节点
399
537
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-organization
3
- Version: 3.0.910
3
+ Version: 3.0.918
4
4
  Summary: Tencent Cloud Organization SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud