yellowgrid-api-ts 3.2.227-dev.0 → 3.2.228-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/api.ts CHANGED
@@ -31931,6 +31931,7 @@ export const RMAApiAxiosParamCreator = function (configuration?: Configuration)
31931
31931
  const localVarQueryParameter = {} as any;
31932
31932
 
31933
31933
  localVarHeaderParameter['Content-Type'] = 'application/json';
31934
+ localVarHeaderParameter['Accept'] = 'application/json';
31934
31935
 
31935
31936
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31936
31937
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -32341,7 +32342,7 @@ export const RMAApiFp = function(configuration?: Configuration) {
32341
32342
  * @param {*} [options] Override http request option.
32342
32343
  * @throws {RequiredError}
32343
32344
  */
32344
- async postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
32345
+ async postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminRmaNoteDTO>> {
32345
32346
  const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateRmaNote(id, noteRequestModel, options);
32346
32347
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32347
32348
  const localVarOperationServerBasePath = operationServerMap['RMAApi.postCreateRmaNote']?.[localVarOperationServerIndex]?.url;
@@ -32642,7 +32643,7 @@ export const RMAApiFactory = function (configuration?: Configuration, basePath?:
32642
32643
  * @param {*} [options] Override http request option.
32643
32644
  * @throws {RequiredError}
32644
32645
  */
32645
- postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
32646
+ postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<AdminRmaNoteDTO> {
32646
32647
  return localVarFp.postCreateRmaNote(id, noteRequestModel, options).then((request) => request(axios, basePath));
32647
32648
  },
32648
32649
  /**
package/dist/api.d.ts CHANGED
@@ -20491,7 +20491,7 @@ export declare const RMAApiFp: (configuration?: Configuration) => {
20491
20491
  * @param {*} [options] Override http request option.
20492
20492
  * @throws {RequiredError}
20493
20493
  */
20494
- postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
20494
+ postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminRmaNoteDTO>>;
20495
20495
  /**
20496
20496
  * Create a collection for an RMA
20497
20497
  * @param {number} id
@@ -20724,7 +20724,7 @@ export declare const RMAApiFactory: (configuration?: Configuration, basePath?: s
20724
20724
  * @param {*} [options] Override http request option.
20725
20725
  * @throws {RequiredError}
20726
20726
  */
20727
- postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
20727
+ postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<AdminRmaNoteDTO>;
20728
20728
  /**
20729
20729
  * Create a collection for an RMA
20730
20730
  * @param {number} id
@@ -20957,7 +20957,7 @@ export declare class RMAApi extends BaseAPI {
20957
20957
  * @param {*} [options] Override http request option.
20958
20958
  * @throws {RequiredError}
20959
20959
  */
20960
- postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
20960
+ postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminRmaNoteDTO, any, {}>>;
20961
20961
  /**
20962
20962
  * Create a collection for an RMA
20963
20963
  * @param {number} id
package/dist/api.js CHANGED
@@ -25620,6 +25620,7 @@ var RMAApiAxiosParamCreator = function (configuration) {
25620
25620
  localVarHeaderParameter = {};
25621
25621
  localVarQueryParameter = {};
25622
25622
  localVarHeaderParameter['Content-Type'] = 'application/json';
25623
+ localVarHeaderParameter['Accept'] = 'application/json';
25623
25624
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
25624
25625
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25625
25626
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
package/docs/RMAApi.md CHANGED
@@ -1574,7 +1574,7 @@ No authorization required
1574
1574
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1575
1575
 
1576
1576
  # **postCreateRmaNote**
1577
- > postCreateRmaNote()
1577
+ > AdminRmaNoteDTO postCreateRmaNote()
1578
1578
 
1579
1579
  Create an RMA note
1580
1580
 
@@ -1609,7 +1609,7 @@ const { status, data } = await apiInstance.postCreateRmaNote(
1609
1609
 
1610
1610
  ### Return type
1611
1611
 
1612
- void (empty response body)
1612
+ **AdminRmaNoteDTO**
1613
1613
 
1614
1614
  ### Authorization
1615
1615
 
@@ -1618,13 +1618,13 @@ No authorization required
1618
1618
  ### HTTP request headers
1619
1619
 
1620
1620
  - **Content-Type**: application/json
1621
- - **Accept**: Not defined
1621
+ - **Accept**: application/json
1622
1622
 
1623
1623
 
1624
1624
  ### HTTP response details
1625
1625
  | Status code | Description | Response headers |
1626
1626
  |-------------|-------------|------------------|
1627
- |**204** | No Response | - |
1627
+ |**200** | Admin RMA Note | - |
1628
1628
  |**400** | Bad Request | - |
1629
1629
  |**401** | Unauthorised | - |
1630
1630
  |**403** | Access Denied | - |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.227-dev.0",
3
+ "version": "3.2.228-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {