@amerged/ohmyhost-sdk 0.1.73 → 0.1.75

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.
@@ -1,7 +1,7 @@
1
1
  import { applyPaidProjectDomain, changeDatabaseCompute, changeProjectHandle, configureBillingRecharge, configureManagedMailDomain, configureProjectDomains, configureProjectSourceAutoDeploy, createBillingCheckout, createBillingPortal, createCloudflareDnsAuthorization, createProjectDataChange, createProjectDatabaseTable, createProjectDatabaseWatch, deactivateDatabaseWebhookSubscription, deleteEnvironmentSecret, deleteManagedMailDomain, deletePaidProjectDomain, deleteProject, deleteProjectDatabaseSchedule, deleteProjectDatabaseWatch, deleteProjectDatabaseWebhook, disableManagedMailReceiving, disconnectGithubOrganization, getBillingCheckout, getBillingRecharge, getCloudflareDnsAuthorizationStatus, getDatabaseCompute, getFeedback, getManagedMailDomain, getManagedMailMessage, getOrganizationAccount, getOrganizationCreditUsage, getOrganizationCredits, getOrganizationReferral, getPaidProjectDomain, getProjectCreditBudget, getProjectDatabaseSchedule, getProjectDatabaseWebhook, getProjectExport, getProjectHandleAvailability, getProjectPoweredByFlag, getProjectSourceAutoDeploy, listAuditEvents, listConnectionProviders, listFunctionRuns, listManagedMailMessages, listOrganizationMcpConnections, listProjectDatabaseAccess, listProjectDatabaseWatches, planPaidProjectDomain, planProjectDataChange, planProjectDeletion, queryProjectDatabase, replayProjectDatabaseWebhookDelivery, retryManagedMailMessage, revokeOrganizationMcpConnection, revokeProjectDatabaseAccess, revokeProjectDevShareLink, rotateProjectDevShareLink, runProjectDatabaseSchedule, setProjectCreditBudget, setProjectDatabaseSchedule, setProjectDevAccessMode, setProjectNotes, setProjectPoweredByFlag, submitFeedback, testProjectDatabaseWebhook, verifyManagedMailWebhook, writeProjectDatabase, } from "./sdk.gen.js";
2
- export const remoteMcpContractSha256 = "1cb53afbb2abd3322167436062b0925bc9d931a34da1ab5d9bb33dff0abf8e3c";
2
+ export const remoteMcpContractSha256 = "61ed92a391a6fc6c187cab53c0e0307dcc45652563857384745d0d8aab25dde0";
3
3
  export const remoteMcpContractVersion = "0.0.0";
