@pitcher/js-api 1.22.0-alpha.6 → 1.22.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/README.md +4 -2
  2. package/js-api.esm.js +472 -139
  3. package/js-api.esm.js.map +1 -1
  4. package/js-api.umd.min.js +10 -10
  5. package/js-api.umd.min.js.map +1 -1
  6. package/lib/api/canvases/canvases.queries.d.ts +5 -5
  7. package/lib/apps/browser/stores/api.d.ts +215 -84
  8. package/lib/apps/browser/stores/app.d.ts +7 -26
  9. package/lib/apps/browser/stores/upload.d.ts +34 -24
  10. package/lib/apps/browser/util/file.d.ts +2 -2
  11. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +550 -460
  12. package/lib/apps/canvas-builder/composables/useCanvasExit.d.ts +3 -0
  13. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +86 -74
  14. package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +4 -4
  15. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +3 -3
  16. package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +3 -3
  17. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +24 -17
  18. package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -2
  19. package/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +3 -3
  20. package/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +2 -2
  21. package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +6 -4
  22. package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +15 -0
  23. package/lib/apps/canvas-builder/composables/useRecommendations.d.ts +5 -5
  24. package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +2 -2
  25. package/lib/apps/canvas-builder/types/canvas.d.ts +19 -18
  26. package/lib/apps/canvas-builder/types/recommendations.types.d.ts +3 -3
  27. package/lib/apps/canvas-builder/util/canvas.util.d.ts +5 -4
  28. package/lib/apps/canvas-selector/appTypes.d.ts +13 -0
  29. package/lib/apps/canvas-selector/constants/index.d.ts +3 -0
  30. package/lib/apps/canvas-selector/stores/app.d.ts +415 -0
  31. package/lib/apps/content-selector/appTypes.d.ts +1 -0
  32. package/lib/apps/content-selector/stores/app.d.ts +8 -1
  33. package/lib/components/CFileViewer/CFileViewer.use.d.ts +2 -4
  34. package/lib/components/CFileViewer/CFileViewerFullScreen.use.d.ts +1 -1
  35. package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +5 -5
  36. package/lib/components/filters/filter.util.d.ts +1 -1
  37. package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +5 -3
  38. package/lib/composables/instanceTagsActions.use.d.ts +14 -0
  39. package/lib/composables/recentFiles.use.d.ts +1 -1
  40. package/lib/composables/suggestedTags.use.d.ts +3 -0
  41. package/lib/composables/tableColumnsSettings.use.d.ts +25 -0
  42. package/lib/composables/useCanvasOverlay.d.ts +20 -0
  43. package/lib/composables/useCanvasTablesPagination.d.ts +13 -0
  44. package/lib/composables/useConfirmation.d.ts +1 -0
  45. package/lib/composables/useElementHeightResize.d.ts +5 -0
  46. package/lib/composables/useFiles.d.ts +11 -0
  47. package/lib/constants/pitcherSettings.const.d.ts +4 -0
  48. package/lib/main.lib.d.ts +32 -21
  49. package/lib/sdk/api/HighLevelApi.d.ts +112 -14
  50. package/lib/sdk/api/modules/admin/canvas.admin.d.ts +53 -15
  51. package/lib/sdk/api/modules/admin/env.admin.d.ts +3 -2
  52. package/lib/sdk/api/modules/admin/files.admin.d.ts +43 -4
  53. package/lib/sdk/api/modules/admin/index.d.ts +53 -5
  54. package/lib/sdk/api/modules/admin/metadataTemplates.admin.d.ts +1 -2
  55. package/lib/sdk/api/modules/admin/types.admin.d.ts +131 -3
  56. package/lib/sdk/api/modules/canvas.d.ts +12 -14
  57. package/lib/sdk/api/modules/dsr/env.dsr.d.ts +4 -3
  58. package/lib/sdk/api/modules/dsr/index.d.ts +14 -3
  59. package/lib/sdk/api/modules/dsr/loading.dsr.d.ts +7 -1
  60. package/lib/sdk/api/modules/env.d.ts +16 -0
  61. package/lib/sdk/api/modules/favorites.d.ts +9 -0
  62. package/lib/sdk/api/modules/feedback.d.ts +3 -0
  63. package/lib/sdk/api/modules/files.d.ts +7 -4
  64. package/lib/sdk/api/modules/folders.d.ts +29 -0
  65. package/lib/sdk/api/modules/open.d.ts +6 -0
  66. package/lib/sdk/api/modules/sync.d.ts +1 -2
  67. package/lib/sdk/api/modules/ui/app-errors.ui.d.ts +13 -1
  68. package/lib/sdk/api/modules/ui/canvas.ui.d.ts +102 -8
  69. package/lib/sdk/api/modules/ui/content.ui.d.ts +52 -2
  70. package/lib/sdk/api/modules/ui/index.d.ts +150 -13
  71. package/lib/sdk/api/modules/ui/loading.ui.d.ts +9 -1
  72. package/lib/sdk/api/modules/ui/location.ui.d.ts +18 -1
  73. package/lib/sdk/api/modules/ui/post-call.ui.d.ts +35 -4
  74. package/lib/sdk/api/modules/ui/types.ui.d.ts +85 -8
  75. package/lib/sdk/api/modules/users.d.ts +6 -1
  76. package/lib/sdk/interfaces.d.ts +122 -3
  77. package/lib/sdk/main.d.ts +297 -151
  78. package/lib/sdk/payload.types.d.ts +134 -2
  79. package/lib/sdk/utils/httpFetch.d.ts +1 -1
  80. package/lib/sdk/utils/object.d.ts +1 -0
  81. package/lib/sdk/utils/object.spec.d.ts +1 -0
  82. package/lib/theme/light.d.ts +12 -0
  83. package/lib/types/app.d.ts +11 -0
  84. package/lib/types/call.d.ts +4 -3
  85. package/lib/types/files.d.ts +27 -1
  86. package/lib/types/filter.d.ts +5 -0
  87. package/lib/types/instance.types.d.ts +18 -0
  88. package/lib/types/{instanceSettings.d.ts → instanceSettings.types.d.ts} +10 -2
  89. package/lib/types/launchDarkly.types.d.ts +4 -4
  90. package/lib/types/organization.types.d.ts +2 -2
  91. package/lib/types/organizationSettings.types.d.ts +4 -0
  92. package/lib/types/recentFiles.types.d.ts +4 -1
  93. package/lib/types/users.d.ts +13 -0
  94. package/lib/util/fullscreen.util.d.ts +1 -1
  95. package/lib/util/string.d.ts +1 -0
  96. package/package.json +1 -1
  97. package/types/openapi/index.d.ts +23 -17
  98. package/types/openapi/models/AccessTypeEnum.d.ts +3 -1
  99. package/types/openapi/models/App.d.ts +1 -0
  100. package/types/openapi/models/AppRelease.d.ts +1 -0
  101. package/types/openapi/models/AppsDBEntry.d.ts +4 -0
  102. package/types/openapi/models/AppsDBEntryRequest.d.ts +3 -0
  103. package/types/openapi/models/Canvas.d.ts +10 -15
  104. package/types/openapi/models/CanvasCreate.d.ts +14 -12
  105. package/types/openapi/models/CanvasCreateRequest.d.ts +6 -5
  106. package/types/openapi/models/CanvasRecommendedFile.d.ts +6 -0
  107. package/types/openapi/models/CanvasRetrieve.d.ts +15 -13
  108. package/types/openapi/models/CanvasSection.d.ts +5 -2
  109. package/types/openapi/models/CanvasUpdate.d.ts +14 -12
  110. package/types/openapi/models/CanvasUpdateRequest.d.ts +5 -4
  111. package/types/openapi/models/CollaborationRoleEnum.d.ts +0 -4
  112. package/types/openapi/models/ContentDistributionGroupCreate.d.ts +1 -0
  113. package/types/openapi/models/DeletedApp.d.ts +1 -0
  114. package/types/openapi/models/{CanvasList.d.ts → DeletedCanvas.d.ts} +13 -9
  115. package/types/openapi/models/DeletedContentDistributionGroup.d.ts +1 -0
  116. package/types/openapi/models/DeletedEnvironment.d.ts +1 -0
  117. package/types/openapi/models/DeletedFavorite.d.ts +1 -0
  118. package/types/openapi/models/DeletedFile.d.ts +6 -0
  119. package/types/openapi/models/DeletedFolder.d.ts +4 -3
  120. package/types/openapi/models/DeletedInstance.d.ts +1 -0
  121. package/types/openapi/models/DeletedInstanceAssignmentGroup.d.ts +1 -0
  122. package/types/openapi/models/DeletedMetadataTemplate.d.ts +1 -0
  123. package/types/openapi/models/DeletedRegion.d.ts +1 -0
  124. package/types/openapi/models/Environment.d.ts +1 -0
  125. package/types/openapi/models/Favorite.d.ts +1 -0
  126. package/types/openapi/models/File.d.ts +6 -0
  127. package/types/openapi/models/FileCreate.d.ts +8 -0
  128. package/types/openapi/models/FileCreateRequest.d.ts +3 -0
  129. package/types/openapi/models/FilePermission.d.ts +4 -0
  130. package/types/openapi/models/FilePermissionRequest.d.ts +4 -0
  131. package/types/openapi/models/FileRetrieve.d.ts +8 -0
  132. package/types/openapi/models/FileRevision.d.ts +8 -0
  133. package/types/openapi/models/FileRevisionRequest.d.ts +3 -0
  134. package/types/openapi/models/FileUpdate.d.ts +8 -0
  135. package/types/openapi/models/FileUpdateRequest.d.ts +3 -0
  136. package/types/openapi/models/FileVersion.d.ts +5 -0
  137. package/types/openapi/models/Folder.d.ts +4 -3
  138. package/types/openapi/models/FolderCanvas.d.ts +11 -0
  139. package/types/openapi/models/FolderCreate.d.ts +8 -7
  140. package/types/openapi/models/FolderCreateRequest.d.ts +4 -2
  141. package/types/openapi/models/FolderFile.d.ts +3 -0
  142. package/types/openapi/models/FolderFolder.d.ts +5 -1
  143. package/types/openapi/models/FolderRetrieve.d.ts +8 -8
  144. package/types/openapi/models/FolderRule.d.ts +7 -0
  145. package/types/openapi/models/FolderRuleRequest.d.ts +7 -0
  146. package/types/openapi/models/FolderUpdate.d.ts +8 -8
  147. package/types/openapi/models/FolderUpdateRequest.d.ts +3 -0
  148. package/types/openapi/models/Instance.d.ts +1 -0
  149. package/types/openapi/models/InstanceUpdate.d.ts +1 -0
  150. package/types/openapi/models/MetadataTemplate.d.ts +1 -0
  151. package/types/openapi/models/OfflineSyncFolder.d.ts +17 -0
  152. package/types/openapi/models/OperatorEnum.d.ts +64 -0
  153. package/types/openapi/models/PaginatedCanvasList.d.ts +8 -0
  154. package/types/openapi/models/PaginatedFileRevisionList.d.ts +8 -0
  155. package/types/openapi/models/PaginatedOfflineSyncFolderList.d.ts +8 -0
  156. package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +5 -4
  157. package/types/openapi/models/PatchedFileRequest.d.ts +3 -0
  158. package/types/openapi/models/PatchedFileRevisionRequest.d.ts +3 -0
  159. package/types/openapi/models/PatchedFileUpdateRequest.d.ts +3 -0
  160. package/types/openapi/models/PatchedFolderUpdateRequest.d.ts +3 -0
  161. package/types/openapi/models/Region.d.ts +1 -0
  162. package/types/openapi/models/SearchFile.d.ts +3 -0
  163. package/types/openapi/models/SharedLink.d.ts +6 -5
  164. package/types/openapi/models/SharedLinkCanvas.d.ts +11 -0
  165. package/types/openapi/models/SharedLinkCanvasRequest.d.ts +8 -0
  166. package/types/openapi/models/SharedLinkCreate.d.ts +6 -5
  167. package/types/openapi/models/{SharedLinkInstanceSerialzier.d.ts → SharedLinkInstance.d.ts} +1 -1
  168. package/types/openapi/models/SharedLinkInstanceRequest.d.ts +5 -0
  169. package/types/openapi/models/{SharedLinkOrganizationSerialzier.d.ts → SharedLinkOrganization.d.ts} +1 -1
  170. package/types/openapi/models/SharedLinkOrganizationRequest.d.ts +6 -0
  171. package/lib/apps/canvas-builder/util/tsUtils.d.ts +0 -3
  172. package/lib/composables/useDetailsView.d.ts +0 -19
  173. package/lib/types/templateActions.d.ts +0 -10
  174. package/lib/util/gesture.util.d.ts +0 -6
  175. package/types/openapi/models/AppsDBGlobalEntry.d.ts +0 -8
  176. package/types/openapi/models/AppsDBGlobalEntryRequest.d.ts +0 -3
  177. package/types/openapi/models/AppsDBUserEntry.d.ts +0 -9
  178. package/types/openapi/models/AppsDBUserEntryRequest.d.ts +0 -3
  179. package/types/openapi/models/CanvasSectionRetrieve.d.ts +0 -7
  180. package/types/openapi/models/CanvasSectionRetrieveRequest.d.ts +0 -5
  181. package/types/openapi/models/FileRequest.d.ts +0 -13
  182. package/types/openapi/models/InstanceStorageCredentials.d.ts +0 -6
  183. package/types/openapi/models/MiniAccount.d.ts +0 -4
  184. package/types/openapi/models/PSPDFKitAuthPayload.d.ts +0 -3
  185. package/types/openapi/models/PSPDFKitAuthPayloadRequest.d.ts +0 -3
  186. package/types/openapi/models/PSPDFKitToken.d.ts +0 -7
  187. package/types/openapi/models/PSPDFKitTokenRequest.d.ts +0 -3
  188. package/types/openapi/models/PaginatedCanvasListList.d.ts +0 -8
