@amerged/ohmyhost-sdk 0.1.71 → 0.1.73

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 = "490aa3b1c4d68906162af3f8d000fa37e93d0a52ef29fe52f57a83cbc5209294";
2
+ export const remoteMcpContractSha256 = "1cb53afbb2abd3322167436062b0925bc9d931a34da1ab5d9bb33dff0abf8e3c";
3
3
  export const remoteMcpContractVersion = "0.0.0";
4
- export const remoteMcpReleaseVersion = "0.1.71";
4
+ export const remoteMcpReleaseVersion = "0.1.73";
5
5
  export const remoteMcpOperations = [
6
6
  {
7
7
  inputSchema: {
@@ -699,6 +699,223 @@ export const remoteMcpOperations = [
699
699
  },
700
700
  },
701
701
  },
702
+ {
703
+ inputSchema: {
704
+ type: "object",
705
+ additionalProperties: false,
706
+ required: [
707
+ "organization_id",
708
+ "grant_id",
709
+ "idempotency_key",
710
+ "provider_organization_id",
711
+ "team_id",
712
+ "selections",
713
+ ],
714
+ properties: {
715
+ organization_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
716
+ grant_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
717
+ idempotency_key: {
718
+ type: "string",
719
+ minLength: 1,
720
+ maxLength: 128,
721
+ pattern: "^[A-Za-z0-9._:-]+$",
722
+ description: "Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
723
+ },
724
+ provider_organization_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
725
+ team_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
726
+ selections: {
727
+ type: "array",
728
+ minItems: 1,
729
+ maxItems: 64,
730
+ items: {
731
+ type: "object",
732
+ additionalProperties: false,
733
+ required: ["app_name", "app_version"],
734
+ anyOf: [{ required: ["module_ids"] }, { required: ["endpoint_names"] }],
735
+ properties: {
736
+ app_name: {
737
+ type: "string",
738
+ pattern: "^[A-Za-z0-9_-]{1,128}$",
739
+ description: "A Make standard app identifier.",
740
+ },
741
+ app_version: { type: "integer", minimum: 1, maximum: 9007199254740991 },
742
+ module_ids: {
743
+ type: "array",
744
+ minItems: 1,
745
+ maxItems: 64,
746
+ uniqueItems: true,
747
+ items: { type: "string", pattern: "^[A-Za-z0-9_.:-]{1,128}$" },
748
+ },
749
+ endpoint_names: {
750
+ type: "array",
751
+ minItems: 1,
752
+ maxItems: 64,
753
+ uniqueItems: true,
754
+ items: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
755
+ },
756
+ },
757
+ },
758
+ },
759
+ },
760
+ },
761
+ operationId: "createMakeCredentialRequest",
762
+ method: "POST",
763
+ path: "/v1/organizations/{organization_id}/connections/{grant_id}/credential-requests",
764
+ summary: "Create a native Make Credential Request",
765
+ description: "Uses the workspace owner's Make grant to create a private Make authorization link for selected standard app modules or Endpoints. Retry the same logical request with the same idempotency key and selections. Treat an uncertain result as pending investigation.",
766
+ disposition: "named",
767
+ toolNames: ["integration_credential_request_create"],
768
+ requestBody: {
769
+ required: true,
770
+ content: {
771
+ "application/json": {
772
+ schema: {
773
+ type: "object",
774
+ additionalProperties: false,
775
+ required: ["provider_organization_id", "team_id", "selections"],
776
+ properties: {
777
+ provider_organization_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
778
+ team_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
779
+ selections: {
780
+ type: "array",
781
+ minItems: 1,
782
+ maxItems: 64,
783
+ items: {
784
+ type: "object",
785
+ additionalProperties: false,
786
+ required: ["app_name", "app_version"],
787
+ anyOf: [{ required: ["module_ids"] }, { required: ["endpoint_names"] }],
788
+ properties: {
789
+ app_name: {
790
+ type: "string",
791
+ pattern: "^[A-Za-z0-9_-]{1,128}$",
792
+ description: "A Make standard app identifier.",
793
+ },
794
+ app_version: { type: "integer", minimum: 1, maximum: 9007199254740991 },
795
+ module_ids: {
796
+ type: "array",
797
+ minItems: 1,
798
+ maxItems: 64,
799
+ uniqueItems: true,
800
+ items: { type: "string", pattern: "^[A-Za-z0-9_.:-]{1,128}$" },
801
+ },
802
+ endpoint_names: {
803
+ type: "array",
804
+ minItems: 1,
805
+ maxItems: 64,
806
+ uniqueItems: true,
807
+ items: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
808
+ },
809
+ },
810
+ },
811
+ },
812
+ },
813
+ },
814
+ },
815
+ },
816
+ },
817
+ parameters: [
818
+ {
819
+ name: "X-Request-Id",
820
+ in: "header",
821
+ description: "Optional caller-provided correlation identifier.",
822
+ required: false,
823
+ schema: { type: "string", minLength: 1, maxLength: 128 },
824
+ },
825
+ {
826
+ name: "organization_id",
827
+ in: "path",
828
+ required: true,
829
+ schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
830
+ },
831
+ {
832
+ name: "grant_id",
833
+ in: "path",
834
+ required: true,
835
+ schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
836
+ },
837
+ {
838
+ name: "Idempotency-Key",
839
+ in: "header",
840
+ description: "Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
841
+ required: true,
842
+ schema: { type: "string", minLength: 1, maxLength: 128, pattern: "^[A-Za-z0-9._:-]+$" },
843
+ },
844
+ ],
845
+ outputSchema: {
846
+ type: "object",
847
+ additionalProperties: false,
848
+ required: ["state"],
849
+ properties: {
850
+ state: { enum: ["created", "running", "uncertain", "reconnect_required"] },
851
+ request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
852
+ provider_status: { type: "string", minLength: 1, maxLength: 64 },
853
+ authorization_url: {
854
+ type: "string",
855
+ format: "uri",
856
+ description: "Private Make link available only on create or replay.",
857
+ },
858
+ expires_at: { type: ["string", "null"], format: "date-time" },
859
+ },
860
+ },
861
+ },
862
+ {
863
+ inputSchema: {
864
+ type: "object",
865
+ properties: {
866
+ organization_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
867
+ grant_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
868
+ request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
869
+ },
870
+ required: ["organization_id", "grant_id", "request_id"],
871
+ additionalProperties: false,
872
+ },
873
+ operationId: "getMakeCredentialRequest",
874
+ method: "GET",
875
+ path: "/v1/organizations/{organization_id}/connections/{grant_id}/credential-requests/{request_id}",
876
+ summary: "Read native Make Credential Request status",
877
+ description: "Reads the current Make status for the owning workspace grant. The private authorization link is available in the create response.",
878
+ disposition: "named",
879
+ toolNames: ["integration_credential_request_status"],
880
+ parameters: [
881
+ {
882
+ name: "X-Request-Id",
883
+ in: "header",
884
+ description: "Optional caller-provided correlation identifier.",
885
+ required: false,
886
+ schema: { type: "string", minLength: 1, maxLength: 128 },
887
+ },
888
+ {
889
+ name: "organization_id",
890
+ in: "path",
891
+ required: true,
892
+ schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
893
+ },
894
+ {
895
+ name: "grant_id",
896
+ in: "path",
897
+ required: true,
898
+ schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
899
+ },
900
+ {
901
+ name: "request_id",
902
+ in: "path",
903
+ required: true,
904
+ schema: { type: "string", pattern: "^[a-f0-9]{64}$" },
905
+ },
906
+ ],
907
+ outputSchema: {
908
+ type: "object",
909
+ additionalProperties: false,
910
+ required: ["state"],
911
+ properties: {
912
+ state: { enum: ["created", "running", "uncertain", "reconnect_required"] },
913
+ request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
914
+ provider_status: { type: "string", minLength: 1, maxLength: 64 },
915
+ expires_at: { type: ["string", "null"], format: "date-time" },
916
+ },
917
+ },
918
+ },
702
919
  {
703
920
  inputSchema: {
704
921
  type: "object",
@@ -6613,6 +6830,7 @@ export const remoteMcpOperations = [
6613
6830
  enum: [
6614
6831
  "operation_failed",
6615
6832
  "operation_abandoned",
6833
+ "native_auth_launch_unavailable",
6616
6834
  "authorization_changed",
6617
6835
  "source_commit_conflict",
6618
6836
  "source_snapshot_invalid",
@@ -6867,6 +7085,7 @@ export const remoteMcpOperations = [
6867
7085
  enum: [
6868
7086
  "operation_failed",
6869
7087
  "operation_abandoned",
7088
+ "native_auth_launch_unavailable",
6870
7089
  "authorization_changed",
6871
7090
  "source_commit_conflict",
6872
7091
  "source_snapshot_invalid",
@@ -7660,6 +7879,7 @@ export const remoteMcpOperations = [
7660
7879
  enum: [
7661
7880
  "operation_failed",
7662
7881
  "operation_abandoned",
7882
+ "native_auth_launch_unavailable",
7663
7883
  "authorization_changed",
7664
7884
  "source_commit_conflict",
7665
7885
  "source_snapshot_invalid",
@@ -8067,6 +8287,7 @@ export const remoteMcpOperations = [
8067
8287
  enum: [
8068
8288
  "operation_failed",
8069
8289
  "operation_abandoned",
8290
+ "native_auth_launch_unavailable",
8070
8291
  "authorization_changed",
8071
8292
  "source_commit_conflict",
8072
8293
  "source_snapshot_invalid",
@@ -8550,6 +8771,7 @@ export const remoteMcpOperations = [
8550
8771
  enum: [
8551
8772
  "operation_failed",
8552
8773
  "operation_abandoned",
8774
+ "native_auth_launch_unavailable",
8553
8775
  "authorization_changed",
8554
8776
  "source_commit_conflict",
8555
8777
  "source_snapshot_invalid",
@@ -9514,6 +9736,7 @@ export const remoteMcpOperations = [
9514
9736
  enum: [
9515
9737
  "operation_failed",
9516
9738
  "operation_abandoned",
9739
+ "native_auth_launch_unavailable",
9517
9740
  "authorization_changed",
9518
9741
  "source_commit_conflict",
9519
9742
  "source_snapshot_invalid",
@@ -9932,6 +10155,7 @@ export const remoteMcpOperations = [
9932
10155
  enum: [
9933
10156
  "operation_failed",
9934
10157
  "operation_abandoned",
10158
+ "native_auth_launch_unavailable",
9935
10159
  "authorization_changed",
9936
10160
  "source_commit_conflict",
9937
10161
  "source_snapshot_invalid",
@@ -10547,6 +10771,7 @@ export const remoteMcpOperations = [
10547
10771
  enum: [
10548
10772
  "operation_failed",
10549
10773
  "operation_abandoned",
10774
+ "native_auth_launch_unavailable",
10550
10775
  "authorization_changed",
10551
10776
  "source_commit_conflict",
10552
10777
  "source_snapshot_invalid",
@@ -10835,6 +11060,7 @@ export const remoteMcpOperations = [
10835
11060
  enum: [
10836
11061
  "operation_failed",
10837
11062
  "operation_abandoned",
11063
+ "native_auth_launch_unavailable",
10838
11064
  "authorization_changed",
10839
11065
  "source_commit_conflict",
10840
11066
  "source_snapshot_invalid",
@@ -11133,6 +11359,7 @@ export const remoteMcpOperations = [
11133
11359
  enum: [
11134
11360
  "operation_failed",
11135
11361
  "operation_abandoned",
11362
+ "native_auth_launch_unavailable",
11136
11363
  "authorization_changed",
11137
11364
  "source_commit_conflict",
11138
11365
  "source_snapshot_invalid",
@@ -11658,6 +11885,7 @@ export const remoteMcpOperations = [
11658
11885
  enum: [
11659
11886
  "operation_failed",
11660
11887
  "operation_abandoned",
11888
+ "native_auth_launch_unavailable",
11661
11889
  "authorization_changed",
11662
11890
  "source_commit_conflict",
11663
11891
  "source_snapshot_invalid",
@@ -11987,6 +12215,7 @@ export const remoteMcpOperations = [
11987
12215
  enum: [
11988
12216
  "operation_failed",
11989
12217
  "operation_abandoned",
12218
+ "native_auth_launch_unavailable",
11990
12219
  "authorization_changed",
11991
12220
  "source_commit_conflict",
11992
12221
  "source_snapshot_invalid",
@@ -12611,6 +12840,7 @@ export const remoteMcpOperations = [
12611
12840
  enum: [
12612
12841
  "operation_failed",
12613
12842
  "operation_abandoned",
12843
+ "native_auth_launch_unavailable",
12614
12844
  "authorization_changed",
12615
12845
  "source_commit_conflict",
12616
12846
  "source_snapshot_invalid",
@@ -12866,6 +13096,7 @@ export const remoteMcpOperations = [
12866
13096
  enum: [
12867
13097
  "operation_failed",
12868
13098
  "operation_abandoned",
13099
+ "native_auth_launch_unavailable",
12869
13100
  "authorization_changed",
12870
13101
  "source_commit_conflict",
12871
13102
  "source_snapshot_invalid",
@@ -13514,7 +13745,7 @@ export const remoteMcpOperations = [
13514
13745
  method: "POST",
13515
13746
  path: "/v1/projects/{project_id}/deployments:plan",
13516
13747
  summary: "Plan a deployment",
13517
- description: "Resolves immutable inputs and estimates effects without provider mutation or billable work. An omitted `environment` selects Dev when it exists, otherwise Prod. A Prod plan builds straight into Prod, including for a project with shared data; database migrations then affect both environments when Dev exists. Managed mail requires a confirmed Paid service period; it is checked again before build reservation. Selecting the managed Better Auth bridge does not require managed mail or Paid access. An old sender configuration is not Paid authority. A commit the platform does not admit answers 409 with a nonretryable problem code; for framework_conversion_required, detail is a fixed catalog sentence that names the file, the rule and the required change whenever the refusal is typed.",
13748
+ description: "Resolves immutable inputs and estimates effects without provider mutation or billable work. An omitted `environment` selects Dev when it exists, otherwise Prod. A Prod plan builds straight into Prod, including for a project with shared data; database migrations then affect both environments when Dev exists. Managed mail requires a confirmed Paid service period; it is checked again before build reservation. Selecting the managed Better Auth bridge does not require managed mail or Paid access. An old sender configuration is not Paid authority. Native Auth requires rollout approval for this workspace and project; a missing approval returns 409 native_auth_launch_unavailable before a build is reserved. A commit the platform does not admit answers 409 with a nonretryable problem code; for framework_conversion_required, detail is a fixed catalog sentence that names the file, the rule and the required change whenever the refusal is typed.",
13518
13749
  disposition: "named",
13519
13750
  toolNames: ["deployment_plan"],
13520
13751
  requestBody: {
@@ -13682,7 +13913,7 @@ export const remoteMcpOperations = [
13682
13913
  method: "POST",
13683
13914
  path: "/v1/projects/{project_id}/deployments",
13684
13915
  summary: "Create a deployment",
13685
- description: "Reserves the quoted build credits from the shared organization pool and starts the exact reviewed plan as one durable operation. Insufficient available credits or an explicit project stop budget rejects before operation creation or provider work. Repeating the accepted request never reserves twice.",
13916
+ description: "Reserves the quoted build credits from the shared organization pool and starts the exact reviewed plan as one durable operation. Insufficient available credits or an explicit project stop budget rejects before operation creation or provider work. Repeating the accepted request never reserves twice. Native Auth rollout access is checked again before accepting a new request. A pre-provider loss of access during initial Native setup ends the operation with native_auth_launch_unavailable.",
13686
13917
  disposition: "named",
13687
13918
  toolNames: ["deployment_create"],
13688
13919
  requestBody: {
@@ -13767,6 +13998,7 @@ export const remoteMcpOperations = [
13767
13998
  enum: [
13768
13999
  "operation_failed",
13769
14000
  "operation_abandoned",
14001
+ "native_auth_launch_unavailable",
13770
14002
  "authorization_changed",
13771
14003
  "source_commit_conflict",
13772
14004
  "source_snapshot_invalid",
@@ -14479,6 +14711,7 @@ export const remoteMcpOperations = [
14479
14711
  enum: [
14480
14712
  "operation_failed",
14481
14713
  "operation_abandoned",
14714
+ "native_auth_launch_unavailable",
14482
14715
  "authorization_changed",
14483
14716
  "source_commit_conflict",
14484
14717
  "source_snapshot_invalid",
@@ -14877,6 +15110,7 @@ export const remoteMcpOperations = [
14877
15110
  enum: [
14878
15111
  "operation_failed",
14879
15112
  "operation_abandoned",
15113
+ "native_auth_launch_unavailable",
14880
15114
  "authorization_changed",
14881
15115
  "source_commit_conflict",
14882
15116
  "source_snapshot_invalid",
@@ -18472,6 +18706,7 @@ export const remoteMcpOperations = [
18472
18706
  enum: [
18473
18707
  "operation_failed",
18474
18708
  "operation_abandoned",
18709
+ "native_auth_launch_unavailable",
18475
18710
  "authorization_changed",
18476
18711
  "source_commit_conflict",
18477
18712
  "source_snapshot_invalid",
@@ -18897,6 +19132,7 @@ export const remoteMcpOperations = [
18897
19132
  enum: [
18898
19133
  "operation_failed",
18899
19134
  "operation_abandoned",
19135
+ "native_auth_launch_unavailable",
18900
19136
  "authorization_changed",
18901
19137
  "source_commit_conflict",
18902
19138
  "source_snapshot_invalid",
@@ -19680,6 +19916,7 @@ export const remoteMcpOperations = [
19680
19916
  enum: [
19681
19917
  "operation_failed",
19682
19918
  "operation_abandoned",
19919
+ "native_auth_launch_unavailable",
19683
19920
  "authorization_changed",
19684
19921
  "source_commit_conflict",
19685
19922
  "source_snapshot_invalid",
@@ -21354,6 +21591,7 @@ export const remoteMcpOperations = [
21354
21591
  enum: [
21355
21592
  "operation_failed",
21356
21593
  "operation_abandoned",
21594
+ "native_auth_launch_unavailable",
21357
21595
  "authorization_changed",
21358
21596
  "source_commit_conflict",
21359
21597
  "source_snapshot_invalid",
@@ -22823,6 +23061,7 @@ export const remoteMcpToolDefinitions = [
22823
23061
  enum: [
22824
23062
  "operation_failed",
22825
23063
  "operation_abandoned",
23064
+ "native_auth_launch_unavailable",
22826
23065
  "authorization_changed",
22827
23066
  "source_commit_conflict",
22828
23067
  "source_snapshot_invalid",
@@ -23167,6 +23406,7 @@ export const remoteMcpToolDefinitions = [
23167
23406
  enum: [
23168
23407
  "operation_failed",
23169
23408
  "operation_abandoned",
23409
+ "native_auth_launch_unavailable",
23170
23410
  "authorization_changed",
23171
23411
  "source_commit_conflict",
23172
23412
  "source_snapshot_invalid",
@@ -24058,6 +24298,7 @@ export const remoteMcpToolDefinitions = [
24058
24298
  enum: [
24059
24299
  "operation_failed",
24060
24300
  "operation_abandoned",
24301
+ "native_auth_launch_unavailable",
24061
24302
  "authorization_changed",
24062
24303
  "source_commit_conflict",
24063
24304
  "source_snapshot_invalid",
@@ -24293,6 +24534,7 @@ export const remoteMcpToolDefinitions = [
24293
24534
  enum: [
24294
24535
  "operation_failed",
24295
24536
  "operation_abandoned",
24537
+ "native_auth_launch_unavailable",
24296
24538
  "authorization_changed",
24297
24539
  "source_commit_conflict",
24298
24540
  "source_snapshot_invalid",
@@ -24916,6 +25158,7 @@ export const remoteMcpToolDefinitions = [
24916
25158
  enum: [
24917
25159
  "operation_failed",
24918
25160
  "operation_abandoned",
25161
+ "native_auth_launch_unavailable",
24919
25162
  "authorization_changed",
24920
25163
  "source_commit_conflict",
24921
25164
  "source_snapshot_invalid",
@@ -25249,6 +25492,7 @@ export const remoteMcpToolDefinitions = [
25249
25492
  enum: [
25250
25493
  "operation_failed",
25251
25494
  "operation_abandoned",
25495
+ "native_auth_launch_unavailable",
25252
25496
  "authorization_changed",
25253
25497
  "source_commit_conflict",
25254
25498
  "source_snapshot_invalid",
@@ -27617,6 +27861,7 @@ export const remoteMcpToolDefinitions = [
27617
27861
  enum: [
27618
27862
  "operation_failed",
27619
27863
  "operation_abandoned",
27864
+ "native_auth_launch_unavailable",
27620
27865
  "authorization_changed",
27621
27866
  "source_commit_conflict",
27622
27867
  "source_snapshot_invalid",