@teemill/platform 0.62.0 → 0.62.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.62.0
1
+ ## @teemill/platform@0.62.1
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/platform@0.62.0 --save
39
+ npm install @teemill/platform@0.62.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -509,6 +509,9 @@ export interface Fulfiller {
509
509
  */
510
510
  'id': string;
511
511
  'location': FulfillerLocation;
512
+ /**
513
+ * Whether the fulfiller is able to fulfill the order immediately. This relies on adequate stock, available machines/technologies and the factory being configured as a fulfiller for the warehouse product.
514
+ */
512
515
  'canFulfillImmediately': boolean | null;
513
516
  }
514
517
  export interface FulfillerLocation {
@@ -635,7 +638,13 @@ export interface Order {
635
638
  */
636
639
  'ref'?: string;
637
640
  'status'?: OrderStatus;
641
+ /**
642
+ * The unique identifier of the moderation item attached to this order. Only present if the moderation module is installed and the order is in moderation status.
643
+ */
638
644
  'approvalItemId'?: string | null;
645
+ /**
646
+ * Reference to the customer resource
647
+ */
639
648
  'customerRef': string;
640
649
  'contactInformation': ContactInformation;
641
650
  'paymentMethod'?: OrderPaymentMethod;
@@ -1150,7 +1159,13 @@ export interface UpdateFulfillmentRequest {
1150
1159
  'fulfillerId'?: string;
1151
1160
  }
1152
1161
  export interface UpdateModerationItemRequest {
1162
+ /**
1163
+ * Whether to approve or deny the moderation item.
1164
+ */
1153
1165
  'judgement': UpdateModerationItemRequestJudgementEnum;
1166
+ /**
1167
+ * The reason for denying the moderation item. Required only if the judgement is denied.
1168
+ */
1154
1169
  'denialReason'?: string;
1155
1170
  }
1156
1171
 
@@ -1220,7 +1235,7 @@ export interface Variant {
1220
1235
  export const CustomersApiAxiosParamCreator = function (configuration?: Configuration) {
1221
1236
  return {
1222
1237
  /**
1223
- * Create a chat channel for a platform customer if it doesn\'t exist
1238
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1224
1239
  * @summary Create chat channel
1225
1240
  * @param {string} project Project unique identifier
1226
1241
  * @param {string} platformId The platform identifier
@@ -1830,7 +1845,7 @@ export const CustomersApiFp = function(configuration?: Configuration) {
1830
1845
  const localVarAxiosParamCreator = CustomersApiAxiosParamCreator(configuration)
1831
1846
  return {
1832
1847
  /**
1833
- * Create a chat channel for a platform customer if it doesn\'t exist
1848
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1834
1849
  * @summary Create chat channel
1835
1850
  * @param {string} project Project unique identifier
1836
1851
  * @param {string} platformId The platform identifier
@@ -1995,7 +2010,7 @@ export const CustomersApiFactory = function (configuration?: Configuration, base
1995
2010
  const localVarFp = CustomersApiFp(configuration)
1996
2011
  return {
1997
2012
  /**
1998
- * Create a chat channel for a platform customer if it doesn\'t exist
2013
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1999
2014
  * @summary Create chat channel
2000
2015
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
2001
2016
  * @param {*} [options] Override http request option.
@@ -2419,7 +2434,7 @@ export interface CustomersApiUpdateCustomerRequest {
2419
2434
  */
2420
2435
  export class CustomersApi extends BaseAPI {
2421
2436
  /**
2422
- * Create a chat channel for a platform customer if it doesn\'t exist
2437
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
2423
2438
  * @summary Create chat channel
2424
2439
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
2425
2440
  * @param {*} [options] Override http request option.
@@ -3424,7 +3439,7 @@ export class EnquiriesApi extends BaseAPI {
3424
3439
  export const ModerationApiAxiosParamCreator = function (configuration?: Configuration) {
3425
3440
  return {
3426
3441
  /**
3427
- * Update a moderation item
3442
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
3428
3443
  * @summary Update a moderation item
3429
3444
  * @param {string} project Project unique identifier
3430
3445
  * @param {string} moderationItemId The moderation item identifier
@@ -3484,7 +3499,7 @@ export const ModerationApiFp = function(configuration?: Configuration) {
3484
3499
  const localVarAxiosParamCreator = ModerationApiAxiosParamCreator(configuration)
3485
3500
  return {
3486
3501
  /**
3487
- * Update a moderation item
3502
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
3488
3503
  * @summary Update a moderation item
3489
3504
  * @param {string} project Project unique identifier
3490
3505
  * @param {string} moderationItemId The moderation item identifier
@@ -3508,7 +3523,7 @@ export const ModerationApiFactory = function (configuration?: Configuration, bas
3508
3523
  const localVarFp = ModerationApiFp(configuration)
3509
3524
  return {
3510
3525
  /**
3511
- * Update a moderation item
3526
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
3512
3527
  * @summary Update a moderation item
3513
3528
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
3514
3529
  * @param {*} [options] Override http request option.
@@ -3542,7 +3557,7 @@ export interface ModerationApiUpdateModerationItemRequest {
3542
3557
  */
3543
3558
  export class ModerationApi extends BaseAPI {
3544
3559
  /**
3545
- * Update a moderation item
3560
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
3546
3561
  * @summary Update a moderation item
3547
3562
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
3548
3563
  * @param {*} [options] Override http request option.
package/base.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /**
3
- * Platform API
3
+ * Platform
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.62.0
6
+ * The version of the OpenAPI document: 0.62.1
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -480,6 +480,9 @@ export interface Fulfiller {
480
480
  */
481
481
  'id': string;
482
482
  'location': FulfillerLocation;
483
+ /**
484
+ * Whether the fulfiller is able to fulfill the order immediately. This relies on adequate stock, available machines/technologies and the factory being configured as a fulfiller for the warehouse product.
485
+ */
483
486
  'canFulfillImmediately': boolean | null;
484
487
  }
485
488
  export interface FulfillerLocation {
@@ -604,7 +607,13 @@ export interface Order {
604
607
  */
605
608
  'ref'?: string;
606
609
  'status'?: OrderStatus;
610
+ /**
611
+ * The unique identifier of the moderation item attached to this order. Only present if the moderation module is installed and the order is in moderation status.
612
+ */
607
613
  'approvalItemId'?: string | null;
614
+ /**
615
+ * Reference to the customer resource
616
+ */
608
617
  'customerRef': string;
609
618
  'contactInformation': ContactInformation;
610
619
  'paymentMethod'?: OrderPaymentMethod;
@@ -1101,7 +1110,13 @@ export interface UpdateFulfillmentRequest {
1101
1110
  'fulfillerId'?: string;
1102
1111
  }
1103
1112
  export interface UpdateModerationItemRequest {
1113
+ /**
1114
+ * Whether to approve or deny the moderation item.
1115
+ */
1104
1116
  'judgement': UpdateModerationItemRequestJudgementEnum;
1117
+ /**
1118
+ * The reason for denying the moderation item. Required only if the judgement is denied.
1119
+ */
1105
1120
  'denialReason'?: string;
1106
1121
  }
1107
1122
  export declare const UpdateModerationItemRequestJudgementEnum: {
@@ -1164,7 +1179,7 @@ export interface Variant {
1164
1179
  */
1165
1180
  export declare const CustomersApiAxiosParamCreator: (configuration?: Configuration) => {
1166
1181
  /**
1167
- * Create a chat channel for a platform customer if it doesn\'t exist
1182
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1168
1183
  * @summary Create chat channel
1169
1184
  * @param {string} project Project unique identifier
1170
1185
  * @param {string} platformId The platform identifier
@@ -1285,7 +1300,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
1285
1300
  */
1286
1301
  export declare const CustomersApiFp: (configuration?: Configuration) => {
1287
1302
  /**
1288
- * Create a chat channel for a platform customer if it doesn\'t exist
1303
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1289
1304
  * @summary Create chat channel
1290
1305
  * @param {string} project Project unique identifier
1291
1306
  * @param {string} platformId The platform identifier
@@ -1406,7 +1421,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
1406
1421
  */
1407
1422
  export declare const CustomersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1408
1423
  /**
1409
- * Create a chat channel for a platform customer if it doesn\'t exist
1424
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1410
1425
  * @summary Create chat channel
1411
1426
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
1412
1427
  * @param {*} [options] Override http request option.
@@ -1752,7 +1767,7 @@ export interface CustomersApiUpdateCustomerRequest {
1752
1767
  */
1753
1768
  export declare class CustomersApi extends BaseAPI {
1754
1769
  /**
1755
- * Create a chat channel for a platform customer if it doesn\'t exist
1770
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1756
1771
  * @summary Create chat channel
1757
1772
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
1758
1773
  * @param {*} [options] Override http request option.
@@ -2292,7 +2307,7 @@ export declare class EnquiriesApi extends BaseAPI {
2292
2307
  */
2293
2308
  export declare const ModerationApiAxiosParamCreator: (configuration?: Configuration) => {
2294
2309
  /**
2295
- * Update a moderation item
2310
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
2296
2311
  * @summary Update a moderation item
2297
2312
  * @param {string} project Project unique identifier
2298
2313
  * @param {string} moderationItemId The moderation item identifier
@@ -2307,7 +2322,7 @@ export declare const ModerationApiAxiosParamCreator: (configuration?: Configurat
2307
2322
  */
2308
2323
  export declare const ModerationApiFp: (configuration?: Configuration) => {
2309
2324
  /**
2310
- * Update a moderation item
2325
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
2311
2326
  * @summary Update a moderation item
2312
2327
  * @param {string} project Project unique identifier
2313
2328
  * @param {string} moderationItemId The moderation item identifier
@@ -2322,7 +2337,7 @@ export declare const ModerationApiFp: (configuration?: Configuration) => {
2322
2337
  */
2323
2338
  export declare const ModerationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2324
2339
  /**
2325
- * Update a moderation item
2340
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
2326
2341
  * @summary Update a moderation item
2327
2342
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
2328
2343
  * @param {*} [options] Override http request option.
@@ -2349,7 +2364,7 @@ export interface ModerationApiUpdateModerationItemRequest {
2349
2364
  */
2350
2365
  export declare class ModerationApi extends BaseAPI {
2351
2366
  /**
2352
- * Update a moderation item
2367
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
2353
2368
  * @summary Update a moderation item
2354
2369
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
2355
2370
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Platform API
5
+ * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.62.0
8
+ * The version of the OpenAPI document: 0.62.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -97,7 +97,7 @@ exports.UpdateModerationItemRequestJudgementEnum = {
97
97
  const CustomersApiAxiosParamCreator = function (configuration) {
98
98
  return {
99
99
  /**
100
- * Create a chat channel for a platform customer if it doesn\'t exist
100
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
101
101
  * @summary Create chat channel
102
102
  * @param {string} project Project unique identifier
103
103
  * @param {string} platformId The platform identifier
@@ -613,7 +613,7 @@ const CustomersApiFp = function (configuration) {
613
613
  const localVarAxiosParamCreator = (0, exports.CustomersApiAxiosParamCreator)(configuration);
614
614
  return {
615
615
  /**
616
- * Create a chat channel for a platform customer if it doesn\'t exist
616
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
617
617
  * @summary Create chat channel
618
618
  * @param {string} project Project unique identifier
619
619
  * @param {string} platformId The platform identifier
@@ -802,7 +802,7 @@ const CustomersApiFactory = function (configuration, basePath, axios) {
802
802
  const localVarFp = (0, exports.CustomersApiFp)(configuration);
803
803
  return {
804
804
  /**
805
- * Create a chat channel for a platform customer if it doesn\'t exist
805
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
806
806
  * @summary Create chat channel
807
807
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
808
808
  * @param {*} [options] Override http request option.
@@ -889,7 +889,7 @@ exports.CustomersApiFactory = CustomersApiFactory;
889
889
  */
890
890
  class CustomersApi extends base_1.BaseAPI {
891
891
  /**
892
- * Create a chat channel for a platform customer if it doesn\'t exist
892
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
893
893
  * @summary Create chat channel
894
894
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
895
895
  * @param {*} [options] Override http request option.
@@ -1679,7 +1679,7 @@ exports.EnquiriesApi = EnquiriesApi;
1679
1679
  const ModerationApiAxiosParamCreator = function (configuration) {
1680
1680
  return {
1681
1681
  /**
1682
- * Update a moderation item
1682
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
1683
1683
  * @summary Update a moderation item
1684
1684
  * @param {string} project Project unique identifier
1685
1685
  * @param {string} moderationItemId The moderation item identifier
@@ -1732,7 +1732,7 @@ const ModerationApiFp = function (configuration) {
1732
1732
  const localVarAxiosParamCreator = (0, exports.ModerationApiAxiosParamCreator)(configuration);
1733
1733
  return {
1734
1734
  /**
1735
- * Update a moderation item
1735
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
1736
1736
  * @summary Update a moderation item
1737
1737
  * @param {string} project Project unique identifier
1738
1738
  * @param {string} moderationItemId The moderation item identifier
@@ -1759,7 +1759,7 @@ const ModerationApiFactory = function (configuration, basePath, axios) {
1759
1759
  const localVarFp = (0, exports.ModerationApiFp)(configuration);
1760
1760
  return {
1761
1761
  /**
1762
- * Update a moderation item
1762
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
1763
1763
  * @summary Update a moderation item
1764
1764
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
1765
1765
  * @param {*} [options] Override http request option.
@@ -1776,7 +1776,7 @@ exports.ModerationApiFactory = ModerationApiFactory;
1776
1776
  */
1777
1777
  class ModerationApi extends base_1.BaseAPI {
1778
1778
  /**
1779
- * Update a moderation item
1779
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
1780
1780
  * @summary Update a moderation item
1781
1781
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
1782
1782
  * @param {*} [options] Override http request option.
package/dist/base.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Platform API
5
+ * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.62.0
8
+ * The version of the OpenAPI document: 0.62.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Platform API
5
+ * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.62.0
8
+ * The version of the OpenAPI document: 0.62.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  /* tslint:disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -480,6 +480,9 @@ export interface Fulfiller {
480
480
  */
481
481
  'id': string;
482
482
  'location': FulfillerLocation;
483
+ /**
484
+ * Whether the fulfiller is able to fulfill the order immediately. This relies on adequate stock, available machines/technologies and the factory being configured as a fulfiller for the warehouse product.
485
+ */
483
486
  'canFulfillImmediately': boolean | null;
484
487
  }
485
488
  export interface FulfillerLocation {
@@ -604,7 +607,13 @@ export interface Order {
604
607
  */
605
608
  'ref'?: string;
606
609
  'status'?: OrderStatus;
610
+ /**
611
+ * The unique identifier of the moderation item attached to this order. Only present if the moderation module is installed and the order is in moderation status.
612
+ */
607
613
  'approvalItemId'?: string | null;
614
+ /**
615
+ * Reference to the customer resource
616
+ */
608
617
  'customerRef': string;
609
618
  'contactInformation': ContactInformation;
610
619
  'paymentMethod'?: OrderPaymentMethod;
@@ -1101,7 +1110,13 @@ export interface UpdateFulfillmentRequest {
1101
1110
  'fulfillerId'?: string;
1102
1111
  }
1103
1112
  export interface UpdateModerationItemRequest {
1113
+ /**
1114
+ * Whether to approve or deny the moderation item.
1115
+ */
1104
1116
  'judgement': UpdateModerationItemRequestJudgementEnum;
1117
+ /**
1118
+ * The reason for denying the moderation item. Required only if the judgement is denied.
1119
+ */
1105
1120
  'denialReason'?: string;
1106
1121
  }
1107
1122
  export declare const UpdateModerationItemRequestJudgementEnum: {
@@ -1164,7 +1179,7 @@ export interface Variant {
1164
1179
  */
1165
1180
  export declare const CustomersApiAxiosParamCreator: (configuration?: Configuration) => {
1166
1181
  /**
1167
- * Create a chat channel for a platform customer if it doesn\'t exist
1182
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1168
1183
  * @summary Create chat channel
1169
1184
  * @param {string} project Project unique identifier
1170
1185
  * @param {string} platformId The platform identifier
@@ -1285,7 +1300,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
1285
1300
  */
1286
1301
  export declare const CustomersApiFp: (configuration?: Configuration) => {
1287
1302
  /**
1288
- * Create a chat channel for a platform customer if it doesn\'t exist
1303
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1289
1304
  * @summary Create chat channel
1290
1305
  * @param {string} project Project unique identifier
1291
1306
  * @param {string} platformId The platform identifier
@@ -1406,7 +1421,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
1406
1421
  */
1407
1422
  export declare const CustomersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1408
1423
  /**
1409
- * Create a chat channel for a platform customer if it doesn\'t exist
1424
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1410
1425
  * @summary Create chat channel
1411
1426
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
1412
1427
  * @param {*} [options] Override http request option.
@@ -1752,7 +1767,7 @@ export interface CustomersApiUpdateCustomerRequest {
1752
1767
  */
1753
1768
  export declare class CustomersApi extends BaseAPI {
1754
1769
  /**
1755
- * Create a chat channel for a platform customer if it doesn\'t exist
1770
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
1756
1771
  * @summary Create chat channel
1757
1772
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
1758
1773
  * @param {*} [options] Override http request option.
@@ -2292,7 +2307,7 @@ export declare class EnquiriesApi extends BaseAPI {
2292
2307
  */
2293
2308
  export declare const ModerationApiAxiosParamCreator: (configuration?: Configuration) => {
2294
2309
  /**
2295
- * Update a moderation item
2310
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
2296
2311
  * @summary Update a moderation item
2297
2312
  * @param {string} project Project unique identifier
2298
2313
  * @param {string} moderationItemId The moderation item identifier
@@ -2307,7 +2322,7 @@ export declare const ModerationApiAxiosParamCreator: (configuration?: Configurat
2307
2322
  */
2308
2323
  export declare const ModerationApiFp: (configuration?: Configuration) => {
2309
2324
  /**
2310
- * Update a moderation item
2325
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
2311
2326
  * @summary Update a moderation item
2312
2327
  * @param {string} project Project unique identifier
2313
2328
  * @param {string} moderationItemId The moderation item identifier
@@ -2322,7 +2337,7 @@ export declare const ModerationApiFp: (configuration?: Configuration) => {
2322
2337
  */
2323
2338
  export declare const ModerationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2324
2339
  /**
2325
- * Update a moderation item
2340
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
2326
2341
  * @summary Update a moderation item
2327
2342
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
2328
2343
  * @param {*} [options] Override http request option.
@@ -2349,7 +2364,7 @@ export interface ModerationApiUpdateModerationItemRequest {
2349
2364
  */
2350
2365
  export declare class ModerationApi extends BaseAPI {
2351
2366
  /**
2352
- * Update a moderation item
2367
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
2353
2368
  * @summary Update a moderation item
2354
2369
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
2355
2370
  * @param {*} [options] Override http request option.
package/dist/esm/api.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -93,7 +93,7 @@ export const UpdateModerationItemRequestJudgementEnum = {
93
93
  export const CustomersApiAxiosParamCreator = function (configuration) {
94
94
  return {
95
95
  /**
96
- * Create a chat channel for a platform customer if it doesn\'t exist
96
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
97
97
  * @summary Create chat channel
98
98
  * @param {string} project Project unique identifier
99
99
  * @param {string} platformId The platform identifier
@@ -608,7 +608,7 @@ export const CustomersApiFp = function (configuration) {
608
608
  const localVarAxiosParamCreator = CustomersApiAxiosParamCreator(configuration);
609
609
  return {
610
610
  /**
611
- * Create a chat channel for a platform customer if it doesn\'t exist
611
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
612
612
  * @summary Create chat channel
613
613
  * @param {string} project Project unique identifier
614
614
  * @param {string} platformId The platform identifier
@@ -796,7 +796,7 @@ export const CustomersApiFactory = function (configuration, basePath, axios) {
796
796
  const localVarFp = CustomersApiFp(configuration);
797
797
  return {
798
798
  /**
799
- * Create a chat channel for a platform customer if it doesn\'t exist
799
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
800
800
  * @summary Create chat channel
801
801
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
802
802
  * @param {*} [options] Override http request option.
@@ -882,7 +882,7 @@ export const CustomersApiFactory = function (configuration, basePath, axios) {
882
882
  */
883
883
  export class CustomersApi extends BaseAPI {
884
884
  /**
885
- * Create a chat channel for a platform customer if it doesn\'t exist
885
+ * Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
886
886
  * @summary Create chat channel
887
887
  * @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
888
888
  * @param {*} [options] Override http request option.
@@ -1663,7 +1663,7 @@ export class EnquiriesApi extends BaseAPI {
1663
1663
  export const ModerationApiAxiosParamCreator = function (configuration) {
1664
1664
  return {
1665
1665
  /**
1666
- * Update a moderation item
1666
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
1667
1667
  * @summary Update a moderation item
1668
1668
  * @param {string} project Project unique identifier
1669
1669
  * @param {string} moderationItemId The moderation item identifier
@@ -1715,7 +1715,7 @@ export const ModerationApiFp = function (configuration) {
1715
1715
  const localVarAxiosParamCreator = ModerationApiAxiosParamCreator(configuration);
1716
1716
  return {
1717
1717
  /**
1718
- * Update a moderation item
1718
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
1719
1719
  * @summary Update a moderation item
1720
1720
  * @param {string} project Project unique identifier
1721
1721
  * @param {string} moderationItemId The moderation item identifier
@@ -1741,7 +1741,7 @@ export const ModerationApiFactory = function (configuration, basePath, axios) {
1741
1741
  const localVarFp = ModerationApiFp(configuration);
1742
1742
  return {
1743
1743
  /**
1744
- * Update a moderation item
1744
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
1745
1745
  * @summary Update a moderation item
1746
1746
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
1747
1747
  * @param {*} [options] Override http request option.
@@ -1757,7 +1757,7 @@ export const ModerationApiFactory = function (configuration, basePath, axios) {
1757
1757
  */
1758
1758
  export class ModerationApi extends BaseAPI {
1759
1759
  /**
1760
- * Update a moderation item
1760
+ * Approves or denies a moderation item. If denied, a denial reason must be provided.
1761
1761
  * @summary Update a moderation item
1762
1762
  * @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
1763
1763
  * @param {*} [options] Override http request option.
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
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
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,9 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /**
3
- * Platform API
3
+ * Platform
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.62.0
6
+ * The version of the OpenAPI document: 0.62.1
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
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
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
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
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Platform API
2
+ * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.62.0
5
+ * The version of the OpenAPI document: 0.62.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Platform API
5
+ * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.62.0
8
+ * The version of the OpenAPI document: 0.62.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ All URIs are relative to *https://localhost:8080*
16
16
  # **createCustomerChatChannel**
17
17
  > CreateOrderChatChannel200Response createCustomerChatChannel()
18
18
 
19
- Create a chat channel for a platform customer if it doesn\'t exist
19
+ Create a chat channel for a platform customer if it doesn\'t exist. Otherwise, returns the existing chat channel.
20
20
 
21
21
  ### Example
22
22
 
@@ -66,7 +66,7 @@ const { status, data } = await apiInstance.createCustomerChatChannel(
66
66
  ### HTTP response details
67
67
  | Status code | Description | Response headers |
68
68
  |-------------|-------------|------------------|
69
- |**200** | Chat channel created | - |
69
+ |**200** | Chat channel created/found | - |
70
70
  |**400** | Failed validation | - |
71
71
  |**401** | Not authorised to access this resource | - |
72
72
  |**403** | Refuse to authorize | - |
package/docs/Fulfiller.md CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **id** | **string** | Unique object identifier | [default to undefined]
10
10
  **location** | [**FulfillerLocation**](FulfillerLocation.md) | | [default to undefined]
11
- **canFulfillImmediately** | **boolean** | | [default to undefined]
11
+ **canFulfillImmediately** | **boolean** | Whether the fulfiller is able to fulfill the order immediately. This relies on adequate stock, available machines/technologies and the factory being configured as a fulfiller for the warehouse product. | [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -9,7 +9,7 @@ All URIs are relative to *https://localhost:8080*
9
9
  # **updateModerationItem**
10
10
  > updateModerationItem()
11
11
 
12
- Update a moderation item
12
+ Approves or denies a moderation item. If denied, a denial reason must be provided.
13
13
 
14
14
  ### Example
15
15
 
@@ -60,7 +60,7 @@ void (empty response body)
60
60
  ### HTTP response details
61
61
  | Status code | Description | Response headers |
62
62
  |-------------|-------------|------------------|
63
- |**204** | Item has been moderated | - |
63
+ |**204** | Item has been successfully moderated | - |
64
64
  |**400** | Failed validation | - |
65
65
  |**401** | Not authorised to access this resource | - |
66
66
  |**403** | Refuse to authorize | - |
package/docs/Order.md CHANGED
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
9
  **ref** | **string** | A reference to the resource location | [optional] [default to undefined]
10
10
  **status** | [**OrderStatus**](OrderStatus.md) | | [optional] [default to undefined]
11
- **approvalItemId** | **string** | | [optional] [default to undefined]
12
- **customerRef** | **string** | | [default to undefined]
11
+ **approvalItemId** | **string** | The unique identifier of the moderation item attached to this order. Only present if the moderation module is installed and the order is in moderation status. | [optional] [default to undefined]
12
+ **customerRef** | **string** | Reference to the customer resource | [default to undefined]
13
13
  **contactInformation** | [**ContactInformation**](ContactInformation.md) | | [default to undefined]
14
14
  **paymentMethod** | [**OrderPaymentMethod**](OrderPaymentMethod.md) | | [optional] [default to undefined]
15
15
  **shippingAddress** | [**Address**](Address.md) | | [default to undefined]
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **judgement** | **string** | | [default to undefined]
9
- **denialReason** | **string** | | [optional] [default to undefined]
8
+ **judgement** | **string** | Whether to approve or deny the moderation item. | [default to undefined]
9
+ **denialReason** | **string** | The reason for denying the moderation item. Required only if the judgement is denied. | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
package/index.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Platform API
4
+ * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.62.0
7
+ * The version of the OpenAPI document: 0.62.1
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.62.0",
3
+ "version": "0.62.1",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {