@ikas/code-components-mcp 0.36.0 → 0.38.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-02-23T09:22:42.392Z",
2
+ "generatedAt": "2026-02-23T10:43:00.400Z",
3
3
  "functions": [
4
4
  {
5
5
  "name": "apiListBlog",
@@ -9700,6 +9700,34 @@
9700
9700
  "IkasProductList"
9701
9701
  ]
9702
9702
  },
9703
+ {
9704
+ "name": "isProductListPurchasedTogether",
9705
+ "displayName": "isPurchasedTogether",
9706
+ "signature": "function isProductListPurchasedTogether(list: IkasProductList): boolean",
9707
+ "description": "Checks whether the product list is of the PURCHASED_TOGETHER type (showing products purchased together).",
9708
+ "params": [
9709
+ {
9710
+ "name": "list",
9711
+ "description": "- The product list to check"
9712
+ }
9713
+ ],
9714
+ "returns": "True if the product list type is PURCHASED_TOGETHER",
9715
+ "returnType": "boolean",
9716
+ "example": "```typescript\nimport { isProductListPurchasedTogether } from \"@ikas/bp-storefront\";\nif (isProductListPurchasedTogether(productList)) {\n // Show \"Purchased Together\" section\n}\n```",
9717
+ "categories": [
9718
+ "ProductList"
9719
+ ],
9720
+ "related": [
9721
+ "isProductListStatic",
9722
+ "isProductListRecommended",
9723
+ "isProductListViewedTogether"
9724
+ ],
9725
+ "isAsync": false,
9726
+ "isClass": false,
9727
+ "parameterTypes": [
9728
+ "IkasProductList"
9729
+ ]
9730
+ },
9703
9731
  {
9704
9732
  "name": "isProductListSearch",
9705
9733
  "displayName": "isSearch",
@@ -10103,6 +10131,21 @@
10103
10131
  "IkasProductListSelectedFilterValues"
10104
10132
  ]
10105
10133
  },
10134
+ {
10135
+ "name": "productListToggleFilterCollapsed",
10136
+ "displayName": "toggleFilterCollapsed",
10137
+ "signature": "function productListToggleFilterCollapsed(filter: IkasProductFilter): void",
10138
+ "description": "",
10139
+ "params": [],
10140
+ "returnType": "void",
10141
+ "categories": [],
10142
+ "related": [],
10143
+ "isAsync": false,
10144
+ "isClass": false,
10145
+ "parameterTypes": [
10146
+ "IkasProductFilter"
10147
+ ]
10148
+ },
10106
10149
  {
10107
10150
  "name": "getProductListPrevPage",
10108
10151
  "displayName": "getPrevPage",
@@ -13567,6 +13610,36 @@
13567
13610
  "isAsync": false,
13568
13611
  "isClass": false
13569
13612
  },
13613
+ {
13614
+ "name": "bs_searchProductById",
13615
+ "displayName": "searchProductById",
13616
+ "signature": "async function bs_searchProductById(baseStore: BaseStore, params: { productId: string }): Promise<{\n isSuccess: boolean;\n product: IkasProduct | null;\n}>",
13617
+ "description": "",
13618
+ "params": [],
13619
+ "returnType": "Promise<{\n isSuccess: boolean;\n product: IkasProduct | null;\n}>",
13620
+ "categories": [],
13621
+ "related": [],
13622
+ "isAsync": true,
13623
+ "isClass": false,
13624
+ "parameterTypes": [
13625
+ "IkasProduct"
13626
+ ]
13627
+ },
13628
+ {
13629
+ "name": "bs_searchProductsById",
13630
+ "displayName": "searchProductsById",
13631
+ "signature": "async function bs_searchProductsById(baseStore: BaseStore, params: { productIds: string[] }): Promise<{\n isSuccess: boolean;\n products: IkasProduct[] | null;\n}>",
13632
+ "description": "",
13633
+ "params": [],
13634
+ "returnType": "Promise<{\n isSuccess: boolean;\n products: IkasProduct[] | null;\n}>",
13635
+ "categories": [],
13636
+ "related": [],
13637
+ "isAsync": true,
13638
+ "isClass": false,
13639
+ "parameterTypes": [
13640
+ "IkasProduct"
13641
+ ]
13642
+ },
13570
13643
  {
13571
13644
  "name": "getCheckoutUrlFromCartStore",
13572
13645
  "displayName": "getCheckoutUrl",
@@ -15188,6 +15261,115 @@
15188
15261
  "IkasCustomerStore"
15189
15262
  ]
15190
15263
  },
