@kiriminaja/types 0.1.24 → 0.1.26

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/oms.d.ts +29 -0
  2. package/package.json +1 -1
package/dist/oms.d.ts CHANGED
@@ -131,6 +131,26 @@ export type OmsProductCatalogSettingResourceT = {
131
131
  key?: string;
132
132
  value?: string;
133
133
  };
134
+ export declare const OMS_PRODUCT_TRACKING_EVENTS: readonly ["ViewContent", "Lead", "AddToCart", "ReceiverInfoCompleted", "ShippingInfoCompleted", "InitiateCheckout", "AddPaymentInfo"];
135
+ export declare const OMS_PRODUCT_CONVERSION_TRIGGERS: readonly ["Page Load", "Purchased"];
136
+ export type OmsProductTrackingEventNameT = typeof OMS_PRODUCT_TRACKING_EVENTS[number];
137
+ export type OmsProductConversionTriggerT = typeof OMS_PRODUCT_CONVERSION_TRIGGERS[number];
138
+ export type OmsProductEventTrackingT = {
139
+ facebook_pixels?: {
140
+ id?: string;
141
+ events?: OmsProductTrackingEventNameT[];
142
+ }[];
143
+ tiktok_pixels?: {
144
+ id?: string;
145
+ events?: OmsProductTrackingEventNameT[];
146
+ }[];
147
+ google_ads?: {
148
+ conversion_id?: string;
149
+ conversion_label?: string;
150
+ trigger?: OmsProductConversionTriggerT;
151
+ };
152
+ gtm_ids?: string[];
153
+ };
134
154
  export type OmsProductCatalogDetailT = OmsProductInformationT & OmsProductWarehouseT & {
135
155
  id?: number;
136
156
  weight?: number;
@@ -151,6 +171,14 @@ export type OmsProductCatalogDetailT = OmsProductInformationT & OmsProductWareho
151
171
  pricing?: OmsProductPriceT;
152
172
  variant_types?: OmsProductVariantT['variant_types'];
153
173
  variants?: OmsProductVariantCombinationT[];
174
+ member_product_id?: number;
175
+ can_connect_to_template?: boolean;
176
+ checkout_form?: {
177
+ id?: number;
178
+ link?: string;
179
+ config_document_id?: string;
180
+ };
181
+ event_trackers?: OmsProductEventTrackingT;
154
182
  };
155
183
  export type OmsGuaranteeBadgeT = {
156
184
  id?: number;
@@ -280,6 +308,7 @@ export type OmsCouponT = {
280
308
  quota?: number;
281
309
  type?: 'flat' | 'percentage';
282
310
  value?: number;
311
+ max_value?: number;
283
312
  min_price?: number;
284
313
  used_count?: number;
285
314
  products?: OmsProductCatalogDetailT[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiriminaja/types",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "dist"