@contractspec/example.marketplace 1.45.1 → 1.45.3

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.
@@ -1,60 +1,60 @@
1
- import * as _contractspec_lib_schema650 from "@contractspec/lib.schema";
2
- import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_schema145 from "@contractspec/lib.schema";
2
+ import * as _contractspec_lib_contracts6 from "@contractspec/lib.contracts";
3
3
 
4
4
  //#region src/payout/payout.event.d.ts
5
- declare const PayoutCreatedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema650.SchemaModel<{
5
+ declare const PayoutCreatedEvent: _contractspec_lib_contracts6.EventSpec<_contractspec_lib_schema145.SchemaModel<{
6
6
  payoutId: {
7
- type: _contractspec_lib_schema650.FieldType<string, string>;
7
+ type: _contractspec_lib_schema145.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  payoutNumber: {
11
- type: _contractspec_lib_schema650.FieldType<string, string>;
11
+ type: _contractspec_lib_schema145.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  storeId: {
15
- type: _contractspec_lib_schema650.FieldType<string, string>;
15
+ type: _contractspec_lib_schema145.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  netAmount: {
19
- type: _contractspec_lib_schema650.FieldType<number, number>;
19
+ type: _contractspec_lib_schema145.FieldType<number, number>;
20
20
  isOptional: false;
21
21
  };
22
22
  currency: {
23
- type: _contractspec_lib_schema650.FieldType<string, string>;
23
+ type: _contractspec_lib_schema145.FieldType<string, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  orderCount: {
27
- type: _contractspec_lib_schema650.FieldType<number, number>;
27
+ type: _contractspec_lib_schema145.FieldType<number, number>;
28
28
  isOptional: false;
29
29
  };
30
30
  timestamp: {
31
- type: _contractspec_lib_schema650.FieldType<Date, string>;
31
+ type: _contractspec_lib_schema145.FieldType<Date, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  }>>;
35
- declare const PayoutPaidEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema650.SchemaModel<{
35
+ declare const PayoutPaidEvent: _contractspec_lib_contracts6.EventSpec<_contractspec_lib_schema145.SchemaModel<{
36
36
  payoutId: {
37
- type: _contractspec_lib_schema650.FieldType<string, string>;
37
+ type: _contractspec_lib_schema145.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  payoutNumber: {
41
- type: _contractspec_lib_schema650.FieldType<string, string>;
41
+ type: _contractspec_lib_schema145.FieldType<string, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  storeId: {
45
- type: _contractspec_lib_schema650.FieldType<string, string>;
45
+ type: _contractspec_lib_schema145.FieldType<string, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  netAmount: {
49
- type: _contractspec_lib_schema650.FieldType<number, number>;
49
+ type: _contractspec_lib_schema145.FieldType<number, number>;
50
50
  isOptional: false;
51
51
  };
52
52
  paymentReference: {
53
- type: _contractspec_lib_schema650.FieldType<string, string>;
53
+ type: _contractspec_lib_schema145.FieldType<string, string>;
54
54
  isOptional: true;
55
55
  };
56
56
  timestamp: {
57
- type: _contractspec_lib_schema650.FieldType<Date, string>;
57
+ type: _contractspec_lib_schema145.FieldType<Date, string>;
58
58
  isOptional: false;
59
59
  };
60
60
  }>>;
@@ -1,82 +1,82 @@
1
- import * as _contractspec_lib_schema761 from "@contractspec/lib.schema";
2
- import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_schema198 from "@contractspec/lib.schema";
2
+ import * as _contractspec_lib_contracts8 from "@contractspec/lib.contracts";
3
3
 
4
4
  //#region src/payout/payout.operations.d.ts
5
5
  /**
6
6
  * List payouts for a store.
7
7
  */
8
- declare const ListPayoutsContract: _contractspec_lib_contracts3.OperationSpec<_contractspec_lib_schema761.SchemaModel<{
8
+ declare const ListPayoutsContract: _contractspec_lib_contracts8.OperationSpec<_contractspec_lib_schema198.SchemaModel<{
9
9
  storeId: {
10
- type: _contractspec_lib_schema761.FieldType<string, string>;
10
+ type: _contractspec_lib_schema198.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  status: {
14
- type: _contractspec_lib_schema761.EnumType<[string, string, string, string, string]>;
14
+ type: _contractspec_lib_schema198.EnumType<[string, string, string, string, string]>;
15
15
  isOptional: true;
16
16
  };
17
17
  limit: {
18
- type: _contractspec_lib_schema761.FieldType<number, number>;
18
+ type: _contractspec_lib_schema198.FieldType<number, number>;
19
19
  isOptional: true;
20
20
  defaultValue: number;
21
21
  };
22
22
  offset: {
23
- type: _contractspec_lib_schema761.FieldType<number, number>;
23
+ type: _contractspec_lib_schema198.FieldType<number, number>;
24
24
  isOptional: true;
25
25
  defaultValue: number;
26
26
  };
27
- }>, _contractspec_lib_schema761.SchemaModel<{
27
+ }>, _contractspec_lib_schema198.SchemaModel<{
28
28
  payouts: {
29
- type: _contractspec_lib_schema761.SchemaModel<{
29
+ type: _contractspec_lib_schema198.SchemaModel<{
30
30
  id: {
31
- type: _contractspec_lib_schema761.FieldType<string, string>;
31
+ type: _contractspec_lib_schema198.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  payoutNumber: {
35
- type: _contractspec_lib_schema761.FieldType<string, string>;
35
+ type: _contractspec_lib_schema198.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  storeId: {
39
- type: _contractspec_lib_schema761.FieldType<string, string>;
39
+ type: _contractspec_lib_schema198.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  status: {
43
- type: _contractspec_lib_schema761.EnumType<[string, string, string, string, string]>;
43
+ type: _contractspec_lib_schema198.EnumType<[string, string, string, string, string]>;
44
44
  isOptional: false;
45
45
  };
46
46
  grossAmount: {
47
- type: _contractspec_lib_schema761.FieldType<number, number>;
47
+ type: _contractspec_lib_schema198.FieldType<number, number>;
48
48
  isOptional: false;
49
49
  };
50
50
  platformFees: {
51
- type: _contractspec_lib_schema761.FieldType<number, number>;
51
+ type: _contractspec_lib_schema198.FieldType<number, number>;
52
52
  isOptional: false;
53
53
  };
54
54
  netAmount: {
55
- type: _contractspec_lib_schema761.FieldType<number, number>;
55
+ type: _contractspec_lib_schema198.FieldType<number, number>;
56
56
  isOptional: false;
57
57
  };
58
58
  currency: {
59
- type: _contractspec_lib_schema761.FieldType<string, string>;
59
+ type: _contractspec_lib_schema198.FieldType<string, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  periodStart: {
63
- type: _contractspec_lib_schema761.FieldType<Date, string>;
63
+ type: _contractspec_lib_schema198.FieldType<Date, string>;
64
64
  isOptional: false;
65
65
  };
66
66
  periodEnd: {
67
- type: _contractspec_lib_schema761.FieldType<Date, string>;
67
+ type: _contractspec_lib_schema198.FieldType<Date, string>;
68
68
  isOptional: false;
69
69
  };
70
70
  orderCount: {
71
- type: _contractspec_lib_schema761.FieldType<number, number>;
71
+ type: _contractspec_lib_schema198.FieldType<number, number>;
72
72
  isOptional: false;
73
73
  };
74
74
  createdAt: {
75
- type: _contractspec_lib_schema761.FieldType<Date, string>;
75
+ type: _contractspec_lib_schema198.FieldType<Date, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  paidAt: {
79
- type: _contractspec_lib_schema761.FieldType<Date, string>;
79
+ type: _contractspec_lib_schema198.FieldType<Date, string>;
80
80
  isOptional: true;
81
81
  };
82
82
  }>;
@@ -84,11 +84,11 @@ declare const ListPayoutsContract: _contractspec_lib_contracts3.OperationSpec<_c
84
84
  isOptional: false;
85
85
  };
86
86
  total: {
87
- type: _contractspec_lib_schema761.FieldType<number, number>;
87
+ type: _contractspec_lib_schema198.FieldType<number, number>;
88
88
  isOptional: false;
89
89
  };
90
90
  totalPending: {
91
- type: _contractspec_lib_schema761.FieldType<number, number>;
91
+ type: _contractspec_lib_schema198.FieldType<number, number>;
92
92
  isOptional: false;
93
93
  };
94
94
  }>, undefined>;
@@ -1,82 +1,82 @@
1
- import * as _contractspec_lib_schema820 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema260 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/payout/payout.schema.d.ts
4
4
  /**
5
5
  * A payout to seller.
6
6
  */
7
- declare const PayoutModel: _contractspec_lib_schema820.SchemaModel<{
7
+ declare const PayoutModel: _contractspec_lib_schema260.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema820.FieldType<string, string>;
9
+ type: _contractspec_lib_schema260.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  payoutNumber: {
13
- type: _contractspec_lib_schema820.FieldType<string, string>;
13
+ type: _contractspec_lib_schema260.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  storeId: {
17
- type: _contractspec_lib_schema820.FieldType<string, string>;
17
+ type: _contractspec_lib_schema260.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  status: {
21
- type: _contractspec_lib_schema820.EnumType<[string, string, string, string, string]>;
21
+ type: _contractspec_lib_schema260.EnumType<[string, string, string, string, string]>;
22
22
  isOptional: false;
23
23
  };
24
24
  grossAmount: {
25
- type: _contractspec_lib_schema820.FieldType<number, number>;
25
+ type: _contractspec_lib_schema260.FieldType<number, number>;
26
26
  isOptional: false;
27
27
  };
28
28
  platformFees: {
29
- type: _contractspec_lib_schema820.FieldType<number, number>;
29
+ type: _contractspec_lib_schema260.FieldType<number, number>;
30
30
  isOptional: false;
31
31
  };
32
32
  netAmount: {
33
- type: _contractspec_lib_schema820.FieldType<number, number>;
33
+ type: _contractspec_lib_schema260.FieldType<number, number>;
34
34
  isOptional: false;
35
35
  };
36
36
  currency: {
37
- type: _contractspec_lib_schema820.FieldType<string, string>;
37
+ type: _contractspec_lib_schema260.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  periodStart: {
41
- type: _contractspec_lib_schema820.FieldType<Date, string>;
41
+ type: _contractspec_lib_schema260.FieldType<Date, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  periodEnd: {
45
- type: _contractspec_lib_schema820.FieldType<Date, string>;
45
+ type: _contractspec_lib_schema260.FieldType<Date, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  orderCount: {
49
- type: _contractspec_lib_schema820.FieldType<number, number>;
49
+ type: _contractspec_lib_schema260.FieldType<number, number>;
50
50
  isOptional: false;
51
51
  };
52
52
  createdAt: {
53
- type: _contractspec_lib_schema820.FieldType<Date, string>;
53
+ type: _contractspec_lib_schema260.FieldType<Date, string>;
54
54
  isOptional: false;
55
55
  };
56
56
  paidAt: {
57
- type: _contractspec_lib_schema820.FieldType<Date, string>;
57
+ type: _contractspec_lib_schema260.FieldType<Date, string>;
58
58
  isOptional: true;
59
59
  };
60
60
  }>;
61
61
  /**
62
62
  * Input for listing payouts.
63
63
  */
64
- declare const ListPayoutsInputModel: _contractspec_lib_schema820.SchemaModel<{
64
+ declare const ListPayoutsInputModel: _contractspec_lib_schema260.SchemaModel<{
65
65
  storeId: {
66
- type: _contractspec_lib_schema820.FieldType<string, string>;
66
+ type: _contractspec_lib_schema260.FieldType<string, string>;
67
67
  isOptional: false;
68
68
  };
69
69
  status: {
70
- type: _contractspec_lib_schema820.EnumType<[string, string, string, string, string]>;
70
+ type: _contractspec_lib_schema260.EnumType<[string, string, string, string, string]>;
71
71
  isOptional: true;
72
72
  };
73
73
  limit: {
74
- type: _contractspec_lib_schema820.FieldType<number, number>;
74
+ type: _contractspec_lib_schema260.FieldType<number, number>;
75
75
  isOptional: true;
76
76
  defaultValue: number;
77
77
  };
78
78
  offset: {
79
- type: _contractspec_lib_schema820.FieldType<number, number>;
79
+ type: _contractspec_lib_schema260.FieldType<number, number>;
80
80
  isOptional: true;
81
81
  defaultValue: number;
82
82
  };
@@ -84,59 +84,59 @@ declare const ListPayoutsInputModel: _contractspec_lib_schema820.SchemaModel<{
84
84
  /**
85
85
  * Output for listing payouts.
86
86
  */
87
- declare const ListPayoutsOutputModel: _contractspec_lib_schema820.SchemaModel<{
87
+ declare const ListPayoutsOutputModel: _contractspec_lib_schema260.SchemaModel<{
88
88
  payouts: {
89
- type: _contractspec_lib_schema820.SchemaModel<{
89
+ type: _contractspec_lib_schema260.SchemaModel<{
90
90
  id: {
91
- type: _contractspec_lib_schema820.FieldType<string, string>;
91
+ type: _contractspec_lib_schema260.FieldType<string, string>;
92
92
  isOptional: false;
93
93
  };
94
94
  payoutNumber: {
95
- type: _contractspec_lib_schema820.FieldType<string, string>;
95
+ type: _contractspec_lib_schema260.FieldType<string, string>;
96
96
  isOptional: false;
97
97
  };
98
98
  storeId: {
99
- type: _contractspec_lib_schema820.FieldType<string, string>;
99
+ type: _contractspec_lib_schema260.FieldType<string, string>;
100
100
  isOptional: false;
101
101
  };
102
102
  status: {
103
- type: _contractspec_lib_schema820.EnumType<[string, string, string, string, string]>;
103
+ type: _contractspec_lib_schema260.EnumType<[string, string, string, string, string]>;
104
104
  isOptional: false;
105
105
  };
106
106
  grossAmount: {
107
- type: _contractspec_lib_schema820.FieldType<number, number>;
107
+ type: _contractspec_lib_schema260.FieldType<number, number>;
108
108
  isOptional: false;
109
109
  };
110
110
  platformFees: {
111
- type: _contractspec_lib_schema820.FieldType<number, number>;
111
+ type: _contractspec_lib_schema260.FieldType<number, number>;
112
112
  isOptional: false;
113
113
  };
114
114
  netAmount: {
115
- type: _contractspec_lib_schema820.FieldType<number, number>;
115
+ type: _contractspec_lib_schema260.FieldType<number, number>;
116
116
  isOptional: false;
117
117
  };
118
118
  currency: {
119
- type: _contractspec_lib_schema820.FieldType<string, string>;
119
+ type: _contractspec_lib_schema260.FieldType<string, string>;
120
120
  isOptional: false;
121
121
  };
122
122
  periodStart: {
123
- type: _contractspec_lib_schema820.FieldType<Date, string>;
123
+ type: _contractspec_lib_schema260.FieldType<Date, string>;
124
124
  isOptional: false;
125
125
  };
126
126
  periodEnd: {
127
- type: _contractspec_lib_schema820.FieldType<Date, string>;
127
+ type: _contractspec_lib_schema260.FieldType<Date, string>;
128
128
  isOptional: false;
129
129
  };
130
130
  orderCount: {
131
- type: _contractspec_lib_schema820.FieldType<number, number>;
131
+ type: _contractspec_lib_schema260.FieldType<number, number>;
132
132
  isOptional: false;
133
133
  };
134
134
  createdAt: {
135
- type: _contractspec_lib_schema820.FieldType<Date, string>;
135
+ type: _contractspec_lib_schema260.FieldType<Date, string>;
136
136
  isOptional: false;
137
137
  };
138
138
  paidAt: {
139
- type: _contractspec_lib_schema820.FieldType<Date, string>;
139
+ type: _contractspec_lib_schema260.FieldType<Date, string>;
140
140
  isOptional: true;
141
141
  };
142
142
  }>;
@@ -144,11 +144,11 @@ declare const ListPayoutsOutputModel: _contractspec_lib_schema820.SchemaModel<{
144
144
  isOptional: false;
145
145
  };
146
146
  total: {
147
- type: _contractspec_lib_schema820.FieldType<number, number>;
147
+ type: _contractspec_lib_schema260.FieldType<number, number>;
148
148
  isOptional: false;
149
149
  };
150
150
  totalPending: {
151
- type: _contractspec_lib_schema820.FieldType<number, number>;
151
+ type: _contractspec_lib_schema260.FieldType<number, number>;
152
152
  isOptional: false;
153
153
  };
154
154
  }>;
@@ -1,143 +1,143 @@
1
- import * as _contractspec_lib_schema941 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema1100 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/product/product.schema.d.ts
4
4
  /**
5
5
  * A product listing.
6
6
  */
7
- declare const ProductModel: _contractspec_lib_schema941.SchemaModel<{
7
+ declare const ProductModel: _contractspec_lib_schema1100.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema941.FieldType<string, string>;
9
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  storeId: {
13
- type: _contractspec_lib_schema941.FieldType<string, string>;
13
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  name: {
17
- type: _contractspec_lib_schema941.FieldType<string, string>;
17
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  slug: {
21
- type: _contractspec_lib_schema941.FieldType<string, string>;
21
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  description: {
25
- type: _contractspec_lib_schema941.FieldType<string, string>;
25
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
26
26
  isOptional: true;
27
27
  };
28
28
  status: {
29
- type: _contractspec_lib_schema941.EnumType<[string, string, string, string, string, string]>;
29
+ type: _contractspec_lib_schema1100.EnumType<[string, string, string, string, string, string]>;
30
30
  isOptional: false;
31
31
  };
32
32
  price: {
33
- type: _contractspec_lib_schema941.FieldType<number, number>;
33
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
34
34
  isOptional: false;
35
35
  };
36
36
  currency: {
37
- type: _contractspec_lib_schema941.FieldType<string, string>;
37
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  quantity: {
41
- type: _contractspec_lib_schema941.FieldType<number, number>;
41
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
42
42
  isOptional: false;
43
43
  };
44
44
  categoryId: {
45
- type: _contractspec_lib_schema941.FieldType<string, string>;
45
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
46
46
  isOptional: true;
47
47
  };
48
48
  primaryImageId: {
49
- type: _contractspec_lib_schema941.FieldType<string, string>;
49
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
50
50
  isOptional: true;
51
51
  };
52
52
  averageRating: {
53
- type: _contractspec_lib_schema941.FieldType<number, number>;
53
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
54
54
  isOptional: false;
55
55
  };
56
56
  totalSold: {
57
- type: _contractspec_lib_schema941.FieldType<number, number>;
57
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
58
58
  isOptional: false;
59
59
  };
60
60
  createdAt: {
61
- type: _contractspec_lib_schema941.FieldType<Date, string>;
61
+ type: _contractspec_lib_schema1100.FieldType<Date, string>;
62
62
  isOptional: false;
63
63
  };
64
64
  }>;
65
65
  /**
66
66
  * Input for creating a product.
67
67
  */
68
- declare const CreateProductInputModel: _contractspec_lib_schema941.SchemaModel<{
68
+ declare const CreateProductInputModel: _contractspec_lib_schema1100.SchemaModel<{
69
69
  storeId: {
70
- type: _contractspec_lib_schema941.FieldType<string, string>;
70
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
71
71
  isOptional: false;
72
72
  };
73
73
  name: {
74
- type: _contractspec_lib_schema941.FieldType<string, string>;
74
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
75
75
  isOptional: false;
76
76
  };
77
77
  slug: {
78
- type: _contractspec_lib_schema941.FieldType<string, string>;
78
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
79
79
  isOptional: false;
80
80
  };
81
81
  description: {
82
- type: _contractspec_lib_schema941.FieldType<string, string>;
82
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
83
83
  isOptional: true;
84
84
  };
85
85
  price: {
86
- type: _contractspec_lib_schema941.FieldType<number, number>;
86
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
87
87
  isOptional: false;
88
88
  };
89
89
  currency: {
90
- type: _contractspec_lib_schema941.FieldType<string, string>;
90
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
91
91
  isOptional: true;
92
92
  };
93
93
  quantity: {
94
- type: _contractspec_lib_schema941.FieldType<number, number>;
94
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
95
95
  isOptional: true;
96
96
  };
97
97
  categoryId: {
98
- type: _contractspec_lib_schema941.FieldType<string, string>;
98
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
99
99
  isOptional: true;
100
100
  };
101
101
  sku: {
102
- type: _contractspec_lib_schema941.FieldType<string, string>;
102
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
103
103
  isOptional: true;
104
104
  };
105
105
  }>;
106
106
  /**
107
107
  * Input for listing products.
108
108
  */
109
- declare const ListProductsInputModel: _contractspec_lib_schema941.SchemaModel<{
109
+ declare const ListProductsInputModel: _contractspec_lib_schema1100.SchemaModel<{
110
110
  storeId: {
111
- type: _contractspec_lib_schema941.FieldType<string, string>;
111
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
112
112
  isOptional: true;
113
113
  };
114
114
  categoryId: {
115
- type: _contractspec_lib_schema941.FieldType<string, string>;
115
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
116
116
  isOptional: true;
117
117
  };
118
118
  status: {
119
- type: _contractspec_lib_schema941.EnumType<[string, string, string, string, string, string]>;
119
+ type: _contractspec_lib_schema1100.EnumType<[string, string, string, string, string, string]>;
120
120
  isOptional: true;
121
121
  };
122
122
  search: {
123
- type: _contractspec_lib_schema941.FieldType<string, string>;
123
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
124
124
  isOptional: true;
125
125
  };
126
126
  minPrice: {
127
- type: _contractspec_lib_schema941.FieldType<number, number>;
127
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
128
128
  isOptional: true;
129
129
  };
130
130
  maxPrice: {
131
- type: _contractspec_lib_schema941.FieldType<number, number>;
131
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
132
132
  isOptional: true;
133
133
  };
134
134
  limit: {
135
- type: _contractspec_lib_schema941.FieldType<number, number>;
135
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
136
136
  isOptional: true;
137
137
  defaultValue: number;
138
138
  };
139
139
  offset: {
140
- type: _contractspec_lib_schema941.FieldType<number, number>;
140
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
141
141
  isOptional: true;
142
142
  defaultValue: number;
143
143
  };
@@ -145,63 +145,63 @@ declare const ListProductsInputModel: _contractspec_lib_schema941.SchemaModel<{
145
145
  /**
146
146
  * Output for listing products.
147
147
  */
148
- declare const ListProductsOutputModel: _contractspec_lib_schema941.SchemaModel<{
148
+ declare const ListProductsOutputModel: _contractspec_lib_schema1100.SchemaModel<{
149
149
  products: {
150
- type: _contractspec_lib_schema941.SchemaModel<{
150
+ type: _contractspec_lib_schema1100.SchemaModel<{
151
151
  id: {
152
- type: _contractspec_lib_schema941.FieldType<string, string>;
152
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
153
153
  isOptional: false;
154
154
  };
155
155
  storeId: {
156
- type: _contractspec_lib_schema941.FieldType<string, string>;
156
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
157
157
  isOptional: false;
158
158
  };
159
159
  name: {
160
- type: _contractspec_lib_schema941.FieldType<string, string>;
160
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
161
161
  isOptional: false;
162
162
  };
163
163
  slug: {
164
- type: _contractspec_lib_schema941.FieldType<string, string>;
164
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
165
165
  isOptional: false;
166
166
  };
167
167
  description: {
168
- type: _contractspec_lib_schema941.FieldType<string, string>;
168
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
169
169
  isOptional: true;
170
170
  };
171
171
  status: {
172
- type: _contractspec_lib_schema941.EnumType<[string, string, string, string, string, string]>;
172
+ type: _contractspec_lib_schema1100.EnumType<[string, string, string, string, string, string]>;
173
173
  isOptional: false;
174
174
  };
175
175
  price: {
176
- type: _contractspec_lib_schema941.FieldType<number, number>;
176
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
177
177
  isOptional: false;
178
178
  };
179
179
  currency: {
180
- type: _contractspec_lib_schema941.FieldType<string, string>;
180
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
181
181
  isOptional: false;
182
182
  };
183
183
  quantity: {
184
- type: _contractspec_lib_schema941.FieldType<number, number>;
184
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
185
185
  isOptional: false;
186
186
  };
187
187
  categoryId: {
188
- type: _contractspec_lib_schema941.FieldType<string, string>;
188
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
189
189
  isOptional: true;
190
190
  };
191
191
  primaryImageId: {
192
- type: _contractspec_lib_schema941.FieldType<string, string>;
192
+ type: _contractspec_lib_schema1100.FieldType<string, string>;
193
193
  isOptional: true;
194
194
  };
195
195
  averageRating: {
196
- type: _contractspec_lib_schema941.FieldType<number, number>;
196
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
197
197
  isOptional: false;
198
198
  };
199
199
  totalSold: {
200
- type: _contractspec_lib_schema941.FieldType<number, number>;
200
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
201
201
  isOptional: false;
202
202
  };
203
203
  createdAt: {
204
- type: _contractspec_lib_schema941.FieldType<Date, string>;
204
+ type: _contractspec_lib_schema1100.FieldType<Date, string>;
205
205
  isOptional: false;
206
206
  };
207
207
  }>;
@@ -209,7 +209,7 @@ declare const ListProductsOutputModel: _contractspec_lib_schema941.SchemaModel<{
209
209
  isOptional: false;
210
210
  };
211
211
  total: {
212
- type: _contractspec_lib_schema941.FieldType<number, number>;
212
+ type: _contractspec_lib_schema1100.FieldType<number, number>;
213
213
  isOptional: false;
214
214
  };
215
215
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"product.schema.d.ts","names":[],"sources":["../../src/product/product.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,YAsBX,8BAtBuB,WAsBvB,CAAA;EAAA,EAAA,EAAA;UAAA,2BAAA,CAAA;;;;;;;;;;;;;;;EAtBuB,WAAA,EAAA;IA2BZ,IAAA,uCAaX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;EAbkC,QAAA,EAAA;IAkBvB,IAAA,uCAoBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;EApBiC,CAAA;EAyBtB,cAAA,EAAA;IAMX,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;cAjDW,qDAAuB;;UAalC,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,oDAAsB;;UAoBjC,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,qDAAuB;;;;cAMlC,2BAAA,CAAA"}
1
+ {"version":3,"file":"product.schema.d.ts","names":[],"sources":["../../src/product/product.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,YAsBX,+BAtBuB,WAsBvB,CAAA;EAAA,EAAA,EAAA;UAAA,4BAAA,CAAA;;;;;;;;;;;;;;;EAtBuB,WAAA,EAAA;IA2BZ,IAAA,wCAaX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;EAbkC,QAAA,EAAA;IAkBvB,IAAA,wCAoBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;EApBiC,CAAA;EAyBtB,cAAA,EAAA;IAMX,IAAA,wCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;cAjDW,sDAAuB;;UAalC,4BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,qDAAsB;;UAoBjC,4BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,sDAAuB;;;;cAMlC,4BAAA,CAAA"}