repzo 1.0.57 → 1.0.58

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/package.json +1 -1
  2. package/deleteMe.js +0 -1387
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.57",
3
+ "version": "1.0.58",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
package/deleteMe.js DELETED
@@ -1,1387 +0,0 @@
1
- import axios from "axios";
2
-
3
- const namespaces = [
4
- "jopetrol",
5
- "mzalloumco",
6
- "nestleiran",
7
- "limakport",
8
- "almahmoudia",
9
- "mahmoudiacart",
10
- "smartpharma",
11
- "smartpharma2",
12
- "hootds",
13
- "ramallahds",
14
- "alphapaints",
15
- "lifco",
16
- "hammoudeh",
17
- "hammoudehcv",
18
- "chemist",
19
- "aljuneidi",
20
- "betads",
21
- "beta2",
22
- "ecare",
23
- "safa",
24
- "safads",
25
- "akigroup",
26
- "omegadsm",
27
- "omegads",
28
- "ertyad",
29
- "tasali",
30
- "arkands",
31
- "aghsan",
32
- "smco",
33
- "alwazeer",
34
- "weston",
35
- "weston1",
36
- "bushnaqco",
37
- "areen",
38
- "firstmed",
39
- "alreef",
40
- "mazayads",
41
- "emdad",
42
- "arinbrand",
43
- "biovds",
44
- "manchesterds",
45
- "bayer",
46
- "quest",
47
- "berke",
48
- "berkeleymb",
49
- "berkeleyfb",
50
- "walz",
51
- "alameerat",
52
- "sharqiraq",
53
- "wajda",
54
- "geometrical",
55
- "boecker",
56
- "nairoukh",
57
- "ghazal",
58
- "artmedia",
59
- "euphc",
60
- "euphm",
61
- "europharma",
62
- "azatech",
63
- "abbott",
64
- "eucerin",
65
- "isdin",
66
- "isis",
67
- "pedc",
68
- "asdsderma",
69
- "asdsteoxane",
70
- "asdssupp",
71
- "baladna",
72
- "nadec",
73
- "naderco",
74
- "mdds",
75
- "aufjo",
76
- "servtech",
77
- "oceanjo",
78
- "tatweer",
79
- "jamjoomph",
80
- "exsoft",
81
- "buzz",
82
- "eyad",
83
- "siemens",
84
- "asalah",
85
- "ginsta",
86
- "ginstas",
87
- "bushnaq",
88
- "zumut",
89
- "zumutcv",
90
- "alnabaa",
91
- "eliasjaber",
92
- "gwjo",
93
- "sdcc",
94
- "albassamds",
95
- "necc",
96
- "commercefoods",
97
- "rakeeds",
98
- "philadelphia",
99
- "philasudan",
100
- "growfoods",
101
- "fmsjo",
102
- "zimmerbiomet",
103
- "conmed",
104
- "medtronic",
105
- "iraqsoft",
106
- "tubapharma",
107
- "jeedah",
108
- "riyadh",
109
- "emirates",
110
- "warakat",
111
- "bayeriq",
112
- "hashco",
113
- "babrezk",
114
- "merchandising",
115
- "taraf",
116
- "alkhatib",
117
- "sergiofood",
118
- "waseet",
119
- "elle",
120
- "enzo",
121
- "pinpoint",
122
- "demotest",
123
- "muhtasebcf",
124
- "muhtasebdemo",
125
- "oveq",
126
- "idea",
127
- "bibodent",
128
- "shellmarks",
129
- "bcollection",
130
- "asnandental",
131
- "ecopay",
132
- "allayanfs",
133
- "pfco",
134
- "wazeer",
135
- "sergiofoods",
136
- "alhani",
137
- "recap",
138
- "contra",
139
- "awtade",
140
- "awtadeasw",
141
- "bookeey",
142
- "visionandmore",
143
- "fourseason",
144
- "akigrp",
145
- "sanofi",
146
- "sanofidemo",
147
- "alhakeemds",
148
- "alhakeem",
149
- "alkawaz",
150
- "qefary",
151
- "zainjo",
152
- "balt",
153
- "proteina",
154
- "creative",
155
- "gcect",
156
- "delta",
157
- "flyapple",
158
- "muslim",
159
- "ajantapharma",
160
- "eatup",
161
- "takaful",
162
- "shahd",
163
- "alnubalaawater",
164
- "magical",
165
- "nasstel",
166
- "aljihansv",
167
- "aljihan",
168
- "aljihans",
169
- "aljihancv",
170
- "alaqeely",
171
- "shyaanigrp",
172
- "alburj",
173
- "alburjcv",
174
- "jnit",
175
- "jnitcatering",
176
- "unitedjo",
177
- "anabil",
178
- "anabiltesting",
179
- "asak",
180
- "deypure",
181
- "cubeburger",
182
- "nkgroup",
183
- "nkg1",
184
- "adfd",
185
- "alphadeem",
186
- "adamam",
187
- "adjeddah",
188
- "adrs",
189
- "adrn",
190
- "wsamah",
191
- "injaz",
192
- "tasalijo",
193
- "habash",
194
- "mogulco",
195
- "nihadco",
196
- "princelco",
197
- "islandkp",
198
- "alhilaldsm",
199
- "alhilalds",
200
- "promohds",
201
- "otchds",
202
- "orthohds",
203
- "mueller",
204
- "sunnatural",
205
- "sbihds",
206
- "demetech",
207
- "onchds",
208
- "wolfarmgiza",
209
- "walfarm3",
210
- "walfarm1",
211
- "walfarm2",
212
- "walfarm4",
213
- "walfarmph1",
214
- "walfarmph2",
215
- "walfarmph3",
216
- "walfarmph4",
217
- "wolfarm",
218
- "wolfarmalex",
219
- "wolfarmcairo",
220
- "wolfarmdelta1",
221
- "wolfarmdelta2",
222
- "alomaraa",
223
- "alomaraaqalyub",
224
- "eilearn",
225
- "premiumfood1",
226
- "premiumfood2",
227
- "premiumfood3",
228
- "premiumfood",
229
- "dodgeomni",
230
- "almoan",
231
- "kalderea",
232
- "mctest",
233
- "alenmaa",
234
- "sweetline",
235
- "alfedaa",
236
- "jhsco",
237
- "alshuruq",
238
- "alemam",
239
- "g4sjo",
240
- "standardgrp",
241
- "techosmart",
242
- "aghradijo",
243
- "madlomni",
244
- "globaltrading",
245
- "arabypack",
246
- "elmohmady",
247
- "trustweb",
248
- "althorads",
249
- "alwatan",
250
- "awar",
251
- "alghaz",
252
- "goodsystem",
253
- "tiksa",
254
- "alwazirbabil",
255
- "afnan",
256
- "albaraka",
257
- "alsamahco",
258
- "albaghdadya",
259
- "comnahar",
260
- "alsfwa",
261
- "citytime",
262
- "awaltelecom",
263
- "fajralbadea",
264
- "omegamco",
265
- "axantia",
266
- "jscosmatics",
267
- "goodiq",
268
- "teatree",
269
- "3marts",
270
- "sdss",
271
- "bmeg",
272
- "pharmaswede",
273
- "takafulksa",
274
- "alwidah",
275
- "alsafidanone",
276
- "rawhim",
277
- "selametek",
278
- "cigalah",
279
- "moljo",
280
- "pharmacareiq",
281
- "pharmacareiq1",
282
- "jarpf",
283
- "tabac",
284
- "parisco",
285
- "interface",
286
- "kittaneh",
287
- "shaden",
288
- "sultanco",
289
- "alsharafi",
290
- "almajdco",
291
- "zrgon",
292
- "alber",
293
- "taqb",
294
- "taqe",
295
- "sadeemw",
296
- "alanwaar",
297
- "alanwaarcv",
298
- "altyar",
299
- "lavarco",
300
- "alwadage",
301
- "nunuco",
302
- "jumbo",
303
- "jumbor",
304
- "mist",
305
- "americana",
306
- "nourllc",
307
- "arsalangrp",
308
- "arsalanjo",
309
- "nsaamalrafdeen",
310
- "liliumdsm",
311
- "liliumds",
312
- "retailo",
313
- "retailoriyadh",
314
- "retailojeddah",
315
- "retailoislam",
316
- "retailodammam",
317
- "retailouae",
318
- "spimacotest",
319
- "zaweyaco",
320
- "mota",
321
- "naderksa",
322
- "ghaymawater",
323
- "dwapharma",
324
- "amstat",
325
- "gclco",
326
- "tmhco",
327
- "agrichem",
328
- "nabed",
329
- "centralgas",
330
- "kolarabco",
331
- "repzoken",
332
- "bzpromo",
333
- "bzjordan",
334
- "gwmco",
335
- "braiky",
336
- "moyati",
337
- "medoptic",
338
- "alhusinid",
339
- "alhusiniph",
340
- "alraseen",
341
- "biolab",
342
- "romman",
343
- "unlimited",
344
- "dawalimited",
345
- "thefirst",
346
- "maisalreem",
347
- "repzof",
348
- "repzop",
349
- "realipm",
350
- "albanna",
351
- "albannademo",
352
- "ownco",
353
- "yafainc",
354
- "kbsjo",
355
- "cazartrads",
356
- "adora",
357
- "unotek",
358
- "jadwaps",
359
- "mashfuture",
360
- "dorat",
361
- "interpharm",
362
- "biel",
363
- "akiiq",
364
- "akiiraq",
365
- "gskiraq",
366
- "naturesrule",
367
- "national",
368
- "alrabie",
369
- "pharmaaccess",
370
- "asia",
371
- "totalw",
372
- "medz",
373
- "medzislamabad",
374
- "medzlahore",
375
- "arnoun",
376
- "arnoun1",
377
- "rafoil",
378
- "cakeshop",
379
- "bmsmed",
380
- "beppco",
381
- "beppco3",
382
- "beppco1",
383
- "beppco2",
384
- "beppco4",
385
- "beppco5",
386
- "beppco6",
387
- "maqam",
388
- "maqam1",
389
- "sakan",
390
- "dairyexpress",
391
- "ayards",
392
- "icase",
393
- "phipharma",
394
- "finalland",
395
- "alaaodeh",
396
- "logo",
397
- "liko",
398
- "ilko",
399
- "kleva",
400
- "strongestcard",
401
- "alakhras",
402
- "idealchem",
403
- "lachaise",
404
- "centropharma",
405
- "simpleds",
406
- "bioserv",
407
- "adaoud",
408
- "hamid",
409
- "oware",
410
- "monginis",
411
- "cornbelt",
412
- "karamu",
413
- "rayan",
414
- "bana",
415
- "tasneem",
416
- "aljameel",
417
- "rxpharma",
418
- "alhadab",
419
- "nadheer",
420
- "proland",
421
- "carencure",
422
- "alawael",
423
- "elham",
424
- "o2proegypt",
425
- "o2proksa",
426
- "digital",
427
- "alhashemds",
428
- "msianh",
429
- "hamdan",
430
- "bazix",
431
- "lcsksa",
432
- "western",
433
- "shumer",
434
- "ilajph",
435
- "aylux",
436
- "inspire",
437
- "apollo",
438
- "apollosb",
439
- "alhadi",
440
- "etihad",
441
- "tayee",
442
- "moejo",
443
- "mcdjo",
444
- "mayark",
445
- "norda",
446
- "erteqa",
447
- "rttest",
448
- "afaq",
449
- "hcake",
450
- "zohoralwatan",
451
- "lexbaby",
452
- "alraghad",
453
- "lffco",
454
- "htr9",
455
- "awaltele",
456
- "alkoon",
457
- "alrahden",
458
- "saqrj",
459
- "plusph",
460
- "mrvap1",
461
- "moltaqar",
462
- "lusterph",
463
- "cotto",
464
- "khderea",
465
- "biosupply",
466
- "pharma",
467
- "zainksa",
468
- "bmspharma",
469
- "alafaqjo",
470
- "filler",
471
- "lccell",
472
- "advuae",
473
- "hydro",
474
- "collection",
475
- "frisco",
476
- "hexa",
477
- "higenhikma",
478
- "aigegypt",
479
- "aigf",
480
- "autoono",
481
- "almansour",
482
- "beautyland",
483
- "baalbaki",
484
- "yand",
485
- "modernsweets",
486
- "faltd",
487
- "meteorschem",
488
- "qatarpharma",
489
- "qatarfmcg",
490
- "balloonizer",
491
- "ankaradental",
492
- "ss4tg",
493
- "alsowaidi",
494
- "mayar",
495
- "almanarksa1",
496
- "almanarksa",
497
- "wjdan",
498
- "sarayawa",
499
- "intajuna",
500
- "alyasouf",
501
- "tello",
502
- "uniteds",
503
- "alnada",
504
- "sabatc",
505
- "demoeh",
506
- "almuhanad",
507
- "kikh",
508
- "dadagrp",
509
- "graindenm",
510
- "ahtelecom",
511
- "sindbadom",
512
- "sary",
513
- "saryegypt",
514
- "horeca",
515
- "horecaegypt",
516
- "horecacohort",
517
- "talalalward",
518
- "helium",
519
- "almimari",
520
- "aldeiaa",
521
- "goodwood",
522
- "lifefragr",
523
- "aldweik",
524
- "ludwik",
525
- "majillan",
526
- "usgme",
527
- "matammah",
528
- "wadientab",
529
- "alghosn",
530
- "zainiq",
531
- "specializedksa",
532
- "furat",
533
- "vaguae",
534
- "plazma",
535
- "mashwar",
536
- "hste",
537
- "aldur",
538
- "barik",
539
- "tasleem",
540
- "caffeine",
541
- "mutakhsesa",
542
- "provider",
543
- "colfresh",
544
- "eldar",
545
- "nahjalsahil",
546
- "skafi",
547
- "ardsumer",
548
- "future",
549
- "alsaadoun",
550
- "khababneh",
551
- "alhaku",
552
- "vitacare",
553
- "haddad",
554
- "ranvit",
555
- "sewaralmass",
556
- "tolido",
557
- "aldalu",
558
- "daluusd",
559
- "daluiqd",
560
- "dalurep",
561
- "dalusls",
562
- "aljunaide",
563
- "shafaq",
564
- "itec",
565
- "makaneksa",
566
- "makanejo",
567
- "makaneuae",
568
- "makaneiq",
569
- "emdadstore",
570
- "ckte",
571
- "ahli",
572
- "link",
573
- "fatura",
574
- "sandbox",
575
- "puzur",
576
- "shurrab",
577
- "shiffar",
578
- "bashawat",
579
- "baker",
580
- "afrajanoub",
581
- "foezy",
582
- "dishtele",
583
- "baytalmadah",
584
- "alzahrah",
585
- "modernsweets1",
586
- "ghaya",
587
- "bran",
588
- "alwuthuq",
589
- "attar",
590
- "alahd",
591
- "axissol",
592
- "polonez",
593
- "alnoordist",
594
- "aroundjo",
595
- "alnibras",
596
- "jawwalps",
597
- "durratrabea",
598
- "havan",
599
- "jerashph",
600
- "holdal",
601
- "khcgrp",
602
- "ebr1",
603
- "ebr4",
604
- "wmgassan",
605
- "xpertmed",
606
- "doroub",
607
- "jetjo",
608
- "lamst",
609
- "elkomy",
610
- "jawhara",
611
- "galloud",
612
- "smellservice",
613
- "fruitscatering",
614
- "ldsweet",
615
- "afkar",
616
- "ulmco",
617
- "turbo",
618
- "fifoplus",
619
- "alitihad",
620
- "inspiring",
621
- "mmsewt",
622
- "gentstation",
623
- "domiom",
624
- "almajd",
625
- "scth",
626
- "tayseer",
627
- "cozmo",
628
- "lsamara",
629
- "crispy",
630
- "jozina",
631
- "junior",
632
- "elite",
633
- "qaib",
634
- "adsco",
635
- "tazaj",
636
- "assessment",
637
- "residencesp",
638
- "mondial",
639
- "aous",
640
- "aldourksa",
641
- "mubasher",
642
- "valencia",
643
- "treeoflife",
644
- "kirmenagold",
645
- "tamgo",
646
- "nesspresso",
647
- "dhsa",
648
- "tclksa",
649
- "liwadate",
650
- "nahg",
651
- "orascom",
652
- "openrangejo",
653
- "fahadalamar",
654
- "dermaplastic",
655
- "margo",
656
- "shamieye",
657
- "medpharma",
658
- "everest",
659
- "optishami",
660
- "sapsoft",
661
- "sulaimandates",
662
- "almufid",
663
- "mtciraq",
664
- "hertz",
665
- "travelmate",
666
- "marsyer",
667
- "hokair",
668
- "qout",
669
- "wurthjo",
670
- "wurthksa",
671
- "seyour",
672
- "maliagroup",
673
- "recharge",
674
- "jood",
675
- "esehha",
676
- "haya",
677
- "sabouna",
678
- "larenove",
679
- "alphaiq",
680
- "speedear",
681
- "nabaybrain",
682
- "foundation",
683
- "ahds",
684
- "jedeela",
685
- "aton",
686
- "alnarjes",
687
- "jebreel",
688
- "easternlane",
689
- "golddental",
690
- "tawasal",
691
- "arjan",
692
- "attily",
693
- "overt",
694
- "formulaone",
695
- "yourparts",
696
- "united3",
697
- "medis",
698
- "siwar",
699
- "balsam",
700
- "osool",
701
- "asiaphone",
702
- "ocean",
703
- "foodoceanco",
704
- "tvdm",
705
- "naseq",
706
- "acto",
707
- "bloom",
708
- "biocompression",
709
- "platinum",
710
- "teye",
711
- "aroma",
712
- "shamary",
713
- "swcksa",
714
- "ashtal",
715
- "medgulf",
716
- "stella",
717
- "tamimi",
718
- "bakhait",
719
- "address",
720
- "mawared",
721
- "leedsbakery",
722
- "riyada",
723
- "morjan",
724
- "hatan",
725
- "organic",
726
- "rowadaljamal",
727
- "ericsson",
728
- "nabialfurat",
729
- "activefood",
730
- "altayar",
731
- "fahdsahraa",
732
- "alsharifi",
733
- "omegaph",
734
- "rassd",
735
- "alawtad",
736
- "newtouch",
737
- "ironfist",
738
- "qualitymakers",
739
- "zahran",
740
- "futureherb",
741
- "arzaq",
742
- "ashwered",
743
- "sohab",
744
- "saheb",
745
- "brega",
746
- "koliveoil",
747
- "chickenho",
748
- "helex",
749
- "anipal",
750
- "baharalhaseb",
751
-
752
- "skysat",
753
- "qimataljanob",
754
- "highcool",
755
- "intasha",
756
- "ilkoiraq",
757
- "omas",
758
- "gooimf",
759
- "tarweej",
760
- "fomtraiding",
761
- "fomksa",
762
-
763
- "cartona",
764
- "alpha",
765
- "goldendevice",
766
- "mainds",
767
- "emdadksa",
768
- "gocl",
769
- "spsolutions",
770
- "modernvision",
771
- "elitehome",
772
- "femico",
773
- "dewpoint",
774
- "alnebras",
775
- "caly",
776
- "durratalrabea",
777
- "blueflower",
778
- "innovahc",
779
- "mismar",
780
- "wifistore",
781
- "spicepalace",
782
- "hebaproject",
783
- "mazola",
784
-
785
- "khal",
786
- "aletihad",
787
- "pharmasystem",
788
-
789
- "alrakee",
790
- "aljawharawater",
791
- "hebatest",
792
-
793
- "xadoiraq",
794
- "autocoreio",
795
- "bareeqdental",
796
- ];
797
-
798
- const resetNamespace = async (namespace) => {
799
- try {
800
- const response = await axios.post(
801
- "https://sv.api.repzo.me/reset-company-namespace",
802
- {
803
- services: {
804
- rep: {
805
- checked: true,
806
- },
807
- client: {
808
- checked: true,
809
- },
810
- product: {
811
- checked: true,
812
- },
813
- teams: {
814
- checked: true,
815
- },
816
- tag: {
817
- checked: true,
818
- },
819
- warehouse: {
820
- checked: true,
821
- },
822
- msl: {
823
- checked: true,
824
- },
825
- msl_product: {
826
- checked: true,
827
- },
828
- job_category: {
829
- checked: true,
830
- },
831
- role: {
832
- checked: true,
833
- },
834
- user_role: {
835
- checked: true,
836
- },
837
- availability_msl: {
838
- checked: true,
839
- },
840
- media: {
841
- checked: true,
842
- },
843
- reminder: {
844
- checked: true,
845
- },
846
- approval: {
847
- checked: true,
848
- },
849
- custom_field: {
850
- checked: true,
851
- },
852
- custom_status: {
853
- checked: true,
854
- },
855
- return_reason: {
856
- checked: true,
857
- },
858
- inventory_adjustment_reason: {
859
- checked: true,
860
- },
861
- feedback_option: {
862
- checked: true,
863
- },
864
- promotion: {
865
- checked: true,
866
- },
867
- scheduled_email: {
868
- checked: true,
869
- },
870
- notifications_center: {
871
- checked: true,
872
- },
873
- bulk_import: {
874
- checked: true,
875
- },
876
- bulk_export: {
877
- checked: true,
878
- },
879
- generate_rule: {
880
- checked: true,
881
- },
882
- route: {
883
- checked: true,
884
- },
885
- address: {
886
- checked: true,
887
- },
888
- payment_term: {
889
- checked: true,
890
- },
891
- speciality: {
892
- checked: true,
893
- },
894
- client_channel: {
895
- checked: true,
896
- },
897
- client_contact: {
898
- checked: true,
899
- },
900
- client_location: {
901
- checked: true,
902
- },
903
- client_status: {
904
- checked: true,
905
- },
906
- territory: {
907
- checked: true,
908
- },
909
- territory_level: {
910
- checked: true,
911
- },
912
- territory_template: {
913
- checked: true,
914
- },
915
- supplier: {
916
- checked: true,
917
- },
918
- tax: {
919
- checked: true,
920
- },
921
- measureunits: {
922
- checked: true,
923
- },
924
- measureunit_family: {
925
- checked: true,
926
- },
927
- variant: {
928
- checked: true,
929
- },
930
- brand: {
931
- checked: true,
932
- },
933
- product_group: {
934
- checked: true,
935
- },
936
- product_category: {
937
- checked: true,
938
- },
939
- product_subcategory: {
940
- checked: true,
941
- },
942
- product_modifier_group: {
943
- checked: true,
944
- },
945
- product_modifier: {
946
- checked: true,
947
- },
948
- price_list: {
949
- checked: true,
950
- },
951
- price_list_item: {
952
- checked: true,
953
- },
954
- asset: {
955
- checked: true,
956
- },
957
- asset_unit: {
958
- checked: true,
959
- },
960
- asset_type: {
961
- checked: true,
962
- },
963
- workorder_category: {
964
- checked: true,
965
- },
966
- workorder_request: {
967
- checked: true,
968
- },
969
- workorder: {
970
- checked: true,
971
- },
972
- workorder_alarm: {
973
- checked: true,
974
- },
975
- comments_thread: {
976
- checked: true,
977
- },
978
- thumbnail_storage: {
979
- checked: true,
980
- },
981
- media_storage: {
982
- checked: true,
983
- },
984
- form: {
985
- checked: true,
986
- },
987
- workorder_portal: {
988
- checked: true,
989
- },
990
- workorder_portal_link: {
991
- checked: true,
992
- },
993
- print_workorder_portal_link: {
994
- checked: true,
995
- },
996
- print_workorder_portal_link_options: {
997
- checked: true,
998
- },
999
- contract: {
1000
- checked: true,
1001
- },
1002
- contract_installment: {
1003
- checked: true,
1004
- },
1005
- banner: {
1006
- checked: true,
1007
- },
1008
- payment_method: {
1009
- checked: true,
1010
- },
1011
- shipping_zone: {
1012
- checked: true,
1013
- },
1014
- shipping_method: {
1015
- checked: true,
1016
- },
1017
- active_client: {
1018
- checked: true,
1019
- },
1020
- transaction: {
1021
- checked: true,
1022
- },
1023
- ledger_payment: {
1024
- checked: true,
1025
- },
1026
- ledger_goods: {
1027
- checked: true,
1028
- },
1029
- transfer: {
1030
- checked: true,
1031
- },
1032
- payment: {
1033
- checked: true,
1034
- },
1035
- refund: {
1036
- checked: true,
1037
- },
1038
- receiving_material: {
1039
- checked: true,
1040
- },
1041
- full_invoice: {
1042
- checked: true,
1043
- },
1044
- invoice: {
1045
- checked: true,
1046
- },
1047
- invoice_item: {
1048
- checked: true,
1049
- },
1050
- cart: {
1051
- checked: true,
1052
- },
1053
- cart_history: {
1054
- checked: true,
1055
- },
1056
- proforma: {
1057
- checked: true,
1058
- },
1059
- settlement: {
1060
- checked: true,
1061
- },
1062
- adjust_account: {
1063
- checked: true,
1064
- },
1065
- adjust_inventory: {
1066
- checked: true,
1067
- },
1068
- cycle: {
1069
- checked: true,
1070
- },
1071
- check: {
1072
- checked: true,
1073
- },
1074
- invoice_alert: {
1075
- checked: true,
1076
- },
1077
- failed_linking_txn: {
1078
- checked: true,
1079
- },
1080
- failed_adjust_account: {
1081
- checked: true,
1082
- },
1083
- failed_adjust_inventory: {
1084
- checked: true,
1085
- },
1086
- failed_cart: {
1087
- checked: true,
1088
- },
1089
- failed_invoices: {
1090
- checked: true,
1091
- },
1092
- failed_payments: {
1093
- checked: true,
1094
- },
1095
- failed_proforma_invoices: {
1096
- checked: true,
1097
- },
1098
- failed_receiving_material: {
1099
- checked: true,
1100
- },
1101
- failed_refund: {
1102
- checked: true,
1103
- },
1104
- failed_settlement: {
1105
- checked: true,
1106
- },
1107
- failed_transfer: {
1108
- checked: true,
1109
- },
1110
- failed_transaction: {
1111
- checked: true,
1112
- },
1113
- failed_set_txn_alarm: {
1114
- checked: true,
1115
- },
1116
- target_group: {
1117
- checked: true,
1118
- },
1119
- target_rule: {
1120
- checked: true,
1121
- },
1122
- target_result: {
1123
- checked: true,
1124
- },
1125
- target_result_history: {
1126
- checked: true,
1127
- },
1128
- widget_dashboard: {
1129
- checked: true,
1130
- },
1131
- widget: {
1132
- checked: true,
1133
- },
1134
- line: {
1135
- checked: true,
1136
- },
1137
- classification_line: {
1138
- checked: true,
1139
- },
1140
- line_target: {
1141
- checked: true,
1142
- },
1143
- client_line: {
1144
- checked: true,
1145
- },
1146
- day: {
1147
- checked: true,
1148
- },
1149
- visit: {
1150
- checked: true,
1151
- },
1152
- activity_audit: {
1153
- checked: true,
1154
- },
1155
- activity_availability: {
1156
- checked: true,
1157
- },
1158
- activity_checkout_display: {
1159
- checked: true,
1160
- },
1161
- activity_feedback: {
1162
- checked: true,
1163
- },
1164
- activity_form_result: {
1165
- checked: true,
1166
- },
1167
- activity_note: {
1168
- checked: true,
1169
- },
1170
- activity_photo: {
1171
- checked: true,
1172
- },
1173
- activity_planogram: {
1174
- checked: true,
1175
- },
1176
- activity_secondary_display: {
1177
- checked: true,
1178
- },
1179
- activity_shelfshare: {
1180
- checked: true,
1181
- },
1182
- activity_task: {
1183
- checked: true,
1184
- },
1185
- item_status: {
1186
- checked: true,
1187
- },
1188
- item_status_type: {
1189
- checked: true,
1190
- },
1191
- job_result: {
1192
- checked: true,
1193
- },
1194
- click: {
1195
- checked: true,
1196
- },
1197
- event: {
1198
- checked: true,
1199
- },
1200
- events_log: {
1201
- checked: true,
1202
- },
1203
- activity_storecheck: {
1204
- checked: true,
1205
- },
1206
- old_activity_storecheck: {
1207
- checked: true,
1208
- },
1209
- product_audit_trace: {
1210
- checked: true,
1211
- },
1212
- custom_list: {
1213
- checked: true,
1214
- },
1215
- custom_list_item: {
1216
- checked: true,
1217
- },
1218
- storecheck_template: {
1219
- checked: true,
1220
- },
1221
- preset: {
1222
- checked: true,
1223
- },
1224
- retail_execution_previous_result: {
1225
- checked: true,
1226
- },
1227
- retail_execution_report_view: {
1228
- checked: true,
1229
- },
1230
- calendar: {
1231
- checked: true,
1232
- },
1233
- plan: {
1234
- checked: true,
1235
- },
1236
- email_history: {
1237
- checked: true,
1238
- },
1239
- failed_emails: {
1240
- checked: true,
1241
- },
1242
- big_report: {
1243
- checked: true,
1244
- },
1245
- integration_app: {
1246
- checked: true,
1247
- },
1248
- integration_action_log: {
1249
- checked: true,
1250
- },
1251
- integration_command_log: {
1252
- checked: true,
1253
- },
1254
- integration_trigger: {
1255
- checked: true,
1256
- },
1257
- oauth2_tokens: {
1258
- checked: true,
1259
- },
1260
- history: {
1261
- checked: true,
1262
- },
1263
- quick_convert_to_pdf: {
1264
- checked: true,
1265
- },
1266
- variant_batch: {
1267
- checked: true,
1268
- },
1269
- form_v2: {
1270
- checked: true,
1271
- },
1272
- activity_form_v2: {
1273
- checked: true,
1274
- },
1275
- old_activity_form_v2: {
1276
- checked: true,
1277
- },
1278
- unSynced_log: {
1279
- checked: true,
1280
- },
1281
- aiApiHistory: {
1282
- checked: true,
1283
- },
1284
- bulk_convert_proforma: {
1285
- checked: true,
1286
- },
1287
- approval_request: {
1288
- checked: true,
1289
- },
1290
- workflow: {
1291
- checked: true,
1292
- },
1293
- workflow_version: {
1294
- checked: true,
1295
- },
1296
- workflow_execution: {
1297
- checked: true,
1298
- },
1299
- ocr_invoice_job: {
1300
- checked: true,
1301
- },
1302
- ocr_invoice_job_template: {
1303
- checked: true,
1304
- },
1305
- ocr_invoice_job_page: {
1306
- checked: true,
1307
- },
1308
- bi_view: {
1309
- checked: true,
1310
- },
1311
- bi_view_version: {
1312
- checked: true,
1313
- },
1314
- bi_view_instance: {
1315
- checked: true,
1316
- },
1317
- bi_bucket: {
1318
- checked: true,
1319
- },
1320
- old_bi_bucket: {
1321
- checked: true,
1322
- },
1323
- bi_view_buckets_total: {
1324
- checked: true,
1325
- },
1326
- blank_photo_rep: {
1327
- checked: true,
1328
- },
1329
- failed_bi_bucket_log: {
1330
- checked: true,
1331
- },
1332
- failed_consume_bi_alarm: {
1333
- checked: true,
1334
- },
1335
- failed_set_bi_alarm: {
1336
- checked: true,
1337
- },
1338
- report_ubl_invoice: {
1339
- checked: true,
1340
- },
1341
- client_ubl_info: {
1342
- checked: true,
1343
- },
1344
- },
1345
- nameSpace: namespace,
1346
- },
1347
- {
1348
- headers: {
1349
- accept: "application/json, text/plain, */*",
1350
- "accept-language": "en-US,en-GB;q=0.9,en;q=0.8,ar;q=0.7",
1351
- authorization:
1352
- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVmOTZjZThjMTI4NTE0NjE3NGNjNWI2YyIsImVtYWlsIjoibW9oYW1tYWQua2hhbWlzQHJlcHpvYXBwLmNvbSIsIm5hbWUiOiJNb2hhbW1hZCBLaGFtaXMiLCJ0ZWFtIjpbXSwic2NvcGUiOiJyZXB6b0FkbWluIiwibmFtZVNwYWNlIjpbInJlcHpvIl0sInBlcm1hU3RyaW5nIjoidnZ2dnZ2dnZ2MHZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYwMDB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYwdnZ2dnYwdnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYwdjB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2djAwMDAwMHZ2djAwMHYwdnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYiLCJ0aW1lem9uZSI6IkFzaWEvUml5YWRoIiwiYXBwX2NvZGUiOiJyZXB6b19wcm8iLCJjb3VudHJ5X2NvZGUiOlsiSk8iXSwiaXNfdGVzdCI6ZmFsc2UsInN1c3BlbmRlZCI6ZmFsc2UsIm93bmVyIjp0cnVlLCJpYXQiOjE3Mjg0NjU4ODgsImV4cCI6MTcyODUwOTA4OH0.RnUGAObWGVRpfDSgsB_ejLmw9PcyUy9mr1T7yksnX5A",
1353
- "content-type": "application/json",
1354
- lang: "en",
1355
- "no-legacy-server": "true",
1356
- origin: "https://dash.sso.repzo.me",
1357
- priority: "u=1, i",
1358
- referer: "https://dash.sso.repzo.me/",
1359
- "sec-ch-ua":
1360
- '"Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"',
1361
- "sec-ch-ua-mobile": "?0",
1362
- "sec-ch-ua-platform": '"macOS"',
1363
- "sec-fetch-dest": "empty",
1364
- "sec-fetch-mode": "cors",
1365
- "sec-fetch-site": "same-site",
1366
- "time-zone": "Asia/Amman",
1367
- "user-agent":
1368
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36",
1369
- },
1370
- }
1371
- );
1372
- console.log(`Namespace ${namespace} reset successfully:`, response.data);
1373
- } catch (error) {
1374
- console.error(
1375
- `Error resetting namespace ${namespace}:`,
1376
- error.response ? error.response.data : error.message
1377
- );
1378
- }
1379
- };
1380
-
1381
- const resetAllNamespaces = async () => {
1382
- for (const namespace of namespaces) {
1383
- await resetNamespace(namespace);
1384
- }
1385
- };
1386
-
1387
- resetAllNamespaces();