@alicloud/mse20190531 6.20.2 → 6.21.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 (65) hide show
  1. package/dist/client.d.ts +60 -0
  2. package/dist/client.js +277 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DeleteBlackWhiteListRequest.d.ts +33 -0
  5. package/dist/models/DeleteBlackWhiteListRequest.js +64 -0
  6. package/dist/models/DeleteBlackWhiteListRequest.js.map +1 -0
  7. package/dist/models/DeleteBlackWhiteListResponse.d.ts +19 -0
  8. package/dist/models/DeleteBlackWhiteListResponse.js +69 -0
  9. package/dist/models/DeleteBlackWhiteListResponse.js.map +1 -0
  10. package/dist/models/DeleteBlackWhiteListResponseBody.d.ts +109 -0
  11. package/dist/models/DeleteBlackWhiteListResponseBody.js +110 -0
  12. package/dist/models/DeleteBlackWhiteListResponseBody.js.map +1 -0
  13. package/dist/models/DeleteGatewayAuthRequest.d.ts +28 -0
  14. package/dist/models/DeleteGatewayAuthRequest.js +62 -0
  15. package/dist/models/DeleteGatewayAuthRequest.js.map +1 -0
  16. package/dist/models/DeleteGatewayAuthResponse.d.ts +19 -0
  17. package/dist/models/DeleteGatewayAuthResponse.js +69 -0
  18. package/dist/models/DeleteGatewayAuthResponse.js.map +1 -0
  19. package/dist/models/DeleteGatewayAuthResponseBody.d.ts +161 -0
  20. package/dist/models/DeleteGatewayAuthResponseBody.js +133 -0
  21. package/dist/models/DeleteGatewayAuthResponseBody.js.map +1 -0
  22. package/dist/models/ListGatewayAuthRequest.d.ts +76 -0
  23. package/dist/models/ListGatewayAuthRequest.js +98 -0
  24. package/dist/models/ListGatewayAuthRequest.js.map +1 -0
  25. package/dist/models/ListGatewayAuthResponse.d.ts +19 -0
  26. package/dist/models/ListGatewayAuthResponse.js +69 -0
  27. package/dist/models/ListGatewayAuthResponse.js.map +1 -0
  28. package/dist/models/ListGatewayAuthResponseBody.d.ts +281 -0
  29. package/dist/models/ListGatewayAuthResponseBody.js +240 -0
  30. package/dist/models/ListGatewayAuthResponseBody.js.map +1 -0
  31. package/dist/models/ListGatewayAuthShrinkRequest.d.ts +39 -0
  32. package/dist/models/ListGatewayAuthShrinkRequest.js +68 -0
  33. package/dist/models/ListGatewayAuthShrinkRequest.js.map +1 -0
  34. package/dist/models/UpdateGatewayAuthRequest.d.ts +237 -0
  35. package/dist/models/UpdateGatewayAuthRequest.js +216 -0
  36. package/dist/models/UpdateGatewayAuthRequest.js.map +1 -0
  37. package/dist/models/UpdateGatewayAuthResponse.d.ts +19 -0
  38. package/dist/models/UpdateGatewayAuthResponse.js +69 -0
  39. package/dist/models/UpdateGatewayAuthResponse.js.map +1 -0
  40. package/dist/models/UpdateGatewayAuthResponseBody.d.ts +43 -0
  41. package/dist/models/UpdateGatewayAuthResponseBody.js +68 -0
  42. package/dist/models/UpdateGatewayAuthResponseBody.js.map +1 -0
  43. package/dist/models/UpdateGatewayAuthShrinkRequest.d.ts +122 -0
  44. package/dist/models/UpdateGatewayAuthShrinkRequest.js +106 -0
  45. package/dist/models/UpdateGatewayAuthShrinkRequest.js.map +1 -0
  46. package/dist/models/model.d.ts +24 -0
  47. package/dist/models/model.js +71 -23
  48. package/dist/models/model.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/client.ts +328 -0
  51. package/src/models/DeleteBlackWhiteListRequest.ts +52 -0
  52. package/src/models/DeleteBlackWhiteListResponse.ts +40 -0
  53. package/src/models/DeleteBlackWhiteListResponseBody.ts +165 -0
  54. package/src/models/DeleteGatewayAuthRequest.ts +45 -0
  55. package/src/models/DeleteGatewayAuthResponse.ts +40 -0
  56. package/src/models/DeleteGatewayAuthResponseBody.ts +240 -0
  57. package/src/models/ListGatewayAuthRequest.ts +120 -0
  58. package/src/models/ListGatewayAuthResponse.ts +40 -0
  59. package/src/models/ListGatewayAuthResponseBody.ts +440 -0
  60. package/src/models/ListGatewayAuthShrinkRequest.ts +62 -0
  61. package/src/models/UpdateGatewayAuthRequest.ts +381 -0
  62. package/src/models/UpdateGatewayAuthResponse.ts +40 -0
  63. package/src/models/UpdateGatewayAuthResponseBody.ts +66 -0
  64. package/src/models/UpdateGatewayAuthShrinkRequest.ts +183 -0
  65. package/src/models/model.ts +24 -0
