@d19n/youfibre-odin-sdk 1.0.335 → 1.0.336-beta.1

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 (34) hide show
  1. package/README.md +29 -29
  2. package/dist/actions-v2/CreateTelevisionProductActionDto.d.ts +353 -0
  3. package/dist/actions-v2/CreateTelevisionProductActionDto.js +59 -0
  4. package/dist/actions-v2/MoveCashbackRewardToAwardedDto.d.ts +2 -2
  5. package/dist/actions-v2/MoveCashbackRewardToAwardedDto.js +3 -3
  6. package/dist/actions-v2/UpdateTelevisionProductActionDto.d.ts +357 -0
  7. package/dist/actions-v2/UpdateTelevisionProductActionDto.js +61 -0
  8. package/dist/api-sdk-v2/AccountCreditApi.d.ts +45 -0
  9. package/dist/api-sdk-v2/AccountCreditApi.js +151 -0
  10. package/dist/db-sdk-v2/AccountCreditDb.d.ts +117 -0
  11. package/dist/db-sdk-v2/AccountCreditDb.js +200 -0
  12. package/dist/entities-v2/AccountCredit.d.ts +65 -0
  13. package/dist/entities-v2/AccountCredit.js +63 -0
  14. package/dist/entities-v2/Config.d.ts +8 -8
  15. package/dist/entities-v2/Config.js +4 -4
  16. package/dist/entities-v2/ConversationFeedback.d.ts +15 -1
  17. package/dist/entities-v2/ConversationFeedback.js +4 -0
  18. package/dist/entities-v2/PgPaymentMethod.d.ts +0 -8
  19. package/dist/entities-v2/PgPaymentMethod.js +0 -2
  20. package/dist/entities-v2/Product.d.ts +323 -1
  21. package/dist/entities-v2/Product.js +12 -2
  22. package/dist/entities-v2/Referral.d.ts +1 -0
  23. package/dist/entities-v2/Referral.js +1 -0
  24. package/dist/entities-v2/Reward.d.ts +1 -0
  25. package/dist/entities-v2/Reward.js +1 -0
  26. package/dist/records-v2/OrderRecord.d.ts +0 -25
  27. package/dist/records-v2/OrderRecord.js +0 -29
  28. package/dist/records-v2/ProductRecord.d.ts +75 -3
  29. package/dist/records-v2/ProductRecord.js +82 -1
  30. package/dist/records-v2/RewardRecord.d.ts +1 -1
  31. package/dist/records-v2/RewardRecord.js +2 -2
  32. package/package.json +1 -1
  33. package/dist/actions-v2/TestDeleteThisDto.d.ts +0 -112
  34. package/dist/actions-v2/TestDeleteThisDto.js +0 -77
package/README.md CHANGED
@@ -124,7 +124,7 @@ await workOrder.completeWorkOrder({ ... });
124
124
 
125
125
  ## Entities
126
126
 
127
- This SDK includes **161** entities across **12** modules.
127
+ This SDK includes **162** entities across **12** modules.
128
128
 
129
129
  ### CrmModule
130
130
 
@@ -152,6 +152,30 @@ This SDK includes **161** entities across **12** modules.
152
152
  | **TelesalesDashboard** | TelesalesDashboard Entity Definition | DEFAULT |
153
153
  | **Visit** | Visit Entity Definition | DEFAULT |
154
154
 
155
+ ### BillingModule
156
+
157
+ | Entity | Description | Types |
158
+ |--------|-------------|-------|
159
+ | **AccountCredit** | AccountCredit Entity Definition | DEFAULT |
160
+ | **BillingRequest** | BillingRequest Entity Definition | MANDATE, PAYMENT |
161
+ | **Commission** | Commission Entity Definition | DEFAULT |
162
+ | **CreditNote** | CreditNote Entity Definition | DEFAULT |
163
+ | **Invoice** | Invoice Entity Definition | ETF |
164
+ | **InvoiceItem** | InvoiceItem Entity Definition | DEFAULT |
165
+ | **Payment** | Payment Entity Definition | DEFAULT |
166
+ | **PaymentMethod** | PaymentMethod Entity Definition | DEFAULT |
167
+ | **PaymentMethodRefund** | PaymentMethodRefund Entity Definition | DEFAULT |
168
+ | **PgAccountValidation** | PgAccountValidation Entity Definition | DEFAULT |
169
+ | **PgContact** | PgContact Entity Definition | DEFAULT |
170
+ | **PgDirectDebitFile** | PgDirectDebitFile Entity Definition | RESPONSE, SUBMISSION |
171
+ | **PgDispute** | PgDispute Entity Definition | DEFAULT |
172
+ | **PgFileAllocation** | PgFileAllocation Entity Definition | REPORT, SUBMISSION |
173
+ | **PgPaymentMethod** | PgPaymentMethod Entity Definition | DEFAULT |
174
+ | **PgSortCodeSubstitution** | PgSortCodeSubstitution Entity Definition | DEFAULT |
175
+ | **PgTransaction** | PgTransaction Entity Definition | CHARGE, REFUND |
176
+ | **PgVocalink** | PgVocalink Entity Definition | DEFAULT |
177
+ | **Transaction** | Transaction Entity Definition | DEFAULT |
178
+
155
179
  ### SchemaModule
