@teemill/platform 0.23.0 → 0.24.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/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -963,6 +963,50 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
963
963
  options: localVarRequestOptions,
964
964
  };
965
965
  }),
966
+ /**
967
+ * Get an order receipt for a platform by a given order ID.
968
+ * @summary Get order receipt
969
+ * @param {string} project Project unique identifier
970
+ * @param {string} platformId The platform identifier
971
+ * @param {string} orderId The order identifier
972
+ * @param {*} [options] Override http request option.
973
+ * @throws {RequiredError}
974
+ */
975
+ getOrderReceipt: (project_1, platformId_1, orderId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, orderId_1, ...args_1], void 0, function* (project, platformId, orderId, options = {}) {
976
+ // verify required parameter 'project' is not null or undefined
977
+ assertParamExists('getOrderReceipt', 'project', project);
978
+ // verify required parameter 'platformId' is not null or undefined
979
+ assertParamExists('getOrderReceipt', 'platformId', platformId);
980
+ // verify required parameter 'orderId' is not null or undefined
981
+ assertParamExists('getOrderReceipt', 'orderId', orderId);
982
+ const localVarPath = `/v1/platform/{platformId}/orders/{orderId}/receipt`
983
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
984
+ .replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
985
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
986
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
987
+ let baseOptions;
988
+ if (configuration) {
989
+ baseOptions = configuration.baseOptions;
990
+ }
991
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
992
+ const localVarHeaderParameter = {};
993
+ const localVarQueryParameter = {};
994
+ // authentication session-oauth required
995
+ // oauth required
996
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
997
+ // authentication api-key required
998
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
999
+ if (project !== undefined) {
1000
+ localVarQueryParameter['project'] = project;
1001
+ }
1002
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1003
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1004
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1005
+ return {
1006
+ url: toPathString(localVarUrlObj),
1007
+ options: localVarRequestOptions,
1008
+ };
1009
+ }),
966
1010
  /**
967
1011
  * List available fulfillers for a given fulfillment
968
1012
  * @summary List available fulfillers
@@ -1119,6 +1163,50 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
1119
1163
  options: localVarRequestOptions,
1120
1164
  };
1121
1165
  }),
1166
+ /**
1167
+ * Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
1168
+ * @summary Send order receipt
1169
+ * @param {string} project Project unique identifier
1170
+ * @param {string} platformId The platform identifier
1171
+ * @param {string} orderId The order identifier
1172
+ * @param {*} [options] Override http request option.
1173
+ * @throws {RequiredError}
1174
+ */
1175
+ sendOrderReceipt: (project_1, platformId_1, orderId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, orderId_1, ...args_1], void 0, function* (project, platformId, orderId, options = {}) {
1176
+ // verify required parameter 'project' is not null or undefined
1177
+ assertParamExists('sendOrderReceipt', 'project', project);
1178
+ // verify required parameter 'platformId' is not null or undefined
1179
+ assertParamExists('sendOrderReceipt', 'platformId', platformId);
1180
+ // verify required parameter 'orderId' is not null or undefined
1181
+ assertParamExists('sendOrderReceipt', 'orderId', orderId);
1182
+ const localVarPath = `/v1/platform/{platformId}/orders/{orderId}/receipt/send`
1183
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
1184
+ .replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
1185
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1186
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1187
+ let baseOptions;
1188
+ if (configuration) {
1189
+ baseOptions = configuration.baseOptions;
1190
+ }
1191
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1192
+ const localVarHeaderParameter = {};
1193
+ const localVarQueryParameter = {};
1194
+ // authentication session-oauth required
1195
+ // oauth required
1196
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1197
+ // authentication api-key required
1198
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1199
+ if (project !== undefined) {
1200
+ localVarQueryParameter['project'] = project;
1201
+ }
1202
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1203
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1204
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1205
+ return {
1206
+ url: toPathString(localVarUrlObj),
1207
+ options: localVarRequestOptions,
1208
+ };
1209
+ }),
1122
1210
  /**
1123
1211
  * Update a fulfillment that belongs to an order placed through the platform
1124
1212
  * @summary Update fulfillment
@@ -1233,6 +1321,24 @@ export const OrdersApiFp = function (configuration) {
1233
1321
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1234
1322
  });
1235
1323
  },
1324
+ /**
1325
+ * Get an order receipt for a platform by a given order ID.
1326
+ * @summary Get order receipt
1327
+ * @param {string} project Project unique identifier
1328
+ * @param {string} platformId The platform identifier
1329
+ * @param {string} orderId The order identifier
1330
+ * @param {*} [options] Override http request option.
1331
+ * @throws {RequiredError}
1332
+ */
1333
+ getOrderReceipt(project, platformId, orderId, options) {
1334
+ return __awaiter(this, void 0, void 0, function* () {
1335
+ var _a, _b, _c;
1336
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrderReceipt(project, platformId, orderId, options);
1337
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1338
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrdersApi.getOrderReceipt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1339
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1340
+ });
1341
+ },
1236
1342
  /**
1237
1343
  * List available fulfillers for a given fulfillment
1238
1344
  * @summary List available fulfillers
@@ -1292,6 +1398,24 @@ export const OrdersApiFp = function (configuration) {
1292
1398
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1293
1399
  });
1294
1400
  },
1401
+ /**
1402
+ * Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
1403
+ * @summary Send order receipt
1404
+ * @param {string} project Project unique identifier
1405
+ * @param {string} platformId The platform identifier
1406
+ * @param {string} orderId The order identifier
1407
+ * @param {*} [options] Override http request option.
1408
+ * @throws {RequiredError}
1409
+ */
1410
+ sendOrderReceipt(project, platformId, orderId, options) {
1411
+ return __awaiter(this, void 0, void 0, function* () {
1412
+ var _a, _b, _c;
1413
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.sendOrderReceipt(project, platformId, orderId, options);
1414
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1415
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrdersApi.sendOrderReceipt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1416
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1417
+ });
1418
+ },
1295
1419
  /**
1296
1420
  * Update a fulfillment that belongs to an order placed through the platform
1297
1421
  * @summary Update fulfillment
@@ -1350,6 +1474,16 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
1350
1474
  getOrder(requestParameters, options) {
1351
1475
  return localVarFp.getOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(axios, basePath));
1352
1476
  },
1477
+ /**
1478
+ * Get an order receipt for a platform by a given order ID.
1479
+ * @summary Get order receipt
1480
+ * @param {OrdersApiGetOrderReceiptRequest} requestParameters Request parameters.
1481
+ * @param {*} [options] Override http request option.
1482
+ * @throws {RequiredError}
1483
+ */
1484
+ getOrderReceipt(requestParameters, options) {
1485
+ return localVarFp.getOrderReceipt(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(axios, basePath));
1486
+ },
1353
1487
  /**
1354
1488
  * List available fulfillers for a given fulfillment
1355
1489
  * @summary List available fulfillers
@@ -1380,6 +1514,16 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
1380
1514
  retryPlatformPayment(requestParameters, options) {
1381
1515
  return localVarFp.retryPlatformPayment(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(axios, basePath));
1382
1516
  },
1517
+ /**
1518
+ * Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
1519
+ * @summary Send order receipt
1520
+ * @param {OrdersApiSendOrderReceiptRequest} requestParameters Request parameters.
1521
+ * @param {*} [options] Override http request option.
1522
+ * @throws {RequiredError}
1523
+ */
1524
+ sendOrderReceipt(requestParameters, options) {
1525
+ return localVarFp.sendOrderReceipt(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(axios, basePath));
1526
+ },
1383
1527
  /**
1384
1528
  * Update a fulfillment that belongs to an order placed through the platform
1385
1529
  * @summary Update fulfillment
@@ -1432,6 +1576,17 @@ export class OrdersApi extends BaseAPI {
1432
1576
  getOrder(requestParameters, options) {
1433
1577
  return OrdersApiFp(this.configuration).getOrder(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1434
1578
  }
1579
+ /**
1580
+ * Get an order receipt for a platform by a given order ID.
1581
+ * @summary Get order receipt
1582
+ * @param {OrdersApiGetOrderReceiptRequest} requestParameters Request parameters.
1583
+ * @param {*} [options] Override http request option.
1584
+ * @throws {RequiredError}
1585
+ * @memberof OrdersApi
1586
+ */
1587
+ getOrderReceipt(requestParameters, options) {
1588
+ return OrdersApiFp(this.configuration).getOrderReceipt(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1589
+ }
1435
1590
  /**
1436
1591
  * List available fulfillers for a given fulfillment
1437
1592
  * @summary List available fulfillers
@@ -1465,6 +1620,17 @@ export class OrdersApi extends BaseAPI {
1465
1620
  retryPlatformPayment(requestParameters, options) {
1466
1621
  return OrdersApiFp(this.configuration).retryPlatformPayment(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1467
1622
  }
1623
+ /**
1624
+ * Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
1625
+ * @summary Send order receipt
1626
+ * @param {OrdersApiSendOrderReceiptRequest} requestParameters Request parameters.
1627
+ * @param {*} [options] Override http request option.
1628
+ * @throws {RequiredError}
1629
+ * @memberof OrdersApi
1630
+ */
1631
+ sendOrderReceipt(requestParameters, options) {
1632
+ return OrdersApiFp(this.configuration).sendOrderReceipt(requestParameters.project, requestParameters.platformId, requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1633
+ }
1468
1634
  /**
1469
1635
  * Update a fulfillment that belongs to an order placed through the platform
1470
1636
  * @summary Update fulfillment
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.23.0
8
+ * The version of the OpenAPI document: 0.24.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/Order.md CHANGED
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
25
25
  **statusHistory** | [**Array<StatusHistoryItem>**](StatusHistoryItem.md) | | [optional] [default to undefined]
26
26
  **project** | [**Project**](Project.md) | | [default to undefined]
27
27
  **paymentAttempts** | [**Array<PaymentAttempt>**](PaymentAttempt.md) | | [optional] [default to undefined]
28
+ **integrationType** | **string** | The integration type of the order, e.g. \"website\" or \"shopify\" | [optional] [default to undefined]
28
29
 
29
30
  ## Example
30
31
 
@@ -52,6 +53,7 @@ const instance: Order = {
52
53
  statusHistory,
53
54
  project,
54
55
  paymentAttempts,
56
+ integrationType,
55
57
  };
56
58
  ```
57
59
 
package/docs/OrdersApi.md CHANGED
@@ -7,9 +7,11 @@ All URIs are relative to *https://localhost:8080*
7
7
  |[**exportOrders**](#exportorders) | **GET** /v1/platform/{platformId}/orders/export | Export orders|
8
8
  |[**getFulfillment**](#getfulfillment) | **GET** /v1/platform/{platformId}/fulfillments/{fulfillmentId} | Get fulfillment|
9
9
  |[**getOrder**](#getorder) | **GET** /v1/platform/{platformId}/orders/{orderId} | Get order|
10
+ |[**getOrderReceipt**](#getorderreceipt) | **GET** /v1/platform/{platformId}/orders/{orderId}/receipt | Get order receipt|
10
11
  |[**listAvailableFulfillers**](#listavailablefulfillers) | **GET** /v1/platform/{platformId}/fulfillments/{fulfillmentId}/available-fulfillers | List available fulfillers|
11
12
  |[**listOrders**](#listorders) | **GET** /v1/platform/{platformId}/orders | List orders|
12
13
  |[**retryPlatformPayment**](#retryplatformpayment) | **POST** /v1/platform/{platformId}/orders/{orderId}/retryPlatformPayment | Retry|
14
+ |[**sendOrderReceipt**](#sendorderreceipt) | **POST** /v1/platform/{platformId}/orders/{orderId}/receipt/send | Send order receipt|
13
15
  |[**updateFulfillment**](#updatefulfillment) | **PATCH** /v1/platform/{platformId}/fulfillments/{fulfillmentId} | Update fulfillment|
14
16
 
15
17
  # **exportOrders**
@@ -204,6 +206,68 @@ const { status, data } = await apiInstance.getOrder(
204
206
 
205
207
  [[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)
206
208
 
209
+ # **getOrderReceipt**
210
+ > string getOrderReceipt()
211
+
212
+ Get an order receipt for a platform by a given order ID.
213
+
214
+ ### Example
215
+
216
+ ```typescript
217
+ import {
218
+ OrdersApi,
219
+ Configuration
220
+ } from '@teemill/platform';
221
+
222
+ const configuration = new Configuration();
223
+ const apiInstance = new OrdersApi(configuration);
224
+
225
+ let project: string; //Project unique identifier (default to undefined)
226
+ let platformId: string; //The platform identifier (default to undefined)
227
+ let orderId: string; //The order identifier (default to undefined)
228
+
229
+ const { status, data } = await apiInstance.getOrderReceipt(
230
+ project,
231
+ platformId,
232
+ orderId
233
+ );
234
+ ```
235
+
236
+ ### Parameters
237
+
238
+ |Name | Type | Description | Notes|
239
+ |------------- | ------------- | ------------- | -------------|
240
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
241
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
242
+ | **orderId** | [**string**] | The order identifier | defaults to undefined|
243
+
244
+
245
+ ### Return type
246
+
247
+ **string**
248
+
249
+ ### Authorization
250
+
251
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
252
+
253
+ ### HTTP request headers
254
+
255
+ - **Content-Type**: Not defined
256
+ - **Accept**: text/html, application/json
257
+
258
+
259
+ ### HTTP response details
260
+ | Status code | Description | Response headers |
261
+ |-------------|-------------|------------------|
262
+ |**200** | Returns the order receipt as an HTML page | - |
263
+ |**400** | Failed validation | - |
264
+ |**401** | Not authorised to access this resource | - |
265
+ |**403** | Refuse to authorize | - |
266
+ |**404** | Resource not found | - |
267
+ |**500** | Unknown server error | - |
268
+
269
+ [[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)
270
+
207
271
  # **listAvailableFulfillers**
208
272
  > FulfillersResponse listAvailableFulfillers()
209
273
 
@@ -405,6 +469,68 @@ const { status, data } = await apiInstance.retryPlatformPayment(
405
469
 
406
470
  [[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)
407
471
 
472
+ # **sendOrderReceipt**
473
+ > sendOrderReceipt()
474
+
475
+ Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
476
+
477
+ ### Example
478
+
479
+ ```typescript
480
+ import {
481
+ OrdersApi,
482
+ Configuration
483
+ } from '@teemill/platform';
484
+
485
+ const configuration = new Configuration();
486
+ const apiInstance = new OrdersApi(configuration);
487
+
488
+ let project: string; //Project unique identifier (default to undefined)
489
+ let platformId: string; //The platform identifier (default to undefined)
490
+ let orderId: string; //The order identifier (default to undefined)
491
+
492
+ const { status, data } = await apiInstance.sendOrderReceipt(
493
+ project,
494
+ platformId,
495
+ orderId
496
+ );
497
+ ```
498
+
499
+ ### Parameters
500
+
501
+ |Name | Type | Description | Notes|
502
+ |------------- | ------------- | ------------- | -------------|
503
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
504
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
505
+ | **orderId** | [**string**] | The order identifier | defaults to undefined|
506
+
507
+
508
+ ### Return type
509
+
510
+ void (empty response body)
511
+
512
+ ### Authorization
513
+
514
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
515
+
516
+ ### HTTP request headers
517
+
518
+ - **Content-Type**: Not defined
519
+ - **Accept**: application/json
520
+
521
+
522
+ ### HTTP response details
523
+ | Status code | Description | Response headers |
524
+ |-------------|-------------|------------------|
525
+ |**204** | Successfully sent order receipt to customer | - |
526
+ |**400** | Failed validation | - |
527
+ |**401** | Not authorised to access this resource | - |
528
+ |**403** | Refuse to authorize | - |
529
+ |**404** | Resource not found | - |
530
+ |**500** | Unknown server error | - |
531
+
532
+ [[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)
533
+
408
534
  # **updateFulfillment**
409
535
  > Fulfillment updateFulfillment(updateFulfillmentRequest)
410
536
 
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/platform",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {