@wix/auto_sdk_portfolio_projects 1.0.1 → 1.0.3
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/build/cjs/src/portfolio-projects-v1-project-projects.types.d.ts +298 -73
- package/build/cjs/src/portfolio-projects-v1-project-projects.types.js +1 -0
- package/build/cjs/src/portfolio-projects-v1-project-projects.types.js.map +1 -1
- package/build/cjs/src/portfolio-projects-v1-project-projects.universal.d.ts +325 -80
- package/build/cjs/src/portfolio-projects-v1-project-projects.universal.js +1 -0
- package/build/cjs/src/portfolio-projects-v1-project-projects.universal.js.map +1 -1
- package/build/es/src/portfolio-projects-v1-project-projects.types.d.ts +298 -73
- package/build/es/src/portfolio-projects-v1-project-projects.types.js +1 -0
- package/build/es/src/portfolio-projects-v1-project-projects.types.js.map +1 -1
- package/build/es/src/portfolio-projects-v1-project-projects.universal.d.ts +325 -80
- package/build/es/src/portfolio-projects-v1-project-projects.universal.js +1 -0
- package/build/es/src/portfolio-projects-v1-project-projects.universal.js.map +1 -1
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.d.ts +298 -73
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.js +1 -0
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.js.map +1 -1
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.universal.d.ts +325 -80
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.universal.js +1 -0
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.universal.js.map +1 -1
- package/build/internal/es/src/portfolio-projects-v1-project-projects.types.d.ts +298 -73
- package/build/internal/es/src/portfolio-projects-v1-project-projects.types.js +1 -0
- package/build/internal/es/src/portfolio-projects-v1-project-projects.types.js.map +1 -1
- package/build/internal/es/src/portfolio-projects-v1-project-projects.universal.d.ts +325 -80
- package/build/internal/es/src/portfolio-projects-v1-project-projects.universal.js +1 -0
- package/build/internal/es/src/portfolio-projects-v1-project-projects.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -6,6 +6,7 @@ export interface Project extends ProjectCoverOneOf {
|
|
|
6
6
|
/**
|
|
7
7
|
* Project ID.
|
|
8
8
|
* @readonly
|
|
9
|
+
* @format GUID
|
|
9
10
|
*/
|
|
10
11
|
id?: string | null;
|
|
11
12
|
/**
|
|
@@ -13,13 +14,20 @@ export interface Project extends ProjectCoverOneOf {
|
|
|
13
14
|
* @readonly
|
|
14
15
|
*/
|
|
15
16
|
revision?: string | null;
|
|
16
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Project title.
|
|
19
|
+
* @maxLength 100
|
|
20
|
+
*/
|
|
17
21
|
title?: string | null;
|
|
18
22
|
/** Project description. */
|
|
19
23
|
description?: string | null;
|
|
20
24
|
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
21
25
|
hidden?: boolean | null;
|
|
22
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* IDs of the collections that include the project.
|
|
28
|
+
* @format GUID
|
|
29
|
+
* @maxSize 1000
|
|
30
|
+
*/
|
|
23
31
|
collectionIds?: string[];
|
|
24
32
|
/** Project details. */
|
|
25
33
|
details?: ProjectDetail[];
|
|
@@ -36,7 +44,7 @@ export interface Project extends ProjectCoverOneOf {
|
|
|
36
44
|
*/
|
|
37
45
|
updatedDate?: Date | null;
|
|
38
46
|
/**
|
|
39
|
-
* Project page URL and
|
|
47
|
+
* Project page URL and relative path. Returned when `includePageUrl` is `true` in the request.
|
|
40
48
|
* @readonly
|
|
41
49
|
*/
|
|
42
50
|
url?: PageUrlV2;
|
|
@@ -90,6 +98,7 @@ export interface UnsharpMasking {
|
|
|
90
98
|
*
|
|
91
99
|
* Min: `0` <br />
|
|
92
100
|
* Max: `5`
|
|
101
|
+
* @max 5
|
|
93
102
|
*/
|
|
94
103
|
amount?: number | null;
|
|
95
104
|
/** Unsharp masking radius in pixels. Controls the sharpening width. */
|
|
@@ -99,6 +108,7 @@ export interface UnsharpMasking {
|
|
|
99
108
|
*
|
|
100
109
|
* Min: `0` <br />
|
|
101
110
|
* Max: `1`
|
|
111
|
+
* @max 1
|
|
102
112
|
*/
|
|
103
113
|
threshold?: number | null;
|
|
104
114
|
}
|
|
@@ -113,7 +123,10 @@ export interface VideoV2 {
|
|
|
113
123
|
id?: string;
|
|
114
124
|
/** Video URL. */
|
|
115
125
|
url?: string;
|
|
116
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* Available resolutions for the video, starting with the optimal resolution.
|
|
128
|
+
* @maxSize 100
|
|
129
|
+
*/
|
|
117
130
|
resolutions?: VideoResolution[];
|
|
118
131
|
/** Video filename. */
|
|
119
132
|
filename?: string | null;
|
|
@@ -158,7 +171,10 @@ export interface ProjectDetailValueOneOf {
|
|
|
158
171
|
export interface DetailsLink {
|
|
159
172
|
/** Display text of the link. */
|
|
160
173
|
text?: string | null;
|
|
161
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* Target URL of the link.
|
|
176
|
+
* @format WEB_URL
|
|
177
|
+
*/
|
|
162
178
|
url?: string | null;
|
|
163
179
|
/**
|
|
164
180
|
* Whether the link opens in a new tab or window. One of:
|
|
@@ -168,15 +184,31 @@ export interface DetailsLink {
|
|
|
168
184
|
target?: string | null;
|
|
169
185
|
}
|
|
170
186
|
export interface ProjectSource {
|
|
171
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* App definition id
|
|
189
|
+
* @immutable
|
|
190
|
+
*/
|
|
172
191
|
appDefId?: string;
|
|
173
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* External source id
|
|
194
|
+
* @immutable
|
|
195
|
+
*/
|
|
174
196
|
externalId?: string;
|
|
175
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Source name
|
|
199
|
+
* @maxLength 100
|
|
200
|
+
* @immutable
|
|
201
|
+
*/
|
|
176
202
|
sourceName?: string;
|
|
177
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* Source description
|
|
205
|
+
* @immutable
|
|
206
|
+
*/
|
|
178
207
|
description?: string | null;
|
|
179
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* link to external source
|
|
210
|
+
* @format WEB_URL
|
|
211
|
+
*/
|
|
180
212
|
link?: string | null;
|
|
181
213
|
/** Sync status */
|
|
182
214
|
syncStatus?: SyncStatus;
|
|
@@ -212,7 +244,10 @@ export interface Keyword {
|
|
|
212
244
|
term?: string;
|
|
213
245
|
/** Whether the keyword is the main focus keyword. */
|
|
214
246
|
isMain?: boolean;
|
|
215
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* The source that added the keyword terms to the SEO settings.
|
|
249
|
+
* @maxLength 1000
|
|
250
|
+
*/
|
|
216
251
|
origin?: string | null;
|
|
217
252
|
}
|
|
218
253
|
export interface Tag {
|
|
@@ -245,7 +280,10 @@ export interface Settings {
|
|
|
245
280
|
* Default: `false` (Auto Redirect is enabled.)
|
|
246
281
|
*/
|
|
247
282
|
preventAutoRedirect?: boolean;
|
|
248
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* User-selected keyword terms for a specific page.
|
|
285
|
+
* @maxSize 5
|
|
286
|
+
*/
|
|
249
287
|
keywords?: Keyword[];
|
|
250
288
|
}
|
|
251
289
|
export interface MenuSettingUpdatedEvent {
|
|
@@ -265,7 +303,10 @@ export interface GetProjectPageDataResponse {
|
|
|
265
303
|
nextProject?: ProjectSlug;
|
|
266
304
|
}
|
|
267
305
|
export interface ProjectSlug {
|
|
268
|
-
/**
|
|
306
|
+
/**
|
|
307
|
+
* Project id
|
|
308
|
+
* @format GUID
|
|
309
|
+
*/
|
|
269
310
|
projectId?: string;
|
|
270
311
|
/** Project slug */
|
|
271
312
|
slug?: string;
|
|
@@ -305,7 +346,10 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
305
346
|
studioAssigned?: StudioAssigned;
|
|
306
347
|
/** Emitted when Studio is detached. */
|
|
307
348
|
studioUnassigned?: StudioUnassigned;
|
|
308
|
-
/**
|
|
349
|
+
/**
|
|
350
|
+
* A meta site id.
|
|
351
|
+
* @format GUID
|
|
352
|
+
*/
|
|
309
353
|
metaSiteId?: string;
|
|
310
354
|
/** A meta site version. Monotonically increasing. */
|
|
311
355
|
version?: string;
|
|
@@ -314,6 +358,7 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
314
358
|
/**
|
|
315
359
|
* TODO(meta-site): Change validation once validations are disabled for consumers
|
|
316
360
|
* More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
|
|
361
|
+
* @maxSize 4000
|
|
317
362
|
*/
|
|
318
363
|
assets?: Asset[];
|
|
319
364
|
}
|
|
@@ -351,9 +396,15 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
351
396
|
studioUnassigned?: StudioUnassigned;
|
|
352
397
|
}
|
|
353
398
|
export interface Asset {
|
|
354
|
-
/**
|
|
399
|
+
/**
|
|
400
|
+
* An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
|
|
401
|
+
* @maxLength 36
|
|
402
|
+
*/
|
|
355
403
|
appDefId?: string;
|
|
356
|
-
/**
|
|
404
|
+
/**
|
|
405
|
+
* An instance id. For legacy reasons may be UUID or a string.
|
|
406
|
+
* @maxLength 200
|
|
407
|
+
*/
|
|
357
408
|
instanceId?: string;
|
|
358
409
|
/** An application state. */
|
|
359
410
|
state?: State;
|
|
@@ -366,9 +417,15 @@ export declare enum State {
|
|
|
366
417
|
DEMO = "DEMO"
|
|
367
418
|
}
|
|
368
419
|
export interface SiteCreated {
|
|
369
|
-
/**
|
|
420
|
+
/**
|
|
421
|
+
* A template identifier (empty if not created from a template).
|
|
422
|
+
* @maxLength 36
|
|
423
|
+
*/
|
|
370
424
|
originTemplateId?: string;
|
|
371
|
-
/**
|
|
425
|
+
/**
|
|
426
|
+
* An account id of the owner.
|
|
427
|
+
* @format GUID
|
|
428
|
+
*/
|
|
372
429
|
ownerId?: string;
|
|
373
430
|
/** A context in which meta site was created. */
|
|
374
431
|
context?: SiteCreatedContext;
|
|
@@ -377,9 +434,13 @@ export interface SiteCreated {
|
|
|
377
434
|
*
|
|
378
435
|
* In case of a creation from a template it's a template id.
|
|
379
436
|
* In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
|
|
437
|
+
* @format GUID
|
|
380
438
|
*/
|
|
381
439
|
originMetaSiteId?: string | null;
|
|
382
|
-
/**
|
|
440
|
+
/**
|
|
441
|
+
* A meta site name (URL slug).
|
|
442
|
+
* @maxLength 20
|
|
443
|
+
*/
|
|
383
444
|
siteName?: string;
|
|
384
445
|
/** A namespace. */
|
|
385
446
|
namespace?: Namespace;
|
|
@@ -476,9 +537,15 @@ export declare enum Namespace {
|
|
|
476
537
|
}
|
|
477
538
|
/** Site transferred to another user. */
|
|
478
539
|
export interface SiteTransferred {
|
|
479
|
-
/**
|
|
540
|
+
/**
|
|
541
|
+
* A previous owner id (user that transfers meta site).
|
|
542
|
+
* @format GUID
|
|
543
|
+
*/
|
|
480
544
|
oldOwnerId?: string;
|
|
481
|
-
/**
|
|
545
|
+
/**
|
|
546
|
+
* A new owner id (user that accepts meta site).
|
|
547
|
+
* @format GUID
|
|
548
|
+
*/
|
|
482
549
|
newOwnerId?: string;
|
|
483
550
|
}
|
|
484
551
|
/** Soft deletion of the meta site. Could be restored. */
|
|
@@ -491,16 +558,23 @@ export interface DeleteContext {
|
|
|
491
558
|
dateDeleted?: Date | null;
|
|
492
559
|
/** A status. */
|
|
493
560
|
deleteStatus?: DeleteStatus;
|
|
494
|
-
/**
|
|
561
|
+
/**
|
|
562
|
+
* A reason (flow).
|
|
563
|
+
* @maxLength 255
|
|
564
|
+
*/
|
|
495
565
|
deleteOrigin?: string;
|
|
496
|
-
/**
|
|
566
|
+
/**
|
|
567
|
+
* A service that deleted it.
|
|
568
|
+
* @maxLength 255
|
|
569
|
+
*/
|
|
497
570
|
initiatorId?: string | null;
|
|
498
571
|
}
|
|
499
572
|
export declare enum DeleteStatus {
|
|
500
573
|
UNKNOWN = "UNKNOWN",
|
|
501
574
|
TRASH = "TRASH",
|
|
502
575
|
DELETED = "DELETED",
|
|
503
|
-
PENDING_PURGE = "PENDING_PURGE"
|
|
576
|
+
PENDING_PURGE = "PENDING_PURGE",
|
|
577
|
+
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
504
578
|
}
|
|
505
579
|
/** Restoration of the meta site. */
|
|
506
580
|
export interface SiteUndeleted {
|
|
@@ -509,7 +583,11 @@ export interface SiteUndeleted {
|
|
|
509
583
|
export interface SitePublished {
|
|
510
584
|
}
|
|
511
585
|
export interface SiteUnpublished {
|
|
512
|
-
/**
|
|
586
|
+
/**
|
|
587
|
+
* A list of URLs previously associated with the meta site.
|
|
588
|
+
* @maxLength 4000
|
|
589
|
+
* @maxSize 10000
|
|
590
|
+
*/
|
|
513
591
|
urls?: string[];
|
|
514
592
|
}
|
|
515
593
|
export interface SiteMarkedAsTemplate {
|
|
@@ -532,30 +610,60 @@ export interface SiteMarkedAsWixSite {
|
|
|
532
610
|
* To ensure this, the TPA on the template gets a new instance_id.
|
|
533
611
|
*/
|
|
534
612
|
export interface ServiceProvisioned {
|
|
535
|
-
/**
|
|
613
|
+
/**
|
|
614
|
+
* Either UUID or EmbeddedServiceType.
|
|
615
|
+
* @maxLength 36
|
|
616
|
+
*/
|
|
536
617
|
appDefId?: string;
|
|
537
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* Not only UUID. Something here could be something weird.
|
|
620
|
+
* @maxLength 36
|
|
621
|
+
*/
|
|
538
622
|
instanceId?: string;
|
|
539
|
-
/**
|
|
623
|
+
/**
|
|
624
|
+
* An instance id from which this instance is originated.
|
|
625
|
+
* @maxLength 36
|
|
626
|
+
*/
|
|
540
627
|
originInstanceId?: string;
|
|
541
|
-
/**
|
|
628
|
+
/**
|
|
629
|
+
* A version.
|
|
630
|
+
* @maxLength 500
|
|
631
|
+
*/
|
|
542
632
|
version?: string | null;
|
|
543
|
-
/**
|
|
633
|
+
/**
|
|
634
|
+
* The origin meta site id
|
|
635
|
+
* @format GUID
|
|
636
|
+
*/
|
|
544
637
|
originMetaSiteId?: string | null;
|
|
545
638
|
}
|
|
546
639
|
export interface ServiceRemoved {
|
|
547
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* Either UUID or EmbeddedServiceType.
|
|
642
|
+
* @maxLength 36
|
|
643
|
+
*/
|
|
548
644
|
appDefId?: string;
|
|
549
|
-
/**
|
|
645
|
+
/**
|
|
646
|
+
* Not only UUID. Something here could be something weird.
|
|
647
|
+
* @maxLength 36
|
|
648
|
+
*/
|
|
550
649
|
instanceId?: string;
|
|
551
|
-
/**
|
|
650
|
+
/**
|
|
651
|
+
* A version.
|
|
652
|
+
* @maxLength 500
|
|
653
|
+
*/
|
|
552
654
|
version?: string | null;
|
|
553
655
|
}
|
|
554
656
|
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
555
657
|
export interface SiteRenamed {
|
|
556
|
-
/**
|
|
658
|
+
/**
|
|
659
|
+
* A new meta site name (URL slug).
|
|
660
|
+
* @maxLength 20
|
|
661
|
+
*/
|
|
557
662
|
newSiteName?: string;
|
|
558
|
-
/**
|
|
663
|
+
/**
|
|
664
|
+
* A previous meta site name (URL slug).
|
|
665
|
+
* @maxLength 255
|
|
666
|
+
*/
|
|
559
667
|
oldSiteName?: string;
|
|
560
668
|
}
|
|
561
669
|
/**
|
|
@@ -582,9 +690,15 @@ export interface StudioUnassigned {
|
|
|
582
690
|
export interface Empty {
|
|
583
691
|
}
|
|
584
692
|
export interface MessageEnvelope {
|
|
585
|
-
/**
|
|
693
|
+
/**
|
|
694
|
+
* App instance ID.
|
|
695
|
+
* @format GUID
|
|
696
|
+
*/
|
|
586
697
|
instanceId?: string | null;
|
|
587
|
-
/**
|
|
698
|
+
/**
|
|
699
|
+
* Event type.
|
|
700
|
+
* @maxLength 150
|
|
701
|
+
*/
|
|
588
702
|
eventType?: string;
|
|
589
703
|
/** The identification type and identity data. */
|
|
590
704
|
identity?: IdentificationData;
|
|
@@ -592,26 +706,50 @@ export interface MessageEnvelope {
|
|
|
592
706
|
data?: string;
|
|
593
707
|
}
|
|
594
708
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
595
|
-
/**
|
|
709
|
+
/**
|
|
710
|
+
* ID of a site visitor that has not logged in to the site.
|
|
711
|
+
* @format GUID
|
|
712
|
+
*/
|
|
596
713
|
anonymousVisitorId?: string;
|
|
597
|
-
/**
|
|
714
|
+
/**
|
|
715
|
+
* ID of a site visitor that has logged in to the site.
|
|
716
|
+
* @format GUID
|
|
717
|
+
*/
|
|
598
718
|
memberId?: string;
|
|
599
|
-
/**
|
|
719
|
+
/**
|
|
720
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
721
|
+
* @format GUID
|
|
722
|
+
*/
|
|
600
723
|
wixUserId?: string;
|
|
601
|
-
/**
|
|
724
|
+
/**
|
|
725
|
+
* ID of an app.
|
|
726
|
+
* @format GUID
|
|
727
|
+
*/
|
|
602
728
|
appId?: string;
|
|
603
729
|
/** @readonly */
|
|
604
730
|
identityType?: WebhookIdentityType;
|
|
605
731
|
}
|
|
606
732
|
/** @oneof */
|
|
607
733
|
export interface IdentificationDataIdOneOf {
|
|
608
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* ID of a site visitor that has not logged in to the site.
|
|
736
|
+
* @format GUID
|
|
737
|
+
*/
|
|
609
738
|
anonymousVisitorId?: string;
|
|
610
|
-
/**
|
|
739
|
+
/**
|
|
740
|
+
* ID of a site visitor that has logged in to the site.
|
|
741
|
+
* @format GUID
|
|
742
|
+
*/
|
|
611
743
|
memberId?: string;
|
|
612
|
-
/**
|
|
744
|
+
/**
|
|
745
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
746
|
+
* @format GUID
|
|
747
|
+
*/
|
|
613
748
|
wixUserId?: string;
|
|
614
|
-
/**
|
|
749
|
+
/**
|
|
750
|
+
* ID of an app.
|
|
751
|
+
* @format GUID
|
|
752
|
+
*/
|
|
615
753
|
appId?: string;
|
|
616
754
|
}
|
|
617
755
|
export declare enum WebhookIdentityType {
|
|
@@ -622,9 +760,15 @@ export declare enum WebhookIdentityType {
|
|
|
622
760
|
APP = "APP"
|
|
623
761
|
}
|
|
624
762
|
export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
625
|
-
/**
|
|
763
|
+
/**
|
|
764
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
765
|
+
* @format GUID
|
|
766
|
+
*/
|
|
626
767
|
metaSiteId?: string;
|
|
627
|
-
/**
|
|
768
|
+
/**
|
|
769
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
770
|
+
* @format GUID
|
|
771
|
+
*/
|
|
628
772
|
siteId?: string;
|
|
629
773
|
/** Invalidate by App */
|
|
630
774
|
app?: App;
|
|
@@ -634,7 +778,10 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
634
778
|
uri?: URI;
|
|
635
779
|
/** Invalidate by file (for media files such as PDFs) */
|
|
636
780
|
file?: File;
|
|
637
|
-
/**
|
|
781
|
+
/**
|
|
782
|
+
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
783
|
+
* @maxLength 256
|
|
784
|
+
*/
|
|
638
785
|
reason?: string | null;
|
|
639
786
|
/** Is local DS */
|
|
640
787
|
localDc?: boolean;
|
|
@@ -642,9 +789,15 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
642
789
|
}
|
|
643
790
|
/** @oneof */
|
|
644
791
|
export interface InvalidateCacheGetByOneOf {
|
|
645
|
-
/**
|
|
792
|
+
/**
|
|
793
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
794
|
+
* @format GUID
|
|
795
|
+
*/
|
|
646
796
|
metaSiteId?: string;
|
|
647
|
-
/**
|
|
797
|
+
/**
|
|
798
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
799
|
+
* @format GUID
|
|
800
|
+
*/
|
|
648
801
|
siteId?: string;
|
|
649
802
|
/** Invalidate by App */
|
|
650
803
|
app?: App;
|
|
@@ -656,37 +809,71 @@ export interface InvalidateCacheGetByOneOf {
|
|
|
656
809
|
file?: File;
|
|
657
810
|
}
|
|
658
811
|
export interface App {
|
|
659
|
-
/**
|
|
812
|
+
/**
|
|
813
|
+
* The AppDefId
|
|
814
|
+
* @minLength 1
|
|
815
|
+
*/
|
|
660
816
|
appDefId?: string;
|
|
661
|
-
/**
|
|
817
|
+
/**
|
|
818
|
+
* The instance Id
|
|
819
|
+
* @format GUID
|
|
820
|
+
*/
|
|
662
821
|
instanceId?: string;
|
|
663
822
|
}
|
|
664
823
|
export interface Page {
|
|
665
|
-
/**
|
|
824
|
+
/**
|
|
825
|
+
* the msid the page is on
|
|
826
|
+
* @format GUID
|
|
827
|
+
*/
|
|
666
828
|
metaSiteId?: string;
|
|
667
|
-
/**
|
|
829
|
+
/**
|
|
830
|
+
* Invalidate by Page ID
|
|
831
|
+
* @minLength 1
|
|
832
|
+
*/
|
|
668
833
|
pageId?: string;
|
|
669
834
|
}
|
|
670
835
|
export interface URI {
|
|
671
|
-
/**
|
|
836
|
+
/**
|
|
837
|
+
* the msid the URI is on
|
|
838
|
+
* @format GUID
|
|
839
|
+
*/
|
|
672
840
|
metaSiteId?: string;
|
|
673
|
-
/**
|
|
841
|
+
/**
|
|
842
|
+
* URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
843
|
+
* @minLength 1
|
|
844
|
+
*/
|
|
674
845
|
uriPath?: string;
|
|
675
846
|
}
|
|
676
847
|
export interface File {
|
|
677
|
-
/**
|
|
848
|
+
/**
|
|
849
|
+
* the msid the file is related to
|
|
850
|
+
* @format GUID
|
|
851
|
+
*/
|
|
678
852
|
metaSiteId?: string;
|
|
679
|
-
/**
|
|
853
|
+
/**
|
|
854
|
+
* Invalidate by filename (for media files such as PDFs)
|
|
855
|
+
* @minLength 1
|
|
856
|
+
* @maxLength 256
|
|
857
|
+
*/
|
|
680
858
|
fileName?: string;
|
|
681
859
|
}
|
|
682
860
|
export interface SyncProjectWithCollectionMappings {
|
|
683
|
-
/**
|
|
861
|
+
/**
|
|
862
|
+
* Id of recently updated Project
|
|
863
|
+
* @format GUID
|
|
864
|
+
*/
|
|
684
865
|
projectId?: string;
|
|
685
|
-
/**
|
|
866
|
+
/**
|
|
867
|
+
* fields that were updated in the given project
|
|
868
|
+
* @maxSize 100
|
|
869
|
+
*/
|
|
686
870
|
fieldMaskPaths?: string[];
|
|
687
871
|
}
|
|
688
872
|
export interface DeletedProjectRestored {
|
|
689
|
-
/**
|
|
873
|
+
/**
|
|
874
|
+
* the id of the project that was restored
|
|
875
|
+
* @format GUID
|
|
876
|
+
*/
|
|
690
877
|
projectId?: string;
|
|
691
878
|
/** timestamp for when the project was originally deleted. */
|
|
692
879
|
deletionTimestamp?: Date | null;
|
|
@@ -700,7 +887,10 @@ export interface CreateProjectResponse {
|
|
|
700
887
|
project?: Project;
|
|
701
888
|
}
|
|
702
889
|
export interface GetProjectRequest {
|
|
703
|
-
/**
|
|
890
|
+
/**
|
|
891
|
+
* ID of the project to retrieve.
|
|
892
|
+
* @format GUID
|
|
893
|
+
*/
|
|
704
894
|
projectId: string;
|
|
705
895
|
/** Whether to include the project's relative path and full URL in the response. Default: `false` */
|
|
706
896
|
includePageUrl?: boolean | null;
|
|
@@ -716,13 +906,17 @@ export interface ListProjectsRequest {
|
|
|
716
906
|
includePageUrl?: boolean | null;
|
|
717
907
|
}
|
|
718
908
|
export interface CursorPaging {
|
|
719
|
-
/**
|
|
909
|
+
/**
|
|
910
|
+
* Maximum number of items to return in the results.
|
|
911
|
+
* @max 100
|
|
912
|
+
*/
|
|
720
913
|
limit?: number | null;
|
|
721
914
|
/**
|
|
722
915
|
* Pointer to the next or previous page in the list of results.
|
|
723
916
|
*
|
|
724
917
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
725
918
|
* Not relevant for the first request.
|
|
919
|
+
* @maxLength 16000
|
|
726
920
|
*/
|
|
727
921
|
cursor?: string | null;
|
|
728
922
|
}
|
|
@@ -745,9 +939,15 @@ export interface PagingMetadataV2 {
|
|
|
745
939
|
cursors?: Cursors;
|
|
746
940
|
}
|
|
747
941
|
export interface Cursors {
|
|
748
|
-
/**
|
|
942
|
+
/**
|
|
943
|
+
* Cursor string pointing to the next page in the list of results.
|
|
944
|
+
* @maxLength 16000
|
|
945
|
+
*/
|
|
749
946
|
next?: string | null;
|
|
750
|
-
/**
|
|
947
|
+
/**
|
|
948
|
+
* Cursor pointing to the previous page in the list of results.
|
|
949
|
+
* @maxLength 16000
|
|
950
|
+
*/
|
|
751
951
|
prev?: string | null;
|
|
752
952
|
}
|
|
753
953
|
export interface UpdateProjectRequest {
|
|
@@ -759,7 +959,10 @@ export interface UpdateProjectResponse {
|
|
|
759
959
|
project?: Project;
|
|
760
960
|
}
|
|
761
961
|
export interface BulkUpdateProjectsRequest {
|
|
762
|
-
/**
|
|
962
|
+
/**
|
|
963
|
+
* Projects to update.
|
|
964
|
+
* @maxSize 100
|
|
965
|
+
*/
|
|
763
966
|
projects?: MaskedProject[];
|
|
764
967
|
/** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
|
|
765
968
|
returnFullEntity?: boolean | null;
|
|
@@ -807,11 +1010,17 @@ export interface BulkActionMetadata {
|
|
|
807
1010
|
undetailedFailures?: number;
|
|
808
1011
|
}
|
|
809
1012
|
export interface DeleteProjectRequest {
|
|
810
|
-
/**
|
|
1013
|
+
/**
|
|
1014
|
+
* ID of the project to delete.
|
|
1015
|
+
* @format GUID
|
|
1016
|
+
*/
|
|
811
1017
|
projectId: string;
|
|
812
1018
|
}
|
|
813
1019
|
export interface DeleteProjectResponse {
|
|
814
|
-
/**
|
|
1020
|
+
/**
|
|
1021
|
+
* ID of the deleted project.
|
|
1022
|
+
* @format GUID
|
|
1023
|
+
*/
|
|
815
1024
|
projectId?: string;
|
|
816
1025
|
}
|
|
817
1026
|
export interface QueryProjectsRequest {
|
|
@@ -850,7 +1059,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
850
1059
|
cursorPaging?: CursorPaging;
|
|
851
1060
|
}
|
|
852
1061
|
export interface Sorting {
|
|
853
|
-
/**
|
|
1062
|
+
/**
|
|
1063
|
+
* Name of the field to sort by.
|
|
1064
|
+
* @maxLength 512
|
|
1065
|
+
*/
|
|
854
1066
|
fieldName?: string;
|
|
855
1067
|
/** Sort order. */
|
|
856
1068
|
order?: SortOrder;
|
|
@@ -872,9 +1084,15 @@ export interface QueryProjectsResponse {
|
|
|
872
1084
|
metadata?: PagingMetadataV2;
|
|
873
1085
|
}
|
|
874
1086
|
export interface UpdateProjectOrderInCollectionRequest {
|
|
875
|
-
/**
|
|
1087
|
+
/**
|
|
1088
|
+
* ID of the project to update.
|
|
1089
|
+
* @format GUID
|
|
1090
|
+
*/
|
|
876
1091
|
projectId: string;
|
|
877
|
-
/**
|
|
1092
|
+
/**
|
|
1093
|
+
* Collection ID.
|
|
1094
|
+
* @format GUID
|
|
1095
|
+
*/
|
|
878
1096
|
collectionId: string;
|
|
879
1097
|
/** Index that determines the placement of a project within the collection. */
|
|
880
1098
|
sortOrder: number | null;
|
|
@@ -884,7 +1102,10 @@ export interface UpdateProjectOrderInCollectionResponse {
|
|
|
884
1102
|
projectInCollection?: ProjectsInCollections;
|
|
885
1103
|
}
|
|
886
1104
|
export interface ProjectsInCollections {
|
|
887
|
-
/**
|
|
1105
|
+
/**
|
|
1106
|
+
* Collection ID.
|
|
1107
|
+
* @format GUID
|
|
1108
|
+
*/
|
|
888
1109
|
collectionId?: string;
|
|
889
1110
|
/** Project object. */
|
|
890
1111
|
project?: Project;
|
|
@@ -897,6 +1118,7 @@ export interface ProjectsInCollections {
|
|
|
897
1118
|
/**
|
|
898
1119
|
* Project placement ID.
|
|
899
1120
|
* @readonly
|
|
1121
|
+
* @format GUID
|
|
900
1122
|
*/
|
|
901
1123
|
id?: string | null;
|
|
902
1124
|
}
|
|
@@ -913,7 +1135,10 @@ export interface QueryProjectWithCollectionInfoResponse {
|
|
|
913
1135
|
metadata?: PagingMetadataV2;
|
|
914
1136
|
}
|
|
915
1137
|
export interface RestoreProjectFromTrashBinRequest {
|
|
916
|
-
/**
|
|
1138
|
+
/**
|
|
1139
|
+
* id of deleted project to restore from trash bin.
|
|
1140
|
+
* @format GUID
|
|
1141
|
+
*/
|
|
917
1142
|
projectId?: string;
|
|
918
1143
|
}
|
|
919
1144
|
export interface RestoreProjectFromTrashBinResponse {
|
|
@@ -119,6 +119,7 @@ var DeleteStatus;
|
|
|
119
119
|
DeleteStatus["TRASH"] = "TRASH";
|
|
120
120
|
DeleteStatus["DELETED"] = "DELETED";
|
|
121
121
|
DeleteStatus["PENDING_PURGE"] = "PENDING_PURGE";
|
|
122
|
+
DeleteStatus["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
122
123
|
})(DeleteStatus || (exports.DeleteStatus = DeleteStatus = {}));
|
|
123
124
|
var WebhookIdentityType;
|
|
124
125
|
(function (WebhookIdentityType) {
|