@alicloud/polardb20170801 6.5.0 → 6.6.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 (57) hide show
  1. package/dist/client.d.ts +68 -0
  2. package/dist/client.js +252 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribePolarAgentChatRecordsRequest.d.ts +26 -0
  5. package/dist/models/DescribePolarAgentChatRecordsRequest.js +60 -0
  6. package/dist/models/DescribePolarAgentChatRecordsRequest.js.map +1 -0
  7. package/dist/models/DescribePolarAgentChatRecordsResponse.d.ts +19 -0
  8. package/dist/models/DescribePolarAgentChatRecordsResponse.js +69 -0
  9. package/dist/models/DescribePolarAgentChatRecordsResponse.js.map +1 -0
  10. package/dist/models/DescribePolarAgentChatRecordsResponseBody.d.ts +59 -0
  11. package/dist/models/DescribePolarAgentChatRecordsResponseBody.js +90 -0
  12. package/dist/models/DescribePolarAgentChatRecordsResponseBody.js.map +1 -0
  13. package/dist/models/DescribePolarAgentSessionStatusRequest.d.ts +26 -0
  14. package/dist/models/DescribePolarAgentSessionStatusRequest.js +60 -0
  15. package/dist/models/DescribePolarAgentSessionStatusRequest.js.map +1 -0
  16. package/dist/models/DescribePolarAgentSessionStatusResponse.d.ts +19 -0
  17. package/dist/models/DescribePolarAgentSessionStatusResponse.js +69 -0
  18. package/dist/models/DescribePolarAgentSessionStatusResponse.js.map +1 -0
  19. package/dist/models/DescribePolarAgentSessionStatusResponseBody.d.ts +23 -0
  20. package/dist/models/DescribePolarAgentSessionStatusResponseBody.js +60 -0
  21. package/dist/models/DescribePolarAgentSessionStatusResponseBody.js.map +1 -0
  22. package/dist/models/DescribePolarAgentUserSessionsRequest.d.ts +18 -0
  23. package/dist/models/DescribePolarAgentUserSessionsRequest.js +58 -0
  24. package/dist/models/DescribePolarAgentUserSessionsRequest.js.map +1 -0
  25. package/dist/models/DescribePolarAgentUserSessionsResponse.d.ts +19 -0
  26. package/dist/models/DescribePolarAgentUserSessionsResponse.js +69 -0
  27. package/dist/models/DescribePolarAgentUserSessionsResponse.js.map +1 -0
  28. package/dist/models/DescribePolarAgentUserSessionsResponseBody.d.ts +46 -0
  29. package/dist/models/DescribePolarAgentUserSessionsResponseBody.js +86 -0
  30. package/dist/models/DescribePolarAgentUserSessionsResponseBody.js.map +1 -0
  31. package/dist/models/GetPolarAgentRequest.d.ts +36 -0
  32. package/dist/models/GetPolarAgentRequest.js +64 -0
  33. package/dist/models/GetPolarAgentRequest.js.map +1 -0
  34. package/dist/models/GetPolarAgentResponse.d.ts +19 -0
  35. package/dist/models/GetPolarAgentResponse.js +69 -0
  36. package/dist/models/GetPolarAgentResponse.js.map +1 -0
  37. package/dist/models/GetPolarAgentResponseBody.d.ts +105 -0
  38. package/dist/models/GetPolarAgentResponseBody.js +124 -0
  39. package/dist/models/GetPolarAgentResponseBody.js.map +1 -0
  40. package/dist/models/model.d.ts +16 -0
  41. package/dist/models/model.js +52 -19
  42. package/dist/models/model.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/client.ts +244 -0
  45. package/src/models/DescribePolarAgentChatRecordsRequest.ts +41 -0
  46. package/src/models/DescribePolarAgentChatRecordsResponse.ts +40 -0
  47. package/src/models/DescribePolarAgentChatRecordsResponseBody.ts +95 -0
  48. package/src/models/DescribePolarAgentSessionStatusRequest.ts +41 -0
  49. package/src/models/DescribePolarAgentSessionStatusResponse.ts +40 -0
  50. package/src/models/DescribePolarAgentSessionStatusResponseBody.ts +38 -0
  51. package/src/models/DescribePolarAgentUserSessionsRequest.ts +31 -0
  52. package/src/models/DescribePolarAgentUserSessionsResponse.ts +40 -0
  53. package/src/models/DescribePolarAgentUserSessionsResponseBody.ts +78 -0
  54. package/src/models/GetPolarAgentRequest.ts +55 -0
  55. package/src/models/GetPolarAgentResponse.ts +40 -0
  56. package/src/models/GetPolarAgentResponseBody.ts +166 -0
  57. package/src/models/model.ts +16 -0
