@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20250407 → 0.0.20250421

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 +608 -3
  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://contactcenterinsights.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250407
12
+ // Revision: 20250421
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -618,7 +618,7 @@ declare namespace gapi.client {
618
618
  createTime?: string;
619
619
  /** String label used for Topic Modeling. */
620
620
  label?: string;
621
- /** Resource name of the resource to be labeled. Supported resources: - qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question} - issueModels/{issue_model} */
621
+ /** Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}` */
622
622
  labeledResource?: string;
623
623
  /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
624
624
  name?: string;
@@ -1824,7 +1824,7 @@ declare namespace gapi.client {
1824
1824
  createTime?: string;
1825
1825
  /** String label used for Topic Modeling. */
1826
1826
  label?: string;
1827
- /** Resource name of the resource to be labeled. Supported resources: - qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question} - issueModels/{issue_model} */
1827
+ /** Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}` */
1828
1828
  labeledResource?: string;
1829
1829
  /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
1830
1830
  name?: string;
@@ -2775,7 +2775,425 @@ declare namespace gapi.client {
2775
2775
  body: GoogleCloudContactcenterinsightsV1AnalysisRule,
2776
2776
  ): Request<GoogleCloudContactcenterinsightsV1AnalysisRule>;
2777
2777
  }
2778
+ interface AnalysesResource {
2779
+ /** Creates an analysis. The long running operation is done when the analysis has completed. */
2780
+ create(request: {
2781
+ /** V1 error format. */
2782
+ '$.xgafv'?: string;
2783
+ /** OAuth access token. */
2784
+ access_token?: string;
2785
+ /** Data format for response. */
2786
+ alt?: string;
2787
+ /** JSONP */
2788
+ callback?: string;
2789
+ /** Selector specifying which fields to include in a partial response. */
2790
+ fields?: string;
2791
+ /** 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. */
2792
+ key?: string;
2793
+ /** OAuth 2.0 token for the current user. */
2794
+ oauth_token?: string;
2795
+ /** Required. The parent resource of the analysis. */
2796
+ parent: string;
2797
+ /** Returns response with indentations and line breaks. */
2798
+ prettyPrint?: boolean;
2799
+ /** 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. */
2800
+ quotaUser?: string;
2801
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2802
+ upload_protocol?: string;
2803
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2804
+ uploadType?: string;
2805
+ /** Request body */
2806
+ resource: GoogleCloudContactcenterinsightsV1Analysis;
2807
+ }): Request<GoogleLongrunningOperation>;
2808
+ create(
2809
+ request: {
2810
+ /** V1 error format. */
2811
+ '$.xgafv'?: string;
2812
+ /** OAuth access token. */
2813
+ access_token?: string;
2814
+ /** Data format for response. */
2815
+ alt?: string;
2816
+ /** JSONP */
2817
+ callback?: string;
2818
+ /** Selector specifying which fields to include in a partial response. */
2819
+ fields?: string;
2820
+ /** 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. */
2821
+ key?: string;
2822
+ /** OAuth 2.0 token for the current user. */
2823
+ oauth_token?: string;
2824
+ /** Required. The parent resource of the analysis. */
2825
+ parent: string;
2826
+ /** Returns response with indentations and line breaks. */
2827
+ prettyPrint?: boolean;
2828
+ /** 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. */
2829
+ quotaUser?: string;
2830
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2831
+ upload_protocol?: string;
2832
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2833
+ uploadType?: string;
2834
+ },
2835
+ body: GoogleCloudContactcenterinsightsV1Analysis,
2836
+ ): Request<GoogleLongrunningOperation>;
2837
+ /** Deletes an analysis. */
2838
+ delete(request?: {
2839
+ /** V1 error format. */
2840
+ '$.xgafv'?: string;
2841
+ /** OAuth access token. */
2842
+ access_token?: string;
2843
+ /** Data format for response. */
2844
+ alt?: string;
2845
+ /** JSONP */
2846
+ callback?: string;
2847
+ /** Selector specifying which fields to include in a partial response. */
2848
+ fields?: string;
2849
+ /** 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. */
2850
+ key?: string;
2851
+ /** Required. The name of the analysis to delete. */
2852
+ name: string;
2853
+ /** OAuth 2.0 token for the current user. */
2854
+ oauth_token?: string;
2855
+ /** Returns response with indentations and line breaks. */
2856
+ prettyPrint?: boolean;
2857
+ /** 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. */
2858
+ quotaUser?: string;
2859
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2860
+ upload_protocol?: string;
2861
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2862
+ uploadType?: string;
2863
+ }): Request<{}>;
2864
+ /** Gets an analysis. */
2865
+ get(request?: {
2866
+ /** V1 error format. */
2867
+ '$.xgafv'?: string;
2868
+ /** OAuth access token. */
2869
+ access_token?: string;
2870
+ /** Data format for response. */
2871
+ alt?: string;
2872
+ /** JSONP */
2873
+ callback?: string;
2874
+ /** Selector specifying which fields to include in a partial response. */
2875
+ fields?: string;
2876
+ /** 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. */
2877
+ key?: string;
2878
+ /** Required. The name of the analysis to get. */
2879
+ name: string;
2880
+ /** OAuth 2.0 token for the current user. */
2881
+ oauth_token?: string;
2882
+ /** Returns response with indentations and line breaks. */
2883
+ prettyPrint?: boolean;
2884
+ /** 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. */
2885
+ quotaUser?: string;
2886
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2887
+ upload_protocol?: string;
2888
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2889
+ uploadType?: string;
2890
+ }): Request<GoogleCloudContactcenterinsightsV1Analysis>;
2891
+ /** Lists analyses. */
2892
+ list(request?: {
2893
+ /** V1 error format. */
2894
+ '$.xgafv'?: string;
2895
+ /** OAuth access token. */
2896
+ access_token?: string;
2897
+ /** Data format for response. */
2898
+ alt?: string;
2899
+ /** JSONP */
2900
+ callback?: string;
2901
+ /** Selector specifying which fields to include in a partial response. */
2902
+ fields?: string;
2903
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
2904
+ filter?: string;
2905
+ /** 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. */
2906
+ key?: string;
2907
+ /** OAuth 2.0 token for the current user. */
2908
+ oauth_token?: string;
2909
+ /** The maximum number of analyses to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. */
2910
+ pageSize?: number;
2911
+ /** The value returned by the last `ListAnalysesResponse`; indicates that this is a continuation of a prior `ListAnalyses` call and the system should return the next page of data. */
2912
+ pageToken?: string;
2913
+ /** Required. The parent resource of the analyses. */
2914
+ parent: string;
2915
+ /** Returns response with indentations and line breaks. */
2916
+ prettyPrint?: boolean;
2917
+ /** 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. */
2918
+ quotaUser?: string;
2919
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2920
+ upload_protocol?: string;
2921
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2922
+ uploadType?: string;
2923
+ }): Request<GoogleCloudContactcenterinsightsV1ListAnalysesResponse>;
2924
+ }
2925
+ interface FeedbackLabelsResource {
2926
+ /** Create feedback label. */
2927
+ create(request: {
2928
+ /** V1 error format. */
2929
+ '$.xgafv'?: string;
2930
+ /** OAuth access token. */
2931
+ access_token?: string;
2932
+ /** Data format for response. */
2933
+ alt?: string;
2934
+ /** JSONP */
2935
+ callback?: string;
2936
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
2937
+ feedbackLabelId?: string;
2938
+ /** Selector specifying which fields to include in a partial response. */
2939
+ fields?: string;
2940
+ /** 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. */
2941
+ key?: string;
2942
+ /** OAuth 2.0 token for the current user. */
2943
+ oauth_token?: string;
2944
+ /** Required. The parent resource of the feedback label. */
2945
+ parent: string;
2946
+ /** Returns response with indentations and line breaks. */
2947
+ prettyPrint?: boolean;
2948
+ /** 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. */
2949
+ quotaUser?: string;
2950
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2951
+ upload_protocol?: string;
2952
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2953
+ uploadType?: string;
2954
+ /** Request body */
2955
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
2956
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
2957
+ create(
2958
+ request: {
2959
+ /** V1 error format. */
2960
+ '$.xgafv'?: string;
2961
+ /** OAuth access token. */
2962
+ access_token?: string;
2963
+ /** Data format for response. */
2964
+ alt?: string;
2965
+ /** JSONP */
2966
+ callback?: string;
2967
+ /** Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. */
2968
+ feedbackLabelId?: string;
2969
+ /** Selector specifying which fields to include in a partial response. */
2970
+ fields?: string;
2971
+ /** 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. */
2972
+ key?: string;
2973
+ /** OAuth 2.0 token for the current user. */
2974
+ oauth_token?: string;
2975
+ /** Required. The parent resource of the feedback label. */
2976
+ parent: string;
2977
+ /** Returns response with indentations and line breaks. */
2978
+ prettyPrint?: boolean;
2979
+ /** 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. */
2980
+ quotaUser?: string;
2981
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2982
+ upload_protocol?: string;
2983
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2984
+ uploadType?: string;
2985
+ },
2986
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
2987
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
2988
+ /** Delete feedback label. */
2989
+ delete(request?: {
2990
+ /** V1 error format. */
2991
+ '$.xgafv'?: string;
2992
+ /** OAuth access token. */
2993
+ access_token?: string;
2994
+ /** Data format for response. */
2995
+ alt?: string;
2996
+ /** JSONP */
2997
+ callback?: string;
2998
+ /** Selector specifying which fields to include in a partial response. */
2999
+ fields?: string;
3000
+ /** 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. */
3001
+ key?: string;
3002
+ /** Required. The name of the feedback label to delete. */
3003
+ name: string;
3004
+ /** OAuth 2.0 token for the current user. */
3005
+ oauth_token?: string;
3006
+ /** Returns response with indentations and line breaks. */
3007
+ prettyPrint?: boolean;
3008
+ /** 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. */
3009
+ quotaUser?: string;
3010
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3011
+ upload_protocol?: string;
3012
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3013
+ uploadType?: string;
3014
+ }): Request<{}>;
3015
+ /** Get feedback label. */
3016
+ get(request?: {
3017
+ /** V1 error format. */
3018
+ '$.xgafv'?: string;
3019
+ /** OAuth access token. */
3020
+ access_token?: string;
3021
+ /** Data format for response. */
3022
+ alt?: string;
3023
+ /** JSONP */
3024
+ callback?: string;
3025
+ /** Selector specifying which fields to include in a partial response. */
3026
+ fields?: string;
3027
+ /** 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. */
3028
+ key?: string;
3029
+ /** Required. The name of the feedback label to get. */
3030
+ name: string;
3031
+ /** OAuth 2.0 token for the current user. */
3032
+ oauth_token?: string;
3033
+ /** Returns response with indentations and line breaks. */
3034
+ prettyPrint?: boolean;
3035
+ /** 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. */
3036
+ quotaUser?: string;
3037
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3038
+ upload_protocol?: string;
3039
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3040
+ uploadType?: string;
3041
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3042
+ /** List feedback labels. */
3043
+ list(request?: {
3044
+ /** V1 error format. */
3045
+ '$.xgafv'?: string;
3046
+ /** OAuth access token. */
3047
+ access_token?: string;
3048
+ /** Data format for response. */
3049
+ alt?: string;
3050
+ /** JSONP */
3051
+ callback?: string;
3052
+ /** Selector specifying which fields to include in a partial response. */
3053
+ fields?: string;
3054
+ /** Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING */
3055
+ filter?: string;
3056
+ /** 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. */
3057
+ key?: string;
3058
+ /** OAuth 2.0 token for the current user. */
3059
+ oauth_token?: string;
3060
+ /** Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
3061
+ pageSize?: number;
3062
+ /** Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data. */
3063
+ pageToken?: string;
3064
+ /** Required. The parent resource of the feedback labels. */
3065
+ parent: string;
3066
+ /** Returns response with indentations and line breaks. */
3067
+ prettyPrint?: boolean;
3068
+ /** 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. */
3069
+ quotaUser?: string;
3070
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3071
+ upload_protocol?: string;
3072
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3073
+ uploadType?: string;
3074
+ }): Request<GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse>;
3075
+ /** Update feedback label. */
3076
+ patch(request: {
3077
+ /** V1 error format. */
3078
+ '$.xgafv'?: string;
3079
+ /** OAuth access token. */
3080
+ access_token?: string;
3081
+ /** Data format for response. */
3082
+ alt?: string;
3083
+ /** JSONP */
3084
+ callback?: string;
3085
+ /** Selector specifying which fields to include in a partial response. */
3086
+ fields?: string;
3087
+ /** 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. */
3088
+ key?: string;
3089
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
3090
+ name: string;
3091
+ /** OAuth 2.0 token for the current user. */
3092
+ oauth_token?: string;
3093
+ /** Returns response with indentations and line breaks. */
3094
+ prettyPrint?: boolean;
3095
+ /** 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. */
3096
+ quotaUser?: string;
3097
+ /** Required. The list of fields to be updated. */
3098
+ updateMask?: string;
3099
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3100
+ upload_protocol?: string;
3101
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3102
+ uploadType?: string;
3103
+ /** Request body */
3104
+ resource: GoogleCloudContactcenterinsightsV1FeedbackLabel;
3105
+ }): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3106
+ patch(
3107
+ request: {
3108
+ /** V1 error format. */
3109
+ '$.xgafv'?: string;
3110
+ /** OAuth access token. */
3111
+ access_token?: string;
3112
+ /** Data format for response. */
3113
+ alt?: string;
3114
+ /** JSONP */
3115
+ callback?: string;
3116
+ /** Selector specifying which fields to include in a partial response. */
3117
+ fields?: string;
3118
+ /** 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. */
3119
+ key?: string;
3120
+ /** Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */
3121
+ name: string;
3122
+ /** OAuth 2.0 token for the current user. */
3123
+ oauth_token?: string;
3124
+ /** Returns response with indentations and line breaks. */
3125
+ prettyPrint?: boolean;
3126
+ /** 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. */
3127
+ quotaUser?: string;
3128
+ /** Required. The list of fields to be updated. */
3129
+ updateMask?: string;
3130
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3131
+ upload_protocol?: string;
3132
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3133
+ uploadType?: string;
3134
+ },
3135
+ body: GoogleCloudContactcenterinsightsV1FeedbackLabel,
3136
+ ): Request<GoogleCloudContactcenterinsightsV1FeedbackLabel>;
3137
+ }
2778
3138
  interface ConversationsResource {
3139
+ /** Analyzes multiple conversations in a single request. */
3140
+ bulkAnalyze(request: {
3141
+ /** V1 error format. */
3142
+ '$.xgafv'?: string;
3143
+ /** OAuth access token. */
3144
+ access_token?: string;
3145
+ /** Data format for response. */
3146
+ alt?: string;
3147
+ /** JSONP */
3148
+ callback?: string;
3149
+ /** Selector specifying which fields to include in a partial response. */
3150
+ fields?: string;
3151
+ /** 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. */
3152
+ key?: string;
3153
+ /** OAuth 2.0 token for the current user. */
3154
+ oauth_token?: string;
3155
+ /** Required. The parent resource to create analyses in. */
3156
+ parent: string;
3157
+ /** Returns response with indentations and line breaks. */
3158
+ prettyPrint?: boolean;
3159
+ /** 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. */
3160
+ quotaUser?: string;
3161
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3162
+ upload_protocol?: string;
3163
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3164
+ uploadType?: string;
3165
+ /** Request body */
3166
+ resource: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest;
3167
+ }): Request<GoogleLongrunningOperation>;
3168
+ bulkAnalyze(
3169
+ request: {
3170
+ /** V1 error format. */
3171
+ '$.xgafv'?: string;
3172
+ /** OAuth access token. */
3173
+ access_token?: string;
3174
+ /** Data format for response. */
3175
+ alt?: string;
3176
+ /** JSONP */
3177
+ callback?: string;
3178
+ /** Selector specifying which fields to include in a partial response. */
3179
+ fields?: string;
3180
+ /** 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. */
3181
+ key?: string;
3182
+ /** OAuth 2.0 token for the current user. */
3183
+ oauth_token?: string;
3184
+ /** Required. The parent resource to create analyses in. */
3185
+ parent: string;
3186
+ /** Returns response with indentations and line breaks. */
3187
+ prettyPrint?: boolean;
3188
+ /** 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. */
3189
+ quotaUser?: string;
3190
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3191
+ upload_protocol?: string;
3192
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3193
+ uploadType?: string;
3194
+ },
3195
+ body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest,
3196
+ ): Request<GoogleLongrunningOperation>;
2779
3197
  /** Gets conversation statistics. */
2780
3198
  calculateStats(request?: {
2781
3199
  /** V1 error format. */
@@ -2805,6 +3223,192 @@ declare namespace gapi.client {
2805
3223
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2806
3224
  uploadType?: string;
2807
3225
  }): Request<GoogleCloudContactcenterinsightsV1CalculateStatsResponse>;
3226
+ /** Deletes a conversation. */
3227
+ delete(request?: {
3228
+ /** V1 error format. */
3229
+ '$.xgafv'?: string;
3230
+ /** OAuth access token. */
3231
+ access_token?: string;
3232
+ /** Data format for response. */
3233
+ alt?: string;
3234
+ /** JSONP */
3235
+ callback?: string;
3236
+ /** Selector specifying which fields to include in a partial response. */
3237
+ fields?: string;
3238
+ /** If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. */
3239
+ force?: boolean;
3240
+ /** 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. */
3241
+ key?: string;
3242
+ /** Required. The name of the conversation to delete. */
3243
+ name: string;
3244
+ /** OAuth 2.0 token for the current user. */
3245
+ oauth_token?: string;
3246
+ /** Returns response with indentations and line breaks. */
3247
+ prettyPrint?: boolean;
3248
+ /** 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. */
3249
+ quotaUser?: string;
3250
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3251
+ upload_protocol?: string;
3252
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3253
+ uploadType?: string;
3254
+ }): Request<{}>;
3255
+ /** Gets a conversation. */
3256
+ get(request?: {
3257
+ /** V1 error format. */
3258
+ '$.xgafv'?: string;
3259
+ /** OAuth access token. */
3260
+ access_token?: string;
3261
+ /** Data format for response. */
3262
+ alt?: string;
3263
+ /** JSONP */
3264
+ callback?: string;
3265
+ /** Selector specifying which fields to include in a partial response. */
3266
+ fields?: string;
3267
+ /** 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. */
3268
+ key?: string;
3269
+ /** Required. The name of the conversation to get. */
3270
+ name: string;
3271
+ /** OAuth 2.0 token for the current user. */
3272
+ oauth_token?: string;
3273
+ /** Returns response with indentations and line breaks. */
3274
+ prettyPrint?: boolean;
3275
+ /** 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. */
3276
+ quotaUser?: string;
3277
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3278
+ upload_protocol?: string;
3279
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3280
+ uploadType?: string;
3281
+ /** The level of details of the conversation. Default is `FULL`. */
3282
+ view?: string;
3283
+ }): Request<GoogleCloudContactcenterinsightsV1Conversation>;
3284
+ /** Lists conversations. */
3285
+ list(request?: {
3286
+ /** V1 error format. */
3287
+ '$.xgafv'?: string;
3288
+ /** OAuth access token. */
3289
+ access_token?: string;
3290
+ /** Data format for response. */
3291
+ alt?: string;
3292
+ /** JSONP */
3293
+ callback?: string;
3294
+ /** Selector specifying which fields to include in a partial response. */
3295
+ fields?: string;
3296
+ /** A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. */
3297
+ filter?: string;
3298
+ /** 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. */
3299
+ key?: string;
3300
+ /** OAuth 2.0 token for the current user. */
3301
+ oauth_token?: string;
3302
+ /** Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering). */
3303
+ orderBy?: string;
3304
+ /** The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. */
3305
+ pageSize?: number;
3306
+ /** The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. */
3307
+ pageToken?: string;
3308
+ /** Required. The parent resource of the conversation. */
3309
+ parent: string;
3310
+ /** Returns response with indentations and line breaks. */
3311
+ prettyPrint?: boolean;
3312
+ /** 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. */
3313
+ quotaUser?: string;
3314
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3315
+ upload_protocol?: string;
3316
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3317
+ uploadType?: string;
3318
+ /** The level of details of the conversation. Default is `BASIC`. */
3319
+ view?: string;
3320
+ }): Request<GoogleCloudContactcenterinsightsV1ListConversationsResponse>;
3321
+ analyses: AnalysesResource;
3322
+ feedbackLabels: FeedbackLabelsResource;
3323
+ }
3324
+ interface OperationsResource {
3325
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
3326
+ cancel(request?: {
3327
+ /** V1 error format. */
3328
+ '$.xgafv'?: string;
3329
+ /** OAuth access token. */
3330
+ access_token?: string;
3331
+ /** Data format for response. */
3332
+ alt?: string;
3333
+ /** JSONP */
3334
+ callback?: string;
3335
+ /** Selector specifying which fields to include in a partial response. */
3336
+ fields?: string;
3337
+ /** 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. */
3338
+ key?: string;
3339
+ /** The name of the operation resource to be cancelled. */
3340
+ name: string;
3341
+ /** OAuth 2.0 token for the current user. */
3342
+ oauth_token?: string;
3343
+ /** Returns response with indentations and line breaks. */
3344
+ prettyPrint?: boolean;
3345
+ /** 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. */
3346
+ quotaUser?: string;
3347
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3348
+ upload_protocol?: string;
3349
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3350
+ uploadType?: string;
3351
+ }): Request<{}>;
3352
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
3353
+ get(request?: {
3354
+ /** V1 error format. */
3355
+ '$.xgafv'?: string;
3356
+ /** OAuth access token. */
3357
+ access_token?: string;
3358
+ /** Data format for response. */
3359
+ alt?: string;
3360
+ /** JSONP */
3361
+ callback?: string;
3362
+ /** Selector specifying which fields to include in a partial response. */
3363
+ fields?: string;
3364
+ /** 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. */
3365
+ key?: string;
3366
+ /** The name of the operation resource. */
3367
+ name: string;
3368
+ /** OAuth 2.0 token for the current user. */
3369
+ oauth_token?: string;
3370
+ /** Returns response with indentations and line breaks. */
3371
+ prettyPrint?: boolean;
3372
+ /** 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. */
3373
+ quotaUser?: string;
3374
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3375
+ upload_protocol?: string;
3376
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3377
+ uploadType?: string;
3378
+ }): Request<GoogleLongrunningOperation>;
3379
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
3380
+ list(request?: {
3381
+ /** V1 error format. */
3382
+ '$.xgafv'?: string;
3383
+ /** OAuth access token. */
3384
+ access_token?: string;
3385
+ /** Data format for response. */
3386
+ alt?: string;
3387
+ /** JSONP */
3388
+ callback?: string;
3389
+ /** Selector specifying which fields to include in a partial response. */
3390
+ fields?: string;
3391
+ /** The standard list filter. */
3392
+ filter?: string;
3393
+ /** 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. */
3394
+ key?: string;
3395
+ /** The name of the operation's parent resource. */
3396
+ name: string;
3397
+ /** OAuth 2.0 token for the current user. */
3398
+ oauth_token?: string;
3399
+ /** The standard list page size. */
3400
+ pageSize?: number;
3401
+ /** The standard list page token. */
3402
+ pageToken?: string;
3403
+ /** Returns response with indentations and line breaks. */
3404
+ prettyPrint?: boolean;
3405
+ /** 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. */
3406
+ quotaUser?: string;
3407
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3408
+ upload_protocol?: string;
3409
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3410
+ uploadType?: string;
3411
+ }): Request<GoogleLongrunningListOperationsResponse>;
2808
3412
  }
2809
3413
  interface AuthorizedViewsResource {
2810
3414
  /** Query metrics. */
@@ -2866,6 +3470,7 @@ declare namespace gapi.client {
2866
3470
  body: GoogleCloudContactcenterinsightsV1QueryMetricsRequest,
2867
3471
  ): Request<GoogleLongrunningOperation>;
2868
3472
  conversations: ConversationsResource;
3473
+ operations: OperationsResource;
2869
3474
  }
2870
3475
  interface AuthorizedViewSetsResource {
2871
3476
  authorizedViews: AuthorizedViewsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20250407",
3
+ "version": "0.0.20250421",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",