@alicloud/cas20200407 3.2.17 → 3.2.18

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 (126) hide show
  1. package/dist/client.d.ts +132 -126
  2. package/dist/client.js +139 -126
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddCloudAccessRequest.d.ts +7 -11
  5. package/dist/models/AddCloudAccessRequest.js.map +1 -1
  6. package/dist/models/BatchUpdateNoticeStatusRequest.d.ts +3 -3
  7. package/dist/models/BatchUpdateNoticeStatusResponseBody.d.ts +1 -1
  8. package/dist/models/CancelOrderRequestRequest.d.ts +3 -1
  9. package/dist/models/CancelOrderRequestRequest.js.map +1 -1
  10. package/dist/models/CancelOrderRequestResponseBody.d.ts +1 -1
  11. package/dist/models/CreateCompanyRequest.d.ts +1 -1
  12. package/dist/models/CreateContactRequest.d.ts +2 -2
  13. package/dist/models/CreateRollbackTaskResponseBody.d.ts +1 -1
  14. package/dist/models/CreateWhclientCertificateResponseBody.d.ts +4 -4
  15. package/dist/models/DeleteContactRequest.d.ts +1 -1
  16. package/dist/models/DeleteContactResponseBody.d.ts +1 -1
  17. package/dist/models/DeleteInstanceRequest.d.ts +2 -2
  18. package/dist/models/DeleteInstanceResponseBody.d.ts +1 -1
  19. package/dist/models/DeleteUserCertificateRequest.d.ts +3 -3
  20. package/dist/models/DeleteUserCertificateResponseBody.d.ts +1 -1
  21. package/dist/models/DescribeCertificateStateRequest.d.ts +4 -2
  22. package/dist/models/DescribeCertificateStateRequest.js.map +1 -1
  23. package/dist/models/DescribeCertificateStateResponseBody.d.ts +31 -34
  24. package/dist/models/DescribeCertificateStateResponseBody.js.map +1 -1
  25. package/dist/models/DescribeDeploymentJobResponseBody.d.ts +1 -1
  26. package/dist/models/GetCertificatePackageCountResponseBody.d.ts +3 -3
  27. package/dist/models/GetCompanyResponseBody.d.ts +4 -4
  28. package/dist/models/GetContactRequest.d.ts +2 -1
  29. package/dist/models/GetContactRequest.js.map +1 -1
  30. package/dist/models/GetContactResponseBody.d.ts +6 -6
  31. package/dist/models/GetInstanceDetailResponseBody.d.ts +29 -23
  32. package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
  33. package/dist/models/GetMatchedResourcesRequest.d.ts +4 -4
  34. package/dist/models/GetMatchedResourcesResponseBody.d.ts +4 -4
  35. package/dist/models/ListCertResponseBody.d.ts +1 -1
  36. package/dist/models/ListCompaniesRequest.d.ts +3 -3
  37. package/dist/models/ListCompaniesResponseBody.d.ts +6 -6
  38. package/dist/models/ListContactResponseBody.d.ts +1 -1
  39. package/dist/models/ListDeploymentJobResourceResponseBody.d.ts +1 -1
  40. package/dist/models/ListDeploymentJobResponseBody.d.ts +1 -1
  41. package/dist/models/ListTagKeysRequest.d.ts +6 -6
  42. package/dist/models/ListTagKeysResponseBody.d.ts +5 -5
  43. package/dist/models/ListTagResourcesRequest.d.ts +5 -5
  44. package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
  45. package/dist/models/ListTrusteeOrderRequest.d.ts +4 -4
  46. package/dist/models/ListTrusteeOrderResponseBody.d.ts +2 -2
  47. package/dist/models/ListUserCertificateOrderRequest.d.ts +15 -15
  48. package/dist/models/ListUserCertificateOrderResponseBody.d.ts +53 -53
  49. package/dist/models/RefundInstanceRequest.d.ts +1 -1
  50. package/dist/models/RefundInstanceResponseBody.d.ts +1 -1
  51. package/dist/models/RenewCertificateOrderForPackageRequestRequest.d.ts +2 -2
  52. package/dist/models/ShareCertificateRequest.d.ts +1 -1
  53. package/dist/models/ShareCertificateResponseBody.d.ts +1 -1
  54. package/dist/models/SignRequest.d.ts +1 -1
  55. package/dist/models/TagResourcesRequest.d.ts +3 -3
  56. package/dist/models/UpdateCompanyRequest.d.ts +1 -1
  57. package/dist/models/UpdateContactRequest.d.ts +3 -3
  58. package/dist/models/UpdateContactResponseBody.d.ts +2 -2
  59. package/dist/models/UpdateInstanceRequest.d.ts +25 -19
  60. package/dist/models/UpdateInstanceRequest.js.map +1 -1
  61. package/dist/models/UpdateInstanceResponseBody.d.ts +1 -1
  62. package/dist/models/UploadCsrRequest.d.ts +1 -1
  63. package/dist/models/UploadUserCertificateRequest.d.ts +18 -10
  64. package/dist/models/UploadUserCertificateRequest.js +2 -0
  65. package/dist/models/UploadUserCertificateRequest.js.map +1 -1
  66. package/dist/models/UploadUserCertificateResponseBody.d.ts +17 -1
  67. package/dist/models/UploadUserCertificateResponseBody.js +4 -0
  68. package/dist/models/UploadUserCertificateResponseBody.js.map +1 -1
  69. package/dist/models/VerifyRequest.d.ts +5 -5
  70. package/package.json +3 -2
  71. package/src/client.ts +140 -126
  72. package/src/models/AddCloudAccessRequest.ts +7 -11
  73. package/src/models/BatchUpdateNoticeStatusRequest.ts +3 -3
  74. package/src/models/BatchUpdateNoticeStatusResponseBody.ts +1 -1
  75. package/src/models/CancelOrderRequestRequest.ts +3 -1
  76. package/src/models/CancelOrderRequestResponseBody.ts +1 -1
  77. package/src/models/CreateCompanyRequest.ts +1 -1
  78. package/src/models/CreateContactRequest.ts +2 -2
  79. package/src/models/CreateRollbackTaskResponseBody.ts +1 -1
  80. package/src/models/CreateWhclientCertificateResponseBody.ts +4 -4
  81. package/src/models/DeleteContactRequest.ts +1 -1
  82. package/src/models/DeleteContactResponseBody.ts +1 -1
  83. package/src/models/DeleteInstanceRequest.ts +2 -2
  84. package/src/models/DeleteInstanceResponseBody.ts +1 -1
  85. package/src/models/DeleteUserCertificateRequest.ts +3 -3
  86. package/src/models/DeleteUserCertificateResponseBody.ts +1 -1
  87. package/src/models/DescribeCertificateStateRequest.ts +4 -2
  88. package/src/models/DescribeCertificateStateResponseBody.ts +31 -34
  89. package/src/models/DescribeDeploymentJobResponseBody.ts +1 -1
  90. package/src/models/GetCertificatePackageCountResponseBody.ts +3 -3
  91. package/src/models/GetCompanyResponseBody.ts +4 -4
  92. package/src/models/GetContactRequest.ts +2 -1
  93. package/src/models/GetContactResponseBody.ts +6 -6
  94. package/src/models/GetInstanceDetailResponseBody.ts +29 -23
  95. package/src/models/GetMatchedResourcesRequest.ts +4 -4
  96. package/src/models/GetMatchedResourcesResponseBody.ts +4 -4
  97. package/src/models/ListCertResponseBody.ts +1 -1
  98. package/src/models/ListCompaniesRequest.ts +3 -3
  99. package/src/models/ListCompaniesResponseBody.ts +6 -6
  100. package/src/models/ListContactResponseBody.ts +1 -1
  101. package/src/models/ListDeploymentJobResourceResponseBody.ts +1 -1
  102. package/src/models/ListDeploymentJobResponseBody.ts +1 -1
  103. package/src/models/ListTagKeysRequest.ts +6 -6
  104. package/src/models/ListTagKeysResponseBody.ts +5 -5
  105. package/src/models/ListTagResourcesRequest.ts +5 -5
  106. package/src/models/ListTagResourcesResponseBody.ts +2 -2
  107. package/src/models/ListTrusteeOrderRequest.ts +4 -4
  108. package/src/models/ListTrusteeOrderResponseBody.ts +2 -2
  109. package/src/models/ListUserCertificateOrderRequest.ts +15 -15
  110. package/src/models/ListUserCertificateOrderResponseBody.ts +53 -53
  111. package/src/models/RefundInstanceRequest.ts +1 -1
  112. package/src/models/RefundInstanceResponseBody.ts +1 -1
  113. package/src/models/RenewCertificateOrderForPackageRequestRequest.ts +2 -2
  114. package/src/models/ShareCertificateRequest.ts +1 -1
  115. package/src/models/ShareCertificateResponseBody.ts +1 -1
  116. package/src/models/SignRequest.ts +1 -1
  117. package/src/models/TagResourcesRequest.ts +3 -3
  118. package/src/models/UpdateCompanyRequest.ts +1 -1
  119. package/src/models/UpdateContactRequest.ts +3 -3
  120. package/src/models/UpdateContactResponseBody.ts +2 -2
  121. package/src/models/UpdateInstanceRequest.ts +25 -19
  122. package/src/models/UpdateInstanceResponseBody.ts +1 -1
  123. package/src/models/UploadCsrRequest.ts +1 -1
  124. package/src/models/UploadUserCertificateRequest.ts +20 -10
  125. package/src/models/UploadUserCertificateResponseBody.ts +21 -1
  126. package/src/models/VerifyRequest.ts +5 -5
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateInstanceResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.
8
+ * The ID of the request. The ID is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.
9
9
  *
