@alicloud/esa20240910 2.31.0 → 2.32.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 (87) hide show
  1. package/dist/client.d.ts +75 -0
  2. package/dist/client.js +235 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateRecordRequest.d.ts +2 -0
  5. package/dist/models/CreateRecordRequest.js.map +1 -1
  6. package/dist/models/CreateRecordShrinkRequest.d.ts +2 -0
  7. package/dist/models/CreateRecordShrinkRequest.js.map +1 -1
  8. package/dist/models/CreateTransportLayerApplicationRequest.d.ts +98 -0
  9. package/dist/models/CreateTransportLayerApplicationRequest.js +102 -0
  10. package/dist/models/CreateTransportLayerApplicationRequest.js.map +1 -0
  11. package/dist/models/CreateTransportLayerApplicationResponse.d.ts +19 -0
  12. package/dist/models/CreateTransportLayerApplicationResponse.js +69 -0
  13. package/dist/models/CreateTransportLayerApplicationResponse.js.map +1 -0
  14. package/dist/models/CreateTransportLayerApplicationResponseBody.d.ts +23 -0
  15. package/dist/models/CreateTransportLayerApplicationResponseBody.js +60 -0
  16. package/dist/models/CreateTransportLayerApplicationResponseBody.js.map +1 -0
  17. package/dist/models/CreateTransportLayerApplicationShrinkRequest.d.ts +37 -0
  18. package/dist/models/CreateTransportLayerApplicationShrinkRequest.js +68 -0
  19. package/dist/models/CreateTransportLayerApplicationShrinkRequest.js.map +1 -0
  20. package/dist/models/DeleteRecordRequest.d.ts +1 -0
  21. package/dist/models/DeleteRecordRequest.js +2 -0
  22. package/dist/models/DeleteRecordRequest.js.map +1 -1
  23. package/dist/models/DeleteTransportLayerApplicationRequest.d.ts +29 -0
  24. package/dist/models/DeleteTransportLayerApplicationRequest.js +60 -0
  25. package/dist/models/DeleteTransportLayerApplicationRequest.js.map +1 -0
  26. package/dist/models/DeleteTransportLayerApplicationResponse.d.ts +19 -0
  27. package/dist/models/DeleteTransportLayerApplicationResponse.js +69 -0
  28. package/dist/models/DeleteTransportLayerApplicationResponse.js.map +1 -0
  29. package/dist/models/DeleteTransportLayerApplicationResponseBody.d.ts +18 -0
  30. package/dist/models/DeleteTransportLayerApplicationResponseBody.js +58 -0
  31. package/dist/models/DeleteTransportLayerApplicationResponseBody.js.map +1 -0
  32. package/dist/models/GetTransportLayerApplicationRequest.d.ts +29 -0
  33. package/dist/models/GetTransportLayerApplicationRequest.js +60 -0
  34. package/dist/models/GetTransportLayerApplicationRequest.js.map +1 -0
  35. package/dist/models/GetTransportLayerApplicationResponse.d.ts +19 -0
  36. package/dist/models/GetTransportLayerApplicationResponse.js +69 -0
  37. package/dist/models/GetTransportLayerApplicationResponse.js.map +1 -0
  38. package/dist/models/GetTransportLayerApplicationResponseBody.d.ts +99 -0
  39. package/dist/models/GetTransportLayerApplicationResponseBody.js +114 -0
  40. package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -0
  41. package/dist/models/ListTransportLayerApplicationsRequest.d.ts +41 -0
  42. package/dist/models/ListTransportLayerApplicationsRequest.js +66 -0
  43. package/dist/models/ListTransportLayerApplicationsRequest.js.map +1 -0
  44. package/dist/models/ListTransportLayerApplicationsResponse.d.ts +19 -0
  45. package/dist/models/ListTransportLayerApplicationsResponse.js +69 -0
  46. package/dist/models/ListTransportLayerApplicationsResponse.js.map +1 -0
  47. package/dist/models/ListTransportLayerApplicationsResponseBody.d.ts +124 -0
  48. package/dist/models/ListTransportLayerApplicationsResponseBody.js +142 -0
  49. package/dist/models/ListTransportLayerApplicationsResponseBody.js.map +1 -0
  50. package/dist/models/UpdateTransportLayerApplicationRequest.d.ts +80 -0
  51. package/dist/models/UpdateTransportLayerApplicationRequest.js +102 -0
  52. package/dist/models/UpdateTransportLayerApplicationRequest.js.map +1 -0
  53. package/dist/models/UpdateTransportLayerApplicationResponse.d.ts +19 -0
  54. package/dist/models/UpdateTransportLayerApplicationResponse.js +69 -0
  55. package/dist/models/UpdateTransportLayerApplicationResponse.js.map +1 -0
  56. package/dist/models/UpdateTransportLayerApplicationResponseBody.d.ts +18 -0
  57. package/dist/models/UpdateTransportLayerApplicationResponseBody.js +58 -0
  58. package/dist/models/UpdateTransportLayerApplicationResponseBody.js.map +1 -0
  59. package/dist/models/UpdateTransportLayerApplicationShrinkRequest.d.ts +33 -0
  60. package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js +68 -0
  61. package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js.map +1 -0
  62. package/dist/models/model.d.ts +22 -0
  63. package/dist/models/model.js +72 -27
  64. package/dist/models/model.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/client.ts +262 -0
  67. package/src/models/CreateRecordRequest.ts +2 -0
  68. package/src/models/CreateRecordShrinkRequest.ts +2 -0
  69. package/src/models/CreateTransportLayerApplicationRequest.ts +146 -0
  70. package/src/models/CreateTransportLayerApplicationResponse.ts +40 -0
  71. package/src/models/CreateTransportLayerApplicationResponseBody.ts +38 -0
  72. package/src/models/CreateTransportLayerApplicationShrinkRequest.ts +60 -0
  73. package/src/models/DeleteRecordRequest.ts +3 -0
  74. package/src/models/DeleteTransportLayerApplicationRequest.ts +44 -0
  75. package/src/models/DeleteTransportLayerApplicationResponse.ts +40 -0
  76. package/src/models/DeleteTransportLayerApplicationResponseBody.ts +31 -0
  77. package/src/models/GetTransportLayerApplicationRequest.ts +44 -0
  78. package/src/models/GetTransportLayerApplicationResponse.ts +40 -0
  79. package/src/models/GetTransportLayerApplicationResponseBody.ts +159 -0
  80. package/src/models/ListTransportLayerApplicationsRequest.ts +62 -0
  81. package/src/models/ListTransportLayerApplicationsResponse.ts +40 -0
  82. package/src/models/ListTransportLayerApplicationsResponseBody.ts +203 -0
  83. package/src/models/UpdateTransportLayerApplicationRequest.ts +128 -0
  84. package/src/models/UpdateTransportLayerApplicationResponse.ts +40 -0
  85. package/src/models/UpdateTransportLayerApplicationResponseBody.ts +31 -0
  86. package/src/models/UpdateTransportLayerApplicationShrinkRequest.ts +56 -0
  87. package/src/models/model.ts +22 -0
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteTransportLayerApplicationResponseBody } from "./DeleteTransportLayerApplicationResponseBody";
3
+ export declare class DeleteTransportLayerApplicationResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteTransportLayerApplicationResponseBody;
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.DeleteTransportLayerApplicationResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteTransportLayerApplicationResponseBody_1 = require("./DeleteTransportLayerApplicationResponseBody");
40
+ class DeleteTransportLayerApplicationResponse 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: DeleteTransportLayerApplicationResponseBody_1.DeleteTransportLayerApplicationResponseBody,
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.DeleteTransportLayerApplicationResponse = DeleteTransportLayerApplicationResponse;
69
+ //# sourceMappingURL=DeleteTransportLayerApplicationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteTransportLayerApplicationResponse.js","sourceRoot":"","sources":["../../src/models/DeleteTransportLayerApplicationResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+GAA4G;AAG5G,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAItE,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,yFAA2C;SAClD,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,0FAiCC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteTransportLayerApplicationResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 90510C29-1E40-5A11-93F1-B9F5EDF57EE1
6
+ */
7
+ requestId?: string;
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
@@ -0,0 +1,58 @@
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.DeleteTransportLayerApplicationResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteTransportLayerApplicationResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.DeleteTransportLayerApplicationResponseBody = DeleteTransportLayerApplicationResponseBody;
58
+ //# sourceMappingURL=DeleteTransportLayerApplicationResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAM1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,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;AAzBD,kGAyBC"}
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetTransportLayerApplicationRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 170997271816****
9
+ */
10
+ applicationId?: number;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 123456****
17
+ */
18
+ siteId?: number;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
@@ -0,0 +1,60 @@
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.GetTransportLayerApplicationRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetTransportLayerApplicationRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ applicationId: 'ApplicationId',
43
+ siteId: 'SiteId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ applicationId: 'number',
49
+ siteId: 'number',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.GetTransportLayerApplicationRequest = GetTransportLayerApplicationRequest;
60
+ //# sourceMappingURL=GetTransportLayerApplicationRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAiBlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,MAAM,EAAE,QAAQ;SACjB,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;AAtCD,kFAsCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { GetTransportLayerApplicationResponseBody } from "./GetTransportLayerApplicationResponseBody";
3
+ export declare class GetTransportLayerApplicationResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: GetTransportLayerApplicationResponseBody;
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.GetTransportLayerApplicationResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const GetTransportLayerApplicationResponseBody_1 = require("./GetTransportLayerApplicationResponseBody");
40
+ class GetTransportLayerApplicationResponse 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: GetTransportLayerApplicationResponseBody_1.GetTransportLayerApplicationResponseBody,
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.GetTransportLayerApplicationResponse = GetTransportLayerApplicationResponse;
69
+ //# sourceMappingURL=GetTransportLayerApplicationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetTransportLayerApplicationResponse.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yGAAsG;AAGtG,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAInE,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,mFAAwC;SAC/C,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,oFAiCC"}
@@ -0,0 +1,99 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * off
6
+ */
7
+ clientIPPassThroughMode?: string;
8
+ comment?: string;
9
+ /**
10
+ * @example
11
+ * 80
12
+ */
13
+ edgePort?: string;
14
+ /**
15
+ * @example
16
+ * TCP
17
+ */
18
+ protocol?: string;
19
+ /**
20
+ * @example
21
+ * 1234323***
22
+ */
23
+ ruleId?: number;
24
+ /**
25
+ * @example
26
+ * 1.1.1.1
27
+ */
28
+ source?: string;
29
+ /**
30
+ * @example
31
+ * 80
32
+ */
33
+ sourcePort?: string;
34
+ /**
35
+ * @example
36
+ * domain
37
+ */
38
+ sourceType?: string;
39
+ static names(): {
40
+ [key: string]: string;
41
+ };
42
+ static types(): {
43
+ [key: string]: any;
44
+ };
45
+ validate(): void;
46
+ constructor(map?: {
47
+ [key: string]: any;
48
+ });
49
+ }
50
+ export declare class GetTransportLayerApplicationResponseBody extends $dara.Model {
51
+ /**
52
+ * @example
53
+ * 17099311410****
54
+ */
55
+ applicationId?: number;
56
+ /**
57
+ * @example
58
+ * example.com.ialicdn.com
59
+ */
60
+ cname?: string;
61
+ crossBorderOptimization?: string;
62
+ ipAccessRule?: string;
63
+ ipv6?: string;
64
+ /**
65
+ * @example
66
+ * test.example.com
67
+ */
68
+ recordName?: string;
69
+ /**
70
+ * @remarks
71
+ * Id of the request
72
+ *
73
+ * @example
74
+ * EB635996-1FD6-5DFD-BA57-27A849599940
75
+ */
76
+ requestId?: string;
77
+ rules?: GetTransportLayerApplicationResponseBodyRules[];
78
+ /**
79
+ * @example
80
+ * 1
81
+ */
82
+ rulesCount?: number;
83
+ /**
84
+ * @example
85
+ * 123456****
86
+ */
87
+ siteId?: number;
88
+ status?: string;
89
+ static names(): {
90
+ [key: string]: string;
91
+ };
92
+ static types(): {
93
+ [key: string]: any;
94
+ };
95
+ validate(): void;
96
+ constructor(map?: {
97
+ [key: string]: any;
98
+ });
99
+ }
@@ -0,0 +1,114 @@
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.GetTransportLayerApplicationResponseBody = exports.GetTransportLayerApplicationResponseBodyRules = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clientIPPassThroughMode: 'ClientIPPassThroughMode',
43
+ comment: 'Comment',
44
+ edgePort: 'EdgePort',
45
+ protocol: 'Protocol',
46
+ ruleId: 'RuleId',
47
+ source: 'Source',
48
+ sourcePort: 'SourcePort',
49
+ sourceType: 'SourceType',
50
+ };
51
+ }
52
+ static types() {
53
+ return {
54
+ clientIPPassThroughMode: 'string',
55
+ comment: 'string',
56
+ edgePort: 'string',
57
+ protocol: 'string',
58
+ ruleId: 'number',
59
+ source: 'string',
60
+ sourcePort: 'string',
61
+ sourceType: 'string',
62
+ };
63
+ }
64
+ validate() {
65
+ super.validate();
66
+ }
67
+ constructor(map) {
68
+ super(map);
69
+ }
70
+ }
71
+ exports.GetTransportLayerApplicationResponseBodyRules = GetTransportLayerApplicationResponseBodyRules;
72
+ class GetTransportLayerApplicationResponseBody extends $dara.Model {
73
+ static names() {
74
+ return {
75
+ applicationId: 'ApplicationId',
76
+ cname: 'Cname',
77
+ crossBorderOptimization: 'CrossBorderOptimization',
78
+ ipAccessRule: 'IpAccessRule',
79
+ ipv6: 'Ipv6',
80
+ recordName: 'RecordName',
81
+ requestId: 'RequestId',
82
+ rules: 'Rules',
83
+ rulesCount: 'RulesCount',
84
+ siteId: 'SiteId',
85
+ status: 'Status',
86
+ };
87
+ }
88
+ static types() {
89
+ return {
90
+ applicationId: 'number',
91
+ cname: 'string',
92
+ crossBorderOptimization: 'string',
93
+ ipAccessRule: 'string',
94
+ ipv6: 'string',
95
+ recordName: 'string',
96
+ requestId: 'string',
97
+ rules: { 'type': 'array', 'itemType': GetTransportLayerApplicationResponseBodyRules },
98
+ rulesCount: 'number',
99
+ siteId: 'number',
100
+ status: 'string',
101
+ };
102
+ }
103
+ validate() {
104
+ if (Array.isArray(this.rules)) {
105
+ $dara.Model.validateArray(this.rules);
106
+ }
107
+ super.validate();
108
+ }
109
+ constructor(map) {
110
+ super(map);
111
+ }
112
+ }
113
+ exports.GetTransportLayerApplicationResponseBody = GetTransportLayerApplicationResponseBody;
114
+ //# sourceMappingURL=GetTransportLayerApplicationResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAqC5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,yBAAyB;YAClD,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,QAAQ;YACjC,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;SACrB,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;AAtED,sGAsEC;AAED,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAuCvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,KAAK,EAAE,OAAO;YACd,uBAAuB,EAAE,yBAAyB;YAClD,YAAY,EAAE,cAAc;YAC5B,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,KAAK,EAAE,QAAQ;YACf,uBAAuB,EAAE,QAAQ;YACjC,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6CAA6C,EAAE;YACrF,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjFD,4FAiFC"}
@@ -0,0 +1,41 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListTransportLayerApplicationsRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * fuzzy
6
+ */
7
+ matchType?: string;
8
+ /**
9
+ * @example
10
+ * 1
11
+ */
12
+ pageNumber?: number;
13
+ /**
14
+ * @example
15
+ * 500
16
+ */
17
+ pageSize?: number;
18
+ /**
19
+ * @example
20
+ * www.example.com
21
+ */
22
+ recordName?: string;
23
+ /**
24
+ * @remarks
25
+ * This parameter is required.
26
+ *
27
+ * @example
28
+ * 123456******
29
+ */
30
+ siteId?: number;
31
+ static names(): {
32
+ [key: string]: string;
33
+ };
34
+ static types(): {
35
+ [key: string]: any;
36
+ };
37
+ validate(): void;
38
+ constructor(map?: {
39
+ [key: string]: any;
40
+ });
41
+ }