@alicloud/websitebuild20250429 2.28.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.
Files changed (67) hide show
  1. package/dist/client.d.ts +78 -0
  2. package/dist/client.js +234 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateInspirationRequest.d.ts +73 -0
  5. package/dist/models/CreateInspirationRequest.js +70 -0
  6. package/dist/models/CreateInspirationRequest.js.map +1 -0
  7. package/dist/models/CreateInspirationResponse.d.ts +19 -0
  8. package/dist/models/CreateInspirationResponse.js +69 -0
  9. package/dist/models/CreateInspirationResponse.js.map +1 -0
  10. package/dist/models/CreateInspirationResponseBody.d.ts +117 -0
  11. package/dist/models/CreateInspirationResponseBody.js +103 -0
  12. package/dist/models/CreateInspirationResponseBody.js.map +1 -0
  13. package/dist/models/GetAppRecommendedCommoditiesRequest.d.ts +1 -1
  14. package/dist/models/GetAppRecommendedCommoditiesResponseBody.d.ts +4 -0
  15. package/dist/models/GetAppRecommendedCommoditiesResponseBody.js +8 -0
  16. package/dist/models/GetAppRecommendedCommoditiesResponseBody.js.map +1 -1
  17. package/dist/models/GrantPromotionOfferForPartnerRequest.d.ts +53 -0
  18. package/dist/models/GrantPromotionOfferForPartnerRequest.js +66 -0
  19. package/dist/models/GrantPromotionOfferForPartnerRequest.js.map +1 -0
  20. package/dist/models/GrantPromotionOfferForPartnerResponse.d.ts +19 -0
  21. package/dist/models/GrantPromotionOfferForPartnerResponse.js +69 -0
  22. package/dist/models/GrantPromotionOfferForPartnerResponse.js.map +1 -0
  23. package/dist/models/GrantPromotionOfferForPartnerResponseBody.d.ts +139 -0
  24. package/dist/models/GrantPromotionOfferForPartnerResponseBody.js +109 -0
  25. package/dist/models/GrantPromotionOfferForPartnerResponseBody.js.map +1 -0
  26. package/dist/models/ListPromotionActivitiesForPartnerRequest.d.ts +47 -0
  27. package/dist/models/ListPromotionActivitiesForPartnerRequest.js +64 -0
  28. package/dist/models/ListPromotionActivitiesForPartnerRequest.js.map +1 -0
  29. package/dist/models/ListPromotionActivitiesForPartnerResponse.d.ts +19 -0
  30. package/dist/models/ListPromotionActivitiesForPartnerResponse.js +69 -0
  31. package/dist/models/ListPromotionActivitiesForPartnerResponse.js.map +1 -0
  32. package/dist/models/ListPromotionActivitiesForPartnerResponseBody.d.ts +294 -0
  33. package/dist/models/ListPromotionActivitiesForPartnerResponseBody.js +165 -0
  34. package/dist/models/ListPromotionActivitiesForPartnerResponseBody.js.map +1 -0
  35. package/dist/models/ListPromotionOfferRecordsForPartnerRequest.d.ts +79 -0
  36. package/dist/models/ListPromotionOfferRecordsForPartnerRequest.js +72 -0
  37. package/dist/models/ListPromotionOfferRecordsForPartnerRequest.js.map +1 -0
  38. package/dist/models/ListPromotionOfferRecordsForPartnerResponse.d.ts +19 -0
  39. package/dist/models/ListPromotionOfferRecordsForPartnerResponse.js +69 -0
  40. package/dist/models/ListPromotionOfferRecordsForPartnerResponse.js.map +1 -0
  41. package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.d.ts +246 -0
  42. package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.js +153 -0
  43. package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.js.map +1 -0
  44. package/dist/models/PromotionActivity.d.ts +31 -0
  45. package/dist/models/PromotionActivity.js +92 -0
  46. package/dist/models/PromotionActivity.js.map +1 -0
  47. package/dist/models/model.d.ts +19 -0
  48. package/dist/models/model.js +51 -13
  49. package/dist/models/model.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/client.ts +266 -0
  52. package/src/models/CreateInspirationRequest.ts +98 -0
  53. package/src/models/CreateInspirationResponse.ts +40 -0
  54. package/src/models/CreateInspirationResponseBody.ts +166 -0
  55. package/src/models/GetAppRecommendedCommoditiesRequest.ts +1 -1
  56. package/src/models/GetAppRecommendedCommoditiesResponseBody.ts +12 -0
  57. package/src/models/GrantPromotionOfferForPartnerRequest.ts +74 -0
  58. package/src/models/GrantPromotionOfferForPartnerResponse.ts +40 -0
  59. package/src/models/GrantPromotionOfferForPartnerResponseBody.ts +194 -0
  60. package/src/models/ListPromotionActivitiesForPartnerRequest.ts +66 -0
  61. package/src/models/ListPromotionActivitiesForPartnerResponse.ts +40 -0
  62. package/src/models/ListPromotionActivitiesForPartnerResponseBody.ts +396 -0
  63. package/src/models/ListPromotionOfferRecordsForPartnerRequest.ts +106 -0
  64. package/src/models/ListPromotionOfferRecordsForPartnerResponse.ts +40 -0
  65. package/src/models/ListPromotionOfferRecordsForPartnerResponseBody.ts +336 -0
  66. package/src/models/PromotionActivity.ts +78 -0
  67. package/src/models/model.ts +19 -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"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetAppRecommendedCommoditiesRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business ID of the application instance. This parameter is required in scenario 1 and is used to filter by instance version.
