@teemill/pickfaces 0.15.0 → 0.15.2
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.
- package/README.md +2 -2
- package/api.ts +120 -1518
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +26 -744
- package/dist/api.js +132 -1122
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +26 -744
- package/dist/esm/api.js +125 -1115
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
*
|
|
5
|
+
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.15.
|
|
7
|
+
* The version of the OpenAPI document: 0.15.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -662,98 +662,6 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
662
662
|
options: localVarRequestOptions,
|
|
663
663
|
};
|
|
664
664
|
},
|
|
665
|
-
/**
|
|
666
|
-
* Delete a Pickface
|
|
667
|
-
* @summary Delete Pickface
|
|
668
|
-
* @param {string} project What project it is
|
|
669
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
670
|
-
* @param {*} [options] Override http request option.
|
|
671
|
-
* @throws {RequiredError}
|
|
672
|
-
*/
|
|
673
|
-
deletePickface: async (project: string, pickfaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
674
|
-
// verify required parameter 'project' is not null or undefined
|
|
675
|
-
assertParamExists('deletePickface', 'project', project)
|
|
676
|
-
// verify required parameter 'pickfaceId' is not null or undefined
|
|
677
|
-
assertParamExists('deletePickface', 'pickfaceId', pickfaceId)
|
|
678
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
679
|
-
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
680
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
681
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
682
|
-
let baseOptions;
|
|
683
|
-
if (configuration) {
|
|
684
|
-
baseOptions = configuration.baseOptions;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
688
|
-
const localVarHeaderParameter = {} as any;
|
|
689
|
-
const localVarQueryParameter = {} as any;
|
|
690
|
-
|
|
691
|
-
// authentication session-oauth required
|
|
692
|
-
// oauth required
|
|
693
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
694
|
-
|
|
695
|
-
// authentication api-key required
|
|
696
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
697
|
-
|
|
698
|
-
if (project !== undefined) {
|
|
699
|
-
localVarQueryParameter['project'] = project;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
705
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
706
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
707
|
-
|
|
708
|
-
return {
|
|
709
|
-
url: toPathString(localVarUrlObj),
|
|
710
|
-
options: localVarRequestOptions,
|
|
711
|
-
};
|
|
712
|
-
},
|
|
713
|
-
/**
|
|
714
|
-
* Export pickfaces as a CSV file
|
|
715
|
-
* @summary Export pickfaces
|
|
716
|
-
* @param {string} project What project it is
|
|
717
|
-
* @param {*} [options] Override http request option.
|
|
718
|
-
* @throws {RequiredError}
|
|
719
|
-
*/
|
|
720
|
-
exportPickfaces: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
721
|
-
// verify required parameter 'project' is not null or undefined
|
|
722
|
-
assertParamExists('exportPickfaces', 'project', project)
|
|
723
|
-
const localVarPath = `/v1/pickfaces/export`;
|
|
724
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
725
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
726
|
-
let baseOptions;
|
|
727
|
-
if (configuration) {
|
|
728
|
-
baseOptions = configuration.baseOptions;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
732
|
-
const localVarHeaderParameter = {} as any;
|
|
733
|
-
const localVarQueryParameter = {} as any;
|
|
734
|
-
|
|
735
|
-
// authentication session-oauth required
|
|
736
|
-
// oauth required
|
|
737
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
738
|
-
|
|
739
|
-
// authentication api-key required
|
|
740
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
741
|
-
|
|
742
|
-
if (project !== undefined) {
|
|
743
|
-
localVarQueryParameter['project'] = project;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
749
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
750
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
751
|
-
|
|
752
|
-
return {
|
|
753
|
-
url: toPathString(localVarUrlObj),
|
|
754
|
-
options: localVarRequestOptions,
|
|
755
|
-
};
|
|
756
|
-
},
|
|
757
665
|
/**
|
|
758
666
|
* Get a pickface
|
|
759
667
|
* @summary Get pickface
|
|
@@ -803,62 +711,17 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
803
711
|
};
|
|
804
712
|
},
|
|
805
713
|
/**
|
|
806
|
-
* Lists
|
|
807
|
-
* @summary Get pickface container models
|
|
808
|
-
* @param {string} project What project it is
|
|
809
|
-
* @param {*} [options] Override http request option.
|
|
810
|
-
* @throws {RequiredError}
|
|
811
|
-
*/
|
|
812
|
-
getPickfaceContainerModels: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
813
|
-
// verify required parameter 'project' is not null or undefined
|
|
814
|
-
assertParamExists('getPickfaceContainerModels', 'project', project)
|
|
815
|
-
const localVarPath = `/v1/pickfaces/container-models`;
|
|
816
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
817
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
818
|
-
let baseOptions;
|
|
819
|
-
if (configuration) {
|
|
820
|
-
baseOptions = configuration.baseOptions;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
824
|
-
const localVarHeaderParameter = {} as any;
|
|
825
|
-
const localVarQueryParameter = {} as any;
|
|
826
|
-
|
|
827
|
-
// authentication session-oauth required
|
|
828
|
-
// oauth required
|
|
829
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
830
|
-
|
|
831
|
-
// authentication api-key required
|
|
832
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
833
|
-
|
|
834
|
-
if (project !== undefined) {
|
|
835
|
-
localVarQueryParameter['project'] = project;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
841
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
842
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
843
|
-
|
|
844
|
-
return {
|
|
845
|
-
url: toPathString(localVarUrlObj),
|
|
846
|
-
options: localVarRequestOptions,
|
|
847
|
-
};
|
|
848
|
-
},
|
|
849
|
-
/**
|
|
850
|
-
* Lists all pickfaces available paginated into chunks
|
|
714
|
+
* Lists all available pickfaces paginated into chunks
|
|
851
715
|
* @summary List pickfaces
|
|
852
716
|
* @param {string} project What project it is
|
|
853
717
|
* @param {string} [search] Search term to filter based on pickface code
|
|
854
718
|
* @param {number} [pageToken] Page reference token
|
|
855
719
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
856
|
-
* @param {Array<
|
|
857
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
720
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
858
721
|
* @param {*} [options] Override http request option.
|
|
859
722
|
* @throws {RequiredError}
|
|
860
723
|
*/
|
|
861
|
-
getPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number,
|
|
724
|
+
getPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
862
725
|
// verify required parameter 'project' is not null or undefined
|
|
863
726
|
assertParamExists('getPickfaces', 'project', project)
|
|
864
727
|
const localVarPath = `/v1/pickfaces`;
|
|
@@ -896,10 +759,6 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
896
759
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
897
760
|
}
|
|
898
761
|
|
|
899
|
-
if (filters) {
|
|
900
|
-
localVarQueryParameter['filters'] = filters;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
762
|
if (sortBy) {
|
|
904
763
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
905
764
|
}
|
|
@@ -915,1309 +774,186 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
915
774
|
options: localVarRequestOptions,
|
|
916
775
|
};
|
|
917
776
|
},
|
|
777
|
+
}
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* PickfacesApi - functional programming interface
|
|
782
|
+
* @export
|
|
783
|
+
*/
|
|
784
|
+
export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
785
|
+
const localVarAxiosParamCreator = PickfacesApiAxiosParamCreator(configuration)
|
|
786
|
+
return {
|
|
918
787
|
/**
|
|
919
|
-
*
|
|
920
|
-
* @summary
|
|
788
|
+
* Create a Pickface
|
|
789
|
+
* @summary Create Pickface
|
|
921
790
|
* @param {string} project What project it is
|
|
922
|
-
* @param {
|
|
923
|
-
* @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
|
|
791
|
+
* @param {CreatePickfaceRequest} createPickfaceRequest Create pickface schema
|
|
924
792
|
* @param {*} [options] Override http request option.
|
|
925
793
|
* @throws {RequiredError}
|
|
926
794
|
*/
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
// verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
|
|
933
|
-
assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest)
|
|
934
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
|
|
935
|
-
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
936
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
937
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
938
|
-
let baseOptions;
|
|
939
|
-
if (configuration) {
|
|
940
|
-
baseOptions = configuration.baseOptions;
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
944
|
-
const localVarHeaderParameter = {} as any;
|
|
945
|
-
const localVarQueryParameter = {} as any;
|
|
946
|
-
|
|
947
|
-
// authentication session-oauth required
|
|
948
|
-
// oauth required
|
|
949
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
950
|
-
|
|
951
|
-
// authentication api-key required
|
|
952
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
953
|
-
|
|
954
|
-
if (project !== undefined) {
|
|
955
|
-
localVarQueryParameter['project'] = project;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
961
|
-
|
|
962
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
963
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
964
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
965
|
-
localVarRequestOptions.data = serializeDataIfNeeded(issueEmptyPickfaceRequest, localVarRequestOptions, configuration)
|
|
966
|
-
|
|
967
|
-
return {
|
|
968
|
-
url: toPathString(localVarUrlObj),
|
|
969
|
-
options: localVarRequestOptions,
|
|
970
|
-
};
|
|
795
|
+
async createPickface(project: string, createPickfaceRequest: CreatePickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createPickface(project, createPickfaceRequest, options);
|
|
797
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
798
|
+
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.createPickface']?.[localVarOperationServerIndex]?.url;
|
|
799
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
971
800
|
},
|
|
972
801
|
/**
|
|
973
|
-
*
|
|
974
|
-
* @summary
|
|
802
|
+
* Get a pickface
|
|
803
|
+
* @summary Get pickface
|
|
975
804
|
* @param {string} project What project it is
|
|
976
805
|
* @param {string} pickfaceId Unique identifier of a pickface
|
|
977
|
-
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
978
806
|
* @param {*} [options] Override http request option.
|
|
979
807
|
* @throws {RequiredError}
|
|
980
808
|
*/
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
// verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
|
|
987
|
-
assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest)
|
|
988
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
|
|
989
|
-
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
990
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
991
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
992
|
-
let baseOptions;
|
|
993
|
-
if (configuration) {
|
|
994
|
-
baseOptions = configuration.baseOptions;
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
998
|
-
const localVarHeaderParameter = {} as any;
|
|
999
|
-
const localVarQueryParameter = {} as any;
|
|
1000
|
-
|
|
1001
|
-
// authentication session-oauth required
|
|
1002
|
-
// oauth required
|
|
1003
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1004
|
-
|
|
1005
|
-
// authentication api-key required
|
|
1006
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1007
|
-
|
|
1008
|
-
if (project !== undefined) {
|
|
1009
|
-
localVarQueryParameter['project'] = project;
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1015
|
-
|
|
1016
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1017
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1018
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1019
|
-
localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration)
|
|
1020
|
-
|
|
1021
|
-
return {
|
|
1022
|
-
url: toPathString(localVarUrlObj),
|
|
1023
|
-
options: localVarRequestOptions,
|
|
1024
|
-
};
|
|
809
|
+
async getPickface(project: string, pickfaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
810
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPickface(project, pickfaceId, options);
|
|
811
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
812
|
+
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickface']?.[localVarOperationServerIndex]?.url;
|
|
813
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1025
814
|
},
|
|
1026
815
|
/**
|
|
1027
|
-
*
|
|
1028
|
-
* @summary
|
|
816
|
+
* Lists all available pickfaces paginated into chunks
|
|
817
|
+
* @summary List pickfaces
|
|
1029
818
|
* @param {string} project What project it is
|
|
1030
|
-
* @param {string}
|
|
819
|
+
* @param {string} [search] Search term to filter based on pickface code
|
|
1031
820
|
* @param {number} [pageToken] Page reference token
|
|
1032
821
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
822
|
+
* @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1033
823
|
* @param {*} [options] Override http request option.
|
|
1034
824
|
* @throws {RequiredError}
|
|
1035
825
|
*/
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1045
|
-
let baseOptions;
|
|
1046
|
-
if (configuration) {
|
|
1047
|
-
baseOptions = configuration.baseOptions;
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1051
|
-
const localVarHeaderParameter = {} as any;
|
|
1052
|
-
const localVarQueryParameter = {} as any;
|
|
1053
|
-
|
|
1054
|
-
// authentication session-oauth required
|
|
1055
|
-
// oauth required
|
|
1056
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1057
|
-
|
|
1058
|
-
// authentication api-key required
|
|
1059
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1060
|
-
|
|
1061
|
-
if (project !== undefined) {
|
|
1062
|
-
localVarQueryParameter['project'] = project;
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
if (pageToken !== undefined) {
|
|
1066
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
if (pageSize !== undefined) {
|
|
1070
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1076
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1077
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1078
|
-
|
|
1079
|
-
return {
|
|
1080
|
-
url: toPathString(localVarUrlObj),
|
|
1081
|
-
options: localVarRequestOptions,
|
|
1082
|
-
};
|
|
1083
|
-
},
|
|
1084
|
-
/**
|
|
1085
|
-
* Move stock from one pickface to another in a single transaction
|
|
1086
|
-
* @summary Move stock
|
|
1087
|
-
* @param {string} project What project it is
|
|
1088
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1089
|
-
* @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
|
|
1090
|
-
* @param {*} [options] Override http request option.
|
|
1091
|
-
* @throws {RequiredError}
|
|
1092
|
-
*/
|
|
1093
|
-
moveStock: async (project: string, pickfaceId: string, moveStockRequest: MoveStockRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1094
|
-
// verify required parameter 'project' is not null or undefined
|
|
1095
|
-
assertParamExists('moveStock', 'project', project)
|
|
1096
|
-
// verify required parameter 'pickfaceId' is not null or undefined
|
|
1097
|
-
assertParamExists('moveStock', 'pickfaceId', pickfaceId)
|
|
1098
|
-
// verify required parameter 'moveStockRequest' is not null or undefined
|
|
1099
|
-
assertParamExists('moveStock', 'moveStockRequest', moveStockRequest)
|
|
1100
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/move`
|
|
1101
|
-
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
1102
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1103
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1104
|
-
let baseOptions;
|
|
1105
|
-
if (configuration) {
|
|
1106
|
-
baseOptions = configuration.baseOptions;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1110
|
-
const localVarHeaderParameter = {} as any;
|
|
1111
|
-
const localVarQueryParameter = {} as any;
|
|
1112
|
-
|
|
1113
|
-
// authentication session-oauth required
|
|
1114
|
-
// oauth required
|
|
1115
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1116
|
-
|
|
1117
|
-
// authentication api-key required
|
|
1118
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1119
|
-
|
|
1120
|
-
if (project !== undefined) {
|
|
1121
|
-
localVarQueryParameter['project'] = project;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1127
|
-
|
|
1128
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1129
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1130
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1131
|
-
localVarRequestOptions.data = serializeDataIfNeeded(moveStockRequest, localVarRequestOptions, configuration)
|
|
1132
|
-
|
|
1133
|
-
return {
|
|
1134
|
-
url: toPathString(localVarUrlObj),
|
|
1135
|
-
options: localVarRequestOptions,
|
|
1136
|
-
};
|
|
1137
|
-
},
|
|
1138
|
-
/**
|
|
1139
|
-
* Print a pickface label
|
|
1140
|
-
* @summary Print pickface label
|
|
1141
|
-
* @param {string} project What project it is
|
|
1142
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1143
|
-
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1144
|
-
* @param {*} [options] Override http request option.
|
|
1145
|
-
* @throws {RequiredError}
|
|
1146
|
-
*/
|
|
1147
|
-
printPickfaceLabel: async (project: string, pickfaceId: string, deviceRef: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1148
|
-
// verify required parameter 'project' is not null or undefined
|
|
1149
|
-
assertParamExists('printPickfaceLabel', 'project', project)
|
|
1150
|
-
// verify required parameter 'pickfaceId' is not null or undefined
|
|
1151
|
-
assertParamExists('printPickfaceLabel', 'pickfaceId', pickfaceId)
|
|
1152
|
-
// verify required parameter 'deviceRef' is not null or undefined
|
|
1153
|
-
assertParamExists('printPickfaceLabel', 'deviceRef', deviceRef)
|
|
1154
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}/print`
|
|
1155
|
-
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
1156
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1157
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1158
|
-
let baseOptions;
|
|
1159
|
-
if (configuration) {
|
|
1160
|
-
baseOptions = configuration.baseOptions;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1164
|
-
const localVarHeaderParameter = {} as any;
|
|
1165
|
-
const localVarQueryParameter = {} as any;
|
|
1166
|
-
|
|
1167
|
-
// authentication session-oauth required
|
|
1168
|
-
// oauth required
|
|
1169
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1170
|
-
|
|
1171
|
-
// authentication api-key required
|
|
1172
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1173
|
-
|
|
1174
|
-
if (project !== undefined) {
|
|
1175
|
-
localVarQueryParameter['project'] = project;
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
if (deviceRef !== undefined) {
|
|
1179
|
-
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1185
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1186
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1187
|
-
|
|
1188
|
-
return {
|
|
1189
|
-
url: toPathString(localVarUrlObj),
|
|
1190
|
-
options: localVarRequestOptions,
|
|
1191
|
-
};
|
|
1192
|
-
},
|
|
1193
|
-
/**
|
|
1194
|
-
* Print pickface labels
|
|
1195
|
-
* @summary Print pickface Labels
|
|
1196
|
-
* @param {string} project What project it is
|
|
1197
|
-
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1198
|
-
* @param {Array<string>} ids List of pickface ids
|
|
1199
|
-
* @param {*} [options] Override http request option.
|
|
1200
|
-
* @throws {RequiredError}
|
|
1201
|
-
*/
|
|
1202
|
-
printPickfaceLabels: async (project: string, deviceRef: string, ids: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1203
|
-
// verify required parameter 'project' is not null or undefined
|
|
1204
|
-
assertParamExists('printPickfaceLabels', 'project', project)
|
|
1205
|
-
// verify required parameter 'deviceRef' is not null or undefined
|
|
1206
|
-
assertParamExists('printPickfaceLabels', 'deviceRef', deviceRef)
|
|
1207
|
-
// verify required parameter 'ids' is not null or undefined
|
|
1208
|
-
assertParamExists('printPickfaceLabels', 'ids', ids)
|
|
1209
|
-
const localVarPath = `/v1/pickfaces/print`;
|
|
1210
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1212
|
-
let baseOptions;
|
|
1213
|
-
if (configuration) {
|
|
1214
|
-
baseOptions = configuration.baseOptions;
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1218
|
-
const localVarHeaderParameter = {} as any;
|
|
1219
|
-
const localVarQueryParameter = {} as any;
|
|
1220
|
-
|
|
1221
|
-
// authentication session-oauth required
|
|
1222
|
-
// oauth required
|
|
1223
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1224
|
-
|
|
1225
|
-
// authentication api-key required
|
|
1226
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1227
|
-
|
|
1228
|
-
if (project !== undefined) {
|
|
1229
|
-
localVarQueryParameter['project'] = project;
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
if (deviceRef !== undefined) {
|
|
1233
|
-
localVarQueryParameter['deviceRef'] = deviceRef;
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
if (ids) {
|
|
1237
|
-
localVarQueryParameter['ids'] = ids;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1243
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1244
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1245
|
-
|
|
1246
|
-
return {
|
|
1247
|
-
url: toPathString(localVarUrlObj),
|
|
1248
|
-
options: localVarRequestOptions,
|
|
1249
|
-
};
|
|
1250
|
-
},
|
|
1251
|
-
/**
|
|
1252
|
-
* Resolves an issue on a pickface
|
|
1253
|
-
* @summary Resolve pickface issue
|
|
1254
|
-
* @param {string} project What project it is
|
|
1255
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1256
|
-
* @param {*} [options] Override http request option.
|
|
1257
|
-
* @throws {RequiredError}
|
|
1258
|
-
*/
|
|
1259
|
-
resolvePickfaceIssue: async (project: string, pickfaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1260
|
-
// verify required parameter 'project' is not null or undefined
|
|
1261
|
-
assertParamExists('resolvePickfaceIssue', 'project', project)
|
|
1262
|
-
// verify required parameter 'pickfaceId' is not null or undefined
|
|
1263
|
-
assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId)
|
|
1264
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
|
|
1265
|
-
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
1266
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1267
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1268
|
-
let baseOptions;
|
|
1269
|
-
if (configuration) {
|
|
1270
|
-
baseOptions = configuration.baseOptions;
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1274
|
-
const localVarHeaderParameter = {} as any;
|
|
1275
|
-
const localVarQueryParameter = {} as any;
|
|
1276
|
-
|
|
1277
|
-
// authentication session-oauth required
|
|
1278
|
-
// oauth required
|
|
1279
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1280
|
-
|
|
1281
|
-
// authentication api-key required
|
|
1282
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1283
|
-
|
|
1284
|
-
if (project !== undefined) {
|
|
1285
|
-
localVarQueryParameter['project'] = project;
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1291
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1292
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1293
|
-
|
|
1294
|
-
return {
|
|
1295
|
-
url: toPathString(localVarUrlObj),
|
|
1296
|
-
options: localVarRequestOptions,
|
|
1297
|
-
};
|
|
1298
|
-
},
|
|
1299
|
-
/**
|
|
1300
|
-
* Suggest pickfaces for putting away stock
|
|
1301
|
-
* @summary Suggest pickfaces
|
|
1302
|
-
* @param {string} project What project it is
|
|
1303
|
-
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
1304
|
-
* @param {number} quantity Number of variants
|
|
1305
|
-
* @param {number} [pageToken] Page reference token
|
|
1306
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1307
|
-
* @param {*} [options] Override http request option.
|
|
1308
|
-
* @throws {RequiredError}
|
|
1309
|
-
*/
|
|
1310
|
-
suggestPickfaces: async (project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1311
|
-
// verify required parameter 'project' is not null or undefined
|
|
1312
|
-
assertParamExists('suggestPickfaces', 'project', project)
|
|
1313
|
-
// verify required parameter 'variantRef' is not null or undefined
|
|
1314
|
-
assertParamExists('suggestPickfaces', 'variantRef', variantRef)
|
|
1315
|
-
// verify required parameter 'quantity' is not null or undefined
|
|
1316
|
-
assertParamExists('suggestPickfaces', 'quantity', quantity)
|
|
1317
|
-
const localVarPath = `/v1/pickfaces/suggest`;
|
|
1318
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1319
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1320
|
-
let baseOptions;
|
|
1321
|
-
if (configuration) {
|
|
1322
|
-
baseOptions = configuration.baseOptions;
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1326
|
-
const localVarHeaderParameter = {} as any;
|
|
1327
|
-
const localVarQueryParameter = {} as any;
|
|
1328
|
-
|
|
1329
|
-
// authentication session-oauth required
|
|
1330
|
-
// oauth required
|
|
1331
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1332
|
-
|
|
1333
|
-
// authentication api-key required
|
|
1334
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1335
|
-
|
|
1336
|
-
if (project !== undefined) {
|
|
1337
|
-
localVarQueryParameter['project'] = project;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
if (variantRef !== undefined) {
|
|
1341
|
-
localVarQueryParameter['variantRef'] = variantRef;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
if (quantity !== undefined) {
|
|
1345
|
-
localVarQueryParameter['quantity'] = quantity;
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
if (pageToken !== undefined) {
|
|
1349
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
if (pageSize !== undefined) {
|
|
1353
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1359
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1360
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1361
|
-
|
|
1362
|
-
return {
|
|
1363
|
-
url: toPathString(localVarUrlObj),
|
|
1364
|
-
options: localVarRequestOptions,
|
|
1365
|
-
};
|
|
1366
|
-
},
|
|
1367
|
-
/**
|
|
1368
|
-
* Update a Pickface
|
|
1369
|
-
* @summary Update Pickface
|
|
1370
|
-
* @param {string} project What project it is
|
|
1371
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1372
|
-
* @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
|
|
1373
|
-
* @param {*} [options] Override http request option.
|
|
1374
|
-
* @throws {RequiredError}
|
|
1375
|
-
*/
|
|
1376
|
-
updatePickface: async (project: string, pickfaceId: string, updatePickfaceRequest: UpdatePickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1377
|
-
// verify required parameter 'project' is not null or undefined
|
|
1378
|
-
assertParamExists('updatePickface', 'project', project)
|
|
1379
|
-
// verify required parameter 'pickfaceId' is not null or undefined
|
|
1380
|
-
assertParamExists('updatePickface', 'pickfaceId', pickfaceId)
|
|
1381
|
-
// verify required parameter 'updatePickfaceRequest' is not null or undefined
|
|
1382
|
-
assertParamExists('updatePickface', 'updatePickfaceRequest', updatePickfaceRequest)
|
|
1383
|
-
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
1384
|
-
.replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
|
|
1385
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1386
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1387
|
-
let baseOptions;
|
|
1388
|
-
if (configuration) {
|
|
1389
|
-
baseOptions = configuration.baseOptions;
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1393
|
-
const localVarHeaderParameter = {} as any;
|
|
1394
|
-
const localVarQueryParameter = {} as any;
|
|
1395
|
-
|
|
1396
|
-
// authentication session-oauth required
|
|
1397
|
-
// oauth required
|
|
1398
|
-
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1399
|
-
|
|
1400
|
-
// authentication api-key required
|
|
1401
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1402
|
-
|
|
1403
|
-
if (project !== undefined) {
|
|
1404
|
-
localVarQueryParameter['project'] = project;
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1410
|
-
|
|
1411
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1412
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1413
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1414
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updatePickfaceRequest, localVarRequestOptions, configuration)
|
|
1415
|
-
|
|
1416
|
-
return {
|
|
1417
|
-
url: toPathString(localVarUrlObj),
|
|
1418
|
-
options: localVarRequestOptions,
|
|
1419
|
-
};
|
|
1420
|
-
},
|
|
1421
|
-
}
|
|
1422
|
-
};
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* PickfacesApi - functional programming interface
|
|
1426
|
-
* @export
|
|
1427
|
-
*/
|
|
1428
|
-
export const PickfacesApiFp = function(configuration?: Configuration) {
|
|
1429
|
-
const localVarAxiosParamCreator = PickfacesApiAxiosParamCreator(configuration)
|
|
1430
|
-
return {
|
|
1431
|
-
/**
|
|
1432
|
-
* Create a Pickface
|
|
1433
|
-
* @summary Create Pickface
|
|
1434
|
-
* @param {string} project What project it is
|
|
1435
|
-
* @param {CreatePickfaceRequest} createPickfaceRequest Create pickface schema
|
|
1436
|
-
* @param {*} [options] Override http request option.
|
|
1437
|
-
* @throws {RequiredError}
|
|
1438
|
-
*/
|
|
1439
|
-
async createPickface(project: string, createPickfaceRequest: CreatePickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1440
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createPickface(project, createPickfaceRequest, options);
|
|
1441
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1442
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.createPickface']?.[localVarOperationServerIndex]?.url;
|
|
1443
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1444
|
-
},
|
|
1445
|
-
/**
|
|
1446
|
-
* Delete a Pickface
|
|
1447
|
-
* @summary Delete Pickface
|
|
1448
|
-
* @param {string} project What project it is
|
|
1449
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1450
|
-
* @param {*} [options] Override http request option.
|
|
1451
|
-
* @throws {RequiredError}
|
|
1452
|
-
*/
|
|
1453
|
-
async deletePickface(project: string, pickfaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1454
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletePickface(project, pickfaceId, options);
|
|
1455
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1456
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.deletePickface']?.[localVarOperationServerIndex]?.url;
|
|
1457
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1458
|
-
},
|
|
1459
|
-
/**
|
|
1460
|
-
* Export pickfaces as a CSV file
|
|
1461
|
-
* @summary Export pickfaces
|
|
1462
|
-
* @param {string} project What project it is
|
|
1463
|
-
* @param {*} [options] Override http request option.
|
|
1464
|
-
* @throws {RequiredError}
|
|
1465
|
-
*/
|
|
1466
|
-
async exportPickfaces(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1467
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportPickfaces(project, options);
|
|
1468
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1469
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.exportPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1470
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1471
|
-
},
|
|
1472
|
-
/**
|
|
1473
|
-
* Get a pickface
|
|
1474
|
-
* @summary Get pickface
|
|
1475
|
-
* @param {string} project What project it is
|
|
1476
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1477
|
-
* @param {*} [options] Override http request option.
|
|
1478
|
-
* @throws {RequiredError}
|
|
1479
|
-
*/
|
|
1480
|
-
async getPickface(project: string, pickfaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1481
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPickface(project, pickfaceId, options);
|
|
1482
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1483
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickface']?.[localVarOperationServerIndex]?.url;
|
|
1484
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1485
|
-
},
|
|
1486
|
-
/**
|
|
1487
|
-
* Lists pickface container models
|
|
1488
|
-
* @summary Get pickface container models
|
|
1489
|
-
* @param {string} project What project it is
|
|
1490
|
-
* @param {*} [options] Override http request option.
|
|
1491
|
-
* @throws {RequiredError}
|
|
1492
|
-
*/
|
|
1493
|
-
async getPickfaceContainerModels(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerModels>> {
|
|
1494
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPickfaceContainerModels(project, options);
|
|
1495
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1496
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaceContainerModels']?.[localVarOperationServerIndex]?.url;
|
|
1497
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1498
|
-
},
|
|
1499
|
-
/**
|
|
1500
|
-
* Lists all pickfaces available paginated into chunks
|
|
1501
|
-
* @summary List pickfaces
|
|
1502
|
-
* @param {string} project What project it is
|
|
1503
|
-
* @param {string} [search] Search term to filter based on pickface code
|
|
1504
|
-
* @param {number} [pageToken] Page reference token
|
|
1505
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1506
|
-
* @param {Array<GetPickfacesFiltersEnum>} [filters] Filters to apply to the request
|
|
1507
|
-
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1508
|
-
* @param {*} [options] Override http request option.
|
|
1509
|
-
* @throws {RequiredError}
|
|
1510
|
-
*/
|
|
1511
|
-
async getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, filters?: Array<GetPickfacesFiltersEnum>, sortBy?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>> {
|
|
1512
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize, filters, sortBy, options);
|
|
1513
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1514
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1515
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1516
|
-
},
|
|
1517
|
-
/**
|
|
1518
|
-
* Issue an empty pickface
|
|
1519
|
-
* @summary Issue empty pickface
|
|
1520
|
-
* @param {string} project What project it is
|
|
1521
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1522
|
-
* @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
|
|
1523
|
-
* @param {*} [options] Override http request option.
|
|
1524
|
-
* @throws {RequiredError}
|
|
1525
|
-
*/
|
|
1526
|
-
async issueEmptyPickface(project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1527
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options);
|
|
1528
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1529
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.issueEmptyPickface']?.[localVarOperationServerIndex]?.url;
|
|
1530
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1531
|
-
},
|
|
1532
|
-
/**
|
|
1533
|
-
* Issue a pickface with wrong contents
|
|
1534
|
-
* @summary Issue wrong contents pickface
|
|
1535
|
-
* @param {string} project What project it is
|
|
1536
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1537
|
-
* @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
|
|
1538
|
-
* @param {*} [options] Override http request option.
|
|
1539
|
-
* @throws {RequiredError}
|
|
1540
|
-
*/
|
|
1541
|
-
async issueWrongContentsPickface(project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1542
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options);
|
|
1543
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1544
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.issueWrongContentsPickface']?.[localVarOperationServerIndex]?.url;
|
|
1545
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1546
|
-
},
|
|
1547
|
-
/**
|
|
1548
|
-
* Get a list of pickface logs
|
|
1549
|
-
* @summary Get pickface logs
|
|
1550
|
-
* @param {string} project What project it is
|
|
1551
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1552
|
-
* @param {number} [pageToken] Page reference token
|
|
1553
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1554
|
-
* @param {*} [options] Override http request option.
|
|
1555
|
-
* @throws {RequiredError}
|
|
1556
|
-
*/
|
|
1557
|
-
async listPickfaceLogs(project: string, pickfaceId: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaceLogs200Response>> {
|
|
1558
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPickfaceLogs(project, pickfaceId, pageToken, pageSize, options);
|
|
1559
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1560
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.listPickfaceLogs']?.[localVarOperationServerIndex]?.url;
|
|
1561
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1562
|
-
},
|
|
1563
|
-
/**
|
|
1564
|
-
* Move stock from one pickface to another in a single transaction
|
|
1565
|
-
* @summary Move stock
|
|
1566
|
-
* @param {string} project What project it is
|
|
1567
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1568
|
-
* @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
|
|
1569
|
-
* @param {*} [options] Override http request option.
|
|
1570
|
-
* @throws {RequiredError}
|
|
1571
|
-
*/
|
|
1572
|
-
async moveStock(project: string, pickfaceId: string, moveStockRequest: MoveStockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1573
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.moveStock(project, pickfaceId, moveStockRequest, options);
|
|
1574
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1575
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.moveStock']?.[localVarOperationServerIndex]?.url;
|
|
1576
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1577
|
-
},
|
|
1578
|
-
/**
|
|
1579
|
-
* Print a pickface label
|
|
1580
|
-
* @summary Print pickface label
|
|
1581
|
-
* @param {string} project What project it is
|
|
1582
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1583
|
-
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1584
|
-
* @param {*} [options] Override http request option.
|
|
1585
|
-
* @throws {RequiredError}
|
|
1586
|
-
*/
|
|
1587
|
-
async printPickfaceLabel(project: string, pickfaceId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1588
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.printPickfaceLabel(project, pickfaceId, deviceRef, options);
|
|
1589
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1590
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.printPickfaceLabel']?.[localVarOperationServerIndex]?.url;
|
|
1591
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1592
|
-
},
|
|
1593
|
-
/**
|
|
1594
|
-
* Print pickface labels
|
|
1595
|
-
* @summary Print pickface Labels
|
|
1596
|
-
* @param {string} project What project it is
|
|
1597
|
-
* @param {string} deviceRef Unique identifier of a warehouse device
|
|
1598
|
-
* @param {Array<string>} ids List of pickface ids
|
|
1599
|
-
* @param {*} [options] Override http request option.
|
|
1600
|
-
* @throws {RequiredError}
|
|
1601
|
-
*/
|
|
1602
|
-
async printPickfaceLabels(project: string, deviceRef: string, ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1603
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, ids, options);
|
|
1604
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1605
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.printPickfaceLabels']?.[localVarOperationServerIndex]?.url;
|
|
1606
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1607
|
-
},
|
|
1608
|
-
/**
|
|
1609
|
-
* Resolves an issue on a pickface
|
|
1610
|
-
* @summary Resolve pickface issue
|
|
1611
|
-
* @param {string} project What project it is
|
|
1612
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1613
|
-
* @param {*} [options] Override http request option.
|
|
1614
|
-
* @throws {RequiredError}
|
|
1615
|
-
*/
|
|
1616
|
-
async resolvePickfaceIssue(project: string, pickfaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1617
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePickfaceIssue(project, pickfaceId, options);
|
|
1618
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1619
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.resolvePickfaceIssue']?.[localVarOperationServerIndex]?.url;
|
|
1620
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1621
|
-
},
|
|
1622
|
-
/**
|
|
1623
|
-
* Suggest pickfaces for putting away stock
|
|
1624
|
-
* @summary Suggest pickfaces
|
|
1625
|
-
* @param {string} project What project it is
|
|
1626
|
-
* @param {string} variantRef Unique identifier of a warehouse variant
|
|
1627
|
-
* @param {number} quantity Number of variants
|
|
1628
|
-
* @param {number} [pageToken] Page reference token
|
|
1629
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1630
|
-
* @param {*} [options] Override http request option.
|
|
1631
|
-
* @throws {RequiredError}
|
|
1632
|
-
*/
|
|
1633
|
-
async suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>> {
|
|
1634
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
|
|
1635
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1636
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.suggestPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
1637
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1638
|
-
},
|
|
1639
|
-
/**
|
|
1640
|
-
* Update a Pickface
|
|
1641
|
-
* @summary Update Pickface
|
|
1642
|
-
* @param {string} project What project it is
|
|
1643
|
-
* @param {string} pickfaceId Unique identifier of a pickface
|
|
1644
|
-
* @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
|
|
1645
|
-
* @param {*} [options] Override http request option.
|
|
1646
|
-
* @throws {RequiredError}
|
|
1647
|
-
*/
|
|
1648
|
-
async updatePickface(project: string, pickfaceId: string, updatePickfaceRequest: UpdatePickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
|
|
1649
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePickface(project, pickfaceId, updatePickfaceRequest, options);
|
|
1650
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1651
|
-
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.updatePickface']?.[localVarOperationServerIndex]?.url;
|
|
1652
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1653
|
-
},
|
|
1654
|
-
}
|
|
1655
|
-
};
|
|
1656
|
-
|
|
1657
|
-
/**
|
|
1658
|
-
* PickfacesApi - factory interface
|
|
1659
|
-
* @export
|
|
1660
|
-
*/
|
|
1661
|
-
export const PickfacesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1662
|
-
const localVarFp = PickfacesApiFp(configuration)
|
|
1663
|
-
return {
|
|
1664
|
-
/**
|
|
1665
|
-
* Create a Pickface
|
|
1666
|
-
* @summary Create Pickface
|
|
1667
|
-
* @param {PickfacesApiCreatePickfaceRequest} requestParameters Request parameters.
|
|
1668
|
-
* @param {*} [options] Override http request option.
|
|
1669
|
-
* @throws {RequiredError}
|
|
1670
|
-
*/
|
|
1671
|
-
createPickface(requestParameters: PickfacesApiCreatePickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1672
|
-
return localVarFp.createPickface(requestParameters.project, requestParameters.createPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1673
|
-
},
|
|
1674
|
-
/**
|
|
1675
|
-
* Delete a Pickface
|
|
1676
|
-
* @summary Delete Pickface
|
|
1677
|
-
* @param {PickfacesApiDeletePickfaceRequest} requestParameters Request parameters.
|
|
1678
|
-
* @param {*} [options] Override http request option.
|
|
1679
|
-
* @throws {RequiredError}
|
|
1680
|
-
*/
|
|
1681
|
-
deletePickface(requestParameters: PickfacesApiDeletePickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1682
|
-
return localVarFp.deletePickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
1683
|
-
},
|
|
1684
|
-
/**
|
|
1685
|
-
* Export pickfaces as a CSV file
|
|
1686
|
-
* @summary Export pickfaces
|
|
1687
|
-
* @param {PickfacesApiExportPickfacesRequest} requestParameters Request parameters.
|
|
1688
|
-
* @param {*} [options] Override http request option.
|
|
1689
|
-
* @throws {RequiredError}
|
|
1690
|
-
*/
|
|
1691
|
-
exportPickfaces(requestParameters: PickfacesApiExportPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1692
|
-
return localVarFp.exportPickfaces(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1693
|
-
},
|
|
1694
|
-
/**
|
|
1695
|
-
* Get a pickface
|
|
1696
|
-
* @summary Get pickface
|
|
1697
|
-
* @param {PickfacesApiGetPickfaceRequest} requestParameters Request parameters.
|
|
1698
|
-
* @param {*} [options] Override http request option.
|
|
1699
|
-
* @throws {RequiredError}
|
|
1700
|
-
*/
|
|
1701
|
-
getPickface(requestParameters: PickfacesApiGetPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1702
|
-
return localVarFp.getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
1703
|
-
},
|
|
1704
|
-
/**
|
|
1705
|
-
* Lists pickface container models
|
|
1706
|
-
* @summary Get pickface container models
|
|
1707
|
-
* @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
|
|
1708
|
-
* @param {*} [options] Override http request option.
|
|
1709
|
-
* @throws {RequiredError}
|
|
1710
|
-
*/
|
|
1711
|
-
getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContainerModels> {
|
|
1712
|
-
return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1713
|
-
},
|
|
1714
|
-
/**
|
|
1715
|
-
* Lists all pickfaces available paginated into chunks
|
|
1716
|
-
* @summary List pickfaces
|
|
1717
|
-
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
1718
|
-
* @param {*} [options] Override http request option.
|
|
1719
|
-
* @throws {RequiredError}
|
|
1720
|
-
*/
|
|
1721
|
-
getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
|
|
1722
|
-
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.filters, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
1723
|
-
},
|
|
1724
|
-
/**
|
|
1725
|
-
* Issue an empty pickface
|
|
1726
|
-
* @summary Issue empty pickface
|
|
1727
|
-
* @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
|
|
1728
|
-
* @param {*} [options] Override http request option.
|
|
1729
|
-
* @throws {RequiredError}
|
|
1730
|
-
*/
|
|
1731
|
-
issueEmptyPickface(requestParameters: PickfacesApiIssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1732
|
-
return localVarFp.issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1733
|
-
},
|
|
1734
|
-
/**
|
|
1735
|
-
* Issue a pickface with wrong contents
|
|
1736
|
-
* @summary Issue wrong contents pickface
|
|
1737
|
-
* @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
|
|
1738
|
-
* @param {*} [options] Override http request option.
|
|
1739
|
-
* @throws {RequiredError}
|
|
1740
|
-
*/
|
|
1741
|
-
issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1742
|
-
return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1743
|
-
},
|
|
1744
|
-
/**
|
|
1745
|
-
* Get a list of pickface logs
|
|
1746
|
-
* @summary Get pickface logs
|
|
1747
|
-
* @param {PickfacesApiListPickfaceLogsRequest} requestParameters Request parameters.
|
|
1748
|
-
* @param {*} [options] Override http request option.
|
|
1749
|
-
* @throws {RequiredError}
|
|
1750
|
-
*/
|
|
1751
|
-
listPickfaceLogs(requestParameters: PickfacesApiListPickfaceLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaceLogs200Response> {
|
|
1752
|
-
return localVarFp.listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1753
|
-
},
|
|
1754
|
-
/**
|
|
1755
|
-
* Move stock from one pickface to another in a single transaction
|
|
1756
|
-
* @summary Move stock
|
|
1757
|
-
* @param {PickfacesApiMoveStockRequest} requestParameters Request parameters.
|
|
1758
|
-
* @param {*} [options] Override http request option.
|
|
1759
|
-
* @throws {RequiredError}
|
|
1760
|
-
*/
|
|
1761
|
-
moveStock(requestParameters: PickfacesApiMoveStockRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1762
|
-
return localVarFp.moveStock(requestParameters.project, requestParameters.pickfaceId, requestParameters.moveStockRequest, options).then((request) => request(axios, basePath));
|
|
1763
|
-
},
|
|
1764
|
-
/**
|
|
1765
|
-
* Print a pickface label
|
|
1766
|
-
* @summary Print pickface label
|
|
1767
|
-
* @param {PickfacesApiPrintPickfaceLabelRequest} requestParameters Request parameters.
|
|
1768
|
-
* @param {*} [options] Override http request option.
|
|
1769
|
-
* @throws {RequiredError}
|
|
1770
|
-
*/
|
|
1771
|
-
printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1772
|
-
return localVarFp.printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
|
|
1773
|
-
},
|
|
1774
|
-
/**
|
|
1775
|
-
* Print pickface labels
|
|
1776
|
-
* @summary Print pickface Labels
|
|
1777
|
-
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
1778
|
-
* @param {*} [options] Override http request option.
|
|
1779
|
-
* @throws {RequiredError}
|
|
1780
|
-
*/
|
|
1781
|
-
printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1782
|
-
return localVarFp.printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(axios, basePath));
|
|
1783
|
-
},
|
|
1784
|
-
/**
|
|
1785
|
-
* Resolves an issue on a pickface
|
|
1786
|
-
* @summary Resolve pickface issue
|
|
1787
|
-
* @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
|
|
1788
|
-
* @param {*} [options] Override http request option.
|
|
1789
|
-
* @throws {RequiredError}
|
|
1790
|
-
*/
|
|
1791
|
-
resolvePickfaceIssue(requestParameters: PickfacesApiResolvePickfaceIssueRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1792
|
-
return localVarFp.resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
1793
|
-
},
|
|
1794
|
-
/**
|
|
1795
|
-
* Suggest pickfaces for putting away stock
|
|
1796
|
-
* @summary Suggest pickfaces
|
|
1797
|
-
* @param {PickfacesApiSuggestPickfacesRequest} requestParameters Request parameters.
|
|
1798
|
-
* @param {*} [options] Override http request option.
|
|
1799
|
-
* @throws {RequiredError}
|
|
1800
|
-
*/
|
|
1801
|
-
suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
|
|
1802
|
-
return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1803
|
-
},
|
|
1804
|
-
/**
|
|
1805
|
-
* Update a Pickface
|
|
1806
|
-
* @summary Update Pickface
|
|
1807
|
-
* @param {PickfacesApiUpdatePickfaceRequest} requestParameters Request parameters.
|
|
1808
|
-
* @param {*} [options] Override http request option.
|
|
1809
|
-
* @throws {RequiredError}
|
|
1810
|
-
*/
|
|
1811
|
-
updatePickface(requestParameters: PickfacesApiUpdatePickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
1812
|
-
return localVarFp.updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(axios, basePath));
|
|
1813
|
-
},
|
|
1814
|
-
};
|
|
1815
|
-
};
|
|
1816
|
-
|
|
1817
|
-
/**
|
|
1818
|
-
* Request parameters for createPickface operation in PickfacesApi.
|
|
1819
|
-
* @export
|
|
1820
|
-
* @interface PickfacesApiCreatePickfaceRequest
|
|
1821
|
-
*/
|
|
1822
|
-
export interface PickfacesApiCreatePickfaceRequest {
|
|
1823
|
-
/**
|
|
1824
|
-
* What project it is
|
|
1825
|
-
* @type {string}
|
|
1826
|
-
* @memberof PickfacesApiCreatePickface
|
|
1827
|
-
*/
|
|
1828
|
-
readonly project: string
|
|
1829
|
-
|
|
1830
|
-
/**
|
|
1831
|
-
* Create pickface schema
|
|
1832
|
-
* @type {CreatePickfaceRequest}
|
|
1833
|
-
* @memberof PickfacesApiCreatePickface
|
|
1834
|
-
*/
|
|
1835
|
-
readonly createPickfaceRequest: CreatePickfaceRequest
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
/**
|
|
1839
|
-
* Request parameters for deletePickface operation in PickfacesApi.
|
|
1840
|
-
* @export
|
|
1841
|
-
* @interface PickfacesApiDeletePickfaceRequest
|
|
1842
|
-
*/
|
|
1843
|
-
export interface PickfacesApiDeletePickfaceRequest {
|
|
1844
|
-
/**
|
|
1845
|
-
* What project it is
|
|
1846
|
-
* @type {string}
|
|
1847
|
-
* @memberof PickfacesApiDeletePickface
|
|
1848
|
-
*/
|
|
1849
|
-
readonly project: string
|
|
1850
|
-
|
|
1851
|
-
/**
|
|
1852
|
-
* Unique identifier of a pickface
|
|
1853
|
-
* @type {string}
|
|
1854
|
-
* @memberof PickfacesApiDeletePickface
|
|
1855
|
-
*/
|
|
1856
|
-
readonly pickfaceId: string
|
|
1857
|
-
}
|
|
1858
|
-
|
|
1859
|
-
/**
|
|
1860
|
-
* Request parameters for exportPickfaces operation in PickfacesApi.
|
|
1861
|
-
* @export
|
|
1862
|
-
* @interface PickfacesApiExportPickfacesRequest
|
|
1863
|
-
*/
|
|
1864
|
-
export interface PickfacesApiExportPickfacesRequest {
|
|
1865
|
-
/**
|
|
1866
|
-
* What project it is
|
|
1867
|
-
* @type {string}
|
|
1868
|
-
* @memberof PickfacesApiExportPickfaces
|
|
1869
|
-
*/
|
|
1870
|
-
readonly project: string
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
|
-
/**
|
|
1874
|
-
* Request parameters for getPickface operation in PickfacesApi.
|
|
1875
|
-
* @export
|
|
1876
|
-
* @interface PickfacesApiGetPickfaceRequest
|
|
1877
|
-
*/
|
|
1878
|
-
export interface PickfacesApiGetPickfaceRequest {
|
|
1879
|
-
/**
|
|
1880
|
-
* What project it is
|
|
1881
|
-
* @type {string}
|
|
1882
|
-
* @memberof PickfacesApiGetPickface
|
|
1883
|
-
*/
|
|
1884
|
-
readonly project: string
|
|
1885
|
-
|
|
1886
|
-
/**
|
|
1887
|
-
* Unique identifier of a pickface
|
|
1888
|
-
* @type {string}
|
|
1889
|
-
* @memberof PickfacesApiGetPickface
|
|
1890
|
-
*/
|
|
1891
|
-
readonly pickfaceId: string
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
|
-
/**
|
|
1895
|
-
* Request parameters for getPickfaceContainerModels operation in PickfacesApi.
|
|
1896
|
-
* @export
|
|
1897
|
-
* @interface PickfacesApiGetPickfaceContainerModelsRequest
|
|
1898
|
-
*/
|
|
1899
|
-
export interface PickfacesApiGetPickfaceContainerModelsRequest {
|
|
1900
|
-
/**
|
|
1901
|
-
* What project it is
|
|
1902
|
-
* @type {string}
|
|
1903
|
-
* @memberof PickfacesApiGetPickfaceContainerModels
|
|
1904
|
-
*/
|
|
1905
|
-
readonly project: string
|
|
1906
|
-
}
|
|
1907
|
-
|
|
1908
|
-
/**
|
|
1909
|
-
* Request parameters for getPickfaces operation in PickfacesApi.
|
|
1910
|
-
* @export
|
|
1911
|
-
* @interface PickfacesApiGetPickfacesRequest
|
|
1912
|
-
*/
|
|
1913
|
-
export interface PickfacesApiGetPickfacesRequest {
|
|
1914
|
-
/**
|
|
1915
|
-
* What project it is
|
|
1916
|
-
* @type {string}
|
|
1917
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1918
|
-
*/
|
|
1919
|
-
readonly project: string
|
|
1920
|
-
|
|
1921
|
-
/**
|
|
1922
|
-
* Search term to filter based on pickface code
|
|
1923
|
-
* @type {string}
|
|
1924
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1925
|
-
*/
|
|
1926
|
-
readonly search?: string
|
|
1927
|
-
|
|
1928
|
-
/**
|
|
1929
|
-
* Page reference token
|
|
1930
|
-
* @type {number}
|
|
1931
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1932
|
-
*/
|
|
1933
|
-
readonly pageToken?: number
|
|
1934
|
-
|
|
1935
|
-
/**
|
|
1936
|
-
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1937
|
-
* @type {number}
|
|
1938
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1939
|
-
*/
|
|
1940
|
-
readonly pageSize?: number
|
|
1941
|
-
|
|
1942
|
-
/**
|
|
1943
|
-
* Filters to apply to the request
|
|
1944
|
-
* @type {Array<'empty' | 'flagged'>}
|
|
1945
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1946
|
-
*/
|
|
1947
|
-
readonly filters?: Array<GetPickfacesFiltersEnum>
|
|
1948
|
-
|
|
1949
|
-
/**
|
|
1950
|
-
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1951
|
-
* @type {Array<string>}
|
|
1952
|
-
* @memberof PickfacesApiGetPickfaces
|
|
1953
|
-
*/
|
|
1954
|
-
readonly sortBy?: Array<string>
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
|
-
/**
|
|
1958
|
-
* Request parameters for issueEmptyPickface operation in PickfacesApi.
|
|
1959
|
-
* @export
|
|
1960
|
-
* @interface PickfacesApiIssueEmptyPickfaceRequest
|
|
1961
|
-
*/
|
|
1962
|
-
export interface PickfacesApiIssueEmptyPickfaceRequest {
|
|
1963
|
-
/**
|
|
1964
|
-
* What project it is
|
|
1965
|
-
* @type {string}
|
|
1966
|
-
* @memberof PickfacesApiIssueEmptyPickface
|
|
1967
|
-
*/
|
|
1968
|
-
readonly project: string
|
|
1969
|
-
|
|
1970
|
-
/**
|
|
1971
|
-
* Unique identifier of a pickface
|
|
1972
|
-
* @type {string}
|
|
1973
|
-
* @memberof PickfacesApiIssueEmptyPickface
|
|
1974
|
-
*/
|
|
1975
|
-
readonly pickfaceId: string
|
|
1976
|
-
|
|
1977
|
-
/**
|
|
1978
|
-
* pickface issue schema
|
|
1979
|
-
* @type {IssueEmptyPickfaceRequest}
|
|
1980
|
-
* @memberof PickfacesApiIssueEmptyPickface
|
|
1981
|
-
*/
|
|
1982
|
-
readonly issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
/**
|
|
1986
|
-
* Request parameters for issueWrongContentsPickface operation in PickfacesApi.
|
|
1987
|
-
* @export
|
|
1988
|
-
* @interface PickfacesApiIssueWrongContentsPickfaceRequest
|
|
1989
|
-
*/
|
|
1990
|
-
export interface PickfacesApiIssueWrongContentsPickfaceRequest {
|
|
1991
|
-
/**
|
|
1992
|
-
* What project it is
|
|
1993
|
-
* @type {string}
|
|
1994
|
-
* @memberof PickfacesApiIssueWrongContentsPickface
|
|
1995
|
-
*/
|
|
1996
|
-
readonly project: string
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* Unique identifier of a pickface
|
|
2000
|
-
* @type {string}
|
|
2001
|
-
* @memberof PickfacesApiIssueWrongContentsPickface
|
|
2002
|
-
*/
|
|
2003
|
-
readonly pickfaceId: string
|
|
2004
|
-
|
|
2005
|
-
/**
|
|
2006
|
-
* pickface issue schema
|
|
2007
|
-
* @type {IssueWrongContentsPickfaceRequest}
|
|
2008
|
-
* @memberof PickfacesApiIssueWrongContentsPickface
|
|
2009
|
-
*/
|
|
2010
|
-
readonly issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
/**
|
|
2014
|
-
* Request parameters for listPickfaceLogs operation in PickfacesApi.
|
|
2015
|
-
* @export
|
|
2016
|
-
* @interface PickfacesApiListPickfaceLogsRequest
|
|
2017
|
-
*/
|
|
2018
|
-
export interface PickfacesApiListPickfaceLogsRequest {
|
|
2019
|
-
/**
|
|
2020
|
-
* What project it is
|
|
2021
|
-
* @type {string}
|
|
2022
|
-
* @memberof PickfacesApiListPickfaceLogs
|
|
2023
|
-
*/
|
|
2024
|
-
readonly project: string
|
|
2025
|
-
|
|
2026
|
-
/**
|
|
2027
|
-
* Unique identifier of a pickface
|
|
2028
|
-
* @type {string}
|
|
2029
|
-
* @memberof PickfacesApiListPickfaceLogs
|
|
2030
|
-
*/
|
|
2031
|
-
readonly pickfaceId: string
|
|
2032
|
-
|
|
2033
|
-
/**
|
|
2034
|
-
* Page reference token
|
|
2035
|
-
* @type {number}
|
|
2036
|
-
* @memberof PickfacesApiListPickfaceLogs
|
|
2037
|
-
*/
|
|
2038
|
-
readonly pageToken?: number
|
|
2039
|
-
|
|
2040
|
-
/**
|
|
2041
|
-
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2042
|
-
* @type {number}
|
|
2043
|
-
* @memberof PickfacesApiListPickfaceLogs
|
|
2044
|
-
*/
|
|
2045
|
-
readonly pageSize?: number
|
|
2046
|
-
}
|
|
2047
|
-
|
|
2048
|
-
/**
|
|
2049
|
-
* Request parameters for moveStock operation in PickfacesApi.
|
|
2050
|
-
* @export
|
|
2051
|
-
* @interface PickfacesApiMoveStockRequest
|
|
2052
|
-
*/
|
|
2053
|
-
export interface PickfacesApiMoveStockRequest {
|
|
2054
|
-
/**
|
|
2055
|
-
* What project it is
|
|
2056
|
-
* @type {string}
|
|
2057
|
-
* @memberof PickfacesApiMoveStock
|
|
2058
|
-
*/
|
|
2059
|
-
readonly project: string
|
|
2060
|
-
|
|
2061
|
-
/**
|
|
2062
|
-
* Unique identifier of a pickface
|
|
2063
|
-
* @type {string}
|
|
2064
|
-
* @memberof PickfacesApiMoveStock
|
|
2065
|
-
*/
|
|
2066
|
-
readonly pickfaceId: string
|
|
2067
|
-
|
|
2068
|
-
/**
|
|
2069
|
-
* Move stock from one pickface to another
|
|
2070
|
-
* @type {MoveStockRequest}
|
|
2071
|
-
* @memberof PickfacesApiMoveStock
|
|
2072
|
-
*/
|
|
2073
|
-
readonly moveStockRequest: MoveStockRequest
|
|
2074
|
-
}
|
|
826
|
+
async getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>> {
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize, sortBy, options);
|
|
828
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
829
|
+
const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaces']?.[localVarOperationServerIndex]?.url;
|
|
830
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
831
|
+
},
|
|
832
|
+
}
|
|
833
|
+
};
|
|
2075
834
|
|
|
2076
835
|
/**
|
|
2077
|
-
*
|
|
836
|
+
* PickfacesApi - factory interface
|
|
2078
837
|
* @export
|
|
2079
|
-
* @interface PickfacesApiPrintPickfaceLabelRequest
|
|
2080
838
|
*/
|
|
2081
|
-
export
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
839
|
+
export const PickfacesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
840
|
+
const localVarFp = PickfacesApiFp(configuration)
|
|
841
|
+
return {
|
|
842
|
+
/**
|
|
843
|
+
* Create a Pickface
|
|
844
|
+
* @summary Create Pickface
|
|
845
|
+
* @param {PickfacesApiCreatePickfaceRequest} requestParameters Request parameters.
|
|
846
|
+
* @param {*} [options] Override http request option.
|
|
847
|
+
* @throws {RequiredError}
|
|
848
|
+
*/
|
|
849
|
+
createPickface(requestParameters: PickfacesApiCreatePickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
850
|
+
return localVarFp.createPickface(requestParameters.project, requestParameters.createPickfaceRequest, options).then((request) => request(axios, basePath));
|
|
851
|
+
},
|
|
852
|
+
/**
|
|
853
|
+
* Get a pickface
|
|
854
|
+
* @summary Get pickface
|
|
855
|
+
* @param {PickfacesApiGetPickfaceRequest} requestParameters Request parameters.
|
|
856
|
+
* @param {*} [options] Override http request option.
|
|
857
|
+
* @throws {RequiredError}
|
|
858
|
+
*/
|
|
859
|
+
getPickface(requestParameters: PickfacesApiGetPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
|
|
860
|
+
return localVarFp.getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
|
|
861
|
+
},
|
|
862
|
+
/**
|
|
863
|
+
* Lists all available pickfaces paginated into chunks
|
|
864
|
+
* @summary List pickfaces
|
|
865
|
+
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
866
|
+
* @param {*} [options] Override http request option.
|
|
867
|
+
* @throws {RequiredError}
|
|
868
|
+
*/
|
|
869
|
+
getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
|
|
870
|
+
return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
871
|
+
},
|
|
872
|
+
};
|
|
873
|
+
};
|
|
2103
874
|
|
|
2104
875
|
/**
|
|
2105
|
-
* Request parameters for
|
|
876
|
+
* Request parameters for createPickface operation in PickfacesApi.
|
|
2106
877
|
* @export
|
|
2107
|
-
* @interface
|
|
878
|
+
* @interface PickfacesApiCreatePickfaceRequest
|
|
2108
879
|
*/
|
|
2109
|
-
export interface
|
|
880
|
+
export interface PickfacesApiCreatePickfaceRequest {
|
|
2110
881
|
/**
|
|
2111
882
|
* What project it is
|
|
2112
883
|
* @type {string}
|
|
2113
|
-
* @memberof
|
|
884
|
+
* @memberof PickfacesApiCreatePickface
|
|
2114
885
|
*/
|
|
2115
886
|
readonly project: string
|
|
2116
887
|
|
|
2117
888
|
/**
|
|
2118
|
-
*
|
|
2119
|
-
* @type {
|
|
2120
|
-
* @memberof
|
|
2121
|
-
*/
|
|
2122
|
-
readonly deviceRef: string
|
|
2123
|
-
|
|
2124
|
-
/**
|
|
2125
|
-
* List of pickface ids
|
|
2126
|
-
* @type {Array<string>}
|
|
2127
|
-
* @memberof PickfacesApiPrintPickfaceLabels
|
|
889
|
+
* Create pickface schema
|
|
890
|
+
* @type {CreatePickfaceRequest}
|
|
891
|
+
* @memberof PickfacesApiCreatePickface
|
|
2128
892
|
*/
|
|
2129
|
-
readonly
|
|
893
|
+
readonly createPickfaceRequest: CreatePickfaceRequest
|
|
2130
894
|
}
|
|
2131
895
|
|
|
2132
896
|
/**
|
|
2133
|
-
* Request parameters for
|
|
897
|
+
* Request parameters for getPickface operation in PickfacesApi.
|
|
2134
898
|
* @export
|
|
2135
|
-
* @interface
|
|
899
|
+
* @interface PickfacesApiGetPickfaceRequest
|
|
2136
900
|
*/
|
|
2137
|
-
export interface
|
|
901
|
+
export interface PickfacesApiGetPickfaceRequest {
|
|
2138
902
|
/**
|
|
2139
903
|
* What project it is
|
|
2140
904
|
* @type {string}
|
|
2141
|
-
* @memberof
|
|
905
|
+
* @memberof PickfacesApiGetPickface
|
|
2142
906
|
*/
|
|
2143
907
|
readonly project: string
|
|
2144
908
|
|
|
2145
909
|
/**
|
|
2146
910
|
* Unique identifier of a pickface
|
|
2147
911
|
* @type {string}
|
|
2148
|
-
* @memberof
|
|
912
|
+
* @memberof PickfacesApiGetPickface
|
|
2149
913
|
*/
|
|
2150
914
|
readonly pickfaceId: string
|
|
2151
915
|
}
|
|
2152
916
|
|
|
2153
917
|
/**
|
|
2154
|
-
* Request parameters for
|
|
918
|
+
* Request parameters for getPickfaces operation in PickfacesApi.
|
|
2155
919
|
* @export
|
|
2156
|
-
* @interface
|
|
920
|
+
* @interface PickfacesApiGetPickfacesRequest
|
|
2157
921
|
*/
|
|
2158
|
-
export interface
|
|
922
|
+
export interface PickfacesApiGetPickfacesRequest {
|
|
2159
923
|
/**
|
|
2160
924
|
* What project it is
|
|
2161
925
|
* @type {string}
|
|
2162
|
-
* @memberof
|
|
926
|
+
* @memberof PickfacesApiGetPickfaces
|
|
2163
927
|
*/
|
|
2164
928
|
readonly project: string
|
|
2165
929
|
|
|
2166
930
|
/**
|
|
2167
|
-
*
|
|
931
|
+
* Search term to filter based on pickface code
|
|
2168
932
|
* @type {string}
|
|
2169
|
-
* @memberof
|
|
2170
|
-
*/
|
|
2171
|
-
readonly variantRef: string
|
|
2172
|
-
|
|
2173
|
-
/**
|
|
2174
|
-
* Number of variants
|
|
2175
|
-
* @type {number}
|
|
2176
|
-
* @memberof PickfacesApiSuggestPickfaces
|
|
933
|
+
* @memberof PickfacesApiGetPickfaces
|
|
2177
934
|
*/
|
|
2178
|
-
readonly
|
|
935
|
+
readonly search?: string
|
|
2179
936
|
|
|
2180
937
|
/**
|
|
2181
938
|
* Page reference token
|
|
2182
939
|
* @type {number}
|
|
2183
|
-
* @memberof
|
|
940
|
+
* @memberof PickfacesApiGetPickfaces
|
|
2184
941
|
*/
|
|
2185
942
|
readonly pageToken?: number
|
|
2186
943
|
|
|
2187
944
|
/**
|
|
2188
945
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2189
946
|
* @type {number}
|
|
2190
|
-
* @memberof
|
|
947
|
+
* @memberof PickfacesApiGetPickfaces
|
|
2191
948
|
*/
|
|
2192
949
|
readonly pageSize?: number
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
|
-
/**
|
|
2196
|
-
* Request parameters for updatePickface operation in PickfacesApi.
|
|
2197
|
-
* @export
|
|
2198
|
-
* @interface PickfacesApiUpdatePickfaceRequest
|
|
2199
|
-
*/
|
|
2200
|
-
export interface PickfacesApiUpdatePickfaceRequest {
|
|
2201
|
-
/**
|
|
2202
|
-
* What project it is
|
|
2203
|
-
* @type {string}
|
|
2204
|
-
* @memberof PickfacesApiUpdatePickface
|
|
2205
|
-
*/
|
|
2206
|
-
readonly project: string
|
|
2207
|
-
|
|
2208
|
-
/**
|
|
2209
|
-
* Unique identifier of a pickface
|
|
2210
|
-
* @type {string}
|
|
2211
|
-
* @memberof PickfacesApiUpdatePickface
|
|
2212
|
-
*/
|
|
2213
|
-
readonly pickfaceId: string
|
|
2214
950
|
|
|
2215
951
|
/**
|
|
2216
|
-
*
|
|
2217
|
-
* @type {
|
|
2218
|
-
* @memberof
|
|
952
|
+
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
953
|
+
* @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
|
|
954
|
+
* @memberof PickfacesApiGetPickfaces
|
|
2219
955
|
*/
|
|
2220
|
-
readonly
|
|
956
|
+
readonly sortBy?: Array<GetPickfacesSortByEnum>
|
|
2221
957
|
}
|
|
2222
958
|
|
|
2223
959
|
/**
|
|
@@ -2239,30 +975,6 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2239
975
|
return PickfacesApiFp(this.configuration).createPickface(requestParameters.project, requestParameters.createPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2240
976
|
}
|
|
2241
977
|
|
|
2242
|
-
/**
|
|
2243
|
-
* Delete a Pickface
|
|
2244
|
-
* @summary Delete Pickface
|
|
2245
|
-
* @param {PickfacesApiDeletePickfaceRequest} requestParameters Request parameters.
|
|
2246
|
-
* @param {*} [options] Override http request option.
|
|
2247
|
-
* @throws {RequiredError}
|
|
2248
|
-
* @memberof PickfacesApi
|
|
2249
|
-
*/
|
|
2250
|
-
public deletePickface(requestParameters: PickfacesApiDeletePickfaceRequest, options?: RawAxiosRequestConfig) {
|
|
2251
|
-
return PickfacesApiFp(this.configuration).deletePickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
|
|
2252
|
-
}
|
|
2253
|
-
|
|
2254
|
-
/**
|
|
2255
|
-
* Export pickfaces as a CSV file
|
|
2256
|
-
* @summary Export pickfaces
|
|
2257
|
-
* @param {PickfacesApiExportPickfacesRequest} requestParameters Request parameters.
|
|
2258
|
-
* @param {*} [options] Override http request option.
|
|
2259
|
-
* @throws {RequiredError}
|
|
2260
|
-
* @memberof PickfacesApi
|
|
2261
|
-
*/
|
|
2262
|
-
public exportPickfaces(requestParameters: PickfacesApiExportPickfacesRequest, options?: RawAxiosRequestConfig) {
|
|
2263
|
-
return PickfacesApiFp(this.configuration).exportPickfaces(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
978
|
/**
|
|
2267
979
|
* Get a pickface
|
|
2268
980
|
* @summary Get pickface
|
|
@@ -2276,19 +988,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2276
988
|
}
|
|
2277
989
|
|
|
2278
990
|
/**
|
|
2279
|
-
* Lists
|
|
2280
|
-
* @summary Get pickface container models
|
|
2281
|
-
* @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
|
|
2282
|
-
* @param {*} [options] Override http request option.
|
|
2283
|
-
* @throws {RequiredError}
|
|
2284
|
-
* @memberof PickfacesApi
|
|
2285
|
-
*/
|
|
2286
|
-
public getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig) {
|
|
2287
|
-
return PickfacesApiFp(this.configuration).getPickfaceContainerModels(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2288
|
-
}
|
|
2289
|
-
|
|
2290
|
-
/**
|
|
2291
|
-
* Lists all pickfaces available paginated into chunks
|
|
991
|
+
* Lists all available pickfaces paginated into chunks
|
|
2292
992
|
* @summary List pickfaces
|
|
2293
993
|
* @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
|
|
2294
994
|
* @param {*} [options] Override http request option.
|
|
@@ -2296,125 +996,27 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2296
996
|
* @memberof PickfacesApi
|
|
2297
997
|
*/
|
|
2298
998
|
public getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig) {
|
|
2299
|
-
return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
/**
|
|
2303
|
-
* Issue an empty pickface
|
|
2304
|
-
* @summary Issue empty pickface
|
|
2305
|
-
* @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
|
|
2306
|
-
* @param {*} [options] Override http request option.
|
|
2307
|
-
* @throws {RequiredError}
|
|
2308
|
-
* @memberof PickfacesApi
|
|
2309
|
-
*/
|
|
2310
|
-
public issueEmptyPickface(requestParameters: PickfacesApiIssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig) {
|
|
2311
|
-
return PickfacesApiFp(this.configuration).issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
/**
|
|
2315
|
-
* Issue a pickface with wrong contents
|
|
2316
|
-
* @summary Issue wrong contents pickface
|
|
2317
|
-
* @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
|
|
2318
|
-
* @param {*} [options] Override http request option.
|
|
2319
|
-
* @throws {RequiredError}
|
|
2320
|
-
* @memberof PickfacesApi
|
|
2321
|
-
*/
|
|
2322
|
-
public issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig) {
|
|
2323
|
-
return PickfacesApiFp(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2324
|
-
}
|
|
2325
|
-
|
|
2326
|
-
/**
|
|
2327
|
-
* Get a list of pickface logs
|
|
2328
|
-
* @summary Get pickface logs
|
|
2329
|
-
* @param {PickfacesApiListPickfaceLogsRequest} requestParameters Request parameters.
|
|
2330
|
-
* @param {*} [options] Override http request option.
|
|
2331
|
-
* @throws {RequiredError}
|
|
2332
|
-
* @memberof PickfacesApi
|
|
2333
|
-
*/
|
|
2334
|
-
public listPickfaceLogs(requestParameters: PickfacesApiListPickfaceLogsRequest, options?: RawAxiosRequestConfig) {
|
|
2335
|
-
return PickfacesApiFp(this.configuration).listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2336
|
-
}
|
|
2337
|
-
|
|
2338
|
-
/**
|
|
2339
|
-
* Move stock from one pickface to another in a single transaction
|
|
2340
|
-
* @summary Move stock
|
|
2341
|
-
* @param {PickfacesApiMoveStockRequest} requestParameters Request parameters.
|
|
2342
|
-
* @param {*} [options] Override http request option.
|
|
2343
|
-
* @throws {RequiredError}
|
|
2344
|
-
* @memberof PickfacesApi
|
|
2345
|
-
*/
|
|
2346
|
-
public moveStock(requestParameters: PickfacesApiMoveStockRequest, options?: RawAxiosRequestConfig) {
|
|
2347
|
-
return PickfacesApiFp(this.configuration).moveStock(requestParameters.project, requestParameters.pickfaceId, requestParameters.moveStockRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
|
-
/**
|
|
2351
|
-
* Print a pickface label
|
|
2352
|
-
* @summary Print pickface label
|
|
2353
|
-
* @param {PickfacesApiPrintPickfaceLabelRequest} requestParameters Request parameters.
|
|
2354
|
-
* @param {*} [options] Override http request option.
|
|
2355
|
-
* @throws {RequiredError}
|
|
2356
|
-
* @memberof PickfacesApi
|
|
2357
|
-
*/
|
|
2358
|
-
public printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig) {
|
|
2359
|
-
return PickfacesApiFp(this.configuration).printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(this.axios, this.basePath));
|
|
2360
|
-
}
|
|
2361
|
-
|
|
2362
|
-
/**
|
|
2363
|
-
* Print pickface labels
|
|
2364
|
-
* @summary Print pickface Labels
|
|
2365
|
-
* @param {PickfacesApiPrintPickfaceLabelsRequest} requestParameters Request parameters.
|
|
2366
|
-
* @param {*} [options] Override http request option.
|
|
2367
|
-
* @throws {RequiredError}
|
|
2368
|
-
* @memberof PickfacesApi
|
|
2369
|
-
*/
|
|
2370
|
-
public printPickfaceLabels(requestParameters: PickfacesApiPrintPickfaceLabelsRequest, options?: RawAxiosRequestConfig) {
|
|
2371
|
-
return PickfacesApiFp(this.configuration).printPickfaceLabels(requestParameters.project, requestParameters.deviceRef, requestParameters.ids, options).then((request) => request(this.axios, this.basePath));
|
|
2372
|
-
}
|
|
2373
|
-
|
|
2374
|
-
/**
|
|
2375
|
-
* Resolves an issue on a pickface
|
|
2376
|
-
* @summary Resolve pickface issue
|
|
2377
|
-
* @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
|
|
2378
|
-
* @param {*} [options] Override http request option.
|
|
2379
|
-
* @throws {RequiredError}
|
|
2380
|
-
* @memberof PickfacesApi
|
|
2381
|
-
*/
|
|
2382
|
-
public resolvePickfaceIssue(requestParameters: PickfacesApiResolvePickfaceIssueRequest, options?: RawAxiosRequestConfig) {
|
|
2383
|
-
return PickfacesApiFp(this.configuration).resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
|
|
2384
|
-
}
|
|
2385
|
-
|
|
2386
|
-
/**
|
|
2387
|
-
* Suggest pickfaces for putting away stock
|
|
2388
|
-
* @summary Suggest pickfaces
|
|
2389
|
-
* @param {PickfacesApiSuggestPickfacesRequest} requestParameters Request parameters.
|
|
2390
|
-
* @param {*} [options] Override http request option.
|
|
2391
|
-
* @throws {RequiredError}
|
|
2392
|
-
* @memberof PickfacesApi
|
|
2393
|
-
*/
|
|
2394
|
-
public suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig) {
|
|
2395
|
-
return PickfacesApiFp(this.configuration).suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2398
|
-
/**
|
|
2399
|
-
* Update a Pickface
|
|
2400
|
-
* @summary Update Pickface
|
|
2401
|
-
* @param {PickfacesApiUpdatePickfaceRequest} requestParameters Request parameters.
|
|
2402
|
-
* @param {*} [options] Override http request option.
|
|
2403
|
-
* @throws {RequiredError}
|
|
2404
|
-
* @memberof PickfacesApi
|
|
2405
|
-
*/
|
|
2406
|
-
public updatePickface(requestParameters: PickfacesApiUpdatePickfaceRequest, options?: RawAxiosRequestConfig) {
|
|
2407
|
-
return PickfacesApiFp(this.configuration).updatePickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.updatePickfaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
999
|
+
return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
2408
1000
|
}
|
|
2409
1001
|
}
|
|
2410
1002
|
|
|
2411
1003
|
/**
|
|
2412
1004
|
* @export
|
|
2413
1005
|
*/
|
|
2414
|
-
export const
|
|
2415
|
-
|
|
2416
|
-
|
|
1006
|
+
export const GetPickfacesSortByEnum = {
|
|
1007
|
+
Available: '+available',
|
|
1008
|
+
Available2: '-available',
|
|
1009
|
+
Wip: '+wip',
|
|
1010
|
+
Wip2: '-wip',
|
|
1011
|
+
Total: '+total',
|
|
1012
|
+
Total2: '-total',
|
|
1013
|
+
Fullness: '+fullness',
|
|
1014
|
+
Fullness2: '-fullness',
|
|
1015
|
+
Restocked: '+restocked',
|
|
1016
|
+
Restocked2: '-restocked',
|
|
1017
|
+
Picked: '+picked',
|
|
1018
|
+
Picked2: '-picked'
|
|
2417
1019
|
} as const;
|
|
2418
|
-
export type
|
|
1020
|
+
export type GetPickfacesSortByEnum = typeof GetPickfacesSortByEnum[keyof typeof GetPickfacesSortByEnum];
|
|
2419
1021
|
|
|
2420
1022
|
|