@gitbook/api 0.5.0 → 0.6.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 +105 -16
- package/dist/index.cjs +21 -9
- package/dist/index.js +21 -8
- package/package.json +1 -1
- package/spec/openapi.json +445 -36
- package/spec/openapi.yaml +265 -27
package/dist/client.d.ts
CHANGED
|
@@ -512,7 +512,7 @@ export interface SpaceEntity {
|
|
|
512
512
|
location: string;
|
|
513
513
|
};
|
|
514
514
|
}
|
|
515
|
-
export interface
|
|
515
|
+
export interface RevisionBase {
|
|
516
516
|
/** Type of Object, always equals to "revision" */
|
|
517
517
|
object: 'revision';
|
|
518
518
|
/** Unique identifier for the revision */
|
|
@@ -534,6 +534,20 @@ export interface Revision {
|
|
|
534
534
|
public?: string;
|
|
535
535
|
};
|
|
536
536
|
}
|
|
537
|
+
export declare type RevisionTypeMerge = RevisionBase & {
|
|
538
|
+
type: 'merge';
|
|
539
|
+
mergedFrom: ChangeRequest;
|
|
540
|
+
};
|
|
541
|
+
export declare type RevisionTypeRollback = RevisionBase & {
|
|
542
|
+
type: 'rollback';
|
|
543
|
+
};
|
|
544
|
+
export declare type RevisionTypeUpdate = RevisionBase & {
|
|
545
|
+
type: 'update';
|
|
546
|
+
};
|
|
547
|
+
export declare type RevisionTypeEdits = RevisionBase & {
|
|
548
|
+
type: 'edits';
|
|
549
|
+
};
|
|
550
|
+
export declare type Revision = RevisionTypeEdits | RevisionTypeMerge | RevisionTypeRollback | RevisionTypeUpdate;
|
|
537
551
|
export declare type RevisionPage = RevisionPageDocument | RevisionPageGroup | RevisionPageLink;
|
|
538
552
|
export interface RevisionPageBase {
|
|
539
553
|
/** Unique identifier for the page in the revision */
|
|
@@ -762,20 +776,52 @@ export declare enum TeamMemberRole {
|
|
|
762
776
|
Participant = "participant"
|
|
763
777
|
}
|
|
764
778
|
export interface Recording {
|
|
779
|
+
/** Type of Object, always equals to "recording" */
|
|
780
|
+
object: 'recording';
|
|
765
781
|
/** Unique identifier for the recording */
|
|
766
782
|
id: string;
|
|
783
|
+
/** Optional title describing the recording */
|
|
784
|
+
title: RecordingTitle;
|
|
767
785
|
context: RecordingContext;
|
|
786
|
+
/** ID in the original source of the recording. */
|
|
787
|
+
externalId?: string;
|
|
788
|
+
/**
|
|
789
|
+
* URL of the source from which the recording originated
|
|
790
|
+
* @format uri
|
|
791
|
+
*/
|
|
792
|
+
externalURL?: string;
|
|
768
793
|
/** @format date-time */
|
|
769
|
-
|
|
794
|
+
createdAt: string;
|
|
770
795
|
/** @format date-time */
|
|
771
796
|
stoppedAt?: string;
|
|
797
|
+
/** Count of events recorded. */
|
|
798
|
+
events: {
|
|
799
|
+
'terminal.command'?: number;
|
|
800
|
+
speech?: number;
|
|
801
|
+
};
|
|
802
|
+
contributors: (Integration | User)[];
|
|
803
|
+
/** Output document for the recording. Is not set when recording is not finished, the user has not access to the space, or content has been deleted. */
|
|
804
|
+
output?: RecordingOutput;
|
|
805
|
+
/** URLs associated with the object */
|
|
806
|
+
urls: {
|
|
807
|
+
location: string;
|
|
808
|
+
};
|
|
772
809
|
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
810
|
+
/**
|
|
811
|
+
* Optional title describing the recording
|
|
812
|
+
*/
|
|
813
|
+
export declare type RecordingTitle = string;
|
|
814
|
+
export interface RecordingOutput {
|
|
815
|
+
/**
|
|
816
|
+
* URL of the generated page
|
|
817
|
+
* @format uri
|
|
818
|
+
*/
|
|
819
|
+
url: string;
|
|
820
|
+
space: Space;
|
|
821
|
+
page: RevisionPageDocument;
|
|
778
822
|
}
|
|
823
|
+
export declare type RecordingEvent = RecordingTerminalCommandEvent | RecordingSpeechEvent;
|
|
824
|
+
export declare type RecordingContext = 'meeting' | 'conversation' | 'walkthrough';
|
|
779
825
|
export interface BaseRecordingEvent {
|
|
780
826
|
/** The type of event */
|
|
781
827
|
type: string;
|
|
@@ -1125,6 +1171,7 @@ export declare type IntegrationSummary = string;
|
|
|
1125
1171
|
export declare type IntegrationScopes = IntegrationScope[];
|
|
1126
1172
|
export declare enum IntegrationScope {
|
|
1127
1173
|
OrganizationEntitiesWrite = "organization:entities:write",
|
|
1174
|
+
RecordingWrite = "recording:write",
|
|
1128
1175
|
SpaceViewsRead = "space:views:read",
|
|
1129
1176
|
SpaceContentRead = "space:content:read",
|
|
1130
1177
|
SpaceContentWrite = "space:content:write",
|
|
@@ -1837,7 +1884,7 @@ export interface ContentKitTextInput {
|
|
|
1837
1884
|
export interface ContentKitText {
|
|
1838
1885
|
type: 'text';
|
|
1839
1886
|
style?: 'bold' | 'italic' | 'code' | 'strikethrough';
|
|
1840
|
-
children: (string | ContentKitText)[];
|
|
1887
|
+
children: string | (string | ContentKitText | ContentKitLink)[];
|
|
1841
1888
|
}
|
|
1842
1889
|
export interface ContentKitBox {
|
|
1843
1890
|
type: 'box';
|
|
@@ -1909,6 +1956,7 @@ export declare enum ContentKitIcon {
|
|
|
1909
1956
|
Close = "close",
|
|
1910
1957
|
Edit = "edit",
|
|
1911
1958
|
Github = "github",
|
|
1959
|
+
Gitlab = "gitlab",
|
|
1912
1960
|
Maximize = "maximize",
|
|
1913
1961
|
Email = "email",
|
|
1914
1962
|
Settings = "settings",
|
|
@@ -1917,7 +1965,8 @@ export declare enum ContentKitIcon {
|
|
|
1917
1965
|
Star = "star",
|
|
1918
1966
|
Warning = "warning",
|
|
1919
1967
|
Link = "link",
|
|
1920
|
-
LinkExternal = "link-external"
|
|
1968
|
+
LinkExternal = "link-external",
|
|
1969
|
+
Eye = "eye"
|
|
1921
1970
|
}
|
|
1922
1971
|
/**
|
|
1923
1972
|
* Overlay modal.
|
|
@@ -2006,6 +2055,13 @@ export interface ContentKitImage {
|
|
|
2006
2055
|
};
|
|
2007
2056
|
aspectRatio: number;
|
|
2008
2057
|
}
|
|
2058
|
+
export interface ContentKitLink {
|
|
2059
|
+
type: 'link';
|
|
2060
|
+
target: {
|
|
2061
|
+
url: string | ContentKitURL;
|
|
2062
|
+
};
|
|
2063
|
+
children: string[];
|
|
2064
|
+
}
|
|
2009
2065
|
/**
|
|
2010
2066
|
* Field for an input.
|
|
2011
2067
|
*/
|
|
@@ -2039,6 +2095,8 @@ export interface ContentKitSelect {
|
|
|
2039
2095
|
placeholder?: string;
|
|
2040
2096
|
/** Should the select accept the selection of multiple options. If true, the state will be an array. */
|
|
2041
2097
|
multiple?: boolean;
|
|
2098
|
+
/** Should the filter input be allowed to be selected as an option. */
|
|
2099
|
+
acceptInput?: boolean;
|
|
2042
2100
|
/** Array of options to display in the select. */
|
|
2043
2101
|
options: ContentKitSelectOption[] | {
|
|
2044
2102
|
url: string | ContentKitURL;
|
|
@@ -2095,11 +2153,11 @@ export declare type ContentKitRootElement = ContentKitBlock | ContentKitModal;
|
|
|
2095
2153
|
/**
|
|
2096
2154
|
* Any element that can be used as children.
|
|
2097
2155
|
*/
|
|
2098
|
-
export declare type ContentKitDescendantElement = ContentKitButton | ContentKitTextInput | ContentKitHStack | ContentKitVStack | ContentKitBox | ContentKitDivider | ContentKitWebFrame | ContentKitCodeBlock | ContentKitMarkdown | ContentKitCard | ContentKitImage | ContentKitInput | ContentKitSelect | ContentKitSwitch | ContentKitCheckbox | ContentKitRadio | ContentKitText | ContentKitHint;
|
|
2156
|
+
export declare type ContentKitDescendantElement = ContentKitButton | ContentKitTextInput | ContentKitHStack | ContentKitVStack | ContentKitBox | ContentKitDivider | ContentKitWebFrame | ContentKitCodeBlock | ContentKitMarkdown | ContentKitCard | ContentKitImage | ContentKitInput | ContentKitSelect | ContentKitSwitch | ContentKitCheckbox | ContentKitRadio | ContentKitText | ContentKitHint | ContentKitLink;
|
|
2099
2157
|
/**
|
|
2100
2158
|
* Any element that is inline.
|
|
2101
2159
|
*/
|
|
2102
|
-
export declare type ContentKitInlineElement = ContentKitText | ContentKitImage;
|
|
2160
|
+
export declare type ContentKitInlineElement = ContentKitText | ContentKitImage | ContentKitLink;
|
|
2103
2161
|
/**
|
|
2104
2162
|
* Specification for an URL in ContentKit.
|
|
2105
2163
|
*/
|
|
@@ -2119,7 +2177,7 @@ export interface ContentKitURL {
|
|
|
2119
2177
|
/**
|
|
2120
2178
|
* Channel to subscribe to for API updates.
|
|
2121
2179
|
*/
|
|
2122
|
-
export declare type SubscriptionChannel = SpaceInfoChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpaceRelationsChannel | SpaceEntitiesChannel | SpaceCustomFieldsChannel | BackofficeUserInfoChannel | SpaceIntegrationsChannel | OrganizationCustomFieldsChannel | OrganizationEnvironmentsChannel | UserAPITokensChannel | ChangeRequestReviewsChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpaceRelationsChannel | OrganizationSpacesChannel | OrganizationEntitiesChannel | {
|
|
2180
|
+
export declare type SubscriptionChannel = SpaceInfoChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpaceRelationsChannel | SpaceEntitiesChannel | SpaceCustomFieldsChannel | BackofficeUserInfoChannel | SpaceIntegrationsChannel | OrganizationCustomFieldsChannel | OrganizationEnvironmentsChannel | UserAPITokensChannel | ChangeRequestReviewsChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpaceRelationsChannel | OrganizationSpacesChannel | OrganizationEntitiesChannel | OrganizationRecordingsChannel | {
|
|
2123
2181
|
channel: 'space-comments';
|
|
2124
2182
|
space: string;
|
|
2125
2183
|
changeRequest?: string;
|
|
@@ -2239,6 +2297,10 @@ export interface OrganizationEnvironmentsChannel {
|
|
|
2239
2297
|
channel: 'organization-environments';
|
|
2240
2298
|
organization: string;
|
|
2241
2299
|
}
|
|
2300
|
+
export interface OrganizationRecordingsChannel {
|
|
2301
|
+
channel: 'organization-recordings';
|
|
2302
|
+
organization: string;
|
|
2303
|
+
}
|
|
2242
2304
|
/**
|
|
2243
2305
|
* Custom field
|
|
2244
2306
|
*/
|
|
@@ -4417,6 +4479,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4417
4479
|
* @secure
|
|
4418
4480
|
*/
|
|
4419
4481
|
deleteEnvironment: (organizationId: string, environmentName: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
|
|
4482
|
+
/**
|
|
4483
|
+
* @description List recordings in an organization.
|
|
4484
|
+
*
|
|
4485
|
+
* @tags organizations
|
|
4486
|
+
* @name ListRecordings
|
|
4487
|
+
* @summary List recordings
|
|
4488
|
+
* @request GET:/orgs/{organizationId}/recordings
|
|
4489
|
+
* @secure
|
|
4490
|
+
*/
|
|
4491
|
+
listRecordings: (organizationId: string, query?: {
|
|
4492
|
+
page?: string;
|
|
4493
|
+
limit?: number;
|
|
4494
|
+
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
4495
|
+
items: Recording[];
|
|
4496
|
+
}, Error>>;
|
|
4420
4497
|
/**
|
|
4421
4498
|
* No description
|
|
4422
4499
|
*
|
|
@@ -4427,9 +4504,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4427
4504
|
* @secure
|
|
4428
4505
|
*/
|
|
4429
4506
|
startRecording: (organizationId: string, data: {
|
|
4430
|
-
|
|
4507
|
+
title?: RecordingTitle;
|
|
4431
4508
|
context: RecordingContext;
|
|
4509
|
+
externalId?: string;
|
|
4510
|
+
externalURL?: string;
|
|
4432
4511
|
}, params?: RequestParams) => Promise<HttpResponse<Recording, Error>>;
|
|
4512
|
+
/**
|
|
4513
|
+
* No description
|
|
4514
|
+
*
|
|
4515
|
+
* @tags organizations
|
|
4516
|
+
* @name GetRecording
|
|
4517
|
+
* @summary Get a recording by its ID
|
|
4518
|
+
* @request GET:/orgs/{organizationId}/recordings/{recordingId}
|
|
4519
|
+
* @secure
|
|
4520
|
+
*/
|
|
4521
|
+
getRecording: (organizationId: string, recordingId: string, params?: RequestParams) => Promise<HttpResponse<Recording, Error>>;
|
|
4433
4522
|
/**
|
|
4434
4523
|
* No description
|
|
4435
4524
|
*
|
|
@@ -4451,9 +4540,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4451
4540
|
* @request POST:/orgs/{organizationId}/recordings/{recordingId}/stop
|
|
4452
4541
|
* @secure
|
|
4453
4542
|
*/
|
|
4454
|
-
stopRecording: (organizationId: string, recordingId: string,
|
|
4455
|
-
|
|
4456
|
-
}, Error>>;
|
|
4543
|
+
stopRecording: (organizationId: string, recordingId: string, data: {
|
|
4544
|
+
space: string;
|
|
4545
|
+
}, params?: RequestParams) => Promise<HttpResponse<RecordingOutput, Error>>;
|
|
4457
4546
|
};
|
|
4458
4547
|
internal: {
|
|
4459
4548
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -49,7 +49,6 @@ __export(src_exports, {
|
|
|
49
49
|
OrganizationType: () => OrganizationType,
|
|
50
50
|
OrganizationUseCase: () => OrganizationUseCase,
|
|
51
51
|
PurgeCDNCacheContextType: () => PurgeCDNCacheContextType,
|
|
52
|
-
RecordingContext: () => RecordingContext,
|
|
53
52
|
SpaceRelationType: () => SpaceRelationType,
|
|
54
53
|
SpaceType: () => SpaceType,
|
|
55
54
|
TeamMemberRole: () => TeamMemberRole
|
|
@@ -138,12 +137,6 @@ var TeamMemberRole = /* @__PURE__ */ ((TeamMemberRole2) => {
|
|
|
138
137
|
TeamMemberRole2["Participant"] = "participant";
|
|
139
138
|
return TeamMemberRole2;
|
|
140
139
|
})(TeamMemberRole || {});
|
|
141
|
-
var RecordingContext = /* @__PURE__ */ ((RecordingContext2) => {
|
|
142
|
-
RecordingContext2["Meeting"] = "meeting";
|
|
143
|
-
RecordingContext2["Conversation"] = "conversation";
|
|
144
|
-
RecordingContext2["Walkthrough"] = "walkthrough";
|
|
145
|
-
return RecordingContext2;
|
|
146
|
-
})(RecordingContext || {});
|
|
147
140
|
var ChangeRequestStatus = /* @__PURE__ */ ((ChangeRequestStatus2) => {
|
|
148
141
|
ChangeRequestStatus2["Draft"] = "draft";
|
|
149
142
|
ChangeRequestStatus2["Open"] = "open";
|
|
@@ -170,6 +163,7 @@ var AnalyticsTrafficInterval = /* @__PURE__ */ ((AnalyticsTrafficInterval2) => {
|
|
|
170
163
|
})(AnalyticsTrafficInterval || {});
|
|
171
164
|
var IntegrationScope = /* @__PURE__ */ ((IntegrationScope2) => {
|
|
172
165
|
IntegrationScope2["OrganizationEntitiesWrite"] = "organization:entities:write";
|
|
166
|
+
IntegrationScope2["RecordingWrite"] = "recording:write";
|
|
173
167
|
IntegrationScope2["SpaceViewsRead"] = "space:views:read";
|
|
174
168
|
IntegrationScope2["SpaceContentRead"] = "space:content:read";
|
|
175
169
|
IntegrationScope2["SpaceContentWrite"] = "space:content:write";
|
|
@@ -262,6 +256,7 @@ var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
|
|
|
262
256
|
ContentKitIcon2["Close"] = "close";
|
|
263
257
|
ContentKitIcon2["Edit"] = "edit";
|
|
264
258
|
ContentKitIcon2["Github"] = "github";
|
|
259
|
+
ContentKitIcon2["Gitlab"] = "gitlab";
|
|
265
260
|
ContentKitIcon2["Maximize"] = "maximize";
|
|
266
261
|
ContentKitIcon2["Email"] = "email";
|
|
267
262
|
ContentKitIcon2["Settings"] = "settings";
|
|
@@ -271,6 +266,7 @@ var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
|
|
|
271
266
|
ContentKitIcon2["Warning"] = "warning";
|
|
272
267
|
ContentKitIcon2["Link"] = "link";
|
|
273
268
|
ContentKitIcon2["LinkExternal"] = "link-external";
|
|
269
|
+
ContentKitIcon2["Eye"] = "eye";
|
|
274
270
|
return ContentKitIcon2;
|
|
275
271
|
})(ContentKitIcon || {});
|
|
276
272
|
var CustomFieldType = /* @__PURE__ */ ((CustomFieldType2) => {
|
|
@@ -1673,6 +1669,14 @@ var Api = class extends HttpClient {
|
|
|
1673
1669
|
secure: true,
|
|
1674
1670
|
...params
|
|
1675
1671
|
}),
|
|
1672
|
+
listRecordings: (organizationId, query, params = {}) => this.request({
|
|
1673
|
+
path: `/orgs/${organizationId}/recordings`,
|
|
1674
|
+
method: "GET",
|
|
1675
|
+
query,
|
|
1676
|
+
secure: true,
|
|
1677
|
+
format: "json",
|
|
1678
|
+
...params
|
|
1679
|
+
}),
|
|
1676
1680
|
startRecording: (organizationId, data, params = {}) => this.request({
|
|
1677
1681
|
path: `/orgs/${organizationId}/recordings`,
|
|
1678
1682
|
method: "POST",
|
|
@@ -1682,6 +1686,13 @@ var Api = class extends HttpClient {
|
|
|
1682
1686
|
format: "json",
|
|
1683
1687
|
...params
|
|
1684
1688
|
}),
|
|
1689
|
+
getRecording: (organizationId, recordingId, params = {}) => this.request({
|
|
1690
|
+
path: `/orgs/${organizationId}/recordings/${recordingId}`,
|
|
1691
|
+
method: "GET",
|
|
1692
|
+
secure: true,
|
|
1693
|
+
format: "json",
|
|
1694
|
+
...params
|
|
1695
|
+
}),
|
|
1685
1696
|
addEventsToRecording: (organizationId, recordingId, data, params = {}) => this.request({
|
|
1686
1697
|
path: `/orgs/${organizationId}/recordings/${recordingId}/events`,
|
|
1687
1698
|
method: "POST",
|
|
@@ -1690,10 +1701,12 @@ var Api = class extends HttpClient {
|
|
|
1690
1701
|
type: "application/json" /* Json */,
|
|
1691
1702
|
...params
|
|
1692
1703
|
}),
|
|
1693
|
-
stopRecording: (organizationId, recordingId, params = {}) => this.request({
|
|
1704
|
+
stopRecording: (organizationId, recordingId, data, params = {}) => this.request({
|
|
1694
1705
|
path: `/orgs/${organizationId}/recordings/${recordingId}/stop`,
|
|
1695
1706
|
method: "POST",
|
|
1707
|
+
body: data,
|
|
1696
1708
|
secure: true,
|
|
1709
|
+
type: "application/json" /* Json */,
|
|
1697
1710
|
format: "json",
|
|
1698
1711
|
...params
|
|
1699
1712
|
})
|
|
@@ -1810,7 +1823,6 @@ var GitBookAPI = class extends Api {
|
|
|
1810
1823
|
OrganizationType,
|
|
1811
1824
|
OrganizationUseCase,
|
|
1812
1825
|
PurgeCDNCacheContextType,
|
|
1813
|
-
RecordingContext,
|
|
1814
1826
|
SpaceRelationType,
|
|
1815
1827
|
SpaceType,
|
|
1816
1828
|
TeamMemberRole
|
package/dist/index.js
CHANGED
|
@@ -80,12 +80,6 @@ var TeamMemberRole = /* @__PURE__ */ ((TeamMemberRole2) => {
|
|
|
80
80
|
TeamMemberRole2["Participant"] = "participant";
|
|
81
81
|
return TeamMemberRole2;
|
|
82
82
|
})(TeamMemberRole || {});
|
|
83
|
-
var RecordingContext = /* @__PURE__ */ ((RecordingContext2) => {
|
|
84
|
-
RecordingContext2["Meeting"] = "meeting";
|
|
85
|
-
RecordingContext2["Conversation"] = "conversation";
|
|
86
|
-
RecordingContext2["Walkthrough"] = "walkthrough";
|
|
87
|
-
return RecordingContext2;
|
|
88
|
-
})(RecordingContext || {});
|
|
89
83
|
var ChangeRequestStatus = /* @__PURE__ */ ((ChangeRequestStatus2) => {
|
|
90
84
|
ChangeRequestStatus2["Draft"] = "draft";
|
|
91
85
|
ChangeRequestStatus2["Open"] = "open";
|
|
@@ -112,6 +106,7 @@ var AnalyticsTrafficInterval = /* @__PURE__ */ ((AnalyticsTrafficInterval2) => {
|
|
|
112
106
|
})(AnalyticsTrafficInterval || {});
|
|
113
107
|
var IntegrationScope = /* @__PURE__ */ ((IntegrationScope2) => {
|
|
114
108
|
IntegrationScope2["OrganizationEntitiesWrite"] = "organization:entities:write";
|
|
109
|
+
IntegrationScope2["RecordingWrite"] = "recording:write";
|
|
115
110
|
IntegrationScope2["SpaceViewsRead"] = "space:views:read";
|
|
116
111
|
IntegrationScope2["SpaceContentRead"] = "space:content:read";
|
|
117
112
|
IntegrationScope2["SpaceContentWrite"] = "space:content:write";
|
|
@@ -204,6 +199,7 @@ var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
|
|
|
204
199
|
ContentKitIcon2["Close"] = "close";
|
|
205
200
|
ContentKitIcon2["Edit"] = "edit";
|
|
206
201
|
ContentKitIcon2["Github"] = "github";
|
|
202
|
+
ContentKitIcon2["Gitlab"] = "gitlab";
|
|
207
203
|
ContentKitIcon2["Maximize"] = "maximize";
|
|
208
204
|
ContentKitIcon2["Email"] = "email";
|
|
209
205
|
ContentKitIcon2["Settings"] = "settings";
|
|
@@ -213,6 +209,7 @@ var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
|
|
|
213
209
|
ContentKitIcon2["Warning"] = "warning";
|
|
214
210
|
ContentKitIcon2["Link"] = "link";
|
|
215
211
|
ContentKitIcon2["LinkExternal"] = "link-external";
|
|
212
|
+
ContentKitIcon2["Eye"] = "eye";
|
|
216
213
|
return ContentKitIcon2;
|
|
217
214
|
})(ContentKitIcon || {});
|
|
218
215
|
var CustomFieldType = /* @__PURE__ */ ((CustomFieldType2) => {
|
|
@@ -1615,6 +1612,14 @@ var Api = class extends HttpClient {
|
|
|
1615
1612
|
secure: true,
|
|
1616
1613
|
...params
|
|
1617
1614
|
}),
|
|
1615
|
+
listRecordings: (organizationId, query, params = {}) => this.request({
|
|
1616
|
+
path: `/orgs/${organizationId}/recordings`,
|
|
1617
|
+
method: "GET",
|
|
1618
|
+
query,
|
|
1619
|
+
secure: true,
|
|
1620
|
+
format: "json",
|
|
1621
|
+
...params
|
|
1622
|
+
}),
|
|
1618
1623
|
startRecording: (organizationId, data, params = {}) => this.request({
|
|
1619
1624
|
path: `/orgs/${organizationId}/recordings`,
|
|
1620
1625
|
method: "POST",
|
|
@@ -1624,6 +1629,13 @@ var Api = class extends HttpClient {
|
|
|
1624
1629
|
format: "json",
|
|
1625
1630
|
...params
|
|
1626
1631
|
}),
|
|
1632
|
+
getRecording: (organizationId, recordingId, params = {}) => this.request({
|
|
1633
|
+
path: `/orgs/${organizationId}/recordings/${recordingId}`,
|
|
1634
|
+
method: "GET",
|
|
1635
|
+
secure: true,
|
|
1636
|
+
format: "json",
|
|
1637
|
+
...params
|
|
1638
|
+
}),
|
|
1627
1639
|
addEventsToRecording: (organizationId, recordingId, data, params = {}) => this.request({
|
|
1628
1640
|
path: `/orgs/${organizationId}/recordings/${recordingId}/events`,
|
|
1629
1641
|
method: "POST",
|
|
@@ -1632,10 +1644,12 @@ var Api = class extends HttpClient {
|
|
|
1632
1644
|
type: "application/json" /* Json */,
|
|
1633
1645
|
...params
|
|
1634
1646
|
}),
|
|
1635
|
-
stopRecording: (organizationId, recordingId, params = {}) => this.request({
|
|
1647
|
+
stopRecording: (organizationId, recordingId, data, params = {}) => this.request({
|
|
1636
1648
|
path: `/orgs/${organizationId}/recordings/${recordingId}/stop`,
|
|
1637
1649
|
method: "POST",
|
|
1650
|
+
body: data,
|
|
1638
1651
|
secure: true,
|
|
1652
|
+
type: "application/json" /* Json */,
|
|
1639
1653
|
format: "json",
|
|
1640
1654
|
...params
|
|
1641
1655
|
})
|
|
@@ -1751,7 +1765,6 @@ export {
|
|
|
1751
1765
|
OrganizationType,
|
|
1752
1766
|
OrganizationUseCase,
|
|
1753
1767
|
PurgeCDNCacheContextType,
|
|
1754
|
-
RecordingContext,
|
|
1755
1768
|
SpaceRelationType,
|
|
1756
1769
|
SpaceType,
|
|
1757
1770
|
TeamMemberRole
|