randmar-api-client 1.35.0 → 1.36.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.
|
@@ -601,10 +601,13 @@ export type PostV4ResellerByRouteResellerIdCartAddItemAndCartNameRandmarSkuDefau
|
|
|
601
601
|
quantity?: number;
|
|
602
602
|
};
|
|
603
603
|
export type PostV4ResellerByRouteResellerIdCartShippingMethodsAndCartNameApiResponse =
|
|
604
|
-
/** status 200
|
|
604
|
+
/** status 200 Returns the delivery options and their costs. */ ShippingMethodApiResponse;
|
|
605
605
|
export type PostV4ResellerByRouteResellerIdCartShippingMethodsAndCartNameApiArg = {
|
|
606
|
+
/** The application ID of the Reseller making the request. */
|
|
606
607
|
routeResellerId: string;
|
|
608
|
+
/** The name of the cart to add the item to. */
|
|
607
609
|
cartName: string;
|
|
610
|
+
/** Where to ship this order */
|
|
608
611
|
shipToDetails: ShipToDetails;
|
|
609
612
|
};
|
|
610
613
|
export type PostV4ResellerByRouteResellerIdCartProcessAndCartNameApiResponse = unknown;
|
|
@@ -614,10 +617,13 @@ export type PostV4ResellerByRouteResellerIdCartProcessAndCartNameApiArg = {
|
|
|
614
617
|
shipToLocation: ShipToLocation;
|
|
615
618
|
};
|
|
616
619
|
export type PostV4ResellerByRouteResellerIdCartProcessNewAndCartNameApiResponse =
|
|
617
|
-
/** status 200
|
|
620
|
+
/** status 200 Returns an object that contains the OrderID that was created. */ ProcessOrderNewResponse;
|
|
618
621
|
export type PostV4ResellerByRouteResellerIdCartProcessNewAndCartNameApiArg = {
|
|
622
|
+
/** The application ID of the user/reseller. */
|
|
619
623
|
routeResellerId: string;
|
|
624
|
+
/** The name of the cart to process. */
|
|
620
625
|
cartName: string;
|
|
626
|
+
/** Where and how to ship this order. */
|
|
621
627
|
processCartInput: ProcessCartInput;
|
|
622
628
|
};
|
|
623
629
|
export type GetV4ResellerByRouteResellerIdCartsApiResponse = unknown;
|
|
@@ -2774,7 +2780,7 @@ export type ProcessCartInput = {
|
|
|
2774
2780
|
ContactName?: string | null;
|
|
2775
2781
|
ContactPhone?: string | null;
|
|
2776
2782
|
ShippingMethodId?: string | null;
|
|
2777
|
-
AllowPartialShipment?: boolean
|
|
2783
|
+
AllowPartialShipment?: boolean;
|
|
2778
2784
|
ShippingSlipFileB64?: string | null;
|
|
2779
2785
|
FutureOrderDate?: string | null;
|
|
2780
2786
|
OrderOnHold?: boolean;
|
|
@@ -320,5 +320,5 @@ declare const enhancedApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs
|
|
|
320
320
|
postV4PartnerByRouteApplicationIdWarehouseAndWarehouseIdCarrierIntegrationCarrierCode: import("@reduxjs/toolkit/query").MutationDefinition<import("./randmarApi").PostV4PartnerByRouteApplicationIdWarehouseAndWarehouseIdCarrierIntegrationCarrierCodeApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "randmarApi", unknown>;
|
|
321
321
|
putV4PartnerByRouteApplicationIdWarehouse: import("@reduxjs/toolkit/query").MutationDefinition<import("./randmarApi").PutV4PartnerByRouteApplicationIdWarehouseApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "randmarApi", unknown>;
|
|
322
322
|
getV4PartnerByRouteApplicationIdWarehouses: import("@reduxjs/toolkit/query").QueryDefinition<import("./randmarApi").GetV4PartnerByRouteApplicationIdWarehousesApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, unknown, "randmarApi", unknown>;
|
|
323
|
-
}, "
|
|
323
|
+
}, "Cart" | "Conversation", never>, "randmarApi", "Cart" | "Conversation", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
324
324
|
export { enhancedApi as randmarApiWithTags };
|
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
import { randmarApi } from './randmarApi';
|
|
2
2
|
const enhancedApi = randmarApi.enhanceEndpoints({
|
|
3
|
-
addTagTypes: ['
|
|
3
|
+
addTagTypes: ['Cart', 'Conversation'],
|
|
4
4
|
endpoints: {
|
|
5
5
|
getV4PartnerByRouteApplicationIdBusinessDevelopmentConversations: {
|
|
6
|
-
providesTags: ['
|
|
6
|
+
providesTags: ['Conversation'],
|
|
7
7
|
},
|
|
8
8
|
postV4PartnerByRouteApplicationIdBusinessDevelopmentConversationPartnerAndPartnerId: {
|
|
9
|
-
invalidatesTags: ['
|
|
9
|
+
invalidatesTags: ['Conversation'],
|
|
10
|
+
},
|
|
11
|
+
getV4ResellerByRouteResellerIdCarts: {
|
|
12
|
+
providesTags: ['Cart']
|
|
13
|
+
},
|
|
14
|
+
getV4ResellerByRouteResellerIdCartAndCartName: {
|
|
15
|
+
providesTags: ['Cart']
|
|
16
|
+
},
|
|
17
|
+
postV4ResellerByRouteResellerIdCartProcessNewAndCartName: {
|
|
18
|
+
invalidatesTags: ['Cart'],
|
|
19
|
+
},
|
|
20
|
+
deleteV4ResellerByRouteResellerIdCartAndCartName: {
|
|
21
|
+
invalidatesTags: ['Cart'],
|
|
22
|
+
},
|
|
23
|
+
deleteV4ResellerByRouteResellerIdCarts: {
|
|
24
|
+
invalidatesTags: ['Cart'],
|
|
10
25
|
},
|
|
11
26
|
},
|
|
12
27
|
});
|