@@ -791,8 +791,9 @@ export class ProductsModule {
791791 cursor ?: { updatedAt ?: string ; nmID ?: number ; total ?: number } ;
792792 } > {
793793 console . warn (
794- '[Wildberries SDK] DEPRECATION WARNING: createCardsList() is deprecated and will be removed in v3.0.0. ' +
795- 'Please migrate to getCardsList(). See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
794+ '[Wildberries SDK] FINAL WARNING: createCardsList() will be REMOVED in the NEXT version (v3.0.0). ' +
795+ 'This is your last chance to migrate to getCardsList(). ' +
796+ 'See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
796797 ) ;
797798 return this . getCardsList ( data , options ) ;
798799 }
@@ -1129,8 +1130,9 @@ export class ProductsModule {
11291130 cursor ?: { trashedAt ?: string ; nmID ?: number ; total ?: number } ;
11301131 } > {
11311132 console . warn (
1132- '[Wildberries SDK] DEPRECATION WARNING: createCardsTrash() is deprecated and will be removed in v3.0.0. ' +
1133- 'Please migrate to getTrashedCards(). See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
1133+ '[Wildberries SDK] FINAL WARNING: createCardsTrash() will be REMOVED in the NEXT version (v3.0.0). ' +
1134+ 'This is your last chance to migrate to getTrashedCards(). ' +
1135+ 'See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
11341136 ) ;
11351137 return this . getTrashedCards ( data , options ) ;
11361138 }
@@ -1608,8 +1610,9 @@ export class ProductsModule {
16081610 uploadID : number ;
16091611 } ) : Promise < GoodsBufferResponse > {
16101612 console . warn (
1611- '[Wildberries SDK] DEPRECATION WARNING: getGoodsTask2() is deprecated and will be removed in v3.0.0. ' +
1612- 'Please migrate to getBufferGoodsTask(). See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
1613+ '[Wildberries SDK] FINAL WARNING: getGoodsTask2() will be REMOVED in the NEXT version (v3.0.0). ' +
1614+ 'This is your last chance to migrate to getBufferGoodsTask(). ' +
1615+ 'See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
16131616 ) ;
16141617 return this . getBufferGoodsTask ( options ) ;
16151618 }
@@ -1786,8 +1789,9 @@ export class ProductsModule {
17861789 data : { skus : string [ ] }
17871790 ) : Promise < { stocks ?: { sku ?: string ; amount ?: number } [ ] } > {
17881791 console . warn (
1789- '[Wildberries SDK] DEPRECATION WARNING: createStock() is deprecated and will be removed in v3.0.0. ' +
1790- 'Please migrate to getStocks(). See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
1792+ '[Wildberries SDK] FINAL WARNING: createStock() will be REMOVED in the NEXT version (v3.0.0). ' +
1793+ 'This is your last chance to migrate to getStocks(). ' +
1794+ 'See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
17911795 ) ;
17921796 return this . getStocks ( warehouseId , data ) ;
17931797 }
@@ -1944,8 +1948,9 @@ export class ProductsModule {
19441948 */
19451949 async createWarehous ( data : { name : string ; officeId : number } ) : Promise < { id ?: number } > {
19461950 console . warn (
1947- '[Wildberries SDK] DEPRECATION WARNING: createWarehous() is deprecated and will be removed in v3.0.0. ' +
1948- 'Please migrate to createWarehouse(). See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
1951+ '[Wildberries SDK] FINAL WARNING: createWarehous() will be REMOVED in the NEXT version (v3.0.0). ' +
1952+ 'This is your last chance to migrate to createWarehouse(). ' +
1953+ 'See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
19491954 ) ;
19501955 return this . createWarehouse ( data ) ;
19511956 }
@@ -1992,8 +1997,9 @@ export class ProductsModule {
19921997 data : { name : string ; officeId : number }
19931998 ) : Promise < void > {
19941999 console . warn (
1995- '[Wildberries SDK] DEPRECATION WARNING: updateWarehous() is deprecated and will be removed in v3.0.0. ' +
1996- 'Please migrate to updateWarehouse(). See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
2000+ '[Wildberries SDK] FINAL WARNING: updateWarehous() will be REMOVED in the NEXT version (v3.0.0). ' +
2001+ 'This is your last chance to migrate to updateWarehouse(). ' +
2002+ 'See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
19972003 ) ;
19982004 return this . updateWarehouse ( warehouseId , data ) ;
19992005 }
@@ -2030,8 +2036,9 @@ export class ProductsModule {
20302036 */
20312037 async deleteWarehous ( warehouseId : number ) : Promise < void > {
20322038 console . warn (
2033- '[Wildberries SDK] DEPRECATION WARNING: deleteWarehous() is deprecated and will be removed in v3.0.0. ' +
2034- 'Please migrate to deleteWarehouse(). See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
2039+ '[Wildberries SDK] FINAL WARNING: deleteWarehous() will be REMOVED in the NEXT version (v3.0.0). ' +
2040+ 'This is your last chance to migrate to deleteWarehouse(). ' +
2041+ 'See: https://github.com/salacoste/daytona-wildberries-typescript-sdk/blob/main/docs/guides/migration-v3.md'
20352042 ) ;
20362043 return this . deleteWarehouse ( warehouseId ) ;
20372044 }
0 commit comments