@@ -1,5 +1,6 @@
1
1
  import { AccessTypeEnum } from './AccessTypeEnum';
2
2
  import { DownloadTypeEnum } from './DownloadTypeEnum';
3
+ import { FilePermissionRequest } from './FilePermissionRequest';
3
4
 
4
5
  export type PatchedFileUpdateRequest = {
5
6
  name?: string;
@@ -9,9 +10,11 @@ export type PatchedFileUpdateRequest = {
9
10
  thumbnail_upload_id?: string;
10
11
  download_type?: DownloadTypeEnum;
11
12
  access_type?: AccessTypeEnum;
13
+ permissions?: FilePermissionRequest;
12
14
  metadata?: Record<string, any>;
13
15
  app_metadata?: Record<string, any>;
14
16
  tags?: Array<string>;
15
17
  expires_at?: string | null;
16
18
  folder_id?: string;
19
+ owned_by_id?: number | null;
17
20
  };
@@ -1,4 +1,5 @@
1
1
  import { AccessTypeEnum } from './AccessTypeEnum';
2
+ import { FolderRuleRequest } from './FolderRuleRequest';
2
3
 
3
4
  /**
4
5
  * Serializer class for updating folder records.
@@ -10,6 +11,8 @@ import { AccessTypeEnum } from './AccessTypeEnum';
10
11
  export type PatchedFolderUpdateRequest = {
11
12
  name?: string;
12
13
  access_type?: AccessTypeEnum;
14
+ rules?: Array<FolderRuleRequest>;
13
15
  parent_folder_id?: string;
14
16
  thumbnail_id?: string;
17
+ owned_by_id?: number | null;
15
18
  };
@@ -7,4 +7,5 @@ export type Region = {
7
7
  readonly created_by: MiniUser;
8
8
  readonly modified_at: string;
9
9
  readonly modified_by: MiniUser;
10
+ readonly owned_by: MiniUser;
10
11
  };
@@ -1,6 +1,9 @@
1
+ import { MiniFolder } from './MiniFolder';
2
+
1
3
  export type SearchFile = {
2
4
  readonly id: string;
3
5
  name: string;
4
6
  readonly headline: string;
5
7
  readonly picture_url: string;
8
+ readonly folder: MiniFolder;
6
9
  };
@@ -1,14 +1,15 @@
1
- import { SharedLinkInstanceSerialzier } from './SharedLinkInstanceSerialzier';
2
- import { SharedLinkOrganizationSerialzier } from './SharedLinkOrganizationSerialzier';
1
+ import { SharedLinkCanvas } from './SharedLinkCanvas';
2
+ import { SharedLinkInstance } from './SharedLinkInstance';
3
+ import { SharedLinkOrganization } from './SharedLinkOrganization';
3
4
 
4
5
  export type SharedLink = {
5
6
  readonly id: string;
6
7
  readonly type: string;
7
8
  is_snapshot?: boolean;
8
9
  readonly file: Record<string, any> | null;
9
- readonly canvas: Record<string, any> | null;
10
- readonly instance: SharedLinkInstanceSerialzier;
11
- readonly organization: SharedLinkOrganizationSerialzier;
10
+ readonly canvas: SharedLinkCanvas;
11
+ readonly instance: SharedLinkInstance;
12
+ readonly organization: SharedLinkOrganization;
12
13
  readonly status: string;
13
14
  readonly url: string;
14
15
  short_url?: string | null;
@@ -0,0 +1,11 @@
1
+ import { CanvasSection } from './CanvasSection';
2
+
3
+ export type SharedLinkCanvas = {
4
+ readonly id: string;
5
+ name: string;
6
+ content?: Record<string, any>;
7
+ context?: Record<string, any>;
8
+ theme?: Record<string, any> | null;
9
+ thumbnail_url?: string | null;
10
+ readonly sections: Array<CanvasSection>;
11
+ };
@@ -0,0 +1,8 @@
1
+ export type SharedLinkCanvasRequest = {
2
+ name: string;
3
+ content?: Record<string, any>;
4
+ context?: Record<string, any>;
5
+ theme?: Record<string, any> | null;
6
+ thumbnail_url?: string | null;
7
+ owned_by_id?: number | null;
8
+ };
@@ -1,14 +1,15 @@
1
- import { SharedLinkInstanceSerialzier } from './SharedLinkInstanceSerialzier';
2
- import { SharedLinkOrganizationSerialzier } from './SharedLinkOrganizationSerialzier';
1
+ import { SharedLinkCanvas } from './SharedLinkCanvas';
2
+ import { SharedLinkInstance } from './SharedLinkInstance';
3
+ import { SharedLinkOrganization } from './SharedLinkOrganization';
3
4
 
4
5
  export type SharedLinkCreate = {
5
6
  readonly id: string;
6
7
  readonly type: string;
7
8
  is_snapshot?: boolean;
8
9
  readonly file: Record<string, any> | null;
9
- readonly canvas: Record<string, any> | null;
10
- readonly instance: SharedLinkInstanceSerialzier;
11
- readonly organization: SharedLinkOrganizationSerialzier;
10
+ readonly canvas: SharedLinkCanvas;
11
+ readonly instance: SharedLinkInstance;
12
+ readonly organization: SharedLinkOrganization;
12
13
  readonly status: string;
13
14
  readonly url: string;
14
15
  short_url?: string | null;
@@ -1,4 +1,4 @@
1
- export type SharedLinkInstanceSerialzier = {
1
+ export type SharedLinkInstance = {
2
2
  readonly id: string;
3
3
  name: string;
4
4
  logo?: string | null;
@@ -0,0 +1,5 @@
1
+ export type SharedLinkInstanceRequest = {
2
+ name: string;
3
+ logo?: Blob | null;
4
+ color?: string | null;
5
+ };
@@ -1,4 +1,4 @@
1
- export type SharedLinkOrganizationSerialzier = {
1
+ export type SharedLinkOrganization = {
2
2
  id: string;
3
3
  name: string;
4
4
  display_name?: string | null;
@@ -0,0 +1,6 @@
1
+ export type SharedLinkOrganizationRequest = {
2
+ id: string;
3
+ name: string;
4
+ display_name?: string | null;
5
+ metadata?: any;
6
+ };
@@ -1,3 +0,0 @@
1
- export type WithRequiredProperty<Type, Key extends keyof Type> = Type & {
2
- [Property in Key]-?: Type[Property];
3
- };
@@ -1,19 +0,0 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { NavigationFailure } from 'vue-router';
3
- import * as Waypoint from 'vue-waypoint';
4
- export default function <T extends string>(sectionIdList: T[]): {
5
- onScrollToWaypoint: ({ el, going, direction, }: {
6
- el: Element;
7
- going: Waypoint.Going;
8
- direction: Waypoint.Direction;
9
- }) => void;
10
- onClose: (sectionId: T) => void;
11
- onClickMenu: (sectionId: T) => void;
12
- selectedSectionId: Ref<string>;
13
- sectionsEditStates: import('vue').Reactive<Record<T, boolean>>;
14
- routerGuard: (guard: ComputedRef<boolean>, goBack: () => Promise<void | NavigationFailure | undefined>) => void;
15
- waypointOptions: {
16
- threshold: number;
17
- };
18
- MENU_WIDTH: string;
19
- };
@@ -1,10 +0,0 @@
1
- export declare enum TemplateActions {
2
- Copy = "duplicate",
3
- Share = "share",
4
- CreateTemplate = "createTemplate",
5
- Delete = "delete",
6
- Revisions = "revisions",
7
- Insights = "insights",
8
- Edit = "edit",
9
- Preview = "preview"
10
- }
@@ -1,6 +0,0 @@
1
- export declare function setupPinchGesture({ target, onPinchIn, onPinchOut, touches, }: {
2
- target: HTMLElement | Window;
3
- onPinchIn: () => void;
4
- onPinchOut: () => void;
5
- touches?: number;
6
- }): () => void;
@@ -1,8 +0,0 @@
1
- export type AppsDBGlobalEntry = {
2
- readonly store_name: string;
3
- readonly instance_id: string;
4
- readonly scope: string;
5
- readonly key: string;
6
- value: string;
7
- readonly modified_at: string;
8
- };
@@ -1,3 +0,0 @@
1
- export type AppsDBGlobalEntryRequest = {
2
- value: string;
3
- };
@@ -1,9 +0,0 @@
1
- export type AppsDBUserEntry = {
2
- readonly store_name: string;
3
- readonly instance_id: string;
4
- readonly scope: string;
5
- readonly user_id: string;
6
- readonly key: string;
7
- value: string;
8
- readonly modified_at: string;
9
- };
@@ -1,3 +0,0 @@
1
- export type AppsDBUserEntryRequest = {
2
- value: string;
3
- };
@@ -1,7 +0,0 @@
1
- export type CanvasSectionRetrieve = {
2
- readonly id: string;
3
- name: string;
4
- metadata?: Record<string, any>;
5
- readonly content: Record<string, any>;
6
- theme?: any;
7
- };
@@ -1,5 +0,0 @@
1
- export type CanvasSectionRetrieveRequest = {
2
- name: string;
3
- metadata?: Record<string, any>;
4
- theme?: any;
5
- };
@@ -1,13 +0,0 @@
1
- import { AccessTypeEnum } from './AccessTypeEnum';
2
- import { DownloadTypeEnum } from './DownloadTypeEnum';
3
-
4
- export type FileRequest = {
5
- name?: string;
6
- download_type?: DownloadTypeEnum;
7
- access_type?: AccessTypeEnum;
8
- metadata?: Record<string, any>;
9
- app_metadata?: Record<string, any>;
10
- tags?: Array<string>;
11
- expires_at?: string | null;
12
- folder_id?: string;
13
- };
@@ -1,6 +0,0 @@
1
- export type InstanceStorageCredentials = {
2
- base_url: string;
3
- policy: string;
4
- signature: string;
5
- key_pair_id: string;
6
- };
@@ -1,4 +0,0 @@
1
- export type MiniAccount = {
2
- id: string;
3
- name: string;
4
- };
@@ -1,3 +0,0 @@
1
- export type PSPDFKitAuthPayload = {
2
- jwt: string;
3
- };
@@ -1,3 +0,0 @@
1
- export type PSPDFKitAuthPayloadRequest = {
2
- jwt: string;
3
- };
@@ -1,7 +0,0 @@
1
- import { PSPDFKitAuthPayload } from './PSPDFKitAuthPayload';
2
-
3
- export type PSPDFKitToken = {
4
- readonly documentId: string;
5
- readonly authPayload: PSPDFKitAuthPayload;
6
- readonly instant: boolean;
7
- };
@@ -1,3 +0,0 @@
1
- export type PSPDFKitTokenRequest = {
2
- file_id: string;
3
- };
@@ -1,8 +0,0 @@
1
- import { CanvasList } from './CanvasList';
2
-
3
- export type PaginatedCanvasListList = {
4
- count?: number;
5
- next?: string | null;
6
- previous?: string | null;
7
- results?: Array<CanvasList>;
8
- };