@medusajs/types 1.12.0-snapshot-20240406075900 → 1.12.0-snapshot-20240409114424

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. package/dist/cart/common.d.ts +64 -47
  2. package/dist/cart/common.d.ts.map +1 -1
  3. package/dist/cart/mutations.d.ts +14 -13
  4. package/dist/cart/mutations.d.ts.map +1 -1
  5. package/dist/cart/mutations.js.map +1 -1
  6. package/dist/cart/workflows.d.ts +6 -5
  7. package/dist/cart/workflows.d.ts.map +1 -1
  8. package/dist/common/rule.d.ts +3 -0
  9. package/dist/common/rule.d.ts.map +1 -1
  10. package/dist/customer/common.d.ts +21 -13
  11. package/dist/customer/common.d.ts.map +1 -1
  12. package/dist/customer/mutations.d.ts +13 -13
  13. package/dist/customer/mutations.d.ts.map +1 -1
  14. package/dist/dal/repository-service.d.ts +1 -1
  15. package/dist/dal/repository-service.d.ts.map +1 -1
  16. package/dist/file/index.d.ts +1 -0
  17. package/dist/file/index.d.ts.map +1 -1
  18. package/dist/file/index.js +1 -0
  19. package/dist/file/index.js.map +1 -1
  20. package/dist/file/provider.d.ts +100 -0
  21. package/dist/file/provider.d.ts.map +1 -0
  22. package/dist/file/provider.js +3 -0
  23. package/dist/file/provider.js.map +1 -0
  24. package/dist/fulfillment/common/address.d.ts +51 -0
  25. package/dist/fulfillment/common/address.d.ts.map +1 -1
  26. package/dist/fulfillment/common/fulfillment-item.d.ts +39 -0
  27. package/dist/fulfillment/common/fulfillment-item.d.ts.map +1 -1
  28. package/dist/fulfillment/common/fulfillment-label.d.ts +30 -0
  29. package/dist/fulfillment/common/fulfillment-label.d.ts.map +1 -1
  30. package/dist/fulfillment/common/fulfillment-provider.d.ts +24 -0
  31. package/dist/fulfillment/common/fulfillment-provider.d.ts.map +1 -1
  32. package/dist/fulfillment/common/fulfillment-set.d.ts +42 -0
  33. package/dist/fulfillment/common/fulfillment-set.d.ts.map +1 -1
  34. package/dist/fulfillment/common/fulfillment.d.ts +91 -0
  35. package/dist/fulfillment/common/fulfillment.d.ts.map +1 -1
  36. package/dist/fulfillment/common/geo-zone.d.ts +54 -0
  37. package/dist/fulfillment/common/geo-zone.d.ts.map +1 -1
  38. package/dist/fulfillment/common/service-zone.d.ts +52 -0
  39. package/dist/fulfillment/common/service-zone.d.ts.map +1 -1
  40. package/dist/fulfillment/common/shipping-option-rule.d.ts +51 -0
  41. package/dist/fulfillment/common/shipping-option-rule.d.ts.map +1 -1
  42. package/dist/fulfillment/common/shipping-option-type.d.ts +45 -0
  43. package/dist/fulfillment/common/shipping-option-type.d.ts.map +1 -1
  44. package/dist/fulfillment/common/shipping-option.d.ts +117 -0
  45. package/dist/fulfillment/common/shipping-option.d.ts.map +1 -1
  46. package/dist/fulfillment/common/shipping-profile.d.ts +42 -0
  47. package/dist/fulfillment/common/shipping-profile.d.ts.map +1 -1
  48. package/dist/fulfillment/mutations/fulfillment-address.d.ts +39 -0
  49. package/dist/fulfillment/mutations/fulfillment-address.d.ts.map +1 -1
  50. package/dist/fulfillment/mutations/fulfillment-item.d.ts +24 -0
  51. package/dist/fulfillment/mutations/fulfillment-item.d.ts.map +1 -1
  52. package/dist/fulfillment/mutations/fulfillment-label.d.ts +15 -0
  53. package/dist/fulfillment/mutations/fulfillment-label.d.ts.map +1 -1
  54. package/dist/fulfillment/mutations/fulfillment-set.d.ts +32 -2
  55. package/dist/fulfillment/mutations/fulfillment-set.d.ts.map +1 -1
  56. package/dist/fulfillment/mutations/fulfillment.d.ts +66 -0
  57. package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
  58. package/dist/fulfillment/mutations/geo-zone.d.ts +123 -0
  59. package/dist/fulfillment/mutations/geo-zone.d.ts.map +1 -1
  60. package/dist/fulfillment/mutations/service-zone.d.ts +33 -1
  61. package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
  62. package/dist/fulfillment/mutations/shipping-option-rule.d.ts +21 -0
  63. package/dist/fulfillment/mutations/shipping-option-rule.d.ts.map +1 -1
  64. package/dist/fulfillment/mutations/shipping-option-type.d.ts +21 -0
  65. package/dist/fulfillment/mutations/shipping-option-type.d.ts.map +1 -1
  66. package/dist/fulfillment/mutations/shipping-option.d.ts +71 -1
  67. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  68. package/dist/fulfillment/mutations/shipping-profile.d.ts +15 -0
  69. package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
  70. package/dist/fulfillment/service.d.ts +1933 -218
  71. package/dist/fulfillment/service.d.ts.map +1 -1
  72. package/dist/http/api-key/admin/api-key.d.ts +31 -0
  73. package/dist/http/api-key/admin/api-key.d.ts.map +1 -0
  74. package/dist/http/api-key/admin/api-key.js +3 -0
  75. package/dist/http/api-key/admin/api-key.js.map +1 -0
  76. package/dist/http/api-key/admin/index.d.ts +2 -0
  77. package/dist/http/api-key/admin/index.d.ts.map +1 -0
  78. package/dist/http/api-key/admin/index.js +18 -0
  79. package/dist/http/api-key/admin/index.js.map +1 -0
  80. package/dist/http/api-key/index.d.ts +2 -0
  81. package/dist/http/api-key/index.d.ts.map +1 -0
  82. package/dist/http/api-key/index.js +18 -0
  83. package/dist/http/api-key/index.js.map +1 -0
  84. package/dist/http/common/index.d.ts +2 -0
  85. package/dist/http/common/index.d.ts.map +1 -0
  86. package/dist/http/common/index.js +18 -0
  87. package/dist/http/common/index.js.map +1 -0
  88. package/dist/http/common/paginated-response.d.ts +6 -0
  89. package/dist/http/common/paginated-response.d.ts.map +1 -0
  90. package/dist/http/common/paginated-response.js +3 -0
  91. package/dist/http/common/paginated-response.js.map +1 -0
  92. package/dist/http/customer/admin/customer.d.ts +79 -0
  93. package/dist/http/customer/admin/customer.d.ts.map +1 -0
  94. package/dist/http/customer/admin/customer.js +3 -0
  95. package/dist/http/customer/admin/customer.js.map +1 -0
  96. package/dist/http/customer/admin/index.d.ts +2 -0
  97. package/dist/http/customer/admin/index.d.ts.map +1 -0
  98. package/dist/http/customer/admin/index.js +18 -0
  99. package/dist/http/customer/admin/index.js.map +1 -0
  100. package/dist/http/customer/index.d.ts +2 -0
  101. package/dist/http/customer/index.d.ts.map +1 -0
  102. package/dist/http/customer/index.js +18 -0
  103. package/dist/http/customer/index.js.map +1 -0
  104. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +9 -3
  105. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
  106. package/dist/http/fulfillment/admin/service-zone.d.ts +16 -0
  107. package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
  108. package/dist/http/fulfillment/admin/shipping-option.d.ts +11 -4
  109. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
  110. package/dist/http/fulfillment/admin/shipping-profile.d.ts +8 -1
  111. package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
  112. package/dist/http/index.d.ts +7 -1
  113. package/dist/http/index.d.ts.map +1 -1
  114. package/dist/http/index.js +7 -1
  115. package/dist/http/index.js.map +1 -1
  116. package/dist/http/pricing/index.d.ts +2 -0
  117. package/dist/http/pricing/index.d.ts.map +1 -0
  118. package/dist/http/pricing/index.js +18 -0
  119. package/dist/http/pricing/index.js.map +1 -0
  120. package/dist/http/pricing/price.d.ts +8 -0
  121. package/dist/http/pricing/price.d.ts.map +1 -0
  122. package/dist/http/pricing/price.js +3 -0
  123. package/dist/http/pricing/price.js.map +1 -0
  124. package/dist/http/product-category/admin/index.d.ts +2 -0
  125. package/dist/http/product-category/admin/index.d.ts.map +1 -0
  126. package/dist/http/product-category/admin/index.js +18 -0
  127. package/dist/http/product-category/admin/index.js.map +1 -0
  128. package/dist/http/product-category/admin/product-category.d.ts +32 -0
  129. package/dist/http/product-category/admin/product-category.d.ts.map +1 -0
  130. package/dist/http/product-category/admin/product-category.js +3 -0
  131. package/dist/http/product-category/admin/product-category.js.map +1 -0
  132. package/dist/http/product-category/index.d.ts +2 -0
  133. package/dist/http/product-category/index.d.ts.map +1 -0
  134. package/dist/http/product-category/index.js +18 -0
  135. package/dist/http/product-category/index.js.map +1 -0
  136. package/dist/http/sales-channel/admin/index.d.ts +2 -0
  137. package/dist/http/sales-channel/admin/index.d.ts.map +1 -0
  138. package/dist/http/sales-channel/admin/index.js +18 -0
  139. package/dist/http/sales-channel/admin/index.js.map +1 -0
  140. package/dist/http/sales-channel/admin/sales-channel.d.ts +25 -0
  141. package/dist/http/sales-channel/admin/sales-channel.d.ts.map +1 -0
  142. package/dist/http/sales-channel/admin/sales-channel.js +3 -0
  143. package/dist/http/sales-channel/admin/sales-channel.js.map +1 -0
  144. package/dist/http/sales-channel/index.d.ts +2 -0
  145. package/dist/http/sales-channel/index.d.ts.map +1 -0
  146. package/dist/http/sales-channel/index.js +18 -0
  147. package/dist/http/sales-channel/index.js.map +1 -0
  148. package/dist/http/tax/admin/index.d.ts +2 -0
  149. package/dist/http/tax/admin/index.d.ts.map +1 -0
  150. package/dist/http/tax/admin/index.js +18 -0
  151. package/dist/http/tax/admin/index.js.map +1 -0
  152. package/dist/http/tax/admin/tax-regions.d.ts +32 -0
  153. package/dist/http/tax/admin/tax-regions.d.ts.map +1 -0
  154. package/dist/http/tax/admin/tax-regions.js +3 -0
  155. package/dist/http/tax/admin/tax-regions.js.map +1 -0
  156. package/dist/http/tax/index.d.ts +2 -0
  157. package/dist/http/tax/index.d.ts.map +1 -0
  158. package/dist/http/tax/index.js +18 -0
  159. package/dist/http/tax/index.js.map +1 -0
  160. package/dist/joiner/index.d.ts +2 -2
  161. package/dist/joiner/index.d.ts.map +1 -1
  162. package/dist/modules-sdk/index.d.ts +12 -10
  163. package/dist/modules-sdk/index.d.ts.map +1 -1
  164. package/dist/order/common.d.ts +111 -45
  165. package/dist/order/common.d.ts.map +1 -1
  166. package/dist/order/index.d.ts +1 -0
  167. package/dist/order/index.d.ts.map +1 -1
  168. package/dist/order/index.js +1 -0
  169. package/dist/order/index.js.map +1 -1
  170. package/dist/order/mutations.d.ts +14 -14
  171. package/dist/order/mutations.d.ts.map +1 -1
  172. package/dist/order/mutations.js.map +1 -1
  173. package/dist/order/service.d.ts +60 -662
  174. package/dist/order/service.d.ts.map +1 -1
  175. package/dist/order/workflows.d.ts +8 -0
  176. package/dist/order/workflows.d.ts.map +1 -0
  177. package/dist/order/workflows.js +3 -0
  178. package/dist/order/workflows.js.map +1 -0
  179. package/dist/payment/common.d.ts +14 -13
  180. package/dist/payment/common.d.ts.map +1 -1
  181. package/dist/payment/common.js.map +1 -1
  182. package/dist/payment/mutations.d.ts +9 -8
  183. package/dist/payment/mutations.d.ts.map +1 -1
  184. package/dist/payment/provider.d.ts +6 -5
  185. package/dist/payment/provider.d.ts.map +1 -1
  186. package/dist/payment/provider.js.map +1 -1
  187. package/dist/payment/service.d.ts +1 -0
  188. package/dist/payment/service.d.ts.map +1 -1
  189. package/dist/pricing/common/money-amount.d.ts +10 -9
  190. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  191. package/dist/pricing/common/price-set.d.ts +9 -8
  192. package/dist/pricing/common/price-set.d.ts.map +1 -1
  193. package/dist/pricing/common/price.d.ts +10 -9
  194. package/dist/pricing/common/price.d.ts.map +1 -1
  195. package/dist/pricing/workflows.d.ts +10 -20
  196. package/dist/pricing/workflows.d.ts.map +1 -1
  197. package/dist/product/common.d.ts +26 -40
  198. package/dist/product/common.d.ts.map +1 -1
  199. package/dist/promotion/http.d.ts +14 -0
  200. package/dist/promotion/http.d.ts.map +1 -0
  201. package/dist/promotion/http.js +3 -0
  202. package/dist/promotion/http.js.map +1 -0
  203. package/dist/promotion/index.d.ts +1 -0
  204. package/dist/promotion/index.d.ts.map +1 -1
  205. package/dist/promotion/index.js +1 -0
  206. package/dist/promotion/index.js.map +1 -1
  207. package/dist/region/common.d.ts +5 -0
  208. package/dist/region/common.d.ts.map +1 -1
  209. package/dist/region/mutations.d.ts +4 -0
  210. package/dist/region/mutations.d.ts.map +1 -1
  211. package/dist/tax/common.d.ts +4 -3
  212. package/dist/tax/common.d.ts.map +1 -1
  213. package/dist/totals/big-number.d.ts +1 -0
  214. package/dist/totals/big-number.d.ts.map +1 -1
  215. package/dist/totals/index.d.ts +24 -0
  216. package/dist/totals/index.d.ts.map +1 -1
  217. package/dist/totals/index.js.map +1 -1
  218. package/dist/workflow/fulfillment/create-shipping-options.d.ts +31 -0
  219. package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +1 -0
  220. package/dist/workflow/fulfillment/create-shipping-options.js +3 -0
  221. package/dist/workflow/fulfillment/create-shipping-options.js.map +1 -0
  222. package/dist/workflow/fulfillment/index.d.ts +5 -0
  223. package/dist/workflow/fulfillment/index.d.ts.map +1 -0
  224. package/dist/workflow/fulfillment/index.js +21 -0
  225. package/dist/workflow/fulfillment/index.js.map +1 -0
  226. package/dist/workflow/fulfillment/service-zones.d.ts +21 -0
  227. package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -0
  228. package/dist/workflow/fulfillment/service-zones.js +3 -0
  229. package/dist/workflow/fulfillment/service-zones.js.map +1 -0
  230. package/dist/workflow/fulfillment/shipping-profiles.d.ts +18 -0
  231. package/dist/workflow/fulfillment/shipping-profiles.d.ts.map +1 -0
  232. package/dist/workflow/fulfillment/shipping-profiles.js +3 -0
  233. package/dist/workflow/fulfillment/shipping-profiles.js.map +1 -0
  234. package/dist/workflow/fulfillment/update-shipping-options.d.ts +32 -0
  235. package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +1 -0
  236. package/dist/workflow/fulfillment/update-shipping-options.js +3 -0
  237. package/dist/workflow/fulfillment/update-shipping-options.js.map +1 -0
  238. package/dist/workflow/index.d.ts +1 -0
  239. package/dist/workflow/index.d.ts.map +1 -1
  240. package/dist/workflow/index.js +2 -1
  241. package/dist/workflow/index.js.map +1 -1
  242. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-option-type.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/shipping-option-type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,2BACf,SAAQ,OAAO,CAAC,2BAA2B,CAAC;IAC5C,EAAE,EAAE,MAAM,CAAA;CACX"}
