@wix/auto_sdk_portfolio_synced-project 1.0.13 → 1.0.15

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 (134) hide show
  1. package/build/index.d.mts +49 -0
  2. package/build/index.d.ts +49 -0
  3. package/build/index.js +471 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +437 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +49 -0
  8. package/build/internal/index.d.ts +49 -0
  9. package/build/internal/index.js +471 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +437 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +176 -0
  14. package/build/internal/meta.d.ts +176 -0
  15. package/build/internal/meta.js +290 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +259 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/{cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.d.ts → internal/portfolio-syncedprojects-v1-synced-project-synced-project.universal-Bnf15fH5.d.mts} +102 -80
  20. package/build/internal/{cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.d.ts → portfolio-syncedprojects-v1-synced-project-synced-project.universal-Bnf15fH5.d.ts} +102 -80
  21. package/build/meta.d.mts +176 -0
  22. package/build/meta.d.ts +176 -0
  23. package/build/meta.js +290 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +259 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.d.ts → portfolio-syncedprojects-v1-synced-project-synced-project.universal-Bnf15fH5.d.mts} +102 -80
  28. package/build/{es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.d.ts → portfolio-syncedprojects-v1-synced-project-synced-project.universal-Bnf15fH5.d.ts} +102 -80
  29. package/package.json +12 -11
  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/portfolio-syncedprojects-v1-synced-project-synced-project.context.d.ts +0 -9
  40. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js +0 -18
  41. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js.map +0 -1
  42. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.d.ts +0 -11
  43. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js +0 -160
  44. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js.map +0 -1
  45. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.d.ts +0 -28
  46. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js +0 -123
  47. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js.map +0 -1
  48. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.d.ts +0 -43
  49. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js +0 -43
  50. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js.map +0 -1
  51. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js +0 -137
  52. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js.map +0 -1
  53. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.d.ts +0 -928
  54. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js +0 -357
  55. package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.d.ts +0 -9
  67. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js +0 -9
  68. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js.map +0 -1
  69. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.d.ts +0 -11
  70. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js +0 -152
  71. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js.map +0 -1
  72. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.d.ts +0 -28
  73. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js +0 -92
  74. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js.map +0 -1
  75. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.d.ts +0 -43
  76. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js +0 -29
  77. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js.map +0 -1
  78. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js +0 -134
  79. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js.map +0 -1
  80. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.d.ts +0 -928
  81. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js +0 -326
  82. package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.d.ts +0 -9
  93. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js +0 -18
  94. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js.map +0 -1
  95. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.d.ts +0 -11
  96. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js +0 -160
  97. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js.map +0 -1
  98. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.d.ts +0 -28
  99. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js +0 -123
  100. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js.map +0 -1
  101. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.d.ts +0 -43
  102. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js +0 -43
  103. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js.map +0 -1
  104. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js +0 -137
  105. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js.map +0 -1
  106. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.d.ts +0 -928
  107. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js +0 -357
  108. package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.d.ts +0 -9
  119. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js +0 -9
  120. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js.map +0 -1
  121. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.d.ts +0 -11
  122. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js +0 -152
  123. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js.map +0 -1
  124. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.d.ts +0 -28
  125. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js +0 -92
  126. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js.map +0 -1
  127. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.d.ts +0 -43
  128. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js +0 -29
  129. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js.map +0 -1
  130. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js +0 -134
  131. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js.map +0 -1
  132. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.d.ts +0 -928
  133. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js +0 -326
  134. package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js.map +0 -1
