@phpsandbox/sdk 0.1.6 → 0.1.9

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/index.d.ts CHANGED
@@ -114,7 +114,7 @@ interface SystemActions {
114
114
  }
115
115
  export type Invokable = SystemActions & TerminalActions & ContainerActions & FilesystemActions & AuthActions & LspActions & ComposerActions & LogActions & ServiceActions & ConfigActions & NotebookActions & ReplActions & ShellActions & GitActions;
116
116
  export interface CreateNotebookImportAuthInput {
117
- access_token: string;
117
+ accessToken: string;
118
118
  }
119
119
  export interface CreateNotebookImportInput {
120
120
  provider: 'github';
@@ -148,9 +148,9 @@ export interface UpdateNotebookInput extends Omit<CreateNotebookInput, 'persiste
148
148
  network?: NetworkPolicy | null;
149
149
  }
150
150
  export interface NotebookPolicyData {
151
- auto_delete_when_stale: boolean;
152
- stale_after_minutes: number | null;
153
- prune_after_at: string | null;
151
+ autoDeleteWhenStale: boolean;
152
+ staleAfterMinutes: number | null;
153
+ pruneAfterAt: string | null;
154
154
  }
155
155
  export type SecretEnvironment = 'development' | 'production';
156
156
  export type SecretType = 'environment_variable' | 'credential';
@@ -218,7 +218,7 @@ export interface NotebookPreviewDataDisabled {
218
218
  export interface NotebookPreviewDataEnabled {
219
219
  enabled: true;
220
220
  token: string;
221
- expires_at: string;
221
+ expiresAt: string;
222
222
  }
223
223
  export type NotebookPreviewData = NotebookPreviewDataDisabled | NotebookPreviewDataEnabled;
224
224
  export type NotebookPreviewDataWithUrl = NotebookPreviewDataDisabled | (NotebookPreviewDataEnabled & {
@@ -228,24 +228,24 @@ export interface SetNotebookPreviewInput {
228
228
  password: string;
229
229
  }
230
230
  export interface NotebookPreviewSessionData {
231
- preview_session_id: string;
231
+ previewSessionId: string;
232
232
  token: string;
233
- expires_at: string;
233
+ expiresAt: string;
234
234
  url: string;
235
235
  }
236
236
  export interface CreateNotebookPreviewSessionInput {
237
237
  url: string;
238
238
  }
239
239
  export interface CreateNotebookPreviewHandoffInput {
240
- preview_session_id: string;
241
- expires_in_seconds?: number;
240
+ previewSessionId: string;
241
+ expiresInSeconds?: number;
242
242
  url: string;
243
243
  }
244
244
  export interface NotebookPreviewHandoffData {
245
- handoff_id: string;
246
- preview_session_id: string;
245
+ handoffId: string;
246
+ previewSessionId: string;
247
247
  token: string;
248
- expires_at: string;
248
+ expiresAt: string;
249
249
  url: string;
250
250
  }
251
251
  export interface NotebookMailRecipientData {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phpsandbox/sdk",
3
- "version": "0.1.6",
3
+ "version": "0.1.9",
4
4
  "description": "A comprehensive TypeScript SDK for interacting with cloud-based PHP development environments",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",