4
- export const remoteMcpReleaseVersion = "0.1.73";
4
+ export const remoteMcpReleaseVersion = "0.1.75";
5
5
  export const remoteMcpOperations = [
6
6
  {
7
7
  inputSchema: {
@@ -54,7 +54,16 @@ export const remoteMcpOperations = [
54
54
  outputSchema: {
55
55
  type: "object",
56
56
  additionalProperties: false,
57
- required: ["id", "project_id", "environment", "status", "url", "source"],
57
+ required: [
58
+ "id",
59
+ "project_id",
60
+ "environment",
61
+ "status",
62
+ "url",
63
+ "source",
64
+ "applied_source",
65
+ "ready_to_show",
66
+ ],
58
67
  properties: {
59
68
  id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
60
69
  project_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
@@ -73,11 +82,31 @@ export const remoteMcpOperations = [
73
82
  additionalProperties: false,
74
83
  required: ["sequence", "commit_sha"],
75
84
  properties: {
76
- sequence: { type: "integer", minimum: 1 },
77
- commit_sha: { type: "string", pattern: "^[0-9a-f]{40}$" },
85
+ sequence: { type: "integer", minimum: 1, maximum: 9007199254740991 },
86
+ commit_sha: { type: "string", pattern: "^(?!0{40}$)[0-9a-f]{40}$" },
78
87
  },
79
88
  },
80
89
  ],
90
+ description: "The saved version selected for this preview, or null if there is none.",
91
+ },
92
+ applied_source: {
93
+ oneOf: [
94
+ { type: "null" },
95
+ {
96
+ type: "object",
97
+ additionalProperties: false,
98
+ required: ["sequence", "commit_sha"],
99
+ properties: {
100
+ sequence: { type: "integer", minimum: 1, maximum: 9007199254740991 },
101
+ commit_sha: { type: "string", pattern: "^(?!0{40}$)[0-9a-f]{40}$" },
102
+ },
103
+ },
104
+ ],
105
+ description: "The version applied to the preview, or null if no version has been applied.",
106
+ },
107
+ ready_to_show: {
108
+ type: "boolean",
109
+ description: "True when the preview is ready and its applied version has the same sequence as the saved version.",
81
110
  },
82
111
  },
83
112
  },
@@ -133,7 +162,16 @@ export const remoteMcpOperations = [
133
162
  outputSchema: {
134
163
  type: "object",
135
164
  additionalProperties: false,
136
- required: ["id", "project_id", "environment", "status", "url", "source"],
165
+ required: [
166
+ "id",
167
+ "project_id",
168
+ "environment",
169
+ "status",
170
+ "url",
171
+ "source",
172
+ "applied_source",
173
+ "ready_to_show",
174
+ ],
137
175
  properties: {
138
176
  id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
139
177
  project_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
@@ -152,11 +190,31 @@ export const remoteMcpOperations = [
152
190
  additionalProperties: false,
153
191
  required: ["sequence", "commit_sha"],
154
192
  properties: {
155
- sequence: { type: "integer", minimum: 1 },
156
- commit_sha: { type: "string", pattern: "^[0-9a-f]{40}$" },
193
+ sequence: { type: "integer", minimum: 1, maximum: 9007199254740991 },
194
+ commit_sha: { type: "string", pattern: "^(?!0{40}$)[0-9a-f]{40}$" },
157
195
  },
158
196
  },
159
197
  ],
198
+ description: "The saved version selected for this preview, or null if there is none.",
199
+ },
200
+ applied_source: {
201
+ oneOf: [
202
+ { type: "null" },
203
+ {
204
+ type: "object",
205
+ additionalProperties: false,
206
+ required: ["sequence", "commit_sha"],
207
+ properties: {
208
+ sequence: { type: "integer", minimum: 1, maximum: 9007199254740991 },
209
+ commit_sha: { type: "string", pattern: "^(?!0{40}$)[0-9a-f]{40}$" },
210
+ },
211
+ },
212
+ ],
213
+ description: "The version applied to the preview, or null if no version has been applied.",
214
+ },
215
+ ready_to_show: {
216
+ type: "boolean",
217
+ description: "True when the preview is ready and its applied version has the same sequence as the saved version.",
160
218
  },
161
219
  },
162
220
  },
@@ -225,7 +283,16 @@ export const remoteMcpOperations = [
225
283
  outputSchema: {
226
284
  type: "object",
227
285
  additionalProperties: false,
228
- required: ["id", "project_id", "environment", "status", "url", "source"],
286
+ required: [
287
+ "id",
288
+ "project_id",
289
+ "environment",
290
+ "status",
291
+ "url",
292
+ "source",
293
+ "applied_source",
294
+ "ready_to_show",
295
+ ],
229
296
  properties: {
230
297
  id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
231
298
  project_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
@@ -244,11 +311,31 @@ export const remoteMcpOperations = [
244
311
  additionalProperties: false,
245
312
  required: ["sequence", "commit_sha"],
246
313
  properties: {
247
- sequence: { type: "integer", minimum: 1 },
248
- commit_sha: { type: "string", pattern: "^[0-9a-f]{40}$" },
314
+ sequence: { type: "integer", minimum: 1, maximum: 9007199254740991 },
315
+ commit_sha: { type: "string", pattern: "^(?!0{40}$)[0-9a-f]{40}$" },
249
316
  },
250
317
  },
251
318
  ],
319
+ description: "The saved version selected for this preview, or null if there is none.",
320
+ },
321
+ applied_source: {
322
+ oneOf: [
323
+ { type: "null" },
324
+ {
325
+ type: "object",
326
+ additionalProperties: false,
327
+ required: ["sequence", "commit_sha"],
328
+ properties: {
329
+ sequence: { type: "integer", minimum: 1, maximum: 9007199254740991 },
330
+ commit_sha: { type: "string", pattern: "^(?!0{40}$)[0-9a-f]{40}$" },
331
+ },
332
+ },
333
+ ],
334
+ description: "The version applied to the preview, or null if no version has been applied.",
335
+ },
336
+ ready_to_show: {
337
+ type: "boolean",
338
+ description: "True when the preview is ready and its applied version has the same sequence as the saved version.",
252
339
  },
253
340
  },
254
341
  },
@@ -317,7 +404,16 @@ export const remoteMcpOperations = [
317
404
  outputSchema: {
318
405
  type: "object",
319
406
  additionalProperties: false,
320
- required: ["id", "project_id", "environment", "status", "url", "source"],
407
+ required: [
408
+ "id",
409
+ "project_id",
410
+ "environment",
411
+ "status",
412
+ "url",
413
+ "source",
414
+ "applied_source",
415
+ "ready_to_show",
416
+ ],
321
417
  properties: {
322
418
  id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
323
419
  project_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
@@ -336,11 +432,31 @@ export const remoteMcpOperations = [
336
432
  additionalProperties: false,
337
433
  required: ["sequence", "commit_sha"],
338
434
  properties: {
339
- sequence: { type: "integer", minimum: 1 },
340
- commit_sha: { type: "string", pattern: "^[0-9a-f]{40}$" },
435
+ sequence: { type: "integer", minimum: 1, maximum: 9007199254740991 },
436
+ commit_sha: { type: "string", pattern: "^(?!0{40}$)[0-9a-f]{40}$" },
341
437
  },
342
438
  },
343
439
  ],
440
+ description: "The saved version selected for this preview, or null if there is none.",
441
+ },
442
+ applied_source: {
443
+ oneOf: [
444
+ { type: "null" },
445
+ {
446
+ type: "object",
447
+ additionalProperties: false,
448
+ required: ["sequence", "commit_sha"],
449
+ properties: {
450
+ sequence: { type: "integer", minimum: 1, maximum: 9007199254740991 },
451
+ commit_sha: { type: "string", pattern: "^(?!0{40}$)[0-9a-f]{40}$" },
452
+ },
453
+ },
454
+ ],
455
+ description: "The version applied to the preview, or null if no version has been applied.",
456
+ },
457
+ ready_to_show: {
458
+ type: "boolean",
459
+ description: "True when the preview is ready and its applied version has the same sequence as the saved version.",
344
460
  },
345
461
  },
346
462
  },