randmar-api-client 1.35.0 → 1.37.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 OK */ ShippingMethodApiResponse;
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 OK */ ProcessOrderNewResponse;
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 | null;
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
- }, "Conversations", never>, "randmarApi", "Conversations", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
323
+ }, "Cart" | "Conversation" | "Account", never>, "randmarApi", "Cart" | "Conversation" | "Account", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
324
324
  export { enhancedApi as randmarApiWithTags };
@@ -1,13 +1,43 @@
1
1
  import { randmarApi } from './randmarApi';
2
2
  const enhancedApi = randmarApi.enhanceEndpoints({
3
- addTagTypes: ['Conversations'],
3
+ addTagTypes: ['Cart', 'Conversation', 'Account'],
4
4
  endpoints: {
5
5
  getV4PartnerByRouteApplicationIdBusinessDevelopmentConversations: {
6
- providesTags: ['Conversations'],
6
+ providesTags: ['Conversation'],
7
7
  },
8
8
  postV4PartnerByRouteApplicationIdBusinessDevelopmentConversationPartnerAndPartnerId: {
9
- invalidatesTags: ['Conversations'],
9
+ invalidatesTags: ['Conversation'],
10
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'],
25
+ },
26
+ getV4PartnerByApplicationIdAccount: {
27
+ providesTags: ['Account'],
28
+ },
29
+ postV4PartnerByApplicationIdAccountAbout: {
30
+ invalidatesTags: ['Account'],
31
+ },
32
+ postV4PartnerByApplicationIdAccountAndFieldName: {
33
+ invalidatesTags: ['Account'],
34
+ },
35
+ putV4PartnerByApplicationIdAccountBilling: {
36
+ invalidatesTags: ['Account'],
37
+ },
38
+ postV4PartnerByApplicationIdAccountLogo: {
39
+ invalidatesTags: ['Account'],
40
+ }
11
41
  },
12
42
  });
13
43
  export { enhancedApi as randmarApiWithTags };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.35.0",
3
+ "version": "1.37.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",