@gitbook/api 0.50.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +3741 -3627
- package/dist/index.cjs +249 -239
- package/dist/index.js +249 -239
- package/package.json +1 -1
- package/spec/openapi.json +26708 -26355
- package/spec/openapi.yaml +16080 -15849
package/dist/index.js
CHANGED
|
@@ -172,7 +172,7 @@ var require_node = __commonJS({
|
|
|
172
172
|
|
|
173
173
|
// package.json
|
|
174
174
|
var name = "@gitbook/api";
|
|
175
|
-
var version = "0.
|
|
175
|
+
var version = "0.52.0";
|
|
176
176
|
|
|
177
177
|
// src/client.ts
|
|
178
178
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -312,23 +312,45 @@ var SpaceEditMode = /* @__PURE__ */ ((SpaceEditMode2) => {
|
|
|
312
312
|
SpaceEditMode2["Locked"] = "locked";
|
|
313
313
|
return SpaceEditMode2;
|
|
314
314
|
})(SpaceEditMode || {});
|
|
315
|
+
var GitSyncOperationState = /* @__PURE__ */ ((GitSyncOperationState2) => {
|
|
316
|
+
GitSyncOperationState2["Running"] = "running";
|
|
317
|
+
GitSyncOperationState2["Failure"] = "failure";
|
|
318
|
+
GitSyncOperationState2["Success"] = "success";
|
|
319
|
+
return GitSyncOperationState2;
|
|
320
|
+
})(GitSyncOperationState || {});
|
|
321
|
+
var MemberRole = /* @__PURE__ */ ((MemberRole2) => {
|
|
322
|
+
MemberRole2["Admin"] = "admin";
|
|
323
|
+
MemberRole2["Create"] = "create";
|
|
324
|
+
MemberRole2["Edit"] = "edit";
|
|
325
|
+
MemberRole2["Review"] = "review";
|
|
326
|
+
MemberRole2["Comment"] = "comment";
|
|
327
|
+
MemberRole2["Read"] = "read";
|
|
328
|
+
return MemberRole2;
|
|
329
|
+
})(MemberRole || {});
|
|
315
330
|
var RevisionPageLayoutOptionsCoverSize = /* @__PURE__ */ ((RevisionPageLayoutOptionsCoverSize2) => {
|
|
316
331
|
RevisionPageLayoutOptionsCoverSize2["Hero"] = "hero";
|
|
317
332
|
RevisionPageLayoutOptionsCoverSize2["Full"] = "full";
|
|
318
333
|
return RevisionPageLayoutOptionsCoverSize2;
|
|
319
334
|
})(RevisionPageLayoutOptionsCoverSize || {});
|
|
320
|
-
var
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
return
|
|
325
|
-
})(
|
|
326
|
-
var
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
return
|
|
331
|
-
})(
|
|
335
|
+
var AnalyticsSearchPeriod = /* @__PURE__ */ ((AnalyticsSearchPeriod2) => {
|
|
336
|
+
AnalyticsSearchPeriod2["LastMonth"] = "last_month";
|
|
337
|
+
AnalyticsSearchPeriod2["LastWeek"] = "last_week";
|
|
338
|
+
AnalyticsSearchPeriod2["LastYear"] = "last_year";
|
|
339
|
+
return AnalyticsSearchPeriod2;
|
|
340
|
+
})(AnalyticsSearchPeriod || {});
|
|
341
|
+
var AnalyticsTrafficInterval = /* @__PURE__ */ ((AnalyticsTrafficInterval2) => {
|
|
342
|
+
AnalyticsTrafficInterval2["Daily"] = "daily";
|
|
343
|
+
AnalyticsTrafficInterval2["Weekly"] = "weekly";
|
|
344
|
+
AnalyticsTrafficInterval2["Monthly"] = "monthly";
|
|
345
|
+
return AnalyticsTrafficInterval2;
|
|
346
|
+
})(AnalyticsTrafficInterval || {});
|
|
347
|
+
var ChangeRequestStatus = /* @__PURE__ */ ((ChangeRequestStatus2) => {
|
|
348
|
+
ChangeRequestStatus2["Draft"] = "draft";
|
|
349
|
+
ChangeRequestStatus2["Open"] = "open";
|
|
350
|
+
ChangeRequestStatus2["Archived"] = "archived";
|
|
351
|
+
ChangeRequestStatus2["Merged"] = "merged";
|
|
352
|
+
return ChangeRequestStatus2;
|
|
353
|
+
})(ChangeRequestStatus || {});
|
|
332
354
|
var ImportContentSource = /* @__PURE__ */ ((ImportContentSource2) => {
|
|
333
355
|
ImportContentSource2["Website"] = "website";
|
|
334
356
|
ImportContentSource2["Docx"] = "docx";
|
|
@@ -344,23 +366,6 @@ var ImportContentSource = /* @__PURE__ */ ((ImportContentSource2) => {
|
|
|
344
366
|
ImportContentSource2["OpenApi"] = "open-api";
|
|
345
367
|
return ImportContentSource2;
|
|
346
368
|
})(ImportContentSource || {});
|
|
347
|
-
var RevisionSemanticChangeType = /* @__PURE__ */ ((RevisionSemanticChangeType2) => {
|
|
348
|
-
RevisionSemanticChangeType2["PageCreated"] = "page_created";
|
|
349
|
-
RevisionSemanticChangeType2["PageEdited"] = "page_edited";
|
|
350
|
-
RevisionSemanticChangeType2["PageDeleted"] = "page_deleted";
|
|
351
|
-
RevisionSemanticChangeType2["PageMoved"] = "page_moved";
|
|
352
|
-
RevisionSemanticChangeType2["FileCreated"] = "file_created";
|
|
353
|
-
RevisionSemanticChangeType2["FileEdited"] = "file_edited";
|
|
354
|
-
RevisionSemanticChangeType2["FileDeleted"] = "file_deleted";
|
|
355
|
-
RevisionSemanticChangeType2["CustomFieldsEdited"] = "custom_fields_edited";
|
|
356
|
-
return RevisionSemanticChangeType2;
|
|
357
|
-
})(RevisionSemanticChangeType || {});
|
|
358
|
-
var GitSyncOperationState = /* @__PURE__ */ ((GitSyncOperationState2) => {
|
|
359
|
-
GitSyncOperationState2["Running"] = "running";
|
|
360
|
-
GitSyncOperationState2["Failure"] = "failure";
|
|
361
|
-
GitSyncOperationState2["Success"] = "success";
|
|
362
|
-
return GitSyncOperationState2;
|
|
363
|
-
})(GitSyncOperationState || {});
|
|
364
369
|
var OrganizationType = /* @__PURE__ */ ((OrganizationType2) => {
|
|
365
370
|
OrganizationType2["Business"] = "business";
|
|
366
371
|
OrganizationType2["Community"] = "community";
|
|
@@ -384,60 +389,17 @@ var OrganizationCommunityType = /* @__PURE__ */ ((OrganizationCommunityType2) =>
|
|
|
384
389
|
OrganizationCommunityType2["Education"] = "education";
|
|
385
390
|
return OrganizationCommunityType2;
|
|
386
391
|
})(OrganizationCommunityType || {});
|
|
387
|
-
var
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
TeamMemberRole2["Member"] = "member";
|
|
399
|
-
return TeamMemberRole2;
|
|
400
|
-
})(TeamMemberRole || {});
|
|
401
|
-
var ContentAuditRelationType = /* @__PURE__ */ ((ContentAuditRelationType2) => {
|
|
402
|
-
ContentAuditRelationType2["Contradiction"] = "contradiction";
|
|
403
|
-
ContentAuditRelationType2["Duplicate"] = "duplicate";
|
|
404
|
-
return ContentAuditRelationType2;
|
|
405
|
-
})(ContentAuditRelationType || {});
|
|
406
|
-
var ContentAuditRelationStatus = /* @__PURE__ */ ((ContentAuditRelationStatus2) => {
|
|
407
|
-
ContentAuditRelationStatus2["Pending"] = "pending";
|
|
408
|
-
ContentAuditRelationStatus2["Rejected"] = "rejected";
|
|
409
|
-
return ContentAuditRelationStatus2;
|
|
410
|
-
})(ContentAuditRelationStatus || {});
|
|
411
|
-
var ContentReferenceStatus = /* @__PURE__ */ ((ContentReferenceStatus2) => {
|
|
412
|
-
ContentReferenceStatus2["Ok"] = "ok";
|
|
413
|
-
ContentReferenceStatus2["Broken"] = "broken";
|
|
414
|
-
ContentReferenceStatus2["InApp"] = "in-app";
|
|
415
|
-
return ContentReferenceStatus2;
|
|
416
|
-
})(ContentReferenceStatus || {});
|
|
417
|
-
var ChangeRequestStatus = /* @__PURE__ */ ((ChangeRequestStatus2) => {
|
|
418
|
-
ChangeRequestStatus2["Draft"] = "draft";
|
|
419
|
-
ChangeRequestStatus2["Open"] = "open";
|
|
420
|
-
ChangeRequestStatus2["Archived"] = "archived";
|
|
421
|
-
ChangeRequestStatus2["Merged"] = "merged";
|
|
422
|
-
return ChangeRequestStatus2;
|
|
423
|
-
})(ChangeRequestStatus || {});
|
|
424
|
-
var ChangeRequestReviewStatus = /* @__PURE__ */ ((ChangeRequestReviewStatus2) => {
|
|
425
|
-
ChangeRequestReviewStatus2["ChangesRequested"] = "changes-requested";
|
|
426
|
-
ChangeRequestReviewStatus2["Approved"] = "approved";
|
|
427
|
-
return ChangeRequestReviewStatus2;
|
|
428
|
-
})(ChangeRequestReviewStatus || {});
|
|
429
|
-
var AnalyticsSearchPeriod = /* @__PURE__ */ ((AnalyticsSearchPeriod2) => {
|
|
430
|
-
AnalyticsSearchPeriod2["LastMonth"] = "last_month";
|
|
431
|
-
AnalyticsSearchPeriod2["LastWeek"] = "last_week";
|
|
432
|
-
AnalyticsSearchPeriod2["LastYear"] = "last_year";
|
|
433
|
-
return AnalyticsSearchPeriod2;
|
|
434
|
-
})(AnalyticsSearchPeriod || {});
|
|
435
|
-
var AnalyticsTrafficInterval = /* @__PURE__ */ ((AnalyticsTrafficInterval2) => {
|
|
436
|
-
AnalyticsTrafficInterval2["Daily"] = "daily";
|
|
437
|
-
AnalyticsTrafficInterval2["Weekly"] = "weekly";
|
|
438
|
-
AnalyticsTrafficInterval2["Monthly"] = "monthly";
|
|
439
|
-
return AnalyticsTrafficInterval2;
|
|
440
|
-
})(AnalyticsTrafficInterval || {});
|
|
392
|
+
var IntegrationTarget = /* @__PURE__ */ ((IntegrationTarget2) => {
|
|
393
|
+
IntegrationTarget2["Organization"] = "organization";
|
|
394
|
+
IntegrationTarget2["All"] = "all";
|
|
395
|
+
return IntegrationTarget2;
|
|
396
|
+
})(IntegrationTarget || {});
|
|
397
|
+
var IntegrationVisibility = /* @__PURE__ */ ((IntegrationVisibility2) => {
|
|
398
|
+
IntegrationVisibility2["Public"] = "public";
|
|
399
|
+
IntegrationVisibility2["Private"] = "private";
|
|
400
|
+
IntegrationVisibility2["Unlisted"] = "unlisted";
|
|
401
|
+
return IntegrationVisibility2;
|
|
402
|
+
})(IntegrationVisibility || {});
|
|
441
403
|
var IntegrationScope = /* @__PURE__ */ ((IntegrationScope2) => {
|
|
442
404
|
IntegrationScope2["EntitiesWrite"] = "entities:write";
|
|
443
405
|
IntegrationScope2["SnippetsRead"] = "snippets:read";
|
|
@@ -458,16 +420,6 @@ var IntegrationScope = /* @__PURE__ */ ((IntegrationScope2) => {
|
|
|
458
420
|
IntegrationScope2["SiteVisitorAuth"] = "site:visitor:auth";
|
|
459
421
|
return IntegrationScope2;
|
|
460
422
|
})(IntegrationScope || {});
|
|
461
|
-
var IntegrationInstallationSpaceSelection = /* @__PURE__ */ ((IntegrationInstallationSpaceSelection2) => {
|
|
462
|
-
IntegrationInstallationSpaceSelection2["All"] = "all";
|
|
463
|
-
IntegrationInstallationSpaceSelection2["Selected"] = "selected";
|
|
464
|
-
return IntegrationInstallationSpaceSelection2;
|
|
465
|
-
})(IntegrationInstallationSpaceSelection || {});
|
|
466
|
-
var IntegrationInstallationSiteSelection = /* @__PURE__ */ ((IntegrationInstallationSiteSelection2) => {
|
|
467
|
-
IntegrationInstallationSiteSelection2["All"] = "all";
|
|
468
|
-
IntegrationInstallationSiteSelection2["Selected"] = "selected";
|
|
469
|
-
return IntegrationInstallationSiteSelection2;
|
|
470
|
-
})(IntegrationInstallationSiteSelection || {});
|
|
471
423
|
var IntegrationCategory = /* @__PURE__ */ ((IntegrationCategory2) => {
|
|
472
424
|
IntegrationCategory2["Analytics"] = "analytics";
|
|
473
425
|
IntegrationCategory2["Captures"] = "captures";
|
|
@@ -479,125 +431,34 @@ var IntegrationCategory = /* @__PURE__ */ ((IntegrationCategory2) => {
|
|
|
479
431
|
IntegrationCategory2["Other"] = "other";
|
|
480
432
|
return IntegrationCategory2;
|
|
481
433
|
})(IntegrationCategory || {});
|
|
482
|
-
var
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
return
|
|
498
|
-
})(
|
|
499
|
-
var
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
BillingProduct2["Plus"] = "plus";
|
|
511
|
-
BillingProduct2["Pro"] = "pro";
|
|
512
|
-
BillingProduct2["Team"] = "team";
|
|
513
|
-
BillingProduct2["Business"] = "business";
|
|
514
|
-
BillingProduct2["Legacy"] = "legacy";
|
|
515
|
-
BillingProduct2["Startup"] = "startup";
|
|
516
|
-
BillingProduct2["Enterprise"] = "enterprise";
|
|
517
|
-
return BillingProduct2;
|
|
518
|
-
})(BillingProduct || {});
|
|
519
|
-
var APIIntegrationScope = /* @__PURE__ */ ((APIIntegrationScope2) => {
|
|
520
|
-
APIIntegrationScope2["IntegrationRead"] = "integration:read";
|
|
521
|
-
APIIntegrationScope2["IntegrationUpdate"] = "integration:update";
|
|
522
|
-
APIIntegrationScope2["IntegrationInstallationRead"] = "integration:installation:read";
|
|
523
|
-
APIIntegrationScope2["IntegrationInstallationUpdate"] = "integration:installation:update";
|
|
524
|
-
return APIIntegrationScope2;
|
|
525
|
-
})(APIIntegrationScope || {});
|
|
526
|
-
var CloudflareHostnameStatus = /* @__PURE__ */ ((CloudflareHostnameStatus2) => {
|
|
527
|
-
CloudflareHostnameStatus2["Pending"] = "pending";
|
|
528
|
-
CloudflareHostnameStatus2["Active"] = "active";
|
|
529
|
-
CloudflareHostnameStatus2["Blocked"] = "blocked";
|
|
530
|
-
CloudflareHostnameStatus2["Moved"] = "moved";
|
|
531
|
-
CloudflareHostnameStatus2["Deleted"] = "deleted";
|
|
532
|
-
return CloudflareHostnameStatus2;
|
|
533
|
-
})(CloudflareHostnameStatus || {});
|
|
534
|
-
var CloudflareHostnameTLSStatus = /* @__PURE__ */ ((CloudflareHostnameTLSStatus2) => {
|
|
535
|
-
CloudflareHostnameTLSStatus2["Initializing"] = "initializing";
|
|
536
|
-
CloudflareHostnameTLSStatus2["PendingValidation"] = "pending_validation";
|
|
537
|
-
CloudflareHostnameTLSStatus2["PendingIssuance"] = "pending_issuance";
|
|
538
|
-
CloudflareHostnameTLSStatus2["PendingDeployment"] = "pending_deployment";
|
|
539
|
-
CloudflareHostnameTLSStatus2["Active"] = "active";
|
|
540
|
-
CloudflareHostnameTLSStatus2["PendingDeletion"] = "pending_deletion";
|
|
541
|
-
CloudflareHostnameTLSStatus2["PendingCleanup"] = "pending_cleanup";
|
|
542
|
-
CloudflareHostnameTLSStatus2["Deleted"] = "deleted";
|
|
543
|
-
return CloudflareHostnameTLSStatus2;
|
|
544
|
-
})(CloudflareHostnameTLSStatus || {});
|
|
545
|
-
var CloudflareHostnameTLSValidationMethod = /* @__PURE__ */ ((CloudflareHostnameTLSValidationMethod2) => {
|
|
546
|
-
CloudflareHostnameTLSValidationMethod2["Http"] = "http";
|
|
547
|
-
CloudflareHostnameTLSValidationMethod2["Txt"] = "txt";
|
|
548
|
-
CloudflareHostnameTLSValidationMethod2["Email"] = "email";
|
|
549
|
-
return CloudflareHostnameTLSValidationMethod2;
|
|
550
|
-
})(CloudflareHostnameTLSValidationMethod || {});
|
|
551
|
-
var PurgeCDNCacheContextType = /* @__PURE__ */ ((PurgeCDNCacheContextType2) => {
|
|
552
|
-
PurgeCDNCacheContextType2["Tags"] = "tags";
|
|
553
|
-
PurgeCDNCacheContextType2["Hosts"] = "hosts";
|
|
554
|
-
return PurgeCDNCacheContextType2;
|
|
555
|
-
})(PurgeCDNCacheContextType || {});
|
|
556
|
-
var SpaceBlockReason = /* @__PURE__ */ ((SpaceBlockReason2) => {
|
|
557
|
-
SpaceBlockReason2["DMCA"] = "DMCA";
|
|
558
|
-
SpaceBlockReason2["THREAT_TYPE_UNSPECIFIED"] = "THREAT_TYPE_UNSPECIFIED";
|
|
559
|
-
SpaceBlockReason2["MALWARE"] = "MALWARE";
|
|
560
|
-
SpaceBlockReason2["SOCIAL_ENGINEERING"] = "SOCIAL_ENGINEERING";
|
|
561
|
-
SpaceBlockReason2["UNWANTED_SOFTWARE"] = "UNWANTED_SOFTWARE";
|
|
562
|
-
return SpaceBlockReason2;
|
|
563
|
-
})(SpaceBlockReason || {});
|
|
564
|
-
var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
|
|
565
|
-
ContentKitIcon2["Close"] = "close";
|
|
566
|
-
ContentKitIcon2["Edit"] = "edit";
|
|
567
|
-
ContentKitIcon2["Github"] = "github";
|
|
568
|
-
ContentKitIcon2["Gitlab"] = "gitlab";
|
|
569
|
-
ContentKitIcon2["Maximize"] = "maximize";
|
|
570
|
-
ContentKitIcon2["Email"] = "email";
|
|
571
|
-
ContentKitIcon2["Settings"] = "settings";
|
|
572
|
-
ContentKitIcon2["Search"] = "search";
|
|
573
|
-
ContentKitIcon2["Delete"] = "delete";
|
|
574
|
-
ContentKitIcon2["Star"] = "star";
|
|
575
|
-
ContentKitIcon2["Warning"] = "warning";
|
|
576
|
-
ContentKitIcon2["Link"] = "link";
|
|
577
|
-
ContentKitIcon2["LinkExternal"] = "link-external";
|
|
578
|
-
ContentKitIcon2["Eye"] = "eye";
|
|
579
|
-
ContentKitIcon2["Lock"] = "lock";
|
|
580
|
-
return ContentKitIcon2;
|
|
581
|
-
})(ContentKitIcon || {});
|
|
582
|
-
var CustomFieldType = /* @__PURE__ */ ((CustomFieldType2) => {
|
|
583
|
-
CustomFieldType2["Text"] = "text";
|
|
584
|
-
CustomFieldType2["Number"] = "number";
|
|
585
|
-
CustomFieldType2["Boolean"] = "boolean";
|
|
586
|
-
CustomFieldType2["Tags"] = "tags";
|
|
587
|
-
CustomFieldType2["SelectMulti"] = "select:multi";
|
|
588
|
-
CustomFieldType2["SelectSingle"] = "select:single";
|
|
589
|
-
return CustomFieldType2;
|
|
590
|
-
})(CustomFieldType || {});
|
|
591
|
-
var CustomizationLocale = /* @__PURE__ */ ((CustomizationLocale2) => {
|
|
592
|
-
CustomizationLocale2["En"] = "en";
|
|
593
|
-
CustomizationLocale2["Fr"] = "fr";
|
|
594
|
-
CustomizationLocale2["Es"] = "es";
|
|
595
|
-
CustomizationLocale2["Zh"] = "zh";
|
|
596
|
-
CustomizationLocale2["Ja"] = "ja";
|
|
597
|
-
CustomizationLocale2["De"] = "de";
|
|
598
|
-
CustomizationLocale2["PtBr"] = "pt-br";
|
|
599
|
-
return CustomizationLocale2;
|
|
600
|
-
})(CustomizationLocale || {});
|
|
434
|
+
var ChangeRequestReviewStatus = /* @__PURE__ */ ((ChangeRequestReviewStatus2) => {
|
|
435
|
+
ChangeRequestReviewStatus2["ChangesRequested"] = "changes-requested";
|
|
436
|
+
ChangeRequestReviewStatus2["Approved"] = "approved";
|
|
437
|
+
return ChangeRequestReviewStatus2;
|
|
438
|
+
})(ChangeRequestReviewStatus || {});
|
|
439
|
+
var ContentReferenceStatus = /* @__PURE__ */ ((ContentReferenceStatus2) => {
|
|
440
|
+
ContentReferenceStatus2["Ok"] = "ok";
|
|
441
|
+
ContentReferenceStatus2["Broken"] = "broken";
|
|
442
|
+
ContentReferenceStatus2["InApp"] = "in-app";
|
|
443
|
+
return ContentReferenceStatus2;
|
|
444
|
+
})(ContentReferenceStatus || {});
|
|
445
|
+
var RevisionPageType = /* @__PURE__ */ ((RevisionPageType2) => {
|
|
446
|
+
RevisionPageType2["Document"] = "document";
|
|
447
|
+
RevisionPageType2["Group"] = "group";
|
|
448
|
+
RevisionPageType2["Link"] = "link";
|
|
449
|
+
return RevisionPageType2;
|
|
450
|
+
})(RevisionPageType || {});
|
|
451
|
+
var RevisionPageLayoutPreset = /* @__PURE__ */ ((RevisionPageLayoutPreset2) => {
|
|
452
|
+
RevisionPageLayoutPreset2["Docs"] = "docs";
|
|
453
|
+
RevisionPageLayoutPreset2["Editorial"] = "editorial";
|
|
454
|
+
RevisionPageLayoutPreset2["Landing"] = "landing";
|
|
455
|
+
return RevisionPageLayoutPreset2;
|
|
456
|
+
})(RevisionPageLayoutPreset || {});
|
|
457
|
+
var CustomizationCorners = /* @__PURE__ */ ((CustomizationCorners2) => {
|
|
458
|
+
CustomizationCorners2["Straight"] = "straight";
|
|
459
|
+
CustomizationCorners2["Rounded"] = "rounded";
|
|
460
|
+
return CustomizationCorners2;
|
|
461
|
+
})(CustomizationCorners || {});
|
|
601
462
|
var CustomizationFont = /* @__PURE__ */ ((CustomizationFont2) => {
|
|
602
463
|
CustomizationFont2["ABCFavorit"] = "ABCFavorit";
|
|
603
464
|
CustomizationFont2["Inter"] = "Inter";
|
|
@@ -616,6 +477,21 @@ var CustomizationFont = /* @__PURE__ */ ((CustomizationFont2) => {
|
|
|
616
477
|
CustomizationFont2["FiraSans"] = "FiraSans";
|
|
617
478
|
return CustomizationFont2;
|
|
618
479
|
})(CustomizationFont || {});
|
|
480
|
+
var CustomizationBackground = /* @__PURE__ */ ((CustomizationBackground2) => {
|
|
481
|
+
CustomizationBackground2["Plain"] = "plain";
|
|
482
|
+
CustomizationBackground2["Match"] = "match";
|
|
483
|
+
return CustomizationBackground2;
|
|
484
|
+
})(CustomizationBackground || {});
|
|
485
|
+
var CustomizationLocale = /* @__PURE__ */ ((CustomizationLocale2) => {
|
|
486
|
+
CustomizationLocale2["En"] = "en";
|
|
487
|
+
CustomizationLocale2["Fr"] = "fr";
|
|
488
|
+
CustomizationLocale2["Es"] = "es";
|
|
489
|
+
CustomizationLocale2["Zh"] = "zh";
|
|
490
|
+
CustomizationLocale2["Ja"] = "ja";
|
|
491
|
+
CustomizationLocale2["De"] = "de";
|
|
492
|
+
CustomizationLocale2["PtBr"] = "pt-br";
|
|
493
|
+
return CustomizationLocale2;
|
|
494
|
+
})(CustomizationLocale || {});
|
|
619
495
|
var CustomizationHeaderPreset = /* @__PURE__ */ ((CustomizationHeaderPreset2) => {
|
|
620
496
|
CustomizationHeaderPreset2["Default"] = "default";
|
|
621
497
|
CustomizationHeaderPreset2["Bold"] = "bold";
|
|
@@ -629,26 +505,96 @@ var CustomizationThemeMode = /* @__PURE__ */ ((CustomizationThemeMode2) => {
|
|
|
629
505
|
CustomizationThemeMode2["Dark"] = "dark";
|
|
630
506
|
return CustomizationThemeMode2;
|
|
631
507
|
})(CustomizationThemeMode || {});
|
|
632
|
-
var
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
})(CustomizationBackground || {});
|
|
508
|
+
var CustomFieldType = /* @__PURE__ */ ((CustomFieldType2) => {
|
|
509
|
+
CustomFieldType2["Text"] = "text";
|
|
510
|
+
CustomFieldType2["Number"] = "number";
|
|
511
|
+
CustomFieldType2["Boolean"] = "boolean";
|
|
512
|
+
CustomFieldType2["Tags"] = "tags";
|
|
513
|
+
CustomFieldType2["SelectMulti"] = "select:multi";
|
|
514
|
+
CustomFieldType2["SelectSingle"] = "select:single";
|
|
515
|
+
return CustomFieldType2;
|
|
516
|
+
})(CustomFieldType || {});
|
|
642
517
|
var PageFeedbackRating = /* @__PURE__ */ ((PageFeedbackRating2) => {
|
|
643
518
|
PageFeedbackRating2["Bad"] = "bad";
|
|
644
519
|
PageFeedbackRating2["Ok"] = "ok";
|
|
645
520
|
PageFeedbackRating2["Good"] = "good";
|
|
646
521
|
return PageFeedbackRating2;
|
|
647
522
|
})(PageFeedbackRating || {});
|
|
523
|
+
var IntegrationInstallationStatus = /* @__PURE__ */ ((IntegrationInstallationStatus2) => {
|
|
524
|
+
IntegrationInstallationStatus2["Active"] = "active";
|
|
525
|
+
IntegrationInstallationStatus2["Pending"] = "pending";
|
|
526
|
+
IntegrationInstallationStatus2["Paused"] = "paused";
|
|
527
|
+
return IntegrationInstallationStatus2;
|
|
528
|
+
})(IntegrationInstallationStatus || {});
|
|
529
|
+
var IntegrationInstallationSpaceSelection = /* @__PURE__ */ ((IntegrationInstallationSpaceSelection2) => {
|
|
530
|
+
IntegrationInstallationSpaceSelection2["All"] = "all";
|
|
531
|
+
IntegrationInstallationSpaceSelection2["Selected"] = "selected";
|
|
532
|
+
return IntegrationInstallationSpaceSelection2;
|
|
533
|
+
})(IntegrationInstallationSpaceSelection || {});
|
|
534
|
+
var IntegrationInstallationSiteSelection = /* @__PURE__ */ ((IntegrationInstallationSiteSelection2) => {
|
|
535
|
+
IntegrationInstallationSiteSelection2["All"] = "all";
|
|
536
|
+
IntegrationInstallationSiteSelection2["Selected"] = "selected";
|
|
537
|
+
return IntegrationInstallationSiteSelection2;
|
|
538
|
+
})(IntegrationInstallationSiteSelection || {});
|
|
539
|
+
var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
|
|
540
|
+
ContentKitIcon2["Close"] = "close";
|
|
541
|
+
ContentKitIcon2["Edit"] = "edit";
|
|
542
|
+
ContentKitIcon2["Github"] = "github";
|
|
543
|
+
ContentKitIcon2["Gitlab"] = "gitlab";
|
|
544
|
+
ContentKitIcon2["Maximize"] = "maximize";
|
|
545
|
+
ContentKitIcon2["Email"] = "email";
|
|
546
|
+
ContentKitIcon2["Settings"] = "settings";
|
|
547
|
+
ContentKitIcon2["Search"] = "search";
|
|
548
|
+
ContentKitIcon2["Delete"] = "delete";
|
|
549
|
+
ContentKitIcon2["Star"] = "star";
|
|
550
|
+
ContentKitIcon2["Warning"] = "warning";
|
|
551
|
+
ContentKitIcon2["Link"] = "link";
|
|
552
|
+
ContentKitIcon2["LinkExternal"] = "link-external";
|
|
553
|
+
ContentKitIcon2["Eye"] = "eye";
|
|
554
|
+
ContentKitIcon2["Lock"] = "lock";
|
|
555
|
+
return ContentKitIcon2;
|
|
556
|
+
})(ContentKitIcon || {});
|
|
557
|
+
var TeamMemberRole = /* @__PURE__ */ ((TeamMemberRole2) => {
|
|
558
|
+
TeamMemberRole2["Owner"] = "owner";
|
|
559
|
+
TeamMemberRole2["Member"] = "member";
|
|
560
|
+
return TeamMemberRole2;
|
|
561
|
+
})(TeamMemberRole || {});
|
|
562
|
+
var BillingProduct = /* @__PURE__ */ ((BillingProduct2) => {
|
|
563
|
+
BillingProduct2["Free2024"] = "free_2024";
|
|
564
|
+
BillingProduct2["Plus2024"] = "plus_2024";
|
|
565
|
+
BillingProduct2["Pro2024"] = "pro_2024";
|
|
566
|
+
BillingProduct2["Enterprise2024"] = "enterprise_2024";
|
|
567
|
+
BillingProduct2["Free"] = "free";
|
|
568
|
+
BillingProduct2["Plus"] = "plus";
|
|
569
|
+
BillingProduct2["Pro"] = "pro";
|
|
570
|
+
BillingProduct2["Team"] = "team";
|
|
571
|
+
BillingProduct2["Business"] = "business";
|
|
572
|
+
BillingProduct2["Legacy"] = "legacy";
|
|
573
|
+
BillingProduct2["Startup"] = "startup";
|
|
574
|
+
BillingProduct2["Enterprise"] = "enterprise";
|
|
575
|
+
return BillingProduct2;
|
|
576
|
+
})(BillingProduct || {});
|
|
577
|
+
var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
|
|
578
|
+
BillingInterval2["Monthly"] = "monthly";
|
|
579
|
+
BillingInterval2["Yearly"] = "yearly";
|
|
580
|
+
return BillingInterval2;
|
|
581
|
+
})(BillingInterval || {});
|
|
582
|
+
var ContentAuditRelationStatus = /* @__PURE__ */ ((ContentAuditRelationStatus2) => {
|
|
583
|
+
ContentAuditRelationStatus2["Pending"] = "pending";
|
|
584
|
+
ContentAuditRelationStatus2["Rejected"] = "rejected";
|
|
585
|
+
return ContentAuditRelationStatus2;
|
|
586
|
+
})(ContentAuditRelationStatus || {});
|
|
587
|
+
var ContentAuditRelationType = /* @__PURE__ */ ((ContentAuditRelationType2) => {
|
|
588
|
+
ContentAuditRelationType2["Contradiction"] = "contradiction";
|
|
589
|
+
ContentAuditRelationType2["Duplicate"] = "duplicate";
|
|
590
|
+
return ContentAuditRelationType2;
|
|
591
|
+
})(ContentAuditRelationType || {});
|
|
648
592
|
var SiteType = /* @__PURE__ */ ((SiteType2) => {
|
|
649
593
|
SiteType2["Basic"] = "basic";
|
|
650
594
|
SiteType2["Standard"] = "standard";
|
|
651
595
|
SiteType2["Premium"] = "premium";
|
|
596
|
+
SiteType2["LegacyBasic"] = "legacy-basic";
|
|
597
|
+
SiteType2["LegacyPremium"] = "legacy-premium";
|
|
652
598
|
return SiteType2;
|
|
653
599
|
})(SiteType || {});
|
|
654
600
|
var SiteVisibility = /* @__PURE__ */ ((SiteVisibility2) => {
|
|
@@ -679,6 +625,62 @@ var CustomHostnameErrorStatus = /* @__PURE__ */ ((CustomHostnameErrorStatus2) =>
|
|
|
679
625
|
CustomHostnameErrorStatus2["InternalError"] = "internal_error";
|
|
680
626
|
return CustomHostnameErrorStatus2;
|
|
681
627
|
})(CustomHostnameErrorStatus || {});
|
|
628
|
+
var PurgeCDNCacheContextType = /* @__PURE__ */ ((PurgeCDNCacheContextType2) => {
|
|
629
|
+
PurgeCDNCacheContextType2["Tags"] = "tags";
|
|
630
|
+
PurgeCDNCacheContextType2["Hosts"] = "hosts";
|
|
631
|
+
return PurgeCDNCacheContextType2;
|
|
632
|
+
})(PurgeCDNCacheContextType || {});
|
|
633
|
+
var CloudflareHostnameStatus = /* @__PURE__ */ ((CloudflareHostnameStatus2) => {
|
|
634
|
+
CloudflareHostnameStatus2["Pending"] = "pending";
|
|
635
|
+
CloudflareHostnameStatus2["Active"] = "active";
|
|
636
|
+
CloudflareHostnameStatus2["Blocked"] = "blocked";
|
|
637
|
+
CloudflareHostnameStatus2["Moved"] = "moved";
|
|
638
|
+
CloudflareHostnameStatus2["Deleted"] = "deleted";
|
|
639
|
+
return CloudflareHostnameStatus2;
|
|
640
|
+
})(CloudflareHostnameStatus || {});
|
|
641
|
+
var CloudflareHostnameTLSStatus = /* @__PURE__ */ ((CloudflareHostnameTLSStatus2) => {
|
|
642
|
+
CloudflareHostnameTLSStatus2["Initializing"] = "initializing";
|
|
643
|
+
CloudflareHostnameTLSStatus2["PendingValidation"] = "pending_validation";
|
|
644
|
+
CloudflareHostnameTLSStatus2["PendingIssuance"] = "pending_issuance";
|
|
645
|
+
CloudflareHostnameTLSStatus2["PendingDeployment"] = "pending_deployment";
|
|
646
|
+
CloudflareHostnameTLSStatus2["Active"] = "active";
|
|
647
|
+
CloudflareHostnameTLSStatus2["PendingDeletion"] = "pending_deletion";
|
|
648
|
+
CloudflareHostnameTLSStatus2["PendingCleanup"] = "pending_cleanup";
|
|
649
|
+
CloudflareHostnameTLSStatus2["Deleted"] = "deleted";
|
|
650
|
+
return CloudflareHostnameTLSStatus2;
|
|
651
|
+
})(CloudflareHostnameTLSStatus || {});
|
|
652
|
+
var CloudflareHostnameTLSValidationMethod = /* @__PURE__ */ ((CloudflareHostnameTLSValidationMethod2) => {
|
|
653
|
+
CloudflareHostnameTLSValidationMethod2["Http"] = "http";
|
|
654
|
+
CloudflareHostnameTLSValidationMethod2["Txt"] = "txt";
|
|
655
|
+
CloudflareHostnameTLSValidationMethod2["Email"] = "email";
|
|
656
|
+
return CloudflareHostnameTLSValidationMethod2;
|
|
657
|
+
})(CloudflareHostnameTLSValidationMethod || {});
|
|
658
|
+
var SpaceBlockReason = /* @__PURE__ */ ((SpaceBlockReason2) => {
|
|
659
|
+
SpaceBlockReason2["DMCA"] = "DMCA";
|
|
660
|
+
SpaceBlockReason2["THREAT_TYPE_UNSPECIFIED"] = "THREAT_TYPE_UNSPECIFIED";
|
|
661
|
+
SpaceBlockReason2["MALWARE"] = "MALWARE";
|
|
662
|
+
SpaceBlockReason2["SOCIAL_ENGINEERING"] = "SOCIAL_ENGINEERING";
|
|
663
|
+
SpaceBlockReason2["UNWANTED_SOFTWARE"] = "UNWANTED_SOFTWARE";
|
|
664
|
+
return SpaceBlockReason2;
|
|
665
|
+
})(SpaceBlockReason || {});
|
|
666
|
+
var RevisionSemanticChangeType = /* @__PURE__ */ ((RevisionSemanticChangeType2) => {
|
|
667
|
+
RevisionSemanticChangeType2["PageCreated"] = "page_created";
|
|
668
|
+
RevisionSemanticChangeType2["PageEdited"] = "page_edited";
|
|
669
|
+
RevisionSemanticChangeType2["PageDeleted"] = "page_deleted";
|
|
670
|
+
RevisionSemanticChangeType2["PageMoved"] = "page_moved";
|
|
671
|
+
RevisionSemanticChangeType2["FileCreated"] = "file_created";
|
|
672
|
+
RevisionSemanticChangeType2["FileEdited"] = "file_edited";
|
|
673
|
+
RevisionSemanticChangeType2["FileDeleted"] = "file_deleted";
|
|
674
|
+
RevisionSemanticChangeType2["CustomFieldsEdited"] = "custom_fields_edited";
|
|
675
|
+
return RevisionSemanticChangeType2;
|
|
676
|
+
})(RevisionSemanticChangeType || {});
|
|
677
|
+
var APIIntegrationScope = /* @__PURE__ */ ((APIIntegrationScope2) => {
|
|
678
|
+
APIIntegrationScope2["IntegrationRead"] = "integration:read";
|
|
679
|
+
APIIntegrationScope2["IntegrationUpdate"] = "integration:update";
|
|
680
|
+
APIIntegrationScope2["IntegrationInstallationRead"] = "integration:installation:read";
|
|
681
|
+
APIIntegrationScope2["IntegrationInstallationUpdate"] = "integration:installation:update";
|
|
682
|
+
return APIIntegrationScope2;
|
|
683
|
+
})(APIIntegrationScope || {});
|
|
682
684
|
var ContentType = /* @__PURE__ */ ((ContentType2) => {
|
|
683
685
|
ContentType2["Json"] = "application/json";
|
|
684
686
|
ContentType2["FormData"] = "multipart/form-data";
|
|
@@ -2793,22 +2795,6 @@ var Api = class extends HttpClient {
|
|
|
2793
2795
|
secure: true,
|
|
2794
2796
|
...params
|
|
2795
2797
|
}),
|
|
2796
|
-
checkoutSite: (organizationId, siteId, data, params = {}) => this.request({
|
|
2797
|
-
path: `/orgs/${organizationId}/sites/${siteId}/checkout`,
|
|
2798
|
-
method: "POST",
|
|
2799
|
-
body: data,
|
|
2800
|
-
secure: true,
|
|
2801
|
-
type: "application/json" /* Json */,
|
|
2802
|
-
format: "json",
|
|
2803
|
-
...params
|
|
2804
|
-
}),
|
|
2805
|
-
getSiteCheckoutById: (organizationId, siteId, params = {}) => this.request({
|
|
2806
|
-
path: `/orgs/${organizationId}/sites/${siteId}/checkout`,
|
|
2807
|
-
method: "GET",
|
|
2808
|
-
secure: true,
|
|
2809
|
-
format: "json",
|
|
2810
|
-
...params
|
|
2811
|
-
}),
|
|
2812
2798
|
publishSite: (organizationId, siteId, params = {}) => this.request({
|
|
2813
2799
|
path: `/orgs/${organizationId}/sites/${siteId}/publish`,
|
|
2814
2800
|
method: "POST",
|
|
@@ -2855,6 +2841,30 @@ var Api = class extends HttpClient {
|
|
|
2855
2841
|
secure: true,
|
|
2856
2842
|
...params
|
|
2857
2843
|
}),
|
|
2844
|
+
updateSitePlan: (organizationId, siteId, data, params = {}) => this.request({
|
|
2845
|
+
path: `/orgs/${organizationId}/sites/${siteId}/plan`,
|
|
2846
|
+
method: "POST",
|
|
2847
|
+
body: data,
|
|
2848
|
+
secure: true,
|
|
2849
|
+
type: "application/json" /* Json */,
|
|
2850
|
+
format: "json",
|
|
2851
|
+
...params
|
|
2852
|
+
}),
|
|
2853
|
+
previewSitePlanUpdate: (organizationId, siteId, query, params = {}) => this.request({
|
|
2854
|
+
path: `/orgs/${organizationId}/sites/${siteId}/plan`,
|
|
2855
|
+
method: "GET",
|
|
2856
|
+
query,
|
|
2857
|
+
secure: true,
|
|
2858
|
+
format: "json",
|
|
2859
|
+
...params
|
|
2860
|
+
}),
|
|
2861
|
+
previewSitePublish: (organizationId, siteId, params = {}) => this.request({
|
|
2862
|
+
path: `/orgs/${organizationId}/sites/${siteId}/publishing/checkout`,
|
|
2863
|
+
method: "GET",
|
|
2864
|
+
secure: true,
|
|
2865
|
+
format: "json",
|
|
2866
|
+
...params
|
|
2867
|
+
}),
|
|
2858
2868
|
getSitePublishingAuthById: (organizationId, siteId, params = {}) => this.request({
|
|
2859
2869
|
path: `/orgs/${organizationId}/sites/${siteId}/publishing/auth`,
|
|
2860
2870
|
method: "GET",
|