@teemill/platform 0.61.1 → 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 +3 -2
- package/api.ts +36 -10
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +36 -10
- package/dist/api.js +10 -10
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +36 -10
- package/dist/esm/api.js +10 -10
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/docs/CustomersApi.md +2 -2
- package/docs/Fulfiller.md +1 -1
- package/docs/ModerationApi.md +2 -2
- package/docs/Order.md +4 -2
- package/docs/OrderRefundsInner.md +22 -0
- package/docs/UpdateModerationItemRequest.md +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@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.
|
|
39
|
+
npm install @teemill/platform@0.62.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -171,6 +171,7 @@ Class | Method | HTTP request | Description
|
|
|
171
171
|
- [OrderItem1](docs/OrderItem1.md)
|
|
172
172
|
- [OrderItem1Price](docs/OrderItem1Price.md)
|
|
173
173
|
- [OrderPaymentMethod](docs/OrderPaymentMethod.md)
|
|
174
|
+
- [OrderRefundsInner](docs/OrderRefundsInner.md)
|
|
174
175
|
- [OrderStatus](docs/OrderStatus.md)
|
|
175
176
|
- [OrderTracking](docs/OrderTracking.md)
|
|
176
177
|
- [OrdersResponse](docs/OrdersResponse.md)
|
package/api.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Platform
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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;
|
|
@@ -654,6 +663,7 @@ export interface Order {
|
|
|
654
663
|
*/
|
|
655
664
|
'merchantReference'?: string | null;
|
|
656
665
|
'fulfillments'?: Array<Fulfillment>;
|
|
666
|
+
'refunds'?: Array<OrderRefundsInner>;
|
|
657
667
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
658
668
|
'items': Array<OrderItem>;
|
|
659
669
|
/**
|
|
@@ -783,6 +793,16 @@ export interface OrderItem1Price {
|
|
|
783
793
|
export interface OrderPaymentMethod {
|
|
784
794
|
'type': string | null;
|
|
785
795
|
}
|
|
796
|
+
export interface OrderRefundsInner {
|
|
797
|
+
/**
|
|
798
|
+
* Unique object identifier
|
|
799
|
+
*/
|
|
800
|
+
'id'?: string;
|
|
801
|
+
/**
|
|
802
|
+
* A reference to the resource location
|
|
803
|
+
*/
|
|
804
|
+
'ref'?: string;
|
|
805
|
+
}
|
|
786
806
|
|
|
787
807
|
export const OrderStatus = {
|
|
788
808
|
New: 'new',
|
|
@@ -1139,7 +1159,13 @@ export interface UpdateFulfillmentRequest {
|
|
|
1139
1159
|
'fulfillerId'?: string;
|
|
1140
1160
|
}
|
|
1141
1161
|
export interface UpdateModerationItemRequest {
|
|
1162
|
+
/**
|
|
1163
|
+
* Whether to approve or deny the moderation item.
|
|
1164
|
+
*/
|
|
1142
1165
|
'judgement': UpdateModerationItemRequestJudgementEnum;
|
|
1166
|
+
/**
|
|
1167
|
+
* The reason for denying the moderation item. Required only if the judgement is denied.
|
|
1168
|
+
*/
|
|
1143
1169
|
'denialReason'?: string;
|
|
1144
1170
|
}
|
|
1145
1171
|
|
|
@@ -1209,7 +1235,7 @@ export interface Variant {
|
|
|
1209
1235
|
export const CustomersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1210
1236
|
return {
|
|
1211
1237
|
/**
|
|
1212
|
-
* 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.
|
|
1213
1239
|
* @summary Create chat channel
|
|
1214
1240
|
* @param {string} project Project unique identifier
|
|
1215
1241
|
* @param {string} platformId The platform identifier
|
|
@@ -1819,7 +1845,7 @@ export const CustomersApiFp = function(configuration?: Configuration) {
|
|
|
1819
1845
|
const localVarAxiosParamCreator = CustomersApiAxiosParamCreator(configuration)
|
|
1820
1846
|
return {
|
|
1821
1847
|
/**
|
|
1822
|
-
* 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.
|
|
1823
1849
|
* @summary Create chat channel
|
|
1824
1850
|
* @param {string} project Project unique identifier
|
|
1825
1851
|
* @param {string} platformId The platform identifier
|
|
@@ -1984,7 +2010,7 @@ export const CustomersApiFactory = function (configuration?: Configuration, base
|
|
|
1984
2010
|
const localVarFp = CustomersApiFp(configuration)
|
|
1985
2011
|
return {
|
|
1986
2012
|
/**
|
|
1987
|
-
* 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.
|
|
1988
2014
|
* @summary Create chat channel
|
|
1989
2015
|
* @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
|
|
1990
2016
|
* @param {*} [options] Override http request option.
|
|
@@ -2408,7 +2434,7 @@ export interface CustomersApiUpdateCustomerRequest {
|
|
|
2408
2434
|
*/
|
|
2409
2435
|
export class CustomersApi extends BaseAPI {
|
|
2410
2436
|
/**
|
|
2411
|
-
* 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.
|
|
2412
2438
|
* @summary Create chat channel
|
|
2413
2439
|
* @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
|
|
2414
2440
|
* @param {*} [options] Override http request option.
|
|
@@ -3413,7 +3439,7 @@ export class EnquiriesApi extends BaseAPI {
|
|
|
3413
3439
|
export const ModerationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3414
3440
|
return {
|
|
3415
3441
|
/**
|
|
3416
|
-
*
|
|
3442
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
3417
3443
|
* @summary Update a moderation item
|
|
3418
3444
|
* @param {string} project Project unique identifier
|
|
3419
3445
|
* @param {string} moderationItemId The moderation item identifier
|
|
@@ -3473,7 +3499,7 @@ export const ModerationApiFp = function(configuration?: Configuration) {
|
|
|
3473
3499
|
const localVarAxiosParamCreator = ModerationApiAxiosParamCreator(configuration)
|
|
3474
3500
|
return {
|
|
3475
3501
|
/**
|
|
3476
|
-
*
|
|
3502
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
3477
3503
|
* @summary Update a moderation item
|
|
3478
3504
|
* @param {string} project Project unique identifier
|
|
3479
3505
|
* @param {string} moderationItemId The moderation item identifier
|
|
@@ -3497,7 +3523,7 @@ export const ModerationApiFactory = function (configuration?: Configuration, bas
|
|
|
3497
3523
|
const localVarFp = ModerationApiFp(configuration)
|
|
3498
3524
|
return {
|
|
3499
3525
|
/**
|
|
3500
|
-
*
|
|
3526
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
3501
3527
|
* @summary Update a moderation item
|
|
3502
3528
|
* @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
|
|
3503
3529
|
* @param {*} [options] Override http request option.
|
|
@@ -3531,7 +3557,7 @@ export interface ModerationApiUpdateModerationItemRequest {
|
|
|
3531
3557
|
*/
|
|
3532
3558
|
export class ModerationApi extends BaseAPI {
|
|
3533
3559
|
/**
|
|
3534
|
-
*
|
|
3560
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
3535
3561
|
* @summary Update a moderation item
|
|
3536
3562
|
* @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
|
|
3537
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
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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
|
|
3
|
+
* Platform
|
|
4
4
|
* Manage Your podOS platform
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 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
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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;
|
|
@@ -623,6 +632,7 @@ export interface Order {
|
|
|
623
632
|
*/
|
|
624
633
|
'merchantReference'?: string | null;
|
|
625
634
|
'fulfillments'?: Array<Fulfillment>;
|
|
635
|
+
'refunds'?: Array<OrderRefundsInner>;
|
|
626
636
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
627
637
|
'items': Array<OrderItem>;
|
|
628
638
|
/**
|
|
@@ -750,6 +760,16 @@ export interface OrderItem1Price {
|
|
|
750
760
|
export interface OrderPaymentMethod {
|
|
751
761
|
'type': string | null;
|
|
752
762
|
}
|
|
763
|
+
export interface OrderRefundsInner {
|
|
764
|
+
/**
|
|
765
|
+
* Unique object identifier
|
|
766
|
+
*/
|
|
767
|
+
'id'?: string;
|
|
768
|
+
/**
|
|
769
|
+
* A reference to the resource location
|
|
770
|
+
*/
|
|
771
|
+
'ref'?: string;
|
|
772
|
+
}
|
|
753
773
|
export declare const OrderStatus: {
|
|
754
774
|
readonly New: "new";
|
|
755
775
|
readonly Paid: "paid";
|
|
@@ -1090,7 +1110,13 @@ export interface UpdateFulfillmentRequest {
|
|
|
1090
1110
|
'fulfillerId'?: string;
|
|
1091
1111
|
}
|
|
1092
1112
|
export interface UpdateModerationItemRequest {
|
|
1113
|
+
/**
|
|
1114
|
+
* Whether to approve or deny the moderation item.
|
|
1115
|
+
*/
|
|
1093
1116
|
'judgement': UpdateModerationItemRequestJudgementEnum;
|
|
1117
|
+
/**
|
|
1118
|
+
* The reason for denying the moderation item. Required only if the judgement is denied.
|
|
1119
|
+
*/
|
|
1094
1120
|
'denialReason'?: string;
|
|
1095
1121
|
}
|
|
1096
1122
|
export declare const UpdateModerationItemRequestJudgementEnum: {
|
|
@@ -1153,7 +1179,7 @@ export interface Variant {
|
|
|
1153
1179
|
*/
|
|
1154
1180
|
export declare const CustomersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1155
1181
|
/**
|
|
1156
|
-
* 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.
|
|
1157
1183
|
* @summary Create chat channel
|
|
1158
1184
|
* @param {string} project Project unique identifier
|
|
1159
1185
|
* @param {string} platformId The platform identifier
|
|
@@ -1274,7 +1300,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1274
1300
|
*/
|
|
1275
1301
|
export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
1276
1302
|
/**
|
|
1277
|
-
* 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.
|
|
1278
1304
|
* @summary Create chat channel
|
|
1279
1305
|
* @param {string} project Project unique identifier
|
|
1280
1306
|
* @param {string} platformId The platform identifier
|
|
@@ -1395,7 +1421,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
1395
1421
|
*/
|
|
1396
1422
|
export declare const CustomersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1397
1423
|
/**
|
|
1398
|
-
* 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.
|
|
1399
1425
|
* @summary Create chat channel
|
|
1400
1426
|
* @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
|
|
1401
1427
|
* @param {*} [options] Override http request option.
|
|
@@ -1741,7 +1767,7 @@ export interface CustomersApiUpdateCustomerRequest {
|
|
|
1741
1767
|
*/
|
|
1742
1768
|
export declare class CustomersApi extends BaseAPI {
|
|
1743
1769
|
/**
|
|
1744
|
-
* 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.
|
|
1745
1771
|
* @summary Create chat channel
|
|
1746
1772
|
* @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
|
|
1747
1773
|
* @param {*} [options] Override http request option.
|
|
@@ -2281,7 +2307,7 @@ export declare class EnquiriesApi extends BaseAPI {
|
|
|
2281
2307
|
*/
|
|
2282
2308
|
export declare const ModerationApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2283
2309
|
/**
|
|
2284
|
-
*
|
|
2310
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
2285
2311
|
* @summary Update a moderation item
|
|
2286
2312
|
* @param {string} project Project unique identifier
|
|
2287
2313
|
* @param {string} moderationItemId The moderation item identifier
|
|
@@ -2296,7 +2322,7 @@ export declare const ModerationApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2296
2322
|
*/
|
|
2297
2323
|
export declare const ModerationApiFp: (configuration?: Configuration) => {
|
|
2298
2324
|
/**
|
|
2299
|
-
*
|
|
2325
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
2300
2326
|
* @summary Update a moderation item
|
|
2301
2327
|
* @param {string} project Project unique identifier
|
|
2302
2328
|
* @param {string} moderationItemId The moderation item identifier
|
|
@@ -2311,7 +2337,7 @@ export declare const ModerationApiFp: (configuration?: Configuration) => {
|
|
|
2311
2337
|
*/
|
|
2312
2338
|
export declare const ModerationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2313
2339
|
/**
|
|
2314
|
-
*
|
|
2340
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
2315
2341
|
* @summary Update a moderation item
|
|
2316
2342
|
* @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
|
|
2317
2343
|
* @param {*} [options] Override http request option.
|
|
@@ -2338,7 +2364,7 @@ export interface ModerationApiUpdateModerationItemRequest {
|
|
|
2338
2364
|
*/
|
|
2339
2365
|
export declare class ModerationApi extends BaseAPI {
|
|
2340
2366
|
/**
|
|
2341
|
-
*
|
|
2367
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
2342
2368
|
* @summary Update a moderation item
|
|
2343
2369
|
* @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
|
|
2344
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
|
|
5
|
+
* Platform
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
|
5
|
+
* Platform
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 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
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
|
5
|
+
* Platform
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 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/configuration.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Platform
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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/configuration.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/**
|
|
4
|
-
* Platform
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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;
|
|
@@ -623,6 +632,7 @@ export interface Order {
|
|
|
623
632
|
*/
|
|
624
633
|
'merchantReference'?: string | null;
|
|
625
634
|
'fulfillments'?: Array<Fulfillment>;
|
|
635
|
+
'refunds'?: Array<OrderRefundsInner>;
|
|
626
636
|
'deliveryEstimates'?: DeliveryEstimates | null;
|
|
627
637
|
'items': Array<OrderItem>;
|
|
628
638
|
/**
|
|
@@ -750,6 +760,16 @@ export interface OrderItem1Price {
|
|
|
750
760
|
export interface OrderPaymentMethod {
|
|
751
761
|
'type': string | null;
|
|
752
762
|
}
|
|
763
|
+
export interface OrderRefundsInner {
|
|
764
|
+
/**
|
|
765
|
+
* Unique object identifier
|
|
766
|
+
*/
|
|
767
|
+
'id'?: string;
|
|
768
|
+
/**
|
|
769
|
+
* A reference to the resource location
|
|
770
|
+
*/
|
|
771
|
+
'ref'?: string;
|
|
772
|
+
}
|
|
753
773
|
export declare const OrderStatus: {
|
|
754
774
|
readonly New: "new";
|
|
755
775
|
readonly Paid: "paid";
|
|
@@ -1090,7 +1110,13 @@ export interface UpdateFulfillmentRequest {
|
|
|
1090
1110
|
'fulfillerId'?: string;
|
|
1091
1111
|
}
|
|
1092
1112
|
export interface UpdateModerationItemRequest {
|
|
1113
|
+
/**
|
|
1114
|
+
* Whether to approve or deny the moderation item.
|
|
1115
|
+
*/
|
|
1093
1116
|
'judgement': UpdateModerationItemRequestJudgementEnum;
|
|
1117
|
+
/**
|
|
1118
|
+
* The reason for denying the moderation item. Required only if the judgement is denied.
|
|
1119
|
+
*/
|
|
1094
1120
|
'denialReason'?: string;
|
|
1095
1121
|
}
|
|
1096
1122
|
export declare const UpdateModerationItemRequestJudgementEnum: {
|
|
@@ -1153,7 +1179,7 @@ export interface Variant {
|
|
|
1153
1179
|
*/
|
|
1154
1180
|
export declare const CustomersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1155
1181
|
/**
|
|
1156
|
-
* 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.
|
|
1157
1183
|
* @summary Create chat channel
|
|
1158
1184
|
* @param {string} project Project unique identifier
|
|
1159
1185
|
* @param {string} platformId The platform identifier
|
|
@@ -1274,7 +1300,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1274
1300
|
*/
|
|
1275
1301
|
export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
1276
1302
|
/**
|
|
1277
|
-
* 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.
|
|
1278
1304
|
* @summary Create chat channel
|
|
1279
1305
|
* @param {string} project Project unique identifier
|
|
1280
1306
|
* @param {string} platformId The platform identifier
|
|
@@ -1395,7 +1421,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
1395
1421
|
*/
|
|
1396
1422
|
export declare const CustomersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1397
1423
|
/**
|
|
1398
|
-
* 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.
|
|
1399
1425
|
* @summary Create chat channel
|
|
1400
1426
|
* @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
|
|
1401
1427
|
* @param {*} [options] Override http request option.
|
|
@@ -1741,7 +1767,7 @@ export interface CustomersApiUpdateCustomerRequest {
|
|
|
1741
1767
|
*/
|
|
1742
1768
|
export declare class CustomersApi extends BaseAPI {
|
|
1743
1769
|
/**
|
|
1744
|
-
* 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.
|
|
1745
1771
|
* @summary Create chat channel
|
|
1746
1772
|
* @param {CustomersApiCreateCustomerChatChannelRequest} requestParameters Request parameters.
|
|
1747
1773
|
* @param {*} [options] Override http request option.
|
|
@@ -2281,7 +2307,7 @@ export declare class EnquiriesApi extends BaseAPI {
|
|
|
2281
2307
|
*/
|
|
2282
2308
|
export declare const ModerationApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2283
2309
|
/**
|
|
2284
|
-
*
|
|
2310
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
2285
2311
|
* @summary Update a moderation item
|
|
2286
2312
|
* @param {string} project Project unique identifier
|
|
2287
2313
|
* @param {string} moderationItemId The moderation item identifier
|
|
@@ -2296,7 +2322,7 @@ export declare const ModerationApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2296
2322
|
*/
|
|
2297
2323
|
export declare const ModerationApiFp: (configuration?: Configuration) => {
|
|
2298
2324
|
/**
|
|
2299
|
-
*
|
|
2325
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
2300
2326
|
* @summary Update a moderation item
|
|
2301
2327
|
* @param {string} project Project unique identifier
|
|
2302
2328
|
* @param {string} moderationItemId The moderation item identifier
|
|
@@ -2311,7 +2337,7 @@ export declare const ModerationApiFp: (configuration?: Configuration) => {
|
|
|
2311
2337
|
*/
|
|
2312
2338
|
export declare const ModerationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2313
2339
|
/**
|
|
2314
|
-
*
|
|
2340
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
2315
2341
|
* @summary Update a moderation item
|
|
2316
2342
|
* @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
|
|
2317
2343
|
* @param {*} [options] Override http request option.
|
|
@@ -2338,7 +2364,7 @@ export interface ModerationApiUpdateModerationItemRequest {
|
|
|
2338
2364
|
*/
|
|
2339
2365
|
export declare class ModerationApi extends BaseAPI {
|
|
2340
2366
|
/**
|
|
2341
|
-
*
|
|
2367
|
+
* Approves or denies a moderation item. If denied, a denial reason must be provided.
|
|
2342
2368
|
* @summary Update a moderation item
|
|
2343
2369
|
* @param {ModerationApiUpdateModerationItemRequest} requestParameters Request parameters.
|
|
2344
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
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Platform
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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/common.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Platform
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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/common.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Platform
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
|
3
|
+
* Platform
|
|
4
4
|
* Manage Your podOS platform
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 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/esm/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Platform
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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
|
|
2
|
+
* Platform
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 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
|
|
5
|
+
* Platform
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 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/docs/CustomersApi.md
CHANGED
|
@@ -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** |
|
|
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
|
|
package/docs/ModerationApi.md
CHANGED
|
@@ -9,7 +9,7 @@ All URIs are relative to *https://localhost:8080*
|
|
|
9
9
|
# **updateModerationItem**
|
|
10
10
|
> updateModerationItem()
|
|
11
11
|
|
|
12
|
-
|
|
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** |
|
|
12
|
-
**customerRef** | **string** |
|
|
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]
|
|
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**updatedAt** | **string** | ISO 8601 Timestamp | [optional] [default to undefined]
|
|
19
19
|
**merchantReference** | **string** | A custom reference to the merchant\'s order that will be displayed on the shipping label. | [optional] [default to undefined]
|
|
20
20
|
**fulfillments** | [**Array<Fulfillment>**](Fulfillment.md) | | [optional] [readonly] [default to undefined]
|
|
21
|
+
**refunds** | [**Array<OrderRefundsInner>**](OrderRefundsInner.md) | | [optional] [default to undefined]
|
|
21
22
|
**deliveryEstimates** | [**DeliveryEstimates**](DeliveryEstimates.md) | | [optional] [default to undefined]
|
|
22
23
|
**items** | [**Array<OrderItem>**](OrderItem.md) | | [default to undefined]
|
|
23
24
|
**totalPrice** | [**Price**](Price.md) | The total price of the order including tax and after discounts. | [optional] [default to undefined]
|
|
@@ -60,6 +61,7 @@ const instance: Order = {
|
|
|
60
61
|
updatedAt,
|
|
61
62
|
merchantReference,
|
|
62
63
|
fulfillments,
|
|
64
|
+
refunds,
|
|
63
65
|
deliveryEstimates,
|
|
64
66
|
items,
|
|
65
67
|
totalPrice,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OrderRefundsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { OrderRefundsInner } from '@teemill/platform';
|
|
15
|
+
|
|
16
|
+
const instance: OrderRefundsInner = {
|
|
17
|
+
id,
|
|
18
|
+
ref,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**judgement** | **string** |
|
|
9
|
-
**denialReason** | **string** |
|
|
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
|
|
4
|
+
* Platform
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 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).
|