156
180
 
157
181
  | Entity | Description | Types |
@@ -183,29 +207,6 @@ This SDK includes **161** entities across **12** modules.
183
207
  | **ReturnOrder** | ReturnOrder Entity Definition | DEFAULT |
184
208
  | **SplitOrder** | SplitOrder Entity Definition | DEFAULT |
185
209
 
186
- ### BillingModule
187
-
188
- | Entity | Description | Types |
189
- |--------|-------------|-------|
190
- | **BillingRequest** | BillingRequest Entity Definition | MANDATE, PAYMENT |
191
- | **Commission** | Commission Entity Definition | DEFAULT |
192
- | **CreditNote** | CreditNote Entity Definition | DEFAULT |
193
- | **Invoice** | Invoice Entity Definition | ETF |
194
- | **InvoiceItem** | InvoiceItem Entity Definition | DEFAULT |
195
- | **Payment** | Payment Entity Definition | DEFAULT |
196
- | **PaymentMethod** | PaymentMethod Entity Definition | DEFAULT |
197
- | **PaymentMethodRefund** | PaymentMethodRefund Entity Definition | DEFAULT |
198
- | **PgAccountValidation** | PgAccountValidation Entity Definition | DEFAULT |
199
- | **PgContact** | PgContact Entity Definition | DEFAULT |
200
- | **PgDirectDebitFile** | PgDirectDebitFile Entity Definition | RESPONSE, SUBMISSION |
201
- | **PgDispute** | PgDispute Entity Definition | DEFAULT |
202
- | **PgFileAllocation** | PgFileAllocation Entity Definition | REPORT, SUBMISSION |
203
- | **PgPaymentMethod** | PgPaymentMethod Entity Definition | DEFAULT |
204
- | **PgSortCodeSubstitution** | PgSortCodeSubstitution Entity Definition | DEFAULT |
205
- | **PgTransaction** | PgTransaction Entity Definition | CHARGE, REFUND |
206
- | **PgVocalink** | PgVocalink Entity Definition | DEFAULT |
207
- | **Transaction** | Transaction Entity Definition | DEFAULT |
208
-
209
210
  ### FieldServiceModule
210
211
 
211
212
  | Entity | Description | Types |
@@ -349,7 +350,7 @@ This SDK includes **161** entities across **12** modules.
349
350
 
350
351
  ## Actions
351
352
 
352
- This SDK includes **528** actions.
353
+ This SDK includes **529** actions.
353
354
 
354
355
  ### Action Types
355
356
 
@@ -390,7 +391,6 @@ This SDK includes **528** actions.
390
391
  | `SetOrderCancelOnDate` | UPDATE | k1.t-hEOJjsDb.OrderModule.Order.Update.SetOrderCancelOnDate |
391
392
  | `SetOrderDeactivateOnDate` | UPDATE | k1.t-hEOJjsDb.OrderModule.Order.Update.SetOrderDeactivateOnDate |
392
393
  | `SetPendingAmcoWorkOrder` | UPDATE | k1.t-hEOJjsDb.OrderModule.Order.Update.SetPendingAmcoWorkOrder |
393
- | `TestDeleteThis` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.Order.Transition.TestDeleteThis |
394
394
  | `UpdateOrder` | UPDATE | k1.t-hEOJjsDb.OrderModule.Order.Update.UpdateOrder |
395
395
 
396
396
  **ActivateRecontractOrder Target Stages:** `OrderStageActive`
