randmar-api-client 1.70.0 → 1.72.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.
@@ -728,7 +728,7 @@ export type PostV4ResellerByRouteResellerIdCartProcessAndCartNameApiArg = {
728
728
  shipToLocation: ShipToLocation;
729
729
  };
730
730
  export type PostV4ResellerByRouteResellerIdCartProcessNewAndCartNameApiResponse =
731
- /** status 200 Returns an object that contains the OrderID that was created. */ ProcessOrderNewResponse;
731
+ /** status 200 Returns an object that contains the OrderID that was created. If this fails, make sure items are in stock and have a bid number (when needed). */ ProcessOrderNewResponse;
732
732
  export type PostV4ResellerByRouteResellerIdCartProcessNewAndCartNameApiArg = {
733
733
  /** The application ID of the user/reseller. */
734
734
  routeResellerId: string;
@@ -3202,6 +3202,15 @@ export type Distribution = {
3202
3202
  Currency?: string | null;
3203
3203
  };
3204
3204
  export type Credit = {
3205
+ ShipToAddress1?: string | null;
3206
+ ShipToAddress2?: string | null;
3207
+ ShipToCity?: string | null;
3208
+ ShipToProvince?: string | null;
3209
+ ShipToPostalCode?: string | null;
3210
+ ShipToCountry?: string | null;
3211
+ SubTotal?: number;
3212
+ Total?: number;
3213
+ Payed?: boolean;
3205
3214
  ExtendedPrice?: number;
3206
3215
  QuantityBackOrder?: number;
3207
3216
  QuantityOrdered?: number;
@@ -3325,6 +3334,27 @@ export type SalesStatistic = {
3325
3334
  RandmarSKU?: string | null;
3326
3335
  };
3327
3336
  export type Shipment = {
3337
+ OrderDate?: number;
3338
+ EndUserPONumber?: string | null;
3339
+ ShipVia?: string | null;
3340
+ ShipViaDescription?: string | null;
3341
+ TrackingNumber?: string | null;
3342
+ ShipToStreet1?: string | null;
3343
+ ShipToStreet2?: string | null;
3344
+ ShipToCity?: string | null;
3345
+ ShipToProvince?: string | null;
3346
+ ShipToPostalCode?: string | null;
3347
+ ShipToCountry?: string | null;
3348
+ ShipToContactName?: string | null;
3349
+ ShipToContactPhone?: string | null;
3350
+ Terms?: string | null;
3351
+ RealShippingCost?: number | null;
3352
+ TheoreticalWeight?: number;
3353
+ ShippingSlipComment?: string | null;
3354
+ SubTotal?: number;
3355
+ TaxAmount1?: number;
3356
+ TaxAmount2?: number;
3357
+ Total?: number;
3328
3358
  ExtendedPrice?: number;
3329
3359
  QuantityBackOrder?: number;
3330
3360
  QuantityOrdered?: number;
@@ -3825,6 +3855,8 @@ export type CustomerDetails = {
3825
3855
  export type OrderLineItem = {
3826
3856
  /** The order number this line item belongs to */
3827
3857
  OrderNumber?: string | null;
3858
+ SerialNumbers?: string[] | null;
3859
+ TransparencyCodes?: string[] | null;
3828
3860
  /** The name of the reseller */
3829
3861
  ResellerName?: string | null;
3830
3862
  /** The name of the shipping recipient */
@@ -3887,6 +3919,7 @@ export type OrderCharge = {
3887
3919
  export type OrderDocument = {
3888
3920
  /** The unique identifier of the reseller */
3889
3921
  ResellerId?: string | null;
3922
+ Returns?: Return[] | null;
3890
3923
  /** The unique order number */
3891
3924
  OrderNumber?: string | null;
3892
3925
  /** The date when the order was placed (format: YYYYMMDD) */
@@ -329,5 +329,5 @@ declare const enhancedApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs
329
329
  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>;
330
330
  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, string, "randmarApi", unknown>;
331
331
  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, import("./randmarApi").GetV4PartnerByRouteApplicationIdWarehousesApiResponse, "randmarApi", unknown>;
332
- }, "Reseller" | "Manufacturer" | "Cart" | "Conversation" | "Account" | "Unread" | "Warehouse" | "WarehouseList" | "Users" | "Integration" | "Shopify" | "Logs", never>, "randmarApi", "Reseller" | "Manufacturer" | "Cart" | "Conversation" | "Account" | "Unread" | "Warehouse" | "WarehouseList" | "Users" | "Integration" | "Shopify" | "Logs", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
332
+ }, "Reseller" | "Manufacturer" | "Cart" | "Conversation" | "Account" | "Product" | "Unread" | "Warehouse" | "WarehouseList" | "Users" | "Integration" | "Shopify" | "Logs", never>, "randmarApi", "Reseller" | "Manufacturer" | "Cart" | "Conversation" | "Account" | "Product" | "Unread" | "Warehouse" | "WarehouseList" | "Users" | "Integration" | "Shopify" | "Logs", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
333
333
  export { enhancedApi as randmarApiWithTags };
@@ -1,10 +1,13 @@
1
1
  import { randmarApi } from './randmarApi';
2
2
  const enhancedApi = randmarApi.enhanceEndpoints({
3
- addTagTypes: ['Cart', 'Conversation', 'Account', 'Reseller', 'Unread', 'Warehouse', 'WarehouseList', 'Users', 'Integration', 'Shopify', 'Logs', 'Manufacturer'],
3
+ addTagTypes: ['Cart', 'Conversation', 'Account', 'Product', 'Reseller', 'Unread', 'Warehouse', 'WarehouseList', 'Users', 'Integration', 'Shopify', 'Logs', 'Manufacturer'],
4
4
  endpoints: {
5
5
  getV4PartnerByRouteApplicationIdBusinessDevelopmentConversationsHasUnreads: {
6
6
  providesTags: ['Unread'],
7
7
  },
8
+ getV4ResellerByRouteResellerIdProductAndRandmarSku: {
9
+ providesTags: ['Product'],
10
+ },
8
11
  getV4PartnerByApplicationIdAccountReseller: {
9
12
  providesTags: ['Reseller'],
10
13
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.70.0",
3
+ "version": "1.72.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",