@alicloud/mpaas20201028 3.1.0 → 3.2.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 (89) hide show
  1. package/dist/client.d.ts +93 -4
  2. package/dist/client.js +355 -5
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreatePayOrderToMsenceRequest.d.ts +60 -0
  5. package/dist/models/CreatePayOrderToMsenceRequest.js +77 -0
  6. package/dist/models/CreatePayOrderToMsenceRequest.js.map +1 -0
  7. package/dist/models/CreatePayOrderToMsenceResponse.d.ts +19 -0
  8. package/dist/models/CreatePayOrderToMsenceResponse.js +69 -0
  9. package/dist/models/CreatePayOrderToMsenceResponse.js.map +1 -0
  10. package/dist/models/CreatePayOrderToMsenceResponseBody.d.ts +59 -0
  11. package/dist/models/CreatePayOrderToMsenceResponseBody.js +90 -0
  12. package/dist/models/CreatePayOrderToMsenceResponseBody.js.map +1 -0
  13. package/dist/models/CreatePayOrderToMsenceShrinkRequest.d.ts +58 -0
  14. package/dist/models/CreatePayOrderToMsenceShrinkRequest.js +74 -0
  15. package/dist/models/CreatePayOrderToMsenceShrinkRequest.js.map +1 -0
  16. package/dist/models/GetAuthTokenToMsenceRequest.d.ts +43 -0
  17. package/dist/models/GetAuthTokenToMsenceRequest.js +68 -0
  18. package/dist/models/GetAuthTokenToMsenceRequest.js.map +1 -0
  19. package/dist/models/GetAuthTokenToMsenceResponse.d.ts +19 -0
  20. package/dist/models/GetAuthTokenToMsenceResponse.js +69 -0
  21. package/dist/models/GetAuthTokenToMsenceResponse.js.map +1 -0
  22. package/dist/models/GetAuthTokenToMsenceResponseBody.d.ts +74 -0
  23. package/dist/models/GetAuthTokenToMsenceResponseBody.js +96 -0
  24. package/dist/models/GetAuthTokenToMsenceResponseBody.js.map +1 -0
  25. package/dist/models/ListCubecardAppsRequest.d.ts +13 -0
  26. package/dist/models/ListCubecardAppsRequest.js +54 -0
  27. package/dist/models/ListCubecardAppsRequest.js.map +1 -0
  28. package/dist/models/QueryPayOrderToMsenceRequest.d.ts +43 -0
  29. package/dist/models/QueryPayOrderToMsenceRequest.js +68 -0
  30. package/dist/models/QueryPayOrderToMsenceRequest.js.map +1 -0
  31. package/dist/models/QueryPayOrderToMsenceResponse.d.ts +19 -0
  32. package/dist/models/QueryPayOrderToMsenceResponse.js +69 -0
  33. package/dist/models/QueryPayOrderToMsenceResponse.js.map +1 -0
  34. package/dist/models/QueryPayOrderToMsenceResponseBody.d.ts +54 -0
  35. package/dist/models/QueryPayOrderToMsenceResponseBody.js +88 -0
  36. package/dist/models/QueryPayOrderToMsenceResponseBody.js.map +1 -0
  37. package/dist/models/QueryUserInfoToMsenceRequest.d.ts +43 -0
  38. package/dist/models/QueryUserInfoToMsenceRequest.js +68 -0
  39. package/dist/models/QueryUserInfoToMsenceRequest.js.map +1 -0
  40. package/dist/models/QueryUserInfoToMsenceResponse.d.ts +19 -0
  41. package/dist/models/QueryUserInfoToMsenceResponse.js +69 -0
  42. package/dist/models/QueryUserInfoToMsenceResponse.js.map +1 -0
  43. package/dist/models/QueryUserInfoToMsenceResponseBody.d.ts +61 -0
  44. package/dist/models/QueryUserInfoToMsenceResponseBody.js +92 -0
  45. package/dist/models/QueryUserInfoToMsenceResponseBody.js.map +1 -0
  46. package/dist/models/SaveOrderRelationInfoToMsenceRequest.d.ts +63 -0
  47. package/dist/models/SaveOrderRelationInfoToMsenceRequest.js +76 -0
  48. package/dist/models/SaveOrderRelationInfoToMsenceRequest.js.map +1 -0
  49. package/dist/models/SaveOrderRelationInfoToMsenceResponse.d.ts +19 -0
  50. package/dist/models/SaveOrderRelationInfoToMsenceResponse.js +69 -0
  51. package/dist/models/SaveOrderRelationInfoToMsenceResponse.js.map +1 -0
  52. package/dist/models/SaveOrderRelationInfoToMsenceResponseBody.d.ts +54 -0
  53. package/dist/models/SaveOrderRelationInfoToMsenceResponseBody.js +88 -0
  54. package/dist/models/SaveOrderRelationInfoToMsenceResponseBody.js.map +1 -0
  55. package/dist/models/VirtualDeliveryToMsceneRequest.d.ts +43 -0
  56. package/dist/models/VirtualDeliveryToMsceneRequest.js +68 -0
  57. package/dist/models/VirtualDeliveryToMsceneRequest.js.map +1 -0
  58. package/dist/models/VirtualDeliveryToMsceneResponse.d.ts +19 -0
  59. package/dist/models/VirtualDeliveryToMsceneResponse.js +69 -0
  60. package/dist/models/VirtualDeliveryToMsceneResponse.js.map +1 -0
  61. package/dist/models/VirtualDeliveryToMsceneResponseBody.d.ts +54 -0
  62. package/dist/models/VirtualDeliveryToMsceneResponseBody.js +88 -0
  63. package/dist/models/VirtualDeliveryToMsceneResponseBody.js.map +1 -0
  64. package/dist/models/model.d.ts +26 -0
  65. package/dist/models/model.js +65 -13
  66. package/dist/models/model.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/client.ts +411 -5
  69. package/src/models/CreatePayOrderToMsenceRequest.ts +90 -0
  70. package/src/models/CreatePayOrderToMsenceResponse.ts +40 -0
  71. package/src/models/CreatePayOrderToMsenceResponseBody.ts +95 -0
  72. package/src/models/CreatePayOrderToMsenceShrinkRequest.ts +87 -0
  73. package/src/models/GetAuthTokenToMsenceRequest.ts +66 -0
  74. package/src/models/GetAuthTokenToMsenceResponse.ts +40 -0
  75. package/src/models/GetAuthTokenToMsenceResponseBody.ts +116 -0
  76. package/src/models/ListCubecardAppsRequest.ts +24 -0
  77. package/src/models/QueryPayOrderToMsenceRequest.ts +66 -0
  78. package/src/models/QueryPayOrderToMsenceResponse.ts +40 -0
  79. package/src/models/QueryPayOrderToMsenceResponseBody.ts +88 -0
  80. package/src/models/QueryUserInfoToMsenceRequest.ts +66 -0
  81. package/src/models/QueryUserInfoToMsenceResponse.ts +40 -0
  82. package/src/models/QueryUserInfoToMsenceResponseBody.ts +99 -0
  83. package/src/models/SaveOrderRelationInfoToMsenceRequest.ts +94 -0
  84. package/src/models/SaveOrderRelationInfoToMsenceResponse.ts +40 -0
  85. package/src/models/SaveOrderRelationInfoToMsenceResponseBody.ts +88 -0
  86. package/src/models/VirtualDeliveryToMsceneRequest.ts +66 -0
  87. package/src/models/VirtualDeliveryToMsceneResponse.ts +40 -0
  88. package/src/models/VirtualDeliveryToMsceneResponseBody.ts +88 -0
  89. package/src/models/model.ts +26 -0