@@ -0,0 +1,26 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePolarAgentChatRecordsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 1e28530a0da2c4755f165b1b8b9a73c9
9
+ */
10
+ sessionId?: string;
11
+ /**
12
+ * @example
13
+ * polardb-console
14
+ */
15
+ source?: string;
16
+ static names(): {
17
+ [key: string]: string;
18
+ };
19
+ static types(): {
20
+ [key: string]: any;
21
+ };
22
+ validate(): void;
23
+ constructor(map?: {
24
+ [key: string]: any;
25
+ });
26
+ }
@@ -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.DescribePolarAgentChatRecordsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribePolarAgentChatRecordsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ sessionId: 'SessionId',
43
+ source: 'Source',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ sessionId: 'string',
49
+ source: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribePolarAgentChatRecordsRequest = DescribePolarAgentChatRecordsRequest;
60
+ //# sourceMappingURL=DescribePolarAgentChatRecordsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePolarAgentChatRecordsRequest.js","sourceRoot":"","sources":["../../src/models/DescribePolarAgentChatRecordsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAcnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,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;AAnCD,oFAmCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribePolarAgentChatRecordsResponseBody } from "./DescribePolarAgentChatRecordsResponseBody";
3
+ export declare class DescribePolarAgentChatRecordsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribePolarAgentChatRecordsResponseBody;
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.DescribePolarAgentChatRecordsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribePolarAgentChatRecordsResponseBody_1 = require("./DescribePolarAgentChatRecordsResponseBody");
40
+ class DescribePolarAgentChatRecordsResponse 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: DescribePolarAgentChatRecordsResponseBody_1.DescribePolarAgentChatRecordsResponseBody,
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.DescribePolarAgentChatRecordsResponse = DescribePolarAgentChatRecordsResponse;
69
+ //# sourceMappingURL=DescribePolarAgentChatRecordsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePolarAgentChatRecordsResponse.js","sourceRoot":"","sources":["../../src/models/DescribePolarAgentChatRecordsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2GAAwG;AAGxG,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAIpE,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,qFAAyC;SAChD,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,sFAiCC"}
@@ -0,0 +1,59 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePolarAgentChatRecordsResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * xxx
6
+ */
7
+ answer?: string;
8
+ /**
9
+ * @example
10
+ * 0
11
+ */
12
+ feedbackType?: string;
13
+ /**
14
+ * @example
15
+ * xxx
16
+ */
17
+ query?: string;
18
+ /**
19
+ * @remarks
20
+ * Query ID。
21
+ *
22
+ * @example
23
+ * sq202506261002hz8b24fe80067683
24
+ */
25
+ queryId?: string;
26
+ /**
27
+ * @example
28
+ * 44dcdf31-04cd-4a44-9bae-834dd6657e29
29
+ */
30
+ sessionId?: string;
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
+ }
42
+ export declare class DescribePolarAgentChatRecordsResponseBody extends $dara.Model {
43
+ data?: DescribePolarAgentChatRecordsResponseBodyData[];
44
+ /**
45
+ * @example
46
+ * A7E6A8FD-C50B-46B2-BA85-D8B8D3******
47
+ */
48
+ requestId?: string;
49
+ static names(): {
50
+ [key: string]: string;
51
+ };
52
+ static types(): {
53
+ [key: string]: any;
54
+ };
55
+ validate(): void;
56
+ constructor(map?: {
57
+ [key: string]: any;
58
+ });
59
+ }
@@ -0,0 +1,90 @@
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.DescribePolarAgentChatRecordsResponseBody = exports.DescribePolarAgentChatRecordsResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribePolarAgentChatRecordsResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ answer: 'Answer',
43
+ feedbackType: 'FeedbackType',
44
+ query: 'Query',
45
+ queryId: 'QueryId',
46
+ sessionId: 'SessionId',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ answer: 'string',
52
+ feedbackType: 'string',
53
+ query: 'string',
54
+ queryId: 'string',
55
+ sessionId: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribePolarAgentChatRecordsResponseBodyData = DescribePolarAgentChatRecordsResponseBodyData;
66
+ class DescribePolarAgentChatRecordsResponseBody extends $dara.Model {
67
+ static names() {
68
+ return {
69
+ data: 'Data',
70
+ requestId: 'RequestId',
71
+ };
72
+ }
73
+ static types() {
74
+ return {
75
+ data: { 'type': 'array', 'itemType': DescribePolarAgentChatRecordsResponseBodyData },
76
+ requestId: 'string',
77
+ };
78
+ }
79
+ validate() {
80
+ if (Array.isArray(this.data)) {
81
+ $dara.Model.validateArray(this.data);
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.DescribePolarAgentChatRecordsResponseBody = DescribePolarAgentChatRecordsResponseBody;
90
+ //# sourceMappingURL=DescribePolarAgentChatRecordsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePolarAgentChatRecordsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribePolarAgentChatRecordsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IA6B5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;YAC5B,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,QAAQ;YACtB,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,QAAQ;YACjB,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;AAxDD,sGAwDC;AAED,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAOxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6CAA6C,EAAE;YACpF,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,8FA+BC"}
@@ -0,0 +1,26 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePolarAgentSessionStatusRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 1e28530a0da2c4755f165b1b8b9a73c9
9
+ */
10
+ sessionId?: string;
11
+ /**
12
+ * @example
13
+ * polardb-console
14
+ */
15
+ source?: string;
16
+ static names(): {
17
+ [key: string]: string;
18
+ };
19
+ static types(): {
20
+ [key: string]: any;
21
+ };
22
+ validate(): void;
23
+ constructor(map?: {
24
+ [key: string]: any;
25
+ });
26
+ }
@@ -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.DescribePolarAgentSessionStatusRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribePolarAgentSessionStatusRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ sessionId: 'SessionId',
43
+ source: 'Source',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ sessionId: 'string',
49
+ source: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribePolarAgentSessionStatusRequest = DescribePolarAgentSessionStatusRequest;
60
+ //# sourceMappingURL=DescribePolarAgentSessionStatusRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePolarAgentSessionStatusRequest.js","sourceRoot":"","sources":["../../src/models/DescribePolarAgentSessionStatusRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAcrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,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;AAnCD,wFAmCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribePolarAgentSessionStatusResponseBody } from "./DescribePolarAgentSessionStatusResponseBody";
3
+ export declare class DescribePolarAgentSessionStatusResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribePolarAgentSessionStatusResponseBody;
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.DescribePolarAgentSessionStatusResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribePolarAgentSessionStatusResponseBody_1 = require("./DescribePolarAgentSessionStatusResponseBody");
40
+ class DescribePolarAgentSessionStatusResponse 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: DescribePolarAgentSessionStatusResponseBody_1.DescribePolarAgentSessionStatusResponseBody,
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.DescribePolarAgentSessionStatusResponse = DescribePolarAgentSessionStatusResponse;
69
+ //# sourceMappingURL=DescribePolarAgentSessionStatusResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePolarAgentSessionStatusResponse.js","sourceRoot":"","sources":["../../src/models/DescribePolarAgentSessionStatusResponse.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,23 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePolarAgentSessionStatusResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * CDB3258F-B5DE-43C4-8935-CBA0CA******
6
+ */
7
+ requestId?: string;
8
+ /**
9
+ * @example
10
+ * 1
11
+ */
12
+ status?: number;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
@@ -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.DescribePolarAgentSessionStatusResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribePolarAgentSessionStatusResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ status: 'Status',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ requestId: 'string',
49
+ status: 'number',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribePolarAgentSessionStatusResponseBody = DescribePolarAgentSessionStatusResponseBody;
60
+ //# sourceMappingURL=DescribePolarAgentSessionStatusResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePolarAgentSessionStatusResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribePolarAgentSessionStatusResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAW1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,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;AAhCD,kGAgCC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePolarAgentUserSessionsRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * polardb-console
6
+ */
7
+ source?: 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
+ }