randmar-api-client 1.103.0 → 1.104.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.
@@ -8,6 +8,42 @@ const enhancedApi = randmarApi.enhanceEndpoints({
8
8
  getV4ResellerByRouteResellerIdProductAndRandmarSku: {
9
9
  providesTags: ['Product'],
10
10
  },
11
+ getV4ResellerByRouteResellerIdProductsNiches: {
12
+ providesTags: ['Product'],
13
+ },
14
+ getV4ResellerByRouteResellerIdProductsReceivings: {
15
+ providesTags: ['Product'],
16
+ },
17
+ getV4ResellerByRouteResellerIdProductsInstantRebates: {
18
+ providesTags: ['Product'],
19
+ },
20
+ getV4ResellerByRouteResellerIdProductsNewest: {
21
+ providesTags: ['Product'],
22
+ },
23
+ postV4ResellerByRouteResellerIdProductAndRandmarSkuShopify: {
24
+ invalidatesTags: ['Product'],
25
+ },
26
+ putV4ResellerByRouteResellerIdProductAndRandmarSkuRequisition: {
27
+ invalidatesTags: ['Product'],
28
+ },
29
+ putV4ResellerByRouteResellerIdProductAndRandmarSkuSerialize: {
30
+ invalidatesTags: ['Product'],
31
+ },
32
+ getV4PartnerByRouteApplicationIdProducts: {
33
+ providesTags: ['Product'],
34
+ },
35
+ getV4PartnerByRouteApplicationIdProductAndRandmarSku: {
36
+ providesTags: ['Product'],
37
+ },
38
+ getV4PartnerByRouteApplicationIdProductAndRandmarSkuLocationDetailsWarehouseId: {
39
+ providesTags: ['Product'],
40
+ },
41
+ putV4PartnerByRouteApplicationIdProductAndRandmarSkuLocationDetailsWarehouseId: {
42
+ invalidatesTags: ['Product'],
43
+ },
44
+ putV4PartnerByRouteApplicationIdProductAndRandmarSkuShort: {
45
+ invalidatesTags: ['Product'],
46
+ },
11
47
  getV4PartnerByApplicationIdAccountReseller: {
12
48
  providesTags: ['Reseller'],
13
49
  },
@@ -41,6 +77,12 @@ const enhancedApi = randmarApi.enhanceEndpoints({
41
77
  getV4PartnerByApplicationIdAccount: {
42
78
  providesTags: ['Account'],
43
79
  },
80
+ getV4PartnerByApplicationIdAccountLogoExists: {
81
+ providesTags: ['Account'],
82
+ },
83
+ getV4PartnerByApplicationIdAccountVideoExists: {
84
+ providesTags: ['Account'],
85
+ },
44
86
  postV4PartnerByApplicationIdAccountAbout: {
45
87
  query: (arg) => ({
46
88
  url: `/V4/Partner/${arg.applicationId}/Account/About`,
@@ -59,6 +101,12 @@ const enhancedApi = randmarApi.enhanceEndpoints({
59
101
  },
60
102
  invalidatesTags: ['Account'],
61
103
  },
104
+ postV4PartnerByApplicationIdAccountVideo: {
105
+ invalidatesTags: ['Account'],
106
+ },
107
+ putV4PartnerByApplicationIdAccountVideo: {
108
+ invalidatesTags: ['Account'],
109
+ },
62
110
  postV4PartnerByApplicationIdAccountAndFieldName: {
63
111
  query: (arg) => ({
64
112
  url: `/V4/Partner/${arg.applicationId}/Account/${arg.fieldName}?newValue=${encodeURIComponent(arg.newValue)}`,
@@ -336,6 +384,9 @@ const enhancedApi = randmarApi.enhanceEndpoints({
336
384
  getV4PartnerByApplicationIdAccountManufacturer: {
337
385
  providesTags: ['Manufacturer'],
338
386
  },
387
+ putV4PartnerByApplicationIdAccountManufacturer: {
388
+ invalidatesTags: ['Manufacturer'],
389
+ },
339
390
  postV4PartnerByApplicationIdAccountManufacturerAbout: {
340
391
  query: (arg) => ({
341
392
  url: `/V4/Partner/${arg.applicationId}/Account/Manufacturer/About`,
@@ -387,7 +438,8 @@ const enhancedApi = randmarApi.enhanceEndpoints({
387
438
  }),
388
439
  transformResponse: (response) => {
389
440
  return window.URL.createObjectURL(response);
390
- }
441
+ },
442
+ providesTags: ['Account'],
391
443
  },
392
444
  getV4PartnerByApplicationIdAccountVideo: {
393
445
  query: (arg) => ({
@@ -397,7 +449,8 @@ const enhancedApi = randmarApi.enhanceEndpoints({
397
449
  }),
398
450
  transformResponse: (response) => {
399
451
  return window.URL.createObjectURL(response);
400
- }
452
+ },
453
+ providesTags: ['Account'],
401
454
  },
402
455
  getProductByRandmarSkuImage: {
403
456
  query: (arg) => ({
@@ -439,6 +492,7 @@ const enhancedApi = randmarApi.enhanceEndpoints({
439
492
  }
440
493
  return true;
441
494
  },
495
+ invalidatesTags: ['Manufacturer'],
442
496
  },
443
497
  }
444
498
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.103.0",
3
+ "version": "1.104.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",