pgbeam 0.3.1 → 0.3.2

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.
@@ -5547,6 +5547,584 @@ type DeleteReplicaRequestConfig = {
5547
5547
  url: `/v1/databases/${string}/replicas/${string}`;
5548
5548
  };
5549
5549
 
5550
+ /**
5551
+ * Generated by Kubb (https://kubb.dev/).
5552
+ * Do not edit manually.
5553
+ */
5554
+ declare const supportCaseStatus: {
5555
+ readonly open: "open";
5556
+ readonly closed: "closed";
5557
+ };
5558
+ type SupportCaseStatusKey = (typeof supportCaseStatus)[keyof typeof supportCaseStatus];
5559
+
5560
+ /**
5561
+ * Generated by Kubb (https://kubb.dev/).
5562
+ * Do not edit manually.
5563
+ */
5564
+
5565
+ /**
5566
+ * @description A support case filed by an organization member.
5567
+ * @type object
5568
+ */
5569
+ type SupportCase = {
5570
+ /**
5571
+ * @description Unique support case identifier (prefixed).
5572
+ * @example sc_01h455vb4pex5vsknk084sn02q
5573
+ * @type string
5574
+ */
5575
+ id: string;
5576
+ /**
5577
+ * @description Human-readable sequential case number.
5578
+ * @type integer
5579
+ */
5580
+ readonly case_number: number;
5581
+ /**
5582
+ * @description Organization that owns this case.
5583
+ * @type string
5584
+ */
5585
+ org_id: string;
5586
+ /**
5587
+ * @description User who created the case.
5588
+ * @type string
5589
+ */
5590
+ user_id: string;
5591
+ /**
5592
+ * @description Brief summary of the issue.
5593
+ * @type string
5594
+ */
5595
+ title: string;
5596
+ /**
5597
+ * @description Severity level: 1=Critical, 2=High, 3=Normal, 4=Low.
5598
+ * @minLength 1
5599
+ * @maxLength 4
5600
+ * @type integer
5601
+ */
5602
+ severity: number;
5603
+ /**
5604
+ * @description Current status of the support case.
5605
+ * @type string
5606
+ */
5607
+ status: SupportCaseStatusKey;
5608
+ /**
5609
+ * @description Slack channel where the case thread lives.
5610
+ * @type string | undefined
5611
+ */
5612
+ slack_channel_id?: string;
5613
+ /**
5614
+ * @description Slack thread timestamp for the case.
5615
+ * @type string | undefined
5616
+ */
5617
+ slack_thread_ts?: string;
5618
+ /**
5619
+ * @description When the case was created.
5620
+ * @type string
5621
+ */
5622
+ created_at: string;
5623
+ /**
5624
+ * @description When the case was last updated.
5625
+ * @type string
5626
+ */
5627
+ updated_at: string;
5628
+ /**
5629
+ * @description When the case was closed, if applicable.
5630
+ * @type string
5631
+ */
5632
+ closed_at?: string | null;
5633
+ /**
5634
+ * @description Number of messages in the case.
5635
+ * @type integer | undefined
5636
+ */
5637
+ readonly message_count?: number;
5638
+ };
5639
+
5640
+ /**
5641
+ * Generated by Kubb (https://kubb.dev/).
5642
+ * Do not edit manually.
5643
+ */
5644
+
5645
+ /**
5646
+ * @description Paginated list of support cases.
5647
+ * @type object
5648
+ */
5649
+ type ListSupportCasesResponse = {
5650
+ /**
5651
+ * @description Support cases for the current page.
5652
+ * @type array
5653
+ */
5654
+ cases: SupportCase[];
5655
+ /**
5656
+ * @description Total number of cases matching the filter.
5657
+ * @type integer
5658
+ */
5659
+ total: number;
5660
+ };
5661
+
5662
+ /**
5663
+ * Generated by Kubb (https://kubb.dev/).
5664
+ * Do not edit manually.
5665
+ */
5666
+
5667
+ /**
5668
+ * @description Unique organization identifier.
5669
+ * @pattern ^[a-zA-Z0-9_.-]+$
5670
+ * @example org_abc123
5671
+ * @type string
5672
+ */
5673
+ type ListSupportCasesPathOrgId = string;
5674
+ /**
5675
+ * @description Filter by case status.
5676
+ * @type string | undefined
5677
+ */
5678
+ type ListSupportCasesQueryStatus = SupportCaseStatusKey | undefined;
5679
+ /**
5680
+ * @description Search cases by title.
5681
+ * @type string | undefined
5682
+ */
5683
+ type ListSupportCasesQuerySearch = string | undefined;
5684
+ /**
5685
+ * @description Number of results per page (1-100, default 20).
5686
+ * @minLength 1
5687
+ * @maxLength 100
5688
+ * @default 20
5689
+ * @type integer | undefined
5690
+ */
5691
+ type ListSupportCasesQueryPageSize = number | undefined;
5692
+ /**
5693
+ * @description Page number (1-based, default 1).
5694
+ * @minLength 1
5695
+ * @default 1
5696
+ * @type integer | undefined
5697
+ */
5698
+ type ListSupportCasesQueryPage = number | undefined;
5699
+ /**
5700
+ * @description Paginated list of support cases.
5701
+ * @type object
5702
+ */
5703
+ type ListSupportCasesStatus200 = ListSupportCasesResponse;
5704
+ /**
5705
+ * @type object
5706
+ */
5707
+ type ListSupportCasesRequestConfig = {
5708
+ data?: never;
5709
+ /**
5710
+ * @type object
5711
+ */
5712
+ pathParams: {
5713
+ org_id: ListSupportCasesPathOrgId;
5714
+ };
5715
+ /**
5716
+ * @type object | undefined
5717
+ */
5718
+ queryParams?: {
5719
+ status?: ListSupportCasesQueryStatus;
5720
+ search?: ListSupportCasesQuerySearch;
5721
+ page_size?: ListSupportCasesQueryPageSize;
5722
+ page?: ListSupportCasesQueryPage;
5723
+ };
5724
+ headerParams?: never;
5725
+ /**
5726
+ * @type string
5727
+ */
5728
+ url: `/v1/organizations/${string}/support/cases`;
5729
+ };
5730
+
5731
+ /**
5732
+ * Generated by Kubb (https://kubb.dev/).
5733
+ * Do not edit manually.
5734
+ */
5735
+ /**
5736
+ * @description Request body for creating a support case.
5737
+ * @type object
5738
+ */
5739
+ type CreateSupportCaseRequest = {
5740
+ /**
5741
+ * @description Organization ID.
5742
+ * @type string
5743
+ */
5744
+ org_id: string;
5745
+ /**
5746
+ * @description Brief summary of the issue.
5747
+ * @minLength 1
5748
+ * @maxLength 500
5749
+ * @type string
5750
+ */
5751
+ title: string;
5752
+ /**
5753
+ * @description Severity level: 1=Critical, 2=High, 3=Normal, 4=Low.
5754
+ * @minLength 1
5755
+ * @maxLength 4
5756
+ * @default 4
5757
+ * @type integer | undefined
5758
+ */
5759
+ severity?: number;
5760
+ /**
5761
+ * @description Initial message body.
5762
+ * @minLength 1
5763
+ * @maxLength 50000
5764
+ * @type string
5765
+ */
5766
+ body: string;
5767
+ };
5768
+
5769
+ /**
5770
+ * Generated by Kubb (https://kubb.dev/).
5771
+ * Do not edit manually.
5772
+ */
5773
+
5774
+ /**
5775
+ * @description Unique organization identifier.
5776
+ * @pattern ^[a-zA-Z0-9_.-]+$
5777
+ * @example org_abc123
5778
+ * @type string
5779
+ */
5780
+ type CreateSupportCasePathOrgId = string;
5781
+ /**
5782
+ * @description A support case filed by an organization member.
5783
+ * @type object
5784
+ */
5785
+ type CreateSupportCaseStatus201 = SupportCase;
5786
+ /**
5787
+ * @description Request body for creating a support case.
5788
+ * @type object
5789
+ */
5790
+ type CreateSupportCaseData = CreateSupportCaseRequest;
5791
+ /**
5792
+ * @type object
5793
+ */
5794
+ type CreateSupportCaseRequestConfig = {
5795
+ data?: CreateSupportCaseData;
5796
+ /**
5797
+ * @type object
5798
+ */
5799
+ pathParams: {
5800
+ org_id: CreateSupportCasePathOrgId;
5801
+ };
5802
+ queryParams?: never;
5803
+ headerParams?: never;
5804
+ /**
5805
+ * @type string
5806
+ */
5807
+ url: `/v1/organizations/${string}/support/cases`;
5808
+ };
5809
+
5810
+ /**
5811
+ * Generated by Kubb (https://kubb.dev/).
5812
+ * Do not edit manually.
5813
+ */
5814
+ declare const supportMessageSource: {
5815
+ readonly user: "user";
5816
+ readonly slack: "slack";
5817
+ };
5818
+ type SupportMessageSourceKey = (typeof supportMessageSource)[keyof typeof supportMessageSource];
5819
+
5820
+ /**
5821
+ * Generated by Kubb (https://kubb.dev/).
5822
+ * Do not edit manually.
5823
+ */
5824
+
5825
+ /**
5826
+ * @description A message within a support case thread.
5827
+ * @type object
5828
+ */
5829
+ type SupportMessage = {
5830
+ /**
5831
+ * @description Unique message identifier (prefixed).
5832
+ * @example sm_01h455vb4pex5vsknk084sn02q
5833
+ * @type string
5834
+ */
5835
+ id: string;
5836
+ /**
5837
+ * @description Parent support case ID.
5838
+ * @type string
5839
+ */
5840
+ case_id: string;
5841
+ /**
5842
+ * @description Origin of the message.
5843
+ * @type string
5844
+ */
5845
+ source: SupportMessageSourceKey;
5846
+ /**
5847
+ * @description Display name of the message author.
5848
+ * @type string
5849
+ */
5850
+ author_name: string;
5851
+ /**
5852
+ * @description URL to the author\'s avatar.
5853
+ * @type string
5854
+ */
5855
+ author_image?: string | null;
5856
+ /**
5857
+ * @description Message content.
5858
+ * @type string
5859
+ */
5860
+ body: string;
5861
+ /**
5862
+ * @description Slack user ID (for Slack-sourced messages).
5863
+ * @type string
5864
+ */
5865
+ slack_user_id?: string | null;
5866
+ /**
5867
+ * @description When the message was created.
5868
+ * @type string
5869
+ */
5870
+ created_at: string;
5871
+ };
5872
+
5873
+ /**
5874
+ * Generated by Kubb (https://kubb.dev/).
5875
+ * Do not edit manually.
5876
+ */
5877
+
5878
+ /**
5879
+ * @description Support case with its message thread.
5880
+ * @type object
5881
+ */
5882
+ type GetSupportCaseResponse = {
5883
+ /**
5884
+ * @description A support case filed by an organization member.
5885
+ * @type object
5886
+ */
5887
+ case: SupportCase;
5888
+ /**
5889
+ * @description Messages in the support case thread.
5890
+ * @type array
5891
+ */
5892
+ messages: SupportMessage[];
5893
+ };
5894
+
5895
+ /**
5896
+ * Generated by Kubb (https://kubb.dev/).
5897
+ * Do not edit manually.
5898
+ */
5899
+
5900
+ /**
5901
+ * @description Unique organization identifier.
5902
+ * @pattern ^[a-zA-Z0-9_.-]+$
5903
+ * @example org_abc123
5904
+ * @type string
5905
+ */
5906
+ type GetSupportCasePathOrgId = string;
5907
+ /**
5908
+ * @description Unique support case identifier (prefixed, e.g. sc_xxx).
5909
+ * @pattern ^[a-zA-Z0-9_.-]+$
5910
+ * @type string
5911
+ */
5912
+ type GetSupportCasePathCaseId = string;
5913
+ /**
5914
+ * @description Support case with its message thread.
5915
+ * @type object
5916
+ */
5917
+ type GetSupportCaseStatus200 = GetSupportCaseResponse;
5918
+ /**
5919
+ * @type object
5920
+ */
5921
+ type GetSupportCaseRequestConfig = {
5922
+ data?: never;
5923
+ /**
5924
+ * @type object
5925
+ */
5926
+ pathParams: {
5927
+ org_id: GetSupportCasePathOrgId;
5928
+ case_id: GetSupportCasePathCaseId;
5929
+ };
5930
+ queryParams?: never;
5931
+ headerParams?: never;
5932
+ /**
5933
+ * @type string
5934
+ */
5935
+ url: `/v1/organizations/${string}/support/cases/${string}`;
5936
+ };
5937
+
5938
+ /**
5939
+ * Generated by Kubb (https://kubb.dev/).
5940
+ * Do not edit manually.
5941
+ */
5942
+
5943
+ /**
5944
+ * @description Request body for updating a support case status.
5945
+ * @type object
5946
+ */
5947
+ type UpdateSupportCaseRequest = {
5948
+ /**
5949
+ * @description Current status of the support case.
5950
+ * @type string | undefined
5951
+ */
5952
+ status?: SupportCaseStatusKey;
5953
+ };
5954
+
5955
+ /**
5956
+ * Generated by Kubb (https://kubb.dev/).
5957
+ * Do not edit manually.
5958
+ */
5959
+
5960
+ /**
5961
+ * @description Unique organization identifier.
5962
+ * @pattern ^[a-zA-Z0-9_.-]+$
5963
+ * @example org_abc123
5964
+ * @type string
5965
+ */
5966
+ type UpdateSupportCasePathOrgId = string;
5967
+ /**
5968
+ * @description Unique support case identifier (prefixed, e.g. sc_xxx).
5969
+ * @pattern ^[a-zA-Z0-9_.-]+$
5970
+ * @type string
5971
+ */
5972
+ type UpdateSupportCasePathCaseId = string;
5973
+ /**
5974
+ * @description A support case filed by an organization member.
5975
+ * @type object
5976
+ */
5977
+ type UpdateSupportCaseStatus200 = SupportCase;
5978
+ /**
5979
+ * @description Request body for updating a support case status.
5980
+ * @type object
5981
+ */
5982
+ type UpdateSupportCaseData = UpdateSupportCaseRequest;
5983
+ /**
5984
+ * @type object
5985
+ */
5986
+ type UpdateSupportCaseRequestConfig = {
5987
+ data?: UpdateSupportCaseData;
5988
+ /**
5989
+ * @type object
5990
+ */
5991
+ pathParams: {
5992
+ org_id: UpdateSupportCasePathOrgId;
5993
+ case_id: UpdateSupportCasePathCaseId;
5994
+ };
5995
+ queryParams?: never;
5996
+ headerParams?: never;
5997
+ /**
5998
+ * @type string
5999
+ */
6000
+ url: `/v1/organizations/${string}/support/cases/${string}`;
6001
+ };
6002
+
6003
+ /**
6004
+ * Generated by Kubb (https://kubb.dev/).
6005
+ * Do not edit manually.
6006
+ */
6007
+ /**
6008
+ * @description Request body for adding a message to a support case.
6009
+ * @type object
6010
+ */
6011
+ type CreateSupportMessageRequest = {
6012
+ /**
6013
+ * @description Message content.
6014
+ * @minLength 1
6015
+ * @maxLength 50000
6016
+ * @type string
6017
+ */
6018
+ body: string;
6019
+ };
6020
+
6021
+ /**
6022
+ * Generated by Kubb (https://kubb.dev/).
6023
+ * Do not edit manually.
6024
+ */
6025
+
6026
+ /**
6027
+ * @description Unique organization identifier.
6028
+ * @pattern ^[a-zA-Z0-9_.-]+$
6029
+ * @example org_abc123
6030
+ * @type string
6031
+ */
6032
+ type CreateSupportMessagePathOrgId = string;
6033
+ /**
6034
+ * @description Unique support case identifier (prefixed, e.g. sc_xxx).
6035
+ * @pattern ^[a-zA-Z0-9_.-]+$
6036
+ * @type string
6037
+ */
6038
+ type CreateSupportMessagePathCaseId = string;
6039
+ /**
6040
+ * @description A message within a support case thread.
6041
+ * @type object
6042
+ */
6043
+ type CreateSupportMessageStatus201 = SupportMessage;
6044
+ /**
6045
+ * @description Request body for adding a message to a support case.
6046
+ * @type object
6047
+ */
6048
+ type CreateSupportMessageData = CreateSupportMessageRequest;
6049
+ /**
6050
+ * @type object
6051
+ */
6052
+ type CreateSupportMessageRequestConfig = {
6053
+ data?: CreateSupportMessageData;
6054
+ /**
6055
+ * @type object
6056
+ */
6057
+ pathParams: {
6058
+ org_id: CreateSupportMessagePathOrgId;
6059
+ case_id: CreateSupportMessagePathCaseId;
6060
+ };
6061
+ queryParams?: never;
6062
+ headerParams?: never;
6063
+ /**
6064
+ * @type string
6065
+ */
6066
+ url: `/v1/organizations/${string}/support/cases/${string}/messages`;
6067
+ };
6068
+
6069
+ /**
6070
+ * Generated by Kubb (https://kubb.dev/).
6071
+ * Do not edit manually.
6072
+ */
6073
+ /**
6074
+ * @description Slack event forwarded from the dashboard webhook handler.
6075
+ * @type object
6076
+ */
6077
+ type SlackEventPayload = {
6078
+ /**
6079
+ * @description Slack channel ID where the message was posted.
6080
+ * @type string
6081
+ */
6082
+ channel_id: string;
6083
+ /**
6084
+ * @description Slack thread timestamp identifying the support case thread.
6085
+ * @type string
6086
+ */
6087
+ thread_ts: string;
6088
+ /**
6089
+ * @description Slack user ID of the message author.
6090
+ * @type string
6091
+ */
6092
+ user_id: string;
6093
+ /**
6094
+ * @description Message text from Slack.
6095
+ * @type string
6096
+ */
6097
+ text: string;
6098
+ };
6099
+
6100
+ /**
6101
+ * Generated by Kubb (https://kubb.dev/).
6102
+ * Do not edit manually.
6103
+ */
6104
+
6105
+ /**
6106
+ * @type any
6107
+ */
6108
+ type HandleSlackSupportEventStatus200 = any;
6109
+ /**
6110
+ * @description Slack event forwarded from the dashboard webhook handler.
6111
+ * @type object
6112
+ */
6113
+ type HandleSlackSupportEventData = SlackEventPayload;
6114
+ /**
6115
+ * @type object
6116
+ */
6117
+ type HandleSlackSupportEventRequestConfig = {
6118
+ data?: HandleSlackSupportEventData;
6119
+ pathParams?: never;
6120
+ queryParams?: never;
6121
+ headerParams?: never;
6122
+ /**
6123
+ * @type string
6124
+ */
6125
+ url: "/v1/internal/support/slack-event";
6126
+ };
6127
+
5550
6128
  /**
5551
6129
  * Generated by Kubb (https://kubb.dev/).
5552
6130
  * Do not edit manually.
@@ -6451,6 +7029,34 @@ declare const operationsByTag: {
6451
7029
  readonly path: "/v1/projects/{project_id}/policies/{policy_id}";
6452
7030
  };
6453
7031
  };
7032
+ readonly support: {
7033
+ readonly listSupportCases: {
7034
+ readonly method: "GET";
7035
+ readonly path: "/v1/organizations/{org_id}/support/cases";
7036
+ };
7037
+ readonly createSupportCase: {
7038
+ readonly method: "POST";
7039
+ readonly path: "/v1/organizations/{org_id}/support/cases";
7040
+ };
7041
+ readonly getSupportCase: {
7042
+ readonly method: "GET";
7043
+ readonly path: "/v1/organizations/{org_id}/support/cases/{case_id}";
7044
+ };
7045
+ readonly updateSupportCase: {
7046
+ readonly method: "PATCH";
7047
+ readonly path: "/v1/organizations/{org_id}/support/cases/{case_id}";
7048
+ };
7049
+ readonly createSupportMessage: {
7050
+ readonly method: "POST";
7051
+ readonly path: "/v1/organizations/{org_id}/support/cases/{case_id}/messages";
7052
+ };
7053
+ };
7054
+ readonly internal: {
7055
+ readonly handleSlackSupportEvent: {
7056
+ readonly method: "POST";
7057
+ readonly path: "/v1/internal/support/slack-event";
7058
+ };
7059
+ };
6454
7060
  readonly webhooks: {
6455
7061
  readonly listWebhookEndpoints: {
6456
7062
  readonly method: "GET";
@@ -6734,6 +7340,36 @@ declare const operationsByPath: {
6734
7340
  readonly path: "/v1/databases/{database_id}/replicas/{replica_id}";
6735
7341
  readonly operationId: "deleteReplica";
6736
7342
  };
7343
+ readonly "GET /v1/organizations/{org_id}/support/cases": {
7344
+ readonly method: "GET";
7345
+ readonly path: "/v1/organizations/{org_id}/support/cases";
7346
+ readonly operationId: "listSupportCases";
7347
+ };
7348
+ readonly "POST /v1/organizations/{org_id}/support/cases": {
7349
+ readonly method: "POST";
7350
+ readonly path: "/v1/organizations/{org_id}/support/cases";
7351
+ readonly operationId: "createSupportCase";
7352
+ };
7353
+ readonly "GET /v1/organizations/{org_id}/support/cases/{case_id}": {
7354
+ readonly method: "GET";
7355
+ readonly path: "/v1/organizations/{org_id}/support/cases/{case_id}";
7356
+ readonly operationId: "getSupportCase";
7357
+ };
7358
+ readonly "PATCH /v1/organizations/{org_id}/support/cases/{case_id}": {
7359
+ readonly method: "PATCH";
7360
+ readonly path: "/v1/organizations/{org_id}/support/cases/{case_id}";
7361
+ readonly operationId: "updateSupportCase";
7362
+ };
7363
+ readonly "POST /v1/organizations/{org_id}/support/cases/{case_id}/messages": {
7364
+ readonly method: "POST";
7365
+ readonly path: "/v1/organizations/{org_id}/support/cases/{case_id}/messages";
7366
+ readonly operationId: "createSupportMessage";
7367
+ };
7368
+ readonly "POST /v1/internal/support/slack-event": {
7369
+ readonly method: "POST";
7370
+ readonly path: "/v1/internal/support/slack-event";
7371
+ readonly operationId: "handleSlackSupportEvent";
7372
+ };
6737
7373
  readonly "GET /v1/organizations/{org_id}/usage": {
6738
7374
  readonly method: "GET";
6739
7375
  readonly path: "/v1/organizations/{org_id}/usage";
@@ -6944,6 +7580,28 @@ type CreateReplicaParams = {
6944
7580
  type DeleteReplicaParams = {
6945
7581
  pathParams: NonNullable<DeleteReplicaRequestConfig["pathParams"]>;
6946
7582
  };
7583
+ type ListSupportCasesParams = {
7584
+ pathParams: NonNullable<ListSupportCasesRequestConfig["pathParams"]>;
7585
+ queryParams?: NonNullable<ListSupportCasesRequestConfig["queryParams"]>;
7586
+ };
7587
+ type CreateSupportCaseParams = {
7588
+ pathParams: NonNullable<CreateSupportCaseRequestConfig["pathParams"]>;
7589
+ body: NonNullable<CreateSupportCaseRequestConfig["data"]>;
7590
+ };
7591
+ type GetSupportCaseParams = {
7592
+ pathParams: NonNullable<GetSupportCaseRequestConfig["pathParams"]>;
7593
+ };
7594
+ type UpdateSupportCaseParams = {
7595
+ pathParams: NonNullable<UpdateSupportCaseRequestConfig["pathParams"]>;
7596
+ body: NonNullable<UpdateSupportCaseRequestConfig["data"]>;
7597
+ };
7598
+ type CreateSupportMessageParams = {
7599
+ pathParams: NonNullable<CreateSupportMessageRequestConfig["pathParams"]>;
7600
+ body: NonNullable<CreateSupportMessageRequestConfig["data"]>;
7601
+ };
7602
+ type HandleSlackSupportEventParams = {
7603
+ body: NonNullable<HandleSlackSupportEventRequestConfig["data"]>;
7604
+ };
6947
7605
  type GetOrganizationUsageParams = {
6948
7606
  pathParams: NonNullable<GetOrganizationUsageRequestConfig["pathParams"]>;
6949
7607
  queryParams: NonNullable<GetOrganizationUsageRequestConfig["queryParams"]>;
@@ -7049,6 +7707,16 @@ interface ApiOperations {
7049
7707
  updatePolicyProfile(params: UpdatePolicyProfileParams): Promise<UpdatePolicyProfileStatus200>;
7050
7708
  deletePolicyProfile(params: DeletePolicyProfileParams): Promise<void>;
7051
7709
  };
7710
+ support: {
7711
+ listSupportCases(params: ListSupportCasesParams): Promise<ListSupportCasesStatus200>;
7712
+ createSupportCase(params: CreateSupportCaseParams): Promise<CreateSupportCaseStatus201>;
7713
+ getSupportCase(params: GetSupportCaseParams): Promise<GetSupportCaseStatus200>;
7714
+ updateSupportCase(params: UpdateSupportCaseParams): Promise<UpdateSupportCaseStatus200>;
7715
+ createSupportMessage(params: CreateSupportMessageParams): Promise<CreateSupportMessageStatus201>;
7716
+ };
7717
+ internal: {
7718
+ handleSlackSupportEvent(params: HandleSlackSupportEventParams): Promise<HandleSlackSupportEventStatus200>;
7719
+ };
7052
7720
  webhooks: {
7053
7721
  listWebhookEndpoints(params: ListWebhookEndpointsParams): Promise<ListWebhookEndpointsStatus200>;
7054
7722
  createWebhookEndpoint(params: CreateWebhookEndpointParams): Promise<CreateWebhookEndpointStatus201>;
@@ -7263,6 +7931,30 @@ interface RequestMap {
7263
7931
  params: DeleteReplicaParams;
7264
7932
  response: void;
7265
7933
  };
7934
+ "GET /v1/organizations/{org_id}/support/cases": {
7935
+ params: ListSupportCasesParams;
7936
+ response: ListSupportCasesStatus200;
7937
+ };
7938
+ "POST /v1/organizations/{org_id}/support/cases": {
7939
+ params: CreateSupportCaseParams;
7940
+ response: CreateSupportCaseStatus201;
7941
+ };
7942
+ "GET /v1/organizations/{org_id}/support/cases/{case_id}": {
7943
+ params: GetSupportCaseParams;
7944
+ response: GetSupportCaseStatus200;
7945
+ };
7946
+ "PATCH /v1/organizations/{org_id}/support/cases/{case_id}": {
7947
+ params: UpdateSupportCaseParams;
7948
+ response: UpdateSupportCaseStatus200;
7949
+ };
7950
+ "POST /v1/organizations/{org_id}/support/cases/{case_id}/messages": {
7951
+ params: CreateSupportMessageParams;
7952
+ response: CreateSupportMessageStatus201;
7953
+ };
7954
+ "POST /v1/internal/support/slack-event": {
7955
+ params: HandleSlackSupportEventParams;
7956
+ response: HandleSlackSupportEventStatus200;
7957
+ };
7266
7958
  "GET /v1/organizations/{org_id}/usage": {
7267
7959
  params: GetOrganizationUsageParams;
7268
7960
  response: GetOrganizationUsageStatus200;