yellowgrid-api-ts 3.2.183-dev.0 → 3.2.184-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/api.ts +23 -5
- package/dist/api.d.ts +22 -4
- package/dist/api.js +5 -5
- package/docs/SupplierProductResultsModel.md +6 -0
- package/docs/SuppliersApi.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -311,7 +311,7 @@ Class | Method | HTTP request | Description
|
|
|
311
311
|
*StockManagementApi* | [**postUploadStockOrderInvoice**](docs/StockManagementApi.md#postuploadstockorderinvoice) | **POST** /stock/orders/{id}/invoice | Upload Stock Order Supplier Invoice
|
|
312
312
|
*StockManagementApi* | [**putGetStockProduct**](docs/StockManagementApi.md#putgetstockproduct) | **PUT** /stock/products/{id} | Update Stock Product
|
|
313
313
|
*StockManagementApi* | [**putReceiveStockOrderItem**](docs/StockManagementApi.md#putreceivestockorderitem) | **PUT** /stock/orders/{order_id}/items/{item_id}/receive | Receive Stock Order Item
|
|
314
|
-
*SuppliersApi* | [**getGetSupplierItems**](docs/SuppliersApi.md#getgetsupplieritems) | **GET** /suppliers | Get Supplier Items
|
|
314
|
+
*SuppliersApi* | [**getGetSupplierItems**](docs/SuppliersApi.md#getgetsupplieritems) | **GET** /suppliers/items | Get Supplier Items
|
|
315
315
|
*SystemApi* | [**getLogSearch**](docs/SystemApi.md#getlogsearch) | **GET** /system/logs/api/search | Search for logs
|
|
316
316
|
*TicketsApi* | [**getCreateTicket**](docs/TicketsApi.md#getcreateticket) | **GET** /tickets/support |
|
|
317
317
|
*TicketsApi* | [**getGetTicket**](docs/TicketsApi.md#getgetticket) | **GET** /tickets/support/{id} |
|
package/api.ts
CHANGED
|
@@ -10685,6 +10685,24 @@ export interface SupplierProductResultsModel {
|
|
|
10685
10685
|
* @memberof SupplierProductResultsModel
|
|
10686
10686
|
*/
|
|
10687
10687
|
'results'?: Array<SupplierProductModel>;
|
|
10688
|
+
/**
|
|
10689
|
+
* Page
|
|
10690
|
+
* @type {number}
|
|
10691
|
+
* @memberof SupplierProductResultsModel
|
|
10692
|
+
*/
|
|
10693
|
+
'page'?: number;
|
|
10694
|
+
/**
|
|
10695
|
+
* Per Page
|
|
10696
|
+
* @type {number}
|
|
10697
|
+
* @memberof SupplierProductResultsModel
|
|
10698
|
+
*/
|
|
10699
|
+
'perPage'?: number;
|
|
10700
|
+
/**
|
|
10701
|
+
* Total Results
|
|
10702
|
+
* @type {number}
|
|
10703
|
+
* @memberof SupplierProductResultsModel
|
|
10704
|
+
*/
|
|
10705
|
+
'totalResults'?: number;
|
|
10688
10706
|
}
|
|
10689
10707
|
/**
|
|
10690
10708
|
* Telephony Support Ticket
|
|
@@ -33780,7 +33798,7 @@ export class StockManagementApi extends BaseAPI {
|
|
|
33780
33798
|
export const SuppliersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33781
33799
|
return {
|
|
33782
33800
|
/**
|
|
33783
|
-
* Get
|
|
33801
|
+
* Get Supplier Items
|
|
33784
33802
|
* @summary Get Supplier Items
|
|
33785
33803
|
* @param {number} [pageSize] Number Of Results
|
|
33786
33804
|
* @param {number} [page] Page Number
|
|
@@ -33789,7 +33807,7 @@ export const SuppliersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33789
33807
|
* @throws {RequiredError}
|
|
33790
33808
|
*/
|
|
33791
33809
|
getGetSupplierItems: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33792
|
-
const localVarPath = `/suppliers`;
|
|
33810
|
+
const localVarPath = `/suppliers/items`;
|
|
33793
33811
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33794
33812
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33795
33813
|
let baseOptions;
|
|
@@ -33835,7 +33853,7 @@ export const SuppliersApiFp = function(configuration?: Configuration) {
|
|
|
33835
33853
|
const localVarAxiosParamCreator = SuppliersApiAxiosParamCreator(configuration)
|
|
33836
33854
|
return {
|
|
33837
33855
|
/**
|
|
33838
|
-
* Get
|
|
33856
|
+
* Get Supplier Items
|
|
33839
33857
|
* @summary Get Supplier Items
|
|
33840
33858
|
* @param {number} [pageSize] Number Of Results
|
|
33841
33859
|
* @param {number} [page] Page Number
|
|
@@ -33860,7 +33878,7 @@ export const SuppliersApiFactory = function (configuration?: Configuration, base
|
|
|
33860
33878
|
const localVarFp = SuppliersApiFp(configuration)
|
|
33861
33879
|
return {
|
|
33862
33880
|
/**
|
|
33863
|
-
* Get
|
|
33881
|
+
* Get Supplier Items
|
|
33864
33882
|
* @summary Get Supplier Items
|
|
33865
33883
|
* @param {number} [pageSize] Number Of Results
|
|
33866
33884
|
* @param {number} [page] Page Number
|
|
@@ -33882,7 +33900,7 @@ export const SuppliersApiFactory = function (configuration?: Configuration, base
|
|
|
33882
33900
|
*/
|
|
33883
33901
|
export class SuppliersApi extends BaseAPI {
|
|
33884
33902
|
/**
|
|
33885
|
-
* Get
|
|
33903
|
+
* Get Supplier Items
|
|
33886
33904
|
* @summary Get Supplier Items
|
|
33887
33905
|
* @param {number} [pageSize] Number Of Results
|
|
33888
33906
|
* @param {number} [page] Page Number
|
package/dist/api.d.ts
CHANGED
|
@@ -10585,6 +10585,24 @@ export interface SupplierProductResultsModel {
|
|
|
10585
10585
|
* @memberof SupplierProductResultsModel
|
|
10586
10586
|
*/
|
|
10587
10587
|
'results'?: Array<SupplierProductModel>;
|
|
10588
|
+
/**
|
|
10589
|
+
* Page
|
|
10590
|
+
* @type {number}
|
|
10591
|
+
* @memberof SupplierProductResultsModel
|
|
10592
|
+
*/
|
|
10593
|
+
'page'?: number;
|
|
10594
|
+
/**
|
|
10595
|
+
* Per Page
|
|
10596
|
+
* @type {number}
|
|
10597
|
+
* @memberof SupplierProductResultsModel
|
|
10598
|
+
*/
|
|
10599
|
+
'perPage'?: number;
|
|
10600
|
+
/**
|
|
10601
|
+
* Total Results
|
|
10602
|
+
* @type {number}
|
|
10603
|
+
* @memberof SupplierProductResultsModel
|
|
10604
|
+
*/
|
|
10605
|
+
'totalResults'?: number;
|
|
10588
10606
|
}
|
|
10589
10607
|
/**
|
|
10590
10608
|
* Telephony Support Ticket
|
|
@@ -23098,7 +23116,7 @@ export declare class StockManagementApi extends BaseAPI {
|
|
|
23098
23116
|
*/
|
|
23099
23117
|
export declare const SuppliersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23100
23118
|
/**
|
|
23101
|
-
* Get
|
|
23119
|
+
* Get Supplier Items
|
|
23102
23120
|
* @summary Get Supplier Items
|
|
23103
23121
|
* @param {number} [pageSize] Number Of Results
|
|
23104
23122
|
* @param {number} [page] Page Number
|
|
@@ -23114,7 +23132,7 @@ export declare const SuppliersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
23114
23132
|
*/
|
|
23115
23133
|
export declare const SuppliersApiFp: (configuration?: Configuration) => {
|
|
23116
23134
|
/**
|
|
23117
|
-
* Get
|
|
23135
|
+
* Get Supplier Items
|
|
23118
23136
|
* @summary Get Supplier Items
|
|
23119
23137
|
* @param {number} [pageSize] Number Of Results
|
|
23120
23138
|
* @param {number} [page] Page Number
|
|
@@ -23130,7 +23148,7 @@ export declare const SuppliersApiFp: (configuration?: Configuration) => {
|
|
|
23130
23148
|
*/
|
|
23131
23149
|
export declare const SuppliersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
23132
23150
|
/**
|
|
23133
|
-
* Get
|
|
23151
|
+
* Get Supplier Items
|
|
23134
23152
|
* @summary Get Supplier Items
|
|
23135
23153
|
* @param {number} [pageSize] Number Of Results
|
|
23136
23154
|
* @param {number} [page] Page Number
|
|
@@ -23148,7 +23166,7 @@ export declare const SuppliersApiFactory: (configuration?: Configuration, basePa
|
|
|
23148
23166
|
*/
|
|
23149
23167
|
export declare class SuppliersApi extends BaseAPI {
|
|
23150
23168
|
/**
|
|
23151
|
-
* Get
|
|
23169
|
+
* Get Supplier Items
|
|
23152
23170
|
* @summary Get Supplier Items
|
|
23153
23171
|
* @param {number} [pageSize] Number Of Results
|
|
23154
23172
|
* @param {number} [page] Page Number
|
package/dist/api.js
CHANGED
|
@@ -24247,7 +24247,7 @@ var SuppliersApiAxiosParamCreator = function (configuration) {
|
|
|
24247
24247
|
var _this = this;
|
|
24248
24248
|
return {
|
|
24249
24249
|
/**
|
|
24250
|
-
* Get
|
|
24250
|
+
* Get Supplier Items
|
|
24251
24251
|
* @summary Get Supplier Items
|
|
24252
24252
|
* @param {number} [pageSize] Number Of Results
|
|
24253
24253
|
* @param {number} [page] Page Number
|
|
@@ -24264,7 +24264,7 @@ var SuppliersApiAxiosParamCreator = function (configuration) {
|
|
|
24264
24264
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
24265
24265
|
if (options === void 0) { options = {}; }
|
|
24266
24266
|
return __generator(this, function (_a) {
|
|
24267
|
-
localVarPath = "/suppliers";
|
|
24267
|
+
localVarPath = "/suppliers/items";
|
|
24268
24268
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24269
24269
|
if (configuration) {
|
|
24270
24270
|
baseOptions = configuration.baseOptions;
|
|
@@ -24302,7 +24302,7 @@ var SuppliersApiFp = function (configuration) {
|
|
|
24302
24302
|
var localVarAxiosParamCreator = (0, exports.SuppliersApiAxiosParamCreator)(configuration);
|
|
24303
24303
|
return {
|
|
24304
24304
|
/**
|
|
24305
|
-
* Get
|
|
24305
|
+
* Get Supplier Items
|
|
24306
24306
|
* @summary Get Supplier Items
|
|
24307
24307
|
* @param {number} [pageSize] Number Of Results
|
|
24308
24308
|
* @param {number} [page] Page Number
|
|
@@ -24337,7 +24337,7 @@ var SuppliersApiFactory = function (configuration, basePath, axios) {
|
|
|
24337
24337
|
var localVarFp = (0, exports.SuppliersApiFp)(configuration);
|
|
24338
24338
|
return {
|
|
24339
24339
|
/**
|
|
24340
|
-
* Get
|
|
24340
|
+
* Get Supplier Items
|
|
24341
24341
|
* @summary Get Supplier Items
|
|
24342
24342
|
* @param {number} [pageSize] Number Of Results
|
|
24343
24343
|
* @param {number} [page] Page Number
|
|
@@ -24363,7 +24363,7 @@ var SuppliersApi = /** @class */ (function (_super) {
|
|
|
24363
24363
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
24364
24364
|
}
|
|
24365
24365
|
/**
|
|
24366
|
-
* Get
|
|
24366
|
+
* Get Supplier Items
|
|
24367
24367
|
* @summary Get Supplier Items
|
|
24368
24368
|
* @param {number} [pageSize] Number Of Results
|
|
24369
24369
|
* @param {number} [page] Page Number
|
|
@@ -7,6 +7,9 @@ Supplier Product Results
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**results** | [**Array<SupplierProductModel>**](SupplierProductModel.md) | Results | [optional] [default to undefined]
|
|
10
|
+
**page** | **number** | Page | [optional] [default to undefined]
|
|
11
|
+
**perPage** | **number** | Per Page | [optional] [default to undefined]
|
|
12
|
+
**totalResults** | **number** | Total Results | [optional] [default to undefined]
|
|
10
13
|
|
|
11
14
|
## Example
|
|
12
15
|
|
|
@@ -15,6 +18,9 @@ import { SupplierProductResultsModel } from 'yellowgrid-api-ts';
|
|
|
15
18
|
|
|
16
19
|
const instance: SupplierProductResultsModel = {
|
|
17
20
|
results,
|
|
21
|
+
page,
|
|
22
|
+
perPage,
|
|
23
|
+
totalResults,
|
|
18
24
|
};
|
|
19
25
|
```
|
|
20
26
|
|
package/docs/SuppliersApi.md
CHANGED
|
@@ -4,12 +4,12 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**getGetSupplierItems**](#getgetsupplieritems) | **GET** /suppliers | Get Supplier Items|
|
|
7
|
+
|[**getGetSupplierItems**](#getgetsupplieritems) | **GET** /suppliers/items | Get Supplier Items|
|
|
8
8
|
|
|
9
9
|
# **getGetSupplierItems**
|
|
10
10
|
> SupplierProductResultsModel getGetSupplierItems()
|
|
11
11
|
|
|
12
|
-
Get
|
|
12
|
+
Get Supplier Items
|
|
13
13
|
|
|
14
14
|
### Example
|
|
15
15
|
|