10
10
  * @example
11
11
  * 0068247C-A454-5FC9-93BF-C41CBB5CD19E
@@ -15,7 +15,7 @@ export class UploadCsrRequest extends $dara.Model {
15
15
  csr?: string;
16
16
  /**
17
17
  * @remarks
18
- * The content of the certificate\\"s private key in PEM format.
18
+ * The content of the certificate\"s private key in PEM format.
19
19
  *
20
20
  * @example
21
21
  * -----BEGIN RSA PRIVATE KEY----- MII.... -----END RSA PRIVATE KEY-----
@@ -45,7 +45,7 @@ export class UploadUserCertificateRequestTags extends $dara.Model {
45
45
  export class UploadUserCertificateRequest extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The content of the non-SM certificate in PEM format.
48
+ * The content of a non-ShangMi certificate in PEM format.
49
49
  *
50
50
  * @example
51
51
  * -----BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
@@ -53,15 +53,15 @@ export class UploadUserCertificateRequest extends $dara.Model {
53
53
  cert?: string;
54
54
  /**
55
55
  * @remarks
56
- * The client token used to ensure the idempotence of the request.
56
+ * The client token that is used to ensure the idempotence of the request.
57
57
  *
58
58
  * @example
59
- * XXX
59
+ * upload-cert-20261110-9b7c4d2e
60
60
  */
61
61
  clientToken?: string;
62
62
  /**
63
63
  * @remarks
64
- * The content of the SM encryption certificate in PEM format. This field is ignored if Cert and Key are not empty.
64
+ * The content of a ShangMi (SM) encryption certificate in PEM format. This parameter is ignored if Cert and Key are specified.
65
65
  *
66
66
  * @example
67
67
  * -----BEGIN CERTIFICATE-----
@@ -71,7 +71,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
71
71
  encryptCert?: string;
72
72
  /**
73
73
  * @remarks
74
- * The private key of the SM encryption certificate in PEM format. This field is ignored if Cert and Key are not empty.
74
+ * The private key content of a ShangMi (SM) encryption certificate in PEM format. This parameter is ignored if Cert and Key are specified.
75
75
  *
76
76
  * @example
77
77
  * -----BEGIN EC PRIVATE KEY-----
@@ -81,7 +81,15 @@ export class UploadUserCertificateRequest extends $dara.Model {
81
81
  encryptPrivateKey?: string;
82
82
  /**
83
83
  * @remarks
84
- * The private key of the non-SM certificate in PEM format.
84
+ * The identifier of the upload instance after certificate upload hosting is enabled.
85
+ *
86
+ * @example
87
+ * cas-upload-566ecc695fe349829e29
88
+ */
89
+ instanceId?: string;
90
+ /**
91
+ * @remarks
92
+ * The private key content of a non-ShangMi certificate in PEM format.
85
93
  *
86
94
  * @example
87
95
  * -----BEGIN CERTIFICATE-----
@@ -91,7 +99,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
91
99
  key?: string;
92
100
  /**
93
101
  * @remarks
94
- * The custom name of the certificate. Maximum length: 63 characters. Supports all character types, including letters, digits, and underscores.
102
+ * The custom certificate name. The maximum length is 63 characters. All character types are supported, including letters, digits, and underscores.
95
103
  * > Certificate names must be unique within the same account.
96
104
  *
97
105
  * This parameter is required.
@@ -102,7 +110,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
102
110
  name?: string;
103
111
  /**
104
112
  * @remarks
105
- * The resource group ID.
113
+ * The ID of the resource group.
106
114
  *
107
115
  * @example
108
116
  * rg-ae****vty
@@ -110,7 +118,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
110
118
  resourceGroupId?: string;
111
119
  /**
112
120
  * @remarks
113
- * The content of the SM signing certificate in PEM format. This field is ignored if Cert and Key are not empty.
121
+ * The content of a ShangMi (SM) signing certificate in PEM format. This parameter is ignored if Cert and Key are specified.
114
122
  *
115
123
  * @example
116
124
  * -----BEGIN CERTIFICATE-----
@@ -120,7 +128,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
120
128
  signCert?: string;
121
129
  /**
122
130
  * @remarks
123
- * The private key of the SM signing certificate in PEM format. This field is ignored if Cert and Key are not empty.
131
+ * The private key content of a ShangMi (SM) signing certificate in PEM format. This parameter is ignored if Cert and Key are specified.
124
132
  *
125
133
  * @example
126
134
  * -----BEGIN EC PRIVATE KEY-----
@@ -139,6 +147,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
139
147
  clientToken: 'ClientToken',
140
148
  encryptCert: 'EncryptCert',
141
149
  encryptPrivateKey: 'EncryptPrivateKey',
150
+ instanceId: 'InstanceId',
142
151
  key: 'Key',
143
152
  name: 'Name',
144
153
  resourceGroupId: 'ResourceGroupId',
@@ -154,6 +163,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
154
163
  clientToken: 'string',
155
164
  encryptCert: 'string',
156
165
  encryptPrivateKey: 'string',
166
+ instanceId: 'string',
157
167
  key: 'string',
158
168
  name: 'string',
159
169
  resourceGroupId: 'string',
@@ -21,17 +21,35 @@ export class UploadUserCertificateResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The instance ID of the certificate to operate on.
24
+ * The instance ID of the certificate to be operated on.
25
25
  *
26
26
  * @example
27
27
  * cas-upload-xki1d0
28
28
  */
29
29
  resourceId?: string;
30
+ /**
31
+ * @remarks
32
+ * The primary key of the upload instance.
33
+ *
34
+ * @example
35
+ * 888
36
+ */
37
+ uploadInstanceId?: number;
38
+ /**
39
+ * @remarks
40
+ * The identifier of the upload instance.
41
+ *
42
+ * @example
43
+ * cas-upload-566ecc695fe349829e29
44
+ */
45
+ uploadInstanceInstanceId?: string;
30
46
  static names(): { [key: string]: string } {
31
47
  return {
32
48
  certId: 'CertId',
33
49
  requestId: 'RequestId',
34
50
  resourceId: 'ResourceId',
51
+ uploadInstanceId: 'UploadInstanceId',
52
+ uploadInstanceInstanceId: 'UploadInstanceInstanceId',
35
53
  };
36
54
  }
37
55
 
@@ -40,6 +58,8 @@ export class UploadUserCertificateResponseBody extends $dara.Model {
40
58
  certId: 'number',
41
59
  requestId: 'string',
42
60
  resourceId: 'string',
61
+ uploadInstanceId: 'number',
62
+ uploadInstanceInstanceId: 'string',
43
63
  };
44
64
  }
