@medusajs/types 1.12.0-snapshot-20240906131500 → 1.12.0-snapshot-20240909132045

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ export interface BaseClaimItem {
18
18
  export interface BaseClaim extends Omit<BaseOrder, "status" | "version" | "items"> {
19
19
  order_id: string;
20
20
  claim_items: BaseClaimItem[];
21
- additional_items: any[];
21
+ additional_items: BaseClaimItem[];
22
22
  return?: ReturnDTO;
23
23
  return_id?: string;
24
24
  no_notification?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/claim/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,WAAW,CAAA;IACnB,YAAY,EAAE,iBAAiB,CAAA;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACzC,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,aAAa,EAAE,CAAA;IAC5B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G,IAAI,CAAA;IACzC,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,aAAa,EAAE,CAAA;IAC5B,gBAAgB,EAAE,aAAa,EAAE,CAAA;IACjC,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACrD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -1,4 +1,3 @@
1
- import { RawRounding } from "../../common";
2
1
  export interface BaseCurrency {
3
2
  code: string;
4
3
  symbol: string;
@@ -6,7 +5,6 @@ export interface BaseCurrency {
6
5
  name: string;
7
6
  decimal_digits: number;
8
7
  rounding: number;
9
- raw_rounding: RawRounding;
10
8
  created_at: string;
11
9
  updated_at: string;
12
10
  deleted_at: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/currency/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,WAAW,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/currency/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
@@ -12,8 +12,8 @@ export type RemoteQueryFunctionReturnPagination = {
12
12
  * result returned by the underlying remote query
13
13
  */
14
14
  export type GraphResultSet<TEntry extends string> = {
15
- rows: TEntry extends keyof RemoteQueryEntryPoints ? RemoteQueryEntryPoints[TEntry][] : any[];
16
- meta?: any;
15
+ data: TEntry extends keyof RemoteQueryEntryPoints ? RemoteQueryEntryPoints[TEntry][] : any[];
16
+ metadata?: RemoteQueryFunctionReturnPagination;
17
17
  };
18
18
  /**
19
19
  * QueryGraphFunction is a wrapper on top of remoteQuery
@@ -1 +1 @@
1
- {"version":3,"file":"remote-query.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/remote-query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAA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CAC7C,CAAA;AAiCD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;OAIG;IACH,CAAC,KAAK,CAAC,MAAM,SAAS,MAAM,EAC1B,WAAW,EAAE,uBAAuB,CAAC,MAAM,CAAC,EAC5C,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,GAAG,CAAC,CAAA;IAEf;;;;OAIG;IACH,CAAC,KAAK,CAAC,OAAO,SAAS,iCAAiC,CAAC,GAAG,CAAC,EAC3D,WAAW,EAAE,OAAO,EACpB,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,GAAG,CAAC,CAAA;IACf;;;;OAIG;IACH,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IAEvE;;;OAGG;IACH,KAAK,EAAE,kBAAkB,CAAA;IAEzB;;;;;OAKG;IACH,GAAG,EAAE,CACH,KAAK,EAAE,MAAM,EACb,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,OAAO,CAAC,EAAE,mBAAmB,KAC1B,OAAO,CAAC,GAAG,CAAC,CAAA;CAClB,CAAA"}
@@ -36,7 +36,7 @@ export interface TaxRateDTO {
36
36
  /**
37
37
  * Whether the tax rate should be combined with parent rates.
38
38
  *
39
- * Learn more [here](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).
39
+ * Learn more [here](https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).
40
40
  */
41
41
  is_combinable: boolean;
42
42
  /**
@@ -108,7 +108,7 @@ export interface UpdateTaxRateDTO {
108
108
  /**
109
109
  * Whether the tax rate is combinable.
110
110
  *
111
- * Learn more [here](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).
111
+ * Learn more [here](https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).
112
112
  */
113
113
  is_combinable?: boolean;
114
114
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240906131500",
3
+ "version": "1.12.0-snapshot-20240909132045",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",