@medusajs/types 1.12.0-snapshot-20240904130551 → 1.12.0-snapshot-20240906075935

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/dist/admin/extensions.d.ts +2 -2
  2. package/dist/common/batch.d.ts +1 -5
  3. package/dist/common/batch.d.ts.map +1 -1
  4. package/dist/common/common.d.ts +9 -59
  5. package/dist/common/common.d.ts.map +1 -1
  6. package/dist/common/config-module.d.ts +1 -2
  7. package/dist/common/config-module.d.ts.map +1 -1
  8. package/dist/common/nested-pick.d.ts +18 -0
  9. package/dist/common/nested-pick.d.ts.map +1 -0
  10. package/dist/common/nested-pick.js +24 -0
  11. package/dist/common/nested-pick.js.map +1 -0
  12. package/dist/http/claim/admin/payloads.d.ts +2 -2
  13. package/dist/http/claim/admin/payloads.d.ts.map +1 -1
  14. package/dist/http/common/response.d.ts +9 -0
  15. package/dist/http/common/response.d.ts.map +1 -1
  16. package/dist/http/exchange/admin/payloads.d.ts +2 -2
  17. package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
  18. package/dist/http/order/store/queries.d.ts +2 -1
  19. package/dist/http/order/store/queries.d.ts.map +1 -1
  20. package/dist/http/payment/store/queries.d.ts +3 -3
  21. package/dist/http/payment/store/queries.d.ts.map +1 -1
  22. package/dist/http/product/admin/responses.d.ts +4 -5
  23. package/dist/http/product/admin/responses.d.ts.map +1 -1
  24. package/dist/http/product/store/queries.d.ts +2 -1
  25. package/dist/http/product/store/queries.d.ts.map +1 -1
  26. package/dist/http/product-category/store/queries.d.ts +1 -1
  27. package/dist/http/product-category/store/queries.d.ts.map +1 -1
  28. package/dist/http/promotion/admin/responses.d.ts +2 -3
  29. package/dist/http/promotion/admin/responses.d.ts.map +1 -1
  30. package/dist/http/region/admin/queries.d.ts +3 -3
  31. package/dist/http/region/admin/queries.d.ts.map +1 -1
  32. package/dist/http/region/common.d.ts +1 -1
  33. package/dist/http/region/common.d.ts.map +1 -1
  34. package/dist/http/region/store/queries.d.ts +1 -1
  35. package/dist/http/region/store/queries.d.ts.map +1 -1
  36. package/dist/http/return/admin/payloads.d.ts +2 -2
  37. package/dist/http/return/admin/payloads.d.ts.map +1 -1
  38. package/dist/http/shipping-option/admin/responses.d.ts +2 -3
  39. package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
  40. package/dist/http/workflow-execution/admin/responses.d.ts +4 -0
  41. package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
  42. package/dist/modules-sdk/index.d.ts +5 -2
  43. package/dist/modules-sdk/index.d.ts.map +1 -1
  44. package/dist/modules-sdk/index.js +2 -0
  45. package/dist/modules-sdk/index.js.map +1 -1
  46. package/dist/modules-sdk/object-to-remote-query-fields.d.ts +24 -0
  47. package/dist/modules-sdk/object-to-remote-query-fields.d.ts.map +1 -0
  48. package/dist/modules-sdk/object-to-remote-query-fields.js +3 -0
  49. package/dist/modules-sdk/object-to-remote-query-fields.js.map +1 -0
  50. package/dist/modules-sdk/remote-query-entry-points.d.ts +6 -0
  51. package/dist/modules-sdk/remote-query-entry-points.d.ts.map +1 -0
  52. package/dist/modules-sdk/remote-query-entry-points.js +3 -0
  53. package/dist/modules-sdk/remote-query-entry-points.js.map +1 -0
  54. package/dist/modules-sdk/remote-query-object-from-string.d.ts +12 -0
  55. package/dist/modules-sdk/remote-query-object-from-string.d.ts.map +1 -0
  56. package/dist/modules-sdk/remote-query-object-from-string.js +3 -0
  57. package/dist/modules-sdk/remote-query-object-from-string.js.map +1 -0
  58. package/dist/modules-sdk/remote-query.d.ts +35 -0
  59. package/dist/modules-sdk/remote-query.d.ts.map +1 -0
  60. package/dist/modules-sdk/remote-query.js +3 -0
  61. package/dist/modules-sdk/remote-query.js.map +1 -0
  62. package/dist/order/common.d.ts +1 -1
  63. package/dist/order/common.d.ts.map +1 -1
  64. package/dist/product/common.d.ts +42 -0
  65. package/dist/product/common.d.ts.map +1 -1
  66. package/dist/product/service.d.ts +221 -1
  67. package/dist/product/service.d.ts.map +1 -1
  68. package/dist/promotion/common/compute-actions.d.ts +10 -1
  69. package/dist/promotion/common/compute-actions.d.ts.map +1 -1
  70. package/dist/promotion/service.d.ts +22 -7
  71. package/dist/promotion/service.d.ts.map +1 -1
  72. package/dist/transaction-base/transaction-base.d.ts +0 -2
  73. package/dist/transaction-base/transaction-base.d.ts.map +1 -1
  74. package/dist/workflow/order/shipping-method.d.ts +4 -4
  75. package/dist/workflow/order/shipping-method.d.ts.map +1 -1
  76. package/dist/workflows-sdk/service.d.ts +5 -1
  77. package/dist/workflows-sdk/service.d.ts.map +1 -1
  78. package/package.json +3 -2