@@ -421,8 +421,6 @@ This SDK includes **528** actions.
421
421
 
422
422
  **ReactivateOrderAfterRollback Target Stages:** `OrderStageActive`
423
423
 
424
- **TestDeleteThis Target Stages:** `OrderStageSupply`
425
-
426
424
  #### WorkOrder
427
425
 
428
426
  | Action | Type | Event |
@@ -1063,12 +1061,14 @@ This SDK includes **528** actions.
1063
1061
  | `CreateLandlineProductAction` | CREATE | k1.t-hEOJjsDb.ProductModule.Product.Create.CreateLandlineProductAction |
1064
1062
  | `CreateMeshProductAction` | CREATE | k1.t-hEOJjsDb.ProductModule.Product.Create.CreateMeshProductAction |
1065
1063
  | `CreateMobileProductAction` | CREATE | k1.t-hEOJjsDb.ProductModule.Product.Create.CreateMobileProductAction |
1064
+ | `CreateTelevisionProductAction` | CREATE | k1.t-hEOJjsDb.ProductModule.Product.Create.CreateTelevisionProductAction |
1066
1065
  | `UpdateBundleProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateBundleProductAction |
1067
1066
  | `UpdateInternetProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateInternetProductAction |
1068
1067
  | `UpdateLaborProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateLaborProductAction |
1069
1068
  | `UpdateLandlineProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateLandlineProductAction |
1070
1069
  | `UpdateMeshProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateMeshProductAction |
1071
1070
  | `UpdateMobileProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateMobileProductAction |
1071
+ | `UpdateTelevisionProductAction` | UPDATE | k1.t-hEOJjsDb.ProductModule.Product.Update.UpdateTelevisionProductAction |
1072
1072
 
1073
1073
  #### CallEvent
1074
1074
 
