@medusajs/types 2.0.0-rc-20241018141633 → 2.0.0-rc-20241022152047

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/api-key/common/api-key.d.ts +8 -0
  2. package/dist/api-key/common/api-key.d.ts.map +1 -1
  3. package/dist/common/common.d.ts +10 -2
  4. package/dist/common/common.d.ts.map +1 -1
  5. package/dist/common/config-module.d.ts +19 -0
  6. package/dist/common/config-module.d.ts.map +1 -1
  7. package/dist/http/api-key/admin/payloads.d.ts +9 -0
  8. package/dist/http/api-key/admin/payloads.d.ts.map +1 -1
  9. package/dist/http/api-key/admin/queries.d.ts +27 -2
  10. package/dist/http/api-key/admin/queries.d.ts.map +1 -1
  11. package/dist/http/api-key/admin/responses.d.ts +45 -0
  12. package/dist/http/api-key/admin/responses.d.ts.map +1 -1
  13. package/dist/http/campaign/admin/payloads.d.ts +74 -0
  14. package/dist/http/campaign/admin/payloads.d.ts.map +1 -1
  15. package/dist/http/campaign/admin/responses.d.ts +54 -0
  16. package/dist/http/campaign/admin/responses.d.ts.map +1 -1
  17. package/dist/http/cart/store/entities.d.ts +39 -0
  18. package/dist/http/cart/store/entities.d.ts.map +1 -1
  19. package/dist/http/cart/store/payloads.d.ts +74 -0
  20. package/dist/http/cart/store/payloads.d.ts.map +1 -1
  21. package/dist/http/cart/store/responses.d.ts +28 -0
  22. package/dist/http/cart/store/responses.d.ts.map +1 -1
  23. package/dist/http/claim/admin/entities.d.ts +9 -0
  24. package/dist/http/claim/admin/entities.d.ts.map +1 -1
  25. package/dist/http/claim/admin/payloads.d.ts +71 -0
  26. package/dist/http/claim/admin/payloads.d.ts.map +1 -1
  27. package/dist/http/claim/admin/queries.d.ts +0 -1
  28. package/dist/http/claim/admin/queries.d.ts.map +1 -1
  29. package/dist/http/claim/admin/responses.d.ts +24 -0
  30. package/dist/http/claim/admin/responses.d.ts.map +1 -1
  31. package/dist/http/claim/common.d.ts +81 -0
  32. package/dist/http/claim/common.d.ts.map +1 -1
  33. package/dist/http/collection/common.d.ts +44 -2
  34. package/dist/http/collection/common.d.ts.map +1 -1
  35. package/dist/http/collection/store/entities.d.ts +3 -0
  36. package/dist/http/collection/store/entities.d.ts.map +1 -1
  37. package/dist/http/collection/store/queries.d.ts +0 -2
  38. package/dist/http/collection/store/queries.d.ts.map +1 -1
  39. package/dist/http/collection/store/responses.d.ts +6 -0
  40. package/dist/http/collection/store/responses.d.ts.map +1 -1
  41. package/dist/http/common/request.d.ts +23 -0
  42. package/dist/http/common/request.d.ts.map +1 -1
  43. package/dist/http/common/response.d.ts +9 -0
  44. package/dist/http/common/response.d.ts.map +1 -1
  45. package/dist/http/currency/admin/queries.d.ts +6 -0
  46. package/dist/http/currency/admin/queries.d.ts.map +1 -1
  47. package/dist/http/currency/admin/responses.d.ts +6 -0
  48. package/dist/http/currency/admin/responses.d.ts.map +1 -1
  49. package/dist/http/currency/common.d.ts +36 -0
  50. package/dist/http/currency/common.d.ts.map +1 -1
  51. package/dist/http/customer/admin/entities.d.ts +9 -0
  52. package/dist/http/customer/admin/entities.d.ts.map +1 -1
  53. package/dist/http/customer/admin/queries.d.ts +6 -0
  54. package/dist/http/customer/admin/queries.d.ts.map +1 -1
  55. package/dist/http/customer/admin/responses.d.ts +6 -0
  56. package/dist/http/customer/admin/responses.d.ts.map +1 -1
  57. package/dist/http/customer/common.d.ts +285 -0
  58. package/dist/http/customer/common.d.ts.map +1 -1
  59. package/dist/http/customer/store/entities.d.ts +3 -0
  60. package/dist/http/customer/store/entities.d.ts.map +1 -1
  61. package/dist/http/customer/store/responses.d.ts +9 -0
  62. package/dist/http/customer/store/responses.d.ts.map +1 -1
  63. package/dist/http/customer-group/admin/entities.d.ts +3 -0
  64. package/dist/http/customer-group/admin/entities.d.ts.map +1 -1
  65. package/dist/http/customer-group/admin/payloads.d.ts +12 -0
  66. package/dist/http/customer-group/admin/payloads.d.ts.map +1 -1
  67. package/dist/http/customer-group/admin/queries.d.ts +59 -4
  68. package/dist/http/customer-group/admin/queries.d.ts.map +1 -1
  69. package/dist/http/customer-group/admin/responses.d.ts +6 -0
  70. package/dist/http/customer-group/admin/responses.d.ts.map +1 -1
  71. package/dist/http/customer-group/common.d.ts +18 -0
  72. package/dist/http/customer-group/common.d.ts.map +1 -1
  73. package/dist/http/exchange/admin/payloads.d.ts +71 -5
  74. package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
  75. package/dist/http/exchange/admin/queries.d.ts +3 -6
  76. package/dist/http/exchange/admin/queries.d.ts.map +1 -1
  77. package/dist/http/exchange/admin/responses.d.ts +21 -0
  78. package/dist/http/exchange/admin/responses.d.ts.map +1 -1
  79. package/dist/http/exchange/common.d.ts +109 -0
  80. package/dist/http/exchange/common.d.ts.map +1 -1
  81. package/dist/http/fulfillment/admin/entitites.d.ts +139 -0
  82. package/dist/http/fulfillment/admin/entitites.d.ts.map +1 -1
  83. package/dist/http/fulfillment/admin/payloads.d.ts +113 -1
  84. package/dist/http/fulfillment/admin/payloads.d.ts.map +1 -1
  85. package/dist/http/fulfillment/admin/responses.d.ts +3 -0
  86. package/dist/http/fulfillment/admin/responses.d.ts.map +1 -1
  87. package/dist/http/fulfillment/store/index.d.ts +54 -1
  88. package/dist/http/fulfillment/store/index.d.ts.map +1 -1
  89. package/dist/http/fulfillment-provider/admin/queries.d.ts +13 -0
  90. package/dist/http/fulfillment-provider/admin/queries.d.ts.map +1 -1
  91. package/dist/http/fulfillment-provider/admin/responses.d.ts +3 -0
  92. package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -1
  93. package/dist/http/fulfillment-provider/common.d.ts +6 -0
  94. package/dist/http/fulfillment-provider/common.d.ts.map +1 -1
  95. package/dist/http/fulfillment-set/admin/entities.d.ts +84 -0
  96. package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -1
  97. package/dist/http/fulfillment-set/admin/payloads.d.ts +66 -0
  98. package/dist/http/fulfillment-set/admin/payloads.d.ts.map +1 -1
  99. package/dist/http/fulfillment-set/admin/responses.d.ts +6 -0
  100. package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -1
  101. package/dist/http/inventory/admin/entities.d.ts +84 -0
  102. package/dist/http/inventory/admin/entities.d.ts.map +1 -1
  103. package/dist/http/inventory/admin/payloads.d.ts +42 -0
  104. package/dist/http/inventory/admin/payloads.d.ts.map +1 -1
  105. package/dist/http/inventory/admin/queries.d.ts +40 -0
  106. package/dist/http/inventory/admin/queries.d.ts.map +1 -1
  107. package/dist/http/inventory/admin/responses.d.ts +6 -0
  108. package/dist/http/inventory/admin/responses.d.ts.map +1 -1
  109. package/dist/http/inventory-level/admin/entities.d.ts +28 -0
  110. package/dist/http/inventory-level/admin/entities.d.ts.map +1 -1
  111. package/dist/http/inventory-level/admin/payloads.d.ts +30 -0
  112. package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -1
  113. package/dist/http/inventory-level/admin/queries.d.ts +4 -0
  114. package/dist/http/inventory-level/admin/queries.d.ts.map +1 -1
  115. package/dist/http/inventory-level/admin/responses.d.ts +6 -0
  116. package/dist/http/inventory-level/admin/responses.d.ts.map +1 -1
  117. package/dist/http/invite/admin/entities.d.ts +24 -0
  118. package/dist/http/invite/admin/entities.d.ts.map +1 -1
  119. package/dist/http/invite/admin/payloads.d.ts +16 -0
  120. package/dist/http/invite/admin/payloads.d.ts.map +1 -1
  121. package/dist/http/invite/admin/responses.d.ts +12 -0
  122. package/dist/http/invite/admin/responses.d.ts.map +1 -1
  123. package/dist/http/order/admin/entities.d.ts +45 -0
  124. package/dist/http/order/admin/entities.d.ts.map +1 -1
  125. package/dist/http/order/admin/queries.d.ts +6 -0
  126. package/dist/http/order/admin/queries.d.ts.map +1 -1
  127. package/dist/http/order/common.d.ts +630 -0
  128. package/dist/http/order/common.d.ts.map +1 -1
  129. package/dist/http/order/store/entities.d.ts +39 -0
  130. package/dist/http/order/store/entities.d.ts.map +1 -1
  131. package/dist/http/order/store/queries.d.ts +6 -0
  132. package/dist/http/order/store/queries.d.ts.map +1 -1
  133. package/dist/http/order/store/responses.d.ts +6 -0
  134. package/dist/http/order/store/responses.d.ts.map +1 -1
  135. package/dist/http/payment/common.d.ts +3 -0
  136. package/dist/http/payment/common.d.ts.map +1 -1
  137. package/dist/http/payment/store/entities.d.ts +9 -0
  138. package/dist/http/payment/store/entities.d.ts.map +1 -1
  139. package/dist/http/payment/store/payloads.d.ts +18 -0
  140. package/dist/http/payment/store/payloads.d.ts.map +1 -1
  141. package/dist/http/payment/store/queries.d.ts +3 -0
  142. package/dist/http/payment/store/queries.d.ts.map +1 -1
  143. package/dist/http/payment/store/responses.d.ts +6 -0
  144. package/dist/http/payment/store/responses.d.ts.map +1 -1
  145. package/dist/http/product/admin/payloads.d.ts +2 -0
  146. package/dist/http/product/admin/payloads.d.ts.map +1 -1
  147. package/dist/http/product/common.d.ts +268 -0
  148. package/dist/http/product/common.d.ts.map +1 -1
  149. package/dist/http/product/store/entitites.d.ts +36 -0
  150. package/dist/http/product/store/entitites.d.ts.map +1 -1
  151. package/dist/http/product/store/queries.d.ts +19 -1
  152. package/dist/http/product/store/queries.d.ts.map +1 -1
  153. package/dist/http/product/store/responses.d.ts +6 -0
  154. package/dist/http/product/store/responses.d.ts.map +1 -1
  155. package/dist/http/product-category/common.d.ts +94 -0
  156. package/dist/http/product-category/common.d.ts.map +1 -1
  157. package/dist/http/product-category/store/entities.d.ts +9 -0
  158. package/dist/http/product-category/store/entities.d.ts.map +1 -1
  159. package/dist/http/product-category/store/queries.d.ts +1 -1
  160. package/dist/http/product-category/store/queries.d.ts.map +1 -1
  161. package/dist/http/product-category/store/responses.d.ts +6 -0
  162. package/dist/http/product-category/store/responses.d.ts.map +1 -1
  163. package/dist/http/promotion/common.d.ts +3 -0
  164. package/dist/http/promotion/common.d.ts.map +1 -1
  165. package/dist/http/region/common.d.ts +69 -0
  166. package/dist/http/region/common.d.ts.map +1 -1
  167. package/dist/http/region/store/responses.d.ts +6 -0
  168. package/dist/http/region/store/responses.d.ts.map +1 -1
  169. package/dist/http/shipping-option/store/queries.d.ts +8 -0
  170. package/dist/http/shipping-option/store/queries.d.ts.map +1 -1
  171. package/dist/http/shipping-option/store/responses.d.ts +2 -2
  172. package/dist/http/shipping-option/store/responses.d.ts.map +1 -1
  173. package/dist/product/common.d.ts +8 -0
  174. package/dist/product/common.d.ts.map +1 -1
  175. package/package.json +1 -1
