@tossplace/pos-plugin-sdk 0.0.12 → 0.0.13
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/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/sdk.d.ts +8 -7
- package/package.json +1 -1
- package/types/index.d.ts +8 -7
package/dist/sdk.d.ts
CHANGED
|
@@ -500,13 +500,18 @@ declare type NumberInput = BaseInput & {
|
|
|
500
500
|
export declare interface Order {
|
|
501
501
|
getOrder: (id: string) => Promise<PluginOrder>;
|
|
502
502
|
/**
|
|
503
|
-
* @param start
|
|
504
|
-
* @param end
|
|
503
|
+
* @param start ISO 8601 포맷
|
|
504
|
+
* @param end ISO 8601 포맷
|
|
505
|
+
* @param page default 1
|
|
506
|
+
* @param size default 20
|
|
505
507
|
* @description createdAt 기준으로 주문을 조회합니다
|
|
506
508
|
*/
|
|
507
|
-
getOrders: (
|
|
509
|
+
getOrders: (params: {
|
|
508
510
|
start: string;
|
|
509
511
|
end: string;
|
|
512
|
+
page?: number;
|
|
513
|
+
size?: number;
|
|
514
|
+
orderStates?: PluginOrderState[];
|
|
510
515
|
}) => Promise<PluginOrder[]>;
|
|
511
516
|
/**
|
|
512
517
|
* @deprecated
|
|
@@ -1361,10 +1366,6 @@ declare interface PluginOrderPaymentPrice {
|
|
|
1361
1366
|
/**
|
|
1362
1367
|
* @publicApi
|
|
1363
1368
|
* 주문의 결제상태
|
|
1364
|
-
* 상태 전이 규칙은 아래 문서를 참조해주세요. (22.09)
|
|
1365
|
-
* https://www.notion.so/tossteam/1affab9356d24d2d9256ca21be2db473
|
|
1366
|
-
* 또다른 문서도 있어요. (25.03)
|
|
1367
|
-
* https://www.notion.so/tossteam/1c3a360d33e380979d4df2a1ba3bfd31
|
|
1368
1369
|
*
|
|
1369
1370
|
* OPENED: 결제 전 (초기 상태)
|
|
1370
1371
|
* PAID: 부분 결제 (일부 금액만 결제된 상태)
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -487,13 +487,18 @@ declare type NumberInput = BaseInput & {
|
|
|
487
487
|
export declare interface Order {
|
|
488
488
|
getOrder: (id: string) => Promise<PluginOrder>;
|
|
489
489
|
/**
|
|
490
|
-
* @param start
|
|
491
|
-
* @param end
|
|
490
|
+
* @param start ISO 8601 포맷
|
|
491
|
+
* @param end ISO 8601 포맷
|
|
492
|
+
* @param page default 1
|
|
493
|
+
* @param size default 20
|
|
492
494
|
* @description createdAt 기준으로 주문을 조회합니다
|
|
493
495
|
*/
|
|
494
|
-
getOrders: (
|
|
496
|
+
getOrders: (params: {
|
|
495
497
|
start: string;
|
|
496
498
|
end: string;
|
|
499
|
+
page?: number;
|
|
500
|
+
size?: number;
|
|
501
|
+
orderStates?: PluginOrderState[];
|
|
497
502
|
}) => Promise<PluginOrder[]>;
|
|
498
503
|
/**
|
|
499
504
|
* @deprecated
|
|
@@ -1348,10 +1353,6 @@ declare interface PluginOrderPaymentPrice {
|
|
|
1348
1353
|
/**
|
|
1349
1354
|
* @publicApi
|
|
1350
1355
|
* 주문의 결제상태
|
|
1351
|
-
* 상태 전이 규칙은 아래 문서를 참조해주세요. (22.09)
|
|
1352
|
-
* https://www.notion.so/tossteam/1affab9356d24d2d9256ca21be2db473
|
|
1353
|
-
* 또다른 문서도 있어요. (25.03)
|
|
1354
|
-
* https://www.notion.so/tossteam/1c3a360d33e380979d4df2a1ba3bfd31
|
|
1355
1356
|
*
|
|
1356
1357
|
* OPENED: 결제 전 (초기 상태)
|
|
1357
1358
|
* PAID: 부분 결제 (일부 금액만 결제된 상태)
|