@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,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { GrantPromotionOfferForPartnerResponseBody } from "./GrantPromotionOfferForPartnerResponseBody";
3
+ export declare class GrantPromotionOfferForPartnerResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: GrantPromotionOfferForPartnerResponseBody;
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.GrantPromotionOfferForPartnerResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const GrantPromotionOfferForPartnerResponseBody_1 = require("./GrantPromotionOfferForPartnerResponseBody");
40
+ class GrantPromotionOfferForPartnerResponse 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: GrantPromotionOfferForPartnerResponseBody_1.GrantPromotionOfferForPartnerResponseBody,
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.GrantPromotionOfferForPartnerResponse = GrantPromotionOfferForPartnerResponse;
69
+ //# sourceMappingURL=GrantPromotionOfferForPartnerResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GrantPromotionOfferForPartnerResponse.js","sourceRoot":"","sources":["../../src/models/GrantPromotionOfferForPartnerResponse.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,139 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GrantPromotionOfferForPartnerResponseBodyModule extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The message.
6
+ *
7
+ * @example
8
+ * 系统异常
9
+ */
10
+ message?: string;
11
+ /**
12
+ * @remarks
13
+ * The benefit summary.
14
+ *
15
+ * @example
16
+ * {}
17
+ */
18
+ offerSummary?: string;
19
+ /**
20
+ * @remarks
21
+ * The distribution record ID.
22
+ *
23
+ * @example
24
+ * 5094
25
+ */
26
+ recordId?: string;
27
+ /**
28
+ * @remarks
29
+ * Indicates whether the operation is successful.
30
+ *
31
+ * @example
32
+ * True
33
+ */
34
+ success?: boolean;
35
+ static names(): {
36
+ [key: string]: string;
37
+ };
38
+ static types(): {
39
+ [key: string]: any;
40
+ };
41
+ validate(): void;
42
+ constructor(map?: {
43
+ [key: string]: any;
44
+ });
45
+ }
46
+ export declare class GrantPromotionOfferForPartnerResponseBody extends $dara.Model {
47
+ /**
48
+ * @remarks
49
+ * The details of the permission verification failure.
50
+ *
51
+ * @example
52
+ * {}
53
+ */
54
+ accessDeniedDetail?: string;
55
+ /**
56
+ * @remarks
57
+ * Indicates whether retry is allowed.
58
+ *
59
+ * @example
60
+ * False
61
+ */
62
+ allowRetry?: boolean;
63
+ /**
64
+ * @remarks
65
+ * The application name. The name can contain digits, letters, and hyphens (-). It must start with a letter and cannot end with a hyphen (-). The name cannot exceed 36 characters in length.
66
+ *
67
+ * @example
68
+ * or
69
+ */
70
+ appName?: string;
71
+ /**
72
+ * @remarks
73
+ * The dynamic code. This parameter is not in use. Ignore it.
74
+ *
75
+ * @example
76
+ * ERROR-oo1
77
+ */
78
+ dynamicCode?: string;
79
+ /**
80
+ * @remarks
81
+ * The dynamic error message.
82
+ *
83
+ * @example
84
+ * SYSTEM_ERROR
85
+ */
86
+ dynamicMessage?: string;
87
+ /**
88
+ * @remarks
89
+ * The returned error parameters.
90
+ */
91
+ errorArgs?: any[];
92
+ /**
93
+ * @remarks
94
+ * The response data.
95
+ */
96
+ module?: GrantPromotionOfferForPartnerResponseBodyModule;
97
+ /**
98
+ * @remarks
99
+ * Id of the request
100
+ *
101
+ * @example
102
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
103
+ */
104
+ requestId?: string;
105
+ /**
106
+ * @remarks
107
+ * The error code.
108
+ *
109
+ * @example
110
+ * SYSTEM.ERROR
111
+ */
112
+ rootErrorCode?: string;
113
+ /**
114
+ * @remarks
115
+ * The exception message.
116
+ *
117
+ * @example
118
+ * 系统异常
119
+ */
120
+ rootErrorMsg?: string;
121
+ /**
122
+ * @remarks
123
+ * Indicates whether the request is processed synchronously.
124
+ *
125
+ * @example
126
+ * True
127
+ */
128
+ synchro?: boolean;
129
+ static names(): {
130
+ [key: string]: string;
131
+ };
132
+ static types(): {
133
+ [key: string]: any;
134
+ };
135
+ validate(): void;
136
+ constructor(map?: {
137
+ [key: string]: any;
138
+ });
139
+ }
@@ -0,0 +1,109 @@
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.GrantPromotionOfferForPartnerResponseBody = exports.GrantPromotionOfferForPartnerResponseBodyModule = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GrantPromotionOfferForPartnerResponseBodyModule extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ message: 'Message',
43
+ offerSummary: 'OfferSummary',
44
+ recordId: 'RecordId',
45
+ success: 'Success',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ message: 'string',
51
+ offerSummary: 'string',
52
+ recordId: 'string',
53
+ success: 'boolean',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.GrantPromotionOfferForPartnerResponseBodyModule = GrantPromotionOfferForPartnerResponseBodyModule;
64
+ class GrantPromotionOfferForPartnerResponseBody extends $dara.Model {
65
+ static names() {
66
+ return {
67
+ accessDeniedDetail: 'AccessDeniedDetail',
68
+ allowRetry: 'AllowRetry',
69
+ appName: 'AppName',
70
+ dynamicCode: 'DynamicCode',
71
+ dynamicMessage: 'DynamicMessage',
72
+ errorArgs: 'ErrorArgs',
73
+ module: 'Module',
74
+ requestId: 'RequestId',
75
+ rootErrorCode: 'RootErrorCode',
76
+ rootErrorMsg: 'RootErrorMsg',
77
+ synchro: 'Synchro',
78
+ };
79
+ }
80
+ static types() {
81
+ return {
82
+ accessDeniedDetail: 'string',
83
+ allowRetry: 'boolean',
84
+ appName: 'string',
85
+ dynamicCode: 'string',
86
+ dynamicMessage: 'string',
87
+ errorArgs: { 'type': 'array', 'itemType': 'any' },
88
+ module: GrantPromotionOfferForPartnerResponseBodyModule,
89
+ requestId: 'string',
90
+ rootErrorCode: 'string',
91
+ rootErrorMsg: 'string',
92
+ synchro: 'boolean',
93
+ };
94
+ }
95
+ validate() {
96
+ if (Array.isArray(this.errorArgs)) {
97
+ $dara.Model.validateArray(this.errorArgs);
98
+ }
99
+ if (this.module && typeof this.module.validate === 'function') {
100
+ this.module.validate();
101
+ }
102
+ super.validate();
103
+ }
104
+ constructor(map) {
105
+ super(map);
106
+ }
107
+ }
108
+ exports.GrantPromotionOfferForPartnerResponseBody = GrantPromotionOfferForPartnerResponseBody;
109
+ //# sourceMappingURL=GrantPromotionOfferForPartnerResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GrantPromotionOfferForPartnerResponseBody.js","sourceRoot":"","sources":["../../src/models/GrantPromotionOfferForPartnerResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+CAAgD,SAAQ,KAAK,CAAC,KAAK;IAiC9E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,SAAS;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;AA1DD,0GA0DC;AAED,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAmFxE,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,+CAA+C;YACvD,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;AAhID,8FAgIC"}
@@ -0,0 +1,47 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListPromotionActivitiesForPartnerRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The channel.
6
+ *
7
+ * @example
8
+ * WECHAT
9
+ */
10
+ channel?: string;
11
+ /**
12
+ * @remarks
13
+ * The employee code.
14
+ *
15
+ * @example
16
+ * 1234
17
+ */
18
+ employeeCode?: string;
19
+ /**
20
+ * @remarks
21
+ * The number of entries per query.
22
+ *
23
+ * Valid values: 10 to 100. Default value: 20.
24
+ *
25
+ * @example
26
+ * 10
27
+ */
28
+ maxResults?: number;
29
+ /**
30
+ * @remarks
31
+ * The token for the next query. This parameter is empty if no more results exist.
32
+ *
33
+ * @example
34
+ * 0l45bkwM022Dt+rOvPi/oQ==
35
+ */
36
+ nextToken?: string;
37
+ static names(): {
38
+ [key: string]: string;
39
+ };
40
+ static types(): {
41
+ [key: string]: any;
42
+ };
43
+ validate(): void;
44
+ constructor(map?: {
45
+ [key: string]: any;
46
+ });
47
+ }
@@ -0,0 +1,64 @@
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.ListPromotionActivitiesForPartnerRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListPromotionActivitiesForPartnerRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ channel: 'Channel',
43
+ employeeCode: 'EmployeeCode',
44
+ maxResults: 'MaxResults',
45
+ nextToken: 'NextToken',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ channel: 'string',
51
+ employeeCode: 'string',
52
+ maxResults: 'number',
53
+ nextToken: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.ListPromotionActivitiesForPartnerRequest = ListPromotionActivitiesForPartnerRequest;
64
+ //# sourceMappingURL=ListPromotionActivitiesForPartnerRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListPromotionActivitiesForPartnerRequest.js","sourceRoot":"","sources":["../../src/models/ListPromotionActivitiesForPartnerRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAmCvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,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;AA5DD,4FA4DC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListPromotionActivitiesForPartnerResponseBody } from "./ListPromotionActivitiesForPartnerResponseBody";
3
+ export declare class ListPromotionActivitiesForPartnerResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListPromotionActivitiesForPartnerResponseBody;
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.ListPromotionActivitiesForPartnerResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListPromotionActivitiesForPartnerResponseBody_1 = require("./ListPromotionActivitiesForPartnerResponseBody");
40
+ class ListPromotionActivitiesForPartnerResponse 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: ListPromotionActivitiesForPartnerResponseBody_1.ListPromotionActivitiesForPartnerResponseBody,
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.ListPromotionActivitiesForPartnerResponse = ListPromotionActivitiesForPartnerResponse;
69
+ //# sourceMappingURL=ListPromotionActivitiesForPartnerResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListPromotionActivitiesForPartnerResponse.js","sourceRoot":"","sources":["../../src/models/ListPromotionActivitiesForPartnerResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mHAAgH;AAGhH,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAIxE,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,6FAA6C;SACpD,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,8FAiCC"}