@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.0.20241019 → 0.0.20241112

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 (2) hide show
  1. package/index.d.ts +242 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://dialogflow.googleapis.com/$discovery/rest?version=v2beta1
12
- // Revision: 20241019
12
+ // Revision: 20241112
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1987,6 +1987,22 @@ declare namespace gapi.client {
1987
1987
  suggestion?: GoogleCloudDialogflowV2beta1Suggestion;
1988
1988
  }
1989
1989
  interface GoogleCloudDialogflowV2beta1CompleteConversationRequest {}
1990
+ interface GoogleCloudDialogflowV2beta1Connection {
1991
+ /** Output only. The unique identifier of the SIP Trunk connection. */
1992
+ connectionId?: string;
1993
+ /** Output only. The error details for the connection. Only populated when authentication errors occur. */
1994
+ errorDetails?: GoogleCloudDialogflowV2beta1ConnectionErrorDetails;
1995
+ /** Output only. State of the connection. */
1996
+ state?: string;
1997
+ /** Output only. When the connection status changed. */
1998
+ updateTime?: string;
1999
+ }
2000
+ interface GoogleCloudDialogflowV2beta1ConnectionErrorDetails {
2001
+ /** Output only. The status of the certificate authentication. */
2002
+ certificateState?: string;
2003
+ /** The error message provided from SIP trunking auth service */
2004
+ errorMessage?: string;
2005
+ }
1990
2006
  interface GoogleCloudDialogflowV2beta1Context {
1991
2007
  /** Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries. */
1992
2008
  lifespanCount?: number;
@@ -2336,7 +2352,7 @@ declare namespace gapi.client {
2336
2352
  inferenceParameter?: GoogleCloudDialogflowV2beta1InferenceParameter;
2337
2353
  /** Output only. Identifier. The resource name of the generator. Format: `projects//locations//generators/` */
2338
2354
  name?: string;
2339
- /** Input of prebuilt Summarization feature. */
2355
+ /** Input of Summarization feature. */
2340
2356
  summarizationContext?: GoogleCloudDialogflowV2beta1SummarizationContext;
2341
2357
  /** Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. */
2342
2358
  triggerEvent?: string;
@@ -3136,6 +3152,12 @@ declare namespace gapi.client {
3136
3152
  /** The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request. */
3137
3153
  sessionEntityTypes?: GoogleCloudDialogflowV2beta1SessionEntityType[];
3138
3154
  }
3155
+ interface GoogleCloudDialogflowV2beta1ListSipTrunksResponse {
3156
+ /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
3157
+ nextPageToken?: string;
3158
+ /** The list of SIP trunks. */
3159
+ sipTrunks?: GoogleCloudDialogflowV2beta1SipTrunk[];
3160
+ }
3139
3161
  interface GoogleCloudDialogflowV2beta1ListSuggestionsResponse {
3140
3162
  /** Optional. Token to retrieve the next page of results or empty if there are no more results in the list. */
3141
3163
  nextPageToken?: string;
@@ -3489,6 +3511,16 @@ declare namespace gapi.client {
3489
3511
  /** Required. The suggestion feature config to add or update. */
3490
3512
  suggestionFeatureConfig?: GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig;
3491
3513
  }
3514
+ interface GoogleCloudDialogflowV2beta1SipTrunk {
3515
+ /** Output only. Connections of the SIP trunk. */
3516
+ connections?: GoogleCloudDialogflowV2beta1Connection[];
3517
+ /** Optional. Human readable alias for this trunk. */
3518
+ displayName?: string;
3519
+ /** Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication. */
3520
+ expectedHostname?: string[];
3521
+ /** Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`. */
3522
+ name?: string;
3523
+ }
3492
3524
  interface GoogleCloudDialogflowV2beta1SmartReplyAnswer {
3493
3525
  /** The name of answer record, in the format of "projects//locations//answerRecords/" */
3494
3526
  answerRecord?: string;
@@ -14864,6 +14896,213 @@ declare namespace gapi.client {
14864
14896
  uploadType?: string;
14865
14897
  }): Request<GoogleLongrunningListOperationsResponse>;
14866
14898
  }
14899
+ interface SipTrunksResource {
14900
+ /** Creates a SipTrunk for a specified location. */
14901
+ create(request: {
14902
+ /** V1 error format. */
14903
+ '$.xgafv'?: string;
14904
+ /** OAuth access token. */
14905
+ access_token?: string;
14906
+ /** Data format for response. */
14907
+ alt?: string;
14908
+ /** JSONP */
14909
+ callback?: string;
14910
+ /** Selector specifying which fields to include in a partial response. */
14911
+ fields?: string;
14912
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
14913
+ key?: string;
14914
+ /** OAuth 2.0 token for the current user. */
14915
+ oauth_token?: string;
14916
+ /** Required. The location to create a SIP trunk for. Format: `projects//locations/`. */
14917
+ parent: string;
14918
+ /** Returns response with indentations and line breaks. */
14919
+ prettyPrint?: boolean;
14920
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
14921
+ quotaUser?: string;
14922
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14923
+ upload_protocol?: string;
14924
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14925
+ uploadType?: string;
14926
+ /** Request body */
14927
+ resource: GoogleCloudDialogflowV2beta1SipTrunk;
14928
+ }): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
14929
+ create(
14930
+ request: {
14931
+ /** V1 error format. */
14932
+ '$.xgafv'?: string;
14933
+ /** OAuth access token. */
14934
+ access_token?: string;
14935
+ /** Data format for response. */
14936
+ alt?: string;
14937
+ /** JSONP */
14938
+ callback?: string;
14939
+ /** Selector specifying which fields to include in a partial response. */
14940
+ fields?: string;
14941
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
14942
+ key?: string;
14943
+ /** OAuth 2.0 token for the current user. */
14944
+ oauth_token?: string;
14945
+ /** Required. The location to create a SIP trunk for. Format: `projects//locations/`. */
14946
+ parent: string;
14947
+ /** Returns response with indentations and line breaks. */
14948
+ prettyPrint?: boolean;
14949
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
14950
+ quotaUser?: string;
14951
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14952
+ upload_protocol?: string;
14953
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14954
+ uploadType?: string;
14955
+ },
14956
+ body: GoogleCloudDialogflowV2beta1SipTrunk
14957
+ ): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
14958
+ /** Deletes a specified SipTrunk. */
14959
+ delete(request?: {
14960
+ /** V1 error format. */
14961
+ '$.xgafv'?: string;
14962
+ /** OAuth access token. */
14963
+ access_token?: string;
14964
+ /** Data format for response. */
14965
+ alt?: string;
14966
+ /** JSONP */
14967
+ callback?: string;
14968
+ /** Selector specifying which fields to include in a partial response. */
14969
+ fields?: string;
14970
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
14971
+ key?: string;
14972
+ /** Required. The name of the SIP trunk to delete. Format: `projects//locations//sipTrunks/`. */
14973
+ name: string;
14974
+ /** OAuth 2.0 token for the current user. */
14975
+ oauth_token?: string;
14976
+ /** Returns response with indentations and line breaks. */
14977
+ prettyPrint?: boolean;
14978
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
14979
+ quotaUser?: string;
14980
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14981
+ upload_protocol?: string;
14982
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14983
+ uploadType?: string;
14984
+ }): Request<{}>;
14985
+ /** Retrieves the specified SipTrunk. */
14986
+ get(request?: {
14987
+ /** V1 error format. */
14988
+ '$.xgafv'?: string;
14989
+ /** OAuth access token. */
14990
+ access_token?: string;
14991
+ /** Data format for response. */
14992
+ alt?: string;
14993
+ /** JSONP */
14994
+ callback?: string;
14995
+ /** Selector specifying which fields to include in a partial response. */
14996
+ fields?: string;
14997
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
14998
+ key?: string;
14999
+ /** Required. The name of the SIP trunk to delete. Format: `projects//locations//sipTrunks/`. */
15000
+ name: string;
15001
+ /** OAuth 2.0 token for the current user. */
15002
+ oauth_token?: string;
15003
+ /** Returns response with indentations and line breaks. */
15004
+ prettyPrint?: boolean;
15005
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
15006
+ quotaUser?: string;
15007
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15008
+ upload_protocol?: string;
15009
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15010
+ uploadType?: string;
15011
+ }): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
15012
+ /** Returns a list of SipTrunks in the specified location. */
15013
+ list(request?: {
15014
+ /** V1 error format. */
15015
+ '$.xgafv'?: string;
15016
+ /** OAuth access token. */
15017
+ access_token?: string;
15018
+ /** Data format for response. */
15019
+ alt?: string;
15020
+ /** JSONP */
15021
+ callback?: string;
15022
+ /** Selector specifying which fields to include in a partial response. */
15023
+ fields?: string;
15024
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
15025
+ key?: string;
15026
+ /** OAuth 2.0 token for the current user. */
15027
+ oauth_token?: string;
15028
+ /** Optional. The maximum number of items to return in a single page. By default 100 and at most 1000. */
15029
+ pageSize?: number;
15030
+ /** Optional. The next_page_token value returned from a previous list request. */
15031
+ pageToken?: string;
15032
+ /** Required. The location to list SIP trunks from. Format: `projects//locations/`. */
15033
+ parent: string;
15034
+ /** Returns response with indentations and line breaks. */
15035
+ prettyPrint?: boolean;
15036
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
15037
+ quotaUser?: string;
15038
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15039
+ upload_protocol?: string;
15040
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15041
+ uploadType?: string;
15042
+ }): Request<GoogleCloudDialogflowV2beta1ListSipTrunksResponse>;
15043
+ /** Updates the specified SipTrunk. */
15044
+ patch(request: {
15045
+ /** V1 error format. */
15046
+ '$.xgafv'?: string;
15047
+ /** OAuth access token. */
15048
+ access_token?: string;
15049
+ /** Data format for response. */
15050
+ alt?: string;
15051
+ /** JSONP */
15052
+ callback?: string;
15053
+ /** Selector specifying which fields to include in a partial response. */
15054
+ fields?: string;
15055
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
15056
+ key?: string;
15057
+ /** Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`. */
15058
+ name: string;
15059
+ /** OAuth 2.0 token for the current user. */
15060
+ oauth_token?: string;
15061
+ /** Returns response with indentations and line breaks. */
15062
+ prettyPrint?: boolean;
15063
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
15064
+ quotaUser?: string;
15065
+ /** Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated. */
15066
+ updateMask?: string;
15067
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15068
+ upload_protocol?: string;
15069
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15070
+ uploadType?: string;
15071
+ /** Request body */
15072
+ resource: GoogleCloudDialogflowV2beta1SipTrunk;
15073
+ }): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
15074
+ patch(
15075
+ request: {
15076
+ /** V1 error format. */
15077
+ '$.xgafv'?: string;
15078
+ /** OAuth access token. */
15079
+ access_token?: string;
15080
+ /** Data format for response. */
15081
+ alt?: string;
15082
+ /** JSONP */
15083
+ callback?: string;
15084
+ /** Selector specifying which fields to include in a partial response. */
15085
+ fields?: string;
15086
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
15087
+ key?: string;
15088
+ /** Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`. */
15089
+ name: string;
15090
+ /** OAuth 2.0 token for the current user. */
15091
+ oauth_token?: string;
15092
+ /** Returns response with indentations and line breaks. */
15093
+ prettyPrint?: boolean;
15094
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
15095
+ quotaUser?: string;
15096
+ /** Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated. */
15097
+ updateMask?: string;
15098
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15099
+ upload_protocol?: string;
15100
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15101
+ uploadType?: string;
15102
+ },
15103
+ body: GoogleCloudDialogflowV2beta1SipTrunk
15104
+ ): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
15105
+ }
14867
15106
  interface StatelessSuggestionResource {
14868
15107
  /** Generates and returns a suggestion for a conversation that does not have a resource created for it. */
14869
15108
  generate(request: {
@@ -15254,6 +15493,7 @@ declare namespace gapi.client {
15254
15493
  generators: GeneratorsResource;
15255
15494
  knowledgeBases: KnowledgeBasesResource;
15256
15495
  operations: OperationsResource;
15496
+ sipTrunks: SipTrunksResource;
15257
15497
  statelessSuggestion: StatelessSuggestionResource;
15258
15498
  suggestions: SuggestionsResource;
15259
15499
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dialogflow-v2beta1",
3
- "version": "0.0.20241019",
3
+ "version": "0.0.20241112",
4
4
  "description": "TypeScript typings for Dialogflow API v2beta1",
5
5
  "repository": {
6
6
  "type": "git",