15264
+ {
15265
+ "name": "cs_listEarningMethods",
15266
+ "displayName": "listEarningMethods",
15267
+ "signature": "async function cs_listEarningMethods(customerStore: IkasCustomerStore): Promise<IkasLoyaltyProgramEarningMethod[] | undefined>",
15268
+ "description": "",
15269
+ "params": [],
15270
+ "returnType": "Promise<IkasLoyaltyProgramEarningMethod[] | undefined>",
15271
+ "categories": [],
15272
+ "related": [],
15273
+ "isAsync": true,
15274
+ "isClass": false,
15275
+ "parameterTypes": [
15276
+ "IkasCustomerStore",
15277
+ "IkasLoyaltyProgramEarningMethod"
15278
+ ]
15279
+ },
15280
+ {
15281
+ "name": "cs_listSpendingMethodsByCartId",
15282
+ "displayName": "listSpendingMethods",
15283
+ "signature": "async function cs_listSpendingMethodsByCartId(customerStore: IkasCustomerStore): Promise<IkasLoyaltyProgramSpendingMethod[] | undefined>",
15284
+ "description": "",
15285
+ "params": [],
15286
+ "returnType": "Promise<IkasLoyaltyProgramSpendingMethod[] | undefined>",
15287
+ "categories": [],
15288
+ "related": [],
15289
+ "isAsync": true,
15290
+ "isClass": false,
15291
+ "parameterTypes": [
15292
+ "IkasCustomerStore",
15293
+ "IkasLoyaltyProgramSpendingMethod"
15294
+ ]
15295
+ },
15296
+ {
15297
+ "name": "cs_removeLoyaltyPointsFromCart",
15298
+ "displayName": "removeLoyaltyPointsFromCart",
15299
+ "signature": "async function cs_removeLoyaltyPointsFromCart(customerStore: IkasCustomerStore): Promise<void>",
15300
+ "description": "",
15301
+ "params": [],
15302
+ "returnType": "Promise<void>",
15303
+ "categories": [],
15304
+ "related": [],
15305
+ "isAsync": true,
15306
+ "isClass": false,
15307
+ "parameterTypes": [
15308
+ "IkasCustomerStore"
15309
+ ]
15310
+ },
15311
+ {
15312
+ "name": "cs_getLoyaltyCustomerInfo",
15313
+ "displayName": "getLoyaltyCustomerInfo",
15314
+ "signature": "async function cs_getLoyaltyCustomerInfo(customerStore: IkasCustomerStore): Promise<IkasLoyaltyCustomerInfo | null>",
15315
+ "description": "",
15316
+ "params": [],
15317
+ "returnType": "Promise<IkasLoyaltyCustomerInfo | null>",
15318
+ "categories": [],
15319
+ "related": [],
15320
+ "isAsync": true,
15321
+ "isClass": false,
15322
+ "parameterTypes": [
15323
+ "IkasCustomerStore",
15324
+ "IkasLoyaltyCustomerInfo"
15325
+ ]
15326
+ },
15327
+ {
15328
+ "name": "cs_listLoyaltyProgramTiers",
15329
+ "displayName": "listLoyaltyProgramTiers",
15330
+ "signature": "async function cs_listLoyaltyProgramTiers(customerStore: IkasCustomerStore): Promise<IkasLoyaltyProgramTier[] | undefined>",
15331
+ "description": "",
15332
+ "params": [],
15333
+ "returnType": "Promise<IkasLoyaltyProgramTier[] | undefined>",
15334
+ "categories": [],
15335
+ "related": [],
15336
+ "isAsync": true,
15337
+ "isClass": false,
15338
+ "parameterTypes": [
15339
+ "IkasCustomerStore",
15340
+ "IkasLoyaltyProgramTier"
15341
+ ]
15342
+ },
15343
+ {
15344
+ "name": "cs_listLoyaltyProgramPointHistory",
15345
+ "displayName": "listLoyaltyProgramPointHistory",
15346
+ "signature": "async function cs_listLoyaltyProgramPointHistory(customerStore: IkasCustomerStore, params: ListLoyaltyProgramPointHistoryQueryParams): Promise<IkasLoyaltyProgramPointHistory[] | undefined>",
15347
+ "description": "",
15348
+ "params": [],
15349
+ "returnType": "Promise<IkasLoyaltyProgramPointHistory[] | undefined>",
15350
+ "categories": [],
15351
+ "related": [],
15352
+ "isAsync": true,
15353
+ "isClass": false,
15354
+ "parameterTypes": [
15355
+ "IkasCustomerStore",
15356
+ "IkasLoyaltyProgramPointHistory"
15357
+ ]
15358
+ },
15359
+ {
15360
+ "name": "cs_useLoyaltyPoints",
15361
+ "signature": "async function cs_useLoyaltyPoints(customerStore: IkasCustomerStore, params: UseLoyaltyPointsQueryParams): Promise<CartV2 | null>",
15362
+ "description": "",
15363
+ "params": [],
15364
+ "returnType": "Promise<CartV2 | null>",
15365
+ "categories": [],
15366
+ "related": [],
15367
+ "isAsync": true,
15368
+ "isClass": false,
15369
+ "parameterTypes": [
15370
+ "IkasCustomerStore"
15371
+ ]
15372
+ },
15191
15373
  {
15192
15374
  "name": "hasCustomer",
15193
15375
  "signature": "function hasCustomer(customerStore: IkasCustomerStore): boolean",
@@ -15786,6 +15968,36 @@
15786
15968
  "IkasOrder"
15787
15969
  ]
