clayful 2.4.1 → 2.5.0

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.
@@ -13,40 +13,40 @@ module Clayful
13
13
  @@path
14
14
  end
15
15
 
16
- def self.list(*args)
16
+ def self.count(*args)
17
17
 
18
18
  Clayful.call_api({
19
19
  'model_name' => @@name,
20
- 'method_name' => 'list',
20
+ 'method_name' => 'count',
21
21
  'http_method' => 'GET',
22
- 'path' => '/v1/subscriptions/plans',
22
+ 'path' => '/v1/subscriptions/plans/count',
23
23
  'params' => [],
24
24
  'args' => args
25
25
  })
26
26
 
27
27
  end
28
28
 
29
- def self.count(*args)
29
+ def self.get(*args)
30
30
 
31
31
  Clayful.call_api({
32
32
  'model_name' => @@name,
33
- 'method_name' => 'count',
33
+ 'method_name' => 'get',
34
34
  'http_method' => 'GET',
35
- 'path' => '/v1/subscriptions/plans/count',
36
- 'params' => [],
35
+ 'path' => '/v1/subscriptions/plans/{subscriptionPlanId}',
36
+ 'params' => ['subscriptionPlanId', ],
37
37
  'args' => args
38
38
  })
39
39
 
40
40
  end
41
41
 
42
- def self.get(*args)
42
+ def self.list(*args)
43
43
 
44
44
  Clayful.call_api({
45
45
  'model_name' => @@name,
46
- 'method_name' => 'get',
46
+ 'method_name' => 'list',
47
47
  'http_method' => 'GET',
48
- 'path' => '/v1/subscriptions/plans/{subscriptionPlanId}',
49
- 'params' => ['subscriptionPlanId', ],
48
+ 'path' => '/v1/subscriptions/plans',
49
+ 'params' => [],
50
50
  'args' => args
51
51
  })
52
52
 
@@ -13,40 +13,40 @@ module Clayful
13
13
  @@path
14
14
  end
15
15
 
16
- def self.list(*args)
16
+ def self.count(*args)
17
17
 
18
18
  Clayful.call_api({
19
19
  'model_name' => @@name,
20
- 'method_name' => 'list',
20
+ 'method_name' => 'count',
21
21
  'http_method' => 'GET',
22
- 'path' => '/v1/taxes/categories',
22
+ 'path' => '/v1/taxes/categories/count',
23
23
  'params' => [],
24
24
  'args' => args
25
25
  })
26
26
 
27
27
  end
28
28
 
29
- def self.count(*args)
29
+ def self.get(*args)
30
30
 
31
31
  Clayful.call_api({
32
32
  'model_name' => @@name,
33
- 'method_name' => 'count',
33
+ 'method_name' => 'get',
34
34
  'http_method' => 'GET',
35
- 'path' => '/v1/taxes/categories/count',
36
- 'params' => [],
35
+ 'path' => '/v1/taxes/categories/{taxCategoryId}',
36
+ 'params' => ['taxCategoryId', ],
37
37
  'args' => args
38
38
  })
39
39
 
40
40
  end
41
41
 
42
- def self.get(*args)
42
+ def self.list(*args)
43
43
 
44
44
  Clayful.call_api({
45
45
  'model_name' => @@name,
46
- 'method_name' => 'get',
46
+ 'method_name' => 'list',
47
47
  'http_method' => 'GET',
48
- 'path' => '/v1/taxes/categories/{taxCategoryId}',
49
- 'params' => ['taxCategoryId', ],
48
+ 'path' => '/v1/taxes/categories',
49
+ 'params' => [],
50
50
  'args' => args
51
51
  })
52
52
 
data/lib/models/vendor.rb CHANGED
@@ -13,38 +13,38 @@ module Clayful
13
13
  @@path
14
14
  end
15
15
 
16
- def self.list(*args)
16
+ def self.count(*args)
17
17
 
18
18
  Clayful.call_api({
19
19
  'model_name' => @@name,
20
- 'method_name' => 'list',
20
+ 'method_name' => 'count',
21
21
  'http_method' => 'GET',
22
- 'path' => '/v1/vendors',
22
+ 'path' => '/v1/vendors/count',
23
23
  'params' => [],
24
24
  'args' => args
25
25
  })
26
26
 
27
27
  end
28
28
 
29
- def self.count(*args)
29
+ def self.create(*args)
30
30
 
