@infisale-client/api 1.2.55 → 1.2.57

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 CHANGED
@@ -5087,6 +5087,87 @@ export interface IOrderPatchRequest {
5087
5087
  * @memberof IOrderPatchRequest
5088
5088
  */
5089
5089
  'cargoUrl'?: string;
5090
+ /**
5091
+ *
5092
+ * @type {Array<IOrderPatchRequestShippedInner>}
5093
+ * @memberof IOrderPatchRequest
5094
+ */
5095
+ 'shipped'?: Array<IOrderPatchRequestShippedInner>;
5096
+ }
5097
+ /**
5098
+ *
5099
+ * @export
5100
+ * @interface IOrderPatchRequestShippedInner
5101
+ */
5102
+ export interface IOrderPatchRequestShippedInner {
5103
+ /**
5104
+ *
5105
+ * @type {OrderReturnStatusEnum}
5106
+ * @memberof IOrderPatchRequestShippedInner
5107
+ */
5108
+ 'status': OrderReturnStatusEnum;
5109
+ /**
5110
+ *
5111
+ * @type {string}
5112
+ * @memberof IOrderPatchRequestShippedInner
5113
+ */
5114
+ 'zoneRateId': string;
5115
+ /**
5116
+ *
5117
+ * @type {string}
5118
+ * @memberof IOrderPatchRequestShippedInner
5119
+ */
5120
+ 'warehouse': string;
5121
+ /**
5122
+ *
5123
+ * @type {string}
5124
+ * @memberof IOrderPatchRequestShippedInner
5125
+ */
5126
+ 'cargoUrl'?: string;
5127
+ /**
5128
+ *
5129
+ * @type {string}
5130
+ * @memberof IOrderPatchRequestShippedInner
5131
+ */
5132
+ 'cargoCode'?: string;
5133
+ /**
5134
+ *
5135
+ * @type {Array<IOrderPatchRequestShippedInnerProductsInner>}
5136
+ * @memberof IOrderPatchRequestShippedInner
5137
+ */
5138
+ 'products': Array<IOrderPatchRequestShippedInnerProductsInner>;
5139
+ /**
5140
+ *
5141
+ * @type {string}
5142
+ * @memberof IOrderPatchRequestShippedInner
5143
+ */
5144
+ '_id': string;
5145
+ }
5146
+ /**
5147
+ *
5148
+ * @export
5149
+ * @interface IOrderPatchRequestShippedInnerProductsInner
5150
+ */
5151
+ export interface IOrderPatchRequestShippedInnerProductsInner {
5152
+ /**
5153
+ *
5154
+ * @type {number}
5155
+ * @memberof IOrderPatchRequestShippedInnerProductsInner
5156
+ */
5157
+ 'amount': number;
5158
+ /**
5159
+ *
5160
+ * @type {IOrderPatchRequestShippedInnerProductsInnerId}
5161
+ * @memberof IOrderPatchRequestShippedInnerProductsInner
5162
+ */
5163
+ '_id': IOrderPatchRequestShippedInnerProductsInnerId;
5164
+ }
5165
+ /**
5166
+ *
5167
+ * @export
5168
+ * @interface IOrderPatchRequestShippedInnerProductsInnerId
5169
+ */
5170
+ export interface IOrderPatchRequestShippedInnerProductsInnerId {
5090
5171
  }
5091
5172
  /**
5092
5173
  *
@@ -5307,22 +5388,16 @@ export interface IOrderResponse {
5307
5388
  'note'?: string;
5308
5389
  /**
5309
5390
  *
5310
- * @type {string}
5311
- * @memberof IOrderResponse
5312
- */
5313
- 'cargoCode'?: string;
5314
- /**
5315
- *
5316
- * @type {string}
5391
+ * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
5317
5392
  * @memberof IOrderResponse
5318
5393
  */
5319
- 'cargoUrl'?: string;
5394
+ 'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
5320
5395
  /**
5321
5396
  *
5322
- * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
5397
+ * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>}
5323
5398
  * @memberof IOrderResponse
5324
5399
  */
5325
- 'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
5400
+ 'shipped': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>;
5326
5401
  /**
5327
5402
  *
5328
5403
  * @type {OrderPaymentStatusEnum}
@@ -5338,10 +5413,10 @@ export interface IOrderResponse {
5338
5413
  export interface IOrderReturnAdminPostRequest {
5339
5414
  /**
5340
5415
  *
5341
- * @type {Array<string>}
5416
+ * @type {Array<IOrderPatchRequestShippedInnerProductsInner>}
5342
5417
  * @memberof IOrderReturnAdminPostRequest
5343
5418
  */