1
+ {"version":3,"file":"shipping-option-type.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/shipping-option-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,OAAO,CAAC,2BAA2B,CAAC;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX"}
@@ -1,29 +1,99 @@
1
1
  import { CreateShippingOptionTypeDTO } from "./shipping-option-type";
2
2
  import { ShippingOptionPriceType } from "../common";
3
3
  import { CreateShippingOptionRuleDTO } from "./shipping-option-rule";
4
+ /**
5
+ * The shipping option to be created.
6
+ */
4
7
  export interface CreateShippingOptionDTO {
8
+ /**
9
+ * The name of the shipping option.
10
+ */
5
11
  name: string;
12
+ /**
13
+ * The type of the shipping option's price.
14
+ */
6
15
  price_type: ShippingOptionPriceType;
16
+ /**
17
+ * The associated service zone's ID.
18
+ */
7
19
  service_zone_id: string;
20
+ /**
21
+ * The associated shipping profile's ID.
22
+ */
8
23
  shipping_profile_id: string;
24
+ /**
25
+ * The associated provider's ID.
26
+ */
9
27
  provider_id: string;
28
+ /**
29
+ * The shipping option type associated with the shipping option.
30
+ */
10
31
  type: Omit<CreateShippingOptionTypeDTO, "shipping_option_id">;
32
+ /**
33
+ * The data necessary for the associated fulfillment provider to process the shipping option
34
+ * and its associated fulfillments.
35
+ */
11
36
  data?: Record<string, unknown> | null;
37
+ /**
38
+ * The shipping option rules associated with the shipping option.
39
+ */
12
40
  rules?: Omit<CreateShippingOptionRuleDTO, "shipping_option_id">[];
13
41
  }
