@alicloud/websitebuild20250429 2.24.0 → 2.25.0

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 (107) hide show
  1. package/dist/client.d.ts +83 -2
  2. package/dist/client.js +258 -16
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AppInstanceProfile.d.ts +2 -0
  5. package/dist/models/AppInstanceProfile.js +4 -0
  6. package/dist/models/AppInstanceProfile.js.map +1 -1
  7. package/dist/models/CreateAistaffChatResponseBody.d.ts +1 -1
  8. package/dist/models/CreateAppLlmApiKeyForPartnerRequest.d.ts +29 -0
  9. package/dist/models/CreateAppLlmApiKeyForPartnerRequest.js +67 -0
  10. package/dist/models/CreateAppLlmApiKeyForPartnerRequest.js.map +1 -0
  11. package/dist/models/CreateAppLlmApiKeyForPartnerResponse.d.ts +19 -0
  12. package/dist/models/CreateAppLlmApiKeyForPartnerResponse.js +69 -0
  13. package/dist/models/CreateAppLlmApiKeyForPartnerResponse.js.map +1 -0
  14. package/dist/models/CreateAppLlmApiKeyForPartnerResponseBody.d.ts +76 -0
  15. package/dist/models/CreateAppLlmApiKeyForPartnerResponseBody.js +103 -0
  16. package/dist/models/CreateAppLlmApiKeyForPartnerResponseBody.js.map +1 -0
  17. package/dist/models/GetAistaffPreviewUrlResponseBody.d.ts +1 -1
  18. package/dist/models/GetAppCodeWorkspaceDetailResponseBody.d.ts +1 -1
  19. package/dist/models/GetAppInstanceForAdminRequest.d.ts +11 -0
  20. package/dist/models/GetAppInstanceForAdminRequest.js.map +1 -1
  21. package/dist/models/GetAppInstanceForAdminResponseBody.d.ts +43 -1
  22. package/dist/models/GetAppInstanceForAdminResponseBody.js.map +1 -1
  23. package/dist/models/GetAppSupabaseSecretsResponseBody.d.ts +1 -1
  24. package/dist/models/GetMiniAppAuthUrlRequest.d.ts +24 -0
  25. package/dist/models/GetMiniAppAuthUrlRequest.js +62 -0
  26. package/dist/models/GetMiniAppAuthUrlRequest.js.map +1 -0
  27. package/dist/models/GetMiniAppAuthUrlResponse.d.ts +19 -0
  28. package/dist/models/GetMiniAppAuthUrlResponse.js +69 -0
  29. package/dist/models/GetMiniAppAuthUrlResponse.js.map +1 -0
  30. package/dist/models/GetMiniAppAuthUrlResponseBody.d.ts +32 -0
  31. package/dist/models/GetMiniAppAuthUrlResponseBody.js +82 -0
  32. package/dist/models/GetMiniAppAuthUrlResponseBody.js.map +1 -0
  33. package/dist/models/GetMiniAppBindingForAdminRequest.d.ts +28 -0
  34. package/dist/models/GetMiniAppBindingForAdminRequest.js +62 -0
  35. package/dist/models/GetMiniAppBindingForAdminRequest.js.map +1 -0
  36. package/dist/models/GetMiniAppBindingForAdminResponse.d.ts +19 -0
  37. package/dist/models/GetMiniAppBindingForAdminResponse.js +69 -0
  38. package/dist/models/GetMiniAppBindingForAdminResponse.js.map +1 -0
  39. package/dist/models/GetMiniAppBindingForAdminResponseBody.d.ts +49 -0
  40. package/dist/models/GetMiniAppBindingForAdminResponseBody.js +86 -0
  41. package/dist/models/GetMiniAppBindingForAdminResponseBody.js.map +1 -0
  42. package/dist/models/GetMiniAppBindingRequest.d.ts +24 -0
  43. package/dist/models/GetMiniAppBindingRequest.js +65 -0
  44. package/dist/models/GetMiniAppBindingRequest.js.map +1 -0
  45. package/dist/models/GetMiniAppBindingResponse.d.ts +19 -0
  46. package/dist/models/GetMiniAppBindingResponse.js +69 -0
  47. package/dist/models/GetMiniAppBindingResponse.js.map +1 -0
  48. package/dist/models/GetMiniAppBindingResponseBody.d.ts +51 -0
  49. package/dist/models/GetMiniAppBindingResponseBody.js +97 -0
  50. package/dist/models/GetMiniAppBindingResponseBody.js.map +1 -0
  51. package/dist/models/GetMiniAppBindingShrinkRequest.d.ts +24 -0
  52. package/dist/models/GetMiniAppBindingShrinkRequest.js +62 -0
  53. package/dist/models/GetMiniAppBindingShrinkRequest.js.map +1 -0
  54. package/dist/models/ListAppChatMessagesResponseBody.d.ts +1 -1
  55. package/dist/models/ListAppPublishHistoryResponseBody.d.ts +1 -1
  56. package/dist/models/ListIsvPaymentPluginConfigsResponseBody.d.ts +1 -1
  57. package/dist/models/RollbackAppCodeSnapshotResponseBody.d.ts +1 -1
  58. package/dist/models/UpdateAppFileResponseBody.d.ts +1 -1
  59. package/dist/models/UpdateAppSeoStatusRequest.d.ts +9 -0
  60. package/dist/models/UpdateAppSeoStatusRequest.js.map +1 -1
  61. package/dist/models/UpdateAppSeoStatusResponseBody.d.ts +38 -2
  62. package/dist/models/UpdateAppSeoStatusResponseBody.js.map +1 -1
  63. package/dist/models/UpdateMiniAppBindingRequest.d.ts +33 -0
  64. package/dist/models/UpdateMiniAppBindingRequest.js +64 -0
  65. package/dist/models/UpdateMiniAppBindingRequest.js.map +1 -0
  66. package/dist/models/UpdateMiniAppBindingResponse.d.ts +19 -0
  67. package/dist/models/UpdateMiniAppBindingResponse.js +69 -0
  68. package/dist/models/UpdateMiniAppBindingResponse.js.map +1 -0
  69. package/dist/models/UpdateMiniAppBindingResponseBody.d.ts +39 -0
  70. package/dist/models/UpdateMiniAppBindingResponseBody.js +82 -0
  71. package/dist/models/UpdateMiniAppBindingResponseBody.js.map +1 -0
  72. package/dist/models/model.d.ts +21 -0
  73. package/dist/models/model.js +54 -12
  74. package/dist/models/model.js.map +1 -1
  75. package/package.json +1 -1
  76. package/src/client.ts +286 -16
  77. package/src/models/AppInstanceProfile.ts +6 -0
  78. package/src/models/CreateAistaffChatResponseBody.ts +1 -1
  79. package/src/models/CreateAppLlmApiKeyForPartnerRequest.ts +51 -0
  80. package/src/models/CreateAppLlmApiKeyForPartnerResponse.ts +40 -0
  81. package/src/models/CreateAppLlmApiKeyForPartnerResponseBody.ts +125 -0
  82. package/src/models/GetAistaffPreviewUrlResponseBody.ts +1 -1
  83. package/src/models/GetAppCodeWorkspaceDetailResponseBody.ts +1 -1
  84. package/src/models/GetAppInstanceForAdminRequest.ts +11 -0
  85. package/src/models/GetAppInstanceForAdminResponseBody.ts +43 -1
  86. package/src/models/GetAppSupabaseSecretsResponseBody.ts +1 -1
  87. package/src/models/GetMiniAppAuthUrlRequest.ts +41 -0
  88. package/src/models/GetMiniAppAuthUrlResponse.ts +40 -0
  89. package/src/models/GetMiniAppAuthUrlResponseBody.ts +60 -0
  90. package/src/models/GetMiniAppBindingForAdminRequest.ts +45 -0
  91. package/src/models/GetMiniAppBindingForAdminResponse.ts +40 -0
  92. package/src/models/GetMiniAppBindingForAdminResponseBody.ts +81 -0
  93. package/src/models/GetMiniAppBindingRequest.ts +44 -0
  94. package/src/models/GetMiniAppBindingResponse.ts +40 -0
  95. package/src/models/GetMiniAppBindingResponseBody.ts +92 -0
  96. package/src/models/GetMiniAppBindingShrinkRequest.ts +41 -0
  97. package/src/models/ListAppChatMessagesResponseBody.ts +1 -1
  98. package/src/models/ListAppPublishHistoryResponseBody.ts +1 -1
  99. package/src/models/ListIsvPaymentPluginConfigsResponseBody.ts +1 -1
  100. package/src/models/RollbackAppCodeSnapshotResponseBody.ts +1 -1
  101. package/src/models/UpdateAppFileResponseBody.ts +1 -1
  102. package/src/models/UpdateAppSeoStatusRequest.ts +9 -0
  103. package/src/models/UpdateAppSeoStatusResponseBody.ts +38 -2
  104. package/src/models/UpdateMiniAppBindingRequest.ts +52 -0
  105. package/src/models/UpdateMiniAppBindingResponse.ts +40 -0
  106. package/src/models/UpdateMiniAppBindingResponseBody.ts +67 -0
  107. package/src/models/model.ts +21 -0