15788
15970
  },
15971
+ {
15972
+ "name": "openIkasStorefrontWidget",
15973
+ "signature": "function openIkasStorefrontWidget(customerStore: IkasCustomerStore): void",
15974
+ "description": "",
15975
+ "params": [],
15976
+ "returnType": "void",
15977
+ "categories": [],
15978
+ "related": [],
15979
+ "isAsync": false,
15980
+ "isClass": false,
15981
+ "parameterTypes": [
15982
+ "IkasStorefrontWidget",
15983
+ "IkasCustomerStore"
15984
+ ]
15985
+ },
15986
+ {
15987
+ "name": "closeIkasStorefrontWidget",
15988
+ "signature": "function closeIkasStorefrontWidget(customerStore: IkasCustomerStore): void",
15989
+ "description": "",
15990
+ "params": [],
15991
+ "returnType": "void",
15992
+ "categories": [],
15993
+ "related": [],
15994
+ "isAsync": false,
15995
+ "isClass": false,
15996
+ "parameterTypes": [
15997
+ "IkasStorefrontWidget",
15998
+ "IkasCustomerStore"
15999
+ ]
16000
+ },
15789
16001
  {
15790
16002
  "name": "I18n.getLocale",
15791
16003
  "signature": "static I18n.getLocale(): string",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-02-23T09:22:42.417Z",
2
+ "generatedAt": "2026-02-23T10:43:00.429Z",
3
3
  "types": [
4
4
  {
5
5
  "name": "IkasProductAttributeDetail",
@@ -3411,6 +3411,11 @@
3411
3411
  "type": "OrderAmountTypeEnum",
3412
3412
  "optional": false
3413
3413
  },
3414
+ {
3415
+ "name": "discountPercentage",
3416
+ "type": "number | null",
3417
+ "optional": false
3418
+ },
3414
3419
  {
3415
3420
  "name": "loyaltySpendingMethodId",
3416
3421
  "type": "string",
@@ -3462,7 +3467,8 @@
3462
3467
  ],
3463
3468
  "filePath": "loyalty-program/customer-info/index.ts",
3464
3469
  "relatedFunctions": [
3465
- "apiGetLoyaltyCustomerInfo"
3470
+ "apiGetLoyaltyCustomerInfo",
3471
+ "cs_getLoyaltyCustomerInfo"
3466
3472
  ]
3467
3473
  },
3468
3474
  {
@@ -3573,7 +3579,8 @@
3573
3579
  ],
3574
3580
  "filePath": "loyalty-program/earning-method/index.ts",
3575
3581
  "relatedFunctions": [
3576
- "apiListEarningMethods"
3582
+ "apiListEarningMethods",
3583
+ "cs_listEarningMethods"
3577
3584
  ]
3578
3585
  },
3579
3586
  {
@@ -3778,7 +3785,8 @@
3778
3785
  ],
3779
3786
  "filePath": "loyalty-program/point-history/index.ts",
3780
3787
  "relatedFunctions": [
3781
- "apiListLoyaltyProgramPointHistory"
3788
+ "apiListLoyaltyProgramPointHistory",
3789
+ "cs_listLoyaltyProgramPointHistory"
3782
3790
  ]
3783
3791
  },
3784
3792
  {
@@ -3859,7 +3867,8 @@
3859
3867
  ],
3860
3868
  "filePath": "loyalty-program/spending-method/index.ts",
3861
3869
  "relatedFunctions": [
3862
- "apiListSpendingMethodsByCartId"
3870
+ "apiListSpendingMethodsByCartId",
3871
+ "cs_listSpendingMethodsByCartId"
3863
3872
  ]
3864
3873
  },
3865
3874
  {
@@ -3930,7 +3939,8 @@
3930
3939
  ],
3931
3940
  "filePath": "loyalty-program/tier/index.ts",
3932
3941
  "relatedFunctions": [
3933
- "apiListLoyaltyProgramTiers"
3942
+ "apiListLoyaltyProgramTiers",
3943
+ "cs_listLoyaltyProgramTiers"
3934
3944
  ]
3935
3945
  },