@@ -9,13 +9,13 @@
9
9
  * @example
10
10
  * ```tsx
11
11
  * import type { DetailWidgetProps, AdminProduct } from "@medusajs/types"
12
- * import { defineConfig } from "@medusajs/admin-shared"
12
+ * import { defineWidgetConfig } from "@medusajs/admin-sdk"
13
13
  *
14
14
  * const ProductWidget = ({ data }: DetailWidgetProps<AdminProduct>) => {
15
15
  * return <div>{data.title}</div>
16
16
  * }
17
17
  *
18
- * export const config = defineConfig({
18
+ * export const config = defineWidgetConfig({
19
19
  * zone: "product.details.after",
20
20
  * })
21
21
  *
@@ -15,11 +15,7 @@ export type BatchMethodRequest<TCreate, TUpdate, TDelete = string> = {
15
15
  export type BatchMethodResponse<T> = {
16
16
  created: T[];
17
17
  updated: T[];
18
- deleted: {
19
- ids: string[];
20
- object: string;
21
- deleted: boolean;
22
- };
18
+ deleted: string[];
23
19
  };
24
20
  export type BatchWorkflowInput<TCreate, TUpdate, TDelete = string> = BatchMethodRequest<TCreate, TUpdate, TDelete>;
25
21
  export type BatchWorkflowOutput<T> = BatchMethodResponse<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../src/common/batch.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG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AAM,IAAI;IACnE,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI;IACnC,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,kBAAkB,CAC5B,OAAO,EACP,OAAO,EACP,OAAO,GAAG,MAAM,IACd,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAEjD,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAA"}
@@ -1,6 +1,3 @@
1
- import { FindManyOptions, FindOneOptions, FindOperator, FindOptionsSelect, FindOptionsWhere, OrderByCondition } from "typeorm";
2
- import { FindOptionsOrder } from "typeorm/find-options/FindOptionsOrder";
3
- import { FindOptionsRelations } from "typeorm/find-options/FindOptionsRelations";
4
1
  /**
5
2
  * Prettify complex types to a flat object structure
6
3
  */
@@ -45,12 +42,6 @@ export interface SoftDeletableEntity extends BaseEntity {
45
42
  */
46
43
  deleted_at: Date | null;
47
44
  }
48
- /**
49
- * @ignore
50
- */
51
- export type Writable<T> = {
52
- -readonly [key in keyof T]: T[key] | FindOperator<T[key]> | FindOperator<T[key][]> | FindOperator<string[]>;
53
- };
54
45
  /**
55
46
  * @interface
56
47
  *
@@ -95,60 +86,10 @@ export interface FindConfig<Entity> {
95
86
  */
96
87
  options?: Record<string, any>;
97
88
  }
98
- /**
99
- * @ignore
100
- */
101
- export type ExtendedFindConfig<TEntity> = (Omit<FindOneOptions<TEntity>, "where" | "relations" | "select"> | Omit<FindManyOptions<TEntity>, "where" | "relations" | "select">) & {
102
- select?: FindOptionsSelect<TEntity>;
103
- relations?: FindOptionsRelations<TEntity>;
104
- where: FindOptionsWhere<TEntity> | FindOptionsWhere<TEntity>[];
105
- order?: FindOptionsOrder<TEntity>;
106
- skip?: number;
107
- take?: number;
108
- };
109
- /**
110
- * @ignore
111
- */
112
- export type QuerySelector<TEntity> = Selector<TEntity> & {
113
- q?: string;
114
- };
115
- /**
116
- * @ignore
117
- */
118
- export type TreeQuerySelector<TEntity> = QuerySelector<TEntity> & {
119
- include_descendants_tree?: boolean;
120
- };
121
- /**
122
- * @ignore
123
- */
124
- export type Selector<TEntity> = {
125
- [key in keyof TEntity]?: TEntity[key] | TEntity[key][] | DateComparisonOperator | StringComparisonOperator | NumericalComparisonOperator | FindOperator<TEntity[key][] | string | string[]>;
126
- };
127
89
  /**
128
90
  * @ignore
129
91
  */
130
92
  export type TotalField = "shipping_total" | "discount_total" | "tax_total" | "refunded_total" | "total" | "subtotal" | "refundable_amount" | "gift_card_total" | "gift_card_tax_total";
131
- /**
132
- * @ignore
133
- */
134
- export interface CustomFindOptions<TModel, InKeys extends keyof TModel> {
135
- select?: FindManyOptions<TModel>["select"];
136
- where?: FindManyOptions<TModel>["where"] & {
137
- [P in InKeys]?: TModel[P][];
138
- };
139
- order?: OrderByCondition;
140
- skip?: number;
141
- take?: number;
142
- }
143
- /**
144
- * @ignore
145
- */
146
- export type QueryConfig<TEntity extends BaseEntity> = {
147
- deafults?: (keyof TEntity | string)[];
148
- allowed?: (keyof TEntity | string)[];
149
- defaultLimit?: number;
150
- isList?: boolean;
151
- };
152
93
  /**
153
94
  * @interface
154
95
  *
@@ -272,4 +213,13 @@ export type RawRounding = {
272
213
  value: string;
273
214
  precision: number;
274
215
  };
216
+ /**
217
+ * @ignore
218
+ */
219
+ export type QueryConfig<TEntity extends BaseEntity> = {
220
+ deafults?: (keyof TEntity | string)[];
221
+ allowed?: (keyof TEntity | string)[];
222
+ defaultLimit?: number;
223
+ isList?: boolean;
224
+ };
275
225
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"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AE,CAAA;IACpC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import { ExternalModuleDeclaration, InternalModuleDeclaration } from "../modules-sdk";
2
2
  import type { RedisOptions } from "ioredis";
3
- import type { LoggerOptions } from "typeorm";
4
3
  import type { InlineConfig } from "vite";
5
4
  /**
6
5
  * @interface
@@ -252,7 +251,7 @@ export type ProjectConfigOptions = {
252
251
  * })
253
252
  * ```