5
+ * The business ID of the application instance. This parameter is required for scenario 1 and is used to filter by instance version.
6
6
  *
7
7
  * @example
8
8
  * WD20250703155602000001
@@ -1,5 +1,6 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetAppRecommendedCommoditiesResponseBodyModuleCommodities extends $dara.Model {
3
+ actionType?: string;
3
4
  /**
4
5
  * @remarks
5
6
  * The commodity code. This code applies to both resource plans and promotional commodities.
@@ -8,6 +9,7 @@ export declare class GetAppRecommendedCommoditiesResponseBodyModuleCommodities e
8
9
  * rds
9
10
  */
10
11
  commodityCode?: string;
12
+ description?: string;
11
13
  /**
12
14
  * @remarks
13
15
  * The extension field, such as unsupportedReason.
@@ -41,6 +43,7 @@ export declare class GetAppRecommendedCommoditiesResponseBodyModuleCommodities e
41
43
  * 12345
42
44
  */
43
45
  promotionCommodityId?: string;
46
+ recommendType?: string;
44
47
  /**
45
48
  * @remarks
46
49
  * The redirect URL. This parameter is returned when a redirect is required, such as during an upgrade.
@@ -57,6 +60,7 @@ export declare class GetAppRecommendedCommoditiesResponseBodyModuleCommodities e
57
60
  * Normal
58
61
  */
59
62
  status?: string;
63
+ title?: string;
60
64
  static names(): {
61
65
  [key: string]: string;
62
66
  };
@@ -39,24 +39,32 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class GetAppRecommendedCommoditiesResponseBodyModuleCommodities extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ actionType: 'ActionType',
42
43
  commodityCode: 'CommodityCode',
44
+ description: 'Description',
43
45
  extend: 'Extend',
44
46
  orderType: 'OrderType',
45
47
  priority: 'Priority',
46
48
  promotionCommodityId: 'PromotionCommodityId',
49
+ recommendType: 'RecommendType',
47
50
  redirectUrl: 'RedirectUrl',
48
51
  status: 'Status',
52
+ title: 'Title',
49
53
  };
50
54
  }
51
55
  static types() {
52
56
  return {
57
+ actionType: 'string',
53
58
  commodityCode: 'string',
59
+ description: 'string',
54
60
  extend: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
55
61
  orderType: 'string',
56
62
  priority: 'number',
57
63
  promotionCommodityId: 'string',
64
+ recommendType: 'string',
58
65
  redirectUrl: 'string',
59
66
  status: 'string',
67
+ title: 'string',
60
68
  };
61
69
  }
62
70
  validate() {
@@ -1 +1 @@
1
- {"version":3,"file":"GetAppRecommendedCommoditiesResponseBody.js","sourceRoot":"","sources":["../../src/models/GetAppRecommendedCommoditiesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAQ,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;AAvID,4FAuIC"}
1
+ {"version":3,"file":"GetAppRecommendedCommoditiesResponseBody.js","sourceRoot":"","sources":["../../src/models/GetAppRecommendedCommoditiesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yDAA0D,SAAQ,KAAK,CAAC,KAAK;IA4DxF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,aAAa,EAAE,eAAe;YAC9B,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,aAAa,EAAE,eAAe;YAC9B,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACrE,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IA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B,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,8CAA8C;YACtD,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;AAvID,4FAuIC"}
@@ -0,0 +1,53 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GrantPromotionOfferForPartnerRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The activity ID.
6
+ *
7
+ * @example
8
+ * 232
9
+ */
10
+ activityId?: string;
11
+ /**
12
+ * @remarks
13
+ * The user ID.
14
+ *
15
+ * @example
16
+ * 123456
17
+ */
18
+ belongId?: string;
19
+ /**
20
+ * @remarks
21
+ * The channel.
22
+ *
23
+ * @example
24
+ * WECHAT
25
+ */
26
+ channel?: string;
27
+ /**
28
+ * @remarks
29
+ * The employee code.
30
+ *
31
+ * @example
32
+ * WB02409424
33
+ */
34
+ employeeCode?: string;
35
+ /**
36
+ * @remarks
37
+ * The operation remarks (audit information).
38
+ *
39
+ * @example
40
+ * hz-maven
41
+ */
42
+ remark?: string;
43
+ static names(): {
44
+ [key: string]: string;
45
+ };
46
+ static types(): {
47
+ [key: string]: any;
48
+ };
49
+ validate(): void;
50
+ constructor(map?: {
51
+ [key: string]: any;
52
+ });
53
+ }
@@ -0,0 +1,66 @@
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.GrantPromotionOfferForPartnerRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GrantPromotionOfferForPartnerRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ activityId: 'ActivityId',
43
+ belongId: 'BelongId',
44
+ channel: 'Channel',
45
+ employeeCode: 'EmployeeCode',
46
+ remark: 'Remark',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ activityId: 'string',
52
+ belongId: 'string',
53
+ channel: 'string',
54
+ employeeCode: 'string',
55
+ remark: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.GrantPromotionOfferForPartnerRequest = GrantPromotionOfferForPartnerRequest;
66
+ //# sourceMappingURL=GrantPromotionOfferForPartnerRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GrantPromotionOfferForPartnerRequest.js","sourceRoot":"","sources":["../../src/models/GrantPromotionOfferForPartnerRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAyCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,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;AApED,oFAoEC"}