42
+ /**
43
+ * The attributes to update in the shipping option.
44
+ */
14
45
  export interface UpdateShippingOptionDTO {
15
- id: string;
46
+ /**
47
+ * The ID of the shipping option.
48
+ */
49
+ id?: string;
50
+ /**
51
+ * The name of the shipping option.
52
+ */
16
53
  name?: string;
54
+ /**
55
+ * The type of the shipping option's price.
56
+ */
17
57
  price_type?: ShippingOptionPriceType;
58
+ /**
59
+ * The associated service zone's ID.
60
+ */
18
61
  service_zone_id?: string;
62
+ /**
63
+ * The associated shipping profile's ID.
64
+ */
19
65
  shipping_profile_id?: string;
66
+ /**
67
+ * The associated provider's ID.
68
+ */
20
69
  provider_id?: string;
70
+ /**
71
+ * The shipping option type associated with the shipping option.
72
+ */
21
73
  type: Omit<CreateShippingOptionTypeDTO, "shipping_option_id"> | {
74
+ /**
75
+ * The ID of the shipping option type.
76
+ */
22
77
  id: string;
23
78
  };
79
+ /**
80
+ * The data necessary for the associated fulfillment provider to process the shipping option
81
+ * and its associated fulfillments.
82
+ */
24
83
  data?: Record<string, unknown> | null;
84
+ /**
85
+ * The shipping option rules associated with the shipping option.
86
+ */
25
87
  rules?: (Omit<CreateShippingOptionRuleDTO, "shipping_option_id"> | {
88
+ /**
89
+ * The ID of the shipping option rule.
90
+ */
26
91
  id: string;
27
92
  })[];
28
93
  }
