yellowgrid-api-ts 3.2.245-dev.0 → 3.2.247-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.
@@ -57,6 +57,8 @@ docs/Class3CXIntegrationsApi.md
57
57
  docs/Class3CXMultiTenantApi.md
58
58
  docs/ClientDetailsModel.md
59
59
  docs/ClientModel.md
60
+ docs/CollectionDateDTO.md
61
+ docs/CollectionDatesRequestDTO.md
60
62
  docs/CompanyContractModel.md
61
63
  docs/ConnectionRequest.md
62
64
  docs/ConnectionType.md
package/README.md CHANGED
@@ -384,6 +384,7 @@ Class | Method | HTTP request | Description
384
384
  *ServicesApi* | [**postCreateEventUpdate**](docs/ServicesApi.md#postcreateeventupdate) | **POST** /services/events/{id}/updates |
385
385
  *ServicesApi* | [**postSubscribe**](docs/ServicesApi.md#postsubscribe) | **POST** /services/events/subscribe |
386
386
  *ShippingApi* | [**postGetAdminShippingServices**](docs/ShippingApi.md#postgetadminshippingservices) | **POST** /admin/shipping/services | Get Shipping Services
387
+ *ShippingApi* | [**postGetCollectionDates**](docs/ShippingApi.md#postgetcollectiondates) | **POST** /shipping/collections/dates |
387
388
  *ShippingApi* | [**postGetShippingServices**](docs/ShippingApi.md#postgetshippingservices) | **POST** /shipping/services | Get Shipping Services
388
389
  *StockManagementApi* | [**deleteDeleteStockOrder**](docs/StockManagementApi.md#deletedeletestockorder) | **DELETE** /stock/orders/{id} | Delete Stock Order
389
390
  *StockManagementApi* | [**deleteDeleteStockOrderDeduction**](docs/StockManagementApi.md#deletedeletestockorderdeduction) | **DELETE** /stock/orders/{order_id}/deductions/{deduction_id} | Delete Stock Order Deduction
@@ -469,6 +470,8 @@ Class | Method | HTTP request | Description
469
470
  - [Cdr](docs/Cdr.md)
470
471
  - [ClientDetailsModel](docs/ClientDetailsModel.md)
471
472
  - [ClientModel](docs/ClientModel.md)
473
+ - [CollectionDateDTO](docs/CollectionDateDTO.md)
474
+ - [CollectionDatesRequestDTO](docs/CollectionDatesRequestDTO.md)
472
475
  - [CompanyContractModel](docs/CompanyContractModel.md)
473
476
  - [ConnectionRequest](docs/ConnectionRequest.md)
474
477
  - [ConnectionType](docs/ConnectionType.md)
package/api.ts CHANGED
@@ -1754,6 +1754,40 @@ export interface ClientModel {
1754
1754
  */
1755
1755
  'created': string;
1756
1756
  }
1757
+ /**
1758
+ * Collection Date
1759
+ */
1760
+ export interface CollectionDateDTO {
1761
+ /**
1762
+ * Area Start Time
1763
+ */
1764
+ 'startTime': string;
1765
+ /**
1766
+ * Area Finish Time
1767
+ */
1768
+ 'finishTime': string;
1769
+ /**
1770
+ * Collection Cutoff Time
1771
+ */
1772
+ 'cutOff': string;
1773
+ /**
1774
+ * Date Time
1775
+ */
1776
+ 'date': string;
1777
+ }
1778
+ /**
1779
+ * Collection Dates Request
1780
+ */
1781
+ export interface CollectionDatesRequestDTO {
1782
+ /**
1783
+ * Post Code
1784
+ */
1785
+ 'postCode': string;
1786
+ /**
1787
+ * ISO
1788
+ */
1789
+ 'iso': string;
1790
+ }
1757
1791
  /**
1758
1792
  * Company Tech Support Contract
1759
1793
  */
@@ -35577,6 +35611,38 @@ export const ShippingApiAxiosParamCreator = function (configuration?: Configurat
35577
35611
  options: localVarRequestOptions,
35578
35612
  };
35579
35613
  },
35614
+ /**
35615
+ * Get Collection Dates
35616
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
35617
+ * @param {*} [options] Override http request option.
35618
+ * @throws {RequiredError}
35619
+ */
35620
+ postGetCollectionDates: async (collectionDatesRequestDTO?: CollectionDatesRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35621
+ const localVarPath = `/shipping/collections/dates`;
35622
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35623
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35624
+ let baseOptions;
35625
+ if (configuration) {
35626
+ baseOptions = configuration.baseOptions;
35627
+ }
35628
+
35629
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35630
+ const localVarHeaderParameter = {} as any;
35631
+ const localVarQueryParameter = {} as any;
35632
+
35633
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35634
+ localVarHeaderParameter['Accept'] = 'application/json';
35635
+
35636
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35637
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35638
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35639
+ localVarRequestOptions.data = serializeDataIfNeeded(collectionDatesRequestDTO, localVarRequestOptions, configuration)
35640
+
35641
+ return {
35642
+ url: toPathString(localVarUrlObj),
35643
+ options: localVarRequestOptions,
35644
+ };
35645
+ },
35580
35646
  /**
35581
35647
  * Get Shipping Services
35582
35648
  * @summary Get Shipping Services
@@ -35633,6 +35699,18 @@ export const ShippingApiFp = function(configuration?: Configuration) {
35633
35699
  const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetAdminShippingServices']?.[localVarOperationServerIndex]?.url;
35634
35700
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35635
35701
  },
35702
+ /**
35703
+ * Get Collection Dates
35704
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
35705
+ * @param {*} [options] Override http request option.
35706
+ * @throws {RequiredError}
35707
+ */
35708
+ async postGetCollectionDates(collectionDatesRequestDTO?: CollectionDatesRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CollectionDateDTO>>> {
35709
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetCollectionDates(collectionDatesRequestDTO, options);
35710
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35711
+ const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetCollectionDates']?.[localVarOperationServerIndex]?.url;
35712
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35713
+ },
35636
35714
  /**
35637
35715
  * Get Shipping Services
35638
35716
  * @summary Get Shipping Services
@@ -35666,6 +35744,15 @@ export const ShippingApiFactory = function (configuration?: Configuration, baseP
35666
35744
  postGetAdminShippingServices(customerId: number, shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
35667
35745
  return localVarFp.postGetAdminShippingServices(customerId, shippingInformationDTO, options).then((request) => request(axios, basePath));
35668
35746
  },
35747
+ /**
35748
+ * Get Collection Dates
35749
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
35750
+ * @param {*} [options] Override http request option.
35751
+ * @throws {RequiredError}
35752
+ */
35753
+ postGetCollectionDates(collectionDatesRequestDTO?: CollectionDatesRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<CollectionDateDTO>> {
35754
+ return localVarFp.postGetCollectionDates(collectionDatesRequestDTO, options).then((request) => request(axios, basePath));
35755
+ },
35669
35756
  /**
35670
35757
  * Get Shipping Services
35671
35758
  * @summary Get Shipping Services
@@ -35695,6 +35782,16 @@ export class ShippingApi extends BaseAPI {
35695
35782
  return ShippingApiFp(this.configuration).postGetAdminShippingServices(customerId, shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
35696
35783
  }
35697
35784
 
35785
+ /**
35786
+ * Get Collection Dates
35787
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
35788
+ * @param {*} [options] Override http request option.
35789
+ * @throws {RequiredError}
35790
+ */
35791
+ public postGetCollectionDates(collectionDatesRequestDTO?: CollectionDatesRequestDTO, options?: RawAxiosRequestConfig) {
35792
+ return ShippingApiFp(this.configuration).postGetCollectionDates(collectionDatesRequestDTO, options).then((request) => request(this.axios, this.basePath));
35793
+ }
35794
+
35698
35795
  /**
35699
35796
  * Get Shipping Services
35700
35797
  * @summary Get Shipping Services
package/dist/api.d.ts CHANGED
@@ -1716,6 +1716,40 @@ export interface ClientModel {
1716
1716
  */
1717
1717
  'created': string;
1718
1718
  }
1719
+ /**
1720
+ * Collection Date
1721
+ */
1722
+ export interface CollectionDateDTO {
1723
+ /**
1724
+ * Area Start Time
1725
+ */
1726
+ 'startTime': string;
1727
+ /**
1728
+ * Area Finish Time
1729
+ */
1730
+ 'finishTime': string;
1731
+ /**
1732
+ * Collection Cutoff Time
1733
+ */
1734
+ 'cutOff': string;
1735
+ /**
1736
+ * Date Time
1737
+ */
1738
+ 'date': string;
1739
+ }
1740
+ /**
1741
+ * Collection Dates Request
1742
+ */
1743
+ export interface CollectionDatesRequestDTO {
1744
+ /**
1745
+ * Post Code
1746
+ */
1747
+ 'postCode': string;
1748
+ /**
1749
+ * ISO
1750
+ */
1751
+ 'iso': string;
1752
+ }
1719
1753
  /**
1720
1754
  * Company Tech Support Contract
1721
1755
  */
@@ -22182,6 +22216,13 @@ export declare const ShippingApiAxiosParamCreator: (configuration?: Configuratio
22182
22216
  * @throws {RequiredError}
22183
22217
  */
22184
22218
  postGetAdminShippingServices: (customerId: number, shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22219
+ /**
22220
+ * Get Collection Dates
22221
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
22222
+ * @param {*} [options] Override http request option.
22223
+ * @throws {RequiredError}
22224
+ */
22225
+ postGetCollectionDates: (collectionDatesRequestDTO?: CollectionDatesRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22185
22226
  /**
22186
22227
  * Get Shipping Services
22187
22228
  * @summary Get Shipping Services
@@ -22204,6 +22245,13 @@ export declare const ShippingApiFp: (configuration?: Configuration) => {
22204
22245
  * @throws {RequiredError}
22205
22246
  */
22206
22247
  postGetAdminShippingServices(customerId: number, shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>>;
22248
+ /**
22249
+ * Get Collection Dates
22250
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
22251
+ * @param {*} [options] Override http request option.
22252
+ * @throws {RequiredError}
22253
+ */
22254
+ postGetCollectionDates(collectionDatesRequestDTO?: CollectionDatesRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CollectionDateDTO>>>;
22207
22255
  /**
22208
22256
  * Get Shipping Services
22209
22257
  * @summary Get Shipping Services
@@ -22226,6 +22274,13 @@ export declare const ShippingApiFactory: (configuration?: Configuration, basePat
22226
22274
  * @throws {RequiredError}
22227
22275
  */
22228
22276
  postGetAdminShippingServices(customerId: number, shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel>;
22277
+ /**
22278
+ * Get Collection Dates
22279
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
22280
+ * @param {*} [options] Override http request option.
22281
+ * @throws {RequiredError}
22282
+ */
22283
+ postGetCollectionDates(collectionDatesRequestDTO?: CollectionDatesRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<CollectionDateDTO>>;
22229
22284
  /**
22230
22285
  * Get Shipping Services
22231
22286
  * @summary Get Shipping Services
@@ -22248,6 +22303,13 @@ export declare class ShippingApi extends BaseAPI {
22248
22303
  * @throws {RequiredError}
22249
22304
  */
22250
22305
  postGetAdminShippingServices(customerId: number, shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShippingServicesModel, any, {}>>;
22306
+ /**
22307
+ * Get Collection Dates
22308
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
22309
+ * @param {*} [options] Override http request option.
22310
+ * @throws {RequiredError}
22311
+ */
22312
+ postGetCollectionDates(collectionDatesRequestDTO?: CollectionDatesRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionDateDTO[], any, {}>>;
22251
22313
  /**
22252
22314
  * Get Shipping Services
22253
22315
  * @summary Get Shipping Services
package/dist/api.js CHANGED
@@ -30034,6 +30034,42 @@ var ShippingApiAxiosParamCreator = function (configuration) {
30034
30034
  });
30035
30035
  });
30036
30036
  },
30037
+ /**
30038
+ * Get Collection Dates
30039
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
30040
+ * @param {*} [options] Override http request option.
30041
+ * @throws {RequiredError}
30042
+ */
30043
+ postGetCollectionDates: function (collectionDatesRequestDTO_1) {
30044
+ var args_1 = [];
30045
+ for (var _i = 1; _i < arguments.length; _i++) {
30046
+ args_1[_i - 1] = arguments[_i];
30047
+ }
30048
+ return __awaiter(_this, __spreadArray([collectionDatesRequestDTO_1], args_1, true), void 0, function (collectionDatesRequestDTO, options) {
30049
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
30050
+ if (options === void 0) { options = {}; }
30051
+ return __generator(this, function (_a) {
30052
+ localVarPath = "/shipping/collections/dates";
30053
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30054
+ if (configuration) {
30055
+ baseOptions = configuration.baseOptions;
30056
+ }
30057
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
30058
+ localVarHeaderParameter = {};
30059
+ localVarQueryParameter = {};
30060
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30061
+ localVarHeaderParameter['Accept'] = 'application/json';
30062
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30063
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30064
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30065
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(collectionDatesRequestDTO, localVarRequestOptions, configuration);
30066
+ return [2 /*return*/, {
30067
+ url: (0, common_1.toPathString)(localVarUrlObj),
30068
+ options: localVarRequestOptions,
30069
+ }];
30070
+ });
30071
+ });
30072
+ },
30037
30073
  /**
30038
30074
  * Get Shipping Services
30039
30075
  * @summary Get Shipping Services
@@ -30104,6 +30140,28 @@ var ShippingApiFp = function (configuration) {
30104
30140
  });
30105
30141
  });
30106
30142
  },
30143
+ /**
30144
+ * Get Collection Dates
30145
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
30146
+ * @param {*} [options] Override http request option.
30147
+ * @throws {RequiredError}
30148
+ */
30149
+ postGetCollectionDates: function (collectionDatesRequestDTO, options) {
30150
+ return __awaiter(this, void 0, void 0, function () {
30151
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
30152
+ var _a, _b, _c;
30153
+ return __generator(this, function (_d) {
30154
+ switch (_d.label) {
30155
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetCollectionDates(collectionDatesRequestDTO, options)];
30156
+ case 1:
30157
+ localVarAxiosArgs = _d.sent();
30158
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30159
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ShippingApi.postGetCollectionDates']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30160
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
30161
+ }
30162
+ });
30163
+ });
30164
+ },
30107
30165
  /**
30108
30166
  * Get Shipping Services
30109
30167
  * @summary Get Shipping Services
@@ -30147,6 +30205,15 @@ var ShippingApiFactory = function (configuration, basePath, axios) {
30147
30205
  postGetAdminShippingServices: function (customerId, shippingInformationDTO, options) {
30148
30206
  return localVarFp.postGetAdminShippingServices(customerId, shippingInformationDTO, options).then(function (request) { return request(axios, basePath); });
30149
30207
  },
30208
+ /**
30209
+ * Get Collection Dates
30210
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
30211
+ * @param {*} [options] Override http request option.
30212
+ * @throws {RequiredError}
30213
+ */
30214
+ postGetCollectionDates: function (collectionDatesRequestDTO, options) {
30215
+ return localVarFp.postGetCollectionDates(collectionDatesRequestDTO, options).then(function (request) { return request(axios, basePath); });
30216
+ },
30150
30217
  /**
30151
30218
  * Get Shipping Services
30152
30219
  * @summary Get Shipping Services
@@ -30180,6 +30247,16 @@ var ShippingApi = /** @class */ (function (_super) {
30180
30247
  var _this = this;
30181
30248
  return (0, exports.ShippingApiFp)(this.configuration).postGetAdminShippingServices(customerId, shippingInformationDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
30182
30249
  };
30250
+ /**
30251
+ * Get Collection Dates
30252
+ * @param {CollectionDatesRequestDTO} [collectionDatesRequestDTO] Collection Dates Request
30253
+ * @param {*} [options] Override http request option.
30254
+ * @throws {RequiredError}
30255
+ */
30256
+ ShippingApi.prototype.postGetCollectionDates = function (collectionDatesRequestDTO, options) {
30257
+ var _this = this;
30258
+ return (0, exports.ShippingApiFp)(this.configuration).postGetCollectionDates(collectionDatesRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
30259
+ };
30183
30260
  /**
30184
30261
  * Get Shipping Services
30185
30262
  * @summary Get Shipping Services
@@ -0,0 +1,27 @@
1
+ # CollectionDateDTO
2
+
3
+ Collection Date
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **startTime** | **string** | Area Start Time | [default to undefined]
10
+ **finishTime** | **string** | Area Finish Time | [default to undefined]
11
+ **cutOff** | **string** | Collection Cutoff Time | [default to undefined]
12
+ **date** | **string** | Date Time | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { CollectionDateDTO } from 'yellowgrid-api-ts';
18
+
19
+ const instance: CollectionDateDTO = {
20
+ startTime,
21
+ finishTime,
22
+ cutOff,
23
+ date,
24
+ };
25
+ ```
26
+
27
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # CollectionDatesRequestDTO
2
+
3
+ Collection Dates Request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **postCode** | **string** | Post Code | [default to undefined]
10
+ **iso** | **string** | ISO | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CollectionDatesRequestDTO } from 'yellowgrid-api-ts';
16
+
17
+ const instance: CollectionDatesRequestDTO = {
18
+ postCode,
19
+ iso,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**postGetAdminShippingServices**](#postgetadminshippingservices) | **POST** /admin/shipping/services | Get Shipping Services|
8
+ |[**postGetCollectionDates**](#postgetcollectiondates) | **POST** /shipping/collections/dates | |
8
9
  |[**postGetShippingServices**](#postgetshippingservices) | **POST** /shipping/services | Get Shipping Services|
9
10
 
10
11
  # **postGetAdminShippingServices**
@@ -65,6 +66,61 @@ No authorization required
65
66
 
66
67
  [[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)
67
68
 
69
+ # **postGetCollectionDates**
70
+ > Array<CollectionDateDTO> postGetCollectionDates()
71
+
72
+ Get Collection Dates
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ ShippingApi,
79
+ Configuration,
80
+ CollectionDatesRequestDTO
81
+ } from 'yellowgrid-api-ts';
82
+
83
+ const configuration = new Configuration();
84
+ const apiInstance = new ShippingApi(configuration);
85
+
86
+ let collectionDatesRequestDTO: CollectionDatesRequestDTO; //Collection Dates Request (optional)
87
+
88
+ const { status, data } = await apiInstance.postGetCollectionDates(
89
+ collectionDatesRequestDTO
90
+ );
91
+ ```
92
+
93
+ ### Parameters
94
+
95
+ |Name | Type | Description | Notes|
96
+ |------------- | ------------- | ------------- | -------------|
97
+ | **collectionDatesRequestDTO** | **CollectionDatesRequestDTO**| Collection Dates Request | |
98
+
99
+
100
+ ### Return type
101
+
102
+ **Array<CollectionDateDTO>**
103
+
104
+ ### Authorization
105
+
106
+ No authorization required
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: application/json
111
+ - **Accept**: application/json
112
+
113
+
114
+ ### HTTP response details
115
+ | Status code | Description | Response headers |
116
+ |-------------|-------------|------------------|
117
+ |**200** | Collection Dates | - |
118
+ |**400** | Bad Request | - |
119
+ |**401** | Unauthorised | - |
120
+ |**403** | Access Denied | - |
121
+
122
+ [[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)
123
+
68
124
  # **postGetShippingServices**
69
125
  > ShippingServicesModel postGetShippingServices()
70
126
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.245-dev.0",
3
+ "version": "3.2.247-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {