@wix/auto_sdk_media-collections_media-collections 1.0.3 → 1.0.5

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.
Files changed (130) hide show
  1. package/build/{internal/cjs/src/collections-v1-collection-media-collections.universal.d.ts → collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.mts} +280 -388
  2. package/build/{internal/es/src/collections-v1-collection-media-collections.universal.d.ts → collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.ts} +280 -388
  3. package/build/index.d.mts +120 -0
  4. package/build/index.d.ts +120 -0
  5. package/build/index.js +1151 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +1105 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{cjs/src/collections-v1-collection-media-collections.universal.d.ts → internal/collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.mts} +280 -388
  10. package/build/{es/src/collections-v1-collection-media-collections.universal.d.ts → internal/collections-v1-collection-media-collections.universal-CG3Rf3hZ.d.ts} +280 -388
  11. package/build/internal/index.d.mts +120 -0
  12. package/build/internal/index.d.ts +120 -0
  13. package/build/internal/index.js +1151 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +1105 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/{es/src/collections-v1-collection-media-collections.types.d.ts → internal/meta.d.mts} +145 -408
  18. package/build/internal/{cjs/src/collections-v1-collection-media-collections.types.d.ts → meta.d.ts} +145 -408
  19. package/build/internal/meta.js +783 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +744 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/{cjs/src/collections-v1-collection-media-collections.types.d.ts → meta.d.mts} +145 -408
  24. package/build/{internal/es/src/collections-v1-collection-media-collections.types.d.ts → meta.d.ts} +145 -408
  25. package/build/meta.js +783 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +744 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/collections-v1-collection-media-collections.context.d.ts +0 -21
  40. package/build/cjs/src/collections-v1-collection-media-collections.context.js +0 -33
  41. package/build/cjs/src/collections-v1-collection-media-collections.context.js.map +0 -1
  42. package/build/cjs/src/collections-v1-collection-media-collections.http.d.ts +0 -25
  43. package/build/cjs/src/collections-v1-collection-media-collections.http.js +0 -490
  44. package/build/cjs/src/collections-v1-collection-media-collections.http.js.map +0 -1
  45. package/build/cjs/src/collections-v1-collection-media-collections.meta.d.ts +0 -48
  46. package/build/cjs/src/collections-v1-collection-media-collections.meta.js +0 -278
  47. package/build/cjs/src/collections-v1-collection-media-collections.meta.js.map +0 -1
  48. package/build/cjs/src/collections-v1-collection-media-collections.public.d.ts +0 -104
  49. package/build/cjs/src/collections-v1-collection-media-collections.public.js +0 -123
  50. package/build/cjs/src/collections-v1-collection-media-collections.public.js.map +0 -1
  51. package/build/cjs/src/collections-v1-collection-media-collections.types.js +0 -94
  52. package/build/cjs/src/collections-v1-collection-media-collections.types.js.map +0 -1
  53. package/build/cjs/src/collections-v1-collection-media-collections.universal.js +0 -574
  54. package/build/cjs/src/collections-v1-collection-media-collections.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/package.json +0 -3
  65. package/build/es/src/collections-v1-collection-media-collections.context.d.ts +0 -21
  66. package/build/es/src/collections-v1-collection-media-collections.context.js +0 -21
  67. package/build/es/src/collections-v1-collection-media-collections.context.js.map +0 -1
  68. package/build/es/src/collections-v1-collection-media-collections.http.d.ts +0 -25
  69. package/build/es/src/collections-v1-collection-media-collections.http.js +0 -474
  70. package/build/es/src/collections-v1-collection-media-collections.http.js.map +0 -1
  71. package/build/es/src/collections-v1-collection-media-collections.meta.d.ts +0 -48
  72. package/build/es/src/collections-v1-collection-media-collections.meta.js +0 -239
  73. package/build/es/src/collections-v1-collection-media-collections.meta.js.map +0 -1
  74. package/build/es/src/collections-v1-collection-media-collections.public.d.ts +0 -104
  75. package/build/es/src/collections-v1-collection-media-collections.public.js +0 -98
  76. package/build/es/src/collections-v1-collection-media-collections.public.js.map +0 -1
  77. package/build/es/src/collections-v1-collection-media-collections.types.js +0 -91
  78. package/build/es/src/collections-v1-collection-media-collections.types.js.map +0 -1
  79. package/build/es/src/collections-v1-collection-media-collections.universal.js +0 -535
  80. package/build/es/src/collections-v1-collection-media-collections.universal.js.map +0 -1
  81. package/build/internal/cjs/index.d.ts +0 -1
  82. package/build/internal/cjs/index.js +0 -18
  83. package/build/internal/cjs/index.js.map +0 -1
  84. package/build/internal/cjs/index.typings.d.ts +0 -1
  85. package/build/internal/cjs/index.typings.js +0 -18
  86. package/build/internal/cjs/index.typings.js.map +0 -1
  87. package/build/internal/cjs/meta.d.ts +0 -1
  88. package/build/internal/cjs/meta.js +0 -18
  89. package/build/internal/cjs/meta.js.map +0 -1
  90. package/build/internal/cjs/src/collections-v1-collection-media-collections.context.d.ts +0 -21
  91. package/build/internal/cjs/src/collections-v1-collection-media-collections.context.js +0 -33
  92. package/build/internal/cjs/src/collections-v1-collection-media-collections.context.js.map +0 -1
  93. package/build/internal/cjs/src/collections-v1-collection-media-collections.http.d.ts +0 -25
  94. package/build/internal/cjs/src/collections-v1-collection-media-collections.http.js +0 -490
  95. package/build/internal/cjs/src/collections-v1-collection-media-collections.http.js.map +0 -1
  96. package/build/internal/cjs/src/collections-v1-collection-media-collections.meta.d.ts +0 -48
  97. package/build/internal/cjs/src/collections-v1-collection-media-collections.meta.js +0 -278
  98. package/build/internal/cjs/src/collections-v1-collection-media-collections.meta.js.map +0 -1
  99. package/build/internal/cjs/src/collections-v1-collection-media-collections.public.d.ts +0 -104
  100. package/build/internal/cjs/src/collections-v1-collection-media-collections.public.js +0 -123
  101. package/build/internal/cjs/src/collections-v1-collection-media-collections.public.js.map +0 -1
  102. package/build/internal/cjs/src/collections-v1-collection-media-collections.types.js +0 -94
  103. package/build/internal/cjs/src/collections-v1-collection-media-collections.types.js.map +0 -1
  104. package/build/internal/cjs/src/collections-v1-collection-media-collections.universal.js +0 -574
  105. package/build/internal/cjs/src/collections-v1-collection-media-collections.universal.js.map +0 -1
  106. package/build/internal/es/index.d.ts +0 -1
  107. package/build/internal/es/index.js +0 -2
  108. package/build/internal/es/index.js.map +0 -1
  109. package/build/internal/es/index.typings.d.ts +0 -1
  110. package/build/internal/es/index.typings.js +0 -2
  111. package/build/internal/es/index.typings.js.map +0 -1
  112. package/build/internal/es/meta.d.ts +0 -1
  113. package/build/internal/es/meta.js +0 -2
  114. package/build/internal/es/meta.js.map +0 -1
  115. package/build/internal/es/src/collections-v1-collection-media-collections.context.d.ts +0 -21
  116. package/build/internal/es/src/collections-v1-collection-media-collections.context.js +0 -21
  117. package/build/internal/es/src/collections-v1-collection-media-collections.context.js.map +0 -1
  118. package/build/internal/es/src/collections-v1-collection-media-collections.http.d.ts +0 -25
  119. package/build/internal/es/src/collections-v1-collection-media-collections.http.js +0 -474
  120. package/build/internal/es/src/collections-v1-collection-media-collections.http.js.map +0 -1
  121. package/build/internal/es/src/collections-v1-collection-media-collections.meta.d.ts +0 -48
  122. package/build/internal/es/src/collections-v1-collection-media-collections.meta.js +0 -239
  123. package/build/internal/es/src/collections-v1-collection-media-collections.meta.js.map +0 -1
  124. package/build/internal/es/src/collections-v1-collection-media-collections.public.d.ts +0 -104
  125. package/build/internal/es/src/collections-v1-collection-media-collections.public.js +0 -98
  126. package/build/internal/es/src/collections-v1-collection-media-collections.public.js.map +0 -1
  127. package/build/internal/es/src/collections-v1-collection-media-collections.types.js +0 -91
  128. package/build/internal/es/src/collections-v1-collection-media-collections.types.js.map +0 -1
  129. package/build/internal/es/src/collections-v1-collection-media-collections.universal.js +0 -535
  130. package/build/internal/es/src/collections-v1-collection-media-collections.universal.js.map +0 -1
