@infisale-client/api 1.2.55 → 1.2.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api.d.ts +113 -40
- package/dist/api/api.js +1 -4
- package/dist/api/api.mjs +1 -4
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -5307,22 +5307,16 @@ export interface IOrderResponse {
|
|
|
5307
5307
|
'note'?: string;
|
|
5308
5308
|
/**
|
|
5309
5309
|
*
|
|
5310
|
-
* @type {
|
|
5311
|
-
* @memberof IOrderResponse
|
|
5312
|
-
*/
|
|
5313
|
-
'cargoCode'?: string;
|
|
5314
|
-
/**
|
|
5315
|
-
*
|
|
5316
|
-
* @type {string}
|
|
5310
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
|
|
5317
5311
|
* @memberof IOrderResponse
|
|
5318
5312
|
*/
|
|
5319
|
-
'
|
|
5313
|
+
'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
|
|
5320
5314
|
/**
|
|
5321
5315
|
*
|
|
5322
|
-
* @type {Array<
|
|
5316
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>}
|
|
5323
5317
|
* @memberof IOrderResponse
|
|
5324
5318
|
*/
|
|
5325
|
-
'
|
|
5319
|
+
'shipped': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>;
|
|
5326
5320
|
/**
|
|
5327
5321
|
*
|
|
5328
5322
|
* @type {OrderPaymentStatusEnum}
|
|
@@ -5338,10 +5332,10 @@ export interface IOrderResponse {
|
|
|
5338
5332
|
export interface IOrderReturnAdminPostRequest {
|
|
5339
5333
|
/**
|
|
5340
5334
|
*
|
|
5341
|
-
* @type {Array<
|
|
5335
|
+
* @type {Array<IOrderReturnPostRequestProductsInner>}
|
|
5342
5336
|
* @memberof IOrderReturnAdminPostRequest
|
|
5343
5337
|
*/
|
|
5344
|
-
'products': Array<
|
|
5338
|
+
'products': Array<IOrderReturnPostRequestProductsInner>;
|
|
5345
5339
|
/**
|
|
5346
5340
|
*
|
|
5347
5341
|
* @type {number}
|
|
@@ -5375,10 +5369,36 @@ export interface IOrderReturnAdminPostRequest {
|
|
|
5375
5369
|
export interface IOrderReturnPostRequest {
|
|
5376
5370
|
/**
|
|
5377
5371
|
*
|
|
5378
|
-
* @type {Array<
|
|
5372
|
+
* @type {Array<IOrderReturnPostRequestProductsInner>}
|
|
5379
5373
|
* @memberof IOrderReturnPostRequest
|
|
5380
5374
|
*/
|
|
5381
|
-
'products': Array<
|
|
5375
|
+
'products': Array<IOrderReturnPostRequestProductsInner>;
|
|
5376
|
+
}
|
|
5377
|
+
/**
|
|
5378
|
+
*
|
|
5379
|
+
* @export
|
|
5380
|
+
* @interface IOrderReturnPostRequestProductsInner
|
|
5381
|
+
*/
|
|
5382
|
+
export interface IOrderReturnPostRequestProductsInner {
|
|
5383
|
+
/**
|
|
5384
|
+
*
|
|
5385
|
+
* @type {number}
|
|
5386
|
+
* @memberof IOrderReturnPostRequestProductsInner
|
|
5387
|
+
*/
|
|
5388
|
+
'amount': number;
|
|
5389
|
+
/**
|
|
5390
|
+
*
|
|
5391
|
+
* @type {IOrderReturnPostRequestProductsInnerId}
|
|
5392
|
+
* @memberof IOrderReturnPostRequestProductsInner
|
|
5393
|
+
*/
|
|
5394
|
+
'_id': IOrderReturnPostRequestProductsInnerId;
|
|
5395
|
+
}
|
|
5396
|
+
/**
|
|
5397
|
+
*
|
|
5398
|
+
* @export
|
|
5399
|
+
* @interface IOrderReturnPostRequestProductsInnerId
|
|
5400
|
+
*/
|
|
5401
|
+
export interface IOrderReturnPostRequestProductsInnerId {
|
|
5382
5402
|
}
|
|
5383
5403
|
/**
|
|
5384
5404
|
*
|
|
@@ -8053,10 +8073,7 @@ export type OrderReturnStatusEnum = typeof OrderReturnStatusEnum[keyof typeof Or
|
|
|
8053
8073
|
*/
|
|
8054
8074
|
export declare const OrderStatusEnum: {
|
|
8055
8075
|
readonly CANCELLED: "cancelled";
|
|
8056
|
-
readonly
|
|
8057
|
-
readonly READY_TO_SHIP: "ready_to_ship";
|
|
8058
|
-
readonly SHIPPED: "shipped";
|
|
8059
|
-
readonly COMPLETED: "completed";
|
|
8076
|
+
readonly CREATED: "created";
|
|
8060
8077
|
};
|
|
8061
8078
|
export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
|
|
8062
8079
|
/**
|
|
@@ -8985,22 +9002,16 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
|
|
|
8985
9002
|
'note'?: string;
|
|
8986
9003
|
/**
|
|
8987
9004
|
*
|
|
8988
|
-
* @type {
|
|
8989
|
-
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8990
|
-
*/
|
|
8991
|
-
'cargoCode'?: string;
|
|
8992
|
-
/**
|
|
8993
|
-
*
|
|
8994
|
-
* @type {string}
|
|
9005
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
|
|
8995
9006
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8996
9007
|
*/
|
|
8997
|
-
'
|
|
9008
|
+
'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
|
|
8998
9009
|
/**
|
|
8999
9010
|
*
|
|
9000
|
-
* @type {Array<
|
|
9011
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>}
|
|
9001
9012
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
9002
9013
|
*/
|
|
9003
|
-
'
|
|
9014
|
+
'shipped': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>;
|
|
9004
9015
|
/**
|
|
9005
9016
|
*
|
|
9006
9017
|
* @type {OrderPaymentStatusEnum}
|
|
@@ -9020,6 +9031,12 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner {
|
|
|
9020
9031
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9021
9032
|
*/
|
|
9022
9033
|
'price': number;
|
|
9034
|
+
/**
|
|
9035
|
+
*
|
|
9036
|
+
* @type {number}
|
|
9037
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
9038
|
+
*/
|
|
9039
|
+
'listPrice': number;
|
|
9023
9040
|
/**
|
|
9024
9041
|
*
|
|
9025
9042
|
* @type {number}
|
|
@@ -9087,18 +9104,6 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner {
|
|
|
9087
9104
|
* @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9088
9105
|
*/
|
|
9089
9106
|
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner {
|
|
9090
|
-
/**
|
|
9091
|
-
*
|
|
9092
|
-
* @type {string}
|
|
9093
|
-
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9094
|
-
*/
|
|
9095
|
-
'returnedAt'?: string;
|
|
9096
|
-
/**
|
|
9097
|
-
*
|
|
9098
|
-
* @type {string}
|
|
9099
|
-
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9100
|
-
*/
|
|
9101
|
-
'createdAt': string;
|
|
9102
9107
|
/**
|
|
9103
9108
|
*
|
|
9104
9109
|
* @type {OrderReturnStatusEnum}
|
|
@@ -9142,6 +9147,74 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner {
|
|
|
9142
9147
|
* @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner
|
|
9143
9148
|
*/
|
|
9144
9149
|
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner {
|
|
9150
|
+
/**
|
|
9151
|
+
*
|
|
9152
|
+
* @type {number}
|
|
9153
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner
|
|
9154
|
+
*/
|
|
9155
|
+
'amount': number;
|
|
9156
|
+
/**
|
|
9157
|
+
*
|
|
9158
|
+
* @type {PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInnerId}
|
|
9159
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner
|
|
9160
|
+
*/
|
|
9161
|
+
'_id': PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInnerId;
|
|
9162
|
+
}
|
|
9163
|
+
/**
|
|
9164
|
+
*
|
|
9165
|
+
* @export
|
|
9166
|
+
* @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInnerId
|
|
9167
|
+
*/
|
|
9168
|
+
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInnerId {
|
|
9169
|
+
}
|
|
9170
|
+
/**
|
|
9171
|
+
*
|
|
9172
|
+
* @export
|
|
9173
|
+
* @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9174
|
+
*/
|
|
9175
|
+
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner {
|
|
9176
|
+
/**
|
|
9177
|
+
*
|
|
9178
|
+
* @type {OrderReturnStatusEnum}
|
|
9179
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9180
|
+
*/
|
|
9181
|
+
'status': OrderReturnStatusEnum;
|
|
9182
|
+
/**
|
|
9183
|
+
*
|
|
9184
|
+
* @type {string}
|
|
9185
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9186
|
+
*/
|
|
9187
|
+
'zoneRateId': string;
|
|
9188
|
+
/**
|
|
9189
|
+
*
|
|
9190
|
+
* @type {string}
|
|
9191
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9192
|
+
*/
|
|
9193
|
+
'warehouse': string;
|
|
9194
|
+
/**
|
|
9195
|
+
*
|
|
9196
|
+
* @type {string}
|
|
9197
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9198
|
+
*/
|
|
9199
|
+
'cargoUrl'?: string;
|
|
9200
|
+
/**
|
|
9201
|
+
*
|
|
9202
|
+
* @type {string}
|
|
9203
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9204
|
+
*/
|
|
9205
|
+
'cargoCode'?: string;
|
|
9206
|
+
/**
|
|
9207
|
+
*
|
|
9208
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>}
|
|
9209
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9210
|
+
*/
|
|
9211
|
+
'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>;
|
|
9212
|
+
/**
|
|
9213
|
+
*
|
|
9214
|
+
* @type {string}
|
|
9215
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9216
|
+
*/
|
|
9217
|
+
'_id': string;
|
|
9145
9218
|
}
|
|
9146
9219
|
/**
|
|
9147
9220
|
* From T, pick a set of properties whose keys are in the union K
|
package/dist/api/api.js
CHANGED
|
@@ -654,10 +654,7 @@ exports.OrderReturnStatusEnum = {
|
|
|
654
654
|
*/
|
|
655
655
|
exports.OrderStatusEnum = {
|
|
656
656
|
CANCELLED: 'cancelled',
|
|
657
|
-
|
|
658
|
-
READY_TO_SHIP: 'ready_to_ship',
|
|
659
|
-
SHIPPED: 'shipped',
|
|
660
|
-
COMPLETED: 'completed'
|
|
657
|
+
CREATED: 'created'
|
|
661
658
|
};
|
|
662
659
|
/**
|
|
663
660
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -643,10 +643,7 @@ export const OrderReturnStatusEnum = {
|
|
|
643
643
|
*/
|
|
644
644
|
export const OrderStatusEnum = {
|
|
645
645
|
CANCELLED: 'cancelled',
|
|
646
|
-
|
|
647
|
-
READY_TO_SHIP: 'ready_to_ship',
|
|
648
|
-
SHIPPED: 'shipped',
|
|
649
|
-
COMPLETED: 'completed'
|
|
646
|
+
CREATED: 'created'
|
|
650
647
|
};
|
|
651
648
|
/**
|
|
652
649
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.56",
|
|
4
4
|
"description": "api-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "d501540cd80937fe9b15ee45bc787f0b5e8e995a"
|
|
41
41
|
}
|