45
65
 
@@ -7,9 +7,9 @@ export class VerifyRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The unique identifier of the certificate. To get this parameter, call the [ListCert](https://help.aliyun.com/document_detail/455806.html) operation.
9
9
  *
10
- * - The identifier for an SSL certificate is typically in the format \\`{Certificate ID}-cn-hangzhou\\`.
10
+ * - The identifier for an SSL certificate is typically in the format \`{Certificate ID}-cn-hangzhou\`.
11
11
  *
12
- * - For a PCA certificate, this is the value of the \\`Identifier\\` field.
12
+ * - For a PCA certificate, this is the value of the \`Identifier\` field.
13
13
  *
14
14
  * @example
15
15
  * 1ef1da5f-38ed-69b3-****-037781890265
@@ -25,11 +25,11 @@ export class VerifyRequest extends $dara.Model {
25
25
  customIdentifier?: string;
26
26
  /**
27
27
  * @remarks
28
- * The data to verify. The data must be Base64-encoded. For example, if the hexadecimal content of the data to sign is \\`[0x31, 0x32, 0x33, 0x34]\\`, the Base64-encoded value is \\`MTIzNA==\\`. If you set \\`MessageType\\` to \\`RAW\\`, the data size must be less than 4 KB. If the data to sign is larger than 4 KB, set \\`MessageType\\` to \\`DIGEST\\`. Then, set \\`Message\\` to the message digest, or hash, that you calculate locally. The hashing algorithm for the digest must be compatible with the signature algorithm:<br>
28
+ * The data to verify. The data must be Base64-encoded. For example, if the hexadecimal content of the data to sign is \`[0x31, 0x32, 0x33, 0x34]\`, the Base64-encoded value is \`MTIzNA==\`. If you set \`MessageType\` to \`RAW\`, the data size must be less than 4 KB. If the data to sign is larger than 4 KB, set \`MessageType\` to \`DIGEST\`. Then, set \`Message\` to the message digest, or hash, that you calculate locally. The hashing algorithm for the digest must be compatible with the signature algorithm:<br>
29
29
  *
30
- * - The hashing algorithm for \\`SHA256withRSA\\`, \\`SHA256withRSA/PSS\\`, and \\`SHA256withECDSA\\` is SHA-256.
30
+ * - The hashing algorithm for \`SHA256withRSA\`, \`SHA256withRSA/PSS\`, and \`SHA256withECDSA\` is SHA-256.
31
31
  *
32
- * - The hashing algorithm for \\`SM3withSM2\\` is SM3.
32
+ * - The hashing algorithm for \`SM3withSM2\` is SM3.
33
33
  *
34
34
  * This parameter is required.
35
35
  *