@lssm/example.marketplace 0.0.0-canary-20251220002821 → 0.0.0-canary-20251220015515
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/entities/index.d.ts +296 -296
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/order.d.ts +78 -78
- package/dist/entities/payout.d.ts +65 -65
- package/dist/entities/product.d.ts +70 -70
- package/dist/entities/review.d.ts +56 -56
- package/dist/entities/store.d.ts +41 -41
- package/dist/libs/contracts/dist/ownership.js +1 -0
- package/dist/libs/contracts/dist/ownership.js.map +1 -1
- package/dist/order/order.contracts.d.ts +90 -90
- package/dist/order/order.enum.d.ts +2 -2
- package/dist/order/order.event.d.ts +39 -39
- package/dist/order/order.event.d.ts.map +1 -1
- package/dist/order/order.schema.d.ts +39 -39
- package/dist/order/order.schema.d.ts.map +1 -1
- package/dist/payout/payout.contracts.d.ts +24 -24
- package/dist/payout/payout.enum.d.ts +2 -2
- package/dist/payout/payout.schema.d.ts +37 -37
- package/dist/payout/payout.schema.d.ts.map +1 -1
- package/dist/product/product.contracts.d.ts +67 -67
- package/dist/product/product.contracts.d.ts.map +1 -1
- package/dist/product/product.enum.d.ts +2 -2
- package/dist/product/product.event.d.ts +20 -20
- package/dist/product/product.event.d.ts.map +1 -1
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/product/product.schema.d.ts.map +1 -1
- package/dist/review/review.contracts.d.ts +59 -59
- package/dist/review/review.contracts.d.ts.map +1 -1
- package/dist/review/review.enum.d.ts +2 -2
- package/dist/review/review.schema.d.ts +45 -45
- package/dist/store/store.contracts.d.ts +33 -33
- package/dist/store/store.enum.d.ts +2 -2
- package/dist/store/store.event.d.ts +14 -14
- package/dist/store/store.event.d.ts.map +1 -1
- package/package.json +12 -12
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema931 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts11 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/order/order.event.d.ts
|
|
5
|
-
declare const OrderCreatedEvent:
|
|
5
|
+
declare const OrderCreatedEvent: _lssm_lib_contracts11.EventSpec<_lssm_lib_schema931.SchemaModel<{
|
|
6
6
|
orderId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
orderNumber: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
buyerId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
storeId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
total: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema931.FieldType<number, number>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
currency: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
itemCount: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema931.FieldType<number, number>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
timestamp: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema931.FieldType<Date, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
}>>;
|
|
39
|
-
declare const OrderPaidEvent:
|
|
39
|
+
declare const OrderPaidEvent: _lssm_lib_contracts11.EventSpec<_lssm_lib_schema931.SchemaModel<{
|
|
40
40
|
orderId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
orderNumber: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
total: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema931.FieldType<number, number>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
paymentMethod: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
timestamp: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema931.FieldType<Date, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
}>>;
|
|
61
|
-
declare const OrderStatusUpdatedEvent:
|
|
61
|
+
declare const OrderStatusUpdatedEvent: _lssm_lib_contracts11.EventSpec<_lssm_lib_schema931.SchemaModel<{
|
|
62
62
|
orderId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
orderNumber: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
previousStatus: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
newStatus: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
updatedBy: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
timestamp: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema931.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>>;
|
|
87
|
-
declare const OrderShippedEvent:
|
|
87
|
+
declare const OrderShippedEvent: _lssm_lib_contracts11.EventSpec<_lssm_lib_schema931.SchemaModel<{
|
|
88
88
|
orderId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
orderNumber: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
trackingNumber: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
trackingUrl: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
carrier: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
timestamp: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema931.FieldType<Date, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
}>>;
|
|
113
|
-
declare const OrderCompletedEvent:
|
|
113
|
+
declare const OrderCompletedEvent: _lssm_lib_contracts11.EventSpec<_lssm_lib_schema931.SchemaModel<{
|
|
114
114
|
orderId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
orderNumber: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
buyerId: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
storeId: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema931.FieldType<string, string>;
|
|
128
128
|
isOptional: false;
|
|
129
129
|
};
|
|
130
130
|
total: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema931.FieldType<number, number>;
|
|
132
132
|
isOptional: false;
|
|
133
133
|
};
|
|
134
134
|
sellerPayout: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema931.FieldType<number, number>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
timestamp: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema931.FieldType<Date, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.event.d.ts","names":[],"sources":["../../src/order/order.event.ts"],"sourcesContent":[],"mappings":";;;;cA0Ea,mBAAiB,
|
|
1
|
+
{"version":3,"file":"order.event.d.ts","names":[],"sources":["../../src/order/order.event.ts"],"sourcesContent":[],"mappings":";;;;cA0Ea,mBAAiB,qBAAA,CAAA,8BAAA;;UAK5B,mBAAA,CAAA;;EALW,CAAA;EAKX,WAAA,EAAA;;;;;;;;;uCAL4B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAOjB,KAAA,EAAA;IAKX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EALyB,SAAA,EAAA;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAOd,UAAA,EAAA,KAAA;EAKX,CAAA;;;;;;cAZW,gBAAc,qBAAA,CAAA,8BAAA;;IAOS,IAAA,EAFlC,mBAAA,CAAA,SAEkC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAOvB,CAAA;EAKX,WAAA,EAAA;;;;;;;;EAL4B,aAAA,EAAA;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAOjB,UAAA,EAAA,KAAA;EAKX,CAAA;;;;;;cAnBW,yBAAuB,qBAAA,CAAA,8BAAA;;UAKlC,mBAAA,CAAA,SAS8B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;cAPnB,mBAAiB,qBAAA,CAAA,8BAAA;;UAK5B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;cAEW,qBAAmB,qBAAA,CAAA,8BAAA;;UAK9B,mBAAA,CAAA"}
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1076 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/order/order.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An order item.
|
|
6
6
|
*/
|
|
7
|
-
declare const OrderItemModel:
|
|
7
|
+
declare const OrderItemModel: _lssm_lib_schema1076.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
productId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
productName: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
unitPrice: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
quantity: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
subtotal: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* An order.
|
|
35
35
|
*/
|
|
36
|
-
declare const OrderModel:
|
|
36
|
+
declare const OrderModel: _lssm_lib_schema1076.SchemaModel<{
|
|
37
37
|
id: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
orderNumber: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
buyerId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
storeId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
status: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema1076.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
subtotal: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
shippingTotal: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
taxTotal: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
total: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
currency: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
items: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema1076.SchemaModel<{
|
|
79
79
|
id: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
productId: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
productName: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
unitPrice: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
quantity: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
subtotal: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema1076.FieldType<number, number>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
@@ -105,58 +105,58 @@ declare const OrderModel: _lssm_lib_schema950.SchemaModel<{
|
|
|
105
105
|
isOptional: true;
|
|
106
106
|
};
|
|
107
107
|
createdAt: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema1076.FieldType<Date, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
}>;
|
|
112
112
|
/**
|
|
113
113
|
* Input for creating an order.
|
|
114
114
|
*/
|
|
115
|
-
declare const CreateOrderInputModel:
|
|
115
|
+
declare const CreateOrderInputModel: _lssm_lib_schema1076.SchemaModel<{
|
|
116
116
|
storeId: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
items: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema1076.FieldType<unknown, unknown>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
description: string;
|
|
124
124
|
};
|
|
125
125
|
shippingAddress: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema1076.FieldType<unknown, unknown>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
billingAddress: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema1076.FieldType<unknown, unknown>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
buyerNote: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
}>;
|
|
138
138
|
/**
|
|
139
139
|
* Input for updating order status.
|
|
140
140
|
*/
|
|
141
|
-
declare const UpdateOrderStatusInputModel:
|
|
141
|
+
declare const UpdateOrderStatusInputModel: _lssm_lib_schema1076.SchemaModel<{
|
|
142
142
|
orderId: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
status: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema1076.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
trackingNumber: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
152
152
|
isOptional: true;
|
|
153
153
|
};
|
|
154
154
|
trackingUrl: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
156
156
|
isOptional: true;
|
|
157
157
|
};
|
|
158
158
|
note: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema1076.FieldType<string, string>;
|
|
160
160
|
isOptional: true;
|
|
161
161
|
};
|
|
162
162
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.schema.d.ts","names":[],"sources":["../../src/order/order.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,cAUX,
|
|
1
|
+
{"version":3,"file":"order.schema.d.ts","names":[],"sources":["../../src/order/order.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,cAUX,uBAVyB,WAUzB,CAAA;EAAA,EAAA,EAAA;UAAA,oBAAA,CAAA;;;;;qBAVyB;EAAA,CAAA;EAed,WAAA,EAiBX;IAAA,IAAA,gCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;cAjBW,UAAU,uBAAA,WAAA,CAAA;EAAA,EAAA,EAAA;IAsBV,IAAA,EALX,oBAAA,CAAA,SAkBA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;EAbgC,OAAA,EAAA;IAkBrB,IAAA,gCAYX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;EAZsC,MAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlB3B,4CAAqB;;UAahC,oBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKW,kDAA2B;;UAYtC,oBAAA,CAAA"}
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1115 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts18 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/payout/payout.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* List payouts for a store.
|
|
7
7
|
*/
|
|
8
|
-
declare const ListPayoutsContract:
|
|
8
|
+
declare const ListPayoutsContract: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema1115.SchemaModel<{
|
|
9
9
|
storeId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema1115.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
status: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema1115.EnumType<[string, string, string, string, string]>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
limit: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema1115.FieldType<number, number>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
defaultValue: number;
|
|
21
21
|
};
|
|
22
22
|
offset: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema1115.FieldType<number, number>;
|
|
24
24
|
isOptional: true;
|
|
25
25
|
defaultValue: number;
|
|
26
26
|
};
|
|
27
|
-
}>,
|
|
27
|
+
}>, _lssm_lib_schema1115.SchemaModel<{
|
|
28
28
|
payouts: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema1115.SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema1115.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
payoutNumber: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema1115.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
storeId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema1115.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
status: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema1115.EnumType<[string, string, string, string, string]>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
grossAmount: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema1115.FieldType<number, number>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
platformFees: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema1115.FieldType<number, number>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
netAmount: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema1115.FieldType<number, number>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
currency: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema1115.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
periodStart: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema1115.FieldType<Date, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
periodEnd: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema1115.FieldType<Date, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
orderCount: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema1115.FieldType<number, number>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
createdAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema1115.FieldType<Date, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
paidAt: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema1115.FieldType<Date, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
@@ -84,11 +84,11 @@ declare const ListPayoutsContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_
|
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
total: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema1115.FieldType<number, number>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
totalPending: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema1115.FieldType<number, number>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
}>, undefined>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1150 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/payout/payout.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Payout status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const PayoutStatusEnum:
|
|
7
|
+
declare const PayoutStatusEnum: _lssm_lib_schema1150.EnumType<[string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PayoutStatusEnum };
|
|
10
10
|
//# sourceMappingURL=payout.enum.d.ts.map
|