@@ -2,14 +2,26 @@ import { DeleteResponse, PaginatedResponse } from "../../common";
2
2
  import { AdminUser } from "../../user";
3
3
  import { AdminInvite } from "./entities";
4
4
  export interface AdminInviteResponse {
5
+ /**
6
+ * The invite's details.
7
+ */
5
8
  invite: AdminInvite;
6
9
  }
7
10
  export type AdminInviteListResponse = PaginatedResponse<{
11
+ /**
12
+ * The list of invites.
13
+ */
8
14
  invites: AdminInvite[];
9
15
  }>;
10
16
  export type AdminAcceptInviteResponse = {
17
+ /**
18
+ * The user's details.
19
+ */
11
20
  user: AdminUser;
12
21
  } | {
22
+ /**
23
+ * A message if an error occurs.
24
+ */
13
25
  message: string;
14
26
  };
15
27
  export type AdminInviteDeleteResponse = DeleteResponse<"invite">;
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAExC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GACjC;IACE,IAAI,EAAE,SAAS,CAAA;CAChB,GACD;IACE,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAEL,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAExC,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD;;OAEG;IACH,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GACjC;IACA;;OAEG;IACD,IAAI,EAAE,SAAS,CAAA;CAChB,GACD;IACA;;OAEG;IACD,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAEL,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA"}
@@ -18,14 +18,47 @@ export interface AdminOrder extends Omit<BaseOrder, "items"> {
18
18
  shipping_methods: AdminOrderShippingMethod[];
19
19
  }
