@yolo-croket-dev/amqp-access 0.2.29 → 0.2.30-sj-2

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.
@@ -5,12 +5,19 @@ export declare class SearchPurchaseReceiptsPayload {
5
5
  eDate?: Date;
6
6
  processList?: PurchasedProcessV2Enum[];
7
7
  limit: number;
8
- searchToken?: string;
8
+ searchAfter?: string;
9
+ searchBefore?: string;
9
10
  }
10
- export declare class SearchPurchaseReceiptsResult implements Pick<PurchaseReceiptDomain, '_id' | 'paymentNumber' | 'paymentMethod' | 'purchasedInfos' | 'paymentDate'> {
11
+ declare class PurchaseReceiptList implements Pick<PurchaseReceiptDomain, '_id' | 'paymentNumber' | 'paymentMethod' | 'purchasedInfos' | 'paymentDate'> {
11
12
  _id: string;
12
13
  paymentNumber: string;
13
14
  paymentMethod: string;
14
15
  purchasedInfos: CustomPurchaseReceiptPurchasedInfo[];
15
16
  paymentDate: Date;
16
17
  }
18
+ export declare class SearchPurchaseReceiptsResult {
19
+ datas: PurchaseReceiptList[];
20
+ totalCount?: number;
21
+ searchToken?: string;
22
+ }
23
+ export {};
@@ -40,7 +40,14 @@ __decorate([
40
40
  (0, class_validator_1.IsString)(),
41
41
  (0, class_validator_1.IsOptional)(),
42
42
  __metadata("design:type", String)
43
- ], SearchPurchaseReceiptsPayload.prototype, "searchToken", void 0);
43
+ ], SearchPurchaseReceiptsPayload.prototype, "searchAfter", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsString)(),
46
+ (0, class_validator_1.IsOptional)(),
47
+ __metadata("design:type", String)
48
+ ], SearchPurchaseReceiptsPayload.prototype, "searchBefore", void 0);
49
+ class PurchaseReceiptList {
50
+ }
44
51
  // eslint-disable-next-line max-len
45
52
  class SearchPurchaseReceiptsResult {
46
53
  }
@@ -35,7 +35,7 @@ let AmqpPurchaseReceiptService = class AmqpPurchaseReceiptService {
35
35
  }
36
36
  // eslint-disable-next-line max-len
37
37
  async searchPurchaseReceiptDetail(payload, param) {
38
- return this.amqpManager.call('구매자 주문서 리스트 조회', 'purchase-receipt.get.detail', payload, param, { isErrorThrowing: true });
38
+ return this.amqpManager.call('구매자 주문서 상세 조회', 'purchase-receipt.get.detail', payload, param, { isErrorThrowing: true });
39
39
  }
40
40
  };
41
41
  exports.AmqpPurchaseReceiptService = AmqpPurchaseReceiptService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.2.29",
3
+ "version": "0.2.30-sj-2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",