@fluid-app/portal-sdk 0.1.154 → 0.1.156
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.
- package/dist/{ContactsScreen-Dy9coizh.cjs → ContactsScreen-BKQk5wU5.cjs} +2 -2
- package/dist/{ContactsScreen-Djvyn4Rq.cjs → ContactsScreen-Ck5NCh9d.cjs} +3 -3
- package/dist/{ContactsScreen-Djvyn4Rq.cjs.map → ContactsScreen-Ck5NCh9d.cjs.map} +1 -1
- package/dist/{ContactsScreen-BKT7Ohfe.mjs → ContactsScreen-CmnKU--w.mjs} +3 -3
- package/dist/{ContactsScreen-BKT7Ohfe.mjs.map → ContactsScreen-CmnKU--w.mjs.map} +1 -1
- package/dist/{FluidProvider-CRMe-Enf.cjs → FluidProvider-Bc-3uN7M.cjs} +151 -19
- package/dist/FluidProvider-Bc-3uN7M.cjs.map +1 -0
- package/dist/{FluidProvider-DpET43hN.mjs → FluidProvider-Cqf2kmUc.mjs} +137 -5
- package/dist/FluidProvider-Cqf2kmUc.mjs.map +1 -0
- package/dist/{MessagingScreen-DXgDrzlG.mjs → MessagingScreen-B1MbKdSO.mjs} +2 -2
- package/dist/{MessagingScreen-DXgDrzlG.mjs.map → MessagingScreen-B1MbKdSO.mjs.map} +1 -1
- package/dist/{MessagingScreen-cxQADd91.cjs → MessagingScreen-lAO4PVqi.cjs} +2 -2
- package/dist/{MessagingScreen-cxQADd91.cjs.map → MessagingScreen-lAO4PVqi.cjs.map} +1 -1
- package/dist/{MessagingScreen-ChCBVO4U.cjs → MessagingScreen-s9HaMQGR.cjs} +4 -3
- package/dist/{MySiteScreen-gl8KGOrU.mjs → MySiteScreen-BEbj9K8U.mjs} +262 -602
- package/dist/MySiteScreen-BEbj9K8U.mjs.map +1 -0
- package/dist/{MySiteScreen-CdsAyh7a.cjs → MySiteScreen-D8YvEYwH.cjs} +262 -611
- package/dist/MySiteScreen-D8YvEYwH.cjs.map +1 -0
- package/dist/{MySiteScreen-efkpTcUh.cjs → MySiteScreen-DIbwHNbV.cjs} +2 -1
- package/dist/{OrdersScreen-C0HGsjwv.mjs → OrdersScreen-CSbbQw2L.mjs} +2 -2
- package/dist/{OrdersScreen-C0HGsjwv.mjs.map → OrdersScreen-CSbbQw2L.mjs.map} +1 -1
- package/dist/{OrdersScreen-Dbmbf9g_.cjs → OrdersScreen-DLjDPnqI.cjs} +2 -2
- package/dist/{OrdersScreen-Dbmbf9g_.cjs.map → OrdersScreen-DLjDPnqI.cjs.map} +1 -1
- package/dist/{OrdersScreen-dNALJLm3.cjs → OrdersScreen-Dxv6ZQlu.cjs} +1 -1
- package/dist/{ProductsScreen-H-8HShV5.mjs → ProductsScreen-CcRQhx0c.mjs} +2 -2
- package/dist/{ProductsScreen-H-8HShV5.mjs.map → ProductsScreen-CcRQhx0c.mjs.map} +1 -1
- package/dist/{ProductsScreen-CfcVBUZ8.cjs → ProductsScreen-DTBg7Bm3.cjs} +2 -2
- package/dist/{ProductsScreen-CfcVBUZ8.cjs.map → ProductsScreen-DTBg7Bm3.cjs.map} +1 -1
- package/dist/{ProductsScreen-Dcnp0MG-.mjs → ProductsScreen-MADYD0MH.mjs} +5 -4
- package/dist/{ProductsScreen-BJ2ZUaPi.cjs → ProductsScreen-NmOdT82w.cjs} +5 -4
- package/dist/{ProfileScreen-CaNQYd_F.mjs → ProfileScreen-BcCYQt5U.mjs} +4 -4
- package/dist/{ProfileScreen-CaNQYd_F.mjs.map → ProfileScreen-BcCYQt5U.mjs.map} +1 -1
- package/dist/{ProfileScreen-BRPBvvI7.cjs → ProfileScreen-C01vRpm3.cjs} +4 -3
- package/dist/{ProfileScreen-D4OJk9F0.cjs → ProfileScreen-fmUckcMP.cjs} +4 -4
- package/dist/{ProfileScreen-D4OJk9F0.cjs.map → ProfileScreen-fmUckcMP.cjs.map} +1 -1
- package/dist/{ShareablesScreen-CL6A1m_P.cjs → ShareablesScreen-BMxugV_y.cjs} +5 -4
- package/dist/{ShareablesScreen-FDOtQ67f.mjs → ShareablesScreen-BkVWntLq.mjs} +5 -4
- package/dist/{ShareablesScreen-DLz5tvRS.cjs → ShareablesScreen-DmtFkpDO.cjs} +2 -2
- package/dist/{ShareablesScreen-DLz5tvRS.cjs.map → ShareablesScreen-DmtFkpDO.cjs.map} +1 -1
- package/dist/{ShareablesScreen-CtK4S7FT.mjs → ShareablesScreen-WW2uw8wV.mjs} +2 -2
- package/dist/{ShareablesScreen-CtK4S7FT.mjs.map → ShareablesScreen-WW2uw8wV.mjs.map} +1 -1
- package/dist/{ShopScreen-Bj3PjrVi.cjs → ShopScreen-BeBh8oUd.cjs} +3 -3
- package/dist/{ShopScreen-Bj3PjrVi.cjs.map → ShopScreen-BeBh8oUd.cjs.map} +1 -1
- package/dist/{ShopScreen-CKidhX9F.cjs → ShopScreen-D2DmHW7P.cjs} +4 -3
- package/dist/{ShopScreen-DDscuexZ.mjs → ShopScreen-DQDOi7Xn.mjs} +3 -3
- package/dist/{ShopScreen-DDscuexZ.mjs.map → ShopScreen-DQDOi7Xn.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-Cu9Fc98m.mjs → SubscriptionsScreen-3u1tEn1b.mjs} +2 -2
- package/dist/{SubscriptionsScreen-Cu9Fc98m.mjs.map → SubscriptionsScreen-3u1tEn1b.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-DHg2Y0Vk.cjs → SubscriptionsScreen-D0gK60uD.cjs} +1 -1
- package/dist/{SubscriptionsScreen-RaocKuQG.cjs → SubscriptionsScreen-DQt1YUAH.cjs} +2 -2
- package/dist/{SubscriptionsScreen-RaocKuQG.cjs.map → SubscriptionsScreen-DQt1YUAH.cjs.map} +1 -1
- package/dist/{countries-api-context-EEnpUpp2.cjs → countries-api-context-CwUkJTdy.cjs} +1 -1
- package/dist/{countries-api-context-EEnpUpp2.cjs.map → countries-api-context-CwUkJTdy.cjs.map} +1 -1
- package/dist/{countries-api-context-esV7AdsB.mjs → countries-api-context-D0dubtHy.mjs} +1 -1
- package/dist/{countries-api-context-esV7AdsB.mjs.map → countries-api-context-D0dubtHy.mjs.map} +1 -1
- package/dist/index.cjs +31 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -25
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +4 -25
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +31 -30
- package/dist/index.mjs.map +1 -1
- package/dist/mysite-api-context-BTt-_urb.cjs +25 -0
- package/dist/mysite-api-context-BTt-_urb.cjs.map +1 -0
- package/dist/mysite-api-context-C7eiw7TO.mjs +13 -0
- package/dist/mysite-api-context-C7eiw7TO.mjs.map +1 -0
- package/dist/{parse-api-errors-DLWVAkAd.mjs → parse-api-errors-D8PITFLg.mjs} +1 -1
- package/dist/{parse-api-errors-DLWVAkAd.mjs.map → parse-api-errors-D8PITFLg.mjs.map} +1 -1
- package/dist/{parse-api-errors-J6VflWm8.cjs → parse-api-errors-pw_TZf_b.cjs} +1 -1
- package/dist/{parse-api-errors-J6VflWm8.cjs.map → parse-api-errors-pw_TZf_b.cjs.map} +1 -1
- package/dist/{portal_tenant-DTIfG6m4.cjs → portal_tenant-CSxWYAH-.cjs} +1 -1
- package/dist/{portal_tenant-DTIfG6m4.cjs.map → portal_tenant-CSxWYAH-.cjs.map} +1 -1
- package/dist/{portal_tenant-S57LBMo6.mjs → portal_tenant-Taa7uJwV.mjs} +1 -1
- package/dist/{portal_tenant-S57LBMo6.mjs.map → portal_tenant-Taa7uJwV.mjs.map} +1 -1
- package/dist/{use-portal-products-client-DGYbhJLC.mjs → use-portal-products-client-CChGsvZI.mjs} +2 -2
- package/dist/{use-portal-products-client-DGYbhJLC.mjs.map → use-portal-products-client-CChGsvZI.mjs.map} +1 -1
- package/dist/{use-portal-products-client-CkehVVCL.cjs → use-portal-products-client-mpdZuZyu.cjs} +2 -2
- package/dist/{use-portal-products-client-CkehVVCL.cjs.map → use-portal-products-client-mpdZuZyu.cjs.map} +1 -1
- package/dist/{use-portal-shareables-api-BpQpcPcx.cjs → use-portal-shareables-api-CZ4ELYei.cjs} +3 -3
- package/dist/{use-portal-shareables-api-BpQpcPcx.cjs.map → use-portal-shareables-api-CZ4ELYei.cjs.map} +1 -1
- package/dist/{use-portal-shareables-api-kcUnux8J.mjs → use-portal-shareables-api-DXuaX66a.mjs} +3 -3
- package/dist/{use-portal-shareables-api-kcUnux8J.mjs.map → use-portal-shareables-api-DXuaX66a.mjs.map} +1 -1
- package/package.json +12 -12
- package/dist/FluidProvider-CRMe-Enf.cjs.map +0 -1
- package/dist/FluidProvider-DpET43hN.mjs.map +0 -1
- package/dist/MySiteScreen-CdsAyh7a.cjs.map +0 -1
- package/dist/MySiteScreen-gl8KGOrU.mjs.map +0 -1
- package/dist/portal_tenant_mysite-NSJTd8ff.mjs +0 -136
- package/dist/portal_tenant_mysite-NSJTd8ff.mjs.map +0 -1
- package/dist/portal_tenant_mysite-PDI1nxcm.cjs +0 -213
- package/dist/portal_tenant_mysite-PDI1nxcm.cjs.map +0 -1
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
//#region ../../api-clients/portal-tenant-mysite/src/namespaces/portal_tenant_mysite.ts
|
|
2
|
-
/**
|
|
3
|
-
* Get MySite profile for the current user
|
|
4
|
-
* Returns the member's MySite profile.
|
|
5
|
-
*
|
|
6
|
-
* @param client - Fetch client instance
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
async function mysite_profile_show(client) {
|
|
10
|
-
return client.get(`/api/mysite/profile`);
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Update MySite profile
|
|
14
|
-
* Updates the member's MySite profile fields.
|
|
15
|
-
*
|
|
16
|
-
* @param client - Fetch client instance
|
|
17
|
-
* @param body - body
|
|
18
|
-
*/
|
|
19
|
-
async function mysite_profile_update(client, body) {
|
|
20
|
-
return client.put(`/api/mysite/profile`, body);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* List available MySite themes
|
|
24
|
-
* Returns available MySite themes.
|
|
25
|
-
*
|
|
26
|
-
* @param client - Fetch client instance
|
|
27
|
-
* @param [params] - params
|
|
28
|
-
*/
|
|
29
|
-
async function mysite_themes_list(client, params) {
|
|
30
|
-
return client.get(`/api/mysite/themes`, params);
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Update MySite settings
|
|
34
|
-
* Updates the member's MySite settings.
|
|
35
|
-
*
|
|
36
|
-
* @param client - Fetch client instance
|
|
37
|
-
* @param body - body
|
|
38
|
-
*/
|
|
39
|
-
async function mysite_settings_update(client, body) {
|
|
40
|
-
return client.put(`/api/mysite/settings`, body);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* List MySite links for the current user
|
|
44
|
-
* Returns the member's MySite links, ordered by position.
|
|
45
|
-
*
|
|
46
|
-
* @param client - Fetch client instance
|
|
47
|
-
* @param [params] - params
|
|
48
|
-
*/
|
|
49
|
-
async function mysite_links_list(client, params) {
|
|
50
|
-
return client.get(`/api/mysite/links`, params);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Create a MySite link
|
|
54
|
-
* Adds a new link to the member's MySite.
|
|
55
|
-
*
|
|
56
|
-
* @param client - Fetch client instance
|
|
57
|
-
* @param body - body
|
|
58
|
-
*/
|
|
59
|
-
async function mysite_links_create(client, body) {
|
|
60
|
-
return client.post(`/api/mysite/links`, body);
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Update a MySite link
|
|
64
|
-
* Updates an existing MySite link.
|
|
65
|
-
*
|
|
66
|
-
* @param client - Fetch client instance
|
|
67
|
-
* @param id - id
|
|
68
|
-
* @param body - body
|
|
69
|
-
*/
|
|
70
|
-
async function mysite_links_update(client, id, body) {
|
|
71
|
-
return client.put(`/api/mysite/links/${id}`, body);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Delete a MySite link
|
|
75
|
-
* Removes a link from the member's MySite.
|
|
76
|
-
*
|
|
77
|
-
* @param client - Fetch client instance
|
|
78
|
-
* @param id - id
|
|
79
|
-
*/
|
|
80
|
-
async function mysite_links_destroy(client, id) {
|
|
81
|
-
return client.delete(`/api/mysite/links/${id}`);
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Reorder MySite links
|
|
85
|
-
* Reorders MySite links by providing an ordered list of IDs.
|
|
86
|
-
*
|
|
87
|
-
* @param client - Fetch client instance
|
|
88
|
-
* @param body - body
|
|
89
|
-
*/
|
|
90
|
-
async function mysite_links_bulk_reorder(client, body) {
|
|
91
|
-
return client.patch(`/api/mysite/links/bulk`, body);
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* List MySite favorite products
|
|
95
|
-
* Returns the member's MySite favorite products.
|
|
96
|
-
*
|
|
97
|
-
* @param client - Fetch client instance
|
|
98
|
-
* @param [params] - params
|
|
99
|
-
*/
|
|
100
|
-
async function mysite_favorites_list(client, params) {
|
|
101
|
-
return client.get(`/api/mysite/favorites`, params);
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Add a product to MySite favorites
|
|
105
|
-
* Adds a product to the member's MySite favorites.
|
|
106
|
-
*
|
|
107
|
-
* @param client - Fetch client instance
|
|
108
|
-
* @param body - body
|
|
109
|
-
*/
|
|
110
|
-
async function mysite_favorites_create(client, body) {
|
|
111
|
-
return client.post(`/api/mysite/favorites`, body);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Remove a product from MySite favorites
|
|
115
|
-
* Removes a product from the member's MySite favorites.
|
|
116
|
-
*
|
|
117
|
-
* @param client - Fetch client instance
|
|
118
|
-
* @param id - id
|
|
119
|
-
*/
|
|
120
|
-
async function mysite_favorites_destroy(client, id) {
|
|
121
|
-
return client.delete(`/api/mysite/favorites/${id}`);
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Reorder MySite favorites
|
|
125
|
-
* Reorders MySite favorites by providing an ordered list of IDs.
|
|
126
|
-
*
|
|
127
|
-
* @param client - Fetch client instance
|
|
128
|
-
* @param body - body
|
|
129
|
-
*/
|
|
130
|
-
async function mysite_favorites_bulk_reorder(client, body) {
|
|
131
|
-
return client.patch(`/api/mysite/favorites/bulk`, body);
|
|
132
|
-
}
|
|
133
|
-
//#endregion
|
|
134
|
-
Object.defineProperty(exports, "mysite_favorites_bulk_reorder", {
|
|
135
|
-
enumerable: true,
|
|
136
|
-
get: function() {
|
|
137
|
-
return mysite_favorites_bulk_reorder;
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
Object.defineProperty(exports, "mysite_favorites_create", {
|
|
141
|
-
enumerable: true,
|
|
142
|
-
get: function() {
|
|
143
|
-
return mysite_favorites_create;
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
Object.defineProperty(exports, "mysite_favorites_destroy", {
|
|
147
|
-
enumerable: true,
|
|
148
|
-
get: function() {
|
|
149
|
-
return mysite_favorites_destroy;
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
Object.defineProperty(exports, "mysite_favorites_list", {
|
|
153
|
-
enumerable: true,
|
|
154
|
-
get: function() {
|
|
155
|
-
return mysite_favorites_list;
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
Object.defineProperty(exports, "mysite_links_bulk_reorder", {
|
|
159
|
-
enumerable: true,
|
|
160
|
-
get: function() {
|
|
161
|
-
return mysite_links_bulk_reorder;
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
Object.defineProperty(exports, "mysite_links_create", {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function() {
|
|
167
|
-
return mysite_links_create;
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
Object.defineProperty(exports, "mysite_links_destroy", {
|
|
171
|
-
enumerable: true,
|
|
172
|
-
get: function() {
|
|
173
|
-
return mysite_links_destroy;
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
Object.defineProperty(exports, "mysite_links_list", {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
get: function() {
|
|
179
|
-
return mysite_links_list;
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
Object.defineProperty(exports, "mysite_links_update", {
|
|
183
|
-
enumerable: true,
|
|
184
|
-
get: function() {
|
|
185
|
-
return mysite_links_update;
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
Object.defineProperty(exports, "mysite_profile_show", {
|
|
189
|
-
enumerable: true,
|
|
190
|
-
get: function() {
|
|
191
|
-
return mysite_profile_show;
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
Object.defineProperty(exports, "mysite_profile_update", {
|
|
195
|
-
enumerable: true,
|
|
196
|
-
get: function() {
|
|
197
|
-
return mysite_profile_update;
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
Object.defineProperty(exports, "mysite_settings_update", {
|
|
201
|
-
enumerable: true,
|
|
202
|
-
get: function() {
|
|
203
|
-
return mysite_settings_update;
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
Object.defineProperty(exports, "mysite_themes_list", {
|
|
207
|
-
enumerable: true,
|
|
208
|
-
get: function() {
|
|
209
|
-
return mysite_themes_list;
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
//# sourceMappingURL=portal_tenant_mysite-PDI1nxcm.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"portal_tenant_mysite-PDI1nxcm.cjs","names":[],"sources":["../../../api-clients/portal-tenant-mysite/src/namespaces/portal_tenant_mysite.ts"],"sourcesContent":["/**\n * Generated API client functions for portal_tenant_mysite\n *\n * DO NOT EDIT THIS FILE DIRECTLY\n * This file is auto-generated. To update:\n * 1. Update the OpenAPI spec file\n * 2. Run: pnpm generate\n */\n\nimport type { FetchClient } from \"../lib/fetch-client\";\nimport type { operations } from \"../generated/portal-tenant-mysite\";\n\n// ============================================================================\n// mysite\n// ============================================================================\n\n/**\n * Get MySite profile for the current user\n * Returns the member's MySite profile.\n *\n * @param client - Fetch client instance\n \n */\nexport async function mysite_profile_show(\n client: FetchClient,\n): Promise<\n operations[\"mysite_profile_show\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/mysite/profile`);\n}\n\n/**\n * Update MySite profile\n * Updates the member's MySite profile fields.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function mysite_profile_update(\n client: FetchClient,\n body: operations[\"mysite_profile_update\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"mysite_profile_update\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.put(`/api/mysite/profile`, body);\n}\n\n/**\n * List available MySite themes\n * Returns available MySite themes.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function mysite_themes_list(\n client: FetchClient,\n params?: operations[\"mysite_themes_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"mysite_themes_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/mysite/themes`, params);\n}\n\n/**\n * Get MySite settings for the current user\n * Returns the member's MySite settings.\n *\n * @param client - Fetch client instance\n \n */\nexport async function mysite_settings_show(\n client: FetchClient,\n): Promise<\n operations[\"mysite_settings_show\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/mysite/settings`);\n}\n\n/**\n * Update MySite settings\n * Updates the member's MySite settings.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function mysite_settings_update(\n client: FetchClient,\n body: operations[\"mysite_settings_update\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"mysite_settings_update\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.put(`/api/mysite/settings`, body);\n}\n\n/**\n * List MySite links for the current user\n * Returns the member's MySite links, ordered by position.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function mysite_links_list(\n client: FetchClient,\n params?: operations[\"mysite_links_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"mysite_links_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/mysite/links`, params);\n}\n\n/**\n * Create a MySite link\n * Adds a new link to the member's MySite.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function mysite_links_create(\n client: FetchClient,\n body: operations[\"mysite_links_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"mysite_links_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/mysite/links`, body);\n}\n\n/**\n * Update a MySite link\n * Updates an existing MySite link.\n *\n * @param client - Fetch client instance\n * @param id - id\n * @param body - body\n */\nexport async function mysite_links_update(\n client: FetchClient,\n id: string | number,\n body: operations[\"mysite_links_update\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"mysite_links_update\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.put(`/api/mysite/links/${id}`, body);\n}\n\n/**\n * Delete a MySite link\n * Removes a link from the member's MySite.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function mysite_links_destroy(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"mysite_links_destroy\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/mysite/links/${id}`);\n}\n\n/**\n * Reorder MySite links\n * Reorders MySite links by providing an ordered list of IDs.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function mysite_links_bulk_reorder(\n client: FetchClient,\n body: operations[\"mysite_links_bulk_reorder\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"mysite_links_bulk_reorder\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(`/api/mysite/links/bulk`, body);\n}\n\n/**\n * List MySite favorite products\n * Returns the member's MySite favorite products.\n *\n * @param client - Fetch client instance\n * @param [params] - params\n */\nexport async function mysite_favorites_list(\n client: FetchClient,\n params?: operations[\"mysite_favorites_list\"][\"parameters\"][\"query\"],\n): Promise<\n operations[\"mysite_favorites_list\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.get(`/api/mysite/favorites`, params);\n}\n\n/**\n * Add a product to MySite favorites\n * Adds a product to the member's MySite favorites.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function mysite_favorites_create(\n client: FetchClient,\n body: operations[\"mysite_favorites_create\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"mysite_favorites_create\"][\"responses\"][201][\"content\"][\"application/json\"]\n> {\n return client.post(`/api/mysite/favorites`, body);\n}\n\n/**\n * Remove a product from MySite favorites\n * Removes a product from the member's MySite favorites.\n *\n * @param client - Fetch client instance\n * @param id - id\n */\nexport async function mysite_favorites_destroy(\n client: FetchClient,\n id: string | number,\n): Promise<\n operations[\"mysite_favorites_destroy\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.delete(`/api/mysite/favorites/${id}`);\n}\n\n/**\n * Reorder MySite favorites\n * Reorders MySite favorites by providing an ordered list of IDs.\n *\n * @param client - Fetch client instance\n * @param body - body\n */\nexport async function mysite_favorites_bulk_reorder(\n client: FetchClient,\n body: operations[\"mysite_favorites_bulk_reorder\"][\"requestBody\"][\"content\"][\"application/json\"],\n): Promise<\n operations[\"mysite_favorites_bulk_reorder\"][\"responses\"][200][\"content\"][\"application/json\"]\n> {\n return client.patch(`/api/mysite/favorites/bulk`, body);\n}\n"],"mappings":";;;;;;;;AAuBA,eAAsB,oBACpB,QAGA;AACA,QAAO,OAAO,IAAI,sBAAsB;;;;;;;;;AAU1C,eAAsB,sBACpB,QACA,MAGA;AACA,QAAO,OAAO,IAAI,uBAAuB,KAAK;;;;;;;;;AAUhD,eAAsB,mBACpB,QACA,QAGA;AACA,QAAO,OAAO,IAAI,sBAAsB,OAAO;;;;;;;;;AAyBjD,eAAsB,uBACpB,QACA,MAGA;AACA,QAAO,OAAO,IAAI,wBAAwB,KAAK;;;;;;;;;AAUjD,eAAsB,kBACpB,QACA,QAGA;AACA,QAAO,OAAO,IAAI,qBAAqB,OAAO;;;;;;;;;AAUhD,eAAsB,oBACpB,QACA,MAGA;AACA,QAAO,OAAO,KAAK,qBAAqB,KAAK;;;;;;;;;;AAW/C,eAAsB,oBACpB,QACA,IACA,MAGA;AACA,QAAO,OAAO,IAAI,qBAAqB,MAAM,KAAK;;;;;;;;;AAUpD,eAAsB,qBACpB,QACA,IAGA;AACA,QAAO,OAAO,OAAO,qBAAqB,KAAK;;;;;;;;;AAUjD,eAAsB,0BACpB,QACA,MAGA;AACA,QAAO,OAAO,MAAM,0BAA0B,KAAK;;;;;;;;;AAUrD,eAAsB,sBACpB,QACA,QAGA;AACA,QAAO,OAAO,IAAI,yBAAyB,OAAO;;;;;;;;;AAUpD,eAAsB,wBACpB,QACA,MAGA;AACA,QAAO,OAAO,KAAK,yBAAyB,KAAK;;;;;;;;;AAUnD,eAAsB,yBACpB,QACA,IAGA;AACA,QAAO,OAAO,OAAO,yBAAyB,KAAK;;;;;;;;;AAUrD,eAAsB,8BACpB,QACA,MAGA;AACA,QAAO,OAAO,MAAM,8BAA8B,KAAK"}
|