@@ -0,0 +1,161 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteGatewayAuthResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * example-app
6
+ */
7
+ clientId?: string;
8
+ /**
9
+ * @example
10
+ * xxxxx
11
+ */
12
+ clientSecret?: string;
13
+ /**
14
+ * @example
15
+ * test.com
16
+ */
17
+ cookieDomain?: string;
18
+ /**
19
+ * @example
20
+ * 399
21
+ */
22
+ gatewayId?: number;
23
+ /**
24
+ * @example
25
+ * gw-e2d226bba4b2445c9e29fa7f8216****
26
+ */
27
+ gatewayUniqueId?: string;
28
+ /**
29
+ * @example
30
+ * 2022-01-07 18:07:57
31
+ */
32
+ gmtCreate?: string;
33
+ /**
34
+ * @example
35
+ * 2022-01-07 18:07:57
36
+ */
37
+ gmtModified?: string;
38
+ /**
39
+ * @example
40
+ * 120
41
+ */
42
+ id?: number;
43
+ /**
44
+ * @example
45
+ * true
46
+ */
47
+ isWhite?: boolean;
48
+ /**
49
+ * @example
50
+ * https://example.com/auth
51
+ */
52
+ issuer?: string;
53
+ /**
54
+ * @example
55
+ * {
56
+ * "keys": [
57
+ * {
58
+ * "e": "AQAB",
59
+ * "kid": "DHFbpoIUqrY8t2zpA2qXfCmr5VO5ZEr4RzHU_-envvQ",
60
+ * "kty": "RSA",
61
+ * "n": "xAE7eB6qugXyCAG3yhh7pkDkT65pHymX-P7KfIupjf59vsdo91bSP9C8H07pSAGQO1MV_xFj9VswgsCg4R6otmg5PV2He95lZdHtOcU5DXIg_pbhLdKXbi66GlVeK6ABZOUW3WYtnNHD-91gVuoeJT_DwtGGcp4ignkgXfkiEm4sw-4sfb4qdt5oLbyVpmW6x9cfa7vs2WTfURiCrBoUqgBo_-4WTiULmmHSGZHOjzwa8WtrtOQGsAFjIbno85jp6MnGGGZPYZbDAa_b3y5u-YpW7ypZrvD8BgtKVjgtQgZhLAGezMt0ua3DRrWnKqTZ0BJ_EyxOGuHJrLsn00fnMQ"
62
+ * }
63
+ * ]
64
+ * }
65
+ */
66
+ jwks?: string;
67
+ /**
68
+ * @example
69
+ * https://daxxxxcn.aliyunidaas.com/
70
+ */
71
+ loginUrl?: string;
72
+ /**
73
+ * @example
74
+ * test
75
+ */
76
+ name?: string;
77
+ /**
78
+ * @example
79
+ * https://yourdomain/path
80
+ */
81
+ redirectUrl?: string;
82
+ scopesList?: string[];
83
+ /**
84
+ * @example
85
+ * true
86
+ */
87
+ status?: boolean;
88
+ /**
89
+ * @example
90
+ * Authorization
91
+ */
92
+ tokenName?: string;
93
+ /**
94
+ * @example
95
+ * Bearer
96
+ */
97
+ tokenNamePrefix?: string;
98
+ /**
99
+ * @example
100
+ * true
101
+ */
102
+ tokenPass?: boolean;
103
+ /**
104
+ * @example
105
+ * HEADER
106
+ */
107
+ tokenPosition?: string;
108
+ /**
109
+ * @example
110
+ * JWT
111
+ */
112
+ type?: string;
113
+ static names(): {
114
+ [key: string]: string;
115
+ };
116
+ static types(): {
117
+ [key: string]: any;
118
+ };
119
+ validate(): void;
120
+ constructor(map?: {
121
+ [key: string]: any;
122
+ });
123
+ }
124
+ export declare class DeleteGatewayAuthResponseBody extends $dara.Model {
125
+ /**
126
+ * @example
127
+ * 200
128
+ */
129
+ code?: number;
130
+ data?: DeleteGatewayAuthResponseBodyData;
131
+ /**
132
+ * @example
133
+ * 200
134
+ */
135
+ httpStatusCode?: number;
136
+ /**
137
+ * @example
138
+ * OK
139
+ */
140
+ message?: string;
141
+ /**
142
+ * @example
143
+ * 316F5F64-F73D-42DC-8632-01E308B6****
144
+ */
145
+ requestId?: string;
146
+ /**
147
+ * @example
148
+ * true
149
+ */
150
+ success?: boolean;
151
+ static names(): {
152
+ [key: string]: string;
153
+ };
154
+ static types(): {
155
+ [key: string]: any;
156
+ };
157
+ validate(): void;
158
+ constructor(map?: {
159
+ [key: string]: any;
160
+ });
161
+ }
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteGatewayAuthResponseBody = exports.DeleteGatewayAuthResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteGatewayAuthResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clientId: 'ClientId',
43
+ clientSecret: 'ClientSecret',
44
+ cookieDomain: 'CookieDomain',
45
+ gatewayId: 'GatewayId',
46
+ gatewayUniqueId: 'GatewayUniqueId',
47
+ gmtCreate: 'GmtCreate',
48
+ gmtModified: 'GmtModified',
49
+ id: 'Id',
50
+ isWhite: 'IsWhite',
51
+ issuer: 'Issuer',
52
+ jwks: 'Jwks',
53
+ loginUrl: 'LoginUrl',
54
+ name: 'Name',
55
+ redirectUrl: 'RedirectUrl',
56
+ scopesList: 'ScopesList',
57
+ status: 'Status',
58
+ tokenName: 'TokenName',
59
+ tokenNamePrefix: 'TokenNamePrefix',
60
+ tokenPass: 'TokenPass',
61
+ tokenPosition: 'TokenPosition',
62
+ type: 'Type',
63
+ };
64
+ }
65
+ static types() {
66
+ return {
67
+ clientId: 'string',
68
+ clientSecret: 'string',
69
+ cookieDomain: 'string',
70
+ gatewayId: 'number',
71
+ gatewayUniqueId: 'string',
72
+ gmtCreate: 'string',
73
+ gmtModified: 'string',
74
+ id: 'number',
75
+ isWhite: 'boolean',
76
+ issuer: 'string',
77
+ jwks: 'string',
78
+ loginUrl: 'string',
79
+ name: 'string',
80
+ redirectUrl: 'string',
81
+ scopesList: { 'type': 'array', 'itemType': 'string' },
82
+ status: 'boolean',
83
+ tokenName: 'string',
84
+ tokenNamePrefix: 'string',
85
+ tokenPass: 'boolean',
86
+ tokenPosition: 'string',
87
+ type: 'string',
88
+ };
89
+ }
90
+ validate() {
91
+ if (Array.isArray(this.scopesList)) {
92
+ $dara.Model.validateArray(this.scopesList);
93
+ }
94
+ super.validate();
95
+ }
96
+ constructor(map) {
97
+ super(map);
98
+ }
99
+ }
100
+ exports.DeleteGatewayAuthResponseBodyData = DeleteGatewayAuthResponseBodyData;
101
+ class DeleteGatewayAuthResponseBody extends $dara.Model {
102
+ static names() {
103
+ return {
104
+ code: 'Code',
105
+ data: 'Data',
106
+ httpStatusCode: 'HttpStatusCode',
107
+ message: 'Message',
108
+ requestId: 'RequestId',
109
+ success: 'Success',
110
+ };
111
+ }
112
+ static types() {
113
+ return {
114
+ code: 'number',
115
+ data: DeleteGatewayAuthResponseBodyData,
116
+ httpStatusCode: 'number',
117
+ message: 'string',
118
+ requestId: 'string',
119
+ success: 'boolean',
120
+ };
121
+ }
122
+ validate() {
123
+ if (this.data && typeof this.data.validate === 'function') {
124
+ this.data.validate();
125
+ }
126
+ super.validate();
127
+ }
128
+ constructor(map) {
129
+ super(map);
130
+ }
131
+ }
132
+ exports.DeleteGatewayAuthResponseBody = DeleteGatewayAuthResponseBody;
133
+ //# sourceMappingURL=DeleteGatewayAuthResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteGatewayAuthResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteGatewayAuthResponseBody.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,76 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListGatewayAuthRequestFilterParams extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * gw-5017305290e14centbrveca****
6
+ */
7
+ gatewayUniqueId?: string;
8
+ /**
9
+ * @example
10
+ * true
11
+ */
12
+ isWhite?: boolean;
13
+ /**
14
+ * @example
15
+ * rutain-test
16
+ */
17
+ name?: string;
18
+ /**
19
+ * @example
20
+ * true
21
+ */
22
+ status?: boolean;
23
+ /**
24
+ * @example
25
+ * JWT
26
+ */
27
+ type?: string;
28
+ static names(): {
29
+ [key: string]: string;
30
+ };
31
+ static types(): {
32
+ [key: string]: any;
33
+ };
34
+ validate(): void;
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }
39
+ export declare class ListGatewayAuthRequest extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * zh
43
+ */
44
+ acceptLanguage?: string;
45
+ /**
46
+ * @example
47
+ * false
48
+ */
49
+ descSort?: boolean;
50
+ filterParams?: ListGatewayAuthRequestFilterParams;
51
+ /**
52
+ * @example
53
+ * {}
54
+ */
55
+ orderItem?: string;
56
+ /**
57
+ * @example
58
+ * 1
59
+ */
60
+ pageNumber?: number;
61
+ /**
62
+ * @example
63
+ * 10
64
+ */
65
+ pageSize?: number;
66
+ static names(): {
67
+ [key: string]: string;
68
+ };
69
+ static types(): {
70
+ [key: string]: any;
71
+ };
72
+ validate(): void;
73
+ constructor(map?: {
74
+ [key: string]: any;
75
+ });
76
+ }
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListGatewayAuthRequest = exports.ListGatewayAuthRequestFilterParams = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListGatewayAuthRequestFilterParams extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ gatewayUniqueId: 'GatewayUniqueId',
43
+ isWhite: 'IsWhite',
44
+ name: 'Name',
45
+ status: 'Status',
46
+ type: 'Type',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ gatewayUniqueId: 'string',
52
+ isWhite: 'boolean',
53
+ name: 'string',
54
+ status: 'boolean',
55
+ type: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.ListGatewayAuthRequestFilterParams = ListGatewayAuthRequestFilterParams;
66
+ class ListGatewayAuthRequest extends $dara.Model {
67
+ static names() {
68
+ return {
69
+ acceptLanguage: 'AcceptLanguage',
70
+ descSort: 'DescSort',
71
+ filterParams: 'FilterParams',
72
+ orderItem: 'OrderItem',
73
+ pageNumber: 'PageNumber',
74
+ pageSize: 'PageSize',
75
+ };
76
+ }
77
+ static types() {
78
+ return {
79
+ acceptLanguage: 'string',
80
+ descSort: 'boolean',
81
+ filterParams: ListGatewayAuthRequestFilterParams,
82
+ orderItem: 'string',
83
+ pageNumber: 'number',
84
+ pageSize: 'number',
85
+ };
86
+ }
87
+ validate() {
88
+ if (this.filterParams && typeof this.filterParams.validate === 'function') {
89
+ this.filterParams.validate();
90
+ }
91
+ super.validate();
92
+ }
93
+ constructor(map) {
94
+ super(map);
95
+ }
96
+ }
97
+ exports.ListGatewayAuthRequest = ListGatewayAuthRequest;
98
+ //# sourceMappingURL=ListGatewayAuthRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListGatewayAuthRequest.js","sourceRoot":"","sources":["../../src/models/ListGatewayAuthRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IA0BjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArDD,gFAqDC;AAED,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IA2BrD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,QAAQ,EAAE,SAAS;YACnB,YAAY,EAAE,kCAAkC;YAChD,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,YAAY,IAAI,OAAQ,IAAI,CAAC,YAAoB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjF,IAAI,CAAC,YAAoB,CAAC,QAAQ,EAAE,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3DD,wDA2DC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListGatewayAuthResponseBody } from "./ListGatewayAuthResponseBody";
3
+ export declare class ListGatewayAuthResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListGatewayAuthResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListGatewayAuthResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListGatewayAuthResponseBody_1 = require("./ListGatewayAuthResponseBody");
40
+ class ListGatewayAuthResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: ListGatewayAuthResponseBody_1.ListGatewayAuthResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.ListGatewayAuthResponse = ListGatewayAuthResponse;
69
+ //# sourceMappingURL=ListGatewayAuthResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListGatewayAuthResponse.js","sourceRoot":"","sources":["../../src/models/ListGatewayAuthResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+EAA4E;AAG5E,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAItD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yDAA2B;SAClC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0DAiCC"}