@@ -1,928 +0,0 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
- export interface SyncedProject {
3
- /**
4
- * Project ID in Portfolio - if project was yet to be create, will be None
5
- * @format GUID
6
- */
7
- portfolioProjectId?: string | null;
8
- /**
9
- * External Project ID
10
- * @maxLength 50
11
- */
12
- externalId?: string;
13
- /**
14
- * Project name
15
- * @maxLength 100
16
- */
17
- title?: string | null;
18
- /** Project media count */
19
- mediaCount?: number;
20
- /**
21
- * Project image url
22
- * @format WEB_URL
23
- */
24
- coverImage?: string | null;
25
- /**
26
- * Project url in external
27
- * @format WEB_URL
28
- */
29
- link?: string | null;
30
- /**
31
- * Represents the last time project was synced - returned only if external project is synced
32
- * @readonly
33
- */
34
- lastSynced?: Date | null;
35
- /** External Project synced status */
36
- status?: SyncStatusWithLiterals;
37
- }
38
- export declare enum SyncStatus {
39
- /** Project was not synced */
40
- NOT_SYNCED = "NOT_SYNCED",
41
- /** Project is in pending state */
42
- PENDING = "PENDING",
43
- /** Project is in syncing state */
44
- SYNCING = "SYNCING",
45
- /** Project was synced */
46
- SYNCED = "SYNCED"
47
- }
48
- /** @enumType */
49
- export type SyncStatusWithLiterals = SyncStatus | 'NOT_SYNCED' | 'PENDING' | 'SYNCING' | 'SYNCED';
50
- export interface SyncingProjectEvent {
51
- /** Provider appDefId */
52
- appDefId?: string;
53
- /** External Project ID */
54
- externalProjectId?: string;
55
- /** Portfolio Project ID */
56
- portfolioProjectId?: string;
57
- /** When the first event was produced, and started syncing */
58
- firstProduceTimestamp?: Date | null;
59
- /** Project Revision */
60
- projectSyncRevision?: Date | null;
61
- }
62
- export interface SyncProjectPagingEvent {
63
- /** Provider appDefId */
64
- appDefId?: string;
65
- /** External Project ID */
66
- externalProjectId?: string;
67
- /** Portfolio Project ID */
68
- portfolioProjectId?: string;
69
- /** Next page cursor */
70
- nextPageCursor?: string | null;
71
- /** Project Revision */
72
- projectSyncRevision?: Date | null;
73
- }
74
- export interface SyncSiteEvent {
75
- /**
76
- * Portfolio instance id
77
- * @format GUID
78
- */
79
- instanceId?: string;
80
- /** Paging */
81
- paging?: CursorPaging;
82
- }
83
- export interface CursorPaging {
84
- /**
85
- * Maximum number of items to return in the results.
86
- * @max 100
87
- */
88
- limit?: number | null;
89
- /**
90
- * Pointer to the next or previous page in the list of results.
91
- *
92
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
93
- * Not relevant for the first request.
94
- * @maxLength 16000
95
- */
96
- cursor?: string | null;
97
- }
98
- export interface SyncProjectRequest {
99
- /** Provider appDefId */
100
- appDefId: string;
101
- /** External Project ID */
102
- externalId: string;
103
- }
104
- export interface GetProjectsRequest {
105
- /** Provider appDefId */
106
- appDefId: string;
107
- /** Paging */
108
- paging?: CursorPaging;
109
- }
110
- export interface GetProjectsResponse {
111
- /** Provider appDefId */
112
- projects?: SyncedProject[];
113
- /** Paging metadata */
114
- metadata?: PagingMetadataV2;
115
- }
116
- export interface PagingMetadataV2 {
117
- /** Number of items returned in the response. */
118
- count?: number | null;
119
- /** Offset that was requested. */
120
- offset?: number | null;
121
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
122
- total?: number | null;
123
- /** Flag that indicates the server failed to calculate the `total` field. */
124
- tooManyToCount?: boolean | null;
125
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
126
- cursors?: Cursors;
127
- }
128
- export interface Cursors {
129
- /**
130
- * Cursor string pointing to the next page in the list of results.
131
- * @maxLength 16000
132
- */
133
- next?: string | null;
134
- /**
135
- * Cursor pointing to the previous page in the list of results.
136
- * @maxLength 16000
137
- */
138
- prev?: string | null;
139
- }
140
- export interface SyncProjectResponse {
141
- /** Portfolio project */
142
- project?: SyncedProject;
143
- }
144
- export interface GetSyncStatusRequest {
145
- /** Provider appDefId */
146
- appDefId: string;
147
- /** External Project ID */
148
- externalId: string;
149
- }
150
- export interface GetSyncStatusResponse {
151
- /** Provider appDefId */
152
- appDefId?: string;
153
- /** External Project ID */
154
- externalId?: string;
155
- /** Synced status */
156
- status?: SyncStatusWithLiterals;
157
- }
158
- export interface StopSyncRequest {
159
- /** Provider appDefId */
160
- appDefId: string;
161
- /** External Project ID */
162
- externalId: string;
163
- }
164
- export interface StopSyncResponse {
165
- /** Provider appDefId */
166
- appDefId?: string;
167
- /** External Project ID */
168
- externalId?: string;
169
- }
170
- export interface GetLoginRedirectableUrlRequest {
171
- /** Provider appDefId */
172
- appDefId: string;
173
- }
174
- export interface GetLoginRedirectableUrlResponse {
175
- /** Provider appDefId */
176
- appDefId?: string;
177
- /** Login url */
178
- url?: string;
179
- }
180
- export interface DomainEvent extends DomainEventBodyOneOf {
181
- createdEvent?: EntityCreatedEvent;
182
- updatedEvent?: EntityUpdatedEvent;
183
- deletedEvent?: EntityDeletedEvent;
184
- actionEvent?: ActionEvent;
185
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
186
- _id?: string;
187
- /**
188
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
189
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
190
- */
191
- entityFqdn?: string;
192
- /**
193
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
194
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
195
- */
196
- slug?: string;
197
- /** ID of the entity associated with the event. */
198
- entityId?: string;
199
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
200
- eventTime?: Date | null;
201
- /**
202
- * Whether the event was triggered as a result of a privacy regulation application
203
- * (for example, GDPR).
204
- */
205
- triggeredByAnonymizeRequest?: boolean | null;
206
- /** If present, indicates the action that triggered the event. */
207
- originatedFrom?: string | null;
208
- /**
209
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
210
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
211
- */
212
- entityEventSequence?: string | null;
213
- }
214
- /** @oneof */
215
- export interface DomainEventBodyOneOf {
216
- createdEvent?: EntityCreatedEvent;
217
- updatedEvent?: EntityUpdatedEvent;
218
- deletedEvent?: EntityDeletedEvent;
219
- actionEvent?: ActionEvent;
220
- }
221
- export interface EntityCreatedEvent {
222
- entity?: string;
223
- }
224
- export interface RestoreInfo {
225
- deletedDate?: Date | null;
226
- }
227
- export interface EntityUpdatedEvent {
228
- /**
229
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
230
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
231
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
232
- */
233
- currentEntity?: string;
234
- }
235
- export interface EntityDeletedEvent {
236
- /** Entity that was deleted. */
237
- deletedEntity?: string | null;
238
- }
239
- export interface ActionEvent {
240
- body?: string;
241
- }
242
- export interface Empty {
243
- }
244
- export interface ItemCreatedMediaCallbackRequest {
245
- appDefId?: string;
246
- /** External Project ID */
247
- projectExternalId?: string;
248
- /** External Project ID */
249
- itemExternalId?: string;
250
- fileName?: string | null;
251
- mediaType?: string | null;
252
- opStatus?: string | null;
253
- fileSize?: number | null;
254
- width?: number | null;
255
- height?: number | null;
256
- fileOutput?: MediaFileOutput;
257
- /** @format GUID */
258
- siteId?: string | null;
259
- }
260
- export interface MediaFileOutput {
261
- video?: MediaVideoOutput[];
262
- image?: MediaImageOutput[];
263
- }
264
- export interface MediaVideoOutput {
265
- key?: string | null;
266
- status?: string | null;
267
- url?: string | null;
268
- quality?: string | null;
269
- duration?: number | null;
270
- width?: number | null;
271
- height?: number | null;
272
- format?: string | null;
273
- }
274
- export interface MediaImageOutput {
275
- key?: string | null;
276
- status?: string | null;
277
- url?: string | null;
278
- width?: number | null;
279
- height?: number | null;
280
- format?: string | null;
281
- }
282
- export interface ItemCreatedMediaCallbackResponse {
283
- }
284
- export interface ProjectCoverImageCreatedMediaCallbackRequest {
285
- appDefId?: string;
286
- /** External Project ID */
287
- projectExternalId?: string;
288
- fileName?: string | null;
289
- mediaType?: string | null;
290
- opStatus?: string | null;
291
- fileSize?: number | null;
292
- width?: number | null;
293
- height?: number | null;
294
- fileOutput?: MediaFileOutput;
295
- /** @format GUID */
296
- siteId?: string | null;
297
- }
298
- export interface ProjectCoverImageCreatedMediaCallbackResponse {
299
- }
300
- export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
301
- /** Emitted on a meta site creation. */
302
- siteCreated?: SiteCreated;
303
- /** Emitted on a meta site transfer completion. */
304
- siteTransferred?: SiteTransferred;
305
- /** Emitted on a meta site deletion. */
306
- siteDeleted?: SiteDeleted;
307
- /** Emitted on a meta site restoration. */
308
- siteUndeleted?: SiteUndeleted;
309
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
310
- sitePublished?: SitePublished;
311
- /** Emitted on a meta site unpublish. */
312
- siteUnpublished?: SiteUnpublished;
313
- /** Emitted when meta site is marked as template. */
314
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
315
- /** Emitted when meta site is marked as a WixSite. */
316
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
317
- /** Emitted when an application is provisioned (installed). */
318
- serviceProvisioned?: ServiceProvisioned;
319
- /** Emitted when an application is removed (uninstalled). */
320
- serviceRemoved?: ServiceRemoved;
321
- /** Emitted when meta site name (URL slug) is changed. */
322
- siteRenamedPayload?: SiteRenamed;
323
- /** Emitted when meta site was permanently deleted. */
324
- hardDeleted?: SiteHardDeleted;
325
- /** Emitted on a namespace change. */
326
- namespaceChanged?: NamespaceChanged;
327
- /** Emitted when Studio is attached. */
328
- studioAssigned?: StudioAssigned;
329
- /** Emitted when Studio is detached. */
330
- studioUnassigned?: StudioUnassigned;
331
- /**
332
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
333
- * the actual URL.
334
- *
335
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
336
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
337
- */
338
- urlChanged?: SiteUrlChanged;
339
- /** Site is marked as PurgedExternally */
340
- sitePurgedExternally?: SitePurgedExternally;
341
- /** Emitted when Odeditor is attached. */
342
- odeditorAssigned?: OdeditorAssigned;
343
- /** Emitted when Odeditor is detached. */
344
- odeditorUnassigned?: OdeditorUnassigned;
345
- /** Emitted when Picasso is attached. */
346
- picassoAssigned?: PicassoAssigned;
347
- /** Emitted when Picasso is detached. */
348
- picassoUnassigned?: PicassoUnassigned;
349
- /**
350
- * A meta site id.
351
- * @format GUID
352
- */
353
- metaSiteId?: string;
354
- /** A meta site version. Monotonically increasing. */
355
- version?: string;
356
- /** A timestamp of the event. */
357
- timestamp?: string;
358
- /**
359
- * TODO(meta-site): Change validation once validations are disabled for consumers
360
- * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
361
- * @maxSize 4000
362
- */
363
- assets?: Asset[];
364
- }
365
- /** @oneof */
366
- export interface MetaSiteSpecialEventPayloadOneOf {
367
- /** Emitted on a meta site creation. */
368
- siteCreated?: SiteCreated;
369
- /** Emitted on a meta site transfer completion. */
370
- siteTransferred?: SiteTransferred;
371
- /** Emitted on a meta site deletion. */
372
- siteDeleted?: SiteDeleted;
373
- /** Emitted on a meta site restoration. */
374
- siteUndeleted?: SiteUndeleted;
375
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
376
- sitePublished?: SitePublished;
377
- /** Emitted on a meta site unpublish. */
378
- siteUnpublished?: SiteUnpublished;
379
- /** Emitted when meta site is marked as template. */
380
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
381
- /** Emitted when meta site is marked as a WixSite. */
382
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
383
- /** Emitted when an application is provisioned (installed). */
384
- serviceProvisioned?: ServiceProvisioned;
385
- /** Emitted when an application is removed (uninstalled). */
386
- serviceRemoved?: ServiceRemoved;
387
- /** Emitted when meta site name (URL slug) is changed. */
388
- siteRenamedPayload?: SiteRenamed;
389
- /** Emitted when meta site was permanently deleted. */
390
- hardDeleted?: SiteHardDeleted;
391
- /** Emitted on a namespace change. */
392
- namespaceChanged?: NamespaceChanged;
393
- /** Emitted when Studio is attached. */
394
- studioAssigned?: StudioAssigned;
395
- /** Emitted when Studio is detached. */
396
- studioUnassigned?: StudioUnassigned;
397
- /**
398
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
399
- * the actual URL.
400
- *
401
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
402
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
403
- */
404
- urlChanged?: SiteUrlChanged;
405
- /** Site is marked as PurgedExternally */
406
- sitePurgedExternally?: SitePurgedExternally;
407
- /** Emitted when Odeditor is attached. */
408
- odeditorAssigned?: OdeditorAssigned;
409
- /** Emitted when Odeditor is detached. */
410
- odeditorUnassigned?: OdeditorUnassigned;
411
- /** Emitted when Picasso is attached. */
412
- picassoAssigned?: PicassoAssigned;
413
- /** Emitted when Picasso is detached. */
414
- picassoUnassigned?: PicassoUnassigned;
415
- }
416
- export interface Asset {
417
- /**
418
- * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
419
- * @maxLength 36
420
- */
421
- appDefId?: string;
422
- /**
423
- * An instance id. For legacy reasons may be UUID or a string.
424
- * @maxLength 200
425
- */
426
- instanceId?: string;
427
- /** An application state. */
428
- state?: StateWithLiterals;
429
- }
430
- export declare enum State {
431
- UNKNOWN = "UNKNOWN",
432
- ENABLED = "ENABLED",
433
- DISABLED = "DISABLED",
434
- PENDING = "PENDING",
435
- DEMO = "DEMO"
436
- }
437
- /** @enumType */
438
- export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
439
- export interface SiteCreated {
440
- /**
441
- * A template identifier (empty if not created from a template).
442
- * @maxLength 36
443
- */
444
- originTemplateId?: string;
445
- /**
446
- * An account id of the owner.
447
- * @format GUID
448
- */
449
- ownerId?: string;
450
- /** A context in which meta site was created. */
451
- context?: SiteCreatedContextWithLiterals;
452
- /**
453
- * A meta site id from which this site was created.
454
- *
455
- * In case of a creation from a template it's a template id.
456
- * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
457
- * @format GUID
458
- */
459
- originMetaSiteId?: string | null;
460
- /**
461
- * A meta site name (URL slug).
462
- * @maxLength 20
463
- */
464
- siteName?: string;
465
- /** A namespace. */
466
- namespace?: NamespaceWithLiterals;
467
- }
468
- export declare enum SiteCreatedContext {
469
- /** A valid option, we don't expose all reasons why site might be created. */
470
- OTHER = "OTHER",
471
- /** A meta site was created from template. */
472
- FROM_TEMPLATE = "FROM_TEMPLATE",
473
- /** A meta site was created by copying of the transfferred meta site. */
474
- DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
475
- /** A copy of existing meta site. */
476
- DUPLICATE = "DUPLICATE",
477
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
478
- OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
479
- /** deprecated A meta site was created for Flash editor. */
480
- FLASH = "FLASH"
481
- }
482
- /** @enumType */
483
- export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
484
- export declare enum Namespace {
485
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
486
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
487
- WIX = "WIX",
488
- /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
489
- SHOUT_OUT = "SHOUT_OUT",
490
- /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
491
- ALBUMS = "ALBUMS",
492
- /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
493
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
494
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
495
- HOTELS = "HOTELS",
496
- /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
497
- CLUBS = "CLUBS",
498
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
499
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
500
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
501
- DEV_SITE = "DEV_SITE",
502
- /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
503
- LOGOS = "LOGOS",
504
- /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
505
- VIDEO_MAKER = "VIDEO_MAKER",
506
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
507
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
508
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
509
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
510
- /**
511
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
512
- *
513
- * Meta site with this namespace will *not* be shown in a user's site list by default.
514
- */
515
- HTML_DRAFT = "HTML_DRAFT",
516
- /**
517
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
518
- * Will be accessible from Site List and will not have a website app.
519
- * Once the user attaches a site, the site will become a regular wixsite.
520
- */
521
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
522
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
523
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
524
- /** It is to be used in the Business First efforts. */
525
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
526
- /** Bookings business flow with no site. */
527
- ANYWHERE = "ANYWHERE",
528
- /** Namespace for Headless Backoffice with no editor */
529
- HEADLESS = "HEADLESS",
530
- /**
531
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
532
- * The site will be used for account level CSM feature for enterprise
533
- */
534
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
535
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
536
- RISE = "RISE",
537
- /**
538
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
539
- * There's a blank site behind the scene but it's blank).
540
- * The Mobile company will be the owner of this namespace.
541
- */
542
- BRANDED_FIRST = "BRANDED_FIRST",
543
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
544
- NOWNIA = "NOWNIA",
545
- /**
546
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
547
- * The Partners company owns this namespace.
548
- */
549
- UGC_TEMPLATE = "UGC_TEMPLATE",
550
- /** Codux Headless Sites */
551
- CODUX = "CODUX",
552
- /** Bobb - AI Design Creator. */
553
- MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
554
- /**
555
- * Shared Blog Site is a unique single site across Enterprise account,
556
- * This site will hold all Blog posts related to the Marketing product.
557
- */
558
- SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
559
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
560
- STANDALONE_FORMS = "STANDALONE_FORMS",
561
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
562
- STANDALONE_EVENTS = "STANDALONE_EVENTS",
563
- /** MIMIR - Siteless account for MIMIR Ai Job runner. */
564
- MIMIR = "MIMIR"
565
- }
566
- /** @enumType */
567
- export type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
568
- /** Site transferred to another user. */
569
- export interface SiteTransferred {
570
- /**
571
- * A previous owner id (user that transfers meta site).
572
- * @format GUID
573
- */
574
- oldOwnerId?: string;
575
- /**
576
- * A new owner id (user that accepts meta site).
577
- * @format GUID
578
- */
579
- newOwnerId?: string;
580
- }
581
- /** Soft deletion of the meta site. Could be restored. */
582
- export interface SiteDeleted {
583
- /** A deletion context. */
584
- deleteContext?: DeleteContext;
585
- }
586
- export interface DeleteContext {
587
- /** When the meta site was deleted. */
588
- dateDeleted?: Date | null;
589
- /** A status. */
590
- deleteStatus?: DeleteStatusWithLiterals;
591
- /**
592
- * A reason (flow).
593
- * @maxLength 255
594
- */
595
- deleteOrigin?: string;
596
- /**
597
- * A service that deleted it.
598
- * @maxLength 255
599
- */
600
- initiatorId?: string | null;
601
- }
602
- export declare enum DeleteStatus {
603
- UNKNOWN = "UNKNOWN",
604
- TRASH = "TRASH",
605
- DELETED = "DELETED",
606
- PENDING_PURGE = "PENDING_PURGE",
607
- PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
608
- }
609
- /** @enumType */
610
- export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
611
- /** Restoration of the meta site. */
612
- export interface SiteUndeleted {
613
- }
614
- /** First publish of a meta site. Or subsequent publish after unpublish. */
615
- export interface SitePublished {
616
- }
617
- export interface SiteUnpublished {
618
- /**
619
- * A list of URLs previously associated with the meta site.
620
- * @maxLength 4000
621
- * @maxSize 10000
622
- */
623
- urls?: string[];
624
- }
625
- export interface SiteMarkedAsTemplate {
626
- }
627
- export interface SiteMarkedAsWixSite {
628
- }
629
- /**
630
- * Represents a service provisioned a site.
631
- *
632
- * Note on `origin_instance_id`:
633
- * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
634
- * This is because of the following scenario:
635
- *
636
- * Imagine you have a template where a third-party application (TPA) includes some stub data,
637
- * such as a product catalog. When you create a site from this template, you inherit this
638
- * default product catalog. However, if the template's product catalog is modified,
639
- * your site will retain the catalog as it was at the time of site creation. This ensures that
640
- * your site remains consistent with what you initially received and does not include any
641
- * changes made to the original template afterward.
642
- * To ensure this, the TPA on the template gets a new instance_id.
643
- */
644
- export interface ServiceProvisioned {
645
- /**
646
- * Either UUID or EmbeddedServiceType.
647
- * @maxLength 36
648
- */
649
- appDefId?: string;
650
- /**
651
- * Not only UUID. Something here could be something weird.
652
- * @maxLength 36
653
- */
654
- instanceId?: string;
655
- /**
656
- * An instance id from which this instance is originated.
657
- * @maxLength 36
658
- */
659
- originInstanceId?: string;
660
- /**
661
- * A version.
662
- * @maxLength 500
663
- */
664
- version?: string | null;
665
- /**
666
- * The origin meta site id
667
- * @format GUID
668
- */
669
- originMetaSiteId?: string | null;
670
- }
671
- export interface ServiceRemoved {
672
- /**
673
- * Either UUID or EmbeddedServiceType.
674
- * @maxLength 36
675
- */
676
- appDefId?: string;
677
- /**
678
- * Not only UUID. Something here could be something weird.
679
- * @maxLength 36
680
- */
681
- instanceId?: string;
682
- /**
683
- * A version.
684
- * @maxLength 500
685
- */
686
- version?: string | null;
687
- }
688
- /** Rename of the site. Meaning, free public url has been changed as well. */
689
- export interface SiteRenamed {
690
- /**
691
- * A new meta site name (URL slug).
692
- * @maxLength 20
693
- */
694
- newSiteName?: string;
695
- /**
696
- * A previous meta site name (URL slug).
697
- * @maxLength 255
698
- */
699
- oldSiteName?: string;
700
- }
701
- /**
702
- * Hard deletion of the meta site.
703
- *
704
- * Could not be restored. Therefore it's desirable to cleanup data.
705
- */
706
- export interface SiteHardDeleted {
707
- /** A deletion context. */
708
- deleteContext?: DeleteContext;
709
- }
710
- export interface NamespaceChanged {
711
- /** A previous namespace. */
712
- oldNamespace?: NamespaceWithLiterals;
713
- /** A new namespace. */
714
- newNamespace?: NamespaceWithLiterals;
715
- }
716
- /** Assigned Studio editor */
717
- export interface StudioAssigned {
718
- }
719
- /** Unassigned Studio editor */
720
- export interface StudioUnassigned {
721
- }
722
- /**
723
- * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
724
- *
725
- * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
726
- * with sites and its urls, you need to listen to another topic/event. Read about it:
727
- *
728
- * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
729
- */
730
- export interface SiteUrlChanged {
731
- }
732
- /**
733
- * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
734
- * Consumed by other teams to remove relevant data.
735
- */
736
- export interface SitePurgedExternally {
737
- /**
738
- * @maxLength 2048
739
- * @maxSize 100
740
- * @deprecated
741
- * @targetRemovalDate 2025-04-15
742
- */
743
- appDefId?: string[];
744
- }
745
- /** Assigned Odeditor */
746
- export interface OdeditorAssigned {
747
- }
748
- /** Unassigned Odeditor */
749
- export interface OdeditorUnassigned {
750
- }
751
- /** Assigned Picasso editor */
752
- export interface PicassoAssigned {
753
- }
754
- /** Unassigned Picasso */
755
- export interface PicassoUnassigned {
756
- }
757
- export interface SyncAllSitesEvent {
758
- /** Paging */
759
- paging?: CursorPaging;
760
- }
761
- export interface MessageEnvelope {
762
- /**
763
- * App instance ID.
764
- * @format GUID
765
- */
766
- instanceId?: string | null;
767
- /**
768
- * Event type.
769
- * @maxLength 150
770
- */
771
- eventType?: string;
772
- /** The identification type and identity data. */
773
- identity?: IdentificationData;
774
- /** Stringify payload. */
775
- data?: string;
776
- }
777
- export interface IdentificationData extends IdentificationDataIdOneOf {
778
- /**
779
- * ID of a site visitor that has not logged in to the site.
780
- * @format GUID
781
- */
782
- anonymousVisitorId?: string;
783
- /**
784
- * ID of a site visitor that has logged in to the site.
785
- * @format GUID
786
- */
787
- memberId?: string;
788
- /**
789
- * ID of a Wix user (site owner, contributor, etc.).
790
- * @format GUID
791
- */
792
- wixUserId?: string;
793
- /**
794
- * ID of an app.
795
- * @format GUID
796
- */
797
- appId?: string;
798
- /** @readonly */
799
- identityType?: WebhookIdentityTypeWithLiterals;
800
- }
801
- /** @oneof */
802
- export interface IdentificationDataIdOneOf {
803
- /**
804
- * ID of a site visitor that has not logged in to the site.
805
- * @format GUID
806
- */
807
- anonymousVisitorId?: string;
808
- /**
809
- * ID of a site visitor that has logged in to the site.
810
- * @format GUID
811
- */
812
- memberId?: string;
813
- /**
814
- * ID of a Wix user (site owner, contributor, etc.).
815
- * @format GUID
816
- */
817
- wixUserId?: string;
818
- /**
819
- * ID of an app.
820
- * @format GUID
821
- */
822
- appId?: string;
823
- }
824
- export declare enum WebhookIdentityType {
825
- UNKNOWN = "UNKNOWN",
826
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
827
- MEMBER = "MEMBER",
828
- WIX_USER = "WIX_USER",
829
- APP = "APP"
830
- }
831
- /** @enumType */
832
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
833
- type SyncedProjectNonNullablePaths = `externalId` | `mediaCount` | `status`;
834
- /**
835
- * Get projects per app
836
- * @param appDefId - Provider appDefId
837
- * @public
838
- * @documentationMaturity preview
839
- * @requiredField appDefId
840
- * @permissionId PORTFOLIO.SYNCED_PROJECTS_READ
841
- * @permissionScope Manage Portfolio
842
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
843
- * @applicableIdentity APP
844
- * @fqn com.wixpress.portfolio.syncedprojects.spi_host.v1.SyncedProjectsService.GetProjects
845
- */
846
- export declare function getProjects(appDefId: string, options?: GetProjectsOptions): Promise<NonNullablePaths<GetProjectsResponse, {
847
- [P in SyncedProjectNonNullablePaths]: `projects.${number}.${P}`;
848
- }[SyncedProjectNonNullablePaths]>>;
849
- export interface GetProjectsOptions {
850
- /** Paging */
851
- paging?: CursorPaging;
852
- }
853
- /**
854
- * Async Sync project
855
- * @public
856
- * @documentationMaturity preview
857
- * @requiredField identifiers
858
- * @requiredField identifiers.appDefId
859
- * @requiredField identifiers.externalId
860
- * @permissionId PORTFOLIO.SYNCED_PROJECTS_SYNC
861
- * @permissionScope Manage Portfolio
862
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
863
- * @applicableIdentity APP
864
- * @fqn com.wixpress.portfolio.syncedprojects.spi_host.v1.SyncedProjectsService.SyncProject
865
- */
866
- export declare function syncProject(identifiers: NonNullablePaths<SyncProjectIdentifiers, `appDefId` | `externalId`>): Promise<NonNullablePaths<SyncProjectResponse, {
867
- [P in SyncedProjectNonNullablePaths]: `project.${P}`;
868
- }[SyncedProjectNonNullablePaths]>>;
869
- export interface SyncProjectIdentifiers {
870
- /** Provider appDefId */
871
- appDefId: string;
872
- /** External Project ID */
873
- externalId: string;
874
- }
875
- /**
876
- * Get sync status (when was last synced and etc..)
877
- * @public
878
- * @documentationMaturity preview
879
- * @requiredField identifiers
880
- * @requiredField identifiers.appDefId
881
- * @requiredField identifiers.externalId
882
- * @permissionId PORTFOLIO.SYNCED_PROJECTS_READ
883
- * @permissionScope Manage Portfolio
884
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
885
- * @applicableIdentity APP
886
- * @fqn com.wixpress.portfolio.syncedprojects.spi_host.v1.SyncedProjectsService.GetSyncStatus
887
- */
888
- export declare function getSyncStatus(identifiers: NonNullablePaths<GetSyncStatusIdentifiers, `appDefId` | `externalId`>): Promise<NonNullablePaths<GetSyncStatusResponse, `appDefId` | `externalId` | `status`>>;
889
- export interface GetSyncStatusIdentifiers {
890
- /** Provider appDefId */
891
- appDefId: string;
892
- /** External Project ID */
893
- externalId: string;
894
- }
895
- /**
896
- * Stop sync project
897
- * @public
898
- * @documentationMaturity preview
899
- * @requiredField identifiers
900
- * @requiredField identifiers.appDefId
901
- * @requiredField identifiers.externalId
902
- * @permissionId PORTFOLIO.SYNCED_PROJECTS_STOP_SYNC
903
- * @permissionScope Manage Portfolio
904
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
905
- * @applicableIdentity APP
906
- * @fqn com.wixpress.portfolio.syncedprojects.spi_host.v1.SyncedProjectsService.StopSync
907
- */
908
- export declare function stopSync(identifiers: NonNullablePaths<StopSyncIdentifiers, `appDefId` | `externalId`>): Promise<NonNullablePaths<StopSyncResponse, `appDefId` | `externalId`>>;
909
- export interface StopSyncIdentifiers {
910
- /** Provider appDefId */
911
- appDefId: string;
912
- /** External Project ID */
913
- externalId: string;
914
- }
915
- /**
916
- * Get login redirectable url
917
- * @param appDefId - Provider appDefId
918
- * @public
919
- * @documentationMaturity preview
920
- * @requiredField appDefId
921
- * @permissionId PORTFOLIO.SYNCED_PROJECTS_READ
922
- * @permissionScope Manage Portfolio
923
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
924
- * @applicableIdentity APP
925
- * @fqn com.wixpress.portfolio.syncedprojects.spi_host.v1.SyncedProjectsService.GetLoginRedirectableUrl
926
- */
927
- export declare function getLoginRedirectableUrl(appDefId: string): Promise<NonNullablePaths<GetLoginRedirectableUrlResponse, `appDefId` | `url`>>;
928
- export {};