@@ -1091,7 +1091,7 @@ This SDK includes **528** actions.
1091
1091
  | `MoveCashbackRewardToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.CrmModule.Reward.Transition.MoveCashbackRewardToFailed |
1092
1092
  | `UpdateCashbackRewardRefund` | UPDATE | k1.t-hEOJjsDb.CrmModule.Reward.Update.UpdateCashbackRewardRefund |
1093
1093
 
1094
- **MoveCashbackRewardToAwarded Target Stages:** `CashBackFlowStagePending`
1094
+ **MoveCashbackRewardToAwarded Target Stages:** `CashBackFlowStageAwarded`
1095
1095
 
1096
1096
  **MoveCashbackRewardToFailed Target Stages:** `CashBackFlowStageFailed`
1097
1097
 
@@ -0,0 +1,353 @@
1
+ /**
2
+ * CreateTelevisionProductAction Action DTO
3
+ *
4
+ * Create Form for Television Product
5
+ *
6
+ * @module ProductModule
7
+ * @entity Product
8
+ * @entityType TELEVISION
9
+ * @actionKey CreateTelevisionProductAction
10
+ * @event k1.t-hEOJjsDb.ProductModule.Product.Create.CreateTelevisionProductAction
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * RabbitMQ message payload for CreateTelevisionProductAction created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.ProductModule.Product.Create.CreateTelevisionProductAction
19
+ */
20
+ export interface CreateTelevisionProductActionMessage extends OdinRecordCreatedEvent<CreateTelevisionProductActionDto, CreateTelevisionProductActionProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateTelevisionProductAction action
24
+ *
25
+ * @property Required fields: 14
26
+ * @property Optional fields: 26
27
+ */
28
+ export interface CreateTelevisionProductActionProperties {
29
+ /**
30
+ * Category
31
+ *
32
+ * category of the product (Product Management - Product)
33
+ * @type {ENUM}
34
+ * @required
35
+ */
36
+ Category: string;
37
+ /**
38
+ * Type
39
+ *
40
+ * type of product (Product Management - Product)
41
+ * @type {ENUM}
42
+ * @required
43
+ */
44
+ Type: string;
45
+ /**
46
+ * CustomerType
47
+ *
48
+ * customer type the product is available to (Product Management - Product)
49
+ * @type {ENUM}
50
+ * @required
51
+ */
52
+ CustomerType: string;
53
+ /**
54
+ * UnitType
55
+ *
56
+ * unit of measure the product (Product Management - Product)
57
+ * @type {ENUM}
58
+ * @required
59
+ */
60
+ UnitType: string;
61
+ /**
62
+ * AvailableFrom
63
+ *
64
+ * item is available from this date (Product Management - Product)
65
+ * @type {DATE}
66
+ * @required
67
+ * @format DD/MM/YYYY
68
+ */
69
+ AvailableFrom: string;
70
+ /**
71
+ * TaxRate
72
+ *
73
+ * tax rate for the product (Product Management - Product)
74
+ * @type {PERCENT}
75
+ * @required
76
+ */
77
+ TaxRate: number;
78
+ /**
79
+ * Taxable
80
+ *
81
+ * is the product taxable (Product Management - Product)
82
+ * @type {ENUM}
83
+ * @required
84
+ */
85
+ Taxable: string;
86
+ /**
87
+ * TaxIncluded
88
+ *
89
+ * is the tax included in the UnitPrice (Product Management - Product)
90
+ * @type {ENUM}
91
+ * @required
92
+ */
93
+ TaxIncluded: string;
94
+ /**
95
+ * RequiresProvisioning
96
+ *
97
+ * does the product require service provisioning (Product Management - Product)
98
+ * @type {ENUM}
99
+ * @required
100
+ */
101
+ RequiresProvisioning: string;
102
+ /**
103
+ * RequiresOnSiteSetup
104
+ *
105
+ * does the product require on-site setup (Product Management - Product)
106
+ * @type {ENUM}
107
+ * @required
108
+ */
109
+ RequiresOnSiteSetup: string;
110
+ /**
111
+ * Shippable
112
+ *
113
+ * can the product be shipped to the end customer (Product Management - Product)
114
+ * @type {ENUM}
115
+ * @required
116
+ */
117
+ Shippable: string;
118
+ /**
119
+ * ChargeType
120
+ *
121
+ * charge type (Product Management - Product)
122
+ * @type {ENUM}
123
+ * @required
124
+ */
125
+ ChargeType: string;
126
+ /**
127
+ * Retrievable
128
+ *
129
+ * retrievable product (leased, rented) (Product Management - Product)
130
+ * @type {ENUM}
131
+ * @required
132
+ */
133
+ Retrievable: string;
134
+ /**
135
+ * ContractType
136
+ *
137
+ * the type of contract required (Product Management - Product)
138
+ * @type {ENUM}
139
+ * @required
140
+ */
141
+ ContractType: string;
142
+ /**
143
+ * IsTrialCancelable
144
+ *
145
+ * will determine if the trial cancel T&Cs are shown in the orders confirmations (Product Management - Product)
146
+ * @type {BOOLEAN}
147
+ */
148
+ IsTrialCancelable?: boolean | null;
149
+ /**
150
+ * Name
151
+ *
152
+ * Product name (Product Management - Product)
153
+ * @type {TEXT}
154
+ */
155
+ Name?: string | null;
156
+ /**
157
+ * Description
158
+ *
159
+ * description of the product (Product Management - Product)
160
+ * @type {TEXT}
161
+ */
162
+ Description?: string | null;
163
+ /**
164
+ * LineItemDescription
165
+ *
166
+ * the line item description will show up when added to orders / invoices (Product Management - Product)
167
+ * @type {TEXT}
168
+ */
169
+ LineItemDescription?: string | null;
170
+ /**
171
+ * UnitPrice
172
+ *
173
+ * suggested price to sell a single product (Product Management - Product)
174
+ * @type {CURRENCY}
175
+ */
176
+ UnitPrice?: string | null;
177
+ /**
178
+ * IntervalUnit
179
+ *
180
+ * unit for the billing interval (Product Management - Product)
181
+ * @type {ENUM}
182
+ */
183
+ IntervalUnit?: string | null;
184
+ /**
185
+ * IntervalLength
186
+ *
187
+ * length of the billing interval, set to 0 for one-time charges (Product Management - Product)
188
+ * @type {NUMBER}
189
+ */
190
+ IntervalLength?: number | null;
191
+ /**
192
+ * TrialUnit
193
+ *
194
+ * trial unit for the product (Product Management - Product)
195
+ * @type {ENUM}
196
+ */
197
+ TrialUnit?: string | null;
198
+ /**
199
+ * TrialLength
200
+ *
201
+ * length for the items trial length (Product Management - Product)
202
+ * @type {NUMBER}
203
+ */
204
+ TrialLength?: number | null;
205
+ /**
206
+ * Discount Type
207
+ *
208
+ * the type of discount (Product Management - Product)
209
+ * @type {ENUM}
210
+ */
211
+ DiscountType?: string | null;
212
+ /**
213
+ * Discount Value
214
+ *
215
+ * the value to discount (Product Management - Product)
216
+ * @type {CURRENCY}
217
+ */
218
+ DiscountValue?: string | null;
219
+ /**
220
+ * Discount Unit
221
+ *
222
+ * discount duration unit (Product Management - Product)
223
+ * @type {ENUM}
224
+ */
225
+ DiscountUnit?: string | null;
226
+ /**
227
+ * Discount Length
228
+ *
229
+ * length for the product discount duration (Product Management - Product)
230
+ * @type {NUMBER}
231
+ */
232
+ DiscountLength?: number | null;
233
+ /**
234
+ * Discount2 Type
235
+ *
236
+ * the type of discount (AMOUNT | PERCENT) (Product Management - Product)
237
+ * @type {ENUM}
238
+ */
239
+ Discount2Type?: string | null;
240
+ /**
241
+ * Discount2 Value
242
+ *
243
+ * the value of discount 2 (5,10,15..) (Product Management - Product)
244
+ * @type {CURRENCY}
245
+ */
246
+ Discount2Value?: string | null;
247
+ /**
248
+ * Discount2 Unit
249
+ *
250
+ * the unit type for discount2 (Product Management - Product)
251
+ * @type {ENUM}
252
+ */
253
+ Discount2Unit?: string | null;
254
+ /**
255
+ * Discount2 Length
256
+ *
257
+ * set a discount length for the discount starting after discount1 (Product Management - Product)
258
+ * @type {NUMBER}
259
+ */
260
+ Discount2Length?: number | null;
261
+ /**
262
+ * DisplayName
263
+ *
264
+ * The display name for the product, customer facing (Product Management - Product)
265
+ * @type {TEXT}
266
+ */
267
+ DisplayName?: string | null;
268
+ /**
269
+ * PromoTextLabelDown
270
+ *
271
+ * promo label pricing box down (Product Management - Product)
272
+ * @type {TEXT}
273
+ */
274
+ PromoTextLabelDown?: string | null;
275
+ /**
276
+ * PromoTextLabelUp
277
+ *
278
+ * upper label of the price box (Product Management - Product)
279
+ * @type {TEXT}
280
+ */
281
+ PromoTextLabelUp?: string | null;
282
+ /**
283
+ * DescriptionLine1
284
+ *
285
+ * Used in the website order flow do describe the products on the Addon section (used for the Addon products) (Product Management - Product)
286
+ * @type {TEXT}
287
+ */
288
+ DescriptionLine1?: string | null;
289
+ /**
290
+ * DescriptionLine2
291
+ *
292
+ * Used in the website to label the addon price cards on the YouMesh, YouPhone and StaticIp pages (Product Management - Product)
293
+ * @type {TEXT}
294
+ */
295
+ DescriptionLine2?: string | null;
296
+ /**
297
+ * LegalTerms
298
+ *
299
+ * The legal terms of the product (Product Management - Product)
300
+ * @type {TEXT_LONG}
301
+ */
302
+ LegalTerms?: string | null;
303
+ /**
304
+ * TermsAndConditions
305
+ *
306
+ * these are the terms and conditions for the product (Product Management - Product)
307
+ * @type {TEXT_LONG}
308
+ */
309
+ TermsAndConditions?: string | null;
310
+ /**
311
+ * CustomerProductDescription
312
+ *
313
+ * Customer Product Description (Product Management - Product)
314
+ * @type {TEXT_LONG}
315
+ */
316
+ CustomerProductDescription?: string | null;
317
+ }
318
+ /**
319
+ * CreateTelevisionProductAction
320
+ *
321
+ * Create Form for Television Product
322
+ *
323
+ * @actionType CREATE - Creates a new Product record
324
+ * @module ProductModule
325
+ * @entity Product
326
+ * @entityType TELEVISION (Television)
327
+ * @event k1.t-hEOJjsDb.ProductModule.Product.Create.CreateTelevisionProductAction
328
+ * @permission schema.action.createtelevisionproductaction.trigger
329
+ * @benchmark This action is tracked for performance benchmarks
330
+ */
331
+ export declare class CreateTelevisionProductActionDto extends OdinRecordCreateDto<CreateTelevisionProductActionProperties> {
332
+ /** Used by SDK generators to identify action type */
333
+ static readonly ACTION_TYPE = "CREATE";
334
+ static readonly ACTION_KEY = "CreateTelevisionProductAction";
335
+ static readonly MODULE_NAME = "ProductModule";
336
+ static readonly ENTITIES: string[];
337
+ static readonly ENTITY_TYPE = "TELEVISION";
338
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.ProductModule.Product.Create.CreateTelevisionProductAction";
339
+ static readonly PERMISSION = "schema.action.createtelevisionproductaction.trigger";
340
+ /** Step metadata - entity this action targets */
341
+ static readonly STEP_ENTITY = "ProductModule:Product";
342
+ static readonly STEP_SCHEMA_ID = "3dbe2648-7faa-4f21-bd3d-5acc86ebff26";
343
+ static readonly STEP_SCHEMA_ACTION_ID = "507b83af-b3e7-447c-990e-3592a3f9f70d";
344
+ static readonly STEP_SCHEMA_TYPE_ID = "ae4a480a-636b-4392-a926-5e3b1d998934";
345
+ static readonly STEP_TYPE = "TELEVISION";
346
+ static readonly AUTO_LINK_PARENT = true;
347
+ readonly actionName: string;
348
+ readonly schemaActionId: string;
349
+ readonly entity: string;
350
+ constructor(properties: CreateTelevisionProductActionProperties, options?: {
351
+ journeyId?: string;
352
+ });
353
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * CreateTelevisionProductAction Action DTO
4
+ *
5
+ * Create Form for Television Product
6
+ *
7
+ * @module ProductModule
8
+ * @entity Product
9
+ * @entityType TELEVISION
10
+ * @actionKey CreateTelevisionProductAction
11
+ * @event k1.t-hEOJjsDb.ProductModule.Product.Create.CreateTelevisionProductAction
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateTelevisionProductActionDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateTelevisionProductAction
20
+ *
21
+ * Create Form for Television Product
22
+ *
23
+ * @actionType CREATE - Creates a new Product record
24
+ * @module ProductModule
25
+ * @entity Product
26
+ * @entityType TELEVISION (Television)
27
+ * @event k1.t-hEOJjsDb.ProductModule.Product.Create.CreateTelevisionProductAction
28
+ * @permission schema.action.createtelevisionproductaction.trigger
29
+ * @benchmark This action is tracked for performance benchmarks
30
+ */
31
+ class CreateTelevisionProductActionDto extends core_1.OdinRecordCreateDto {
32
+ constructor(properties, options) {
33
+ super({
34
+ entity: 'ProductModule:Product',
35
+ type: 'TELEVISION',
36
+ properties,
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'CreateTelevisionProductAction';
40
+ this.schemaActionId = '507b83af-b3e7-447c-990e-3592a3f9f70d';
41
+ this.entity = 'ProductModule:Product';
42
+ }
43
+ }
44
+ exports.CreateTelevisionProductActionDto = CreateTelevisionProductActionDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CreateTelevisionProductActionDto.ACTION_TYPE = 'CREATE';
47
+ CreateTelevisionProductActionDto.ACTION_KEY = 'CreateTelevisionProductAction';
48
+ CreateTelevisionProductActionDto.MODULE_NAME = 'ProductModule';
49
+ CreateTelevisionProductActionDto.ENTITIES = ['Product'];
50
+ CreateTelevisionProductActionDto.ENTITY_TYPE = 'TELEVISION';
51
+ CreateTelevisionProductActionDto.EVENT_NAME = 'k1.t-hEOJjsDb.ProductModule.Product.Create.CreateTelevisionProductAction';
52
+ CreateTelevisionProductActionDto.PERMISSION = 'schema.action.createtelevisionproductaction.trigger';
53
+ /** Step metadata - entity this action targets */
54
+ CreateTelevisionProductActionDto.STEP_ENTITY = 'ProductModule:Product';
55
+ CreateTelevisionProductActionDto.STEP_SCHEMA_ID = '3dbe2648-7faa-4f21-bd3d-5acc86ebff26';
56
+ CreateTelevisionProductActionDto.STEP_SCHEMA_ACTION_ID = '507b83af-b3e7-447c-990e-3592a3f9f70d';
57
+ CreateTelevisionProductActionDto.STEP_SCHEMA_TYPE_ID = 'ae4a480a-636b-4392-a926-5e3b1d998934';
58
+ CreateTelevisionProductActionDto.STEP_TYPE = 'TELEVISION';
59
+ CreateTelevisionProductActionDto.AUTO_LINK_PARENT = true;
@@ -71,7 +71,7 @@ export interface MoveCashbackRewardToAwardedProperties {
71
71
  * @module CrmModule
72
72
  * @entity Reward
73
73
  * @entityType CASHBACK (CASHBACK)
74
- * @targetStages CashBackFlowStagePending
74
+ * @targetStages CashBackFlowStageAwarded
75
75
  * @event k1.t-hEOJjsDb.CrmModule.Reward.Transition.MoveCashbackRewardToAwarded
76
76
  * @permission schema.action.movecashbackrewardtoawarded.trigger
77
77
  * @benchmark This action is tracked for performance benchmarks
@@ -86,7 +86,7 @@ export declare class MoveCashbackRewardToAwardedDto extends OdinRecordUpdateDto<
86
86
  static readonly EVENT_NAME = "k1.t-hEOJjsDb.CrmModule.Reward.Transition.MoveCashbackRewardToAwarded";
87
87
  static readonly SCHEMA_ACTION_ID = "f77ea026-72d8-4c0f-9c10-fc00b7d4318f";
88
88
  static readonly PERMISSION = "schema.action.movecashbackrewardtoawarded.trigger";
89
- static readonly TARGET_STAGES: readonly ["CashBackFlowStagePending"];
89
+ static readonly TARGET_STAGES: readonly ["CashBackFlowStageAwarded"];
90
90
  static readonly IS_STAGE_TRANSITION = true;
91
91
  static readonly IS_MULTI_STEP_FLOW = false;
92
92
  static readonly HAS_STEP_LINKS = false;
@@ -30,7 +30,7 @@ exports.MoveCashbackRewardToAwardedSteps = {
30
30
  * @module CrmModule
31
31
  * @entity Reward
32
32
  * @entityType CASHBACK (CASHBACK)
33
- * @targetStages CashBackFlowStagePending
33
+ * @targetStages CashBackFlowStageAwarded
34
34
  * @event k1.t-hEOJjsDb.CrmModule.Reward.Transition.MoveCashbackRewardToAwarded
35
35
  * @permission schema.action.movecashbackrewardtoawarded.trigger
36
36
  * @benchmark This action is tracked for performance benchmarks
@@ -47,7 +47,7 @@ class MoveCashbackRewardToAwardedDto extends core_1.OdinRecordUpdateDto {
47
47
  this.actionName = 'MoveCashbackRewardToAwarded';
48
48
  this.schemaActionId = 'f77ea026-72d8-4c0f-9c10-fc00b7d4318f';
49
49
  this.entity = 'CrmModule:Reward';
50
- this.stageKey = 'CashBackFlowStagePending';
50
+ this.stageKey = 'CashBackFlowStageAwarded';
51
51
  }
52
52
  }
53
53
  exports.MoveCashbackRewardToAwardedDto = MoveCashbackRewardToAwardedDto;
@@ -60,7 +60,7 @@ MoveCashbackRewardToAwardedDto.ENTITY_TYPE = 'CASHBACK';
60
60
  MoveCashbackRewardToAwardedDto.EVENT_NAME = 'k1.t-hEOJjsDb.CrmModule.Reward.Transition.MoveCashbackRewardToAwarded';
61
61
  MoveCashbackRewardToAwardedDto.SCHEMA_ACTION_ID = 'f77ea026-72d8-4c0f-9c10-fc00b7d4318f';
62
62
  MoveCashbackRewardToAwardedDto.PERMISSION = 'schema.action.movecashbackrewardtoawarded.trigger';
63
- MoveCashbackRewardToAwardedDto.TARGET_STAGES = ['CashBackFlowStagePending'];
63
+ MoveCashbackRewardToAwardedDto.TARGET_STAGES = ['CashBackFlowStageAwarded'];
64
64
  MoveCashbackRewardToAwardedDto.IS_STAGE_TRANSITION = true;
65
65
  MoveCashbackRewardToAwardedDto.IS_MULTI_STEP_FLOW = false;
66
66
  MoveCashbackRewardToAwardedDto.HAS_STEP_LINKS = false;