@@ -0,0 +1,125 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateAppLlmApiKeyForPartnerResponseBodyModule extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * xxxx-xxxxxx
9
+ */
10
+ encryptedApiKey?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ encryptedApiKey: 'EncryptedApiKey',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ encryptedApiKey: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
32
+ export class CreateAppLlmApiKeyForPartnerResponseBody extends $dara.Model {
33
+ /**
34
+ * @example
35
+ * {}
36
+ */
37
+ accessDeniedDetail?: string;
38
+ /**
39
+ * @example
40
+ * False
41
+ */
42
+ allowRetry?: boolean;
43
+ /**
44
+ * @example
45
+ * watermark
46
+ */
47
+ appName?: string;
48
+ /**
49
+ * @example
50
+ * ERROR-oo1
51
+ */
52
+ dynamicCode?: string;
53
+ /**
54
+ * @example
55
+ * SYSTEM.ERROR
56
+ */
57
+ dynamicMessage?: string;
58
+ errorArgs?: any[];
59
+ module?: CreateAppLlmApiKeyForPartnerResponseBodyModule;
60
+ /**
61
+ * @remarks
62
+ * Id of the request
63
+ *
64
+ * @example
65
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
66
+ */
67
+ requestId?: string;
68
+ /**
69
+ * @example
70
+ * SYSTEM.EROR
71
+ */
72
+ rootErrorCode?: string;
73
+ rootErrorMsg?: string;
74
+ /**
75
+ * @example
76
+ * True
77
+ */
78
+ synchro?: boolean;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ accessDeniedDetail: 'AccessDeniedDetail',
82
+ allowRetry: 'AllowRetry',
83
+ appName: 'AppName',
84
+ dynamicCode: 'DynamicCode',
85
+ dynamicMessage: 'DynamicMessage',
86
+ errorArgs: 'ErrorArgs',
87
+ module: 'Module',
88
+ requestId: 'RequestId',
89
+ rootErrorCode: 'RootErrorCode',
90
+ rootErrorMsg: 'RootErrorMsg',
91
+ synchro: 'Synchro',
92
+ };
93
+ }
94
+
95
+ static types(): { [key: string]: any } {
96
+ return {
97
+ accessDeniedDetail: 'string',
98
+ allowRetry: 'boolean',
99
+ appName: 'string',
100
+ dynamicCode: 'string',
101
+ dynamicMessage: 'string',
102
+ errorArgs: { 'type': 'array', 'itemType': 'any' },
103
+ module: CreateAppLlmApiKeyForPartnerResponseBodyModule,
104
+ requestId: 'string',
105
+ rootErrorCode: 'string',
106
+ rootErrorMsg: 'string',
107
+ synchro: 'boolean',
108
+ };
109
+ }
110
+
111
+ validate() {
112
+ if(Array.isArray(this.errorArgs)) {
113
+ $dara.Model.validateArray(this.errorArgs);
114
+ }
115
+ if(this.module && typeof (this.module as any).validate === 'function') {
116
+ (this.module as any).validate();
117
+ }
118
+ super.validate();
119
+ }
120
+
121
+ constructor(map?: { [key: string]: any }) {
122
+ super(map);
123
+ }
124
+ }
125
+
@@ -51,7 +51,7 @@ export class GetAIStaffPreviewUrlResponseBody extends $dara.Model {
51
51
  dynamicCode?: string;
52
52
  /**
53
53
  * @example
54
- * https://check-result-file-sh.oss-cn-shanghai.aliyuncs.com/u6qw3gxzu3b7sbj/u6qw3gxzu3b7sbj.diff.zip?Expires=1740975709&OSSAccessKeyId=LTAI5tKUErVCETM4ev9SELNb&Signature=FP7dDnkrLlOZHmRRORVqbLOtv9c%3D
54
+ * abc
55
55
  */
56
56
  dynamicMessage?: string;
57
57
  errorArgs?: any[];
@@ -132,7 +132,7 @@ export class GetAppCodeWorkspaceDetailResponseBody extends $dara.Model {
132
132
  dynamicCode?: string;
133
133
  /**
134
134
  * @example
135
- * https://check-result-file-sh.oss-cn-shanghai.aliyuncs.com/u6qw3gxzu3b7sbj/u6qw3gxzu3b7sbj.diff.zip?Expires=1740975709&OSSAccessKeyId=LTAI5tKUErVCETM4ev9SELNb&Signature=FP7dDnkrLlOZHmRRORVqbLOtv9c%3D
135
+ * abc
136
136
  */
137
137
  dynamicMessage?: string;
138
138
  errorArgs?: any[];
@@ -4,11 +4,22 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class GetAppInstanceForAdminRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The ID of the delivery receipt. The delivery receipt ID is the value of the BizId parameter that is returned when you call the SendSms or SendBatchSms operation.
9
+ *
7
10
  * @example
8
11
  * WS20250801154628000001
9
12
  */
10
13
  bizId?: string;
11
14
  /**
15
+ * @remarks
16
+ * The domain name.
17
+ *
18
+ * >
19
+ * * Wildcard domain names are supported. You can use the wildcard character asterisk (\\*) to specify a wildcard domain name.
20
+ *
21
+ * For example, you can enter \\*.baidu.com to specify the domain name baidu.com.
22
+ *
12
23
  * @example
13
24
  * yjdw.bpu.edu.cn-waf
14
25
  */
@@ -5,32 +5,61 @@ import { AppInstanceAggregate } from "./AppInstanceAggregate";
5
5
 
6
6
  export class GetAppInstanceForAdminResponseBody extends $dara.Model {
7
7
  /**
8
+ * @remarks
9
+ * Detailed reason for access denial.
10
+ *
8
11
  * @example
9
12
  * {}
10
13
  */
11
14
  accessDeniedDetail?: string;
12
15
  /**
16
+ * @remarks
17
+ * Whether retry is allowed
18
+ *
13
19
  * @example
14
20
  * False
15
21
  */
16
22
  allowRetry?: boolean;
17
23
  /**
24
+ * @remarks
25
+ * The name of the application. The name must be 4 to 26 characters in length. The name can contain letters, digits, and underscores (_), and must start with a letter.
26
+ *
18
27
  * @example
19
28
  * or
20
29
  */
21
30
  appName?: string;
22
31
  /**
32
+ * @remarks
33
+ * Dynamic error code.
34
+ *
23
35
  * @example
24
36
  * ERROR-oo1
25
37
  */
26
38
  dynamicCode?: string;
27
39
  /**
40
+ * @remarks
41
+ * Dynamic error message, used to replace `%s` in the error message of the returned parameter **ErrMessage**.
42
+ * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid**, and **DynamicMessage** returns **DtsJobId**, it means that the input request parameter **DtsJobId** is invalid.
43
+ *
28
44
  * @example
29
- * https://check-result-file-sh.oss-cn-shanghai.aliyuncs.com/u6qw3gxzu3b7sbj/u6qw3gxzu3b7sbj.diff.zip?Expires=1740975709&OSSAccessKeyId=LTAI5tKUErVCETM4ev9SELNb&Signature=FP7dDnkrLlOZHmRRORVqbLOtv9c%3D
45
+ * abc
30
46
  */
31
47
  dynamicMessage?: string;
48
+ /**
49
+ * @remarks
50
+ * The parameter whose value is invalid.
51
+ */
32
52
  errorArgs?: any[];
33
53
  /**
54
+ * @remarks
55
+ * Data table module.
56
+ *
57
+ * - ABTest: Experiment data table
58
+ *
59
+ * - ExperimentTool: Experiment tool table
60
+ *
61
+ * - DataDiagnosis: Data diagnosis
62
+ *
34
63
  * @example
35
64
  * true
36
65
  */
@@ -44,12 +73,25 @@ export class GetAppInstanceForAdminResponseBody extends $dara.Model {
44
73
  */
45
74
  requestId?: string;
46
75
  /**
76
+ * @remarks
77
+ * Error Code
78
+ *
47
79
  * @example
48
80
  * SYSTEM.ERROR
49
81
  */
50
82
  rootErrorCode?: string;
83
+ /**
84
+ * @remarks
85
+ * Error message
86
+ *
87
+ * @example
88
+ * 系统异常
89
+ */
51
90
  rootErrorMsg?: string;
52
91
  /**
92
+ * @remarks
93
+ * Reserved parameter.
94
+ *
53
95
  * @example
54
96
  * True
55
97
  */
@@ -99,7 +99,7 @@ export class GetAppSupabaseSecretsResponseBody extends $dara.Model {
99
99
  dynamicCode?: string;
100
100
  /**
101
101
  * @example
102
- * https://check-result-file-sh.oss-cn-shanghai.aliyuncs.com/u6qw3gxzu3b7sbj/u6qw3gxzu3b7sbj.diff.zip?Expires=1740975709&OSSAccessKeyId=LTAI5tKUErVCETM4ev9SELNb&Signature=FP7dDnkrLlOZHmRRORVqbLOtv9c%3D
102
+ * abc
103
103
  */
104
104
  dynamicMessage?: string;
105
105
  errorArgs?: any[];
@@ -0,0 +1,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetMiniAppAuthUrlRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * WS20250731233102000001
9
+ */
10
+ bizId?: string;
11
+ /**
12
+ * @example
13
+ * WECHAT
14
+ */
15
+ channel?: string;
16
+ redirectUri?: string;
17
+ static names(): { [key: string]: string } {
18
+ return {
19
+ bizId: 'BizId',
20
+ channel: 'Channel',
21
+ redirectUri: 'RedirectUri',
22
+ };
23
+ }
24
+
25
+ static types(): { [key: string]: any } {
26
+ return {
27
+ bizId: 'string',
28
+ channel: 'string',
29
+ redirectUri: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetMiniAppAuthUrlResponseBody } from "./GetMiniAppAuthUrlResponseBody";
4
+
5
+
6
+ export class GetMiniAppAuthUrlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetMiniAppAuthUrlResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetMiniAppAuthUrlResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,60 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetMiniAppAuthUrlResponseBodyData extends $dara.Model {
6
+ authUrl?: string;
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ authUrl: 'AuthUrl',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ authUrl: 'string',
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ super.validate();
21
+ }
22
+
23
+ constructor(map?: { [key: string]: any }) {
24
+ super(map);
25
+ }
26
+ }
27
+
28
+ export class GetMiniAppAuthUrlResponseBody extends $dara.Model {
29
+ data?: GetMiniAppAuthUrlResponseBodyData;
30
+ /**
31
+ * @example
32
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
33
+ */
34
+ requestId?: string;
35
+ static names(): { [key: string]: string } {
36
+ return {
37
+ data: 'Data',
38
+ requestId: 'RequestId',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ data: GetMiniAppAuthUrlResponseBodyData,
45
+ requestId: 'string',
46
+ };
47
+ }
48
+
49
+ validate() {
50
+ if(this.data && typeof (this.data as any).validate === 'function') {
51
+ (this.data as any).validate();
52
+ }
53
+ super.validate();
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetMiniAppBindingForAdminRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * WS20250801152639000005
9
+ */
10
+ bizId?: string;
11
+ /**
12
+ * @example
13
+ * WECHAT
14
+ */
15
+ channel?: string;
16
+ /**
17
+ * @example
18
+ * xxxx
19
+ */
20
+ platformAppid?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ bizId: 'BizId',
24
+ channel: 'Channel',
25
+ platformAppid: 'PlatformAppid',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ bizId: 'string',
32
+ channel: 'string',
33
+ platformAppid: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetMiniAppBindingForAdminResponseBody } from "./GetMiniAppBindingForAdminResponseBody";
4
+
5
+
6
+ export class GetMiniAppBindingForAdminResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetMiniAppBindingForAdminResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetMiniAppBindingForAdminResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,81 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetMiniAppBindingForAdminResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * AUTHORIZED
9
+ */
10
+ authStatus?: string;
11
+ /**
12
+ * @example
13
+ * WS20250801004817000002
14
+ */
15
+ bizId?: string;
16
+ /**
17
+ * @example
18
+ * xxxx
19
+ */
20
+ platformAppid?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ authStatus: 'AuthStatus',
24
+ bizId: 'BizId',
25
+ platformAppid: 'PlatformAppid',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ authStatus: 'string',
32
+ bizId: 'string',
33
+ platformAppid: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class GetMiniAppBindingForAdminResponseBody extends $dara.Model {
47
+ data?: GetMiniAppBindingForAdminResponseBodyData;
48
+ /**
49
+ * @remarks
50
+ * Id of the request
51
+ *
52
+ * @example
53
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
54
+ */
55
+ requestId?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ data: 'Data',
59
+ requestId: 'RequestId',
60
+ };
61
+ }
62
+
63
+ static types(): { [key: string]: any } {
64
+ return {
65
+ data: GetMiniAppBindingForAdminResponseBodyData,
66
+ requestId: 'string',
67
+ };
68
+ }
69
+
70
+ validate() {
71
+ if(this.data && typeof (this.data as any).validate === 'function') {
72
+ (this.data as any).validate();
73
+ }
74
+ super.validate();
75
+ }
76
+
77
+ constructor(map?: { [key: string]: any }) {
78
+ super(map);
79
+ }
80
+ }
81
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetMiniAppBindingRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * WS20250814102215000001
9
+ */
10
+ bizId?: string;
11
+ /**
12
+ * @example
13
+ * WECHAT
14
+ */
15
+ channel?: string;
16
+ settingKeys?: string[];
17
+ static names(): { [key: string]: string } {
18
+ return {
19
+ bizId: 'BizId',
20
+ channel: 'Channel',
21
+ settingKeys: 'SettingKeys',
22
+ };
23
+ }
24
+
25
+ static types(): { [key: string]: any } {
26
+ return {
27
+ bizId: 'string',
28
+ channel: 'string',
29
+ settingKeys: { 'type': 'array', 'itemType': 'string' },
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ if(Array.isArray(this.settingKeys)) {
35
+ $dara.Model.validateArray(this.settingKeys);
36
+ }
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetMiniAppBindingResponseBody } from "./GetMiniAppBindingResponseBody";
4
+
5
+
6
+ export class GetMiniAppBindingResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetMiniAppBindingResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetMiniAppBindingResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+