20
20
  export interface AdminOrderChange extends Omit<BaseOrderChange, "order" | "claim" | "return_order" | "exchange" | "actions"> {
21
+ /**
22
+ * The order's details.
23
+ */
21
24
  order: AdminOrder;
25
+ /**
26
+ * The claim's details.
27
+ */
22
28
  claim: AdminClaim;
29
+ /**
30
+ * The return's details.
31
+ */
23
32
  return_order: AdminReturn;
33
+ /**
34
+ * The exchange's details.
35
+ */
24
36
  exchange: AdminExchange;
37
+ /**
38
+ * The order change action's details.
39
+ */
25
40
  actions: AdminOrderChangeAction[];
26
41
  }
42
+ export interface AdminOrderItem {
43
+ order_id: string;
44
+ item_id: string;
45
+ version: number;
46
+ history: {
47
+ version: {
48
+ from: number;
49
+ to: number;
50
+ };
51
+ };
52
+ item: AdminOrderLineItem;
53
+ }
27
54
  export interface AdminOrderChangeAction extends Omit<BaseOrderChangeAction, "order_change" | "order"> {
55
+ /**
56
+ * The order change's details.
57
+ */
28
58
  order_change: AdminOrderChange;
59
+ /**
60
+ * The order's details.
61
+ */
29
62
  order: AdminOrder | null;
30
63
  }