@@ -1,278 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.listCollectionItems = exports.leaveCollection = exports.joinToCollection = exports.removeItems = exports.addItems = exports.listCollectionMembers = exports._delete = exports.partiallyUpdate = exports.create = exports.list = exports.getCollectionItem = exports.listCollectionsForItem = exports.get = void 0;
27
- const ambassadorWixCollectionsV1Collection = __importStar(require("./collections-v1-collection-media-collections.http.js"));
28
- function get() {
29
- const payload = { mediaCollectionId: ':mediaCollectionId' };
30
- const getRequestOptions = ambassadorWixCollectionsV1Collection.get(payload);
31
- const getUrl = (context) => {
32
- const { url } = getRequestOptions(context);
33
- return url;
34
- };
35
- return {
36
- getUrl,
37
- httpMethod: 'GET',
38
- path: '/v1/mediacollections/{mediaCollectionId}',
39
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
40
- __requestType: null,
41
- __originalRequestType: null,
42
- __responseType: null,
43
- __originalResponseType: null,
44
- };
45
- }
46
- exports.get = get;
47
- function listCollectionsForItem() {
48
- const payload = { itemId: ':itemId' };
49
- const getRequestOptions = ambassadorWixCollectionsV1Collection.listCollectionsForItem(payload);
50
- const getUrl = (context) => {
51
- const { url } = getRequestOptions(context);
52
- return url;
53
- };
54
- return {
55
- getUrl,
56
- httpMethod: 'GET',
57
- path: '/v1/mediacollections/items/{itemId}/collections',
58
- pathParams: { itemId: 'itemId' },
59
- __requestType: null,
60
- __originalRequestType: null,
61
- __responseType: null,
62
- __originalResponseType: null,
63
- };
64
- }
65
- exports.listCollectionsForItem = listCollectionsForItem;
66
- function getCollectionItem() {
67
- const payload = {
68
- mediaCollectionId: ':mediaCollectionId',
69
- itemId: ':itemId',
70
- };
71
- const getRequestOptions = ambassadorWixCollectionsV1Collection.getCollectionItem(payload);
72
- const getUrl = (context) => {
73
- const { url } = getRequestOptions(context);
74
- return url;
75
- };
76
- return {
77
- getUrl,
78
- httpMethod: 'GET',
79
- path: '/v1/mediacollections/{mediaCollectionId}/items/{itemId}',
80
- pathParams: { mediaCollectionId: 'mediaCollectionId', itemId: 'itemId' },
81
- __requestType: null,
82
- __originalRequestType: null,
83
- __responseType: null,
84
- __originalResponseType: null,
85
- };
86
- }
87
- exports.getCollectionItem = getCollectionItem;
88
- function list() {
89
- const payload = {};
90
- const getRequestOptions = ambassadorWixCollectionsV1Collection.list(payload);
91
- const getUrl = (context) => {
92
- const { url } = getRequestOptions(context);
93
- return url;
94
- };
95
- return {
96
- getUrl,
97
- httpMethod: 'GET',
98
- path: '/v1/mediacollections',
99
- pathParams: {},
100
- __requestType: null,
101
- __originalRequestType: null,
102
- __responseType: null,
103
- __originalResponseType: null,
104
- };
105
- }
106
- exports.list = list;
107
- function create() {
108
- const payload = {};
109
- const getRequestOptions = ambassadorWixCollectionsV1Collection.create(payload);
110
- const getUrl = (context) => {
111
- const { url } = getRequestOptions(context);
112
- return url;
113
- };
114
- return {
115
- getUrl,
116
- httpMethod: 'POST',
117
- path: '/v1/mediacollections',
118
- pathParams: {},
119
- __requestType: null,
120
- __originalRequestType: null,
121
- __responseType: null,
122
- __originalResponseType: null,
123
- };
124
- }
125
- exports.create = create;
126
- function partiallyUpdate() {
127
- const payload = { mediaCollection: { id: ':mediaCollectionId' } };
128
- const getRequestOptions = ambassadorWixCollectionsV1Collection.partiallyUpdate(payload);
129
- const getUrl = (context) => {
130
- const { url } = getRequestOptions(context);
131
- return url;
132
- };
133
- return {
134
- getUrl,
135
- httpMethod: 'PUT',
136
- path: '/v1/mediacollections/{mediaCollection.id}',
137
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
138
- __requestType: null,
139
- __originalRequestType: null,
140
- __responseType: null,
141
- __originalResponseType: null,
142
- };
143
- }
144
- exports.partiallyUpdate = partiallyUpdate;
145
- function _delete() {
146
- const payload = { mediaCollectionId: ':mediaCollectionId' };
147
- const getRequestOptions = ambassadorWixCollectionsV1Collection._delete(payload);
148
- const getUrl = (context) => {
149
- const { url } = getRequestOptions(context);
150
- return url;
151
- };
152
- return {
153
- getUrl,
154
- httpMethod: 'DELETE',
155
- path: '/v1/mediacollections/{mediaCollectionId}',
156
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
157
- __requestType: null,
158
- __originalRequestType: null,
159
- __responseType: null,
160
- __originalResponseType: null,
161
- };
162
- }
163
- exports._delete = _delete;
164
- function listCollectionMembers() {
165
- const payload = { mediaCollectionId: ':mediaCollectionId' };
166
- const getRequestOptions = ambassadorWixCollectionsV1Collection.listCollectionMembers(payload);
167
- const getUrl = (context) => {
168
- const { url } = getRequestOptions(context);
169
- return url;
170
- };
171
- return {
172
- getUrl,
173
- httpMethod: 'GET',
174
- path: '/v1/mediacollections/{mediaCollectionId}/members',
175
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
176
- __requestType: null,
177
- __originalRequestType: null,
178
- __responseType: null,
179
- __originalResponseType: null,
180
- };
181
- }
182
- exports.listCollectionMembers = listCollectionMembers;
183
- function addItems() {
184
- const payload = { mediaCollectionId: ':mediaCollectionId' };
185
- const getRequestOptions = ambassadorWixCollectionsV1Collection.addItems(payload);
186
- const getUrl = (context) => {
187
- const { url } = getRequestOptions(context);
188
- return url;
189
- };
190
- return {
191
- getUrl,
192
- httpMethod: 'POST',
193
- path: '/v1/mediacollections/{mediaCollectionId}/items',
194
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
195
- __requestType: null,
196
- __originalRequestType: null,
197
- __responseType: null,
198
- __originalResponseType: null,
199
- };
200
- }
201
- exports.addItems = addItems;
202
- function removeItems() {
203
- const payload = { mediaCollectionId: ':mediaCollectionId' };
204
- const getRequestOptions = ambassadorWixCollectionsV1Collection.removeItems(payload);
205
- const getUrl = (context) => {
206
- const { url } = getRequestOptions(context);
207
- return url;
208
- };
209
- return {
210
- getUrl,
211
- httpMethod: 'DELETE',
212
- path: '/v1/mediacollections/{mediaCollectionId}/items',
213
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
214
- __requestType: null,
215
- __originalRequestType: null,
216
- __responseType: null,
217
- __originalResponseType: null,
218
- };
219
- }
220
- exports.removeItems = removeItems;
221
- function joinToCollection() {
222
- const payload = { mediaCollectionId: ':mediaCollectionId' };
223
- const getRequestOptions = ambassadorWixCollectionsV1Collection.joinToCollection(payload);
224
- const getUrl = (context) => {
225
- const { url } = getRequestOptions(context);
226
- return url;
227
- };
228
- return {
229
- getUrl,
230
- httpMethod: 'POST',
231
- path: '/v1/mediacollections/{mediaCollectionId}/members',
232
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
233
- __requestType: null,
234
- __originalRequestType: null,
235
- __responseType: null,
236
- __originalResponseType: null,
237
- };
238
- }
239
- exports.joinToCollection = joinToCollection;
240
- function leaveCollection() {
241
- const payload = { mediaCollectionId: ':mediaCollectionId' };
242
- const getRequestOptions = ambassadorWixCollectionsV1Collection.leaveCollection(payload);
243
- const getUrl = (context) => {
244
- const { url } = getRequestOptions(context);
245
- return url;
246
- };
247
- return {
248
- getUrl,
249
- httpMethod: 'DELETE',
250
- path: '/v1/mediacollections/{mediaCollectionId}/members',
251
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
252
- __requestType: null,
253
- __originalRequestType: null,
254
- __responseType: null,
255
- __originalResponseType: null,
256
- };
257
- }
258
- exports.leaveCollection = leaveCollection;
259
- function listCollectionItems() {
260
- const payload = { mediaCollectionId: ':mediaCollectionId' };
261
- const getRequestOptions = ambassadorWixCollectionsV1Collection.listCollectionItems(payload);
262
- const getUrl = (context) => {
263
- const { url } = getRequestOptions(context);
264
- return url;
265
- };
266
- return {
267
- getUrl,
268
- httpMethod: 'GET',
269
- path: '/v1/mediacollections/{mediaCollectionId}/items',
270
- pathParams: { mediaCollectionId: 'mediaCollectionId' },
271
- __requestType: null,
272
- __originalRequestType: null,
273
- __responseType: null,
274
- __originalResponseType: null,
275
- };
276
- }
277
- exports.listCollectionItems = listCollectionItems;
278
- //# sourceMappingURL=collections-v1-collection-media-collections.meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collections-v1-collection-media-collections.meta.js","sourceRoot":"","sources":["../../../../src/collections-v1-collection-media-collections.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4HAA8G;AAsB9G,SAAgB,GAAG;IAQjB,MAAM,OAAO,GAAG,EAAE,iBAAiB,EAAE,oBAAoB,EAAS,CAAC;IAEnE,MAAM,iBAAiB,GAAG,oCAAoC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAE5E,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QAC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
- import { EventDefinition, HttpClient } from '@wix/sdk-types';
2
- import { AddItemsOptions, CollectionCreatedEnvelope, CreateMediaCollectionResponse, CreateOptions, GetCollectionItemIdentifiers, GetCollectionItemResponse, GetOptions, ListCollectionItemsResponse, ListCollectionMembersOptions, ListCollectionMembersResponse, ListCollectionsForItemOptions, ListCollectionsForItemResponse, ListMediaCollectionsResponse, ListOptions, MediaCollection, PartiallyUpdateMediaCollection, PartiallyUpdateOptions, RemoveItemsOptions } from './collections-v1-collection-media-collections.universal.js';
3
- export declare const __metadata: {
4
- PACKAGE_NAME: string;
5
- };
6
- export declare function get(httpClient: HttpClient): GetSignature;
7
- interface GetSignature {
8
- /**
9
- * Get a specific collection by its id
10
- * @param - Collection id
11
- * @returns The collection
12
- */
13
- (mediaCollectionId: string, options?: GetOptions | undefined): Promise<MediaCollection>;
14
- }
15
- export declare function listCollectionsForItem(httpClient: HttpClient): ListCollectionsForItemSignature;
16
- interface ListCollectionsForItemSignature {
17
- /**
18
- * List all collections that the member has a role in them
19
- * @param - Item id
20
- */
21
- (itemId: string, options?: ListCollectionsForItemOptions | undefined): Promise<ListCollectionsForItemResponse>;
22
- }
23
- export declare function getCollectionItem(httpClient: HttpClient): GetCollectionItemSignature;
24
- interface GetCollectionItemSignature {
25
- /**
26
- * Get a specific item from a collection
27
- */
28
- (identifiers: GetCollectionItemIdentifiers): Promise<GetCollectionItemResponse>;
29
- }
30
- export declare function list(httpClient: HttpClient): ListSignature;
31
- interface ListSignature {
32
- /**
33
- * List all collections that the item belongs to
34
- */
35
- (options?: ListOptions | undefined): Promise<ListMediaCollectionsResponse>;
36
- }
37
- export declare function create(httpClient: HttpClient): CreateSignature;
38
- interface CreateSignature {
39
- /**
40
- * Create a new collection
41
- * @param - Name of the collection
42
- */
43
- (name: string, options?: CreateOptions | undefined): Promise<CreateMediaCollectionResponse>;
44
- }
45
- export declare function partiallyUpdate(httpClient: HttpClient): PartiallyUpdateSignature;
46
- interface PartiallyUpdateSignature {
47
- /**
48
- * Update a collection
49
- * @param - Collection id
50
- */
51
- (_id: string, mediaCollection: PartiallyUpdateMediaCollection, options: PartiallyUpdateOptions): Promise<void>;
52
- }
53
- export declare function _delete(httpClient: HttpClient): _deleteSignature;
54
- interface _deleteSignature {
55
- /**
56
- * Delete a collection
57
- * @param - the collection to delete
58
- */
59
- (mediaCollectionId: string): Promise<void>;
60
- }
61
- export declare function listCollectionMembers(httpClient: HttpClient): ListCollectionMembersSignature;
62
- interface ListCollectionMembersSignature {
63
- /**
64
- * List all members of a collection
65
- * @param - the collection to get its members
66
- */
67
- (mediaCollectionId: string, options?: ListCollectionMembersOptions | undefined): Promise<ListCollectionMembersResponse>;
68
- }
69
- export declare function addItems(httpClient: HttpClient): AddItemsSignature;
70
- interface AddItemsSignature {
71
- /**
72
- * Add items to a collection
73
- * @param - Collection to add items
74
- */
75
- (mediaCollectionId: string, options?: AddItemsOptions | undefined): Promise<void>;
76
- }
77
- export declare function removeItems(httpClient: HttpClient): RemoveItemsSignature;
78
- interface RemoveItemsSignature {
79
- /**
80
- * Remove items from a collection
81
- * @param - Collection to remove items from
82
- */
83
- (mediaCollectionId: string, options?: RemoveItemsOptions | undefined): Promise<void>;
84
- }
85
- export declare function joinToCollection(httpClient: HttpClient): JoinToCollectionSignature;
86
- interface JoinToCollectionSignature {
87
- /**
88
- * Join to a collection
89
- * @param - Collection to join
90
- */
91
- (mediaCollectionId: string): Promise<void>;
92
- }
93
- export declare function leaveCollection(httpClient: HttpClient): LeaveCollectionSignature;
94
- interface LeaveCollectionSignature {
95
- /** @param - Collection the member will be leaving */
96
- (mediaCollectionId: string): Promise<void>;
97
- }
98
- export declare function listCollectionItems(httpClient: HttpClient): ListCollectionItemsSignature;
99
- interface ListCollectionItemsSignature {
100
- /** @param - Collection to get its items */
101
- (mediaCollectionId: string): Promise<ListCollectionItemsResponse>;
102
- }
103
- export declare const onCollectionCreated: EventDefinition<CollectionCreatedEnvelope, "wix.collections.collection_created">;
104
- export { ActionEvent, AddItem, AddItemsOptions, AddItemsRequest, AddItemsResponse, AddressLink, AnchorLink, BaseEventMetadata, CollectionAndStatus, CollectionCreated, CollectionCreatedEnvelope, CollectionEvent, CollectionEventEventTypeOneOf, CollectionItem, CollectionItemId, CollectionMember, CreateMediaCollectionRequest, CreateMediaCollectionResponse, CreateOptions, DataType, DeleteMediaCollectionRequest, DeleteMediaCollectionResponse, DocumentLink, DomainEvent, DomainEventBodyOneOf, DynamicPageLink, EmailLink, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalLink, FilterBy, FilterByRoles, GetCollectionItemIdentifiers, GetCollectionItemRequest, GetCollectionItemResponse, GetMediaCollectionRequest, GetMediaCollectionResponse, GetOptions, IdentificationData, IdentificationDataIdOneOf, ItemInCollection, ItemsAddedToCollection, ItemsRemovedFromCollection, JoinToCollectionRequest, JoinToCollectionResponse, LeaveCollectionRequest, LeaveCollectionResponse, Link, LinkRel, ListAllItemsBelongToCollectionRequest, ListAllItemsBelongToCollectionResponse, ListCollectionItemsRequest, ListCollectionItemsResponse, ListCollectionMembersOptions, ListCollectionMembersRequest, ListCollectionMembersResponse, ListCollectionsForItemOptions, ListCollectionsForItemRequest, ListCollectionsForItemResponse, ListMediaCollectionsRequest, ListMediaCollectionsResponse, ListOptions, MediaCollection, MediaCollectionItem, MediaCollectionItemMetadataOneOf, MediaOwner, MemberAndStatus, MemberJoinedToCollection, MemberLeftCollection, MemberStatus, MessageEnvelope, PageLink, PartiallyUpdateMediaCollection, PartiallyUpdateMediaCollectionRequest, PartiallyUpdateMediaCollectionResponse, PartiallyUpdateOptions, PermanentSiteDeletedResponse, PhoneLink, PhotoMetadata, Point, PrivacySettings, RemoveItemsOptions, RemoveItemsRequest, RemoveItemsResponse, RemoveMemberFromCollectionRequest, RemoveMemberFromCollectionResponse, Resolution, RestoreInfo, Source, Status, TextMetadata, Thumbnail, TpaPageLink, Type, UnsharpMasking, UpdateCollectionLockRequest, UpdateCollectionLockResponse, UpdateItem, UpdateItemsRequest, UpdateItemsResponse, VideoMetadata, WebhookIdentityType, WhatsAppLink, WixLink, WixLinkLinkOneOf, } from './collections-v1-collection-media-collections.universal.js';
@@ -1,123 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.Type = exports.Status = exports.Source = exports.PrivacySettings = exports.MemberStatus = exports.MediaOwner = exports.LinkRel = exports.DataType = exports.onCollectionCreated = exports.listCollectionItems = exports.leaveCollection = exports.joinToCollection = exports.removeItems = exports.addItems = exports.listCollectionMembers = exports._delete = exports.partiallyUpdate = exports.create = exports.list = exports.getCollectionItem = exports.listCollectionsForItem = exports.get = exports.__metadata = void 0;
4
- const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
5
- const float_1 = require("@wix/sdk-runtime/transformations/float");
6
- const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
7
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
8
- const sdk_types_1 = require("@wix/sdk-types");
9
- const collections_v1_collection_media_collections_universal_js_1 = require("./collections-v1-collection-media-collections.universal.js");
10
- exports.__metadata = { PACKAGE_NAME: '@wix/media-collections' };
11
- function get(httpClient) {
12
- return (mediaCollectionId, options) => (0, collections_v1_collection_media_collections_universal_js_1.get)(mediaCollectionId, options,
13
- // @ts-ignore
14
- { httpClient });
15
- }
16
- exports.get = get;
17
- function listCollectionsForItem(httpClient) {
18
- return (itemId, options) => (0, collections_v1_collection_media_collections_universal_js_1.listCollectionsForItem)(itemId, options,
19
- // @ts-ignore
20
- { httpClient });
21
- }
22
- exports.listCollectionsForItem = listCollectionsForItem;
23
- function getCollectionItem(httpClient) {
24
- return (identifiers) => (0, collections_v1_collection_media_collections_universal_js_1.getCollectionItem)(identifiers,
25
- // @ts-ignore
26
- { httpClient });
27
- }
28
- exports.getCollectionItem = getCollectionItem;
29
- function list(httpClient) {
30
- return (options) => (0, collections_v1_collection_media_collections_universal_js_1.list)(options,
31
- // @ts-ignore
32
- { httpClient });
33
- }
34
- exports.list = list;
35
- function create(httpClient) {
36
- return (name, options) => (0, collections_v1_collection_media_collections_universal_js_1.create)(name, options,
37
- // @ts-ignore
38
- { httpClient });
39
- }
40
- exports.create = create;
41
- function partiallyUpdate(httpClient) {
42
- return (_id, mediaCollection, options) => (0, collections_v1_collection_media_collections_universal_js_1.partiallyUpdate)(_id, mediaCollection, options,
43
- // @ts-ignore
44
- { httpClient });
45
- }
46
- exports.partiallyUpdate = partiallyUpdate;
47
- function _delete(httpClient) {
48
- return (mediaCollectionId) => (0, collections_v1_collection_media_collections_universal_js_1._delete)(mediaCollectionId,
49
- // @ts-ignore
50
- { httpClient });
51
- }
52
- exports._delete = _delete;
53
- function listCollectionMembers(httpClient) {
54
- return (mediaCollectionId, options) => (0, collections_v1_collection_media_collections_universal_js_1.listCollectionMembers)(mediaCollectionId, options,
55
- // @ts-ignore
56
- { httpClient });
57
- }
58
- exports.listCollectionMembers = listCollectionMembers;
59
- function addItems(httpClient) {
60
- return (mediaCollectionId, options) => (0, collections_v1_collection_media_collections_universal_js_1.addItems)(mediaCollectionId, options,
61
- // @ts-ignore
62
- { httpClient });
63
- }
64
- exports.addItems = addItems;
65
- function removeItems(httpClient) {
66
- return (mediaCollectionId, options) => (0, collections_v1_collection_media_collections_universal_js_1.removeItems)(mediaCollectionId, options,
67
- // @ts-ignore
68
- { httpClient });
69
- }
70
- exports.removeItems = removeItems;
71
- function joinToCollection(httpClient) {
72
- return (mediaCollectionId) => (0, collections_v1_collection_media_collections_universal_js_1.joinToCollection)(mediaCollectionId,
73
- // @ts-ignore
74
- { httpClient });
75
- }
76
- exports.joinToCollection = joinToCollection;
77
- function leaveCollection(httpClient) {
78
- return (mediaCollectionId) => (0, collections_v1_collection_media_collections_universal_js_1.leaveCollection)(mediaCollectionId,
79
- // @ts-ignore
80
- { httpClient });
81
- }
82
- exports.leaveCollection = leaveCollection;
83
- function listCollectionItems(httpClient) {
84
- return (mediaCollectionId) => (0, collections_v1_collection_media_collections_universal_js_1.listCollectionItems)(mediaCollectionId,
85
- // @ts-ignore
86
- { httpClient });
87
- }
88
- exports.listCollectionItems = listCollectionItems;
89
- exports.onCollectionCreated = (0, sdk_types_1.EventDefinition)('wix.collections.collection_created', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
90
- {
91
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
92
- paths: [
93
- { path: 'entity.createdDate' },
94
- { path: 'entity.items.addedDate' },
95
- { path: 'entity.items.updatedDate' },
96
- { path: 'metadata.eventTime' },
97
- ],
98
- },
99
- {
100
- transformFn: float_1.transformRESTFloatToSDKFloat,
101
- paths: [
102
- { path: 'entity.items.sortOrder' },
103
- { path: 'entity.items.photoMetadata.focalPoint.x' },
104
- { path: 'entity.items.photoMetadata.focalPoint.y' },
105
- { path: 'entity.items.videoMetadata.posters.focalPoint.x' },
106
- { path: 'entity.items.videoMetadata.posters.focalPoint.y' },
107
- { path: 'entity.items.photoMetadata.unsharpMasking.amount' },
108
- { path: 'entity.items.photoMetadata.unsharpMasking.radius' },
109
- { path: 'entity.items.photoMetadata.unsharpMasking.threshold' },
110
- ],
111
- },
112
- ])))();
113
- var collections_v1_collection_media_collections_universal_js_2 = require("./collections-v1-collection-media-collections.universal.js");
114
- Object.defineProperty(exports, "DataType", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.DataType; } });
115
- Object.defineProperty(exports, "LinkRel", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.LinkRel; } });
116
- Object.defineProperty(exports, "MediaOwner", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.MediaOwner; } });
117
- Object.defineProperty(exports, "MemberStatus", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.MemberStatus; } });
118
- Object.defineProperty(exports, "PrivacySettings", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.PrivacySettings; } });
119
- Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.Source; } });
120
- Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.Status; } });
121
- Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.Type; } });
122
- Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return collections_v1_collection_media_collections_universal_js_2.WebhookIdentityType; } });
123
- //# sourceMappingURL=collections-v1-collection-media-collections.public.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collections-v1-collection-media-collections.public.js","sourceRoot":"","sources":["../../../../src/collections-v1-collection-media-collections.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,8CAA+E;AAC/E,yIAgCoE;AAEvD,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,wBAAwB,EAAE,CAAC;AAErE,SAAgB,GAAG,CAAC,UAAsB;IACxC,OAAO,CAAC,iBAAyB,EAAE,OAAoB,EAAE,EAAE,CACzD,IAAA,8DAAY,EACV,iBAAiB,EACjB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,kBAQC;AAcD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,CAAC,MAAc,EAAE,OAAuC,EAAE,EAAE,CACjE,IAAA,iFAA+B,EAC7B,MAAM,EACN,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,wDAUC;AAaD,SAAgB,iBAAiB,CAC/B,UAAsB;IAEtB,OAAO,CACL,WAGC,EACD,EAAE,CACF,IAAA,4EAA0B,EACxB,WAAW;IACX,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAdD,8CAcC;AAWD,SAAgB,IAAI,CAAC,UAAsB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iD,EAAE;YAC3D,EAAE,IAAI,EAAE,kDAAkD,EAAE;YAC5D,EAAE,IAAI,EAAE,kDAAkD,EAAE;YAC5D,EAAE,IAAI,EAAE,qDAAqD,EAAE;SAChE;KACF;CACF,CAAC,CACH,CACJ,EAA6B,CAAC;AAE/B,uIA6GoE;AAzFlE,oJAAA,QAAQ,OAAA;AAgCR,mJAAA,OAAO,OAAA;AAiBP,sJAAA,UAAU,OAAA;AAIV,wJAAA,YAAY,OAAA;AAWZ,2JAAA,eAAe,OAAA;AAQf,kJAAA,MAAM,OAAA;AACN,kJAAA,MAAM,OAAA;AAIN,gJAAA,IAAI,OAAA;AAQJ,+JAAA,mBAAmB,OAAA"}
@@ -1,94 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MemberStatus = exports.WebhookIdentityType = exports.Status = exports.PrivacySettings = exports.MediaOwner = exports.Source = exports.DataType = exports.LinkRel = exports.Type = void 0;
4
- var Type;
5
- (function (Type) {
6
- /** Undefined */
7
- Type["Undefined"] = "Undefined";
8
- /** external link */
9
- Type["External"] = "External";
10
- /** link to wix pages */
11
- Type["Internal"] = "Internal";
12
- })(Type || (exports.Type = Type = {}));
13
- /**
14
- * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.
15
- * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
16
- * Following are the accepted 'rel' types by Wix applications.
17
- */
18
- var LinkRel;
19
- (function (LinkRel) {
20
- /** default (not implemented) */
21
- LinkRel["unknown_link_rel"] = "unknown_link_rel";
22
- /** Indicates that the current document's original author or publisher does not endorse the referenced document. */
23
- LinkRel["nofollow"] = "nofollow";
24
- /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */
25
- LinkRel["noopener"] = "noopener";
26
- /** No Referer header will be included. Additionally, has the same effect as noopener. */
27
- LinkRel["noreferrer"] = "noreferrer";
28
- /** Indicates a link that resulted from advertisements or paid placements. */
29
- LinkRel["sponsored"] = "sponsored";
30
- })(LinkRel || (exports.LinkRel = LinkRel = {}));
31
- var DataType;
32
- (function (DataType) {
33
- DataType["Undefined"] = "Undefined";
34
- DataType["Photo"] = "Photo";
35
- DataType["Video"] = "Video";
36
- DataType["Text"] = "Text";
37
- })(DataType || (exports.DataType = DataType = {}));
38
- var Source;
39
- (function (Source) {
40
- /** Undefined */
41
- Source["Undefined"] = "Undefined";
42
- /** Youtube */
43
- Source["Youtube"] = "Youtube";
44
- /** Vimeo */
45
- Source["Vimeo"] = "Vimeo";
46
- /** Custom */
47
- Source["Custom"] = "Custom";
48
- })(Source || (exports.Source = Source = {}));
49
- var MediaOwner;
50
- (function (MediaOwner) {
51
- /** Undefined */
52
- MediaOwner["Undefined"] = "Undefined";
53
- /** Wix */
54
- MediaOwner["Wix"] = "Wix";
55
- /** DeviantArt */
56
- MediaOwner["DeviantArt"] = "DeviantArt";
57
- /** Custom */
58
- MediaOwner["Custom"] = "Custom";
59
- })(MediaOwner || (exports.MediaOwner = MediaOwner = {}));
60
- var PrivacySettings;
61
- (function (PrivacySettings) {
62
- /** Undefined */
63
- PrivacySettings["Undefined"] = "Undefined";
64
- /** Public */
65
- PrivacySettings["Public"] = "Public";
66
- /** Secret */
67
- PrivacySettings["Secret"] = "Secret";
68
- })(PrivacySettings || (exports.PrivacySettings = PrivacySettings = {}));
69
- var Status;
70
- (function (Status) {
71
- Status["UNKNOWN"] = "UNKNOWN";
72
- Status["HANDLED"] = "HANDLED";
73
- Status["NOTHING_TO_HANDLE"] = "NOTHING_TO_HANDLE";
74
- })(Status || (exports.Status = Status = {}));
75
- var WebhookIdentityType;
76
- (function (WebhookIdentityType) {
77
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
78
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
79
- WebhookIdentityType["MEMBER"] = "MEMBER";
80
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
81
- WebhookIdentityType["APP"] = "APP";
82
- })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
83
- var MemberStatus;
84
- (function (MemberStatus) {
85
- /** Undefined */
86
- MemberStatus["UNDEFINED"] = "UNDEFINED";
87
- /** Not a member */
88
- MemberStatus["NOT_MEMBER"] = "NOT_MEMBER";
89
- /** Member */
90
- MemberStatus["MEMBER"] = "MEMBER";
91
- /** Admin */
92
- MemberStatus["ADMIN"] = "ADMIN";
93
- })(MemberStatus || (exports.MemberStatus = MemberStatus = {}));
94
- //# sourceMappingURL=collections-v1-collection-media-collections.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collections-v1-collection-media-collections.types.js","sourceRoot":"","sources":["../../../../src/collections-v1-collection-media-collections.types.ts"],"names":[],"mappings":";;;AAuIA,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,gBAAgB;IAChB,+BAAuB,CAAA;IACvB,oBAAoB;IACpB,6BAAqB,CAAA;IACrB,wBAAwB;IACxB,6BAAqB,CAAA;AACvB,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AA4DD;;;;GAIG;AACH,IAAY,OAWX;AAXD,WAAY,OAAO;IACjB,gCAAgC;IAChC,gDAAqC,CAAA;IACrC,mHAAmH;IACnH,gCAAqB,CAAA;IACrB,gJAAgJ;IAChJ,gCAAqB,CAAA;IACrB,yFAAyF;IACzF,oCAAyB,CAAA;IACzB,6EAA6E;IAC7E,kCAAuB,CAAA;AACzB,CAAC,EAXW,OAAO,uBAAP,OAAO,QAWlB;AAwGD,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,mCAAuB,CAAA;IACvB,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;AACf,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AA8DD,IAAY,MASX;AATD,WAAY,MAAM;IAChB,gBAAgB;IAChB,iCAAuB,CAAA;IACvB,cAAc;IACd,6BAAmB,CAAA;IACnB,YAAY;IACZ,yBAAe,CAAA;IACf,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