3936
3946
  {
@@ -7029,6 +7039,21 @@
7029
7039
  "name": "quantity",
7030
7040
  "type": "number",
7031
7041
  "optional": true
7042
+ },
7043
+ {
7044
+ "name": "title",
7045
+ "type": "string",
7046
+ "optional": true
7047
+ },
7048
+ {
7049
+ "name": "description",
7050
+ "type": "string",
7051
+ "optional": true
7052
+ },
7053
+ {
7054
+ "name": "discountType",
7055
+ "type": "OrderAmountTypeEnum",
7056
+ "optional": true
7032
7057
  }
7033
7058
  ],
7034
7059
  "filePath": "product/campaign-offer/index.ts",
@@ -7116,6 +7141,11 @@
7116
7141
  "name": "numberRangeListOptions",
7117
7142
  "type": "IkasProductFilterNumberRangeListOption[] | null",
7118
7143
  "optional": true
7144
+ },
7145
+ {
7146
+ "name": "isCollapsed",
7147
+ "type": "boolean | null",
7148
+ "optional": true
7119
7149
  }
7120
7150
  ],
7121
7151
  "filePath": "product/filter/index.ts",
@@ -7136,7 +7166,8 @@
7136
7166
  "applyQueryParamForFilter",
7137
7167
  "clearProductListFilter",
7138
7168
  "handleFilterValueClick",
7139
- "handleNumberRangeOptionClick"
7169
+ "handleNumberRangeOptionClick",
7170
+ "productListToggleFilterCollapsed"
7140
7171
  ]
7141
7172
  },
7142
7173
  {
@@ -7703,6 +7734,8 @@
7703
7734
  "addIkasProductToFavorites",
7704
7735
  "removeIkasProductFromFavorites",
7705
7736
  "initIkasProductOptionSet",
7737
+ "bs_searchProductById",
7738
+ "bs_searchProductsById",
7706
7739
  "addItemToCart",
7707
7740
  "addSelectedtedVariantToCart",
7708
7741
  "changeItemQuantity",
@@ -8999,6 +9032,11 @@
8999
9032
  "type": "string | null",
9000
9033
  "optional": true
9001
9034
  },
9035
+ {
9036
+ "name": "recommendedProductData",
9037
+ "type": "IkasRecommendedProductProps | null",
9038
+ "optional": true
9039
+ },
9002
9040
  {
9003
9041
  "name": "relatedProductData",
9004
9042
  "type": "IkasRelatedProductProps | null",
@@ -9009,6 +9047,11 @@
9009
9047
  "type": "IkasViewedTogetherProductProps | null",
9010
9048
  "optional": true
9011
9049
  },
9050
+ {
9051
+ "name": "purchasedTogetherProductData",
9052
+ "type": "IkasPurchasedTogetherProductProps | null",
9053
+ "optional": true
9054
+ },
9012
9055
  {
9013
9056
  "name": "pageType",
9014
9057
  "type": "IkasThemePageType",
@@ -9061,6 +9104,7 @@
9061
9104
  "isProductListLastViewed",
9062
9105
  "isProductListRelatedProducts",
9063
9106
  "isProductListViewedTogether",
9107
+ "isProductListPurchasedTogether",
9064
9108
  "isProductListSearch",
9065
9109
  "hasProductListPrevPage",
9066
9110
  "hasProductListNextPage",
@@ -9122,6 +9166,24 @@
9122
9166
  ],
9123
9167
  "filePath": "product-list/index.ts"
9124
9168
  },
9169
+ {
9170
+ "name": "IkasRecommendedProductProps",
9171
+ "kind": "type",
9172
+ "domain": "product-list",
9173
+ "properties": [
9174
+ {
9175
+ "name": "brandIds",
9176
+ "type": "string[] | null",
9177
+ "optional": false
9178
+ },
9179
+ {
9180
+ "name": "categoryIds",
9181
+ "type": "string[] | null",
9182
+ "optional": false
9183
+ }
9184
+ ],
9185
+ "filePath": "product-list/index.ts"
9186
+ },
9125
9187
  {
9126
9188
  "name": "IkasRelatedProductProps",
9127
9189
  "kind": "type",
@@ -9158,6 +9220,19 @@
9158
9220
  ],
9159
9221
  "filePath": "product-list/index.ts"
9160
9222
  },
9223
+ {
9224
+ "name": "IkasPurchasedTogetherProductProps",
9225
+ "kind": "type",
9226
+ "domain": "product-list",
9227
+ "properties": [
9228
+ {
9229
+ "name": "productIds",
9230
+ "type": "string[]",
9231
+ "optional": false
9232
+ }
9233
+ ],
9234
+ "filePath": "product-list/index.ts"
9235
+ },
9161
9236
  {
9162
9237
  "name": "IkasProductOptionFileUrl",
9163
9238
  "kind": "type",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/code-components-mcp",
3
- "version": "0.36.0",
3
+ "version": "0.38.0",
4
4
  "description": "MCP server for ikas code components documentation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",