254
253
  */
255
- databaseLogging?: LoggerOptions;
254
+ databaseLogging?: boolean;
256
255
  /**
257
256
  * @ignore
258
257
  * @deprecated
@@ -1 +1 @@
1
- {"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;IACnB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;;;;;;;OAaG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;;;;;;;;;OAcG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAA;CAC9C,CAAA;AAED;;;;GAIG;AACH,KAAK,cAA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MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;CACzE,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
@@ -0,0 +1,18 @@
1
+ type Split<S extends string, D extends string> = string extends S ? string[] : S extends "" ? [] : S extends `${infer T}${D}${infer U}` ? [T, ...Split<U, D>] : [S];
2
+ type NestedPickHelper<T, Path extends string[]> = Path extends [
3
+ infer First,
4
+ ...infer Rest
5
+ ] ? First extends keyof T ? Rest extends string[] ? Rest["length"] extends 0 ? T[First] : T[First] extends Array<infer Item> ? {
6
+ [K in keyof Item as Rest[0] extends "*" ? K : K extends Rest[number] ? K : never]: Item[K] extends object ? NestedPickHelper<Item[K], Rest> : Item[K] extends Array<infer Item> ? NestedPickHelper<Item, Rest> : Rest[0] extends "*" ? Item[K] : K extends Rest[number] ? Item[K] : never;
7
+ }[] : T[First] extends object ? {
8
+ [K in keyof T[First] as Rest[0] extends "*" ? K : K extends Rest[number] ? K : never]: T[First][K] extends object ? NestedPickHelper<T[First], Rest> : T[First][K] extends Array<infer Item> ? NestedPickHelper<Item, Rest> : Rest[0] extends "*" ? T[First][K] : K extends Rest[number] ? T[First][K] : never;
9
+ } : First extends "*" ? {
10
+ [K in keyof T]: T[K];
11
+ } : {
12
+ [K in keyof T[First] as K extends Rest[number] ? K : never]: NestedPickHelper<T[First], Rest>;
13
+ } : never : First extends `${infer ArrayKey}[${infer Index}]` ? ArrayKey extends keyof T ? T[ArrayKey] extends (infer U)[] ? NestedPickHelper<U, Rest & string[]> : never : never : First extends "*" ? T : never : T;
14
+ export type NestedPickFirstIteration<T, Props extends string[]> = {
15
+ [P in Props[number] as Split<P, ".">[0] & string]: NestedPickHelper<T, Split<P, ".">>;
16
+ };
17
+ export {};
18
+ //# sourceMappingURL=nested-pick.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nested-pick.d.ts","sourceRoot":"","sources":["../../src/common/nested-pick.ts"],"names":[],"mappings":"AAIA,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,IAAI,MAAM,SAAS,CAAC,GAC7D,MAAM,EAAE,GACR,CAAC,SAAS,EAAE,GACZ,EAAE,GACF,CAAC,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,EAAE,GACpC,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GACnB,CAAC,CAAC,CAAC,CAAA;AAEP,KAAK,gBAAgB,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,EAAE,IAAI,IAAI,SAAS;IAC7D,MAAM,KAAK;IACX,GAAG,MAAM,IAAI;CACd,GACG,KAAK,SAAS,MAAM,CAAC,GACnB,IAAI,SAAS,MAAM,EAAE,GACnB,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GACtB,CAAC,CAAC,KAAK,CAAC,GACR,CAAC,CAAC,KAAK,CAAC,SAAS,KAAK,CAAC,MAAM,IAAI,CAAC,GAClC;KACG,CAAC,IAAI,MAAM,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,GAAG,GACnC,CAAC,GACD,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,GACtB,CAAC,GACD,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,SAAS,MAAM,GAC9B,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAC/B,IAAI,CAAC,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,IAAI,CAAC,GACjC,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,GAC5B,IAAI,CAAC,CAAC,CAAC,SAAS,GAAG,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,GAC7B,gBAAgB,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,EAAE,CAAC,GACpC,KAAK,GACP,KAAK,GACP,KAAK,SAAS,GAAG,GACjB,CAAC,GACD,KAAK,GACP,CAAC,CAAA;AAQL,MAAM,MAAM,wBAAwB,CAAC,CAAC,EAAE,KAAK,SAAS,MAAM,EAAE,IAAI;KAC/D,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,gBAAgB,CACjE,CAAC,EACD,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CACd;CACF,CAAA"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // TODO: The intent is to manage fields picking from a object, not to act upon at the moment and just keeping it here for reference.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const test = {
5
+ id: "test",
6
+ variant: {
7
+ description: "test",
8
+ id: "test",
9
+ },
10
+ options: [
11
+ {
12
+ id: "test",
13
+ value: "test",
14
+ },
15
+ ],
16
+ extra: {
17
+ detail: {
18
+ info: {
19
+ data: "test",
20
+ },
21
+ },
22
+ },
23
+ };
24
+ //# sourceMappingURL=nested-pick.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nested-pick.js","sourceRoot":"","sources":["../../src/common/nested-pick.ts"],"names":[],"mappings":";AAAA,oIAAoI;;AA4HpI,MAAM,IAAI,GAAS;IACjB,EAAE,EAAE,MAAM;IACV,OAAO,EAAE;QACP,WAAW,EAAE,MAAM;QACnB,EAAE,EAAE,MAAM;KACX;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,MAAM;YACV,KAAK,EAAE,MAAM;SACd;KACF;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,IAAI,EAAE;gBACJ,IAAI,EAAE,MAAM;aACb;SACF;KACF;CACF,CAAA"}
@@ -21,13 +21,13 @@ interface AdminClaimUpdateItem {
21
21
  }
22
22
  interface AdminClaimAddShippingMethod {
23
23
  shipping_option_id: string;
24
- custom_price?: number;
24
+ custom_amount?: number;
25
25
  description?: string;
26
26
  internal_note?: string;
27
27
  metadata?: Record<string, unknown> | null;
28
28
  }
29
29
  interface AdminClaimUpdateShippingMethod {
30
- custom_price?: number | null;
30
+ custom_amount?: number | null;
31
31
  internal_note?: string;
32
32
  metadata?: Record<string, unknown> | null;
33
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/claim/admin/payloads.ts"],"names":[],"mappings":"AAAA,aAAK,WAAW;IACd,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,kBAAkB,uBAAuB;IACzC,KAAK,UAAU;CAChB;AAED,UAAU,kBAAkB;IAC1B,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,CAAC,EAAE,WAAW,CAAA;QACpB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,aAAa,CAAC,EAAE,MAAM,CAAA;KACvB,EAAE,CAAA;CACJ;AAED,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B;AAED,UAAU,2BAA2B;IACnC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,UAAU,8BAA8B;IACtC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAA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AAQ,kBAAkB;CAAG;AACzE,MAAM,WAAW,4BAA6B,SAAQ,oBAAoB;CAAG;AAE7E,MAAM,WAAW,4BACf,SAAQ,2BAA2B;CAAG;AACxC,MAAM,WAAW,+BACf,SAAQ,8BAA8B;CAAG;AAE3C,MAAM,WAAW,6BACf,SAAQ,2BAA2B;CAAG;AACxC,MAAM,WAAW,gCACf,SAAQ,8BAA8B;CAAG;AAE3C,MAAM,WAAW,iBAAiB;CAEjC;AAED,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
@@ -23,4 +23,13 @@ export type PaginatedResponse<T> = {
23
23
  offset: number;
24
24
  count: number;
25
25
  } & T;
26
+ export type BatchResponse<T> = {
27
+ created: T[];
28
+ updated: T[];
29
+ deleted: {
30
+ ids: string[];
31
+ object: string;
32
+ deleted: boolean;
33
+ };
34
+ };
26
35
  //# sourceMappingURL=response.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,MAAM,IAAI;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,wBAAwB,CAAC,OAAO,SAAS,MAAM,EAAE,OAAO,GAAG,EAAE,IACvE,cAAc,CAAC,OAAO,CAAC,GACvB;IACE;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAEH,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,CAAC,CAAA"}
1
+ {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,MAAM,IAAI;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,wBAAwB,CAAC,OAAO,SAAS,MAAM,EAAE,OAAO,GAAG,EAAE,IACvE,cAAc,CAAC,OAAO,CAAC,GACvB;IACE;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAEH,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,CAAC,CAAA;AAEL,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI;IAC7B,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,EAAE,CAAA;QACb,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF,CAAA"}
@@ -21,13 +21,13 @@ interface AdminExchangeUpdateItem {
21
21
  }
22
22
  interface AdminExchangeAddShippingMethod {
23
23
  shipping_option_id: string;
24
- custom_price?: number;
24
+ custom_amount?: number;
25
25
  description?: string;
26
26
  internal_note?: string;
27
27
  metadata?: Record<string, unknown> | null;
28
28
  }
29
29
  interface AdminExchangeUpdateShippingMethod {
30
- custom_price?: number | null;
30
+ custom_amount?: number | null;
31
31
  internal_note?: string;
32
32
  metadata?: Record<string, unknown> | null;
33
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/payloads.ts"],"names":[],"mappings":"AAAA,aAAK,cAAc;IACjB,YAAY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,mBAAmB;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
@@ -1,7 +1,8 @@
1
1
  import { BaseFilterable } from "../../../dal";
2
+ import { OrderStatus } from "../../../order";
2
3
  import { FindParams } from "../../common";
3
4
  export interface StoreOrderFilters extends FindParams, BaseFilterable<StoreOrderFilters> {
4
5
  id?: string | string[];
5
- name?: string | string[];
6
+ status?: OrderStatus | OrderStatus[];
6
7
  }
7
8
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SACjC,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAC3C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACzB"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SACjC,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAC3C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAA;CACrC"}
@@ -1,6 +1,6 @@
1
- import { BasePaymentCollectionFilters, BasePaymentProviderFilters, BasePaymentSessionFilters } from "../common";
2
- export interface StorePaymentProviderFilters extends BasePaymentProviderFilters {
3
- is_enabled?: boolean;
1
+ import { BasePaymentCollectionFilters, BasePaymentSessionFilters } from "../common";
2
+ export interface StorePaymentProviderFilters {
3
+ region_id: string;
4
4
  }
5
5
  export interface StorePaymentCollectionFilters extends BasePaymentCollectionFilters {
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BACf,SAAQ,0BAA0B;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACH,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAE5B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;CAClB;AACD,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
@@ -1,5 +1,4 @@
1
- import { BatchMethodResponse } from "../../../common";
2
- import { DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
1
+ import { BatchResponse, DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
3
2
  import { AdminProduct, AdminProductOption, AdminProductVariant, AdminProductVariantInventoryLink } from "./entitites";
4
3
  import { AdminInventoryItem } from "../../inventory";
5
4
  export interface AdminProductResponse {
@@ -10,7 +9,7 @@ export type AdminProductListResponse = PaginatedResponse<{
10
9
  }>;
11
10
  export interface AdminProductDeleteResponse extends DeleteResponse<"product"> {
12
11
  }
13
- export interface AdminBatchProductResponse extends BatchMethodResponse<AdminProduct> {
12
+ export interface AdminBatchProductResponse extends BatchResponse<AdminProduct> {
14
13
  }
15
14
  export interface AdminProductVariantResponse {
16
15
  variant: AdminProductVariant;
@@ -30,9 +29,9 @@ export interface AdminImportProductResponse {
30
29
  toUpdate: number;
31
30
  };
32
31
  }
33
- export interface AdminBatchProductVariantResponse extends BatchMethodResponse<AdminProductVariant> {
32
+ export interface AdminBatchProductVariantResponse extends BatchResponse<AdminProductVariant> {
34
33
  }
35
- export interface AdminBatchProductVariantInventoryItemResponse extends BatchMethodResponse<AdminInventoryItem> {
34
+ export interface AdminBatchProductVariantInventoryItemResponse extends BatchResponse<AdminInventoryItem> {
36
35
  }
37
36
  export interface AdminProductOptionResponse {
38
37
  product_option: AdminProductOption;
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC1F,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,gCAAgC,EACjC,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA2B,SAAQ,cAAc,CAAC,SAAS,CAAC;CAAG;AAEhF,MAAM,WAAW,yBACf,SAAQ,mBAAmB,CAAC,YAAY,CAAC;CAAG;AAE9C,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,mBAAmB,CAAA;CAC7B;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAA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,MAAM,WAAW,gCACf,SAAQ,wBAAwB,CAAC,gBAAgB,EAAE,YAAY,CAAC;CAAG;AAErE,MAAM,MAAM,oCAAoC,GAAG,gCAAgC,GAAG,gCAAgC,EAAE,CAAA;AAExH,MAAM,WAAW,yCAAyC;IACxD,OAAO,EAAE,oCAAoC,CAAA;IAC7C,OAAO,EAAE,oCAAoC,CAAA;IAC7C,OAAO,EAAE,oCAAoC,CAAA;CAC9C;AAED,MAAM,WAAW,8CAA8C;IAC7D,EAAE,EAAE,gCAAgC,CAAA;IACpC,MAAM,EAAE,6BAA6B,CAAA;IACrC,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,mBAAmB,CAAA;CAC5B"}
@@ -3,7 +3,8 @@ export interface StoreProductOptionParams extends BaseProductOptionParams {
3
3
  }
4
4
  export interface StoreProductVariantParams extends BaseProductVariantParams {
5
5
  }
6
- export interface StoreProductParams extends BaseProductListParams {
6
+ export interface StoreProductParams extends Omit<BaseProductListParams, "tags" | "status" | "categories"> {
7
+ tag_id?: string | string[];
7
8
  region_id?: string;
8
9
  currency_code?: string;
9
10
  variants?: StoreProductVariantParams;
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAE/D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,qBAAqB,EAAE,MAAM,GAAG,QAAQ,GAAG,YAAY,CAAC;IACvG,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
@@ -1,5 +1,5 @@
1
1
  import { BaseProductCategoryListParams, BaseProductCategoryParams } from "../common";
2
- export interface StoreProductCategoryListParams extends BaseProductCategoryListParams {
2
+ export interface StoreProductCategoryListParams extends Omit<BaseProductCategoryListParams, "is_internal" | "is_active"> {
3
3
  }
4
4
  export interface StoreProductCategoryParams extends BaseProductCategoryParams {
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,8BACf,SAAQ,6BAA6B;CAAG;AAE1C,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,6BAA6B,EAAE,aAAa,GAAG,WAAW,CAAC;CAAG;AAE7E,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
@@ -1,5 +1,4 @@
1
- import { BatchMethodResponse } from "../../../common";
2
- import { DeleteResponse, PaginatedResponse } from "../../common";
1
+ import { BatchResponse, DeleteResponse, PaginatedResponse } from "../../common";
3
2
  import { AdminPromotion, AdminPromotionRule, AdminRuleAttributeOption, AdminRuleOperatorOption, AdminRuleValueOption } from "./entities";
4
3
  export interface AdminPromotionResponse {
5
4
  promotion: AdminPromotion;
@@ -37,6 +36,6 @@ export interface RuleValueOptionsResponse {
37
36
  export type AdminRuleValueOptionsListResponse = {
38
37
  values: AdminRuleValueOption[];
39
38
  };
40
- export type AdminPromotionRuleBatchResponse = BatchMethodResponse<AdminPromotionRule>;
39
+ export type AdminPromotionRuleBatchResponse = BatchResponse<AdminPromotionRule>;
41
40
  export type AdminPromotionDeleteResponse = DeleteResponse<"promotion">;
42
41
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,cAAc,CAAA;CAC1B;AAED,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,UAAU,EAAE,cAAc,EAAE,CAAA;CAC7B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAED,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,kBAAkB,EAAE,CAAA;CAC5B,CAAA;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,wBAAwB,EAAE,CAAA;CACtC;AAED,MAAM,MAAM,qCAAqC,GAAG;IAClD,UAAU,EAAE,wBAAwB,EAAE,CAAA;CACvC,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,uBAAuB,CAAA;CAClC;AAED,MAAM,MAAM,oCAAoC,GAAG,iBAAiB,CAAC;IACnE,SAAS,EAAE,uBAAuB,EAAE,CAAA;CACrC,CAAC,CAAA;AAEF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,oBAAoB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,oBAAoB,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,CAAA;AAErF,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,cAAc,CAAA;CAC1B;AAED,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,UAAU,EAAE,cAAc,EAAE,CAAA;CAC7B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAED,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,kBAAkB,EAAE,CAAA;CAC5B,CAAA;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,wBAAwB,EAAE,CAAA;CACtC;AAED,MAAM,MAAM,qCAAqC,GAAG;IAClD,UAAU,EAAE,wBAAwB,EAAE,CAAA;CACvC,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,uBAAuB,CAAA;CAClC;AAED,MAAM,MAAM,oCAAoC,GAAG,iBAAiB,CAAC;IACnE,SAAS,EAAE,uBAAuB,EAAE,CAAA;CACrC,CAAC,CAAA;AAEF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,oBAAoB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,oBAAoB,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,aAAa,CAAC,kBAAkB,CAAC,CAAA;AAE/E,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../../dal";
2
2
  import { FindParams } from "../../common";
3
- import { BaseRegionCountryFilters, BaseRegionFilters } from "../common";
4
- export interface AdminRegionFilters extends FindParams, BaseFilterable<BaseRegionFilters> {
3
+ import { BaseRegionCountryFilters } from "../common";
4
+ export interface AdminRegionFilters extends FindParams, BaseFilterable<AdminRegionFilters> {
5
5
  q?: string;
6
6
  id?: string | string[];
7
- code?: string | string[];
7
+ currency_code?: string | string[];
8
8
  name?: string | string[];
9
9
  created_at?: OperatorMap<string>;
10
10
  updated_at?: OperatorMap<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,WAAW,CAAA;A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 export interface BaseRegionFilters extends BaseFilterable<BaseRegionFilters> {
23
23
  q?: string;
24
24
  id?: string[] | string | OperatorMap<string | string[]>;
25
25
  name?: string | string[];
26
- code?: string | string[];
26
+ currency_code?: string | string[];
27
27
  created_at?: OperatorMap<string>;
28
28
  updated_at?: OperatorMap<string>;
29
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/region/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC/B,iBAAiB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC1E,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAA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,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC1E,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACvD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CACjC"}
@@ -1,5 +1,5 @@
1
1
  import { BaseRegionCountryFilters, BaseRegionFilters } from "../common";
2
- export interface StoreRegionFilters extends BaseRegionFilters {
2
+ export interface StoreRegionFilters extends Omit<BaseRegionFilters, "created_at" | "updated_at"> {
3
3
  }
4
4
  export interface StoreRegionCountryFilters extends BaseRegionCountryFilters {
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,YAAY,GAAG,YAAY,CAAC;CAAG;AACnG,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG"}
@@ -23,13 +23,13 @@ export interface AdminUpdateReturnItems {
23
23
  }
24
24
  export interface AdminAddReturnShipping {
25
25
  shipping_option_id: string;
26
- custom_price?: number;
26
+ custom_amount?: number;
27
27
  description?: string;
28
28
  internal_note?: string;
29
29
  metadata?: Record<string, unknown>;
30
30
  }
31
31
  export interface AdminUpdateReturnShipping {
32
- custom_price?: number;
32
+ custom_amount?: number;
33
33
  internal_note?: string;
34
34
  metadata?: Record<string, unknown>;
35
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,kBAAkB;I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,0BAA0B;IACzC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAClE;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAClE;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
@@ -1,5 +1,4 @@
1
- import { BatchMethodResponse } from "../../../common";
2
- import { DeleteResponse, PaginatedResponse } from "../../common";
1
+ import { BatchResponse, DeleteResponse, PaginatedResponse } from "../../common";
3
2
  import { AdminShippingOption, AdminShippingOptionRule } from "./entities";
4
3
  export interface AdminShippingOptionResponse {
5
4
  shipping_option: AdminShippingOption;
@@ -9,5 +8,5 @@ export type AdminShippingOptionListResponse = PaginatedResponse<{
9
8
  }>;
10
9
  export interface AdminShippingOptionDeleteResponse extends DeleteResponse<"shipping_option"> {
11
10
  }
12
- export type AdminUpdateShippingOptionRulesResponse = BatchMethodResponse<AdminShippingOptionRule>;
11
+ export type AdminUpdateShippingOptionRulesResponse = BatchResponse<AdminShippingOptionRule>;
13
12
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AAEzE,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,mBAAmB,CAAA;CACrC;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,gBAAgB,EAAE,mBAAmB,EAAE,CAAA;CACxC,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG;AAE9C,MAAM,MAAM,sCAAsC,GAAG,mBAAmB,CAAC,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC/E,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AAEzE,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,mBAAmB,CAAA;CACrC;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,gBAAgB,EAAE,mBAAmB,EAAE,CAAA;CACxC,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG;AAE9C,MAAM,MAAM,sCAAsC,GAAG,aAAa,CAAC,uBAAuB,CAAC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { Acknowledgement } from "../../../workflows-sdk";
1
2
  import { PaginatedResponse } from "../../common/response";
2
3
  import { AdminWorkflowExecution } from "./entities";
3
4
  export interface AdminWorkflowExecutionResponse {
@@ -6,4 +7,7 @@ export interface AdminWorkflowExecutionResponse {
6
7
  export type AdminWorkflowExecutionListResponse = PaginatedResponse<{
7
8
  workflow_executions: AdminWorkflowExecution[];
8
9
  }>;
10
+ export type AdminWorkflowRunResponse = {
11
+ acknowledgement: Acknowledgement;
12
+ };
9
13
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAEnD,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IACjE,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAEnD,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IACjE,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,eAAe,CAAA;CACjC,CAAA"}