31
64
  export interface AdminOrderFulfillment extends BaseOrderFulfillment {
@@ -52,11 +85,23 @@ export interface AdminOrderAddress extends BaseOrderAddress {
52
85
  export interface AdminOrderShippingMethod extends BaseOrderShippingMethod {
53
86
  }
54
87
  export interface AdminOrderPreview extends Omit<AdminOrder, "items" | "shipping_methods"> {
88
+ /**
89
+ * The total amount for the items requested to be returned.
90
+ */
55
91
  return_requested_total: number;
92
+ /**
93
+ * The details of the changes on the order.
94
+ */
56
95
  order_change: AdminOrderChange;
96
+ /**
97
+ * The order's items.
98
+ */
57
99
  items: (AdminOrderLineItem & {
58
100
  actions?: AdminOrderChangeAction[];
59
101
  })[];
102
+ /**
103
+ * The order's shipping methods.
104
+ */
60
105
  shipping_methods: (AdminOrderShippingMethod & {
61
106
  actions?: AdminOrderChangeAction[];
62
107
  })[];
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,qBAAqB,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B,CAAA;IAC9B;;OAEG;IACH,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;CACzB;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG;AAEtE,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,MAAM,CAAA;YACZ,EAAE,EAAE,MAAM,CAAA;SACX,CAAA;KACF,CAAA;IACD,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAED,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,SAAS,CAAC;IACtD,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,OAAO,CAAC,EAAE,YAAY,CAAA;CACvB;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B;AAED,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,kBAAkB,CAAC;IACtD;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAA;IAC9B;;OAEG;IACH,YAAY,EAAE,gBAAgB,CAAA;IAC9B;;OAEG;IACH,KAAK,EAAE,CAAC,kBAAkB,GAAG;QAAE,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAA;IACtE;;OAEG;IACH,gBAAgB,EAAE,CAAC,wBAAwB,GAAG;QAC5C,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAA;KACnC,CAAC,EAAE,CAAA;CACL"}
@@ -12,6 +12,12 @@ export interface AdminOrderFilters extends FindParams, BaseOrderFilters {
12
12
  created_at?: OperatorMap<string>;
13
13
  updated_at?: OperatorMap<string>;
14
14
  }
15
+ export interface AdminOrderItemsFilters extends FindParams {
16
+ id?: string[] | string;
17
+ item_id?: string[] | string;
18
+ order_id?: string[] | string;
19
+ version?: number[] | number;
20
+ }
15
21
  export interface AdminOrderChangesFilters extends BaseOrderChangesFilters {
16
22
  }
17
23
  export interface AdminOrderItemsFilters extends FindParams {
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAErE,MAAM,WAAW,iBAAkB,SAAQ,UAAU,EAAE,gBAAgB;IACrE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACxC,cAAc,CAAC,EAAE,aAAa,EAAE,CAAA;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,EAAE,GA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