@medusajs/fulfillment-manual 0.0.3-snapshot-20240521091842 → 0.0.3-snapshot-20240522193310

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,8 @@ export declare class ManualFulfillmentService extends AbstractFulfillmentProvide
4
4
  constructor();
5
5
  getFulfillmentOptions(): Promise<Record<string, unknown>[]>;
6
6
  validateFulfillmentData(optionData: Record<string, unknown>, data: Record<string, unknown>, context: Record<string, unknown>): Promise<any>;
7
- validateOption(data: Record<string, unknown>): Promise<boolean>;
8
- createFulfillment(): Promise<Record<string, unknown>>;
9
- cancelFulfillment(fulfillment: Record<string, unknown>): Promise<any>;
7
+ validateOption(data: Record<string, any>): Promise<boolean>;
8
+ createFulfillment(): Promise<Record<string, any>>;
9
+ cancelFulfillment(): Promise<any>;
10
+ createReturnFulfillment(): Promise<any>;
10
11
  }
@@ -28,10 +28,13 @@ class ManualFulfillmentService extends utils_1.AbstractFulfillmentProviderServic
28
28
  // No data is being sent anywhere
29
29
  return {};
30
30
  }
31
- async cancelFulfillment(fulfillment) {
31
+ async cancelFulfillment() {
32
+ return {};
33
+ }
34
+ async createReturnFulfillment() {
32
35
  return {};
33
36
  }
34
37
  }
35
38
  exports.ManualFulfillmentService = ManualFulfillmentService;
36
39
  ManualFulfillmentService.identifier = "manual";
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFudWFsLWZ1bGZpbGxtZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3NlcnZpY2VzL21hbnVhbC1mdWxmaWxsbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwyQ0FBb0U7QUFFcEUsNkJBQTZCO0FBRTdCLE1BQWEsd0JBQXlCLFNBQVEsMENBQWtDO0lBRzlFO1FBQ0UsS0FBSyxFQUFFLENBQUE7SUFDVCxDQUFDO0lBRUQsS0FBSyxDQUFDLHFCQUFxQjtRQUN6QixPQUFPO1l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7Z0JBQy9CLFNBQVMsRUFBRSxJQUFJO2FBQ2hCO1NBQ0YsQ0FBQTtJQUNILENBQUM7SUFFRCxLQUFLLENBQUMsdUJBQXVCLENBQzNCLFVBQW1DLEVBQ25DLElBQTZCLEVBQzdCLE9BQWdDO1FBRWhDLE9BQU8sSUFBSSxDQUFBO0lBQ2IsQ0FBQztJQUVELEtBQUssQ0FBQyxjQUFjLENBQUMsSUFBeUI7UUFDNUMsT0FBTyxJQUFJLENBQUE7SUFDYixDQUFDO0lBRUQsS0FBSyxDQUFDLGlCQUFpQjtRQUNyQixpQ0FBaUM7UUFDakMsT0FBTyxFQUFFLENBQUE7SUFDWCxDQUFDO0lBRUQsS0FBSyxDQUFDLGlCQUFpQjtRQUNyQixPQUFPLEVBQUUsQ0FBQTtJQUNYLENBQUM7SUFFRCxLQUFLLENBQUMsdUJBQXVCO1FBQzNCLE9BQU8sRUFBRSxDQUFBO0lBQ1gsQ0FBQzs7QUExQ0gsNERBMkNDO0FBMUNRLG1DQUFVLEdBQUcsUUFBUSxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/fulfillment-manual",
3
- "version": "0.0.3-snapshot-20240521091842",
3
+ "version": "0.0.3-snapshot-20240522193310",
4
4
  "description": "Manual fulfillment for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "typescript": "^4.9.5"
30
30
  },
31
31
  "dependencies": {
32
- "@medusajs/utils": "1.12.0-snapshot-20240521091842",
32
+ "@medusajs/utils": "1.12.0-snapshot-20240522193310",
33
33
  "body-parser": "^1.19.0",
34
34
  "express": "^4.17.1"
35
35
  },