@medusajs/js-sdk 2.11.1-snapshot-20251022075617 → 2.11.1-snapshot-20251022165335

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,7 +85,7 @@ export declare class RefundReason {
85
85
  *
86
86
  * ```ts
87
87
  * sdk.admin.refundReason.retrieve("refr_123", {
88
- * fields: "id,value"
88
+ * fields: "id,code"
89
89
  * })
90
90
  * .then(({ refund_reason }) => {
91
91
  * console.log(refund_reason)
@@ -109,7 +109,7 @@ export declare class RefundReason {
109
109
  *
110
110
  * @example
111
111
  * sdk.admin.refundReason.create({
112
- * value: "refund",
112
+ * code: "refund",
113
113
  * label: "Refund",
114
114
  * })
115
115
  * .then(({ refund_reason }) => {
@@ -132,7 +132,7 @@ export declare class RefundReason {
132
132
  *
133
133
  * @example
134
134
  * sdk.admin.refundReason.update("ret_123", {
135
- * value: "refund",
135
+ * code: "refund",
136
136
  * label: "Refund",
137
137
  * })
138
138
  * .then(({ refund_reason }) => {
@@ -88,7 +88,7 @@ class RefundReason {
88
88
  *
89
89
  * ```ts
90
90
  * sdk.admin.refundReason.retrieve("refr_123", {
91
- * fields: "id,value"
91
+ * fields: "id,code"
92
92
  * })
93
93
  * .then(({ refund_reason }) => {
94
94
  * console.log(refund_reason)
@@ -117,7 +117,7 @@ class RefundReason {
117
117
  *
118
118
  * @example
119
119
  * sdk.admin.refundReason.create({
120
- * value: "refund",
120
+ * code: "refund",
121
121
  * label: "Refund",
122
122
  * })
123
123
  * .then(({ refund_reason }) => {
@@ -147,7 +147,7 @@ class RefundReason {
147
147
  *
148
148
  * @example
149
149
  * sdk.admin.refundReason.update("ret_123", {
150
- * value: "refund",
150
+ * code: "refund",
151
151
  * label: "Refund",
152
152
  * })
153
153
  * .then(({ refund_reason }) => {
@@ -85,7 +85,7 @@ export declare class RefundReason {
85
85
  *
86
86
  * ```ts
87
87
  * sdk.admin.refundReason.retrieve("refr_123", {
88
- * fields: "id,value"
88
+ * fields: "id,code"
89
89
  * })
90
90
  * .then(({ refund_reason }) => {
91
91
  * console.log(refund_reason)
@@ -109,7 +109,7 @@ export declare class RefundReason {
109
109
  *
110
110
  * @example
111
111
  * sdk.admin.refundReason.create({
112
- * value: "refund",
112
+ * code: "refund",
113
113
  * label: "Refund",
114
114
  * })
115
115
  * .then(({ refund_reason }) => {
@@ -132,7 +132,7 @@ export declare class RefundReason {
132
132
  *
133
133
  * @example
134
134
  * sdk.admin.refundReason.update("ret_123", {
135
- * value: "refund",
135
+ * code: "refund",
136
136
  * label: "Refund",
137
137
  * })
138
138
  * .then(({ refund_reason }) => {
@@ -96,7 +96,7 @@ export class RefundReason {
96
96
  *
97
97
  * ```ts
98
98
  * sdk.admin.refundReason.retrieve("refr_123", {
99
- * fields: "id,value"
99
+ * fields: "id,code"
100
100
  * })
101
101
  * .then(({ refund_reason }) => {
102
102
  * console.log(refund_reason)
@@ -127,7 +127,7 @@ export class RefundReason {
127
127
  *
128
128
  * @example
129
129
  * sdk.admin.refundReason.create({
130
- * value: "refund",
130
+ * code: "refund",
131
131
  * label: "Refund",
132
132
  * })
133
133
  * .then(({ refund_reason }) => {
@@ -159,7 +159,7 @@ export class RefundReason {
159
159
  *
160
160
  * @example
161
161
  * sdk.admin.refundReason.update("ret_123", {
162
- * value: "refund",
162
+ * code: "refund",
163
163
  * label: "Refund",
164
164
  * })
165
165
  * .then(({ refund_reason }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/js-sdk",
3
- "version": "2.11.1-snapshot-20251022075617",
3
+ "version": "2.11.1-snapshot-20251022165335",
4
4
  "description": "SDK for the Medusa API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -29,7 +29,7 @@
29
29
  "author": "Medusa",
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
- "@medusajs/types": "2.11.1-snapshot-20251022075617",
32
+ "@medusajs/types": "2.11.1-snapshot-20251022165335",
33
33
  "jest": "^29.7.0",
34
34
  "msw": "^2.3.0",
35
35
  "rimraf": "^5.0.1",