@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?: string;
|
|
@@ -73,6 +81,7 @@ export interface UnsharpMasking {
|
|
|
73
81
|
*
|
|
74
82
|
* Min: `0` <br />
|
|
75
83
|
* Max: `5`
|
|
84
|
+
* @max 5
|
|
76
85
|
*/
|
|
77
86
|
amount?: number | null;
|
|
78
87
|
/** Unsharp masking radius in pixels. Controls the sharpening width. */
|
|
@@ -82,6 +91,7 @@ export interface UnsharpMasking {
|
|
|
82
91
|
*
|
|
83
92
|
* Min: `0` <br />
|
|
84
93
|
* Max: `1`
|
|
94
|
+
* @max 1
|
|
85
95
|
*/
|
|
86
96
|
threshold?: number | null;
|
|
87
97
|
}
|
|
@@ -129,7 +139,10 @@ export interface ProjectDetailValueOneOf {
|
|
|
129
139
|
export interface DetailsLink {
|
|
130
140
|
/** Display text of the link. */
|
|
131
141
|
text?: string | null;
|
|
132
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* Target URL of the link.
|
|
144
|
+
* @format WEB_URL
|
|
145
|
+
*/
|
|
133
146
|
url?: string | null;
|
|
134
147
|
/**
|
|
135
148
|
* Whether the link opens in a new tab or window. One of:
|
|
@@ -139,15 +152,31 @@ export interface DetailsLink {
|
|
|
139
152
|
target?: string | null;
|
|
140
153
|
}
|
|
141
154
|
export interface ProjectSource {
|
|
142
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* App definition id
|
|
157
|
+
* @immutable
|
|
158
|
+
*/
|
|
143
159
|
appDefId?: string;
|
|
144
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* External source id
|
|
162
|
+
* @immutable
|
|
163
|
+
*/
|
|
145
164
|
externalId?: string;
|
|
146
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Source name
|
|
167
|
+
* @maxLength 100
|
|
168
|
+
* @immutable
|
|
169
|
+
*/
|
|
147
170
|
sourceName?: string;
|
|
148
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* Source description
|
|
173
|
+
* @immutable
|
|
174
|
+
*/
|
|
149
175
|
description?: string | null;
|
|
150
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* link to external source
|
|
178
|
+
* @format WEB_URL
|
|
179
|
+
*/
|
|
151
180
|
link?: string | null;
|
|
152
181
|
/** Sync status */
|
|
153
182
|
syncStatus?: SyncStatus;
|
|
@@ -177,7 +206,10 @@ export interface Keyword {
|
|
|
177
206
|
term?: string;
|
|
178
207
|
/** Whether the keyword is the main focus keyword. */
|
|
179
208
|
isMain?: boolean;
|
|
180
|
-
/**
|
|
209
|
+
/**
|
|
210
|
+
* The source that added the keyword terms to the SEO settings.
|
|
211
|
+
* @maxLength 1000
|
|
212
|
+
*/
|
|
181
213
|
origin?: string | null;
|
|
182
214
|
}
|
|
183
215
|
export interface Tag {
|
|
@@ -210,7 +242,10 @@ export interface Settings {
|
|
|
210
242
|
* Default: `false` (Auto Redirect is enabled.)
|
|
211
243
|
*/
|
|
212
244
|
preventAutoRedirect?: boolean;
|
|
213
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* User-selected keyword terms for a specific page.
|
|
247
|
+
* @maxSize 5
|
|
248
|
+
*/
|
|
214
249
|
keywords?: Keyword[];
|
|
215
250
|
}
|
|
216
251
|
export interface MenuSettingUpdatedEvent {
|
|
@@ -230,7 +265,10 @@ export interface GetProjectPageDataResponse {
|
|
|
230
265
|
nextProject?: ProjectSlug;
|
|
231
266
|
}
|
|
232
267
|
export interface ProjectSlug {
|
|
233
|
-
/**
|
|
268
|
+
/**
|
|
269
|
+
* Project id
|
|
270
|
+
* @format GUID
|
|
271
|
+
*/
|
|
234
272
|
projectId?: string;
|
|
235
273
|
/** Project slug */
|
|
236
274
|
slug?: string;
|
|
@@ -270,7 +308,10 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
270
308
|
studioAssigned?: StudioAssigned;
|
|
271
309
|
/** Emitted when Studio is detached. */
|
|
272
310
|
studioUnassigned?: StudioUnassigned;
|
|
273
|
-
/**
|
|
311
|
+
/**
|
|
312
|
+
* A meta site id.
|
|
313
|
+
* @format GUID
|
|
314
|
+
*/
|
|
274
315
|
metaSiteId?: string;
|
|
275
316
|
/** A meta site version. Monotonically increasing. */
|
|
276
317
|
version?: string;
|
|
@@ -279,6 +320,7 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
279
320
|
/**
|
|
280
321
|
* TODO(meta-site): Change validation once validations are disabled for consumers
|
|
281
322
|
* More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
|
|
323
|
+
* @maxSize 4000
|
|
282
324
|
*/
|
|
283
325
|
assets?: Asset[];
|
|
284
326
|
}
|
|
@@ -316,9 +358,15 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
316
358
|
studioUnassigned?: StudioUnassigned;
|
|
317
359
|
}
|
|
318
360
|
export interface Asset {
|
|
319
|
-
/**
|
|
361
|
+
/**
|
|
362
|
+
* An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
|
|
363
|
+
* @maxLength 36
|
|
364
|
+
*/
|
|
320
365
|
appDefId?: string;
|
|
321
|
-
/**
|
|
366
|
+
/**
|
|
367
|
+
* An instance id. For legacy reasons may be UUID or a string.
|
|
368
|
+
* @maxLength 200
|
|
369
|
+
*/
|
|
322
370
|
instanceId?: string;
|
|
323
371
|
/** An application state. */
|
|
324
372
|
state?: State;
|
|
@@ -331,9 +379,15 @@ export declare enum State {
|
|
|
331
379
|
DEMO = "DEMO"
|
|
332
380
|
}
|
|
333
381
|
export interface SiteCreated {
|
|
334
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* A template identifier (empty if not created from a template).
|
|
384
|
+
* @maxLength 36
|
|
385
|
+
*/
|
|
335
386
|
originTemplateId?: string;
|
|
336
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* An account id of the owner.
|
|
389
|
+
* @format GUID
|
|
390
|
+
*/
|
|
337
391
|
ownerId?: string;
|
|
338
392
|
/** A context in which meta site was created. */
|
|
339
393
|
context?: SiteCreatedContext;
|
|
@@ -342,9 +396,13 @@ export interface SiteCreated {
|
|
|
342
396
|
*
|
|
343
397
|
* In case of a creation from a template it's a template id.
|
|
344
398
|
* In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
|
|
399
|
+
* @format GUID
|
|
345
400
|
*/
|
|
346
401
|
originMetaSiteId?: string | null;
|
|
347
|
-
/**
|
|
402
|
+
/**
|
|
403
|
+
* A meta site name (URL slug).
|
|
404
|
+
* @maxLength 20
|
|
405
|
+
*/
|
|
348
406
|
siteName?: string;
|
|
349
407
|
/** A namespace. */
|
|
350
408
|
namespace?: Namespace;
|
|
@@ -441,9 +499,15 @@ export declare enum Namespace {
|
|
|
441
499
|
}
|
|
442
500
|
/** Site transferred to another user. */
|
|
443
501
|
export interface SiteTransferred {
|
|
444
|
-
/**
|
|
502
|
+
/**
|
|
503
|
+
* A previous owner id (user that transfers meta site).
|
|
504
|
+
* @format GUID
|
|
505
|
+
*/
|
|
445
506
|
oldOwnerId?: string;
|
|
446
|
-
/**
|
|
507
|
+
/**
|
|
508
|
+
* A new owner id (user that accepts meta site).
|
|
509
|
+
* @format GUID
|
|
510
|
+
*/
|
|
447
511
|
newOwnerId?: string;
|
|
448
512
|
}
|
|
449
513
|
/** Soft deletion of the meta site. Could be restored. */
|
|
@@ -456,16 +520,23 @@ export interface DeleteContext {
|
|
|
456
520
|
dateDeleted?: Date | null;
|
|
457
521
|
/** A status. */
|
|
458
522
|
deleteStatus?: DeleteStatus;
|
|
459
|
-
/**
|
|
523
|
+
/**
|
|
524
|
+
* A reason (flow).
|
|
525
|
+
* @maxLength 255
|
|
526
|
+
*/
|
|
460
527
|
deleteOrigin?: string;
|
|
461
|
-
/**
|
|
528
|
+
/**
|
|
529
|
+
* A service that deleted it.
|
|
530
|
+
* @maxLength 255
|
|
531
|
+
*/
|
|
462
532
|
initiatorId?: string | null;
|
|
463
533
|
}
|
|
464
534
|
export declare enum DeleteStatus {
|
|
465
535
|
UNKNOWN = "UNKNOWN",
|
|
466
536
|
TRASH = "TRASH",
|
|
467
537
|
DELETED = "DELETED",
|
|
468
|
-
PENDING_PURGE = "PENDING_PURGE"
|
|
538
|
+
PENDING_PURGE = "PENDING_PURGE",
|
|
539
|
+
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
469
540
|
}
|
|
470
541
|
/** Restoration of the meta site. */
|
|
471
542
|
export interface SiteUndeleted {
|
|
@@ -474,7 +545,11 @@ export interface SiteUndeleted {
|
|
|
474
545
|
export interface SitePublished {
|
|
475
546
|
}
|
|
476
547
|
export interface SiteUnpublished {
|
|
477
|
-
/**
|
|
548
|
+
/**
|
|
549
|
+
* A list of URLs previously associated with the meta site.
|
|
550
|
+
* @maxLength 4000
|
|
551
|
+
* @maxSize 10000
|
|
552
|
+
*/
|
|
478
553
|
urls?: string[];
|
|
479
554
|
}
|
|
480
555
|
export interface SiteMarkedAsTemplate {
|
|
@@ -497,30 +572,60 @@ export interface SiteMarkedAsWixSite {
|
|
|
497
572
|
* To ensure this, the TPA on the template gets a new instance_id.
|
|
498
573
|
*/
|
|
499
574
|
export interface ServiceProvisioned {
|
|
500
|
-
/**
|
|
575
|
+
/**
|
|
576
|
+
* Either UUID or EmbeddedServiceType.
|
|
577
|
+
* @maxLength 36
|
|
578
|
+
*/
|
|
501
579
|
appDefId?: string;
|
|
502
|
-
/**
|
|
580
|
+
/**
|
|
581
|
+
* Not only UUID. Something here could be something weird.
|
|
582
|
+
* @maxLength 36
|
|
583
|
+
*/
|
|
503
584
|
instanceId?: string;
|
|
504
|
-
/**
|
|
585
|
+
/**
|
|
586
|
+
* An instance id from which this instance is originated.
|
|
587
|
+
* @maxLength 36
|
|
588
|
+
*/
|
|
505
589
|
originInstanceId?: string;
|
|
506
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* A version.
|
|
592
|
+
* @maxLength 500
|
|
593
|
+
*/
|
|
507
594
|
version?: string | null;
|
|
508
|
-
/**
|
|
595
|
+
/**
|
|
596
|
+
* The origin meta site id
|
|
597
|
+
* @format GUID
|
|
598
|
+
*/
|
|
509
599
|
originMetaSiteId?: string | null;
|
|
510
600
|
}
|
|
511
601
|
export interface ServiceRemoved {
|
|
512
|
-
/**
|
|
602
|
+
/**
|
|
603
|
+
* Either UUID or EmbeddedServiceType.
|
|
604
|
+
* @maxLength 36
|
|
605
|
+
*/
|
|
513
606
|
appDefId?: string;
|
|
514
|
-
/**
|
|
607
|
+
/**
|
|
608
|
+
* Not only UUID. Something here could be something weird.
|
|
609
|
+
* @maxLength 36
|
|
610
|
+
*/
|
|
515
611
|
instanceId?: string;
|
|
516
|
-
/**
|
|
612
|
+
/**
|
|
613
|
+
* A version.
|
|
614
|
+
* @maxLength 500
|
|
615
|
+
*/
|
|
517
616
|
version?: string | null;
|
|
518
617
|
}
|
|
519
618
|
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
520
619
|
export interface SiteRenamed {
|
|
521
|
-
/**
|
|
620
|
+
/**
|
|
621
|
+
* A new meta site name (URL slug).
|
|
622
|
+
* @maxLength 20
|
|
623
|
+
*/
|
|
522
624
|
newSiteName?: string;
|
|
523
|
-
/**
|
|
625
|
+
/**
|
|
626
|
+
* A previous meta site name (URL slug).
|
|
627
|
+
* @maxLength 255
|
|
628
|
+
*/
|
|
524
629
|
oldSiteName?: string;
|
|
525
630
|
}
|
|
526
631
|
/**
|
|
@@ -547,9 +652,15 @@ export interface StudioUnassigned {
|
|
|
547
652
|
export interface Empty {
|
|
548
653
|
}
|
|
549
654
|
export interface MessageEnvelope {
|
|
550
|
-
/**
|
|
655
|
+
/**
|
|
656
|
+
* App instance ID.
|
|
657
|
+
* @format GUID
|
|
658
|
+
*/
|
|
551
659
|
instanceId?: string | null;
|
|
552
|
-
/**
|
|
660
|
+
/**
|
|
661
|
+
* Event type.
|
|
662
|
+
* @maxLength 150
|
|
663
|
+
*/
|
|
553
664
|
eventType?: string;
|
|
554
665
|
/** The identification type and identity data. */
|
|
555
666
|
identity?: IdentificationData;
|
|
@@ -557,26 +668,50 @@ export interface MessageEnvelope {
|
|
|
557
668
|
data?: string;
|
|
558
669
|
}
|
|
559
670
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
560
|
-
/**
|
|
671
|
+
/**
|
|
672
|
+
* ID of a site visitor that has not logged in to the site.
|
|
673
|
+
* @format GUID
|
|
674
|
+
*/
|
|
561
675
|
anonymousVisitorId?: string;
|
|
562
|
-
/**
|
|
676
|
+
/**
|
|
677
|
+
* ID of a site visitor that has logged in to the site.
|
|
678
|
+
* @format GUID
|
|
679
|
+
*/
|
|
563
680
|
memberId?: string;
|
|
564
|
-
/**
|
|
681
|
+
/**
|
|
682
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
683
|
+
* @format GUID
|
|
684
|
+
*/
|
|
565
685
|
wixUserId?: string;
|
|
566
|
-
/**
|
|
686
|
+
/**
|
|
687
|
+
* ID of an app.
|
|
688
|
+
* @format GUID
|
|
689
|
+
*/
|
|
567
690
|
appId?: string;
|
|
568
691
|
/** @readonly */
|
|
569
692
|
identityType?: WebhookIdentityType;
|
|
570
693
|
}
|
|
571
694
|
/** @oneof */
|
|
572
695
|
export interface IdentificationDataIdOneOf {
|
|
573
|
-
/**
|
|
696
|
+
/**
|
|
697
|
+
* ID of a site visitor that has not logged in to the site.
|
|
698
|
+
* @format GUID
|
|
699
|
+
*/
|
|
574
700
|
anonymousVisitorId?: string;
|
|
575
|
-
/**
|
|
701
|
+
/**
|
|
702
|
+
* ID of a site visitor that has logged in to the site.
|
|
703
|
+
* @format GUID
|
|
704
|
+
*/
|
|
576
705
|
memberId?: string;
|
|
577
|
-
/**
|
|
706
|
+
/**
|
|
707
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
708
|
+
* @format GUID
|
|
709
|
+
*/
|
|
578
710
|
wixUserId?: string;
|
|
579
|
-
/**
|
|
711
|
+
/**
|
|
712
|
+
* ID of an app.
|
|
713
|
+
* @format GUID
|
|
714
|
+
*/
|
|
580
715
|
appId?: string;
|
|
581
716
|
}
|
|
582
717
|
export declare enum WebhookIdentityType {
|
|
@@ -587,9 +722,15 @@ export declare enum WebhookIdentityType {
|
|
|
587
722
|
APP = "APP"
|
|
588
723
|
}
|
|
589
724
|
export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
590
|
-
/**
|
|
725
|
+
/**
|
|
726
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
727
|
+
* @format GUID
|
|
728
|
+
*/
|
|
591
729
|
metaSiteId?: string;
|
|
592
|
-
/**
|
|
730
|
+
/**
|
|
731
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
732
|
+
* @format GUID
|
|
733
|
+
*/
|
|
593
734
|
siteId?: string;
|
|
594
735
|
/** Invalidate by App */
|
|
595
736
|
app?: App;
|
|
@@ -599,7 +740,10 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
599
740
|
uri?: URI;
|
|
600
741
|
/** Invalidate by file (for media files such as PDFs) */
|
|
601
742
|
file?: File;
|
|
602
|
-
/**
|
|
743
|
+
/**
|
|
744
|
+
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
745
|
+
* @maxLength 256
|
|
746
|
+
*/
|
|
603
747
|
reason?: string | null;
|
|
604
748
|
/** Is local DS */
|
|
605
749
|
localDc?: boolean;
|
|
@@ -607,9 +751,15 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
|
607
751
|
}
|
|
608
752
|
/** @oneof */
|
|
609
753
|
export interface InvalidateCacheGetByOneOf {
|
|
610
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
756
|
+
* @format GUID
|
|
757
|
+
*/
|
|
611
758
|
metaSiteId?: string;
|
|
612
|
-
/**
|
|
759
|
+
/**
|
|
760
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
761
|
+
* @format GUID
|
|
762
|
+
*/
|
|
613
763
|
siteId?: string;
|
|
614
764
|
/** Invalidate by App */
|
|
615
765
|
app?: App;
|
|
@@ -621,37 +771,71 @@ export interface InvalidateCacheGetByOneOf {
|
|
|
621
771
|
file?: File;
|
|
622
772
|
}
|
|
623
773
|
export interface App {
|
|
624
|
-
/**
|
|
774
|
+
/**
|
|
775
|
+
* The AppDefId
|
|
776
|
+
* @minLength 1
|
|
777
|
+
*/
|
|
625
778
|
appDefId?: string;
|
|
626
|
-
/**
|
|
779
|
+
/**
|
|
780
|
+
* The instance Id
|
|
781
|
+
* @format GUID
|
|
782
|
+
*/
|
|
627
783
|
instanceId?: string;
|
|
628
784
|
}
|
|
629
785
|
export interface Page {
|
|
630
|
-
/**
|
|
786
|
+
/**
|
|
787
|
+
* the msid the page is on
|
|
788
|
+
* @format GUID
|
|
789
|
+
*/
|
|
631
790
|
metaSiteId?: string;
|
|
632
|
-
/**
|
|
791
|
+
/**
|
|
792
|
+
* Invalidate by Page ID
|
|
793
|
+
* @minLength 1
|
|
794
|
+
*/
|
|
633
795
|
pageId?: string;
|
|
634
796
|
}
|
|
635
797
|
export interface URI {
|
|
636
|
-
/**
|
|
798
|
+
/**
|
|
799
|
+
* the msid the URI is on
|
|
800
|
+
* @format GUID
|
|
801
|
+
*/
|
|
637
802
|
metaSiteId?: string;
|
|
638
|
-
/**
|
|
803
|
+
/**
|
|
804
|
+
* URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
805
|
+
* @minLength 1
|
|
806
|
+
*/
|
|
639
807
|
uriPath?: string;
|
|
640
808
|
}
|
|
641
809
|
export interface File {
|
|
642
|
-
/**
|
|
810
|
+
/**
|
|
811
|
+
* the msid the file is related to
|
|
812
|
+
* @format GUID
|
|
813
|
+
*/
|
|
643
814
|
metaSiteId?: string;
|
|
644
|
-
/**
|
|
815
|
+
/**
|
|
816
|
+
* Invalidate by filename (for media files such as PDFs)
|
|
817
|
+
* @minLength 1
|
|
818
|
+
* @maxLength 256
|
|
819
|
+
*/
|
|
645
820
|
fileName?: string;
|
|
646
821
|
}
|
|
647
822
|
export interface SyncProjectWithCollectionMappings {
|
|
648
|
-
/**
|
|
823
|
+
/**
|
|
824
|
+
* Id of recently updated Project
|
|
825
|
+
* @format GUID
|
|
826
|
+
*/
|
|
649
827
|
projectId?: string;
|
|
650
|
-
/**
|
|
828
|
+
/**
|
|
829
|
+
* fields that were updated in the given project
|
|
830
|
+
* @maxSize 100
|
|
831
|
+
*/
|
|
651
832
|
fieldMaskPaths?: string[];
|
|
652
833
|
}
|
|
653
834
|
export interface DeletedProjectRestored {
|
|
654
|
-
/**
|
|
835
|
+
/**
|
|
836
|
+
* the id of the project that was restored
|
|
837
|
+
* @format GUID
|
|
838
|
+
*/
|
|
655
839
|
projectId?: string;
|
|
656
840
|
/** timestamp for when the project was originally deleted. */
|
|
657
841
|
deletionTimestamp?: Date | null;
|
|
@@ -665,7 +849,10 @@ export interface CreateProjectResponse {
|
|
|
665
849
|
project?: Project;
|
|
666
850
|
}
|
|
667
851
|
export interface GetProjectRequest {
|
|
668
|
-
/**
|
|
852
|
+
/**
|
|
853
|
+
* ID of the project to retrieve.
|
|
854
|
+
* @format GUID
|
|
855
|
+
*/
|
|
669
856
|
projectId: string;
|
|
670
857
|
/** Whether to include the project's relative path and full URL in the response. Default: `false` */
|
|
671
858
|
includePageUrl?: boolean | null;
|
|
@@ -681,13 +868,17 @@ export interface ListProjectsRequest {
|
|
|
681
868
|
includePageUrl?: boolean | null;
|
|
682
869
|
}
|
|
683
870
|
export interface CursorPaging {
|
|
684
|
-
/**
|
|
871
|
+
/**
|
|
872
|
+
* Maximum number of items to return in the results.
|
|
873
|
+
* @max 100
|
|
874
|
+
*/
|
|
685
875
|
limit?: number | null;
|
|
686
876
|
/**
|
|
687
877
|
* Pointer to the next or previous page in the list of results.
|
|
688
878
|
*
|
|
689
879
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
690
880
|
* Not relevant for the first request.
|
|
881
|
+
* @maxLength 16000
|
|
691
882
|
*/
|
|
692
883
|
cursor?: string | null;
|
|
693
884
|
}
|
|
@@ -710,9 +901,15 @@ export interface PagingMetadataV2 {
|
|
|
710
901
|
cursors?: Cursors;
|
|
711
902
|
}
|
|
712
903
|
export interface Cursors {
|
|
713
|
-
/**
|
|
904
|
+
/**
|
|
905
|
+
* Cursor string pointing to the next page in the list of results.
|
|
906
|
+
* @maxLength 16000
|
|
907
|
+
*/
|
|
714
908
|
next?: string | null;
|
|
715
|
-
/**
|
|
909
|
+
/**
|
|
910
|
+
* Cursor pointing to the previous page in the list of results.
|
|
911
|
+
* @maxLength 16000
|
|
912
|
+
*/
|
|
716
913
|
prev?: string | null;
|
|
717
914
|
}
|
|
718
915
|
export interface UpdateProjectRequest {
|
|
@@ -724,7 +921,10 @@ export interface UpdateProjectResponse {
|
|
|
724
921
|
project?: Project;
|
|
725
922
|
}
|
|
726
923
|
export interface BulkUpdateProjectsRequest {
|
|
727
|
-
/**
|
|
924
|
+
/**
|
|
925
|
+
* Projects to update.
|
|
926
|
+
* @maxSize 100
|
|
927
|
+
*/
|
|
728
928
|
projects?: MaskedProject[];
|
|
729
929
|
/** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
|
|
730
930
|
returnFullEntity?: boolean | null;
|
|
@@ -772,11 +972,17 @@ export interface BulkActionMetadata {
|
|
|
772
972
|
undetailedFailures?: number;
|
|
773
973
|
}
|
|
774
974
|
export interface DeleteProjectRequest {
|
|
775
|
-
/**
|
|
975
|
+
/**
|
|
976
|
+
* ID of the project to delete.
|
|
977
|
+
* @format GUID
|
|
978
|
+
*/
|
|
776
979
|
projectId: string;
|
|
777
980
|
}
|
|
778
981
|
export interface DeleteProjectResponse {
|
|
779
|
-
/**
|
|
982
|
+
/**
|
|
983
|
+
* ID of the deleted project.
|
|
984
|
+
* @format GUID
|
|
985
|
+
*/
|
|
780
986
|
projectId?: string;
|
|
781
987
|
}
|
|
782
988
|
export interface QueryProjectsRequest {
|
|
@@ -815,7 +1021,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
815
1021
|
cursorPaging?: CursorPaging;
|
|
816
1022
|
}
|
|
817
1023
|
export interface Sorting {
|
|
818
|
-
/**
|
|
1024
|
+
/**
|
|
1025
|
+
* Name of the field to sort by.
|
|
1026
|
+
* @maxLength 512
|
|
1027
|
+
*/
|
|
819
1028
|
fieldName?: string;
|
|
820
1029
|
/** Sort order. */
|
|
821
1030
|
order?: SortOrder;
|
|
@@ -837,9 +1046,15 @@ export interface QueryProjectsResponse {
|
|
|
837
1046
|
metadata?: PagingMetadataV2;
|
|
838
1047
|
}
|
|
839
1048
|
export interface UpdateProjectOrderInCollectionRequest {
|
|
840
|
-
/**
|
|
1049
|
+
/**
|
|
1050
|
+
* ID of the project to update.
|
|
1051
|
+
* @format GUID
|
|
1052
|
+
*/
|
|
841
1053
|
projectId: string;
|
|
842
|
-
/**
|
|
1054
|
+
/**
|
|
1055
|
+
* Collection ID.
|
|
1056
|
+
* @format GUID
|
|
1057
|
+
*/
|
|
843
1058
|
collectionId: string;
|
|
844
1059
|
/** Index that determines the placement of a project within the collection. */
|
|
845
1060
|
sortOrder: number | null;
|
|
@@ -849,7 +1064,10 @@ export interface UpdateProjectOrderInCollectionResponse {
|
|
|
849
1064
|
projectInCollection?: ProjectsInCollections;
|
|
850
1065
|
}
|
|
851
1066
|
export interface ProjectsInCollections {
|
|
852
|
-
/**
|
|
1067
|
+
/**
|
|
1068
|
+
* Collection ID.
|
|
1069
|
+
* @format GUID
|
|
1070
|
+
*/
|
|
853
1071
|
collectionId?: string;
|
|
854
1072
|
/** Project object. */
|
|
855
1073
|
project?: Project;
|
|
@@ -862,6 +1080,7 @@ export interface ProjectsInCollections {
|
|
|
862
1080
|
/**
|
|
863
1081
|
* Project placement ID.
|
|
864
1082
|
* @readonly
|
|
1083
|
+
* @format GUID
|
|
865
1084
|
*/
|
|
866
1085
|
_id?: string | null;
|
|
867
1086
|
}
|
|
@@ -878,7 +1097,10 @@ export interface QueryProjectWithCollectionInfoResponse {
|
|
|
878
1097
|
metadata?: PagingMetadataV2;
|
|
879
1098
|
}
|
|
880
1099
|
export interface RestoreProjectFromTrashBinRequest {
|
|
881
|
-
/**
|
|
1100
|
+
/**
|
|
1101
|
+
* id of deleted project to restore from trash bin.
|
|
1102
|
+
* @format GUID
|
|
1103
|
+
*/
|
|
882
1104
|
projectId?: string;
|
|
883
1105
|
}
|
|
884
1106
|
export interface RestoreProjectFromTrashBinResponse {
|
|
@@ -1057,9 +1279,15 @@ export interface QueryProjectWithCollectionInfoResponseNonNullableFields {
|
|
|
1057
1279
|
projects: ProjectsInCollectionsNonNullableFields[];
|
|
1058
1280
|
}
|
|
1059
1281
|
export interface BaseEventMetadata {
|
|
1060
|
-
/**
|
|
1282
|
+
/**
|
|
1283
|
+
* App instance ID.
|
|
1284
|
+
* @format GUID
|
|
1285
|
+
*/
|
|
1061
1286
|
instanceId?: string | null;
|
|
1062
|
-
/**
|
|
1287
|
+
/**
|
|
1288
|
+
* Event type.
|
|
1289
|
+
* @maxLength 150
|
|
1290
|
+
*/
|
|
1063
1291
|
eventType?: string;
|
|
1064
1292
|
/** The identification type and identity data. */
|
|
1065
1293
|
identity?: IdentificationData;
|
|
@@ -1224,6 +1452,7 @@ export interface UpdateProject {
|
|
|
1224
1452
|
/**
|
|
1225
1453
|
* Project ID.
|
|
1226
1454
|
* @readonly
|
|
1455
|
+
* @format GUID
|
|
1227
1456
|
*/
|
|
1228
1457
|
_id?: string | null;
|
|
1229
1458
|
/**
|
|
@@ -1231,13 +1460,20 @@ export interface UpdateProject {
|
|
|
1231
1460
|
* @readonly
|
|
1232
1461
|
*/
|
|
1233
1462
|
revision?: string | null;
|
|
1234
|
-
/**
|
|
1463
|
+
/**
|
|
1464
|
+
* Project title.
|
|
1465
|
+
* @maxLength 100
|
|
1466
|
+
*/
|
|
1235
1467
|
title?: string | null;
|
|
1236
1468
|
/** Project description. */
|
|
1237
1469
|
description?: string | null;
|
|
1238
1470
|
/** Whether the project is hidden from the portfolio. Default: `false` */
|
|
1239
1471
|
hidden?: boolean | null;
|
|
1240
|
-
/**
|
|
1472
|
+
/**
|
|
1473
|
+
* IDs of the collections that include the project.
|
|
1474
|
+
* @format GUID
|
|
1475
|
+
* @maxSize 1000
|
|
1476
|
+
*/
|
|
1241
1477
|
collectionIds?: string[];
|
|
1242
1478
|
/** Project details. */
|
|
1243
1479
|
details?: ProjectDetail[];
|
|
@@ -1254,7 +1490,7 @@ export interface UpdateProject {
|
|
|
1254
1490
|
*/
|
|
1255
1491
|
_updatedDate?: Date | null;
|
|
1256
1492
|
/**
|
|
1257
|
-
* Project page URL and
|
|
1493
|
+
* Project page URL and relative path. Returned when `includePageUrl` is `true` in the request.
|
|
1258
1494
|
* @readonly
|
|
1259
1495
|
*/
|
|
1260
1496
|
url?: string;
|
|
@@ -1276,7 +1512,10 @@ export interface UpdateProject {
|
|
|
1276
1512
|
*/
|
|
1277
1513
|
export declare function bulkUpdateProjects(options?: BulkUpdateProjectsOptions): Promise<BulkUpdateProjectsResponse & BulkUpdateProjectsResponseNonNullableFields>;
|
|
1278
1514
|
export interface BulkUpdateProjectsOptions {
|
|
1279
|
-
/**
|
|
1515
|
+
/**
|
|
1516
|
+
* Projects to update.
|
|
1517
|
+
* @maxSize 100
|
|
1518
|
+
*/
|
|
1280
1519
|
projects?: MaskedProject[];
|
|
1281
1520
|
/** Whether to include the updated projects in the response. Set to `true` to receive the projects in the response. Default: `false` */
|
|
1282
1521
|
returnFullEntity?: boolean | null;
|
|
@@ -1424,9 +1663,15 @@ export interface ProjectsQueryBuilder {
|
|
|
1424
1663
|
*/
|
|
1425
1664
|
export declare function updateProjectOrderInCollection(identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
|
|
1426
1665
|
export interface UpdateProjectOrderInCollectionIdentifiers {
|
|
1427
|
-
/**
|
|
1666
|
+
/**
|
|
1667
|
+
* ID of the project to update.
|
|
1668
|
+
* @format GUID
|
|
1669
|
+
*/
|
|
1428
1670
|
projectId: string;
|
|
1429
|
-
/**
|
|
1671
|
+
/**
|
|
1672
|
+
* Collection ID.
|
|
1673
|
+
* @format GUID
|
|
1674
|
+
*/
|
|
1430
1675
|
collectionId: string;
|
|
1431
1676
|
}
|
|
1432
1677
|
/**
|