5344
- 'products': Array<string>;
5419
+ 'products': Array<IOrderPatchRequestShippedInnerProductsInner>;
5345
5420
  /**
5346
5421
  *
5347
5422
  * @type {number}
@@ -5375,10 +5450,10 @@ export interface IOrderReturnAdminPostRequest {
5375
5450
  export interface IOrderReturnPostRequest {
5376
5451
  /**
5377
5452
  *
5378
- * @type {Array<string>}
5453
+ * @type {Array<IOrderPatchRequestShippedInnerProductsInner>}
5379
5454
  * @memberof IOrderReturnPostRequest
5380
5455
  */
5381
- 'products': Array<string>;
5456
+ 'products': Array<IOrderPatchRequestShippedInnerProductsInner>;
5382
5457
  }
5383
5458
  /**
5384
5459
  *
@@ -8053,10 +8128,7 @@ export type OrderReturnStatusEnum = typeof OrderReturnStatusEnum[keyof typeof Or
8053
8128
  */
8054
8129
  export declare const OrderStatusEnum: {
8055
8130
  readonly CANCELLED: "cancelled";
8056
- readonly NOT_SHIPPED: "not_shipped";
8057
- readonly READY_TO_SHIP: "ready_to_ship";
8058
- readonly SHIPPED: "shipped";
8059
- readonly COMPLETED: "completed";
8131
+ readonly CREATED: "created";
8060
8132
  };
8061
8133
  export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
8062
8134
  /**
@@ -8985,22 +9057,16 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
8985
9057
  'note'?: string;
8986
9058
  /**
8987
9059
  *
8988
- * @type {string}
8989
- * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8990
- */
8991
- 'cargoCode'?: string;
8992
- /**
8993
- *
8994
- * @type {string}
9060
+ * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
8995
9061
  * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
8996
9062
  */
8997
- 'cargoUrl'?: string;
9063
+ 'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
8998
9064
  /**
8999
9065
  *
9000
- * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
9066
+ * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>}
9001
9067
  * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
9002
9068
  */
9003
- 'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
9069
+ 'shipped': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>;
9004
9070
  /**
9005
9071
  *
9006
9072
  * @type {OrderPaymentStatusEnum}
@@ -9020,6 +9086,12 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner {
9020
9086
  * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9021
9087
  */
9022
9088
  'price': number;
9089
+ /**
9090
+ *
9091
+ * @type {number}
9092
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
9093
+ */
9094
+ 'listPrice': number;
9023
9095
  /**
9024
9096
  *
9025
9097
  * @type {number}
@@ -9087,18 +9159,6 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner {
9087
9159
  * @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
9088
9160
  */
9089
9161
  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
9162
  /**
9103
9163
  *
9104
9164
  * @type {OrderReturnStatusEnum}
@@ -9142,6 +9202,74 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner {
9142
9202
  * @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner
9143
9203
  */
9144
9204
  export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner {
9205
+ /**
9206
+ *
9207
+ * @type {number}
9208
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner
9209
+ */
9210
+ 'amount': number;
9211
+ /**
9212
+ *
9213
+ * @type {PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInnerId}
9214
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner
9215
+ */
9216
+ '_id': PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInnerId;
9217
+ }
9218
+ /**
9219
+ *
9220
+ * @export
9221
+ * @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInnerId
9222
+ */
9223
+ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInnerId {
9224
+ }
9225
+ /**
9226
+ *
9227
+ * @export
9228
+ * @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
9229
+ */
9230
+ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner {
9231
+ /**
9232
+ *
9233
+ * @type {OrderReturnStatusEnum}
9234
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
9235
+ */
9236
+ 'status': OrderReturnStatusEnum;
9237
+ /**
9238
+ *
9239
+ * @type {string}
9240
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
9241
+ */
9242
+ 'zoneRateId': string;
9243
+ /**
9244
+ *
9245
+ * @type {string}
9246
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
9247
+ */
9248
+ 'warehouse': string;
9249
+ /**
9250
+ *
9251
+ * @type {string}
9252
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
9253
+ */
9254
+ 'cargoUrl'?: string;
9255
+ /**
9256
+ *
9257
+ * @type {string}
9258
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
9259
+ */
9260
+ 'cargoCode'?: string;
9261
+ /**
9262
+ *
9263
+ * @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>}
9264
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
9265
+ */
9266
+ 'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>;
9267
+ /**
9268
+ *
9269
+ * @type {string}
9270
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
9271
+ */
9272
+ '_id': string;
9145
9273
  }
9146
9274
  /**
9147
9275
  * 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
- NOT_SHIPPED: 'not_shipped',
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
- NOT_SHIPPED: 'not_shipped',
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.55",
3
+ "version": "1.2.57",
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": "0e17563a361f40b1396b5f31a806acf6f6380212"
40
+ "gitHead": "d4ef2e63d269d5a543801d21d954d3a00f8b4e4c"
41
41
  }