@capillarytech/creatives-library 7.17.90 → 7.17.91-alpha.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.
@@ -1862,4 +1862,606 @@ export default {
1862
1862
  name: "Test sample",
1863
1863
  type: "ZALO",
1864
1864
  },
1865
+ callback: () => 'callback called',
1866
+ error: {
1867
+ message: 'Unauthorised',
1868
+ response: {
1869
+ status: 401,
1870
+ },
1871
+ },
1872
+ error2: {
1873
+ isError: true,
1874
+ message: 'Error message',
1875
+ },
1876
+ videoConfigData: {
1877
+ is_active: true,
1878
+ _id: "123456",
1879
+ product: "Creatives",
1880
+ json_config: [{ data: 'Test data' }],
1881
+ },
1882
+ Global: {
1883
+ demoVideoAndLinkJSON: {
1884
+ is_active: true,
1885
+ _id: "64a3960248092d9819a0066f",
1886
+ product: "Creatives",
1887
+ __v: 0,
1888
+ createdAt: "2023-07-04T03:46:10.857Z",
1889
+ json_config: [
1890
+ {
1891
+ route: "/creatives/ui/v2",
1892
+ target_elements: {
1893
+ "//*[@id='app']/div/div/div/div[2]/div/div/div/div[1]/div/div[2]": {
1894
+ description: "Overall performance",
1895
+ support_link: {
1896
+ target_url: {
1897
+ default: {
1898
+ label: "Help",
1899
+ href: "https://app.storylane.io/share/v1ilsyhwno8m",
1900
+ },
1901
+ en: {
1902
+ label: "Help",
1903
+ href: "https://app.storylane.io/share/v1ilsyhwno8m",
1904
+ },
1905
+ },
1906
+ },
1907
+ },
1908
+ "//*[@id='app']/div/div/div/div[2]/div/div/div/div[1]/div/div[1]": {
1909
+ description: "Graph",
1910
+ support_video: {
1911
+ target_url: {
1912
+ "default": {
1913
+ label: "Demo",
1914
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
1915
+ videoTitle: "Loyalty Sales",
1916
+ supportDoc: "https://500px.com/popular",
1917
+ },
1918
+ "en": {
1919
+ label: "Demo",
1920
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
1921
+ videoTitle: "Loyalty Sales",
1922
+ supportDoc: "https://500px.com/popular",
1923
+ },
1924
+ "zh-CN": {
1925
+ label: "演示",
1926
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
1927
+ videoTitle: "忠誠銷售",
1928
+ supportDoc: "https://500px.com/popular",
1929
+ },
1930
+ },
1931
+ },
1932
+ },
1933
+ },
1934
+ },
1935
+ ],
1936
+ updatedAt: "2023-10-24T09:27:03.666Z",
1937
+ },
1938
+ metaEntities: {
1939
+ layouts: [],
1940
+ tags: [],
1941
+ },
1942
+ topbarMenuData: {
1943
+ status: "success",
1944
+ data: [
1945
+ {
1946
+ label: {
1947
+ key: null,
1948
+ ref: null,
1949
+ props: {
1950
+ id: "creatives.containersV2.Cap.campaigns",
1951
+ defaultMessage: "Campaigns",
1952
+ values: {},
1953
+ },
1954
+ _owner: null,
1955
+ _store: {
1956
+ validated: true,
1957
+ },
1958
+ },
1959
+ link: "/campaigns/ui/list",
1960
+ key: "campaigns",
1961
+ },
1962
+ {
1963
+ label: {
1964
+ key: null,
1965
+ ref: null,
1966
+ props: {
1967
+ id: "creatives.containersV2.Cap.journeys",
1968
+ defaultMessage: "Journeys",
1969
+ values: {},
1970
+ },
1971
+ _owner: null,
1972
+ _store: {
1973
+ validated: true,
1974
+ },
1975
+ },
1976
+ link: "/journey/ui",
1977
+ key: "journeys",
1978
+ },
1979
+ {
1980
+ label: {
1981
+ key: null,
1982
+ ref: null,
1983
+ props: {
1984
+ id: "creatives.containersV2.audience",
1985
+ defaultMessage: "Audience",
1986
+ values: {},
1987
+ },
1988
+ _owner: null,
1989
+ _store: {
1990
+ validated: true,
1991
+ },
1992
+ },
1993
+ link: "/audience-manager/list",
1994
+ key: "audience",
1995
+ },
1996
+ {
1997
+ label: {
1998
+ key: null,
1999
+ ref: null,
2000
+ props: {
2001
+ id: "creatives.containersV2.incentive",
2002
+ defaultMessage: "Incentive",
2003
+ values: {},
2004
+ },
2005
+ _owner: null,
2006
+ _store: {
2007
+ validated: true,
2008
+ },
2009
+ },
2010
+ link: "/coupons/ui/",
2011
+ key: "incentive",
2012
+ },
2013
+ {
2014
+ label: {
2015
+ key: null,
2016
+ ref: null,
2017
+ props: {
2018
+ id: "creatives.containersV2.Cap.creatives",
2019
+ defaultMessage: "Creatives",
2020
+ values: {},
2021
+ },
2022
+ _owner: null,
2023
+ _store: {
2024
+ validated: true,
2025
+ },
2026
+ },
2027
+ link: "/creatives/ui/v2",
2028
+ key: "creatives",
2029
+ },
2030
+ ],
2031
+ },
2032
+ fetchingSchema: true,
2033
+ user: {
2034
+ lastName: "Talukdar",
2035
+ active: "true",
2036
+ loginCount: 34,
2037
+ iso_lang: "en_US",
2038
+ authEntities: {
2039
+ userRoleType: "org",
2040
+ userEntities: {
2041
+ store: [],
2042
+ },
2043
+ },
2044
+ passwordValidity: "2024-03-31 16:56:11",
2045
+ creationDate: "2023-09-01 19:53:07",
2046
+ refID: "50685402",
2047
+ lang: "en",
2048
+ accessiblePermissions: [
2049
+ "devonly",
2050
+ "OE",
2051
+ "SOE",
2052
+ "DOT",
2053
+ "Analytics",
2054
+ "Tech support",
2055
+ "AOM",
2056
+ "OM",
2057
+ "SMS CCMS Dumps",
2058
+ "Raw Data Dump",
2059
+ "ACCESSTEAM",
2060
+ "SOCIAL",
2061
+ "DCS",
2062
+ "MC_READ",
2063
+ "MC_GOODWILL_READ",
2064
+ "MC_WRITE",
2065
+ "LP",
2066
+ "MC_SEARCH",
2067
+ "MC_CUSTOMER_UPDATE",
2068
+ "MC_CIR_VIEW",
2069
+ "MC_CIR_UPDATE",
2070
+ "MC_GWR_VIEW",
2071
+ "MC_GWR_UPDATE",
2072
+ "MC_SETTINGS",
2073
+ "CAMP_CONF_ALL",
2074
+ "CAMP_CREATE",
2075
+ "CAMP_MSG_CREATE",
2076
+ "CAMP_MSG_APPROVE",
2077
+ "CAMP_COUPON_CREATE",
2078
+ "CAMP_REPORT_VIEW",
2079
+ "CAMP_LIST_CONF",
2080
+ "CAMP_MSG_TEMPLATE_DESIGN",
2081
+ "configure_actions",
2082
+ "view_coupon_series",
2083
+ "view_rule_campaign",
2084
+ "configure_coupon_series",
2085
+ "bounceback_campaign_auth",
2086
+ "MC_RESEND_COUPON",
2087
+ "command_center_admin",
2088
+ "finance",
2089
+ "ADMIN_ACCESS",
2090
+ "PII_MASK",
2091
+ "PII_MASK_NOT_REQUIRED",
2092
+ "ALL_MSG_APPROVE",
2093
+ "COUPON_MSG_APPROVE",
2094
+ "POINTS_MSG_APPROVE",
2095
+ "LIST_CSV_UPLOAD",
2096
+ "EXT_FACT_ACCESS",
2097
+ "CAMP_XENGAGE_SETTINGS",
2098
+ "AUDIENCE_MANAGER_UI_VIEW",
2099
+ "CAMPAIGNS_UI_VIEW",
2100
+ "INCENTIVES_UI_VIEW",
2101
+ "CREATIVES_UI_VIEW",
2102
+ "UNMASKED_OTP_VIEW",
2103
+ "MC_WRT_GWP_REQ",
2104
+ "MC_XCUTE_GWP_REQ",
2105
+ "MC_WRT_GWC_REQ",
2106
+ "MC_XCUTE_GWC_REQ",
2107
+ "MC_WRT_GROUP_GWP_REQ",
2108
+ "MC_XCUTE_GROUP_GWP_REQ",
2109
+ "MC_WRT_PII_DLT_REQ",
2110
+ "MC_XCUTE_PII_DLT_REQ",
2111
+ "MC_WRT_RTRO_TXN_REQ",
2112
+ "MC_XCUTE_RTRO_TXN_REQ",
2113
+ "MC_WRT_M_REALLOC_REQ",
2114
+ "MC_XCUTE_M_REALLOC_REQ",
2115
+ "MC_WRT_ACC_MERGE_REQ",
2116
+ "MC_XCUTE_ACC_MERGE_REQ",
2117
+ "MC_WRT_TXN_REQ",
2118
+ "MC_XCUTE_TXN_REQ",
2119
+ "MC_WRT_IDCHANGE_MBL_REQ",
2120
+ "MC_XCUTE_IDCHANGE_MBL_REQ",
2121
+ "MC_WRT_IDCHANGE_EML_REQ",
2122
+ "MC_XCUTE_IDCHANGE_EML_REQ",
2123
+ "MC_WRT_IDCHANGE_EXID_REQ",
2124
+ "MC_XCUTE_IDCHANGE_EXID_RE",
2125
+ "MC_OLD_GOODWILL_XCUTE",
2126
+ "MC_OLD_GOODWILL_WRT",
2127
+ "MC_OLD_CHANGE_ID_XCUTE",
2128
+ "MC_OLD_CHANGE_ID_WRT",
2129
+ "MC_OLD_MBL_REALLOC_XCUTE",
2130
+ "MC_OLD_MBL_REALLOC_WRT",
2131
+ "MC_OLD_ACC_MERGE_XCUTE",
2132
+ "MC_OLD_ACC_MERGE_WRT",
2133
+ "MC_VIEW_GWP_REQ",
2134
+ "MC_VIEW_GWC_REQ",
2135
+ "MC_VIEW_GROUP_GWP_REQ",
2136
+ "MC_VIEW_PII_DLT_REQ",
2137
+ "MC_VIEW_RTRO_TXN_REQ",
2138
+ "MC_VIEW_M_REALLOC_REQ",
2139
+ "MC_VIEW_ACC_MERGE_REQ",
2140
+ "MC_VIEW_TXN_REQ",
2141
+ "MC_VIEW_IDCHANGE_MBL_REQ",
2142
+ "MC_VIEW_IDCHANGE_EML_REQ",
2143
+ "MC_VIEW_IDCHANGE_EXID_REQ",
2144
+ "MC_ISSUE_NEW_CARD",
2145
+ "MC_EDIT_CUST_SUBSCRIPTION",
2146
+ "MC_UPDATE_CARD_NUMBER",
2147
+ "LOYALTY_UPDATE_PROGRAM",
2148
+ "LOYALTY_UPDATE_PROMOTION",
2149
+ ],
2150
+ orgName: "Capillary Technologies",
2151
+ userRoles: {
2152
+ ORG: [
2153
+ {
2154
+ entityType: "ORG",
2155
+ entityName: "Capillary Technologies",
2156
+ role: "SUPERUSER",
2157
+ entityId: 0,
2158
+ childEntities: [],
2159
+ },
2160
+ ],
2161
+ },
2162
+ isCapUser: true,
2163
+ loginName: "rakesh.talukdar@capillarytech.com",
2164
+ proxyOrgList: [
2165
+ {
2166
+ orgID: 50146,
2167
+ orgName: "Reon_Data",
2168
+ },
2169
+ ],
2170
+ attributes: {
2171
+ USERNAME: {
2172
+ value: "rakesh.talukdar@capillarytech.com",
2173
+ verified: "true",
2174
+ },
2175
+ },
2176
+ aryaUserRoles: {
2177
+ ORG: [
2178
+ {
2179
+ entityType: "ORG",
2180
+ entityName: "Capillary Technologies",
2181
+ role: "SUPERUSER",
2182
+ entityId: 0,
2183
+ childEntities: [],
2184
+ },
2185
+ ],
2186
+ },
2187
+ accessRoles: {
2188
+ OnlyDev: 467,
2189
+ },
2190
+ accessibleOUList: {
2191
+ ExpressWay: 50007995,
2192
+ Franchisee: 50007996,
2193
+ supermarket: 50007994,
2194
+ All: -1,
2195
+ },
2196
+ type: "ADMIN_USER",
2197
+ adminUser: true,
2198
+ id: "123456",
2199
+ firstName: "Rakesh",
2200
+ orgID: 0,
2201
+ },
2202
+ messages: [],
2203
+ fetching_userdata: false,
2204
+ isLoggedIn: true,
2205
+ demoVideoAndLinkJSONStatus: "SUCCESS",
2206
+ currentOrgDetails: {
2207
+ basic_details: {
2208
+ fiscal_year_start: "-1",
2209
+ base_country_code: "IN",
2210
+ max_sms_hour: 23,
2211
+ base_currency_iso: {
2212
+ label: "INR",
2213
+ symbol: "₹",
2214
+ },
2215
+ base_language: "en",
2216
+ value_sms_credits: "",
2217
+ bulk_sms_credits: "",
2218
+ base_country: "India",
2219
+ supported_languages: [
2220
+ {
2221
+ lang_id: 69,
2222
+ language: "English",
2223
+ iso_code: "en",
2224
+ },
2225
+ ],
2226
+ base_currency_name: "Indian rupee",
2227
+ name: "Reon_Data",
2228
+ base_language_iso: {
2229
+ lang: "en",
2230
+ locale: "IN",
2231
+ },
2232
+ base_timezone_iso: {
2233
+ label: "Asia/Kolkata",
2234
+ offset: "+05:30",
2235
+ },
2236
+ phone: "",
2237
+ base_country_iso: {
2238
+ code: "IN",
2239
+ name: "India",
2240
+ },
2241
+ address: "asdfasdf",
2242
+ org_id: "50146",
2243
+ min_sms_hour: 0,
2244
+ base_currency_symbol: "₹",
2245
+ language: "English",
2246
+ timezone_offset: "+05:30",
2247
+ timezone: "Asia/Kolkata",
2248
+ is_active: 1,
2249
+ base_lang_locale: "IN",
2250
+ base_currency: "INR",
2251
+ },
2252
+ sender_details: {
2253
+ GSM: "9876987022",
2254
+ CDMA: "9876987022",
2255
+ label: "TATADG",
2256
+ replyToEmail: "tata@dg.com",
2257
+ senderEmail: "tata@dg.com",
2258
+ },
2259
+ accessibleFeatures: [
2260
+ "PERSONALISATION_STRATEGY",
2261
+ "CHANNEL_PRIORITY_STRATEGY",
2262
+ "STORE2DOOR_PLUS_ENABLED",
2263
+ "XENGAGE_STRATEGY",
2264
+ "COMMUNICATION_LIMIT",
2265
+ "CAMPAIGNS_FTP",
2266
+ "PROMO_ENGINE",
2267
+ "LOYALTY_NEW_UI_ENABLED",
2268
+ "TRAI_DLT",
2269
+ "EXTERNALLY_MANAGED_COUPONS",
2270
+ "FLEET_LOYALTY_ENABLED",
2271
+ "JOURNEY_UI",
2272
+ "GIFT_CARDS",
2273
+ "LOYALTY_PROMOTION_ENABLED",
2274
+ "LABEL_CUSTOMISATION_ENABLED",
2275
+ "ENABLE_NOTIFICATION_CENTRE",
2276
+ "ENABLE_OU_BASED_RBAC",
2277
+ "ENABLE_PRODUCT_SUPPORT_VIDEOS",
2278
+ "ENABLE_RANDOM_COUPON_CODE",
2279
+ "ENABLE_AB_TESTING_BLOCK",
2280
+ "POINTS_BUDGETING_UX_ENHANCEMENTS",
2281
+ "HOSPITALITY_BASED_SCOPE",
2282
+ "ENABLE_NEW_LEFT_NAVIGATION",
2283
+ "ENABLE_CUSTOMER_BARCODE_TAG",
2284
+ "BADGES_UI_ENABLED",
2285
+ "ENABLE_FTP_CONNECTOR",
2286
+ "INCENTIVES_ONLY_BLOCK",
2287
+ "AUDIENCE_SYNC_COMPLETION",
2288
+ ],
2289
+ org_loyalty_v2_status: true,
2290
+ module_details: [
2291
+ {
2292
+ code: "intouchHomePage",
2293
+ display_order: 1,
2294
+ id: -1,
2295
+ name: "HOME",
2296
+ namespace: "intouchHomePage",
2297
+ url: "/home/ui",
2298
+ version: "1.0.0",
2299
+ },
2300
+ {
2301
+ id: 45,
2302
+ name: "LOYALTY+",
2303
+ code: "loyalty/ui/",
2304
+ version: "1.0.0.1",
2305
+ namespace: "loyalty/ui/",
2306
+ display_order: 6,
2307
+ url: "/loyalty/ui/",
2308
+ },
2309
+ {
2310
+ id: 39,
2311
+ name: "MEMBER CARE",
2312
+ code: "memberCare",
2313
+ version: "1.0.0.1",
2314
+ namespace: "memberCare",
2315
+ display_order: 5,
2316
+ url: "/memberCare/index",
2317
+ },
2318
+ {
2319
+ id: 27,
2320
+ name: "MASTERS",
2321
+ code: "org",
2322
+ version: "1.0.0.1",
2323
+ namespace: "org",
2324
+ display_order: 0,
2325
+ url: "/org/index",
2326
+ },
2327
+ {
2328
+ id: 49,
2329
+ name: "VULCAN",
2330
+ code: "vulcan/ui/",
2331
+ version: "1.0.0.1",
2332
+ namespace: "vulcan/ui",
2333
+ display_order: 0,
2334
+ url: "/vulcan/ui//index",
2335
+ },
2336
+ {
2337
+ id: 26,
2338
+ name: "WORKBENCH",
2339
+ code: "businessProcesses",
2340
+ version: "1.0.0.1",
2341
+ namespace: "businessProcesses",
2342
+ display_order: 10,
2343
+ url: "/businessProcesses/index",
2344
+ },
2345
+ ],
2346
+ org_campaign_v2_status: true,
2347
+ orgNamespaceInfo: {
2348
+ orgNamespaceEnabled: "1",
2349
+ namespace: {
2350
+ id: 63,
2351
+ name: "Sabre",
2352
+ parent_namespace_id: 10,
2353
+ scope: "ORG",
2354
+ is_active: 1,
2355
+ },
2356
+ },
2357
+ },
2358
+ orgID: 50146,
2359
+ },
2360
+ demoVideoAndLinkJSONData: {
2361
+ demoVideoAndLinkJSON: {
2362
+ is_active: true,
2363
+ _id: "64a3960248092d9819a0066f",
2364
+ product: "Creatives",
2365
+ __v: 0,
2366
+ createdAt: "2023-07-04T03:46:10.857Z",
2367
+ json_config: [
2368
+ {
2369
+ route: "/creatives/ui/v2",
2370
+ target_elements: {
2371
+ "//*[@id='app']/div/div/div/div[2]/div/div/div/div[1]/div/div[2]": {
2372
+ description: "Overall performance",
2373
+ support_link: {
2374
+ target_url: {
2375
+ default: {
2376
+ label: "Help",
2377
+ href: "https://app.storylane.io/share/v1ilsyhwno8m",
2378
+ },
2379
+ en: {
2380
+ label: "Help",
2381
+ href: "https://app.storylane.io/share/v1ilsyhwno8m",
2382
+ },
2383
+ },
2384
+ },
2385
+ },
2386
+ "//*[@id='app']/div/div/div/div[2]/div/div/div/div[1]/div/div[1]": {
2387
+ description: "Graph",
2388
+ support_video: {
2389
+ target_url: {
2390
+ "default": {
2391
+ label: "Demo",
2392
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
2393
+ videoTitle: "Loyalty Sales",
2394
+ supportDoc: "https://500px.com/popular",
2395
+ },
2396
+ "en": {
2397
+ label: "Demo",
2398
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
2399
+ videoTitle: "Loyalty Sales",
2400
+ supportDoc: "https://500px.com/popular",
2401
+ },
2402
+ "zh-CN": {
2403
+ label: "演示",
2404
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
2405
+ videoTitle: "忠誠銷售",
2406
+ supportDoc: "https://500px.com/popular",
2407
+ },
2408
+ },
2409
+ },
2410
+ },
2411
+ "//*[@id='campaign-app']/div/div/div/div/div/div/div/div/div/div/div/div[2]/div/div/div[2]/div/div[1]/div/div/div/div/div[1]/div[1]": {
2412
+ description: "Configure KPI",
2413
+ support_video: {
2414
+ target_url: {
2415
+ "default": {
2416
+ label: "Demo",
2417
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
2418
+ videoTitle: "Configure KPI",
2419
+ },
2420
+ "en": {
2421
+ label: "Demo",
2422
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
2423
+ videoTitle: "Configure KPI",
2424
+ },
2425
+ "zh-CN": {
2426
+ label: "演示",
2427
+ href: "https://www.youtube.com/embed/-hPJQQ0-vIE",
2428
+ videoTitle: "忠誠銷售 KPI",
2429
+ },
2430
+ },
2431
+ },
2432
+ support_link: {
2433
+ target_url: {
2434
+ default: {
2435
+ label: "Help",
2436
+ href: "https://app.storylane.io/share/v1ilsyhwno8m",
2437
+ },
2438
+ en: {
2439
+ label: "Help",
2440
+ href: "https://app.storylane.io/share/v1ilsyhwno8m",
2441
+ },
2442
+ },
2443
+ },
2444
+ },
2445
+ "//*[@id='loyalty-app']/div/div/div/div/div/div/div/div/div/div/div/div/div/div/section/div[3]/div[1]/div/div[1]/div/div[1]": {
2446
+ description: "Program setup Hygene Nudge",
2447
+ support_link: {
2448
+ target_url: {
2449
+ default: {
2450
+ label: "Help",
2451
+ href: "https://app.storylane.io/share/v1ilsyhwno8m",
2452
+ },
2453
+ en: {
2454
+ label: "Help",
2455
+ href: "https://app.storylane.io/share/v1ilsyhwno8m",
2456
+ },
2457
+ },
2458
+ },
2459
+ },
2460
+ },
2461
+ },
2462
+ ],
2463
+ updatedAt: "2023-10-24T09:27:03.666Z",
2464
+ },
2465
+ demoVideoAndLinkJSONStatus: "SUCCESS",
2466
+ },
1865
2467
  };