@artisan-commerce/types 0.14.0-canary.58 → 0.14.0-canary.62

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 (2) hide show
  1. package/dist/bundle.d.ts +15 -6
  2. package/package.json +2 -2
package/dist/bundle.d.ts CHANGED
@@ -1112,11 +1112,6 @@ interface MasivoCustomer {
1112
1112
  /** The metrics for the customer. */
1113
1113
  metrics: MasivoCustomerMetrics;
1114
1114
  }
1115
- /**
1116
- * Represents metadata information.
1117
- */
1118
- interface Metadata {
1119
- }
1120
1115
  /**
1121
1116
  * Represents the metrics for a Masivo customer.
1122
1117
  */
@@ -1204,6 +1199,18 @@ interface WalletLine {
1204
1199
  /** The reward object containing detailed information */
1205
1200
  reward: WalletReward;
1206
1201
  }
1202
+ /**
1203
+ * Represents metadata information.
1204
+ */
1205
+ interface Metadata {
1206
+ }
1207
+ /**
1208
+ * Represents metadata information associated with Masivo.
1209
+ */
1210
+ interface Metadata {
1211
+ /** The coupon code associated with the metadata */
1212
+ coupon_code: string;
1213
+ }
1207
1214
  /**
1208
1215
  * Represents a reward in the wallet.
1209
1216
  */
@@ -1228,6 +1235,8 @@ interface WalletReward {
1228
1235
  status: string;
1229
1236
  /** Optional content associated with the reward. */
1230
1237
  content?: Objectify<MasivoTemplateContent>;
1238
+ /** Optional content associated with the reward */
1239
+ metadata?: Metadata;
1231
1240
  }
1232
1241
  /**
1233
1242
  * Enum representing the types of rewards that can be associated with a wallet.
@@ -1563,7 +1572,7 @@ interface MasivoCampaignRule {
1563
1572
  effects: MasivoEffect[];
1564
1573
  }
1565
1574
  /**
1566
- * Represents the effect of a Masivo reward.
1575
+ * Represents the effect of a Masivo reward
1567
1576
  */
1568
1577
  interface MasivoEffect {
1569
1578
  /** The unique identifier of the reward */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@artisan-commerce/types",
3
3
  "description": "Artisn's types and interfaces library",
4
4
  "type": "module",
5
- "version": "0.14.0-canary.58",
5
+ "version": "0.14.0-canary.62",
6
6
  "types": "./dist/bundle.d.ts",
7
7
  "files": [
8
8
  "dist"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "author": "Luis Eduardo Andrade",
26
26
  "license": "MIT",
27
- "gitHead": "d4ba22d696a380b62b4c4e0a0010ab9785276bd4",
27
+ "gitHead": "da3b607a50be5f075bfc8bebc8d737ab151e42b5",
28
28
  "nx": {
29
29
  "targets": {
30
30
  "build": {