31
31
  Clayful.call_api({
32
32
  'model_name' => @@name,
33
- 'method_name' => 'count',
34
- 'http_method' => 'GET',
35
- 'path' => '/v1/vendors/count',
33
+ 'method_name' => 'create',
34
+ 'http_method' => 'POST',
35
+ 'path' => '/v1/vendors',
36
36
  'params' => [],
37
37
  'args' => args
38
38
  })
39
39
 
40
40
  end
41
41
 
42
- def self.get(*args)
42
+ def self.delete(*args)
43
43
 
44
44
  Clayful.call_api({
45
45
  'model_name' => @@name,
46
- 'method_name' => 'get',
47
- 'http_method' => 'GET',
46
+ 'method_name' => 'delete',
47
+ 'http_method' => 'DELETE',
48
48
  'path' => '/v1/vendors/{vendorId}',
49
49
  'params' => ['vendorId', ],
50
50
  'args' => args
@@ -52,27 +52,27 @@ module Clayful
52
52
 
53
53
  end
54
54
 
55
- def self.create(*args)
55
+ def self.delete_metafield(*args)
56
56
 
57
57
  Clayful.call_api({
58
58
  'model_name' => @@name,
59
- 'method_name' => 'create',
60
- 'http_method' => 'POST',
61
- 'path' => '/v1/vendors',
62
- 'params' => [],
59
+ 'method_name' => 'delete_metafield',
60
+ 'http_method' => 'DELETE',
61
+ 'path' => '/v1/vendors/{vendorId}/meta/{field}',
62
+ 'params' => ['vendorId', 'field', ],
63
63
  'args' => args
64
64
  })
65
65
 
66
66
  end
67
67
 
68
- def self.push_to_metafield(*args)
68
+ def self.get(*args)
69
69
 
70
70
  Clayful.call_api({
71
71
  'model_name' => @@name,
72
- 'method_name' => 'push_to_metafield',
73
- 'http_method' => 'POST',
74
- 'path' => '/v1/vendors/{vendorId}/meta/{field}/push',
75
- 'params' => ['vendorId', 'field', ],
72
+ 'method_name' => 'get',
73
+ 'http_method' => 'GET',
74
+ 'path' => '/v1/vendors/{vendorId}',
75
+ 'params' => ['vendorId', ],
76
76
  'args' => args
77
77
  })
78
78
 
@@ -91,53 +91,53 @@ module Clayful
91
91
 
92
92
  end
93
93
 
94
- def self.pull_from_metafield(*args)
94
+ def self.list(*args)
95
95
 
96
96
  Clayful.call_api({
97
97
  'model_name' => @@name,
98
- 'method_name' => 'pull_from_metafield',
99
- 'http_method' => 'POST',
100
- 'path' => '/v1/vendors/{vendorId}/meta/{field}/pull',
101
- 'params' => ['vendorId', 'field', ],
98
+ 'method_name' => 'list',
99
+ 'http_method' => 'GET',
100
+ 'path' => '/v1/vendors',
101
+ 'params' => [],
102
102
  'args' => args
103
103
  })
104
104
 
105
105
  end
106
106
 
107
- def self.update(*args)
107
+ def self.pull_from_metafield(*args)
108
108
 
109
109
  Clayful.call_api({
110
110
  'model_name' => @@name,
111
- 'method_name' => 'update',
112
- 'http_method' => 'PUT',
113
- 'path' => '/v1/vendors/{vendorId}',
114
- 'params' => ['vendorId', ],
111
+ 'method_name' => 'pull_from_metafield',
112
+ 'http_method' => 'POST',
113
+ 'path' => '/v1/vendors/{vendorId}/meta/{field}/pull',
114
+ 'params' => ['vendorId', 'field', ],
115
115
  'args' => args
116
116
  })
117
117
 
118
118
  end
119
119
 
120
- def self.delete(*args)
120
+ def self.push_to_metafield(*args)
121
121
 
122
122
  Clayful.call_api({
123
123
  'model_name' => @@name,
124
- 'method_name' => 'delete',
125
- 'http_method' => 'DELETE',
126
- 'path' => '/v1/vendors/{vendorId}',
127
- 'params' => ['vendorId', ],
124
+ 'method_name' => 'push_to_metafield',
125
+ 'http_method' => 'POST',
126
+ 'path' => '/v1/vendors/{vendorId}/meta/{field}/push',
127
+ 'params' => ['vendorId', 'field', ],
128
128
  'args' => args
129
129
  })
130
130
 
131
131
  end
132
132
 
133
- def self.delete_metafield(*args)
133
+ def self.update(*args)
134
134
 
135
135
  Clayful.call_api({
136
136
  'model_name' => @@name,
137
- 'method_name' => 'delete_metafield',
138
- 'http_method' => 'DELETE',
139
- 'path' => '/v1/vendors/{vendorId}/meta/{field}',
140
- 'params' => ['vendorId', 'field', ],
137
+ 'method_name' => 'update',
138
+ 'http_method' => 'PUT',
139
+ 'path' => '/v1/vendors/{vendorId}',
140
+ 'params' => ['vendorId', ],
141
141
  'args' => args
142
142
  })
143
143
 
@@ -13,27 +13,27 @@ module Clayful
13
13
  @@path
14
14
  end
15
15
 
16
- def self.list(*args)
16
+ def self.add_item(*args)
17
17
 
18
18
  Clayful.call_api({
19
19
  'model_name' => @@name,
20
- 'method_name' => 'list',
21
- 'http_method' => 'GET',
22
- 'path' => '/v1/wishlists',
23
- 'params' => [],
20
+ 'method_name' => 'add_item',
21
+ 'http_method' => 'POST',
22
+ 'path' => '/v1/wishlists/{wishListId}/items',
23
+ 'params' => ['wishListId', ],
24
24
  'args' => args
25
25
  })
26
26
 
27
27
  end
28
28
 
29
- def self.list_for_me(*args)
29
+ def self.add_item_for_me(*args)
30
30
 
31
31
  Clayful.call_api({
32
32
  'model_name' => @@name,
33
- 'method_name' => 'list_for_me',
34
- 'http_method' => 'GET',
35
- 'path' => '/v1/me/wishlists',
36
- 'params' => [],
33
+ 'method_name' => 'add_item_for_me',
34
+ 'http_method' => 'POST',
35
+ 'path' => '/v1/me/wishlists/{wishListId}/items',
36
+ 'params' => ['wishListId', ],
37
37
  'args' => args
38
38
  })
39
39
 
@@ -52,300 +52,300 @@ module Clayful
52
52
 
53
53
  end
54
54
 
55
- def self.get(*args)
55
+ def self.count_for_me(*args)
56
56
 
57
57
  Clayful.call_api({
58
58
  'model_name' => @@name,
59
- 'method_name' => 'get',
59
+ 'method_name' => 'count_for_me',
60
60
  'http_method' => 'GET',
61
- 'path' => '/v1/wishlists/{wishListId}',
62
- 'params' => ['wishListId', ],
61
+ 'path' => '/v1/me/wishlists/count',
62
+ 'params' => [],
63
63
  'args' => args
64
64
  })
65
65
 
66
66
  end
67
67
 
68
- def self.count_for_me(*args)
68
+ def self.count_products(*args)
69
69
 
70
70
  Clayful.call_api({
71
71
  'model_name' => @@name,
72
- 'method_name' => 'count_for_me',
72
+ 'method_name' => 'count_products',
73
73
  'http_method' => 'GET',
74
- 'path' => '/v1/me/wishlists/count',
75
- 'params' => [],
74
+ 'path' => '/v1/wishlists/{wishListId}/products/count',
75
+ 'params' => ['wishListId', ],
76
76
  'args' => args
77
77
  })
78
78
 
79
79
  end
80
80
 
81
- def self.get_for_me(*args)
81
+ def self.count_products_for_me(*args)
82
82
 
83
83
  Clayful.call_api({
84
84
  'model_name' => @@name,
85
- 'method_name' => 'get_for_me',
85
+ 'method_name' => 'count_products_for_me',
86
86
  'http_method' => 'GET',
87
- 'path' => '/v1/me/wishlists/{wishListId}',
87
+ 'path' => '/v1/me/wishlists/{wishListId}/products/count',
88
88
  'params' => ['wishListId', ],
89
89
  'args' => args
90
90
  })
91
91
 
92
92
  end
93
93
 
94
- def self.list_products(*args)
94
+ def self.create(*args)
95
95
 
96
96
  Clayful.call_api({
97
97
  'model_name' => @@name,
98
- 'method_name' => 'list_products',
99
- 'http_method' => 'GET',
100
- 'path' => '/v1/wishlists/{wishListId}/products',
101
- 'params' => ['wishListId', ],
98
+ 'method_name' => 'create',
99
+ 'http_method' => 'POST',
100
+ 'path' => '/v1/wishlists',
101
+ 'params' => [],
102
102
  'args' => args
103
103
  })
104
104
 
105
105
  end
106
106
 
107
- def self.list_products_for_me(*args)
107
+ def self.create_for_me(*args)
108
108
 
109
109
  Clayful.call_api({
110
110
  'model_name' => @@name,
111
- 'method_name' => 'list_products_for_me',
112
- 'http_method' => 'GET',
113
- 'path' => '/v1/me/wishlists/{wishListId}/products',
114
- 'params' => ['wishListId', ],
111
+ 'method_name' => 'create_for_me',
112
+ 'http_method' => 'POST',
113
+ 'path' => '/v1/me/wishlists',
114
+ 'params' => [],
115
115
  'args' => args
116
116
  })
117
117
 
118
118
  end
119
119
 
120
- def self.count_products(*args)
120
+ def self.delete(*args)
121
121
 
122
122
  Clayful.call_api({
123
123
  'model_name' => @@name,
124
- 'method_name' => 'count_products',
125
- 'http_method' => 'GET',
126
- 'path' => '/v1/wishlists/{wishListId}/products/count',
124
+ 'method_name' => 'delete',
125
+ 'http_method' => 'DELETE',
126
+ 'path' => '/v1/wishlists/{wishListId}',
127
127
  'params' => ['wishListId', ],
128
128
  'args' => args
129
129
  })
130
130
 
131
131
  end
132
132
 
133
- def self.count_products_for_me(*args)
133
+ def self.delete_for_me(*args)
134
134
 
135
135
  Clayful.call_api({
136
136
  'model_name' => @@name,
137
- 'method_name' => 'count_products_for_me',
138
- 'http_method' => 'GET',
139
- 'path' => '/v1/me/wishlists/{wishListId}/products/count',
137
+ 'method_name' => 'delete_for_me',
138
+ 'http_method' => 'DELETE',
139
+ 'path' => '/v1/me/wishlists/{wishListId}',
140
140
  'params' => ['wishListId', ],
141
141
  'args' => args
142
142
  })
143
143
 
144
144
  end
145
145
 
146
- def self.create(*args)
146
+ def self.delete_item(*args)
147
147
 
148
148
  Clayful.call_api({
149
149
  'model_name' => @@name,
150
- 'method_name' => 'create',
151
- 'http_method' => 'POST',
152
- 'path' => '/v1/wishlists',
153
- 'params' => [],
150
+ 'method_name' => 'delete_item',
151
+ 'http_method' => 'DELETE',
152
+ 'path' => '/v1/wishlists/{wishListId}/items/{productId}',
153
+ 'params' => ['wishListId', 'productId', ],
154
154
  'args' => args
155
155
  })
156
156
 
157
157
  end
158
158
 
159
- def self.create_for_me(*args)
159
+ def self.delete_item_for_me(*args)
160
160
 
161
161
  Clayful.call_api({
162
162
  'model_name' => @@name,
163
- 'method_name' => 'create_for_me',
164
- 'http_method' => 'POST',
165
- 'path' => '/v1/me/wishlists',
166
- 'params' => [],
163
+ 'method_name' => 'delete_item_for_me',
164
+ 'http_method' => 'DELETE',
165
+ 'path' => '/v1/me/wishlists/{wishListId}/items/{productId}',
166
+ 'params' => ['wishListId', 'productId', ],
167
167
  'args' => args
168
168
  })
169
169
 
170
170
  end
171
171
 
172
- def self.add_item(*args)
172
+ def self.delete_metafield(*args)
173
173
 
174
174
  Clayful.call_api({
175
175
  'model_name' => @@name,
176
- 'method_name' => 'add_item',
177
- 'http_method' => 'POST',
178
- 'path' => '/v1/wishlists/{wishListId}/items',
179
- 'params' => ['wishListId', ],
176
+ 'method_name' => 'delete_metafield',
177
+ 'http_method' => 'DELETE',
178
+ 'path' => '/v1/wishlists/{wishListId}/meta/{field}',
179
+ 'params' => ['wishListId', 'field', ],
180
180
  'args' => args
181
181
  })
182
182
 
183
183
  end
184
184
 
185
- def self.add_item_for_me(*args)
185
+ def self.empty(*args)
186
186
 
187
187
  Clayful.call_api({
188
188
  'model_name' => @@name,
189
- 'method_name' => 'add_item_for_me',
190
- 'http_method' => 'POST',
191
- 'path' => '/v1/me/wishlists/{wishListId}/items',
189
+ 'method_name' => 'empty',
190
+ 'http_method' => 'DELETE',
191
+ 'path' => '/v1/wishlists/{wishListId}/items',
192
192
  'params' => ['wishListId', ],
193
193
  'args' => args
194
194
  })
195
195
 
196
196
  end
197
197
 
198
- def self.push_to_metafield(*args)
198
+ def self.empty_for_me(*args)
199
199
 
200
200
  Clayful.call_api({
201
201
  'model_name' => @@name,
202
- 'method_name' => 'push_to_metafield',
203
- 'http_method' => 'POST',
204
- 'path' => '/v1/wishlists/{wishListId}/meta/{field}/push',
205
- 'params' => ['wishListId', 'field', ],
202
+ 'method_name' => 'empty_for_me',
203
+ 'http_method' => 'DELETE',
204
+ 'path' => '/v1/me/wishlists/{wishListId}/items',
205
+ 'params' => ['wishListId', ],
206
206
  'args' => args
207
207
  })
208
208
 
209
209
  end
210
210
 
211
- def self.pull_from_metafield(*args)
211
+ def self.get(*args)
212
212
 
213
213
  Clayful.call_api({
214
214
  'model_name' => @@name,
215
- 'method_name' => 'pull_from_metafield',
216
- 'http_method' => 'POST',
217
- 'path' => '/v1/wishlists/{wishListId}/meta/{field}/pull',
218
- 'params' => ['wishListId', 'field', ],
215
+ 'method_name' => 'get',
216
+ 'http_method' => 'GET',
217
+ 'path' => '/v1/wishlists/{wishListId}',
218
+ 'params' => ['wishListId', ],
219
219
  'args' => args
220
220
  })
221
221
 
222
222
  end
223
223
 
224
- def self.increase_metafield(*args)
224
+ def self.get_for_me(*args)
225
225
 
226
226
  Clayful.call_api({
227
227
  'model_name' => @@name,
228
- 'method_name' => 'increase_metafield',
229
- 'http_method' => 'POST',
230
- 'path' => '/v1/wishlists/{wishListId}/meta/{field}/inc',
231
- 'params' => ['wishListId', 'field', ],
228
+ 'method_name' => 'get_for_me',
229
+ 'http_method' => 'GET',
230
+ 'path' => '/v1/me/wishlists/{wishListId}',
231
+ 'params' => ['wishListId', ],
232
232
  'args' => args
233
233
  })
234
234
 
235
235
  end
236
236
 
237
- def self.update(*args)
237
+ def self.increase_metafield(*args)
238
238
 
239
239
  Clayful.call_api({
240
240
  'model_name' => @@name,
241
- 'method_name' => 'update',
242
- 'http_method' => 'PUT',
243
- 'path' => '/v1/wishlists/{wishListId}',
244
- 'params' => ['wishListId', ],
241
+ 'method_name' => 'increase_metafield',
242
+ 'http_method' => 'POST',
243
+ 'path' => '/v1/wishlists/{wishListId}/meta/{field}/inc',
244
+ 'params' => ['wishListId', 'field', ],
245
245
  'args' => args
246
246
  })
247
247
 
248
248
  end
249
249
 
250
- def self.update_for_me(*args)
250
+ def self.list(*args)
251
251
 
252
252
  Clayful.call_api({
253
253
  'model_name' => @@name,
254
- 'method_name' => 'update_for_me',
255
- 'http_method' => 'PUT',
256
- 'path' => '/v1/me/wishlists/{wishListId}',
257
- 'params' => ['wishListId', ],
254
+ 'method_name' => 'list',
255
+ 'http_method' => 'GET',
256
+ 'path' => '/v1/wishlists',
257
+ 'params' => [],
258
258
  'args' => args
259
259
  })
260
260
 
261
261
  end
262
262
 
263
- def self.delete(*args)
263
+ def self.list_for_me(*args)
264
264
 
265
265
  Clayful.call_api({
266
266
  'model_name' => @@name,
267
- 'method_name' => 'delete',
268
- 'http_method' => 'DELETE',
269
- 'path' => '/v1/wishlists/{wishListId}',
270
- 'params' => ['wishListId', ],
267
+ 'method_name' => 'list_for_me',
268
+ 'http_method' => 'GET',
269
+ 'path' => '/v1/me/wishlists',
270
+ 'params' => [],
271
271
  'args' => args
272
272
  })
273
273
 
274
274
  end
275
275
 
276
- def self.delete_for_me(*args)
276
+ def self.list_products(*args)
277
277
 
278
278
  Clayful.call_api({
279
279
  'model_name' => @@name,
280
- 'method_name' => 'delete_for_me',
281
- 'http_method' => 'DELETE',
282
- 'path' => '/v1/me/wishlists/{wishListId}',
280
+ 'method_name' => 'list_products',
281
+ 'http_method' => 'GET',
282
+ 'path' => '/v1/wishlists/{wishListId}/products',
283
283
  'params' => ['wishListId', ],
284
284
  'args' => args
285
285
  })
286
286
 
287
287
  end
288
288
 
289
- def self.empty(*args)
289
+ def self.list_products_for_me(*args)
290
290
 
291
291
  Clayful.call_api({
292
292
  'model_name' => @@name,
293
- 'method_name' => 'empty',
294
- 'http_method' => 'DELETE',
295
- 'path' => '/v1/wishlists/{wishListId}/items',
293
+ 'method_name' => 'list_products_for_me',
294
+ 'http_method' => 'GET',
295
+ 'path' => '/v1/me/wishlists/{wishListId}/products',
296
296
  'params' => ['wishListId', ],
297
297
  'args' => args
298
298
  })
299
299
 
300
300
  end
301
301
 
302
- def self.empty_for_me(*args)
302
+ def self.pull_from_metafield(*args)
303
303
 
304
304
  Clayful.call_api({
305
305
  'model_name' => @@name,
306
- 'method_name' => 'empty_for_me',
307
- 'http_method' => 'DELETE',
308
- 'path' => '/v1/me/wishlists/{wishListId}/items',
309
- 'params' => ['wishListId', ],
306
+ 'method_name' => 'pull_from_metafield',
307
+ 'http_method' => 'POST',
308
+ 'path' => '/v1/wishlists/{wishListId}/meta/{field}/pull',
309
+ 'params' => ['wishListId', 'field', ],
310
310
  'args' => args
311
311
  })
312
312
 
313
313
  end
314
314
 
315
- def self.delete_item(*args)
315
+ def self.push_to_metafield(*args)
316
316
 
317
317
  Clayful.call_api({
318
318
  'model_name' => @@name,
319
- 'method_name' => 'delete_item',
320
- 'http_method' => 'DELETE',
321
- 'path' => '/v1/wishlists/{wishListId}/items/{productId}',
322
- 'params' => ['wishListId', 'productId', ],
319
+ 'method_name' => 'push_to_metafield',
320
+ 'http_method' => 'POST',
321
+ 'path' => '/v1/wishlists/{wishListId}/meta/{field}/push',
322
+ 'params' => ['wishListId', 'field', ],
323
323
  'args' => args
324
324
  })
325
325
 
326
326
  end
327
327
 
328
- def self.delete_metafield(*args)
328
+ def self.update(*args)
329
329
 
330
330
  Clayful.call_api({
331
331
  'model_name' => @@name,
332
- 'method_name' => 'delete_metafield',
333
- 'http_method' => 'DELETE',
334
- 'path' => '/v1/wishlists/{wishListId}/meta/{field}',
335
- 'params' => ['wishListId', 'field', ],
332
+ 'method_name' => 'update',
333
+ 'http_method' => 'PUT',
334
+ 'path' => '/v1/wishlists/{wishListId}',
335
+ 'params' => ['wishListId', ],
336
336
  'args' => args
337
337
  })
338
338
 
339
339
  end
340
340
 
341
- def self.delete_item_for_me(*args)
341
+ def self.update_for_me(*args)
342
342
 
343
343
  Clayful.call_api({
344
344
  'model_name' => @@name,
345
- 'method_name' => 'delete_item_for_me',
346
- 'http_method' => 'DELETE',
347
- 'path' => '/v1/me/wishlists/{wishListId}/items/{productId}',
348
- 'params' => ['wishListId', 'productId', ],
345
+ 'method_name' => 'update_for_me',
346
+ 'http_method' => 'PUT',
347
+ 'path' => '/v1/me/wishlists/{wishListId}',
348
+ 'params' => ['wishListId', ],
349
349
  'args' => args
350
350
  })
351
351