yellowgrid-api-ts 3.2.236 → 3.2.238

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.
@@ -250,7 +250,11 @@ docs/StockTransactionsEntity.md
250
250
  docs/SupplierEntity.md
251
251
  docs/SupplierItemEntity.md
252
252
  docs/SupplierItemModel.md
253
+ docs/SupplierItemsResultsDTO.md
253
254
  docs/SupplierModel.md
255
+ docs/SupplierProductModel.md
256
+ docs/SupplierProductResultsModel.md
257
+ docs/SuppliersApi.md
254
258
  docs/SupportTicketModel.md
255
259
  docs/SystemApi.md
256
260
  docs/TableHistoryEntity.md
package/README.md CHANGED
@@ -313,6 +313,10 @@ Class | Method | HTTP request | Description
313
313
  *StockManagementApi* | [**postUploadStockOrderInvoice**](docs/StockManagementApi.md#postuploadstockorderinvoice) | **POST** /stock/orders/{id}/invoice | Upload Stock Order Supplier Invoice
314
314
  *StockManagementApi* | [**putGetStockProduct**](docs/StockManagementApi.md#putgetstockproduct) | **PUT** /stock/products/{id} | Update Stock Product
315
315
  *StockManagementApi* | [**putReceiveStockOrderItem**](docs/StockManagementApi.md#putreceivestockorderitem) | **PUT** /stock/orders/{order_id}/items/{item_id}/receive | Receive Stock Order Item
316
+ *SuppliersApi* | [**getGetSupplierItem**](docs/SuppliersApi.md#getgetsupplieritem) | **GET** /suppliers/items/{id} | Get Supplier Item
317
+ *SuppliersApi* | [**getGetSupplierItems**](docs/SuppliersApi.md#getgetsupplieritems) | **GET** /suppliers/items | Get Supplier Items
318
+ *SuppliersApi* | [**getGetSuppliers**](docs/SuppliersApi.md#getgetsuppliers) | **GET** /suppliers | Get Suppliers
319
+ *SuppliersApi* | [**putGetSupplierItem**](docs/SuppliersApi.md#putgetsupplieritem) | **PUT** /suppliers/items/{id} | Update Supplier Product
316
320
  *SystemApi* | [**getLogSearch**](docs/SystemApi.md#getlogsearch) | **GET** /system/logs/api/search | Search for logs
317
321
  *TicketsApi* | [**getCreateTicket**](docs/TicketsApi.md#getcreateticket) | **GET** /tickets/support |
318
322
  *TicketsApi* | [**getGetTicket**](docs/TicketsApi.md#getgetticket) | **GET** /tickets/support/{id} |
@@ -547,7 +551,10 @@ Class | Method | HTTP request | Description
547
551
  - [SupplierEntity](docs/SupplierEntity.md)
548
552
  - [SupplierItemEntity](docs/SupplierItemEntity.md)
549
553
  - [SupplierItemModel](docs/SupplierItemModel.md)
554
+ - [SupplierItemsResultsDTO](docs/SupplierItemsResultsDTO.md)
550
555
  - [SupplierModel](docs/SupplierModel.md)
556
+ - [SupplierProductModel](docs/SupplierProductModel.md)
557
+ - [SupplierProductResultsModel](docs/SupplierProductResultsModel.md)
551
558
  - [SupportTicketModel](docs/SupportTicketModel.md)
552
559
  - [TableHistoryEntity](docs/TableHistoryEntity.md)
553
560
  - [TcxBackupEntity](docs/TcxBackupEntity.md)
package/api.ts CHANGED
@@ -7125,6 +7125,16 @@ export interface SupplierItemModel {
7125
7125
  * supplierSku
7126
7126
  */
7127
7127
  'supplierSku'?: string;
7128
+ 'supplier'?: SupplierModel;
7129
+ }
7130
+ /**
7131
+ * Supplier Item Results
7132
+ */
7133
+ export interface SupplierItemsResultsDTO {
7134
+ /**
7135
+ * Results
7136
+ */
7137
+ 'results'?: Array<SupplierItemModel>;
7128
7138
  }
7129
7139
  /**
7130
7140
  * Supplier
@@ -7167,6 +7177,44 @@ export interface SupplierModel {
7167
7177
  */
7168
7178
  'xeroAccountNumber'?: string;
7169
7179
  }
7180
+ /**
7181
+ * Supplier Product
7182
+ */
7183
+ export interface SupplierProductModel {
7184
+ /**
7185
+ * SKU
7186
+ */
7187
+ 'sku'?: string;
7188
+ /**
7189
+ * Description
7190
+ */
7191
+ 'description'?: string;
7192
+ /**
7193
+ * Items
7194
+ */
7195
+ 'items'?: Array<SupplierItemModel>;
7196
+ }
7197
+ /**
7198
+ * Supplier Product Results
7199
+ */
7200
+ export interface SupplierProductResultsModel {
7201
+ /**
7202
+ * Results
7203
+ */
7204
+ 'results'?: Array<SupplierProductModel>;
7205
+ /**
7206
+ * Page
7207
+ */
7208
+ 'page'?: number;
7209
+ /**
7210
+ * Per Page
7211
+ */
7212
+ 'perPage'?: number;
7213
+ /**
7214
+ * Total Results
7215
+ */
7216
+ 'totalResults'?: number;
7217
+ }
7170
7218
  /**
7171
7219
  * Telephony Support Ticket
7172
7220
  */
@@ -7495,6 +7543,10 @@ export interface TcxInstallationModel {
7495
7543
  * Wizard ID
7496
7544
  */
7497
7545
  'wizardId'?: string;
7546
+ /**
7547
+ * Customer ID
7548
+ */
7549
+ 'customerId'?: number;
7498
7550
  /**
7499
7551
  * Instance ID
7500
7552
  */
@@ -28953,6 +29005,327 @@ export class StockManagementApi extends BaseAPI {
28953
29005
 
28954
29006
 
28955
29007
 
29008
+ /**
29009
+ * SuppliersApi - axios parameter creator
29010
+ */
29011
+ export const SuppliersApiAxiosParamCreator = function (configuration?: Configuration) {
29012
+ return {
29013
+ /**
29014
+ * Get Supplier Item
29015
+ * @summary Get Supplier Item
29016
+ * @param {string} id ID (SKU)
29017
+ * @param {*} [options] Override http request option.
29018
+ * @throws {RequiredError}
29019
+ */
29020
+ getGetSupplierItem: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29021
+ // verify required parameter 'id' is not null or undefined
29022
+ assertParamExists('getGetSupplierItem', 'id', id)
29023
+ const localVarPath = `/suppliers/items/{id}`
29024
+ .replace('{id}', encodeURIComponent(String(id)));
29025
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29026
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29027
+ let baseOptions;
29028
+ if (configuration) {
29029
+ baseOptions = configuration.baseOptions;
29030
+ }
29031
+
29032
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29033
+ const localVarHeaderParameter = {} as any;
29034
+ const localVarQueryParameter = {} as any;
29035
+
29036
+ localVarHeaderParameter['Accept'] = 'application/json';
29037
+
29038
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29039
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29040
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29041
+
29042
+ return {
29043
+ url: toPathString(localVarUrlObj),
29044
+ options: localVarRequestOptions,
29045
+ };
29046
+ },
29047
+ /**
29048
+ * Get Supplier Items
29049
+ * @summary Get Supplier Items
29050
+ * @param {number} [pageSize] Number Of Results
29051
+ * @param {number} [page] Page Number
29052
+ * @param {string} [search] Search
29053
+ * @param {*} [options] Override http request option.
29054
+ * @throws {RequiredError}
29055
+ */
29056
+ getGetSupplierItems: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29057
+ const localVarPath = `/suppliers/items`;
29058
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29059
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29060
+ let baseOptions;
29061
+ if (configuration) {
29062
+ baseOptions = configuration.baseOptions;
29063
+ }
29064
+
29065
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29066
+ const localVarHeaderParameter = {} as any;
29067
+ const localVarQueryParameter = {} as any;
29068
+
29069
+ if (pageSize !== undefined) {
29070
+ localVarQueryParameter['pageSize'] = pageSize;
29071
+ }
29072
+
29073
+ if (page !== undefined) {
29074
+ localVarQueryParameter['page'] = page;
29075
+ }
29076
+
29077
+ if (search !== undefined) {
29078
+ localVarQueryParameter['search'] = search;
29079
+ }
29080
+
29081
+ localVarHeaderParameter['Accept'] = 'application/json';
29082
+
29083
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29084
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29085
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29086
+
29087
+ return {
29088
+ url: toPathString(localVarUrlObj),
29089
+ options: localVarRequestOptions,
29090
+ };
29091
+ },
29092
+ /**
29093
+ * Get Suppliers
29094
+ * @summary Get Suppliers
29095
+ * @param {*} [options] Override http request option.
29096
+ * @throws {RequiredError}
29097
+ */
29098
+ getGetSuppliers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29099
+ const localVarPath = `/suppliers`;
29100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29102
+ let baseOptions;
29103
+ if (configuration) {
29104
+ baseOptions = configuration.baseOptions;
29105
+ }
29106
+
29107
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29108
+ const localVarHeaderParameter = {} as any;
29109
+ const localVarQueryParameter = {} as any;
29110
+
29111
+ localVarHeaderParameter['Accept'] = 'application/json';
29112
+
29113
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29114
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29115
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29116
+
29117
+ return {
29118
+ url: toPathString(localVarUrlObj),
29119
+ options: localVarRequestOptions,
29120
+ };
29121
+ },
29122
+ /**
29123
+ * Update Supplier Product
29124
+ * @summary Update Supplier Product
29125
+ * @param {string} id ID (SKU)
29126
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
29127
+ * @param {*} [options] Override http request option.
29128
+ * @throws {RequiredError}
29129
+ */
29130
+ putGetSupplierItem: async (id: string, supplierProductModel?: SupplierProductModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29131
+ // verify required parameter 'id' is not null or undefined
29132
+ assertParamExists('putGetSupplierItem', 'id', id)
29133
+ const localVarPath = `/suppliers/items/{id}`
29134
+ .replace('{id}', encodeURIComponent(String(id)));
29135
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29136
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29137
+ let baseOptions;
29138
+ if (configuration) {
29139
+ baseOptions = configuration.baseOptions;
29140
+ }
29141
+
29142
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
29143
+ const localVarHeaderParameter = {} as any;
29144
+ const localVarQueryParameter = {} as any;
29145
+
29146
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29147
+ localVarHeaderParameter['Accept'] = 'application/json';
29148
+
29149
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29150
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29151
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29152
+ localVarRequestOptions.data = serializeDataIfNeeded(supplierProductModel, localVarRequestOptions, configuration)
29153
+
29154
+ return {
29155
+ url: toPathString(localVarUrlObj),
29156
+ options: localVarRequestOptions,
29157
+ };
29158
+ },
29159
+ }
29160
+ };
29161
+
29162
+ /**
29163
+ * SuppliersApi - functional programming interface
29164
+ */
29165
+ export const SuppliersApiFp = function(configuration?: Configuration) {
29166
+ const localVarAxiosParamCreator = SuppliersApiAxiosParamCreator(configuration)
29167
+ return {
29168
+ /**
29169
+ * Get Supplier Item
29170
+ * @summary Get Supplier Item
29171
+ * @param {string} id ID (SKU)
29172
+ * @param {*} [options] Override http request option.
29173
+ * @throws {RequiredError}
29174
+ */
29175
+ async getGetSupplierItem(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductModel>> {
29176
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetSupplierItem(id, options);
29177
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29178
+ const localVarOperationServerBasePath = operationServerMap['SuppliersApi.getGetSupplierItem']?.[localVarOperationServerIndex]?.url;
29179
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29180
+ },
29181
+ /**
29182
+ * Get Supplier Items
29183
+ * @summary Get Supplier Items
29184
+ * @param {number} [pageSize] Number Of Results
29185
+ * @param {number} [page] Page Number
29186
+ * @param {string} [search] Search
29187
+ * @param {*} [options] Override http request option.
29188
+ * @throws {RequiredError}
29189
+ */
29190
+ async getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductResultsModel>> {
29191
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetSupplierItems(pageSize, page, search, options);
29192
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29193
+ const localVarOperationServerBasePath = operationServerMap['SuppliersApi.getGetSupplierItems']?.[localVarOperationServerIndex]?.url;
29194
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29195
+ },
29196
+ /**
29197
+ * Get Suppliers
29198
+ * @summary Get Suppliers
29199
+ * @param {*} [options] Override http request option.
29200
+ * @throws {RequiredError}
29201
+ */
29202
+ async getGetSuppliers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SupplierModel>>> {
29203
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetSuppliers(options);
29204
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29205
+ const localVarOperationServerBasePath = operationServerMap['SuppliersApi.getGetSuppliers']?.[localVarOperationServerIndex]?.url;
29206
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29207
+ },
29208
+ /**
29209
+ * Update Supplier Product
29210
+ * @summary Update Supplier Product
29211
+ * @param {string} id ID (SKU)
29212
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
29213
+ * @param {*} [options] Override http request option.
29214
+ * @throws {RequiredError}
29215
+ */
29216
+ async putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductModel>> {
29217
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putGetSupplierItem(id, supplierProductModel, options);
29218
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29219
+ const localVarOperationServerBasePath = operationServerMap['SuppliersApi.putGetSupplierItem']?.[localVarOperationServerIndex]?.url;
29220
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29221
+ },
29222
+ }
29223
+ };
29224
+
29225
+ /**
29226
+ * SuppliersApi - factory interface
29227
+ */
29228
+ export const SuppliersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
29229
+ const localVarFp = SuppliersApiFp(configuration)
29230
+ return {
29231
+ /**
29232
+ * Get Supplier Item
29233
+ * @summary Get Supplier Item
29234
+ * @param {string} id ID (SKU)
29235
+ * @param {*} [options] Override http request option.
29236
+ * @throws {RequiredError}
29237
+ */
29238
+ getGetSupplierItem(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductModel> {
29239
+ return localVarFp.getGetSupplierItem(id, options).then((request) => request(axios, basePath));
29240
+ },
29241
+ /**
29242
+ * Get Supplier Items
29243
+ * @summary Get Supplier Items
29244
+ * @param {number} [pageSize] Number Of Results
29245
+ * @param {number} [page] Page Number
29246
+ * @param {string} [search] Search
29247
+ * @param {*} [options] Override http request option.
29248
+ * @throws {RequiredError}
29249
+ */
29250
+ getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductResultsModel> {
29251
+ return localVarFp.getGetSupplierItems(pageSize, page, search, options).then((request) => request(axios, basePath));
29252
+ },
29253
+ /**
29254
+ * Get Suppliers
29255
+ * @summary Get Suppliers
29256
+ * @param {*} [options] Override http request option.
29257
+ * @throws {RequiredError}
29258
+ */
29259
+ getGetSuppliers(options?: RawAxiosRequestConfig): AxiosPromise<Array<SupplierModel>> {
29260
+ return localVarFp.getGetSuppliers(options).then((request) => request(axios, basePath));
29261
+ },
29262
+ /**
29263
+ * Update Supplier Product
29264
+ * @summary Update Supplier Product
29265
+ * @param {string} id ID (SKU)
29266
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
29267
+ * @param {*} [options] Override http request option.
29268
+ * @throws {RequiredError}
29269
+ */
29270
+ putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductModel> {
29271
+ return localVarFp.putGetSupplierItem(id, supplierProductModel, options).then((request) => request(axios, basePath));
29272
+ },
29273
+ };
29274
+ };
29275
+
29276
+ /**
29277
+ * SuppliersApi - object-oriented interface
29278
+ */
29279
+ export class SuppliersApi extends BaseAPI {
29280
+ /**
29281
+ * Get Supplier Item
29282
+ * @summary Get Supplier Item
29283
+ * @param {string} id ID (SKU)
29284
+ * @param {*} [options] Override http request option.
29285
+ * @throws {RequiredError}
29286
+ */
29287
+ public getGetSupplierItem(id: string, options?: RawAxiosRequestConfig) {
29288
+ return SuppliersApiFp(this.configuration).getGetSupplierItem(id, options).then((request) => request(this.axios, this.basePath));
29289
+ }
29290
+
29291
+ /**
29292
+ * Get Supplier Items
29293
+ * @summary Get Supplier Items
29294
+ * @param {number} [pageSize] Number Of Results
29295
+ * @param {number} [page] Page Number
29296
+ * @param {string} [search] Search
29297
+ * @param {*} [options] Override http request option.
29298
+ * @throws {RequiredError}
29299
+ */
29300
+ public getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
29301
+ return SuppliersApiFp(this.configuration).getGetSupplierItems(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
29302
+ }
29303
+
29304
+ /**
29305
+ * Get Suppliers
29306
+ * @summary Get Suppliers
29307
+ * @param {*} [options] Override http request option.
29308
+ * @throws {RequiredError}
29309
+ */
29310
+ public getGetSuppliers(options?: RawAxiosRequestConfig) {
29311
+ return SuppliersApiFp(this.configuration).getGetSuppliers(options).then((request) => request(this.axios, this.basePath));
29312
+ }
29313
+
29314
+ /**
29315
+ * Update Supplier Product
29316
+ * @summary Update Supplier Product
29317
+ * @param {string} id ID (SKU)
29318
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
29319
+ * @param {*} [options] Override http request option.
29320
+ * @throws {RequiredError}
29321
+ */
29322
+ public putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig) {
29323
+ return SuppliersApiFp(this.configuration).putGetSupplierItem(id, supplierProductModel, options).then((request) => request(this.axios, this.basePath));
29324
+ }
29325
+ }
29326
+
29327
+
29328
+
28956
29329
  /**
28957
29330
  * SystemApi - axios parameter creator
28958
29331
  */
package/dist/api.d.ts CHANGED
@@ -7022,6 +7022,16 @@ export interface SupplierItemModel {
7022
7022
  * supplierSku
7023
7023
  */
7024
7024
  'supplierSku'?: string;
7025
+ 'supplier'?: SupplierModel;
7026
+ }
7027
+ /**
7028
+ * Supplier Item Results
7029
+ */
7030
+ export interface SupplierItemsResultsDTO {
7031
+ /**
7032
+ * Results
7033
+ */
7034
+ 'results'?: Array<SupplierItemModel>;
7025
7035
  }
7026
7036
  /**
7027
7037
  * Supplier
@@ -7064,6 +7074,44 @@ export interface SupplierModel {
7064
7074
  */
7065
7075
  'xeroAccountNumber'?: string;
7066
7076
  }
7077
+ /**
7078
+ * Supplier Product
7079
+ */
7080
+ export interface SupplierProductModel {
7081
+ /**
7082
+ * SKU
7083
+ */
7084
+ 'sku'?: string;
7085
+ /**
7086
+ * Description
7087
+ */
7088
+ 'description'?: string;
7089
+ /**
7090
+ * Items
7091
+ */
7092
+ 'items'?: Array<SupplierItemModel>;
7093
+ }
7094
+ /**
7095
+ * Supplier Product Results
7096
+ */
7097
+ export interface SupplierProductResultsModel {
7098
+ /**
7099
+ * Results
7100
+ */
7101
+ 'results'?: Array<SupplierProductModel>;
7102
+ /**
7103
+ * Page
7104
+ */
7105
+ 'page'?: number;
7106
+ /**
7107
+ * Per Page
7108
+ */
7109
+ 'perPage'?: number;
7110
+ /**
7111
+ * Total Results
7112
+ */
7113
+ 'totalResults'?: number;
7114
+ }
7067
7115
  /**
7068
7116
  * Telephony Support Ticket
7069
7117
  */
@@ -7392,6 +7440,10 @@ export interface TcxInstallationModel {
7392
7440
  * Wizard ID
7393
7441
  */
7394
7442
  'wizardId'?: string;
7443
+ /**
7444
+ * Customer ID
7445
+ */
7446
+ 'customerId'?: number;
7395
7447
  /**
7396
7448
  * Instance ID
7397
7449
  */
@@ -18349,6 +18401,162 @@ export declare class StockManagementApi extends BaseAPI {
18349
18401
  */
18350
18402
  putReceiveStockOrderItem(orderId: number, itemId: number, received: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
18351
18403
  }
18404
+ /**
18405
+ * SuppliersApi - axios parameter creator
18406
+ */
18407
+ export declare const SuppliersApiAxiosParamCreator: (configuration?: Configuration) => {
18408
+ /**
18409
+ * Get Supplier Item
18410
+ * @summary Get Supplier Item
18411
+ * @param {string} id ID (SKU)
18412
+ * @param {*} [options] Override http request option.
18413
+ * @throws {RequiredError}
18414
+ */
18415
+ getGetSupplierItem: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18416
+ /**
18417
+ * Get Supplier Items
18418
+ * @summary Get Supplier Items
18419
+ * @param {number} [pageSize] Number Of Results
18420
+ * @param {number} [page] Page Number
18421
+ * @param {string} [search] Search
18422
+ * @param {*} [options] Override http request option.
18423
+ * @throws {RequiredError}
18424
+ */
18425
+ getGetSupplierItems: (pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18426
+ /**
18427
+ * Get Suppliers
18428
+ * @summary Get Suppliers
18429
+ * @param {*} [options] Override http request option.
18430
+ * @throws {RequiredError}
18431
+ */
18432
+ getGetSuppliers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18433
+ /**
18434
+ * Update Supplier Product
18435
+ * @summary Update Supplier Product
18436
+ * @param {string} id ID (SKU)
18437
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
18438
+ * @param {*} [options] Override http request option.
18439
+ * @throws {RequiredError}
18440
+ */
18441
+ putGetSupplierItem: (id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18442
+ };
18443
+ /**
18444
+ * SuppliersApi - functional programming interface
18445
+ */
18446
+ export declare const SuppliersApiFp: (configuration?: Configuration) => {
18447
+ /**
18448
+ * Get Supplier Item
18449
+ * @summary Get Supplier Item
18450
+ * @param {string} id ID (SKU)
18451
+ * @param {*} [options] Override http request option.
18452
+ * @throws {RequiredError}
18453
+ */
18454
+ getGetSupplierItem(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductModel>>;
18455
+ /**
18456
+ * Get Supplier Items
18457
+ * @summary Get Supplier Items
18458
+ * @param {number} [pageSize] Number Of Results
18459
+ * @param {number} [page] Page Number
18460
+ * @param {string} [search] Search
18461
+ * @param {*} [options] Override http request option.
18462
+ * @throws {RequiredError}
18463
+ */
18464
+ getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductResultsModel>>;
18465
+ /**
18466
+ * Get Suppliers
18467
+ * @summary Get Suppliers
18468
+ * @param {*} [options] Override http request option.
18469
+ * @throws {RequiredError}
18470
+ */
18471
+ getGetSuppliers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SupplierModel>>>;
18472
+ /**
18473
+ * Update Supplier Product
18474
+ * @summary Update Supplier Product
18475
+ * @param {string} id ID (SKU)
18476
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
18477
+ * @param {*} [options] Override http request option.
18478
+ * @throws {RequiredError}
18479
+ */
18480
+ putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductModel>>;
18481
+ };
18482
+ /**
18483
+ * SuppliersApi - factory interface
18484
+ */
18485
+ export declare const SuppliersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
18486
+ /**
18487
+ * Get Supplier Item
18488
+ * @summary Get Supplier Item
18489
+ * @param {string} id ID (SKU)
18490
+ * @param {*} [options] Override http request option.
18491
+ * @throws {RequiredError}
18492
+ */
18493
+ getGetSupplierItem(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductModel>;
18494
+ /**
18495
+ * Get Supplier Items
18496
+ * @summary Get Supplier Items
18497
+ * @param {number} [pageSize] Number Of Results
18498
+ * @param {number} [page] Page Number
18499
+ * @param {string} [search] Search
18500
+ * @param {*} [options] Override http request option.
18501
+ * @throws {RequiredError}
18502
+ */
18503
+ getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductResultsModel>;
18504
+ /**
18505
+ * Get Suppliers
18506
+ * @summary Get Suppliers
18507
+ * @param {*} [options] Override http request option.
18508
+ * @throws {RequiredError}
18509
+ */
18510
+ getGetSuppliers(options?: RawAxiosRequestConfig): AxiosPromise<Array<SupplierModel>>;
18511
+ /**
18512
+ * Update Supplier Product
18513
+ * @summary Update Supplier Product
18514
+ * @param {string} id ID (SKU)
18515
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
18516
+ * @param {*} [options] Override http request option.
18517
+ * @throws {RequiredError}
18518
+ */
18519
+ putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductModel>;
18520
+ };
18521
+ /**
18522
+ * SuppliersApi - object-oriented interface
18523
+ */
18524
+ export declare class SuppliersApi extends BaseAPI {
18525
+ /**
18526
+ * Get Supplier Item
18527
+ * @summary Get Supplier Item
18528
+ * @param {string} id ID (SKU)
18529
+ * @param {*} [options] Override http request option.
18530
+ * @throws {RequiredError}
18531
+ */
18532
+ getGetSupplierItem(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SupplierProductModel, any, {}>>;
18533
+ /**
18534
+ * Get Supplier Items
18535
+ * @summary Get Supplier Items
18536
+ * @param {number} [pageSize] Number Of Results
18537
+ * @param {number} [page] Page Number
18538
+ * @param {string} [search] Search
18539
+ * @param {*} [options] Override http request option.
18540
+ * @throws {RequiredError}
18541
+ */
18542
+ getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SupplierProductResultsModel, any, {}>>;
18543
+ /**
18544
+ * Get Suppliers
18545
+ * @summary Get Suppliers
18546
+ * @param {*} [options] Override http request option.
18547
+ * @throws {RequiredError}
18548
+ */
18549
+ getGetSuppliers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SupplierModel[], any, {}>>;
18550
+ /**
18551
+ * Update Supplier Product
18552
+ * @summary Update Supplier Product
18553
+ * @param {string} id ID (SKU)
18554
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
18555
+ * @param {*} [options] Override http request option.
18556
+ * @throws {RequiredError}
18557
+ */
18558
+ putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SupplierProductModel, any, {}>>;
18559
+ }
18352
18560
  /**
18353
18561
  * SystemApi - axios parameter creator
18354
18562
  */