94
+ /**
95
+ * A shipping option to be created or updated.
96
+ */
97
+ export interface UpsertShippingOptionDTO extends UpdateShippingOptionDTO {
98
+ }
29
99
  //# sourceMappingURL=shipping-option.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AACnD,OAAO,EAAE,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A;KACX,CACJ,EAAE,CAAA;CACJ;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;CAAG"}
@@ -1,8 +1,23 @@
1
+ /**
2
+ * The shipping profile to be created.
3
+ */
1
4
  export interface CreateShippingProfileDTO {
5
+ /**
6
+ * The name of the shipping profile.
7
+ */
2
8
  name: string;
9
+ /**
10
+ * The type of the shipping profile.
11
+ */
3
12
  type?: string;
13
+ /**
14
+ * Holds custom data in key-value pairs.
15
+ */
4
16
  metadata?: Record<string, unknown>;
5
17
  }
18
+ /**
19
+ * The attributes to update in the shipping profile.
20
+ */
6
21
  export interface UpdateShippingProfileDTO extends Partial<CreateShippingProfileDTO> {
7
22
  }
8
23
  //# sourceMappingURL=shipping-profile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/shipping-profile.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,wBACf,SAAQ,OAAO,CAAC,wBAAwB,CAAC;CAAG"}
1
+ {"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/shipping-profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,wBACf,SAAQ,OAAO,CAAC,wBAAwB,CAAC;CAAG"}