@@ -0,0 +1,87 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreatePayOrderToMsenceShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ amount?: number;
11
+ /**
12
+ * @example
13
+ * ALIPUBE5C3F6D091419
14
+ */
15
+ appId?: string;
16
+ /**
17
+ * @example
18
+ * NPHTGKNR
19
+ */
20
+ authToken?: string;
21
+ /**
22
+ * @example
23
+ * test_custom_id
24
+ */
25
+ customId?: string;
26
+ /**
27
+ * @example
28
+ * {}
29
+ */
30
+ extraInfoShrink?: string;
31
+ /**
32
+ * @example
33
+ * 123321
34
+ */
35
+ miniProgramId?: string;
36
+ /**
37
+ * @example
38
+ * mPaaS_Goosefish
39
+ */
40
+ platformId?: string;
41
+ /**
42
+ * @example
43
+ * NPHTGKNR
44
+ */
45
+ tenantId?: string;
46
+ /**
47
+ * @example
48
+ * default
49
+ */
50
+ workspaceId?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ amount: 'Amount',
54
+ appId: 'AppId',
55
+ authToken: 'AuthToken',
56
+ customId: 'CustomId',
57
+ extraInfoShrink: 'ExtraInfo',
58
+ miniProgramId: 'MiniProgramId',
59
+ platformId: 'PlatformId',
60
+ tenantId: 'TenantId',
61
+ workspaceId: 'WorkspaceId',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ amount: 'number',
68
+ appId: 'string',
69
+ authToken: 'string',
70
+ customId: 'string',
71
+ extraInfoShrink: 'string',
72
+ miniProgramId: 'string',
73
+ platformId: 'string',
74
+ tenantId: 'string',
75
+ workspaceId: 'string',
76
+ };
77
+ }
78
+
79
+ validate() {
80
+ super.validate();
81
+ }
82
+
83
+ constructor(map?: { [key: string]: any }) {
84
+ super(map);
85
+ }
86
+ }
87
+
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAuthTokenToMsenceRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ALIPUBE5C3F6D091419
9
+ */
10
+ appId?: string;
11
+ /**
12
+ * @example
13
+ * KUAj7XWYYf
14
+ */
15
+ authCode?: string;
16
+ /**
17
+ * @example
18
+ * 123321
19
+ */
20
+ miniProgramId?: string;
21
+ /**
22
+ * @example
23
+ * mPaaS_Goosefish
24
+ */
25
+ platformId?: string;
26
+ /**
27
+ * @example
28
+ * NPHTGKNR
29
+ */
30
+ tenantId?: string;
31
+ /**
32
+ * @example
33
+ * default
34
+ */
35
+ workspaceId?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ appId: 'AppId',
39
+ authCode: 'AuthCode',
40
+ miniProgramId: 'MiniProgramId',
41
+ platformId: 'PlatformId',
42
+ tenantId: 'TenantId',
43
+ workspaceId: 'WorkspaceId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ appId: 'string',
50
+ authCode: 'string',
51
+ miniProgramId: 'string',
52
+ platformId: 'string',
53
+ tenantId: 'string',
54
+ workspaceId: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetAuthTokenToMsenceResponseBody } from "./GetAuthTokenToMsenceResponseBody";
4
+
5
+
6
+ export class GetAuthTokenToMsenceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAuthTokenToMsenceResponseBody;
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: GetAuthTokenToMsenceResponseBody,
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,116 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAuthTokenToMsenceResponseBodyMpaasSystemOauthTokenResponse extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * NPHTGKNR
9
+ */
10
+ authToken?: string;
11
+ /**
12
+ * @example
13
+ * 300
14
+ */
15
+ expiresIn?: string;
16
+ /**
17
+ * @example
18
+ * 123456
19
+ */
20
+ openId?: string;
21
+ /**
22
+ * @example
23
+ * -
24
+ */
25
+ platform?: string;
26
+ /**
27
+ * @example
28
+ * userid001
29
+ */
30
+ userId?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ authToken: 'AuthToken',
34
+ expiresIn: 'ExpiresIn',
35
+ openId: 'OpenId',
36
+ platform: 'Platform',
37
+ userId: 'UserId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ authToken: 'string',
44
+ expiresIn: 'string',
45
+ openId: 'string',
46
+ platform: 'string',
47
+ userId: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
60
+ export class GetAuthTokenToMsenceResponseBody extends $dara.Model {
61
+ mpaasSystemOauthTokenResponse?: GetAuthTokenToMsenceResponseBodyMpaasSystemOauthTokenResponse;
62
+ /**
63
+ * @remarks
64
+ * Id of the request
65
+ *
66
+ * @example
67
+ * 11E66B29-9E5E-5C10-B64E-B5A0E0F26355
68
+ */
69
+ requestId?: string;
70
+ /**
71
+ * @example
72
+ * 200
73
+ */
74
+ resultCode?: string;
75
+ /**
76
+ * @example
77
+ * SUCCESS
78
+ */
79
+ resultMsg?: string;
80
+ /**
81
+ * @example
82
+ * true
83
+ */
84
+ success?: boolean;
85
+ static names(): { [key: string]: string } {
86
+ return {
87
+ mpaasSystemOauthTokenResponse: 'MpaasSystemOauthTokenResponse',
88
+ requestId: 'RequestId',
89
+ resultCode: 'ResultCode',
90
+ resultMsg: 'ResultMsg',
91
+ success: 'Success',
92
+ };
93
+ }
94
+
95
+ static types(): { [key: string]: any } {
96
+ return {
97
+ mpaasSystemOauthTokenResponse: GetAuthTokenToMsenceResponseBodyMpaasSystemOauthTokenResponse,
98
+ requestId: 'string',
99
+ resultCode: 'string',
100
+ resultMsg: 'string',
101
+ success: 'boolean',
102
+ };
103
+ }
104
+
105
+ validate() {
106
+ if(this.mpaasSystemOauthTokenResponse && typeof (this.mpaasSystemOauthTokenResponse as any).validate === 'function') {
107
+ (this.mpaasSystemOauthTokenResponse as any).validate();
108
+ }
109
+ super.validate();
110
+ }
111
+
112
+ constructor(map?: { [key: string]: any }) {
113
+ super(map);
114
+ }
115
+ }
116
+
@@ -0,0 +1,24 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListCubecardAppsRequest extends $dara.Model {
6
+ static names(): { [key: string]: string } {
7
+ return {
8
+ };
9
+ }
10
+
11
+ static types(): { [key: string]: any } {
12
+ return {
13
+ };
14
+ }
15
+
16
+ validate() {
17
+ super.validate();
18
+ }
19
+
20
+ constructor(map?: { [key: string]: any }) {
21
+ super(map);
22
+ }
23
+ }
24
+
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryPayOrderToMsenceRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ALIPUBE5C3F6D091419
9
+ */
10
+ appId?: string;
11
+ /**
12
+ * @example
13
+ * test_custom_id
14
+ */
15
+ customId?: string;
16
+ /**
17
+ * @example
18
+ * 123321
19
+ */
20
+ miniProgramId?: string;
21
+ /**
22
+ * @example
23
+ * mPaaS_Goosefish
24
+ */
25
+ platformId?: string;
26
+ /**
27
+ * @example
28
+ * CBIGWCFH
29
+ */
30
+ tenantId?: string;
31
+ /**
32
+ * @example
33
+ * default
34
+ */
35
+ workspaceId?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ appId: 'AppId',
39
+ customId: 'CustomId',
40
+ miniProgramId: 'MiniProgramId',
41
+ platformId: 'PlatformId',
42
+ tenantId: 'TenantId',
43
+ workspaceId: 'WorkspaceId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ appId: 'string',
50
+ customId: 'string',
51
+ miniProgramId: 'string',
52
+ platformId: 'string',
53
+ tenantId: 'string',
54
+ workspaceId: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryPayOrderToMsenceResponseBody } from "./QueryPayOrderToMsenceResponseBody";
4
+
5
+
6
+ export class QueryPayOrderToMsenceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryPayOrderToMsenceResponseBody;
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: QueryPayOrderToMsenceResponseBody,
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,88 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryPayOrderToMsenceResponseBodyMpaasUserGamecenterPaymentQuerystatusResponse extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ orderStatus?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ orderStatus: 'OrderStatus',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ orderStatus: '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 QueryPayOrderToMsenceResponseBody extends $dara.Model {
33
+ mpaasUserGamecenterPaymentQuerystatusResponse?: QueryPayOrderToMsenceResponseBodyMpaasUserGamecenterPaymentQuerystatusResponse;
34
+ /**
35
+ * @remarks
36
+ * Id of the request
37
+ *
38
+ * @example
39
+ * 11E66B29-9E5E-5C10-B64E-B5A0E0F26355
40
+ */
41
+ requestId?: string;
42
+ /**
43
+ * @example
44
+ * 200
45
+ */
46
+ resultCode?: string;
47
+ /**
48
+ * @example
49
+ * SUCCESS
50
+ */
51
+ resultMsg?: string;
52
+ /**
53
+ * @example
54
+ * true
55
+ */
56
+ success?: boolean;
57
+ static names(): { [key: string]: string } {
58
+ return {
59
+ mpaasUserGamecenterPaymentQuerystatusResponse: 'MpaasUserGamecenterPaymentQuerystatusResponse',
60
+ requestId: 'RequestId',
61
+ resultCode: 'ResultCode',
62
+ resultMsg: 'ResultMsg',
63
+ success: 'Success',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ mpaasUserGamecenterPaymentQuerystatusResponse: QueryPayOrderToMsenceResponseBodyMpaasUserGamecenterPaymentQuerystatusResponse,
70
+ requestId: 'string',
71
+ resultCode: 'string',
72
+ resultMsg: 'string',
73
+ success: 'boolean',
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ if(this.mpaasUserGamecenterPaymentQuerystatusResponse && typeof (this.mpaasUserGamecenterPaymentQuerystatusResponse as any).validate === 'function') {
79
+ (this.mpaasUserGamecenterPaymentQuerystatusResponse as any).validate();
80
+ }
81
+ super.validate();
82
+ }
83
+
84
+ constructor(map?: { [key: string]: any }) {
85
+ super(map);
86
+ }
87
+ }
88
+
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryUserInfoToMsenceRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ALIPUBE5C3F6D091419
9
+ */
10
+ appId?: string;
11
+ /**
12
+ * @example
13
+ * NPHTGKNR
14
+ */
15
+ authToken?: string;
16
+ /**
17
+ * @example
18
+ * 123321
19
+ */
20
+ miniProgramId?: string;
21
+ /**
22
+ * @example
23
+ * mPaaS_Goosefish
24
+ */
25
+ platformId?: string;
26
+ /**
27
+ * @example
28
+ * JGBGDUWU
29
+ */
30
+ tenantId?: string;
31
+ /**
32
+ * @example
33
+ * preProd
34
+ */
35
+ workspaceId?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ appId: 'AppId',
39
+ authToken: 'AuthToken',
40
+ miniProgramId: 'MiniProgramId',
41
+ platformId: 'PlatformId',
42
+ tenantId: 'TenantId',
43
+ workspaceId: 'WorkspaceId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ appId: 'string',
50
+ authToken: 'string',
51
+ miniProgramId: 'string',
52
+ platformId: 'string',
53
+ tenantId: 'string',
54
+ workspaceId: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryUserInfoToMsenceResponseBody } from "./QueryUserInfoToMsenceResponseBody";
4
+
5
+
6
+ export class QueryUserInfoToMsenceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryUserInfoToMsenceResponseBody;
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: QueryUserInfoToMsenceResponseBody,
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
+