@alicloud/websitebuild20250429 2.29.0 → 2.30.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.
- package/dist/client.d.ts +15 -0
- package/dist/client.js +57 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateInspirationRequest.d.ts +73 -0
- package/dist/models/CreateInspirationRequest.js +70 -0
- package/dist/models/CreateInspirationRequest.js.map +1 -0
- package/dist/models/CreateInspirationResponse.d.ts +19 -0
- package/dist/models/CreateInspirationResponse.js +69 -0
- package/dist/models/CreateInspirationResponse.js.map +1 -0
- package/dist/models/CreateInspirationResponseBody.d.ts +117 -0
- package/dist/models/CreateInspirationResponseBody.js +103 -0
- package/dist/models/CreateInspirationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +21 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +66 -0
- package/src/models/CreateInspirationRequest.ts +98 -0
- package/src/models/CreateInspirationResponse.ts +40 -0
- package/src/models/CreateInspirationResponseBody.ts +166 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateInspirationRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The resource plan specification.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 1000
|
|
9
|
+
*/
|
|
10
|
+
amountspec?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The idempotency token.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 111
|
|
17
|
+
*/
|
|
18
|
+
clientToken?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The subscription duration.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 1
|
|
25
|
+
*/
|
|
26
|
+
duration?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The extended information in JSON format.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* {}
|
|
33
|
+
*/
|
|
34
|
+
extend?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The payment type.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* AUTO_PAY
|
|
41
|
+
*/
|
|
42
|
+
paymentType?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The unit of the subscription duration. Valid values:
|
|
46
|
+
* - Year: year.
|
|
47
|
+
* - Month: month.
|
|
48
|
+
* - Day: day.
|
|
49
|
+
* - Hour: hour.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* Month
|
|
53
|
+
*/
|
|
54
|
+
pricingCycle?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The number of instances to purchase.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* 1
|
|
61
|
+
*/
|
|
62
|
+
quantity?: number;
|
|
63
|
+
static names(): {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
static types(): {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
validate(): void;
|
|
70
|
+
constructor(map?: {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
});
|
|
73
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.CreateInspirationRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateInspirationRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
amountspec: 'Amountspec',
|
|
43
|
+
clientToken: 'ClientToken',
|
|
44
|
+
duration: 'Duration',
|
|
45
|
+
extend: 'Extend',
|
|
46
|
+
paymentType: 'PaymentType',
|
|
47
|
+
pricingCycle: 'PricingCycle',
|
|
48
|
+
quantity: 'Quantity',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static types() {
|
|
52
|
+
return {
|
|
53
|
+
amountspec: 'string',
|
|
54
|
+
clientToken: 'string',
|
|
55
|
+
duration: 'number',
|
|
56
|
+
extend: 'string',
|
|
57
|
+
paymentType: 'string',
|
|
58
|
+
pricingCycle: 'string',
|
|
59
|
+
quantity: 'number',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
constructor(map) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.CreateInspirationRequest = CreateInspirationRequest;
|
|
70
|
+
//# sourceMappingURL=CreateInspirationRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateInspirationRequest.js","sourceRoot":"","sources":["../../src/models/CreateInspirationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IA6DvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;SACnB,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;AA5FD,4DA4FC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { CreateInspirationResponseBody } from "./CreateInspirationResponseBody";
|
|
3
|
+
export declare class CreateInspirationResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: CreateInspirationResponseBody;
|
|
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.CreateInspirationResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const CreateInspirationResponseBody_1 = require("./CreateInspirationResponseBody");
|
|
40
|
+
class CreateInspirationResponse 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: CreateInspirationResponseBody_1.CreateInspirationResponseBody,
|
|
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.CreateInspirationResponse = CreateInspirationResponse;
|
|
69
|
+
//# sourceMappingURL=CreateInspirationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateInspirationResponse.js","sourceRoot":"","sources":["../../src/models/CreateInspirationResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAIxD,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,6DAA6B;SACpC,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,8DAiCC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateInspirationResponseBodyModule extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The order ID.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 250822465990301
|
|
9
|
+
*/
|
|
10
|
+
orderId?: string;
|
|
11
|
+
static names(): {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
static types(): {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
};
|
|
17
|
+
validate(): void;
|
|
18
|
+
constructor(map?: {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export declare class CreateInspirationResponseBody extends $dara.Model {
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The access denied details.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* {}
|
|
29
|
+
*/
|
|
30
|
+
accessDeniedDetail?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* Indicates whether retry is allowed. Valid values:
|
|
34
|
+
* - false: Retry is not allowed.
|
|
35
|
+
* - true: Retry is allowed.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* False
|
|
39
|
+
*/
|
|
40
|
+
allowRetry?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The application name.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* or
|
|
47
|
+
*/
|
|
48
|
+
appName?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The dynamic error code.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ERROR-oo1
|
|
55
|
+
*/
|
|
56
|
+
dynamicCode?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The dynamic message.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* SYSTEM_ERROR
|
|
63
|
+
*/
|
|
64
|
+
dynamicMessage?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The error parameters.
|
|
68
|
+
*/
|
|
69
|
+
errorArgs?: any[];
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The response data.
|
|
73
|
+
*/
|
|
74
|
+
module?: CreateInspirationResponseBodyModule;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* Id of the request
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
81
|
+
*/
|
|
82
|
+
requestId?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The error code.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* SYSTEM.EROR
|
|
89
|
+
*/
|
|
90
|
+
rootErrorCode?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The error message.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* 系统异常
|
|
97
|
+
*/
|
|
98
|
+
rootErrorMsg?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The reserved parameter.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* True
|
|
105
|
+
*/
|
|
106
|
+
synchro?: boolean;
|
|
107
|
+
static names(): {
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
};
|
|
110
|
+
static types(): {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
};
|
|
113
|
+
validate(): void;
|
|
114
|
+
constructor(map?: {
|
|
115
|
+
[key: string]: any;
|
|
116
|
+
});
|
|
117
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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.CreateInspirationResponseBody = exports.CreateInspirationResponseBodyModule = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateInspirationResponseBodyModule extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
orderId: 'OrderId',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static types() {
|
|
46
|
+
return {
|
|
47
|
+
orderId: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
constructor(map) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.CreateInspirationResponseBodyModule = CreateInspirationResponseBodyModule;
|
|
58
|
+
class CreateInspirationResponseBody extends $dara.Model {
|
|
59
|
+
static names() {
|
|
60
|
+
return {
|
|
61
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
62
|
+
allowRetry: 'AllowRetry',
|
|
63
|
+
appName: 'AppName',
|
|
64
|
+
dynamicCode: 'DynamicCode',
|
|
65
|
+
dynamicMessage: 'DynamicMessage',
|
|
66
|
+
errorArgs: 'ErrorArgs',
|
|
67
|
+
module: 'Module',
|
|
68
|
+
requestId: 'RequestId',
|
|
69
|
+
rootErrorCode: 'RootErrorCode',
|
|
70
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
71
|
+
synchro: 'Synchro',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
static types() {
|
|
75
|
+
return {
|
|
76
|
+
accessDeniedDetail: 'string',
|
|
77
|
+
allowRetry: 'boolean',
|
|
78
|
+
appName: 'string',
|
|
79
|
+
dynamicCode: 'string',
|
|
80
|
+
dynamicMessage: 'string',
|
|
81
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
82
|
+
module: CreateInspirationResponseBodyModule,
|
|
83
|
+
requestId: 'string',
|
|
84
|
+
rootErrorCode: 'string',
|
|
85
|
+
rootErrorMsg: 'string',
|
|
86
|
+
synchro: 'boolean',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
validate() {
|
|
90
|
+
if (Array.isArray(this.errorArgs)) {
|
|
91
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
92
|
+
}
|
|
93
|
+
if (this.module && typeof this.module.validate === 'function') {
|
|
94
|
+
this.module.validate();
|
|
95
|
+
}
|
|
96
|
+
super.validate();
|
|
97
|
+
}
|
|
98
|
+
constructor(map) {
|
|
99
|
+
super(map);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.CreateInspirationResponseBody = CreateInspirationResponseBody;
|
|
103
|
+
//# sourceMappingURL=CreateInspirationResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateInspirationResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateInspirationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IASlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;SAClB,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;AA5BD,kFA4BC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAqF5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,QAAQ;YAC5B,UAAU,EAAE,SAAS;YACrB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,cAAc,EAAE,QAAQ;YACxB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE;YACjD,MAAM,EAAE,mCAAmC;YAC3C,SAAS,EAAE,QAAQ;YACnB,aAAa,EAAE,QAAQ;YACvB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,IAAG,IAAI,CAAC,MAAM,IAAI,OAAQ,IAAI,CAAC,MAAc,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrE,IAAI,CAAC,MAAc,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlID,sEAkIC"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export { CreateAppInstanceTicketResponseBodyModule } from './CreateAppInstanceTi
|
|
|
31
31
|
export { CreateAppLlmApiKeyForPartnerResponseBodyModule } from './CreateAppLlmApiKeyForPartnerResponseBody';
|
|
32
32
|
export { CreateAppNotificationSceneResponseBodyModule } from './CreateAppNotificationSceneResponseBody';
|
|
33
33
|
export { CreateAppTokenServiceResponseBodyModule } from './CreateAppTokenServiceResponseBody';
|
|
34
|
+
export { CreateInspirationResponseBodyModule } from './CreateInspirationResponseBody';
|
|
34
35
|
export { CreateMaterialDirectoryResponseBodyModule } from './CreateMaterialDirectoryResponseBody';
|
|
35
36
|
export { DeleteAppDomainCertificateResponseBodyModule } from './DeleteAppDomainCertificateResponseBody';
|
|
36
37
|
export { DeleteAppDomainRedirectResponseBodyModule } from './DeleteAppDomainRedirectResponseBody';
|
|
@@ -255,6 +256,9 @@ export { CreateAppNotificationSceneResponse } from './CreateAppNotificationScene
|
|
|
255
256
|
export { CreateAppTokenServiceRequest } from './CreateAppTokenServiceRequest';
|
|
256
257
|
export { CreateAppTokenServiceResponseBody } from './CreateAppTokenServiceResponseBody';
|
|
257
258
|
export { CreateAppTokenServiceResponse } from './CreateAppTokenServiceResponse';
|
|
259
|
+
export { CreateInspirationRequest } from './CreateInspirationRequest';
|
|
260
|
+
export { CreateInspirationResponseBody } from './CreateInspirationResponseBody';
|
|
261
|
+
export { CreateInspirationResponse } from './CreateInspirationResponse';
|
|
258
262
|
export { CreateLogoTaskRequest } from './CreateLogoTaskRequest';
|
|
259
263
|
export { CreateLogoTaskResponseBody } from './CreateLogoTaskResponseBody';
|
|
260
264
|
export { CreateLogoTaskResponse } from './CreateLogoTaskResponse';
|